@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-600-latin-ext.a999e009fd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-600-latin.7150c0ec5a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BebasNeue-400-latin-ext.a724a4b6a8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BebasNeue-400-latin.441b026df2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400i-latin-ext.207ef214ab.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400i-latin.7be750b96f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400-latin-ext.219b02c7d8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/DMSans-400-latin.468d56b6b2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin-ext.f1050dc531.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin.c36f509c0a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-600-latin-ext.1b6b18fd0f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-600-latin.ad4580d8cb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-700-latin-ext.099842414d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-700-latin.9e1455e6e9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-600-latin-ext.bdf7c1b3c5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-600-latin.35f7e628ec.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-700-latin-ext.0b49d495ac.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Rajdhani-700-latin.7597c31a95.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:#0b0c0e; --bg2:#14161a; --ink:#f4f1ea; --muted:#9a958c; --line:rgba(244,241,234,.12);
  --accent:#e10600; --accent2:#ff4d2e; --amber:#ffb400; --chip:#1c1f26; --card:#12141a;
  --crest-bg:#1a1d24; --good:#3dd68c;
}
* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body { font-family:"DM Sans",system-ui,sans-serif; background:var(--bg); color:var(--ink); line-height:1.45; }
a { color:inherit; text-decoration:none; line-height:inherit; }
img { max-width:100%; display:block; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 28px;
  border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; background:rgba(11,12,14,.92); backdrop-filter:blur(10px); }
.brand { display:inline-flex; align-items:center; gap:10px; }
.brand img.brand-oh {
  width:58px; height:58px; object-fit:contain;
  background:transparent; border:0; padding:0; border-radius:0;
}
.brand-sep { width:1px; height:22px; background:var(--line); flex-shrink:0; }
.brand img.brand-esa { width:auto; height:26px; object-fit:contain; border-radius:0; background:transparent; opacity:.92; }
nav { display:flex; gap:4px; color:var(--muted); font-size:13px; font-family:"IBM Plex Mono",monospace; }
nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; padding:0 8px; }
.wrap { width:min(1180px, calc(100% - 40px)); margin:0 auto; padding:28px 0 64px; }
.hero {
  position:relative; isolation:isolate; overflow:hidden; border-radius:16px;
  display:grid; grid-template-columns:110px minmax(0,1fr); gap:22px; align-items:start;
  margin-bottom:18px; padding:18px 18px 14px; border:1px solid var(--line); background:var(--card);
}
.hero::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px; z-index:2; pointer-events:none;
  background:var(--hero-accent, transparent); box-shadow:0 1px 0 rgba(0,0,0,.55);
}
.hero .hero-venue { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero .hero-venue img {
  width:100%; height:100%; object-fit:cover; object-position:center 40%;
  opacity:.45; filter:saturate(.75);
}
.hero .hero-venue::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,12,14,.30) 0%, rgba(11,12,14,.78) 68%, var(--card) 100%);
}
@media (max-width:640px) { .hero .hero-venue img { opacity:.38; } }
.crest-xl { width:110px; height:110px; border-radius:28px; background:var(--crest-bg); border:1px solid var(--line);
  display:grid; place-items:center; padding:12px; overflow:hidden; position:relative; z-index:1; }
