/* Source: chalk.css */
/* THE ROSTER — fantasy football for Solana traders.
 *
 * Two rooms, two materials, one type system.
 *
 *   body[data-room="board"]   the coach's chalkboard — deep green slate, chalk lines,
 *                             magnet-board pieces. Where you BUILD.
 *   body[data-room="studio"]  the broadcast — studio black, huge tabular numerals,
 *                             lower-thirds, the ticker. Where you SWEAT.
 *
 * Chalk is a MATERIAL here, never a handwriting font. The chalk quality comes from the
 * ground (dusty, a wiped streak), from pitch lines drawn with a turbulence-displaced SVG
 * stroke so they are hairline-imperfect, and from pieces with a chalk keyline. One accent,
 * chalk yellow, used the way a coach uses it: to circle the play.
 */

/* ------------------------------------------------------------------ type ---
 * Self-hosted, subset, preloaded. OFL throughout (audited). The type is what makes the
 * two rooms read as one product. */
@font-face { font-family: 'Sofia Sans Extra Condensed'; src: url('/assets/fonts/sofia-cond-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; src: url('/assets/fonts/sofia-cond-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; src: url('/assets/fonts/sofia-cond-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('/assets/fonts/sofia-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('/assets/fonts/sofia-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sofia Sans'; src: url('/assets/fonts/sofia-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
/* JetBrains Mono for every figure: OFL (audited), carries tnum and a slashed zero, and its
 * wider set reads better in a scoreline than the mono it replaced. */
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jbmono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jbmono-600.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jbmono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* the chalkboard */
  --board:       #173224;
  --board-deep:  #0F2219;
  --board-line:  rgba(242,239,229,.14);
  --chalk:       #F2EFE5;
  --chalk-70:    rgba(242,239,229,.72);
  --chalk-40:    rgba(242,239,229,.42);
  --chalk-20:    rgba(242,239,229,.20);
  --yellow:      #F2C94C;
  --yellow-ink:  #2A2208;
  --up:          #7FE0A4;
  --down:        #FF6B5B;

  /* the broadcast */
  --studio:      #07080A;
  --studio-2:    #101216;
  --studio-3:    #181B21;
  --studio-line: rgba(255,255,255,.10);
  --white:       #F4F4F2;
  --white-60:    rgba(244,244,242,.60);
  --white-35:    rgba(244,244,242,.35);
  --live:        #C8F04A;
  --gold:        #E8B33A;

  --display: 'Sofia Sans Extra Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --body:    'Sofia Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(14px, 3vw, 30px);
  --max: 1320px;

  /* room-dependent — defaults are the board */
  --bg: var(--board);
  --fg: var(--chalk);
  --fg-70: var(--chalk-70);
  --fg-40: var(--chalk-40);
  --line: var(--board-line);
  --accent: var(--yellow);
  --accent-ink: var(--yellow-ink);
  --panel: var(--board-deep);
  color-scheme: dark;
}

body[data-room="studio"] {
  --bg: var(--studio);
  --fg: var(--white);
  --fg-70: var(--white-60);
  --fg-40: var(--white-35);
  --line: var(--studio-line);
  --accent: var(--live);
  --accent-ink: #0B1200;
  --panel: var(--studio-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

/* The slate: a wiped streak and a dust layer, both in CSS, no image request. The streak
 * is what makes it read as a board that has been used rather than a flat green fill. */
body[data-room="board"] {
  background-image:
    radial-gradient(ellipse 120% 60% at 18% -10%, rgba(242,239,229,.06), transparent 60%),
    radial-gradient(ellipse 80% 40% at 85% 110%, rgba(242,239,229,.05), transparent 60%),
    linear-gradient(112deg, transparent 38%, rgba(242,239,229,.035) 46%, rgba(242,239,229,.02) 52%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .94 0 0 0 0 .9 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed, scroll;
}

body[data-room="studio"] {
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -20%, rgba(200,240,74,.07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ type --- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  text-transform: uppercase;
}
.kicker {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg-70);
}
.lede { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.45; max-width: 54ch; color: var(--fg); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1, 'zero' 1; }
.up { color: var(--up); }
.down { color: var(--down); }
.accent { color: var(--accent); }
.muted { color: var(--fg-70); }

/* --------------------------------------------------------------- masthead --- */
.masthead { border-bottom: 1px solid var(--line); }
.masthead__bar {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg-70); min-height: 26px;
}
.masthead__bar > :last-child { margin-inline-start: auto; }
/* Furniture must not reflow. A wrap here moves every element on the page. */
#dateline, #edition { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 620px) {
  /* FIXED, not min-height. This bar is furniture — a date, an edition number and the chain
   * switcher — and every layout shift measured on the front page traced back to it changing
   * height after load and pushing the whole page down. Three separate attempts to reserve
   * "enough" space each moved the number around instead of removing it, because the trigger
   * (a font swap changing how the row packs) is not something a min-height can bound. A fixed
   * height ends it: whatever the bar does internally, nothing below it can move. */
  .masthead__bar { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
                   height: 62px; overflow: hidden; align-content: start; }
  .masthead__bar > :last-child { display: none; }
}
.masthead__name { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 10px 0 12px; }
.masthead__name h1 { font-size: clamp(46px, 9vw, 96px); letter-spacing: -0.02em; font-weight: 900; color: var(--fg); }
/* Inner pages are tools, not posters: the wordmark drops to a header so the pitch is above
 * the fold. Measured: the full masthead pushed the draft room 350px down. */
body:not([data-page="index"]) .masthead__name { padding: 6px 0 8px; }
body:not([data-page="index"]) .masthead__name h1 { font-size: clamp(30px, 4.4vw, 44px); }
body:not([data-page="index"]) .masthead__tag { font-size: 12px; padding-bottom: 4px; }
.masthead__name h1 a { text-decoration: none; }
/* the wordmark is the chalk logo; its box is sized by the same clamp the text had */
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: clamp(46px, 9vw, 96px); width: auto; }
body:not([data-page="index"]) .wordmark img { height: clamp(30px, 4.4vw, 44px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.masthead__tag {
  font-family: var(--display); font-size: clamp(13px, 1.5vw, 18px); text-transform: uppercase;
  letter-spacing: .06em; color: var(--fg-70); padding-bottom: clamp(4px, 1vw, 10px);
  text-align: end; text-wrap: balance; margin: 0;
}

nav.sections { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
nav.sections > .wrap { display: flex; flex-wrap: wrap; }
nav.sections a {
  font-family: var(--display); font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; padding: 9px 15px; text-decoration: none; color: var(--fg-70);
  border-inline-end: 1px solid var(--line);
}
nav.sections a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
nav.sections a:hover:not([aria-current="page"]) { color: var(--fg); background: rgba(255,255,255,.04); }

/* the wire */
.wire { border-bottom: 1px solid var(--line); background: rgba(0,0,0,.28); overflow: hidden; min-height: 30px; }
body[data-room="studio"] .wire { background: var(--studio-2); }
.wire__strip { display: flex; width: max-content; animation: wire 70s linear infinite; }
.wire:hover .wire__strip { animation-play-state: paused; }
.wire__item {
  display: flex; align-items: baseline; gap: 8px; padding: 7px 16px;
  border-inline-end: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; white-space: nowrap; color: var(--fg-70);
}
.wire__item b { font-family: var(--body); font-weight: 700; letter-spacing: 0; color: var(--fg); }
.wire__item .u { color: var(--up); } .wire__item .d { color: var(--down); }
@keyframes wire { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ------------------------------------------------------------------ rule --- */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule--chalk { border-top: 2px solid var(--chalk-40); }

/* --------------------------------------------------------------- controls --- */
.btn {
  font-family: var(--display); font-size: 17px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; background: var(--accent); color: var(--accent-ink);
  border: 2px solid var(--accent); border-radius: 3px; padding: 11px 22px; cursor: pointer;
  text-decoration: none; display: inline-block; line-height: 1.1;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--chalk-40); }
.btn--ghost:hover { border-color: var(--fg); color: var(--fg); background: rgba(255,255,255,.04); }
body[data-room="studio"] .btn--ghost { border-color: var(--white-35); }

.chip {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--chalk-40);
  background: transparent; color: var(--fg-70); cursor: pointer; border-radius: 2px;
}
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip:hover:not([aria-pressed="true"]) { color: var(--fg); border-color: var(--fg); }

.search { display: flex; border: 1px solid var(--chalk-40); background: rgba(0,0,0,.18); flex: 1; min-width: 170px; border-radius: 2px; }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--fg);
}
.search input::placeholder { color: var(--fg-40); }
.search input:focus { outline: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 0; }

/* ----------------------------------------------------------------- panel --- */
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 4px; }
.panel__head {
  display: flex; align-items: baseline; gap: 10px; padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
}
.panel__head .kicker { margin-inline-start: auto; }
.panel__body { padding: 12px; }

.tag {
  display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--chalk-40);
  border-radius: 2px; color: var(--fg-70);
}
.tag--sim { border-color: var(--yellow); color: var(--yellow); }
.tag--live { border-color: var(--live); color: var(--live); }
.tag--live::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); margin-inline-end: 6px; vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.note { border-top: 2px solid var(--accent); padding: 9px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-70); }
.note strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--fg); font-size: 15px; }

/* ----------------------------------------------------------------- sheet ---
 * The coach's roster sheet: chalk hairlines, figures right-aligned down a rule. */
table.sheet { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.sheet th {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--fg-70); text-align: end; padding: 7px 8px;
  border-bottom: 1px solid var(--chalk-40); white-space: nowrap;
}
table.sheet th:first-child, table.sheet td:first-child, table.sheet .name { text-align: start; }
table.sheet td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: end; vertical-align: middle; }
table.sheet tbody tr:hover { background: rgba(255,255,255,.035); }
table.sheet tr.is-picked > td { background: rgba(242,201,76,.10); }
table.sheet .rank { font-family: var(--display); font-size: 18px; font-weight: 800; width: 1%; color: var(--fg-70); }
table.sheet .tight { padding-inline: 4px; }
.scroller { max-height: 64vh; overflow: auto; border: 1px solid var(--line); border-radius: 4px; background: rgba(0,0,0,.14); }
.scroller table.sheet th { position: sticky; top: 0; z-index: 2; background: var(--board); box-shadow: 0 1px 0 var(--chalk-40); }
body[data-room="studio"] .scroller table.sheet th { background: var(--studio-2); }

.handle { font-weight: 700; }
.handle small { font-family: var(--mono); font-weight: 400; color: var(--fg-70); font-size: 10.5px; }
/* An unclaimed wallet is an address, and it should LOOK like one — mono, quieter, no @.
   Reading as a person before anyone has proved they are one is the whole failure mode. */
.handle--addr { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--fg-70); letter-spacing: .01em; }
.wallet { font-family: var(--mono); font-size: 11px; color: var(--fg-70); text-decoration: none; border-bottom: 1px dotted var(--chalk-40); }
.wallet:hover { color: var(--accent); border-bottom-color: var(--accent); }
.conf {
  font-family: var(--mono); font-size: 8.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 1px 5px; border: 1px solid currentColor; white-space: nowrap; color: var(--fg-70); cursor: help; border-radius: 2px;
}
.conf--warn { color: var(--yellow); }
.source-line { display:block; }
.source-line + .source-line { margin-top:5px; }
.source-detail { font-size:11px;line-height:1.5;color:var(--fg-70);white-space:normal;overflow-wrap:anywhere; }
.source-cell,.evidence-cell { min-width:145px;max-width:245px;white-space:normal; }
.source-cell a,.evidence-cell a,.source-detail a { text-underline-offset:3px; }
.source-counts { margin:0 0 14px;color:var(--fg-70);font-family:var(--mono);font-size:12px;line-height:1.7; }
.evidence-block { border-top:1px solid var(--line);padding-top:15px; }
.evidence-block h3 { font-size:26px; }
.evidence-block p { margin-top:7px; }
.trade-pair { margin-top:12px;padding:10px 0;border-block:1px solid var(--line); }
.trade-pair .wallet { overflow-wrap:anywhere; }

.pick {
  font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1;
  width: 28px; height: 26px; border: 1px solid var(--chalk-40); background: transparent;
  color: var(--fg); cursor: pointer; padding: 0; border-radius: 2px;
}
.pick:hover:not([disabled]) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pick--in { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pick[disabled] { color: var(--fg-40); border-style: dotted; cursor: not-allowed; }

/* ================================================================ THE PITCH ===
 * The coach's board. An SVG draws the pitch in chalk (see pitch.js — the lines run through
 * a turbulence displacement so they are hairline-imperfect); the pieces are DOM, positioned
 * in a 2–3 formation, most expensive at the front. */
.pitch {
  position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 560px;
  border: 1px solid var(--chalk-40); border-radius: 6px; overflow: hidden;
  background: var(--board-deep);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), inset 0 30px 80px rgba(0,0,0,.28);
}
@media (min-width: 1000px) { .pitch { aspect-ratio: 5 / 6; } }
.pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pitch__slot {
  position: absolute; width: 22%; max-width: 150px; transform: translate(-50%, -50%);
  transition: transform .18s ease;
}
@media (max-width: 480px) { .pitch__slot { width: 27%; } }

/* the piece: a magnet on the board */
.piece {
  display: block; width: 100%; background: var(--board); border: 1.5px solid var(--chalk);
  border-radius: 5px; overflow: hidden; text-decoration: none; color: var(--fg);
  box-shadow: 0 6px 0 rgba(0,0,0,.45), 0 10px 22px rgba(0,0,0,.35);
  transition: transform .14s ease, box-shadow .14s ease;
}
.piece:hover { transform: translateY(-3px); box-shadow: 0 9px 0 rgba(0,0,0,.45), 0 16px 28px rgba(0,0,0,.4); color: var(--fg); }
.piece__face { position: relative; aspect-ratio: 1; background: var(--board-deep); overflow: hidden; }
.piece__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.piece__face .noface {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--chalk-40);
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(242,239,229,.05) 7px 14px);
}
.piece__price {
  position: absolute; top: 6px; left: 6px; font-family: var(--mono); font-size: 10px; font-weight: 700;
  background: var(--yellow); color: var(--yellow-ink); padding: 2px 6px; border-radius: 2px; letter-spacing: .02em;
}
.piece__x {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: var(--chalk); font-family: var(--mono); font-size: 13px;
  line-height: 1; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .12s;
}
.piece:hover .piece__x, .piece:focus-within .piece__x { opacity: 1; }
.piece__plate { padding: 6px 8px 7px; border-top: 1.5px solid var(--chalk); background: var(--chalk); color: var(--board-deep); }
.piece__name {
  font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1; text-transform: uppercase;
  letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.piece__pts {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 3px;
  font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums; color: rgba(15,34,25,.7);
}
.piece__pts b { font-size: 14px; font-weight: 700; color: var(--board-deep); }
.piece__pts b.up { color: #1E6B3A; } .piece__pts b.down { color: #B5321F; }

/* an empty slot: a dashed chalk outline, the coach has not filled it yet */
.slot-empty {
  width: 100%; aspect-ratio: 1 / 1.34; border: 1.5px dashed var(--chalk-40); border-radius: 5px;
  display: grid; place-items: center; color: var(--chalk-40); background: rgba(0,0,0,.12);
  cursor: pointer; transition: border-color .12s, color .12s, background .12s;
  font-family: var(--display); font-size: 36px; font-weight: 900; line-height: 1;
}
.slot-empty:hover, .slot-empty[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); background: rgba(242,201,76,.06); }
.slot-empty small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; margin-top: 4px; font-weight: 600; }

/* the cap meter: a chalk bar, ticked */
.cap { display: grid; gap: 6px; }
.cap__read { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cap__read b { font-size: 20px; font-family: var(--display); font-weight: 900; letter-spacing: .01em; }
.cap__read .over { color: var(--down); }
.cap__track {
  position: relative; height: 12px; border: 1px solid var(--chalk-40); border-radius: 2px; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--chalk-20) calc(10% - 1px) 10%);
}
.cap__fill {
  position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--yellow);
  transform-origin: left center; transform: scaleX(0); transition: transform .2s ease, background-color .2s;
}
.cap__fill.over { background: var(--down); }
.cap__foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-70); }

/* the draft layout */
.draft { display: grid; gap: clamp(16px, 2.2vw, 28px); align-items: start; }
@media (min-width: 1000px) { .draft { grid-template-columns: minmax(360px, 5fr) minmax(0, 7fr); } .draft__pitch { position: sticky; top: 12px; } }

/* =============================================================== BROADCAST === */
.scoreline {
  display: grid; gap: 4px; padding: clamp(16px, 3vw, 28px) 0;
}
.scoreline__label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-70); }
.scoreline__num {
  font-family: var(--display); font-weight: 900; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(64px, 12vw, 148px); font-variant-numeric: tabular-nums;
}
.scoreline__sub { font-family: var(--mono); font-size: 13px; color: var(--fg-70); }

.lower-third {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px; background: var(--studio-2); border-top: 3px solid var(--live);
  font-family: var(--mono); font-size: 12px;
}
.lower-third b { font-family: var(--display); font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }

