/* جدول — app layout. Mobile first, RTL, dark by default. Dense lists and tabbed detail pages. */

:root {
  --font: Alexandria, "Segoe UI", Tahoma, sans-serif;
  --font-d: Alexandria, "Segoe UI", Tahoma, sans-serif;
  --y: #ffd60a;
  --y-ink: #111;
  --bg: #eef0f3;
  --s1: #ffffff;
  --s2: #f5f6f8;
  --s3: #e9ebef;
  --line: #e3e5e9;
  --text: #111216;
  --muted: #5d6270;
  --faint: #9196a1;
  --brand: #a77b00;
  --live: #e3262c;
  --win: #1f9d55;
  --draw: #9aa0a6;
  --loss: #e3262c;
  --hd: #0d0d0f;
  --r: 12px;
  --r-sm: 8px;
  --hd-h: 56px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b0b0d;
  --s1: #151518;
  --s2: #1c1c20;
  --s3: #26262b;
  --line: #24242a;
  --text: #f1f1f3;
  --muted: #a5a7ae;
  --faint: #6f727b;
  --brand: #ffd60a;
  --hd: #0f0f11;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 15px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; padding-bottom: 64px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); line-height: 1.35; font-weight: 700; }
img { max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, td, .ev-sc, .score { font-variant-numeric: tabular-nums; }
svg { flex: 0 0 auto; }
svg[stroke="currentColor"] { color: var(--y); }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--hd); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.hd-in { display: flex; align-items: center; gap: 12px; height: var(--hd-h); max-width: 1400px; margin: 0 auto; padding: 0 14px; }
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; font: 700 21px var(--font-d); letter-spacing: -.3px; color: #fff; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--y); display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); gap: 2px; padding: 6px; }
.logo-mark i { background: #0d0d0f; border-radius: 1px; }
.logo-mark i:nth-child(-n+3) { background: #3a3424; }
.nav { flex: 1; min-width: 0; }
.nav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 9px; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; }
.nav a svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--y); }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current] { color: var(--y); background: rgba(255,214,10,.12); }
.hd .logo { font-size: 27px; font-weight: 800; letter-spacing: -.5px; gap: 10px; }
.hd .logo-mark { width: 34px; height: 34px; padding: 7px; border-radius: 10px; box-shadow: 0 0 0 3px rgba(255,214,10,.14); }
.hd-tools { margin-inline-start: auto; display: flex; gap: 6px; }
.hd-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); }
.hd-btn:hover { background: rgba(255,255,255,.13); }
.hd-btn svg { width: 18px; height: 18px; color: var(--y); }
@media (min-width: 760px) { .hd .logo { margin-inline-end: 6px; padding-inline-end: 16px; border-inline-end: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 1279px) { .nav a { padding: 0 8px; font-size: 13.5px; gap: 5px; } }
@media (max-width: 1099px) { .nav a:nth-child(n+6) { display: none; } }
@media (max-width: 899px) { .nav a:nth-child(n+5) { display: none; } }

/* Mega menu */
.mm { position: fixed; inset: var(--hd-h) 0 auto; z-index: 39; background: var(--s1); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--hd-h)); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .18s; }
.mm.open { transform: none; opacity: 1; visibility: visible; }
.mm-in { max-width: 1400px; margin: 0 auto; padding: 16px 14px 20px; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .mm-in { grid-template-columns: repeat(4, 1fr); } }
.mm h4 { font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.mm a { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-weight: 600; font-size: 14.5px; }
.mm a:hover { background: var(--s2); }
.mm a svg { width: 16px; height: 16px; color: var(--y); }
.mm-bd { position: fixed; inset: 0; z-index: 38; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .18s; }
.mm.open + .mm-bd { opacity: 1; visibility: visible; }

/* Mobile tab bar */
.tabbar { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--s1); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 12px; font-weight: 700; color: var(--faint); }
.tabbar svg { width: 21px; height: 21px; }
.tabbar a[aria-current] { color: var(--brand); }
@media (min-width: 1100px) { .tabbar { display: none; } body { padding-bottom: 0; } }
.sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; background: rgba(0,0,0,0); transition: background .2s; }
.sheet[hidden] { display: none; }
.sheet.open { background: rgba(0,0,0,.6); }
.sheet-in { width: 100%; max-width: 560px; margin: 0 auto; max-height: 85vh; overflow-y: auto; padding: 8px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: var(--s1); border: 1px solid var(--line); border-bottom: 0; transform: translateY(100%); transition: transform .22s ease-out; }
.sheet.open .sheet-in { transform: none; }
.sheet-in::before { content: ""; display: block; width: 40px; height: 4px; margin: 2px auto 8px; border-radius: 4px; background: var(--s3); }
.sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; }
.sheet-h b { font: 700 17px var(--font-d); }
.sheet-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--s2); color: var(--muted); font-size: 14px; cursor: pointer; }
.sheet-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 8px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.sheet-it[hidden] { display: none; }
.sheet-it + .sheet-it { border-top: 1px solid var(--line); border-radius: 0; }
.sheet-it:hover { background: var(--s2); }
.sheet-ic { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; background: rgba(255, 214, 10, .1); color: var(--y); }
.sheet-ic svg { width: 18px; height: 18px; }
.sheet-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.sheet-t b { font-size: 14.5px; font-weight: 700; }
.sheet-t small { font-size: 12px; color: var(--faint); }
.hs-wrap { position: relative; min-width: 0; }
.hs-wrap > .sp-strip { margin-bottom: 0; }
.hs-arr { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 760px) {
  .hs-arr { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line); background: var(--s2); color: var(--text); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
  .hs-arr:hover { border-color: var(--y); color: var(--y); }
  .hs-arr[hidden] { display: none; }
  .hs-arr svg { width: 16px; height: 16px; }
  .hs-pv { right: -4px; }
  .hs-nx { left: -4px; }
}
.lgs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 2px 4px; }
.lgs-it { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); }
.lgs-it span:last-child { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.lgs-it .comp { flex: 0 0 auto; background: #fff; padding: 3px; }
.lgs-it:hover { border-color: var(--y); }
.sheet-it select { flex: 0 0 auto; max-width: 42%; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--s2); color: var(--text); font: 600 13px var(--font); }

/* ---------- Shell: side menu | content | aside ---------- */
.shell { max-width: 1400px; margin: 0 auto; padding: 12px 10px 24px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.col { display: grid; gap: 12px; min-width: 0; align-content: start; grid-template-columns: minmax(0, 1fr); }
.side-l { display: none; }
@media (min-width: 900px) {
  .shell { padding: 16px 14px 32px; gap: 16px; grid-template-columns: minmax(0, 1fr) 320px; }
  .col { gap: 16px; }
  .side-r { align-self: stretch; display: flex; flex-direction: column; }
  .side-r > .ad:last-child { flex: 1 0 120px; }
}
@media (min-width: 1200px) {
  .shell.three { grid-template-columns: 236px minmax(0, 1fr) 330px; }
  .shell.three .side-l { display: grid; position: sticky; top: calc(var(--hd-h) + 16px); max-height: calc(100vh - var(--hd-h) - 32px); overflow: auto; scrollbar-width: thin; }
  .shell.two { grid-template-columns: minmax(0, 1fr) 340px; }
}
.side-r.static { position: static; }

/* ---------- Box ---------- */
.box { background: var(--s1); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
[data-theme="dark"] .box { border-color: transparent; }
.box-h { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; }
.box-h h2, .box-h h3 { font-size: 16px; }
.box-h small { color: var(--faint); font-size: 13px; }
.box-h .more { margin-inline-start: auto; font-size: 13.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.box-h + .box-b { border-top: 1px solid var(--line); }
.box-b { padding: 12px 14px; }
.box-f { display: block; padding: 11px 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); }
.box-f:hover { background: var(--s2); }
.box.go-tab { border: 1px dashed var(--brand); padding: 14px; }
.sub-h { padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--faint); background: var(--s2); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14.5px; }
.empty a { color: var(--brand); font-weight: 700; }

/* ---------- Crests / logos / faces ---------- */
.crest { --sz: 20px; flex: 0 0 auto; width: var(--sz); height: var(--sz); border-radius: 50%; display: inline-grid; place-items: center; font: 700 calc(var(--sz) * .48) var(--font-d); color: #fff; background: var(--c, #64748b); overflow: hidden; }
.crest.img { background: transparent; }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.crest.md { --sz: 32px; }
.crest.lg { --sz: 56px; }
.crest.xl { --sz: 72px; }
.comp { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px; display: inline-grid; place-items: center; font: 700 11px var(--font-d); background: var(--s3); color: var(--muted); overflow: hidden; }
.comp.img { background: transparent; }
.comp img { width: 100%; height: 100%; object-fit: contain; }
[data-theme="dark"] .comp.img img, [data-theme="dark"] .crest.img img { filter: drop-shadow(0 0 1px rgba(255,255,255,.12)); }
.pf { --s: 36px; position: relative; flex: 0 0 auto; width: var(--s); height: var(--s); border-radius: 50%; background: var(--s3); display: inline-grid; place-items: center; font: 700 calc(var(--s) * .34) var(--font-d); color: var(--muted); }
.pf .face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--s3); }
.pf .crest { --sz: calc(var(--s) * .42); position: absolute; bottom: -2px; inset-inline-end: -3px; box-shadow: 0 0 0 2px var(--s1); background-color: var(--s1); }

/* ---------- Side menu ---------- */
.side-l { gap: 12px; align-content: start; }
.sl a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 14.5px; font-weight: 600; }
.sl a:hover { background: var(--s2); }
.sl a .comp { width: 20px; height: 20px; }
.sl a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl a small { color: var(--faint); font-size: 12.5px; font-weight: 700; }
.sl a small.lv { color: var(--live); }

