:root {
  --ink: #fff8e7;
  --muted: #d9cfb7;
  --soft: rgba(255, 248, 231, 0.72);
  --bg: #071410;
  --panel: #0d1a15;
  --panel-2: #14221b;
  --line: rgba(255, 248, 231, 0.16);
  --gold: #f5c84b;
  --gold-2: #ffe7a2;
  --danger: #ff6b5f;
  --green: #8ecf54;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --r-1: 8px;
  --r-2: 16px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --page-x: clamp(20px, 6vw, 28px);
  --page-top: max(24px, env(safe-area-inset-top));
  --page-bottom: max(88px, calc(env(safe-area-inset-bottom) + 88px));
  --section-gap: var(--s-6);
  --panel-pad: var(--s-5);
  --panel-gap: var(--s-4);
  --control-h: 56px;
  --grid-line: rgba(255, 248, 231, 0.018);
  --grid-warmth: rgba(245, 200, 75, 0.08);
}

.tastearc-lockup {
  gap: 10px;
}

.brand .tastearc-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.brand .tastearc-wordmark {
  font-family: "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #f5ecdf;
}

.weekly-preview,
.weekly-method,
.weekly-empty {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(237, 185, 76, 0.3);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(237, 185, 76, 0.11), rgba(255, 255, 255, 0.04));
}

