/* Movie Pitch site, in the Bad taste direction (public/design/directions.html, dir-bad-taste.css): a table
   for people with opinions. Off-black and warm off-white cards in one heavy grotesk, a deadpan voice, the
   posters as the colour, and one accent of our own (--hot), kept for the wordmark's full stop, what is live
   and the calls. Alex, Nov 4: less obviously Cards Against Humanity, so no pure black-on-white cards, no
   tilted hands of cards, no fill-in-the-blank prompt, no logo in a card's corner. Nothing here belongs to a deck. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #141312;
  --raise: #1e1c1a;
  --edge: #3a3632;
  --paper: #f4efe6;
  --dim: #918b83;
  --soft: #d4cec5;
  --grey: #5e5852;
  --rule: rgba(244, 239, 230, 0.16);
  --hot: #ff5a36;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: 18px;
  --measure: 520px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The page ---------- */

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 0 0;
}
/* The wordmark: lowercase, stacked tight and staggered, ending on a full stop in the accent. */
.mark { display: inline-grid; padding: 2px 0 4px; font-weight: 900; font-size: 23px; line-height: 0.84; letter-spacing: -0.06em; text-decoration: none; }
.mark-b { padding-left: 0.5em; }
.mark-b::after { content: ""; display: inline-block; width: 0.26em; height: 0.26em; margin-left: 0.07em; border-radius: 50%; background: var(--hot); }
/* The right of the top bar: the viewer's name tag chip, then "Start a table". */
.top-acts { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tag-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px 4px 5px;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: var(--raise);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tag-face { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--edge); }
/* Before bucks are part of a player's game the chip is their face alone, a round way to their record. */
.tag-chip.tag-face-only { padding: 4px; min-width: 40px; justify-content: center; }
.tag-chip.tag-face-only .tag-face { width: 30px; height: 30px; }
.tag-chip.bump { animation: bump 420ms ease-out; }
@keyframes bump { 30% { transform: scale(1.12); border-color: var(--hot); } }
/* What landed in hand on this visit, under the chip for a few seconds. */
.granted {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  padding: 5px 11px 4px;
  border-radius: 999px;
  background: var(--hot);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.45);
  pointer-events: none;
  transition: opacity 400ms, visibility 400ms;
}
.granted.gone { opacity: 0; visibility: hidden; }
.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* ---------- Type ---------- */

.kicker { font-size: 16px; font-weight: 700; color: var(--soft); }
.h1 { font-weight: 900; font-size: 34px; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h1-sm { font-size: 28px; }
.h2 { font-weight: 900; font-size: 25px; line-height: 1.05; letter-spacing: -0.03em; }
.lede { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--soft); }
.fine { font-size: 15px; line-height: 1.35; color: var(--dim); }
.fine b { color: var(--paper); font-weight: 800; }
.card-light .fine { color: var(--grey); }
.card-light .fine b { color: var(--ink); }
.label { display: block; font-size: 15px; font-weight: 800; color: var(--dim); }
.error { min-height: 0; font-size: 15px; font-weight: 800; color: var(--paper); }
.error:empty { display: none; }
.card-light .error, .sheet .error { color: var(--ink); }

/* ---------- Cards and buttons ---------- */

.card { position: relative; display: block; border-radius: 16px; padding: 18px 18px 16px; text-align: left; }
.card-dark { background: var(--raise); color: var(--paper); border: 2px solid var(--edge); }
.card-light { background: var(--paper); color: var(--ink); border: 2px solid var(--paper); }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 16px 20px 15px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.6; }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { background: none; color: var(--paper); }
.btn-small { display: inline-flex; width: auto; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 16px; font-weight: 900; white-space: nowrap; flex: none; }

/* ---------- Posters and trailers ---------- */

.poster { position: relative; display: block; overflow: hidden; background: var(--raise); }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.poster-thumb { width: 52px; aspect-ratio: 4 / 5; border-radius: 8px; }
.poster-card { width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; }
.poster-hero { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; }

/* Test fixtures only (.invalid addresses): one prop and the title on a black card. */
.poster-drawn { display: grid; place-items: center; align-content: center; gap: 8px; padding: 10px; background: var(--ink); box-shadow: inset 0 0 0 2px var(--paper); }
.poster-drawn .poster-prop { width: 56%; height: auto; filter: grayscale(1) contrast(1.2); }
.poster-thumb.poster-drawn .poster-prop { width: 80%; }
.poster-title { font-weight: 900; font-size: 18px; line-height: 1.05; text-align: center; letter-spacing: -0.02em; }

.watch { position: relative; display: block; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.watch .play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.35);
}
.watch .play i { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--ink); }
.watch-hero .play { left: 12px; bottom: 12px; padding: 13px 20px 13px 16px; font-size: 19px; }
.watch-hero .play i { border-width: 9px 0 9px 15px; }
.watch-card .play { left: 8px; bottom: 8px; padding: 7px 12px 7px 10px; font-size: 15px; }
.watch-thumb .play { left: 50%; top: 50%; bottom: auto; padding: 0; width: 28px; height: 28px; justify-content: center; transform: translate(-50%, -50%); }
.watch-thumb .play i { margin-left: 3px; border-width: 5px 0 5px 9px; }
.watch:active .play { transform: scale(0.96); }
.watch-thumb:active .play { transform: translate(-50%, -50%) scale(0.92); }

