/* Kolory ekranów aplikacji - JEDNO miejsce: tryb Dark / Light (theme.ts z Settings). Od 05.10.2026 wygląd czarno-biały z
   wyspami (gracz, referencja design/1-6.png; wcześniej Ink - grafit i papier): jednolite tło (szare w Light, czarne w Dark),
   na nim wyspy, w wyspach szare elementy; mała skala szarości - tło, wyspa, element w wyspie, linia, tekst drugiego planu,
   tekst. Kolor tylko w danych (tiery, typy, statusy, wygrana / przegrana - ui/marks.css i tokeny --ok / --warn). Warstwa nad
   grą ma własny projekt (pokemon.css) - tych kolorów nie używa.
   Tokeny: --bg tło, --card wyspa, --card-2 element w wyspie, --line linia w wyspie (= kolor tła: wygląda jak przecięcie),
   --text / --muted tekst, --accent (+ -soft: tekst i linki, + -text: tekst na akcencie) przycisk główny i wybrane, --ok / --warn
   wygrana i przegrana (+ --on-ok tekst na nich; --mid pomarańcz w połowie skali Win Prediction), --sunken tło otwartej karty,
   --pop-shadow cień dymka, --st-missing ikona Missing, --seg-on / --seg-shadow wybrana opcja przełącznika segmentowego,
   --sw-off tor wyłączonego przełącznika, --nav-bg / --nav-on / --nav-off dolne menu i pas nawigacji Androida pod nim (Figma
   "New Menu", gracz 02.10.2026: biały w Light, czarny w Dark), --badge kółko z liczbą nowych powiadomień przy Insights i kropka
   nowego powiadomienia (gracz 06.10.2026: "jak w mediach społecznościowych"). */

/* Bez atrybutu (przed startem skryptu) - ciemny. */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --card: #161618;
  --card-2: #232326;
  --line: #000000;
  --text: #f4f4f6;
  --muted: #8e8e94;
  --accent: #f4f4f6;
  --accent-soft: #ffffff;
  --accent-text: #000000;
  --ok: #4fc46e;
  --warn: #ff6b5b;
  --mid: #f5a142;
  --on-ok: #131211;
  --sunken: transparent;
  --pop-shadow: 0 10px 30px rgba(0, 0, 0, .7);
  --seg-on: #3a3a3e;
  --seg-shadow: none;
  --sw-off: #3a3a3e;
  --nav-bg: #000000;
  --nav-on: #ffffff;
  --nav-off: #7c7c7c;
  --badge: #ff453a;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ececee;
  --card: #ffffff;
  --card-2: #f3f3f5;
  --line: #ececee;
  --text: #131316;
  --muted: #88888e;
  --accent: #131316;
  --accent-soft: #131316;
  --accent-text: #ffffff;
  --ok: #1a7f37;
  --warn: #cf3a2e;
  --mid: #c2600e;
  --on-ok: #ffffff;
  --sunken: transparent;
  --pop-shadow: 0 10px 30px rgba(0, 0, 0, .10);
  --st-missing: #131316;
  --seg-on: #ffffff;
  --seg-shadow: 0 1px 3px rgba(0, 0, 0, .10);
  --sw-off: #dcdce0;
  --nav-bg: #ffffff;
  --nav-on: #000000;
  --nav-off: #9a9a9a;
  --badge: #ff3b30;
}

/* Strona www Sidekicka (site/) - wszystkie style w jednym miejscu. Kolory = tokeny aplikacji z web/src/theme.css (build dokleja
   je przed tym plikiem): [data-theme="dark"] ciemny, [data-theme="light"] jasny. Motyw ustawia site/src/js/theme.js: jak w systemie
   (Auto), zmiana w stopce (gracz 15.11.2026). Wygląd jak aplikacja: czarno-biały z wyspami, Outfit, kolor tylko na grafikach.
   Bohater zawsze biały z czarną twarzą i białymi oczami (gracz 15.11) - ten sam plik w obu motywach, bez filtrów.
   Układ: wąska kolumna na telefonie (360 px), od 720 px dwie kolumny wysp, od 960 px tekst obok grafiki i kroki jako slajdy. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit/latin-ext-400-800.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: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit/latin-400-800.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;
}

/* tokeny tylko strony (kolory aplikacji: theme.css) */
:root {
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
  --island: 22px;
  --inner: 14px;
  --max: 1112px;
  --read: 700px;
  --phone: #0b0b0d;
  --phone-ring: rgba(255, 255, 255, .16);
  --phone-shadow: 0 0 0 transparent;
  --frame-line: rgba(244, 244, 246, .28);
  --head-bg: rgba(0, 0, 0, .8);
  --pop-bg: var(--card-2);
  --todo-bg: rgba(245, 161, 66, .16);
}
:root[data-theme="light"] {
  --phone: #131316;
  --phone-ring: rgba(0, 0, 0, 0);
  --phone-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  --frame-line: rgba(19, 19, 22, .26);
  --head-bg: rgba(236, 236, 238, .84);
  --pop-bg: var(--card);
  --todo-bg: rgba(194, 96, 14, .12);
}

