/* Nowinki Transferowe — design system (makieta: claude.ai/artifact/XaLyqM1kKbgtSkrSYns1gW) */

/* Czcionki z naszego serwera (licencja SIL OFL, static/fonts/OFL.txt): Google nie dostaje IP czytelników.
   Tylko alfabet łaciński z polskimi znakami (latin + latin-ext). */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-italic-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-italic-700-latin.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: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/static/fonts/barlow-condensed-italic-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/static/fonts/barlow-condensed-italic-800-latin.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-600-latin.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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-700-latin.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: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/static/fonts/barlow-condensed-normal-800-latin.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/inter-latin.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: #F5F5F2;
  --surface: #FFFFFF;
  --ink: #14161A;
  --muted: #596170;
  --line: #E2E2DC;
  --ph: #E7E7E1;
  --accent: #C8232B;
  --accent-ink: #FFFFFF;
  --accent-text: #B3121B;
  --green: #16803F;
  --blue: #2453B8;
  --rumour: #8A5300;
  --rumour-bg: #FFEFCF;
  --chip: #FFFFFF;
  --chrome: #0E1013;
  --chrome-2: #1F232A;
  --chrome-text: #C9CDD4;
  --logo-green: #2BB24C;
  --logo-red: #E0262E;
  --radius: 16px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1013; --surface: #171A1F; --ink: #F1F2F4; --muted: #A3A9B4; --line: #2A2E36;
    --ph: #232730; --accent: #D42A2F; --accent-text: #FF6B6F; --chip: #1D2027;
    --rumour: #F7C25C; --rumour-bg: #3A2A0C;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E1013; --surface: #171A1F; --ink: #F1F2F4; --muted: #A3A9B4; --line: #2A2E36;
  --ph: #232730; --accent: #D42A2F; --accent-text: #FF6B6F; --chip: #1D2027;
  --rumour: #F7C25C; --rumour-bg: #3A2A0C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover .hl, a.hl:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main.container { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 40px; }