/* The player: one per page, over everything, black around the picture. */
.player { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--ink); }
.player-video { min-height: 0; width: 100%; height: 100%; max-height: 100%; object-fit: contain; background: var(--ink); }
.player-close, .player-sound {
  position: absolute;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 4px 18px rgba(20, 19, 18, 0.5);
}
.player-close { top: calc(12px + env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.player-sound { top: calc(12px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); }
html.is-playing, html.is-playing body { overflow: hidden; }

/* ---------- Chet, beside his deck's movies only ---------- */

.boss { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.boss-face { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--edge); filter: grayscale(1) contrast(1.1); }
.boss-label { font-weight: 900; }
.card-light .boss-face { background: #e4ddd2; }

/* ---------- Faces and credits ---------- */

.face { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--edge); filter: grayscale(1) contrast(1.05); }
.credits li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.credits li:first-child { border-top: 0; }
.credit-face { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--edge); }
.credit-name { font-weight: 800; font-size: 18px; }
.credit-you { color: var(--dim); font-weight: 600; }
.credit-state { font-size: 15px; color: var(--dim); }
.credits .claimed .credit-state { color: var(--paper); font-weight: 800; }
.credits .yours .credit-face { box-shadow: inset 0 0 0 2px var(--paper); }

/* ---------- Forms ---------- */

.field {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 12px;
  font-weight: 800;
  font-size: 20px;
}
.card-light .field, .sheet .field { border-color: var(--ink); }
.field:focus { outline: 3px solid var(--paper); outline-offset: 2px; }
.card-light .field:focus, .sheet .field:focus { outline-color: var(--ink); }

/* The faces: five in a row, the rest behind "More faces". Grey until picked. */
.faces { margin-top: 14px; }
.faces-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.face-pick { position: relative; display: block; aspect-ratio: 1; cursor: pointer; }
.face-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.face-pick img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--edge); filter: grayscale(1) contrast(1.05); opacity: 0.75; transition: filter 160ms, opacity 160ms, transform 160ms; }
.face-pick input:checked + img { filter: none; opacity: 1; transform: scale(1.04); box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--paper); }
.card-light .face-pick input:checked + img, .sheet .face-pick input:checked + img { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.face-pick input:focus-visible + img { outline: 3px solid var(--hot); outline-offset: 4px; }
.faces-more summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.faces-more summary::-webkit-details-marker { display: none; }
.faces-more[open] summary { display: none; }

/* ---------- The box office ---------- */

.lead { margin-top: 16px; }
.lead .h1 { margin-top: 14px; color: var(--ink); }
.lead-numbers { margin-top: 8px; font-size: 18px; font-weight: 700; }
.lead-numbers b { font-weight: 900; }
.lead .boss { margin-top: 12px; }
.lead-by { margin-top: 6px; font-size: 15px; color: var(--grey); }

.week-line { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.week-line a { text-decoration: none; font-weight: 900; }

.chart { margin-top: 16px; }
.chart li { display: grid; grid-template-columns: 22px 80px minmax(0, 1fr); gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule); }
.chart li:first-child { border-top: 0; }
.rank { font-weight: 900; font-size: 24px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; text-align: right; }
.chart .rank { font-size: 19px; font-weight: 700; color: var(--dim); }
.chart .poster-thumb { width: 80px; aspect-ratio: 2 / 3; }
.chart .poster img { object-fit: contain; object-position: center; }
.row-info { min-width: 0; }
.row-title { display: block; font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.row-num { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--soft); }
.row-num b { font-weight: 700; }
.row-change { color: var(--dim); }
.row-by { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; color: var(--soft); }
.row-pick { display: block; margin-top: 5px; color: var(--hot); font-size: 13px; font-weight: 700; }
.row-pick::before { content: '\2713'; margin-right: 4px; }
.chart .tier { font-weight: 500; }
.chart-head { flex-wrap: wrap; gap: 8px; }
.chart-intro { margin-top: 8px; color: var(--soft); font-size: 14px; font-weight: 500; }
.week-recap { margin-top: 8px; }
.week-recap > summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--soft); font-size: 14px; font-weight: 600; }
.box-office .week-line { margin-top: 8px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--soft); }
.box-office .week-line a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tier { font-weight: 900; }
.buzz { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; vertical-align: 1px; }
.buzz i { width: 5px; height: 12px; border-radius: 2px; background: #d9d1c4; }
.buzz i.on { background: var(--ink); }
.chart-note { margin-top: 10px; }

.opened { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.opened li { min-width: 0; }
.opened .when { display: block; margin-top: 6px; font-size: 15px; color: var(--soft); line-height: 1.2; }
.opened .title { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; line-height: 1.15; text-decoration: none; }

.code-form { margin-top: 28px; }
.code-row { display: flex; gap: 10px; margin-top: 10px; }
.code-row .field { margin: 0; flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 900; font-size: 24px; text-align: center; }
.code-row .btn { width: auto; flex: none; min-height: 0; padding: 0 20px; font-size: 19px; }
.make { margin-top: 28px; }

/* ---------- A movie ---------- */

.movie-hero { margin-top: 14px; }
.movie-head { margin-top: 16px; }
.movie-head .lede { margin-top: 10px; }
.play-guide { max-width: 640px; }
.play-guide p { margin-top: 12px; line-height: 1.5; }
.play-guide .btn { margin-top: 20px; }
.play-guide a:not(.btn) { text-underline-offset: 3px; }
.movie-by { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 16px; color: var(--soft); }
.movie-by .faces-inline { display: flex; }
.movie-by .face + .face { margin-left: -10px; }
/* A movie's page before bucks are part of the viewer's game (src/pages/movie.tsx SimpleMoviePage): who made it, its
   views, one thing to do. */
.movie-simple .movie-by { display: block; margin-top: 6px; }
.unlisted-tag { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; border: 2px dashed var(--soft); font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--paper); }
.movie-simple .poster-hero { aspect-ratio: 1 / 1; max-height: 44svh; }
.movie-simple .movie-views .tier { font-weight: 800; }
.make-own { margin-top: 20px; }
.make-own-why { margin-top: 8px; text-align: center; }
.link-quiet { display: block; width: 100%; min-height: 44px; margin-top: 10px; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.movie-head .boss { margin-top: 14px; }
/* Part two of, and its sequels: under the title, linked both ways. */
.movie-chain { margin-top: 8px; font-size: 16px; color: var(--soft); }
.movie-chain + .movie-chain { margin-top: 4px; }
.movie-chain a { color: var(--paper); font-weight: 800; text-underline-offset: 3px; }
.sequel-card { margin-top: 28px; }
.sequel-card .fine { margin-top: 6px; }
.sequel-card .btn { margin-top: 14px; }

.stats { margin-top: 12px; }
.stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.stats div:first-child { border-top: 0; padding-top: 2px; }
.stats dt { font-size: 16px; color: var(--soft); }
.stats dd { font-weight: 900; font-size: 24px; letter-spacing: -0.02em; text-align: right; }
.stats dd .tier { font-size: 18px; }

.sources { display: flex; gap: 3px; height: 12px; margin-top: 10px; border-radius: 6px; overflow: hidden; }
.sources span { min-width: 6px; }
.src-tiktok { background: var(--paper); }
.src-youtube { background: #b3ada4; }
.src-instagram { background: #7b756e; }
.src-site { background: #4d4843; }
.src-demo { background: repeating-linear-gradient(45deg, #9a948c 0 3px, var(--edge) 3px 6px); }
.sources-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 15px; color: var(--soft); }
.sources-key li { display: flex; align-items: center; gap: 6px; }
.sources-key i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
/* A movie's source panel: one source a row, its state and last reading under its name. */
.sources-list { flex-direction: column; }
.sources-list li { align-items: flex-start; }
.sources-list i { margin-top: 5px; }

.lines { margin-top: 12px; }
.lines li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); }
.lines li:first-child { border-top: 0; padding-top: 2px; }
.lines .dot { width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--paper); }
.lines .crossed .dot { background: var(--hot); box-shadow: none; }
.line-name { font-weight: 900; font-size: 19px; letter-spacing: -0.02em; }
.line-state { grid-column: 2; font-size: 16px; color: var(--soft); }

.code-card { margin-top: 28px; }
.code-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.tiles { display: flex; gap: 5px; }
.tiles span { display: grid; place-items: center; width: 42px; height: 52px; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 900; font-size: 28px; }
.card-light .tiles span { background: var(--ink); color: var(--paper); }

/* ---------- Claim and Premiere: a small poster beside the title ---------- */

.compact { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.compact .watch, .compact > .poster { width: 104px; }
.compact .h1 { margin-top: 4px; font-size: 28px; overflow-wrap: anywhere; }
.compact .boss { margin-top: 10px; font-size: 15px; }
.compact .boss-face { width: 32px; height: 32px; }
.compact-by { margin-top: 6px; font-size: 15px; color: var(--soft); }
.poster-hero.poster-small, .compact .poster-card { border-radius: 10px; }

.sign { margin-top: 20px; }
.sign .label + .field { margin-top: 6px; }
.sign .btn { margin-top: 18px; }
.sign .fine { margin-top: 10px; }
.you-were { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.you-were b { font-weight: 900; }
.name-tag { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.name-tag .face { width: 48px; height: 48px; filter: none; }

.open-card { margin-top: 20px; }
.open-card p + p { margin-top: 6px; }
.open-card .btn { margin-top: 16px; }
.open-card .error { margin-top: 10px; }

.caption-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-name { font-weight: 900; font-size: 19px; }
.caption-text { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--soft); }
.link-line { display: block; margin-top: 10px; font-size: 15px; overflow-wrap: anywhere; color: var(--soft); }
.card-light .link-line { color: var(--grey); }

/* ---------- Short pages: a code, a dead link, nothing here ---------- */

.notice { margin-top: 28px; }
.notice .h1 { margin-top: 10px; }
/* A friend's invite: whoever saved the seat, anyone else there, and the empty chair. */
.door-faces { display: flex; align-items: center; gap: 10px; }
.door-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--edge); background: var(--raise); }
.door-host { width: 64px; height: 64px; border: 3px solid var(--hot); }
.door-you { display: flex; align-items: center; justify-content: center; box-sizing: border-box; border: 2px dashed var(--dim); background: none; font-size: 13px; font-weight: 800; color: var(--soft); }
.door .lede { margin-top: 10px; }
.notice .lede { margin-top: 12px; }
.notice .btn { margin-top: 24px; }
.recovery-choice { display: grid; gap: 8px; margin-top: 20px; }
.recovery-choice select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--raise);
  color: var(--paper);
  font: 600 16px/1.4 var(--font);
}
/* The join page (pages/join.tsx): each name tag the channel could go to, its face, name and what happens, and its
   button; then not now. */
.join-do { margin-top: 20px; }
.join-do .btn { margin-top: 0; }
.join-pick { display: grid; grid-template-columns: 56px 1fr; gap: 12px 14px; align-items: center; padding: 16px; margin-bottom: 12px; border: 2px solid var(--edge); border-radius: 18px; background: var(--raise); }
.join-pick .btn { grid-column: 1 / -1; }
.join-face { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--hot); background: var(--raise); }
.join-name { font-size: 19px; font-weight: 800; line-height: 1.15; }
.join-says .fine { margin-top: 4px; }
.prompt { font-weight: 800; font-size: 25px; line-height: 1.1; letter-spacing: -0.025em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- The board: the week, the call, the streak, the feed ---------- */

.btn-hot { background: var(--hot); border-color: var(--hot); color: var(--ink); }
.btn-quiet { min-height: 48px; margin-top: 4px; background: none; border-color: transparent; color: var(--grey); font-size: 17px; font-weight: 800; }

.week { margin-top: 14px; padding: 14px 16px; }
.week .kicker { font-size: 15px; }
.live { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--hot); vertical-align: 1px; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.3; } }
.clock { margin-top: 4px; font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: -0.045em; color: var(--hot); font-variant-numeric: tabular-nums; }
.stake { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.25; text-wrap: pretty; }
.stake a { font-weight: 900; text-decoration: none; }
.stake b { font-weight: 900; }