/* ---------- Date bar + filters ---------- */
.datebar { display: flex; align-items: center; gap: 4px; padding: 8px; }
.datebar .arr { width: 34px; height: 46px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); flex: 0 0 auto; }
.datebar .arr:hover { background: var(--s2); }
.datebar .arr svg { width: 16px; height: 16px; }
.days { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 1 0 56px; height: 46px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; color: var(--muted); }
.day small { font-size: 12px; font-weight: 600; }
.day b { font-size: 15px; color: var(--text); }
.day:hover { background: var(--s2); }
.day[aria-current] { background: var(--y); color: var(--y-ink); }
.day[aria-current] b { color: var(--y-ink); }
.chips { display: flex; gap: 6px; padding: 0 12px 12px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--s2); }
.chip b { font-size: 12px; padding: 0 6px; border-radius: 999px; background: var(--s3); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--s1); }
.chip[aria-pressed="true"] b { background: rgba(127,127,127,.3); color: inherit; }
.chip.lv[aria-pressed="true"] { background: var(--live); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- League head + match rows ---------- */
.lg-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--s2); }
.lg-n { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.lg-n small { font-size: 12px; color: var(--faint); font-weight: 600; }
.lg-n b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-c { font-size: 12px; font-weight: 700; color: var(--faint); }
.lg-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--brand); padding: 4px 8px; border-radius: 6px; }
.lg-more:hover { background: var(--s3); }
.lg-more i { font-style: normal; font-size: 16px; }
.lg + .lg { border-top: 1px solid var(--line); }
a.lg-n:hover b { color: var(--brand); }