.weekly-heading,
.weekly-rank,
.weekly-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.weekly-preview-grid,
.weekly-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.weekly-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.weekly-card img {
  width: 116px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.weekly-card h2,
.weekly-card h3,
.weekly-card p {
  margin: 8px 0;
}

.weekly-rank b,
.weekly-rank span,
.weekly-format,
.weekly-saved {
  color: var(--accent, #edb94c);
}

.weekly-context {
  padding: 12px;
  border-left: 3px solid var(--accent, #edb94c);
  background: rgba(0, 0, 0, 0.14);
}

.weekly-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.weekly-actions button {
  width: auto;
}

@media (max-width: 520px) {
  .weekly-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 14px;
  }

  .weekly-card img {
    width: 82px;
  }

  .weekly-card:not(.is-compact) img {
    grid-column: 1;
  }

  .weekly-actions {
    grid-column: 1 / -1;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overscroll-behavior: none;
  overflow-x: hidden;
  background: #030706;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  overscroll-behavior-x: none;
}

button,
input,
a {
  font: inherit;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: var(--r-1);
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
}

.yb-app {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100dvh;
  max-width: 430px;
  overflow-x: clip;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(circle at 50% 8%, var(--grid-warmth), transparent 42%),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto, auto;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.screen {
  min-height: 100dvh;
  padding: var(--page-top) var(--page-x) var(--page-bottom);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.screen::before {
  content: "";
  display: none;
  height: 0;
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 48px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  font-size: 23px;
  letter-spacing: 0;
}

.brand-account {
  min-height: 40px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  background: rgba(255, 248, 231, 0.05);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.bottom-tabs {
  position: sticky;
  bottom: max(var(--s-4), env(safe-area-inset-bottom));
  z-index: 20;
  margin-top: var(--s-2);
  padding: var(--s-1);
  border: 1px solid rgba(255, 248, 231, 0.13);
  border-radius: var(--r-2);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-1);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.07), rgba(255, 248, 231, 0.025)),
    rgba(8, 12, 10, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.bottom-tab {
  min-height: 44px;
  padding: 0 var(--s-1);
  border: 1px solid transparent;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.memory-screen {
  padding-bottom: var(--page-bottom);
  gap: var(--section-gap);
}

.memory-hero h1 {
  max-width: none;
  font-size: clamp(42px, 13vw, 58px);
  line-height: 0.98;
}

.memory-summary-card {
  border-color: rgba(245, 200, 75, 0.22);
  background: rgba(245, 200, 75, 0.045);
}

.memory-screen .profile-list-card,
.memory-screen .profile-memory-guide {
  border-color: rgba(255, 248, 231, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.038), rgba(255, 248, 231, 0.015)),
    rgba(8, 12, 10, 0.42);
}

.bottom-tab.is-active {
  border-color: rgba(245, 200, 75, 0.38);
  background: rgba(245, 200, 75, 0.13);
  color: var(--gold-2);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--panel-pad);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.055), rgba(255, 248, 231, 0.025)),
    rgba(255, 248, 231, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 248, 231, 0.08);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 13vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.actions {
  margin-top: auto;
  display: grid;
  gap: var(--s-3);
}

.primary {
  min-height: var(--control-h);
  padding-inline: var(--s-5);
  color: #080706;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(245, 200, 75, 0.18);
}

.primary:disabled,
.secondary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.secondary {
  min-height: var(--control-h);
  padding-inline: var(--s-5);
  color: var(--ink);
  background: rgba(255, 248, 231, 0.04);
  border: 1px solid var(--line);
  font-weight: 800;
}

.quiet {
  min-height: 48px;
  padding-inline: var(--s-4);
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 800;
}

.home-ritual,
.home-today-snapshot,
.home-picks-preview,
.daily-progress,
.pick-card,
.picks-complete-card,
.pick-memory,
.pick-reaction-guide,
.profile-account-card,
.profile-memory-guide,
.memory-overview,
.memory-recent,
.memory-section,
.profile-grid article,
.profile-list-card,
.taste-class-card,
.top10-moment-card,
.taste-expansion-card {
  border-radius: var(--r-2);
}

.auth-inline-action {
  min-height: 44px;
  justify-self: center;
  padding-inline: var(--s-3);
}

.ownership-note {
  margin: var(--s-2) auto 0;
  max-width: 32ch;
  color: rgba(255, 248, 231, 0.56);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.link-button {
  min-height: 48px;
  border-radius: var(--r-1);
  display: grid;
  place-items: center;
  text-decoration: none;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-form label {
  display: grid;
  gap: var(--s-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 0 var(--s-4);
  color: var(--ink);
  background: rgba(255, 248, 231, 0.045);
  outline: none;
  text-transform: none;
}

.auth-form input:focus {
  border-color: rgba(245, 200, 75, 0.74);
}

.auth-message {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-3);
  color: var(--muted);
  background: rgba(255, 248, 231, 0.035);
}

.auth-message.error {
  border-color: rgba(255, 107, 95, 0.52);
  color: #ffd4cf;
}

.auth-message.notice {
  border-color: rgba(142, 207, 84, 0.42);
  color: #dff6c7;
}

.top5-screen {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: max(22px, env(safe-area-inset-top)) var(--s-5) max(20px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--s-5);
  overscroll-behavior: none;
}

.top5-title {
  display: grid;
  gap: var(--s-3);
}

.top5-title h1 {
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1.02;
}

.top10-intro {
  margin: 0;
  max-width: 36ch;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.35;
}

.top5-screen.has-picks {
  grid-template-rows: auto minmax(132px, 0.72fr) auto;
  gap: var(--s-4);
  padding-top: max(18px, env(safe-area-inset-top));
}

.top5-screen.has-picks .top5-title {
  gap: var(--s-2);
}

.top5-screen.has-picks .top5-title h1 {
  font-size: clamp(30px, 8.8vw, 40px);
  line-height: 1.02;
}

.yb-app[data-keyboard-mode] .top5-title {
  display: none;
}

.yb-app[data-keyboard-mode] .top5-screen {
  grid-template-rows: minmax(0, 1fr) auto;
  padding: max(10px, env(safe-area-inset-top)) var(--s-3) max(10px, env(safe-area-inset-bottom));
  gap: var(--s-2);
}

.search-panel {
  min-height: 148px;
  border: 1px solid rgba(245, 200, 75, 0.48);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  grid-template-rows: 56px auto minmax(0, 1fr);
  gap: var(--s-4);
  background: rgba(8, 22, 17, 0.92);
  overflow: hidden;
  contain: layout paint;
}

.top5-screen.has-picks .search-panel {
  min-height: 132px;
  padding: var(--s-3);
  gap: var(--s-3);
  grid-template-rows: 56px auto minmax(0, 1fr);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: var(--s-4);
  align-items: center;
}

.search-row input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: 0 var(--s-4);
  color: var(--ink);
  background: rgba(255, 248, 231, 0.045);
  outline: none;
}

.search-row input:focus {
  border-color: rgba(245, 200, 75, 0.74);
}

.yb-app[data-keyboard-mode] .search-panel {
  min-height: 96px;
  padding: var(--s-2);
  gap: var(--s-2);
}

.yb-app[data-keyboard-mode] .search-row {
  gap: var(--s-2);
}

.yb-app[data-keyboard-mode] .search-row input,
.yb-app[data-keyboard-mode] .search-row button {
  min-height: 48px;
}

.search-results {
  min-height: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: var(--s-2);
  overflow: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.search-status {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.35;
}

.result-card {
  min-width: 0;
  max-width: 100%;
  min-height: 80px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: var(--panel-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  grid-template-areas:
    "title add"
    "meta add";
  align-items: center;
  gap: var(--s-2);
  overflow: hidden;
}

.result-card.is-provisional {
  border-color: rgba(245, 200, 75, 0.36);
  background: rgba(245, 200, 75, 0.055);
}

.result-card strong {
  grid-area: title;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.16;
}

.result-card span {
  grid-area: meta;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--soft);
  font-size: 12px;
}

.result-card button {
  grid-area: add;
  width: 72px;
  justify-self: end;
  min-height: 36px;
  font-size: 13px;
  font-weight: 900;
  color: #080706;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.yb-app[data-keyboard-mode] .result-card {
  min-height: 68px;
  padding: var(--s-2);
}

.empty-results {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
}

.top5-dock {
  display: grid;
  gap: var(--s-4);
  min-width: 0;
}

.top5-screen.has-picks .top5-dock {
  gap: var(--s-3);
}

.yb-app[data-keyboard-mode] .top5-dock {
  gap: var(--s-2);
}

.slot-count {
  border: 1px solid rgba(245, 200, 75, 0.5);
  border-radius: var(--r-1);
  padding: var(--s-3) var(--s-4);
  background: linear-gradient(90deg, rgba(245, 200, 75, 0.16), rgba(255, 107, 95, 0.12));
  font-weight: 900;
}

.top5-screen.has-picks .slot-count {
  padding: var(--s-2) var(--s-3);
}

.identity-warning {
  margin: 0;
  border: 1px solid rgba(255, 107, 95, 0.48);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: rgba(255, 107, 95, 0.09);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.slot {
  position: relative;
  min-width: 0;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: var(--panel-2);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 30px;
  grid-template-areas: "rank title action";
  align-items: start;
  column-gap: var(--s-2);
}

.top5-screen.has-picks .slot {
  min-height: 72px;
  padding: var(--s-2);
}

.slot.is-selected {
  border-color: rgba(245, 200, 75, 0.46);
}

.yb-app[data-keyboard-mode] .slot {
  min-height: 64px;
  padding: var(--s-2);
}

.yb-app[data-keyboard-mode] .slot b {
  font-size: 16px;
}

.yb-app[data-keyboard-mode] .slot span {
  font-size: 12px;
  -webkit-line-clamp: 2;
}

.slot b {
  grid-area: rank;
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

.slot span {
  grid-area: title;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.14;
  font-weight: 800;
}

.slot button {
  grid-area: action;
  justify-self: end;
  align-self: start;
  position: relative;
  top: -2px;
  right: -2px;
  width: 28px;
  min-height: 28px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 248, 231, 0.14);
  border: 1px solid var(--line);
}

.dock-actions {
  display: grid;
  gap: var(--s-4);
}

.extra5-screen {
  grid-template-rows: auto minmax(0, 0.76fr) auto;
  gap: var(--s-4);
  padding-top: max(16px, env(safe-area-inset-top));
}

.extra5-screen .top5-title {
  gap: var(--s-2);
}

.extra5-screen .top5-title h1 {
  font-size: clamp(31px, 8.8vw, 42px);
  line-height: 1.04;
}

.extra5-screen .search-panel {
  min-height: 176px;
  padding: var(--s-3);
  gap: var(--s-3);
  grid-template-rows: 54px auto minmax(0, 1fr);
}

.extra5-screen .search-row {
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: var(--s-3);
}

.extra5-screen .search-results {
  max-height: 126px;
}

.extra5-screen .top5-dock {
  gap: var(--s-3);
}

.extra5-screen .slot-count {
  padding: var(--s-2) var(--s-3);
}

.extra5-screen .slot {
  min-height: 82px;
  padding: var(--s-3);
}

.extra5-screen .dock-actions {
  gap: var(--s-3);
}

.extra5-screen .dock-actions button {
  min-height: 54px;
}

.yb-app[data-keyboard-mode] .extra5-screen {
  grid-template-rows: minmax(0, 1fr) auto;
}

.yb-app[data-keyboard-mode] .extra5-screen .top5-title {
  display: none;
}

.yb-app[data-keyboard-mode] .extra5-screen .search-panel {
  min-height: 0;
}

.yb-app[data-keyboard-mode] .dock-actions {
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}

.yb-app[data-keyboard-mode] .dock-actions button {
  min-height: 44px;
}

/* Top 5 must grow on short screens rather than clip its Add targets.
   Explicit rows also keep results out of the optional status-message row. */
.yb-app .top5-screen:not(.extra5-screen) {
  height: auto;
  max-height: none;
  overflow: visible;
  grid-template-rows: auto auto auto;
}

.yb-app[data-keyboard-mode] .top5-screen:not(.extra5-screen) {
  grid-template-rows: auto auto;
}

.yb-app .top5-screen:not(.extra5-screen) .search-panel {
  min-height: 0;
  grid-template-rows: auto auto minmax(176px, auto);
}

.top5-screen:not(.extra5-screen) .search-row { grid-row: 1; }
.top5-screen:not(.extra5-screen) .search-status { grid-row: 2; }
.top5-screen:not(.extra5-screen) .search-results {
  grid-row: 3;
  min-height: 176px;
  max-height: 264px;
}

.reveal-screen {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) var(--s-5) max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--s-4);
  overscroll-behavior: none;
}

.class-panel {
  min-height: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: center;
  gap: var(--s-3);
  overflow: hidden;
}

.class-badge {
  width: clamp(72px, 22vw, 104px);
  height: clamp(72px, 22vw, 104px);
  object-fit: contain;
  justify-self: center;
}

.bento-class-visual {
  width: clamp(116px, 34vw, 156px);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  overflow: visible;
}

.bento-class-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(224, 174, 96, 0.22);
}

.bento-class-visual.is-compact {
  width: 72px;
  justify-self: start;
}

.bento-class-visual.is-summary {
  width: 56px;
  justify-self: start;
}

.beni-summary .bento-class-visual {
  flex: 0 0 auto;
}

.class-panel .stack {
  gap: var(--s-2);
  text-align: center;
}

.class-shift-moment {
  justify-self: stretch;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 211, 77, 0.46);
  border-radius: var(--r-1);
  padding: var(--s-2) var(--s-3);
  background:
    linear-gradient(135deg, rgba(255, 211, 77, 0.18), rgba(255, 248, 231, 0.045));
  box-shadow: 0 14px 34px rgba(255, 211, 77, 0.08);
  text-align: center;
}

.class-shift-moment span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.class-shift-moment strong {
  color: var(--cream);
  font-size: 17px;
  line-height: 1.15;
}

.class-shift-moment p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.class-panel h1 {
  font-size: clamp(34px, 10vw, 48px);
}

.class-panel p {
  font-size: 15px;
  line-height: 1.35;
}

.trust-list {
  min-height: 0;
  display: grid;
  gap: var(--s-2);
  align-content: start;
  overflow: hidden;
}

.trust-list div {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-2) var(--s-3);
  background: rgba(255, 248, 231, 0.035);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.reveal-screen .actions {
  margin-top: 0;
  padding-bottom: max(var(--s-1), env(safe-area-inset-bottom));
}

.reveal-screen .actions button {
  min-height: 48px;
}

.home-ritual {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-5);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.06), rgba(255, 248, 231, 0.025)),
    rgba(255, 248, 231, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 248, 231, 0.08);
}