.call { margin-top: 20px; scroll-margin-top: 12px; }
.call-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.call-head .h2 { font-size: 22px; outline: none; }
.chip { flex: none; padding: 4px 10px 3px; border: 2px solid var(--hot); border-radius: 999px; font-size: 15px; font-weight: 800; color: var(--hot); white-space: nowrap; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pick { display: flex; flex-direction: column; min-width: 0; padding: 7px 7px 8px; border-radius: 14px; }
.pick-art { position: relative; }
.pick-copy { flex: 1; padding: 8px 3px 10px; }
.pick-title { display: block; font-weight: 900; font-size: 17px; line-height: 1.1; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.pick .boss { display: block; margin-top: 5px; font-size: 15px; line-height: 1.25; color: var(--grey); }
.pick-btn { min-height: 50px; padding: 10px 8px; border-radius: 10px; font-size: 18px; }
.pct { position: absolute; top: 6px; right: 6px; padding: 5px 9px 4px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.picked .pct { background: var(--hot); color: var(--ink); }
.called .pick-btn:disabled { opacity: 1; }
.called .pick:not(.picked) .pick-btn { background: none; border-color: #d9d1c4; color: var(--grey); }
.called .pick:not(.picked) .pick-art { opacity: 0.6; }
.call-rule { margin-top: 12px; }
.call-note { margin-top: 6px; }
.called .call-note { font-size: 18px; font-weight: 800; color: var(--paper); }
.call .error { margin-top: 8px; }
.next { margin-top: 12px; scroll-margin-bottom: 16px; }
.call-done { margin-top: 12px; }

/* A guest's name tag, over the page, near the top so the keyboard never covers it. */
.sheet-wrap { position: fixed; inset: 0; z-index: 55; overflow-y: auto; padding: calc(12px + env(safe-area-inset-top)) 12px 24px; background: rgba(20, 19, 18, 0.86); }
html.sheet-open, html.sheet-open body { overflow: hidden; }
.sheet { max-width: 480px; margin: 3vh auto 0; padding: 20px 18px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); }
.sheet .fine, .sheet .label, .sheet .faces-more summary { color: var(--grey); }
.sheet .fine + .fine { margin-top: 6px; }

.streak-card { margin-top: 12px; }
.streak-num { font-size: 17px; font-weight: 700; color: var(--soft); }
.streak-num b { margin-right: 2px; font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--paper); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.days li { display: grid; place-items: center; height: 38px; border-radius: 9px; background: rgba(244, 239, 230, 0.08); font-weight: 800; font-size: 15px; color: var(--dim); }
.days .done { background: var(--paper); color: var(--ink); }
.days .today { background: none; box-shadow: inset 0 0 0 2px var(--hot); color: var(--hot); }
.days .future { background: none; box-shadow: inset 0 0 0 1px var(--edge); }
.streak-card .fine { margin-top: 12px; }

.feed { display: grid; gap: 8px; margin-top: 12px; }
.hint { display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; border-radius: 18px; background: var(--raise); }
.hint-text { flex: 1; min-width: 0; }
.hint-when { display: block; font-size: 15px; font-weight: 600; color: var(--dim); }
.hint p { margin-top: 1px; font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.hint .watch, .hint > .poster { flex: none; }
.hint .poster-thumb { width: 46px; }

/* ---------- Playing together: the site's main action ---------- */

.ghost-play { background: var(--hot); border-color: var(--hot); color: var(--ink); font-weight: 900; }
.play-card { margin-top: 28px; }
.play-card .fine { margin-top: 6px; }
.play-card .btn { margin-top: 14px; }
.play-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding: 12px 12px 12px 16px; }
.play-strip-line { flex: 1; font-weight: 900; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em; }
.play-strip-friends, .play-strip-solo { flex-basis: 100%; padding-right: 4px; }
.play-strip .btn { min-height: 48px; }
/* A cut's "1.5 times" (CutLine in src/look.tsx): bold, and never split from its number. */
.cut-times { white-space: nowrap; }
.decks-friends b { color: var(--paper); font-weight: 800; }
.play-fine { margin-top: 12px; }
.notice .btn-hot { margin-top: 24px; }

.foot { max-width: var(--measure); margin: 0 auto; padding: 8px max(var(--gutter), env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--dim); }
.foot-name { font-weight: 900; color: var(--soft); letter-spacing: -0.03em; }
.foot-links { white-space: nowrap; }
.foot-links a { color: var(--dim); text-underline-offset: 3px; }

/* Phones 621 to 700 tall with Safari's bars (390x664): square posters keep both "This one" buttons on the
   first screen. Before the 620 block so its 4:3 wins on shorter phones. */
@media (max-height: 700px) {
  .pick .poster-card { aspect-ratio: 1; }
}

/* Short phones (an iPhone SE with Safari's bars is 553 tall): the week, the question and both "This one"
   buttons still fit on the first screen. */
@media (max-height: 620px) {
  .top { padding-top: calc(10px + env(safe-area-inset-top)); }
  .mark { font-size: 21px; }
  .week { margin-top: 10px; padding: 10px 14px; }
  .clock { font-size: 34px; }
  .stake { margin-top: 4px; font-size: 16px; }
  .call { margin-top: 14px; }
  .call-head .h2 { font-size: 22px; }
  .pair { margin-top: 8px; }
  .pick .poster-card { aspect-ratio: 4 / 3; }
  .pick-copy { padding: 6px 3px 8px; }
  .pick .boss { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pick-btn { min-height: 46px; }
  .compact { grid-template-columns: 84px 1fr; gap: 14px; margin-top: 10px; }
  .compact .watch, .compact > .poster { width: 84px; }
  .compact .h1 { font-size: 24px; }
  .sign { margin-top: 14px; }
  .you-were { margin-bottom: 8px; }
  .faces { margin-top: 10px; }
  .sign .btn { margin-top: 12px; }
}

/* ---------- Backing: the amounts, one button, what you have behind it ---------- */

.movie-hero { position: relative; }
.hero-back {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--hot);
  color: var(--ink);
  font-weight: 900;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.35);
}
.hero-back:active { transform: scale(0.96); }

.back { margin-top: 22px; scroll-margin-top: 12px; outline: none; }
.back-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.chip-hot { border-color: var(--hot); background: var(--hot); color: var(--ink); }
.back-say { margin-top: 6px; }
.amounts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.amount {
  min-height: 48px;
  padding: 8px 4px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.amount[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.amount:disabled { opacity: 0.3; }
/* "Back it with 200,000 bucks" and "Open it with 50,000 bucks" stay on one line at 375 wide. */
.back-go { margin-top: 12px; }
.back-go, .open-card [data-publish] { padding-left: 10px; padding-right: 10px; font-size: 19px; white-space: nowrap; }
.back-mine { margin-top: 10px; }
.back.backed .back-mine { color: var(--ink); font-weight: 800; }
.call .back { margin-top: 12px; }
.back-compact { padding: 14px 14px 12px; }
.back-compact .prompt { font-size: 21px; }
.back-compact .amounts { margin-top: 10px; }
.back-compact .back-go { min-height: 52px; margin-top: 10px; padding-top: 12px; padding-bottom: 11px; }
.back-compact .back-mine { margin-top: 8px; }
.back-go.landed { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.own { margin-top: 14px; }
.card-light .own-q { color: var(--grey); }
.own .amounts { margin-top: 8px; }
.own-mine { margin-top: 10px; }
.open-card .own-only { margin-top: 4px; }

/* ---------- Drops: on a movie's lines, and since you left ---------- */

.to-you { display: inline-block; margin-left: 8px; padding: 2px 9px 1px; border-radius: 999px; background: var(--hot); color: var(--ink); font-size: 15px; font-weight: 900; letter-spacing: -0.01em; vertical-align: 2px; }
.since-amount { color: var(--hot); }

/* ---------- The presenter's switch for the demo audience ---------- */

.presenter-key { margin-top: 22px; }
.presenter-key .btn { margin-top: 14px; }
.presenter-key .error { margin-top: 10px; }
.presenter { margin-top: 22px; }
.presenter .fine { margin-top: 8px; }
.presenter-acts { display: grid; gap: 10px; margin-top: 16px; }
.presenter-acts .btn-quiet { color: var(--dim); }
.presenter .error { margin-top: 10px; }
.presenter-remove .label { margin-top: 16px; }
.presenter-remove .btn { margin-top: 12px; }
.presenter-remove [data-removed]:empty { display: none; }

/* ---------- A table (src/pages/table.tsx): the game, framed in the site's own bar ---------- */

body.bare { overflow: hidden; }
.table { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.table-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: calc(6px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 6px max(8px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.table-leave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: none;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  transition: background 160ms, color 160ms;
}
.table-exit { width: min(360px, calc(100vw - 32px)); margin: auto; padding: 24px; border: 1px solid var(--edge); border-radius: 24px; background: var(--ink); color: var(--paper); }
.table-exit::backdrop { background: rgba(0, 0, 0, .75); }
.table-exit .btn { display: flex; margin-top: 16px; width: 100%; }
.table-bar .mark { flex: none; font-size: 19px; }
.table-name { flex: 1; min-width: 0; overflow: hidden; font-size: 15px; font-weight: 800; color: var(--dim); text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.table-recovery { display: block; min-height: 24px; padding-top: 3px; font-size: 12px; font-weight: 600; line-height: 21px; }
.table-recovery[hidden] { display: none; }
.table-code { color: var(--paper); font-weight: 900; letter-spacing: 0.05em; }
.kicker .table-code { color: inherit; }
.table-invite { min-height: 44px; padding: 6px 12px; flex: none; }
/* A new friend can take a seat only before the round locks. Wait for the game to confirm its lobby. */
html:not([data-stage="lobby"]) .table-invite { display: none; }
/* While nobody else has sat down and no round has started, Invite is the bar's one obvious button (public/table.js). */
.table-invite[data-lead] { min-height: 48px; padding: 8px 14px; font-size: 16px; box-shadow: 0 0 0 4px rgba(255, 90, 54, 0.22); }
@media (prefers-reduced-motion: no-preference) {
  .table-invite[data-lead] { animation: invite-lead 900ms ease-out 400ms 1; }
}
@keyframes invite-lead { 40% { transform: scale(1.08); } }
/* Keep inviting available while playing and at the reveal; the game handles when a friend can sit. */

/* A sequel's table: the movie it is part two of, under the bar while the table is in the lobby. */
.table-sequel {
  flex: none;
  padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  font-weight: 700;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-sequel b { color: var(--paper); font-weight: 900; }
html[data-stage]:not([data-stage="lobby"]) .table-sequel { display: none; }
.table-toast {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top));
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
  transform: translateX(-50%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
/* A pop.in table's wait (public/popin.js): its own place, under the bar's toasts. */
.table-toast.table-wait { top: 40%; text-align: center; }
.table-game { display: block; flex: 1; width: 100%; min-height: 0; border: 0; background: var(--ink); }

/* ---------- A newcomer's home: one thing to do (src/pages/newcomer.tsx) ---------- */

.newcomer .nc-code { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.nc-hero { position: relative; margin-top: 12px; }
.nc-hero .poster-hero { aspect-ratio: 1 / 1; max-height: 40svh; border-radius: 18px; }
.nc-hero .watch-hero .play { top: 12px; bottom: auto; }
.nc-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 12px 14px; border-radius: 0 0 18px 18px; background: rgba(20, 19, 18, 0.86); font-size: 15px; line-height: 1.3; color: var(--soft); pointer-events: none; }
.nc-cap b { font-size: 17px; color: var(--paper); }
.nc-h { margin-top: 20px; font-weight: 900; font-size: 34px; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.nc-sub { margin-top: 8px; font-size: 17px; line-height: 1.35; color: var(--soft); }
.nc-go { margin-top: 18px; }
.nc-more { margin-top: 28px; }
.nc-label { font-size: 16px; font-weight: 800; color: var(--soft); }
.nc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.nc-row .watch-card .play { left: 6px; bottom: 6px; padding: 5px 9px 5px 8px; font-size: 13px; }
.nc-title { display: block; margin-top: 6px; font-size: 14px; font-weight: 800; line-height: 1.2; color: var(--paper); text-decoration: none; }

/* ---------- Coming back, before bucks show: your movie, one line, one call (src/pages/coming-back.tsx) ---------- */

.lead-card { margin-top: 14px; padding: 16px; }
.lead-top { display: flex; gap: 14px; align-items: center; }
.lead-top .poster-thumb { width: 84px; flex: none; border-radius: 12px; }
.lead-words { min-width: 0; }
.lead-title { display: block; margin-top: 2px; font-weight: 900; font-size: 19px; line-height: 1.15; color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.lead-views { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--soft); }
.lead-views b { font-size: 38px; font-weight: 900; letter-spacing: -0.04em; color: var(--paper); font-variant-numeric: tabular-nums; }
.lead-wait { margin-top: 6px; font-size: 16px; color: var(--soft); }
.lead-bar { position: relative; height: 10px; margin-top: 16px; border-radius: 999px; background: var(--edge); overflow: hidden; }
.lead-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--hot); }
.lead-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--soft); }
.lead-next { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.lead-go { margin-top: 14px; min-height: 52px; font-size: 18px; }
.back-code { display: flex; justify-content: center; margin: 24px 0 8px; }

/* What other pages still borrow from the old intro: the tiles in the share card, and the table's join card. */
.t-btn { flex-direction: column; gap: 3px; }
.t-btn small { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; opacity: 0.8; }
.join-fine { margin-top: 8px; }
.join-form .code-row .field { letter-spacing: 0.18em; }
.join-card { margin-top: 20px; }

/* ---------- Coming back: since you left, the streaks, the record, a milestone's pop (src/pages/record.tsx) ----------
   From the storyboard (public/design/journey.html, screens 28 and 31 to 33). */

a.tag-chip { color: inherit; text-decoration: none; }
.t-kicker { margin-top: 18px; }
.t-h1 { margin-top: 6px; }
.t-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.22); vertical-align: 1px; }
.t-name { font-weight: 900; font-size: 18px; line-height: 1.12; letter-spacing: -0.02em; }
.t-meta { margin-top: 3px; font-size: 15px; line-height: 1.3; color: var(--soft); }
.card-light .t-meta { color: var(--grey); }
.c-stack { display: inline-flex; }
.c-stack .face { filter: none; box-shadow: 0 0 0 2px var(--ink); }
.c-stack .face + .face { margin-left: -8px; }

.streaks { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 12px; text-decoration: none; color: var(--paper); }
.streaks > span, .streaks > a { display: grid; padding: 7px 10px; border-radius: 12px; border: 2px solid var(--hot); font-size: 15px; font-weight: 700; line-height: 1.15; color: var(--soft); }
.streaks b { font-weight: 900; font-size: 18px; color: var(--paper); font-variant-numeric: tabular-nums; }
.streaks .streak-none { border-style: dashed; border-color: var(--edge); }

/* Since you left: the returning home page's lead. */
.away { margin-bottom: 18px; }
.since { display: grid; gap: 10px; margin-top: 14px; }
.since li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.3; color: var(--soft); }
.since li b { color: var(--paper); font-weight: 900; }
.since li a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.since .poster { width: 44px; border-radius: 7px; }
.since-hot .poster { box-shadow: 0 0 0 2px var(--hot); }
.since-pts { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 900; letter-spacing: -0.03em; }
.ms-tag { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; background: var(--hot); color: var(--ink); font-style: normal; font-weight: 900; }
.since-next { margin-top: 14px; padding: 14px 16px; }
.since-next .btn { margin-top: 12px; }

/* A friend's table that is on, at the top of the home page (src/pages/home.tsx, FriendsTables; the storyboard's screen 8). */
.friends { margin-top: 18px; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.t-live { font-size: 15px; font-weight: 800; color: var(--soft); white-space: nowrap; }
.t-tables { display: grid; gap: 10px; margin-top: 10px; }
.t-table { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; }
.t-host { width: 48px; height: 48px; }
.t-host-face { width: 48px; height: 48px; filter: none; box-shadow: 0 0 0 2px var(--paper); }
.t-seats { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.t-seats .c-stack .face { width: 28px; height: 28px; box-shadow: 0 0 0 2px var(--raise); }
.t-with { min-width: 0; font-size: 15px; line-height: 1.25; color: var(--soft); }

/* The record. */
.rec-who { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rec-face { width: 60px; height: 60px; filter: none; box-shadow: 0 0 0 3px var(--paper); }
.rec-notice { margin-top: 8px; }
.rec-card { margin-top: 12px; padding: 12px 14px; }
.rec-first { margin-top: 12px; padding: 14px 16px; }
.rec-first .fine { margin-top: 6px; }
.rec-first .btn { margin-top: 12px; }
a.streak-none { text-decoration: none; color: inherit; }
.rec-label { font-size: 15px; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase; color: var(--dim); }
.rec-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.rec-n { font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.rec-strip { display: flex; gap: 5px; }
.rec-strip a { display: block; }
.rec-strip .poster, .rec-strip i { width: 44px; aspect-ratio: 4 / 5; border-radius: 7px; }
.rec-strip i, .rec-faces i { display: grid; place-items: center; background: var(--ink); border: 2px solid var(--edge); font-style: normal; font-weight: 900; font-size: 15px; color: var(--soft); }
.rec-faces .face { width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--raise); }
.rec-faces i { width: 40px; height: 40px; margin-left: -8px; border-radius: 50%; }
.rec-card .fine { margin-top: 6px; }
.rec-chem { margin-top: 6px; font-size: 15px; line-height: 1.3; color: var(--soft); }
.rec-chem b { color: var(--paper); font-weight: 900; }
.rec-sec { margin-top: 20px; }
.rec-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.rec-lines div { display: grid; min-width: 0; padding: 7px 8px; border-radius: 12px; background: var(--raise); border: 2px solid var(--edge); }
.rec-lines b { font-weight: 900; font-size: 21px; line-height: 1.05; letter-spacing: -0.03em; }
.rec-lines span { font-size: 15px; font-weight: 700; color: var(--dim); line-height: 1.15; }
.rec-lines .rec-on { border-color: var(--hot); }
.rec-lines .rec-on b { color: var(--hot); }
.rec-best { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--raise); border: 2px solid var(--edge); color: var(--soft); text-decoration: none; font-size: 15px; line-height: 1.3; }
.rec-best .poster { flex: none; width: 42px; border-radius: 6px; }
.rec-best small { display: block; font-size: 15px; font-weight: 800; color: var(--hot); }
.rec-best b { display: block; font-weight: 900; font-size: 16px; color: var(--paper); }
.rec-pts { margin-top: 4px; }
.rec-pts li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: 16px; color: var(--soft); }
.rec-pts li:first-child { border-top: 0; }
.rec-pts b { font-weight: 900; color: var(--paper); white-space: nowrap; }
.rec-pts a { min-width: 0; color: inherit; text-underline-offset: 3px; }
.rec-none { margin-top: 6px; }
/* The record's lists (#148): waiting calls and backings, one row each, and the bucks in and out adding up to the balance. */
.rec-items { display: grid; gap: 6px; margin-top: 8px; }
.rec-items .rec-best { margin-top: 0; }
.rec-item small { color: var(--dim); }
.rec-stand { display: block; margin-top: 2px; font-style: normal; }
.rec-paid { font-style: normal; font-weight: 800; color: var(--hot); }
.rec-more summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.rec-more summary::-webkit-details-marker { display: none; }
.rec-more[open] summary { display: none; }
.rec-ledger li { align-items: baseline; }
.rec-ledger span { min-width: 0; }
.rec-ledger small { display: block; font-size: 15px; color: var(--dim); }
.rec-ledger a { color: var(--paper); font-weight: 800; }
.rec-ledger .rec-total { border-top: 2px solid var(--edge); }
.rec-total span { font-weight: 900; color: var(--paper); }
.ms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ms li { display: grid; align-content: start; padding: 7px 10px; border-radius: 12px; border: 2px dashed var(--edge); font-size: 15px; line-height: 1.2; color: var(--dim); }
.ms b { font-weight: 900; font-size: 15px; color: var(--soft); }
.ms .ms-got { border: 2px solid var(--hot); background: rgba(255, 90, 54, 0.1); }
.ms .ms-got b { color: var(--paper); }
.ms .ms-got span { color: var(--hot); font-weight: 800; }
.rec-crews { display: grid; gap: 10px; margin-top: 8px; }
.rec-crew { padding: 12px 14px; }
.rec-crew-who { display: flex; align-items: center; gap: 10px; }
.rec-crew-who b { min-width: 0; font-weight: 900; font-size: 16px; line-height: 1.2; color: var(--ink); }
.rec-crew-since { margin-top: 6px; font-size: 15px; line-height: 1.3; color: var(--grey); }
.rec-crew .c-stack { flex: none; }
.rec-crew .c-stack .face { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--paper); }
.rec-crew-movies { margin-top: 10px; }
.rec-foot { margin-top: 22px; }
.rec-play { margin-top: 12px; }

/* Your accounts on /me: one card per platform, to connect, reconnect or disconnect (src/pages/accounts.tsx). */
.accts-why { margin-top: 4px; }
.accts-none { margin-top: 10px; }
.acct-list { display: grid; gap: 8px; margin-top: 10px; }
.acct { padding: 12px 14px 10px; border-radius: 14px; background: var(--raise); border: 2px solid var(--edge); scroll-margin-top: 12px; }
.acct-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.acct-name { font-weight: 900; font-size: 21px; letter-spacing: -0.03em; }
.acct-state { font-size: 15px; font-weight: 800; color: var(--dim); white-space: nowrap; }
.acct-on { color: var(--hot); }
.acct-on::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--hot); vertical-align: 1px; }
.acct-line { margin-top: 4px; font-size: 16px; line-height: 1.35; color: var(--soft); }
.acct-line b { color: var(--paper); font-weight: 900; overflow-wrap: anywhere; }
.acct-fine { margin-top: 6px; }
.acct-flash { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(244, 239, 230, 0.08); font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--paper); }
.acct-flash-no { background: rgba(255, 90, 54, 0.14); border: 2px solid var(--hot); }
.acct-do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acct-sure .acct-do { margin-top: 8px; }
.acct-status { margin-top: 6px; }
.acct-handover { display: block; }
.acct-handover .btn { margin-top: 8px; }
.acct-pair { margin-top: 12px; }
.acct-pair .paste-row { margin-top: 6px; }
.acct-link code { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--paper); color: var(--ink); font: 800 14px/1.3 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.acct-status:empty { display: none; }

/* A milestone's pop: a sheet from the bottom, the page dimmed behind it. */
.pop-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 19, 18, 0.72); }
.pop-wrap:focus { outline: none; }
html.pop-open, html.pop-open body { overflow: hidden; }
.pop-sheet {
  position: relative;
  width: 100%;
  max-width: var(--measure);
  padding: 26px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}
