/* NAPL Hub design system (11/25). Broadcast-scoreboard look: midnight navy, cobalt + gold accents, condensed type. */
:root {
  --bg: #070b18; --bg2: #0b1124; --surface: #0f1730; --surface2: #15203f; --surface3: #1c2950; --line: rgba(148,170,255,.12); --line2: rgba(148,170,255,.2);
  --ink: #eef2ff; --ink2: #c6cfeb; --muted: #8592b8; --accent: #4c7dff; --accent2: #7aa0ff; --gold: #ffc53d; --win: #22c98a; --draw: #8f9bbf; --loss: #ff5d6c; --live: #ff3355;
  --shadow: 0 10px 30px rgba(0,0,0,.35); --radius: 16px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #eef1f8; --bg2: #e6eaf5; --surface: #ffffff; --surface2: #f4f6fc; --surface3: #e8ecf8; --line: rgba(20,32,80,.09); --line2: rgba(20,32,80,.16);
  --ink: #0b1230; --ink2: #2b3558; --muted: #66729a; --accent: #2c5cf0; --accent2: #2c5cf0; --gold: #c98a00; --shadow: 0 8px 24px rgba(20,32,80,.08);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); min-height: 100vh; overflow-x: hidden }
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(800px 320px at 15% -10%, rgba(76,125,255,.22), transparent 70%), radial-gradient(600px 300px at 95% -20%, rgba(255,197,61,.10), transparent 70%) }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent }
img { display: block; max-width: 100% }
.muted { color: var(--muted) } .small { font-size: 12.5px } .tnum { font-variant-numeric: tabular-nums }
.hide { display: none !important }

/* ---------- header / nav */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.top-in { max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 18px; display: flex; align-items: center; gap: 18px }
.brand { display: flex; align-items: center; gap: 10px; flex: none }
.brand img { width: 34px; height: 34px }
.brand b { font: 800 24px/1 var(--display); letter-spacing: .02em; text-transform: uppercase }
.brand b span { color: var(--gold) }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0 }
.nav a { padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap }
.nav a:hover { color: var(--ink); background: var(--surface) }
.nav a.on { color: var(--ink); background: var(--surface2); box-shadow: inset 0 -2px 0 var(--accent) }
.top-tools { display: flex; align-items: center; gap: 6px; margin-left: auto }
.iconbtn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--ink2) }
.iconbtn:hover { background: var(--surface) }
.iconbtn svg { width: 20px; height: 20px }
.livepill { display: none; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--live) 16%, transparent); color: var(--live); font: 700 14px var(--display); letter-spacing: .06em; text-transform: uppercase }
.livepill.on { display: inline-flex }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,51,85,.6); animation: pulse 1.6s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,51,85,0) } 100% { box-shadow: 0 0 0 0 rgba(255,51,85,0) } }
.tabs-mobile { display: none }
@media (max-width: 1080px) { .nav { display: none } }
@media (max-width: 1080px) {
  .tabs-mobile { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg2) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line) }
  .tabs-mobile a, .tabs-mobile button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 10.5px; font-weight: 600; color: var(--muted) }
  .tabs-mobile svg { width: 22px; height: 22px }
  .tabs-mobile .on { color: var(--ink) } .tabs-mobile .on svg { color: var(--accent2) }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)) }
}
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(3,6,15,.6); backdrop-filter: blur(3px) }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2) }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line2); margin: 2px auto 12px }
.sheet nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px }
.sheet nav a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface2); font-weight: 700 }
.sheet nav a svg { width: 20px; height: 20px; color: var(--accent2) }

/* ---------- page layout */
.page { max-width: 1240px; margin: 0 auto; padding: 18px 18px 40px; display: grid; gap: 18px }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start }
.cols > .rail { display: grid; gap: 18px; position: sticky; top: 82px }
@media (max-width: 1080px) { .cols { grid-template-columns: 1fr } .cols > .rail { position: static } }
.stack { display: grid; gap: 18px; min-width: 0 }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr } .page { padding: 12px 12px 30px; gap: 14px } }

