/* LightTokenz landing: ten sam język co apka (nocne szkło, Archivo, kolory kategorii stonowane do 40%). */
:root {
  color-scheme: dark;
  --bg: #0b0a12;
  --card: rgba(11, 10, 18, 0.55);
  --raised: rgba(38, 35, 56, 0.82);
  --line: rgba(255, 255, 255, 0.10);
  --glass-line: rgba(255, 255, 255, 0.16);
  --ink: #f3f1fb;
  --ink2: #c9c5dd;
  --ink3: #a29eba;
  --accent: #8aa2ff;
  --deal: #ff5c63;
  --save: #33cf95;
  --text: #4a63d8;
  --coding: #7a3fe0;
  --image: #c2185b;
  --video: #a8530a;
  --gloss: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.03) 100%);
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 18px;
  --wrap: 1120px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Archivo, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
/* Tło jako stała warstwa pod treścią: działa też na telefonach, gdzie background-attachment: fixed nie działa. */
body::before { content: ''; position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; z-index: -1; background: url(bg.jpg) center / cover no-repeat; pointer-events: none; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top, main > section, .foot { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { border-radius: 8px; }
.top nav { position: relative; display: flex; align-items: center; gap: 6px; }
.top nav a { position: relative; z-index: 1; color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 99px; transition: color .25s; }
.top nav a:hover { color: var(--ink); }
.top nav .nav-app { color: var(--ink); }
@media (max-width: 560px) { .top nav a:not(.nav-app) { display: none; } }

/* Szkło: równe przyciemnienie + połysk + 1 px ramki (jak glassFrame w apce). */
.panel, .model, .hero-card, .search input, .results, .tile, .faq details {
  background: var(--gloss), var(--card);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--r-md); font: 700 15px Archivo, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-ink { background: var(--ink); color: #100e1b; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(255,255,255,0.24); }
.btn:hover { filter: brightness(1.08); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); }
.lead { color: var(--ink2); font-size: 18px; margin-top: 18px; max-width: 34em; }
.status { min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--ink3); font-size: 14px; font-weight: 500; margin-top: 18px; }
.status.error { color: var(--deal); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--save); box-shadow: 0 0 0 0 rgba(51,207,149,0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(51,207,149,0); } 100% { box-shadow: 0 0 0 0 rgba(51,207,149,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; } }

/* Świecąca krawędź w kolorach kategorii, tylko na karcie największej zniżki (jak kafel w apce). */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.glow { position: relative; isolation: isolate; padding: 1.5px; border-radius: var(--r-xl); background: conic-gradient(from var(--a), #6d8cff, #a875ff, #ff6fa3, #ffa23a, #6d8cff); animation: spin 4s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
/* Poświata (wariant 2B): rozmyta kopia krawędzi pod kartą */
.glow::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: inherit; filter: blur(14px); opacity: .45; z-index: -1; }
@media (prefers-reduced-motion: reduce) { .glow, .pulse, .hero-card::after, .sk { animation: none !important; } }
.hero-card { position: relative; overflow: hidden; border: 0; border-radius: calc(var(--r-xl) - 1.5px); padding: 22px; background: var(--gloss), #16131f; min-height: 272px; cursor: pointer; }
.hero-card .cat { font-weight: 600; font-size: 13px; color: var(--accent); }
.hero-card .name { font-size: 26px; font-weight: 800; margin-top: 4px; }
.hero-card .prov { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.hero-card .price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.hero-card .price b { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.hero-card .price small { color: var(--ink2); font-size: 14px; }
.hero-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: var(--ink3); font-size: 14px; }
.pct { display: inline-block; background: var(--deal); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 7px; }
.hero-card .old { text-decoration: line-through; }
.hero-card svg { display: block; width: 100%; height: 56px; margin-top: 16px; }
.skeleton { color: var(--ink3); }
.hero-card-wrap { margin: 0; }
.hero-card-wrap figcaption { color: var(--ink3); font-size: 13px; margin-top: 10px; min-height: 2.9em; }

/* Kafle kategorii */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.tile { border: 0; text-align: left; color: #fff; padding: 16px; min-height: 108px; border-radius: var(--r-lg); cursor: pointer; font: inherit; display: flex; flex-direction: column; justify-content: space-between; }
.tile[data-cat="text"] { background: var(--gloss), var(--text); }
.tile[data-cat="coding"] { background: var(--gloss), var(--coding); }
.tile[data-cat="image"] { background: var(--gloss), var(--image); }
.tile[data-cat="video"] { background: var(--gloss), var(--video); }
.tile b { font-size: 30px; font-weight: 800; line-height: 1; }
.tile span { font-weight: 700; font-size: 16px; }
.tile small { font-size: 13px; opacity: 0.92; }
.tile[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 2px; }
/* Kafel bez promocji (wariant 6C): szkło z kropką koloru i ceną od */
.tile.quiet { background: var(--gloss), rgba(255,255,255,0.05); border: 1px solid var(--glass-line); color: var(--ink); }
.tile.quiet b { font-size: 24px; }
.tile.quiet span { display: flex; align-items: center; gap: 8px; }
.tile.quiet span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tile.quiet small { color: var(--ink3); opacity: 1; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Bloki */
.block { padding-top: 56px; padding-bottom: 8px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.block h2 { font-size: clamp(28px, 4vw, 40px); }
.muted { color: var(--ink3); font-size: 14px; }
.toolbar { margin-bottom: 12px; }
.segmented { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-md); background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.segmented button { position: relative; z-index: 1; transition: color .25s; min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink2); font: 600 14px Archivo, sans-serif; cursor: pointer; }
.segmented button[aria-pressed="true"] { color: #fff; }

.deals { list-style: none; margin: 0; padding: 4px 16px; }
.deal + .deal { border-top: 1px solid var(--line); }
.deal button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.deal-name { font-weight: 700; font-size: 16px; }
.deal-meta { color: var(--ink3); font-size: 13.5px; margin-top: 2px; }
.deal-meta .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.deal-price { text-align: right; flex: none; }
.deal-price b { display: block; font-size: 18px; font-weight: 800; }
.deal-price small { color: var(--ink3); font-size: 12.5px; }
.deal-price .price-top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.deals .empty { padding: 18px 0; color: var(--ink2); }
.more { margin-top: 12px; }

/* Wyszukiwarka i karta modelu */
.search { position: relative; }
.search input { width: 100%; min-height: 56px; padding: 0 18px; color: var(--ink); font: 500 17px Archivo, sans-serif; }
.search input::placeholder { color: var(--ink3); }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; z-index: 5; background: #16131f; }
.results:empty { display: none; }
.results li { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: var(--r-sm); cursor: pointer; }
.results li small { color: var(--ink3); }
.results li[aria-selected="true"], .results li:hover { background: rgba(255,255,255,0.08); }
.popular { min-height: 40px; color: var(--ink3); font-size: 14px; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.popular button { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--ink2); border-radius: var(--r-sm); padding: 8px 12px; font: 600 13.5px Archivo, sans-serif; cursor: pointer; min-height: 40px; }

.model { margin-top: 20px; padding: 0; overflow: hidden; }
.model-head { padding: 22px; background: linear-gradient(180deg, rgba(74,99,216,0.55), rgba(74,99,216,0)); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.model-head h3 { font-size: 30px; }
.model-id { color: var(--ink2); font-size: 14px; margin-top: 6px; }
.model-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 22px 18px; flex-wrap: wrap; }
.model-price .lab { color: var(--ink2); font-size: 14px; }
.model-price b { font-size: 38px; font-weight: 800; display: block; line-height: 1.1; }
.model-price .save b { font-size: 24px; text-align: right; }
.calc { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 22px 18px; }
.calc label { display: flex; flex-direction: column; gap: 8px; color: var(--ink2); font-size: 13px; font-weight: 600; flex: 1 1 180px; }
.calc input { min-height: 46px; border-radius: var(--r-sm); border: 1.5px solid var(--glass-line); background: rgba(0,0,0,0.25); color: var(--ink); font: 700 17px Archivo, sans-serif; padding: 0 12px; }
.table-wrap { overflow-x: auto; margin: 0 22px; border-radius: var(--r-md); background: var(--raised); border: 1px solid rgba(255,255,255,0.24); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { text-align: left; color: var(--ink3); font-size: 13px; padding: 12px 14px 4px; }
th { text-align: left; color: var(--ink3); font-weight: 600; font-size: 12.5px; padding: 10px 14px; white-space: nowrap; }
td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
td.prov { white-space: normal; min-width: 180px; font-weight: 700; }
td .src { display: block; color: var(--ink3); font-weight: 500; font-size: 12.5px; margin-top: 2px; }
td .pct { margin-left: 8px; }
td.cost { font-weight: 800; font-size: 15px; }
tr.best td:first-child { box-shadow: inset 3px 0 0 var(--save); }
.old { text-decoration: line-through; color: var(--ink3); margin-right: 6px; }
.go { font-weight: 700; text-decoration: none; }
.sponsored { display: block; color: var(--ink3); font-size: 12px; }
.live-note { color: var(--ink3); font-size: 13px; padding: 14px 22px 22px; }

/* Aplikacja */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq h2 { margin-bottom: 10px; }
.faq details { padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; padding: 16px 0; min-height: 48px; }
.faq details p { color: var(--ink2); padding-bottom: 18px; max-width: 46em; }

.foot { padding-top: 56px; padding-bottom: 40px; color: var(--ink3); font-size: 13.5px; display: grid; gap: 8px; }

/* Strona prywatności */
.doc { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 40px; }
.doc h1 { font-size: 40px; margin-bottom: 16px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink2); }

.hero-copy, .app-copy, .model { min-width: 0; }

/* Wybór języka */
.lang { position: relative; display: flex; align-items: center; margin-left: 4px; }
.lang svg { position: absolute; left: 10px; width: 17px; height: 17px; fill: none; stroke: var(--ink2); stroke-width: 1.6; pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 30px 0 34px; border-radius: var(--r-sm); border: 1px solid var(--glass-line); background: rgba(255,255,255,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9c5dd' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center / 11px no-repeat; color: var(--ink); font: 600 14px Archivo, sans-serif; cursor: pointer; }
.lang select option { background: #16131f; color: var(--ink); }
@media (max-width: 560px) { .top nav .nav-app { display: none; } }

/* Przyciski sklepów: czarne odznaki z logo, jak oficjalne (sklepy jeszcze nie działają, więc bez linku) */
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 12px; margin-top: 28px; }
.store { display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.3); color: #fff; opacity: 0.75; filter: saturate(0.6); }
.store-logo { width: 26px; height: 28px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-text small { font-size: 11px; font-weight: 600; color: var(--ink3); }
.store-text b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }

/* Zrzuty apki w ramkach smartfonów */
.model-head .cat { font-weight: 600; font-size: 13px; }

/* Pigułka (wariant 3B): obwódka płynie za kursorem, w menu i w filtrach */
.glide-hl { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 99px; background: rgba(255,255,255,0.08); border: 1px solid var(--glass-line); opacity: 0; pointer-events: none; transition: left .4s cubic-bezier(.34,1.56,.64,1), top .4s cubic-bezier(.34,1.56,.64,1), width .4s cubic-bezier(.34,1.56,.64,1), height .4s, opacity .25s; }
.glide-hl.on { opacity: 1; }
.segmented .glide-hl { border-radius: var(--r-sm); }
/* Wybrana opcja filtra: wypełniona pigułka przesuwa się sprężyście */
.seg-pill { position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; border-radius: var(--r-sm); background: rgba(255,255,255,0.16); transition: translate .45s cubic-bezier(.34,1.56,.64,1), width .45s cubic-bezier(.34,1.56,.64,1); }

/* Połysk co kilka sekund i licznik ceny (wariant 1B) */
.hero-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%); translate: -100% 0; animation: sweep 5s ease-in-out infinite; }
@keyframes sweep { 0%, 70% { translate: -100% 0; } 100% { translate: 100% 0; } }
.roll { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.roll > span { display: inline-block; height: 1.15em; line-height: 1.15; }
.digit { display: inline-block; height: 1.15em; line-height: 1.15; overflow: hidden; vertical-align: bottom; }
.digit > span { display: block; translate: 0 calc(var(--d) * -1.15em); transition: translate 1.2s cubic-bezier(.34,1.56,.64,1); }
.digit i { display: block; font-style: normal; text-align: center; }
.after-roll { opacity: 0; transform: translateY(4px); transition: opacity .4s .9s, transform .4s .9s; }
.rolled .after-roll { opacity: 1; transform: none; }

/* Stan: pogrubione liczby w kolorach (wariant 4A) */
.status strong { font-weight: 700; }
.status .n-deal { color: #ff8a8f; }
.status .n-free { color: var(--save); }
.status .n-time { color: var(--accent); }

/* Ładowanie (wariant 5A): szkielet z przesuwającym się błyskiem */
.sk { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #1a1a2e 25%, #2a2a48 50%, #1a1a2e 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; }
.sk-row + .sk-row { border-top: 1px solid var(--line); }

/* Kafle przed załadowaniem: ta sama wysokość, więc nic nie skacze */
.tile.sk { border-radius: var(--r-lg); min-height: 108px; }

/* Stopka: udostępnij i ogranicz animacje */
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm svg, .to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#motion[aria-pressed="true"] { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }

/* Przycisk do góry: szklane kółko w rogu, pojawia się po przewinięciu */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); cursor: pointer; background: var(--gloss), rgba(22,19,31,0.82); border: 1px solid var(--glass-line); box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 18px rgba(168,117,255,0.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; translate: 0 12px; transition: opacity .25s, translate .25s; }
.to-top.show { opacity: 1; translate: 0 0; }
.to-top svg { width: 22px; height: 22px; }

/* Komunikat po skopiowaniu linku */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 20px; z-index: 30; padding: 10px 16px; border-radius: var(--r-md); background: #1e1a2c; border: 1px solid var(--glass-line); color: var(--ink); font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.toast.show { opacity: 1; translate: -50% 0; }

/* Ograniczone animacje: z ustawień systemu albo przełącznikiem w stopce */
:root[data-motion="reduce"], :root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { :root:not([data-motion="full"]), :root:not([data-motion="full"]) *, :root:not([data-motion="full"]) *::before, :root:not([data-motion="full"]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Udostępnianie w karcie modelu */
.model-head .head-actions { display: flex; gap: 8px; }

/* Pasek stanu na zrzutach (zrzut ma pusty pas 44 px na górze, tu rysujemy godzinę, ikony i kamerkę) */

/* Sekcja aplikacji (wariant C): krótki tekst, trzy korzyści, telefony prosto i pływające powiadomienie */
.kicker { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.benefits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.benefits li { display: flex; gap: 12px; }
.benefits i { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.benefits b { display: block; font-size: 17px; }
.benefits span { color: var(--ink2); }
.phones { position: relative; display: flex; gap: 6%; justify-content: center; align-items: flex-start; padding: 0 2% 8%; }
.phone { position: relative; container-type: inline-size; width: 47%; max-width: 260px; aspect-ratio: 390 / 844; padding: 1.2%; border-radius: 17% / 7.86%; background: linear-gradient(90deg, #6e6b7a, #3b3946 6%, #2b2a33 50%, #3b3946 94%, #6e6b7a); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 0 1px rgba(0,0,0,0.6), 0 50px 80px -20px rgba(0,0,0,0.8); }
.phone.p2 { margin-top: 14%; }
.ph-screen { position: relative; height: 100%; padding: 2.8cqw; border-radius: 15.5cqw; background: #000; }
.ph-screen img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13cqw; }
.ph-screen::after { content: ''; position: absolute; inset: 2.8cqw; border-radius: 13cqw; background: linear-gradient(115deg, rgba(255,255,255,0.10), transparent 35%); pointer-events: none; }
.island { position: absolute; top: 5.4cqw; left: 50%; translate: -50% 0; width: 30%; height: 8cqw; border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px #15141c; }
.island::after { content: ''; position: absolute; right: 3.2cqw; top: 2.1cqw; width: 3.8cqw; height: 3.8cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a66, #05050a 60%); }
.ph-btn { position: absolute; width: 1.4cqw; border-radius: 2px; background: linear-gradient(90deg, #5a5866, #2a2933); }
.ph-btn.b1 { left: -1cqw; top: 17%; height: 5%; } .ph-btn.b2 { left: -1cqw; top: 25%; height: 9%; } .ph-btn.b3 { right: -1cqw; top: 22%; height: 13%; }
.sb { position: absolute; top: 5.6cqw; left: 11cqw; right: 10cqw; height: 7.4cqw; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 4.6cqw; pointer-events: none; }
.sb b { font-weight: 700; }
.sb-icons { display: flex; align-items: center; gap: 1.4cqw; }
.sb-icons svg { height: 0.95em; width: auto; fill: currentColor; }
.notif { position: absolute; z-index: 2; left: 0; top: 48%; width: min(330px, 78%); display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(38,35,56,0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--glass-line); box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: float 4s ease-in-out infinite; }
.notif b { display: block; font-size: 13.5px; line-height: 1.3; }
.notif small { color: var(--ink2); font-size: 12px; }
.notif-icon { flex: none; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #4a63d8, #a875ff); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }
@media (max-width: 520px) { .notif { width: 86%; left: 2%; padding: 10px 12px; } .notif b { font-size: 12.5px; } }

/* Tabela ofert na wąskim ekranie: każda oferta to karta (dostawca i koszt na górze, ceny pod spodem),
   bez przewijania w bok i bez uciętej kolumny z linkiem. */
@media (max-width: 760px) {
  .table-wrap { margin: 0 12px; overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-wrap tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 14px; border-top: 1px solid var(--line); }
  .table-wrap tbody tr:first-child { border-top: 0; }
  .table-wrap td { padding: 0; border: 0; white-space: normal; }
  .table-wrap td.prov { grid-column: 1 / 3; min-width: 0; }
  .table-wrap td.cost { grid-column: 3; grid-row: 1; text-align: right; }
  .table-wrap td.cost::after { content: attr(data-l); display: block; color: var(--ink3); font-size: 11px; font-weight: 500; }
  .table-wrap caption { display: block; }
  .table-wrap td.num { font-size: 13.5px; }
  .table-wrap td.num::before { content: attr(data-l); display: block; color: var(--ink3); font-size: 11.5px; font-weight: 500; }
  .table-wrap td.empty { display: none; }
  .table-wrap td.link { grid-column: 1 / -1; }
  .table-wrap td.link:empty { display: none; }
  .table-wrap tr.best { box-shadow: inset 3px 0 0 var(--save); }
  .table-wrap tr.best td:first-child { box-shadow: none; }
}

/* Karta zniżki bez historii: cena regularna i obecna jako dwa paski */
.drop { display: grid; gap: 8px; margin-top: 16px; }
.drop-row { display: grid; grid-template-columns: 84px 1fr 70px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink3); }
.drop-row span:last-child { text-align: right; color: var(--ink2); font-variant-numeric: tabular-nums; }
.drop-row i { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.drop-row b { display: block; height: 100%; border-radius: 4px; }
.drop-row b.was { background: rgba(255,255,255,0.28); }
.drop-row b.now { background: #6a86f5; }

/* Polityka prywatności: przełącznik języków pod treścią */
.doc-langs { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink3); }