.display { font-family: var(--font-display); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--chrome); color: #FFF; }
.site-header__row { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 2px; font-family: var(--font-display); font-style: italic; font-size: 26px; letter-spacing: .5px; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo span { font-weight: 600; margin-left: 6px; }
.logo .slash-g { color: var(--logo-green); font-weight: 800; }
.logo .slash-r { color: var(--logo-red); font-weight: 800; margin-left: 0; }
.nav { display: flex; gap: 20px; font-size: 14px; font-weight: 600; flex: 1; }
.nav a { opacity: .9; } .nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--chrome-2); color: #FFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.search-bar { background: var(--chrome); padding: 0 0 12px; }
.search-bar[hidden] { display: none; }
.search-input { width: 100%; height: 48px; border-radius: 24px; border: 0; padding: 0 20px; font: inherit; font-size: 16px; background: var(--chrome-2); color: #FFF; }
.search-input::placeholder { color: #9AA0AA; }

.chips-bar { background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.chips-bar::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 8px; padding: 10px 16px; width: max-content; margin: 0 auto; }
.chip { white-space: nowrap; font-size: 14px; font-weight: 600; padding: 0 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--chip); color: var(--ink); border: 1px solid var(--line); }
.chip--active, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--small { min-height: 34px; font-size: 13px; padding: 0 12px; background: var(--bg); }

/* Reklamy: stałe miejsce, żeby strona nie skakała */
.ad { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .5px; border-radius: 12px; overflow: hidden; }
.ad--placeholder { border: 1px dashed var(--line); padding: 0 16px; }
.ad--leaderboard { min-height: 90px; }
.ad--feed { min-height: 120px; margin: 8px 0; }
.ad--article { min-height: 280px; margin: 8px 0 28px; }
.ad--box { min-height: 250px; }
.ad--tall { min-height: 600px; }
.ad ins { display: block; width: 100%; }

/* Typografia sekcji */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 30px; text-transform: uppercase; line-height: 1.1; }
.section-link { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; }
.meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.kicker { color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* Zdjęcia i zaślepki */
.media { position: relative; background: var(--ph); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--16x7 { aspect-ratio: 16 / 7; }
.media__badge { position: absolute; left: 16px; top: 16px; }
.media__badges { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Rodzaj artykułu i filtry */
iframe[data-consent-src] { background: var(--ph); border-radius: 12px; }
.club-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.kind { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 0 7px; border-radius: 4px; line-height: 20px; white-space: nowrap; }
.kind--large { font-family: var(--font-display); font-size: 14px; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; line-height: 1.5; }
.kind--official { background: var(--green); color: #FFF; }
.kind--rumour { background: var(--rumour-bg); color: var(--rumour); }
.kind--video { background: var(--ink); color: var(--bg); }
.card .meta .kind { margin-right: 8px; vertical-align: 1px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.segmented a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.segmented a:hover { color: var(--ink); }
.segmented a[aria-current] { background: var(--ink); color: var(--bg); }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic; font-weight: 800; color: var(--muted); font-size: clamp(18px, 4vw, 40px); opacity: .55; user-select: none; }
.ph .slash-g { color: var(--logo-green); } .ph .slash-r { color: var(--logo-red); }

/* Karty */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.08; }

.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.hero__side { display: flex; flex-direction: column; gap: 16px; }
.hero__side .card { flex: 1; }
/* Kolumna boczna jest wyższa niż karta główna — zdjęcie zabiera nadmiar, tekst zostaje zwarty pod nim. */
.hero > .card .media { flex: 1 1 auto; }
.hero > .card .media img { position: absolute; inset: 0; }
.hero-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.hero-card__title { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.02; text-transform: uppercase; }
.hero-card__lead { margin: 0; font-size: 17px; color: var(--muted); }

.strip { overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: thin; }
.strip__row { display: flex; gap: 12px; width: max-content; }

.transfer-card { width: 248px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.transfer-card__player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.transfer-card__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transfer-card__route { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.transfer-card__route .to { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ph); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.crest { width: 32px; height: 32px; border-radius: 50%; background: var(--ph); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--muted); overflow: hidden; }
.crest img { width: 80%; height: 80%; object-fit: contain; }
.crest--lg { width: 44px; height: 44px; font-size: 11px; }
.arrow { color: var(--muted); flex-shrink: 0; }

.fee { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; background: var(--ink); color: var(--bg); }
.fee--free { background: var(--green); color: #FFF; }
.fee--loan { background: var(--blue); color: #FFF; }
.fee--other { background: var(--ph); color: var(--ink); }

/* Feed */
.cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.cols--article { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.feed { display: flex; flex-direction: column; }
/* Listy z filtrem rodzaju (/oficjalnie, /plotki, tematy): tytuł, przełącznik, dopiero potem artykuły. */
.feed > .segmented { align-self: flex-start; margin: 16px 0 12px; }
.feed-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed-item__thumb { width: 152px; height: 96px; border-radius: 12px; flex-shrink: 0; }
.feed-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feed-item__meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 500; }
.feed-item__title { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.1; }
.btn { align-self: center; min-height: 48px; padding: 0 28px; border-radius: 24px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); min-height: 44px; padding: 0 16px; font-size: 14px; }
.load-more { display: flex; justify-content: center; margin-top: 20px; }
.htmx-request .btn-label { opacity: .6; }
.empty { color: var(--muted); padding: 24px 0; }

.sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.panel__title { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.app-card { background: var(--chrome); color: #FFF; border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: center; }
.app-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--chrome-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; flex-shrink: 0; }
.app-card a { font-size: 13px; font-weight: 600; color: #8FE3A6; }

.leagues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.league__head { display: flex; align-items: center; gap: 10px; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 12px; }
.league__title { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 24px; text-transform: uppercase; }
.compact-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.compact-item__thumb { width: 72px; height: 54px; border-radius: 10px; flex-shrink: 0; }
.compact-item__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.12; }

/* Artykuł */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.breadcrumbs a:last-of-type { color: var(--accent-text); font-weight: 600; }
.article { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.article__title { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; }
.article__lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--muted); font-weight: 500; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline .avatar { width: 40px; height: 40px; background: var(--ink); color: var(--bg); font-size: 14px; }
.byline__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.byline__actions { margin-left: auto; display: flex; gap: 8px; }
.figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.figure .media { border-radius: var(--radius); }
.figure figcaption { font-size: 12px; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: 12px; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose blockquote { margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15px; }
.prose blockquote p { margin: 0 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.source { font-size: 13px; color: var(--muted); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.side-list__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-list__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.12; }
.sticky { position: sticky; top: 80px; }

/* Transfery i zawodnik */
.transfer-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.transfer-row__player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.transfer-row__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; }
.transfer-row__route { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.transfer-row__route span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.player-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.crest--large { width: 96px; height: 96px; font-size: 28px; font-family: var(--font-display); }
.club-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.club-list__item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; }
.club-list__item .crest { width: 28px; height: 28px; }
.club-moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.move { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.move__player { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.move__player .avatar { width: 36px; height: 36px; flex: none; font-size: 12px; }
.move__club { display: flex; align-items: center; gap: 8px; min-width: 0; }
.move__club .crest { width: 22px; height: 22px; flex: none; font-size: 9px; }
.season { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin-bottom: 12px; }
.season summary { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; cursor: pointer; }
.season__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.season[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.season .club-moves { padding-bottom: 16px; }
.player-head .avatar { width: 96px; height: 96px; font-size: 28px; font-family: var(--font-display); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 13px; color: var(--muted); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.history { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.history th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.history td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.history tr:last-child td { border-bottom: 0; }
.history .club { display: flex; align-items: center; gap: 10px; }
.history .num { text-align: right; font-variant-numeric: tabular-nums; }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-family: var(--font-body); font-size: 12px; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--muted); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.chart .area { fill: var(--accent); opacity: .12; }
.chart .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; }
.chart .dot--zero { stroke: var(--green); }
.chart .value { fill: var(--ink); font-weight: 700; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.notice { font-size: 13px; color: var(--muted); }

/* Strony statyczne i formularze */
.static { max-width: 760px; }
.search-page__form { display: flex; gap: 8px; }
.search-page__form input { flex: 1; height: 48px; border-radius: 24px; border: 1px solid var(--line); padding: 0 20px; font: inherit; background: var(--surface); color: var(--ink); }

/* Stopka */
.site-footer { background: var(--chrome); color: var(--chrome-text); }
.site-footer__inner { padding: 40px 16px; display: flex; flex-direction: column; gap: 32px; }
.foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot__head { color: #FFF; font-weight: 700; }
.foot a:hover { color: #FFF; text-decoration: underline; }
.store-btn { align-self: flex-start; border: 1px solid #3A3F48; border-radius: 10px; padding: 10px 14px; color: #FFF; font-weight: 600; }
.copyright { font-size: 13px; color: #8E95A1; border-top: 1px solid #2A2E36; padding-top: 20px; }

@media (max-width: 900px) {
  .hero, .cols, .cols--article, .leagues, .related { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__col:first-child { grid-column: 1 / -1; }
  .nav { display: none; }
  .hero-card__title, .page-title { font-size: 30px; }
  .article__title { font-size: 38px; }
  .feed-item__thumb { width: 96px; height: 72px; }
  .feed-item__title { font-size: 20px; }
  .prose { font-size: 17px; }
  .ad--leaderboard { min-height: 100px; }
  .ad--tall { min-height: 250px; }
  .sticky { position: static; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .club-moves { grid-template-columns: minmax(0, 1fr); }
  .transfer-row { grid-template-columns: minmax(0, 1fr) auto; }
  .transfer-row__route { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 480px) {
  .logo { font-size: 21px; }
  .site-header__row { gap: 12px; }
}

/* Wykres: większa kropka przy najechaniu / fokusie klawiatury (dymek z <title>) */
.chart .point { cursor: pointer; outline: none; }
.chart .point:hover .dot, .chart .point:focus-visible .dot { r: 7; fill: var(--accent); }
