/*
 * The level-up game (/app). Built on styles.css: same tokens, topbar, buttons and
 * composer. One screen at a time, phone first.
 */

.g-stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 8px) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  display: flex;
}
.screen {
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  animation: screen-in 420ms var(--ease-out);
}
.screen[hidden] { display: none; }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } }

.line em { font-style: italic; color: var(--text-2); }
.g-sub { margin: 14px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.g-actions { margin-top: calc(var(--gap) * 1.4); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.g-error { min-height: 1.4em; margin: 12px 0 0; color: #f0a37a; font-size: 14px; }
.g-empty { margin: 6px 0 0; color: var(--text-3); font-size: 15px; }
.g-think { color: var(--text-2); }

.g-composer { margin-top: calc(var(--gap) * 1.2); display: flex; align-items: flex-end; gap: 10px; padding: 14px 10px 10px 20px; }
.g-composer textarea { min-height: 1.5em; flex: 1; }
.g-composer input { flex: 1; min-width: 0; align-self: center; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; }
.g-composer input::placeholder { color: var(--text-3); }
.starters { flex-wrap: wrap; }

.g-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.g-btn:hover { background: var(--surface-hover); color: var(--text); }
.g-link {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--ember);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.g-link-dim { color: var(--text-3); font-weight: 500; }

/* ── Home ──────────────────────────────────────────────────────────────────── */

.rank-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(227, 176, 111, 0.12), var(--surface) 55%);
  box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.22), 0 20px 50px -30px rgba(227, 176, 111, 0.5);
}
.rank-badge {
  flex: none;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, #ffcfa8, var(--ember) 55%, #a8461f);
  color: #1b120d;
  font: 800 30px/1 var(--sans);
  letter-spacing: -0.02em;
}
.rank-badge[data-tier="0"], .rank-badge[data-tier="1"] { background: linear-gradient(160deg, #d9cfc6, #8a7f76 55%, #4a423c); }
.rank-badge[data-tier="3"] { background: linear-gradient(160deg, #ffd9e8, #ef6f9a 55%, #9c2b56); }
.rank-badge[data-tier="4"] { background: linear-gradient(160deg, #fff3c4, #f5c04a 50%, #b57a12); }
.rank-meta { flex: 1; min-width: 0; }
.rank-label { margin: 0 0 8px; color: var(--text); font-size: 17px; font-weight: 700; }
.xp-bar { height: 8px; border-radius: 8px; background: rgba(255, 236, 220, 0.08); overflow: hidden; }
.xp-bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(227, 176, 111, 0.55), var(--ember), #f3dcb4);
  box-shadow: 0 0 12px rgba(227, 176, 111, 0.6);
  transition: width 900ms var(--ease-out);
}
.rank-next { margin: 4px 0 0; color: var(--ember); font-size: 12.5px; font-weight: 700; }
.xp-text { margin: 6px 0 0; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }

.tempted {
  position: relative;
  margin-top: 18px;
  padding: 24px 22px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  background: radial-gradient(120% 140% at 0% 0%, #f0cf9a 0%, #c99550 45%, #6b4a22 100%);
  color: #1b0f09;
  box-shadow: 0 24px 60px -28px rgba(239, 120, 70, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--ease-out);
}
.tempted:active { transform: scale(0.98); }
.tempted-label { display: block; font: 800 26px/1.1 var(--sans); letter-spacing: -0.02em; }
.tempted-sub { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; opacity: 0.75; }
.tempted-pulse {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #1b0f09;
  box-shadow: 0 0 0 0 rgba(27, 15, 9, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(27, 15, 9, 0); } }

.g-section { margin-top: 30px; }
.g-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.g-section-head h2 { margin: 0; color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.quests { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.quest {
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.quest.is-done { box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.35); }
.quest-top { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; width: 100%; text-align: left; }
.quest-name { flex: 1; min-width: 0; color: var(--text); font-size: 17px; font-weight: 700; }
.streak {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(227, 176, 111, 0.14);
  color: var(--ember);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.streak.is-zero { background: var(--surface); color: var(--text-3); }
.quest-rule-small { margin: 4px 0 12px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.checkin { display: flex; gap: 8px; }
.checkin button {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 244, 232, 0.06);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
}
.checkin .kept { color: var(--text); }
.checkin .kept[aria-pressed="true"] { background: var(--ember); color: #1b120d; box-shadow: none; }
.checkin .missed[aria-pressed="true"] { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.checkin-q { margin: 0 0 8px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.stats { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.stats li { display: grid; grid-template-columns: 92px 1fr 48px; align-items: center; gap: 12px; font-size: 14px; }
.stats .s-name { color: var(--text-2); font-weight: 600; }
.stats .s-lv { color: var(--text-3); text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats .s-bar { height: 6px; border-radius: 6px; background: rgba(255, 236, 220, 0.07); overflow: hidden; }
.stats .s-bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, rgba(227, 176, 111, 0.4), var(--ember)); transition: width 900ms var(--ease-out); }

.g-account { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.link-card { width: 100%; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.link-card p { margin: 0 0 10px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.link-row { display: flex; gap: 8px; }
.link-row input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-2);
  font-size: 13px;
}

/* ── Quest ─────────────────────────────────────────────────────────────────── */

.quest-line { margin: 14px 0 0; color: var(--text-2); font-size: 17px; font-style: italic; }
.quest-block { margin-top: 22px; }
.quest-label { margin: 0 0 6px; color: var(--ember); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.quest-rule { margin: 0; color: var(--text); font-size: 20px; font-weight: 700; line-height: 1.35; }
.quest-why { margin: 0; color: var(--text); font-size: 17px; line-height: 1.5; }
.moves { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.moves li { padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.moves .m-when { display: block; color: var(--text-3); font-size: 13px; font-weight: 600; }
.moves .m-do { display: block; margin-top: 2px; color: var(--text); font-size: 16px; line-height: 1.45; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.days i.kept { background: var(--ember); box-shadow: 0 0 10px rgba(227, 176, 111, 0.5); }
.days i.missed { background: rgba(255, 255, 255, 0.18); }
.quest-meta { margin: 10px 0 0; color: var(--text-3); font-size: 14px; }

/* ── Tempted ───────────────────────────────────────────────────────────────── */

.starter[aria-pressed="true"] { background: rgba(227, 176, 111, 0.18); color: var(--text); box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.6); }
.convo { display: grid; gap: 14px; margin-top: 18px; }
.convo:empty { display: none; }
.bubble { max-width: 92%; padding: 12px 16px; border-radius: 18px; font-size: 17px; line-height: 1.5; animation: screen-in 360ms var(--ease-out); }
.bubble.him { justify-self: end; background: rgba(255, 244, 232, 0.09); color: var(--text); border-bottom-right-radius: 6px; }
.bubble.cee {
  justify-self: start;
  background: linear-gradient(160deg, rgba(227, 176, 111, 0.16), rgba(255, 244, 232, 0.04));
  box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.3);
  color: var(--text);
  font-size: 19px;
  border-bottom-left-radius: 6px;
}
.bubble.is-typing { color: var(--text-3); font-style: italic; font-size: 16px; }

/* ── XP toast and level-up ─────────────────────────────────────────────────── */

.xp-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(27, 18, 13, 0.92);
  box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.45), 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -6px rgba(227, 176, 111, 0.5);
  transform: translateX(-50%);
  animation: toast-in 420ms var(--ease-out);
  backdrop-filter: blur(10px);
}
.xp-toast[hidden] { display: none; }
.xp-toast strong { color: var(--ember); font-size: 16px; font-weight: 800; white-space: nowrap; }
.xp-toast span { color: var(--text-2); font-size: 14px; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px) scale(0.96); } }

.levelup {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(227, 176, 111, 0.3), rgba(10, 7, 5, 0.92) 60%);
  animation: screen-in 300ms var(--ease-out);
}
.levelup[hidden] { display: none; }
.levelup-card { text-align: center; }
.levelup-kicker { margin: 0; color: var(--ember); font-size: 14px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; }
.levelup-big {
  margin: 8px 0;
  font: 800 clamp(48px, 15vw, 112px)/1 var(--sans);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff3e6, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(227, 176, 111, 0.6));
  animation: level-pop 700ms var(--ease-out);
}
.levelup-sub { margin: 0 0 28px; color: var(--text-2); font-size: 17px; }
@keyframes level-pop { from { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .screen, .bubble, .xp-toast, .levelup, .levelup-big, .tempted-pulse { animation: none; }
}

/* ── Ratings and plan tasks ─────────────────────────────────────────────────── */

.ratings { margin-top: 26px; }
.rating-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rating { padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.r-top { display: flex; align-items: baseline; gap: 6px; }
.r-name { flex: 1; color: var(--text-2); font-size: 13px; font-weight: 700; }
.r-lv { color: var(--text); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rating.lv-4 .r-lv, .rating.lv-5 .r-lv { color: var(--ember); }
.r-change { font-size: 12px; font-weight: 800; }
.r-change.up { color: #8fd18a; }
.r-change.down { color: #f0a37a; }
.r-read { display: block; margin-top: 4px; color: var(--text-3); font-size: 12.5px; line-height: 1.4; }

.task-bar { height: 6px; margin: 0 0 12px; border-radius: 6px; background: rgba(255, 236, 220, 0.07); overflow: hidden; }
.task-bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, rgba(227, 176, 111, 0.5), var(--ember)); transition: width 700ms var(--ease-out); }
.tasks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.task { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.quest .task { padding: 0; background: none; box-shadow: none; }
.tick {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 244, 232, 0.06);
  box-shadow: inset 0 0 0 1.5px rgba(227, 176, 111, 0.5);
  color: transparent;
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.tick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tick[aria-pressed="true"] { background: var(--ember); color: #1b120d; box-shadow: none; }
.tick:active { transform: scale(0.92); }
.task-body { display: flex; flex-direction: column; min-width: 0; }
.task-area { color: var(--ember); font-size: 12px; font-weight: 700; }
.task-text { color: var(--text); font-size: 16px; line-height: 1.45; }
.task.is-done .task-text { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(227, 176, 111, 0.5); }
.task-why { margin-top: 2px; color: var(--text-3); font-size: 13.5px; line-height: 1.4; }
.task .pick-find { margin-top: 4px; }
.g-rated { margin-top: 18px; align-self: flex-start; }

/* ── I'm a chud ────────────────────────────────────────────────────────────── */

.chud-options { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.chud-options[hidden] { display: none; }
.chud-option {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.chud-option:hover { background: var(--surface-hover); box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.45); }
.chud-option:active { transform: scale(0.98); }
.chud-dots { color: var(--ember); font-weight: 800; }

/* Sign in with Google: Google's own look, so people recognise it. */
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font: 600 16px/1 var(--sans);
  box-shadow: 0 14px 34px -18px rgba(227, 176, 111, 0.55);
}
.google-btn svg { width: 18px; height: 18px; }
.google-btn:disabled { opacity: 0.6; }
.google-small { min-height: 44px; font-size: 14px; }
.g-stack { flex-direction: column; align-items: stretch; }
.signed-in { margin: 0; color: var(--text-3); font-size: 14px; }

/* ── Today and the daily checklist ────────────────────────────────────────── */

.today {
  margin-top: 18px;
  padding: 18px 16px 14px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(227, 176, 111, 0.1), var(--surface) 50%);
  box-shadow: inset 0 0 0 1px rgba(227, 176, 111, 0.25);
}
.today[hidden], .today-empty[hidden] { display: none; }
.today-head { display: flex; align-items: center; justify-content: space-between; }
.today-head h2 { margin: 0; color: var(--text); font: 800 22px/1 var(--sans); letter-spacing: -0.02em; }
.today-streak { padding: 4px 10px; border-radius: 999px; background: rgba(227, 176, 111, 0.16); color: var(--ember); font-size: 13px; font-weight: 800; }
.today-streak.is-zero { background: var(--surface); color: var(--text-3); }
.today-line { margin: 10px 0 0; color: var(--text); font: italic 400 19px/1.35 var(--serif); }
.today-progress { margin-top: 14px; height: 8px; border-radius: 8px; background: rgba(255, 236, 220, 0.08); overflow: hidden; }
.today-progress i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, rgba(227, 176, 111, 0.55), var(--ember), #f3dcb4); transition: width 700ms var(--ease-out); }
.today-count { margin: 6px 0 0; color: var(--text-3); font-size: 12.5px; font-weight: 700; }
.checklist { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--hairline); }
.check-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.check-label { color: var(--text); font-size: 16px; font-weight: 700; }
.check-why { color: var(--text-3); font-size: 12.5px; line-height: 1.35; }
.check-week { flex: none; color: var(--text-3); font-size: 12px; font-weight: 800; }
.check.is-done .check-label { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(227, 176, 111, 0.6); }
.check.is-rest { opacity: 0.55; }
.today-days { margin-top: 12px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.today-days i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.today-days i.some { background: rgba(227, 176, 111, 0.3); }
.today-days i.most { background: rgba(227, 176, 111, 0.65); }
.today-days i.full { background: var(--ember); box-shadow: 0 0 8px rgba(227, 176, 111, 0.5); }
#change-focus { margin-top: 10px; }
.today-empty {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  text-align: left;
  background: linear-gradient(170deg, rgba(227, 176, 111, 0.16), var(--surface) 60%);
  box-shadow: inset 0 0 0 1.5px rgba(227, 176, 111, 0.5);
  color: var(--text);
}
.today-empty b { font-size: 19px; }
.today-empty span { color: var(--text-2); font-size: 14px; line-height: 1.45; }

.focus-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.focus-option {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  text-align: left;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.focus-option.is-on { background: rgba(227, 176, 111, 0.1); box-shadow: inset 0 0 0 1.5px var(--ember); }
.focus-check { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(227, 176, 111, 0.6); }
.focus-option.is-on .focus-check { background: var(--ember); box-shadow: 0 0 10px rgba(227, 176, 111, 0.5); }
.focus-text { display: flex; flex-direction: column; gap: 2px; }
.focus-text b { font-size: 17px; }
.focus-text span { color: var(--text-3); font-size: 13.5px; line-height: 1.35; }
.focus-badge { position: absolute; top: -8px; right: 12px; padding: 2px 8px; border-radius: 999px; background: var(--ember); color: #1b120d; font-size: 11px; font-weight: 800; }
.task-skip { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--text-3); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.quest-more { margin: 8px 0 0; color: var(--text-3); font-size: 13px; }
.quest .task + .task { margin-top: 10px; }

/* ── Selfie Sunday and progress ───────────────────────────────────────────── */

.sunday {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(120deg, #f5c04a 0%, #e3b06f 60%, #a8743a 100%);
  color: #1b120d;
  text-decoration: none;
  box-shadow: 0 18px 40px -22px rgba(245, 192, 74, 0.8);
}
.sunday[hidden] { display: none; }
.sunday-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.sunday b { font: 800 22px/1.15 var(--sans); }
.sunday span:last-child { font-size: 14px; font-weight: 600; opacity: 0.8; }

.progress-card { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.progress-card[hidden] { display: none; }
.progress-title { margin: 0 0 6px; color: var(--text-2); font-size: 13px; font-weight: 800; }
.progress-chart { display: block; width: 100%; height: auto; }
.rank-rule { stroke: rgba(255, 236, 220, 0.12); stroke-dasharray: 3 4; }
.rank-label-svg { fill: var(--text-3); font: 700 10px var(--sans); }
.progress-line { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.progress-dot { fill: var(--bg); stroke: var(--ember); stroke-width: 2; }
.progress-dot.is-last { fill: var(--ember); filter: drop-shadow(0 0 6px rgba(227, 176, 111, 0.7)); }
.progress-note { margin: 6px 0 0; color: var(--text-2); font-size: 13.5px; }

/* Her face on the daily card, and her reaction after a moment he held (or didn't) */
.today-head h2 { display: flex; align-items: center; gap: 10px; }
.today-face { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(227, 176, 111, 0.6); }
.after-photo { width: min(240px, 60vw); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; margin-bottom: 18px; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9); }