.board-row {
  display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.board-row:hover { background: rgba(255,255,255,.03); }
.board-row.me { background: rgba(200,240,74,.09); }
.board-row.me .rk { color: var(--live); }
.board-row .rk { font-family: var(--display); font-size: 22px; font-weight: 900; color: var(--fg-70); }
.board-row .who { min-width: 0; }
.board-row .who b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .who small { font-family: var(--mono); font-size: 10.5px; color: var(--fg-70); }
.board-row .pts { font-family: var(--display); font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: end; }
.board-row .spend { font-family: var(--mono); font-size: 11px; color: var(--fg-70); }

.faces { display: flex; gap: 3px; margin-top: 4px; }
.faces img, .faces span {
  width: 22px; height: 22px; border-radius: 3px; object-fit: cover; border: 1px solid var(--line); background: var(--studio-3);
  display: inline-grid; place-items: center; font-family: var(--mono); font-size: 9px; color: var(--fg-40);
}

/* ------------------------------------------------------------------ misc --- */
.stack { display: grid; gap: var(--space, 18px); }
.cols { display: grid; gap: clamp(18px, 3vw, 34px); }
@media (min-width: 900px) { .cols--2-1 { grid-template-columns: 2fr 1fr; } .cols--1-1 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: clamp(14px, 2vw, 26px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* reservations — MEASURED, so nothing moves when script lands */
#slateday { display: inline-block; min-width: 10ch; }
#settle, #locksin { display: inline-block; min-width: 8ch; text-align: end; font-variant-numeric: tabular-nums; }
#poolcount, #boardcount { display: inline-block; min-width: 14ch; }
#entrystate { min-height: 86px; }
#board:empty::after { content: ""; display: block; min-height: 34px; }
#today3 { min-height: 268px; }
@media (max-width: 719px) { #today3 { min-height: 804px; } #entrystate { min-height: 104px; } }

footer.foot { border-top: 1px solid var(--line); margin-top: 46px; padding: 18px 0 40px; font-size: 13px; color: var(--fg-70); }

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

/* Solana preseason — preserve the coach's board, clarify the game. */
h1,h2,h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.skip-link { position:fixed;top:8px;left:8px;z-index:20;padding:12px 18px;background:var(--chalk);color:var(--board);transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.chain-label { font-family:var(--mono);font-size:11px;letter-spacing:.08em;color:var(--accent); }
.home-hero { display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,70px);align-items:center;padding:44px 0 46px; }
.hero-copy { max-width:580px; }
.hero-copy .kicker { margin:0 0 20px; }
.hero-copy h2 { font-size:clamp(58px,7vw,94px);line-height:.94; }
.hero-copy .lede { margin:22px 0 0;max-width:43ch; }
.hero-actions { display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:28px; }
.hero-actions .btn { display:flex;gap:30px;align-items:center; }
.text-link { font-size:16px;font-weight:700;text-decoration-thickness:1px; }
.practice-line { margin:12px 0 0;font-size:14px;color:var(--fg-70); }
.chalk-note { padding-top:18px;margin-top:26px;border-top:1px solid var(--line);max-width:48ch; }
.chalk-note strong { font-family:var(--display);font-size:25px;text-transform:uppercase; }
.chalk-note p { margin:5px 0 0;color:var(--fg-70);font-size:15px; }
.hero-board { min-width:0; }
.board-caption { display:flex;justify-content:space-between;gap:10px;align-items:center;font-family:var(--mono);font-size:11px;color:var(--fg-70);line-height:1.6;margin:0 0 12px; }
#cardcap.board-caption { justify-content:center;text-align:center;margin:12px 0 0; }
.hero-board .pitch { max-height:530px; }
.how-strip { display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--chalk-40); }
.how-strip>div { padding:26px 28px 28px 0; }
.how-strip>div+div { border-left:1px solid var(--line);padding-left:28px; }
.how-strip h3 { font-size:30px;margin:10px 0; }
.how-strip p { color:var(--fg-70);margin:0;font-size:16px;max-width:32ch; }
.step-number { font-family:var(--mono);font-size:13px;color:var(--accent); }
.board-section { padding:42px 0; }
.section-heading { display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px; }
.section-heading h2 { font-size:48px; }
.section-heading h3 { font-size:32px; }
.section-heading p { margin:10px 0 0; }
.home-roster { display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,7vw,100px); }
.home-roster h3 { font-size:26px;margin-bottom:10px; }
.home-roster td { padding-block:12px; }
.home-roster a { text-decoration:none;font-weight:700; }
.lookup-section { display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--chalk-40);padding:32px 0 46px; }
.lookup-section h3 { font-size:30px; }
.lookup-section p { margin:8px 0 0;color:var(--fg-70); }
.helper-text,.footer-note { color:var(--fg-70);font-size:14px;line-height:1.6; }
.footer-note { max-width:88ch; }
.foot { margin-top:35px; }
.page-heading { padding:32px 0 28px; }
.page-heading .kicker { margin:0 0 14px; }
.page-heading h2 { font-size:clamp(42px,5vw,64px); }
.page-heading .lede { margin:16px 0 0; }
.rules-layout { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:clamp(30px,7vw,100px);border-top:1px solid var(--line);padding:32px 0;align-items:start; }
.rules-main { display:grid;gap:30px; }
.rules-main h3 { font-size:32px;margin-bottom:12px; }
.rules-main p { margin:10px 0 0;color:var(--fg-70);font-size:17px;max-width:64ch; }
.practice-aside { border:1px solid var(--chalk-40);padding:26px; }
.practice-aside h3 { font-size:34px;margin:22px 0 15px; }
.practice-aside p,.practice-aside li { color:var(--fg-70); }
.practice-aside ul { padding-left:20px;line-height:1.8;margin:20px 0 26px; }
.practice-aside .btn { width:100%;text-align:center; }
.live-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;align-items:start; }
.live-layout .pitch { max-width:540px;max-height:500px; }
.live-layout .scoreline__num { font-size:76px; }
.empty-state { padding:36px; }
.empty-state h3 { font-size:34px;max-width:18ch; }
.empty-state p { color:var(--fg-70);max-width:48ch; }
.empty-cell { padding:28px 18px!important;white-space:normal!important;font-family:var(--body);line-height:1.6; }
.result-next { margin-top:24px;padding-left:0; }
.btn,.chip,.pick { min-height:44px; }
.pick { min-width:44px; }
input { min-height:44px; }
input::placeholder { color:var(--fg-70);opacity:1; }
button:disabled { opacity:.65; }
.piece__x { width:28px;height:28px;opacity:1;background:var(--board-deep);border:1px solid var(--chalk); }
#entrymsg { scroll-margin-top:20px; }
#entrystate { overflow-wrap:anywhere; }
#meta .wallet { overflow-wrap:anywhere; }
#sheet { min-width:0;scroll-margin-top:12px; }
#sheet .scroller { border-radius:0;max-height:640px; }
#pool td { padding-block:7px; }
#pool .handle { white-space:nowrap; }
#pool .num { font-size:12px; }
#pool .conf { font-size:9px;letter-spacing:0; }
.cap__read b { font-size:28px; }
.draft__pitch { position:sticky;top:20px;align-self:start; }
#poolcount { font-size:11px;letter-spacing:.03em; }
#feedlabel { letter-spacing:0;text-transform:none;font-family:var(--body);font-size:14px; }
@media(max-width:900px) {
 .home-hero { gap:24px; }
 .hero-copy h2 { font-size:70px; }
 .hero-copy .lede { font-size:17px; }
 .hero-board .pitch { max-height:490px; }
 .draft__pitch { position:static; }
 .how-strip>div { padding-right:18px; }.how-strip>div+div { padding-left:18px; }
}
@media(max-width:680px) {
 .home-hero,.home-roster,.lookup-section,.rules-layout,.live-layout { grid-template-columns:1fr; }
 .home-hero { padding:28px 0;gap:28px; }
 .hero-copy h2 { font-size:68px; }
 .hero-copy .kicker { font-size:10px;letter-spacing:.1em;margin-bottom:15px; }
 .hero-copy .lede { font-size:18px;max-width:36ch; }
 .hero-actions { margin-top:20px;gap:22px; }
 .chalk-note { margin-top:22px; }
 .hero-board .pitch { max-height:none;aspect-ratio:1/1.1; }
 .how-strip { grid-template-columns:1fr; }
 .how-strip>div { display:grid;grid-template-columns:26px 1fr;gap:0 14px;padding:22px 0; }
 .how-strip>div+div { border-left:0;border-top:1px solid var(--line);padding:22px 0; }
 .how-strip .step-number { grid-row:1/3;padding-top:4px; }
 .how-strip h3 { margin:0 0 7px;font-size:28px; }
 .how-strip p { max-width:none; }
 .section-heading { align-items:start;flex-wrap:wrap;gap:12px; }
 .section-heading h2 { font-size:42px; }
 .board-section { padding:30px 0; }
 .lookup-section { gap:12px;padding:25px 0 35px; }
 .rules-layout { gap:30px;padding-top:24px; }
 .page-heading { padding:26px 0; }
 nav.sections>.wrap { flex-wrap:nowrap;overflow-x:auto;padding:0; }
 nav.sections a { flex:none;min-height:44px;display:flex;align-items:center;padding:10px 14px; }
 .masthead__bar { display:flex;gap:12px;align-items:center;height:38px;padding:8px 0; }
 #dateline { font-size:9px;letter-spacing:0;flex:1; }
 #edition { font-size:9px;letter-spacing:.05em; }
 .chain-label { display:none; }
 .masthead__name { padding:6px 0 12px; }
 .wordmark img { height:66px; }
 .masthead__tag { max-width:125px;font-size:14px; }
 .board-caption { font-size:10px; }
 .kicker { letter-spacing:.08em; }
 .draft { gap:26px; }
 .draft__pitch .pitch { max-height:430px;aspect-ratio:1/1.08; }
 .piece__x { width:34px;height:34px; }
 .piece__name { font-size:14px; }
 .piece__price { font-size:9px;left:4px;top:4px;padding:2px 4px; }
 .piece__plate { padding:5px; }
 .piece__pts { font-size:9px; }
 .piece__pts b { font-size:12px; }
 .empty-state { padding:24px; }
 .result-next { padding-left:0; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important; } }
.wire:has(.wire__strip:empty) { display:none; }
@media(max-width:680px) {
 .home-hero { gap:0; }
 .hero-copy { display:contents; }
 .hero-copy h2 { font-size:54px; }
 .hero-copy .lede { margin:17px 0 20px; }
 .hero-actions { margin:0; }
 .practice-line { margin:12px 0 26px; }
 .hero-board { margin-bottom:6px; }
 .chalk-note { order:10;margin-top:19px;padding-bottom:3px; }
}
@media(max-width:680px) {
 #sheet .sheet th:nth-child(2),#sheet .sheet td:nth-child(2),#sheet .sheet th:nth-child(3),#sheet .sheet td:nth-child(3),#sheet .sheet th:nth-child(4),#sheet .sheet td:nth-child(4),#sheet .sheet th:nth-child(5),#sheet .sheet td:nth-child(5) { display:none; }
 #sheet .sheet { table-layout:auto; }
 #sheet .scroller { max-height:520px; }
 #sheet .sheet td.name { max-width:175px;white-space:normal; }
 #sheet .sheet .handle { font-size:14px;white-space:normal;overflow-wrap:anywhere; }
 .draft__pitch .panel { display:none; }
}

.skip-link { transform:none;clip-path:inset(100%); }
.skip-link:focus { clip-path:none; }
#today3 { min-height:0; }

/* Ranking cards keep the period and PnL readable at mobile pitch sizes. */
.piece--ranking .piece__pts { flex-direction:column; align-items:flex-start; gap:2px; line-height:1.35; }
.piece--ranking .piece__pts span { font-size:clamp(8px,1.6vw,10px); letter-spacing:0; white-space:normal; max-width:100%; }
.piece--ranking .piece__pts b { font-size:clamp(13px,2.3vw,17px); }