.crest-xl.wieczysta { background:#fff; padding:16px; }
.crest-xl img { width:100%; height:100%; object-fit:contain; }
.hero-main { min-width:0; display:flex; flex-direction:column; gap:14px; position:relative; z-index:1; }
.hero-main h1 {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(38px,5.4vw,58px);
  margin:0; line-height:1; letter-spacing:.02em; text-transform:uppercase;
}
.sysinfo {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:0;
  border-top:1px solid var(--line);
}
.sysinfo > div { padding:10px 14px; border-left:1px solid var(--line); min-width:0; }
.sysinfo > div:first-child { padding-left:0; border-left:none; }
.sysinfo .k {
  color:var(--muted); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  font-family:"IBM Plex Mono",monospace;
}
.sysinfo .v { color:var(--ink); font-size:13px; margin-top:3px; font-weight:600; line-height:1.25; }
.coach-badge {
  font-size:9px; letter-spacing:.04em; text-transform:uppercase; font-weight:500;
  color:var(--muted); border:1px solid var(--line); border-radius:4px; padding:1px 4px;
  white-space:nowrap;
}
.next-fixture {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  border:1px solid rgba(225,6,0,.45); border-radius:14px; padding:14px 18px; margin-bottom:18px;
  background:linear-gradient(180deg, rgba(225,6,0,.10), transparent);
}
.next-fixture .nf-lbl {
  display:block; font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent2); margin-bottom:4px;
}
.next-fixture .nf-match {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(18px,2.6vw,24px);
  letter-spacing:.02em; line-height:1.1;
}
.next-fixture .nf-right { text-align:right; }
.next-fixture .nf-when {
  font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--muted); margin-bottom:4px;
}
.next-fixture .nf-cd {
  font-family:"IBM Plex Mono",monospace; font-size:14px; font-weight:600; color:var(--amber);
}
.next-fixture.empty-nm { opacity:.75; border-color:var(--line); background:var(--card); }
.match-rail {
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px;
}
.match-rail > * { min-width:0; }
.mc-card {
  border:1px solid var(--line); border-radius:14px; padding:14px 16px;
  background:var(--card);
}
.mc-card.mc-next {
  border-color:rgba(225,6,0,.45);
  background:linear-gradient(180deg, rgba(225,6,0,.10), transparent);
}
.mc-lbl {
  display:block; font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); margin-bottom:6px;
}
.mc-card.mc-next .mc-lbl { color:var(--accent2); }
.mc-pair {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(17px,2.4vw,22px);
  letter-spacing:.02em; line-height:1.15; margin-bottom:4px;
}
.mc-pair .me { color:var(--amber); }
.mc-score {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:clamp(22px,3vw,28px);
  letter-spacing:.04em; margin:2px 0 8px;
}
.mc-meta {
  font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--muted); margin-bottom:8px;
}
/* „Ostatni mecz” (KD 07.10.2026): wynik duży przy drużynach, zdarzenia w dwóch kolumnach, paski statystyk */
.match-rail { grid-template-columns:1fr; align-items:stretch; }
@media (min-width:900px) {
  .mc-last { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:32px; align-items:start; }
  .mc-last > .mc-lbl, .mc-last > .mc-head { grid-column:1 / -1; }
  .mc-last .lm-events { grid-column:1; margin-top:6px; }
  .mc-last .lm-stats { grid-column:2; margin-top:6px; padding-top:0; border-top:0; }
}
.mc-next { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 24px; padding-right:110px; min-height:104px; }
.mc-next > .mc-lbl, .mc-next > .mc-head { grid-column:1; }
.mc-next .nf-cd { grid-column:2; grid-row:1 / span 2; font:700 clamp(26px,3.4vw,38px)/1.1 "Rajdhani",sans-serif; letter-spacing:.02em; }
.mc-next .nx { position:absolute; right:14px; top:50%; transform:translateY(-50%); width:88px; height:88px; object-fit:contain; }
.mc-head { min-height:44px; }
details.transfers-panel > summary { min-height:44px; }
.mc-last { position:relative; }
.lm-teams { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px 14px; margin:2px 0 4px; }
.lm-team { display:flex; align-items:center; gap:10px; min-width:0; font-family:"Rajdhani",sans-serif; font-weight:700;
  font-size:clamp(17px,2.2vw,22px); line-height:1.1; letter-spacing:.02em; }