.home-ritual.is-complete {
  border-color: rgba(142, 207, 84, 0.34);
  background:
    linear-gradient(180deg, rgba(142, 207, 84, 0.09), rgba(255, 248, 231, 0.025)),
    rgba(255, 248, 231, 0.035);
}

.home-ritual h1 {
  font-size: clamp(38px, 11vw, 52px);
}

.home-ritual-copy {
  display: grid;
  gap: var(--s-4);
}

.beni-summary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 76px;
  padding: var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.14);
  border-radius: var(--r-1);
  background: rgba(8, 12, 10, 0.42);
}

.beni-summary img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.beni-summary div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.beni-summary span,
.home-guidance span {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.beni-summary strong,
.home-guidance strong,
.taste-receipt strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.daily-progress {
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(255, 248, 231, 0.13);
  border-radius: var(--r-1);
  display: grid;
  gap: var(--s-2);
  background: rgba(8, 12, 10, 0.38);
}

.daily-progress span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.daily-progress p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.3;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 248, 231, 0.1);
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.taste-receipt {
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(245, 200, 75, 0.24);
  border-radius: var(--r-1);
  background:
    linear-gradient(90deg, rgba(245, 200, 75, 0.12), rgba(255, 248, 231, 0.025)),
    rgba(8, 12, 10, 0.38);
}

.taste-receipt p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.home-today-snapshot {
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.05), rgba(245, 200, 75, 0.055)),
    rgba(8, 12, 10, 0.4);
}

.home-today-snapshot.is-complete {
  border-color: rgba(138, 202, 72, 0.34);
  background:
    linear-gradient(135deg, rgba(138, 202, 72, 0.11), rgba(245, 200, 75, 0.045)),
    rgba(8, 12, 10, 0.4);
}

.home-today-snapshot > div {
  display: grid;
  gap: var(--s-1);
}

.home-today-snapshot > div span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-today-snapshot strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.08;
}

.home-today-snapshot p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
}

.home-today-snapshot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
}

.home-today-snapshot li {
  min-height: 48px;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  display: grid;
  place-items: center;
  gap: 2px;
  background: rgba(255, 248, 231, 0.024);
  text-align: center;
}

.home-today-snapshot li b {
  color: var(--gold-2);
  font-size: 18px;
  line-height: 1;
}

