/* HookDex – strona „Wkrótce” (hookdex.pl)
   Układ: ciemna woda (zieleń) + mosiądz. Nagłówek ze zdjęciem, pasek liczb, pasy funkcji
   (duże zdjęcie do krawędzi ekranu + telefon na jego brzegu + tekst), fair play, zapis/kontakt, stopka.
   Kolory i czcionki jak w aplikacji (src/constants/theme.ts). Bez stylów w atrybutach HTML (ścisła polityka CSP). */

/* ---------- Czcionki (własny hosting: szybciej i bez wysyłania IP do Google) ---------- */
@font-face { font-family: Oswald; font-weight: 500; font-display: swap; src: url(../fonts/oswald-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Oswald; font-weight: 500; font-display: swap; src: url(../fonts/oswald-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Oswald; font-weight: 600; font-display: swap; src: url(../fonts/oswald-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Oswald; font-weight: 600; font-display: swap; src: url(../fonts/oswald-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Oswald; font-weight: 700; font-display: swap; src: url(../fonts/oswald-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Oswald; font-weight: 700; font-display: swap; src: url(../fonts/oswald-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Rubik; font-weight: 400; font-display: swap; src: url(../fonts/rubik-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-weight: 400; font-display: swap; src: url(../fonts/rubik-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Rubik; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/rubik-latin-400-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/rubik-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Rubik; font-weight: 500; font-display: swap; src: url(../fonts/rubik-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-weight: 500; font-display: swap; src: url(../fonts/rubik-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: Rubik; font-weight: 700; font-display: swap; src: url(../fonts/rubik-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-weight: 700; font-display: swap; src: url(../fonts/rubik-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Zmienne ---------- */
:root {
  --bg: #16201A;
  --bg-band: #131C17;
  --deep: #101813;
  --camera: #0E1511;
  --surface: #1F2C25;
  --surface-light: #2A3A31;
  --rule: #2E3E34;
  --line: #7A6438;
  --text: #EFE6CC;
  --text-soft: #D6D0B8;
  --muted: #A7A48C;
  --faint: #8E8C76;
  --brass: #C9A35A;
  --brass-hi: #F6E3A8;
  --on-brass: #16201A;
  --ok: #38A169;
  --common: #74C27A;
  --paper: #EDE0C4;
  --error: #F0A27A;
  --font-display: Oswald, "Arial Narrow", Impact, sans-serif;
  --font-body: Rubik, system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: 40px;
  color-scheme: dark;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
/* Atrybut hidden zawsze chowa element (inaczej display: flex z klas by go pokazał) */
[hidden] { display: none !important; }
a { color: var(--brass); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }
.page { container-type: inline-size; container-name: page; overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Odstęp przy przewijaniu do sekcji: wysokość przyklejonego nagłówka (76 px) + 24 px */
#top, section[id] { scroll-margin-top: 100px; }

.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; font-size: 14px; font-weight: 600; color: var(--brass); }
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); width: max-content; max-width: 100%; }
.pill--pro { border-color: var(--brass); color: var(--brass); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; font-size: 16px; line-height: 24px; }
.ticks li::before { content: "◆"; color: var(--brass); }

/* Przyciski */
.btn { height: 52px; padding: 0 18px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn--gold { background: var(--brass); color: var(--on-brass); }
.btn--gold:hover { background: var(--brass-hi); color: var(--on-brass); }
.btn:disabled { cursor: progress; }
.btn--small { height: 44px; }
.cta-short { display: none; }
.store-badge { height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--brass); background: rgba(10, 15, 12, .72); display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.store-badge__big { font-size: 18px; font-weight: 500; }

/* ---------- Nagłówek strony ---------- */
/* Przyklejony nagłówek (position: sticky) – zostaje u góry przy przewijaniu */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--rule); background: rgba(22, 32, 26, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__name { font-size: 28px; font-weight: 600; color: var(--brass); }
.nav { display: flex; gap: 34px; }
.nav a { color: var(--text); text-decoration: none; font-size: 18px; font-weight: 500; }
.nav a:hover { color: var(--brass); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #121B16; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 21, 17, .95) 0%, rgba(14, 21, 17, .84) 36%, rgba(14, 21, 17, .15) 60%, rgba(14, 21, 17, .3) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(22, 32, 26, 0) 24%); }
.hero__inner { position: relative; padding-block: 64px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 76px; line-height: .98; letter-spacing: .5px; text-wrap: balance; }
.hero__accent { color: var(--brass); }
.lead { margin: 0; font-size: 19px; line-height: 30px; color: var(--text-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { font-size: 13px; color: var(--muted); }
.hero__phone { position: relative; display: flex; justify-content: flex-end; align-items: center; min-height: 640px; }
/* Na szerokich ekranach telefon wychodzi poza kolumnę w stronę krawędzi okna – wędkarz ze zdjęcia zostaje widoczny */
.hero__phone .phone { transform: translateX(clamp(0px, calc((100cqi - 1200px) / 2), 110px)); }

/* ---------- Pasek liczb ---------- */
.facts-band { border-block: 1px solid var(--rule); background: var(--bg-band); }
/* margin-block zamiast margin: zerujemy tylko domyślny odstęp listy <dl>, wyśrodkowanie z .wrap zostaje */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; }
.fact { padding: 26px 24px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; margin: 0; }
.fact:first-child { border-left: 0; }
.fact dt { font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; }
.fact dd { margin: 0; font-size: 15px; color: var(--text-soft); }

/* ---------- Telefon (ramka + ekran w proporcji 390×756) ---------- */
.phone { --pw: 290px; --s: .7; width: var(--pw); flex-shrink: 0; padding: 9px; border-radius: 44px; background: #0A0F0C; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 6px rgba(201, 163, 90, .06); }
.phone__screen { position: relative; width: 100%; aspect-ratio: 390 / 756; border-radius: 35px; overflow: hidden; background: var(--bg); }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
/* Odtworzony ekran aplikacji ma 390×756 px i jest skalowany do szerokości ekranu telefonu (--s) */
.phone__fit { position: absolute; left: 0; top: 0; width: 390px; height: 756px; transform: scale(var(--s)); transform-origin: 0 0; }
.phone--md { --pw: 280px; --s: .6718; }
.phones { position: relative; display: flex; align-items: flex-end; z-index: 2; }
/* Para telefonów: mniejsze i zachodzące na siebie */
.phones--pair .phone { --pw: 250px; --s: .5949; border-radius: 38px; padding: 8px; }
.phones--pair .phone__screen { border-radius: 31px; }
.phones--pair .phone + .phone { margin-left: -80px; transform: translateY(-36px) rotate(4deg); }

/* ---------- Pasy funkcji: zdjęcie | telefony na brzegu zdjęcia | tekst ---------- */
.features { padding-block: 96px; display: flex; flex-direction: column; gap: 120px; }
.band { --bleed: calc(max(0px, (100cqi - 1200px) / 2) + var(--gutter)); display: grid; align-items: center; }
.band--photo-left { grid-template-columns: minmax(0, 1fr) 210px 210px 320px; }
.band--photo-right { grid-template-columns: 320px 210px 210px minmax(0, 1fr); }
/* max-width: none – zdjęcie celowo wychodzi poza kolumnę aż do krawędzi okna (ogólne img max-width: 100% by je przycięło) */
.band__photo { grid-row: 1; width: calc(100% + var(--bleed)); max-width: none; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.band--photo-left .band__photo { grid-column: 1 / 3; margin-left: calc(-1 * var(--bleed)); border-radius: 0 26px 26px 0; }
.band--photo-right .band__photo { grid-column: 3 / 5; border-radius: 26px 0 0 26px; }
.band .phones { grid-row: 1; grid-column: 2 / 4; }
.band--photo-right .phones { justify-content: flex-end; }
.band__text, .feature__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.band--photo-left .band__text { grid-column: 4; grid-row: 1; padding-left: 32px; }
.band--photo-right .band__text { grid-column: 1; grid-row: 1; padding-right: 32px; }
.band h2, .feature h2 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 40px; line-height: 1.05; text-wrap: balance; }
.feature h2 { font-size: 46px; }
.band p, .feature p { margin: 0; font-size: 17px; line-height: 27px; color: var(--text-soft); max-width: 500px; }
/* Sekcja bez zdjęcia (odznaki): telefony po lewej, tekst po prawej */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature .phones { justify-content: center; }

/* ---------- Fair play ---------- */
.fair-band { background: var(--bg-band); border-block: 1px solid var(--rule); }
.fair-band__inner { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.section-title { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.05; text-wrap: balance; }
.fair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fair__item { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fair__item h3 { margin: 0; font-size: 18px; font-weight: 500; }
.fair__item p { margin: 0; font-size: 15px; line-height: 23px; color: var(--text-soft); }

/* ---------- Premiera: kontakt (teraz) / zapis e-mail (gdy włączony) ---------- */
.launch { padding-block: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.launch__intro { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.launch__title { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.02; text-wrap: balance; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card__big { font-size: 26px; font-weight: 500; overflow-wrap: anywhere; }
.card__note { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }
.signup { display: flex; flex-direction: column; gap: 16px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.field { height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--deep); color: var(--text); font-size: 17px; padding: 0 16px; font-family: var(--font-body); flex: 1 1 260px; min-width: 0; }
/* Zgody: drobny druk, jak w typowych formularzach zapisu */
.consents { display: flex; flex-direction: column; gap: 6px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 10px; line-height: 14px; color: var(--text-soft); }
.consent input { width: 14px; height: 14px; accent-color: var(--brass); flex-shrink: 0; margin: 0; }
.consent__req { font-style: normal; color: var(--muted); }
.consent__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--brass); }
.turnstile:empty { display: none; }
.signup__error { font-size: 14px; color: var(--error); }
/* Dymek nad przyciskiem „Powiadom mnie” + podświetlenie niezaznaczonych wymaganych zgód */
.signup__submit { position: relative; display: flex; }
.bubble { position: absolute; bottom: calc(100% + 12px); right: 0; z-index: 5; width: max-content; max-width: 260px; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--brass-hi); color: var(--on-brass); font-size: 13px; line-height: 18px; font-weight: 500; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); animation: bubble-in .2s ease-out; }
.bubble::after { content: ""; position: absolute; top: 100%; right: 28px; border: 8px solid transparent; border-top-color: var(--brass-hi); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.consent--missing { color: var(--brass-hi); }
.consent--missing input { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--deep); }
.site-footer__inner { padding-block: 44px; display: flex; flex-direction: column; gap: 28px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer__about { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.site-footer__about p { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__eyebrow { font-size: 12px; }
.site-footer__mail { font-size: 16px; color: var(--text); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); padding-top: 20px; font-size: 12px; color: var(--faint); }

/* ---------- Przycisk „do góry” ---------- */
.to-top { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 52px; height: 52px; border-radius: 26px; background: var(--brass); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brass-hi); }

/* =====================================================================
   Odtworzone ekrany aplikacji (390×756): rozpoznanie, liga, pojedynek
   ===================================================================== */
.app { width: 390px; height: 756px; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--font-body); display: flex; flex-direction: column; line-height: normal; }
.app-head { height: 58px; display: flex; align-items: center; gap: 6px; padding: 0 8px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.app-head__back { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.app-head__title { font-size: 19px; font-weight: 600; color: var(--brass); font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.app-head__title--plain { font-size: 21px; text-transform: none; letter-spacing: 0; }
.app-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.app-label { font-size: 14px; font-weight: 600; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.app-hint { font-size: 12px; color: var(--muted); line-height: 17px; text-align: justify; }
.app-cta { margin-top: auto; height: 52px; border-radius: 14px; background: var(--brass); color: var(--on-brass); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 17px; font-family: var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.app-btn { flex: 1; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.app-btn--line { border: 1.5px solid var(--line); font-weight: 500; }
.app-btn--gold { background: var(--brass); color: var(--on-brass); font-weight: 700; }

/* Wynik rozpoznania */
.rec { position: relative; justify-content: flex-end; padding: 12px; background: var(--camera); }
.rec__camera { position: absolute; left: 0; top: 0; width: 100%; height: 62%; object-fit: cover; opacity: .55; }
.rec__panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rec__close { align-self: flex-end; width: 26px; height: 26px; border-radius: 6px; background: var(--surface-light); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.rec__art { height: 132px; border-radius: 14px; background: var(--paper); display: flex; align-items: center; justify-content: center; margin: 4px 0 8px; }
.rec__art img { width: 88%; height: 112px; object-fit: contain; }
.rec__kicker { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.rec__name { font-size: 26px; font-weight: 700; }
.rec__latin { font-size: 14px; color: var(--muted); font-style: italic; }
.rec__rarity { font-size: 13px; font-weight: 700; color: var(--common); }
.rec__conf { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--brass); }
.rec__reason { font-size: 13px; line-height: 19px; margin-top: 6px; text-align: justify; }
.rec__small { font-size: 11px; line-height: 16px; color: var(--muted); margin-top: 4px; text-align: justify; }
.rec__buttons { display: flex; gap: 10px; margin-top: 10px; }
.meter { flex-grow: 1; height: 8px; border-radius: 4px; background: var(--surface-light); overflow: hidden; }
.meter__fill { height: 100%; background: var(--brass); }
.meter__fill--94 { width: 94%; }
.meter__fill--96 { width: 96%; }

/* Pojedynek */
.duel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.duel__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.duel__mode { color: var(--brass); font-weight: 700; }
.duel__players { display: flex; align-items: center; justify-content: space-between; }
.duel__player { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 120px; font-size: 13px; }
.duel__avatar { width: 64px; height: 64px; border-radius: 32px; object-fit: cover; border: 3px solid var(--line); }
.duel__avatar--me { border-color: var(--brass); }
.duel__pts { font-size: 34px; font-weight: 700; }
.duel__pts--me { color: var(--brass); }
.duel__vs { font-size: 18px; font-weight: 600; font-family: var(--font-display); color: var(--muted); }
.duel__bar { height: 10px; border-radius: 5px; background: #5B6B5F; overflow: hidden; }
.duel__bar-fill { width: 56%; height: 100%; background: var(--brass); }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 12px; display: flex; flex-direction: column; }
.feed__item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--surface-light); }
.feed__item:last-child { border-bottom: 0; }
.feed__fish { width: 54px; height: 30px; border-radius: 6px; background: var(--paper); display: flex; align-items: center; justify-content: center; }
.feed__fish img { width: 48px; height: 26px; object-fit: contain; }
.feed__what { flex-grow: 1; display: flex; flex-direction: column; font-size: 14px; }
.feed__when { font-size: 11px; color: var(--muted); }
.feed__pts { font-size: 15px; font-weight: 700; }
.feed__pts--me { color: var(--ok); }

/* Liga */
.league { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.league__card { background: #4A3826; border: 1.5px solid #C08A4A; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; color: #D9C7A8; font-size: 13px; }
.league__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #E0A868; font-family: var(--font-display); }
.league__name { font-size: 24px; font-weight: 600; font-family: var(--font-display); letter-spacing: 1px; color: #F3E6D0; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.tier { height: 46px; border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.tier small { font-size: 10px; font-weight: 400; color: var(--muted); }
.tier--bronze { border: 1.5px solid #C08A4A; background: #3A2C1E; color: #E0A868; }
.tier--silver { color: #C9CED2; }
.tier--gold { color: var(--brass); }
.tier--platinum { color: #A9C4C9; font-size: 12px; }
.tier--diamond { color: #9FC3E8; font-size: 12px; }
.league__promo { font-size: 13px; color: var(--ok); font-weight: 700; }
.league__promo span { font-weight: 400; color: var(--text); }
.league__cols, .lrow { display: grid; grid-template-columns: 24px minmax(0, 1fr) 46px 50px; align-items: center; padding: 0 12px; }
.league__cols { font-size: 11px; color: var(--muted); }
.league__rows { display: flex; flex-direction: column; gap: 6px; }
.lrow { height: 46px; border-radius: 12px; font-size: 15px; background: var(--surface); border: 1px solid var(--surface-light); }
.lrow--promo { background: #1D3326; border: 1.5px solid var(--ok); }
.lrow--me { background: #5A4A2A; border: 1.5px solid var(--brass); }
.lrow__pos { color: var(--muted); }
.lrow__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lrow__who img { width: 30px; height: 30px; border-radius: 15px; object-fit: cover; }
.lrow__who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow__week { text-align: right; color: var(--brass); font-size: 13px; }
.lrow__pts { text-align: right; font-weight: 700; font-size: 16px; }
.right { text-align: right; }

/* =====================================================================
   Telefon / wąski ekran
   ===================================================================== */
@container page (max-width: 820px) {
  .wrap { padding-inline: 16px; }
  .nav { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(14, 21, 17, .5) 0%, rgba(14, 21, 17, .82) 40%, rgba(14, 21, 17, .55) 72%, var(--bg) 100%); }
  .hero__inner, .feature, .launch { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 17px; line-height: 27px; }
  .hero__phone { min-height: 0; justify-content: center; }
  .hero__phone .phone { transform: none; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .store-badge { padding: 0 12px; gap: 8px; }
  .btn--cta { padding: 0 14px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; border-top: 1px solid var(--rule); padding: 18px 8px; }
  .fact dt { font-size: 40px; }
  .features { gap: 80px; padding-block: 64px; }
  .band--photo-left, .band--photo-right { grid-template-columns: minmax(0, 1fr); }
  .band--photo-left .band__text, .band--photo-right .band__text { grid-column: 1; grid-row: 1; padding: 0; }
  .band--photo-left .band__photo, .band--photo-right .band__photo { grid-column: 1; grid-row: 2; width: calc(100% + 32px); margin: 24px 0 0 -16px; border-radius: 0; }
  .band .phones { grid-column: 1; grid-row: 3; justify-content: center; margin-top: -90px; }
  .band--photo-right .phones { justify-content: center; }
  .band h2, .feature h2 { font-size: 32px; }
  .phone { --pw: 220px; --s: .518; border-radius: 36px; padding: 7px; }
  .phone__screen { border-radius: 29px; }
  .phone--md { --pw: 220px; --s: .518; }
  .phones--pair .phone { --pw: 190px; --s: .441; border-radius: 30px; padding: 7px; }
  .phones--pair .phone__screen { border-radius: 24px; }
  .phones--pair .phone + .phone { margin-left: -70px; transform: translateY(-24px) rotate(4deg); }
  .fair { grid-template-columns: minmax(0, 1fr); }
  .launch { padding-block: 64px; }
  .launch__title { font-size: 36px; }
  .signup__submit { flex: 1 1 100%; }
  .signup__row .btn { flex: 1 1 100%; }
  .to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
}

/* Pionowe zdjęcie nagłówka na telefonie (to samo przełączenie co w <picture>) */
@media (max-width: 820px) {
  .hero__bg { object-position: center 35%; }
}

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

/* ---------- Strony pomocnicze (Polityka prywatności, 404) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 40px; line-height: 1.05; }
.doc h2 { margin: 18px 0 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 22px; letter-spacing: 1px; color: var(--brass); }
.doc p, .doc li { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-soft); text-align: justify; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc__meta { font-size: 13px; color: var(--muted); }