/* --- podstawa */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(36px, 8.4vw, 60px); }
h2 { font-size: clamp(27px, 5.2vw, 40px); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.lead { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.todo { padding: 1px 6px; border-radius: 6px; background: var(--todo-bg); color: var(--mid); font-weight: 600; }

/* --- przyciski i pigułki (jak w aplikacji: primary = pigułka w kolorze akcentu, secondary = obrys) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-text); font: 700 16px/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; }
.btn.alt { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.actions.center { justify-content: center; }
/* na telefonie zwykły przycisk na całą szerokość, jak w aplikacji; oficjalny przycisk Google Play zostaje w swoim rozmiarze */
@media (max-width: 719px) {
  .hero-text > .actions { justify-self: stretch; }
  .hero .actions > .btn, .end .actions > .btn { flex: 1 1 100%; }
}
/* oficjalny przycisk Google Play (plik od Google, bez zmian wyglądu): w pliku jest przezroczysty margines (ok. 16% wysokości),
   ujemny margines na linku wyrównuje widoczny przycisk do tekstu; widoczna wysokość ok. 54 px, pusta przestrzeń wokół zostaje.
   max-width: none - inaczej ogólne img { max-width: 100% } ściska plik do zwężonego linku (15.11: proporcje 2,26 zamiast 2,58) */
.play-badge { display: inline-flex; flex: none; margin: -13px; }
.play-badge img { width: auto; max-width: none; height: 80px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--card-2); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.textlink { justify-self: start; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; }
.icon-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: var(--card-2); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* --- wyspa */
.island { background: var(--card); border-radius: var(--island); padding: 20px; }
@media (min-width: 720px) { .island { padding: 28px; } }

/* --- menu u góry */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--head-bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: none; }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.review-chip { white-space: nowrap; }
@media (max-width: 599px) { .review-chip { display: none; } }
.menu { padding-bottom: 12px; }
.menu-list { display: grid; padding: 6px; }
.menu-list a { padding: 14px; border-radius: var(--inner); font-size: 18px; font-weight: 700; text-decoration: none; }
.menu-list a[aria-current="page"] { background: var(--card-2); }
@media (min-width: 860px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
  .nav a:hover { color: var(--text); }
  .nav a[aria-current="page"] { background: var(--card-2); color: var(--text); }
  .head-actions { margin-left: 8px; }
  .menu-btn, .menu { display: none !important; }
}

/* --- sekcje */
.section { padding-block: 44px; }
.section.tight { padding-block: 16px 20px; }
.sec-head { display: grid; gap: 10px; max-width: 680px; margin-bottom: 24px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.sec-foot { margin-top: 20px; }
@media (min-width: 960px) { .section { padding-block: 64px; } .section.tight { padding-block: 24px 28px; } .sec-head { margin-bottom: 32px; } }

/* --- grafiki: telefon (cały ekran, telefon rysuje CSS), fragment aplikacji (sam moduł), ilustracja, podgląd linku */
.shot { margin: 0; max-width: 100%; }
.shot .screen { position: relative; overflow: hidden; background: var(--card); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }
.shot.phone { padding: 8px; border-radius: 40px; background: var(--phone); box-shadow: 0 0 0 1px var(--phone-ring), var(--phone-shadow); }
.shot.phone .screen { aspect-ratio: 1080 / 2340; border-radius: 32px; }
.shot.ui { width: min(100%, 420px); }
.shot.ui .screen { border-radius: var(--inner); background: transparent; }
.shot.ui img { height: auto; object-fit: contain; }
.shot.empty.ui .screen { aspect-ratio: 1 / 1; }
.shot.empty.shape-wide .screen { aspect-ratio: 1080 / 700; }
.shot.empty.shape-strip .screen { aspect-ratio: 1080 / 400; }
.shot.empty.shape-tall .screen { aspect-ratio: 1080 / 1500; }
.shot.art .screen { aspect-ratio: 1 / 1; border-radius: var(--island); background: transparent; }
.shot.art img { object-fit: contain; }
.shot.wide .screen { aspect-ratio: 1200 / 630; border-radius: var(--inner); }
.frame-box { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px; border: 2px dashed var(--frame-line); border-radius: inherit; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: center; }
.frame-box b { color: var(--text); font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.frame-box .what { color: var(--text); font-size: 14px; font-weight: 600; }
.frame-box code { font: 600 11px/1.3 var(--mono); word-break: break-all; }

/* --- Home: góra */
.hero .wrap { display: grid; gap: 36px; align-items: center; padding-block: 28px 8px; }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.hero-shot { justify-self: center; width: min(270px, 72vw); }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-block: 72px 24px; }
  .hero-shot { width: 300px; }
}

/* --- Home: czy Sidekick jest dozwolony (zaraz pod górą strony, gracz 15.11) */
.allowed { display: grid; gap: 18px; }
.allowed-head { display: grid; gap: 10px; max-width: 640px; }
.allowed-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
@media (min-width: 960px) {
  .allowed .rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .allowed .rows > div, .allowed .rows > div + div { padding: 0; border-top: 0; }
}

/* --- Home: kroki od złapania do wygranej. Od 960 px slajdy (zakładki i strzałki, bez paska przewijania); węższe ekrany:
   kroki jeden pod drugim, przewijane w dół, bez przesuwania w bok (gracz 15.11) */
.flow-bar { display: none; }
.flow-track { display: grid; gap: 14px; }
.slide { display: grid; gap: 22px; align-content: start; }
.slide-text { display: grid; gap: 12px; align-content: start; min-width: 0; }
.slide-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slide-label .step-num { width: 28px; height: 28px; font-size: 14px; letter-spacing: 0; }
.slide-text h3 { font-size: clamp(24px, 4.4vw, 34px); line-height: 1.15; letter-spacing: -.01em; }
.slide-text > p { color: var(--muted); font-size: 18px; }
.ticks { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .64em; border-radius: 999px; background: var(--text); }
.slide-visual { display: grid; place-items: center; min-width: 0; padding: 20px; border-radius: var(--inner); background: var(--card-2); }
@media (min-width: 960px) {
  .flow-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .flow-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .flow-tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 7px; border: 0; border-radius: 999px; background: var(--card); color: var(--muted); font: 700 15px/1.2 var(--font); cursor: pointer; }
  .flow-tab span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--card-2); color: var(--text); font-size: 13px; }
  .flow-tab[aria-current="step"] { background: var(--accent); color: var(--accent-text); }
  .flow-tab[aria-current="step"] span { background: var(--accent-text); color: var(--accent); }
  .flow-arrows { display: flex; gap: 8px; margin-left: auto; }
  .flow-arrows .icon-btn { background: var(--card); }
  .flow-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--island); }
  .flow-track::-webkit-scrollbar { display: none; }
  .slide { flex: 0 0 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; scroll-snap-align: start; scroll-snap-stop: always; }
  .slide-visual { height: 440px; }
  .flow .slide-visual .shot { width: 100%; height: 100%; }
  .flow .slide-visual .shot .screen { width: 100%; height: 100%; aspect-ratio: auto; }
  .flow .slide-visual .shot img { height: 100%; }
}