/* ---------- cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0 }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px }
.card-h h2 { font: 700 20px/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; display: flex; align-items: center; gap: 10px }
.card-h h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(var(--accent), var(--gold)) }
.card-h a.more, .more { font-size: 13px; font-weight: 600; color: var(--accent2) }
.empty { padding: 22px 16px; color: var(--muted); text-align: center }
.pad { padding: 0 16px 16px }
.sep { border-top: 1px solid var(--line) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; background: var(--surface2); border: 1px solid var(--line2) }
.btn svg { width: 18px; height: 18px }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff }
.btn.twitch { background: #9146ff; border-color: transparent; color: #fff }
.btn.live { background: var(--live); border-color: transparent; color: #fff }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 }
.chips::-webkit-scrollbar { display: none }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line2); font-weight: 600; font-size: 13.5px; color: var(--ink2); white-space: nowrap }
.chip.on { background: var(--ink); color: var(--bg); border-color: transparent }
.chip .crest { width: 20px; height: 20px }
.tabbar { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none }
.tabbar::-webkit-scrollbar { display: none }
.tabbar button, .tabbar a { padding: 12px 12px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap }
.tabbar .on { color: var(--ink); border-bottom-color: var(--accent) }

/* ---------- atoms */
.crest { object-fit: contain; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)) }
.crest-blank { display: inline-grid; place-items: center; border-radius: 50%; background: var(--surface3); color: var(--muted); font: 700 11px var(--display) }
.face { position: relative; flex: none; border-radius: 50%; overflow: hidden; background: var(--surface3); box-shadow: 0 0 0 2px var(--fc, var(--accent)) }
.face img { width: 100%; height: 100%; object-fit: cover }
.face-init { display: inline-grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--fc, var(--accent)), color-mix(in srgb, var(--fc, var(--accent)) 40%, #000)) }
.rt { display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 6px; border-radius: 7px; font: 700 15px/1 var(--display); color: #0b1230; font-variant-numeric: tabular-nums }
.rt.big { min-width: 52px; height: 34px; font-size: 22px; border-radius: 9px }
.r-elite { background: #3ad6ff } .r-good { background: #22c98a } .r-ok { background: #c4e35a } .r-meh { background: #ffb347 } .r-bad { background: #ff6b6b } .r-none { background: var(--surface3); color: var(--muted) }
.form { display: inline-flex; gap: 3px }
.form i { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font: 700 12px var(--display); font-style: normal; color: #fff }
.f-W { background: var(--win) } .f-D { background: var(--draw) } .f-L { background: var(--loss) }
.clublink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0 }
.clublink span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.plink:hover, .clublink:hover span { color: var(--accent2) }
.pos { display: inline-block; font: 700 11px var(--display); letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--surface3); color: var(--ink2) }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface3); color: var(--ink2) }
.tag.live { background: color-mix(in srgb, var(--live) 18%, transparent); color: var(--live) }
.tag.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold) }
.tag.ff { background: color-mix(in srgb, var(--loss) 15%, transparent); color: var(--loss) }

/* ---------- hero scoreboard */
.hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(135deg, var(--c1, #1e40af) -20%, transparent 45%), linear-gradient(225deg, var(--c2, #dc2626) -20%, transparent 45%), var(--surface) }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px) }
.hero-in { position: relative; z-index: 1; padding: 18px 20px 20px }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px }
.board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px }
.board .side { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0 }
.board .side b { font: 700 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em }
.board .side .crest { width: 72px; height: 72px }
.board .mid { display: grid; justify-items: center; gap: 4px }
.score { font: 800 64px/0.9 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 14px }
.score i { font-style: normal; color: var(--muted); font-size: 40px }
.score.small { font-size: 40px }
.board .when { font: 700 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2) }
.scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--ink2) }
.scorers div { display: grid; gap: 2px; align-content: start } .scorers .r { text-align: right }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px }
@media (max-width: 760px) { .board .side .crest { width: 54px; height: 54px } .board .side b { font-size: 17px } .score { font-size: 48px } .hero-in { padding: 14px 14px 16px } }

/* ---------- match rows */
.mrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); position: relative }
.mrow:first-child { border-top: 0 }
.mrow:hover { background: var(--surface2) }
.mrow .t { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600 }
.mrow .t.r { flex-direction: row-reverse; text-align: right }
.mrow .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mrow .t.won span { font-weight: 800 }
.mrow .sc { font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; padding: 5px 10px; border-radius: 9px; background: var(--surface2); min-width: 64px; text-align: center }
.mrow .sc.up { font-size: 15px; color: var(--ink2) }
.mrow .meta { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.25 }
.mrow .ex { justify-self: end; display: flex; gap: 4px; color: var(--muted) }
.mrow .ex svg { width: 16px; height: 16px }
.mrow::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(var(--c1, transparent), var(--c2, transparent)); opacity: .9 }
@media (max-width: 560px) { .mrow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 10px 12px } .mrow .meta, .mrow .ex { display: none } .mrow .sc { font-size: 19px; min-width: 56px } }
.dayh { padding: 10px 16px; font: 700 14px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg2); border-top: 1px solid var(--line) }

