/* =====================================================================
   Frankenfilm UI system  (board, summary, studio, settings)
   Loaded after frankenfilm.css. Square corners everywhere (film is square).

   TYPE   one superfamily, two widths
          Barlow Condensed 800  display: titles, names, numbers
          Barlow 500-700        UI text, body copy, micro labels
          scale: 13 micro / 15 caption / 17 body-s / 19 body / 22 name /
                 28 h3 / 44 h2 / 56 title / 64+ hero numbers
   SPACE  8px grid: 4 8 12 16 24 32 48
   COLOUR ink ramp for surfaces, ivory/silver/mute for text.
          Gold = brand, selection, money, the ONE primary action per screen.
          Red  = villain, over budget, a miss. Nothing else is coloured.
   COMPONENTS  surface (ink fill + 1px hairline on all sides)
               card (ink-2 fill, no border; gold gate-brackets on hover/focus)
               button (primary gold / ghost hairline / icon 44px square)
   ===================================================================== */
:root {
  --ink-0: #05060a; --ink-1: #0b0d14; --ink-2: #12151e; --ink-3: #1a1e2a;
  --line: #242938; --line-2: #343a4f;
  --ivory: #f4efe4; --silver: #a9adbd; --mute: #646a80;
  --g: #d9b45a; --g-hi: #f3dc95; --g-lo: #cfae5c; /* was #8f7330: an ochre that read brown on stream */ --g-a: rgba(217,180,90,.45);
  --red: #d42a44; --red-hi: #ff5a6e;
  --f-ui: 'Barlow', 'Barlow Condensed', 'Arial', sans-serif;
  --f-d: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.2, 1.5, .4, 1);
  --brk: var(--g);
}
.stage { background:
    radial-gradient(900px 420px at 50% 30%, rgba(217,180,90,.07), transparent 70%),
    radial-gradient(1400px 600px at 50% 125%, rgba(110,15,31,.28), transparent 70%),
    var(--ink-0); }
.stage { font-family: var(--f-ui); }