.pop-kicker { color: var(--hot); font-weight: 900; }
.pop-h { margin-top: 4px; max-width: 9em; color: var(--ink); }
.pop-p { margin-top: 8px; font-size: 17px; line-height: 1.35; color: var(--grey); }
.pop-also { display: grid; gap: 6px; margin-top: 12px; }
.pop-also li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
.pop-also .face { width: 30px; height: 30px; filter: none; }
.pop-sheet .btn { margin-top: 16px; }
.pop-later { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; text-align: center; font-size: 16px; font-weight: 800; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; }
.stamp { position: absolute; right: 18px; top: -46px; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--paper); border: 4px solid var(--hot); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--hot); color: var(--hot); font-weight: 900; font-size: 17px; line-height: 1; text-align: center; text-transform: uppercase; letter-spacing: 0.01em; transform: rotate(-12deg); }

/* ---------- Sharing: post buttons, your link, a post's check, out in the wild (src/pages/share.tsx) ----------
   From the storyboard (public/design/journey.html, screens 21, 22, 25 and 35). */

.post-btns { display: grid; gap: 8px; margin-top: 16px; }
.post-btn { min-height: 52px; padding: 12px 16px; font-size: 19px; }
.post-btns .post-btn:first-child { flex-direction: column; }
.post-btn small { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; opacity: 0.8; }
.post-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.post-row-label { margin-right: auto; font-weight: 900; font-size: 17px; }
.post-row .btn-small { min-height: 44px; padding: 6px 14px; font-size: 15px; }
.post-hint { flex-basis: 100%; }
.post-ghost { background: none; color: var(--paper); }
/* While the trailer comes: the button fills from the left with what has arrived (share.js sets --got). It still takes
   a tap, which says "Almost ready". */