.home-today-snapshot li span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.top10-moment-card {
  border: 1px solid rgba(245, 200, 75, 0.34);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.12), rgba(142, 207, 84, 0.055)),
    rgba(8, 12, 10, 0.5);
}

.top10-moment-card > span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.top10-moment-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.top10-moment-card p {
  max-width: 34ch;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.35;
}

.top10-moment-card button {
  width: 100%;
  min-height: 52px;
}

.home-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.home-guidance div {
  min-height: 74px;
  padding: var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  display: grid;
  align-content: center;
  gap: var(--s-1);
  background: rgba(255, 248, 231, 0.028);
}

.home-notice {
  margin: 0;
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(245, 200, 75, 0.24);
  border-radius: var(--r-1);
  background: rgba(245, 200, 75, 0.09);
  color: var(--gold-2);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.home-notice.is-interested {
  border-color: rgba(245, 200, 75, 0.34);
  background: rgba(245, 200, 75, 0.12);
}

.home-notice.is-seen {
  border-color: rgba(138, 202, 72, 0.32);
  background: rgba(138, 202, 72, 0.1);
  color: var(--green);
}

.home-notice.is-not-for-me {
  border-color: rgba(255, 248, 231, 0.16);
  background: rgba(255, 248, 231, 0.055);
  color: var(--soft);
}

.daily-picks {
  display: grid;
  gap: var(--s-4);
}

.pick-card {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.055), rgba(255, 248, 231, 0.02)),
    var(--panel);
}

.pick-poster {
  grid-row: 1;
  width: 104px;
  height: 156px;
  border-radius: var(--r-1);
  border: 1px solid rgba(255, 248, 231, 0.16);
  object-fit: cover;
  background: rgba(255, 248, 231, 0.06);
}

.pick-card.is-reacted {
  border-color: rgba(245, 200, 75, 0.42);
}

.pick-card.is-fresh-reaction {
  box-shadow: 0 0 0 1px rgba(245, 200, 75, 0.22), 0 14px 34px rgba(0, 0, 0, 0.22);
}

.pick-recovery-tier {
  display: inline-flex;
  margin-top: 6px;
  width: fit-content;
  border: 1px solid rgba(245, 200, 75, 0.32);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--gold);
  background: rgba(245, 200, 75, 0.08);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.daily-picks.has-reaction-payoff .pick-card {
  animation: pick-settle 180ms ease-out both;
}

.picks-complete-card {
  border: 1px solid rgba(138, 202, 72, 0.3);
  border-radius: var(--r-1);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-4);
  background:
    linear-gradient(135deg, rgba(138, 202, 72, 0.12), rgba(245, 200, 75, 0.06)),
    rgba(8, 12, 10, 0.54);
}

.picks-complete-card h2 {
  margin-top: var(--s-1);
  color: var(--ink);
  font-size: 28px;
  line-height: 1.02;
}

.picks-complete-card p:not(.eyebrow) {
  margin-top: var(--s-2);
  color: var(--soft);
  font-size: 15px;
  line-height: 1.42;
}

.picks-complete-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-2);
}

.pick-meta {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  color: var(--soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.pick-meta strong {
  color: var(--green);
}

.pick-role {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.pick-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}

.pick-card.has-long-title .pick-heading {
  display: contents;
}

.pick-card.has-long-title h2 {
  grid-column: 1 / -1;
}

.pick-meta > * {
  max-width: 100%;
}

.pick-card h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  font-size: 1.5rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pick-card p {
  font-size: 15px;
  line-height: 1.55;
}

.pick-role-line {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  grid-column: 1 / -1;
  color: var(--soft);
  font-weight: 500;
}

.pick-readable {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s-4);
}

.pick-readable section {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) 0 0;
  border-top: 1px solid rgba(255, 248, 231, 0.10);
}