/* ---------- tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px }
.tbl th { font: 700 12px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 8px 6px; border-bottom: 1px solid var(--line) }
.tbl td { text-align: center; padding: 9px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums }
.tbl tr:first-child td { border-top: 0 }
.tbl .l { text-align: left } .tbl .pts { font: 800 17px var(--display) }
.tbl tbody tr:hover { background: var(--surface2) }
.tbl .posn { width: 34px; color: var(--muted); font-weight: 700; position: relative }
.tbl .zone-top .posn::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--accent) }
.tbl .zone-bottom .posn::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--loss) }
.tbl .gone td { opacity: .45 }
.tbl-wrap { overflow-x: auto }
@media (max-width: 560px) { .tbl .hs { display: none } .tbl td, .tbl th { padding: 8px 4px } }
.ded { font: 700 11px var(--display); color: var(--loss); background: color-mix(in srgb, var(--loss) 14%, transparent); padding: 1px 6px; border-radius: 6px; margin-left: 6px }

/* ---------- leader lists */
.lead { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line) }
.lead:first-child { border-top: 0 }
.lead:hover { background: var(--surface2) }
.lead .rk { font: 700 16px var(--display); color: var(--muted); text-align: center }
.lead b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.lead small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px }
.lead small .crest { width: 14px; height: 14px; filter: none }
.lead .v { font: 800 22px var(--display); font-variant-numeric: tabular-nums }
.lead.first { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent) }
.lead.first .rk { color: var(--gold) }

/* ---------- news */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 0 16px 16px }
.story { display: grid; border-radius: 14px; overflow: hidden; background: var(--surface2); border: 1px solid var(--line) }
.story .cv { aspect-ratio: 16/9; background: var(--surface3) center/cover no-repeat }
.story .tx { padding: 12px 14px 14px; display: grid; gap: 6px }
.story b { font: 700 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em }
.story p { color: var(--ink2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.story:hover b { color: var(--accent2) }
.story.lead-story { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr }
.story.lead-story .cv { aspect-ratio: auto; min-height: 240px }
.story.lead-story b { font-size: 28px }
@media (max-width: 760px) { .story.lead-story { grid-template-columns: 1fr } .story.lead-story .cv { min-height: 0; aspect-ratio: 16/9 } .story.lead-story b { font-size: 22px } }
.article { max-width: 760px; margin: 0 auto; width: 100% }
.article h1 { font: 800 clamp(30px, 6vw, 48px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 12px 0 }
.article .cover { border-radius: 16px; overflow: hidden; margin: 14px 0 }
.article .body { font-size: 16.5px; line-height: 1.7; color: var(--ink2); display: grid; gap: 14px }
.article .body b, .article .body strong { color: var(--ink) }

/* ---------- pitch (lineups) */
.pitch { position: relative; aspect-ratio: 3/4; max-width: 540px; margin: 0 auto; width: 100%; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(180deg, #13502f 0 10%, #155a35 10% 20%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18) }
.pitch .ln { position: absolute; border: 2px solid rgba(255,255,255,.22) }
.pitch .ln.half { left: 0; right: 0; top: 50%; border-width: 2px 0 0 }
.pitch .ln.circle { width: 22%; aspect-ratio: 1; border-radius: 50%; left: 39%; top: 50%; transform: translateY(-50%) }
.pitch .ln.box1 { left: 25%; right: 25%; top: 0; height: 14%; border-top: 0 } .pitch .ln.box2 { left: 25%; right: 25%; bottom: 0; height: 14%; border-bottom: 0 }
.pp { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; width: 92px; text-align: center }
.pp b { font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 1px 6px; border-radius: 6px; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.pp .rt { position: absolute; top: -6px; right: 12px; min-width: 30px; height: 18px; font-size: 12px; border-radius: 5px }
.pp .gl { position: absolute; top: -4px; left: 16px; font-size: 13px }
.pitch-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font: 700 15px var(--display); letter-spacing: .05em; text-transform: uppercase }
@media (max-width: 560px) { .pp { width: 70px } .pp b { font-size: 10px; max-width: 70px } }

/* ---------- stat bars */
.bars { display: grid; gap: 12px; padding: 4px 16px 16px }
.bar-row { display: grid; gap: 5px }
.bar-row .lbl { display: flex; justify-content: space-between; font-weight: 700; font-variant-numeric: tabular-nums }
.bar-row .lbl span { color: var(--muted); font-weight: 600; font-size: 13px }
.bar { display: grid; grid-template-columns: var(--a) var(--b); gap: 4px; height: 8px }
.bar i { border-radius: 4px; background: var(--h, var(--accent)) } .bar i + i { background: var(--aw, var(--surface3)) }

/* ---------- player page */
.pcard { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(500px 260px at 0% 0%, color-mix(in srgb, var(--fc) 45%, transparent), transparent 70%), linear-gradient(160deg, var(--surface2), var(--surface)) }
.pcard-in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px }
.pcard h1 { font: 800 clamp(30px, 5vw, 46px)/0.95 var(--display); text-transform: uppercase }
.pcard .sub { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; color: var(--ink2) }
.pcard .big-rt { display: grid; justify-items: center; gap: 4px }
.pcard .big-rt small { font: 700 12px var(--display); letter-spacing: .12em; color: var(--muted); text-transform: uppercase }
@media (max-width: 640px) { .pcard-in { grid-template-columns: auto 1fr; } .pcard .big-rt { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center } }
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; padding: 0 16px 16px }
.stat { border-radius: 12px; padding: 12px; background: var(--surface2); border: 1px solid var(--line) }
.stat b { display: block; font: 800 28px/1 var(--display); font-variant-numeric: tabular-nums }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600 }
.stat small { display: block; font-size: 11px; color: var(--accent2); font-weight: 700; margin-top: 3px }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 0 16px 6px }
.spark div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100% }
.spark i { width: 100%; max-width: 36px; border-radius: 6px 6px 2px 2px; background: var(--accent) }
.spark span { font: 700 12px var(--display) }