.post-go[aria-disabled="true"] { background: linear-gradient(90deg, var(--paper) var(--got, 0%), var(--dim) var(--got, 0%)); border-color: var(--dim); }
.post-status { flex-basis: 100%; margin-top: 6px; }
.post-status:empty { display: none; }
.post-status a, .post-apps a { color: var(--paper); font-weight: 900; text-underline-offset: 3px; }
.post-apps { flex-basis: 100%; margin-top: 6px; }
.post-apps a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.your-link { margin-top: 12px; overflow-wrap: anywhere; }
/* Inline, with its tap area from padding, so the lines around it keep their spacing. */
.link-btn { display: inline; padding: 12px 2px; margin: -12px 0; border: 0; background: none; font-size: 15px; font-weight: 900; line-height: inherit; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.your-link a { color: var(--paper); text-underline-offset: 3px; }
.wild-more { color: var(--dim); }
/* A pasted post's check (#76, src/pages/share.tsx): its short words for anyone, and for its paster what to do. */
.wild-row { display: flex; justify-content: space-between; gap: 10px; }
.wild-row > span:last-child { flex: none; text-align: right; }
.wild-mine { scroll-margin-top: 16px; }
.wild-check { margin: 6px 0 4px; padding: 10px 12px; border-radius: 12px; background: rgba(244, 239, 230, 0.07); border: 2px solid var(--edge); font-size: 15px; line-height: 1.35; color: var(--soft); }
.wild-check .btn { margin-top: 8px; }
.wild-check a.btn { color: var(--ink); text-decoration: none; }
.wild-check .fine { margin-top: 4px; }
.wild-code { margin-top: 8px; }
.wild-code-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.wild-code code { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--paper); color: var(--ink); font: 800 16px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 0.04em; overflow-wrap: anywhere; user-select: all; }
.wild-check-status:empty { display: none; }
.your-posts { margin-top: 16px; }
.paste-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.paste-row .field { flex: 1; min-width: 0; margin: 0; font-size: 16px; }
.paste-row .btn-small { min-height: 52px; }
.captions-more summary { cursor: pointer; font-size: 19px; }
.captions-more .caption { margin-top: 12px; }
/* The Premiere (src/pages/premiere.tsx): the movie, then one thing, Post it; once it's out, where it went. */
.prem-head { margin-top: 12px; }
.prem-head .kicker { margin-bottom: 8px; }
.prem-head .poster-hero { aspect-ratio: 1 / 1; max-height: 38svh; border-radius: 18px; }
.prem-title { margin-top: 12px; font-size: 30px; line-height: 1.02; overflow-wrap: anywhere; }
.prem-head .boss { margin-top: 10px; }
.post-it { margin-top: 20px; }
.post-h { margin-top: 4px; }
.post-it > .acct-flash { margin-top: 12px; }
.post-it .fine { margin-top: 8px; }
/* Post to YouTube leads; Share the video is the outline under it. */
.yt-go, .post-it .onetap-go { flex-direction: column; background: var(--hot); border-color: var(--hot); color: var(--ink); }
.yt-connect { display: grid; margin-top: 16px; }
.yt-acct { display: grid; }
.yt-connect .acct-status:empty { display: none; }
.onetap-terms { margin-top: 2px; }
.yt-agree { margin-top: 8px; }
.yt-agree a, .onetap-terms a { color: var(--soft); text-underline-offset: 3px; }
.post-it .post-btns { margin-top: 10px; }
.post-it .post-btns .post-btn { background: none; color: var(--paper); }
.movie-simple .post-it { display: grid; gap: 0; margin-top: 16px; }
/* A short screen (an iPhone SE with Safari's bars, 375x553): the one button stays on the first screen. */
@media (max-height: 620px) {
  .prem-head .poster-hero { max-height: 28svh; }
  .prem-title { margin-top: 8px; font-size: 26px; }
  .prem-head .boss { margin-top: 8px; font-size: 15px; }
  .prem-head .boss-face { width: 32px; height: 32px; }
  .post-it { margin-top: 12px; }
  .movie-simple .poster-hero { max-height: 36svh; }
  .door { margin-top: 10px; }
  .door-face { width: 44px; height: 44px; }
  .door-host { width: 52px; height: 52px; }
  .door .h1 { margin-top: 8px; font-size: 30px; }
  .door .lede { margin-top: 6px; font-size: 16px; }
}
.numbers-at { margin-top: 14px; }
.wild .acct-flash { margin-top: 10px; }
.wild-connect { margin-top: 8px; }
#post { scroll-margin-top: 12px; }
.captions-more[open] summary { margin-bottom: 4px; }

/* One tap posts to a connected account (#135, src/pages/share.tsx OneTapPost, public/post.js): a button per account,
   its confirm step on paper, and where the try stands under it. */
.onetap { display: grid; gap: 10px; margin-top: 16px; }
.onetap-plat { display: grid; gap: 8px; }
.onetap .post-btn { flex-direction: column; }
.onetap .post-btn small { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; opacity: 0.8; }
.onetap-now { padding: 12px 14px; border-radius: 14px; background: rgba(244, 239, 230, 0.07); border: 2px solid var(--edge); }
.onetap-plat[data-state="posted"] .onetap-now, .onetap-plat[data-state="inbox"] .onetap-now { border-color: var(--soft); }
.onetap-plat[data-state="failed"] .onetap-now { border-color: var(--hot); }
.onetap-status { font-size: 15px; line-height: 1.4; color: var(--soft); }
.onetap-plat[data-state="posted"] .onetap-status, .onetap-plat[data-state="inbox"] .onetap-status { color: var(--paper); font-weight: 700; }
.onetap-bar { display: block; height: 6px; margin-bottom: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--edge) 0 35%, var(--paper) 35% 65%, var(--edge) 65%); background-size: 300% 100%; animation: onetap-bar 1.4s linear infinite; }
@keyframes onetap-bar { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .onetap-bar { animation: none; } }
.onetap-see { display: inline-block; margin-top: 6px; padding: 8px 0; color: var(--paper); font-size: 16px; font-weight: 900; text-underline-offset: 3px; }
.onetap-reconnect, .onetap-again { margin-top: 10px; color: var(--ink); text-decoration: none; }
.onetap-copied { margin-top: 6px; }
.onetap-confirm { padding: 16px 14px 14px; border-radius: 16px; background: var(--paper); color: var(--ink); }
.onetap-q { font-weight: 900; font-size: 19px; line-height: 1.15; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.onetap-confirm .fine { margin-top: 6px; color: var(--grey); }
.onetap-confirm .label { margin-top: 12px; color: var(--grey); }
.onetap-caption { min-height: 132px; border-color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.4; resize: vertical; }
.onetap-caption:focus { outline-color: var(--ink); }
.onetap-who { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.onetap-who legend { float: left; width: 100%; margin: 12px 0 6px; padding: 0; }
.onetap-pick { position: relative; }
.onetap-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.onetap-pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; font-size: 16px; font-weight: 800; }
.onetap-pick input:checked + span { background: var(--ink); color: var(--paper); }
.onetap-pick input:focus-visible + span { outline: 3px solid var(--hot); outline-offset: 2px; }
.onetap-do { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.onetap-post { flex: 1; min-height: 52px; background: var(--ink); color: var(--paper); border-color: var(--ink); font-size: 19px; }
.onetap-confirm .btn-ghost { min-height: 52px; color: var(--ink); border-color: var(--ink); }
.onetap-error { margin-top: 8px; color: var(--ink); }
.onetap-error:empty { display: none; }
.onetap-agree { margin-top: 10px; color: var(--grey); }
.onetap-agree a { color: var(--ink); text-underline-offset: 3px; }
.onetap-compact { margin-top: 12px; }
.onetap-compact .post-btn { min-height: 50px; padding: 10px 14px; font-size: 18px; }

.wild { padding: 14px 16px; }
.wild-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wild-plats { margin-top: 8px; }
.wild-plats > li { padding: 9px 0; border-top: 1px solid var(--rule); }
.wild-plats > li:first-child { border-top: 0; }
.wild-plat { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; font-size: 16px; }
.wild-plat b { font-weight: 900; }
.wild-plat span { font-size: 15px; color: var(--soft); }
.wild-plat .wild-n { min-width: 52px; text-align: right; font-weight: 900; font-size: 16px; color: var(--paper); }
.wild-posts { display: grid; gap: 2px; margin-top: 4px; }
.wild-posts li { display: block; font-size: 15px; color: var(--dim); }
.wild-posts a { color: var(--soft); text-underline-offset: 3px; }
.wild-line { margin-top: 10px; }
.wild-line:empty { display: none; }

/* The record's seasons: each one's wrap. */
.rec-seasons { display: grid; gap: 8px; margin-top: 12px; }
.rec-season { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; }
.rec-season b { font-weight: 900; font-size: 18px; }
.rec-season span { font-size: 15px; color: var(--grey); }

/* ---------- The season wrap (src/pages/wrap.tsx, public/wrap.js) ----------
   From the storyboard (public/design/journey.html, screens 38 to 41): story style, one card at a time, each made to
   post. The card takes the height there is, and its type and pictures are sized from it, so 375x553 still fits. */

.wr { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--ink); padding: calc(8px + env(safe-area-inset-top)) 0 env(safe-area-inset-bottom); }
.wr-top { display: flex; align-items: center; gap: 12px; flex: none; width: 100%; max-width: var(--measure); min-height: 44px; margin: 0 auto; padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); }
.wr-bars { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.wr-bars i { height: 4px; border-radius: 2px; background: var(--edge); }
.wr-bars .done, .wr-bars .on { background: var(--paper); }
.wr-close { min-height: 44px; padding: 10px 0 10px 8px; font-size: 15px; font-weight: 800; color: var(--soft); text-underline-offset: 3px; }
.wr-track { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.wr-track::-webkit-scrollbar { display: none; }
.wr-slide { flex: 0 0 100%; display: flex; flex-direction: column; min-height: 0; padding: 0 max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left)); scroll-snap-align: start; scroll-snap-stop: always; }
.wr-slide > * { width: 100%; max-width: var(--measure); margin-left: auto; margin-right: auto; }
.wr-card { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: 6px; padding: 18px 18px 12px; border-radius: 20px; overflow: hidden; overflow-wrap: anywhere; container-type: size; }
.wr-hot { background: var(--hot); color: var(--ink); }
.wr-paper { background: var(--paper); color: var(--ink); }
.wr-ink { background: #0a0908; color: var(--paper); border: 2px solid var(--edge); }
.wr-kick { flex: none; font-size: 17px; font-weight: 900; letter-spacing: -0.01em; }
.wr-big { flex: none; margin-top: 2px; font-weight: 900; font-size: min(168px, 25cqh); line-height: 0.82; letter-spacing: -0.08em; }
.wr-big-num { margin-top: 10px; font-size: min(64px, 12cqh, 16cqw); letter-spacing: -0.05em; }
.wr-say { flex: none; margin-top: 8px; font-weight: 900; font-size: max(17px, min(26px, 5.4cqh)); line-height: 1.05; letter-spacing: -0.03em; }
.wr-fine { flex: none; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.wr-ink .wr-fine { color: var(--soft); }
.wr-fan { position: relative; flex: 0 1 auto; height: min(250px, 30cqh); min-height: 56px; margin-top: 12px; }
.wr-fan img { position: absolute; top: 0; height: 88%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); border: 3px solid var(--ink); }
.wr-fan img:nth-child(1) { left: 6%; top: 8%; transform: rotate(-9deg); }
.wr-fan img:nth-child(2) { left: 50%; z-index: 1; transform: translateX(-50%); }
.wr-fan img:nth-child(3) { right: 6%; top: 8%; transform: rotate(8deg); }
.wr-fan img:only-child { left: 50%; top: 0; transform: translateX(-50%); }
.wr-fan img:first-child:nth-last-child(2) { left: 12%; }
.wr-fan img:nth-child(2):last-child { left: auto; right: 12%; top: 8%; transform: rotate(7deg); }
.wr-faces { flex: none; display: grid; grid-template-columns: repeat(5, min(60px, 13cqh)); justify-content: space-between; gap: 8px; margin-top: 14px; }
.wr-faces .face { width: 100%; height: auto; aspect-ratio: 1; filter: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.wr-poster { flex: none; height: min(190px, 24cqh); width: auto; aspect-ratio: 4 / 5; align-self: flex-start; margin-top: 10px; object-fit: cover; object-position: top; border-radius: 12px; border: 3px solid var(--hot); transform: rotate(-3deg); }
.wr-title { flex: none; margin-top: 10px; font-weight: 900; font-size: max(20px, min(40px, 7cqh)); line-height: 0.95; letter-spacing: -0.045em; color: var(--hot); }
.wr-pts { flex: none; margin-top: 10px; }
.wr-pts li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 2px solid currentColor; font-size: 17px; font-weight: 800; }
.wr-pts b { font-weight: 900; }
.wr-foot { display: flex; align-items: center; gap: 10px; flex: none; margin-top: 10px; padding-top: 8px; border-top: 2px solid currentColor; font-size: 15px; font-weight: 900; }
.wr-foot .mark { font-size: 17px; margin-right: auto; }
.wr-hot .mark-b::after { background: var(--ink); }
.wr-code { padding: 2px 8px; border: 2px solid currentColor; border-radius: 6px; letter-spacing: 0.12em; }
.wr-post { flex: none; margin-top: 10px; }
.wr-post .post-btn { min-height: 50px; }
.wr-post .post-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 4px; }
.wr-post .post-more button, .wr-post .post-more a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; border: 0; background: none; font-size: 15px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.wr-post .post-status { text-align: center; }