/* Rows: the whole row opens the match, team and league names open their own pages. */
.go { position: absolute; inset: 0; z-index: 1; }
.go:focus-visible { outline: 2px solid var(--y); outline-offset: -2px; }
a.up { position: relative; z-index: 2; max-width: 100%; }
a.bd-tm.h { justify-self: end; }
a.bd-tm.a, a.ev-comp { justify-self: start; }
a.up:hover, a.up:hover .nm, a.up:hover span { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.ev { display: grid; grid-template-columns: 58px minmax(0, 1fr) 30px; align-items: center; gap: 0 10px; padding: 8px 14px; min-height: 60px; border-top: 1px solid var(--line); position: relative; }
.ev:first-child, .lg-h + .ev { border-top: 0; }
.ev:hover { background: var(--s2); }
.ev-t { display: flex; flex-direction: column; align-items: center; line-height: 1.25; border-inline-end: 1px solid var(--line); padding-inline-end: 10px; align-self: stretch; justify-content: center; }
.ev-t b { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ev-t small { font-size: 12px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.ev-t small.lv, .ev.live .ev-t small { color: var(--live); font-weight: 700; }
.ev-tm { display: grid; gap: 5px; min-width: 0; }
.ev-r { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; }
.ev-r .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-r.hi { font-weight: 700; }
.ev-r.lo { color: var(--muted); }
.ev-comp { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); font-weight: 600; }
.ev-comp .comp { width: 14px; height: 14px; }
.ev-sc { display: grid; gap: 5px; text-align: center; font-size: 15px; font-weight: 700; }
.ev-sc b { display: block; line-height: 20px; height: 20px; }
.ev-sc b.lo { color: var(--muted); font-weight: 600; }
.ev.live .ev-sc { color: var(--live); }
.ev.ht .ev-sc { color: var(--brand); }
.ev.live::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--live); }
.ev.off .ev-tm { opacity: .6; }
.ev.goal { animation: goal 2.4s; }
@keyframes goal { 0%, 60% { background: rgba(255,214,10,.18); } }
.ev:has(.ev-x) { grid-template-columns: 58px minmax(0, 1fr) 30px 26px; }
.ev-x { display: grid; place-items: center; }
.fm { display: inline-flex; gap: 3px; }
.fb { width: 20px; height: 20px; border-radius: 5px; display: inline-grid; place-items: center; font: 700 12px var(--font); font-style: normal; color: #fff; }
.fb.w { background: var(--win); }
.fb.d { background: var(--draw); }
.fb.l { background: var(--loss); }

/* ---------- Featured strip (home) ---------- */
.feat { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; }
.fc { display: grid; gap: 10px; padding: 12px 14px; background: var(--s1); border-radius: var(--r); border: 1px solid var(--line); }
[data-theme="dark"] .fc { border-color: transparent; }
.fc:hover { background: var(--s2); }
.fc-top { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.fc-top .comp { width: 16px; height: 16px; }
.fc-top em { margin-inline-start: auto; font-style: normal; font-weight: 700; color: var(--live); }
.fc-m { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.fc-m > span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.fc-m > span > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-sc { font: 700 22px var(--font-d); }
.fc-sc small { display: block; font: 600 12px var(--font); color: var(--faint); }
.fc.live .fc-sc { color: var(--live); }

/* ---------- Page header (league / team) ---------- */
.ph { padding: 16px; display: flex; align-items: center; gap: 14px; }
.ph-logo { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 8px; }
.ph-logo .comp, .ph-logo .crest { width: 56px; height: 56px; --sz: 56px; }
.ph-t { flex: 1; min-width: 0; }
.ph h1 { font-size: 20px; }
.ph h1 em { font-style: normal; color: var(--brand); }
.ph p { margin: 2px 0 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ph p a { color: var(--brand); font-weight: 600; }
.ph-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn { height: 34px; padding: 0 14px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; background: var(--s2); color: var(--text); }
.btn:hover { background: var(--s3); }
.btn svg { width: 15px; height: 15px; }
.btn.y { background: var(--y); color: var(--y-ink); }
.btn.on { background: var(--win); color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px 0; font-size: 13px; color: var(--faint); }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs-out { padding: 0 2px 8px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 10px 16px; border-inline-start: 1px solid var(--line); min-width: 0; }
.kpi:first-child { border-inline-start: 0; }
.kpi small { display: block; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.kpi b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b.big { font: 700 20px var(--font-d); color: var(--brand); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 2px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 0 0 auto; padding: 12px 12px 10px; font-weight: 700; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); border-color: var(--y); }
.tabs-sticky { position: sticky; top: var(--hd-h); z-index: 20; }
.panel { display: none; }
.panel.on { display: grid; gap: 12px; }
@media (min-width: 900px) { .panel.on { gap: 16px; } }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ---------- Standings ---------- */
.tbl-x { overflow-x: auto; }
.tbl { font-size: 14px; }
.tbl th { padding: 8px 6px; font-size: 12.5px; font-weight: 700; color: var(--faint); text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl td { padding: 7px 6px; text-align: center; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr:first-child td { border-top: 0; }
.tbl tbody tr:hover { background: var(--s2); }
.tbl .c-pos { width: 40px; padding-inline-start: 12px; }
.tbl .c-team { text-align: start; width: 100%; max-width: 0; }
.tbl .c-team a { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; }
.tbl .c-team .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl .c-pts { font-weight: 800; padding-inline-end: 12px; }
.tbl .c-form { padding-inline-end: 12px; }
.tbl .gd-p { color: var(--win); }
.tbl .gd-n { color: var(--loss); }
.tbl tr.me td { background: rgba(255,214,10,.1); }
.tbl tr.me .c-team a { color: var(--brand); }
.pos { width: 24px; height: 24px; border-radius: 6px; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--muted); }
.pos.z { background: var(--z); color: #fff; }
.tbl .opt, .tbl .opt2 { display: none; }
@media (min-width: 560px) { .tbl .opt { display: table-cell; } }
@media (min-width: 720px) { .tbl .opt2 { display: table-cell; } }
.tbl.mini .c-pos { width: 34px; padding-inline-start: 10px; }
.tbl.mini td { padding: 6px 5px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--z); }

/* ---------- Lists (scorers, players) ---------- */
.li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
a.li:hover { background: var(--s2); }
.li-n { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.li-n b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-n small { font-size: 13px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li > svg { width: 18px; height: 18px; color: var(--y); }
[data-search-list] { max-height: 60vh; overflow: auto; }
.li-i { width: 20px; text-align: center; font-weight: 700; color: var(--faint); font-size: 13px; }
.li-v { font: 700 17px var(--font-d); min-width: 28px; text-align: center; }
.rt { display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 5px; border-radius: 6px; font: 700 13px var(--font); font-style: normal; color: #fff; background: var(--r, #888); }

/* ---------- Match header ---------- */
.mh { padding: 12px 14px 14px; background: var(--s1); }
.mh-top { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mh-top a:hover { color: var(--brand); }
.mh-top .comp { width: 18px; height: 18px; }
.mh-top i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; margin-top: 14px; }
.board .side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.board .nm { font: 600 15px var(--font-d); }
.board .nm:hover { color: var(--brand); }
.board .mid { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; min-width: 110px; }
.score { font: 700 38px/1 var(--font-d); display: flex; align-items: center; gap: 10px; direction: ltr; }
.score em { font-style: normal; color: var(--faint); font-weight: 400; }
.score .lo { color: var(--muted); }
.score.ko { font-size: 28px; }
.status { font-size: 13px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--s2); }
.board[data-st="live"] .status { color: #fff; background: var(--live); }
.board[data-st="live"] .score, .board[data-st="ht"] .score { color: var(--live); }
.board[data-st="live"] .status .dot { background: #fff; }
.clock { width: 100px; height: 3px; border-radius: 3px; background: var(--s3); overflow: hidden; }
.clock b { display: block; height: 100%; background: var(--live); }
.scorers { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--muted); display: grid; gap: 2px; }
.scorers li { display: flex; align-items: center; justify-content: center; gap: 4px; }
.scorers svg { width: 11px; height: 11px; }
.mh-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mh-info span { display: inline-flex; align-items: center; gap: 5px; }
.mh-info svg { width: 14px; height: 14px; color: var(--y); }
.mh-acts { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .score { font-size: 46px; } .board .nm { font-size: 17px; } .crest.lg { --sz: 64px; } }

/* ---------- Incidents ---------- */
.inc { padding: 6px 0 10px; }
.inc-row { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; min-height: 42px; padding: 0 12px; }
.inc-t { grid-column: 2; grid-row: 1; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.inc-b { grid-row: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.inc-row.h .inc-b { grid-column: 1; justify-content: flex-end; text-align: end; }
.inc-row.a .inc-b { grid-column: 3; justify-content: flex-start; }
.inc-b > span { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.inc-b b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inc-b small { font-size: 12.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inc-ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); }
.inc-ic svg { width: 14px; height: 14px; }
.inc-row.goal .inc-ic { background: var(--y); color: var(--y-ink); }
.inc-sc { font: 700 13px var(--font); padding: 1px 7px; border-radius: 6px; background: var(--s3); margin-inline-start: 4px; }
.card-y, .card-r { width: 10px; height: 14px; border-radius: 2px; background: #f5c400; display: inline-block; }
.card-r { background: var(--live); }
.in { color: var(--win); }
.out { color: var(--loss); }
.inc-sep { display: flex; align-items: center; gap: 10px; margin: 6px 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.inc-sep::before, .inc-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inc-sep b { padding: 1px 8px; border-radius: 6px; background: var(--s2); color: var(--text); }

/* ---------- Stats ---------- */
.st-g { padding: 4px 14px 12px; }
.st-g h3 { font-size: 13.5px; color: var(--faint); padding: 10px 0 4px; font-family: var(--font); font-weight: 700; }
.st { padding: 7px 0; }
.st-top { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; font-size: 14px; text-align: center; }
.st-top span:nth-child(2) { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.st-v { justify-self: start; min-width: 34px; padding: 1px 8px; border-radius: 6px; font-weight: 700; }
.st-v.a { justify-self: end; }
.st-v.lead { background: var(--home, var(--y)); color: var(--home-ink, #fff); }
.st-v.a.lead { background: var(--away-bar, #64748b); color: #fff; }
.st-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.st-bar span { height: 6px; border-radius: 6px; background: var(--s3); overflow: hidden; display: flex; }
.st-bar span:first-child { justify-content: flex-start; }
.st-bar span:last-child { justify-content: flex-end; }
.st-bar i { display: block; height: 100%; border-radius: 6px; background: var(--home, var(--y)); }
.st-bar span:last-child i { background: var(--away-bar, #64748b); }
.st-bar i.lo { opacity: .45; }
.poss { display: flex; align-items: center; gap: 10px; padding: 14px; }
.poss b { font: 700 19px var(--font-d); min-width: 48px; text-align: center; }
.poss-bar { flex: 1; display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 3px; }
.poss-bar i { display: block; background: var(--home); }
.poss-bar i + i { background: var(--away-bar); }

/* Shot map */
.shotmap { padding: 0 14px; }
.shotmap svg { display: block; width: 100%; height: auto; border-radius: 8px; background: #1d6b3a; }
.sm-l { fill: none; stroke: rgba(255,255,255,.4); stroke-width: .35; }
.sm-g { fill: var(--y); stroke: #111; stroke-width: .3; }
.sm-on { fill: var(--c); stroke: #fff; stroke-width: .3; }
.sm-off { fill: none; stroke: var(--c); stroke-width: .5; opacity: .9; }
.shot-sum { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 14px; font-size: 13px; }
.shot-sum > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shot-sum .a { justify-content: flex-end; text-align: end; }
.shot-sum b { font: 700 19px var(--font-d); }
.shot-sum small { width: 100%; color: var(--faint); }
.sm-lg { display: grid; gap: 3px; color: var(--muted); }
.sm-lg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 4px; vertical-align: middle; }
.sm-lg i.g { background: var(--y); }
.sm-lg i.on { background: var(--muted); }
.sm-lg i.off { border: 1.5px solid var(--muted); }

/* ---------- Poll ---------- */
.poll { padding: 0 14px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.poll button { position: relative; overflow: hidden; height: 54px; border-radius: 10px; background: var(--s2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; font-weight: 700; }
.poll button:hover { background: var(--s3); }
.poll button i { position: absolute; inset: auto 0 0; height: 0; background: var(--c); opacity: .3; transition: height .5s; }
.poll button > * { position: relative; }
.poll button b { display: none; font-size: 16px; }
.poll.done button b { display: block; }
.poll.done button span { font-size: 12px; color: var(--muted); }
.poll button.voted { box-shadow: inset 0 0 0 2px var(--y); }
.poll .x { font-size: 19px; color: var(--faint); }

/* ---------- Lineups ---------- */
.lu-head { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.lu-team { display: flex; align-items: center; gap: 8px; padding: 10px 14px; min-width: 0; }
.lu-team + .lu-team { flex-direction: row-reverse; border-inline-start: 1px solid var(--line); }
.lu-team b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-team span { font-size: 13px; color: var(--faint); font-weight: 700; }
.lu-team .rt { margin-inline-start: auto; }
.lu-team + .lu-team .rt { margin-inline-start: 0; margin-inline-end: auto; }
.pitch { position: relative; margin: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 68 / 105; background:
  repeating-linear-gradient(0deg, #2a7d46 0 9.5%, #2f8a4e 9.5% 19%); }
.pitch .ln { position: absolute; border: 1.5px solid rgba(255,255,255,.35); }
.pitch .ln.o { inset: 3%; border-radius: 2px; }
.pitch .ln.c { left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.pitch .ln.h { left: 3%; right: 3%; top: 50%; height: 0; border-width: 1.5px 0 0; }
.pitch .ln.b1, .pitch .ln.b2 { left: 25%; right: 25%; height: 14%; }
.pitch .ln.b1 { top: 3%; border-top: 0; }
.pitch .ln.b2 { bottom: 3%; border-bottom: 0; }
.pl { position: absolute; width: 70px; margin-left: -35px; margin-top: -24px; display: flex; flex-direction: column; align-items: center; gap: 3px; z-index: 1; }
.pl { --x: calc(12% + var(--s) * .76%); }
.pl.h { left: var(--x); top: calc(93% - var(--l) * .4%); }
.pl.a { left: calc(100% - var(--x)); top: calc(7% + var(--l) * .4%); }
.pl-c { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font); color: var(--ink, #fff); background: var(--kit, #b5121b); box-shadow: 0 2px 6px rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.85); }
.pl-c .face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--kit); }
.pl-c .rt { position: absolute; top: -8px; inset-inline-end: -16px; min-width: 28px; height: 17px; font-size: 11.5px; padding: 0 4px; border-radius: 5px; }
.pl-n { max-width: 100%; padding: 0 5px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl.h { --kit: var(--home); --ink: var(--home-ink, #fff); }
.pl.a { --kit: var(--away); --ink: var(--away-ink, #111); }
.pl-n i { font-style: normal; opacity: .7; margin-inline-end: 3px; }
.pb { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 1px; font: 700 10.5px/1 var(--font); font-style: normal; }
.pb svg { width: 13px; height: 13px; }
.pb-g { bottom: -5px; inset-inline-start: -9px; padding: 1px; border-radius: 9px; background: #fff; color: #111; }
.pb-g.og { color: var(--live); }
.pb-g b { padding: 0 2px; }
.pb-k { top: -5px; inset-inline-start: -6px; width: 9px; height: 12px; border-radius: 2px; background: #f5c400; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.pb-k.r { background: var(--live); }
.pb-o { bottom: -5px; inset-inline-end: -12px; padding: 1px 3px; border-radius: 6px; background: #fff; color: var(--live); }
.pb-o svg { width: 9px; height: 9px; }
.pb-a { top: 14px; inset-inline-start: -12px; width: 15px; height: 15px; justify-content: center; border-radius: 50%; background: #fff; color: #111; }
@media (min-width: 760px) {
  .pitch.wide { aspect-ratio: 105 / 68; background: repeating-linear-gradient(90deg, #2a7d46 0 9.5%, #2f8a4e 9.5% 19%); }
  .wide .ln.c { width: auto; height: 30%; }
  .wide .ln.h { top: 3%; bottom: 3%; left: 50%; right: auto; width: 0; height: auto; border-width: 0 0 0 1.5px; }
  .wide .ln.b1, .wide .ln.b2 { top: 25%; bottom: 25%; left: auto; right: auto; width: 14%; height: auto; border: 1.5px solid rgba(255,255,255,.35); }
  .wide .ln.b1 { right: 3%; border-right: 0; }
  .wide .ln.b2 { left: 3%; border-left: 0; }
  .wide .pl { width: 84px; margin-left: -42px; margin-top: -26px; }
  .wide .pl.h { left: calc(94% - var(--l) * .4%); top: var(--x); }
  .wide .pl.a { left: calc(6% + var(--l) * .4%); top: calc(100% - var(--x)); }
  .wide .pl-c { width: 44px; height: 44px; }
  .wide .pl-n { font-size: 12.5px; }
}
.sum { display: grid; gap: 12px; align-items: start; }
.sum-m, .sum-s { display: grid; gap: 12px; min-width: 0; align-content: start; }
@media (min-width: 980px) {
  .sum { grid-template-columns: minmax(0, 1fr) 360px; align-items: stretch; }
  .sum-m, .sum-s { display: flex; flex-direction: column; }
  .sum-m > .ad:last-child, .sum-s > .ad:last-child { flex: 1 0 120px; }
}
.sum-s .pitch { margin: 10px; }
.sum-s .lu-team { padding: 8px 10px; gap: 6px; }
.sum-s .lu-team b { font-size: 13.5px; }
.inc-sep.lv { color: var(--live); }
.inc-sep .dot { margin: 0; }
.lu-lists { display: grid; grid-template-columns: 1fr 1fr; }
.lu-lists > div { min-width: 0; }
.lu-lists > div + div { border-inline-start: 1px solid var(--line); }
.lu-lists h4 { display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 13.5px; color: var(--text); background: var(--s2); font-family: var(--font); font-weight: 700; }
.lu-p { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 14px; min-width: 0; border-top: 1px solid var(--line); }
.lu-p.idle { opacity: .55; }
.lu-p .in { color: var(--win); }
.lu-mk { display: inline-flex; gap: 4px; align-items: center; flex: 0 0 auto; }
.lu-mk .pb { position: static; }
@media (max-width: 560px) { .lu-lists { grid-template-columns: 1fr; } .lu-lists > div + div { border-inline-start: 0; } }
.lu-p > i { font-style: normal; width: 20px; text-align: center; color: var(--faint); font-weight: 700; font-size: 13px; flex: 0 0 auto; }

/* ---------- H2H ---------- */
.h2h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 14px; text-align: center; }
.h2h > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.h2h b { font: 700 26px var(--font-d); }
.h2h small { font-size: 13px; color: var(--muted); }
.h2h-bar { display: flex; height: 8px; margin: 0 14px 14px; border-radius: 8px; overflow: hidden; gap: 3px; }
.h2h-bar i { display: block; }

/* ---------- Team page ---------- */
.nx { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 16px 14px 8px; text-align: center; }
.nx > span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; min-width: 0; }
.nx-mid b { display: block; font: 700 22px var(--font-d); }
.nx-mid small { color: var(--faint); font-size: 13px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 14px 14px; }
.countdown div { background: var(--s2); border-radius: 8px; padding: 6px 0; text-align: center; line-height: 1.2; }
.countdown b { display: block; font: 700 19px var(--font-d); }
.countdown small { font-size: 12px; color: var(--faint); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile { padding: 12px 6px; text-align: center; border-inline-start: 1px solid var(--line); }
.tile:first-child { border-inline-start: 0; }
.tile b { display: block; font: 700 20px var(--font-d); }
.tile small { font-size: 12.5px; color: var(--faint); }

/* Club card, season numbers, competitions (team) · info, channels, comparison (match) */
.club { display: grid; gap: 0; border-top: 1px solid var(--line); }
.club-coach { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.club-coach .li-n b { font-size: 16px; }
.club-facts { display: grid; grid-template-columns: minmax(0, 1fr); }
.club-facts .li svg { width: 18px; height: 18px; color: var(--y); flex: 0 0 auto; }
.club-facts .li a { color: var(--brand); }
@media (min-width: 640px) { .club-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .club-facts .li:nth-child(even) { border-inline-start: 1px solid var(--line); } }
.club-coach + .club-facts .li:first-child { border-top: 1px solid var(--line); }
.club-about { padding: 12px 14px 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.club-about a { color: var(--brand); font-weight: 700; }
.club-social { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.streak { color: var(--y) !important; font-weight: 800; }
.rec-lines { border-top: 1px solid var(--line); padding: 6px 14px 10px; display: grid; gap: 8px; }
.rec-l { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(54px, auto); align-items: center; gap: 10px; font-size: 13.5px; }
.rec-note { font-size: 12.5px; color: var(--faint); }
.sub-h small { font-weight: 600; margin-inline-start: 6px; opacity: .8; }
.rec-l span:first-child { color: var(--muted); font-weight: 600; }
.rec-l b { text-align: end; font: 700 14px var(--font-d); direction: ltr; }
.rec-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--s3); gap: 2px; }
.rec-bar i { display: block; background: var(--s3); }
.rec-bar i.w { background: var(--win); }
.rec-bar i.d { background: var(--draw); }
.rec-bar i.l { background: var(--loss); }
.comps { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.comps a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--s2); font-size: 14px; font-weight: 600; }
.comps a:hover { background: var(--s3); color: var(--brand); }
.tvs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 14px; }
.tvc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--s2); font-size: 14px; }
.tvc img { height: 22px; width: auto; max-width: 60px; object-fit: contain; }
.cmp { border-top: 1px solid var(--line); }
.cmp-h, .cmp-r { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 14px; }
.cmp-h { font-weight: 700; font-size: 14.5px; }
.cmp-h span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cmp-h span:last-child { justify-content: flex-end; }
.cmp-h .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-r { border-top: 1px solid var(--line); }
.cmp-r span { font-size: 13px; color: var(--faint); font-weight: 700; text-align: center; white-space: nowrap; }
.cmp-r b { font: 700 16px var(--font-d); }
.cmp-r b:last-child { text-align: end; }
.cmp-r b.lead { color: var(--y); }
.mh-cd { max-width: 260px; margin: 8px auto 0; padding: 0; }
.form-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.squad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
@media (min-width: 560px) { .squad { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .squad { grid-template-columns: repeat(4, 1fr); } }
.sq { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--s1); min-width: 0; }
.sq .li-n b { font-size: 14px; }
.sq-no { font: 700 13px var(--font); color: var(--faint); min-width: 18px; }
.seg { display: flex; gap: 6px; padding: 0 14px 12px; overflow-x: auto; scrollbar-width: none; }
.seg button { flex: 0 0 auto; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: var(--s2); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--s1); }
.stars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.star { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--s1); min-width: 0; }
.star strong { margin-inline-start: auto; font: 700 19px var(--font-d); color: var(--brand); }

/* ---------- Home: departure board ---------- */
.h1 { font-size: 18px; }
.shell.one { max-width: 1080px; grid-template-columns: minmax(0, 1fr); }

.jd-top { border-top: 3px solid var(--y); }
.jd-top-h { padding: 16px 16px 4px; }
.jd-top-h .h1 { font: 800 21px/1.3 var(--font-d); }
.jd-top-h p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.jd-top-h .lv-t { color: var(--live); }
.datebar .arr.off { visibility: hidden; }
.res-h { gap: 8px; }
.res-h .dot { flex: 0 0 auto; }
.jd-top .chips { padding: 2px 12px 14px; }
@media (min-width: 760px) { .jd-top-h { padding: 20px 20px 6px; } .jd-top-h .h1 { font-size: 26px; } .jd-top .chips { padding-inline: 16px; } }
.chip.ar[aria-pressed="true"] { background: var(--y); color: var(--y-ink); }

.dep { overflow: visible; }
.dep .lg-h { position: sticky; top: var(--hd-h); z-index: 5; border-top: 1px solid var(--line); }
.dep > .lg:first-child .lg-h { border-top: 0; border-radius: var(--r) var(--r) 0 0; }
.dep .lg-h .lg-n b { font-size: 15.5px; }
.lg-rest { border-top: 1px solid var(--line); }
.lg-rest > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-weight: 800; font-size: 15px; color: var(--brand); }
.lg-rest > summary::-webkit-details-marker { display: none; }
.lg-rest > summary b { padding: 1px 8px; border-radius: 999px; background: var(--s3); color: var(--text); font-size: 13px; }
.lg-rest > summary:hover { background: var(--s2); }
.lg-rest[open] > summary { border-bottom: 1px solid var(--line); }

.bd { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); grid-template-areas: "h c a" "h st a"; align-items: center; gap: 2px 10px; padding: 10px 12px; position: relative; }
.bd + .bd { border-top: 1px solid var(--line); }
.bd:hover { background: var(--s2); }
.bd::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: transparent; transition: background .15s; }
.bd:hover::before { background: var(--y); }
.bd[data-st="live"]::before, .bd[data-st="ht"]::before { background: var(--live); }
.bd-st { grid-area: st; justify-self: center; font-size: 11.5px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.bd-rd { display: none; }
.bd-tm { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; font-weight: 600; }
.bd-tm.h { grid-area: h; justify-content: flex-end; text-align: end; }
.bd-tm.a { grid-area: a; }
.bd-tm .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-tm .crest { --sz: 24px; }
.bd-tm.lo { color: var(--muted); font-weight: 500; }
.bd-c { grid-area: c; justify-self: center; display: grid; place-items: center; min-width: 68px; height: 32px; padding: 0 8px; border-radius: 8px; background: linear-gradient(#26262b 0 50%, #1d1d21 50% 100%); }
.bd-time { font: 700 16px var(--font-d); color: var(--y); letter-spacing: .5px; }
.bd-sc { display: flex; align-items: center; gap: 6px; font: 700 17px var(--font-d); color: #fff; }
.bd-sc i { font-style: normal; color: rgba(255,255,255,.4); }
.bd[data-st="ns"] .bd-sc, .bd[data-st="off"] .bd-sc { display: none; }
.bd:not([data-st="ns"]):not([data-st="off"]) .bd-time { display: none; }
.bd[data-st="live"] .bd-c, .bd[data-st="ht"] .bd-c { background: var(--live); }
.bd[data-st="live"] .bd-st { color: var(--live); }
.bd[data-st="live"] .bd-st::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 5px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; vertical-align: middle; }
.bd[data-st="ht"] .bd-st { color: var(--brand); }
.bd[data-st="ft"] .bd-c { background: var(--s3); }
.bd[data-st="ft"] .bd-sc { color: var(--text); }
.bd[data-st="ft"] .bd-sc i { color: var(--faint); }
.bd[data-st="off"] { opacity: .55; }
.bd.goal { animation: goal 2.4s; }
@media (min-width: 760px) {
  .bd { grid-template-columns: 104px minmax(0, 1fr) 92px minmax(0, 1fr) 150px; grid-template-areas: "st h c a rd"; padding: 10px 16px; min-height: 60px; }
  .bd-st { justify-self: start; font-size: 13px; }
  .bd-rd { display: block; grid-area: rd; justify-self: end; font-size: 12.5px; color: var(--faint); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bd-tm { font-size: 16px; }
  .bd-tm .crest { --sz: 28px; }
  .bd-c { min-width: 84px; height: 40px; }
  .bd-time { font-size: 19px; }
  .bd-sc { font-size: 19px; }
}

/* ---------- About / FAQ / ad / footer ---------- */
.about { padding: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.about h2 { color: var(--text); font-size: 16px; margin-bottom: 6px; }
.about strong { color: var(--text); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { padding: 12px 16px; font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 19px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14.5px; }
.ad { display: grid; place-items: center; min-height: 100px; border-radius: var(--r); border: 1px dashed var(--line); color: var(--faint); font-size: 13px; }
.upd { max-width: 1400px; margin: 0 auto; padding: 4px 16px 14px; text-align: center; font-size: 13px; color: var(--faint); }
.upd time { color: var(--muted); font-weight: 600; }
.ft { border-top: 1px solid var(--line); background: var(--s1); font-family: var(--font); }
.ft-in { max-width: 1400px; margin: 0 auto; padding: 36px 18px 26px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ft-in { grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 36px; } }
.ft .logo { color: var(--text); font-size: 22px; }
.ft-brand p { margin: 12px 0 0; max-width: 360px; color: var(--muted); font-size: 16px; line-height: 2; }
.ft-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ft-social a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 15.5px; font-weight: 600; background: var(--s2); }
.ft-social a:hover { border-color: var(--brand); color: var(--brand); }
.ft-col { display: flex; flex-direction: column; gap: 4px; }
.ft-col h3 { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ft-col a { color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.7; padding: 4px 0; }
.ft-col a:hover { color: var(--brand); }
.ft-bar { max-width: 1400px; margin: 0 auto; padding: 14px 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--muted); font-size: 15px; }
.ft-bar a { color: var(--brand); font-weight: 700; }
.ft-bar a:hover { text-decoration: underline; }
@media (max-width: 639px) { .ft-bar { justify-content: center; text-align: center; } }

/* ---------- Search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); display: none; padding: 70px 12px 12px; }
.search-ov.open { display: block; }
.search-box { max-width: 560px; margin: 0 auto; background: var(--s1); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.search-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-bottom: 1px solid var(--line); }
.search-in svg { width: 18px; height: 18px; color: var(--y); }
.search-in input { flex: 1; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--text); }
.search-in kbd { font: 600 12px var(--font); padding: 2px 6px; border-radius: 5px; background: var(--s2); color: var(--faint); }
.search-sec { padding: 10px 14px 4px; font-size: 12.5px; font-weight: 700; color: var(--faint); }
.search-it { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-weight: 600; }
.search-it small { color: var(--faint); font-weight: 500; font-size: 13px; }
.search-it.on, .search-it:hover { background: var(--s2); }

/* ---------- 404 ---------- */
.nf { padding: 40px 16px; text-align: center; }
.nf-code { font: 700 72px/1 var(--font-d); color: var(--brand); }
.nf h1 { font-size: 20px; margin: 12px 0 6px; }
.nf p { color: var(--muted); margin: 0 0 16px; }
.nf .ph-acts { justify-content: center; }

/* ---------- Two-team card: each half in its club colour, diagonal split, particle network on top ---------- */
.vs { --c1: #b5121b; --c2: #334155; --i1: #fff; --i2: #fff; position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(104deg, var(--c2) 0 calc(50% - 2px), rgba(255,255,255,.85) calc(50% - 2px) calc(50% + 2px), var(--c1) calc(50% + 2px)); }
.vs::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 90% at 82% 35%, rgba(255,255,255,.2), transparent 70%), radial-gradient(60% 90% at 18% 35%, rgba(255,255,255,.2), transparent 70%), linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38)); }
.vs > canvas.plexus { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.vs .vs-h { color: var(--i1); }
.vs .vs-a { color: var(--i2); }
.vs .vs-h, .vs .vs-a { text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.vs .crest.lg { --sz: 84px; border-radius: 0; overflow: visible; }
.vs .crest.lg:not(.img) { border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.vs .crest.lg img { filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.nx.vs .crest.lg { --sz: 72px; }
@media (min-width: 640px) { .vs .crest.lg { --sz: 128px; } .nx.vs .crest.lg { --sz: 84px; } }
.vs .mid, .vs .nx-mid, .vs .mh-top { background: rgba(10,10,11,.6); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); }
.vs .mid { border-radius: 18px; padding: 12px 14px; }
.vs .nx-mid { border-radius: 14px; padding: 8px 12px; }
.vs .nx-mid small, .vs .mh-top, .vs .mh-top a { color: rgba(255,255,255,.8); }
.vs .mh-top { width: fit-content; margin: 0 auto; padding: 5px 12px; border-radius: 999px; }
.vs .mh-top i { background: rgba(255,255,255,.5); }
.vs .nm, .vs .nm:hover { color: inherit; }
.vs .nm { font-weight: 700; }
.vs .scorers { color: inherit; opacity: .9; }
.vs .status { background: rgba(255,255,255,.12); color: #fff; }
.vs .score em, .vs .score .lo { color: rgba(255,255,255,.55); }
.vs .clock { background: rgba(255,255,255,.2); }
.vs .countdown div { background: rgba(255,255,255,.1); }
.vs .countdown small { color: rgba(255,255,255,.65); }
.vs .btn:not(.y) { background: rgba(10,10,11,.55); color: #fff; backdrop-filter: blur(8px); }
.mh.vs { padding: 16px 14px 18px; }
.mh.vs .board { margin-top: 18px; align-items: center; }
.nx.vs { margin: 12px 14px 4px; padding: 20px 12px; border-radius: 14px; }
@media (min-width: 640px) { .mh.vs { padding: 20px 24px 22px; } .mh.vs .board { margin-top: 22px; } }
.ci-ov { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.78); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.ci-ov { overflow-y: auto; animation: ci-fade .18s ease-out; }
.ci-in { width: min(640px, 100%); display: grid; gap: 12px; padding: 14px; text-align: center; background: #141416; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.6); color: #f4f4f5; animation: ci-up .22s ease-out; }
.ci-in [hidden] { display: none !important; }
.ci-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-hd b { font-size: 16px; }
.ci-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .15s, transform .15s; }
.ci-x:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.ci-x svg { width: 18px; height: 18px; }
.ci-in img { width: 100%; height: auto; border-radius: 12px; -webkit-touch-callout: default; user-select: auto; }
.ci-main { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.ci-main .btn { height: 40px; padding: 0 16px; background: rgba(255,255,255,.08); color: #fff; }
.ci-main .btn.y { background: var(--y); color: var(--y-ink); }
.ci-main .btn.ok, .ci-soc .ok { background: #16a34a !important; color: #fff !important; }
.ci-soc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.ci-soc small { grid-column: 1 / -1; color: rgba(255,255,255,.6); font-size: 13px; }
.ci-soc a, .ci-soc button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.05); transition: transform .15s, background .15s; }
.ci-soc a:hover, .ci-soc button:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.ci-soc svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: #fff; }
.s-fb svg { background: #1877f2; }
.s-wa svg { background: #25d366; }
.s-tg svg { background: #229ed9; }
.s-ln svg { background: #3f3f46; }
.ci-tip { margin: 0; color: rgba(255,255,255,.55); font-size: 12.5px; }
@keyframes ci-fade { from { opacity: 0; } }
@keyframes ci-up { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (min-width: 760px) { .ci-tip { display: none; } }
.pg-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 16px 12px; padding: 4px; background: var(--s2); border-radius: 12px; }
.pg-sw a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-radius: 9px; font: 700 15px var(--font-d); color: var(--muted); }
.pg-sw a:hover { color: var(--text); }
.pg-sw a[aria-current] { background: var(--y); color: var(--y-ink); }
.pg-sw svg { width: 17px; height: 17px; }
.lg-h .lg-more + .lg-more { margin-inline-start: -6px; }
.adm-bar { background: #ffd60a; color: #111; font-size: 13.5px; font-weight: 700; text-align: center; padding: 5px 10px; }
.adm-bar a { color: #111; text-decoration: underline; margin-inline-start: 8px; }

/* ---------- TV channels, kick-off by country, channel / head-to-head / player pages ---------- */
.tv-tag { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; }
.tv-tag svg { width: 12px; height: 12px; flex: 0 0 auto; color: var(--y); }
.tv-tag span { overflow: hidden; text-overflow: ellipsis; }
.ev-tv { margin-top: 1px; }
.bd.has-tv { grid-template-areas: "h c a" "h st a" "tv tv tv"; }
.bd-tv { grid-area: tv; justify-self: center; max-width: 100%; font-size: 11px; }
@media (max-width: 759px) {
  .bd { gap: 3px 10px; }
  .bd-st { font-size: 10.5px; line-height: 1.3; }
  .bd-tv { margin-top: 5px; padding: 3px 10px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); line-height: 1.4; }
}
@media (min-width: 760px) {
  .bd.has-tv { grid-template-areas: "st h c a rd"; }
  .bd-tv { grid-area: rd; justify-self: end; align-items: flex-start; font-size: 12.5px; white-space: normal; line-height: 1.35; text-align: end; }
  .bd-tv svg { margin-top: 2px; }
  .bd-tv span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .bd-tv ~ .bd-rd { display: none; }
}
.mh-tv { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 10px; }
.mh-tv svg { width: 16px; height: 16px; color: var(--y); }
.mh-tv a { padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600; direction: ltr; }
.mh-tv a:hover { background: rgba(0,0,0,.65); color: var(--y); }
a.tvc { color: inherit; }
a.tvc:hover { outline: 1px solid var(--y); }
.tvc small { font-size: 12px; color: var(--faint); }
.tz-l { display: grid; }
.tz-r { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.tz-r.me { background: var(--s2); }
.tz-c { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tz-c i { font-style: normal; font-size: 14px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--s1); }
.tz-r b { flex: 0 0 auto; min-width: 64px; text-align: center; font: 700 18px var(--font-d); color: var(--y); padding: 4px 10px; border-radius: 10px; background: color-mix(in srgb, var(--y) 12%, transparent); }
.tz-pick { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--s2); }
.tz-pick svg { width: 16px; height: 16px; color: var(--y); flex: 0 0 auto; }
.tz-pick select { flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; font: 600 14.5px var(--font); outline: 0; }
.tz-pick option { background: #17171a; }
.ch-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.ch-card { margin: 0; }
.ch-h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ch-h:hover { background: var(--s2); }
.ch-h .li-n b { direction: ltr; text-align: start; }
.ch-go { margin-inline-start: auto; font-style: normal; color: var(--faint); font-size: 19px; }
.ch-logo { flex: 0 0 auto; width: 54px; height: 36px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px; overflow: hidden; }
.ch-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ch-logo.lg { width: 56px; height: 56px; padding: 6px; }
.fq td, .fq th { padding-inline: 10px; }
.fq td:first-child, .fq th:first-child { text-align: start; }
.fq tr.tot td { background: var(--s2); }
.pstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; padding: 4px 14px 14px; }
.pstats div { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: var(--s2); text-align: center; }
.pstats b { font: 700 19px var(--font-d); }
.pstats small { font-size: 12px; color: var(--faint); }
.pstats .top b { color: var(--y); }
.pm { position: relative; }
.pm-x { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 0 14px 8px; font-size: 12.5px; color: var(--faint); }
.pm-no { color: var(--muted); }
.mates { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; padding: 8px 10px 14px; }
.mates a { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 10px; text-align: center; }
.mates a:hover { background: var(--s2); }
.mates b { font-size: 13.5px; }
.mates small { font-size: 12px; color: var(--faint); }
.bio { padding: 4px 14px 14px; line-height: 1.9; color: var(--muted); font-size: 15px; }
.inj { color: var(--live); font-weight: 600; }
.tro { font: 700 17px var(--font-d); color: var(--y); }
a.pl { color: inherit; text-decoration: none; }
a.pl:hover .pl-n { background: var(--y); color: #111; }
a.pn { color: inherit; }
a.pn:hover { color: var(--y); }

/* Sports strip, league tools, save-as-image, followed teams */
.sp-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding: 2px; }
.sp-strip::-webkit-scrollbar { display: none; }
.sp-strip a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }
.sp-strip a i { font-style: normal; font-size: 16px; }
.sp-strip a:hover { border-color: var(--brand); }
.sp-strip a[aria-current] { background: var(--brand); color: #0a0a0b; border-color: var(--brand); }
.mm-sp { font-style: normal; width: 18px; text-align: center; }
.lg-tools { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.lg-h .lg-more:first-of-type { margin-inline-start: auto; }
.lg-h .lg-more ~ .lg-tools { margin-inline-start: 0; }
.lg-tools button, .img-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 17px; line-height: 1; }
.lg-tools button:hover, .img-btn:hover { background: var(--s3); color: var(--text); }
.lg-tools svg, .img-btn svg { width: 17px; height: 17px; }
.lg-fav.on { color: var(--brand); }
.lg-hide.on { color: var(--brand); }
.lg-off > :not(.lg-h) { display: none !important; }
.lg-off .lg-h { opacity: .5; }
.lg-off .lg-h:hover { opacity: .85; }
.lg-fav-on .lg-h { box-shadow: inset 3px 0 0 var(--brand); }
.lg-menu { display: none; }
.lg-pop { position: fixed; z-index: 60; min-width: 210px; padding: 6px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0,0,0,.5); animation: lgpop .14s ease-out; }
@keyframes lgpop { from { opacity: 0; transform: translateY(-4px); } }
.lg-pop-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 600 14px var(--font); text-align: start; cursor: pointer; }
.lg-pop-it:hover, .lg-pop-it:focus-visible { background: var(--s3); }
.lg-pop-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--s3); color: var(--y); flex: 0 0 auto; }
.lg-pop-ic svg { width: 16px; height: 16px; }
@media (max-width: 520px) {
  .lg-h { gap: 6px; padding: 9px 10px; }
  .lg-c, .lg-h .lg-more, .lg-h .lg-hide, .lg-h .img-btn { display: none; }
  .lg-tools { margin-inline-start: auto; }
  .lg-tools button { width: 32px; height: 32px; }
  .lg-menu { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 36px; height: 32px; flex: 0 0 auto; border-radius: 9px; border: 1px solid var(--line); background: var(--s3); cursor: pointer; padding: 0; }
  .lg-menu i { width: 4px; height: 4px; border-radius: 50%; background: var(--y); }
  .lg-menu[aria-expanded="true"] { border-color: var(--y); }
  .lg-n b, .bd-tm .nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; overflow-wrap: anywhere; }
  .lg-n small { font-size: 10.5px; }
  .lg-n b, .dep .lg-h .lg-n b { font-size: 13.5px; }
  .lg-h .comp { width: 20px !important; height: 20px !important; }
  .lg-more { font-size: 12px; }
  .bd { grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); gap: 3px 8px; padding: 9px 10px; }
  .bd-tm { gap: 6px; font-size: 13px; }
  .bd-tm .nm { -webkit-line-clamp: 3; }
  .bd-tm .crest { --sz: 20px; flex: 0 0 auto; }
  .bd-c { min-width: 60px; height: 30px; padding: 0 6px; }
  .bd-time { font-size: 15px; }
  .bd-sc { font-size: 15.5px; gap: 5px; }
}
.box-h .img-btn { margin-inline-start: auto; }
.box-h small + .img-btn { margin-inline-start: 8px; }
.ph-acts .img-btn { width: auto; height: auto; padding: 9px 12px; border: 1px solid var(--line); }
.img-btn.busy { opacity: .5; pointer-events: none; }
.img-btn span { font-size: 14px; font-weight: 700; margin-inline-start: 6px; }
.mine-box .box-h .more { margin-inline-start: auto; }
.mine-empty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.mine-empty p { margin: 0; color: var(--muted); font-size: 15px; }
.empty.sm { padding: 14px; font-size: 14px; }
.pick-q { display: flex; align-items: center; gap: 8px; margin: 0 16px 16px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--s2); }
.pick-q svg { width: 18px; height: 18px; color: var(--y); }
.pick-q input { flex: 1; height: 42px; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 12px 14px 16px; }
.tm-pick { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--s2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: start; }
.tm-pick span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-pick:hover { border-color: var(--brand); }
.tm-pick.on { border-color: var(--brand); background: rgba(255, 214, 10, .12); color: var(--brand); }
.tbl.per th.lv { color: var(--brand); }
.tbl.per td, .tbl.per th { text-align: center; }
.tbl.per .c-team { text-align: start; }

.pg-sw.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .pg-sw.n3 a { font-size: 13.5px; gap: 5px; padding: 9px 4px; } .pg-sw.n3 svg { width: 15px; height: 15px; } }
.chip[hidden] { display: none; }
@media (max-width: 759px) {
  .crumbs { padding: 10px 14px 0; font-size: 11.5px; gap: 5px; }
  .ph { padding: 12px 14px 14px; gap: 12px; align-items: flex-start; }
  .ph-logo { width: 54px; height: 54px; border-radius: 14px; padding: 6px; }
  .ph-logo .comp, .ph-logo .crest { width: 42px; height: 42px; --sz: 42px; }
  .ph h1 { font: 700 17px/1.4 var(--font-d); }
  .ph p { margin-top: 3px; font-size: 12px; gap: 2px 10px; }
  .ph-acts { gap: 6px; margin-top: 10px; }
  .ph-acts .btn { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
  .ph-acts [data-push-team], .ph-acts a.btn, .ph-acts .img-btn { width: 32px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .ph-acts [data-push-team] span, .ph-acts .img-btn span { display: none; }
  .ph-acts .btn svg { width: 16px; height: 16px; }
  .pg-sw, .pg-sw.n3 { gap: 3px; margin: 0 14px 14px; padding: 3px; border-radius: 11px; }
  .pg-sw a, .pg-sw.n3 a { gap: 5px; padding: 8px 4px; font-size: 12.5px; white-space: nowrap; }
  .pg-sw svg, .pg-sw.n3 svg { width: 14px; height: 14px; }
  .kpi { padding: 9px 14px; }
  .kpi small { font-size: 11px; }
  .kpi b { font-size: 13.5px; }
  .kpi b.big { font-size: 17px; }
  .tabs { padding: 0 6px; }
  .tabs a { padding: 11px 10px 9px; font-size: 13.5px; }
}
@media (max-width: 380px) { .pg-sw.n3 svg { display: none; } }
@media (min-width: 760px) {
  .jd-top { border-top: 0; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .jd-top-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; }
  .jd-top-h .h1 { font-size: 24px; }
  .jd-top-h .img-btn { flex: 0 0 auto; gap: 7px; margin: 0; height: 38px; padding: 0 14px; border-radius: 11px; border-color: rgba(255, 214, 10, .3); background: rgba(255, 214, 10, .08); color: var(--y); }
  .jd-top-h .img-btn span { margin: 0; font-size: 13.5px; }
  .datebar { padding: 0; gap: 8px; }
  .datebar .arr { height: 56px; border-radius: 12px; background: var(--s2); }
  .days { gap: 8px; }
  .day { height: 56px; border-radius: 12px; background: var(--s2); gap: 2px; }
  .day small { font-size: 12px; }
  .day b { font-size: 15.5px; }
  .day:not([aria-current]):hover { background: var(--s3); }
  .jd-top .chips { padding: 0; gap: 8px; padding-inline: 0; }
  .mine-box:has(.mine-empty:not([hidden])) .box-h { display: none; }
  .mine-empty { padding: 12px 16px; }
  .mine-empty p { font-size: 14px; }
  .mine-empty p::before { content: "★"; margin-inline-end: 8px; color: var(--y); }
}
@media (max-width: 639px) { .kpi:nth-child(odd) { border-inline-start: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (min-width: 760px) { .mine-add { display: none; } }
.jd-top-h .img-btn { display: inline-flex; align-items: center; width: auto; height: auto; margin-top: 10px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); }
@media (max-width: 759px) {
  .nav { display: none; }
  .shell.home { padding-top: 14px; }
  .home .col { gap: 14px; }
  .sp-strip { margin-bottom: 0; gap: 8px; padding: 0 2px; }
  .sp-strip a { padding: 6px 12px; font-size: 13px; font-weight: 600; gap: 6px; background: var(--s1); color: var(--muted); }
  .sp-strip a i { font-size: 14px; }
  .sp-strip a[aria-current] { background: rgba(255, 214, 10, .12); color: var(--y); border-color: rgba(255, 214, 10, .45); }
  .jd-top { border-top: 0; padding: 16px 14px 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jd-top-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; }
  .jd-top-h .h1 { font: 700 18px/1.3 var(--font-d); }
  .jd-top-h .img-btn { flex: 0 0 auto; margin: 0; padding: 0; width: 38px; height: 38px; justify-content: center; border-radius: 11px; border-color: rgba(255, 214, 10, .3); background: rgba(255, 214, 10, .08); color: var(--y); }
  .jd-top-h .img-btn svg { width: 18px; height: 18px; }
  .jd-top-h .img-btn span { display: none; }
  .datebar { padding: 0; gap: 0; }
  .datebar .arr { display: none; }
  .days { gap: 6px; }
  .day { flex: 1 0 54px; height: 52px; border-radius: 12px; background: var(--s2); gap: 2px; }
  .day small { font-size: 11px; font-weight: 500; }
  .day b { font-size: 14px; font-weight: 700; }
  .day:hover { background: var(--s2); }
  .jd-top .chips { padding: 0; gap: 8px; }
  .chip { height: 32px; padding: 0 12px; font-size: 13px; font-weight: 600; gap: 6px; background: var(--s2); }
  .chip b { font-size: 11px; padding: 0 6px; }
  .mine-add { color: var(--y); background: rgba(255, 214, 10, .08); border: 1px dashed rgba(255, 214, 10, .4); }
  .mine-box:has(.mine-empty:not([hidden])) { display: none; }
}
.prose { padding: 18px 20px 22px; line-height: 1.95; font-size: 16px; }
.prose h2 { font: 700 18px var(--font-d); margin: 22px 0 8px; color: var(--brand); }
.prose p { margin: 0 0 10px; }
.prose ul { margin: 0 0 12px; padding-inline-start: 20px; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.prose .contact-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--s2); color: var(--text); text-decoration: none; }
.contact-card:hover { border-color: var(--brand); }
.contact-card svg { width: 22px; height: 22px; color: var(--y); }
.contact-card span { color: var(--muted); font-size: 14.5px; }

/* Match: pre-match trends, absences, coaches */
.trends { display: grid; gap: 8px; padding: 4px 14px 14px; }
.trend { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--s2); overflow: hidden; font-size: 15px; }
.trend .crest { flex: 0 0 auto; }
.trend-t { flex: 1; min-width: 0; line-height: 1.6; }
.trend b { font-size: 14px; color: var(--muted); }
.trend i { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; border-radius: 2px; opacity: .85; }
.miss-ic { margin-inline-start: auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; font-weight: 700; font-size: 17px; }
.miss-ic.inj { background: #e5484d; color: #fff; }
.lu-coach { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.lu-coach span { display: flex; flex-direction: column; gap: 2px; }
.lu-coach span:last-child { text-align: end; }
.lu-coach small { color: var(--muted); font-size: 13px; }

/* Channel page: frequency hero, table marks, competitions, install steps */
.fq-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 0 14px 14px; border-radius: 12px; overflow: hidden; background: var(--line); }
.fq-hero > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--s2); }
.fq-hero small { color: var(--muted); font-size: 13px; }
.fq-hero b { font-size: 22px; font-weight: 700; color: var(--y); }
.fq-sat { display: block; color: var(--faint); font-size: 12.5px; font-weight: 500; }
.fq-free, .fq-enc { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.fq-free { background: color-mix(in srgb, #2fbf71 18%, transparent); color: #2fbf71; }
.fq-enc { background: color-mix(in srgb, #e5484d 16%, transparent); color: #e5484d; }
.fq-none { color: var(--faint); }
.tbl.fq td a b { color: var(--text); }
.tbl.fq td a:hover b { color: var(--brand); }
.ch-comps { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 14px 14px; }
.ch-comps a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--s2); font-size: 14.5px; font-weight: 600; }
.ch-comps a:hover { border-color: var(--brand); color: var(--brand); }
.ch-comps small { color: var(--muted); font-weight: 500; font-size: 13px; }
.steps { margin: 0; padding: 4px 34px 14px 18px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.8; }
.steps b { color: var(--text); }
.ch-about { margin: 0; padding: 4px 14px 12px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.ch-sis { justify-content: space-between; }
.ch-ini { color: #111; font-size: 16px; }

.btn.y svg, .day[aria-current] svg, .chip.ar[aria-pressed="true"] svg, .pg-sw a[aria-current] svg, .inc-row.goal .inc-ic svg, .chip[aria-pressed="true"] svg, .chip[aria-current] svg { color: currentColor; }

/* ---------- Install as an app ---------- */
.inst { position: fixed; z-index: 45; inset-inline: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 10px; border-radius: 18px; background: rgba(24,24,27,.94); border: 1px solid rgba(255,214,10,.18); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.inst[hidden] { display: none; }
.inst.on { opacity: 1; transform: none; }
.inst-ic { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #0d0d0f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.inst-ic .logo-mark { width: 34px; height: 34px; padding: 7px; border-radius: 10px; box-shadow: 0 0 18px rgba(255,214,10,.35); }
.inst-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.inst-t b { font: 800 15px var(--font-d); color: #fff; }
.inst-t small { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.inst-go { flex: 0 0 auto; height: 38px; padding: 0 18px; border-radius: 12px; background: var(--y); color: var(--y-ink); font: 800 14px var(--font-d); }
.inst-go:active { transform: scale(.97); }
.inst-x { flex: 0 0 auto; width: 28px; height: 28px; margin-inline-start: -4px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--faint); }
.inst-x:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (min-width: 1100px) { .inst { inset-inline: auto 24px; bottom: 24px; width: 400px; } }

@media (prefers-reduced-motion: reduce) { .inst { transition: none; } .ins-point { animation: none; } }
.ins-page { max-width: 520px; margin: 0 auto; padding: 30px 18px 24px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.ins-page > .logo-mark { width: 76px; height: 76px; padding: 16px; gap: 4px; border-radius: 22px; box-shadow: 0 12px 34px rgba(255,214,10,.28); }
.ins-page h1 { margin: 4px 0 0; font-size: 22px; font-weight: 800; }
.ins-lead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.ins-steps { list-style: none; counter-reset: ins; margin: 4px 0; padding: 0; display: grid; gap: 10px; width: 100%; text-align: start; }
.ins-steps li { counter-increment: ins; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--s2); }
.ins-steps li::before { content: counter(ins); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: var(--y-ink); font: 800 13px var(--font-d); }
.ins-steps b { display: block; font-size: 15px; line-height: 1.6; }
.ins-steps small { display: block; color: var(--faint); font-size: 12px; }
.ins-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--s1); border: 1px solid var(--line); color: var(--y); font-style: normal; }
.ins-ico svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; }
.ins-ico-t { width: auto; padding: 0 10px; font-size: 14px; font-weight: 800; }
.ins-perks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; width: 100%; text-align: start; }
.ins-perks li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--s2); font-weight: 600; font-size: 14px; }
.ins-perks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,214,10,.14); color: var(--y); font-size: 12px; font-weight: 800; }
.ins-big { width: 100%; height: 52px; border-radius: 14px; background: var(--y); color: var(--y-ink); font: 800 17px var(--font-d); box-shadow: 0 8px 22px rgba(255,214,10,.22); }
.ins-big:active { transform: scale(.98); }
.ins-hint { margin: 0; font-weight: 600; color: var(--y); line-height: 1.8; }
.ins-hint a { text-decoration: underline; }
.ins-steps[hidden], .ins-steps li[hidden], .ins-perks[hidden], .ins-big[hidden], .ins-hint[hidden] { display: none; }
.ins-point { position: fixed; top: 6px; right: 14px; z-index: 95; width: 46px; height: 46px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20V5m0 0-6 6m6-6 6 6' fill='none' stroke='%230d0d0f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 6px 20px rgba(255,214,10,.45); animation: ins-up 1s ease-in-out infinite; }
.ins-point.is-left { right: auto; left: 14px; }
.ins-point.is-bottom, .ins-point.is-bottom-end, .ins-point.is-bottom-left { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); transform: rotate(180deg); animation-name: ins-down; }
.ins-point.is-bottom { right: 50%; margin-right: -23px; }
.ins-point.is-bottom-end { right: 18px; }
.ins-point.is-bottom-left { right: auto; left: 18px; }
@keyframes ins-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ins-down { 0%, 100% { transform: rotate(180deg) translateY(0); } 50% { transform: rotate(180deg) translateY(-6px); } }
.ins-guide .tabbar { display: none; }
.ins-guide { padding-bottom: 0; }

/* ---------- Installed app: welcome splash (once per launch) ---------- */
.splash { display: none; }
.splash-on .splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 38%, #17171a 0%, #0a0a0b 70%); animation: sp-out .5s ease 2.4s forwards; }
.splash-hold .splash { animation: none; }
.sp-in { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 24px; }
.sp-stage { position: relative; width: 120px; height: 130px; margin-bottom: 18px; }
.sp-b { position: absolute; left: 50%; bottom: 14px; width: 58px; height: 58px; margin-left: -29px; transform-origin: 50% 100%; animation: sp-bounce .8s infinite; }
.sp-ball { display: block; width: 100%; height: 100%; animation: sp-spin 1.6s linear infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.sp-shadow { position: absolute; left: 50%; bottom: 4px; width: 56px; height: 10px; margin-left: -28px; border-radius: 50%; background: rgba(255,214,10,.35); filter: blur(3px); animation: sp-shadow .8s infinite; }
.sp-hi { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); opacity: 0; animation: sp-up .5s ease .15s forwards; }
.sp-name { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 800 min(26px, 6.4vw) var(--font-d); color: #fff; white-space: nowrap; opacity: 0; animation: sp-up .5s ease .3s forwards; }
.sp-name b { color: var(--y); font-weight: 800; }
.sp-name .logo-mark { width: 1.3em; height: 1.3em; padding: 7px; border-radius: 10px; }
@keyframes sp-bounce {
  0% { transform: translateY(-72px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  46% { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
  52% { transform: translateY(0) scale(1.12, .86); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  60% { transform: translateY(-6px) scale(.96, 1.04); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  100% { transform: translateY(-72px); }
}
@keyframes sp-shadow {
  0%, 100% { transform: scale(.45); opacity: .35; }
  50% { transform: scale(1.1); opacity: .9; }
}
@keyframes sp-spin { to { transform: rotate(360deg); } }
@keyframes sp-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sp-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .sp-b, .sp-ball, .sp-shadow { animation: none; } }