.pick-readable span {
  color: var(--gold);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.pick-summary {
  color: var(--soft);
}

.pick-reason {
  color: var(--ink);
  white-space: pre-line;
}

/* The portrait belongs to the heading, never a column beside the explanation. */
.beni-take-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.beni-take-heading span {
  line-height: 1.4;
}

.beni-companion-avatar {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #171d18;
}

[data-testid="pick-why"] > .pick-reason {
  min-width: 0;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.bridge-note {
  margin: 0;
  padding: var(--s-3);
  border: 1px solid rgba(245, 200, 75, 0.2);
  border-radius: var(--r-1);
  background: rgba(245, 200, 75, 0.07);
  color: var(--gold-2);
}

.pick-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}

.pick-actions button {
  overflow-wrap: anywhere;
  white-space: normal;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 44px;
  min-width: 0;
  padding: 8px var(--s-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.reaction-button.is-selected {
  outline: 2px solid currentColor;
  outline-offset: -3px;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.reaction-button.is-interested {
  border-color: rgba(245, 200, 75, 0.72);
  background: linear-gradient(135deg, rgba(245, 200, 75, 0.24), rgba(255, 248, 231, 0.07));
  color: var(--gold-2);
}

.reaction-button.is-seen {
  border-color: rgba(138, 202, 72, 0.58);
  background: rgba(138, 202, 72, 0.13);
  color: var(--green);
}

.reaction-button.is-watching-now {
  border-color: rgba(74, 183, 214, 0.64);
  background: rgba(74, 183, 214, 0.13);
  color: #bdeefe;
}

.reaction-button.is-seen-loved,
.reaction-button.is-watching-loved {
  border-color: rgba(138, 202, 72, 0.72);
  background: linear-gradient(135deg, rgba(138, 202, 72, 0.22), rgba(245, 200, 75, 0.09));
  color: var(--green);
}

.reaction-button.is-seen-ok,
.reaction-button.is-watching-ok {
  border-color: rgba(245, 200, 75, 0.62);
  background: rgba(245, 200, 75, 0.12);
  color: var(--gold-2);
}

.reaction-button.is-watching-unsure {
  border-color: rgba(74, 183, 214, 0.48);
  background: rgba(74, 183, 214, 0.09);
  color: #c9edf7;
}

.reaction-button.is-not-for-me,
.reaction-button.is-seen-disliked {
  border-color: rgba(255, 248, 231, 0.22);
  background: rgba(255, 248, 231, 0.04);
  color: var(--soft);
}

.reaction-button.is-selected.is-not-for-me,
.reaction-button.is-not-for-me.is-selected,
.reaction-button.is-seen-disliked {
  border-color: rgba(255, 121, 121, 0.72);
  background: rgba(255, 121, 121, 0.14);
  color: #ffd1d1;
}

.seen-followup {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s-2);
  padding: var(--s-3);
  border: 1px solid rgba(138, 202, 72, 0.24);
  border-radius: var(--r-1);
  background: rgba(138, 202, 72, 0.08);
}

.watching-followup {
  border-color: rgba(74, 183, 214, 0.26);
  background: rgba(74, 183, 214, 0.08);
}

.seen-followup p {
  margin: 0;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.seen-followup-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
}

.seen-followup-actions button {
  min-height: 38px;
  padding: 0 var(--s-2);
  font-size: 11px;
}

.pick-reaction-receipt {
  grid-column: 1 / -1;
  margin: calc(var(--s-1) * -1) 0 0;
  padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(245, 200, 75, 0.2);
  border-radius: var(--r-1);
  background: rgba(245, 200, 75, 0.07);
  color: var(--gold-2);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.pick-reaction-receipt.is-watching-now {
  border-color: rgba(74, 183, 214, 0.24);
  background: rgba(74, 183, 214, 0.08);
  color: #c9edf7;
}

.pick-reaction-receipt.is-seen {
  border-color: rgba(138, 202, 72, 0.24);
  background: rgba(138, 202, 72, 0.08);
  color: var(--green);
}

.pick-reaction-receipt.is-not-for-me {
  border-color: rgba(255, 248, 231, 0.13);
  background: rgba(255, 248, 231, 0.035);
  color: var(--soft);
}

.daily-progress.is-complete {
  border-color: rgba(138, 202, 72, 0.36);
  background:
    linear-gradient(90deg, rgba(138, 202, 72, 0.11), rgba(245, 200, 75, 0.055)),
    rgba(8, 12, 10, 0.42);
}

.daily-progress.is-complete span {
  color: var(--green);
}

.pick-memory {
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.08), rgba(255, 248, 231, 0.025)),
    rgba(8, 12, 10, 0.44);
}

.pick-memory.is-interested {
  border-color: rgba(245, 200, 75, 0.36);
}

.pick-memory.is-seen {
  border-color: rgba(138, 202, 72, 0.32);
}

.pick-memory div {
  display: grid;
  gap: var(--s-1);
}

.pick-memory div span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.pick-memory strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.pick-memory ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
}

.pick-memory li {
  min-height: 48px;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  display: grid;
  place-items: center;
  gap: 2px;
  background: rgba(255, 248, 231, 0.026);
  text-align: center;
}

.pick-memory li b {
  color: var(--gold-2);
  font-size: 18px;
  line-height: 1;
}

.pick-memory li span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.pick-reaction-guide {
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  background: rgba(255, 248, 231, 0.025);
}

.pick-reaction-guide div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pick-reaction-guide b {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.1;
}

.pick-reaction-guide span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

@keyframes pick-settle {
  from {
    opacity: 0.88;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-picks-preview {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-4);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.045), rgba(255, 248, 231, 0.018)),
    rgba(8, 12, 10, 0.4);
}

.home-picks-preview h2 {
  font-size: 28px;
  line-height: 1.04;
}

.home-picks-preview p {
  font-size: 15px;
  line-height: 1.38;
}

.home-picks-preview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.home-picks-preview li {
  min-height: 40px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-2);
  background: rgba(255, 248, 231, 0.025);
}

.home-picks-preview li.is-saved {
  border-color: rgba(245, 200, 75, 0.28);
  background: rgba(245, 200, 75, 0.055);
}

.home-picks-preview li b {
  color: var(--gold-2);
  font-size: 14px;
}

.home-picks-preview li span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-picks-preview li em {
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: 999px;
  padding: 5px var(--s-2);
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.home-picks-preview li.is-saved em {
  border-color: rgba(245, 200, 75, 0.36);
  color: var(--gold-2);
}

.tester-day-cycle {
  border: 1px solid rgba(245, 200, 75, 0.28);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.11), rgba(8, 12, 10, 0.42)),
    rgba(8, 12, 10, 0.42);
}

.tester-day-cycle > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tester-day-cycle span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tester-day-cycle strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.tester-day-cycle p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
}

.home-memory-preview {
  border: 1px solid rgba(245, 200, 75, 0.22);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-4);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.075), rgba(255, 248, 231, 0.018)),
    rgba(8, 12, 10, 0.42);
}

.home-memory-preview h2 {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.06;
}

.home-memory-preview p:not(.eyebrow) {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.36;
}

.home-memory-preview ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
}

.home-memory-preview li {
  min-height: 58px;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  display: grid;
  place-items: center;
  gap: 3px;
  background: rgba(255, 248, 231, 0.026);
  text-align: center;
}

.home-memory-preview li b {
  color: var(--gold-2);
  font-size: 22px;
  line-height: 1;
}

.home-memory-preview li span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.account-screen {
  min-height: 100dvh;
  padding: max(32px, env(safe-area-inset-top)) var(--s-6) max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: var(--s-7, 28px);
}

.account-controls-card p {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.38;
}

.profile-account-card {
  border: 1px solid rgba(245, 200, 75, 0.22);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.1), rgba(255, 248, 231, 0.026)),
    rgba(8, 12, 10, 0.42);
}

.profile-account-card span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-account-card strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.05;
}

.profile-account-card p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.38;
}

.profile-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
}

.profile-shortcuts button {
  min-height: 40px;
  padding: 0 var(--s-3);
  font-size: 13px;
}

.profile-memory-guide {
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  gap: var(--s-3);
  background: rgba(255, 248, 231, 0.022);
}

.profile-memory-guide > span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-memory-guide > div {
  display: grid;
  gap: var(--s-2);
}

.profile-memory-guide article {
  min-width: 0;
  border: 1px solid rgba(245, 200, 75, 0.13);
  border-radius: var(--r-1);
  padding: var(--s-2);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px;
  align-items: center;
  background: rgba(8, 12, 10, 0.34);
}

.profile-memory-guide b {
  grid-row: 1 / span 2;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

.profile-memory-guide strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.12;
}