/* ---------- shared atoms ---------- */
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.micro, .gk, .bk, .ml, .bt, .chip .k { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
/* the gate bracket: the reel's gold corners, reused as the selection mark everywhere */
.chip::after, .pc::after, .sfilm::after, .lu::after {
  content: ''; position: absolute; inset: 4px; pointer-events: none; z-index: 3; opacity: 0; transform: scale(1.08);
  transition: opacity .14s, transform .22s var(--ease-snap);
  background:
    linear-gradient(var(--brk), var(--brk)) left top / 16px 3px, linear-gradient(var(--brk), var(--brk)) left top / 3px 16px,
    linear-gradient(var(--brk), var(--brk)) right top / 16px 3px, linear-gradient(var(--brk), var(--brk)) right top / 3px 16px,
    linear-gradient(var(--brk), var(--brk)) left bottom / 16px 3px, linear-gradient(var(--brk), var(--brk)) left bottom / 3px 16px,
    linear-gradient(var(--brk), var(--brk)) right bottom / 16px 3px, linear-gradient(var(--brk), var(--brk)) right bottom / 3px 16px;
  background-repeat: no-repeat; }

/* ---------- buttons ---------- */
.btn { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; height: 44px; padding: 0 16px; gap: 10px;
  transition: background .15s, border-color .15s, color .15s, transform .08s, filter .15s; position: relative; }
.btn .ic { width: 20px; height: 20px; }
.btn.ghost { background: var(--ink-1); border: 1px solid var(--line-2); color: var(--ivory); }
.btn.ghost .ic { color: var(--g); }
.btn.ghost:hover:not([disabled]) { border-color: var(--g); background: var(--ink-2); }
.btn.ghost:active:not([disabled]) { transform: translateY(1px); background: var(--ink-0); }
.btn.icon { width: 44px; padding: 0; }
.btn.icon .ic { width: 22px; height: 22px; color: var(--ivory); }
.btn.icon:hover .ic { color: var(--g-hi); }
.btn.primary { background: linear-gradient(180deg, #f1d68a, var(--g) 70%); color: #0d0b06; box-shadow: inset 0 1px 0 rgba(255,255,255,.45); border: 0; overflow: hidden; }
.btn.primary:hover:not([disabled]) { background: linear-gradient(180deg, #f8e3a6, #e4c26c 70%); }
.btn.primary:active:not([disabled]) { transform: translateY(1px); filter: brightness(.92); }
.btn.primary::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 260% 100%; background-position: 160% 0; }
.btn.primary:hover:not([disabled])::after { animation: ffsheen .7s var(--ease-out) 1; }
@keyframes ffsheen { to { background-position: -60% 0; } }
.btn.big { height: 60px; font-family: var(--f-d); font-weight: 800; font-size: 28px; letter-spacing: .06em; padding: 0 20px; }
.btn[disabled], .btn.primary[disabled] { opacity: 1; background: var(--ink-2); color: var(--mute); box-shadow: none; border: 1px solid var(--line); cursor: default; }
.btn[disabled] .ic { color: var(--mute); }
.btn kbd { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; background: transparent; border: 1px solid currentColor; opacity: .6; line-height: 1; }
.btn.ghost kbd { background: transparent; color: var(--silver); border-color: var(--line-2); opacity: 1; }
.btn[disabled] kbd { border-color: var(--line); color: var(--mute); }
.btn:focus-visible { outline: 2px solid var(--g-hi); outline-offset: 3px; }

/* ---------- header ---------- */
.top { height: 104px; gap: 28px; padding: 0 44px; background: linear-gradient(180deg, #000, rgba(0,0,0,0)); }
.logo-img { height: 44px; filter: none; }
.top-progress { justify-content: center; }
.hud { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.top-progress .brief { height: 60px; gap: 14px; padding: 0 12px 0 16px; background: var(--ink-1); border: 1px solid var(--line); min-width: 0; }
.top-progress .brief .bi { width: 22px; height: 22px; color: var(--g); }
.top-progress .brief .btx { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.top-progress .bk { font-size: 13px; letter-spacing: .16em; color: var(--silver); }
.top-progress .brief b { font-family: var(--f-d); font-weight: 700; font-size: 23px; line-height: 1.05; color: var(--ivory); }
.top-progress .bb { font-family: var(--f-d); font-weight: 800; font-size: 22px; color: var(--g); background: transparent; border: 1px solid var(--g-a); padding: 2px 10px; line-height: 1.1; }
.top-progress .budget { height: 60px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 0 20px; background: var(--ink-1); border: 1px solid var(--line); }
.top-progress .budget b { font-family: var(--f-d); font-weight: 800; font-size: 26px; line-height: 1; color: var(--ivory); }
.top-progress .budget b small { font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--mute); margin-left: 6px; letter-spacing: 0; }
.top-progress .budget.over { border-color: var(--red); background: rgba(212,42,68,.08); }
.top-progress .budget.over b { color: var(--red-hi); }
.top-progress .budget.tick b { animation: fftick .35s var(--ease-snap); }
@keyframes fftick { 0% { transform: translateY(-6px); color: var(--g-hi); } 100% { transform: none; } }
.top-actions { gap: 10px; }
.mode-toggle { height: 44px; padding: 3px; gap: 2px; background: var(--ink-1); border: 1px solid var(--line-2); }
.mode-toggle button { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 0 14px; height: 36px; color: var(--silver); transition: background .15s, color .15s; }
.mode-toggle button:hover:not(.on) { color: var(--ivory); background: var(--ink-2); }
.mode-toggle button.on { background: var(--ivory); color: var(--ink-0); }
.reshoot-meter { display: flex; flex-direction: column; justify-content: center; gap: 5px; height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--ink-1); }
.reshoot-meter .ml { font-size: 12px; letter-spacing: .16em; line-height: 1; }
.reshoots { gap: 6px; margin: 0; }
.stage .can { width: 18px; height: 18px; border: 0; color: var(--g); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' fill='%23d9b45a' d='M12 1.5a10.5 10.5 0 1 1 0 21 10.5 10.5 0 0 1 0-21zM12 3.6a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2zM17.5 7.6a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2zM15.4 14.1a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2zM8.6 14.1a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2zM6.5 7.6a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2z'/%3E%3C/svg%3E") center / contain no-repeat; transition: opacity .3s, transform .3s; }
.stage .can::after { display: none; }
.stage .can.used { opacity: .22; filter: grayscale(1); transform: scale(.86); }
#btnSound .off { display: none; }
#btnSound.muted .on { display: none; }
#btnSound.muted .off { display: inline-block; color: var(--mute); }

/* ---------- reel ---------- */
.reel-band { border-top: 1px solid rgba(217,180,90,.28); border-bottom: 1px solid rgba(217,180,90,.28); }
.sprockets { background: repeating-linear-gradient(90deg, transparent 0 15px, #1b1e29 15px 29px, transparent 29px 44px); height: 18px; }
.sprockets.top { top: 8px } .sprockets.bottom { bottom: 8px }
.rp { box-shadow: 0 0 0 1px #000; }
.gate i { border-color: var(--g); border-width: 4px; width: 42px; height: 42px; filter: drop-shadow(0 0 6px rgba(217,180,90,.5)); transition: transform .3s; }
.gate i:nth-child(1) { --dx: -16px; --dy: -16px; } .gate i:nth-child(2) { --dx: 16px; --dy: -16px; }
.gate i:nth-child(3) { --dx: -16px; --dy: 16px; } .gate i:nth-child(4) { --dx: 16px; --dy: 16px; }
.gate.hit i { animation: ffgate .5s var(--ease-snap); }
@keyframes ffgate { 0% { transform: translate(var(--dx), var(--dy)); border-color: var(--g-hi); } 100% { transform: none; } }
.gate.hit { animation: none; }
.rp.won { animation: fftile .8s var(--ease-snap); }
@keyframes fftile { 0% { transform: scale(1); } 30% { transform: scale(1.07); box-shadow: 0 0 0 3px var(--g-hi), 0 0 60px rgba(255,215,94,.6); } 100% { transform: scale(1); box-shadow: 0 0 0 2px var(--g), 0 0 30px rgba(217,180,90,.3); } }

/* ---------- lower ---------- */
.lower { grid-template-columns: minmax(0,1fr) 468px; gap: 32px; padding: 22px 44px 22px; height: 640px; }

/* landed: the film that stopped in the gate */
.film-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; min-width: 0; }
.film-head { margin: 0; min-width: 0; gap: 14px; }
.film-head h3 { font-family: var(--f-d); font-weight: 800; font-size: 54px; letter-spacing: 0; line-height: .95; }
.film-head .yr { font-family: var(--f-d); font-weight: 600; font-size: 28px; color: var(--silver); }
.film-meta { margin: 0 0 4px; gap: 8px; min-height: 0; flex: none; }
.tag { height: 30px; padding: 0 10px; gap: 6px; background: var(--ink-1); border: 1px solid var(--line-2); font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); white-space: nowrap; }
.tag b { color: var(--ivory); font-weight: 700; letter-spacing: .04em; }
.tag .ic { width: 14px; height: 14px; color: var(--g); }
.tag.amber { background: var(--ink-1); border-color: var(--g-a); color: var(--g-hi); }
.tag.imdb { background: #f5c518; border-color: #f5c518; color: #0b0b0b; letter-spacing: .04em; text-transform: none; font-size: 14px; }
.tag.imdb b { color: #0b0b0b; font-weight: 800; }
.tag.done { color: var(--ivory); border-color: var(--line-2); }
.tag.done .ic { color: var(--g); }

.parts { display: flex; flex-direction: column; gap: 22px; }
.row1 { display: flex; gap: 28px; align-items: flex-start; min-width: 0; }
.grp { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.grp.story { flex: 0 1 auto; }
.grp.crew { flex: 0 1 auto; }
.gk { display: flex; align-items: center; gap: 10px; height: 14px; }
.gk span { color: var(--g); letter-spacing: .12em; }
.chips { gap: 8px; flex-wrap: nowrap; min-width: 0; }
.chip { position: relative; height: 84px; min-width: 104px; flex: 0 1 auto; padding: 0 18px; justify-content: center; gap: 4px; background: var(--ink-2); border: 0; overflow: visible;
  transition: transform .14s var(--ease-out), background .14s, opacity .2s; }
.chip .k { font-size: 13px; line-height: 1; }
.chip .v { font-family: var(--f-d); font-weight: 700; font-size: 27px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.chip.rating .v { font-family: var(--f-d); font-weight: 800; font-size: 22px; letter-spacing: .04em; border: 2px solid var(--ivory); padding: 0 7px; margin-top: 2px; line-height: 1.15; }
.chip:hover:not(.off), .pc:hover:not(.off), .sfilm:hover { transform: translateY(-4px); background: var(--ink-3); box-shadow: 0 14px 30px rgba(0,0,0,.55); border-color: transparent; }
.chip:hover:not(.off)::after, .pc:hover:not(.off)::after, .chip:focus-visible::after, .pc:focus-visible::after, .sfilm:hover::after { opacity: 1; transform: none; }
.chip:active:not(.off), .pc:active:not(.off) { transform: translateY(-1px) scale(.97); }
.chip:focus-visible, .pc:focus-visible { outline: none; }
.chip.off { opacity: .26; }
.pc.off { opacity: .26; filter: grayscale(1); }

/* crew: compact landscape cards */
.crewrow { display: flex; gap: 8px; min-width: 0; }
.pc { background: var(--ink-2); border: 0; overflow: hidden; transition: transform .14s var(--ease-out), background .14s, box-shadow .14s, opacity .2s; }
.pc.dirc { display: grid; grid-template-columns: 67px minmax(0,1fr); height: 84px; width: 236px; max-width: none; flex: 0 1 236px; min-width: 170px; }
.pc.dirc .face, .pc.dirc .mono { width: 67px; height: 84px; aspect-ratio: auto; }
.pc.dirc .body { padding: 9px 12px 8px; display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.pc.dirc .nm { font-size: 21px; height: auto; -webkit-line-clamp: 1; white-space: nowrap; text-overflow: ellipsis; display: block; }
.pc.dirc .kf { margin-top: 0; font-size: 13px; }
.pc.dirc .role, .pc .role { position: static; background: none; padding: 0; color: var(--g); font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; }
.pc.dirc .fee { position: absolute; right: 10px; top: 9px; background: none; padding: 0; font-size: 15px; }
.pc .mono { font-family: var(--f-d); font-weight: 800; font-size: 34px; color: var(--line-2); background: var(--ink-1); display: flex; align-items: center; justify-content: center; }
.pc .mono .ic { width: 30px; height: 30px; color: var(--line-2); }

/* cast: portrait cards on a fixed 8-up grid so every card is the same size */
.people { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 10px; }
.people .pc { max-width: none; }
.pc .face { aspect-ratio: 4 / 5; }
.pc:not(.dirc) .mono { aspect-ratio: 4 / 5; font-size: 54px; }
.pc .body { padding: 9px 11px 11px; }
.pc .nm { font-family: var(--f-d); font-weight: 700; font-size: 22px; line-height: 1.04; height: 46px; color: var(--ivory); }
.pc .kf { font-family: var(--f-ui); font-weight: 500; font-size: 13px; color: var(--silver); margin-top: 4px; }
.pc .fee { top: 8px; right: 8px; padding: 3px 6px 2px; background: rgba(5,6,10,.86); }

/* salary: always four marks, the paid ones lit */
.fee { font-family: var(--f-d); font-weight: 800; letter-spacing: .02em; color: inherit; display: inline-flex; gap: 0; line-height: 1; }
.fee i { font-style: normal; color: rgba(169,173,189,.28); }
.fee i.on { color: var(--g); }
.fee.f4 i.on { color: var(--g-hi); }
.fee.free i.on { color: #8fd39f; letter-spacing: .04em; text-transform: uppercase; }

/* billing: which role? */
.bill { background: rgba(5,6,10,.97); padding: 10px; gap: 6px; justify-content: flex-start; padding-top: 14px; }
.bill .bt { text-align: left; color: var(--g); font-size: 13px; margin: 0 0 4px 2px; }
.bill button { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: var(--ink-2); border: 1px solid var(--line-2); font-family: var(--f-d); font-weight: 700; font-size: 20px; letter-spacing: .03em; color: var(--ivory); transition: background .12s, color .12s, border-color .12s; }
.bill button small { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bill button:hover:not([disabled]) { background: var(--g); color: var(--ink-0); border-color: var(--g); }
.bill button.vil:hover:not([disabled]) { background: var(--red); color: #fff; border-color: var(--red); }
.bill button[disabled] { opacity: 1; color: var(--mute); background: transparent; border-color: var(--line); text-decoration: line-through; text-decoration-thickness: 1px; }
.bill button[disabled] small { text-decoration: none; }
.bill { animation: ffbill .18s var(--ease-out); }
@keyframes ffbill { from { opacity: 0; transform: translateY(8px); } }

/* deal-in: quick, no blur (blur smears at stream bitrate) */
#landed.deal .chip, #landed.deal .pc, #landed.deal .film-head, #landed.deal .film-meta { animation: ffdeal .42s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 34ms); }
@keyframes ffdeal { 0% { opacity: 0; transform: translateY(26px) scale(.96); } 100% { opacity: 1; transform: none; } }
#landed.deal .pc.off, #landed.deal .chip.off { animation-name: ffdealoff; }
@keyframes ffdealoff { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: .26; transform: none; } }
#landed.deal .gk { animation: fffade .3s both; }
@keyframes fffade { from { opacity: 0; } }

/* ---------- start / rolling / complete ---------- */
.landed-empty { justify-content: center; gap: 22px; padding: 0 0 12px; height: 100%; }
.brief-big { position: relative; gap: 10px; padding: 22px 28px 22px; background: var(--ink-1); border: 1px solid var(--g-a); max-width: none; }
.brief-big .bb-k { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.brief-big .bb-k .ic { width: 18px; height: 18px; }
.brief-big b { font-family: var(--f-d); font-weight: 800; font-size: 50px; line-height: 1; color: var(--ivory); }
.brief-big .bb-terms span { font-size: inherit; font-weight: inherit; color: inherit; text-transform: none; letter-spacing: 0; }
.bb-terms { display: flex; gap: 20px; align-items: baseline; font-family: var(--f-ui); font-weight: 600; font-size: 16px; color: var(--silver); }
.bb-terms em { font-style: normal; font-family: var(--f-d); font-weight: 800; font-size: 22px; margin-left: 4px; }
.bb-terms .ok em { color: var(--g); } .bb-terms .no em { color: var(--red-hi); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; background: var(--ink-1); border: 1px solid var(--line); }
.steps i { font-style: normal; font-family: var(--f-d); font-weight: 800; font-size: 20px; letter-spacing: .1em; color: var(--g); }
.steps b { font-family: var(--f-d); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ivory); }
.steps span { font-family: var(--f-ui); font-weight: 500; font-size: 17px; line-height: 1.35; color: var(--silver); }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; font-family: var(--f-ui); font-weight: 500; font-size: 16px; color: var(--silver); }
.facts > span { display: inline-flex; align-items: center; gap: 6px; }
.facts > span + span::before { content: ''; width: 4px; height: 4px; background: var(--g-lo); margin: 0 16px; }
.facts b { font-family: var(--f-d); font-weight: 700; font-size: 20px; color: var(--ivory); }
.facts .fee { font-size: 18px; }
.landed-empty.rolling { justify-content: center; gap: 12px; padding-bottom: 40px; }
.roll-k { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.roll-k .rec { width: 12px; height: 12px; background: var(--red); border-radius: 50% !important; animation: ffrec 1s steps(2) infinite; }
@keyframes ffrec { 50% { opacity: .15; } }
.landed-empty.rolling h3 { font-family: var(--f-d); font-weight: 800; font-size: 56px; color: var(--mute); }
.landed-empty.done { justify-content: center; gap: 18px; padding-bottom: 20px; }
.done-k { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.done-k .ic { width: 18px; height: 18px; }
.landed-empty.done h3 { font-family: var(--f-d); font-weight: 800; font-size: 64px; line-height: 1; margin-top: -4px; }
.lineup { gap: 12px; }
.lineup .lu { position: relative; width: 158px; gap: 0; background: var(--ink-2); }
.lineup .lu img, .lineup .lu .mono { width: 158px; height: 198px; border: 0; }
.lineup .lu.vil img { border: 0; }
.lineup .lu.vil { box-shadow: 0 0 0 2px var(--red); }
.lineup .lu span { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); margin: 9px 11px 0; }
.lineup .lu.vil span { color: var(--red-hi); }
.lineup .lu b { font-family: var(--f-d); font-weight: 700; font-size: 21px; line-height: 1.05; margin: 2px 11px 11px; }
.lineup .lu::after { opacity: .0; }
.landed-empty.done .lu { animation: ffdeal .5s var(--ease-out) both; }
.landed-empty.done .lu:nth-child(2) { animation-delay: .05s } .landed-empty.done .lu:nth-child(3) { animation-delay: .1s }
.landed-empty.done .lu:nth-child(4) { animation-delay: .15s } .landed-empty.done .lu:nth-child(5) { animation-delay: .2s } .landed-empty.done .lu:nth-child(6) { animation-delay: .25s }

/* ---------- the picture ---------- */
.picture { background: var(--ink-1); border: 1px solid var(--line); box-shadow: none; padding: 16px 18px 18px; min-height: 0; }
.picture-head { align-items: center; margin-bottom: 14px; }
.picture-head h2 { font-family: var(--f-d); font-weight: 800; font-size: 30px; letter-spacing: 0; color: var(--ivory); line-height: 1; }
.picture-count { display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--mute); }
.picture-count b { font-family: var(--f-d); font-weight: 800; font-size: 22px; color: var(--ivory); }
.pc-segs { display: flex; gap: 3px; }
.pc-segs i { width: 12px; height: 6px; background: var(--line-2); transition: background .3s; }
.pc-segs i.on { background: var(--g); }
.slots { gap: 3px; margin: 0; }
.slot { height: 36px; grid-template-columns: 90px 28px minmax(0,1fr) auto; gap: 10px; padding: 0 10px 0 12px; background: var(--ink-0); border: 1px solid var(--line); outline: 0; }
.slot.empty { background: var(--ink-0); outline: 0; }
.slot[data-slot="dir"], .slot[data-slot="lead"] { margin-top: 9px; }
.slot .sl { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.slot.empty .sl { color: var(--mute); }
.slot .th { width: 28px; height: 32px; }
.slot .th.box { background: transparent; border: 1px dashed transparent; }
.slot.empty .th.box { background: var(--ink-1); }
.slot .sv b { font-family: var(--f-d); font-weight: 700; font-size: 20px; line-height: 1; color: var(--ivory); }
.slot.empty .sv b { font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--line-2); letter-spacing: .04em; }
.slot .sv small { font-family: var(--f-ui); font-weight: 500; font-size: 13px; color: var(--mute); margin-top: 2px; }
.slot.filled { background: var(--ink-2); border-color: var(--line-2); }
.slot.vil.filled { background: rgba(212,42,68,.08); border-color: rgba(212,42,68,.55); }
.slot.vil.filled .sl { color: var(--red-hi); }
.slot .fee { font-size: 16px; }
.slot .th.sw { width: 18px; height: 18px; margin-left: 5px; border-radius: 0 !important; }
.slot .rbox { font-family: var(--f-d); font-weight: 800; font-size: 13px; border: 1.5px solid var(--ivory); padding: 0 3px; line-height: 1.2; }
.slot .swap { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g); background: transparent; border: 1px solid var(--g-a); }
.slot .swap .ic { width: 13px; height: 13px; }
.slot .swap:hover { background: var(--g); color: var(--ink-0); }
.slot.just { animation: ffslot .7s var(--ease-out); }
@keyframes ffslot { 0% { background: rgba(243,220,149,.55); border-color: var(--g-hi); } 100% { background: var(--ink-2); } }
.slot.land { animation: ffland .45s var(--ease-snap); }
@keyframes ffland { 0% { transform: scale(1.04); box-shadow: 0 0 0 2px var(--g-hi), 0 0 30px rgba(243,220,149,.4); } 100% { transform: none; box-shadow: none; } }
.chem { padding: 10px 0 0; gap: 6px; }
.chem .cl { align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--silver); }
.chem .cl span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chem .cl b { color: var(--ivory); font-weight: 700; }
.chem .cl .ic { width: 16px; height: 16px; color: var(--g); }
.chem .cl.bad .ic { color: var(--red-hi); }
.chem .cl.wild { color: var(--silver); }
.chem .cl.wild .ic { color: var(--ivory); }
.chem .cl.more { color: var(--mute); padding-left: 24px; font-size: 13px; }
.picture-actions { gap: 8px; padding: 12px 0 0; grid-template-columns: 1fr auto; }
.picture-actions .btn.ghost { height: 60px; font-size: 15px; }

/* ---------- fly-in ghost ---------- */
.fly { box-shadow: 0 0 0 2px var(--g-hi), 0 20px 50px rgba(0,0,0,.6); }

/* ---------- toast ---------- */
.toast { background: var(--ink-1); color: var(--ivory); border: 1px solid var(--g); font-family: var(--f-ui); font-weight: 600; font-size: 20px; padding: 14px 22px 14px 44px; box-shadow: 0 20px 50px rgba(0,0,0,.6); bottom: 36px; transition: opacity .25s, transform .35s var(--ease-out); }
.toast::before { content: ''; position: absolute; left: 20px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--g); transform: rotate(45deg); }

/* ====================== summary (after the premiere) ====================== */
.prem-right { padding-top: 0; justify-content: flex-start; }
.p-verdict { height: auto; min-height: 150px; gap: 22px; align-items: stretch; margin-bottom: 20px; }
.p-verdict .rc-mini { width: 150px; height: 150px; flex: none; background: var(--ink-1); border: 2px solid var(--tc, var(--silver)); color: var(--tc); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; animation: none; box-shadow: inset 0 0 0 5px var(--ink-1), inset 0 0 0 6px var(--tcf, rgba(255,255,255,.12)); }
.p-verdict .rc-mini span, .p-verdict .rc-mini em { font-family: var(--f-ui); font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.p-verdict .rc-mini em { color: var(--tc); }
.p-verdict .rc-mini b { font-family: var(--f-d); font-weight: 800; font-size: 78px; line-height: .9; background: var(--tg, linear-gradient(180deg, #fff, #c9d3e3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-verdict .rc-mini.t-legendary { --tc: #f3dc95; --tcf: rgba(243,220,149,.4); --tg: linear-gradient(180deg, #fffdf2, #fff0b8 35%, #f4c95a 65%, #fff6d6); background: radial-gradient(circle at 50% 30%, #1e1d26, #08080b 75%); }
.p-verdict .rc-mini.t-gold { --tc: #e8c260; --tcf: rgba(232,194,96,.35); --tg: linear-gradient(180deg, #fff3c4, #f0c24e 55%, #e0b54f); background: var(--ink-1); }
.p-verdict .rc-mini.t-silver { --tc: #dfe5ef; --tcf: rgba(223,229,239,.25); --tg: linear-gradient(180deg, #fff, #c4cdda 60%, #8d98ad); background: var(--ink-1); }
.p-verdict .rc-mini.t-bronze { --tc: #ff9d5c; --tcf: rgba(255,157,92,.3); --tg: linear-gradient(180deg, #fff2e6, #ffb27a 45%, #ec6a32); background: var(--ink-1); } /* copper, never tan */
.p-verdict .rc-mini.t-flop { --tc: var(--red-hi); --tcf: rgba(255,90,110,.3); --tg: linear-gradient(180deg, #ff8a98, var(--red-hi)); background: var(--ink-1); }
.p-verdict .stamp, .p-verdict .stamp.bad { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; color: var(--ivory); transform: none; }
.p-verdict .stamp::before { content: none; display: none; }
.p-verdict .stamp small { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.p-verdict .stamp b { font-family: var(--f-d); font-weight: 800; font-size: 58px; line-height: .98; color: var(--ivory); letter-spacing: 0; }
.p-verdict .stamp.bad b { color: var(--red-hi); }
.p-verdict .stamp span { font-family: var(--f-ui); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--silver); }
.p-verdict .stamp.slam { animation: ffverdict .6s var(--ease-out); }
@keyframes ffverdict { 0% { opacity: 0; transform: translateX(-24px); clip-path: inset(0 100% 0 0); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.p-extra { position: static; flex: none; width: 320px; display: flex; flex-direction: column; gap: 8px; justify-content: center; align-items: stretch; }
.p-extra .px { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 12px; height: 64px; padding: 0 16px 0 14px; background: var(--ink-1); border: 1px solid var(--line); font-size: inherit; }
.p-extra .px .pi { width: 24px; height: 24px; color: var(--silver); }
.p-extra .px .pt { text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; font-weight: inherit; }
.p-extra .px .pt { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.p-extra .px .pt span { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.p-extra .px b { font-family: var(--f-d); font-weight: 700; font-size: 20px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-extra .px i { font-style: normal; font-family: var(--f-d); font-weight: 800; font-size: 28px; color: var(--silver); }
.p-extra .px.ok { border-color: var(--g-a); } .p-extra .px.ok .pi, .p-extra .px.ok i { color: var(--g); }
.p-extra .px.miss { border-color: rgba(212,42,68,.6); } .p-extra .px.miss .pi, .p-extra .px.miss i { color: var(--red-hi); }
.p-title { font-family: var(--f-d); font-weight: 800; font-size: 60px; line-height: .98; margin: 0 0 8px; }
.p-sub { display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-weight: 500; font-size: 19px; color: var(--silver); margin-bottom: 20px; }
.p-sub i { width: 4px; height: 4px; background: var(--g-lo); }
.p-nums { gap: 10px; margin-bottom: 22px; }
.num { background: var(--ink-1); border: 1px solid var(--line); padding: 14px 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.num .k { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.num .v { font-family: var(--f-d); font-weight: 800; font-size: 52px; line-height: 1; color: var(--ivory); }
.num .s { font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--mute); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.num .s i { width: 3px; height: 3px; background: var(--mute); }
.num.hero { background: var(--ink-1); border: 1px solid var(--g); color: var(--ivory); box-shadow: inset 0 0 0 4px var(--ink-1), inset 0 0 0 5px rgba(217,180,90,.25); }
.num.hero .k { color: var(--g); }
.num.hero .s { color: var(--silver); }
.num.hero .v { background: linear-gradient(180deg, #fff3c4, #e8c260 60%, #c49a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num.hero.up .s b { color: var(--g-hi); } .num.hero.down .s b { color: var(--red-hi); }
.p-cols { grid-template-columns: minmax(0,1fr) 410px; gap: 36px; }
.p-story { font-family: var(--f-ui); font-weight: 500; font-size: 18px; line-height: 1.5; color: rgba(244,239,228,.88); }
.p-story > p { margin: 0 0 18px; }
.quotes { display: flex; flex-direction: column; gap: 14px; }
.quote { margin: 0; font-size: inherit; }
.quote p { margin: 0; font-family: var(--f-d); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ivory); }
.quote p::before { content: '\201C'; color: var(--g); margin-right: 2px; } .quote p::after { content: '\201D'; color: var(--g); margin-left: 1px; }
.quote cite { display: block; font-style: normal; font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); margin-top: 5px; }
.p-story .note { font-size: 14px; color: var(--mute); }
.why h4 { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); margin: 0 0 10px; }
.why ul { gap: 0; }
.why li { grid-template-columns: minmax(0,1fr) 62px 82px; gap: 8px; font-family: var(--f-ui); font-weight: 500; font-size: 16px; color: var(--ivory); padding: 8px 0; align-items: center; }
.why li + li { box-shadow: 0 -1px 0 var(--line); }
.why li .d { font-family: var(--f-d); font-weight: 700; font-size: 20px; }
.why li .d.pos { color: var(--g-hi); } .why li .d.neg { color: var(--red-hi); } .why li .d.z { color: var(--mute); }
.why li.hd { padding: 0 0 6px; }
.why li.hd .d, .why .hd { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.why li.wild .t { color: var(--g-hi); }
.trailer { margin-top: 18px; background: var(--ink-1); border: 1px solid var(--line); padding: 14px 18px 16px; font-family: var(--f-ui); font-weight: 500; font-size: 15px !important; line-height: 1.5; color: var(--silver); -webkit-line-clamp: 7; }
.trailer b { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); margin-bottom: 6px; }
.prem-right > .p-actions { gap: 10px; padding-top: 18px; }
.p-actions .btn { height: 56px; }
.p-actions .btn.primary { font-family: var(--f-d); font-weight: 800; font-size: 24px; letter-spacing: .06em; padding: 0 22px; }

/* ====================== sheets ====================== */
.sheet { background: rgba(3,4,7,.9); padding: 56px 0; align-items: flex-start; }
.sheet-inner { width: 1640px; max-height: 968px; background: var(--ink-1); border: 1px solid var(--line-2); padding: 30px 36px 36px; scrollbar-width: none; box-shadow: 0 40px 120px rgba(0,0,0,.8); animation: ffsheet .28s var(--ease-out); }
.sheet-inner::-webkit-scrollbar { display: none; }
@keyframes ffsheet { from { opacity: 0; transform: translateY(18px); } }
.sheet-inner.narrow { width: 940px; }
.sheet-head { margin-bottom: 24px; }
.sheet-head h2 { font-family: var(--f-d); font-weight: 800; font-size: 46px; letter-spacing: 0; color: var(--ivory); line-height: 1; }
.btn.close { height: 40px; }
.studio-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.studio-stats .num .v { font-size: 56px; }
.studio-stats .num .s { font-size: 15px; color: var(--silver); }
.studio-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sfilm { position: relative; background: var(--ink-2); transition: transform .14s var(--ease-out), background .14s, box-shadow .14s; }
.sfilm .mini { height: auto; aspect-ratio: 2 / 3; }
.sfilm .mini .poster { position: absolute; left: 0; top: 0; transform: scale(.37576); transform-origin: 0 0; box-shadow: none; }
.sfilm .info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.sfilm .info b { font-family: var(--f-d); font-weight: 700; font-size: 22px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfilm .info .vd { font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--silver); }
.sfilm .info .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.sfilm .info .ww { font-family: var(--f-d); font-weight: 700; font-size: 20px; color: var(--ivory); }
.sfilm .tier { font-family: var(--f-d); font-weight: 800; font-size: 18px; line-height: 1; padding: 4px 8px 3px; border: 1px solid currentColor; color: var(--silver); }
.sfilm .tier.t-legendary { color: #f3dc95; } .sfilm .tier.t-gold { color: #e8c260; } .sfilm .tier.t-silver { color: #dfe5ef; } .sfilm .tier.t-bronze { color: #ff9d5c; } .sfilm .tier.t-flop { color: var(--red-hi); }
.studio-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 80px 0 90px; text-align: center; }
.studio-empty .ic { width: 48px; height: 48px; color: var(--line-2); }
.studio-empty b { font-family: var(--f-d); font-weight: 800; font-size: 36px; }
.studio-empty span { font-size: 18px; color: var(--silver); }
.credits-note { font-family: var(--f-ui); font-size: 16px; line-height: 1.5; color: var(--silver); margin: 0 0 18px; }
.credits-list { font-family: var(--f-ui); font-size: 13px; }
.credits-list b { color: var(--ivory); font-weight: 600; }

/* settings */
.set-group { background: var(--ink-2); padding: 18px 22px 20px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 14px; }
.set-group h3 { margin: 0; font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.set-row, .set-row:last-child { flex-direction: column; gap: 8px; margin: 0; font-size: inherit; }
.set-row.inline { flex-direction: row; align-items: center; justify-content: space-between; }
.set-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.set-row label { font-family: var(--f-ui); font-weight: 600; font-size: 16px; color: var(--silver); }
.set-row input, .set-row select { font-family: var(--f-ui); font-weight: 500; font-size: 17px; height: 48px; padding: 0 14px; background: var(--ink-0); color: var(--ivory); border: 1px solid var(--line-2); outline: 0; transition: border-color .15s; }
.set-row input:focus, .set-row select:focus { border-color: var(--g); }
.set-row input::placeholder { color: var(--mute); }
.set-row select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--ink-0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23d9b45a' stroke-width='2.5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.set-row.inline input { width: 96px; text-align: center; font-family: var(--f-d); font-weight: 800; font-size: 24px; }
.sheet .hint { font-family: var(--f-ui); font-size: 14px; line-height: 1.5; color: var(--mute); margin: 0; }
.sheet .hint code { font-family: ui-monospace, monospace; font-size: 13px; color: var(--silver); background: var(--ink-0); padding: 1px 5px; }
.tog { display: flex; align-items: center; gap: 14px; cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-size: 18px; color: var(--ivory); }
.tog input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; flex: none; background: var(--ink-0); border: 1px solid var(--line-2); cursor: pointer; transition: background .12s, border-color .12s; }
.tog input:hover { border-color: var(--g); }
.tog input:checked { background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L20 7' fill='none' stroke='%2305060a' stroke-width='3.2'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--g); }
.tog input:focus-visible { outline: 2px solid var(--g-hi); outline-offset: 2px; }
.set-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.btn.danger:hover:not([disabled]) { border-color: var(--red); color: var(--red-hi); }

@media (prefers-reduced-motion: reduce) {
  #landed.deal .chip, #landed.deal .pc, #landed.deal .film-head, #landed.deal .film-meta, .gate.hit i, .rp.won, .slot.just, .slot.land, .bill, .sheet-inner, .landed-empty.done .lu, .p-verdict .stamp.slam, .roll-k .rec { animation: none !important; }
  .chip::after, .pc::after, .sfilm::after { transition: none; }
}

/* rolling: a skeleton of the deal, so the cards land where the eye already is */
.skel { height: 100%; }
.skel .film-top { height: 51px; align-items: center; }
.skel .roll-k { font-size: 15px; }
.sk i { display: block; position: relative; overflow: hidden; background: var(--ink-1); border: 1px solid rgba(36,41,56,.6); }
.sk i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(244,239,228,.045) 50%, transparent 70%); background-size: 250% 100%; animation: ffshim 1.2s linear infinite; }
@keyframes ffshim { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.sk.chips i { width: 150px; height: 84px; flex: none; }
.sk.chips i:first-child { width: 220px; }
.sk.crewrow i { width: 236px; height: 84px; flex: none; }
.sk.people i { height: 286px; }
.skel .gk { color: var(--mute); }

/* empty slot placeholders */
.slot.empty .th.box .ic { width: 16px; height: 16px; color: var(--line-2); }
.slot.empty .th.box { display: flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .sk i::after { animation: none; } }
/* overflowing write-ups fade out instead of being guillotined mid-line */
.p-story, .why { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent); padding-bottom: 40px; }

/* ======== AD pass: stream readability, buttons that fit, a billing menu that owns its card ======== */
/* micro labels: 13-14px tracked caps is the floor for anything a viewer on a phone needs to read */
.micro, .gk, .bk, .ml, .bt, .chip .k { font-size: 14px; }
.top-progress .bk, .reshoot-meter .ml { font-size: 13px; letter-spacing: .16em; }
.mode-toggle button { font-size: 14px; }
/* the HUD never shifts when the budget gains a digit */
.top-progress .budget { min-width: 168px; }
.top-progress .budget b { font-variant-numeric: tabular-nums; }
/* the primary action: label and key cap always fit inside the button, no sheen smudge when disabled */
.btn.big { font-size: 25px; letter-spacing: .04em; padding: 0 16px 0 20px; justify-content: space-between; gap: 12px; white-space: nowrap; min-width: 0; }
.btn.big > span { min-width: 0; overflow: hidden; text-overflow: clip; }
.btn.big kbd { font-size: 12px; padding: 4px 6px; flex: none; }
.btn[disabled]::after, .btn.primary[disabled]::after { display: none; }
.picture-actions { grid-template-columns: minmax(0,1fr) 172px; }
.picture-actions .btn.ghost { padding: 0 14px; justify-content: center; letter-spacing: .1em; }
/* the picture: bigger type in the rows, poster thumbs for stolen story parts */
.slot { height: 38px; grid-template-columns: 96px 28px minmax(0,1fr) auto; }
.slot[data-slot="dir"], .slot[data-slot="lead"] { margin-top: 7px; }
.slot .sl { font-size: 13px; letter-spacing: .12em; }
.slot .sv b { font-size: 21px; }
.slot .sv small { font-size: 14px; color: var(--silver); opacity: .8; }
.slot .th { width: 28px; height: 34px; object-fit: cover; }
.slot .th.box .ic { width: 16px; height: 16px; color: var(--mute); }
.slot.filled .th.box { background: var(--ink-1); }
.chem { gap: 4px; }
.chem .cl { font-size: 15px; }
.chem .cl.more { font-size: 14px; }
/* landed film: crew names fit, film credits readable */
.pc.dirc { width: 270px; flex: 0 1 270px; }
.pc.dirc .kf, .pc .kf { font-size: 14px; }
.pc.dirc .role, .pc .role { font-size: 13px; }
/* billing: an opaque menu that replaces the card face; filled roles are quiet, not struck through */
.bill { background: var(--ink-0); box-shadow: inset 0 0 0 1px var(--line-2); z-index: 5; }
.pc:has(.bill)::after { opacity: 0 !important; }
.pc:has(.bill) .fee { visibility: hidden; }
.bill .bt { font-size: 14px; }
.bill button { gap: 8px; height: 42px; }
.bill button[disabled] { text-decoration: none; color: var(--mute); border-style: dashed; }
.bill button small { font-size: 12px; letter-spacing: .1em; color: var(--mute); flex: none; }
/* the start screen breathes less and reads bigger */
.facts { font-size: 17px; }
.lineup .lu .mono { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 38%, #1d2130, #0b0d14 75%); font-family: var(--f-d); font-weight: 800; font-size: 54px; color: rgba(217,180,90,.45); }
.lineup .lu .mono .ic { width: 64px; height: 64px; color: rgba(217,180,90,.5); }
.pc .mono { background: radial-gradient(circle at 50% 38%, #1d2130, #0b0d14 75%); color: rgba(217,180,90,.4); }
.pc .mono .ic { color: rgba(217,180,90,.5); }
.slot .th.box { font-family: var(--f-d); font-weight: 800; font-size: 13px; color: var(--g); }
.slot .rbox { font-size: 10px; white-space: nowrap; letter-spacing: 0; padding: 0 2px; border-width: 1px; }
/* complete: the line-up spans the column instead of stopping two-thirds across */
.lineup { gap: 14px; }
.lineup .lu { width: 212px; }
.lineup .lu img, .lineup .lu .mono { width: 212px; height: 265px; }
.lineup .lu span { font-size: 13px; }
.lineup .lu b { font-size: 24px; }

/* ===== reel v3: no curtains. A black projection booth, the film on a drum, light only at the gate ===== */
.reel-band { background: radial-gradient(ellipse 34% 90% at 50% 50%, #12131a 0%, #050508 55%, #000 100%); border-top: 1px solid rgba(217,180,90,.22); border-bottom: 1px solid rgba(217,180,90,.22); overflow: clip; }
.reel-band::before, .reel-band::after { width: 420px; top: -2px; bottom: -2px; z-index: 4; -webkit-mask-image: none; mask-image: none; transform: none;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.92) 18%, rgba(0,0,0,.55) 52%, transparent 100%); }
.reel-band::before { left: -2px; right: auto; }
.reel-band::after { right: -2px; left: auto; background: linear-gradient(270deg, #000 0%, rgba(0,0,0,.92) 18%, rgba(0,0,0,.55) 52%, transparent 100%); }
.reel-window::after { width: 760px; top: -60px; height: 460px; z-index: 0; background: radial-gradient(ellipse 50% 55% at 50% 48%, rgba(255,236,196,.13), rgba(255,236,196,.04) 45%, transparent 72%); }
.reel-strip { transform-style: flat; }
.rp { position: relative; backface-visibility: hidden; }
.rp::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.reel-strip.blur { filter: blur(2px); }

/* ===== the drum: true 3D. One perspective camera; the strip is a ring of film frames tangent to a cylinder ===== */
.reel-window { inset: 0; overflow: hidden; perspective: 1500px; perspective-origin: 50% 50%; }
.reel-drum { position: absolute; left: 50%; top: 0; width: 0; height: 100%; transform-style: preserve-3d; transform: translateZ(-1150px); }
.reel-strip { position: absolute; left: 0; top: 0; width: 0; height: 100%; display: block; transform-style: preserve-3d; transform: none !important; filter: none !important; will-change: auto; }
.reel-window:has(.reel-strip.blur) { filter: blur(1.6px); }
.fr { position: absolute; left: -100.5px; top: 0; width: 201px; height: 100%; display: flex; align-items: center; justify-content: center; backface-visibility: hidden;
  /* the film stock and its sprocket holes are painted, not masked: a mask per frame made every spin frame expensive */
  background:
    repeating-linear-gradient(90deg, #06070a 0 17px, #2c2f38 17px 33px, #06070a 33px 50px) 0 8px / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, #06070a 0 17px, #2c2f38 17px 33px, #06070a 33px 50px) 0 calc(100% - 8px) / 100% 18px no-repeat,
    #050507; }
.fr .rp { flex: none; }
.sprockets { display: none; }

/* ===== breathing room in the picture slots ===== */
.slot { height: 44px; }
.slots { gap: 5px; }

/* ===== reshoots live on the Reshoot button ===== */
#btnReshoot { gap: 10px; }
#btnReshoot .reshoots { display: inline-flex; gap: 4px; margin: 0 2px; }
#btnReshoot .can { width: 14px; height: 14px; }

/* ===== "known for" chip on every person card, and its popover ===== */
.pc { position: relative; }
.pinfo { position: absolute; right: 6px; bottom: calc(100% - 26px); width: 22px; height: 22px; display: none; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; font-style: normal; color: #10131c; background: rgba(246,227,161,.92); cursor: help; z-index: 3; }
.pc .pinfo { display: flex; top: 34px; bottom: auto; }
.pc:not(.dirc) .pinfo { top: 36px; }
.pinfo:hover { background: #fff; }
.pinfo-pop { position: absolute; z-index: 30; width: 330px; padding: 14px 16px 12px; background: rgba(8,9,14,.97); border: 1px solid rgba(217,180,90,.55); box-shadow: 0 18px 50px rgba(0,0,0,.7); animation: popin .16s ease-out; }
@keyframes popin { from { opacity: 0; transform: translateY(6px); } }
.pinfo-pop .pi-n { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; color: #f4efe4; }
.pinfo-pop .pi-d { font-size: 16px; color: var(--dim); margin-top: 2px; }
.pinfo-pop .pi-k { margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.pinfo-pop ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pinfo-pop li { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; color: #f4efe4; }
.pinfo-pop li b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinfo-pop li span { color: var(--dim); font-variant-numeric: tabular-nums; }
/* the villain is a role like any other on the board: no red box, just a red word */
.slot.vil.filled { background: var(--ink-0); border-color: var(--line); }
.slot.vil.filled .sl { color: var(--red-hi); }
.lineup .lu.vil { box-shadow: none; }
/* reshoot button with its reels has to fit next to Spin */
.picture-actions { grid-template-columns: minmax(0,1fr) auto; }
#btnReshoot { padding: 0 12px; }
#btnReshoot > .ic { display: none; }
#btnReshoot kbd { display: none; }

/* =====================================================================
   Overnight pass: board
   ===================================================================== */
/* stream floor: nothing a viewer must read is under 14px */
.micro, .gk, .bk, .ml, .bt, .chip .k { font-size: 15px; }
.pc.dirc .kf, .pc .kf { font-size: 15px; }
.slot .sl { font-size: 14px; }
.slot .sv small { font-size: 15px; }
.tag { font-size: 14px; }

/* no photo: the same frame as everyone else, a quiet silhouette, never initials or an icon */
.sil { position: relative; overflow: hidden; display: block; background: radial-gradient(120% 85% at 50% 18%, #1c2130, #0c0e15 78%); color: #262c3d; }
.sil svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; display: block; }
.sil::after { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 20%, rgba(255,255,255,.018) 0 1px, transparent 1px 3px); pointer-events: none; }
.pc:not(.dirc) .sil { width: 100%; aspect-ratio: 4 / 5; }
.pc.dirc .sil { width: 67px; height: 84px; }
.lineup .lu .sil { width: 212px; height: 265px; }
.slot .th.silbox { padding: 0; background: transparent; overflow: hidden; }
.slot .th.silbox .sil { width: 28px; height: 34px; }

/* the "known for" chip sits on the photo's bottom-right corner, never over a name */
.pc { container-type: inline-size; }
.pc .pinfo, .pc:not(.dirc) .pinfo { top: calc(125cqw - 30px); bottom: auto; right: 6px; width: 24px; height: 24px; font-family: var(--f-d); font-size: 16px; font-weight: 800; color: var(--ivory); background: rgba(5,6,10,.82); box-shadow: inset 0 0 0 1px rgba(244,239,228,.28); }
.pc.dirc .pinfo { top: 56px; right: auto; left: 39px; }
.pc .pinfo:hover { background: var(--ivory); color: var(--ink-0); }
.pc.dirc .nm { font-size: 21px; }

/* the slot stays empty until the stolen card lands in it */
.slot.pending .th, .slot.pending .sv, .slot.pending .fee, .slot.pending .swap { opacity: 0; }
.slot.land { animation: ffland2 .6s var(--ease-out); }
@keyframes ffland2 { 0% { transform: scale(1.04); box-shadow: 0 0 0 2px var(--g-hi); } 30% { transform: none; } 100% { box-shadow: 0 0 0 2px transparent; } }
.fly { box-shadow: 0 0 0 2px var(--g-hi), 0 24px 60px rgba(0,0,0,.65); }
.fly .pinfo, .fly .fee, .fly .bill { display: none !important; }

/* after a pick: what was stolen stays lit, everything else steps back */
.chip.off, .pc.off { opacity: .3; }
.chip.taken, .pc.taken { opacity: 1 !important; filter: none !important; }
.chip.taken::after, .pc.taken::after { opacity: 1 !important; transform: none !important; }
.chip.taken::before, .pc.taken::before { content: 'Stolen'; position: absolute; z-index: 4; left: 0; top: 0; padding: 4px 8px 3px; background: var(--g); color: var(--ink-0); font-family: var(--f-ui); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.pc.taken .fee { visibility: hidden; }
#landed.deal .pc.taken, #landed.deal .chip.taken { animation: none; }

/* the trades: one line of industry press about the pick, where the film's tags were */
.film-top.is-taken { align-items: flex-end; }
.trades { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 860px; min-width: 0; text-align: right; margin-bottom: 2px; opacity: 0; }
.trades.on { opacity: 1; animation: fftrades .5s var(--ease-out) both; }
@keyframes fftrades { from { clip-path: inset(0 0 0 100%); transform: translateX(14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.trades .tk { font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.trades .tx { font-family: var(--f-d); font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--ivory); text-wrap: balance; }
.trades.t-good .tk { color: var(--g-hi); }
.trades.t-bad .tk { color: var(--red-hi); }
.trades.t-wild .tk { color: var(--ivory); }
.trades .tx::before { content: '\201C'; color: var(--mute); } .trades .tx::after { content: '\201D'; color: var(--mute); }

/* rolling: the last board steps back out of focus; no skeleton shimmer */
#landed > * { transition: opacity .22s, filter .22s; }
#landed.rolling > :not(.roll-over) { opacity: .16; filter: blur(6px); pointer-events: none; }
.roll-over { position: absolute; left: 0; top: 4px; display: flex; align-items: center; gap: 14px; font-family: var(--f-d); font-weight: 800; font-size: 40px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); opacity: 0; pointer-events: none; }
#landed.rolling .roll-over { opacity: .9; }
.roll-over .rec { width: 16px; height: 16px; background: var(--red); border-radius: 50% !important; animation: ffrec 1s steps(2) infinite; }
#landed:not(.rolling) .roll-over { display: none; }

/* recast: a part whose slot is already filled can still be taken, for a reshoot */
.chip.rcx, .pc.rcx { opacity: .62; filter: none; cursor: pointer; }
.chip.rcx:hover, .pc.rcx:hover { opacity: 1; transform: translateY(-4px); background: var(--ink-3); }
.chip.rcx:hover::after, .pc.rcx:hover::after { opacity: 1; transform: none; --brk: var(--ivory); }
.chip.rcx:hover::before, .pc.rcx:hover::before { content: 'Recast'; position: absolute; z-index: 4; left: 0; top: 0; padding: 4px 8px 3px; background: var(--ivory); color: var(--ink-0); font-family: var(--f-ui); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.bill button.rcb small { color: var(--g); }
.bill button.rcb:hover small { color: var(--ink-0); }
.bill .rc-note, .recast-pop .rc-note { font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--mute); margin-top: 2px; }
.recast-pop { position: absolute; z-index: 30; width: 340px; padding: 14px 14px 12px; background: rgba(5,6,10,.98); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0,0,0,.7); display: flex; flex-direction: column; gap: 6px; animation: popin .16s ease-out; }
.recast-pop .rp-k { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.recast-pop .rp-n { font-family: var(--f-d); font-weight: 800; font-size: 28px; line-height: 1.05; color: var(--ivory); margin-bottom: 4px; }
.recast-pop button { height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; background: var(--ink-2); border: 1px solid var(--line-2); font-family: var(--f-d); font-weight: 700; font-size: 20px; color: var(--ivory); cursor: pointer; text-align: left; }
.recast-pop button small { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); flex: none; }
.recast-pop button:hover { background: var(--g); border-color: var(--g); color: var(--ink-0); }
.recast-pop button:hover small { color: var(--ink-0); }

/* the start screen after the first picture: just the brief, big */
.landed-empty.again { justify-content: center; gap: 28px; }
.landed-empty.again .brief-big { padding: 30px 34px; }
.landed-empty.again .brief-big b { font-size: 76px; line-height: .98; }
.landed-empty.again .bb-terms { font-size: 22px; }
.landed-empty.again .bb-terms em { font-size: 28px; }
@keyframes ffdealrc { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: .62; transform: none; } }
#landed.deal .pc.off, #landed.deal .chip.off { animation-name: ffdealoff3; }
@keyframes ffdealoff3 { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: .3; transform: none; } }

#landed.deal .pc.off.rcx, #landed.deal .chip.off.rcx { animation-name: ffdealrc; }

/* =====================================================================
   Overnight pass: the summary. The rating is the hero; nothing sits under the webcam (x>1440, y<300).
   ===================================================================== */
.prem-right { position: relative; }
.p-head { display: flex; gap: 28px; align-items: stretch; width: 660px; min-height: 212px; margin-bottom: 30px; }
.p-head .rc-mini { width: 212px; height: 212px; flex: none; background: var(--ink-2); border: 0; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; }
.p-head .rc-mini::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--tc, var(--line-2)); opacity: .55; pointer-events: none; }
.p-head .rc-mini span { font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.p-head .rc-mini b { font-family: var(--f-d); font-weight: 800; font-size: 124px; line-height: .86; letter-spacing: -.01em; background: var(--tg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-head .rc-mini em { font-family: var(--f-d); font-style: normal; font-weight: 800; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc); }
.p-head .rc-mini.t-flop { --tc: #ff5a6e; --tg: linear-gradient(180deg, #ff8f9d, #ff5a6e); }
.p-head .rc-mini.t-bronze { --tc: #ff7a3a; --tg: linear-gradient(180deg, #ffa274, #ff7a3a); }
.p-head .rc-mini.t-silver { --tc: #e6e9f2; --tg: linear-gradient(180deg, #ffffff, #cfd5e2); }
.p-head .rc-mini.t-gold { --tc: #f3dc95; --tg: linear-gradient(180deg, #fff3c4, #f3dc95 45%, #d9b45a); }
.p-head .rc-mini.t-legendary { --tc: #f3dc95; --tg: linear-gradient(100deg, #fff6d6 0%, #f3dc95 30%, #ffffff 45%, #d9b45a 60%, #fff0b8 80%); background-size: 200% 100%; }
.p-head .rc-mini.t-legendary b { animation: fffoil 3.5s linear infinite; background-size: 200% 100%; }
@keyframes fffoil { to { background-position: -200% 0; } }
.p-head .stamp { position: relative; left: auto; top: auto; border-radius: 0; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; transform: none; color: var(--ivory); }
.p-head .stamp::before { content: none; }
.p-head .stamp small { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.p-head .stamp b { font-family: var(--f-d); font-weight: 800; font-size: 60px; line-height: .95; color: var(--ivory); text-wrap: balance; }
.p-head .stamp.bad b { color: var(--ivory); }
.p-head .stamp span { font-family: var(--f-ui); font-weight: 500; font-size: 21px; line-height: 1.3; color: var(--silver); }
.p-head .recs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.p-head .recs span { font-family: var(--f-ui); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-0); background: var(--g); padding: 5px 9px 4px; }
.p-title { font-size: 66px; margin: 0 0 8px; }
.p-sub { font-size: 21px; margin-bottom: 24px; }
.num .k { font-size: 15px; }
.num .v { font-size: 58px; }
.num .s { font-size: 16px; color: var(--silver); }
.p-cols { grid-template-columns: minmax(0,1fr) 470px; gap: 40px; }
.p-story { font-size: 20px; line-height: 1.45; }
.quote p { font-size: 24px; }
.quote cite { font-size: 13px; }
.why h4 { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; }
.why h4 small { font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--mute); }
.why li { grid-template-columns: 10px minmax(0,1fr) 48px; gap: 12px; font-size: 19px; line-height: 1.2; padding: 9px 0; }
.why li .dot { width: 8px; height: 8px; border-radius: 50% !important; background: var(--line-2); }
.why li .dot.c { background: var(--ivory); } .why li .dot.b { background: var(--g); } .why li .dot.f { background: transparent; box-shadow: inset 0 0 0 1.5px var(--silver); }
.why li .d { font-size: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.why li.fixed { box-shadow: 0 -1px 0 var(--line-2); }
.why li.fixed .t { color: var(--silver); }
.why li.wild .t { color: var(--ivory); }
.why { -webkit-mask-image: none; mask-image: none; padding-bottom: 0; display: flex; flex-direction: column; }
.regret { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 16px; align-items: center; margin-top: 18px; padding: 14px 16px; background: var(--ink-1); border: 1px solid var(--line-2); }
.regret.none { grid-template-columns: minmax(0,1fr); }
.regret img, .regret .rg-sil .sil { width: 76px; height: 95px; object-fit: cover; display: block; }
.regret .rg-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.regret .rg-t span { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.regret .rg-t b { font-family: var(--f-d); font-weight: 800; font-size: 28px; line-height: 1.02; color: var(--ivory); }
.regret .rg-t em { font-style: normal; font-family: var(--f-ui); font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--silver); text-wrap: balance; } /* the rating never sits alone on the last line */
.regret .rg-t em i { font-style: normal; font-family: var(--f-d); font-weight: 800; font-size: 22px; color: var(--ivory); }
.regret .rg-t em i.t-legendary, .regret .rg-t em i.t-gold { color: var(--g-hi); } .regret .rg-t em i.t-flop { color: var(--red-hi); }
.p-actions .btn.ghost { font-size: 15px; }
/* summary vertical budget: head 196, title, numbers, then a 420px band for the story and the why */
.p-head { min-height: 196px; margin-bottom: 24px; }
.p-head .rc-mini { width: 196px; height: 196px; }
.p-head .rc-mini b { font-size: 116px; }
.p-title { font-size: 60px; margin-bottom: 6px; }
.p-sub { margin-bottom: 20px; }
.p-nums { margin-bottom: 22px; }
.num { padding: 12px 18px; }
.num .v { font-size: 52px; }
.p-story { font-size: 19px; line-height: 1.42; }
.p-story > p { margin-bottom: 14px; }
.quotes { gap: 10px; }
.quote p { font-size: 22px; }
.why h4 { margin-bottom: 4px; }
.why li { font-size: 18px; padding: 7px 0; }
.why li .d { font-size: 22px; }
.regret { margin-top: 14px; padding: 10px 14px; grid-template-columns: 64px minmax(0,1fr); }
.regret img, .regret .rg-sil .sil { width: 64px; height: 80px; }
.regret .rg-t b { font-size: 26px; }
.regret .rg-t em { font-size: 16px; }
.regret.nopic { grid-template-columns: minmax(0,1fr); }

/* =====================================================================
   Overnight pass: sheets. The studio sits left of the webcam; settings hide the plumbing.
   ===================================================================== */
.sheet.left { justify-content: flex-start; padding: 40px 0 40px 44px; }
.sheet.left .sheet-inner { width: 1360px; max-height: 1000px; }
.studio-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sfilm .mini .poster { transform: scale(.3712); }
.sfilm.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.sfilm.ghost::after { display: none; }
.studio-stats .num .s { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfilm .info b { font-size: 21px; }
.sfilm .info .vd { font-size: 15px; }
details.adv { border-top: 1px solid var(--line); padding-top: 12px; }
details.adv summary { cursor: pointer; font-family: var(--f-ui); font-weight: 600; font-size: 16px; color: var(--silver); list-style: none; }
details.adv summary::before { content: '+'; display: inline-block; width: 18px; color: var(--g); font-weight: 800; }
details.adv[open] summary::before { content: '–'; }
details.adv[open] summary { margin-bottom: 12px; }
details.adv .hint { margin-top: 10px; }

/* the gate clamp on landing: a shutter flicker, then the neighbours step back while you pick */
.reel-window.flick::before { content: ''; position: absolute; inset: 0; z-index: 6; background: #000; pointer-events: none; opacity: 0; animation: ffflick 140ms steps(1, end) 1; }
@keyframes ffflick { 0% { opacity: .42; } 34% { opacity: 0; } 67% { opacity: .22; } 100% { opacity: 0; } }
.reel-band.focus .fr:not(.wonf) .rp::after { opacity: calc(var(--dim, 0) * .6 + .42); transition: opacity .35s ease-out; }
.reel-band .fr .rp::after { transition: none; }
.reel-band.focus .fr.wonf .rp { box-shadow: 0 0 0 2px var(--g), 0 0 40px rgba(217,180,90,.25); }
.top-progress .bb i { font-style: normal; font-size: 16px; color: var(--red-hi); margin-left: 6px; opacity: .9; }
.form { display: flex; align-items: center; gap: 18px; padding: 14px 0 0; }
.form .fk { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.form .fl { display: flex; gap: 6px; }
.form .fl i { font-style: normal; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--ink-2); font-family: var(--f-d); font-weight: 800; font-size: 26px; color: var(--ivory); box-shadow: inset 0 -3px 0 var(--tc, var(--line-2)); }
.form .fl i:first-child { width: 60px; height: 60px; font-size: 30px; }
.form .fl i.t-flop { --tc: #ff5a6e; color: #ff8f9d; } .form .fl i.t-bronze { --tc: #ff7a3a; } .form .fl i.t-silver { --tc: #e6e9f2; } .form .fl i.t-gold { --tc: #f3dc95; color: var(--g-hi); } .form .fl i.t-legendary { --tc: #f3dc95; color: #fff6d6; background: #1b1a14; }
.form .fx { font-family: var(--f-ui); font-weight: 500; font-size: 20px; color: var(--silver); }
.form .fx b { font-family: var(--f-d); font-weight: 800; font-size: 24px; color: var(--ivory); }
/* sequels */
.seq-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--f-d); font-weight: 800; font-size: 30px; letter-spacing: .02em; color: var(--g-hi); }
.seq-k .ic { width: 26px; height: 26px; color: var(--g); }
.seq-k span { flex-basis: 100%; font-family: var(--f-ui); font-weight: 500; font-size: 19px; letter-spacing: 0; color: var(--silver); }
.btn.seq { border-color: var(--g-a); }
.btn.seq span { color: var(--g-hi); }
.sfilm .info .part { font-family: var(--f-ui); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
/* chat prediction beat */
.bets { position: absolute; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: flex-start; padding-left: 140px; background: radial-gradient(1000px 700px at 35% 55%, rgba(12,14,22,.94), rgba(3,4,7,.97)); animation: fffade .3s both; }
.bets.out { opacity: 0; transition: opacity .3s; }
.bets-in { display: flex; flex-direction: column; gap: 18px; max-width: 1180px; }
.bets .bk { font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.bets h3 { margin: 0; font-family: var(--f-d); font-weight: 800; font-size: 120px; line-height: .92; color: var(--ivory); }
.bets .bt { display: flex; gap: 10px; margin-top: 10px; }
.bets .bt span { font-family: var(--f-d); font-weight: 800; font-size: 34px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px 12px; background: var(--ink-2); color: var(--tc); box-shadow: inset 0 -4px 0 var(--tc); }
.bets .bt .t-flop { --tc: #ff5a6e; } .bets .bt .t-bronze { --tc: #ff7a3a; } .bets .bt .t-silver { --tc: #e6e9f2; } .bets .bt .t-gold { --tc: #f3dc95; } .bets .bt .t-legendary { --tc: #fff0b8; }
.bets p { margin: 8px 0 0; font-family: var(--f-ui); font-weight: 500; font-size: 24px; color: var(--silver); }
.bets kbd { font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--ivory); }
/* the rating tile matches the premiere card's numerals exactly, so the card lands on its own colour */
.p-head .rc-mini.t-bronze { --tg: linear-gradient(180deg, #ffb089, #ff7a3a 40%); }
.p-head .rc-mini.t-silver { --tg: linear-gradient(#e6e9f2, #e6e9f2); }
.p-head .rc-mini.t-flop { --tg: linear-gradient(#ff5a6e, #ff5a6e); }
.p-head .rc-mini.t-gold { --tg: linear-gradient(180deg, #f3dc95, #d9b45a); }

/* QA fixes */
.p-title { max-width: 680px; white-space: nowrap; overflow: hidden; }
.p-title.two { white-space: normal; font-size: 40px !important; line-height: 1; text-wrap: balance; }
.bets { background: #05060a; }
/* recast menu inside a cast card: two-line buttons so "Replaces Stiller" never clips */
.bill button.rcb { height: auto; min-height: 44px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 5px 10px; }
.bill button.rcb small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bill button span { white-space: nowrap; }
.bill { gap: 5px; overflow: hidden; }
/* the "Stolen" / "Recast" tags sit on the chip's top edge, not over its label */
.chip.taken::before, .chip.rcx:hover::before { top: -11px; left: 10px; }
/* a creator/showrunner label never runs into the slot thumbnail */
.slot { grid-template-columns: 104px 28px minmax(0,1fr) auto; }
.slot .sl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#btnReshoot .rsn { font-family: var(--f-d); font-weight: 800; font-size: 20px; color: var(--g); }

/* =====================================================================
   Art pass 3 (independent art review): one portrait treatment, stream-size type, a reel that owns the spin,
   the living one-sheet, the trades as a lower third, TV logo cards, the stitch, the studio wall.
   TYPE SCALE 18 / 24 / 34 / 56 / 96 / 200. 18 px is the floor for anything a viewer reads.
   LINES      2px #343a4f, or separation by fill. Never a 1px hairline on ink.
   ===================================================================== */
:root { --line: #343a4f; --line-2: #3d4460; --face-bd: radial-gradient(60% 70% at 50% 30%, #1d2130, #0b0d14 70%); --ease-band: cubic-bezier(.2, .8, .2, 1); }

/* ---------- the portrait: .ffp (+ .cut | .photo | .none) ---------- */
.ffp { position: relative; display: block; overflow: hidden; container-type: inline-size; background: var(--face-bd); }
.ffp img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.ffp.cut img { filter: saturate(.9) contrast(1.06) drop-shadow(0 0 1px rgba(255, 216, 168, .62));
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
/* the whole photo, lightly graded, fading out at the bottom into the card (no floating-head mask) */
.ffp.photo img { filter: saturate(.92) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
.ffp.none { display: flex; align-items: center; justify-content: center; background: #12151e; }
.ffp.none b { font-family: var(--f-d); font-weight: 800; font-size: min(120px, 62cqw); line-height: 1; letter-spacing: -.01em; color: #2a2f44; text-transform: uppercase; }
.pc:not(.dirc) .ffp.pf { width: 100%; aspect-ratio: 4 / 5; }
.pc.dirc .ffp.pf { width: 67px; height: 84px; }
.pc.off .ffp img { filter: grayscale(1) contrast(1.06); }
.lineup .lu .ffp.pf { width: 212px; height: 265px; }
.regret .ffp.pf { width: 64px; height: 80px; }

/* ---------- the stage: board columns. The one-sheet panel sits under the webcam (y > 300) ---------- */
.lower { grid-template-columns: minmax(0, 1fr); padding: 18px 528px 0 44px; height: 640px; }
.picture { position: absolute; left: 1420px; top: 306px; width: 452px; height: 762px; z-index: 8; display: flex; flex-direction: column; gap: 0;
  padding: 10px 14px 12px; background: #0b0d14; border: 2px solid #343a4f; border-radius: 0; box-shadow: 0 30px 80px rgba(0,0,0,.65); }
.picture-head { height: 34px; margin: 0 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.picture-head h2 { font-family: var(--f-d); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.picture-count { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 600; font-size: 18px; color: var(--silver); }
.picture-count b { font-family: var(--f-d); font-weight: 800; font-size: 24px; color: var(--ivory); }
.pc-segs { gap: 3px; } .pc-segs i { width: 10px; height: 8px; background: #343a4f; }
.picture-count .swap { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; font-family: var(--f-ui); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--g-hi); background: #12151e; border: 2px solid #343a4f; cursor: pointer; }
.picture-count .swap .ic { width: 16px; height: 16px; color: var(--g); }
.picture-count .swap:hover { border-color: var(--g); }
.sheet-frame { position: relative; flex: none; width: 420px; height: 630px; overflow: hidden; background: #05060a; }
#livePoster { position: absolute; left: 0; top: 0; width: 660px; height: 990px; transform: scale(.636364); transform-origin: 0 0; box-shadow: none; border-radius: 0; }
.picture-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0; margin-top: auto; }
.picture-actions .btn { height: 60px; }
.picture.done #btnReshoot { display: none; }
.picture.done .picture-actions { grid-template-columns: 1fr; }
#btnSpin { font-size: 30px; }
#btnSpin kbd { font-size: 16px; }
#btnReshoot { font-size: 18px; padding: 0 14px; }
#btnReshoot .can { width: 16px; height: 16px; }

/* ---------- the reel owns the spin: the band opens 336 -> 520, frames grow x1.45, the board steps back ---------- */
.reel-band { z-index: 6; background: none; border: 0; overflow: visible; }
.band-bg { position: absolute; left: 0; right: 0; top: 0; height: 336px; transform-origin: 50% 0; pointer-events: none;
  background: radial-gradient(ellipse 34% 90% at 50% 50%, #12131a 0%, #050508 55%, #000 100%); }
.band-bg .rule { position: absolute; left: 0; right: 0; height: 2px; background: #343a4f; }
.band-bg .rule.t { top: 0; } .band-bg .rule.b { bottom: 0; transform-origin: 50% 100%; }
.reel-band::before, .reel-band::after { transform-origin: 50% 0; }
.band-bg, .reel-window, .gate, .reel-band::before, .reel-band::after, .lower, .picture, .band-bg .rule.b {
  transition: transform 420ms var(--ease-band), opacity 420ms var(--ease-band); }
.reel-window { transform-origin: 50% 168px; }
.stage.spinning .band-bg, .stage.spinning .reel-window, .stage.spinning .gate, .stage.spinning .reel-band::before, .stage.spinning .reel-band::after,
.stage.spinning .lower, .stage.spinning .picture, .stage.spinning .band-bg .rule.b { transition-duration: 380ms; }
.stage.spinning .band-bg { transform: scaleY(1.547619); }
.stage.spinning .band-bg .rule.b { transform: scaleY(.646154); }
.stage.spinning .reel-band::before, .stage.spinning .reel-band::after { transform: scaleY(1.547619); }
.stage.spinning .reel-window { transform: translateY(92px) scale(1.45); }
.stage.spinning .gate { transform: translateX(-50%) translateY(92px) scale(1.45); }
.stage.spinning .lower { transform: translateY(80px); opacity: .2; pointer-events: none; }
.stage.spinning .picture { opacity: .45; }
.stage.spinning .trades-bar { opacity: 0; }
/* the lock: brackets clamp 1.12 -> 1 in 180 ms; the reel window takes a two-frame shutter at 60% black */
.gate.hit, .gate.hit i { animation: none; }
.gate.hit { animation: fflock 180ms cubic-bezier(.2, .8, .2, 1); }
@keyframes fflock { from { scale: 1.12; } to { scale: 1; } }
.reel-window::before { content: ''; position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; }
.reel-window.flick::before { animation: ffshutter 34ms steps(1, end) 1; }
@keyframes ffshutter { 0% { opacity: .6; } 100% { opacity: 0; } }
#landed.rolling > * { opacity: 1; filter: none; pointer-events: auto; }
.roll-over { display: none !important; }

/* ---------- the landed film: stream type ---------- */
.micro, .gk, .bk, .ml, .bt, .chip .k { font-size: 18px; }
.gk { height: 20px; }
.film-top { margin-bottom: 14px; }
.film-head h3 { font-size: 56px; }
.film-head .yr { font-size: 34px; }
.tag { height: 34px; font-size: 18px; padding: 0 12px; border-width: 2px; }
.tag.imdb { font-size: 18px; }
.tag .ic { width: 16px; height: 16px; }
.parts { gap: 18px; }
.chip { height: 84px; padding: 0 18px; gap: 2px; background: #12151e; }
.chip .v { font-size: 34px; line-height: 1; }
.chip.rating .v { font-size: 26px; border-width: 3px; }
.pc { background: #0b0d14; }
.pc .body { padding: 9px 11px 11px; }
.pc .nm { font-family: var(--f-d); font-weight: 700; font-size: 24px; line-height: 1.02; height: 49px; }
.pc .kf, .pc.dirc .kf { font-size: 18px; margin-top: 3px; }
.pc .fee, .pc.dirc .fee { font-size: 18px; }
.pc.dirc { background: #12151e; }
.pc.dirc .nm { font-size: 24px; }
.pc.dirc .role, .pc .role { font-size: 18px; letter-spacing: .12em; }
.pc.dirc .body { padding: 8px 12px 8px; gap: 0; justify-content: center; }
.pc.dirc .pinfo { top: 54px; left: 39px; }
.fee i { color: rgba(169,173,189,.34); }
/* role chooser on a card */
.bill .bt { font-size: 18px; }
.bill button { font-size: 24px; height: 44px; }
.bill button small, .bill button.rcb small { font-size: 18px; letter-spacing: .04em; text-transform: none; }
.bill .rc-note, .recast-pop .rc-note { font-size: 18px; color: var(--silver); }
/* stolen: the card stays where it was, outlined, with a stamp */
.chip.taken, .pc.taken { outline: 3px dashed var(--g); outline-offset: -3px; }
.chip.taken::after, .pc.taken::after { opacity: 0 !important; }
.chip.taken::before, .pc.taken::before, .chip.rcx:hover::before, .pc.rcx:hover::before {
  content: 'Stolen'; position: absolute; z-index: 5; left: 10px; top: 10px; padding: 5px 9px 4px; transform: rotate(-6deg); transform-origin: 0 0;
  font-family: var(--f-ui); font-weight: 800; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--g-hi); background: #0b0d14; border: 2px solid var(--g); box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.chip.rcx:hover::before, .pc.rcx:hover::before { content: 'Recast'; color: var(--ivory); border-color: var(--ivory); }
/* on a chip the stamp sits where the kicker was, never above the chip (it used to cover the group label) */
.chip.taken::before, .chip.rcx:hover::before { left: 12px; top: 8px; }
.chip.taken .k, .chip.rcx:hover .k { visibility: hidden; }
.pc.taken .pinfo, .pc.rcx:hover .fee { visibility: hidden; }
/* popovers: opaque, a 2px rule, 12px off the card */
.pinfo-pop, .recast-pop { background: #12151e; border: 2px solid #343a4f; box-shadow: 0 24px 60px rgba(0,0,0,.75); }
.pinfo-pop { width: 340px; padding: 16px 18px 14px; }
.pinfo-pop .pi-n { font-size: 34px; }
.pinfo-pop .pi-d { font-size: 18px; color: var(--silver); margin-top: 4px; line-height: 1.25; }
.pinfo-pop .pi-k { font-size: 18px; color: var(--g); margin-top: 12px; }
.pinfo-pop li { font-size: 24px; font-family: var(--f-d); font-weight: 600; }
.pinfo-pop li span { font-size: 18px; font-family: var(--f-ui); }
.recast-pop { width: 360px; }
.recast-pop .rp-k { font-size: 18px; }
.recast-pop .rp-n { font-size: 34px; }
.recast-pop button { height: 50px; font-size: 24px; }
.recast-pop button small { font-size: 18px; letter-spacing: .06em; }

/* ---------- the trades: a lower third that stays until the next spin ---------- */
.trades { display: none; }
.trades-bar { position: absolute; left: 0; top: 984px; width: 1392px; height: 60px; z-index: 9; display: flex; align-items: center; gap: 22px; padding: 0 44px;
  background: rgba(0,0,0,.92); opacity: 0; transform: translateX(-48px); pointer-events: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.trades-bar.on { opacity: 1; transform: none; }
.trades-bar .tk { flex: none; font-family: var(--f-ui); font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: #0b0d14; background: var(--g); padding: 9px 12px 8px; }
.trades-bar .tx { min-width: 0; font-family: var(--f-d); font-weight: 700; font-size: 34px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trades-bar.t-bad .tk { background: var(--red-hi); }
.trades-bar.t-wild .tk { background: var(--ivory); }

/* ---------- the start screen: one brief, the rules on one line ---------- */
.stage.at-start .top-progress .brief { display: none; }
.landed-empty.start, .landed-empty.start.again { justify-content: center; gap: 26px; padding: 0 0 70px; }
.landed-empty.start .brief-big, .landed-empty.again .brief-big { padding: 28px 32px 26px; gap: 12px; background: #0b0d14; border: 2px solid #343a4f; }
.landed-empty.start .brief-big b, .landed-empty.again .brief-big b { font-size: 56px; line-height: 1; }
.landed-empty .brief-big .bb-k { font-size: 18px; }
.landed-empty .brief-big .bb-k .ic { width: 20px; height: 20px; }
.landed-empty .bb-terms, .landed-empty.again .bb-terms { font-size: 18px; gap: 24px; }
.landed-empty .bb-terms em, .landed-empty.again .bb-terms em { font-size: 24px; }
.landed-empty .rules { display: flex; flex-wrap: nowrap; align-items: center; margin: 0; font-family: var(--f-ui); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--silver); white-space: nowrap; }
.landed-empty .rules > span { display: inline-flex; align-items: center; gap: 8px; }
.landed-empty .rules > span + span::before { content: ''; width: 5px; height: 5px; background: var(--g); margin: 0 16px; }
.landed-empty .rules b { font-family: var(--f-d); font-weight: 800; font-size: 24px; color: var(--ivory); }
.landed-empty .rules kbd { font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 2px solid #343a4f; color: var(--ivory); }
.landed-empty .rules .fee { font-size: 20px; }
.form { padding-top: 4px; }
.form .fk, .form .fx { font-size: 18px; }
.form .fx { font-size: 24px; }
.seq-k { font-size: 34px; } .seq-k span { font-size: 24px; }
.landed-empty.done h3 { font-size: 56px; }
.done-k { font-size: 18px; }
.lineup .lu span { font-size: 18px; }
.lineup .lu b { font-size: 24px; }
.facts { font-size: 18px; } .facts b { font-size: 24px; }

/* ---------- header: stream type ---------- */
.btn { font-size: 18px; }
.btn kbd { font-size: 16px; }
.mode-toggle button { font-size: 18px; letter-spacing: .1em; }
.top-progress .bk, .reshoot-meter .ml { font-size: 18px; letter-spacing: .12em; }
.top-progress .brief, .top-progress .budget { border: 2px solid #343a4f; }
.top-progress .brief b { font-size: 24px; }
.top-progress .bb { font-size: 24px; border-width: 2px; }
.top-progress .bb i { font-size: 18px; }
.top-progress .budget b { font-size: 34px; }
.toast { font-size: 24px; border-width: 2px; }

/* ---------- TV logo cards and typeset cards (also the film fallback): the genre plate, blurred and dimmed ---------- */
.rp.tvl, .rp.tvt { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #05060a; padding: 0; }
.rp .tbd { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rp img.tlg { position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 2px 14px rgba(0,0,0,.65)); }
.rp.tvt b { position: relative; z-index: 1; display: block; padding: 0 14px; text-align: center; line-height: .94; color: var(--ivory); text-transform: uppercase; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.rp.tvt small { position: absolute; z-index: 1; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: 18px; letter-spacing: .14em; color: var(--silver); }

/* ---------- the living one-sheet (poster space 660 x 990, shown at .636) ---------- */
#livePoster .lp-bd { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 55% at 50% 36%, #1b1e2b, #07080c 75%); }
#livePoster .lp-bd .kbd.lp-fade { animation: lpfade .5s ease-out both; }
@keyframes lpfade { from { opacity: 0; } }
#livePoster .lp-heads > div { display: contents; }
#livePoster .khead.lp-drop { animation: lpdrop .42s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lpdrop { from { opacity: 0; transform: translateY(-46px) scale(1.06); } }
#livePoster .lp-ph { position: absolute; z-index: 3; }
#livePoster .lp-ph i { position: absolute; width: 44px; height: 44px; border: 0 solid var(--g); }
#livePoster .lp-ph i:nth-child(1) { left: 0; top: 0; border-width: 5px 0 0 5px; }
#livePoster .lp-ph i:nth-child(2) { right: 0; top: 0; border-width: 5px 5px 0 0; }
#livePoster .lp-ph i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 5px 5px; }
#livePoster .lp-ph i:nth-child(4) { right: 0; bottom: 0; border-width: 0 5px 5px 0; }
#livePoster .lp-ph span { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
#livePoster .lp-chem { position: absolute; left: 28px; top: 28px; z-index: 7; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 470px; }
#livePoster .lp-chem span { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 8px; font-family: var(--f-ui); font-weight: 600; font-size: 30px; line-height: 1; color: var(--ivory); background: rgba(5,6,10,.86); border: 3px solid var(--chem); white-space: nowrap; }
#livePoster .lp-chem b { font-family: var(--f-d); font-weight: 800; font-size: 34px; color: var(--chem); }
#livePoster .lp-chem .ic { width: 30px; height: 30px; color: var(--chem); }
#livePoster .lp-rate { position: absolute; right: 30px; top: 30px; z-index: 7; }
#livePoster .lp-rate b { display: block; font-family: var(--f-d); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: .04em; color: var(--ivory); padding: 8px 16px 5px; border: 6px solid var(--ivory); background: rgba(5,6,10,.6); transform: rotate(-6deg); }
#livePoster .lp-rate b.ph { font-family: var(--f-ui); font-weight: 700; font-size: 30px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); padding: 14px 18px; border: 4px dashed rgba(169,173,189,.75); background: rgba(5,6,10,.5); transform: none; }
#livePoster .lp-rate b.lp-stamp { animation: lpstamp .34s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes lpstamp { from { transform: rotate(-18deg) scale(2); opacity: 0; } 55% { opacity: 1; } to { transform: rotate(-6deg) scale(1); } }
#livePoster .lp-title { position: absolute; left: 28px; right: 28px; top: 586px; z-index: 6; text-align: center; }
#livePoster .lp-title b { display: block; font-size: 104px; line-height: .9; white-space: nowrap; text-transform: uppercase; color: rgba(244,239,228,.4); }
#livePoster .lp-title small { display: block; margin-top: 12px; font-family: var(--f-ui); font-weight: 700; font-size: 28px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,228,.55); }
#livePoster .lp-gen { position: absolute; left: 28px; right: 28px; top: 740px; z-index: 6; display: flex; justify-content: center; align-items: center; gap: 24px; white-space: nowrap;
  font-family: var(--f-d); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--g-hi); }
#livePoster .lp-gen > i { flex: none; width: 12px; height: 12px; background: var(--g); transform: rotate(45deg); }
#livePoster .lp-bill { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 6; display: flex; flex-direction: column; gap: 6px; text-align: center; }
#livePoster .lp-bill .bl { font-family: var(--f-d); font-weight: 700; font-size: 34px; line-height: 1.12; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,239,228,.92); white-space: nowrap; overflow: hidden; }
#livePoster .lp-bill em { font-style: normal; font-weight: 500; margin: 0 .45em; color: rgba(244,239,228,.62); }
#livePoster .ph { display: inline-block; font-family: var(--f-ui); font-weight: 700; font-size: .88em; letter-spacing: .12em; color: var(--silver); padding: 2px .4em 1px; border: 3px dashed rgba(169,173,189,.7); line-height: 1.1; vertical-align: .08em; }
#livePoster .lp-gen .ph { font-size: 30px; padding: 6px 14px 5px; }
/* the part that just landed lights up: gold 35% -> 0 over 300 ms */
#livePoster .lp-bill [data-slot], #livePoster .lp-gen [data-slot] { position: relative; display: inline-block; }
#livePoster .lp-hit::after { content: ''; position: absolute; inset: -6px -10px; pointer-events: none; background: rgba(243,220,149,.35); box-shadow: 0 0 0 4px var(--g-hi); animation: lphit .3s ease-out forwards; }
#livePoster .khead.lp-hit::after, #livePoster .lp-rate .lp-hit::after { display: none; }
@keyframes lphit { to { opacity: 0; } }
.fly { z-index: 40; box-shadow: 0 0 0 2px var(--g-hi), 0 30px 70px rgba(0,0,0,.7); }
.fly.pc .bill, .fly .pinfo { display: none !important; }

/* ---------- the stitch ---------- */
.stitch { position: absolute; inset: 0; z-index: 48; overflow: hidden; background: radial-gradient(1100px 760px at 50% 50%, #0d0f17, #020204 75%); }
.st-grid { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; transition: transform 260ms cubic-bezier(.5, 0, .2, 1.5); }
.st-tile { position: absolute; width: 240px; height: 360px; overflow: hidden; background: #0b0d14; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.st-tile > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-tile > .rp { width: 240px; height: 360px; box-shadow: none; }
.st-tile > .rp::after { display: none; }
.st-tag { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 6px 9px 5px; background: var(--g); color: #0b0d14; white-space: nowrap; overflow: hidden; }
.st-tag b { flex: none; font-family: var(--f-ui); font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.st-tag em { min-width: 0; font-style: normal; font-family: var(--f-d); font-weight: 700; font-size: 18px; line-height: 1; overflow: hidden; text-overflow: ellipsis; }
.st-tag b::after { content: '·'; margin-left: 8px; }
.st-tag b:last-child::after { display: none; }
.st-seam { position: absolute; z-index: 3; pointer-events: none; transition: transform 140ms cubic-bezier(.2, .8, .2, 1); }
.st-seam.v { width: 6px; transform-origin: 50% 0; transform: scaleY(0); background: repeating-linear-gradient(180deg, #d9b45a 0 18px, transparent 18px 30px); }
.st-seam.h { height: 6px; transform-origin: 0 50%; transform: scaleX(0); background: repeating-linear-gradient(90deg, #d9b45a 0 18px, transparent 18px 30px); }
.st-seam.v.on { transform: scaleY(1); } .st-seam.h.on { transform: scaleX(1); }
.stitch.tight .st-seam.v.on { transform: scaleX(1.8); transition-duration: 200ms; } .stitch.tight .st-seam.h.on { transform: scaleY(1.8); transition-duration: 200ms; }

/* ---------- the summary: the rating is the hero ---------- */
.p-head { min-height: 236px; margin-bottom: 22px; width: 680px; }
.p-head .rc-mini { width: 236px; height: 236px; gap: 0; }
.p-head .rc-mini b { font-size: 160px; line-height: .82; }
.p-head .rc-mini span { font-size: 18px; }
.p-head .rc-mini em { font-size: 24px; margin-top: 6px; }
.p-head .stamp small { font-size: 18px; }
.p-head .stamp b { font-size: 56px; }
.p-head .stamp span { font-size: 24px; }
.p-head .recs span { font-size: 18px; }
.p-title { font-size: 56px; }
.p-sub { font-size: 24px; margin-bottom: 18px; }
.num { border: 2px solid #343a4f; }
.num.hero { border-color: var(--g); }
.num .k { font-size: 18px; }
.num .v { font-size: 56px; }
.num .s { font-size: 18px; }
.quote p { font-size: 24px; }
.quote cite { font-size: 18px; }
.why h4, .why h4 small { font-size: 18px; }
.why li { font-size: 18px; padding: 6px 0; grid-template-columns: 10px minmax(0, 1fr) 56px; }
.why li + li, .why li.fixed { box-shadow: 0 -2px 0 #343a4f; }
.why li .d { font-size: 28px; }
.regret { border: 2px solid #343a4f; }
.regret .rg-t span, .regret .rg-t em { font-size: 18px; }
.regret .rg-t em i { font-size: 24px; }
.p-actions .btn.ghost { font-size: 18px; }
.p-actions .btn.primary { font-size: 28px; }

/* ---------- the studio: a full-screen gallery wall ---------- */
#studio.wall { padding: 0; background: #05060a; display: block; }
#studio.wall[hidden] { display: none !important; }
#studio.wall .sheet-inner { width: 1920px; height: 1080px; max-height: none; border: 0; box-shadow: none; padding: 40px 60px 80px; overflow: auto; animation: none;
  background: radial-gradient(1400px 520px at 50% -10%, #121522, #05060a 70%); }
#studio.wall .sheet-head { width: 1340px; margin-bottom: 22px; }
#studio.wall .sheet-head h2 { font-size: 56px; }
#studio.wall .studio-stats { width: 1340px; margin-bottom: 64px; }
#studio.wall .studio-stats .num .v { font-size: 56px; }
#studio.wall .studio-stats .num .s { font-size: 18px; }
#studio.wall .studio-grid { display: grid; grid-template-columns: repeat(5, 300px); gap: 56px 52px; justify-content: center; }
#studio.wall .sfilm { position: relative; margin: 0; background: none; cursor: pointer; transition: transform .14s var(--ease-out); }
#studio.wall .sfilm::after { inset: -10px -10px auto -10px; height: 470px; }
#studio.wall .sfilm:hover { background: none; box-shadow: none; transform: translateY(-6px); }
#studio.wall .sfilm .mini { width: 300px; height: 450px; aspect-ratio: auto; position: relative; overflow: hidden; background: #0b0d14; box-shadow: 0 0 0 2px #343a4f, 0 34px 70px rgba(0,0,0,.65); }
#studio.wall .sfilm .mini .poster { position: absolute; left: 0; top: 0; transform: scale(.454545); transform-origin: 0 0; box-shadow: none; }
#studio.wall .plaque { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 12px 14px 12px; background: #0b0d14; border: 2px solid #343a4f; }
#studio.wall .pq-tier { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-ui); font-weight: 800; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc, var(--silver)); }
#studio.wall .pq-tier b { font-family: var(--f-d); font-weight: 800; font-size: 34px; letter-spacing: 0; line-height: .9; }
#studio.wall .pq-t { font-family: var(--f-d); font-weight: 700; font-size: 24px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#studio.wall .pq-row { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-ui); font-weight: 500; font-size: 18px; color: var(--silver); }
#studio.wall .pq-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#studio.wall .pq-row .ww { flex: none; font-family: var(--f-d); font-weight: 700; color: var(--ivory); }
#studio.wall .sfilm.t-legendary { --tc: #f3dc95; } #studio.wall .sfilm.t-gold { --tc: #e8c260; } #studio.wall .sfilm.t-silver { --tc: #dfe5ef; } #studio.wall .sfilm.t-bronze { --tc: #ff9d5c; } #studio.wall .sfilm.t-flop { --tc: var(--red-hi); }
#studio.wall .sfilm.t-legendary .mini, #studio.wall .sfilm.t-gold .mini { box-shadow: 0 0 0 2px var(--tc), 0 34px 70px rgba(0,0,0,.65); }
#studio.wall.credits .sheet-inner { padding-right: 520px; }
#studio.wall .credits-list { font-size: 18px; columns: 3; }
.studio-empty b { font-size: 34px; } .studio-empty span { font-size: 24px; }

/* settings: stream type */
.set-group h3 { font-size: 18px; }
.set-row label, details.adv summary { font-size: 18px; }
.sheet .hint { font-size: 18px; }
.set-row input, .set-row select { font-size: 18px; border-width: 2px; }
.sheet-inner { border: 2px solid #343a4f; }

@media (prefers-reduced-motion: reduce) {
  .band-bg, .reel-window, .gate, .reel-band::before, .reel-band::after, .lower, .picture { transition: none; }
  #livePoster .lp-hit::after, #livePoster .khead.lp-drop, #livePoster .lp-rate b.lp-stamp, #livePoster .lp-bd .kbd.lp-fade { animation: none; }
}

/* ---- art pass 3: fixes after the first screenshots ---- */
.pc.off .ffp img { filter: none; }
.pc.off:not(.taken) .ffp img { filter: grayscale(1) contrast(1.06); }
.pc.taken::after, .chip.taken::after { opacity: 1 !important; transform: none !important; inset: 0; z-index: 4; background: none; border: 3px dashed var(--g); }
.chip.taken, .pc.taken { outline: 0; }
.pinfo-pop { width: 330px; padding: 14px 16px 12px; }
.pinfo-pop .pi-n { font-size: 28px; }
.pinfo-pop .pi-k { margin-top: 8px; }
.pinfo-pop ul { gap: 2px; margin-top: 4px; }
.pinfo-pop li { font-size: 24px; line-height: 1.1; }
.picture-count .swap { height: 30px; white-space: nowrap; }
.pc-segs { display: none; }
#livePoster .lp-chem { max-width: 400px; }
#livePoster .lp-chem span { gap: 10px; font-size: 30px; }
#livePoster .lp-chem i { font-style: normal; font-family: var(--f-d); font-weight: 800; font-size: 32px; color: var(--ivory); margin-left: 4px; }
.landed-empty.done { justify-content: flex-start; gap: 16px; padding: 18px 0 0; }
.lineup .lu { width: 212px; }
.lineup .lu .ffp.pf { width: 212px; height: 240px; }
.st-tag { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 10px 7px; }
.st-tag b::after { display: none; }
.st-tag em { max-width: 100%; font-size: 24px; white-space: nowrap; }
.p-head { min-height: 220px; margin-bottom: 16px; }
.p-head .rc-mini { width: 220px; height: 220px; }
.p-sub { margin-bottom: 14px; }
.p-nums { margin-bottom: 18px; }
.why h4 { margin-bottom: 2px; }
.why li { padding: 4px 0; }
.regret { margin-top: 10px; }
#livePoster .lp-title { top: 570px; }
#livePoster .lp-gen { top: 722px; }

/* the reel never blurs (a filter on the 3D drum drops frames and costs the encoder); the one-sheet hangs in front of
   the opened band instead of ghosting over it (on stream the band's far right sits under the webcam anyway) */
.reel-window:has(.reel-strip.blur) { filter: none; }
.stage.spinning .picture { opacity: 1; }
/* studio form: tier colour on the whole tile edge, never a one-sided bar */
.form .fl i { box-shadow: none; border: 2px solid var(--tc, #343a4f); }
.p-cols { grid-template-columns: minmax(0, 1fr) 530px; gap: 36px; }
.why li { line-height: 1.15; }
.regret { padding: 8px 12px; gap: 12px; grid-template-columns: 56px minmax(0, 1fr); }
.regret .ffp.pf { width: 56px; height: 70px; }
.regret .rg-t b { font-size: 24px; }
.regret .rg-t { gap: 2px; }
/* hairlines become 2px rules; key caps meet the 18px floor */
.btn.ghost, .mode-toggle, .bill button, .recast-pop button, .picture-actions .btn.ghost { border-width: 2px; }
.btn kbd, #btnSpin kbd, .landed-empty .rules kbd { font-size: 18px; padding: 3px 7px 2px; }
#livePoster .lp-title small { font-size: 30px; }
.pinfo-pop .pi-d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the trades label is always dark on gold */
.trades-bar.t-bad .tk, .trades-bar.t-wild .tk { background: var(--g); }
/* on a crew card the stamp sits top-right, where the salary was, clear of the role and the name */
/* on a crew card the stamp takes the role kicker's place, so the name underneath stays readable */
.pc.dirc.taken::before, .pc.dirc.rcx:hover::before { left: 76px; right: auto; top: 7px; transform: rotate(-4deg); transform-origin: 0 0; font-size: 16px; padding: 3px 7px 2px; }
.pc.dirc.taken .role, .pc.dirc.rcx:hover .role { visibility: hidden; }
.pc.dirc.taken .fee, .pc.dirc.rcx:hover .fee { visibility: hidden; }
/* the cast row clears the trades lower third; the start screen's header carries nothing yet (the brief is on the board) */
.lower { padding-top: 12px; }
.pc .body { padding: 8px 11px 8px; }
.stage.at-start .top-progress { visibility: hidden; }
#livePoster .lp-ph { z-index: 4; }

/* QA pass 4: bets chips outlined all round (never a one-sided bar), 18px floor, small reel/info labels */
.bets .bt span { box-shadow: inset 0 0 0 2px var(--tc); }
.bets .bk, .bets kbd { font-size: 18px; }
.pinfo { font-size: 18px; }
/* an open slot's brackets sit behind any head that is already cast, never across a face */
#livePoster .lp-ph { z-index: auto; }

/* ---------- NymN 3 Nov: the reel sits left of centre (the camera covers the right), the landed film pops out of the
   reel, and the one-sheet panel starts under the reel band so the webcam never covers its top ---------- */
.reel-window { left: -242px; right: 242px; }
.gate { left: calc(50% - 242px); }
.band-bg { background: radial-gradient(ellipse 34% 90% at calc(50% - 242px) 50%, #12131a 0%, #050508 55%, #000 100%); }
.reel-band::after { right: 240px; }
.reel-band::before { width: 300px; }
/* the film it lands on: lifted out of the strip, bigger, brackets riding with it */
.reel-band .fr .rp { transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out); }
.reel-band.focus .fr.wonf .rp { transform: scale(1.17); box-shadow: 0 0 0 2px var(--g), 0 18px 50px rgba(0,0,0,.75), 0 0 46px rgba(217,180,90,.22); }
.reel-band .fr.wonf { z-index: 5; }
.rp.won { animation: fftilepop .55s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes fftilepop { 0% { transform: scale(1); } 55% { transform: scale(1.22); } 100% { transform: scale(1.17); } }
.reel-band.focus .gate { transform: translateX(-50%) scale(1.17); }
/* the panel: below the band, poster 330 x 495 */
.picture { left: 1514px; top: 440px; width: 358px; height: 628px; }
.sheet-frame { width: 330px; height: 495px; }
#livePoster { transform: scale(.5); }
.lower { padding-right: 444px; }
.picture-actions { grid-template-columns: minmax(0, 1fr) auto; }
#btnSpin { font-size: 26px; padding: 0 12px; }
#btnReshoot { padding: 0 10px; }
/* the drum's right end fades out well before the panel, and the band stays black under the camera */
.reel-band::after { right: -2px; width: 724px; background: linear-gradient(270deg, #000 0%, #000 64%, rgba(0,0,0,.9) 72%, rgba(0,0,0,.5) 86%, transparent 100%); }
#btnSpin kbd { display: none; }
#btnSpin { justify-content: center; }

/* ---------- "Your picture" as a list: every slot to fill, small photo portraits, no poster until the premiere ---------- */
.plist { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.pl-grp { display: flex; flex-direction: column; gap: 4px; }
.pl-row { position: relative; height: 48px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 10px 0 5px;
  background: #12151e; border: 2px solid transparent; }
.pl-row.open { background: #0b0d14; border-color: #1d2130; }
.pl-th { position: relative; width: 38px; height: 40px; overflow: hidden; background: #05060a; display: flex; align-items: center; justify-content: center; }
.pl-th .ffp { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-th .ffp.photo img { -webkit-mask-image: none; mask-image: none; }
.pl-th .ffp.none b { font-size: 18px; color: #3a4058; }
.pl-th.pl-open { background: transparent; border: 2px dashed #343a4f; }
.pl-th.pl-post img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pl-th.pl-rate { background: transparent; }
.pl-th.pl-rate b { font-family: var(--f-d); font-weight: 800; font-size: 15px; line-height: 1; color: var(--ivory); border: 2px solid var(--ivory); padding: 3px 3px 1px; white-space: nowrap; }
.pl-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pl-k { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-family: var(--f-ui); font-weight: 700; font-size: 14px; line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; color: var(--g); white-space: nowrap; }
.pl-k i { font-style: normal; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--silver); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pl-tx b { display: flex; align-items: center; gap: 6px; min-width: 0; font-family: var(--f-d); font-weight: 700; font-size: 22px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row.open .pl-k { color: var(--silver); }
.pl-row.open .pl-tx b { font-family: var(--f-ui); font-weight: 500; font-size: 18px; color: #4a5068; }
.pl-row.vil .pl-k { color: #ff6b7d; }
.pl-row.vil.on { border-color: rgba(212,42,68,.35); }
.pl-row .fee { font-size: 18px; }
.pl-mk { flex: none; display: inline-flex; width: 18px; height: 18px; }
.pl-mk .ic { width: 18px; height: 18px; }
.pl-mk.chem { color: #5fd3c6; } .pl-mk.cgi { color: var(--silver); }
.pl-row.just { animation: plin .6s var(--ease-out); }
@keyframes plin { 0% { background: rgba(217,180,90,.42); border-color: var(--g); } 100% { background: #12151e; border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .pl-row.just { animation: none; } }

/* ---- name your movie: a full-stage beat between the board and the premiere ---- */
.namer { position: absolute; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: flex-start; padding-left: 140px; background: #05060a; animation: fffade .3s both; }
.namer.out { opacity: 0; transition: opacity .3s; }
.nm-in { display: flex; flex-direction: column; gap: 18px; width: 1180px; max-width: calc(100% - 520px); }
.nm-k { font-family: var(--f-ui); font-weight: 700; font-size: 18px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.namer h3 { margin: 0; font-family: var(--f-d); font-weight: 800; font-size: 120px; line-height: .92; color: var(--ivory); text-transform: uppercase; }
.nm-field { --fs: 64px; display: flex; align-items: baseline; gap: 18px; margin-top: 18px; padding: 0 0 10px; border-bottom: 3px solid var(--line-2); transition: border-color .2s; }
.nm-field:focus-within { border-bottom-color: var(--g); }
.nm-pre { font-family: var(--f-d); font-weight: 800; font-size: var(--fs); line-height: 1; color: var(--silver); text-transform: uppercase; white-space: nowrap; }
.nm-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0; font-family: var(--f-d); font-weight: 800; font-size: var(--fs); line-height: 1.1; color: var(--ivory); text-transform: uppercase; caret-color: var(--g); }
.nm-field input::placeholder { color: #3d4460; }
.nm-tip { margin: 2px 0 0; font-family: var(--f-ui); font-weight: 500; font-size: 22px; color: var(--silver); }
.nm-acts { display: flex; gap: 14px; margin-top: 18px; }
.nm-acts .btn { height: 60px; font-size: 18px; padding: 0 22px; }
.nm-acts .btn kbd { font-size: 14px; }

/* ---- the one-sheet (v40): designed key art painted to one image, type set in Archivo; square, flat, no shadows ---- */
.poster.pk2 { border-radius: 0; background: var(--pk-paper, #0b0b0d); color: var(--pk-ink, #eee); font-family: 'Archivo', 'Barlow', sans-serif; }
.poster.pk2 > * { position: absolute; z-index: 2; }
.poster.pk2 .pk-art { left: 0; top: 0; width: 660px; height: 990px; z-index: 1; display: block; }
.poster.pk2 .pk-art:not([src]) { visibility: hidden; }
.poster.pk2 .pk-cast { left: 34px; right: 34px; top: 30px; display: flex; justify-content: space-between; gap: 18px; font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.poster.pk2 .pk-block { left: 36px; right: 36px; bottom: 116px; display: flex; flex-direction: column; text-align: left; }
.poster.pk2.pk-dark .pk-block { text-align: center; }
.poster.pk2 .pk-dir { font-weight: 600; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--pk-acc); margin-bottom: 14px; white-space: nowrap; }
.poster.pk2 .pk-title { line-height: .86; text-transform: uppercase; text-wrap: balance; color: var(--pk-ink); }
.poster.pk2 .pk-tag { font-weight: 500; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; margin-top: 18px; white-space: nowrap; }
.poster.pk2 .writing { position: static; font-size: 26px; opacity: .7; }
.poster.pk2 .pk-foot { left: 36px; right: 36px; bottom: 76px; display: flex; justify-content: space-between; align-items: center; }
.poster.pk2 .pk-rate { font-weight: 700; font-size: 14px; letter-spacing: .06em; border: 1.5px solid currentColor; padding: 2px 6px 1px; }
.poster.pk2 .pk-date { font-weight: 700; font-stretch: 112%; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; }
.poster.pk2 .pk-bill { left: 40px; right: 40px; bottom: 22px; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 15px; line-height: 1.02; opacity: .76; transform: scaleY(1.3); transform-origin: 50% 100%; }
.poster.pk2 .pk-bill .bl { display: block; white-space: nowrap; }
.poster.pk2 .pk-bill b { font-weight: 700; }
/* the small lines over the art keep a paper backing, so they read on any shape */
.poster.pk2 .pk-dir, .poster.pk2 .pk-tag { align-self: flex-start; background: var(--pk-paper); padding: 4px 8px 3px; margin-left: -8px; max-width: calc(100% + 16px); box-sizing: border-box; overflow: hidden; }
.poster.pk2.pk-dark .pk-dir, .poster.pk2.pk-dark .pk-tag { align-self: center; margin-left: 0; }
.poster.pk2 .pk-tag { margin-top: 14px; }
.poster.pk2 .pk-dir { margin-bottom: 10px; }
.poster.pk2 .pk-studio { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 800; font-stretch: 75%; font-size: 15px; letter-spacing: .12em; white-space: nowrap; }

/* ---- the share card sheet: the card on the left, actions on the right; square, flat, webcam corner kept clear ---- */
.sharer { position: absolute; inset: 0; z-index: 60; background: #05060a; display: flex; align-items: center; animation: fffade .25s both; }
.sharer.out { opacity: 0; transition: opacity .25s; }
.sharer .sh-in { display: flex; gap: 56px; align-items: center; padding-left: 120px; }
.sharer .sh-img { width: 720px; height: 900px; display: flex; align-items: center; justify-content: center; background: #07080c; border: 2px solid var(--line-2); }
.sharer .sh-img img { width: 720px; height: 900px; display: block; }
.sharer .sh-wait { font-family: var(--f-ui); font-size: 22px; color: var(--silver); }
.sharer .sh-side { width: 520px; display: flex; flex-direction: column; gap: 14px; padding-top: 220px; }
.sharer .sh-k { font-family: var(--f-ui); font-weight: 700; font-size: 18px; letter-spacing: .18em; text-transform: uppercase; color: var(--g); }
.sharer h3 { margin: 0; font-family: var(--f-d); font-weight: 800; font-size: 56px; line-height: .95; color: var(--ivory); }
.sharer p { margin: 0; font-family: var(--f-ui); font-size: 20px; color: var(--silver); }
.sharer .sh-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 10px; }
.sharer .sh-acts .btn { height: 56px; font-size: 18px; }
.sharer .sh-msg { min-height: 26px; color: var(--g-hi); }

/* the summary's buttons never wrap: four of them (sequel + voice-over) still fit on one row */
.p-actions { flex-wrap: nowrap; }
.p-actions .btn { white-space: nowrap; flex: none; }
.p-actions .btn.ghost { padding: 0 16px; }
.p-actions:has(> .btn:nth-child(4)) .btn.primary { font-size: 24px; padding: 0 18px; }
.p-actions:has(> .btn:nth-child(4)) .btn.ghost { font-size: 16px; padding: 0 12px; }
.poster.pk2 .pk-title { overflow-wrap: anywhere; }
/* the printed card fades up instead of popping in */
.sharer .sh-img img { animation: shimg .35s cubic-bezier(.2,0,.2,1) both; }
@keyframes shimg { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- chat's rival picture: a second, narrower list beside yours, in Twitch purple ---------- */
:root { --tw: #9a5cff; --tw-hi: #c7a6ff; --tw-lo: #4b2391; }
body.rival .lower { padding-right: 690px; }
.picture.rival-pic { left: 1270px; width: 232px; border-color: rgba(154,92,255,.5); }
.rival-pic .picture-head h2 { font-size: 24px; color: var(--tw-hi); white-space: nowrap; }
.rival-pic .pl-row { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 0 8px 0 5px; }
.rival-pic .pl-th { width: 34px; }
.rival-pic .pl-k { color: var(--tw-hi); font-size: 12px; letter-spacing: .12em; }
.rival-pic .pl-tx b { font-size: 19px; }
.rival-pic .pl-row.open .pl-k { color: var(--silver); }
.rival-pic .pl-row.open .pl-tx b { font-size: 15px; }
.rival-pic .pl-row.vil .pl-k { color: #ff6b7d; }
.rival-pic .pl-row.next { border-color: rgba(154,92,255,.6); }
.rival-pic .pl-row.next .pl-tx b { color: var(--tw-hi); }
.rival-pic .pl-row.just { animation: rvin .8s var(--ease-out); }
@keyframes rvin { 0% { background: rgba(154,92,255,.55); border-color: var(--tw); } 100% { background: #12151e; border-color: transparent; } }
.rv-box { flex: none; padding-top: 2px; }
.rv-st { height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 10px; background: #0d0a16; border: 2px solid #2a2342; }
.rv-st.on { border-color: var(--tw); background: #130d22; }
.rv-st.done { border-color: rgba(154,92,255,.5); }
.rv-k { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-st b { font-family: var(--f-d); font-weight: 700; font-size: 20px; line-height: 1.05; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-st b em { font-style: normal; color: var(--tw-hi); }
.rv-st.on b { font-size: 19px; }
.rv-bar { height: 5px; background: #241c3b; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--tw); transform-origin: 0 50%; transition: transform .25s linear; }
.rv-m { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--silver); }
.rv-m b { font-family: var(--f-d); font-weight: 800; font-size: 17px; color: var(--ivory); }
/* the numbers on the cards: a purple tab on each card chat can vote for, the live count beside it */
#landed .cv-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 6; pointer-events: none; }
#landed .cv { position: absolute; display: flex; align-items: stretch; height: 34px; transform: translate(-8px, -10px); box-shadow: 0 4px 14px rgba(0,0,0,.65); animation: cvin .34s var(--ease-snap) both; animation-delay: .18s; }
#landed .cv b { min-width: 34px; display: flex; align-items: center; justify-content: center; padding: 0 6px; background: var(--tw); color: #fff; font-family: var(--f-d); font-weight: 800; font-size: 25px; line-height: 1; }
#landed .cv i { display: flex; align-items: center; font-style: normal; font-family: var(--f-d); font-weight: 700; font-size: 17px; color: var(--tw-hi); background: #150f24; }
#landed .cv i:not(:empty) { padding: 0 8px; }
#landed .cv.lead b { background: #fff; color: var(--tw-lo); }
#landed .cv-layer.closed .cv { opacity: .22; animation: none; }
#landed .cv-layer.closed .cv.won { opacity: 1; }
#landed .cv.won b { background: #fff; color: var(--tw-lo); }
@keyframes cvin { 0% { opacity: 0; transform: translate(-8px, -2px) scale(.6); } 100% { opacity: 1; transform: translate(-8px, -10px); } }
#landed .cv.ccv { transform: translate(calc(-100% + 8px), -18px); flex-direction: row-reverse; animation-name: ccvin; }
@keyframes ccvin { 0% { opacity: 0; transform: translate(calc(-100% + 8px), -8px) scale(.6); } 100% { opacity: 1; transform: translate(calc(-100% + 8px), -18px); } }
/* with chat's list beside yours, the reel's right end goes dark before it reaches chat's panel */
body.rival .reel-band::after { width: 1000px; background: linear-gradient(270deg, #000 0%, #000 64%, rgba(0,0,0,.9) 70%, rgba(0,0,0,.5) 84%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { #landed .cv { animation: none; } .rival-pic .pl-row.just { animation: none; } }

/* ---------- head to head: your picture against chat's ---------- */
.showdown { position: absolute; inset: 0; z-index: 70; background: radial-gradient(70% 60% at 50% 45%, #10121b, #05060a 75%); animation: sdin .3s both; }
.showdown.out { animation: sdout .3s both; }
@keyframes sdin { from { opacity: 0; } to { opacity: 1; } }
@keyframes sdout { from { opacity: 1; } to { opacity: 0; } }
.sd-k { position: absolute; left: 0; right: 0; top: 96px; text-align: center; font-family: var(--f-d); font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; color: var(--ivory); }
.sd-side { position: absolute; top: 296px; width: 420px; opacity: 0; transition: transform .7s var(--ease-out), opacity .45s; }
.sd-side.l { left: 110px; transform: translateX(-120px); }
.sd-side.r { left: 1390px; transform: translateX(120px); }
.showdown.in .sd-side { transform: none; opacity: 1; }
.sd-poster { position: relative; width: 420px; height: 630px; overflow: hidden; background: #0b0d14; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.75); }
.sd-poster .poster { position: absolute; left: 0; top: 0; width: 660px; height: 990px; margin: 0; transform: scale(.636364); transform-origin: 0 0; box-shadow: none; }
.sd-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px; font-family: var(--f-ui); font-size: 30px; color: var(--silver); }
.sd-name { margin-top: 18px; text-align: center; font-family: var(--f-d); font-weight: 800; font-size: 32px; letter-spacing: .04em; color: var(--g-hi); }
.sd-name.chat { color: var(--tw-hi); }
.sd-mid { position: absolute; left: 600px; width: 720px; top: 296px; }
.sd-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); align-items: center; height: 90px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .45s var(--ease-out); }
.sd-row.on { opacity: 1; transform: none; }
.sd-row > span { text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.sd-row b { font-family: var(--f-d); font-weight: 800; font-size: 54px; line-height: 1; color: var(--mute); white-space: nowrap; transition: color .3s; }
.sd-row .sd-a { text-align: right; } .sd-row .sd-b { text-align: left; }
.sd-row.w-a .sd-a { color: var(--g-hi); } .sd-row.w-b .sd-b { color: var(--tw-hi); }
.sd-row.fin { height: 150px; border-bottom: 0; }
.sd-row.fin b { font-size: 104px; }
.sd-row.fin b em { display: block; margin-top: 4px; font-style: normal; font-family: var(--f-ui); font-weight: 700; font-size: 17px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.sd-row.fin.w-a .sd-a, .sd-row.fin.w-b .sd-b { color: var(--ivory); }
.sd-row.fin.w-a .sd-a em { color: var(--g-hi); } .sd-row.fin.w-b .sd-b em { color: var(--tw-hi); }
.sd-ban { margin-top: 6px; text-align: center; opacity: 0; transform: scale(1.18); transition: opacity .25s, transform .45s var(--ease-snap); }
.sd-ban.on { opacity: 1; transform: none; }
.sd-ban b { display: block; font-family: var(--f-d); font-weight: 800; font-size: 78px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--g-hi); }
.sd-ban.chat b { color: var(--tw-hi); } .sd-ban.draw b { color: var(--ivory); }
.sd-ban span { display: block; margin-top: 10px; font-family: var(--f-ui); font-weight: 600; font-size: 21px; color: var(--silver); }
.sd-rec { margin-top: 18px; text-align: center; font-family: var(--f-ui); font-weight: 600; font-size: 16px; letter-spacing: .08em; color: var(--mute); }
.sd-rec b { color: var(--ivory); font-weight: 700; } .sd-rec i { display: inline-block; width: 6px; height: 6px; margin: 0 12px 2px; background: var(--line-2); }
.sd-rec em { display: block; margin-top: 6px; font-style: normal; letter-spacing: .02em; }
.sd-foot { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); opacity: 0; transition: opacity .4s; cursor: pointer; }
.showdown.end .sd-foot { opacity: 1; }
.sd-foot kbd { margin-right: 10px; padding: 3px 8px 2px; border: 1px solid var(--line-2); font-family: var(--f-ui); font-size: 13px; letter-spacing: .1em; color: var(--ivory); }
body.rival .trades-bar { width: 1250px; }
body.rival .lineup .lu { width: 186px; }
body.rival .lineup .lu .ffp.pf, body.rival .lineup .lu .sil { width: 186px; height: 222px; }
body.rival .lineup .lu b { font-size: 21px; }

/* 6 Nov playtest fixes */
.chip .v.long { font-size: 21px; max-width: 300px; }
.pc .body .fee { margin-left: 8px; }                     /* a dimmed crew card read "DIRECTOR$$$$" */
.pc .role + .fee, .pc .role ~ .fee { margin-left: 0; }
.recast-pop { width: 400px; }
.recast-pop .rc-note, .bill .rc-note { white-space: normal; line-height: 1.3; }
/* the cameo card's rule on the cast-as buttons: gold where it pays, red where it costs (no numbers) */
.bill button.cw-good { border-color: var(--g); color: var(--g-hi, #f1d47e); }
.bill button.cw-good::after { content: '★'; font-size: 14px; color: var(--g); margin-left: 8px; }
.bill button.cw-bad { border-color: var(--red); }
.bill button.cw-bad::after { content: '✕'; font-size: 14px; color: var(--red-hi, #ff5a6e); margin-left: 8px; }
/* the summary: where the rating started, and the got-away's reason */
.why li.start .t { color: var(--silver); }
.why li.start .d { color: var(--ivory); }
.regret .rg-t small.rg-why { display: block; margin-top: 4px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--g); }

/* title room: the first Esc only arms the hand-off to the writers */
.tr-esc.arm { color: var(--g); }
/* your picks (8 Nov): every part of the picture marked against a typical pick for that slot */
.mks { margin: 4px 0 0; }
.mks h4 { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); margin: 0 0 10px; }
.mks h4 small { font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--mute); }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; padding: 7px 7px 7px 11px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 0; }
.mk-k { grid-column: 1; grid-row: 1; font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mk-n { grid-column: 1; grid-row: 2; font-family: var(--f-ui); font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--ivory); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mk-m { grid-column: 2; grid-row: 1 / span 2; min-width: 36px; text-align: center; font-family: var(--f-d); font-weight: 800; font-size: 22px; line-height: 1; padding: 7px 4px 6px; color: var(--mute); }
.mk.p2 .mk-m { background: var(--g-hi); color: #10131c; } .mk.p1 .mk-m { color: var(--g-hi); }
.mk.n1 .mk-m { color: var(--red-hi); } .mk.n2 .mk-m { background: var(--red-hi); color: #10131c; }
/* hints (8 Nov): Oscar badge on a person, the info card's hint rows */
.pc .osc { position: absolute; left: 8px; right: auto; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 2px; height: 26px; min-width: 26px; padding: 0 5px; justify-content: center; border-radius: 0; background: var(--g-hi); color: #10131c; font-size: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.pc.dirc .osc { left: 4px; top: 4px; height: 22px; min-width: 22px; padding: 0 3px; }
.osc .ic { width: 16px; height: 16px; } .osc b { font-family: var(--f-d); font-weight: 800; font-size: 15px; line-height: 1; }
.pc .osc.nom { background: rgba(6,7,11,.86); color: var(--g-hi); border: 1px solid var(--g-hi); }
.wc-n .osc { display: inline-flex; vertical-align: middle; align-items: center; gap: 2px; height: 26px; min-width: 26px; padding: 0 5px; margin-left: 10px; justify-content: center; background: var(--g-hi); color: #10131c; position: relative; top: -3px; }
.wc-n .osc.nom { background: transparent; color: var(--g-hi); border: 1px solid var(--g-hi); }
.pinfo-pop .pi-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; margin: 12px 0 2px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 15px; }
.pinfo-pop .pi-h dt { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.pinfo-pop .pi-h dd { margin: 0; color: var(--ivory); font-weight: 600; }
/* the salary note under the board's rules (8 Nov beta: "is cost tied to skill?") */
.landed-empty p.rules-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-family: var(--f-ui); font-weight: 500; font-size: 18px; color: var(--silver); white-space: nowrap; }
.landed-empty p.rules-note .fee { font-size: 17px; }