/* ---------- The decks (src/pages/decks.tsx): "What are we making?", and a movie's deck as a small label ---------- */

.decks-head { margin-top: 20px; }
.deck-cards { display: grid; gap: 12px; margin-top: 20px; }
.deck-card { display: grid; grid-template-columns: 88px 1fr 22px; gap: 12px; align-items: center; padding: 12px 12px 12px 12px; text-decoration: none; }
.deck-card:active { transform: translateY(1px) scale(0.99); }
.deck-art { display: block; width: 88px; height: 88px; overflow: hidden; border-radius: 14px; background: var(--paper); }
.deck-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.deck-words { display: block; min-width: 0; }
.deck-name { display: block; font-weight: 900; font-size: 22px; line-height: 1.05; letter-spacing: -0.025em; }
.deck-line { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--soft); }
.deck-go { color: var(--dim); }
.deck-fine { margin-top: 14px; }
.deck-join { margin-top: 12px; color: var(--soft); text-decoration: underline; text-underline-offset: 4px; }
.deck-tag { display: inline-block; padding: 0 8px; border: 2px solid currentColor; border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1.35; letter-spacing: 0; white-space: nowrap; vertical-align: 1px; }
.movie-head > .deck-tag { margin-bottom: 8px; color: var(--soft); }
.row-by .deck-tag { margin-left: 2px; padding: 0 7px; border-width: 1.5px; }
.kicker .deck-tag { margin-left: 4px; }

/* Movies made at a table that public/recover.js just put on the record, or a guest's claim links: under the top bar of
   the home page and /me (src/look.tsx, Recovered). */
.recovered { display: grid; gap: 8px; margin-top: 14px; }
.recovered-line { position: relative; display: block; padding: 12px 40px 12px 14px; border-radius: 12px; border-left: 4px solid var(--hot); background: rgba(244, 239, 230, 0.08); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--soft); text-decoration: none; }
.recovered-line b { font-weight: 900; color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.recovered-line::after { content: ""; position: absolute; top: 50%; right: 18px; width: 9px; height: 9px; border-top: 2.5px solid var(--paper); border-right: 2.5px solid var(--paper); transform: translateY(-50%) rotate(45deg); }

/* ---------- Your movies, at the top of a player's home page (src/pages/home.tsx) ---------- */

.yours { margin-top: 36px; }
.ym-all { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.ym { margin-top: 10px; padding: 2px 14px; }
.ym-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 2px solid var(--ink); }
.ym-row:first-child { border-top: 0; }
.ym-row .poster-thumb { width: 44px; }
.ym-words { min-width: 0; }
.ym-title { display: block; font-weight: 900; font-size: 17px; line-height: 1.15; letter-spacing: -0.015em; text-decoration: none; overflow-wrap: anywhere; }
.ym-state { display: block; margin-top: 3px; font-size: 15px; line-height: 1.3; color: var(--soft); }
.ym-go { min-height: 40px; padding: 6px 14px; }
.ym-paid { color: var(--hot); font-size: 15px; font-weight: 900; white-space: nowrap; }
.ym-mark { font-weight: 900; color: var(--hot); }

/* ---------- The crew board (src/pages/crews.tsx; the storyboard's screens 30 and 34) ---------- */

.cb-when { margin-top: 6px; }
.cb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; padding: 4px; border-radius: 999px; background: var(--raise); border: 2px solid var(--edge); }
.cb-tab { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 900; font-size: 16px; color: var(--soft); text-decoration: none; }
.cb-tab-on { background: var(--paper); color: var(--ink); }
.c-board { margin-top: 12px; padding: 2px 14px; }
.c-board li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 2px solid var(--ink); }
.c-board li:first-child { border-top: 0; }
.c-board .rank { font-size: 21px; }
.cb-who { display: grid; gap: 3px; min-width: 0; }
.cb-who .c-stack .face { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--paper); }
.cb-name { font-weight: 900; font-size: 17px; line-height: 1.1; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.cb-who small { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--grey); }
.c-num { font-weight: 900; font-size: 17px; text-align: right; white-space: nowrap; }
.c-mine { position: relative; }
.c-mine::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0; background: var(--hot); }
.c-mine small { color: var(--ink); font-weight: 800; }
.cb-further { margin-top: 12px; }
.cb-further + .c-board { margin-top: 6px; }
.cb-note { margin-top: 10px; }
.cb-empty { margin-top: 14px; }
.cb-empty .fine { margin-top: 6px; }
.cb-next { margin-top: 16px; padding: 14px 16px; }
.cb-tabs + .cb-next { margin-top: 14px; }
.cb-next .btn { margin-top: 12px; }
.cb-yours { margin-top: 12px; padding: 14px 16px; scroll-margin-top: 12px; }
.cb-yours-who { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cb-yours-who .c-stack { flex: none; }
.cb-yours-who .c-stack .face { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--raise); }
.cb-yours-who > div { display: grid; min-width: 0; }
.cb-yours-name { font-weight: 900; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cb-yours-who small { margin-top: 2px; font-size: 15px; color: var(--dim); }
.cb-again { margin-top: 10px; }
.cb-form { margin-top: 12px; }
.cb-form .paste-row .btn-small { min-height: 52px; }
.cb-form .error { margin-top: 8px; }
.cb-form .fine { margin-top: 8px; }
.cb-weeks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 16px; font-weight: 800; }
.cb-weeks a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-underline-offset: 3px; }
.cb-weeks:empty { display: none; }
.cb-all { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.cb-strip-line { margin-top: 10px; }
.cb-strip-line a { color: var(--paper); font-weight: 800; text-underline-offset: 3px; }
/* The record's crew card: its own name over it, and its place on the board under it. */
.rec-crew-name { margin-bottom: 6px; font-weight: 900; font-size: 19px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.rec-crew-board { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 8px; font-size: 15px; font-weight: 800; }
.rec-crew-board a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: 3px; }
.rec-none a { color: var(--paper); font-weight: 800; text-underline-offset: 3px; }

/* "Your crew called" on a movie's page. */
.cc { display: grid; gap: 10px; margin-top: 12px; }
.cc-pair { padding: 12px 14px; }
.cc-you { font-size: 16px; line-height: 1.35; color: var(--soft); }
.cc-you a { color: var(--paper); font-weight: 900; text-underline-offset: 3px; }
.cc-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 15px; line-height: 1.3; color: var(--soft); }
.cc-row .c-stack { flex: none; }
.cc-row .c-stack .face { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--raise); }
.cc-row b { color: var(--paper); font-weight: 900; }
.cc-none { margin-top: 6px; }
.cc-note { margin-top: 10px; }
.cc-note a { color: var(--paper); font-weight: 800; text-underline-offset: 3px; }
/* The crew's picks under the call, once the viewer has made theirs (public/home.js). */
.call-crew { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; line-height: 1.3; color: var(--soft); }
.call-crew .c-stack { flex: none; }
.call-crew .c-stack .face { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--ink); }
.call-crew b { color: var(--paper); font-weight: 900; }

/* ---------- The trailer feed (src/pages/feed.tsx, public/feed.js) ----------
   One trailer per screen, snapped by the browser's own scrolling. On a wide screen the feed is a phone-shaped column. */