.profile-memory-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.memory-overview,
.memory-recent {
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.04), rgba(255, 248, 231, 0.014)),
    rgba(8, 12, 10, 0.42);
}

.memory-overview-header {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-2);
  align-items: center;
}

.memory-overview-header span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-overview-header strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.memory-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}

.memory-overview-grid article {
  min-width: 0;
  border: 1px solid rgba(245, 200, 75, 0.13);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  gap: 4px;
  background: rgba(245, 200, 75, 0.035);
}

.memory-overview-grid b {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.memory-overview-grid span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.12;
}

.memory-overview-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.28;
}

.memory-recent ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.memory-recent li {
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.08);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto);
  gap: var(--s-2);
  align-items: center;
  background: rgba(255, 248, 231, 0.024);
}

.memory-recent li div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.memory-recent li span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  display: -webkit-box;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.memory-recent li small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-recent li em {
  min-width: 0;
  border: 1px solid rgba(245, 200, 75, 0.18);
  border-radius: 999px;
  padding: 7px 8px;
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.profile-reaction-memory {
  gap: var(--s-4);
}

.profile-reaction-memory > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.profile-reaction-memory > div:first-child button {
  justify-self: end;
}

.profile-interest-memory {
  display: grid;
  gap: var(--s-3);
}

.memory-history {
  display: grid;
  gap: var(--s-4);
}

.memory-section {
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.038), rgba(255, 248, 231, 0.015)),
    rgba(8, 12, 10, 0.42);
}

.memory-section-header {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-2);
  align-items: start;
}

.memory-section-header span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-section-header p {
  margin: var(--s-1) 0 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
}

.memory-section-header strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.memory-section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.memory-title-row {
  min-width: 0;
  min-height: 72px;
  border: 1px solid rgba(255, 248, 231, 0.09);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: var(--s-2);
  align-items: center;
  background: rgba(255, 248, 231, 0.026);
}

.memory-title-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.memory-title-name {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  display: -webkit-box;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.memory-title-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-title-actions {
  min-width: 0;
  display: grid;
  gap: 6px;
  justify-items: stretch;
}

.memory-status-pill {
  min-width: 0;
  border: 1px solid rgba(245, 200, 75, 0.2);
  border-radius: 999px;
  padding: 7px 8px;
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.memory-empty {
  border: 1px solid rgba(255, 248, 231, 0.08);
  border-radius: var(--r-1);
  padding: var(--s-3);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  background: rgba(255, 248, 231, 0.022);
}

.profile-interest-list {
  gap: var(--s-3);
}

.profile-interest-list > div em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.profile-interest-list p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
}

.profile-interest-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.profile-interest-list li {
  min-width: 0;
  min-height: 64px;
  border: 1px solid rgba(245, 200, 75, 0.16);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  align-items: start;
  gap: var(--s-2);
  background: rgba(245, 200, 75, 0.04);
}

.profile-interest-list li div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-interest-list li span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.18;
  text-overflow: ellipsis;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.profile-interest-list .memory-forget {
  align-self: start;
}

.profile-interest-list li small,
.profile-interest-list li.is-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.profile-interest-list li small:empty,
.memory-bucket li small:empty {
  display: none;
}

.profile-interest-list li.is-empty {
  display: block;
  min-height: 0;
  border-color: rgba(255, 248, 231, 0.09);
  background: rgba(255, 248, 231, 0.022);
}

.memory-buckets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.memory-bucket {
  border: 1px solid rgba(255, 248, 231, 0.09);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  gap: var(--s-2);
  background: rgba(255, 248, 231, 0.022);
}

.memory-bucket h3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-2);
}

.memory-bucket h3 span {
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.16;
  text-transform: none;
}

.memory-bucket h3 em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.memory-bucket ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.memory-bucket li {
  min-width: 0;
  min-height: 64px;
  border: 1px solid rgba(255, 248, 231, 0.08);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  align-items: start;
  gap: var(--s-2);
  background: rgba(255, 248, 231, 0.026);
}

.memory-bucket li div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.memory-bucket li span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.18;
  text-overflow: ellipsis;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.memory-bucket li small,
.memory-bucket li.is-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.memory-bucket li.is-empty {
  display: block;
}

.memory-forget {
  justify-self: end;
  align-self: start;
  min-height: 32px;
  width: 100%;
  max-width: 100%;
  padding: 0 var(--s-2);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.profile-hero,
.picks-hero,
.taste-hero,
.memory-hero,
.account-hero {
  display: grid;
  gap: var(--s-3);
  padding-block: var(--s-2) var(--s-3);
}

.profile-hero h1,
.picks-hero h1,
.taste-hero h1,
.memory-hero h1,
.account-hero h1 {
  font-size: clamp(42px, 13vw, 58px);
  line-height: 0.98;
}

.profile-hero p,
.picks-hero p,
.taste-hero p,
.memory-hero p,
.account-hero p {
  max-width: 30ch;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.profile-grid article,
.profile-list-card {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.045), rgba(255, 248, 231, 0.018)),
    rgba(8, 12, 10, 0.4);
}

.profile-grid article {
  min-height: 132px;
  padding: var(--s-4);
  display: grid;
  align-content: start;
  gap: var(--s-2);
}

.profile-grid span,
.profile-list-card span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.profile-grid p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.32;
}

.profile-list-card {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
}

.profile-list-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.profile-list-card button {
  min-height: 36px;
  padding: 0 var(--s-3);
  font-size: 13px;
}

.profile-feedback-card {
  gap: var(--s-3);
}

.profile-feedback-card > p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.42;
}

.profile-feedback-card label {
  display: grid;
  gap: var(--s-2);
}

.profile-feedback-card label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-feedback-card textarea {
  min-height: 96px;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: rgba(255, 248, 231, 0.045);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  padding: var(--s-3);
}

.profile-feedback-card textarea:focus {
  border-color: rgba(255, 214, 92, 0.58);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 214, 92, 0.11);
}

.profile-feedback-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.taste-class-card {
  border: 1px solid rgba(245, 200, 75, 0.24);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.11), rgba(138, 202, 72, 0.04)),
    rgba(8, 12, 10, 0.42);
}

.taste-class-card .bento-class-visual {
  margin-bottom: var(--s-1);
}