/* The trader library keeps a bounded table and its page controls together. */
.library-count { margin-inline-start:auto; text-align:end; }
.library-sorts { padding-top:0; }
.library-pagination { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 0; }
.library-pagination .chip:disabled { opacity:.45; cursor:default; }
.library-table { max-height:min(76vh, 960px); }
.library-table thead { position:sticky; top:0; z-index:1; background:var(--bg); }
.library-table td a, .home-roster td a { display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
.library-results .rank { white-space:nowrap; }
@media (max-width:600px) {
  .library-count { flex-basis:100%; margin-inline-start:0; text-align:start; }
  .library-pagination { justify-content:space-between; gap:8px; }
}

/* Source: game.css */
/* THE ROSTER · a manager's desk, a stadium board, five real trader magnets.
   Layout and material carry the game feel. Motion only acknowledges an action. */
:root {
  --game-ease: cubic-bezier(.2,.8,.2,1);
  --game-rail: #0b1c14;
  --game-paper: #e8e6d8;
}
[hidden] { display: none !important; }

/* A small physical edge makes controls read as controls. */
.btn { box-shadow: 0 3px 0 #8e711c, 0 5px 12px #0003; transition: transform 180ms var(--game-ease); }
.btn:hover { filter: none; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #8e711c; }
.btn--ghost { box-shadow: 0 3px 0 #0004; }
.btn--ghost:active:not(:disabled) { box-shadow: 0 1px 0 #0004; }
.btn:focus-visible,.chip:focus-visible,.pick:focus-visible { outline: 3px solid var(--chalk); outline-offset: 4px; }

/* Painted grass sits inside a dark, bevelled coach's-board surround. */
.hero-board .pitch,.draft-room .pitch {
  border: 1px solid #637764;
  border-radius: 5px;
  background-color: #163426;
  background-image: repeating-linear-gradient(0deg, #f2efe507 0 12.5%, transparent 12.5% 25%);
  box-shadow: inset 0 0 0 5px #0a1b1499, inset 0 0 50px #00160dcc, 0 2px 0 #65735b55, 0 12px 22px #0004;
  isolation: isolate;
}
.hero-board { padding: 16px; background: #0c1e16; border: 1px solid #536447; border-radius: 8px; box-shadow: 0 6px 0 #07140e, 0 18px 40px #0004; }
.hero-board .board-caption { color: #d0d5bd; }
.pitch svg { pointer-events: none; }
.pitch__slot { transition: none; }
.piece { position: relative; transition: transform 180ms var(--game-ease); }
.piece__face,.piece__plate,.piece__name,.piece__select,.piece__link { display: block; }
.piece__link { text-decoration: none; color: inherit; }
.piece:hover { box-shadow: 0 6px 0 #0007, 0 10px 22px #0005; }
.piece__x { z-index: 3; opacity: 1; transition: transform 150ms var(--game-ease); }
.piece__x:active { transform: scale(.94); }
.piece__select {
  width: 100%; padding: 0; border: 0; background: transparent; color: inherit;
  text-align: start; font: inherit; cursor: pointer; border-radius: inherit;
}
.piece__select:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.piece--interactive { overflow: visible; border-color: #e4e9d1; border-radius: 4px; box-shadow: 0 4px 0 #091b13, 0 8px 13px #0008; }
.piece--interactive .piece__face { border-radius: 2px 2px 0 0; }
.piece--interactive .piece__plate { border-radius: 0 0 2px 2px; }
.piece--interactive .piece__name { padding-right: 0; }
.piece--interactive .piece__x { top: -17px; right: -17px; width: 44px; height: 44px; font-size: 18px; border: 8px solid transparent; background-clip: padding-box; box-shadow: none; }
.piece--interactive .piece__pts { gap: 1px; }
.piece--interactive .piece__pts span { font-size: 8px; }
.piece--interactive .piece__pts b { font-size: clamp(11px,1.4vw,15px); }
.piece--interactive:hover { transform: none; }
.piece--interactive.is-selected { border-color: var(--yellow); outline: 3px solid var(--yellow); outline-offset: 3px; }
.piece--interactive.is-selected .piece__plate { background: var(--yellow); border-color: var(--yellow); }
.piece--interactive.is-selected::after {
  content: 'SELECTED'; position: absolute; bottom: -21px; inset-inline: -8px; text-align: center;
  color: var(--yellow); font: 700 8px/1 var(--mono); letter-spacing: .12em; pointer-events: none;
}
.pitch__slot:has(.is-selected),.pitch__slot:focus-within { z-index: 5; }
.pitch__slot.is-drop-target { outline: 3px dashed var(--yellow); outline-offset: 7px; border-radius: 4px; z-index: 5; }
.pitch--interactive.is-dragging .piece__select { cursor: grabbing; }
.draft-room .slot-empty { color: #a6b49b; border-color: #829078; background: #081b154a; transition: transform 180ms var(--game-ease); }
.draft-room .slot-empty:active { transform: scale(.97); }
.pitch[data-formation="1-3-1"] .pitch__slot { width: 20%; max-width: 100px; }
.pitch[data-formation="1-3-1"] .piece__face { aspect-ratio: 1.35; }
.pitch[data-formation="1-3-1"] .piece__pts span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pitch[data-formation="1-3-1"] .piece__plate { padding: 4px; }
.pitch[data-formation="1-3-1"] .slot-empty { aspect-ratio: 1; }

/* Draft day: the counter is a score bug, the five marks are the real squad. */
.draft-heading { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 30px 28px; }
.draft-heading>div { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.draft-heading .kicker { margin: 0 0 8px; color: var(--yellow); }
.draft-heading h2 { font-size: clamp(46px,5.8vw,76px); }
.draft-heading .lede { margin: 12px 0 0; font-size: 17px; max-width: 48ch; }
.draft-scoreboard {
  display: grid; align-content: center; gap: 9px; min-width: 200px; padding: 17px 22px;
  border: 1px solid #516148; border-radius: 4px;
  background: #0b1c14; box-shadow: inset 0 -3px 0 #07150e, inset 0 1px 0 #b7c39326, 0 5px 16px #0003;
}
.draft-scoreboard>small,.draft-scoreboard>span { color: var(--chalk-70); font: 600 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.draft-scoreboard strong,.draft-scoreboard>b { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--yellow); }
.draft-progress { display: flex; gap: 5px; }
.draft-progress>span { flex: 1; height: 7px; background: #394a38; border-radius: 1px; box-shadow: inset 0 1px 2px #0005; }
.draft-progress>span.is-filled { background: var(--yellow); box-shadow: inset 0 1px 0 #fff6; }
.draft-room .draft { grid-template-columns: minmax(340px,.92fr) minmax(0,1.55fr); gap: 26px; }
.draft-room .draft__pitch { top: 16px; }
.squad-shell { padding: 16px; border: 1px solid #50634b; border-radius: 7px; background: #10261b; box-shadow: inset 0 -4px 0 #06160e, inset 0 1px 0 #d6e0bd1f, 0 12px 25px #0003; }
.squad-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.squad-topline h3 { font-size: 30px; }
.squad-topline .kicker { margin: 0; font-size: 10px; }
.formation-controls { display: flex; gap: 4px; padding: 3px; background: #06180f; border: 1px solid #526146; border-radius: 4px; }
.formation-controls .chip { min-height: 32px; padding: 5px 9px; border: 0; color: var(--chalk-70); letter-spacing: .06em; }
.formation-controls .chip[aria-pressed="true"] { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 2px 0 #897025; }
.draft-room .cap { margin-bottom: 16px; gap: 8px; }
.draft-room .cap__read { font-size: 11px; }
.draft-room .cap__read b { font-size: 30px; }
.draft-room .cap__track { height: 10px; border-color: #7a8064; }
.draft-room .cap__fill { transition: transform 200ms var(--game-ease); }
.draft-room .cap__foot { font-size: 9px; letter-spacing: .035em; }
.draft-room .pitch { max-height: 510px; aspect-ratio: 4/5; }
.draft-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.draft-tools .chip { flex: 1; font-size: 9px; letter-spacing: .025em; min-height: 38px; border-color: #607255; background: #20382a; box-shadow: 0 2px 0 #07180f; }
.draft-tools .chip:active:not(:disabled) { transform: translateY(1px); }
.draft-tools .chip:disabled { opacity: .4; box-shadow: none; cursor: not-allowed; }
.draft-feedback { min-height: 44px; margin: 12px 0 0; color: #dce2cb; font-size: 13px; line-height: 1.55; }
.draft-feedback:empty { display: none; }
.draft-complete { border: 1px solid #738451; padding: 12px 14px; margin-top: 14px; background: #293b22; }
.draft-complete strong { display: block; font-family: var(--display); font-size: 25px; color: var(--yellow); }
.draft-complete p,.draft-complete>span { display: block; margin: 4px 0 0; font-size: 13px; color: var(--chalk-70); }
.draft-complete[hidden] { display: none; }
.draft-room #sheet { padding: 16px; border: 1px solid #73806855; background: #0c20167a; border-radius: 5px; }
.draft-room #sheet>.filters { padding-top: 0; }
.draft-room .search { background: #0b1c14; box-shadow: inset 0 2px 4px #0004; }
.draft-view-controls { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.draft-view-controls .chip { min-height: 34px; font-size: 9px; }
.draft-view-controls .chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); }
.draft-room #poolcount { color: #d2dbc5; }
.draft-room #sheet .scroller { border: 1px solid var(--chalk-20); }

/* Scouting cards borrow the hard printed edge of a football sticker. */
.draft-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: stretch; padding-block: 12px; }
.draft-card-grid[hidden] { display: none; }
.draft-card {
  min-width: 0; position: relative; padding: 11px; border: 1px solid #8b9a74; border-radius: 5px;
  background: linear-gradient(135deg,#2d4936 0,#203828 65%);
  box-shadow: inset 0 1px 0 #dbe1ca22, 0 4px 0 #091b12, 0 7px 12px #0003;
}
.draft-card.is-picked { border-color: var(--yellow); box-shadow: inset 0 3px 0 var(--yellow), 0 4px 0 #887125, 0 7px 12px #0004; }
.draft-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.draft-card__rank { font: 800 28px/1 var(--display); color: #d9e0c9; }
.draft-card__face { width: 64px; height: 64px; margin-bottom: 12px; flex: 0 0 64px; border: 1px solid #b1bba0; border-radius: 3px; object-fit: cover; background: #0c2418; box-shadow: 0 3px 0 #0003; display: grid; place-items: center; font: 800 30px/1 var(--display); }
.draft-card__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.draft-card__name { display: block; font: 800 22px/1.05 var(--display); text-transform: uppercase; color: var(--chalk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.draft-card__name a { color: inherit; text-decoration: none; }
.draft-card__source { display: block; margin-top: 5px; color: #bdcbb1; font: 600 9px/1.4 var(--mono); letter-spacing: .03em; }
.draft-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 10px; padding: 9px 0; border-block: 1px solid #a9ba8c2e; }
.draft-card__stat { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-family: var(--mono); font-size: 10px; }
.draft-card__stat small { color: #bdcbb1; font-size: 9px; }
.draft-card__stat b { font-size: 11px; font-weight: 600; }
.draft-card__salary { font: 700 13px/1.5 var(--mono); }
.draft-card__salary small { color: #bdcbb1; font-size: 9px; font-weight: 400; }
.draft-card__actions { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 5px; }
.draft-card__actions .pick { width: 100%; font-size: 10px; letter-spacing: .02em; border-radius: 3px; background: var(--game-paper); border-color: var(--game-paper); color: #173224; box-shadow: 0 2px 0 #8b9780; }
.draft-card__actions .pick[aria-pressed="true"],.draft-card.is-picked .pick { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); box-shadow: 0 2px 0 #897025; }
.draft-card__actions .pick:disabled { background: #13251a; border-color: #596a4b; box-shadow: none; color: #a5b499; }
.game-scout-trigger { min-height: 44px; border: 1px solid #a9bb8b66; background: #10271a; color: #e2e7d4; border-radius: 3px; padding: 6px 9px; font: 600 10px/1.3 var(--mono); cursor: pointer; }
.game-scout-trigger:hover { border-color: var(--yellow); color: var(--yellow); }
.game-scout-trigger:active { transform: translateY(1px); }
.draft-mobile-dock { display: none; }

@media (hover:hover) and (pointer:fine) {
  .piece--interactive .piece__select[draggable="true"] { cursor: grab; }
  .piece--interactive:hover { box-shadow: 0 5px 0 #091b13, 0 10px 18px #0008; }
  .draft-card:hover { border-color: #dce6c7; }
  .draft-card.is-picked:hover { border-color: var(--yellow); }
  .draft-room .slot-empty:hover { transform: translateY(-2px); }
}
@media (max-width:1100px) {
  .draft-room .draft { grid-template-columns: minmax(320px,.9fr) minmax(0,1.25fr); gap: 20px; }
  .draft-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:850px) {
  .draft-room .draft { grid-template-columns: 1fr; }
  .draft-room .draft__pitch { position: static; }
  .draft-room .pitch { max-height: none; aspect-ratio: 1.15; }
  .draft-room .pitch__slot { width: 18%; max-width: 120px; }
  .draft-room .pitch[data-formation="1-3-1"] { aspect-ratio: 1; }
  .draft-room .pitch[data-formation="1-3-1"] .pitch__slot { width: 17%; max-width: 95px; }
  .draft-room .pitch[data-formation="1-3-1"] .piece__face { aspect-ratio: 1.7; }
  .draft-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .draft-mobile-dock {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky;
    bottom: 10px; z-index: 20; padding: 10px 12px; margin-top: 16px; background: #0a1d13;
    border: 1px solid var(--yellow); border-radius: 5px; box-shadow: 0 6px 20px #0009;
  }
  .draft-mobile-dock>span { font: 600 11px/1.6 var(--mono); }
  .draft-mobile-dock strong { color: var(--yellow); }
  .draft-mobile-dock .btn { padding: 9px 13px; font-size: 15px; min-height: 40px; }
}
@media (max-width:560px) {
  .draft-heading { align-items: flex-start; gap: 12px; padding-block: 22px; }
  .draft-heading>div { gap: 12px; align-items: flex-start; }
  .draft-heading>div>.stack { min-width: 0 !important; }
  .draft-heading h2 { font-size: 43px; }
  .draft-heading .lede { font-size: 14px; line-height: 1.45; }
  .draft-heading .kicker { font-size: 9px; letter-spacing: .08em; }
  .draft-scoreboard { min-width: 100px; padding: 12px 10px; gap: 8px; }
  .draft-scoreboard strong,.draft-scoreboard>b { font-size: 32px; }
  .draft-scoreboard>small,.draft-scoreboard>span { font-size: 8px; letter-spacing: .025em; }
  .draft-progress { gap: 3px; }
  .draft-progress>span { height: 5px; }
  .squad-shell { padding: 12px; }
  .draft-room .pitch { aspect-ratio: .94; }
  .draft-room .pitch__slot { width: 24%; }
  .draft-room .pitch[data-formation="1-3-1"] { aspect-ratio: .86; }
  .draft-room .pitch[data-formation="1-3-1"] .pitch__slot { width: 24%; }
  .draft-room .pitch[data-formation="1-3-1"] .piece__face { aspect-ratio: 1.2; }
  .piece--interactive .piece__name { font-size: 12px; }
  .piece--interactive .piece__price { font-size: 8px; }
  .piece--interactive .piece__pts b { font-size: 11px; }
  .piece--interactive .piece__pts span { font-size: 7px; }
  .piece--interactive .piece__x { right: -15px; top: -16px; }
  .squad-topline { gap: 8px; }
  .squad-topline h3 { font-size: 27px; }
  .draft-room #sheet { padding: 11px; }
  .draft-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .draft-card { padding: 9px; }
  .draft-card__name { font-size: 20px; }
  .draft-card__face { width: 60px; height: 60px; flex-basis: 60px; }
  .draft-card__stat { gap: 3px; }
  .draft-card__stat b { font-size: 10px; }
  .draft-card__stat small { font-size: 8px; }
  .draft-card__actions { grid-template-columns: 1fr; gap: 7px; }
  .draft-card__actions .game-scout-trigger { min-height: 34px; font-size: 9px; }
  .hero-board { padding: 10px; margin-block: 18px 12px; }
}

/* Instant state is fully legible: no hidden content or animation dependency. */
html[data-game-input="keyboard"] :is(.btn,.piece,.piece__x,.slot-empty,.cap__fill) { transition: none; }
html[data-game-input="keyboard"] :is(.btn,.piece__x,.slot-empty):active { transform: none; }
:is(.btn,.piece,.piece__x,.slot-empty):focus-visible { transition: none; }
:is(.btn,.piece__x,.slot-empty):focus-visible:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pitch,.pitch *,.pitch *::before,.pitch *::after { transition: none !important; animation: none !important; transition-duration: 0s !important; }
  .btn,.piece,.piece__x,.piece__select,.pitch__slot,.slot-empty,.cap__fill,.draft-tools .chip,.game-scout-trigger { transition: none; animation: none; }
  .btn:active,.piece:hover,.piece__x:active,.slot-empty:hover,.slot-empty:active,.draft-tools .chip:active,.game-scout-trigger:active { transform: none; }
}

/* Source: scout.css */
/* A coach's scouting dossier. Uses the site's supplied portrait and type. */
.scout-trigger,.scout-button,.scout-close,.scout-text-button,.scout-tray__remove{font-family:var(--body);font-size:13px;font-weight:700;line-height:1.2;cursor:pointer}
.scout-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:5px 0 0 8px;padding:5px 10px;border:1px solid var(--chalk-40);border-radius:3px;background:var(--board-deep);color:var(--chalk);vertical-align:middle;box-shadow:0 2px 0 #07180f;transition:background .15s,transform .15s}
.scout-trigger:hover{background:#284a35;border-color:var(--yellow)}
.scout-trigger:active{transform:translateY(1px)}
.scout-trigger:focus-visible,.scout-dialog :focus-visible,.scout-tray :focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.scout-dialog :focus-visible{outline-color:#745700}
html.scout-is-open{overflow:hidden}
.scout-dialog{--scout-ink:#142c20;--scout-muted:#496052;position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 28px);padding:0;overflow:auto;border:1px solid #708171;border-radius:7px;background:var(--chalk);color:var(--scout-ink);box-shadow:0 6px 0 #07150e,0 24px 80px #0009;color-scheme:light;font-family:var(--body)}
.scout-dialog[open]{animation:scout-arrive .18s cubic-bezier(.16,1,.3,1)}
.scout-dialog::backdrop{background:rgb(3 15 9 / 78%)}
.scout-dialog--compare{width:min(900px,calc(100% - 24px))}
.scout-dialog__header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;background:var(--board-deep);color:var(--chalk);border-bottom:3px solid var(--yellow)}
.scout-dialog__header h2{margin:0;font-family:var(--body);font-size:17px;font-weight:700;letter-spacing:0;text-transform:none}
.scout-close{min-height:40px;padding:8px 11px;border:1px solid var(--chalk-40);border-radius:3px;background:transparent;color:var(--chalk)}
.scout-close:hover{background:#284a35}
.scout-dialog__header :focus-visible{outline-color:var(--yellow)}
.scout-dialog__body{padding:24px}
.scout-identity{display:flex;align-items:center;gap:18px;min-width:0;margin-bottom:22px}
.scout-face{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 88px;width:88px;height:88px;overflow:hidden;background:#cbd4c8;border:3px solid #fff;outline:1px solid #778d7d;border-radius:50%;box-shadow:0 3px 0 #18352326;color:var(--board-deep)}
.scout-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scout-face__fallback{font-family:var(--body);font-size:23px;font-weight:700}
.scout-identity__text{min-width:0}
.scout-provider{margin:0 0 5px;font-size:12px;font-weight:700;color:var(--scout-muted)}
.scout-name{margin:0;font-family:var(--body);font-size:25px;font-weight:700;line-height:1.13;letter-spacing:-.015em;text-transform:none;overflow-wrap:anywhere;text-wrap:pretty}
.scout-display-name{margin:6px 0 0;color:var(--scout-muted);font-size:14px;overflow-wrap:anywhere}
.scout-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0;border-top:1px solid #9caa9d}
.scout-metric{min-width:0;padding:16px 16px 16px 0;border-bottom:1px solid #b1bcb0}
.scout-metric:nth-child(even){padding-left:16px;border-left:1px solid #b1bcb0}
.scout-metric dt{margin-bottom:7px;font-size:13px;font-weight:700}
.scout-metric dd{margin:0}
.scout-value{font-family:var(--mono);font-size:23px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.2;overflow-wrap:anywhere}
.scout-dialog .up{color:#11613a}.scout-dialog .down{color:#a43124}
.scout-metric__detail{margin-top:7px!important;color:var(--scout-muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.scout-receipt{display:flex;flex-wrap:wrap;gap:5px 12px;padding-top:16px;color:var(--scout-muted);font-size:12px;line-height:1.4}
.scout-receipt>span:first-child{font-weight:700}
.scout-wallet{flex-basis:100%;font-family:var(--mono);font-size:11px;overflow-wrap:anywhere}
.scout-source-links{display:flex;flex-wrap:wrap;gap:7px 16px;margin-top:10px;font-size:13px;line-height:1.4}
.scout-source-links a,.scout-comparison a{color:var(--scout-ink);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.scout-source-links a:hover,.scout-comparison a:hover{color:#17593a}
.scout-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.scout-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid #869782;border-radius:3px;background:transparent;color:var(--scout-ink,var(--chalk));text-align:center;text-decoration:none;transition:background .15s,transform .15s}
.scout-dialog .scout-button:hover{background:#dce3d8}
.scout-button--primary{background:var(--yellow);color:var(--yellow-ink);border-color:#a98628;box-shadow:0 3px 0 #8a6a20}
.scout-dialog .scout-button--primary:hover,.scout-tray .scout-button--primary:hover{background:#ffdb6e}
.scout-button:active{transform:translateY(1px)}
.scout-button:disabled,.scout-text-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}
.scout-text-button{min-height:40px;padding:8px 4px;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px}
.scout-compare-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:18px;padding-top:16px;border-top:1px dashed #9caa9d}
.scout-compare-action small{flex-basis:100%;max-width:48ch;font-size:12px;color:var(--scout-muted)}
.scout-compare-action [aria-pressed=true]{background:var(--board);border-color:var(--board);color:var(--chalk)}
.scout-notice{margin:0;padding:0 24px 18px;color:var(--scout-ink);font-size:13px;line-height:1.4}
.scout-notice:empty{display:none}
.scout-unavailable{align-self:center;color:var(--scout-muted);font-size:13px}
.scout-comparison-note{margin:0 0 22px;color:var(--scout-muted);font-size:13px;line-height:1.5}
.scout-comparison{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}
.scout-comparison th,.scout-comparison td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #b1bcb0;overflow-wrap:anywhere}
.scout-comparison tr>*+*{border-left:1px solid #b1bcb0}
.scout-comparison thead th:first-child,.scout-comparison tbody th{width:21%;padding-left:0;font-family:var(--body);font-size:12px;font-weight:700}
.scout-comparison thead th{padding-top:0}
.scout-identity--compact{display:block;margin:0}
.scout-identity--compact .scout-face{width:64px;height:64px;margin-bottom:10px;flex-basis:64px}
.scout-identity--compact .scout-name{font-size:19px}
.scout-identity--compact .scout-display-name{font-size:12px}
.scout-identity--compact .scout-text-button{font-size:12px;padding-left:0}
.scout-compare-value{font-family:var(--mono);font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.025em;line-height:1.2}
.scout-compare-detail{display:block;margin-top:6px;color:var(--scout-muted);font-size:11px;line-height:1.5}
.scout-comparison .scout-source-links{margin:0}
.scout-empty-slot{color:var(--scout-muted);font-weight:400}
.scout-comparison-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}
.scout-tray{position:fixed;z-index:30;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100% - 28px);padding:12px 16px;border:1px solid #82947b;border-top:3px solid var(--yellow);border-radius:5px;background:var(--board-deep);color:var(--chalk);box-shadow:0 5px 0 #07150e,0 10px 36px #0008}
.scout-tray[hidden]{display:none}
body:has(.scout-tray:not([hidden])){padding-bottom:100px}
body:has(.scout-tray:not([hidden])) .draft-mobile-dock{display:none}
.scout-tray__label{display:flex;flex-direction:column;gap:3px;flex-shrink:0;font-size:13px;line-height:1.3}
.scout-tray__label span{font-size:11px;color:#c0cbbb}
.scout-tray__players{display:flex;gap:10px;min-width:0}
.scout-tray__player{display:flex;align-items:center;gap:7px;min-width:0;max-width:205px}
.scout-face--small{width:32px;height:32px;flex-basis:32px;border-width:1px;outline:0;box-shadow:none}
.scout-face--small .scout-face__fallback{font-size:11px}
.scout-tray__name{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.scout-tray__remove{width:36px;height:36px;flex-shrink:0;padding:0;border:1px solid #81937e;border-radius:50%;background:transparent;color:var(--chalk);font-size:21px}
.scout-tray__remove:hover{background:#284a35}
.scout-tray .scout-text-button{color:var(--chalk)}
.scout-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes scout-arrive{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){
  .scout-dialog__header{padding:10px 14px}.scout-dialog__body{padding:18px 16px}.scout-identity{gap:13px}.scout-name{font-size:21px}.scout-face{width:72px;height:72px;flex-basis:72px}.scout-value{font-size:20px}.scout-metric{padding-right:10px}.scout-metric:nth-child(even){padding-left:12px}.scout-actions{flex-direction:column}.scout-actions>*{width:100%}.scout-comparison th,.scout-comparison td{padding:12px 7px}.scout-comparison thead th:first-child,.scout-comparison tbody th{width:20%;font-size:11px}.scout-identity--compact .scout-face{width:48px;height:48px}.scout-identity--compact .scout-name{font-size:15px}.scout-identity--compact .scout-provider{font-size:10px}.scout-compare-value{font-size:14px}.scout-compare-detail{font-size:10px}.scout-comparison .scout-source-links{font-size:11px}.scout-notice{padding:0 16px 16px}
  body:has(.scout-tray:not([hidden])){padding-bottom:calc(164px + env(safe-area-inset-bottom))}
  .scout-tray{bottom:max(12px,env(safe-area-inset-bottom));gap:8px 12px;flex-wrap:wrap;width:calc(100% - 24px);max-width:440px;padding:11px 12px}.scout-tray__label{flex:1}.scout-tray__players{order:3;flex-basis:100%;justify-content:space-between}.scout-tray__player{max-width:calc(50% - 4px);flex:1}.scout-tray__name{max-width:none;flex:1}.scout-tray>.scout-button{min-height:40px;padding:9px 12px}.scout-tray>.scout-text-button{min-height:40px}
}
@media(prefers-reduced-motion:reduce){.scout-dialog[open]{animation:none}.scout-trigger,.scout-button{transition:none;transform:none}}

/* Source: club.css */

/* SHORTLIST START: local-device saved trader controls. */
.shortlist-button{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;min-height:40px;max-width:100%;padding:9px 11px;border:1px solid var(--chalk-40);border-radius:3px;background:var(--board-deep);color:var(--chalk);font-family:var(--body);font-size:12px;font-weight:700;line-height:1.25;text-align:center;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.shortlist-button svg{flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.shortlist-button:hover{background:#294a35;border-color:var(--yellow)}
.shortlist-button[aria-pressed=true]{border-color:var(--yellow);color:var(--yellow);background:#223d28}
.shortlist-button[aria-pressed=true] svg{fill:currentColor;stroke:currentColor}
.shortlist-button:active{transform:translateY(1px)}
.shortlist-button:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.shortlist-button:disabled{opacity:.6;cursor:not-allowed;transform:none}
.shortlist-button__label{overflow-wrap:anywhere}
.shortlist-button__feedback{display:block;flex-basis:100%;max-width:28ch;font-size:11px;font-weight:400;line-height:1.4}
.scout-shortlist-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:15px}
.scout-shortlist-control>small{color:var(--scout-muted);font-size:12px;line-height:1.4}
.scout-dialog .shortlist-button{color:var(--board-deep);background:transparent;border-color:#82947b}
.scout-dialog .shortlist-button:hover{background:#dce3d8;border-color:#61775c}
.scout-dialog .shortlist-button[aria-pressed=true]{background:var(--board);color:var(--yellow);border-color:var(--board)}
.scout-dialog .shortlist-button:focus-visible{outline-color:#745700}
.scout-identity--compact .scout-shortlist-control{margin-top:10px}
.scout-identity--compact .shortlist-button{justify-content:flex-start;font-size:11px;padding:8px;gap:5px}
.shortlist-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.draft-card__top .shortlist-button{position:relative;width:36px;min-width:36px;height:44px;min-height:44px;flex:0 0 36px;padding:8px;gap:0}
.draft-card__top .shortlist-button__label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.draft-card__top .shortlist-button:has(.shortlist-button__feedback){width:auto;max-width:100%;height:auto;flex:0 1 auto;gap:6px}
@media(max-width:640px){.shortlist-button{min-height:44px}.scout-identity--compact .shortlist-button{padding:7px 5px;font-size:10px}.scout-identity--compact .shortlist-button svg{width:15px;height:15px;flex-basis:15px}}
@media(prefers-reduced-motion:reduce){.shortlist-button{transition:none;transform:none}}
/* SHORTLIST END */

/* Source: social.css */
/* The club sits above the board; the draft remains the main event. */
.clubhouse-host { min-height: 94px; margin-top: 20px; }
.manager-host { min-height: 200px; margin-block: 0; }
.trader-social-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.masthead__account { display: flex; align-items: center; gap: 24px; }
.masthead__club { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--chalk-40, #8f9c89); color: var(--fg, #f3f1df); font: 700 13px/1.3 var(--mono, monospace); text-decoration: none; }
.masthead__club:hover, .masthead__club[aria-current="page"] { background: var(--yellow, #f9d34f); color: #132c1d; border-color: var(--yellow, #f9d34f); }
.masthead__club:focus-visible { outline: 3px solid var(--yellow, #f9d34f); outline-offset: 3px; }
.draft-card__top { gap: 6px; }
.draft-card__top .draft-card__source { margin-left: auto; }
.draft-card__top .shortlist-button { flex: 0 0 auto; }
.shortlist-empty { grid-column: 1 / -1; padding: 24px 16px; max-width: 56ch; line-height: 1.65; color: var(--chalk-70); }
#library-filters { padding-top: 0; }
#library-filters .text-link { margin-inline-start: auto; font-size: 14px; }
@media (max-width: 640px) {
  .masthead__account { gap: 10px; }
  .masthead__account .masthead__tag { display: none; }
  .masthead__club { padding-inline: 10px; font-size: 11px; }
  .clubhouse-host { min-height: 148px; }
  .manager-host { min-height: 200px; }
  .draft-card__top .draft-card__source { margin-left: 0; flex: 1; }
  #library-filters .text-link { margin-inline-start: 0; }
}

/* Source: profiles.css */
/* A club office cut from the same chalkboard as the draft. */
#profile-app { padding-block: 32px 48px; min-height: 70vh; }
#profile-app [hidden],.profile-dialog [hidden] { display: none !important; }
#profile-app h1,#profile-app h2,#profile-app h3,.profile-dialog h2,.profile-dialog h3 { font-family: var(--display); font-weight: 800; margin: 0; }
#profile-app h1 { font-size: clamp(52px,7vw,88px); line-height: .94; letter-spacing: -.015em; }
#profile-app h2 { font-size: 34px; line-height: 1; }
#profile-app h3 { font-size: 28px; line-height: 1.1; }
.profile-heading { max-width: 760px; margin-bottom: 32px; }
.profile-heading>p:last-child { max-width: 610px; color: #d1dacb; font-size: 18px; line-height: 1.55; margin: 20px 0 0; }
.profile-eyebrow { color: #f2c94c; font: 600 11px/1.5 var(--mono); letter-spacing: .1em; margin: 0 0 16px; }
.profile-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid #8b9a7a; border-radius: 3px; color: #f2efe5; background: #183424; font: 700 14px/1.25 var(--body); text-decoration: none; text-align: center; cursor: pointer; }
.profile-button--primary { color: #2a2208; border-color: #f2c94c; background: #f2c94c; box-shadow: 0 2px 0 #92711a; }
.profile-button:hover:not(:disabled) { border-color: #f2c94c; }
.profile-button:active:not(:disabled) { transform: translateY(1px); }
.profile-button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.profile-status { color: #f2c94c; line-height: 1.5; font-size: 14px; margin: 14px 0; overflow-wrap: anywhere; }
.profile-status:empty { display: none; }
.profile-footnote { max-width: 720px; font-size: 12px; line-height: 1.6; color: #b8c5ac; margin-top: 32px; }
.profile-panel { padding: 26px; border: 1px solid #65765e; border-radius: 4px; background: #10271cc2; }
.profile-access { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; max-width: 1080px; }
.profile-access .profile-panel>p { color: #cbd5c2; line-height: 1.55; max-width: 470px; }
.profile-access-note { padding: 12px 0; }
.profile-access-note>.profile-crest { margin-bottom: 22px; }
.profile-access-note>p { color: #cbd5c2; max-width: 400px; line-height: 1.6; }
.profile-access-note>.profile-button { margin: 8px 8px 0 0; }
.profile-email { display: grid; gap: 16px; border-top: 1px solid #617454; margin-top: 24px; padding-top: 24px; }
.profile-field { display: grid; gap: 7px; min-width: 0; }
.profile-field label,.profile-colors legend { font-size: 14px; font-weight: 700; }
.profile-field input,.profile-field textarea,.profile-field select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; color: #173224; background: #eeede2; border: 1px solid #a5ae98; border-radius: 2px; font: 500 16px/1.4 var(--body); }
.profile-field textarea { resize: vertical; min-height: 104px; }
.profile-field small,.profile-help { font-size: 13px; color: #bac8b0; line-height: 1.55; }
.profile-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.profile-identity>div { min-width: 0; }
.profile-identity h1,.profile-identity h2 { overflow-wrap: anywhere; }
.profile-crest { flex: 0 0 auto; display: grid; place-items: center; width: 106px; height: 124px; padding-bottom: 9px; color: #2a2208; background: #f2c94c; clip-path: polygon(0 0,100% 0,100% 77%,50% 100%,0 77%); font: 900 45px/1 var(--display); letter-spacing: -.02em; }
[data-crest="chalk"] { --crest-bg: #eeede2; --crest-color: #173224; }
[data-crest="field"] { --crest-bg: #70965b; --crest-color: #081d10; }
[data-crest="charcoal"] { --crest-bg: #242e27; --crest-color: #f2efe5; }
[data-crest="gold"] { --crest-bg: #f2c94c; --crest-color: #2a2208; }
.profile-crest[data-crest] { background: var(--crest-bg); color: var(--crest-color); }
.profile-handle { color: #c5d1b8; font: 500 13px/1.5 var(--mono); margin: 10px 0 0; overflow-wrap: anywhere; }
.profile-club-header { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 24px 0 30px; border-bottom: 2px solid #bec7a7; }
.profile-header-meta { display: grid; justify-items: end; gap: 24px; flex: 0 0 auto; }
.profile-visibility { font: 600 11px/1.4 var(--mono); border: 1px solid #a3b28e; padding: 7px 10px; }
.profile-counts { display: flex; flex-wrap: wrap; gap: 22px; color: #c7d1bc; font-size: 13px; }
.profile-counts b { display: inline-block; margin-right: 3px; color: #f2efe5; font: 800 27px/1 var(--display); }
.profile-account-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 30px; }
.profile-account-tools>p { color: #b8c5ad; font-size: 13px; margin: 0; }
.profile-office { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 24px; align-items: start; }
.profile-editor { display: grid; gap: 22px; }
.profile-section-head { display: flex; gap: 13px; align-items: baseline; margin-bottom: 10px; }
.profile-colors { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-colors legend { margin-bottom: 9px; }
.profile-colors label { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 8px; min-height: 44px; background: var(--crest-bg); color: var(--crest-color); border: 1px solid #8b9a7a; font-size: 13px; font-weight: 700; cursor: pointer; }
.profile-colors label:has(:checked) { outline: 2px solid #f2efe5; outline-offset: 2px; }
.profile-colors input,.profile-publish input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: #173224; }
.profile-publish { padding: 18px; background: #223e2b; border: 1px solid #849774; }
.profile-publish label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 24px; }
.profile-publish input { accent-color: #f2c94c; }
.profile-publish p { font-size: 12px; line-height: 1.6; color: #d0d9c6; margin: 10px 0 0; }
.profile-feature>.profile-actions { margin-top: 18px; }
.profile-lineup-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font: 500 11px/1.5 var(--mono); margin: 18px 0 12px; }
.profile-lineup .pitch,.profile-public-lineup .pitch { width: 100%; background-color: #163426; background-image: repeating-linear-gradient(0deg,#f2efe507 0 12.5%,transparent 12.5% 25%); border: 1px solid #7a8e6c; box-shadow: inset 0 0 0 5px #071c11aa; }
.profile-source { font-size: 10px; color: #b3c0a8; line-height: 1.6; overflow-wrap: anywhere; margin: 11px 0; }
.profile-empty-lineup { padding: 34px 20px; border: 1px dashed #758868; text-align: center; margin: 22px 0; }
.profile-empty-lineup>span { font: 800 80px/1 var(--display); color: #81966d; }
.profile-empty-lineup>p { color: #c0ceb4; font-size: 14px; line-height: 1.6; max-width: 350px; margin: 15px auto; }
.profile-locker { margin-top: 24px; }
.profile-locker-copies { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #586e4d; margin: 22px 0; }
.profile-locker-copy { min-width: 0; padding: 22px 24px 22px 0; }
.profile-locker-copy+div { padding-left: 24px; border-left: 1px solid #586e4d; }
.profile-copy-summary { margin-top: 16px; }
.profile-copy-summary strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.profile-copy-summary p,.profile-locker-copy>p { color: #bfcbb4; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.profile-dialog { width: min(660px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #8b997d; border-radius: 4px; color: #173224; background: #eeede2; box-shadow: 0 20px 70px #0008; }
.profile-dialog::backdrop { background: #04120ddb; }
.profile-dialog__head { padding: 20px 24px; color: #f2efe5; background: #10271b; }
.profile-dialog__head h2 { font-size: 32px; line-height: 1; }
.profile-dialog__body { padding: 22px 24px; }
.profile-dialog__body>div>p { margin-top: 0; line-height: 1.6; }
.profile-dialog .profile-help,.profile-dialog .profile-copy-summary p { color: #49633f; }
.profile-dialog .profile-status { color: #7e371c; }
.profile-dialog .profile-actions { margin-top: 24px; }
.profile-dialog .profile-button:not(.profile-button--primary) { color: #173224; background: transparent; border-color: #687e5b; }
.profile-transfer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 24px; }
.profile-transfer>section { min-width: 0; border-top: 1px solid #9da98d; padding-top: 15px; }
.profile-bio { max-width: 760px; font-size: 20px; line-height: 1.55; color: #d9dfce; white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 26px; }
.profile-club-header+.profile-actions { margin-top: 24px; }
.profile-public-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 50px; align-items: start; margin-top: 48px; padding-top: 32px; border-top: 1px solid #6f815f; }
.profile-public-feature h2 { font-size: 52px !important; }
.profile-public-feature .profile-help { max-width: 340px; font-size: 16px; }
.profile-public-lineup { max-width: 550px; width: 100%; }
.profile-public-lineup>.profile-button { margin-top: 8px; }
.profile-search { display: flex; align-items: end; gap: 12px; max-width: 780px; }
.profile-search>.profile-field { flex: 1; }
.profile-search>.profile-button { margin-bottom: 27px; }
.profile-directory { border-top: 2px solid #bcc7a9; margin-top: 24px; }
.profile-manager-row { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) 150px auto; align-items: center; gap: 28px; border-bottom: 1px solid #697c59; padding-block: 24px; }
.profile-manager-link { color: inherit; text-decoration: none; min-width: 0; }
.profile-manager-link:hover h2 { color: #f2c94c; }
.profile-identity--compact { gap: 16px; }
.profile-identity--compact .profile-crest { width: 52px; height: 61px; font-size: 25px; padding-bottom: 4px; }
.profile-identity--compact h2 { font-size: 32px !important; }
.profile-identity--compact .profile-handle { margin-top: 5px; font-size: 11px; }
.profile-directory-bio { font-size: 14px; color: #c2cdb6; line-height: 1.6; overflow-wrap: anywhere; margin: 0; }
.profile-directory-meta { display: grid; gap: 9px; color: #c5d0b9; font-size: 12px; }
.profile-directory-empty { padding: 52px 0; max-width: 600px; }
.profile-directory-empty>p:not(.profile-eyebrow) { color: #c6d1b9; font-size: 17px; line-height: 1.6; margin-block: 20px; }
.profile-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.profile-pagination>span { font: 500 12px/1.4 var(--mono); }
.profile-directory-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
#profile-app :focus-visible { outline: 3px solid #f2c94c; outline-offset: 4px; }
#profile-app .profile-field :focus-visible { outline-color: #f2efe5; }
.profile-dialog :focus-visible { outline: 3px solid #3c6d44; outline-offset: 3px; }
@media(max-width:1000px) { .profile-office { grid-template-columns: 1fr 1fr; gap: 16px; }.profile-panel { padding: 20px; }.profile-manager-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 20px; }.profile-directory-meta { grid-column: 2; grid-row: 2; }.profile-manager-row>.profile-button { grid-column: 3; grid-row: 1/3; }.profile-manager-link { grid-row: 1/3; }.profile-header-meta { gap: 15px; }.profile-counts { gap: 12px; }.profile-public-feature { gap: 28px; } }
@media(max-width:700px) {
  #profile-app { padding-block: 24px 32px; }.profile-heading { margin-bottom: 26px; }.profile-heading>p:last-child { font-size: 16px; }
  .profile-access,.profile-office,.profile-public-feature { grid-template-columns: 1fr; gap: 22px; }.profile-access-note { padding-top: 16px; }.profile-access-note>.profile-crest { float: left; margin: 0 20px 16px 0; width: 70px; height: 82px; font-size: 30px; }
  .profile-club-header { align-items: start; flex-direction: column; gap: 24px; padding: 18px 0 24px; }.profile-club-header .profile-crest { width: 76px; height: 90px; font-size: 33px; }.profile-identity { gap: 16px; }.profile-identity h1 { font-size: 56px !important; }.profile-header-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }.profile-counts { gap: 16px; }.profile-counts b { font-size: 25px; }
  .profile-panel { padding: 20px 16px; }.profile-editor { gap: 20px; }.profile-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.profile-colors legend { float: left; width: 100%; grid-column: 1/-1; }
  .profile-account-tools { margin-block: 20px 24px; }.profile-account-tools .profile-actions { width: 100%; }.profile-locker-copies { grid-template-columns: 1fr; }.profile-locker-copy { padding: 20px 0; }.profile-locker-copy+div { border-left: 0; border-top: 1px solid #586e4d; padding: 20px 0; }
  .profile-public-feature { margin-top: 32px; padding-top: 24px; }.profile-public-feature h2 { font-size: 42px !important; }.profile-public-lineup { max-width: 450px; margin-inline: auto; }.profile-bio { font-size: 18px; }
  .profile-search { align-items: stretch; flex-direction: column; gap: 10px; }.profile-search>.profile-button { margin: 0; align-self: start; }
  .profile-manager-row { grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding-block: 22px; }.profile-manager-link { grid-column: 1/-1; grid-row: auto; }.profile-directory-bio { grid-column: 1/-1; }.profile-directory-meta { grid-column: 1; grid-row: auto; }.profile-manager-row>.profile-button { grid-column: 2; grid-row: auto; }.profile-identity--compact h2 { font-size: 31px !important; }.profile-identity--compact .profile-crest { width: 52px; height: 61px; font-size: 25px; }
  .profile-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }.profile-dialog__head { padding: 18px 16px; }.profile-dialog__head h2 { font-size: 29px; }.profile-dialog__body { padding: 18px 16px; }.profile-transfer { grid-template-columns: 1fr; gap: 20px; }.profile-dialog .profile-actions { flex-direction: column-reverse; align-items: stretch; }
}
@media(prefers-reduced-motion:reduce) { #profile-app *,#profile-app *::before,#profile-app *::after,.profile-dialog * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Source: arena.css */
/* THE ROSTER / THE CLUB TABLE. October 25, 2026.
   One presentation layer: vermilion sculpture, bone ledger, muted-green table.
   All application state and formation contracts remain in the underlying components. */
@font-face{font-family:"Dela Gothic One";src:url("/assets/fonts/dela-latin.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Schibsted Grotesk";src:url("/assets/fonts/schibsted-latin.woff2") format("woff2");font-style:normal;font-weight:400 900;font-display:swap}
:root{
 --arena-ink:#171A17;--arena-ink-2:#242B23;--arena-paper:#ECE8DF;--arena-sheet:#F3F0E8;--arena-text:#171A17;
 --arena-accent:#F34C2D;--arena-accent-hover:#D73B1E;--arena-field:#B7C4A6;--arena-muted:#454C40;--arena-line:#A5A79B;
 --arena-sky:var(--arena-field);--arena-claret:var(--arena-accent);--arena-claret-hover:var(--arena-accent-hover);
 --display:"Dela Gothic One",sans-serif;--body:"Schibsted Grotesk",sans-serif;--mono:"JetBrains Mono",ui-monospace,monospace;
 --max:1672px;--gutter:40px;--game-ease:cubic-bezier(.22,.7,.18,1);
 --board:var(--arena-field);--board-deep:var(--arena-paper);--chalk:var(--arena-text);--chalk-70:var(--arena-muted);--chalk-40:#454C40;--chalk-20:var(--arena-line);
 --yellow:var(--arena-accent);--yellow-ink:var(--arena-ink);--studio:var(--arena-paper);--studio-2:var(--arena-sheet);--studio-3:#D7D9CC;
 --studio-line:var(--arena-line);--white:var(--arena-text);--white-60:var(--arena-muted);--white-35:#454C40;--live:var(--arena-field);--gold:var(--arena-accent);
 --bg:var(--arena-paper);--fg:var(--arena-text);--fg-70:var(--arena-muted);--fg-40:#454C40;--line:var(--arena-line);--panel:var(--arena-sheet);
 --accent:var(--arena-accent);--accent-ink:var(--arena-ink);--up:#28603D;--down:#A52F22;--game-paper:var(--arena-sheet);--game-rail:var(--arena-ink);color-scheme:light;
}
body[data-room="board"],body[data-room="studio"]{--bg:var(--arena-paper);--fg:var(--arena-text);--fg-70:var(--arena-muted);--fg-40:#454C40;--line:var(--arena-line);--accent:var(--arena-accent);--accent-ink:var(--arena-ink);--panel:var(--arena-sheet);background:var(--arena-paper);background-image:none;color:var(--arena-text);color-scheme:light}
body{font:400 16px/1.5 var(--body);min-height:100dvh}h1,h2,h3,.display{font-family:var(--display);font-weight:400;line-height:1.1;letter-spacing:-.025em;text-wrap:balance;text-transform:none}
h1.page-title{font:400 44px/1.08 var(--display);letter-spacing:-.015em;text-transform:none;max-width:24ch;margin:0}h2{font-size:32px}h3{font-size:24px}
a:hover{color:var(--arena-accent)}.wrap{max-width:var(--max);padding-inline:var(--gutter)}.kicker,.hero-label{font:600 13px/1.45 var(--body);letter-spacing:0;text-transform:none;color:var(--arena-muted)}
.lede{font-size:18px;line-height:1.5;max-width:60ch}.helper-text,.muted,.source-detail{color:var(--arena-muted)}.num{font-variant-numeric:tabular-nums slashed-zero}
button,input,select,textarea{font-family:var(--body)}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}
:focus-visible{outline:3px solid var(--arena-accent);outline-offset:3px}::selection{background:var(--arena-field);color:var(--arena-ink)}[hidden]{display:none!important}
/* A bone navigation strip, ink lettering and one vermilion rule. */
.masthead{background:var(--arena-paper);color:var(--arena-ink);border:0;border-bottom:1px solid var(--arena-ink)}.masthead__shell{display:flex;align-items:center;gap:36px;min-height:82px}
.masthead__shell .wordmark,.masthead__shell .wordmark img,body:not([data-page="index"]) .masthead__shell .wordmark img{width:136px;height:auto;max-height:50px;object-fit:contain;flex:none}
.brand-lockup{display:inline-flex;align-items:baseline;gap:7px;color:var(--arena-ink);text-decoration:none;white-space:nowrap;font:400 27px/1 var(--display);letter-spacing:-.025em;flex:0 0 auto}.brand-lockup__the{font-size:11px;font-family:var(--body);font-weight:800}.brand-lockup__name{font-size:25px}.brand-lockup:hover{color:var(--arena-ink)}
.masthead__shell nav.sections{flex:1;min-width:0;border:0}.masthead__shell nav.sections,.masthead__shell nav.sections>.wrap{display:flex;align-items:center;gap:4px;padding:0;flex-wrap:nowrap}
.masthead__shell nav.sections a{display:flex;align-items:center;min-height:42px;padding:12px 11px;border:0;border-radius:0;color:var(--arena-muted);font:600 15px/1.3 var(--body);letter-spacing:0;text-transform:none;white-space:nowrap;text-decoration:none;transition:background 160ms var(--game-ease),color 160ms var(--game-ease);border-bottom:2px solid transparent}
.masthead__shell nav.sections a:hover{background:transparent;color:var(--arena-ink);border-bottom-color:var(--arena-accent)}.masthead__shell nav.sections a[aria-current="page"]{background:transparent;color:var(--arena-ink);border:0;border-bottom:2px solid var(--arena-accent)}
.masthead__account{gap:12px;flex-shrink:0}.masthead__tag{display:none}.masthead__club{background:var(--arena-ink);color:var(--arena-paper);border:1px solid #171A17;border-radius:0;font:600 14px/1.2 var(--body);min-height:42px;padding:11px 15px;gap:12px;border-color:var(--arena-ink)}
.masthead__club:hover,.masthead__club[aria-current="page"]{color:var(--arena-ink);background:var(--arena-accent);border-color:var(--arena-accent)}
.masthead__bar{min-height:31px;height:auto;padding-block:6px;gap:20px;align-items:center;flex-wrap:wrap;font:400 12px/1.4 var(--body);letter-spacing:0;text-transform:none;border-top:1px solid var(--arena-line);color:var(--arena-muted);background:var(--arena-paper)}.masthead__bar.wrap{padding-inline:var(--gutter);max-width:none;justify-content:center}
.masthead__bar #edition,.masthead__bar .chain-label{color:var(--arena-muted);font:600 12px/1.4 var(--body);letter-spacing:0}.masthead :focus-visible{outline-color:var(--arena-accent)}.wire{display:none}
/* Controls are quiet until they carry the primary action or current selection. */
.btn,.chip,.pick,.club-button,.profile-button,.scout-button{font-family:var(--body);letter-spacing:0;text-transform:none;box-shadow:none;min-height:44px;border-radius:2px;transition:background 160ms var(--game-ease),border-color 160ms var(--game-ease),color 160ms var(--game-ease)}
.btn{background:var(--arena-ink);color:var(--arena-paper);border:1px solid var(--arena-field);padding:14px 21px;font-size:16px;font-weight:700;line-height:1.35;text-decoration:none;border-color:var(--arena-ink)}
.btn:hover{background:var(--arena-accent);border-color:var(--arena-accent);color:var(--arena-ink);filter:none;box-shadow:none}.btn:active:not(:disabled){transform:translateY(1px);box-shadow:none}
.btn--ghost{background:transparent;border-color:var(--arena-ink);color:var(--arena-text)}.btn--ghost:hover{background:var(--arena-field);border-color:var(--arena-ink);color:var(--arena-text)}
.btn:disabled,.btn[disabled],.pick:disabled{opacity:1;background:#ECE8DF;color:#454C40;border-color:#D7D9CC;cursor:not-allowed;box-shadow:none}
.chip{padding:9px 13px;border:1px solid #D7D9CC;background:transparent;color:var(--arena-text);font:600 14px/1.3 var(--body);min-width:44px}
.chip:hover{background:#ECE8DF;color:var(--arena-text);border-color:#A5A79B}.chip[aria-pressed="true"]{background:var(--arena-ink);border-color:var(--arena-ink);color:var(--arena-paper)}
.search{display:flex;align-items:center;background:var(--arena-sheet);border:1px solid #A5A79B;border-radius:2px;box-shadow:none;min-height:48px;overflow:hidden}.search input{font:400 16px/1.4 var(--body);padding:12px 14px;color:var(--arena-text);min-width:0;background:transparent}.search input::placeholder{color:var(--arena-muted)}.search:focus-within{outline:2px solid var(--arena-accent);outline-offset:2px}
.filters{gap:8px;padding-block:12px}.tag,.conf{font:600 12px/1.35 var(--body);padding:4px 8px;border:1px solid #D7D9CC;border-radius:2px;letter-spacing:0;color:var(--arena-muted);text-transform:none}.tag--sim,.conf--warn{color:#A52F22;background:#ECE8DF;border-color:#D7D9CC}.tag--live{color:#28603D;background:#ECE8DF;border-color:#D7D9CC}.tag--live::before{animation:none;background:currentColor}
.pick{display:inline-flex;align-items:center;justify-content:center;background:var(--arena-ink);border:1px solid var(--arena-accent);color:var(--arena-paper);font:700 15px/1.25 var(--body);min-width:44px;padding:9px 13px;border-color:var(--arena-ink)}.pick:hover:not(:disabled){background:var(--arena-accent);color:var(--arena-ink);border-color:var(--arena-accent)}.pick--in,.pick[aria-pressed="true"]{background:var(--arena-field);border-color:#718365;color:var(--arena-ink)}
.panel,.scroller,.empty-state,.practice-aside{background:var(--arena-sheet);border:1px solid var(--arena-line);border-radius:2px;box-shadow:none}.panel__head{font:700 17px/1.3 var(--body);padding:18px 20px;text-transform:none;letter-spacing:0;border-color:var(--arena-line)}.panel__body{padding:20px}.empty-state{padding:30px}.empty-state :is(h2,h3),.practice-aside :is(h2,h3){font-size:28px}.empty-state p{max-width:55ch;color:var(--arena-muted)}.note{border:1px solid var(--arena-line);border-radius:2px;padding:16px;font-size:15px}.note strong{font:700 16px/1.4 var(--body)}
/* The lobby is a playable team object, with its market immediately below. */
.game-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-height:44px;padding:18px 0;margin-bottom:32px;border-bottom:1px solid var(--arena-ink);color:var(--arena-muted);font:600 13px/1.4 var(--body)}
.game-lobby__actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:24px}.game-lobby__actions .btn{min-height:48px}.game-lobby__actions .text-link{color:var(--arena-ink)}
.game-lobby__stage{position:relative;isolation:isolate;background:var(--arena-field);padding:32px 40px;min-width:0;color:var(--arena-ink)}.game-lobby__stage-head,.lobby-stage-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;position:relative;z-index:1;font-size:13px;line-height:1.4}.game-lobby__stage-head strong{font:700 17px/1.3 var(--body)}.game-lobby__stage-head span,.lobby-stage-foot{color:var(--arena-muted)}.lobby-stage-foot{padding-top:18px;border-top:1px solid var(--arena-ink)}
.lobby-five{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;align-items:center;justify-items:center;padding:30px 8px;margin:8px 0 24px;min-height:270px}
.lobby-five::before{content:"";position:absolute;inset:auto 0 50%;border:0;border-radius:2px;opacity:.5;z-index:-1;pointer-events:none;height:1px;border-top:2px solid var(--arena-ink)}.lobby-five::after{content:"";position:absolute;left:calc(50% - 45px);top:calc(50% - 45px);width:90px;height:90px;border:1px solid #A5A79B;border-radius:50%;opacity:.5;z-index:-1;pointer-events:none;display:none}
.lobby-player{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-column:auto;width:100%;max-width:172px;min-width:0;padding:16px 14px;border:1px solid var(--arena-ink);border-radius:2px;background:var(--arena-sheet);color:var(--arena-ink);text-align:center;text-decoration:none;position:relative;transition:transform 160ms var(--game-ease),background 160ms var(--game-ease);box-shadow:4px 4px 0 #171A1720;transform:rotate(-2deg)}
.lobby-player:first-child{grid-column:auto}.lobby-player:nth-child(2){grid-column:auto;transform:rotate(2deg)}.lobby-player:nth-child(3){grid-column:auto}.lobby-player:hover{background:var(--arena-paper);color:var(--arena-ink);transform:translateY(-4px)}.lobby-player:focus-visible{outline-color:var(--arena-field)}
.lobby-player__portrait{width:86px;height:86px;object-fit:cover;border-radius:50%;display:block;background:var(--arena-field);flex:none}.lobby-player__name{font:700 14px/1.25 var(--body);margin-top:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--arena-ink);font-size:16px}.lobby-player__meta{font:400 11px/1.3 var(--body);color:var(--arena-muted);margin-top:3px;font-size:12px}.lobby-player__salary{font:600 11px/1.4 var(--mono);color:var(--arena-ink);margin-top:5px;font-size:12px}.lobby-player--empty{border-style:dashed;min-height:188px;background:transparent}.lobby-player--empty .lobby-player__portrait{display:grid;place-items:center;font:400 32px/1 var(--body);background:transparent}
.lobby-overview{display:grid;grid-template-columns:minmax(0,8fr) minmax(240px,4fr);gap:48px;align-items:start;margin-bottom:60px}.lobby-market,.lobby-side{min-width:0;background:transparent;border:0;border-radius:0;overflow:hidden}.lobby-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 0 20px;border-bottom:2px solid var(--arena-ink)}.lobby-panel-head :is(h2,h3){font:400 24px/1.25 var(--display);margin:0}.lobby-panel-head .text-link{font-size:14px;white-space:nowrap}.lobby-side{padding:0 0 0 32px;border-left:1px solid var(--arena-line)}.lobby-side h2,.lobby-side h3{font:400 23px/1.25 var(--display)}.lobby-side p{font-size:15px;color:var(--arena-muted)}.lobby-side .btn{width:100%;margin-top:16px}.lobby-market .home-roster{display:block;padding:0 16px}.lobby-market .home-roster>div+div{margin-top:24px}.lobby-market .home-roster h3{font:600 16px/1.3 var(--body);margin:18px 0 12px}
.home-facts{display:flex;gap:24px;flex-wrap:wrap;margin:20px 0;padding:20px 0;border-block:1px solid var(--arena-line)}.home-fact{font-size:14px;color:var(--arena-muted)}.home-fact strong{display:block;font:700 26px/1.2 var(--body);color:var(--arena-text)}
.board-section{padding:48px 0;border-top:1px solid var(--arena-line)}.section-heading{margin-bottom:22px;gap:20px}.section-heading h2{font-size:36px}.section-heading h3{font-size:25px}.section-heading p{font-size:16px;color:var(--arena-muted);max-width:65ch}.section-heading .kicker{margin-bottom:8px}.home-roster{gap:28px}.home-roster h3{font:700 20px/1.3 var(--body);margin-bottom:18px}.home-roster .name{position:relative;padding-right:72px}.home-roster .name>a{min-height:34px;align-items:center}.home-roster .scout-trigger{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:8px;min-height:44px;font-size:12px}.home-roster .source-detail a{display:inline}.home-roster .source-detail{font-size:12px}
.club-invitation,.home-club{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center;padding:30px 34px;margin:0 0 32px;background:var(--arena-ink-2);border-radius:2px;color:var(--arena-sheet)}.club-invitation h2,.home-club h2{font-size:38px;max-width:24ch;margin:0}.club-invitation>.kicker{grid-column:1/-1;color:#A5A79B;margin:0}.club-invitation>div{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.club-invitation .text-link,.home-club a{color:var(--arena-sheet)}.home-club p{color:#D7D9CC;font-size:16px}.home-club .btn{color:var(--arena-ink)}.club-playbook{display:grid;gap:18px}.club-playbook strong{font:700 20px/1.3 var(--body)}
.lookup-section{padding:40px 0;border:0;gap:30px;border-top:1px solid var(--arena-ink)}.lookup-section h2,.lookup-section h3{font-size:30px}.home-status{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-top:1px solid var(--arena-line)}.home-status p{font-size:13px;color:var(--arena-muted);max-width:90ch;margin:0}.home-status .tag{flex:none}
/* Scouting data is a readable comparison surface, with genuine portraits as landmarks. */
.page-heading{padding:30px 0 24px}.page-heading h2{font-size:44px}.page-heading .kicker{margin-bottom:8px}
table.sheet{font:400 14px/1.4 var(--body);background:var(--arena-sheet)}table.sheet th{font:600 12px/1.4 var(--body);letter-spacing:0;text-transform:none;color:var(--arena-muted);padding:14px 12px;border-bottom:1px solid var(--arena-line)}table.sheet td{padding:13px 12px;border-color:#D7D9CC}table.sheet tbody tr:hover{background:#ECE8DF}table.sheet tr.is-picked>td{background:#ECE8DF}
table.sheet .rank{font:600 13px/1.4 var(--body);color:var(--arena-muted)}.scroller{overflow:auto}.scroller table.sheet th,body[data-room="studio"] .scroller table.sheet th,.library-table thead{background:#ECE8DF;box-shadow:none}.handle{font:700 16px/1.3 var(--body)}.handle small,.source-detail{color:var(--arena-muted)}.source-counts,.library-count{font:400 13px/1.5 var(--body)}.source-line{font-size:12px;line-height:1.45}.library-pagination{padding-block:18px}.library-pagination .chip{min-width:90px}
/* The draft: a transfer ledger and a persistent team table. */
.draft-heading{padding-block:36px 28px}.draft-heading :is(h1,h2){font-size:44px;letter-spacing:-.015em}.draft-heading .kicker{color:var(--arena-muted)}.draft-heading .helper-text{font-size:16px;color:var(--arena-muted);max-width:55ch}
.draft-scoreboard{display:grid;gap:5px;min-width:182px;padding:14px 18px;background:var(--arena-ink-2);border:1px solid #171A17;border-radius:2px;box-shadow:none}.draft-scoreboard>small,.draft-scoreboard>span{font:600 12px/1.4 var(--body);color:#D7D9CC;text-transform:none;letter-spacing:0}.draft-scoreboard strong,.draft-scoreboard>b{font:700 30px/1.2 var(--body);color:var(--arena-sheet)}.draft-scoreboard>.kicker{color:#D7D9CC}.draft-progress>span{height:5px;background:#171A17;border-radius:2px;box-shadow:none}.draft-progress>span.is-filled{background:var(--arena-field);box-shadow:none}
.draft-room>.rule{margin:0;border-color:var(--arena-line)}.draft-room .draft{grid-template-columns:minmax(0,1.2fr) minmax(340px,.9fr);gap:30px;align-items:start}.draft-room .draft__pitch{position:static;min-width:0;order:2}.squad-shell{--fg:var(--arena-ink);--fg-70:var(--arena-muted);--fg-40:var(--arena-muted);--chalk:var(--arena-ink);--chalk-70:var(--arena-muted);--chalk-40:var(--arena-muted);--line:var(--arena-line);--board:var(--arena-field);--board-deep:var(--arena-field);background:var(--arena-field);color:var(--arena-ink);border:1px solid var(--arena-line);border-radius:2px;box-shadow:none;padding:24px}
.squad-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-color:#171A17;margin-bottom:14px}.squad-topline :is(h2,h3),.squad-topline>strong{font:700 22px/1.25 var(--body);letter-spacing:0;margin:0}.squad-topline .kicker{color:var(--arena-muted)}
.formation-controls{display:flex;gap:3px;padding:0;background:transparent;border:1px solid var(--arena-ink);border-radius:2px}.formation-controls .chip{color:var(--arena-ink);border:0;border-radius:2px;min-height:44px;font-size:13px;padding:6px 9px;letter-spacing:0}.formation-controls .chip[aria-pressed="true"]{background:var(--arena-ink);color:var(--arena-paper);box-shadow:none}
.squad-shell .cap{margin-block:18px;gap:9px}.squad-shell .cap__read{font-size:13px}.squad-shell .cap__read b{font:600 27px/1.3 var(--mono);letter-spacing:-.02em}.squad-shell .cap__read>span{font-size:13px}.squad-shell .cap__foot{font:400 12px/1.4 var(--body);color:var(--arena-muted);letter-spacing:0}.cap__track,.squad-shell .cap__track{height:7px;background:#93A283;border:0;border-radius:2px;overflow:hidden}.cap__fill,.squad-shell .cap__fill{background:var(--arena-ink)}
.draft-tools{gap:6px;margin-bottom:16px}.draft-tools .chip{background:transparent;color:var(--arena-ink);border:1px solid #718365;box-shadow:none;font:600 12px/1.3 var(--body);min-height:44px;letter-spacing:0;padding-inline:9px;flex:1}.draft-tools .chip:hover{background:var(--arena-paper);color:var(--arena-ink)}.draft-tools .chip:disabled{opacity:1;background:transparent;border-color:#8B9A7C;color:#454C40}
.draft-room .pitch,.profile-lineup .pitch,.profile-public-lineup .pitch,.live-layout .pitch{background:var(--arena-field);background-image:none;border:1px solid #718365;border-radius:0;box-shadow:none;color:#4D6242;isolation:isolate}.draft-room .pitch{height:480px;aspect-ratio:auto;max-height:none}.draft-room .pitch[data-formation="1-3-1"]{height:530px}
.draft-room .pitch svg,.profile-lineup .pitch svg,.profile-public-lineup .pitch svg,.live-layout .pitch svg{opacity:1;filter:none}.draft-room .pitch svg>g,.profile-lineup .pitch svg>g,.profile-public-lineup .pitch svg>g,.live-layout .pitch svg>g{opacity:.5;stroke-width:1}
.draft-room .pitch__slot{width:23%;max-width:110px;min-width:46px}.draft-room .pitch[data-formation="1-3-1"] .pitch__slot{width:21%;max-width:100px}.piece,.piece--interactive{border:1px solid var(--arena-ink);border-radius:2px;background:var(--arena-sheet);color:var(--arena-text);box-shadow:3px 4px 0 #171A1730}.piece:hover,.piece--interactive:hover{box-shadow:0 5px 12px #171A1735;transform:none}.piece__face,.piece--interactive .piece__face{background:var(--arena-paper);border-radius:2px}.piece__face .noface{background:#ECE8DF;color:var(--arena-muted)}
.piece__plate,.piece--interactive .piece__plate{background:var(--arena-sheet);color:var(--arena-text);border:0;border-radius:2px;padding:7px 5px}.piece__name,.piece--interactive .piece__name{font:700 12px/1.2 var(--body);text-transform:none;letter-spacing:0}.piece__price{background:var(--arena-ink-2);color:var(--arena-sheet);border-radius:2px;font:600 9px/1.3 var(--mono);padding:4px 5px}.piece__pts{color:var(--arena-muted);font-family:var(--body)}.piece__pts b{color:var(--arena-text)}.piece__pts b.up{color:var(--up)}.piece__pts b.down{color:var(--down)}
.piece__x,.piece--interactive .piece__x{background-color:var(--arena-sheet);color:var(--arena-ink);border-color:transparent;border-radius:50%}.piece--interactive.is-selected{outline:3px solid var(--arena-field);outline-offset:3px;border-color:var(--arena-accent);outline-color:var(--arena-accent)}.piece--interactive.is-selected .piece__plate{background:var(--arena-paper)}.piece--interactive.is-selected .piece__pts,.piece--interactive.is-selected .piece__pts b{color:var(--arena-ink)}.piece--interactive.is-selected::after{font:600 10px/1 var(--body);letter-spacing:0;text-transform:none;content:'Selected';color:var(--arena-ink)}
.draft-room .slot-empty{aspect-ratio:1;border:1px dashed #718365;border-radius:50%;color:var(--arena-ink);background:#C6D1B8;font:400 30px/1 var(--body);box-shadow:none}.draft-room .slot-empty small{font:600 11px/1.4 var(--body);letter-spacing:0;margin-top:8px}.draft-room .slot-empty:hover{background:var(--arena-paper);color:var(--arena-ink);border-color:var(--arena-ink);transform:none}
.squad-shell .squad-hint,.squad-shell #draft-feedback{color:var(--arena-muted);font:400 13px/1.5 var(--body)}.draft-feedback,.draft-room #draft-feedback{color:var(--arena-muted);font:400 14px/1.5 var(--body);margin:0}.draft-complete{padding:16px;background:#ECE8DF;border:1px solid #A5A79B;border-radius:2px}.draft-complete strong{font:700 18px/1.3 var(--body);color:var(--up)}.draft-complete p,.draft-complete>span{color:var(--arena-muted)}
.draft-room #sheet{padding:22px 0;background:var(--arena-sheet);border:0;border-radius:2px;min-width:0;order:1;border-top:2px solid var(--arena-ink)}.draft-room #sheet .squad-topline{padding-bottom:16px;margin-bottom:0;border-bottom:1px solid var(--arena-line)}.draft-room #sheet .squad-topline h2{font-size:23px}.draft-room #sheet .search{width:100%;flex-basis:100%;background:#ECE8DF;box-shadow:none}.draft-room #sheet .filters{align-items:center}.draft-room #sheet .chip{font-size:13px;padding-inline:11px}.draft-room #poolcount{width:100%;color:var(--arena-muted);font-size:12px;margin-top:3px}.draft-view-controls{gap:5px}.draft-view-controls .chip{font:600 13px/1.3 var(--body);min-height:40px}
.draft-room #draft-cards,.draft-card-grid{display:grid;grid-template-columns:1fr;gap:0;padding:0}.draft-room #draft-cards{max-height:710px;overflow:auto;scrollbar-gutter:stable;padding-right:6px}.draft-room #draft-table{max-height:710px;overflow:auto}
.draft-card,.draft-room .draft-card{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:18px auto auto;gap:4px 16px;position:relative;min-width:0;padding:14px 12px;background:var(--arena-sheet);border:0;border-radius:0;box-shadow:none;transition:border-color 160ms var(--game-ease),background 160ms var(--game-ease);border-bottom:1px solid var(--arena-line)}.draft-card:hover,.draft-room .draft-card:hover{border-color:#A5A79B;background:#E6E6DA}.draft-card.is-picked,.draft-room .draft-card.is-picked{background:#D9E1CF;border-color:#8B9A7C;box-shadow:inset 3px 0 var(--arena-ink)}
.draft-card__top{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:0;padding-right:40px;min-width:0}.draft-card__rank,.draft-card__source{font:400 12px/1.3 var(--body);color:var(--arena-muted);letter-spacing:0;margin:0}.draft-card__top .shortlist-button{position:absolute;right:9px;top:9px;width:44px;height:44px;min-width:44px;flex-basis:44px;background:transparent;border:0}
.draft-card__face,.draft-room .draft-card__face{grid-column:1;grid-row:1/4;align-self:start;width:64px;height:64px;flex-basis:64px;border:0;border-radius:50%;background:#ECE8DF;box-shadow:none;margin:0;overflow:hidden}.draft-card__face img{border-radius:50%;width:100%;height:100%;object-fit:cover}
.draft-card__name,.draft-room .draft-card__name{grid-column:2;grid-row:2;min-width:0;font:700 19px/1.2 var(--body);text-transform:none;color:var(--arena-text);letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding-right:34px}
.draft-card__stats{grid-column:2;grid-row:3;display:flex;flex-wrap:wrap;gap:8px 20px;border:0;margin:3px 0 0;padding:0;align-items:center}.draft-card__stat{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;font-family:var(--body)}.draft-card__stat small,.draft-card__salary small{color:var(--arena-muted);font:400 12px/1.3 var(--body);margin:0}.draft-card__stat b{font:600 13px/1.35 var(--mono);color:var(--arena-text)}.draft-card__salary{font-size:13px}
.draft-card__actions{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.draft-card__actions .game-scout-trigger{margin:0}.draft-card__top .draft-card__source{margin-left:0}.draft-card__actions .pick{font:700 14px/1.3 var(--body);min-height:40px;box-shadow:none;border-radius:2px;background:var(--arena-ink);border-color:var(--arena-ink);color:var(--arena-paper)}.draft-card__actions .pick[aria-pressed="true"],.draft-card.is-picked .pick{background:var(--arena-field);border-color:#718365;color:var(--arena-ink);box-shadow:none}.draft-card__actions .pick:disabled{background:#ECE8DF;border-color:#D7D9CC;color:#454C40}
.game-scout-trigger,.scout-trigger{border:1px solid #A5A79B;background:transparent;color:var(--arena-text);box-shadow:none;border-radius:2px;font:600 14px/1.3 var(--body);min-height:40px;padding:8px 12px;border-color:var(--arena-line)}.game-scout-trigger:hover,.scout-trigger:hover{background:#ECE8DF;border-color:#A5A79B;color:var(--arena-text)}
/* Real game states: journey, replacement, cap review and Undo. */
.draft-journey{margin:0 0 8px;background:#ECE8DF;border:1px solid #D7D9CC;border-radius:2px;color:var(--arena-muted);overflow:hidden}.draft-journey__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0}.draft-journey__steps li{margin:0;padding:0;list-style:none;min-width:0}.draft-journey [data-draft-step]{position:relative;display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 18px;border:0;border-right:1px solid #D7D9CC;background:transparent;font:600 15px/1.3 var(--body);color:inherit;text-align:left;cursor:pointer;width:100%}.draft-journey li:has([aria-current=step]),.draft-journey [aria-current=step]{background:var(--arena-ink-2);color:var(--arena-sheet)}.draft-journey__number{display:grid;place-items:center;min-width:25px;height:25px;border:1px solid currentColor;border-radius:50%;font:600 12px/1 var(--body);color:inherit}.draft-journey [aria-current=step] .draft-journey__number{background:var(--arena-field);border-color:var(--arena-field);color:var(--arena-ink)}.draft-journey button:focus-visible{outline-offset:-4px;outline-color:var(--arena-field)}
.selection-desk{padding:15px;margin:0 0 16px;background:#ECE8DF;color:var(--arena-ink);border:1px solid #D7D9CC;border-radius:2px}.selection-desk__identity{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.selection-desk__name{font:700 20px/1.25 var(--body);overflow-wrap:anywhere;min-width:0}.selection-desk__salary{font:600 12px/1.3 var(--mono);white-space:nowrap}.selection-desk__status{font-size:14px;line-height:1.45;margin:8px 0 12px}.selection-desk__actions{display:flex;gap:7px;flex-wrap:wrap}
.selection-desk__actions button,.draft-replacement-banner button,.draft-session__undo{min-height:44px;padding:10px 12px;background:transparent;border:1px solid currentColor;border-radius:2px;color:inherit;font:600 14px/1.3 var(--body);cursor:pointer}.selection-desk__actions .selection-desk__replace{background:var(--arena-ink-2);border-color:var(--arena-ink-2);color:var(--arena-sheet)}.selection-desk__actions button:hover{background:var(--arena-sheet);color:var(--arena-ink)}
.draft-replacement-banner{padding:16px;margin:-20px -20px 16px;background:#ECE8DF;color:var(--arena-text);border-bottom:1px solid #A5A79B;border-radius:2px}.draft-replacement-banner__text{font:600 15px/1.45 var(--body);margin:0 0 12px}
.draft-session{margin-top:20px;padding-top:18px;border-top:1px solid #171A17;border-color:#8B9A7C}.draft-session__heading{font:700 21px/1.25 var(--body);margin:0 0 8px;color:var(--arena-ink);letter-spacing:0}.draft-session__readiness{font:400 14px/1.5 var(--body);color:var(--arena-muted);margin:0 0 14px}
.salary-ledger{display:grid;gap:0;list-style:none;margin:0;padding:0;border-top:1px solid #171A17;border-color:#8B9A7C}.salary-ledger li{list-style:none;margin:0;padding:0}.salary-ledger__slot{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 0;border:0;border-bottom:1px solid #171A17;background:transparent;color:var(--arena-ink);text-align:left;cursor:pointer;border-bottom-color:#8B9A7C}.salary-ledger__number{font:600 12px/1 var(--body);color:var(--arena-muted)}.salary-ledger__name{font:600 14px/1.3 var(--body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.salary-ledger__salary{font:500 12px/1.3 var(--mono);color:var(--arena-ink);white-space:nowrap}.salary-ledger__track{position:absolute;left:32px;right:0;bottom:0;height:2px;pointer-events:none}.salary-ledger__fill{display:block;height:100%;width:100%;background:var(--arena-ink);transform-origin:left}.salary-ledger__slot:hover,.salary-ledger__slot.is-selected{background:#CAD3BE}.salary-ledger__slot.is-selected .salary-ledger__name{color:var(--arena-ink)}
.draft-session__action{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;padding:12px 16px;margin-top:18px;border:1px solid var(--arena-field);border-radius:2px;background:var(--arena-ink);color:var(--arena-paper);font:700 16px/1.3 var(--body);cursor:pointer;border-color:var(--arena-ink)}.draft-session__action:hover{background:var(--arena-accent);color:var(--arena-ink)}.draft-session__receipt{margin-top:14px;padding-top:14px;border-top:1px solid #171A17;display:flex;gap:12px;justify-content:space-between;align-items:center;border-color:#8B9A7C}.draft-session__receipt-text{font-size:13px;color:var(--arena-muted)}.draft-session__undo{flex:none;color:var(--arena-ink)}
.draft-mobile-dock{position:static;inset:auto;z-index:auto;display:none;margin-top:0;background:var(--arena-ink-2);border:1px solid #171A17;border-radius:2px;color:var(--arena-sheet);box-shadow:none}.draft-mobile-dock .chip{color:var(--arena-sheet);border-color:#454C40}.draft-mobile-dock strong,.draft-mobile-dock #dock-count{color:var(--arena-sheet)}.draft-mobile-dock .btn{color:var(--arena-ink)}
.draft-controls{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;padding-top:28px;border-top:1px solid var(--arena-line);margin-top:10px}.draft-controls>section{min-width:0}.draft-controls .club-bar,.draft-controls .manager-challenges{margin:0;min-height:150px;padding:22px}.draft-controls .club-bar{display:flex;flex-wrap:wrap;gap:16px}.draft-controls .club-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}.draft-controls>div{padding:22px;background:var(--arena-sheet);border:1px solid var(--arena-line);border-radius:2px}.draft-controls>.panel{padding:0}.draft-controls #entrystate{font-size:14px;line-height:1.5}.draft-controls #enter{background:var(--arena-ink);border-color:var(--arena-ink);color:var(--arena-paper)}.draft-controls #enter:disabled{background:#ECE8DF;border-color:#D7D9CC;color:#454C40}
/* Clubs, accounts and source detail carry the same control grammar. */
.club-bar,.manager-challenges,.profile-panel{background:var(--arena-sheet);color:var(--arena-text);border:1px solid var(--arena-line);border-radius:2px;box-shadow:none}.club-bar{padding:18px 20px}.club-identity{color:var(--arena-text)}.club-name{font:700 21px/1.25 var(--body);text-transform:none;letter-spacing:0}.club-identity small,.club-summary,.club-notice{color:var(--arena-muted)}
.club-button,.profile-button{background:transparent;color:var(--arena-text);border-color:#A5A79B;padding:10px 14px;font:600 14px/1.3 var(--body)}.club-button:hover:not(:disabled),.profile-button:hover:not(:disabled){background:#ECE8DF;border-color:#A5A79B;color:var(--arena-text)}.club-button--primary,.profile-button--primary,.scout-button--primary{background:var(--arena-ink);border-color:var(--arena-ink);color:var(--arena-paper);box-shadow:none}
.shortlist-button{border:1px solid #A5A79B;border-radius:2px;color:var(--arena-muted);background:transparent;min-width:44px;min-height:44px}.shortlist-button:hover{background:#ECE8DF;color:var(--arena-text)}.shortlist-button[aria-pressed=true]{background:#ECE8DF;border-color:#A5A79B;color:#28603D}.shortlist-empty{color:var(--arena-muted)}
.manager-challenges{--manager-ink:var(--arena-text);--manager-muted:var(--arena-muted);padding:20px}.manager-heading h2{font:700 21px/1.25 var(--body);letter-spacing:0}.manager-count{color:var(--arena-ink)}.manager-open,.manager-close,.manager-action{border:1px solid #A5A79B;border-radius:2px;color:inherit;background:transparent;min-height:44px;font-family:var(--body)}.manager-open:hover,.manager-close:hover,.manager-action:hover{background:#ECE8DF}.manager-progress,.manager-progress::-webkit-progress-bar{background:#ECE8DF}.manager-progress::-webkit-progress-value,.manager-progress::-moz-progress-bar{background:var(--arena-accent)}
.manager-badge{border-color:var(--arena-line);color:var(--arena-muted)}.manager-stamp{border:1px solid #A5A79B;border-radius:2px;background:#ECE8DF;color:var(--arena-muted);transform:none;box-shadow:none}.manager-badge__status{color:var(--arena-muted)}.manager-badge.is-earned{color:var(--arena-text)}.manager-badge.is-earned .manager-stamp{background:#ECE8DF;border-color:#A5A79B;color:#28603D;box-shadow:none}.manager-badge.is-earned .manager-badge__status{color:#28603D}
.profile-heading>p:last-child,.profile-access .profile-panel>p,.profile-access-note>p,.profile-footnote,.profile-field small,.profile-help,.profile-handle,.profile-counts,.profile-account-tools>p,.profile-publish p,.profile-source,.profile-empty-lineup>p,.profile-copy-summary p,.profile-locker-copy>p,.profile-bio{color:var(--arena-muted)}.profile-eyebrow,.profile-status{font:600 13px/1.45 var(--body);color:var(--arena-muted);letter-spacing:0;text-transform:none}.profile-counts b{color:var(--arena-text);font-family:var(--body);font-size:25px}
#profile-app h1{font-size:44px;letter-spacing:-.015em;line-height:1.08}#profile-app h2{font-size:30px;line-height:1.15}#profile-app h3{font:700 21px/1.3 var(--body);letter-spacing:0}.profile-panel{padding:24px}.profile-club-header,.profile-locker-copies,.profile-locker-copy+div,.profile-public-feature,.profile-email{border-color:var(--arena-line)}.profile-publish,.profile-directory-empty,.profile-email{background:var(--arena-sheet);border-color:var(--arena-line)}.profile-publish input{accent-color:var(--arena-accent)}.profile-empty-lineup,.profile-visibility{border-color:#A5A79B;border-radius:2px}.profile-empty-lineup>span{color:#454C40}.profile-field input,.profile-field textarea,.profile-field select,.club-field input{color:var(--arena-text);background:var(--arena-sheet);border-color:#A5A79B;border-radius:2px;font:400 16px/1.4 var(--body)}.profile-colors label:has(:checked){outline-color:var(--arena-accent)}.profile-public-feature h2{font-size:34px!important}
.profile-access{grid-template-columns:1fr 1fr;align-items:start;gap:32px;max-width:none}.profile-access .profile-panel{padding:26px;background:var(--arena-sheet);border:1px solid var(--arena-line)}.profile-access .profile-panel>p{font-size:16px;max-width:45ch}.profile-access-note{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px 20px;background:var(--arena-field);padding:26px;color:var(--arena-ink);border-radius:2px}.profile-access-note>.profile-crest{grid-column:1;grid-row:1/3;width:80px;height:96px;margin:0}.profile-access-note h2{grid-column:2;font-size:30px;align-self:end;margin:0}.profile-access-note>p{grid-column:2;color:var(--arena-muted);font-size:15px;line-height:1.5;margin:0}.profile-access-note>.profile-button,.profile-access-note>.profile-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.profile-access-note .profile-button{color:var(--arena-ink);border-color:var(--arena-ink)}.profile-access-note .profile-button:hover{background:var(--arena-paper);color:var(--arena-ink)}.profile-account-tools{padding-bottom:20px;border-bottom:1px solid var(--arena-line)}
.profile-directory,.profile-manager-row{border-color:var(--arena-line)}.profile-manager-row{background:var(--arena-sheet);padding-inline:20px}.profile-manager-row:hover{background:#ECE8DF}.profile-directory-empty>p:not(.profile-eyebrow),.profile-directory-bio,.profile-directory-meta{color:var(--arena-muted)}.profile-manager-link:hover h2{color:var(--arena-accent)}
.device-team{background:var(--arena-field);color:var(--arena-ink);padding:32px;margin:0 0 30px;border:1px solid var(--arena-line);border-radius:2px}.device-team__heading{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:22px}.device-team .profile-identity{min-width:0}.device-team .profile-identity h2{color:var(--arena-ink)}.device-team .profile-identity p,.device-team .profile-handle,.device-team__scope{color:var(--arena-muted)}.device-team__scope{font:400 13px/1.5 var(--body);max-width:30ch}
.device-team__five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.device-team__five>li{min-width:0;list-style:none;margin:0;padding:0}.device-team__slot{display:grid;grid-template-columns:1fr;gap:10px;position:relative;height:100%;min-height:184px;padding:14px;background:var(--arena-sheet);color:var(--arena-ink);border:1px solid var(--arena-ink);border-radius:2px;text-decoration:none;align-content:start;box-shadow:3px 3px 0 #171A1720}.device-team__slot:hover{border-color:var(--arena-ink);color:var(--arena-ink);background:var(--arena-paper)}.device-team__slot>span:first-child{font:600 12px/1.2 var(--body);color:var(--arena-muted)}.device-team__portrait{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--arena-field);color:var(--arena-ink);font:700 28px/1 var(--body);overflow:hidden}.device-team__portrait img,.device-team__slot img{width:64px;height:64px;object-fit:cover;display:block;border-radius:50%}.device-team__portrait img{position:absolute;inset:0}.device-team__slot strong{font:700 16px/1.25 var(--body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-team__slot>span:last-child{font:500 12px/1.4 var(--mono);color:var(--arena-ink)}
.device-team__footer,.device-team>footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;color:var(--arena-muted);font-size:14px}.device-team__footer>a,.device-team .btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:46px;padding:11px 16px;border:1px solid var(--arena-field);border-radius:2px;background:var(--arena-ink);color:var(--arena-paper);font:700 15px/1.3 var(--body);text-decoration:none;border-color:var(--arena-ink)}.device-team :focus-visible{outline-color:var(--arena-field)}
/* Dialogs retain native affordances; detail never competes with the decision. */
.scout-dialog,.club-dialog,.manager-dialog,.profile-dialog{--scout-ink:var(--arena-text);--scout-muted:var(--arena-muted);background:var(--arena-sheet);color:var(--arena-text);border:1px solid #A5A79B;border-radius:2px;box-shadow:0 24px 80px #171A1755}.scout-dialog::backdrop,.club-dialog::backdrop,.manager-dialog::backdrop,.profile-dialog::backdrop{background:#171A17B8}
.scout-dialog__header,.club-dialog__head,.manager-dialog__header,.profile-dialog__head{background:var(--arena-ink-2);color:var(--arena-sheet);border-bottom:1px solid #454C40}.scout-dialog__header h2,.club-dialog__head h2,.manager-dialog__header h2,.profile-dialog__head h2{font:700 22px/1.25 var(--body);letter-spacing:0;text-transform:none}.scout-close,.club-dialog__head .club-button,.manager-dialog__header .manager-close{background:transparent;color:var(--arena-sheet);border-color:#454C40;border-radius:2px}.scout-close:hover{background:#171A17}.scout-face{border:0;outline:0;border-radius:2px;background:#ECE8DF;box-shadow:none;color:var(--arena-text)}
.scout-metrics,.scout-metric,.scout-metric:nth-child(even),.scout-comparison th,.scout-comparison td,.scout-comparison tr>*+*,.scout-compare-action{border-color:var(--arena-line)}.scout-dialog .scout-button:hover{background:#ECE8DF}.scout-button--primary,.scout-dialog .scout-button--primary:hover,.scout-tray .scout-button--primary:hover{background:var(--arena-ink);color:var(--arena-paper);border-color:var(--arena-ink);box-shadow:none}.scout-source-links a:hover,.scout-comparison a:hover{color:var(--arena-accent)}
.scout-tray{background:var(--arena-ink-2);color:var(--arena-sheet);border:1px solid #454C40;border-radius:2px;box-shadow:0 8px 30px #171A1740}.scout-tray__label span{color:#D7D9CC}.scout-tray__remove,.scout-tray .scout-text-button{color:var(--arena-sheet)}.scout-tray__remove{border-color:#454C40;border-radius:2px}.scout-tray__remove:hover{background:#171A17}.club-hint,.club-saved-list small,.club-trader__text small,.manager-description,.manager-footnote,.manager-requirement .manager-requirement__status,.profile-dialog .profile-help,.profile-dialog .profile-copy-summary p{color:var(--arena-muted)}.club-field,.club-text-button,.club-share-link,.profile-dialog .profile-button:not(.profile-button--primary){color:var(--arena-text)}.club-saved-list>li,.club-review-list>li,.manager-requirements,.manager-requirement{border-color:var(--arena-line)}.club-face{background:#ECE8DF;border-color:#A5A79B;color:var(--arena-muted);border-radius:2px}.club-dialog>.club-notice:not(:empty){background:#ECE8DF;color:var(--arena-text);border-color:var(--arena-line)}.manager-action{background:#ECE8DF;color:var(--arena-text)}.manager-requirement.is-earned .manager-requirement__status{color:var(--up)}
.scout-dialog__header :focus-visible,.club-dialog__head :focus-visible,.manager-dialog__header :focus-visible,.profile-dialog__head :focus-visible,.squad-shell :focus-visible{outline-color:var(--arena-field)}
/* Competition rooms and trader evidence. */
.page-heading.room-banner{--room-muted:#C8CEBE;--room-index:var(--arena-field);position:relative;margin:24px 0 0;padding:24px 28px;background:var(--arena-ink-2);color:var(--arena-sheet);border:1px solid #171A17;border-radius:2px;min-height:140px}.room-banner .kicker,.room-banner .lede,.room-banner .helper-text,.room-banner .muted{color:var(--room-muted)}.room-banner :is(h1,h2){max-width:23ch;margin:7px 0 0;font-size:40px;letter-spacing:-.015em}.room-banner>div{position:relative;padding-right:40px}.room-banner__index{position:absolute;right:24px;top:24px;font:600 14px/1 var(--body);color:var(--room-index)}.room-banner .tag{color:var(--room-muted);border-color:var(--room-muted);background:transparent}
.room-navigation{display:flex;gap:0;overflow-x:auto;background:transparent;border:0;border-top:0;border-radius:2px;margin-bottom:28px;padding:0;border-bottom:1px solid var(--arena-ink)}.room-navigation a{display:flex;align-items:center;min-height:48px;padding:12px 18px;border-bottom:3px solid transparent;color:var(--arena-muted);text-decoration:none;font:600 15px/1.3 var(--body);white-space:nowrap}.room-navigation a:hover{color:var(--arena-ink);background:#D7D9CC}.room-navigation a[aria-current=page]{color:var(--arena-ink);border-color:var(--arena-accent)}.room-navigation a:focus-visible{outline-color:var(--arena-field);outline-offset:-4px}
.live-layout .scoreline{background:var(--arena-ink-2);color:var(--arena-sheet);padding:24px;border-radius:2px}.scoreline__label,.live-layout .scoreline__label,.live-layout .scoreline__sub{color:#D7D9CC;font-family:var(--body);letter-spacing:0}.scoreline__num,.live-layout .scoreline__num{font-family:var(--body);font-weight:700;letter-spacing:-.02em;color:var(--arena-sheet)}.lower-third{background:var(--arena-sheet)}.lower-third b{font:700 18px/1.3 var(--body)}.rules-main{max-width:76ch}.rules-main>section{padding-block:24px;border-top:1px solid var(--arena-line)}.rules-main :is(h2,h3){font-size:28px}
.trader-dossier{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:32px;padding:30px 0 42px;align-items:start}.trader-dossier__visual{position:sticky;top:24px;background:var(--arena-ink-2);border-radius:2px;padding:24px;display:grid;justify-items:center;gap:16px}.trader-dossier__canvas{width:100%;max-width:341px}.trader-dossier__canvas canvas{width:100%;height:auto;display:block;box-shadow:0 8px 24px #171A1750}.trader-dossier__visual #cardcap,.trader-dossier__visual #card-export-status{font:400 13px/1.5 var(--body);color:#D7D9CC;text-align:center;max-width:42ch;margin:0;min-height:0}.trader-dossier__visual #download-card{width:100%;max-width:341px;min-height:48px}.trader-dossier__evidence{min-width:0}.trader-dossier__evidence #crumb{font:600 13px/1.4 var(--body);color:var(--arena-muted);margin:0 0 16px}.trader-dossier__evidence #tname{font:700 38px/1.1 var(--body);letter-spacing:-.02em;text-transform:none;overflow-wrap:anywhere;margin:0 0 24px}.trader-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 0;margin-bottom:24px;border-block:1px solid #A5A79B;gap:16px}.trader-overview__metric{margin:0;min-width:0}.trader-overview__label{font:600 13px/1.4 var(--body);color:var(--arena-muted)}.trader-overview__value{font:600 23px/1.3 var(--mono);letter-spacing:-.02em;color:var(--arena-text);margin:8px 0}.trader-overview__detail{font:400 13px/1.5 var(--body);color:var(--arena-muted);margin:0}.trader-dossier #meta{gap:24px}.trader-dossier #meta table.sheet{table-layout:fixed;width:100%;font-size:14px;background:transparent}.trader-dossier #meta table.sheet td{padding:12px 8px;overflow-wrap:anywhere;vertical-align:top}.trader-dossier #meta table.sheet td:first-child{width:40%;padding-left:0;color:var(--arena-muted)}.trader-dossier #meta a{min-height:24px;display:inline-flex;align-items:center}.trader-dossier #meta .wallet{display:block;overflow-wrap:anywhere;font-size:12px}.trader-dossier .evidence-block h3{font:700 22px/1.25 var(--body);margin-bottom:12px}.trader-dossier .evidence-block p{font-size:15px;line-height:1.6}.trader-dossier__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
footer.foot{background:var(--arena-ink);color:var(--arena-field);margin-top:64px;border:0;padding:48px 0 28px;font:400 13px/1.5 var(--body)}.footer-main{display:flex;justify-content:space-between;align-items:center;gap:28px;padding-bottom:32px;border-bottom:1px solid #171A17;margin-bottom:24px}.footer-main .wordmark,.footer-main .wordmark img{width:136px;height:auto}.footer-main .brand-lockup__the{font-size:12px}.footer-main .brand-lockup__name{font-size:29px}.footer-brandline{font:400 14px/1.5 var(--body);color:var(--arena-paper);margin-top:8px}.footer-links{display:flex;gap:22px;flex-wrap:wrap}.footer-links a{color:var(--arena-paper);text-decoration:none;font:600 14px/1.4 var(--body)}.footer-links a:hover{color:var(--arena-accent)}.foot .footer-note,.foot .muted,.foot .kicker{color:var(--arena-field)}.footer-register{display:none}

@keyframes table-rod-seat{from{transform:translateX(18px)}to{transform:translateX(0)}}
/* The authored home poster. The artwork keeps its measured 1672 × 941 ratio. */
.game-lobby.club-table{display:block;margin:0 0 36px;overflow:visible;background:transparent;color:var(--arena-ink);border-radius:0;min-height:0}
.table-hero{position:relative;isolation:isolate;background:var(--arena-accent);margin-inline:calc(-1 * var(--gutter));overflow:hidden}
.table-hero__art{display:block;width:100%}.table-hero__art img{animation:table-rod-seat 420ms var(--game-ease) both;display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.table-hero__copy{position:absolute;z-index:1;top:5%;left:var(--gutter);max-width:78%}
.table-hero__copy .kicker{font:600 14px/1.4 var(--body);color:var(--arena-ink);margin:0 0 15px}
.table-hero__copy h1{font:400 clamp(48px,6.1vw,100px)/1.03 var(--display);letter-spacing:-.025em;text-transform:uppercase;margin:0;text-wrap:nowrap;color:var(--arena-ink)}
.table-hero__aside{position:absolute;top:5%;right:var(--gutter);text-align:right}.table-index{font:400 clamp(45px,5.8vw,96px)/1 var(--display);letter-spacing:-.025em}.table-hero__aside p{font:500 14px/1.4 var(--body);margin:14px 0 0}
.table-hero__bottom{position:absolute;bottom:20px;left:var(--gutter);right:var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:20px;font:500 14px/1.4 var(--body)}
.table-down{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--arena-ink);border-radius:50%;font-size:25px;text-decoration:none;color:var(--arena-ink)}.table-down:hover{background:var(--arena-ink);color:var(--arena-paper)}
.table-invitation{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;padding:52px 0 56px;align-items:center}.table-invitation>p{font:400 clamp(24px,2.6vw,42px)/1.22 var(--display);letter-spacing:-.025em;margin:0}.table-invitation__detail>span{font:400 17px/1.55 var(--body)}
.club-table .game-lobby__stage{padding:32px 40px}.club-table .game-lobby__stage-head h2{font:400 28px/1.2 var(--display)}.club-table .game-lobby__stage-head .kicker{margin:0 0 8px;color:var(--arena-muted)}
.footer-main .brand-lockup{color:var(--arena-paper)}
@media(min-width:1672px){.table-hero__copy h1{font-size:100px}.table-hero__copy{top:7%}}
@media(max-width:1180px){.table-hero__copy h1{font-size:6.4vw}.table-hero__aside p{font-size:12px}.club-table .game-lobby__stage{padding:28px}.lobby-five{gap:16px}.lobby-player__portrait{width:72px;height:72px}.draft-room .draft{grid-template-columns:minmax(0,1.2fr) minmax(320px,.9fr)}}
@media(max-width:960px){.draft-room .draft{grid-template-columns:1fr}.draft-room .draft__pitch{order:initial}.draft-room #sheet{order:initial}.table-hero__copy .kicker{font-size:12px;margin-bottom:10px}.table-hero__bottom{bottom:12px}.table-invitation{gap:30px;padding-block:36px}.table-invitation__detail>span{font-size:15px}.lobby-overview{gap:28px}}
@media(max-width:700px){
 .table-hero{display:flex;flex-direction:column;padding-top:26px}.table-hero__copy{position:relative;top:auto;left:auto;padding-inline:var(--gutter);max-width:100%}.table-hero__copy .kicker{font-size:12px;margin:0 0 16px}.table-hero__copy h1{font-size:clamp(40px,9.8vw,67px);line-height:1.08;white-space:normal}.table-hero__art{margin-top:-10px}.table-hero__aside{display:none}.table-hero__bottom{position:relative;inset:auto;padding:0 var(--gutter) 22px;margin-top:-8px;font-size:12px}.table-down{width:44px;height:44px}
 .table-invitation{grid-template-columns:1fr;gap:24px;padding:32px 0 38px}.table-invitation>p{font-size:27px}.table-invitation__detail>span{font-size:15px}.table-invitation .game-lobby__actions{margin-top:22px;gap:18px}.table-invitation .btn{font-size:15px}
 .club-table .game-lobby__stage{padding:22px 16px}.club-table .game-lobby__stage-head h2{font-size:22px}.game-lobby__stage-head{align-items:flex-start}.game-lobby__stage-head>span{font-size:12px}.lobby-five{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 12px;padding:28px 0 12px;min-height:0}.lobby-player,.lobby-player:first-child,.lobby-player:nth-child(2),.lobby-player:nth-child(3){grid-column:span 2;max-width:100%;padding:12px 6px}.lobby-player:nth-child(4){grid-column:2/span 2}.lobby-player:nth-child(5){grid-column:4/span 2}.lobby-player__portrait{width:56px;height:56px}.lobby-player__name{font-size:12px}.lobby-player__meta,.lobby-player__salary{font-size:11px}.lobby-five::before{inset:26% 0 auto}.lobby-stage-foot{gap:14px;font-size:12px}.lobby-stage-foot a{min-height:44px}.lobby-side{padding:24px 0 0;border-left:0;border-top:1px solid var(--arena-ink)}.lobby-overview{grid-template-columns:1fr;gap:30px;margin-bottom:40px}.lobby-panel-head{padding:0 0 18px}.lobby-panel-head :is(h2,h3){font-size:21px}.game-status{margin-bottom:28px}.lookup-section{padding:30px 0}.lookup-section h2{font-size:26px}.footer-main .brand-lockup__name{font-size:27px}footer.foot{padding-top:36px;margin-top:40px}
}
/* Responsive changes are structural. Controls never become miniature desktop targets. */
@media(min-width:1600px){.draft-room .pitch{height:530px}.draft-room .pitch[data-formation="1-3-1"]{height:570px}.draft-room #draft-cards,.draft-room #draft-table{max-height:760px}}
@media(max-width:1180px){:root{--gutter:24px}.masthead__shell{gap:18px}.masthead__shell nav.sections a{padding-inline:9px;font-size:14px}.draft-room .draft{grid-template-columns:minmax(0,1.2fr) minmax(320px,.9fr);gap:24px}.squad-shell,.draft-room #sheet{padding:17px}.draft-replacement-banner{margin:-17px -17px 16px}.draft-room .pitch{height:450px}.draft-room .pitch[data-formation="1-3-1"]{height:500px}}
@media(max-width:960px){.masthead__shell{flex-wrap:wrap;gap:0 20px;padding-top:14px;min-height:0}.masthead__shell>.brand-lockup,.masthead__shell>.wordmark{order:1}.masthead__account{order:2;margin-left:auto}.masthead__shell nav.sections{order:3;flex-basis:100%;overflow-x:auto;margin-top:12px;padding-bottom:10px}.masthead__shell nav.sections a{padding-inline:14px;min-height:42px}.masthead__bar{gap:12px;font-size:11px}.trader-dossier{gap:24px}.trader-overview{gap:10px}.trader-overview__value{font-size:19px}}
@media(max-width:850px){.draft-room .draft{grid-template-columns:1fr;gap:20px}.draft-room .draft__pitch{position:static}.draft-room .pitch{height:460px;max-width:100%}.draft-room .pitch[data-formation="1-3-1"]{height:530px}.draft-room .pitch__slot{width:19%;max-width:110px}.draft-room .pitch[data-formation="1-3-1"] .pitch__slot{width:19%;max-width:100px}.draft-room #draft-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;scrollbar-gutter:auto;padding-right:0}.draft-room #draft-table{max-height:none}.draft-mobile-dock{display:flex;padding:12px;gap:10px;flex-wrap:wrap}.profile-access{gap:24px}.device-team__five{gap:9px}.device-team__slot{padding:12px}.device-team__slot strong{font-size:14px}.trader-dossier{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)}.trader-dossier__visual{padding:16px}.trader-overview{grid-template-columns:1fr}.trader-overview__metric{display:grid;grid-template-columns:1fr auto;align-items:center}.trader-overview__detail{grid-column:1/-1}.trader-overview__value{margin:0}}
@media(max-width:700px){:root{--gutter:16px}.game-lobby__actions{margin-top:20px}.club-invitation,.home-club{grid-template-columns:1fr;padding:25px;gap:20px}.club-invitation h2,.home-club h2{font-size:32px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:32px}.home-roster{grid-template-columns:1fr;gap:30px}.lookup-section{grid-template-columns:1fr;gap:15px}.home-status{flex-direction:column;gap:10px}.page-heading{padding:44px 0 30px}.page-heading h2,h1.page-title{font-size:36px}.profile-access{grid-template-columns:1fr}.profile-panel{padding:20px}#profile-app h1{font-size:36px}#profile-app h2{font-size:28px}.profile-public-feature h2{font-size:30px!important}.profile-heading>p:last-child{font-size:16px}.profile-bio{font-size:17px}.profile-identity{gap:16px}.profile-crest{width:74px;height:88px;font-size:30px}.device-team{padding:20px}.device-team__heading{display:block}.device-team__scope{margin-top:14px}.device-team__five{grid-template-columns:repeat(5,130px);overflow-x:auto;padding-bottom:10px;scroll-snap-type:x proximity}.device-team__five>li{scroll-snap-align:start}.device-team__slot{min-height:170px}.device-team__footer,.device-team>footer{flex-direction:column;align-items:flex-start;gap:16px}.trader-dossier{grid-template-columns:1fr;padding-top:24px}.trader-dossier__visual{position:static;padding:24px}.trader-dossier__evidence #tname{font-size:32px}.trader-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.trader-overview__metric{display:block}.trader-overview__value{margin:6px 0;font-size:18px}.trader-overview__label,.trader-overview__detail{font-size:12px}.footer-main{flex-direction:column;align-items:flex-start;gap:22px}.footer-links{gap:14px 20px}.footer-note{font-size:12px;line-height:1.6}}
@media(max-width:600px){.masthead__shell{padding-top:12px;gap:0 12px}.brand-lockup__name{font-size:26px}.brand-lockup__the{font-size:11px}.masthead__club{padding:10px 12px;font-size:13px;min-height:40px}.masthead__shell nav.sections{margin-top:10px;gap:3px}.masthead__shell nav.sections a{min-height:42px;padding:10px 13px;font-size:14px}.masthead__bar.wrap{justify-content:flex-start;gap:8px 14px;font-size:11px}.masthead__bar #dateline{display:none}
 .draft-heading{padding-block:36px 28px}.draft-heading>div{display:grid;grid-template-columns:1fr;gap:16px}.draft-heading .stack{min-width:0!important;width:100%}.draft-heading :is(h1,h2){font-size:36px;line-height:1.05;max-width:100%;letter-spacing:-.01em}.draft-heading .helper-text{font-size:15px;line-height:1.45;margin-top:5px}.draft-scoreboard{display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center;width:100%;padding:12px 15px}.draft-scoreboard>.kicker{grid-column:1;grid-row:1;font-size:12px}.draft-scoreboard>strong{grid-column:2;grid-row:1/4;font-size:28px}.draft-scoreboard>.draft-progress{grid-column:1;grid-row:2;max-width:110px}.draft-scoreboard>#locksin{grid-column:1;grid-row:3;font-size:11px}
 .draft-journey [data-draft-step]{padding:10px 9px;gap:7px;font-size:13px;min-height:52px}.draft-journey__number{min-width:22px;height:22px;font-size:11px}.squad-shell,.draft-room #sheet{padding:16px;border-radius:2px}.squad-topline>strong{font-size:20px}.squad-topline{gap:10px}.squad-shell .cap__read b{font-size:26px}.squad-shell .cap__read>span{font-size:12px}.draft-tools .chip{font-size:12px;padding-inline:8px}.draft-room .pitch{height:410px}.draft-room .pitch[data-formation="1-3-1"]{height:470px}.draft-room .pitch__slot{width:25%;max-width:100px}.draft-room .pitch[data-formation="1-3-1"] .pitch__slot{width:24%;max-width:88px}.piece__name,.piece--interactive .piece__name{font-size:11px}.piece__price{font-size:8px}.draft-room #draft-cards{grid-template-columns:1fr}.draft-room .draft-card{grid-template-columns:64px minmax(0,1fr);padding:13px;gap:6px 12px}.draft-room .draft-card__name{font-size:19px}.draft-room .draft-card__face{width:64px;height:64px}.draft-card__actions .pick,.draft-card__actions .game-scout-trigger{min-height:44px}.draft-room #sheet .chip{font-size:13px;padding-inline:10px}.draft-room #sheet .squad-topline h2{font-size:22px}.draft-view-controls .chip{min-height:44px}.draft-card__stats{gap:8px 15px}.draft-card__stat b{font-size:13px}
 .draft-controls{grid-template-columns:1fr;gap:18px;padding-top:24px}.draft-controls .club-bar,.draft-controls .manager-challenges,.draft-controls>div{padding:20px}.draft-controls>.panel{padding:0}.selection-desk{padding:14px}.selection-desk__identity{display:block}.selection-desk__salary{display:block;margin-top:6px}.selection-desk__name{font-size:20px}.selection-desk__actions button{font-size:13px}.draft-replacement-banner{margin:-16px -16px 16px;padding:16px}.salary-ledger__slot{gap:8px;grid-template-columns:20px minmax(0,1fr) auto}.salary-ledger__name{font-size:14px}.salary-ledger__salary{font-size:11px}.draft-session__receipt{align-items:flex-start;flex-direction:column;gap:10px}
 .club-bar{padding:16px}.club-name{font-size:19px}.club-button,.profile-button{font-size:14px;padding:10px 12px}.manager-challenges{padding:18px 14px}.manager-heading h2{font-size:19px;white-space:normal}.manager-badge__name{font-size:12px}.manager-badge__status{font-size:10px}.scout-dialog,.club-dialog,.manager-dialog,.profile-dialog{border-radius:2px;max-width:calc(100vw - 24px)}.profile-access-note{padding:22px;grid-template-columns:66px minmax(0,1fr);gap:12px 16px}.profile-access-note>.profile-crest{width:66px;height:80px}.profile-access-note h2{font-size:26px}.profile-access-note>p{font-size:14px}
 .page-heading.room-banner{--room-muted:var(--arena-muted);--room-index:var(--arena-ink);padding:32px;margin-top:18px;min-height:180px;background:var(--arena-field);color:var(--arena-ink);border:0}.room-banner>div{padding-right:12px}.room-banner__index{top:17px;right:16px;font-size:12px}.room-banner :is(h1,h2){font-size:34px}.room-banner .lede{font-size:16px}.room-navigation{padding-inline:5px;margin-bottom:24px}.room-navigation a{padding-inline:13px;min-height:48px;font-size:14px}.rules-main :is(h2,h3){font-size:26px}.practice-aside,.empty-state{padding:23px}.scoreline__num,.live-layout .scoreline__num{font-size:56px}footer.foot{margin-top:30px;padding-block:26px}
}
@media(max-width:380px){.draft-card__stats{gap:8px 12px}.draft-card__stat b{font-size:12px}.draft-room #sheet{padding:14px}.draft-replacement-banner{margin:-14px -14px 14px}.formation-controls .chip{padding-inline:7px}.squad-topline>strong{font-size:18px}.trader-overview{grid-template-columns:1fr}.trader-overview__metric{display:grid;grid-template-columns:1fr auto}.trader-overview__detail{grid-column:1/-1}}
.source-line a{display:inline-flex;align-items:center;min-height:24px;padding-block:3px}
@media(pointer:coarse){.source-line a{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Retained salary example is an optional compact exercise, not a second hero. */
.cut-study{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;padding:26px 0;margin-bottom:24px;border-top:1px solid var(--arena-line);align-items:start}.cut-study__intro{position:static}.cut-study__intro h2{font:400 30px/1.1 var(--display);margin:8px 0 14px;max-width:22ch;text-transform:none;letter-spacing:0}.cut-study__intro p{font:400 15px/1.5 var(--body);color:var(--arena-muted);max-width:44ch}.cut-study__modes{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.cut-study__modes button{min-height:44px;padding:10px 13px;border:1px solid #A5A79B;border-radius:2px;background:transparent;color:var(--arena-text);font:600 14px/1.3 var(--body);cursor:pointer}.cut-study__modes button[aria-pressed=true]{background:var(--arena-accent);color:var(--arena-sheet);border-color:var(--arena-accent)}.cut-study__sheet{padding:20px;background:var(--arena-sheet);border:1px solid var(--arena-line);border-radius:2px;min-width:0}.cut-study__sheet-heading{display:flex;justify-content:space-between;gap:20px;padding-bottom:12px;font:600 12px/1.4 var(--body);color:var(--arena-muted)}.cut-study__row{display:grid;grid-template-columns:20px 40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--arena-line);min-width:0}.cut-study__row img,.cut-study__fallback{width:40px;height:40px;object-fit:cover;border-radius:2px;background:#ECE8DF}.cut-study__fallback{display:grid;place-items:center;font:700 20px/1 var(--body);color:var(--arena-muted)}.cut-study__number{font:600 12px/1.3 var(--body);color:var(--arena-muted)}.cut-study__row>div{min-width:0}.cut-study__row a{display:block;font:700 15px/1.3 var(--body);color:var(--arena-text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cut-study__row small{display:block;font:400 12px/1.4 var(--body);color:var(--arena-muted);margin-top:3px}.cut-study__row>:last-child{font:600 13px/1.3 var(--mono);white-space:nowrap}.cut-study__total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-top:1px solid #A5A79B;padding-top:15px;margin-top:4px;font:600 14px/1.3 var(--body)}.cut-study__total strong,#cut-total{font:600 24px/1.3 var(--mono)}.cut-study__track{position:relative;height:8px;background:#ECE8DF;margin-top:17px;border-radius:2px}.cut-study__spent{display:block;height:100%;background:var(--arena-accent);border-radius:2px;transform-origin:left;transition:transform 220ms var(--game-ease)}.cut-study__cap{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--arena-ink)}.cut-study__balance{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:12px;font:400 13px/1.4 var(--body);color:var(--arena-muted)}.cut-study #cut-balance{font:600 14px/1.4 var(--body);color:var(--arena-text);text-align:right}.cut-study #cut-review{margin-top:16px;min-height:46px;width:100%}.cut-study__source{font-size:12px!important}.draft-card__stat b.up{color:var(--up)}.draft-card__stat b.down{color:var(--down)}
@media(max-width:700px){.cut-study{grid-template-columns:1fr;gap:20px;padding:22px 0}.cut-study__sheet{padding:17px}.cut-study__row{grid-template-columns:16px 36px minmax(0,1fr) auto;gap:9px}.cut-study__row img,.cut-study__fallback{width:36px;height:36px}.cut-study__row>:last-child{font-size:12px}.cut-study__total strong,#cut-total{font-size:22px}}
@media(hover:none){.formation-controls .chip{min-height:44px}.game-scout-trigger,.scout-trigger{min-height:44px}}.lobby-stage-foot a{color:var(--arena-ink);text-decoration:none;font-weight:600;white-space:nowrap}.lobby-stage-foot a:hover{color:var(--arena-ink);text-decoration:underline}.lobby-market>.source-detail{padding:0 20px 18px;margin:15px 0 0;font-size:12px}.lobby-club-progress{display:flex;align-items:baseline;gap:12px;padding:16px 0;border-block:1px solid var(--arena-line);margin:20px 0 0}.lobby-club-progress>span:first-child{font:700 26px/1.2 var(--body);color:var(--arena-text)}.lobby-club-progress>span:last-child{font:400 13px/1.4 var(--body);color:var(--arena-muted)}.lobby-rules{margin-top:24px;padding-top:24px;border-top:1px solid var(--arena-line)}.lobby-rules h2{margin-top:0}.lobby-explainer{padding:18px 0;margin:0 0 24px;border-block:1px solid var(--arena-line)}.lobby-explainer>summary{font:600 16px/1.4 var(--body);cursor:pointer;min-height:30px}.lobby-explainer .cut-study{border:0;margin:0;padding:22px 0 4px}
@media(max-width:600px){.lobby-stage-foot{align-items:flex-start;flex-direction:column;gap:8px}.lobby-stage-foot a{min-height:28px;display:inline-flex;align-items:center}}
/* Phone draft workspace: a visible decision switch and five real saved slots. */
.draft-mobile-switch{display:flex;align-items:center;gap:6px;padding:0 0 10px;background:var(--arena-paper);border:0;border-radius:2px;margin:18px 0 10px;color:var(--arena-ink);border-bottom:2px solid var(--arena-ink)}
.draft-mobile-switch .chip{background:transparent;color:var(--arena-ink);border-color:transparent;min-height:44px;padding:10px 13px;white-space:nowrap}
.draft-mobile-switch .chip[aria-pressed="true"]{background:var(--arena-ink);color:var(--arena-paper);border-color:var(--arena-ink)}
.draft-mobile-switch #mobile-pick-count{margin-left:4px;font-weight:400}.draft-mobile-switch #mobile-cap-left{margin-left:auto;padding-right:5px;font:600 12px/1.3 var(--mono);white-space:nowrap}
.draft-quick-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:10px;background:var(--arena-field);border:1px solid var(--arena-line);border-radius:2px}
.draft-quick-pick{display:grid;justify-items:center;align-content:center;gap:7px;min-width:0;min-height:76px;padding:8px 4px;border:1px dashed #454C40;border-radius:2px;background:transparent;color:var(--arena-ink);cursor:pointer;font-family:var(--body);border-color:#718365}
.draft-quick-pick.is-filled{border-style:solid;border-color:var(--arena-ink);background:var(--arena-sheet)}.draft-quick-pick:hover{background:var(--arena-paper);border-color:var(--arena-accent)}.draft-quick-pick:focus-visible{outline-color:var(--arena-field)}
.draft-quick-pick img,.draft-quick-pick>span{display:grid;place-items:center;width:36px;height:36px;object-fit:cover;border-radius:2px;font:400 28px/1 var(--body)}.draft-quick-pick small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11px/1.2 var(--body)}
.draft-heading :is(h1,h2){margin:0}.draft-heading .helper-text{margin-bottom:0}.draft-mobile-dock{display:none}
@media(max-width:960px){.draft-room .draft{grid-template-columns:1fr;gap:20px}.draft-room #draft-cards{max-height:none;overflow:visible;scrollbar-gutter:auto;padding-right:0}.draft-room #draft-table{max-height:none}.draft-mobile-dock{display:none}.draft-heading>div{gap:18px}}
@media(max-width:600px){.game-lobby__actions{margin-top:18px}.lobby-stage-foot{font-size:12px}.draft-mobile-switch{gap:3px;padding:0 0 10px;background:var(--arena-paper);color:var(--arena-ink);border:0;border-bottom:2px solid var(--arena-ink)}.draft-mobile-switch .chip{padding-inline:10px;font-size:13px}.draft-mobile-switch #mobile-cap-left{font-size:11px;padding-right:3px}.draft-quick-five{gap:6px;padding:8px}.draft-quick-pick{min-height:73px}.draft-heading{padding-block:20px 16px}.draft-heading>div{gap:12px}.draft-heading .kicker{margin-bottom:8px}.draft-heading .helper-text{font-size:14px}.draft-scoreboard{padding:10px 13px}.draft-scoreboard>strong{font-size:26px}.draft-scoreboard>#locksin{font-size:10px}}
@media(max-width:380px){.draft-mobile-switch #mobile-cap-left{font-size:10px}.draft-mobile-switch .chip{padding-inline:8px}.draft-quick-pick small{font-size:10px}}
/* Payment receipts stay factual and scan as records rather than promotional panels. */
.payment-status{min-width:0;margin-top:20px;padding:18px 20px;background:var(--arena-sheet);color:var(--arena-text);border:1px solid var(--arena-line);border-radius:2px}
.payment-status h3{font:700 20px/1.3 var(--body);letter-spacing:0;margin:0 0 7px}.payment-status>.helper-text{font-size:14px;line-height:1.45;margin:0 0 14px}
.payment-status__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;align-items:baseline;padding:13px 0;border-top:1px solid var(--arena-line);min-width:0}
.payment-status__row>strong{font:600 14px/1.4 var(--mono);overflow-wrap:anywhere}.payment-status__row>span{font:600 13px/1.4 var(--body);color:var(--arena-muted)}
.payment-status__wallet{grid-column:1/-1;display:block;max-width:100%;font:400 12px/1.5 var(--mono);color:var(--arena-muted);overflow-wrap:anywhere;word-break:break-word}
.payment-status__row>a{grid-column:1/-1;display:inline-flex;align-items:center;justify-self:start;min-height:32px;font:600 13px/1.4 var(--body);color:var(--arena-ink)}
@media(max-width:600px){.payment-status{padding:17px}.payment-status__row{grid-template-columns:1fr;gap:5px}.payment-status__wallet{font-size:11px}}
/* Keep repeat-use screens compact; the phone pane already carries team count and cap. */
.masthead__bar .chain-label{display:none}.masthead__bar.wrap{justify-content:flex-start}.draft-heading .kicker{font:600 13px/1.4 var(--body);letter-spacing:0;text-transform:none}
@media(max-width:960px){.draft-heading .draft-scoreboard,.draft-journey{display:none}.draft-heading>div{display:block}.draft-heading .helper-text{margin-top:10px}.draft-room .draft-mobile-switch{margin-top:0}.draft-room #sheet #filters,.draft-room #sheet #sorts{display:flex;flex-wrap:nowrap!important;gap:6px;min-width:0;max-width:100%;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin;scrollbar-color:#A5A79B transparent}.draft-room #sheet #filters{width:100%}.draft-room #sheet #filters>.chip,.draft-room #sheet #sorts>.chip{flex:0 0 auto;white-space:nowrap}.draft-room #sheet .filters:has(#sorts){display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}.draft-room #poolcount{grid-column:1/-1;margin:0}.draft-room #sheet .filters{padding-block:10px}.draft-room #draft-cards{padding-top:8px}.draft-room .piece__x{width:44px;height:44px;right:-16px;top:-16px;background:transparent;border:0;display:grid;place-items:center}.draft-room .piece__x::before{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--arena-sheet);z-index:-1}}
.piece--interactive .piece__pts span{font:400 10px/1.3 var(--body);letter-spacing:0}.piece__price{font-size:10px}
@media(max-width:600px){.draft-heading{padding-block:16px}.draft-heading .helper-text{display:none}.draft-heading :is(h1,h2){font-size:34px}.piece--interactive .piece__pts span{font-size:9px}.piece__price{font-size:9px}}
#money-result:empty{display:none}.panel>.scroller{border:0;border-top:1px solid var(--arena-line);border-radius:2px}.panel>.payment-status{margin:16px 20px}.panel>#money-result:not(:empty){margin:16px 20px}
/* Fixed-height mobile fields must not inherit the old formation's preferred width. */
.draft-room .pitch[data-formation]{aspect-ratio:auto}
/* Legacy scout rules used the light surface token as button text. */
.scout-dialog .shortlist-button{color:var(--arena-text);border-color:#A5A79B;background:transparent;font:600 14px/1.3 var(--body);min-height:44px}.scout-dialog .shortlist-button:hover{color:var(--arena-text);background:#ECE8DF;border-color:#A5A79B}.scout-dialog .shortlist-button[aria-pressed=true]{color:#28603D;background:#ECE8DF;border-color:#A5A79B}.scout-dialog .shortlist-button:focus-visible{outline-color:var(--arena-accent)}

/* Match the first server paint to the responsive workspace before hydration. */
@media(min-width:961px){
 .draft-mobile-switch,.draft-quick-five{display:none}
 .draft-room .draft-card{grid-template-columns:64px minmax(0,1fr) 106px;grid-template-rows:18px 24px 34px;gap:4px 16px;padding:16px 14px;min-height:128px}
 .draft-room .draft-card__face{grid-row:1/4;align-self:center}
 .draft-room .draft-card__name{padding-right:30px;align-self:center}
 .draft-room .draft-card__actions{grid-column:3;grid-row:1/4;grid-template-columns:1fr;gap:6px;align-self:center;margin:0}
 .draft-room .draft-card__actions>*{width:100%;min-height:44px;margin:0}
 .draft-room .draft-card__top{padding-right:34px}
 .draft-room .draft-card__top .shortlist-button{top:5px;right:130px}
 .draft-room .draft-card__stat small{font-size:11px}
 .draft-room .draft-card__stats{margin-top:0;gap:8px 18px;align-self:end}
}
@media(max-width:960px){body[data-page="draft"]:not([data-draft-pane-active="team"]) #draft-team{display:none}body[data-page="draft"][data-draft-pane-active="team"] #sheet{display:none}}

.game-scout-trigger,.draft-room .formation-controls .chip,.draft-room .draft-view-controls .chip{min-height:44px}
.home-roster .source-line a{display:inline-flex;align-items:center;min-height:24px;padding-block:3px}
@media(pointer:coarse){.home-roster .source-line a{min-height:44px}}
.draft-room .draft-card__actions .pick{min-height:44px}

[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Narrow ledgers retain their figures in the first view. Wide evidence tables announce scrolling. */
.table-scroll-hint{display:none}
@media(max-width:700px){
 .lobby-market .home-roster{padding:0}.home-roster .sheet{width:100%;min-width:0;table-layout:fixed}.home-roster .sheet th,.home-roster .sheet td{padding-inline:8px;min-width:0}.home-roster .sheet th:first-child,.home-roster .sheet td:first-child{width:30px;padding-inline:3px}.home-roster .sheet th:last-child,.home-roster .sheet td:last-child{width:88px;padding-right:6px;font-size:12px}.home-roster .name{padding-right:8px}.home-roster .name>a{display:block;overflow-wrap:anywhere;min-height:0;font-size:14px;line-height:1.4}.home-roster .scout-trigger{position:static;transform:none;margin-top:5px;min-width:44px;min-height:44px}.home-roster .source-line{font-size:11px}.table-scroll-hint{display:block;font:500 13px/1.4 var(--body);color:var(--arena-muted);margin:4px 0 12px}
}