/* --- kroki (How It Works) */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 10px; align-content: start; }
.step p { color: var(--muted); }
.step .shot.ui { justify-self: center; width: 100%; margin-top: 8px; }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: 16px; font-weight: 800; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --- tekst obok ilustracji */
.split { display: grid; gap: 24px; align-items: center; }
.split-text { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split .shot.art { justify-self: center; width: min(220px, 60vw); }
.split .shot.phone { justify-self: center; width: min(230px, 64vw); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; } }

/* --- wiersze etykieta / opis (jak wiersze w wyspach aplikacji: linia w kolorze tła) */
.rows { display: grid; margin: 0; }
.rows > div { display: grid; gap: 3px; padding-block: 13px; }
.rows > div:first-child { padding-top: 0; }
.rows > div:last-child { padding-bottom: 0; }
.rows > div + div { border-top: 1px solid var(--line); }
.rows dt { font-weight: 700; }
.rows dd { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .rows.wide > div { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; } }

/* --- kafelki narzędzi: pogrubiony tytuł + jedno zdanie */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--island); background: var(--card); color: inherit; text-decoration: none; }
a.tile:hover { background: var(--card-2); }
.tile b { font-size: 16px; line-height: 1.3; }
.tile span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tile { padding: 20px; } }

/* --- pytania */
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--island); background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--island); font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); }
.faq details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .answer { display: grid; gap: 10px; padding: 0 20px 20px; color: var(--muted); }
.faq .answer a { color: var(--text); font-weight: 600; }
.faq-group { display: grid; gap: 14px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group > h2 { font-size: 24px; }

/* --- Home: wiadomość od twórcy */
.creator { display: grid; gap: 12px; align-content: start; }
.creator > p { max-width: 68ch; }
.creator .sign { color: var(--muted); font-weight: 600; }
.callout { display: grid; gap: 4px; margin-top: 8px; padding: 16px 18px; border-radius: var(--inner); background: var(--card-2); }
.callout span { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* --- zakończenie */
.end { display: grid; gap: 18px; justify-items: center; text-align: center; }
.end .shot.art { width: min(180px, 50vw); }
.end p { color: var(--muted); max-width: 46ch; }

/* --- podstrony */
.page-head { display: grid; gap: 14px; max-width: 780px; padding-block: 36px 28px; }
.page-head .meta { color: var(--muted); font-size: 15px; }
.page-body { display: grid; gap: 14px; padding-bottom: 56px; }
.page-body h2 { font-size: clamp(24px, 4.4vw, 32px); }
.prose { display: grid; gap: 14px; align-content: start; }
.prose > p { max-width: 68ch; }
@media (min-width: 960px) { .page-head { padding-block: 64px 40px; } }

/* --- Features: wyspa funkcji = tekst + grafiki */
.feature { display: grid; gap: 28px; }
.feature-text { display: grid; gap: 14px; align-content: start; min-width: 0; }
.feature-text > p { color: var(--muted); font-size: 18px; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.shots .shot.phone { width: min(220px, 62vw); }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 476px); align-items: start; gap: 40px; }
  .shots { justify-content: flex-end; }
}