.lm-team.lm-away { justify-content:flex-end; text-align:right; }
.lm-name { min-width:0; overflow-wrap:anywhere; }
.lm-name .me { color:var(--amber); }
.lm-crest { width:44px; height:44px; object-fit:contain; flex:none; }
.lm-score { display:inline-flex; align-items:baseline; gap:6px; font-family:"Rajdhani",sans-serif; font-weight:700;
  font-size:clamp(40px,6vw,60px); line-height:.9; font-variant-numeric:tabular-nums; }
.lm-score i { font-style:normal; color:var(--muted); font-size:.6em; }
.lm-events { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); }
.lm-col { min-width:0; }
.lm-col h4 { margin:0 0 6px; font:600 11px/1.2 "IBM Plex Mono",monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.lm-col ul { list-style:none; margin:0; padding:0; display:grid; gap:5px; }
.lm-ev { display:flex; align-items:center; gap:7px; font-size:13px; line-height:1.25; }
.lm-ev small { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.lm-min { min-width:42px; font:500 12px "IBM Plex Mono",monospace; color:var(--muted); font-variant-numeric:tabular-nums; }
.lm-ic { width:16px; height:16px; flex:none; background:var(--amber); -webkit-mask:var(--m) center / contain no-repeat; mask:var(--m) center / contain no-repeat; }
.lm-ic.goal { --m:url(ui/ic/ball.png); background:var(--ink); }
.lm-none { color:var(--muted); font-size:12px; }
.lm-ev .ev-our { color:var(--amber); font-weight:600; }
.lm-ev .ev-opp { color:var(--ink); }
.lm-stats { margin-top:14px; padding-top:12px; border-top:1px dashed var(--line); }
.lm-stats-h { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:8px; min-height:40px; }
.lm-stats-h span { font:600 11px/1.2 "IBM Plex Mono",monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.lm-mascot { width:72px; height:72px; object-fit:contain; margin:-30px 0 -6px; flex:none; }
.lm-stats ul { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.lm-st { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:10px; }
.lm-st b { font:700 16px/1 "Rajdhani",sans-serif; font-variant-numeric:tabular-nums; }
.lm-st b:first-child { text-align:left; } .lm-st b:last-child { text-align:right; }
.lm-st .our { color:var(--amber); } .lm-st .opp { color:var(--ink); }
.lm-bar { display:grid; gap:4px; min-width:0; }
.lm-bar em { font-style:normal; font-size:12px; color:var(--muted); text-align:center; }
.lm-track { display:flex; height:8px; border-radius:999px; overflow:hidden; gap:2px; background:var(--line); }
.lm-track i { display:block; height:100%; min-width:3px; }
.lm-track i.our { background:var(--amber); } .lm-track i.opp { background:#5f7080; }
@media (max-width:720px) {
  .match-rail { grid-template-columns:1fr; }
  .lm-teams { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:6px 8px; }
  .lm-team, .lm-team.lm-away { justify-content:center; text-align:center; flex-direction:column; gap:4px; font-size:15px; }
  .lm-score { font-size:44px; }
  .mc-next { display:block; padding-right:76px; }
  .mc-next .nf-cd { margin-top:6px; }
  .mc-next .nx { width:60px; height:60px; }
  .lm-events { grid-template-columns:1fr; }
}
/* B4c: naglowek ostatniego meczu = link na strone meczu (bez wygladu surowego linku) */
.mc-head {
  display:block; color:inherit; text-decoration:none; border-radius:8px;
  transition:color var(--dur-1, 120ms) ease;
}
.mc-head .mc-go {
  margin-left:8px; color:var(--muted); opacity:.55;
  transition:opacity var(--dur-1, 120ms) ease, color var(--dur-1, 120ms) ease, transform var(--dur-1, 120ms) ease;
  display:inline-block;
}
/* podkreslenie, NIE przekolorowanie — .mc-pair .me musi zostac amber (klub) */
.mc-head:hover .mc-pair, .mc-head:focus-visible .mc-pair {
  text-decoration:underline; text-decoration-color:var(--amber);
  text-decoration-thickness:2px; text-underline-offset:3px;
}
.mc-head:focus-visible .mc-go {
  color:var(--amber); opacity:1; transform:translateX(3px);
} @media (hover: hover) { .mc-head:hover .mc-go {
  color:var(--amber); opacity:1; transform:translateX(3px);
} }
.mc-head:focus-visible { outline:2px solid var(--amber); outline-offset:4px; }
@media (prefers-reduced-motion:reduce) {
  .mc-head, .mc-head .mc-go { transition:none; }
  .mc-head:hover .mc-go, .mc-head:focus-visible .mc-go { transform:none; }
}
@media (max-width:720px) {
  .match-rail { grid-template-columns:1fr; }
  .mc-card { overflow-x:hidden; }
}
.pill { font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase;
  background:var(--chip); border:1px solid var(--line); padding:7px 10px; border-radius:999px; color:var(--muted);
  white-space:nowrap; flex-shrink:0; }
.pill strong { color:var(--ink); }
.pill.empty { border-style:dashed; color:var(--accent2); }
.card-ico {
  display:inline-block; width:9px; height:12px; border-radius:1.5px; vertical-align:-1px;
  box-shadow:0 0 0 1px rgba(0,0,0,.35);
}
.card-ico.yc { background:#f5d000; }
.card-ico.rc { background:#e10600; }
.card-slash { color:var(--muted); margin:0 1px; font-size:10px; vertical-align:1px; }
.cards-pair { font-variant-numeric:tabular-nums; white-space:nowrap; }
.cards-yc { color:#f5d000; font-weight:600; }
.cards-rc { color:#ff4d4d; font-weight:600; }
.cards-sep { color:var(--muted); margin:0 1px; }
.squad-m-stats .cards-k { display:inline-flex; align-items:center; gap:1px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.panel-solo { margin-bottom:14px; }
.panel-solo > .panel { margin-bottom:0; }
.grid-2 > .panel { align-self:start; }
.panel { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px; margin-bottom:14px; }
.panel h2 {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:22px; letter-spacing:.04em;
  text-transform:uppercase; margin:0 0 12px;
  display:flex; justify-content:space-between; gap:10px; align-items:baseline;
}
.panel h2 span { font-family:"IBM Plex Mono",monospace; font-size:11px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
/* K-KLUBY-3-NAPRAWY: transfery jako natywny <details>, domknięty na starcie —
   sekcja zajmowała ~11% wysokości strony rozwinięta na sztywno (audyt 16.09.2026). */
details.transfers-panel { cursor:default; }
details.transfers-panel > summary {
  cursor:pointer; list-style:none; margin:0 0 12px;
}
details.transfers-panel > summary::-webkit-details-marker { display:none; }
details.transfers-panel > summary::marker { content:""; }
details.transfers-panel > summary h2 { margin:0; }
details.transfers-panel > summary h2::after {
  content:"▾"; display:inline-block; margin-left:10px; color:var(--muted);
  font-family:"IBM Plex Mono",monospace; font-size:14px; transition:transform var(--dur-1, 120ms) ease;
  vertical-align:middle;
}
details.transfers-panel[open] > summary h2::after { transform:rotate(180deg); }
details.transfers-panel > summary:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.row .me { color:var(--good); font-weight:700; }
.feed-row { display:grid; grid-template-columns:72px 1fr; gap:10px; padding:10px 0; border-top:1px solid var(--line); font-size:13px; }
.feed-row:first-of-type { border-top:0; }
.feed-row .when { color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; }
.feed-row .tag {
  display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--amber); margin-bottom:3px;
}
.feed-row .tag-low {
  display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:9px; letter-spacing:.04em;
  text-transform:uppercase; color:var(--muted); border:1px solid var(--line); border-radius:3px;
  padding:1px 5px; margin-left:6px;
}
.feed-row .txt { line-height:1.35; }
.xfer-split { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.xfer-group { margin-bottom:0; min-width:0; }
.xfer-head {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:14px; letter-spacing:.06em; text-transform:uppercase;
  margin:0 0 10px; padding-bottom:8px; border-bottom:1px solid var(--line);
}
.xfer-head.in { color:var(--good); }
.xfer-head.out { color:var(--accent2); }
.xfer-row {
  display:grid; grid-template-columns:28px 40px 1fr; gap:10px; align-items:center;
  padding:8px 0; border-top:1px solid var(--line); font-size:13px;
}
.xfer-group .xfer-row:first-of-type { border-top:0; }
.xfer-dir {
  width:28px; height:28px; border-radius:8px; display:grid; place-items:center;
  font-size:15px; font-weight:700; line-height:1;
}
.xfer-dir.in { color:var(--good); background:rgba(61,214,140,.12); }
.xfer-dir.out { color:var(--accent2); background:rgba(225,6,0,.12); }
.xfer-row .avatar { width:40px; height:40px; }
.xfer-row .txt { line-height:1.3; min-width:0; }
.xfer-row .pname { font-weight:600; }
.xfer-row .pmeta { color:var(--muted); font-size:12px; margin-top:2px; }
@media (max-width:720px) {
  .xfer-split { grid-template-columns:1fr; }
}
.row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
a.row { color:inherit; text-decoration:none; min-height:44px; align-items:center; }
.row-res { display:grid; grid-template-columns:minmax(104px,auto) minmax(0,1fr) auto 18px; align-items:center; gap:10px; }
.row-res b { text-align:center; min-width:0; overflow-wrap:anywhere; }
.row-res .sc { min-width:56px; text-align:center; font:700 19px/1 "Rajdhani",sans-serif; padding:6px 10px; border-radius:9px; background:var(--bg2);
  font-variant-numeric:tabular-nums; border:1px solid var(--line); }
.row-res .sc.w { color:var(--good); border-color:rgba(61,214,140,.45); } .row-res .sc.l { color:#ff7a7a; border-color:rgba(255,122,122,.4); }
@media (max-width:560px) { .row-res { grid-template-columns:minmax(0,1fr) auto; } .row-res .k { grid-column:1 / -1; } .row-res .mc-go { display:none; } }
a.row:hover { color:var(--cyan); }
.row:first-of-type { border-top:0; }
.row .k { color:var(--muted); }
.note { color:var(--muted); font-size:13px; margin:8px 0 12px; }
.squad-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:var(--bg2); }
.squad-table { width:100%; border-collapse:collapse; min-width:780px; }
.squad-table thead th {
  position:sticky; top:0; z-index:1; background:#181b22;
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); text-align:right; padding:12px 10px; border-bottom:1px solid var(--line); font-weight:600;
}
.squad-table thead th.player-col { text-align:left; padding-left:14px; }
.squad-table tbody tr { transition:background var(--dur-1, 120ms) ease; }
.squad-table tbody tr:hover { background:rgba(255,255,255,.035); }
.squad-table td {
  padding:9px 10px; text-align:right; font-variant-numeric:tabular-nums; font-size:13px;
  border-top:1px solid var(--line); color:var(--ink); white-space:nowrap;
}
.squad-table td.player-col { text-align:left; padding-left:14px; white-space:normal; }
.squad-table td.muted { color:var(--muted); }
/* Atak / Obrona 26/27: przełącznik Tabela / Oś (KD 17.11). Oba widoki w jednej komórce siatki, nieaktywny visibility:hidden: wysokość stała, zero CLS. */
.ao { --ao-or:#ff6a1a; --ao-gold:#ffc83d; --ao-ok:#5fd38a; --ao-bad:#ff7a8e; }
.ao h2 { flex-wrap:wrap; row-gap:2px; }
.ao h2 span { text-transform:none; letter-spacing:0; font-size:12px; white-space:nowrap; }
.ao-seg { display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; margin:0 0 10px; }
.ao-seg button { background:none; color:var(--muted); border:0; min-height:44px; min-width:76px; padding:0 16px; font:600 13px "DM Sans",system-ui,sans-serif; cursor:pointer;
  transition:background var(--dur-1, 120ms) ease, color var(--dur-1, 120ms) ease; }
.ao-seg button[aria-pressed="true"] { background:var(--ao-or); color:#0b0c0e; }
.ao-seg button:focus-visible { outline:2px solid var(--ao-or); outline-offset:-2px; }
.ao-sw { display:grid; max-width:560px; }
.ao-sw > div { grid-area:1 / 1; min-width:0; }
.ao-sw > div[hidden] { display:block !important; visibility:hidden; }
.ao-num { font:600 15px "IBM Plex Mono",monospace; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ao-pos { color:var(--ao-ok); } .ao-neg { color:var(--ao-bad); } .ao-mut { color:var(--muted); }
.ao-vh { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ao-t { width:100%; border-collapse:collapse; }
.ao-t thead th { font:500 11px "IBM Plex Mono",monospace; letter-spacing:.1em; color:var(--muted); text-align:right; text-transform:uppercase; padding:0 0 6px 14px; }
.ao-t tbody th { font:400 13px "DM Sans",system-ui,sans-serif; text-align:left; padding:9px 0; border-top:1px solid var(--line); }
.ao-t td { text-align:right; padding:9px 0 9px 14px; border-top:1px solid var(--line); min-width:78px; position:relative; }
.ao-t thead td { border-top:0; }
.ao-t td i { display:block; font:500 11px "IBM Plex Mono",monospace; font-style:normal; }
.ao-o .ao-lg { display:flex; flex-wrap:wrap; gap:6px 14px; font:500 11px "IBM Plex Mono",monospace; color:var(--muted); margin-bottom:6px; }
.ao-lo { color:var(--ao-or); } .ao-lw { color:var(--ao-gold); }
.ao-r { display:grid; grid-template-columns:78px minmax(0,1fr); gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--line); }
.ao-n { font:600 13px "DM Sans",system-ui,sans-serif; line-height:1.15; }
.ao-ax { position:relative; height:34px; }
.ao-ax::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:1px; background:var(--line); }
/* pasek = połowa osi minus miejsce na etykietę (do 5 znaków, np. „+10,4”, + odstęp = 46 px): etykieta zawsze mieści się w osi i w karcie (KD 17.11) */
.ao-bar { position:absolute; height:12px; border-radius:3px; width:calc((50% - 46px) * var(--k, 0)); }
.ao-pl { left:50%; } .ao-mi { right:50%; }
.ao-bar span { position:absolute; top:50%; transform:translateY(-50%); font:600 11px "IBM Plex Mono",monospace; white-space:nowrap; color:var(--ink); }
.ao-h { top:2px; background:var(--ao-or); } .ao-a { top:19px; background:var(--ao-gold); opacity:.85; }
.ao-r2 .ao-num { text-align:right; }
@media (max-width:380px) { .ao-num { font-size:13.5px; } .ao-t td { padding-left:8px; min-width:70px; } }
@media (prefers-reduced-motion:reduce) { .ao-seg button { transition:none; } }
.player-cell { display:flex; align-items:center; gap:12px; min-width:200px; }
.avatar {
  width:40px; height:40px; border-radius:50%; object-fit:cover; object-position:top;
  background:var(--crest-bg); flex-shrink:0; border:1px solid var(--line);
}
.avatar.fallback {
  display:grid; place-items:center; color:#fff;
  font-family:"Bebas Neue",sans-serif; font-size:15px; letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  background-size:cover !important;
  background-position:center !important;
  border:none;
}
.avatar.koszulka { background:none; border:none; border-radius:0; display:block; }
.avatar.transfer-fallback {
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; color:#fff;
  font-family:"Bebas Neue",sans-serif; font-size:14px; letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  flex-shrink:0; border:none;
}
.pname { font-weight:600; font-size:14px; line-height:1.2; }
.nat-flag{display:inline-block;width:16px;height:11px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.18);vertical-align:-1px;margin-right:5px}
.pmeta { color:var(--muted); font-size:11px; font-family:"IBM Plex Mono",monospace; margin-top:2px; }
.pos-chip {
  display:inline-block; min-width:28px; text-align:center; font-family:"IBM Plex Mono",monospace;
  font-size:10px; letter-spacing:.06em; padding:3px 6px; border-radius:6px;
  background:rgba(255,180,0,.10); color:var(--amber); border:1px solid rgba(255,180,0,.28);
}
.pos-group td {
  text-align:left !important; padding:14px 14px 8px; border-top:1px solid var(--line);
  font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--amber); background:rgba(255,180,0,.05);
}
.empty { border:1px dashed var(--line); border-radius:12px; padding:16px; color:var(--muted); font-size:13px; }
@media (max-width:720px) {
  .squad-table { min-width:0; }
  .squad-table td,.squad-table th { font-size:11px; padding:8px 6px; }
  /* telefon: kolumny M, G, A zostają; Min, Strz, Sot, Faule, kartki są w belce zawodnika (Player Index) */
  .squad-table th:nth-child(4), .squad-table td:nth-child(4),
  .squad-table th:nth-child(n+7):nth-child(-n+10), .squad-table td:nth-child(n+7):nth-child(-n+10) { display:none; }
  .squad-table td.player-col, .squad-table th.player-col { min-width:0; padding-left:6px; }
  .player-cell { min-width:0; gap:8px; }
  /* 360 px: tabela kadry bez przewijania w poziomie (decyzja PM 07.10). Celem dotyku jest cały wiersz, strzałka to ozdobnik. */
  .squad-table .avatar { width:32px; height:32px; }
  .squad-table tr.pi-row > td:last-child, .squad-table thead th:last-child { padding-left:2px; padding-right:6px; }
  .squad-table .pi-chev { width:20px; height:20px; }
  .squad-table .pname { overflow-wrap:anywhere; hyphens:auto; }
}
.club-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.club-card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; display:flex;
  flex-direction:column; align-items:center; gap:10px; text-align:center; transition:border-color var(--dur-2, 200ms), transform var(--dur-2, 200ms); }
@media (hover: hover) { .club-card:hover { border-color:var(--accent); transform:translateY(-2px); } }
.club-card .crest { width:56px; height:56px; border-radius:50%; background:var(--crest-bg); padding:8px; border:1px solid var(--line); overflow:hidden; }
.club-card .crest.wieczysta { background:#fff; padding:10px; }
.club-card .crest img { width:100%; height:100%; object-fit:contain; }
.club-card strong { font-size:14px; }
.club-card small { color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; }
.h2h-list { max-width: 36rem; }
.h2h-row {
  display:grid; grid-template-columns:4.5rem minmax(0,1fr) 2.75rem; column-gap:14px;
  align-items:center; padding:8px 0; border-top:1px solid var(--line); font-size:13px;
}
.h2h-row:first-of-type { border-top:0; }
.h2h-row .when {
  color:var(--muted); font-family:"IBM Plex Mono",monospace; font-size:11px; line-height:1.35;
}
.h2h-row .pair { min-width:0; }
.h2h-row .score {
  font-family:"Rajdhani",sans-serif; font-weight:700; font-size:20px; line-height:1;
  text-align:right; color:var(--good); letter-spacing:.02em; font-variant-numeric:tabular-nums;
}
@media (max-width:720px) {
  .hero,.grid-2 { grid-template-columns:1fr; }
  .next-fixture .nf-right { text-align:left; }
  .sysinfo > div { border-left:none; padding-left:0; border-top:1px solid var(--line); }
  .sysinfo > div:first-child { border-top:none; }
  .topbar { padding:12px 16px; }
  .wrap { width:calc(100% - 24px); }
}