.taste-class-card > span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.taste-class-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.taste-class-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.taste-class-card li {
  padding: var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.11);
  border-radius: var(--r-1);
  background: rgba(255, 248, 231, 0.028);
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
}

.taste-expansion-card {
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.04), rgba(255, 248, 231, 0.018)),
    rgba(8, 12, 10, 0.42);
}

.taste-expansion-card.is-ready {
  border-color: rgba(142, 207, 84, 0.3);
  background:
    linear-gradient(135deg, rgba(142, 207, 84, 0.1), rgba(245, 200, 75, 0.045)),
    rgba(8, 12, 10, 0.45);
}

.taste-expansion-card > span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.moment-flag {
  width: fit-content;
  border: 1px solid rgba(245, 200, 75, 0.42);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--gold);
  background: rgba(245, 200, 75, 0.1);
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.taste-expansion-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.taste-expansion-card p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
}

.expansion-meter {
  min-height: 48px;
  padding: var(--s-3);
  border: 1px solid rgba(245, 200, 75, 0.2);
  border-radius: var(--r-1);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s-2);
  background: rgba(245, 200, 75, 0.055);
}

.expansion-meter b {
  color: var(--gold-2);
  font-size: 18px;
  line-height: 1;
}

.expansion-meter span {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.taste-expansion-card button {
  min-height: 40px;
  padding: 0 var(--s-3);
  font-size: 13px;
}

.taste-expansion-card button.primary {
  width: 100%;
  min-height: 48px;
}

.extra5-saved-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.extra5-saved-list span {
  max-width: 100%;
  padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 248, 231, 0.035);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-list-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.profile-list-card li {
  min-height: 42px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: var(--s-2);
  background: rgba(255, 248, 231, 0.025);
}

.profile-list-card li b {
  color: var(--gold-2);
  font-size: 15px;
}

.profile-list-card li span {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-list-card li small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.readiness-screen {
  min-height: 100dvh;
  padding-bottom: max(var(--s-6), env(safe-area-inset-bottom));
}

.readiness-hero {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
  background:
    linear-gradient(180deg, rgba(142, 207, 84, 0.08), rgba(255, 248, 231, 0.025)),
    rgba(255, 248, 231, 0.035);
}

.readiness-hero h1 {
  font-size: clamp(36px, 11vw, 50px);
}

.readiness-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}

.readiness-metrics article,
.readiness-card {
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.045), rgba(255, 248, 231, 0.018)),
    rgba(8, 12, 10, 0.4);
}

.readiness-metrics article {
  min-height: 104px;
  padding: var(--s-4);
  display: grid;
  align-content: center;
  gap: var(--s-1);
}

.readiness-metrics span,
.readiness-card span {
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-metrics strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.readiness-metrics p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.25;
}

.readiness-card {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-3);
}

.readiness-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}

.readiness-card > div strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.readiness-card ol,
.readiness-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
}

.readiness-card li {
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  padding: var(--s-3);
  display: grid;
  gap: var(--s-1);
  background: rgba(255, 248, 231, 0.024);
}

.readiness-card li.is-pass {
  border-color: rgba(142, 207, 84, 0.28);
}

.readiness-card li.is-fail {
  border-color: rgba(255, 107, 95, 0.42);
}

.readiness-card li.is-pending {
  border-color: rgba(255, 214, 92, 0.22);
}

.readiness-card li b {
  color: var(--green);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.readiness-card li.is-fail b {
  color: #ffd4cf;
}

.readiness-card li p,
.readiness-card li {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.32;
}

.readiness-card li em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
  font-style: normal;
}

.readiness-card li span {
  color: var(--ink);
  text-transform: none;
  font-size: 15px;
}

.readiness-roadmap-focus {
  border-color: rgba(245, 200, 75, 0.28);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.11), rgba(142, 207, 84, 0.04)),
    rgba(8, 12, 10, 0.48);
}

.readiness-roadmap-focus article {
  border: 1px solid rgba(245, 200, 75, 0.16);
  border-radius: var(--r-1);
  padding: var(--s-4);
  display: grid;
  gap: var(--s-2);
  background: rgba(8, 12, 10, 0.42);
}

.readiness-roadmap-focus article h2 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
}

.readiness-roadmap-focus article p:not(.eyebrow),
.readiness-roadmap-focus article em {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.36;
  font-style: normal;
}

.readiness-roadmap-focus ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.readiness-roadmap-focus li {
  align-content: start;
}

.readiness-phone-protocol {
  border-color: rgba(142, 207, 84, 0.22);
}

.readiness-phone-protocol > p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.34;
}

.readiness-phone-protocol > .link-button {
  width: max-content;
  min-width: 160px;
}

.readiness-phone-protocol ol {
  counter-reset: phone-pass;
}

.readiness-phone-protocol li {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
}

.readiness-phone-protocol li b {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(142, 207, 84, 0.13);
  color: var(--green);
}

.readiness-phone-protocol li span,
.readiness-phone-protocol li p {
  grid-column: 2;
}

.readiness-testing-evidence {
  border-color: rgba(142, 207, 84, 0.24);
}

.readiness-testing-evidence > p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.34;
}

.readiness-testing-evidence dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
}

.readiness-testing-evidence dl div {
  min-width: 0;
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: rgba(255, 248, 231, 0.024);
}

.readiness-testing-evidence dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.readiness-testing-evidence dd {
  margin: var(--s-1) 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.readiness-testing-evidence details {
  border: 1px solid rgba(255, 248, 231, 0.1);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: rgba(8, 12, 10, 0.44);
}

.readiness-testing-evidence summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.readiness-testing-evidence pre {
  max-height: 220px;
  margin: var(--s-3) 0 0;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--soft);
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.testing-submit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
  border: 1px solid rgba(245, 200, 75, 0.22);
  border-radius: var(--r-1);
  padding: var(--s-3);
  background: rgba(245, 200, 75, 0.055);
}

.testing-submit-panel.is-sent {
  border-color: rgba(142, 207, 84, 0.32);
  background: rgba(142, 207, 84, 0.07);
}

.testing-submit-panel.is-error {
  border-color: rgba(255, 107, 95, 0.35);
  background: rgba(255, 107, 95, 0.07);
}