/* --- prawne (Privacy Policy, Terms of Use) */
.legal { display: grid; gap: 8px; max-width: var(--read); padding-bottom: 48px; }
.legal section { display: grid; gap: 12px; padding-block: 18px; }
.legal h2 { font-size: 24px; }
.legal h3 { font-size: 18px; margin-top: 6px; }
.legal ul, .legal ol { display: grid; gap: 6px; margin: 0; padding-left: 22px; }
.legal a { font-weight: 600; }
.toc { display: grid; gap: 10px; margin-bottom: 8px; }
.toc-title { font-weight: 800; }
.toc ol { color: var(--muted); gap: 4px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--card-2); text-align: left; vertical-align: top; }
.table th { font-weight: 700; }

/* --- 404 */
.notfound { display: grid; gap: 18px; justify-items: center; padding-block: 48px 72px; text-align: center; }
.notfound .shot.art { width: min(220px, 60vw); }

/* --- stopka: bez danych firmy (są w Privacy Policy i Terms of Use), kontakt przez aplikację, motyw, PvPoke */
.site-footer { margin-top: 24px; padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--card); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.foot-brand, .foot-contact { grid-column: 1 / -1; }
.foot-brand { display: grid; gap: 10px; justify-items: start; }
.foot-title { margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.foot-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.foot-grid a, .foot-grid .linklike { font-size: 15px; font-weight: 600; text-decoration: none; }
.foot-grid a:hover, .foot-grid .linklike:hover { text-decoration: underline; }
.foot-contact p:not(.foot-title) { max-width: 36ch; }
.foot-bottom { display: grid; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.theme-pick .foot-title { margin-bottom: 10px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card-2); }
.seg button { padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 14px/1.2 var(--font); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--text); box-shadow: var(--seg-shadow); }
.foot-legal { display: grid; gap: 14px; max-width: 780px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.foot-legal a { color: var(--text); font-weight: 600; }
@media (min-width: 960px) {
  .foot-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .foot-brand, .foot-contact { grid-column: auto; }
  .foot-bottom { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 56px; }
}

/* --- baner cookies (Google Analytics dopiero po zgodzie) */
.consent { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.consent-box { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; padding: 20px; background: var(--pop-bg); box-shadow: var(--pop-shadow); pointer-events: auto; }
.consent-title { font-size: 18px; font-weight: 800; }
.consent .muted a { color: var(--text); font-weight: 600; }
.consent .actions .btn { flex: 1 1 140px; }

/* --- tylko podgląd: strona "Do decyzji" */
.review h2 { font-size: 24px; }
.review ol, .review ul { display: grid; gap: 8px; margin: 0; padding-left: 24px; }
.review .now { color: var(--muted); font-size: 14px; }
.review code { font: 600 12px/1.3 var(--mono); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