/* ---------- club page */
.chead { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(120deg, color-mix(in srgb, var(--c1) 55%, transparent), transparent 60%), linear-gradient(300deg, color-mix(in srgb, var(--c2) 35%, transparent), transparent 55%), var(--surface) }
.chead-in { display: flex; align-items: center; gap: 20px; padding: 22px }
.chead .crest { width: 96px; height: 96px }
.chead h1 { font: 800 clamp(32px, 6vw, 52px)/0.95 var(--display); text-transform: uppercase }
.kpis { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px }
.kpis div b { display: block; font: 800 26px/1 var(--display) } .kpis div span { font-size: 12px; color: var(--muted); font-weight: 600 }
@media (max-width: 560px) { .chead .crest { width: 64px; height: 64px } .chead-in { padding: 16px; gap: 14px } }
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; padding: 0 16px 16px }
.sq { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line) }
.sq b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sq small { color: var(--muted); font-size: 12px }

/* ---------- transfers */
.tr { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line) }
.tr:first-child { border-top: 0 }
.tr b { font-weight: 700 }
.tr .move { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); flex-wrap: wrap; margin-top: 2px }
.tr .move svg { width: 14px; height: 14px; color: var(--muted) }
.tr .when { font-size: 12px; color: var(--muted); font-weight: 600; text-align: right }
.ttype { font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px }
.ttype.in { background: color-mix(in srgb, var(--win) 18%, transparent); color: var(--win) } .ttype.out { background: color-mix(in srgb, var(--loss) 15%, transparent); color: var(--loss) }

/* ---------- season */
.prob { display: grid; grid-template-columns: 30px minmax(0, 1fr) 70px; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line) }
.prob:first-child { border-top: 0 }
.prob .meter { height: 10px; border-radius: 5px; background: var(--surface3); overflow: hidden; margin-top: 5px }
.prob .meter i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--gold)) }
.prob .v { font: 800 20px var(--display); text-align: right; font-variant-numeric: tabular-nums }

/* ---------- live */
.live-strip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--live) 22%, transparent), transparent); border-bottom: 1px solid var(--line) }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; padding: 0 16px 16px }
.clip { border-radius: 12px; overflow: hidden; background: #000; position: relative; aspect-ratio: 16/9 }
.clip video { width: 100%; height: 100%; object-fit: cover; display: block }
.clip .cap { position: absolute; left: 8px; bottom: 8px; font: 700 13px var(--display); background: rgba(0,0,0,.6); color: #fff; padding: 2px 8px; border-radius: 6px; pointer-events: none }

/* ---------- search */
.search { position: fixed; inset: 0; z-index: 70; background: rgba(3,6,15,.7); backdrop-filter: blur(4px); display: grid; align-items: start; justify-items: center; padding: 70px 14px }
.search-box { width: min(620px, 100%); background: var(--surface); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow) }
.search-box input { width: 100%; padding: 16px 18px; background: none; border: 0; outline: 0; color: var(--ink); font: 600 17px var(--body); border-bottom: 1px solid var(--line) }
.search-res { max-height: 60vh; overflow: auto }
.search-res a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line) }
.search-res a:hover, .search-res a.sel { background: var(--surface2) }
.loading { display: grid; place-items: center; min-height: 50vh; color: var(--muted); font: 700 18px var(--display); letter-spacing: .12em; text-transform: uppercase }
.footer { max-width: 1240px; margin: 0 auto; padding: 10px 18px 40px; color: var(--muted); font-size: 12.5px; text-align: center }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px }
.back svg { width: 18px; height: 18px }
