:root {
  color-scheme: light;
  --canvas:#f3f5f8; --paper:#fff; --ink:#0f172a; --muted:#64748b;
  --line:rgba(15,23,42,.08); --blue:#0095ff; --red:#e11d48;
  --night:#0b101b; --darkline:#283344; --mono:"JetBrains Mono",Consolas,monospace;
  font-family:"Plus Jakarta Sans","Segoe UI",Arial,sans-serif;
  color:var(--ink); background:var(--canvas); font-weight:500; font-size:14px;
  font-variant-numeric:tabular-nums;
}
* { box-sizing:border-box }
body { margin:0; min-width:0 }
[hidden] { display:none!important }
button,input,select,textarea { font:inherit; font-variant-numeric:tabular-nums }
button {
  display:inline-flex; justify-content:center; align-items:center; gap:7px; min-height:32px;
  padding:6px 11px; border:1px solid #dce1e8; border-radius:7px; background:white;
  color:var(--ink); font-size:12px; font-weight:700; cursor:pointer; line-height:1.35;
  transition:background-color .13s,border-color .13s,color .13s;
}
button:hover:enabled { background:#eff5fb; border-color:#b4c7d8 }
button:disabled { cursor:default }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline:2px solid #0087e6; outline-offset:3px;
}
button.primary { color:#071626; background:var(--blue); border-color:var(--blue) }
button.primary:hover:enabled { background:#27a5ff; border-color:#27a5ff }
button svg,.icon { width:16px; height:16px; flex:none }
h1,h2,h3,p,dl,dd { margin:0 }
h1,h2,h3,strong,b { overflow-wrap:anywhere }
h1,h2,h3 { letter-spacing:-.045em }
input,select,textarea { min-width:0; max-width:100% }
textarea { resize:vertical; line-height:1.6 }
.topbar {
  height:60px; position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:0 clamp(16px,2vw,36px); background:white; border-bottom:1px solid #dce1e8;
}
.brand,.header-actions,nav,.brand-pill,.source,.heading-meta,.live-label,.eyebrow,.pool-title h3,
.micro,.pool-foot span,.legend,.panel-head,.person,.import-strip h2,.telemetry-head,.intel-heading { display:flex; align-items:center }
.brand { gap:8px; white-space:nowrap }
.emblem { width:33px; height:33px }
.brand strong { font-size:21px; font-weight:800; letter-spacing:-1.3px }
.brand-pill { margin-left:3px; font-size:10px; font-weight:700; padding:4px 8px; border:1px solid var(--line); border-radius:20px; color:#5c6b7e }
nav { padding:3px; border:1px solid var(--line); border-radius:9px; gap:2px; background:#f3f5f7; flex:none }
nav button { background:transparent; border-color:transparent; color:#566378; min-height:30px; font-size:11px; padding:6px 9px; white-space:nowrap }
nav button[aria-current] { background:#fff; color:#0b1728; box-shadow:0 1px 3px #15273d1a; border-color:#dde3ea }
nav button[aria-current] .icon { color:#007dcc }
.header-actions { gap:7px }
.header-actions button { white-space:nowrap; font-size:11px }
.source { gap:6px; color:#515f70; font:500 10px var(--mono); white-space:nowrap; padding:5px 8px; border-radius:20px; border:1px solid var(--line) }
.dot { width:6px; height:6px; border-radius:50%; background:currentColor; display:inline-block; flex:none }
.green { background:#129977 }.amber { background:#b97a14 }
main { width:min(100%,1792px); margin:auto; padding:24px clamp(16px,2.3vw,40px) 48px }
.page-heading,.series-strip,.game-tabs,.score,.mode-switch,.quick-actions,.pool-title,.pool-controls,.role-filter,.damage-values,.team-heading,.pick-row,.rec,.prep-actions,.modal-actions,.import-actions,.dossier-switch,.dossier-switch>div,.burn-side,.brief-header p { display:flex; align-items:center }
.page-heading { justify-content:space-between; gap:14px; margin-bottom:18px }
.eyebrow,.section-label,.micro,.turn-meta,.role-tag,.pick-count,.badge,.count-badge,.slot-code,.tile-name,.tier,.overlay,.rank,.fit,.game-tag,.legend,.node-value { font-family:var(--mono) }
.eyebrow { font-size:10px; line-height:1.5; font-weight:700; color:#56677c; text-transform:uppercase; letter-spacing:.14em; gap:9px }
.stripes { width:25px; height:10px; display:inline-block; transform:skewX(-28deg); background:repeating-linear-gradient(90deg,#0095ff 0 5px,transparent 5px 8px) }
h1 { font-size:clamp(30px,2.7vw,43px); font-weight:800; line-height:1.15; margin-top:4px }
.heading-meta { gap:13px; color:#506078; font:600 12px var(--mono) }
.heading-meta i { font-style:normal; color:#a7b1bd; margin:0 4px }
.live-label { gap:7px; border:1px solid #c6e5d8; background:#e8f6ef; color:#167250; font:700 10px var(--mono); letter-spacing:.045em; text-transform:uppercase; padding:5px 9px; border-radius:5px }
.series-strip { flex-wrap:wrap; gap:10px 16px; padding:10px 12px; margin-bottom:13px; background:#fff; border:1px solid var(--line); border-radius:10px }
.game-tabs,.mode-switch { gap:2px; flex-wrap:wrap }
.game-tabs button { border-color:transparent; background:#f2f4f7; border-radius:5px; font:700 11px var(--mono); min-height:29px; padding:5px 8px }
.game-tabs small { font:500 9px var(--mono); color:#687589 }
.game-tabs [aria-pressed=true] { background:#142134; color:white }
.game-tabs [aria-pressed=true] small { color:#9dd6ff }
.score { gap:9px; font-size:12px; flex-wrap:wrap; min-width:0 }
.score b { padding:3px 7px; background:#f1f4f7; border-radius:4px; font:700 13px var(--mono); white-space:nowrap }
.mode-switch { margin-left:auto; background:#f4f6f8; padding:2px; border:1px solid var(--line); border-radius:6px }
.mode-switch button { border:0; min-height:24px; font-size:10px; padding:4px 8px; background:transparent; color:var(--muted); border-radius:4px }
.mode-switch [aria-pressed=true] { color:#006fbb; background:#e0efff }
.quick-actions { gap:5px; flex-wrap:wrap }
.quick-actions button { border-color:transparent; padding:5px 7px; min-height:27px; font-size:11px }
.quick-actions button:disabled { color:#8390a1; background:#f4f6f8 }
.quick-actions .icon { width:13px; height:13px }
.stage { background:var(--night); border:1px solid #1e293b; border-radius:16px; color:#eef3fa; overflow:hidden; color-scheme:dark }
.broadcast-head { display:grid; grid-template-columns:270px minmax(0,1fr) 270px; align-items:center; padding:15px 19px; border-bottom:1px solid #2a3442; background:linear-gradient(104deg,#122338 0,#121a28 27%,#111824 70%,#261a26) }
.micro,.turn-meta,.section-label { text-transform:uppercase; font-weight:600; letter-spacing:.1em; font-size:10px; line-height:1.5 }
.bans .micro { color:#92bede; font-size:9px; margin-bottom:5px }
.bans.red .micro { color:#e5a7b6; justify-content:flex-end }
.bans>div { display:flex; gap:6px }
.bans.red>div { justify-content:flex-end }
.ban-slot { display:grid; place-items:center; position:relative; width:35px; aspect-ratio:1; overflow:hidden; border:1px solid #425065; border-radius:4px; color:#93a0b3; font:500 9px var(--mono); background:#18212e }
.ban-slot.filled:after,.struck:after { content:""; position:absolute; top:49%; left:-15%; width:130%; height:2px; background:#f15270; transform:rotate(-48deg) }
.ban-slot .portrait { width:100%; height:100%; filter:grayscale(1) brightness(.75) }
.ban-slot.active { border-color:var(--blue); animation:turn-pulse 1.5s ease-in-out infinite alternate }
@keyframes turn-pulse { to { box-shadow:inset 0 0 0 2px #0095ff } }
.turn { text-align:center; min-width:0; --accent:#39aaff }
.turn.red { --accent:#fb6984 }
.turn-meta { color:#9baabc; font-size:9px; display:flex; align-items:center; justify-content:center; gap:7px }
.turn-meta .dot { background:var(--accent) }
.turn-meta i { width:2px; height:8px; background:#475366 }
.turn h2 { font-size:clamp(17px,1.65vw,27px); margin:5px 0 8px; font-weight:800; text-transform:uppercase; line-height:1.1 }
.turn h2 span { color:var(--accent) }.turn h2 i { font-style:normal; color:#4b5a6b; font-weight:500 }
.turn-progress { display:flex; gap:3px; width:min(160px,80%); margin:auto }
.turn-progress b { height:3px; flex:1; background:#364252; transform:skewX(-20deg) }.turn-progress .done { background:#688197 }.turn-progress .now { background:var(--accent) }
.arena { display:grid; grid-template-columns:270px minmax(0,1fr) 270px; align-items:stretch }
.team-column { --accent:#35aaff; --tint:#132a40; --edge:#275375; min-width:0; padding:14px; background:#101723 }
.team-column.red { --accent:#fc6886; --tint:#30202c; --edge:#613242 }
.team-heading { position:relative; isolation:isolate; gap:10px; min-height:54px; margin-bottom:9px; padding:7px 10px; overflow:hidden; background:var(--tint); border-left:3px solid var(--accent); border-radius:3px }
.team-heading:after { content:""; position:absolute; z-index:-1; inset:0 0 0 64%; opacity:.2; background:repeating-linear-gradient(115deg,transparent 0 8px,var(--edge) 8px 13px) }
.team-heading .micro { color:var(--accent); font-size:9px; letter-spacing:.12em }
.team-heading h3 { font-size:19px; line-height:1.2; font-weight:800 }
.team-mark { display:grid; place-items:center; width:34px; height:38px; flex:none; color:var(--accent); font:bold italic 16px var(--mono); letter-spacing:-1.7px; background:var(--edge); clip-path:polygon(0 12%,85% 0,100% 12%,88% 76%,44% 100%,6% 80%) }
.pick-count { margin-left:auto; align-self:center; color:#c1cedb; font-size:10px }
.pick-list { display:grid; gap:5px }
.pick-row { gap:9px; padding:3px 8px; min-height:49px; border:1px solid #26303e; border-radius:5px; background:#141d2a }
.pick-row .portrait,.placeholder { width:44px; height:44px; flex:none; border-radius:3px; object-fit:cover }
.slot-code { color:#9aa9bd; font-size:11px; min-width:16px; font-weight:600 }
.pick-name { display:grid; gap:3px; min-width:0 }
.pick-name strong { font-size:14px; letter-spacing:-.025em }
.pick-name small { color:#a4b3c3; font:500 9px var(--mono) }
.pick-row.empty { background:#111925; border-color:#222d3c }
.pick-row.empty .pick-name { color:#8492a4; font-size:11px }
.pick-row.empty .slot-code { color:#748499 }
.placeholder { display:grid; place-items:center; background:#1b2533; border:1px dashed #364354; color:#607086 }
.placeholder .icon { width:18px; height:18px }
.pick-row.active { background:var(--tint); border-color:var(--accent) }
.pick-row.active .slot-code,.pick-row.active strong,.pick-row.active .dot,.pick-row.active .placeholder { color:var(--accent) }
.pick-row.active .placeholder { background:transparent; border-color:var(--edge) }.pick-row.active .dot { margin-left:auto }
.comp-summary { margin-top:11px; padding:10px 2px 0; border-top:1px solid var(--darkline) }
.comp-summary .micro { color:#a0aec0; gap:5px; font-size:9px }.comp-summary .micro .icon { width:12px; height:12px }
.comp-summary strong { display:block; font-size:12px; margin:4px 0 6px }
.damage-track,.cliff-meter,.threat-meter { display:flex; overflow:hidden; border-radius:3px; background:#293544; height:4px }
.damage-track b { background:#53adf4 }.damage-track i { background:#d58c93 }
.damage-values { justify-content:space-between; color:#98a9bd; font:500 9px var(--mono); margin-top:4px }
.warn { display:block; margin-top:5px; font-size:10px; color:#eec680 }
.pool { padding:16px 17px 10px; min-width:0; border-inline:1px solid #26313e; display:flex; flex-direction:column }
.pool-title { justify-content:space-between; gap:6px; margin-bottom:10px }
.pool-title h3 { gap:8px; font-size:18px }.pool-title h3 .icon { color:#81bdeb; width:15px }
.pool-title .micro { color:#99a7b8; font-size:9px }
.search { display:flex; align-items:center; gap:8px; background:#161e2a; border:1px solid #344151; border-radius:6px; padding:0 10px; color:#9aa8ba }
.search:focus-within { outline:1px solid var(--blue) }.search .icon { width:14px }
.search input { width:100%; height:32px; border:0; outline:0; background:transparent; color:white; font-size:12px }
.search input::placeholder { color:#a1aebd }
kbd { font:10px var(--mono); border:1px solid #475363; color:#aebbc8; border-radius:3px; padding:1px 5px }
.pool-controls { justify-content:space-between; flex-wrap:wrap; gap:6px; padding:9px 0 }
.role-filter { gap:3px; flex-wrap:wrap }
.role-filter button { min-height:22px; padding:3px 6px; border-radius:4px; border-color:transparent; background:transparent; color:#a1adbd; font:600 10px var(--mono) }
.role-filter button[aria-pressed=true] { background:#e7f2fc; color:#11253b }.role-filter button:hover:enabled { color:#182638 }
.hide-locked { font-size:10px; color:#bac6d3; cursor:pointer; display:flex; align-items:center; gap:5px }
.hide-locked input { accent-color:var(--blue); margin:0; width:12px; height:12px }
.champ-grid { display:grid; align-content:start; grid-auto-rows:max-content; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:8px; overflow-y:auto; height:286px; flex:1 1 286px; max-height:410px; scrollbar-color:#4c5b70 #131c29; scrollbar-width:thin; padding:1px 5px 2px 1px }
.champ-tile { display:block; min-height:0; min-width:0; padding:0; background:#17212e; color:#f5f7fa; border:1px solid #334254; border-radius:5px; text-align:left; overflow:hidden }
.champ-tile:hover:enabled,.champ-tile:focus-visible { border-color:#45b1ff; background:#203447 }
.tile-picture { display:block; position:relative; aspect-ratio:1; overflow:hidden }
.portrait { display:block; object-fit:cover; background-color:#263343; background-position:center; background-size:cover }
.tile-picture .portrait { width:100%; height:100% }
.tile-name { display:block; padding:4px; font:600 10px "Plus Jakarta Sans","Segoe UI",sans-serif; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.tier,.overlay { position:absolute; line-height:1; font-size:9px; font-weight:700; border-radius:3px }
.tier { right:3px; top:3px; color:#ffe2a3; background:#332b1d; border:1px solid #937847; padding:2px 3px }
.overlay { bottom:4px; left:4px; padding:3px 5px; display:flex; gap:3px; align-items:center; color:white }
.overlay .icon { width:9px; height:9px }.overlay.burned { color:#ffd88a; background:#30291e }.overlay.banned,.overlay.red { color:#ffc1cd; background:#572637 }.overlay.blue { color:#b3deff; background:#193e63 }
.unavailable .tile-picture .portrait { filter:saturate(.35) brightness(.58) }.unavailable .tile-name { color:#99a6b8 }
.pool-foot { display:flex; justify-content:space-between; gap:8px; margin-top:9px; padding-top:7px; border-top:1px solid #26313e; font:500 9px var(--mono); color:#9bacbe }
.pool-foot span { gap:5px }.pool-foot .icon { width:11px; height:11px }.no-results { color:#abb9c9; grid-column:1/-1; text-align:center; padding:30px }
.intel-heading { justify-content:space-between; gap:10px; margin:23px 0 12px }
.intel-heading h2 { font-size:23px; font-weight:800 }.scout-link { color:#206ba3; background:transparent; font-size:11px }
.analytics,.scout-details { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:16px; align-items:start }
.panel,.brief,.import-strip,.kpi { min-width:0; border:1px solid var(--line); background:white; border-radius:12px }
.panel-head { padding:17px 19px; gap:11px; border-bottom:1px solid var(--line) }
.panel-icon { display:grid; place-items:center; width:35px; height:35px; flex:none; border-radius:8px; background:#e9f4ff; color:#087dcb }
.panel-head h2,.import-strip h2 { font-size:18px; line-height:1.3; font-weight:800 }.panel-head p,.muted,.import-strip p { color:var(--muted); font-size:12px; line-height:1.55 }
.panel-head p { font-size:11px; margin-top:2px }
.panel-body { padding:14px 19px 18px }.count-badge,.badge,.role-tag,.game-tag { white-space:nowrap; font-size:10px; font-weight:700; letter-spacing:.02em; border-radius:4px; padding:4px 6px }
.count-badge { margin-left:auto; background:#eff3f7; color:#47596e }.section-label { color:#64748b; margin:0 0 8px; letter-spacing:.12em }
.cliff { display:grid; grid-template-columns:36px minmax(25px,1fr) auto 70px auto; gap:9px; align-items:center; min-height:35px; border-bottom:1px solid var(--line); font:500 10px var(--mono) }
.role-tag,.game-tag { background:#f0f3f6; color:#43546a; display:inline-block; text-align:center; width:fit-content; padding:3px 5px }
.cliff-meter { background:#edf0f4; height:5px }.cliff-meter b.critical { background:#e7677d }.cliff-meter b.pinched { background:#db9a3b }.cliff-meter b.healthy { background:#38a882 }
.badge { width:fit-content; font-size:9px; padding:3px 5px; border-radius:4px }
.badge.critical,.error { color:#ab2949; background:#fff0f3 }.badge.pinched { color:#8a560e; background:#fff1cf }.badge.healthy,.success { color:#146e51; background:#e7f5ed }
.mini-pool,.roster-picks { display:flex; align-items:center; gap:3px }
.mini-pool { min-width:97px; justify-content:flex-end }.mini-pool img { width:22px; height:22px; border-radius:3px }
.ledger-heading,.telemetry-head { margin-top:20px }.burn-game { display:flex; align-items:start; gap:9px; padding:10px 0; border-top:1px solid var(--line) }
.burn-side { flex-wrap:wrap; gap:4px; margin-bottom:4px }
.champ-chip { display:inline-flex; align-items:center; gap:4px; font-size:10px; border-radius:3px; background:#f2f5f9; padding-right:5px; border-left:2px solid #0095ff; overflow:hidden }.champ-chip.red { border-color:var(--red) }
.champ-chip img { width:20px; height:20px }
.rec { gap:9px; padding:9px 0; border-bottom:1px solid var(--line) }.rec:first-child { padding-top:0 }
.rank { color:#8593a4; font-size:11px }.rec .portrait { width:36px; height:36px; border-radius:5px }.rec-main { flex:1; min-width:0 }
.rec-main strong { font-size:13px }.rec-main small { font:500 9px var(--mono); color:var(--muted); margin-left:6px }
.reasons { display:flex; flex-wrap:wrap; gap:3px; margin-top:3px }.reasons span { font-size:10px; color:#50637a; background:#f1f4f7; border-radius:3px; padding:2px 4px }
.fit { font-size:18px; color:#1268a4; text-align:center }.fit small { display:block; font-size:8px; letter-spacing:.1em }
.lock-in { color:#076caa; border-color:#c5deed; background:#f6fbff; font-size:10px; min-height:25px; padding:4px 7px }.lock-in .icon { width:12px }
.telemetry-head { justify-content:space-between }.telemetry-head h3 { font-size:16px }.legend { gap:5px; font-size:9px; color:#52647a }
.legend b,.legend i { width:9px; height:3px; background:var(--blue) }.legend i { background:var(--red); margin-left:5px }
.power-chart { display:block; width:100%; max-height:175px; margin:3px 0 14px; font:9px var(--mono); fill:#5c6b7b }.node-value { font-weight:700 }
.traits { display:grid; grid-template-columns:1fr 1fr; gap:8px 18px }.traits>div { display:grid; grid-template-columns:1fr auto minmax(22px,1fr) auto; align-items:center; gap:5px; font-size:10px }.traits b { font:500 10px var(--mono) }
.trait-bars { display:grid; gap:2px }.trait-bars i,.split-bars b { display:block; height:3px; background:var(--blue) }.trait-bars i:last-child,.split-bars b:last-child { background:var(--red) }
.dossier-switch,.dossier-switch>div,.prep-actions,.import-actions { gap:7px; flex-wrap:wrap }
.dossier-switch { justify-content:space-between; margin-bottom:15px }.dossier-switch button small { color:#63748a; font:500 10px var(--mono) }.dossier-switch [aria-pressed=true] { background:#122238; color:white; border-color:#122238 }.dossier-switch [aria-pressed=true] small { color:#a3d6fb }
.linked { background:#eaf7f0; color:#187355; border-color:#c9e7d6 }
.import-strip { display:grid; grid-template-columns:1fr auto; align-items:center; gap:14px; padding:18px 20px }
.import-strip>div:first-child { max-width:600px }.import-strip h2 { gap:7px; margin-bottom:5px }.import-strip h2 .icon { color:#087dcb }.import-actions { justify-content:flex-end; max-width:none }
#grid-form,#grid-message { grid-column:1/-1 }#grid-form { display:grid; grid-template-columns:1fr 2fr auto; gap:12px; align-items:end; padding-top:14px; border-top:1px solid var(--line) }#grid-message,.form-error:not(:empty) { border-radius:5px; padding:7px 10px }
#import-message.success,.import-strip .success { color:#146e51 }.import-strip .error { color:#ab2949 }
.kpis { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin:13px 0 18px }
.kpi { padding:14px 15px; min-height:105px }.kpi>span { display:block; color:#56667a; font-size:11px; font-weight:700 }.kpi strong { display:block; font:600 clamp(19px,1.8vw,28px) var(--mono); margin-top:8px; letter-spacing:-.07em }.kpi strong i,.brief-header i { color:#97a6b7; font-weight:500; font-style:normal }.kpi strong em { font:500 12px var(--mono) }
.kpi small { color:#667689; font-size:10px }.split-bars { margin:4px 0 2px; display:grid; gap:3px }
.scout-details { grid-template-columns:minmax(0,1.42fr) minmax(0,1fr) }.table-scroll { overflow:auto; max-width:100%; scrollbar-width:thin }
table { border-collapse:collapse; width:100%; text-align:left; font-size:11px }th,td { padding:10px 7px; border-bottom:1px solid var(--line); white-space:nowrap }th { font-size:10px; color:#64748b; background:#fafbfd }td:first-child,th:first-child { padding-left:15px }td:last-child,th:last-child { padding-right:15px }
.person { gap:6px; font-weight:700 }.person img,.roster-picks img { width:30px; height:30px; border-radius:4px }.threat-meter { width:42px; height:3px; background:#e4eaf0; margin-top:4px }.threat-meter i { background:#008ee8 }
.roster-row { display:flex; align-items:center; gap:8px; border-bottom:1px solid var(--line); padding:7px 0; font-size:12px }.roster-picks { margin-left:auto }.roster-picks span { position:relative; overflow:hidden }.struck img { opacity:.6; filter:grayscale(1) }
.tendencies { margin:0; padding-left:16px }.tendencies li { padding:6px 0 6px 4px; color:#4c5d70; font-size:12px; line-height:1.55 }.tendencies li::marker { color:#008bec }
.prep-actions { margin-bottom:15px }.brief { max-width:1100px; margin:auto; padding:24px 28px; border-top:4px solid var(--blue) }
.brief-header { border-bottom:1px solid #cfd7e0; padding-bottom:15px }.brief-header h2 { margin-top:6px; font-size:30px }.brief-header i { font-size:.7em }.brief-header p { font:500 12px var(--mono); margin-top:7px; color:#4b5c71 }
.brief-grid { display:grid; grid-template-columns:1fr 1fr; column-gap:28px }.brief-grid section,.notes { padding:16px 0 0; min-width:0 }.brief h3,.notes label { display:block; margin-bottom:8px; font-size:15px; font-weight:800 }
.brief dl>div { display:grid; grid-template-columns:minmax(94px,.7fr) minmax(0,1.5fr); align-items:baseline; gap:10px; padding:6px 0; border-bottom:1px solid var(--line); font-size:11px; overflow-wrap:anywhere }.brief dt { font-weight:700 }.brief dd { color:#516277; line-height:1.4 }
label:has(>select),form label:not(.hide-locked) { display:grid; gap:5px; font-weight:700; font-size:12px }
form input,form select,textarea { width:100%; padding:9px 10px; border:1px solid #c9d2dd; border-radius:6px; font-size:13px; background:#fff; color:var(--ink) }
#print-notes { display:none }.form-error:empty { display:none }
dialog { width:min(440px,calc(100% - 30px)); max-height:90dvh; overflow:auto; border:1px solid var(--line); border-radius:14px; padding:22px; color:var(--ink); background:#fff; box-shadow:0 18px 80px #06142433 }
dialog::backdrop { background:#0b1425a8 }.modal-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:18px }.modal-head h2 { font-size:22px }.icon-btn { width:30px; min-height:30px; padding:5px }
dialog form { display:grid; gap:13px }.field-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px }.modal-actions,.winner-buttons { justify-content:flex-end; display:flex; gap:8px; margin-top:14px }
dialog p { font-size:13px; color:#526175; line-height:1.65 }.winner-buttons button { flex:1; flex-direction:column }.winner-buttons button:first-child { border-color:#84caff }.winner-buttons button:last-child { border-color:#f59cb0 }
#toast { position:fixed; bottom:20px; left:50%; z-index:12; transform:translate(-50%,8px); max-width:90vw; width:max-content; border-radius:7px; background:#142134; color:#fff; padding:9px 15px; font-size:12px; opacity:0; visibility:hidden; transition:.15s; pointer-events:none }
#toast.show { opacity:1; visibility:visible; transform:translate(-50%,0) }
@media(min-width:1550px) { .champ-grid { flex-basis:320px }.topbar nav button { font-size:12px } }
@media(max-width:1380px) { .brand-pill { display:none }.source { font-size:9px }.topbar { gap:9px }.series-strip { gap:8px }.quick-actions button { padding:4px 5px } }
@media(max-width:1160px) { .reset span { display:none }.header-actions .reset { width:31px; padding:6px }.import-strip { grid-template-columns:1fr }.import-actions { justify-content:flex-start; max-width:none }.kpis { grid-template-columns:repeat(3,minmax(0,1fr)) }.cliff { gap:5px } }
@media(max-width:1079px) {
  .arena { grid-template-columns:1fr 1fr }.pool { grid-column:1/-1; grid-row:1; border:0; border-bottom:1px solid var(--darkline) }.champ-grid { height:235px; flex:0 0 235px }.team-column.red { border-left:1px solid var(--darkline) }
  .broadcast-head { grid-template-columns:minmax(130px,1fr) minmax(0,2fr) minmax(130px,1fr); padding:12px }.ban-slot { width:29px }.bans>div { gap:3px }.turn h2 { font-size:18px }
  .topbar { height:auto; min-height:60px; display:grid; grid-template-columns:1fr auto; padding-block:8px; gap:6px }.topbar nav { grid-row:2; grid-column:1/-1; width:fit-content }.brand-pill,.reset span { display:inline }.header-actions .reset { width:auto }.header-actions { grid-column:2; grid-row:1 }
  nav button { min-height:26px }.analytics,.scout-details { grid-template-columns:1fr }.mini-pool img { width:22px;height:22px }.traits { grid-template-columns:repeat(3,1fr) }
}
@media(max-width:650px) {
  main { padding:16px 10px 35px }.topbar { padding:7px 10px; gap:7px; position:sticky }.brand { gap:4px }.brand strong { font-size:19px }.emblem { width:27px; height:27px }
  .brand-pill,.header-actions .reset span { display:none }.source { padding:3px 5px; font-size:8px; gap:3px }.source .dot { width:4px;height:4px }.header-actions { gap:4px }.header-actions button { min-height:28px; padding:4px 6px; font-size:10px }.header-actions .reset { padding:4px; width:25px }
  .topbar nav { width:100%; gap:0; padding:2px }.topbar nav button { flex:1; white-space:normal; padding:4px; gap:3px; font-size:10px }.topbar nav .icon { width:12px; height:12px }
  .page-heading { margin-bottom:12px; align-items:flex-end }.page-heading h1 { font-size:29px }.heading-meta { font-size:9px; gap:4px; flex-direction:column; align-items:flex-end }.live-label { font-size:8px; padding:3px 5px }.eyebrow { font-size:9px }
  .series-strip { padding:7px; gap:6px; margin-bottom:9px }.score { flex:1; justify-content:flex-end; gap:4px; font-size:10px }.score b { font-size:10px; padding:2px 4px }.game-tabs { gap:2px }.game-tabs button { padding:4px; font-size:9px; min-height:24px }.game-tabs small { font-size:8px }
  .mode-switch { margin-left:0 }.mode-switch button { min-height:21px; padding:3px 5px; font-size:9px }.quick-actions { gap:2px; margin-left:auto }.quick-actions button { gap:3px; font-size:9px; padding:3px }.quick-actions .icon { width:10px; height:10px }
  .stage { border-radius:10px }.broadcast-head { grid-template-columns:1fr 1fr; gap:8px; padding:11px }.turn { grid-column:1/-1; grid-row:1 }.turn-meta { font-size:8px }.turn h2 { margin:4px 0 6px; font-size:18px }.ban-slot { width:25px }.bans .micro { font-size:8px; margin:0 0 3px }
  .team-column { padding:8px }.team-heading { gap:5px; padding:5px; min-height:44px }.team-heading h3 { font-size:15px }.team-heading .micro { font-size:8px }.team-mark { width:24px; height:29px; font-size:12px }.pick-count { font-size:8px }
  .pick-row { padding:4px; min-height:40px; gap:4px }.pick-row .portrait,.placeholder { width:30px; height:30px }.pick-name strong { font-size:11px }.pick-name small { font-size:7px }.pick-row.empty .pick-name { font-size:10px }.slot-code { min-width:12px; font-size:8px }.pick-row.active .dot { width:4px; height:4px }
  .comp-summary strong { font-size:11px }.pool { padding:11px }.pool-title { margin-bottom:7px }.pool-title h3 { font-size:16px }.champ-grid { gap:5px; flex-basis:205px; height:205px }.pool-controls { padding:7px 0 }.role-filter button { padding:3px 5px }.pool-foot { margin-top:6px }
  .intel-heading { margin:16px 0 9px; flex-wrap:wrap }.intel-heading h2 { font-size:20px }.scout-link { padding:4px 6px; font-size:10px; min-height:25px }.scout-link .icon { width:12px }
  .panel-head,.panel-body { padding:12px }.panel-head h2,.import-strip h2 { font-size:16px }.panel-head { gap:7px }.panel-icon { width:29px; height:29px }.mini-pool { gap:2px; min-width:0 }.mini-pool img { width:18px; height:18px }.cliff { grid-template-columns:29px minmax(12px,1fr) auto 55px auto; font-size:8px; gap:4px }.badge { font-size:8px }.role-tag { font-size:9px }
  .rec { gap:6px }.rec-main small { display:block; margin:2px 0 0 }.rank { font-size:9px }.rec .portrait { width:30px;height:30px }.fit { font-size:15px }.lock-in { padding:3px 5px }.traits { grid-template-columns:1fr 1fr }
  .dossier-switch,.import-strip { padding:0; gap:8px }.import-strip { padding:12px }.dossier-switch button,.import-actions button,.prep-actions button { font-size:10px; padding:5px 7px }#grid-form { grid-template-columns:1fr }
  .kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px }.kpi { min-height:81px; padding:10px }.kpi strong { font-size:21px }.brief { padding:16px }.brief-grid { grid-template-columns:1fr }.brief-header h2 { font-size:24px }.brief-header p { font-size:10px }.prep-actions { gap:5px }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { transition:none!important; animation:none!important } }
@media(max-width:650px) {
  .topbar { grid-template-columns:minmax(0,1fr) auto }
  .brand { min-width:0 }
  .source { white-space:normal; max-width:91px; line-height:1.2 }
  .series-strip { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:6px }
  .series-strip .score { grid-column:1/-1; grid-row:1; justify-content:flex-start; font-size:12px }
  .series-strip .score b { font-size:12px; padding-inline:6px }
  .series-strip .scout-link { justify-self:end; white-space:normal; text-align:left; font-size:9px }
  .series-strip .mode-switch { width:fit-content }
}
@page { margin:11mm; size:auto }
@media print {
  * { print-color-adjust:exact; -webkit-print-color-adjust:exact }
  body,:root,main { background:#fff; color:#111; margin:0; padding:0; font-size:9pt }
  .topbar,.page-heading,.prep-actions,#toast,dialog,.notes textarea { display:none!important }
  .brief { margin:0; padding:3mm 0 0; width:100%; max-width:none; border:0; border-top:3px solid #0087dd; border-radius:0 }
  .brief-header { padding-bottom:3mm }.brief-header h2 { font-size:20pt }.brief-header p { font-size:8pt }
  .brief-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 5mm }.brief-grid section,.notes { padding-top:3mm; break-inside:avoid }
  .brief h3,.notes label { font-size:10pt; margin-bottom:1mm }.brief dl>div { grid-template-columns:1fr 1.6fr; font-size:7.5pt; gap:2mm; padding:1.1mm 0 }.brief dd { line-height:1.3 }
  #print-notes { display:block; white-space:pre-wrap; overflow-wrap:anywhere; font-size:8pt; line-height:1.35 }
}
.winprob-strip { display:grid; grid-template-columns:148px minmax(0,1fr) 148px; align-items:center; gap:14px; padding:9px 19px; background:#0d1421; border-bottom:1px solid #253040; font-family:var(--mono) }
.wp-side { display:flex; align-items:baseline; gap:7px; font-size:11px; color:#9eb0c6; white-space:nowrap }
.wp-side.red { justify-content:flex-end }
.wp-side b { font-size:15px; font-weight:700; letter-spacing:-.04em }
.wp-side.blue b { color:#38aeff }.wp-side.red b { color:#fc6886 }
.wp-center { display:grid; gap:5px; min-width:0 }
.wp-meta { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:9px; letter-spacing:.08em; color:#8ea0b5 }
.wp-meta small { font-size:9px; color:#c8d6e6; letter-spacing:.01em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.wp-track { display:flex; height:5px; border-radius:3px; overflow:hidden; background:#1f2a38; gap:2px }
.wp-track b { background:#0095ff; transition:width .25s ease }.wp-track i { background:#e11d48; transition:width .25s ease }
.rec-metrics { display:flex; flex-direction:column; align-items:center; gap:3px; min-width:56px }
.wr-delta { font:700 9px var(--mono); padding:2px 5px; border-radius:3px; white-space:nowrap }
.wr-delta.pos { color:#146e51; background:#e7f5ed }.wr-delta.neg { color:#ab2949; background:#fff0f3 }.wr-delta.flat { color:#5a697c; background:#eef2f6 }
.how-to-win { margin:0 0 18px; padding:16px 19px; background:#fff; border:1px solid var(--line); border-radius:12px }
.htw-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.htw-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.htw-card { padding:13px 14px; background:#f8fafc; border:1px solid var(--line); border-left:3px solid var(--blue); border-radius:8px; min-width:0 }
.htw-top { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-bottom:6px; font-family:var(--mono) }
.htw-tag { font-size:9px; font-weight:700; letter-spacing:.07em; color:#076caa; background:#e6f3ff; padding:2px 6px; border-radius:4px }
.htw-metric { font-size:10px; font-weight:700; color:#334155 }
.htw-card h3 { font-size:14px; font-weight:800; line-height:1.3; margin-bottom:5px; color:var(--ink) }
.htw-card p { font-size:11.5px; line-height:1.52; color:#4b5d72 }
@media(max-width:1079px) { .htw-grid { grid-template-columns:1fr } }
@media(max-width:650px) {
  .winprob-strip { grid-template-columns:1fr 1fr; padding:8px 11px; gap:6px }
  .wp-center { grid-column:1/-1; grid-row:2 }
  .wp-meta { flex-wrap:wrap }
  .how-to-win { padding:12px }
}
