/* src/components/jr/day-done/day-done.css — SJ2 Day done.
   Measured off art-source/design-sj2-2026-09-12/screens/SJ2 Day done.dc.html.
   Sunset plate, because it is the end of the evening. */

.jr-dd-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 247, 240, .5) 0%, rgba(250, 247, 240, .3) 45%, rgba(250, 247, 240, .14) 100%);
}

/* ---------------------------------------------------------------- her own 76px bar */
.jr-dd-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--sj-chrome-h);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background: var(--sj-card);
  border-bottom: 1px solid var(--sj-line);
  box-sizing: border-box;
}

.jr-dd-chip {
  flex: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sj-orange-deep);
  background: #fff0df;
  border: 1px solid #f4b28f;
  border-radius: var(--sj-r-pill);
  padding: 7px 15px;
}
.jr-dd-gap { flex: 1 1 auto; }

.jr-dd-today {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--sj-r-pill);
  background: var(--sj-stage);
  border: 1px solid var(--sj-line);
  font-weight: 600;
  font-size: 16px;
  color: var(--sj-ink);
  text-decoration: none;
}

.jr-dd-who {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 18px 4px 5px;
  border-radius: var(--sj-r-pill);
  border: 1.5px solid var(--sj-line);
  background: var(--sj-stage);
}
.jr-dd-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}
.jr-dd-name { font-weight: 600; font-size: 17px; color: var(--sj-ink); }

.jr-dd-stars {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 20px;
  color: var(--sj-ink);
}
.jr-dd-stars svg { color: var(--sj-sun); fill: var(--sj-sun); }

/* ---------------------------------------------------------------- the two columns */
.jr-dd-body {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--sj-chrome-h);
  bottom: 0;
  box-sizing: border-box;
  padding: 40px 56px;
  display: flex;
  gap: 34px;
  align-items: center;
}

.jr-dd-card {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: 30px;
  box-shadow: 0 20px 46px rgba(35, 50, 44, .2);
  padding: 34px 40px;
}

.jr-dd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sj-card);
  background: var(--sj-green);
  border-radius: var(--sj-r-pill);
  padding: 9px 20px;
  margin-bottom: 16px;
}

.jr-dd-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--sj-ink);
  text-wrap: pretty;
}

/* Andika, because this paragraph is the one a child reads rather than scans. */
.jr-dd-blurb {
  margin: 0 0 24px;
  font-family: var(--sj-font-story);
  font-size: 25px;
  line-height: 1.45;
  color: var(--sj-ink);
  max-width: 44ch;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- what happened tonight */
.jr-dd-stops { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.jr-dd-stop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--sj-r-card);
  background: var(--sj-stage);
  border: 1.5px dashed var(--sj-line-warm);
}
.jr-dd-stop-done { background: #eaf7ef; border: 1.5px solid var(--sj-green-line); }

.jr-dd-dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d3c8b2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-card);
}
.jr-dd-stop-done .jr-dd-dot { background: var(--sj-green); }

.jr-dd-stop-text { flex: 1 1 auto; min-width: 0; }
.jr-dd-stop-label { display: block; font-weight: 600; font-size: 20px; color: var(--sj-ink); }
.jr-dd-stop-detail { display: block; font-size: 16px; font-weight: 500; color: var(--sj-ink); }

/* ---------------------------------------------------------------- the two facts */
.jr-dd-pills { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.jr-dd-pill-sun,
.jr-dd-pill-plain {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  border-radius: var(--sj-r-pill);
  padding: 10px 18px;
  color: var(--sj-ink);
}
.jr-dd-pill-sun { font-weight: 600; background: var(--sj-sun-tint); border: 1px solid #f6d98a; }
.jr-dd-pill-sun svg { color: var(--sj-sun); fill: var(--sj-sun); }
.jr-dd-pill-plain { font-weight: 500; background: var(--sj-stage); border: 1px solid var(--sj-line-warm); }

/* ---------------------------------------------------------------- three ways out */
.jr-dd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.jr-dd-go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 0 34px;
  border-radius: 22px;
  background: var(--sj-orange);
  color: var(--sj-card);
  font-weight: 700;
  font-size: 25px;
  box-shadow: 0 5px 0 var(--sj-orange-deep);
  text-decoration: none;
}
.jr-dd-go:active { transform: translateY(5px); box-shadow: none; }

.jr-dd-alt {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  padding: 0 26px;
  border-radius: 22px;
  background: var(--sj-card);
  border: 1.5px solid var(--sj-line);
  box-shadow: 0 4px 0 var(--sj-line);
  font-weight: 600;
  font-size: 21px;
  color: var(--sj-ink);
  text-decoration: none;
}
.jr-dd-alt:active { transform: translateY(4px); box-shadow: none; }

/* ---------------------------------------------------------------- Lexi's corner */
.jr-dd-side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; align-items: center; }

.jr-dd-bubble {
  position: relative;
  align-self: stretch;
  background: var(--sj-card);
  border: 1px solid #c3dda9;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(35, 50, 44, .14);
  padding: 18px 20px;
}
.jr-dd-guide-name {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
}
.jr-dd-guide-line { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--sj-ink); text-wrap: pretty; }
.jr-dd-bubble-tail {
  position: absolute;
  left: 44px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: var(--sj-card);
  border-right: 1px solid #c3dda9;
  border-bottom: 1px solid #c3dda9;
  transform: rotate(45deg);
}

/* Her span says cover over a sand-coloured square, which is right for an opaque picture and
   wrong for these: the guide avatars are cut-out characters, and a fallback colour behind one
   is a beige box with a character on it. Same treatment as Today's guide corner, which is the
   precedent in this repo: contain, no repeat, no colour behind it. */
.jr-dd-guide-art {
  width: 236px;
  height: 236px;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(35, 50, 44, .16));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.jr-dd-week {
  align-self: stretch;
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(35, 50, 44, .1);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jr-dd-week-label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sj-ink);
}

.jr-dd-nights { display: flex; gap: 7px; }
.jr-dd-night { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.jr-dd-night-bar {
  width: 100%;
  height: 34px;
  border-radius: 10px;
  box-sizing: border-box;
  display: block;
  background: var(--sj-stage);
  border: 1.5px dashed var(--sj-line-warm);
}
.jr-dd-night-on { background: var(--sj-green); border: 1.5px solid var(--sj-green-ink); }
.jr-dd-night-today { background: var(--sj-sun-tint); border: 1.5px solid #f6d98a; }
.jr-dd-night-label { font-weight: 600; font-size: 13px; color: var(--sj-ink); }
.jr-dd-night-label-on { color: var(--sj-green-ink); }

.jr-dd-week-note { font-size: 15px; font-weight: 500; color: var(--sj-ink); text-wrap: pretty; }
