/* src/components/jr/today/today.css — SJ2 Today.
   Every number transcribed from art-source/design-sj2-2026-09-12/screens/SJ2 Today.dc.html.
   Today paints its own washes rather than using the SJ2 Scene plate, exactly as she draws it. */

.jr-t-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--sj-chrome-h);
  bottom: var(--sj-nav-h);
  overflow: hidden;
  background-color: var(--sj-stage);
  background-image:
    radial-gradient(circle at 6% 0%, rgba(251, 215, 194, .55), transparent 420px),
    radial-gradient(circle at 96% 10%, rgba(66, 169, 200, .16), transparent 460px);
}

/* Her four loose shapes behind the content. Decoration, aria-hidden by being CSS only. */
.jr-t-stage::before,
.jr-t-stage::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.jr-t-stage::before {
  left: -130px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  background: #b7cfa4;
  opacity: .22;
}
.jr-t-stage::after {
  right: -120px;
  top: -60px;
  width: 340px;
  height: 340px;
  background: #fbd7c2;
  opacity: .5;
}

.jr-t-body {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  height: 100%;
  padding: 24px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Her two confetti dots. */
.jr-t-body::before,
.jr-t-body::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.jr-t-body::before { right: 250px; top: 40px; width: 13px; height: 13px; background: var(--sj-sun); }
.jr-t-body::after { left: 520px; top: 20px; width: 9px; height: 9px; background: #e78b82; }

/* ---------------------------------------------------------------- the header row */
.jr-t-head {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.jr-t-head-text { min-width: 0; }

.jr-t-daychip {
  margin: 0 0 7px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sj-teal-ink);
}

.jr-t-heading {
  margin: 0 0 5px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.03;
  letter-spacing: -.04em;
  color: var(--sj-ink);
}

.jr-t-sub {
  margin: 0;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.34;
  font-weight: 600;
  color: var(--sj-ink-soft);
  text-wrap: pretty;
}

.jr-t-weekchip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #c3dda9;
  border-radius: var(--sj-r-cta);
  background: var(--sj-green-tint);
  box-shadow: 0 4px 12px rgba(67, 155, 77, .16);
  text-decoration: none;
  box-sizing: border-box;
}
.jr-t-weekchip svg { flex: none; color: var(--sj-green-ink); }

.jr-t-weekchip-text { min-width: 0; display: flex; flex-direction: column; }
.jr-t-weekchip-count {
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--sj-ink);
  white-space: nowrap;
}
.jr-t-weekchip-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--sj-green-ink);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- the one thing tonight */
.jr-t-hero {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 368px) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #dbc9a8;
  border-radius: var(--sj-r-panel);
  background: var(--sj-sun-tint);
  box-shadow: 0 18px 44px rgba(246, 189, 47, .26), 0 2px 0 rgba(255, 255, 255, .6) inset;
}

.jr-t-hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--sj-sand);
}

.jr-t-hero-cover {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

.jr-t-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 88%, rgba(255, 240, 181, .85) 100%);
}

.jr-t-hero-body {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 36px;
  overflow: hidden;
}

.jr-t-hero-glow {
  position: absolute;
  right: -170px;
  bottom: -190px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--sj-sun);
  opacity: .28;
  pointer-events: none;
}

.jr-t-hero-inner { position: relative; }

.jr-t-hero-badge {
  margin: 0 0 9px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sj-teal-ink);
}

.jr-t-hero-kicker {
  margin: 0 0 9px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 18px;
}

.jr-t-hero-title {
  margin: 0 0 8px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--sj-ink);
  text-wrap: pretty;
}

.jr-t-hero-meta {
  margin: 0 0 20px;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--sj-ink-body);
  text-wrap: pretty;
}

.jr-t-hero-fromlabel {
  font-family: var(--sj-font);
  font-weight: 600;
  color: var(--sj-teal-ink);
}

.jr-t-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.jr-t-pick-another {
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--sj-green-ink);
  text-decoration: none;
}

/* ---------------------------------------------------------------- the plan below it */
.jr-t-secondary {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.jr-t-secondary-label {
  margin: 0;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sj-teal-ink);
}

.jr-t-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
}

.jr-t-card {
  min-width: 0;
  min-height: 106px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-r-card);
  background: var(--sj-card);
  box-shadow: 0 6px 16px rgba(35, 50, 44, .08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  text-decoration: none;
  box-sizing: border-box;
}
.jr-t-card:hover {
  border-color: #d5c4b0;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(35, 50, 44, .13);
}

.jr-t-card-art {
  flex: 0 0 90px;
  align-self: stretch;
  min-height: 90px;
  border-radius: 13px;
  overflow: hidden;
  display: block;
  position: relative;
}

.jr-t-card-art-img {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

.jr-t-card-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.jr-t-card-subject { font-family: var(--sj-font); font-weight: 700; font-size: 15px; }

.jr-t-card-title {
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.14;
  color: var(--sj-ink);
  text-wrap: pretty;
}

.jr-t-card-meta {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  color: var(--sj-ink-soft);
}

.jr-t-card-done {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--sj-green-ink);
}

.jr-t-card-tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sj-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-card);
}

.jr-t-card-chev {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-card);
}

/* ---------------------------------------------------------------- the guide */
/* Lexi (or Numi) stands at the edge of the page with the one thing she has to say. */
.jr-t-guide {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 330px;
  height: 268px;
  pointer-events: none;
}

.jr-t-guide-bubble {
  position: absolute;
  left: -16px;
  top: 8px;
  z-index: 2;
  width: 186px;
  padding: 12px 15px;
  border: 1px solid var(--sj-line);
  border-radius: 18px 18px 18px 5px;
  background: var(--sj-card);
  box-shadow: 0 8px 20px rgba(35, 50, 44, .14);
  box-sizing: border-box;
}

.jr-t-guide-name {
  margin: 0 0 3px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jr-t-guide-line {
  margin: 0;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--sj-ink);
  text-wrap: pretty;
}

.jr-t-guide-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 248px;
  height: 248px;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(35, 50, 44, .16));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
}
