/* AirBand – airband.com.pl
   Jeden arkusz dla całej strony. Bez zewnętrznych czcionek; własny skrypt assets/site.js (plus Google Tag Manager wklejony w stronach).
   Kolory z ikony i aplikacji: granat tła ikony, pomarańczowy samolot, niebieskie fale.
   Zasada z aplikacji: niebieski tekst = coś, co da się dotknąć. */

:root {
  color-scheme: dark;
  --bg: #0f2442;
  --bg-2: #15365f;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-2: rgba(255, 255, 255, 0.1);
  --edge: rgba(255, 255, 255, 0.13);
  --edge-2: rgba(255, 255, 255, 0.2);
  --text: #f1f5fa;
  --muted: #bccbdc;
  --dim: #8ea3ba;
  --orange: #ff8a00;
  --orange-2: #ffb547;
  --blue: #4da3ff;
  --chosen: #9ccbff;
  --amber: #ffb020;
  --green: #3ad17a;
  --yellow: #ffe14d;
  --red: #ff3b3b;
  --sel: #e540d9;
  --sel-text: #f59ceb;
  --ring: #1e88e5;
  /* kolory aplikacji (ciemny wygląd) – do odtworzonych ekranów */
  --app-bg: #000;
  --app-card: #161b22;
  --app-line: #2a2f36;
  --app-muted: #9fb0c2;
  --app-accent: #1b2a3d;
  --app-warn: #2a2410;
  --radius: 22px;
  --maxw: 1200px;
  --font: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg) linear-gradient(180deg, #102b4f 0%, #0f2442 30%, #13305a 60%, #0f2442 100%); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg.ic { display: inline-block; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-family: var(--display); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; text-decoration: none; }
.t-blue { color: var(--blue); }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 40, 72, 0.78);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--edge);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; }
.wordmark span { color: var(--orange); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--amber); background: var(--panel-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--text);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--edge-2); background: var(--panel);
}
.nav-cta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 0, .18); }
/* Przełącznik języka PL | EN – bieżący język podświetlony, drugi to odnośnik do tej samej strony w drugim języku */
.lang { display: inline-flex; flex: none; gap: 2px; padding: 3px; margin-left: -12px; border-radius: 999px; border: 1px solid var(--edge-2); background: var(--panel); }
.lang a, .lang span { font-size: 13px; font-weight: 800; letter-spacing: .05em; line-height: 1; padding: 7px 11px; border-radius: 999px; color: var(--muted); }
.lang a:hover { color: var(--amber); text-decoration: none; }
.lang [aria-current] { background: var(--amber); color: #14233a; }

/* ---------- Przyciski i drobne elementy ---------- */

.soon {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 16px; border-radius: 16px;
  background: #fff; color: #05090f;
}
.soon svg { width: 26px; height: 26px; flex: none; }
.soon small { display: block; font-size: 11.5px; font-weight: 600; color: #48566a; line-height: 1.1; letter-spacing: .02em; }
.soon strong { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 16px;
  font-weight: 700; font-size: 16px; color: var(--amber); border: 1px solid rgba(77, 163, 255, 0.35); background: rgba(77, 163, 255, 0.06);
}
.btn-ghost:hover { background: rgba(77, 163, 255, 0.14); text-decoration: none; }
.kicker { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.chip-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--edge-2); background: var(--panel); }
.chip-tag b { color: var(--text); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 84px 0 96px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 55% at 74% 38%, rgba(77, 163, 255, .55), transparent 70%),
    radial-gradient(35% 40% at 92% 92%, rgba(229, 64, 217, .35), transparent 70%),
    radial-gradient(40% 45% at 6% 4%, rgba(255, 138, 0, .38), transparent 70%),
    radial-gradient(40% 40% at 30% 100%, rgba(58, 209, 122, .18), transparent 70%),
    linear-gradient(180deg, #1a4a80 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.2vw, 74px); font-weight: 800; letter-spacing: -0.045em; line-height: .98; margin: 18px 0 26px; }
.grad { white-space: nowrap; background: linear-gradient(100deg, var(--orange) 10%, var(--orange-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 33em; margin-bottom: 34px; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; max-width: 560px; }
.facts li { padding: 0 18px; border-left: 1px solid var(--edge-2); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts strong { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.facts span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 4px; }

.stage { position: relative; display: flex; justify-content: center; min-height: 640px; }
.float {
  position: absolute; z-index: 3;
  background: rgba(22, 27, 34, .86); border: 1px solid rgba(255,255,255,.10); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  animation: bob 7s ease-in-out infinite;
}
.float.f2 { animation-delay: -2.3s; }
.float.f3 { animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Pas z kodami lotnisk ---------- */

.marquee { border-block: 1px solid var(--edge); background: rgba(255,255,255,.05); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: slide 60s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; color: #a9bdd3; white-space: nowrap; }
.marquee-track span b { color: var(--muted); font-weight: 600; margin-right: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sekcje ---------- */

section { padding: 112px 0; }
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sec-head .kicker { justify-content: center; font-size: 19px; }
.hero .kicker { font-size: 19px; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 19px; }

/* Funkcje – sekcje naprzemienne */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--edge); }
.row.flip .row-text { order: 2; }
.row-text h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 18px; }
.row-text > .kicker { font-size: 18.5px; }
.row-text > p:not(.kicker) { color: var(--muted); font-size: 18.5px; margin-bottom: 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16.5px; color: #e6eef7; }
.ticks svg { width: 22px; height: 22px; color: #5fe39a; margin-top: 2px; }
.row-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.row-art::before {
  content: ""; position: absolute; inset: -2% -4%; z-index: -1; border-radius: 40px; filter: blur(8px);
  background: radial-gradient(60% 60% at 50% 45%, rgba(77, 163, 255, .45), transparent 72%);
}
/* poświata w innym kolorze przy każdej funkcji (pierwszy div w sekcji to nagłówek) */
.row:nth-of-type(3) .row-art::before { background: radial-gradient(60% 60% at 50% 45%, rgba(229, 64, 217, .38), transparent 72%); }
.row:nth-of-type(4) .row-art::before { background: radial-gradient(60% 60% at 50% 45%, rgba(255, 138, 0, .38), transparent 72%); }
.row:nth-of-type(5) .row-art::before { background: radial-gradient(60% 60% at 50% 45%, rgba(25, 211, 197, .32), transparent 72%); }
.row:nth-of-type(6) .row-art::before { background: radial-gradient(60% 60% at 50% 45%, rgba(255, 176, 32, .32), transparent 72%); }
.row:nth-of-type(7) .row-art::before { background: radial-gradient(60% 60% at 50% 45%, rgba(58, 209, 122, .3), transparent 72%); }

/* Siatka mniejszych zalet */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid var(--edge); border-radius: var(--radius); padding: 26px;
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: var(--edge-2); transform: translateY(-3px); }
.tile.wide { grid-column: span 3; }
.tile h3 { font-size: 20px; margin: 18px 0 8px; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile-art { min-height: 92px; display: flex; align-items: center; }

/* Jak zacząć */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.step-num { counter-increment: s; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-weight: 800; font-size: 18px; color: #05090f; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.step-num::before { content: counter(s); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 16px; }
.step-art { margin-top: auto; padding-top: 22px; }
.needs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.nokey { text-align: center; color: var(--muted); margin-top: 18px; font-size: 16px; }

/* Pomoc – zachęta */
.help-cta {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  padding: 48px; border-radius: 32px; border: 1px solid var(--edge-2);
  background: radial-gradient(60% 90% at 100% 0%, rgba(77, 163, 255, .14), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.help-cta h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.help-cta .kicker { font-size: 18px; }
.help-cta p:not(.kicker) { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics a { font-size: 15px; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(77, 163, 255, .3); background: rgba(77, 163, 255, .06); }
.topics a:hover { background: rgba(77, 163, 255, .14); text-decoration: none; }

/* Pytania */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq details:first-child { border-top: 1px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 4px; font-size: 19px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 4px 26px; color: var(--muted); font-size: 17px; max-width: 46em; }

/* Kontakt */
.contact { text-align: center; }
.mail { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.02em; padding: 18px 32px; border-radius: 22px; border: 1px solid rgba(77,163,255,.4); background: rgba(77,163,255,.08); }
.mail:hover { text-decoration: none; background: rgba(77,163,255,.16); }
.mail svg { width: 30px; height: 30px; flex: none; }
.legal { max-width: 760px; margin: 40px auto 0; color: var(--dim); font-size: 14.5px; }

/* ---------- Stopka ---------- */

.site-footer { border-top: 1px solid var(--edge); padding: 52px 0 56px; color: var(--dim); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: start; }
.foot-brand p { margin-top: 10px; max-width: 28em; }
.foot-brand .brand img { width: 32px; height: 32px; }
.foot-brand .wordmark { font-size: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 6px 0 0; padding: 0; }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--edge); padding-top: 22px; }

/* ---------- Pojawianie się przy przewijaniu ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Strony z tekstem (polityka, źródła, pomoc) ---------- */

.doc-hero { padding: 72px 0 40px; background: radial-gradient(50% 80% at 85% 0%, rgba(77,163,255,.35), transparent 70%), radial-gradient(35% 60% at 5% 0%, rgba(255,138,0,.22), transparent 70%), linear-gradient(180deg, #1a4a80, var(--bg)); border-bottom: 1px solid var(--edge); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin-bottom: 16px; }
.doc-hero .doc-lead, .doc-hero > .wrap > p:not(.kicker):not(.meta) { color: var(--muted); font-size: 18.5px; max-width: 46em; }
.doc-hero .meta { font-size: 14.5px; color: var(--dim); margin-top: 14px; }
.doc { padding: 52px 0 110px; }
.doc .wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14.5px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.toc p { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--edge-2); }
.toc li a { display: block; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.35; }
.toc li a:hover { border-left-color: var(--blue); text-decoration: none; }
.prose { max-width: 780px; }
.prose h2 { font-size: 27px; margin: 56px 0 16px; letter-spacing: -0.02em; }
.prose h2:first-child, .help-sec:first-child h2 { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 30px 0 8px; letter-spacing: -0.01em; }
.prose p:not(.app p), .prose li:not(.app li) { color: #cfd9e4; font-size: 16.5px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--panel-2); padding: 1px 6px; border-radius: 6px; }
.prose .num { color: var(--orange); margin-right: 6px; }
.datalist { display: grid; gap: 12px; margin: 18px 0 0; }
.datalist > div { background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; padding: 18px 20px; }
.datalist dt { font-weight: 700; font-size: 16.5px; margin-bottom: 4px; color: var(--text); }
.datalist dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.callout { background: var(--panel); border: 1px solid var(--edge-2); border-left: 3px solid var(--orange); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.sources { display: grid; gap: 14px; }
.source { background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; padding: 20px 22px; }
.prose .source h3 { font-size: 18px; margin: 0 0 4px; }
.prose .source .what { color: var(--text); font-size: 16px; margin-bottom: 6px; }
.prose .source .lic { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; overflow-wrap: anywhere; }
.source a { font-size: 14.5px; overflow-wrap: anywhere; }

/* Pomoc */
.help-grid { grid-template-columns: 270px minmax(0, 1fr) !important; }
.help-search { margin-top: 30px; max-width: 620px; }
.help-search input {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 15px 18px 15px 48px; border-radius: 16px; border: 1px solid var(--edge-2);
  background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='42' cy='42' r='30' fill='none' stroke='%239fb0c2' stroke-width='10'/%3E%3Cline x1='64' y1='64' x2='90' y2='90' stroke='%239fb0c2' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 17px 50% / 19px;
}
.help-search input::placeholder { color: var(--dim); }
.help-count { color: var(--dim); font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.help-sec { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--edge); }
.help-sec h2 { margin-top: 0; }
.help-none { color: var(--muted); }
.page-help .prose p:not(.app p), .page-help .prose li:not(.app li) { line-height: 1.75; }
.page-help .prose svg.ic { margin: 0 1px; vertical-align: -0.2em; }

/* znaczniki pomocy (jak w aplikacji, ui/HelpUi.kt) */
.t-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 6px; border-radius: 6px; vertical-align: .05em; white-space: nowrap; }
.t-pill svg.ic { margin: 0 !important; }
.t-green { background: var(--green); color: #000; }
.t-amber { background: var(--amber); color: #000; }
.t-line { background: var(--app-line); color: #fff; }
.t-outline { border: 1px solid var(--app-muted); color: #fff; padding: 3px 6px; }
.t-cs { display: inline-block; font-size: 12px; font-weight: 800; line-height: 1.2; padding: 1px 7px; border-radius: 8px; border: 1.5px solid transparent; white-space: nowrap; vertical-align: .05em; }
.t-cs.big { font-size: 15px; border-radius: 10px; padding: 1px 8px; }
.cs-exact { border-color: var(--app-muted); color: #fff; }
.cs-fixed { border-color: var(--blue); border-style: dashed; color: var(--chosen); }
.cs-suspect { color: var(--amber); }
.cs-none { color: #fff; }
.cs-selected { border-color: var(--sel); color: var(--sel-text); }
.cs-tracked { border-color: var(--blue); color: var(--chosen); }
.t-dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; vertical-align: -0.05em; }
.t-ring { box-shadow: 0 0 0 2px #fff; width: .7em; height: .7em; margin: 0 2px; }
.d-green { background: var(--green); } .d-yellow { background: var(--yellow); } .d-red { background: var(--red); }
.d-grey { background: #8a99a8; } .d-blue { background: var(--blue); }
.t-offline { display: inline-flex; align-items: center; gap: 4px; background: var(--app-warn); color: var(--amber); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.t-btn { display: inline-grid; place-items: center; vertical-align: -0.25em; }
.t-x { width: 1.6em; height: 1.4em; border-radius: 7px; background: rgba(16, 20, 24, .9); border: 1px solid var(--app-line); }
.t-play { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--blue); }
.t-speed { display: inline-block; font-size: 11px; font-weight: 800; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 6px; padding: 1px 5px; }
.t-link { color: var(--blue); font-weight: 700; font-size: .92em; white-space: nowrap; }
.t-red { color: var(--red); }
.t-chip { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.87); color: #000; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 7px; vertical-align: .05em; }

/* fragmenty ekranu w pomocy (ui/HelpGfx.kt) */
.hf { margin: 14px 0 18px; }
.hf > div { background: #000; border: 1px solid var(--app-line); border-radius: 10px; padding: 10px; max-width: 430px; font-size: 14px; color: #fff; }
.hf figcaption { color: var(--app-muted); font-size: 13.5px; margin-top: 6px; }
.hf-grow { flex: 1; min-width: 0; }
.hf-listen { display: flex; align-items: center; gap: 10px; }
.hf-rec { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.hf-level { position: relative; height: 6px; border-radius: 3px; background: var(--app-line); margin-top: 6px; }
.hf-level .lv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 70%; border-radius: 3px; background: var(--red); }
.hf-level .lv-mark { position: absolute; left: 44%; top: -3px; width: 2px; height: 12px; background: #fff; }
.hf > .hf-plane { display: inline-flex; align-items: center; gap: 0; background: rgba(16, 20, 24, .9); border-radius: 12px; padding: 0 4px 0 12px; height: 40px; }
.hf-plane b { color: var(--sel-text); font-size: 15px; }
.hf-plane span { font-size: 13px; margin-right: 10px; }
.hf-ap-title { font-weight: 700; font-size: 15px; }
.hf-ap-row { display: flex; align-items: center; gap: 4px; color: var(--app-muted); font-size: 12.5px; margin-top: 3px; }
.hf-ap-row .t-pill { margin-left: 6px; } .hf-ap-row > svg:last-child { margin-left: 10px; }
.hf > .hf-entry { background: var(--app-card); border: 0; display: flex; flex-direction: column; }
.hf-entry-head { display: flex; align-items: center; gap: 6px; }
.hf-who { font-size: 13px; color: var(--app-muted); }
.hf-time { margin-left: auto; font-size: 12px; color: var(--app-muted); }
.hf-entry p { margin: 4px 0 0; font-size: 14px; color: #fff !important; }
.hf-more { align-self: flex-end; margin-top: 4px; font-size: 13px; }

/* ---------- 404 ---------- */

.notfound { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .freq { font-family: var(--mono); font-size: clamp(64px, 13vw, 132px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.notfound .noise { width: 260px; height: 40px; margin: 0 auto 26px; color: var(--dim); }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.notfound p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
/* 404 dwujęzyczna: druga wersja mniejsza, dwa przyciski obok siebie */
.notfound .nf-en { font-size: clamp(20px, 2.6vw, 26px); color: var(--text); margin: 8px 0 8px; }
.notfound .nf-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Węższe ekrany ---------- */

@media (max-width: 1060px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero .copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero .kicker { justify-content: center; }
  .facts { margin-inline: auto; text-align: left; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .row.flip .row-text { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .help-cta { grid-template-columns: minmax(0, 1fr); padding: 36px; }
  .doc .wrap, .help-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0; }
  .toc { position: static; max-height: none; margin-bottom: 36px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; }
  .page-help .toc ol { columns: 2; column-gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .nav-cta { margin-left: auto; padding: 7px 12px; font-size: 12.5px; }
  .nav { order: 3; width: 100%; margin: 6px -10px 8px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; padding: 7px 10px; white-space: nowrap; }
  .lang { margin-left: 0; }
  html { scroll-padding-top: 116px; }
  section { padding: 76px 0; }
  .hero { padding: 48px 0 64px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head p:not(.kicker), .sec-head .kicker, .hero .kicker { font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .row { padding: 40px 0; }
  .row-art { min-height: 0; }
  .facts li { padding: 0 10px; }
  .facts strong { font-size: 18px; }
  .facts span { font-size: 12.5px; }
  .help-cta { padding: 26px 20px; border-radius: 24px; }
  .page-help .toc ol { columns: 1; }
  .stage { min-height: 0; }
  .float { display: none; }
}

@media (max-width: 480px) {
  /* telefon: w nagłówku logo i przełącznik języka; „Wkrótce w Google Play” na stronie głównej jest zaraz pod tytułem */
  .nav-cta { display: none; }
  .lang { margin-left: auto; }
  html[lang="en"] .hero .grad { white-space: normal; display: block; }
  .actions { flex-direction: column; align-items: stretch; }
  .soon, .btn-ghost { justify-content: center; }
  .mail { font-size: 18px; padding: 14px 18px; }
  .mail svg { width: 24px; height: 24px; }
  .faq summary { font-size: 17px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .marquee-track, .lvl i, .pulse { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile { transition: none; }
}

@media print {
  .site-header, .site-footer, .toc, .skip, .help-search { display: none; }
  body { background: #fff; color: #000; }
  .doc-hero { background: none; }
  .prose p, .prose li, .datalist dd, .datalist dt { color: #000; }
}

/* ==========================================================================
   Odtworzone ekrany aplikacji (1:1 z kodu, dane przykładowe) – niżej
   ========================================================================== */

/* Rama telefonu */
.device {
  --z: .9; zoom: var(--z); position: relative; flex: none;
  width: 419px; padding: 13px; border-radius: 62px;
  background: linear-gradient(150deg, #47566a 0%, #161d26 28%, #0b0f15 60%, #1c2430 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.07) inset, 0 0 0 2px #05080c, 0 0 120px -30px rgba(77,163,255,.35);
}
.screen { position: relative; width: 393px; height: 852px; border-radius: 49px; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.screen::after { content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #06090d; box-shadow: 0 0 0 2px #1b222b; z-index: 9; }

/* Wspólne dla ekranów aplikacji – 1 dp = 1 px, kolory z ui/Theme.kt (ciemny wygląd) */
.app { font-family: Roboto, "Segoe UI", system-ui, sans-serif; color: #fff; font-size: 14px; line-height: 1.3; letter-spacing: 0; text-align: left; -webkit-font-smoothing: antialiased; }
.app svg { display: inline-block; flex: none; }
.app p { margin: 0; }
.a-sb { flex: none; height: 34px; padding: 11px 28px 0 30px; display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.a-sb span { display: inline-flex; align-items: center; gap: 6px; }
.a-gap { flex: none; height: 6px; }
.a-gest { flex: none; height: 20px; display: grid; place-items: center; }
.a-gest i { width: 108px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); }

/* mapa (jasny styl OpenFreeMap „Liberty” – jak w aplikacji) */
.a-map { position: relative; flex: none; height: 340px; overflow: hidden; background: #f8f4f0; }
.a-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ml { font: 700 10px "Noto Sans", "Segoe UI", Roboto, sans-serif; fill: #222; stroke: #fff; stroke-width: 3.6px; paint-order: stroke; stroke-linejoin: round; }
.ml.city { font-size: 14px; fill: #333; font-weight: 600; letter-spacing: .02em; }
.ml.ap { font-size: 13px; fill: #111; stroke-width: 4px; }
.ml.min { font-size: 11px; fill: #444; }
.ml.tag { font-size: 11px; fill: #000; stroke: none; }
.a-mb { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.867); color: #000; border-radius: 8px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.a-mb.ap { left: 6px; top: 6px; padding: 5px 8px; }
.a-mb.sat { right: 6px; top: 6px; padding: 6px 10px; }
.a-legend { position: absolute; z-index: 2; top: 6px; left: 84px; right: 88px; display: flex; justify-content: center; }
.a-legend .a-mb { position: static; padding: 6px 8px; font-weight: 400; gap: 5px; }
.a-smp { position: relative; width: 18px; height: 6px; border-radius: 3px; background: rgba(27,35,51,.75); }
.a-smp::after { content: ""; position: absolute; left: 0; right: 0; top: 1.25px; height: 3.5px; border-radius: 2px; background: #19d3c5; opacity: .9; }
.a-smp.dep::after { background: #ff8a3d; }
.a-legend .gap { width: 5px; }
.a-pcard { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; background: rgba(255,255,255,.97); border: 1.3px solid #e540d9; border-radius: 5px; padding: 6px; font-size: 11.5px; line-height: 1.2; color: #111; }
.a-pcard .t { font-size: 13px; font-weight: 700; color: #a3189c; }
.a-pcard .t small { font-size: 10px; font-weight: 400; color: #555; margin-left: 6px; }
.a-pcard .o { color: #2e7d32; font-weight: 700; }
.a-pcard .age { font-size: 10px; color: #666; }
.a-pcard .sep { height: 1px; background: #ddd; margin: 1px 0; }
.a-pcard .pr { font-style: italic; color: #555; }
.a-pcard.trk { border-color: #1e88e5; }
.a-pcard.trk .t { font-size: 12px; color: #1565c0; }
.a-sel { position: absolute; z-index: 2; left: 8px; bottom: 8px; max-width: calc(100% - 62px); height: 40px; display: flex; align-items: center; background: rgba(16,20,24,.9); border-radius: 12px; padding-left: 12px; }
.a-sel b { color: #f59ceb; font-size: 15px; flex: none; }
.a-sel span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.a-sel .x { width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.a-zoom { position: absolute; z-index: 2; right: 6px; bottom: 6px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.867); display: grid; place-items: center; }

/* panel pod mapą */
.a-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #000; }
.a-handle { flex: none; height: 26px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #9fb0c2; }
.a-handle i { width: 48px; height: 6px; border-radius: 3px; background: #9fb0c2; }
.a-apbar { flex: none; padding: 0 14px 6px; }
.a-apbar .r1 { height: 20px; line-height: 20px; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-apbar .r1 em { font-style: normal; color: #4da3ff; }
.a-apbar .r2 { height: 20px; display: flex; align-items: center; gap: 6px; }
.a-apbar .r2 .sub { flex: 1; min-width: 0; font-size: 12px; line-height: 16px; color: #9fb0c2; white-space: nowrap; }
.a-apbar .r3 { height: 20px; line-height: 20px; font-size: 12px; color: #4da3ff; white-space: nowrap; }
.a-atis { display: inline-flex; align-items: center; gap: 3px; height: 18px; border-radius: 9px; padding: 0 8px; font-size: 11px; font-weight: 700; line-height: 13px; flex: none; }
.a-atis.ok { background: #3ad17a; color: #000; }
.a-atis.half { background: #ffb020; color: #000; }
.a-atis.none { border: 1px solid #9fb0c2; }
.a-ico34 { width: 34px; display: grid; place-items: center; flex: none; }
.a-help { width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.a-help i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9fb0c2; color: #9fb0c2; font: 700 12px/17px Roboto, "Segoe UI", sans-serif; font-style: normal; text-align: center; }
.a-div { flex: none; height: 1px; background: #2a2f36; }
.a-list { flex: 1; min-height: 0; overflow: hidden; padding: 0 12px; }
.a-lh { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.a-lh .a { color: #4da3ff; font-size: 13px; font-weight: 700; }
.a-lh .c { color: #ff3b3b; font-size: 15px; font-weight: 700; padding: 0 10px; }
.a-e { position: relative; overflow: hidden; background: #161b22; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.a-e.sel { padding-left: 15px; }
.a-e.sel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #e540d9; }
.a-sr { display: flex; align-items: center; gap: 6px; }
.a-pill { font-size: 15px; font-weight: 700; line-height: 1.25; border: 1.5px solid #9fb0c2; border-radius: 10px; padding: 0 8px; white-space: nowrap; }
.a-pill.sel { border-color: #e540d9; color: #f59ceb; }
.a-pill.trk { border-color: #4da3ff; color: #9ccbff; }
.a-pill.fix { border-color: #4da3ff; border-style: dashed; color: #9ccbff; }
.a-pill.none { border-color: transparent; padding: 0; }
.a-pill.sus { border-color: transparent; color: #ffb020; padding: 0; }
.a-who { font-size: 14px; color: #9fb0c2; white-space: nowrap; }
.a-tm { margin-left: auto; padding-left: 8px; font-size: 12px; color: #9fb0c2; }
.a-tx { margin-top: 2px; font-size: 15px; line-height: 1.3; }
.a-tx u { text-underline-offset: 2px; }
.a-more { display: block; text-align: right; color: #4da3ff; font-size: 13px; font-weight: 700; padding: 6px 0 2px 12px; }
.a-chg { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; background: #2a2f36; border-radius: 18px; padding: 9px 14px; font-size: 14px; }

/* pasek nasłuchu i dolny pasek */
.a-lb { flex: none; display: flex; align-items: center; background: #161b22; padding: 8px 12px; }
.a-lb .col { flex: 1; min-width: 0; }
.a-lb .l1 { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; color: #ff3b3b; }
.a-lb .l1 .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; }
.a-lb .l1 .dur { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 400; color: #9fb0c2; padding-left: 8px; }
.a-lvl { position: relative; margin-top: 4px; height: 18px; border-radius: 6px; background: #2a2f36; overflow: hidden; }
.a-lvl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 66%; background: #ff3b3b; animation: lvl 2.6s ease-in-out infinite; }
.a-lvl::after { content: ""; position: absolute; left: 44%; top: 0; bottom: 0; width: 3px; background: #fff; }
@keyframes lvl { 0%, 100% { width: 66%; } 18% { width: 52%; } 35% { width: 78%; } 55% { width: 58%; } 75% { width: 71%; } }
.a-stop { position: relative; flex: none; width: 52px; height: 52px; margin-left: 10px; border-radius: 16px; background: #2a2f36; display: grid; place-items: center; }
.a-stop::before { content: ""; width: 18px; height: 18px; border-radius: 3px; background: #fff; }
.a-stop::after { content: ""; position: absolute; inset: 0; border-radius: 16px; border: 2.5px solid #ff3b3b; animation: pulse .8s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: .3; } }
.a-nav { flex: none; display: flex; gap: 6px; padding: 6px 10px; }
.a-tab { flex: 1; height: 44px; border-radius: 18px; background: #161b22; display: grid; place-items: center; font-size: 15px; }
.a-tab.on { background: #4da3ff; color: #000; font-weight: 700; }
.a-nb { flex: none; width: 48px; height: 44px; border-radius: 18px; background: #161b22; display: grid; place-items: center; color: #fff; }
.a-nb.on { background: #4da3ff; color: #000; }

/* okna wysuwane od dołu */
.sheet { --z: .92; zoom: var(--z); position: relative; width: 393px; background: #000; border-radius: 28px 28px 0 0; padding: 0 16px 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 50px 100px -30px rgba(0,0,0,.95); }
.sheet.fade { max-height: var(--h, 640px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.a-grab { height: 48px; display: grid; place-items: center; }
.a-grab i { width: 32px; height: 4px; border-radius: 2px; background: #9fb0c2; }
.a-hdr { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.a-hdr h4 { flex: 1; margin: 0; font: 700 18px/1.3 Roboto, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; }
.a-sec { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: #9fb0c2; text-transform: uppercase; }
.a-card { background: #161b22; border-radius: 10px; }
.a-kv { display: flex; padding: 1px 0; }
.a-kv .k { flex: none; width: 118px; font-size: 13px; color: #9fb0c2; padding-top: 1px; }
.a-kv .v { flex: 1; min-width: 0; font-size: 14px; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border-radius: 20px; padding: 8px 14px; background: #161b22; font-size: 15px; }
.a-chip.on { background: #4da3ff; color: #000; font-weight: 700; }
.a-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 22px; padding: 10px 14px; font-size: 15px; font-weight: 700; }
.a-btn.pri { background: #4da3ff; color: #000; }
.a-btn.sec { background: #2a2f36; }
.a-btns { display: flex; gap: 8px; margin-top: 8px; }
.a-btns .a-btn { flex: 1; }
.a-m11 { font-size: 11px; color: #9fb0c2; }
.a-m12 { font-size: 12px; color: #9fb0c2; }
.a-m13 { font-size: 13px; color: #9fb0c2; }
.a-green { color: #3ad17a; }
.a-blue { color: #4da3ff; }
.a-b { font-weight: 700; }
.a-mt2 { margin-top: 2px; } .a-mt4 { margin-top: 4px; } .a-mt6 { margin-top: 6px; } .a-mt8 { margin-top: 8px; } .a-mt14 { margin-top: 14px; }
.a-chrow { display: flex; align-items: center; padding: 9px 11px 9px 14px; }
.a-chrow + .a-chrow { border-top: 1px solid #2a2f36; }
.a-chrow .nm { flex: 1; min-width: 0; }
.a-chrow .nm b { font-size: 14px; font-weight: 400; }
.a-chrow .f { font-size: 16px; font-weight: 700; padding-left: 8px; }
.a-chrow .mt { font-size: 12px; font-weight: 700; color: #4da3ff; padding-left: 8px; white-space: nowrap; }
.a-chosen { position: relative; background: #132232; }
.a-chosen::before { content: ""; position: absolute; left: 2.5px; top: 5px; bottom: 5px; width: 6px; border: 3px solid #4da3ff; border-right: 0; border-radius: 5px 0 0 5px; }
.a-chosen .nm b, .a-chosen .f, .a-chosen .lbl { color: #9ccbff; font-weight: 700; }
.a-fav { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 12px; border-radius: 18px; border: 1px solid #4da3ff; color: #4da3ff; font-size: 14px; }
.a-photo { position: relative; height: 190px; margin-top: 4px; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #5d93cc 0%, #9cc1e6 55%, #d6e4f1 100%); }
.a-photo svg { position: absolute; left: 50%; top: 54%; width: 310px; transform: translate(-50%, -50%); }
.a-credit { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 8px; font-size: 12px; }
.a-check { flex: none; width: 18px; height: 18px; border-radius: 2px; background: #4da3ff; display: grid; place-items: center; }
.a-check.dim { opacity: .38; }
.a-badge { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #1e88e5; background: rgba(30,136,229,.22); display: grid; place-items: center; }
.a-qrow { display: flex; align-items: center; padding: 5px 0; font-size: 15px; }
.a-qrow .ty { font-size: 13px; color: #9fb0c2; margin-left: 8px; }
.a-qrow .r { margin-left: auto; font-size: 14px; }
.a-qrow .r.go { color: #3ad17a; font-weight: 700; }
.a-qrow .r.est { color: #9fb0c2; font-style: italic; }
.a-atiscard { background: #161b22; border-radius: 10px; padding: 10px; }
.a-atiscard .ttl { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #3ad17a; }
.a-grp { margin-top: 6px; font-size: 12px; font-weight: 700; }
.a-grp.warn { color: #ffb020; }
.a-kv.atis .k { width: 128px; }
.a-kv.atis .v { font-size: 13px; }
.a-kv.sum .k { width: 150px; font-size: 14px; }
.a-warnbox { background: #2a2410; border-radius: 10px; padding: 12px; margin-top: 10px; }
.a-warnbox b { display: flex; align-items: center; gap: 6px; color: #ffb020; font-size: 15px; }
.a-warnbox p { margin-top: 4px; font-size: 14px; }

/* Historia */
.a-hist { padding: 0 12px 12px; }
.a-hist .hh { display: flex; align-items: center; gap: 8px; padding: 8px 0 4px; }
.a-hist .hh h4 { flex: 1; margin: 0; font: 700 20px/1.3 Roboto, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; }
.a-month { display: flex; align-items: center; justify-content: space-between; }
.a-month span { color: #4da3ff; font-size: 26px; padding: 0 14px; line-height: 1.2; }
.a-month b { font-size: 16px; }
.a-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; font-size: 12px; color: #9fb0c2; text-align: center; }
.a-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.a-days > span { height: 50px; border-radius: 8px; background: #161b22; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; }
.a-days > span.e { background: transparent; }
.a-days > span.sel { box-shadow: inset 0 0 0 2px #4da3ff; }
.a-days > span.td { font-weight: 700; text-decoration: underline; }
.a-days i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #4da3ff; color: #000; font-size: 12px; font-weight: 700; display: grid; place-items: center; text-decoration: none; }
.a-day { padding: 12px 0 6px; font-size: 15px; font-weight: 700; }
.a-sess { background: #161b22; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; }
.a-sess .s1 { display: flex; font-size: 15px; font-weight: 700; }
.a-sess .s1 span { margin-left: auto; color: #9fb0c2; font-size: 18px; font-weight: 400; line-height: 1; }

/* powiadomienia i widżet (powiadomienia rysuje Android – tu przybliżenie) */
.lock { --z: .9; zoom: var(--z); position: relative; width: 393px; border-radius: 32px; overflow: hidden; padding: 26px 14px 18px; background: radial-gradient(120% 80% at 20% 0%, #24456b 0%, #0e1a2b 45%, #070b11 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 50px 100px -30px rgba(0,0,0,.95); }
.lock .clock { text-align: center; font: 300 64px/1 Roboto, "Segoe UI", system-ui, sans-serif; letter-spacing: -0.02em; }
.lock .date { text-align: center; font-size: 15px; color: #c9d4e0; margin: 6px 0 22px; }
.ntf { background: rgba(32, 38, 46, .92); border-radius: 22px; padding: 13px 16px; margin-top: 8px; }
.ntf .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #b9c4d0; }
.ntf .t { margin-top: 5px; font-size: 15px; font-weight: 700; }
.ntf .x { font-size: 14px; color: #dbe3ec; margin-top: 2px; }
.widget { --z: .92; zoom: var(--z); width: 360px; padding: 12px; border-radius: 18px; background: rgba(26,32,41,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.95); }
.widget .w1 { display: flex; align-items: baseline; }
.widget .w1 b { flex: 1; font-size: 14px; color: #e8edf2; }
.widget .w1 span, .widget .ch { font-size: 12px; color: #8a97a6; }
.widget .msg { margin-top: 6px; font-size: 13px; color: #e8edf2; }
.widget .wb { margin-top: 8px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 15px; font-weight: 700; background: #2c3440; box-shadow: inset 0 0 0 2px #ff3b3b; }

/* rozmieszczenie ilustracji */
.art-stack { position: relative; display: flex; justify-content: center; align-items: flex-start; width: 100%; }
.art-stack .back { position: relative; z-index: 1; }
.art-stack .front { position: absolute; z-index: 2; }
.crop { --z: .9; zoom: var(--z); position: relative; width: 393px; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 50px 100px -30px rgba(0,0,0,.95); background: #000; }
.cap { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: center; }

/* położenie kart na mapach (współrzędne jak w aplikacji: lewy dolny róg karty 10 dp w prawo i 10 dp nad samolotem) */
.pc-hero { left: 206px; bottom: 180px; }
.pc-ent { left: 68px; bottom: 86px; }
.pc-crop { left: 220px; bottom: 96px; }
.a-map.tall { height: 420px; }
.qn text { font: 700 10px Roboto, "Segoe UI", sans-serif; fill: #fff; }
.a-ring { color: #1e88e5; }
.a-black { color: #000; }
.a-bl { color: #4da3ff; }
.a-grey { color: #b0b8c2; }
.a-seltx { color: #f59ceb; }
.a-s12 { font-size: 12px; } .a-s13 { font-size: 13px; } .a-s14 { font-size: 14px; }
.a-m14 { font-size: 14px; color: #9fb0c2; }
.a-kv .k.k130 { width: 130px; font-size: 14px; }
.a-chips { display: flex; gap: 8px; }
.a-trackrow { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.a-trackrow .a-check { margin: 0 6px 0 4px; }
.a-ic { display: flex; align-items: center; gap: 4px; }
.a-setrow { display: flex; align-items: center; padding: 11px 11px 11px 14px; }
.a-setrow .nm { flex: 1; min-width: 0; }
.a-setrow .nm > b { font-size: 15px; font-weight: 400; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.a-setrow .chev { color: #9fb0c2; font-size: 20px; padding-left: 8px; }
.a-setrow.a-chosen .nm b.lbl { font-weight: 700; color: #9ccbff; }
.a-setrow .l1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.a-setrow .l1 b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.a-setrow .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-setrow .ell b { display: inline; font-size: 12px; font-weight: 700; }
.step-art { zoom: .94; }
.a-lb.rounded { border-radius: 14px; }

/* pływające okna w nagłówku */
.float .sheet { zoom: 1; width: 320px; background: transparent; box-shadow: none; border-radius: 0; padding: 4px 14px 12px; }
.fl-queue { left: -72px; top: 330px; }
.stage .device { --z: .84; }
.fr-queue { right: -120px; bottom: -130px; }
#funkcje { overflow-x: clip; }
.fr-queue .sheet { --z: .86; width: 360px; border-radius: 28px; }
.art-stack.tall-3 { margin-bottom: 150px; }
.fl-ntf { right: -130px; top: auto; bottom: 170px; width: 320px; background: transparent; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); border-radius: 22px; }
.fl-ntf .ntf { margin: 0; background: rgba(36, 42, 51, .95); box-shadow: 0 0 0 1px rgba(255,255,255,.1); }

/* ilustracje w sekcjach funkcji */
.list-crop { padding-top: 12px; }
.hist-crop { padding-bottom: 6px; }
.sh-plane { --h: 760px; }
.sh-airport { --h: 600px; }
.fr-entry { --z: .8; right: -24px; top: 190px; }
.fr-atis { right: -56px; top: 330px; width: 330px; zoom: .92; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -24px rgba(0,0,0,.95); border-radius: 10px; }
.fr-sess { --z: .8; right: -24px; top: 300px; }
.fr-widget { right: -20px; bottom: -36px; }
.art-stack.tall-1 { min-height: 760px; }
.art-stack.tall-4 { min-height: 660px; }
.art-stack.tall-5 { min-height: 720px; }

/* siatka zalet */
.a-chg.big { margin: 0; font-size: 15px; }
.a-help.big { width: 54px; height: 54px; }
.a-help.big i { width: 40px; height: 40px; font-size: 22px; line-height: 36px; border-width: 2px; }
.a-badge.big { width: 46px; height: 46px; border-width: 2.5px; }
.a-mb.static { position: static; padding: 8px 14px; font-size: 15px; }
.t-planes { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.t-planes span { margin-right: 14px; }
.t-modes { display: inline-flex; gap: 10px; }
.t-modes i { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--edge-2); }
.t-modes .m-dark { background: linear-gradient(160deg, #161b22 50%, #000 50%); }
.t-modes .m-light { background: linear-gradient(160deg, #fff 50%, #f4f6f9 50%); }
.t-noacc { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -0.02em; color: var(--green); }
.mini-choice { width: 240px; }

/* pomoc – zachęta */
.help-art { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hf-demo { background: #000; border: 1px solid #2a2f36; border-radius: 16px; padding: 18px; }
.hf-demo .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.step-art .a-sec { margin-top: 0; }

@media (max-width: 1060px) {
  .device { --z: .82; }
  .fl-queue { left: 0; top: auto; bottom: 40px; }
  .fl-ntf { right: 0; }
  .art-stack.tall-1, .art-stack.tall-4, .art-stack.tall-5 { min-height: 0; }
}
@media (max-width: 760px) {
  .device { --z: .8; }
  .sheet, .crop, .lock { --z: .82; }
  .widget { --z: .86; }
  .art-stack { flex-direction: column; align-items: center; gap: 18px; }
  .art-stack .front { position: relative; inset: auto !important; }
}
@media (max-width: 400px) {
  .device { --z: .76; }
  .sheet, .crop, .lock { --z: .78; }
  .widget { --z: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .a-lvl::before, .a-stop::after { animation: none; }
}

/* ==========================================================================
   Pomoc – nowy wygląd: spis jako rozwijane grupy, ikony grup, „Gdzie to jest”, ekran przy wstępie, bursztynowe wyróżniki 
   ========================================================================== */

/* spis – drzewo */
.toc.tree { border: 0; }
.toc.tree > p { margin-bottom: 12px; }
.tree-g { margin-bottom: 4px; }
.tree-g > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--text); }
.tree-g > summary::-webkit-details-marker { display: none; }
.tree-g > summary:hover { background: var(--panel-2); }
.tree-g > summary::after { content: ""; width: 7px; height: 7px; margin: 0 4px 0 2px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); transition: transform .2s; }
.tree-g[open] > summary::after { transform: rotate(45deg); }
.tree-n { flex: 1; min-width: 0; }
.tree-c { font-size: 12px; font-weight: 700; color: var(--amber); background: rgba(255, 176, 32, .14); border-radius: 999px; padding: 1px 8px; }
.tree-g > ol { list-style: none; margin: 2px 0 10px 22px; padding: 0 0 0 12px; border-left: 1px solid var(--edge-2); }
.tree-g > ol a { display: block; padding: 4px 0 4px 10px; font-size: 14.5px; line-height: 1.35; border-left: 2px solid transparent; margin-left: -13px; }
.tree-g > ol a:hover { border-left-color: var(--amber); text-decoration: none; }

/* ikony grup */
.hg-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.hg-ico svg { width: 18px; height: 18px; }
.hg-ico.big { width: 48px; height: 48px; border-radius: 14px; }
.hg-ico.big svg { width: 26px; height: 26px; }
.c-orange { background: rgba(255, 138, 0, .18); color: #ffb35c; }
.c-blue { background: rgba(77, 163, 255, .18); color: #8cc4ff; }
.c-green { background: rgba(58, 209, 122, .18); color: #6fe3a1; }
.c-cyan { background: rgba(25, 211, 197, .18); color: #5fe6dc; }
.c-amber { background: rgba(255, 176, 32, .2); color: #ffc75a; }
.c-violet { background: rgba(150, 130, 255, .2); color: #bcaeff; }
.c-slate { background: rgba(255, 255, 255, .1); color: #d3deea; }
.c-red { background: rgba(255, 59, 59, .18); color: #ff9090; }

/* treść: grupy i rozdziały */
.page-help .prose { max-width: 920px; }
.help-group + .help-group { margin-top: 72px; }
.hg-band { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 36px; border-radius: 16px; background: linear-gradient(90deg, rgba(255, 176, 32, .16), rgba(255, 176, 32, 0) 70%); border-left: 4px solid var(--amber); }
.hg-band span:last-child { font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.hc-head { display: flex; align-items: center; gap: 14px; }
.hc-head h2 { margin: 0 !important; font-size: 30px; }
.hc-where { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 18px !important; padding: 6px 13px; border-radius: 999px; background: rgba(255, 176, 32, .12); color: var(--amber) !important; font-size: 14px !important; font-weight: 600; }
.hc-where svg { width: 16px; height: 16px; flex: none; }
.hc-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: start; margin-bottom: 8px; }
.hc-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.hc-fig .crop, .hc-fig .sheet { --z: .9; }
.hc-fig .sheet.fade { --h: 560px; }
.hc-fig .device { --z: .52; }
.hc-fig .lock { --z: .72; }
.hc-fig .a-atiscard { zoom: .92; width: 330px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -24px rgba(0,0,0,.9); }
.hc-fig figcaption { margin-top: 12px; max-width: 300px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }

/* bursztynowe wyróżniki w tekście */
.page-help .prose h3 { color: var(--amber); }
.page-help .prose ul > li::marker { color: var(--amber); }
.page-help .prose ol { list-style: none; counter-reset: n; padding-left: 0; }
.page-help .prose ol > li { counter-increment: n; position: relative; padding-left: 38px; margin: 10px 0; }
.page-help .prose ol > li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: #2a1a00; font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* ekrany pomocy, których nie ma na stronie głównej */
.tab-crop { padding-bottom: 6px; }
.a-tabtop { display: grid; gap: 4px; padding: 6px 12px; }
.a-seg { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: #161b22; }
.a-seg span { flex: 1; text-align: center; padding: 8px 6px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.a-seg span.on { background: #132232; color: #9ccbff; font-weight: 700; }
.a-tabsum { display: flex; align-items: center; }
.a-r36 { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.a-tabsum .sum { flex: 1; min-width: 0; font-size: 12px; color: #9fb0c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-grph { font-size: 12px; font-weight: 700; color: #9fb0c2; padding: 8px 0 4px 28px; }
.a-tablist { margin: 0 12px; }
.a-tablist > div + div { border-top: 1px solid #2a2f36; }
.a-amber { color: #ffb020; }
.a-muted { color: #9fb0c2; }
.a-plrow { display: flex; align-items: center; padding: 4px 11px 4px 4px; }
.a-plrow .ic48 { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.a-plrow .tx { flex: 1; min-width: 0; padding: 5px 0 5px 6px; }
.a-plrow .tx b { font-size: 15px; }
.a-plrow .s { font-size: 12px; }
.a-plrow .chev { color: #9fb0c2; font-size: 20px; padding-left: 8px; }
.a-badge.sel { border-color: #e540d9; background: rgba(229, 64, 217, .22); color: #e540d9; }

@media (max-width: 1100px) {
  .hc-intro { grid-template-columns: minmax(0, 1fr); }
}

/* ekrany pomocy składane z klocków */
.hs { width: 393px; }
.hs.flat { border-radius: 22px; padding: 12px 16px 18px; }
.hs.fade { --h: 600px; max-height: var(--h); overflow: hidden; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.hs .a-sec:first-child { margin-top: 2px; }
.hs-stack .a-lb { margin-top: 4px; }
.hs-crop.pad { padding-top: 10px; }
.a-hdr h4.big { font-size: 22px; }
.a-tablist0 > div + div { border-top: 1px solid #2a2f36; }
.a-setrow .lbl.st { font-weight: 400; color: #fff; }
.a-gl { margin-right: 5px; }
.a-choices > div + div { border-top: 1px solid #2a2f36; }
.a-chrow2 { padding: 10px 11px 10px 14px; }
.a-chrow2 .lbl { display: block; font-size: 15px; font-weight: 400; }
.a-chrow2 p { margin-top: 1px; }
.a-chk { display: flex; align-items: center; gap: 12px; margin-top: 6px; min-height: 40px; }
.a-chk b { font-size: 14px; }
.a-box { flex: none; width: 18px; height: 18px; margin: 0 3px; border-radius: 2px; border: 2px solid #9fb0c2; display: grid; place-items: center; color: #000; }
.a-box.on { background: #4da3ff; border-color: #4da3ff; }
.a-chkab { padding: 0 8px 0 12px; }
.a-ml { margin-left: 4px; }
.a-indent { padding-left: 26px; margin-top: 10px; }
.a-s15 { font-size: 15px; }
.a-s15.a-b, .a-indent > .a-s15 { margin-bottom: 6px; }
.a-field { margin-top: 2px; border: 1px solid #2a2f36; border-radius: 4px; padding: 16px 14px; font-size: 15px; color: #9fb0c2; }
.a-warnline { display: flex; gap: 6px; color: #ffb020; font-size: 14px; }
.a-warnline svg { margin-top: 2px; }
.a-ico34.hl { position: relative; }
.a-ico34.hl::after { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2.5px #ffb020; }
.a-map.strip { height: 92px; }
.a-map.strip.tall2 { height: 150px; }
.a-arch-top { display: flex; align-items: center; gap: 8px; background: #2a2f36; padding: 8px 12px; font-size: 14px; }
.a-arch-top b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-arch-top .a-blue { font-size: 13px; }
.a-arch-bot { background: #161b22; padding: 6px 12px 10px; }
.a-arch-bot .r { display: flex; align-items: center; gap: 8px; height: 44px; }
.a-play { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #4da3ff; color: #000; display: grid; place-items: center; }
.a-arch-bot .tm { font-size: 13px; }
.a-slider { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #2a2f36; margin: 0 8px; }
.a-slider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: 2px; background: #4da3ff; }
.a-slider i { position: absolute; left: 42%; top: -12px; width: 4px; height: 28px; margin-left: -2px; border-radius: 2px; background: #4da3ff; box-shadow: 0 0 0 3px #000; }
.a-speed { flex: none; font-size: 13px; font-weight: 700; color: #4da3ff; border: 1.5px solid #4da3ff; border-radius: 8px; padding: 2px 7px; }
.a-arch-bot .a-btn { margin-top: 2px; }
.atis-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.atis-states p { margin-top: 6px !important; }
.a-atis.stale { background: #2a2f36; color: #fff; }
.a-offline { display: flex; align-items: center; gap: 6px; background: #2a2410; color: #ffb020; padding: 10px 14px; font-size: 14px; }
.a-offline b { flex: 1; }

/* pary okien: równo obok siebie – ta sama wielkość, górne krawędzie w jednej linii, para wyśrodkowana, nic nie zachodzi */
.row:has(.art-stack) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 48px; }
.row.flip:has(.art-stack) { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.art-stack { display: flex; justify-content: center; align-items: flex-start; gap: 22px; min-height: 0 !important; margin-bottom: 0 !important; }
.art-stack .back, .art-stack .front { position: relative; inset: auto !important; }
.art-stack .crop, .art-stack .sheet { --z: .8; }
.art-stack .sheet { border-radius: 26px; }
.art-stack .fr-queue .sheet { --z: .8; width: 360px; }
.art-stack .fr-atis { zoom: .92; }
.art-stack .lock { --z: .78; }
.art-stack .widget { --z: .86; align-self: center; }
@media (min-width: 1061px) and (max-width: 1240px) {
  .art-stack .crop, .art-stack .sheet, .art-stack .fr-queue .sheet { --z: .72; }
  .art-stack .fr-atis { zoom: .84; }
  .art-stack .lock { --z: .7; }
  .art-stack .widget { --z: .78; }
}
@media (max-width: 1060px) {
  .row:has(.art-stack), .row.flip:has(.art-stack) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .art-stack { flex-direction: column; align-items: center; gap: 18px; }
  .art-stack .crop, .art-stack .sheet, .art-stack .fr-queue .sheet { --z: .82; }
  .art-stack .lock { --z: .82; }
  .art-stack .widget { --z: .86; align-self: center; }
}
@media (max-width: 400px) {
  .art-stack .crop, .art-stack .sheet, .art-stack .fr-queue .sheet, .art-stack .lock { --z: .78; }
}
