/* Pickup: Us Magazine x Pastel Pixar entertainment design system */

:root {
  --bg: #fff9f5;
  --bg-tint: #f8eff6;
  --bg-peach: #fdf2ea;
  --surface: #ffffff;
  --surface-soft: #fcf7fa;
  --line: #eedfe9;
  --line-strong: #e1cadb;

  --ink: #23192d;
  --muted: #5f526e;
  --faint: #847694;

  --pink: #e52a7b;
  --pink-hover: #c91d68;
  --pink-soft: #fde8f2;
  --marigold: #d98216;
  --marigold-soft: #fff4df;
  --mint: #128a72;
  --mint-soft: #e3f7f2;
  --plum: #6c4bb8;
  --plum-soft: #f0ebfb;
  --wolf: #d43f57;
  --wolf-soft: #fdecef;

  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 3-size body scale (hero H1 & wordmark are exempt) */
  --text-h2: 1.375rem;
  --text-body: 1rem;
  --text-sm: 0.875rem;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(35, 25, 45, 0.07);
  --shadow-hover: 0 18px 40px rgba(35, 25, 45, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--text-body)/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
body {
  min-height: 100vh;
  background-image:
    radial-gradient(900px 480px at 8% 0%, #fde6f1 0%, transparent 65%),
    radial-gradient(840px 460px at 94% 4%, #ece5ff 0%, transparent 60%);
}
img { display: block; max-width: 100%; }
a { color: var(--pink); text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: var(--pink-hover); text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 72px; }
.wrap.narrow { max-width: 980px; }

/* Sticky borderless header with clean scroll separation */
header.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
header.top.scrolled {
  background: rgba(255, 249, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(35, 25, 45, 0.05);
}
.top-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .wordmark {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.star {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff79b5 0%, var(--pink) 62%, #b71b62 100%);
  box-shadow: 0 4px 14px rgba(229, 42, 123, 0.35);
  position: relative;
  flex-shrink: 0;
}
.star::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff7fb;
  clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
}
nav.top {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.top::-webkit-scrollbar { display: none; }
nav.top a {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}
nav.top a:hover, nav.top a.active {
  color: var(--ink);
  text-decoration: none;
}
nav.top a.active { color: var(--pink); }

/* Homepage full-bleed premiere hero */
.premiere-hero {
  position: relative;
  margin-top: -66px;
  padding: 118px 20px 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fdf0f5;
}
.premiere-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.9;
}
.premiere-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 66% at 50% 48%, rgba(255, 249, 245, 0.9) 0%, rgba(255, 249, 245, 0.68) 54%, rgba(255, 249, 245, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 249, 245, 0.72) 0%, rgba(255, 249, 245, 0.08) 28%, rgba(255, 249, 245, 0.78) 100%);
}
.premiere-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.premiere-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.55rem, 6vw, 4.35rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 auto 18px;
  max-width: 16ch;
}
.premiere-hero p {
  font-size: var(--text-body);
  color: var(--ink);
  max-width: 50ch;
  margin: 0 auto 28px;
  font-weight: 500;
}

/* Sub-page hero */
.hero {
  padding: 28px 0 22px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.hero p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  font-size: var(--text-body);
}

/* Buttons */
button, .btn, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 var(--text-body)/1.2 var(--body);
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
button:hover, .btn:hover, a.button:hover {
  border-color: var(--pink);
  color: var(--pink);
  text-decoration: none;
  transform: translateY(-1px);
}
button.primary, .btn.primary, a.button.primary {
  background: var(--pink);
  color: #ffffff;
  border-color: var(--pink);
  box-shadow: 0 8px 22px rgba(229, 42, 123, 0.28);
}
button.primary:hover, .btn.primary:hover, a.button.primary:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(229, 42, 123, 0.34);
}
button:active, .btn:active, a.button:active { transform: translateY(0); }