.reel { position: fixed; inset: 0; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; background: #000; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: manipulation; }
.reel::-webkit-scrollbar { display: none; }
.slide { --col: 100vw; position: relative; width: var(--col); height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: var(--ink); }
/* A phone fills the screen; a wide screen gets a phone-shaped column. */
@media (min-width: 600px) {
  .slide, .reel-top, .reel-controls { --col: min(100vw, calc(100vh * 9 / 16)); }
  @supports (height: 100dvh) { .slide, .reel-top, .reel-controls { --col: min(100vw, calc(100dvh * 9 / 16)); } }
}
.slide-media { position: absolute; inset: 0; }
.slide-poster, .slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-video { opacity: 0; transition: opacity 160ms linear; }
.slide.is-playing .slide-video { opacity: 1; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 18%, transparent 52%, rgba(0, 0, 0, 0.78)); }
.slide-first .slide-shade { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45) 38%, transparent 58%, rgba(0, 0, 0, 0.8)); }
.slide-welcome { position: absolute; top: calc(168px + env(safe-area-inset-top)); left: 20px; right: 20px; color: var(--paper); text-shadow: 0 2px 8px #000; pointer-events: none; }
.slide-welcome h1 { max-width: 370px; font-size: clamp(28px, 8.2vw, 36px); line-height: 1.04; font-weight: 900; letter-spacing: -0.035em; }
.slide-welcome p { margin-top: 10px; font-size: 16px; font-weight: 700; }
.slide-words { position: absolute; left: 16px; right: 84px; bottom: calc(148px + env(safe-area-inset-bottom)); color: var(--paper); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.slide-title { font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.slide-title a { color: inherit; text-decoration: none; }
.slide-by { margin-top: 6px; font-size: 16px; font-weight: 700; }
.slide-views { margin-top: 2px; font-size: 15px; font-weight: 800; color: var(--soft); }
.slide-rail { position: absolute; right: 8px; bottom: calc(152px + env(safe-area-inset-bottom)); display: grid; gap: 14px; justify-items: center; }
.rail-btn { display: grid; justify-items: center; gap: 2px; min-width: 60px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); cursor: pointer; }
.rail-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(20, 19, 18, 0.45); }
.rail-faces { display: flex; justify-content: center; }
.rail-faces img { width: 40px; height: 40px; border: 2px solid var(--paper); border-radius: 50%; background: var(--edge); object-fit: cover; }
.rail-faces img + img { margin-left: -16px; }
.slide-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(244, 239, 230, 0.2); }
.slide-bar i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.reel-top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: var(--col, 100vw); margin: 0 auto; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; color: var(--paper); pointer-events: none; }
.reel-top > * { pointer-events: auto; }
.feed-on-card .reel-top { background: var(--ink); }
.reel-code { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.reel-sound { position: fixed; z-index: 5; top: calc(64px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); min-height: 44px; padding: 8px 18px; border: 2px solid var(--paper); border-radius: 999px; background: rgba(20, 19, 18, 0.7); color: var(--paper); font: inherit; font-size: 16px; font-weight: 900; }
/* Making is the invitation; scrolling stays native on phones. Reserve the full footer height above it. */
.reel-controls { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; width: var(--col, 100vw); margin: 0 auto; padding: 12px 16px calc(4px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ink) 12px); }
.reel-make { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; min-height: 76px; padding: 12px; border-radius: 18px; background: var(--hot); color: var(--ink); text-align: center; text-decoration: none; }
.reel-make span { font-size: 15px; line-height: 1.2; font-weight: 700; }
.reel-make strong { font-size: clamp(20px, 6vw, 25px); line-height: 1.1; font-weight: 900; letter-spacing: -0.025em; }
.reel-options { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; }
.reel-options .reel-code { font-size: 14px; color: var(--soft); }
.reel-steps { display: flex; gap: 4px; align-items: center; }
.reel-prev, .reel-next { flex: none; min-width: 44px; min-height: 44px; padding: 8px; border: 0; border-radius: 12px; color: var(--paper); background: none; font: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.reel-controls-on-card .reel-next { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.reel-steps button:disabled { opacity: .35; cursor: default; }
@media (max-width: 599px) {
  .reel-controls:not(.reel-controls-on-card) .reel-steps,
  .reel-controls-on-card .reel-prev { display: none; }
}
/* A short landscape window needs a wider stage, not a crushed portrait column. */
@media (min-width: 600px) and (max-height: 600px) {
  .slide, .reel-top, .reel-controls { --col: min(100vw, 480px); }
  .slide-rail { display: flex; align-items: flex-end; gap: 2px; right: 12px; }
  .slide-words { right: 208px; }
  .slide-title { font-size: 22px; }
  .slide-welcome { display: none; }
}
.reel.reel-wait .slide:not(.is-playing) .slide-media::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; margin: -28px 0 0 -18px; border-style: solid; border-width: 28px 0 28px 44px; border-color: transparent transparent transparent rgba(244, 239, 230, 0.9); }
.slide-end { display: flex; flex-direction: column; justify-content: center; padding: 24px 24px calc(96px + env(safe-area-inset-bottom)); }
.end-kicker { font-size: 16px; font-weight: 800; color: var(--soft); }
.end-h { margin-top: 4px; font-weight: 900; font-size: 34px; line-height: 1.02; letter-spacing: -0.035em; }
.end-sub { margin-top: 10px; font-size: 17px; color: var(--soft); }
.end-links { margin-top: 24px; }
.end-links a { color: var(--dim); text-underline-offset: 3px; }
/* Back it from the feed: the movie's backing card in a sheet over the trailer, under the name tag's sheet. */
.rail-backed .rail-icon { background: var(--hot); color: var(--ink); }
.reel-sheet { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 19, 18, 0.6); }
.reel-sheet[hidden] { display: none; }
.reel-sheet-body { width: min(100vw, 480px); max-height: 86vh; max-height: 86dvh; overflow-y: auto; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.reel-sheet .back { margin: 0; }
.reel-sheet-done { display: flex; width: 100%; margin-top: 8px; justify-content: center; background: var(--ink); }
.reel-open .reel-controls, .reel-open .reel-sound { visibility: hidden; }
/* The feed as the home page (pages/feed.tsx): the way to the full board, the viewer's own movie, and the cards between
   trailers (a friend's table, your movie before it's out, "Your turn", the end). */
.reel-board { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 900; color: var(--paper); text-decoration: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.browse-nav { display: flex; flex-wrap: wrap; gap: 0 16px; margin: -4px 0 12px; }
.browse-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-size: 16px; font-weight: 800; text-underline-offset: 4px; }
.reel-top .tag-chip { flex: none; }
.slide-mine { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--hot); color: var(--ink); font-size: 14px; font-weight: 900; text-shadow: none; }
.slide-next { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--paper); }
.slide-card { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; padding: calc(84px + env(safe-area-inset-top)) 24px calc(156px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.card-kicker { font-size: 16px; font-weight: 800; color: var(--soft); }
.card-h { margin-top: 4px; font-weight: 900; font-size: 34px; line-height: 1.02; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.card-sub { margin-top: 10px; font-size: 17px; line-height: 1.35; color: var(--soft); }
.card-go { margin-top: 20px; }
.card-or { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--soft); }
.card-again { margin-top: 18px; align-self: flex-start; }
.slide-make { background: radial-gradient(120% 70% at 50% 0%, #3a2219 0%, var(--ink) 70%); }
.card-decks { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.card-deck { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 10px 14px; border: 2px solid var(--edge); border-radius: 18px; background: var(--raise); color: var(--paper); text-decoration: none; }
.card-deck:active { transform: translateY(1px) scale(0.99); }
.card-deck img { flex: none; width: 64px; height: 70px; object-fit: contain; }
.card-deck b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.card-deck small { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--soft); }
.card-faces { display: flex; margin-bottom: 14px; }
.card-faces img { width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 50%; background: var(--edge); object-fit: cover; }
.card-faces img + img { margin-left: -18px; }
.slide-unposted .card-poster { width: min(56vw, 240px); aspect-ratio: 2 / 3; margin-bottom: 16px; border-radius: 12px; object-fit: cover; }
.slide-end .end-links { margin-top: 24px; }
.slide-end { overflow: visible; }
.feed-about { margin-top: 12px; }
.feed-about summary, .call-rules summary { min-height: 44px; padding: 12px 0; font-weight: 700; cursor: pointer; }
.feed-about p + p { margin-top: 10px; }
.slide-intro .card-sub { margin-top: 12px; }
.slide-intro .intro-fine { margin-top: 18px; }
.slide-intro .intro-fine a { color: var(--paper); text-underline-offset: 3px; }
.intro-swipe { margin-top: 26px; font-size: 17px; font-weight: 900; color: var(--paper); }
/* More games on pop.in keeps room for the feed invitation and the route back to movies. */
.slide-popin { background: radial-gradient(130% 60% at 50% 100%, #2c221c 0%, var(--ink) 72%); }
.popin-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; margin: 22px 0 0; }
.popin-games li { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; text-align: center; }
.popin-games img { width: 100%; max-width: 68px; height: auto; aspect-ratio: 1; border-radius: 23%; background: var(--raise); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); object-fit: cover; }
.popin-games span { font-size: 13px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--soft); }
.popin-go { margin-top: 24px; }
.popin-fine { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--dim); text-align: center; }
.popin-block { margin-top: 32px; padding: 22px 18px 18px; border: 2px solid var(--edge); border-radius: 22px; background: var(--raise); }
.popin-block .card-h { font-size: 28px; }
.popin-block .card-sub { font-size: 16px; }
.popin-block .popin-games img { background: var(--ink); }
@media (max-height: 640px) {
  .slide-popin { padding-top: calc(60px + env(safe-area-inset-top)); }
  .slide-popin .card-h { font-size: 30px; }
  .slide-popin .popin-games { gap: 10px 10px; margin-top: 16px; }
  .slide-popin .popin-games img { max-width: 56px; }
  .slide-popin .popin-go { margin-top: 18px; }
}
/* A credit landed by public/recover.js shows over the feed, under the bar. */
.reel ~ .recovered, .reel-top ~ .recovered { position: fixed; z-index: 6; top: calc(60px + env(safe-area-inset-top)); left: 16px; right: 16px; }
.reel-top ~ .recovered .recovered-line { background: var(--ink); }
.prem-feed { margin-top: 18px; background: none; color: var(--paper); }
/* Who sees it, above YouTube's button (src/pages/share.tsx): the confirm step's pills, drawn on the dark page, its
   legend for screen readers only, and the Premiere's poster a little smaller so the button stays on the first screen. */
.onetap-who-now { position: relative; }
.onetap-who-now legend { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.onetap-who-now .onetap-pick { flex: 1 1 0; }
.onetap-who-now .onetap-pick span { justify-content: center; width: 100%; min-height: 44px; padding: 6px; border-color: var(--edge); color: var(--paper); }
.onetap-who-now .onetap-pick input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.premiere:has(.onetap-who-now:not([hidden])) .prem-head .poster-hero { max-height: 31svh; }
@media (max-height: 620px) {
  .premiere:has(.onetap-who-now:not([hidden])) .prem-head .poster-hero { max-height: 22svh; }
}
/* A Premiere whose trailer didn't come through (src/pages/premiere.tsx): what happened, then make another one. */
.no-trailer .lede { margin-top: 8px; }
.no-trailer .btn { display: flex; margin-top: 16px; }
.premiere:has(.no-trailer) .prem-head .poster-hero { max-height: 28svh; }
@media (max-height: 620px) {
  .premiere:has(.no-trailer) .prem-head .poster-hero { max-height: 20svh; }
}

/* The record's "Change your name" (src/pages/record.tsx ChangeName). */
.rec-rename { margin-top: 12px; }
.rec-rename > summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.rec-rename > summary::-webkit-details-marker { display: none; }
.rename-form { margin-top: 8px; }
.rename-form .btn { margin-top: 14px; }
.rename-form .fine { margin: 8px 0 18px; }

/* One pop.in event's movies (src/pages/event.tsx, #226): a row per movie, its poster that plays and who made it. */
.event .h1 { margin-top: 4px; }
.event-none { margin-top: 12px; color: var(--soft); }
.event-top .btn { width: auto; min-height: 48px; padding: 10px 14px; font-size: 16px; }
.event [data-return-help]:empty { display: none; }
.event-list { display: grid; gap: 18px; margin-top: 20px; }
.event-movie { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; }
.event-movie .watch, .event-movie > .poster { width: 104px; }
.event-movie .h2 { font-size: 22px; overflow-wrap: anywhere; }
.event-movie .h2 a { color: inherit; text-decoration: none; }
.event > .kicker { margin-top: 18px; }

/* A writer's Post to YouTube on their unlisted movie's page (#244). */
.unlisted-yt { margin-top: 20px; }

/* Shared movies keep the next watch and the chart one tap away. */

.back-estimate { margin: 12px 0 6px; font-weight: 800; line-height: 1.4; }

.slide-call { padding: calc(84px + env(safe-area-inset-top)) 16px calc(140px + env(safe-area-inset-bottom)); }
.slide-call[hidden] { display: none; }
.feed-call { width: min(100%, 580px); margin: auto; text-align: left; }
.feed-call .pair { margin: 14px 0; gap: 10px; grid-template-columns: 1fr 1fr; }
.feed-call .pick-copy { padding: 10px; }
.feed-call .pick-title { font-size: 16px; }
.feed-call .boss { display: none; }
.feed-call .poster-card { aspect-ratio: 4/3; }
.feed-call .call-preview { aspect-ratio: 1; max-height: 24dvh; }
.feed-call .pick-btn { min-height: 44px; }
.feed-call .call-note { margin: 12px 0; font-size: 15px; font-weight: 700; }
.call-back { width: 100%; min-height: 48px; margin: 4px 0 8px; font-size: 18px; }
.call-back[hidden] { display: none; }
.feed-call.called .pick-btn { min-height: 32px; padding: 4px; font-size: 14px; background: transparent; border: 0; color: var(--ink); }
.feed-call .call-note:empty { display: none; }
.feed-call .call-lead { margin-top: 6px; color: var(--soft); font-size: 17px; }
.feed-call .call-rules { margin: 4px 0 8px; }
.feed-call .call-rule { margin: 0 0 12px; font-size: 14px; line-height: 1.4; }
.call-preview { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2/3; max-height: 32dvh; border-radius: 10px; background: #000; }
.call-preview .poster-card { width: 100%; height: 100%; aspect-ratio: auto; }
.preview-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; }
.preview-ready .preview-video { opacity: 1; }
.preview-toggle { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; width: 100%; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.preview-toggle span, .preview-sound { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border: 0; border-radius: 99px; background: var(--paper); color: var(--ink); font: 800 13px/1 var(--font); }
.preview-running .preview-toggle { inset: auto auto 0 0; width: auto; }
.preview-sound { position: absolute; right: 6px; bottom: 6px; z-index: 3; cursor: pointer; }
.preview-status { position: absolute; left: 6px; right: 6px; top: 6px; z-index: 3; padding: 5px; border-radius: 6px; color: var(--paper); background: #141312dd; font-size: 13px; text-align: center; pointer-events: none; }
.preview-status:empty { display: none; }
.preview-fallback { position: absolute; top: 42px; left: 6px; right: 6px; z-index: 3; padding: 12px 5px; border-radius: 6px; color: var(--paper); background: var(--ink); font-size: 13px; text-align: center; }

.game-return { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); }
.game-return .btn { margin: 12px 0; }

.movie-back { margin: 20px 0; }
.movie-back > summary { cursor: pointer; width: 100%; }
.movie-back[open] > summary { margin-bottom: 12px; }

/* Premiere: the movie, one main action, then optional sharing. */
.premiere { max-width: 560px; }
.prem-film { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 18px; margin: 18px 0 26px; }
.prem-film .poster { width: 100%; aspect-ratio: 2 / 3; border-radius: 12px; }
.prem-film .prem-title { margin: 0; font-size: clamp(24px, 6.4vw, 32px); line-height: 1.04; }
.prem-film .compact-by { margin-top: 10px; font-size: 14px; line-height: 1.4; }
.premiere .post-it { margin-top: 0; }
.premiere .post-h { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.premiere:has(.onetap-plat[data-state="posted"]) .post-h,
.premiere:has(.onetap-plat[data-state="sending"]) .post-h,
.premiere .no-trailer .post-h { position: static; width: auto; height: auto; margin: 0 0 12px; overflow: visible; clip-path: none; white-space: normal; font-size: 30px; line-height: 1.08; }
.premiere:has(.onetap-plat[data-state="posted"]) .post-h::before { content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M9 17l5 5 11-13' fill='none' stroke='%23141312' stroke-width='3'/%3E%3C/svg%3E"); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 9px; border-radius: 50%; background-color: var(--paper); color: var(--ink); font-size: 22px; vertical-align: 3px; }
.premiere .onetap, .premiere .yt-connect { margin-top: 0; }
.premiere .onetap-who-now legend { margin-top: 0; font-size: 13px; }
.premiere .onetap-go, .premiere .yt-go { min-height: 68px; margin-top: 12px; }
.premiere .onetap-terms, .premiere .yt-agree { font-size: 12px; line-height: 1.5; margin-top: 8px; }
.premiere .onetap-plat[data-state="posted"] .onetap-now { padding: 0; border: 0; background: none; }
.premiere .onetap-plat[data-state="posted"] .onetap-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.premiere .onetap-see { margin: 0; font-size: 15px; font-weight: 600; color: var(--soft); }
.premiere .game-return { margin: 20px 0 0; padding: 0; border: 0; }
.premiere .game-return .btn { margin: 0; min-height: 60px; }
.premiere:not(:has(.onetap-plat[data-state="posted"])):not(:has(.no-trailer)) .game-return .btn { width: auto; min-height: 44px; padding: 8px 0; background: none; border-color: transparent; color: var(--soft); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.premiere [data-return-help]:empty { display: none; }
.premiere [data-return-help] { margin-top: 10px; }
.premiere .prem-feed:not(.btn) { display: block; width: fit-content; min-height: 44px; margin-top: 10px; padding: 10px 0; color: var(--soft); font-size: 15px; text-underline-offset: 3px; }
.premiere .numbers-at { margin-top: 10px; font-size: 13px; }
.prem-more { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.prem-more summary { min-height: 44px; display: list-item; padding: 11px 0; cursor: pointer; font-size: 15px; color: var(--soft); }
.prem-more .post-btns { margin: 10px 0; }
.prem-more .post-btn { background: none; color: var(--paper); }
.prem-more .post-btn small { font-size: 13px; }
@media (max-height: 650px) {
  .prem-film { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; margin: 10px 0 18px; }
  .prem-film .prem-title { font-size: 24px; }
}

.premiere .post-it > .post-btns .post-btn { background: var(--hot); border-color: var(--hot); color: var(--ink); }

.premiere:not(:has(.onetap-plat[data-state="posted"])) .prem-feed.btn { width: fit-content; min-height: 44px; padding: 10px 0; background: none; border-color: transparent; color: var(--soft); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

/* The optional recovery for a video uploaded outside the one-tap flow. */
.post-link-form { display: grid; gap: 8px; margin: 20px 0; }
.post-link-form label { font-weight: 900; }
.post-link-form p { margin: 0; }
.post-link-form input { box-sizing: border-box; min-width: 0; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--soft); border-radius: 10px; background: var(--ink); color: var(--paper); font: inherit; font-size: 16px; }
.post-link-form button { justify-self: start; }

/* Shared movie landings keep playback and the next action together. */
.movie-player { position: relative; width: 100%; }
.movie-player video { display: block; width: 100%; height: min(38svh, 460px); min-height: 220px; background: #090909; border-radius: 18px; object-fit: contain; }
.movie-player-controls[hidden] { display: none; }
.movie-player [data-movie-status]:empty { display: none; }
.movie-player [data-movie-status] { margin-top: 8px; }
.link-sheet { width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 24px; border: 1px solid var(--rule); border-radius: 24px; background: var(--ink); color: var(--paper); margin: auto; }
.link-sheet::backdrop { background: rgb(0 0 0 / .72); }
.link-sheet[open] { display: grid; gap: 14px; }
.link-sheet [hidden] { display: none; }
.link-sheet .field { margin: 0; font-size: 16px; }
.link-sheet .link-quiet { margin: 0; }
.link-sheet [data-link-status]:empty { display: none; }
.premiere .prem-share { text-align: left; width: fit-content; color: var(--paper); }
.event-movie { display: block; }
.event-movie .movie-player { margin-bottom: 14px; }
.event-movie + .event-movie { margin-top: 30px; }

.movie-player-screen { position: relative; }
.movie-player-controls { display: flex; gap: 8px; position: absolute; inset: auto 0 0; margin: 0; padding: 28px 10px 10px; background: linear-gradient(transparent, #000a); border-radius: 0 0 18px 18px; justify-content: space-between; }
.movie-player-controls .btn { flex: none; width: auto; min-width: 78px; min-height: 44px; padding: 10px 16px; }
.movie-simple .h1 { font-size: clamp(28px, 7vw, 36px); line-height: 1.05; }
.movie-simple .movie-back { margin-top: 16px; }

.movie-player + .hero-back { top: 12px; bottom: auto; }

/* A compact personal drawer leaves the weekly chart visible on arrival. */
.board-yours { margin: 18px 0 0; border-block: 1px solid var(--rule); }
.board-yours > summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.board-yours .yours { margin-top: 8px; }
.board-yours .yours .h2 { font-size: 20px; }
.board-yours[open] { padding-bottom: 16px; }
.board .browse-nav { gap: 20px; margin-top: 12px; border-bottom: 1px solid var(--rule); }
.board .browse-nav a { padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--soft); text-decoration: none; }
.board .browse-nav a[aria-current="page"] { color: var(--paper); border-bottom: 2px solid var(--hot); }
.board .top .tag-chip { border-color: transparent; background: none; }
.board .ghost-play { font-size: 14px; padding-inline: 12px; }
@media (max-width: 389px) {
  .chart li { grid-template-columns: 18px 72px minmax(0, 1fr); gap: 10px; }
  .chart .poster-thumb { width: 72px; }
  .board .top-acts { gap: 4px; }
  .board .tag-chip { padding-right: 6px; }
}

.table-posting { position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)); z-index: 80; padding: 20px; border-radius: 20px; background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 100vmax #0009; }
.table-posting p { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.table-posting .btn { width: 100%; }
.table-posting .link-quiet { margin-top: 10px; }
[data-table-return-help]:empty { display: none; }

/* The same link actions stay beside every movie, including the full-screen preview. */
.movie-links { margin: 12px 0 20px; }
.movie-link-actions { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.movie-link-actions .btn { min-width: 0; min-height: 48px; margin: 0; padding: 12px; font-size: 16px; }
.movie-links [data-movie-link-status]:empty { display: none; }
.movie-links [data-movie-link-status] { margin: 8px 0 0; }
.movie-links .field { margin-top: 8px; font-size: 16px; }
.player-links { padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--ink); }
.player-links .movie-links { margin: 0; }
.premiere > .movie-links .movie-link-actions .btn { min-height: 54px; }

.movie-links-compact .movie-link-actions { grid-template-columns: 1fr; }
.movie-links-compact { margin: 8px 0 0; }
.movie-links-compact .btn { background: none; border: none; color: inherit; min-height: 44px; padding: 8px; text-decoration: underline; }

.premiere > .movie-links [data-movie-share] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.premiere .onetap-go, .premiere .yt-go { background: var(--hot); border-color: var(--hot); color: var(--ink); }
@media (max-width: 430px) {
  .table-name .table-label { display: none; }
}

/* Playback stays in the site, alongside the movie link actions. */
.player-transport { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.player-transport .btn { min-width: 76px; min-height: 44px; }
.player-transport input { flex: 1; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--hot); }
.player-transport .fine { margin: 0; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.player-links [data-player-status]:empty { display: none; }

/* Publication is a separate choice, with one short pre-play notice. */
.site-publication { margin: 16px 0; }
.site-publication .btn { width: 100%; }
.site-publication .error:empty { display: none; }
.table-publication { margin: 0; padding: 6px 16px; flex: none; text-align: center; }
