/* CleenFeed player pipeline pages (/play/jobs/, /play/verify/). Same edit-suite system as /play/:
   black control room, paper call sheet, red = recording / action, green = clean / paid / verified. */
:root {
  --black: #000; --panel: #0E0E10; --rule: rgba(255,255,255,.14); --ink: #F2F0EB; --dim: #A9A7A2;
  --tally: #FF3B2F; --clean: #3FD98A; --amber: #FFC24B; --paper: #EDE9DF; --paper-ink: #17150F; --paper-rule: rgba(23,21,15,.16);
  --wide: "Archivo", "Arial Black", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 4.5vw, 56px); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; background: var(--black); color: var(--ink); }
body { font-family: var(--wide); font-variation-settings: "wdth" 100; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.tc { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.display { font-weight: 850; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.012em; line-height: .94; text-wrap: balance; }
.lede { color: rgba(242,240,235,.84); max-width: 60ch; font-size: clamp(17px, 1.3vw, 19px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tally); flex: none; display: inline-block; }
.dot.ok { background: var(--clean); box-shadow: 0 0 10px rgba(63,217,138,.7); }
.dot.wait { background: var(--amber); }
.dot.live { animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 650 16px/1.1 var(--wide); font-variation-settings: "wdth" 100; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; -webkit-tap-highlight-color: transparent; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-rec { background: var(--tally); color: #fff; }
.btn-rec:hover { background: #ff5247; }
.btn-solid { background: var(--ink); color: #000; }
.btn-line { border-color: rgba(242,240,235,.4); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; }
.nav .links { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.nav .links a { text-decoration: none; color: rgba(242,240,235,.78); font-size: 14.5px; }
.nav .links a[aria-current] { color: var(--ink); }
.nav .links .btn { min-height: 40px; padding: 0 16px; font-size: 14px; color: #fff; }
@media (max-width: 420px) { .nav .links .hide-sm { display: none; } .brand { font-size: 16px; } }

.head { padding-top: clamp(34px, 6vw, 72px); padding-bottom: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.head h1 { font-size: clamp(40px, 10.5vw, 92px); }
.head h1 .l2 { display: block; font-size: .42em; line-height: 1.05; margin-top: .3em; color: var(--dim); letter-spacing: -.005em; }

/* Paper call sheet */
.sheet { background: var(--paper); color: var(--paper-ink); border-radius: 6px; box-shadow: 0 26px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; position: relative; }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(23,21,15,.035) 31px 32px); }
.clap { display: grid; grid-template-columns: repeat(8, 1fr); height: 14px; background: var(--paper-ink); }
.clap i:nth-child(odd) { background: var(--paper); transform: skewX(-30deg); }
.sheet-head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px 12px; border-bottom: 2px solid var(--paper-ink); }
.sheet-head .t { font-size: clamp(22px, 5.6vw, 30px); }
.sheet-head .by { margin-top: 6px; font-size: 14px; font-weight: 650; color: rgba(23,21,15,.75); }
.sheet-head .meta { text-align: right; font-size: 12px; line-height: 1.5; color: rgba(23,21,15,.66); white-space: nowrap; }
.sheet-head .meta b { display: block; font: 500 13px var(--mono); color: var(--paper-ink); }
.brief { position: relative; display: grid; }
.brief div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 9px 18px; border-bottom: 1px solid var(--paper-rule); font-size: 15px; }
.brief dt { font-size: 12.5px; font-weight: 700; color: rgba(23,21,15,.62); padding-top: 2px; }
.brief dd { font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 640px) { .brief div { grid-template-columns: 120px minmax(0, 1fr); } }
.pay { position: relative; padding: 14px 18px 16px; display: grid; gap: 4px; font-size: 15px; }
.pay p { display: flex; justify-content: space-between; gap: 12px; }
.pay p span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pay .fee { color: rgba(23,21,15,.62); }
.pay .you { border-top: 2px solid var(--paper-ink); padding-top: 8px; margin-top: 4px; font-weight: 800; font-size: 19px; align-items: baseline; }
.pay .you span:last-child { font-size: 26px; font-weight: 500; color: #0E6B3C; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1.5px solid #0E6B3C; color: #0E6B3C; background: rgba(14,107,60,.06); }
.chip.off { border-color: #8A6300; color: #8A6300; background: rgba(138,99,0,.06); }
.shots { position: relative; border-top: 1px solid var(--paper-rule); }
.shots summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 750; font-size: 15.5px; min-height: 52px; }
.shots summary::-webkit-details-marker { display: none; }
.shots summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid rgba(23,21,15,.6); border-bottom: 2px solid rgba(23,21,15,.6); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.shots[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.shots .body { padding: 0 18px 16px; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.5; }
.shots .body p.lead { font-weight: 600; }
.shots ol { display: grid; gap: 8px; }
.shots ol li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 8px; }
.shots ol li b { font: 500 12.5px/1.9 var(--mono); color: rgba(23,21,15,.55); }
.sheet-cta { position: relative; padding: 4px 18px 18px; display: grid; gap: 8px; }
.sheet-cta .btn { width: 100%; }
.sheet-cta .fine { font-size: 13px; color: rgba(23,21,15,.62); text-align: center; }
.sheet-cta .fine a { color: var(--paper-ink); }
.sheet-cta .done { background: rgba(14,107,60,.1); border: 1px solid rgba(14,107,60,.35); color: #0B5730; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }

.jobs { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.empty { border: 1px dashed rgba(255,255,255,.3); border-radius: 16px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; max-width: 760px; }
.empty h2 { font-size: clamp(24px, 4vw, 36px); }
.empty p { color: rgba(242,240,235,.8); }

/* Sections */
.sec { padding-top: clamp(52px, 8vw, 96px); }
.sec h2.display { font-size: clamp(28px, 4.8vw, 52px); margin-bottom: 18px; }
.run { display: grid; border-top: 1px solid var(--rule); counter-reset: s; }
.run li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); counter-increment: s; }
.run li::before { content: counter(s, decimal-leading-zero); font: 500 13px/1.9 var(--mono); color: var(--dim); }
.run b { display: block; font-weight: 800; font-variation-settings: "wdth" 112; font-size: 18px; line-height: 1.25; }
.run p { font-size: 15.5px; color: rgba(242,240,235,.78); margin-top: 3px; max-width: 62ch; }
.run li.paid::before, .run li.paid b { color: var(--clean); }
@media (min-width: 980px) { .run { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }

/* Verify */
.status { border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 3vw, 26px); display: grid; gap: 10px; background: var(--panel); }
.status b.h { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.status p { color: rgba(242,240,235,.82); font-size: 15.5px; }
.status .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.status.good { border-color: rgba(63,217,138,.45); background: linear-gradient(180deg, rgba(63,217,138,.09), var(--panel) 80%); }
.status.warn { border-color: rgba(255,194,75,.45); }
.status.bad { border-color: rgba(255,59,47,.45); }
.vgrid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .vgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } .vgrid .stick { position: sticky; top: 88px; } }
.spec-sheet .brief div { grid-template-columns: 96px minmax(0,1fr); }
.box { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.box details { border-bottom: 1px solid var(--rule); }
.box details:last-child { border-bottom: 0; }
.box summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 750; font-size: 17px; min-height: 56px; }
.box summary::-webkit-details-marker { display: none; }
.box summary::after { content: ""; width: 11px; height: 11px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.box details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.box ol { padding: 0 18px 18px; display: grid; gap: 10px; counter-reset: c; }
.box ol li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 10px; font-size: 15.5px; color: rgba(242,240,235,.86); counter-increment: c; }
.box ol li::before { content: counter(c); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-content: center; font: 500 12px var(--mono); color: var(--dim); margin-top: 1px; }
.box ol li b { color: var(--ink); }
.form { background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.form h2 { font-size: clamp(24px, 3vw, 32px); }
.form .sub { color: var(--dim); font-size: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 650; color: rgba(242,240,235,.88); }
.field label small { font-weight: 500; color: var(--dim); margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: #000; color: var(--ink); font: 500 16px var(--wide); -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #FF7A70; }
.hosts { display: flex; flex-wrap: wrap; gap: 6px; }
.hosts span { font: 500 12px var(--mono); color: var(--dim); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 9px; }
.form .btn { width: 100%; min-height: 56px; font-size: 17px; }
.err { background: rgba(255,59,47,.12); color: #FFB3AD; border: 1px solid rgba(255,59,47,.4); padding: 10px 12px; border-radius: 8px; font-size: 14.5px; }
.form .fine { font-size: 13px; color: var(--dim); }
.skeleton { height: 120px; border-radius: 16px; background: linear-gradient(90deg, #0E0E10 0%, #18181b 50%, #0E0E10 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

footer { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--rule); padding: 30px 0 38px; color: var(--dim); font-size: 14px; }
footer .wrap { display: grid; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: rgba(242,240,235,.78); padding: 6px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* jobs board: deal strip for new visitors (23 Nov 2026) */
.deal-strip { display: grid; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: #0E0E10; max-width: 720px; }
.deal-strip p { margin: 0; font-size: 15.5px; line-height: 1.45; color: rgba(242,240,235,.88); }
.deal-strip .btn { min-height: 54px; font-size: 17px; }
.deal-strip[hidden] { display: none; }
@media (min-width: 720px) { .deal-strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; } }

/* Player ranks (SOP 35) */
.gate { position: relative; margin: 0 18px 12px; padding: 12px 14px; border: 1.5px solid var(--paper-ink); border-radius: 12px; display: grid; gap: 6px; background: rgba(23,21,15,.04); }
.gate-need { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 15px; }
.gate-k { font: 500 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(23,21,15,.62); }
.gate-note { font-size: 13.5px; color: rgba(23,21,15,.72); line-height: 1.45; }
.gate-ok, .gate-no { border-radius: 10px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; }
.gate-ok { background: rgba(14,107,60,.1); border: 1px solid rgba(14,107,60,.35); color: #0B5730; }
.gate-no { background: rgba(138,99,0,.08); border: 1px solid rgba(138,99,0,.4); color: #6B4C00; }
.btn-line-dk { border: 1.5px solid var(--paper-ink); color: var(--paper-ink); background: transparent; }
.btn-line-dk:hover { background: rgba(23,21,15,.06); }
.shot-gate { display: inline-block; margin-left: 8px; font: 500 11px/1.3 var(--mono); font-style: normal; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(23,21,15,.35); color: rgba(23,21,15,.7); vertical-align: 1px; }
.shot-gate.ok { border-color: #0E6B3C; color: #0B5730; background: rgba(14,107,60,.08); }
.shot-gate.no { border-color: #8A6300; color: #6B4C00; }
.shot-gate.drop { text-decoration: line-through; }
.rank-now { display: grid; gap: 8px; align-content: start; padding: clamp(18px, 3vw, 28px); }
.rank-now .rank-name { font-size: clamp(34px, 5vw, 56px); color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font: 500 12px var(--mono); letter-spacing: .03em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(63,217,138,.6); color: var(--clean); }