/* Section spacing */
.section { padding-top: 44px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.section-head h2, .panel h2 {
  font-family: var(--display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.panel h2 { margin-bottom: 14px; }
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* The 4 Shows: 2x2 illustrated showcase */
.shows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .shows-grid { grid-template-columns: repeat(2, 1fr); }
}
.show-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}
.show-card .art {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tint);
  position: relative;
}
.show-card .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease);
}
.show-card:hover .art img { transform: scale(1.035); }
.show-card .art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--show-accent, var(--pink));
}
.show-card .body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.show-card h3 {
  font-family: var(--display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.show-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 52ch;
}

/* Editorial Invite Spotlight (with Pastel Pixar host) */
.invite-stage {
  margin-top: 44px;
  background: linear-gradient(135deg, #fff1f7 0%, #f5eeff 52%, #fff5eb 100%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 820px) {
  .invite-stage {
    grid-template-columns: 0.88fr 1.12fr;
    padding: 32px;
    gap: 36px;
  }
}
.host-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 32px rgba(35, 25, 45, 0.14);
  background: var(--surface);
}
.host-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.invite-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--ink);
}
.invite-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 56ch;
}
.prompt-card {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 14px 0 16px;
  font: 500 var(--text-body)/1.55 var(--body);
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 4px 14px rgba(35, 25, 45, 0.04);
}
.invite-copy .reassure {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Content grids and glossy panels */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid.two { grid-template-columns: 1.25fr 1fr; align-items: start; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.empty { color: var(--faint); font-style: italic; font-size: var(--text-body); }

/* Episode rows with show artwork thumbnails */
.ep {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: transform 180ms var(--ease);
}
.ep:first-child { border-top: 0; padding-top: 0; }
.ep:last-child { padding-bottom: 0; }
.ep:hover { text-decoration: none; transform: translateX(3px); }
.ep.no-thumb { grid-template-columns: 1fr; }
.ep .thumb {
  width: 96px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-tint);
  flex-shrink: 0;
}
.ep .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep .ep-body { min-width: 0; }
.ep .row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}
.ep .title {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--ink);
}
.ep:hover .title { color: var(--pink); }
.ep .meta {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.cast-line {
  margin-top: 4px;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}
.cast-name { color: var(--ink); font-weight: 500; }
.cast-name.bot { color: var(--faint); font-weight: 400; }
.cast-name.out { color: var(--faint); text-decoration: line-through; }
.cast-name.wolf { color: var(--wolf); }
.cast-name.village { color: var(--mint); }
.cast-line .dot { color: var(--line-strong); }

.status {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.status.live { color: var(--pink); }
.status.lobby { color: var(--marigold); }
.status.done { color: var(--mint); }

/* Standings & recruiter tables */
table.board {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
table.board th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 8px 8px 10px;
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
}
table.board td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.board tr:last-child td { border-bottom: 0; }
table.board td.num, table.board th.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
table.board td:first-child {
  font-weight: 700;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
table.board a { font-weight: 700; color: var(--ink); }
table.board a:hover { color: var(--pink); }
.sub { color: var(--muted); font-size: var(--text-sm); }
.scroll-x { overflow-x: auto; }

/* Episode Banner & Viewing Room */
.show-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin: 12px 0 22px;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.show-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.show-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 249, 245, 0.14) 0%, rgba(255, 249, 245, 0.88) 65%, rgba(255, 249, 245, 0.98) 100%);
}
.ep-head {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
}
.ep-head.plain { padding: 24px 0 16px; }
.ep-head h1 {
  font-family: var(--display);
  margin: 0 0 4px;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.clock { text-align: right; font-variant-numeric: tabular-nums; }
.clock .phase { font-size: var(--text-sm); color: var(--muted); font-weight: 600; }
.clock .count {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.note { color: var(--muted); font-size: var(--text-sm); }
.small { color: var(--muted); font-size: var(--text-sm); }

/* Cast grid on episode page */
.cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}
.seat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--surface-soft);
}
.seat .nm {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-body);
}
.seat .nm a { color: var(--ink); }
.seat .nm a:hover { color: var(--pink); }
.seat .sub { line-height: 1.4; }
.seat.out { opacity: 0.6; }
.seat.wolf { border-color: #f3b5bf; background: var(--wolf-soft); }
.seat.village { border-color: #b7e6dc; background: var(--mint-soft); }
.role { font-size: var(--text-sm); font-weight: 700; margin-top: 4px; text-transform: capitalize; }
.role.wolf { color: var(--wolf); }
.role.seer, .role.doctor, .role.villager { color: var(--mint); }
.seat .bond { font-size: var(--text-sm); color: var(--ink); font-style: italic; margin: 6px 0 0; }
.seat .last { font-size: var(--text-sm); color: var(--pink); font-weight: 600; margin-top: 6px; }
.seat .score {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--pink);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* Live play-by-play feed */
.feed { display: flex; flex-direction: column; gap: 8px; }
.feed .divider {
  margin: 18px 0 4px;
  font-family: var(--display);
  font-size: var(--text-body);
  font-weight: 800;
  color: var(--pink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.ev {
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: var(--text-body);
}
.ev.sys { background: transparent; border-color: transparent; color: var(--muted); padding: 4px 6px; font-size: var(--text-sm); }
.ev.big { border-color: var(--line-strong); background: var(--bg-peach); font-weight: 600; }
.ev.secret { border-color: #d7c9f6; background: var(--plum-soft); }
.ev.pack { border-color: #f3bcc6; background: var(--wolf-soft); }
.ev.coachnote { border-color: #f6d79c; background: var(--marigold-soft); }
.ev .tag { font-size: var(--text-sm); font-weight: 700; margin-right: 6px; }
.ev .tag.secret { color: var(--plum); }
.ev .tag.pack { color: var(--wolf); }
.ev .tag.coach { color: var(--marigold); }
.conf {
  margin-top: 8px;
  padding: 8px 12px;
  border-left: 3px solid var(--pink);
  color: var(--ink);
  font-style: italic;
  background: var(--pink-soft);
  border-radius: 0 10px 10px 0;
  font-size: var(--text-sm);
}
.conf::before { content: "Confessional: "; font-style: normal; font-weight: 700; color: var(--pink); }
.toggles { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: var(--text-sm); margin-bottom: 12px; }
.toggles label { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.toggles input { accent-color: var(--pink); }

/* Showdown entries & meter */
.ev.reveal { white-space: normal; }
ul.entries { list-style: none; padding: 0; margin: 10px 0 0; }
ul.entries li { padding: 10px 0; border-top: 1px solid var(--line); }
ul.entries li:first-child { border-top: 0; padding-top: 4px; }
.edge { margin-top: 4px; font-size: var(--text-sm); color: var(--plum); font-weight: 500; }
.meter { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--text-sm); align-items: center; }
.meter .lbl { color: var(--muted); width: 100%; font-weight: 600; }
.meter span:not(.lbl) { padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.meter span.off { border-color: var(--mint); color: var(--mint); background: var(--mint-soft); font-weight: 600; }
.meter span.on { border-color: var(--wolf); color: var(--wolf); background: var(--wolf-soft); }
.offmean { color: var(--mint); font-size: var(--text-sm); font-weight: 700; }

/* Coach & Play forms */
.coach-banner {
  background: linear-gradient(135deg, #fff1f7 0%, #f5eeff 55%, #fff5eb 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px 24px;
  margin: 12px 0 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 720px) {
  .coach-banner { grid-template-columns: 140px 1fr auto; }
}
.coach-avatar {
  width: 140px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(35, 25, 45, 0.12);
}
.coach-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.coach-banner h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
  line-height: 1.08;
}

.console label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0 5px;
}
.console input, .console textarea, .console select {
  width: 100%;
  background: var(--surface-soft);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: 400 var(--text-body)/1.45 var(--body);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.console input:focus, .console textarea:focus, .console select:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--surface);
}
.console textarea { min-height: 76px; resize: vertical; }
.console .actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.console pre, pre.digest-box {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: 400 var(--text-sm)/1.6 var(--body);
  color: var(--ink);
  max-height: 68vh;
  overflow: auto;
}
.status-line { margin-top: 10px; font-size: var(--text-sm); font-weight: 600; }
.status-line.err { color: var(--wolf); }
.status-line.ok { color: var(--mint); }
.hidden { display: none !important; }

/* Highlight & invite cards */
.card-art {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-hero h1 { max-width: 24ch; }
.quote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0;
  padding: 12px 18px;
  border-left: 4px solid var(--pink);
  background: var(--pink-soft);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
}
.who { color: var(--muted); font-size: var(--text-body); }
.bond { font-style: italic; color: var(--ink); margin: 6px 0; }
.bond-check { color: var(--mint); font-weight: 600; margin: 8px 0 0; }
ul.links { margin: 6px 0 12px; padding-left: 20px; }
ul.links li { margin-bottom: 4px; }

/* Progress items for recruit milestones (clean text-forward list) */
.milestones { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: var(--text-sm); }
.milestone { color: var(--faint); font-variant-numeric: tabular-nums; }
.milestone.won { color: var(--mint); font-weight: 700; }

footer {
  color: var(--faint);
  font-size: var(--text-sm);
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 640px) {
  .top-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .brand .wordmark { font-size: 1.2rem; }
  nav.top {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .premiere-hero { margin-top: -92px; padding: 124px 16px 48px; }
  .ep { grid-template-columns: 76px 1fr; gap: 12px; }
  .ep .thumb { width: 76px; }
  .clock { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------- Pickup Live Stage (Game Progress Card) ---------------- */
body.embed-mode { background: transparent; background-image: none; }
body.embed-mode .wrap { padding: 10px 10px 18px; max-width: 720px; }

.stage-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 10px 0 20px;
}
.stage-hud {
  background: linear-gradient(135deg, #1b1528 0%, #2b1d3d 100%);
  color: #fff;
  padding: 16px 20px 14px;
}
.stage-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stage-title-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.stage-pill.heat-hot { background: #e52a7b; }
.stage-pill.heat-warm { background: #d98216; }
.stage-pill.heat-cold { background: #4c6b8a; }
.stage-pill.pickups { background: #18a88c; }
.stage-pill.joker { background: #7c5cbf; }
.stage-h1 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
}
.stage-clock {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.stage-clock .beat { font-weight: 700; font-size: 0.92rem; color: #f6d7ff; }
.stage-clock .timer { font-family: var(--display); font-size: 1.35rem; font-weight: 800; color: #ffd166; }

.stage-progress {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.stage-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a79, #ffd166, #2ec4b6);
  transition: width 400ms var(--ease);
}
.stage-hud-meta {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.stage-slot {
  padding: 18px 20px;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.nucleo-frame {
  width: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 16px;
  background: #14111f;
}

.poker-felt {
  background: radial-gradient(ellipse at center, #1f7a5c 0%, #104635 100%);
  border: 4px solid #d9a54c;
  border-radius: 26px;
  padding: 18px 16px;
  color: #fff;
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.35);
}
.poker-top-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f6e7c1;
  margin-bottom: 14px;
}
.poker-cards-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}
.pcard {
  width: 58px;
  height: 82px;
  border-radius: 10px;
  background: #fffdf7;
  border: 2px solid #e7dec8;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #1c2230;
}
.pcard.red { color: #d62839; }
.pcard.back {
  background: repeating-linear-gradient(45deg, #2b2342, #2b2342 6px, #3b2f5c 6px, #3b2f5c 12px);
  border-color: #d9a54c;
  color: transparent;
}
.tell-meter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}
.tell-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.tell-pip.lit { background: #ff5a79; box-shadow: 0 0 8px #ff5a79; }

.stage-seats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.s-seat {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 10px 12px;
  position: relative;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}
.s-seat.acted { border-color: var(--mint); }
.s-seat.folded, .s-seat.out { opacity: 0.56; }
.s-seat.hot-seat, .s-seat.influencer { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink-soft); }
.s-seat-head { display: flex; align-items: center; gap: 9px; }
.s-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--plum));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.s-seat.bot .s-av { background: linear-gradient(135deg, #2b7a78, #1c4e4f); }
.s-name { font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.s-sub { font-size: 0.76rem; color: var(--muted); }
.s-bubble {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--bg-tint);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink);
}

.board-banner {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-peach);
  border: 1px solid var(--line-strong);
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.board-banner.spill { background: #fff0f4; border-color: #f3a6b8; color: #8c1737; font-weight: 600; }
.board-banner.night { background: #1a1830; border-color: #3a3466; color: #e8e4ff; }
.vault-grid, .ticker-grid, .curtain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.vault-room, .ticker-card, .curtain-card {
  border-radius: 14px;
  padding: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
}
.curtain-card.closed {
  background: repeating-linear-gradient(90deg, #7e1946, #7e1946 10px, #962256 10px, #962256 20px);
  color: #fff;
  border-color: #d9a54c;
}
.curtain-card.picked { border-color: var(--mint); background: var(--mint-soft); }
.bar-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--mint); transition: width 350ms var(--ease); }
.bar-fill.warn { background: var(--marigold); }
.bar-fill.danger { background: var(--wolf); }

.stage-spotlight {
  padding: 14px 20px;
  background: #fff7fb;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.spot-tag {
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 2px;
}
.spot-body { font-size: 0.95rem; line-height: 1.4; }
.spot-body b { color: var(--ink); }

.stage-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stage-tab {
  appearance: none;
  border: 0;
  background: transparent;
  font: 700 0.88rem/1 var(--body);
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.stage-tab.active { color: var(--pink); border-bottom-color: var(--pink); }
.stage-tab-panel { padding: 16px 20px 20px; }

.d-stream { display: flex; flex-direction: column; gap: 8px; }
.d-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface-soft);
}
.d-user { font-weight: 700; color: var(--plum); margin-right: 6px; }
.d-reacts { margin-left: 8px; font-size: 0.85rem; }

.recap-grid { display: grid; gap: 10px; }
.recap-card {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--surface-soft);
}
.recap-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; margin-bottom: 4px; }
.recap-quote { font-size: 0.85rem; color: var(--muted); margin-top: 4px; padding-left: 10px; border-left: 2px solid var(--line-strong); }

