/* RowdyHacks XII: manila case files, red ink, typewritten evidence.
   Bungee and Courier Prime are locally served; see assets/README.md. */
@font-face { font-family: Bungee; src: url("/assets/fonts/Bungee-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --kraft: #dcc5a1;
  --kraft-2: #c5a578;
  --ink: #1a1410;
  --ink-soft: #584b3f;
  --red: #ac1903;
  --red-deep: #8c1908;
  --card: #f0ede7;
  --paper-line: #c3b49e;
  --terminal: #24221e;
  --terminal-text: #f0ede7;
  --go: #315d3b;
  --display: Bungee, "Arial Black", sans-serif;
  font-family: "Courier Prime", "Courier New", monospace;
  color: var(--ink);
  background: var(--kraft);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background-image: radial-gradient(#1a141008 .65px, transparent .65px); background-size: 4px 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; box-shadow: 0 0 0 3px var(--card); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.25; }
p { line-height: 1.5; }
svg { display: block; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; }
.paper { max-width: 1320px; padding: 0 48px; margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 14px; background: var(--card); z-index: 10; }
.skip-link:focus { top: 16px; }
.site-bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 16px; text-decoration: none; white-space: nowrap; }
.brand img { object-fit: contain; }
.edition { letter-spacing: 1px; }
.edition span { color: var(--red); padding: 0 10px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 13px; }
.case-header { position: relative; padding: 33px 0 26px; border-bottom: 3px double var(--ink); margin-bottom: 30px; }
.case-no, .section-kicker { font-size: 11px; line-height: 1.4; letter-spacing: 1.5px; font-weight: 700; }
.case-no { margin-bottom: 14px; }
.case-no span { color: var(--red); }
.case-slash { margin: 0 10px; }
.case-title { font-family: var(--display); font-size: clamp(36px, 4.3vw, 62px); font-weight: 400; letter-spacing: -1.8px; line-height: 1.1; margin: 0 220px 12px 0; }
.title-period { color: var(--red); }
.intro-copy { font-size: 15px; margin-bottom: 22px; max-width: 720px; color: var(--ink-soft); }
.case-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; min-height: 30px; }
.phase { padding: 6px 10px 5px; border: 1px solid var(--ink); background: var(--card); line-height: 1; }
.conn { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.conn::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; background: currentColor; border-radius: 50%; }
.conn.live { color: var(--go); }
.conn.down { color: var(--red); }
.stamp { position: absolute; right: 7px; top: 65px; border: 3px solid var(--red); padding: 9px 12px 7px; color: var(--red); font-weight: 700; font-size: 23px; letter-spacing: 1px; transform: rotate(-9deg); text-align: center; }
.stamp span { display: block; border-top: 1px solid var(--red); padding-top: 5px; margin-top: 4px; font-size: 9px; letter-spacing: 2px; }

.operation { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 24px; align-items: stretch; }
.stage { position: relative; min-width: 0; background: var(--card); border: 1px solid var(--ink); margin-top: 27px; }
.file-tab { position: absolute; top: -28px; left: -1px; height: 28px; background: var(--red); color: var(--card); padding: 8px 19px 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.file-tab span { margin: 0 8px; }
.target-layout { display: grid; grid-template-columns: minmax(145px, .8fr) 1.2fr; align-items: center; gap: 28px; padding: 27px 30px 21px; }
.vault { width: 100%; max-width: 206px; position: relative; margin: 0 auto; }
.vault svg { width: 100%; height: auto; }
.vault-housing { fill: #d8d1c5; stroke: var(--ink); stroke-width: 2; }
.vault-hardware { fill: var(--ink); stroke: var(--card); stroke-width: 1; }
.vault-body { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.vault-ring { fill: #ddd6ca; stroke: var(--ink); stroke-width: 1.5; }
.vault-ticks { stroke: var(--ink); stroke-width: 2; }
.vault-dial circle { fill: var(--ink); stroke: var(--ink); stroke-width: 2; }
.vault-dial path { stroke: var(--card); stroke-width: 4; }
.vault-dial line { stroke: var(--red); stroke-width: 5; }
.vault-dial .pin { fill: var(--red); stroke: var(--card); stroke-width: 2; }
.vault-bolts { fill: var(--ink); }
.vault-label { font-size: 10px; letter-spacing: 3px; text-align: center; margin-top: 9px; font-weight: 700; }
.vault[data-state="racing"] .vault-dial { transform-origin: 110px 110px; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cracks polyline { fill: none; stroke: var(--red); stroke-width: 3; opacity: 0; }
.vault[data-state="cracked"] .cracks polyline { opacity: 1; }
.vault[data-state="cracked"] .vault-body { stroke: var(--red); }
.cracked-stamp { display: none; position: absolute; top: 43%; left: -4%; right: -4%; padding: 6px; color: var(--red); border: 3px solid var(--red); background: var(--card); font-family: var(--display); font-size: 25px; text-align: center; transform: rotate(-12deg); }
.vault[data-state="cracked"] .cracked-stamp { display: block; }
.target-copy .section-kicker { color: var(--red); margin-bottom: 9px; }
.target-copy h2 { font-size: clamp(22px, 2.2vw, 29px); letter-spacing: -.6px; margin-bottom: 14px; }
.target-copy > p:not(.section-kicker) { font-size: 14px; color: var(--ink-soft); margin-bottom: 0; }
.verdict { font-size: 13px; line-height: 1.4; margin-top: 12px; color: var(--red); font-weight: 700; }
.verdict:empty { display: none; }
.verdict .pay { display: block; margin-top: 5px; color: var(--ink); font-weight: 400; }
.dispatch { display: flex; align-items: baseline; gap: 16px; border-top: 1px dashed var(--paper-line); min-height: 46px; padding: 12px 20px; }
.dispatch-label { flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--red); }
.announcer { font-size: 12px; line-height: 1.4; color: var(--ink-soft); min-width: 0; overflow-wrap: anywhere; }
.announcer:empty::after { content: "Standing by for the first move."; }
.announcer.flash { animation: annFlash .4s ease-out; }
@keyframes annFlash { from { color: var(--red); } to { color: var(--ink-soft); } }

.bankroll { padding: 25px 24px 20px; background: var(--ink); color: var(--card); border-top: 4px solid var(--red); }
.bankroll .section-kicker { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 22px; }
.pot > span { font-size: 11px; letter-spacing: 2px; }
.pot > div { display: flex; align-items: baseline; gap: 10px; margin-top: 5px; }
.pot b { font-family: var(--display); font-size: 60px; line-height: 1.15; font-weight: 400; overflow-wrap: anywhere; min-width: 0; }
.pot div span { font-size: 11px; }
.players { display: flex; align-items: center; gap: 8px; padding: 15px 0; margin: 8px 0 17px; border-top: 1px solid #756c60; border-bottom: 1px solid #756c60; font-size: 11px; letter-spacing: .5px; }
.players b { margin-left: auto; font-size: 19px; }
.join-hint { font-size: 12px; }
.join-hint code { display: block; text-align: center; font: inherit; font-size: 11px; overflow-wrap: anywhere; margin-top: 11px; color: #d2c4ad; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--ink); padding: 12px 17px 10px; background: var(--ink); color: var(--card); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .8px; cursor: pointer; text-decoration: none; border-radius: 0; }
.btn:hover:not(:disabled) { background: var(--red-deep); border-color: var(--red-deep); color: var(--card); }
.btn:disabled { background: #c6b9a5; color: #5b5043; border-color: #ad9c84; cursor: not-allowed; }
.join-link { width: 100%; margin-top: 13px; background: var(--card); color: var(--ink); border-color: var(--card); justify-content: space-between; }

.crew-section { margin-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading .section-kicker { color: var(--ink-soft); margin-bottom: 6px; }
.section-heading h2 { margin-bottom: 0; font-size: 25px; }
.section-note { font-size: 10px; letter-spacing: 1px; padding-bottom: 5px; }
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.agent { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--card); }
.agent-file { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--paper-line); padding: 10px 15px 8px; font-size: 10px; letter-spacing: .7px; min-height: 36px; }
.agent-file > span { flex-shrink: 0; color: var(--ink-soft); }
.agent-status { font-weight: 700; font-size: 10px; text-align: right; line-height: 1.2; }
.agent-head { display: flex; gap: 12px; align-items: center; padding: 19px 15px 12px; }
.avatar, .pick-avatar { display: grid; place-items: center; width: 43px; height: 47px; flex-shrink: 0; background: var(--kraft); border: 1px solid var(--ink); font-family: var(--display); font-size: 23px; }
.agent-name { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 4px; }
.agent-strategy { font-size: 12px; color: var(--ink-soft); }
.agent-odds { margin-left: auto; line-height: 1.1; text-align: right; }
.agent-odds b { display: block; color: var(--red); font-size: 21px; }
.agent-odds span { font-size: 10px; color: var(--ink-soft); }
.agent-bets { padding: 0 15px 6px; color: var(--ink-soft); font-size: 12px; }
.bar { display: flex; gap: 5px; padding: 9px 15px 7px; }
.seg { height: 7px; background: #d6cbbd; border: 1px solid #8c7b66; flex: 1; }
.seg.on { background: var(--go); border-color: var(--go); }
.bar-labels { display: flex; gap: 5px; padding: 0 15px 18px; font-size: 10px; line-height: 1.2; color: var(--ink-soft); }
.bar-labels span { flex: 1; text-align: center; min-width: 0; }
.log-label { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px 8px; margin: auto 12px 0; background: var(--terminal); color: var(--terminal-text); border-bottom: 1px solid #575047; font-size: 10px; letter-spacing: .5px; }
.log-label span { color: #d2c4ad; font-size: 9px; }
.reasoning { min-height: 116px; max-height: 180px; margin: 0 12px 12px; padding: 12px 14px; background: var(--terminal); color: var(--terminal-text); overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #b2a28a var(--terminal); font-size: 12px; line-height: 1.5; }
.reasoning:empty::after { content: "Awaiting field notes.\AThe crew is standing by."; white-space: pre-line; color: #d2c4ad; }
.reasoning p { margin: 0 0 7px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.reasoning p::before { content: "> "; color: #dcc5a1; }
.finding { margin: 0 12px 12px; border-left: 3px solid var(--red); padding: 10px; background: #e6ddcf; color: var(--red-deep); font-size: 12px; overflow-wrap: anywhere; line-height: 1.4; }
.agent.won { border: 2px solid var(--red); }
.agent.won .agent-file { background: var(--red); color: var(--card); }
.agent.won .agent-file > span { color: var(--card); }
.agent.won .seg.on { background: var(--red); border-color: var(--red); }
.agent.refused .agent-status { color: var(--red); }
.agent.rejected .finding { border-style: dashed; text-decoration: line-through; }
.agent.rejected .agent-status { color: var(--red); }
.takings { display: grid; grid-template-columns: 1fr auto; gap: 32px; margin-top: 30px; padding: 25px 0 28px; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
.control-heading .section-kicker { margin-bottom: 7px; }
.control-heading h2 { font-size: 21px; margin-bottom: 7px; }
.control-heading > p:last-child { font-size: 12px; color: var(--ink-soft); margin-bottom: 0; }
.host { align-self: center; }
.host-primary, .host-secondary { display: flex; flex-wrap: wrap; gap: 8px; }
.host-primary { margin-bottom: 10px; }
.host-primary .btn { flex: 1; }
.host-primary .btn:first-child:not(:disabled) { background: var(--red); border-color: var(--red); }
.btn.ghost { color: var(--ink); background: transparent; font-size: 10px; min-height: 38px; padding: 9px 12px 7px; }
.btn.ghost:hover:not(:disabled) { color: var(--card); background: var(--ink); border-color: var(--ink); }
.btn.ghost:disabled { color: #615447; border-color: #9c8b73; cursor: not-allowed; }
.btn.rec-on { background: var(--red); color: var(--card); border-color: var(--red); }
.page-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 0 100px; font-size: 10px; letter-spacing: 1px; position: relative; }
.page-footer::after, .player-footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65px; background: url("/assets/skyline.svg") center bottom / auto 65px repeat-x; opacity: .28; pointer-events: none; }
.page-footer > span:first-child { font-family: var(--display); font-size: 13px; color: var(--red); }
.page-footer a { display: inline-flex; align-items: center; gap: 8px; }

/* Player admission ticket and betting slip. */
.play { max-width: 1120px; }
.play .site-bar { gap: 18px; }
.play .case-header { padding-top: 36px; margin-bottom: 28px; }
.play .case-title { font-size: clamp(45px, 6vw, 76px); margin-right: 0; }
.play .case-title span { display: block; }
.play .intro-copy { max-width: 570px; margin-top: 19px; margin-bottom: 20px; }
.player-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: start; padding: 9px 0 36px; }
.player-brief { padding: 0 15px 0 0; }
.player-vault { width: 130px; height: 130px; margin: 6px 0 24px; }
.player-brief .section-kicker { color: var(--red); margin-bottom: 9px; }
.player-brief h2 { font-size: 24px; letter-spacing: -.5px; margin-bottom: 19px; }
.brief-steps { margin: 0 0 23px; padding-left: 22px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.brief-steps li { padding: 0 0 9px 5px; }
.brief-steps li::marker { color: var(--red); font-weight: 700; }
.player-forms { min-width: 0; }
.play .card { padding: 27px; background: var(--card); border: 1px solid var(--ink); border-top: 5px solid var(--red); margin-bottom: 22px; }
.play .card .section-kicker { font-size: 10px; color: var(--red); margin-bottom: 15px; }
.play .card h2 { font-size: 24px; margin-bottom: 14px; }
.card-copy { font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; }
.field-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.field { width: 100%; min-height: 48px; font-size: 16px; padding: 12px; background: #faf8f2; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; }
.field::placeholder { color: #6c6054; opacity: 1; }
.field:disabled { color: #615447; background: #e2d9cd; border-color: #9c8b73; }
.field-hint { font-size: 11px; color: var(--ink-soft); margin-top: 10px; margin-bottom: 18px; line-height: 1.5; }
.play .row { display: flex; align-items: center; gap: 12px; margin: 13px 0; }
.join-row .btn { width: 100%; justify-content: space-between; background: var(--red); border-color: var(--red); }
.ticket-footnote { font-size: 9px; letter-spacing: 1.2px; margin: 23px 0 0; padding-top: 17px; border-top: 1px dashed #9c8b73; line-height: 1.6; color: var(--ink-soft); }
.balance { font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--paper-line); margin-bottom: 16px; }
.balance b { color: var(--red); font-size: 24px; }
.note { font-size: 13px; line-height: 1.5; color: var(--ink-soft); overflow-wrap: anywhere; }
.note:empty { display: none; }
.picks { display: grid; gap: 9px; margin: 20px 0; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 75px; text-align: left; width: 100%; background: transparent; color: var(--ink); border: 1px solid #81715f; border-radius: 0; padding: 12px; cursor: pointer; }
.pick:hover:not(:disabled):not(.sel) { border-color: var(--red); background: #e9dfcf; }
.pick-avatar { width: 36px; height: 40px; font-size: 20px; }
.pick-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pick-name { font-family: var(--display); font-size: 18px; }
.pick-strategy { color: var(--ink-soft); font-size: 11px; }
.pick-odds { margin-left: auto; color: var(--red); font-size: 21px; font-weight: 700; white-space: nowrap; }
.pick.sel { background: var(--ink); color: var(--card); border-color: var(--ink); }
.pick.sel .pick-odds, .pick.sel .pick-strategy { color: var(--card); }
.pick.sel .pick-avatar { color: var(--ink); }
.pick:disabled { cursor: not-allowed; }
.pick:disabled:not(.sel) { background: #e6dfd4; }
.bet-row { flex-wrap: wrap; }
.bet-row label { font-weight: 700; font-size: 12px; }
.bet-row .field { width: 90px; min-width: 0; }
.bet-row .btn { flex: 1; min-width: 116px; }
#betStatus { border-left: 3px solid var(--red); padding-left: 12px; margin-top: 20px; color: var(--ink); }
.result { font-size: 17px; line-height: 1.5; }
.result.win { color: var(--go); font-weight: 700; }
.result.lose { color: var(--red); }
.result-balance { margin: 19px 0 0; padding: 14px 0 0; border-top: 1px solid var(--paper-line); border-bottom: 0; }
.player-footer { position: relative; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; border-top: 1px solid var(--ink); padding: 20px 0 95px; font-size: 10px; letter-spacing: 1px; }

@media (max-width: 1100px) {
  .paper { padding-inline: 30px; }
  .case-title { font-size: 47px; margin-right: 190px; }
  .stamp { font-size: 19px; }
  .operation { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
  .target-layout { gap: 20px; padding-inline: 20px; grid-template-columns: 140px minmax(0, 1fr); }
  .target-copy h2 { font-size: 23px; }
  .agent-head { gap: 8px; padding-inline: 12px; }
  .agent-name { font-size: 20px; }
  .avatar { width: 32px; height: 40px; font-size: 20px; }
  .agent-strategy { font-size: 11px; }
  .crew { gap: 14px; }
  .agent-file { padding-inline: 12px; gap: 6px; font-size: 9px; }
  .agent-status { font-size: 9px; }
  .takings { gap: 24px; }
  .player-layout { gap: 36px; }
}
@media (max-width: 850px) {
  .site-bar .edition { display: none; }
  .play .site-bar .edition { display: block; font-size: 10px; text-align: right; max-width: 160px; }
  .case-title { font-size: 40px; margin-right: 170px; letter-spacing: -1px; }
  .stamp { font-size: 16px; top: 63px; padding-inline: 9px; }
  .stamp span { font-size: 8px; letter-spacing: 1px; }
  .operation { grid-template-columns: minmax(0, 1fr) 225px; gap: 16px; }
  .bankroll { padding: 23px 18px 18px; }
  .bankroll .section-kicker { font-size: 9px; letter-spacing: .5px; }
  .target-layout { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 25px 18px; }
  .target-copy h2 { font-size: 21px; }
  .target-copy > p:not(.section-kicker) { font-size: 12px; }
  .dispatch { flex-direction: column; gap: 5px; }
  .crew { grid-template-columns: 1fr; }
  .agent-head { padding: 18px 20px 12px; }
  .agent-name { font-size: 26px; }
  .avatar { width: 43px; height: 47px; font-size: 23px; }
  .agent-strategy { font-size: 13px; }
  .agent-file { padding-inline: 20px; font-size: 10px; }
  .agent-status { font-size: 10px; }
  .bar-labels { font-size: 11px; }
  .reasoning { min-height: 95px; }
  .takings { grid-template-columns: 1fr; gap: 18px; }
  .control-heading > p:last-child br { display: none; }
  .host-primary .btn { flex: 1; }
  .host-secondary .btn { flex: 1; }
  .player-layout { grid-template-columns: .8fr 1.2fr; gap: 25px; }
  .play .card { padding: 23px 20px; }
  .player-brief h2 { font-size: 21px; }
  .play .card h2 { font-size: 22px; }
}
@media (max-width: 600px) {
  .paper { padding-inline: 20px; }
  .site-bar { min-height: 66px; gap: 15px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand img { width: 25px; height: 25px; }
  .site-bar .text-link { font-size: 11px; gap: 6px; }
  .case-header { padding: 26px 0 22px; margin-bottom: 25px; }
  .case-no { font-size: 9px; letter-spacing: 1px; }
  .case-slash { margin: 0 5px; }
  .case-title { font-size: clamp(34px, 8.8vw, 48px); margin-right: 0; letter-spacing: -1px; }
  .intro-copy { font-size: 13px; margin-bottom: 18px; max-width: 340px; }
  .stamp { position: static; display: inline-block; transform: rotate(-4deg); font-size: 14px; padding: 5px 8px; margin-top: 22px; border-width: 2px; }
  .stamp span { display: none; }
  .case-meta { gap: 12px; font-size: 11px; letter-spacing: .5px; }
  .conn { font-size: 10px; }
  .operation { grid-template-columns: 1fr; gap: 18px; }
  .target-layout { grid-template-columns: 106px minmax(0, 1fr); padding: 22px 16px; gap: 18px; }
  .target-copy h2 { font-size: 20px; letter-spacing: -.5px; }
  .target-copy .section-kicker { font-size: 9px; }
  .vault-label { font-size: 8px; letter-spacing: 1px; }
  .cracked-stamp { font-size: 16px; border-width: 2px; }
  .dispatch { padding: 12px 16px; }
  .bankroll { padding: 22px; }
  .bankroll .section-kicker { font-size: 10px; }
  .pot b { font-size: 54px; }
  .pot > div { margin-top: 0; }
  .players { margin-top: 10px; }
  .join-hint code { font-size: 11px; }
  .crew-section { margin-top: 26px; }
  .section-heading { align-items: start; }
  .section-heading .section-kicker { font-size: 9px; letter-spacing: .8px; }
  .section-heading h2 { font-size: 23px; }
  .section-note { display: none; }
  .agent-head { padding-inline: 16px; }
  .agent-name { font-size: 24px; }
  .agent-strategy { font-size: 12px; }
  .agent-file { padding-inline: 16px; }
  .bar-labels { font-size: 10px; }
  .host-primary { display: grid; grid-template-columns: 1fr 1fr; }
  .host-primary .btn:first-child { grid-column: 1 / -1; }
  .host-secondary { display: grid; grid-template-columns: 1fr 1fr; }
  .host .btn { padding-inline: 8px; font-size: 10px; min-height: 44px; }
  .page-footer { align-items: start; flex-direction: column; gap: 13px; padding-top: 21px; font-size: 9px; }
  .page-footer::after, .player-footer::after { background-size: auto 50px; height: 50px; }
  .play .site-bar .edition { max-width: 130px; font-size: 9px; letter-spacing: .5px; }
  .play .case-header { padding-top: 27px; margin-bottom: 20px; }
  .play .case-title { font-size: clamp(42px, 12vw, 64px); letter-spacing: -1px; }
  .play .intro-copy { font-size: 13px; margin-top: 16px; }
  .player-layout { display: flex; flex-direction: column; gap: 27px; padding-top: 0; }
  .player-forms { order: 0; width: 100%; }
  .player-brief { order: 1; padding: 18px 0 0; border-top: 1px dashed #8c7b66; width: 100%; }
  .player-vault { float: right; width: 80px; height: 80px; margin: 0 0 10px 15px; }
  .player-brief h2 { font-size: 20px; max-width: 235px; }
  .brief-steps { clear: both; font-size: 12px; }
  .play .card { padding: 23px 20px; margin-bottom: 0; }
  .play .card + .card { margin-top: 20px; }
  .play .card h2 { font-size: 22px; }
  .card-copy { font-size: 13px; margin-bottom: 22px; }
  .pick { gap: 10px; padding-inline: 10px; }
  .pick-avatar { width: 31px; height: 36px; }
  .pick-name { font-size: 17px; }
  .pick-strategy { font-size: 10px; }
  .pick-odds { font-size: 19px; }
  .bet-row { gap: 8px !important; }
  .bet-row .field { width: 69px; padding-inline: 8px; }
  .bet-row .btn { min-width: 110px; padding-inline: 10px; font-size: 11px; }
  .player-footer { font-size: 9px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