.testing-submit-panel strong,
.testing-submit-panel span {
  display: block;
}

.testing-submit-panel strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.testing-submit-panel span {
  margin-top: var(--s-1);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
}

.readiness-roadmap li {
  counter-increment: none;
}

.readiness-verification li {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.readiness-launch-links li {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.readiness-verification li b,
.readiness-verification li span,
.readiness-verification li p,
.readiness-verification li .phone-check-note,
.readiness-launch-links li b,
.readiness-launch-links li span,
.readiness-launch-links li p {
  grid-column: 1;
}

.readiness-auth-email-steps {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-auth-email-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  align-items: start;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.readiness-auth-email-steps li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 214, 92, 0.14);
  color: var(--gold);
  font-size: 12px;
}

.readiness-auth-email-steps li span {
  color: var(--cream);
  font-weight: 800;
}

.readiness-auth-email-steps li p {
  margin: 0;
  color: var(--muted);
}

.readiness-catalog-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-catalog-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-catalog-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(255, 214, 92, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 214, 92, 0.045);
}

.readiness-catalog-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 214, 92, 0.16);
  color: var(--gold);
  font-size: 12px;
}

.readiness-catalog-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-catalog-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-catalog-protocol aside {
  display: grid;
  gap: var(--s-1);
  margin-top: var(--s-4);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.readiness-catalog-protocol aside span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readiness-catalog-protocol aside p {
  margin: 0;
  color: var(--cream);
  font-weight: 800;
}

.readiness-coverage-matrix > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-coverage-matrix dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-coverage-matrix dl div {
  min-width: 0;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.readiness-coverage-matrix dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-coverage-matrix dd {
  margin: var(--s-1) 0 0;
  color: var(--cream);
  font-size: 24px;
  font-weight: 900;
}

.readiness-coverage-matrix ul {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-coverage-matrix li {
  display: grid;
  grid-template-columns: minmax(96px, 0.55fr) minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(255, 214, 92, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 214, 92, 0.045);
}

.readiness-coverage-matrix li b {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-coverage-matrix li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-coverage-matrix li p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.readiness-artwork-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-artwork-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-artwork-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.readiness-artwork-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(126, 220, 154, 0.14);
  color: var(--success);
  font-size: 12px;
}

.readiness-artwork-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-artwork-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-artwork-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-artwork-proof div {
  padding: var(--s-3);
  border: 1px solid rgba(126, 220, 154, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(126, 220, 154, 0.055);
}

.readiness-artwork-proof dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-artwork-proof dd {
  margin: 0;
  color: var(--cream);
  font-weight: 900;
}

.readiness-trust-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-trust-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-trust-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(170, 141, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(170, 141, 255, 0.045);
}

.readiness-trust-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(170, 141, 255, 0.16);
  color: #d4c7ff;
  font-size: 12px;
}

.readiness-trust-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-trust-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-trust-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-trust-proof div {
  padding: var(--s-3);
  border: 1px solid rgba(170, 141, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(170, 141, 255, 0.055);
}

.readiness-trust-proof dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-trust-proof dd {
  margin: 0;
  color: var(--cream);
  font-weight: 900;
}

.readiness-mobile-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-mobile-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-mobile-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(86, 199, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(86, 199, 255, 0.045);
}

.readiness-mobile-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(86, 199, 255, 0.15);
  color: #aee7ff;
  font-size: 12px;
}

.readiness-mobile-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-mobile-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-mobile-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-mobile-proof div {
  padding: var(--s-3);
  border: 1px solid rgba(86, 199, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(86, 199, 255, 0.055);
}

.readiness-mobile-proof dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-mobile-proof dd {
  margin: 0;
  color: var(--cream);
  font-weight: 900;
}

.readiness-account-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-account-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-account-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(255, 214, 92, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 214, 92, 0.04);
}

.readiness-account-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 214, 92, 0.16);
  color: var(--gold);
  font-size: 12px;
}

.readiness-account-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-account-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-account-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-account-proof div {
  padding: var(--s-3);
  border: 1px solid rgba(255, 214, 92, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 214, 92, 0.05);
}

.readiness-account-proof dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-account-proof dd {
  margin: 0;
  color: var(--cream);
  font-weight: 900;
}

.readiness-launch-protocol > p {
  margin: var(--s-2) 0 0;
  color: var(--muted);
}

.readiness-launch-protocol ol {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.readiness-launch-protocol li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  border: 1px solid rgba(126, 220, 154, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(126, 220, 154, 0.045);
}

.readiness-launch-protocol li b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(126, 220, 154, 0.15);
  color: var(--success);
  font-size: 12px;
}

.readiness-launch-protocol li span {
  color: var(--cream);
  font-weight: 900;
}

.readiness-launch-protocol li p {
  margin: 0;
  color: var(--muted);
}

.readiness-launch-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-launch-proof div {
  min-width: 0;
  padding: var(--s-3);
  border: 1px solid rgba(126, 220, 154, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(126, 220, 154, 0.055);
}

.readiness-launch-proof dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-launch-proof dd {
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readiness-proof-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.readiness-proof-details div {
  min-width: 0;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.readiness-proof-details dt {
  margin: 0 0 var(--s-1);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-proof-details dd {
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readiness-launch-links > ul > li > .compact-action {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.compact-action {
  min-height: 44px;
  width: auto;
  padding: 0 var(--s-3);
  font-size: 12px;
  white-space: nowrap;
}

.compact-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: var(--s-2);
  min-width: 104px;
}

.readiness-verification .compact-actions {
  grid-row: 1 / span 4;
}

.readiness-day-cycle > p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.readiness-day-cycle-actions {
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.phone-check-note {
  border-left: 2px solid rgba(255, 214, 92, 0.5);
  padding-left: var(--s-2);
  color: var(--gold-2);
}

@media (max-width: 370px) {
  .screen,
  .reveal-screen {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }

  .top5-screen {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }

  h1 {
    font-size: 40px;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .pick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pick-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: var(--s-3);
    padding: var(--s-4);
  }

  .pick-poster {
    width: 88px;
    height: 132px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-shortcuts {
    grid-template-columns: 1fr;
  }

  .readiness-testing-evidence dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testing-submit-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .testing-submit-panel button {
    width: 100%;
  }
}
