/* DJ MEBLE PRO — strona: ciemne kino, snop światła i złote akcenty jak w filmie; pokazy programu jak przewodnik „Pomoc” w programie.
   Pismo systemowe (bez pobierania czcionek). Ekrany i nagrania z prawdziwego programu. */
:root {
  --tlo: #0b0d0b; --tlo2: #111410; --tlo3: #171b16; --linia: rgba(211, 173, 117, .22); --linia2: rgba(255, 255, 255, .08);
  --tekst: #f4efe6; --cichy: #aaa395; --cichy2: #8a8476;
  --zloto: #d9b07a; --zloto1: #ecca93; --zloto2: #d3ad75; --zloto3: #b48a45;
  --zl-pas: linear-gradient(180deg, var(--zloto1), var(--zloto2) 52%, var(--zloto3));
  --zl-tekst: linear-gradient(100deg, #f3dcb2 0%, #d9b07a 45%, #b9884a 100%);
  --cien: 0 30px 80px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .4);
  --szer: 1240px; --bok: clamp(16px, 4vw, 48px); --r: 16px;
  --pismo: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tlo); color: var(--tekst); font: 400 17px/1.6 var(--pismo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
::selection { background: rgba(217, 176, 122, .35); }
:focus-visible { outline: 2px solid var(--zloto1); outline-offset: 3px; border-radius: 6px; }

/* snop światła z prawej u góry i ciemne rogi — jak w intro 3D */
.snop { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(118deg, transparent 52%, rgba(236, 202, 147, .045) 60%, rgba(236, 202, 147, .075) 64%, rgba(236, 202, 147, .03) 70%, transparent 78%),
    radial-gradient(ellipse 70% 55% at 85% -5%, rgba(236, 190, 120, .10), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
main, .stopka, .pasek { position: relative; z-index: 1; }

/* ---------- pasek u góry ---------- */
.pasek { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 var(--bok);
  background: rgba(11, 13, 11, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--linia2); transform: translateY(-100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pasek.widac { transform: none; }
.pasek-logo img { height: 40px; width: auto; }
.pasek-menu { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.pasek-menu::-webkit-scrollbar { display: none; }
.pasek-menu a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--cichy); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .25s, background .25s; }
.pasek-menu a:hover { color: var(--tekst); }
.pasek-menu a.on { color: #1b150c; background: var(--zl-tekst); }
/* przełącznik wersji strony (wersje.js): Pokaz — interaktywny przewodnik (index.html) | Opis — pełny opis do czytania (opis.html) */
.wersja { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--linia2); }
.wersja a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--cichy); white-space: nowrap; transition: color .2s, background .2s; }
.wersja a:hover { color: var(--tekst); background: rgba(255, 255, 255, .07); }
.wersja a[aria-current="page"] { color: var(--zloto1); background: rgba(217, 176, 122, .15); box-shadow: inset 0 0 0 1px rgba(217, 176, 122, .5); }   /* bieżąca wersja — spokojniej niż złote menu */
.wersja svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.start-inna, .cennik-dalej { color: var(--cichy); font-size: 15.5px; margin-top: 22px; }
.cennik-dalej { text-align: center; margin: -40px 0 clamp(70px, 10vh, 120px); }
.start-inna a, .cennik-dalej a, .stopka-wersje a { color: var(--zloto1); font-weight: 700; text-decoration: none; }
.start-inna a:hover, .cennik-dalej a:hover, .stopka-wersje a:hover { text-decoration: underline; }
.stopka-wersje { margin-top: 8px; }
.final .start-przyciski { position: relative; }
.przycisk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pasek-postep { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--zl-pas); transform-origin: 0 50%; transform: scaleX(var(--postep, 0)); }

/* ---------- przyciski ---------- */
.przycisk { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-size: 16px; font-weight: 700; letter-spacing: .01em; color: #1b150c; padding: 14px 26px; border-radius: 999px;
  background: var(--zl-tekst); box-shadow: 0 10px 30px rgba(217, 176, 122, .22), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .2s, box-shadow .2s; }
.przycisk:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(217, 176, 122, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.przycisk small { font-weight: 600; opacity: .7; font-size: 13px; }
.przycisk.pusty { background: transparent; color: var(--tekst); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .28); }
.przycisk.pusty:hover { box-shadow: inset 0 0 0 1px var(--zloto); color: var(--zloto1); }
.przycisk.maly { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.pasek .przycisk.maly { background: transparent; color: var(--tekst); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .26); }   /* w pasku obok przełącznika wersji — bez złota, żeby nie mylił się z „Pokaz” */
.pasek .przycisk.maly:hover { color: var(--zloto1); box-shadow: inset 0 0 0 1px var(--zloto); transform: none; }

/* ---------- start ---------- */
/* Intro bez „okna” (Daniel 21.11.2026: „intro jest oknem w prostokącie i nie pasuje do tła — ma być idealnie połączone”):
   kadr zawsze 16:9 (bez przycinania nagrania), wszystkie brzegi łagodnie wygaszone do tła, za logo ciepła poświata w barwie intro.
   Na starcie kadr powiększony na cały ekran (--ks, --py liczy strona.js), po złożeniu logo płynnie maleje; wielkość z wysokości ekranu,
   więc na szerokim monitorze logo nie wchodzi na hasło. */
.start { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(ellipse 48% 46% at 50% var(--kc, 32%), rgba(84, 48, 14, .34), rgba(40, 22, 6, .12) 55%, transparent 78%); }
.start-kadr { position: absolute; left: 50%; top: var(--kt, 3vh); width: var(--kw, 60vw); aspect-ratio: 16 / 9; margin-left: calc(var(--kw, 60vw) / -2);
  transform: translateY(var(--py, 0px)) scale(var(--ks, 1)); transform-origin: 50% 50%; transition: transform 1.8s cubic-bezier(.65, 0, .25, 1);
  /* owalne wygaszenie jak światło reflektora (bez kształtu prostokąta) + brzegi kadru zawsze w pełni wygaszone */
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 45%, #000 56%, transparent 97%), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 80%, transparent);
  -webkit-mask-composite: source-in, source-in;
  mask-image: radial-gradient(ellipse 60% 62% at 50% 45%, #000 56%, transparent 97%), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 80%, transparent);
  mask-composite: intersect, intersect; }
.start.koniec .start-kadr { --ks: 1; --py: 0px; }
.start-wideo, .start-koniec { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.start-koniec { opacity: 0; transition: opacity .6s; }
.start.stop .start-koniec { opacity: 1; }
.start-tekst { position: relative; width: min(var(--szer), 100%); margin: calc(var(--kt, 3vh) + var(--kw, 60vw) * .47) auto 0; padding: 0 var(--bok) clamp(70px, 9vh, 110px); text-align: center;
  opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.start.tekst .start-tekst { opacity: 1; transform: none; }
/* znacznik rozdziału: krótka złota linia wymiarowa |—| + wersaliki (STYL.md) */
.znak { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--zloto2); margin-bottom: 14px; }
.znak::before { content: ""; flex: none; width: 30px; height: 9px; box-sizing: border-box; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.2px no-repeat; opacity: .85; }
.start h1 { font-size: clamp(32px, min(4.6vw, 6.4vh), 64px); line-height: 1.12; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
/* złoty napis: miejsce na ogonki liter (ę, j, y, p) — inaczej przycięte — i cień jako filtr (cień tekstu przybrudzał złoto) */
.start h1 span { display: block; padding: .02em .04em .16em; margin-bottom: -.1em; background: var(--zl-tekst); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .55)); }
.start-opis { max-width: 640px; margin: 18px auto 0; color: #d9d2c4; font-size: clamp(16px, 1.5vw, 19px); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.start-przyciski { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.start-dalej { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .4); z-index: 2; opacity: 0; transition: opacity 1s .4s; }
.start.tekst .start-dalej { opacity: 1; }
.start-dalej i { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--zloto1); animation: kolko 1.8s infinite; }
@keyframes kolko { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- rozdziały ---------- */
.rozdzial { width: min(var(--szer), 100%); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--bok) 0; }
.wstep { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 7vh, 80px); }
.wstep h2 { font-size: clamp(32px, 4.6vw, 60px); }
.wstep > p:last-child { color: var(--cichy); font-size: clamp(16px, 1.4vw, 19px); margin-top: 16px; }
.wstep strong { color: var(--zloto1); font-weight: 700; }

/* tytuł jak podpis w filmie: złoty pasek + ciemna tabliczka */
.napis { display: inline-flex; align-items: stretch; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.napis i { width: 6px; border-radius: 4px 0 0 4px; background: var(--zl-pas); flex: none; }
.napis span { display: block; background: rgba(23, 27, 22, .92); border: 1px solid var(--linia); border-left: 0; border-radius: 0 12px 12px 0; padding: 10px 22px 12px 16px;
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.napis b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--zloto2); margin-bottom: 3px; }
.napis.duzy span { font-size: clamp(24px, 3.4vw, 44px); padding: 14px 28px 16px 20px; }
.napis.duzy b { font-size: 13px; }
.opis { color: var(--cichy); font-size: clamp(16px, 1.35vw, 18px); max-width: 760px; margin-top: 16px; }


.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wstep-rozdzialu .otwor { display: grid; margin: 0 auto 26px; }
.wstep-rozdzialu { width: min(var(--szer), 100%); margin: 0 auto; padding: clamp(90px, 16vh, 170px) var(--bok) clamp(40px, 8vh, 80px); }

/* ---------- samouczki: jak przewodnik „Pomoc” w programie (Program/zrodla/pomoc.css) ----------
   Prawdziwy ekran programu na cały ekran, podświetlone miejsce z pulsującą złotą obwódką, reszta przyciemniona (#0b100d, 75%),
   jasna karta z numerem rozdziału, „Krok 2 z 5”, paskiem postępu i przyciskami Wstecz / Dalej. */
.sam { position: relative; height: 400vh; }
.sam-przyklej { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0e110d; isolation: isolate; }
.sam-scena { position: absolute; left: 0; top: 0; width: 100vw; aspect-ratio: 16 / 9; }
.sam-tlo { position: absolute; inset: -6%; background: #0e110d center / cover no-repeat; filter: blur(42px) brightness(.34) saturate(1.15); pointer-events: none; }
.sam-scena > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; transition: opacity .28s ease; user-select: none; -webkit-user-drag: none; }
.sam-scena > img.tu { opacity: 1; }
.sam-film { position: absolute; z-index: 3; overflow: hidden; opacity: 0; transition: opacity .3s ease; background: #1b1f1a; }
.sam-film.on { opacity: 1; }
.sam-film video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; }
.sam-film video.on { opacity: 1; }
.sam-film video.teraz { z-index: 2; }
.sam-dziura { position: absolute; left: 0; top: 0; z-index: 4; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 300vmax rgba(11, 16, 13, var(--ciemno, .2)); }
.sam-dziura::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: var(--ring, 0);
  box-shadow: 0 0 0 2px #e2b36b, 0 0 0 6px #e2b36b40, 0 0 28px 4px #e2b36b66; animation: samPuls 1.8s ease-in-out infinite; }
@keyframes samPuls { 50% { box-shadow: 0 0 0 2px #f0c47c, 0 0 0 10px #e2b36b26, 0 0 36px 8px #e2b36b80; } }
.sam-kursor { position: absolute; left: 0; top: 0; z-index: 6; width: 30px; height: 30px; opacity: 0; pointer-events: none; transform-origin: 5px 3px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); }
.sam-klik { position: absolute; z-index: 5; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 3px solid #f0c47c; background: rgba(240, 196, 124, .28); opacity: 0; pointer-events: none; }
.sam-klik.pyk { animation: samPyk .5s ease-out; }
@keyframes samPyk { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }
.sam-cel { position: absolute; z-index: 5; display: none; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }

.sam-karta { position: absolute; left: 0; top: 0; z-index: 7; width: 27em; font: 400 clamp(14px, .86vw, 17px)/1.45 "Segoe UI", system-ui, sans-serif; text-align: left;
  padding: 1em 1.143em .857em; border-radius: 1em; background: #fbfaf6; color: #21372b; border: 1px solid #c8a56b80;
  box-shadow: 0 24px 60px #000a, 0 2px 0 #fff inset; opacity: 0; transform: translateY(6px); pointer-events: none; transition: none; }
.sam-karta.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .25s ease, transform .25s ease; }
.sam-karta button { all: unset; box-sizing: border-box; cursor: pointer; font-family: "Segoe UI", system-ui, sans-serif; }
.sam-karta svg { display: inline-block; flex: none; width: 1.07em; height: 1.07em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sam-karta .gora { display: flex; align-items: center; gap: .667em; font-size: .857em; color: #6b7363; }
.sam-karta .nr { flex: none; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: #24382b; color: #f3e3bf; font-weight: 700; }
.sam-karta .nazwa { flex: 1; min-width: 0; font-weight: 700; color: #3d4836; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sam-karta .licz { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sam-karta .x { flex: none; display: grid; place-items: center; width: 2.333em; height: 2.333em; margin: -.333em -.5em -.333em .167em; border-radius: .667em; color: #6b7363; }
.sam-karta .x:hover { background: #efe9da; color: #21372b; }
.sam-karta .x svg { width: 1.333em; height: 1.333em; }
.sam-karta .pasekk { height: 4px; margin: .714em 0 .857em; border-radius: 4px; background: #ebe6d8; overflow: hidden; }
.sam-karta .pasekk i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c8a065, #b48a45); }
.sam-karta h3 { margin: 0 0 .35em; font-size: 1.214em; font-weight: 700; color: #1d2a20; line-height: 1.25; letter-spacing: normal; }
.sam-karta .krotko { margin: 0 0 .55em; font-size: 1.036em; font-weight: 600; color: #26382b; }
.sam-karta .szcz { margin: 0 0 .77em; font-size: .929em; color: #4d5a4f; }
.sam-karta .klikh { display: flex; gap: .571em; align-items: flex-start; margin: 0 0 .714em; padding: .571em .714em; border-radius: .643em; font-size: .893em; background: #eef4ea; color: #2f5236; border: 1px solid #cfe0c6; }
.sam-karta .klikh svg { margin-top: .1em; }
.sam-karta .przyc { display: flex; justify-content: space-between; gap: .571em; margin-top: .286em; }
.sam-karta .przyc button { display: inline-flex; align-items: center; gap: .43em; padding: .62em .9em; border: 1px solid #d9d3c3; border-radius: .643em; background: #fff; color: #33402f; font-size: .929em; font-weight: 600; line-height: 1.2; }
.sam-karta .przyc button:hover { border-color: #b9975c; background: #fdf8ec; }
.sam-karta .przyc .glowny { border-color: #b3935a; background: linear-gradient(135deg, #dcbc88, #bd995f); color: #231f14; }
.sam-karta .przyc .glowny:hover { background: linear-gradient(135deg, #e8cfa3, #c9a770); }
.sam-karta button:focus-visible { outline: 2px solid #b48a45; outline-offset: 2px; }
.sam-karta .spis { display: inline-flex; align-items: center; gap: .43em; margin: .714em 0 0; color: #8a6a34; font-size: .857em; font-weight: 600; }
.sam-karta .spis:hover { color: #5f4720; text-decoration: underline; }
.sam-karta .dol { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 .9em; }
.sam-karta a.spis { text-decoration: none; }
/* pionowy ekran i telefon: karta na całą szerokość, na dole */
.pion .sam-karta { width: calc(100% - 24px); font-size: clamp(14.5px, 1.1vw + 7px, 19px); }

/* spis rozdziałów — jak spis „Pomocy” w programie */
.sam-spis { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: #0b100dcc; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sam-spis[hidden] { display: none; }
.sam-spis .okno { width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 16px; background: #fbfaf6; color: #21372b; box-shadow: 0 30px 80px #0009;
  border: 1px solid #c8a56b66; font: 14px/1.45 "Segoe UI", system-ui, sans-serif; text-align: left; animation: samPojaw .18s ease-out; }
@keyframes samPojaw { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sam-spis button { all: unset; box-sizing: border-box; cursor: pointer; font-family: "Segoe UI", system-ui, sans-serif; }
.sam-spis svg { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sam-spis header { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 24px 26px 14px; background: linear-gradient(180deg, #f4ecdc, #fbfaf6); }
.sam-spis header small { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #b3261e; }
.sam-spis h2 { margin: 4px 0 6px; font-size: 24px; font-weight: 600; color: #1d2a20; letter-spacing: normal; line-height: 1.2; }
.sam-spis header p { margin: 0; color: #4d5a4f; max-width: 560px; font-size: 14px; }
.sam-spis .x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: #6b7363; }
.sam-spis .x:hover { background: #efe9da; color: #21372b; }
.sam-spis .x svg { width: 16px; height: 16px; }
.sam-spis .lista { display: grid; gap: 8px; padding: 10px 22px 16px; }
.sam-spis .rozdz { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border: 1px solid #e1dccd; border-radius: 12px; background: #fff; color: #21372b;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.sam-spis .rozdz:hover, .sam-spis .rozdz:focus-visible { border-color: #c39a55; box-shadow: 0 8px 20px -14px #6b4e1f; transform: translateY(-1px); outline: 0; }
.sam-spis .rozdz .nr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #24382b; color: #f3e3bf; font-weight: 700; font-size: 16px; }
.sam-spis .rozdz.gotowy .nr { background: #b48a45; color: #fff; }
.sam-spis .rozdz .nr svg { width: 20px; height: 20px; }
.sam-spis .rozdz b { display: block; font-size: 15px; font-weight: 600; color: #1d2a20; }
.sam-spis .rozdz small { display: block; font-size: 12.5px; color: #5f6956; margin-top: 2px; }
.sam-spis .rozdz .st { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 12px; color: #7a826f; white-space: nowrap; }
.sam-spis .rozdz .st em { font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9a7232; }
.sam-spis .rozdz.gotowy .st em { color: #3d6b44; }
.sam-spis footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 22px 20px; border-top: 1px solid #ebe6d8; font-size: 12px; color: #6b7363; }
.sam-spis footer a { color: #8a6a34; font-weight: 700; font-size: 12.5px; text-decoration: none; }
.sam-spis footer a:hover { text-decoration: underline; }
.sam-spis kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border: 1px solid #d5cfbf; border-bottom-width: 2px; border-radius: 4px; background: #fff; color: #21372b; font: 600 11px "Segoe UI", sans-serif; text-align: center; }

body.pelny .pasek { transform: translateY(-100%); }
body.pelny.pasek-mysz .pasek.widac, .pasek:focus-within, body.pelny .pasek:focus-within { transform: none; }

/* ---------- suwak: podgląd 3D ↔ zdjęcie finalne ---------- */
.porownanie { width: min(var(--szer), 100%); margin: 0 auto; padding: clamp(90px, 14vh, 150px) var(--bok) clamp(70px, 10vh, 120px); }
.porownanie .wstep { margin-bottom: clamp(30px, 5vh, 50px); }
.suwak { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; user-select: none; touch-action: pan-y; border-radius: var(--r); box-shadow: var(--cien), 0 0 0 1px var(--linia); }
.suwak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.suwak-nad { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.suwak-uchwyt { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--zloto1); box-shadow: 0 0 18px rgba(236, 202, 147, .7); pointer-events: none; }
.suwak-uchwyt::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: rgba(11, 13, 11, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%23ecca93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / 24px no-repeat;
  box-shadow: 0 0 0 1px var(--zloto2); }
.suwak input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.suwak-etykieta { position: absolute; top: 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  background: rgba(11, 13, 11, .7); color: var(--tekst); box-shadow: inset 0 0 0 1px var(--linia); pointer-events: none; }
.suwak-etykieta.l { left: 16px; } .suwak-etykieta.p { right: 16px; color: var(--zloto1); }

/* ---------- cennik ---------- */
/* otwór: puszka Ø35 z ikoną programu (STYL.md) — wspólny dla Pokazu i Opisu */
.otwor { --r: 58px; position: relative; display: inline-grid; place-items: center; width: var(--r); height: var(--r); flex: none; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1d211b 0 52%, #0c0e0c 70%); color: var(--zloto1);
  box-shadow: 0 0 0 1.5px rgba(236, 202, 147, .75), 0 0 0 6px rgba(11, 13, 11, .9), 0 0 0 7px rgba(217, 176, 122, .22), inset 0 6px 14px rgba(0, 0, 0, .85), inset 0 -2px 6px rgba(236, 202, 147, .08); }
.otwor::after { content: ""; position: absolute; inset: 17%; border-radius: 50%; border: 1px dashed rgba(217, 176, 122, .22); }
.otwor svg { position: relative; z-index: 1; width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.otwor.maly { --r: 40px; box-shadow: 0 0 0 1.5px rgba(236, 202, 147, .7), inset 0 4px 10px rgba(0, 0, 0, .85); }
.otwor.maly::after { display: none; }
.otwor.duzy { --r: 76px; }
.otwor.swieci { box-shadow: 0 0 0 1.5px var(--zloto1), 0 0 0 6px rgba(11, 13, 11, .9), 0 0 0 7px rgba(217, 176, 122, .35), 0 0 46px rgba(236, 190, 120, .35), inset 0 6px 14px rgba(0, 0, 0, .85); }
/* pakiety — trzy poziomy, od najsłabszego do najlepszego (Daniel 22.11.2026: „żeby widać było poziom danego zakupu”).
   Schody: każda kolejna płyta wyższa. Coraz lepszy materiał: Start — goły grafit z cienką krawędzią; Pro — grafit
   z miedzianą krawędzią i obrzeżem z dębu; Premium — dąb w złotej krawędzi, w świetle. Pasek zakresu: Projekt i rozkrój · CNC · Na życzenie.
   Płyta rysowana w ::before (krawędź) i ::after (wypełnienie), a cień przez filter — wtedy cień też ma ścięty róg. */
.pakiety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); align-items: end; margin-bottom: clamp(70px, 10vh, 120px); }
.pakiet { --r: 26px; --ksz: polygon(0 0, calc(100% - var(--r)) 0, 100% var(--r), 100% 100%, 0 100%);
  position: relative; isolation: isolate; display: flex; flex-direction: column; box-sizing: border-box; padding: 30px 28px 32px 32px;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pakiet::before, .pakiet::after { content: ""; position: absolute; z-index: -1; clip-path: var(--ksz); pointer-events: none; }
.pakiet::before { inset: 0; background: linear-gradient(140deg, rgba(246, 194, 126, .5), rgba(107, 68, 33, .35) 46%, rgba(60, 40, 20, .3) 60%, rgba(240, 181, 111, .42)); }
.pakiet::after { inset: 1px; background: linear-gradient(168deg, #1c1f1b, #151714 60%, #111310); }
.pakiet:hover { transform: translateY(-4px); }
.pakiet h3 { font-size: 30px; margin: 0; }
.pakiet-dla { color: var(--cichy); margin-top: 8px; min-height: 3.2em; }
/* poziom: trzy rosnące słupki (jak schody) — zapalone tyle, ile poziom */
.pakiet-poziom { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 14px; font: 800 11.5px/1 var(--pismo); letter-spacing: .2em; text-transform: uppercase; color: #a99f8e; }
.stopnie { display: inline-flex; align-items: flex-end; gap: 3px; flex: none; }
.stopnie i { width: 5px; background: rgba(217, 176, 122, .22); }
.stopnie i:nth-child(1) { height: 7px; } .stopnie i:nth-child(2) { height: 11px; } .stopnie i:nth-child(3) { height: 15px; }
.poz1 .stopnie i:nth-child(-n+1), .poz2 .stopnie i:nth-child(-n+2), .poz3 .stopnie i, .zs-p1 .stopnie i:nth-child(-n+1), .zs-p2 .stopnie i:nth-child(-n+2), .zs-p3 .stopnie i {
  background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); box-shadow: 0 0 6px rgba(236, 170, 90, .45); }
/* zakres: trzy pola — zapalone to, co jest w pakiecie */
.zakres { display: grid; grid-template-columns: 1.45fr .75fr 1fr; gap: 5px; margin: 0; padding-top: 20px; }
.zakres span { display: grid; gap: 7px; font-size: 12px; font-weight: 700; line-height: 1.2; color: #7d766b; }
.zakres i { height: 9px; box-shadow: inset 0 0 0 1px rgba(217, 176, 122, .3); clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%); }
.zakres .on { color: #e6dccb; }
.zakres .on i { box-shadow: none; background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); }
.cena { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 0; }
.cena s { width: 100%; color: var(--cichy2); font-size: 15px; }
.cena b { font-size: 40px; line-height: 1.25; padding-bottom: .08em; letter-spacing: -.02em; color: #ece6da; }
.cena small { color: var(--cichy); }
.cena-brutto { margin: 6px 0 22px; font-size: 13.5px; font-weight: 600; color: var(--cichy); }
.pakiet ul { list-style: none; padding: 20px 0 0; margin: auto 0 0; border-top: 1px solid rgba(236, 202, 147, .18); display: grid; gap: 10px; }
.pakiet li { position: relative; padding-left: 24px; color: #d6cfc2; font-size: 15.5px; }
.pakiet li::before { content: ""; position: absolute; left: 1px; top: .45em; width: 10px; height: 10px; box-sizing: border-box; border: 1.5px solid rgba(217, 176, 122, .55);
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 3px, 100% 100%, 0 100%); }
/* Pro — poziom 2: miedziana krawędź, obrzeże z dębu, cena złota */
.pakiet.poz2::before { background: linear-gradient(140deg, #f6c27e 0%, #c9813c 22%, #6b4421 46%, #3c2814 60%, #a8672c 82%, #f0b56f 100%); }
.pakiet.poz2::after { inset: 1.4px; background: url("media/opis/dab.webp") 0 0 / 6px 100% no-repeat, radial-gradient(90% 70% at 92% 0, rgba(236, 170, 90, .15), transparent 62%),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px), linear-gradient(168deg, #252a22, #191c17 55%, #131511); }
.pakiet.poz2 { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .5)) drop-shadow(0 0 26px rgba(217, 160, 90, .12)); }
.poz2 .pakiet-poziom, .poz3 .pakiet-poziom { color: #e9b77a; }
.poz2 .cena b, .poz3 .cena b { background: var(--zl-tekst); -webkit-background-clip: text; background-clip: text; color: transparent; }
.poz2 li::before { border-color: var(--zloto); background: radial-gradient(circle, var(--zloto1) 0 1.4px, transparent 2px); }
/* Premium — poziom 3: dąb w złotej krawędzi, w świetle */
.pakiet.poz3::before { background: linear-gradient(140deg, #ffe6bd 0%, #f0b56f 22%, #8a5424 48%, #5a3818 60%, #d08a40 80%, #ffe0a8 100%); }
.pakiet.poz3::after { inset: 1.8px; background: radial-gradient(85% 55% at 75% 0, rgba(255, 196, 120, .3), transparent 66%), linear-gradient(180deg, rgba(34, 20, 8, .5), rgba(14, 9, 3, .86)), url("media/opis/dab.webp") 50% 50% / cover; }
.pakiet.poz3 { filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 44px rgba(236, 170, 90, .26)); }
.poz3 .pakiet-dla, .poz3 .cena small, .poz3 .cena s, .poz3 .cena-brutto { color: #e0d2b9; }
.poz3 li { color: #f3eadb; }
.poz3 li::before { border: 0; background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); }
.poz3 ul { border-top-color: rgba(255, 226, 180, .3); }
.poz3 .zakres span { color: #b8a78b; }
.poz3 .zakres .on { color: #fff3dc; }
.pakiet-znak { position: absolute; z-index: 2; top: -13px; left: 30px; margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #1b150c; padding: 6px 12px 5px;
  background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
/* schody: każdy poziom wyższy od poprzedniego */
@media (min-width: 981px) {
  .pakiet.poz1 { min-height: 520px; }
  .pakiet.poz2 { min-height: 560px; }
  .pakiet.poz3 { min-height: 600px; }
  .pakiet .zakres { margin-top: auto; }   /* zapas wysokości dzieli się na dwa równe odstępy: nad zakresem i nad listą */
}
@media (prefers-reduced-motion: reduce) { .pakiet { transition: none; } .pakiet:hover { transform: none; } }

/* ---------- finał jak outro filmu ---------- */
.final { position: relative; text-align: center; padding: clamp(90px, 14vh, 160px) var(--bok) clamp(80px, 12vh, 130px); overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 45% at 50% 42%, rgba(217, 160, 90, .16), transparent 70%); }
.final-logo { position: relative; width: min(560px, 82vw); height: auto; margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.final-napis { position: relative; margin-top: 30px; font-size: clamp(16px, 2vw, 24px); font-weight: 700; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase;
  background: var(--zl-tekst); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-opis { position: relative; color: var(--cichy); margin: 16px auto 30px; }

.stopka { border-top: 1px solid var(--linia2); padding: 28px var(--bok) 36px; text-align: center; font-size: 14px; color: var(--cichy); }
.stopka .cicho { color: var(--cichy2); margin-top: 6px; font-size: 13px; }

/* ---------- film w oknie ---------- */
.kinowe { width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; box-shadow: 0 40px 120px rgba(0, 0, 0, .8), 0 0 0 1px var(--linia); }
.kinowe::backdrop { background: rgba(5, 6, 5, .88); backdrop-filter: blur(6px); }
.kinowe video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
.kinowe-zamknij { position: absolute; right: -6px; top: -48px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 18px; color: var(--tekst); background: rgba(255, 255, 255, .08); }
.kinowe-zamknij:hover { background: rgba(255, 255, 255, .16); }

/* ---------- wjazd przy przewijaniu ---------- */
.js .wjazd { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .wjazd.jest { opacity: 1; transform: none; }

/* ---------- węższe ekrany (także pionowy monitor) ---------- */
@media (max-width: 1180px) {
  .wersja svg { display: none; }
  .wersja a { padding: 7px 13px; }
  .pasek { gap: 14px; }
  .pasek-menu a { padding: 8px 10px; }
}
@media (max-width: 980px) {
  .pasek .przycisk.maly { display: none; }
  .pakiety { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 30px; }
  .pakiet-dla { min-height: 0; }
}
@media (orientation: portrait), (max-width: 720px) {
  .start { background: radial-gradient(ellipse 80% 30% at 50% 18%, rgba(84, 48, 14, .3), transparent 75%); }
  .start-kadr { position: relative; left: auto; top: auto; width: 100%; margin: 0; transform: none; transition: none;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .start-tekst { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: -4vh auto 0; padding-top: 0; padding-bottom: 64px; }
  .start-dalej { display: none; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .pasek { flex-wrap: wrap; height: auto; gap: 0 10px; padding-top: 8px; }
  .pasek-logo img { height: 32px; }
  .wersja { margin-left: auto; }
  .wersja a { padding: 6px 13px; font-size: 13.5px; }
  .pasek-menu { order: 3; flex: 1 1 100%; margin: 4px calc(var(--bok) * -1) 0; padding: 0 var(--bok) 6px; }
  .pasek-menu a { font-size: 13.5px; padding: 7px 10px; }
  .cennik-dalej { margin-top: -30px; }
}
@media (max-width: 480px) {
  .pasek { padding: 7px 12px 0; }
  .pasek-logo img { height: 28px; }
  .pasek-menu { gap: 0; margin: 2px -12px 0; padding: 0 6px 5px; }
  .pasek-menu a { font-size: 13px; padding: 6px 8px; }
  .start-tekst { padding-bottom: 48px; }
  .napis span { padding: 9px 16px 10px 12px; }
  .suwak-etykieta { top: 10px; font-size: 10.5px; padding: 5px 9px; }
  .suwak-etykieta.l { left: 10px; } .suwak-etykieta.p { right: 10px; }
  .kinowe-zamknij { right: 0; top: -46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sam-dziura::after { animation: none; }
  .sam-karta, .sam-karta.on, .sam-scena > img, .sam-film { transition: none; }
  .start-dalej i { animation: none; }
}

/* ================= dopracowanie (21.11.2026): telefon ================= */
/* znacznik rozdziału w jednej linii na wąskim ekranie */
@media (max-width: 480px) {
  .znak { font-size: 12px; letter-spacing: .16em; gap: 10px; }
  .znak::before { width: 24px; }
}
/* cennik na telefonie: fronty przesuwane palcem, środkowy „Pro” na start, kropki pod spodem */
.kropki { display: none; }
@media (max-width: 720px) {
  .pakiety { position: relative; display: flex; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bok); scrollbar-width: none; gap: 16px;
    margin: 0 calc(var(--bok) * -1) 14px; padding: 26px var(--bok) 30px; align-items: stretch; }
  .pakiety::-webkit-scrollbar { display: none; }
  .pakiet { flex: 0 0 84%; scroll-snap-align: center; padding: 26px 22px 28px 26px; }
  .kropki { display: flex; justify-content: center; gap: 10px; margin: 0 0 50px; }
  .kropki i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(217, 176, 122, .6); transition: background .3s, width .3s; }
  .kropki i.on { width: 22px; border-radius: 4px; background: var(--zloto1); box-shadow: none; }
}

/* otwarte okno (film, powiększenie) — strona pod spodem stoi */
html:has(dialog[open]) { overflow: hidden; }
/* telefon poziomo (niska wysokość): mniejsza karta przewodnika, mniej zasłania podświetlone miejsce */
@media (max-height: 480px) and (orientation: landscape) {
  .sam-karta { font-size: 11.5px; width: 24em; }
}

/* ---------- Pokaz: wstępy rozdziałów na tle rysunku z programu (jak arkusze w Opisie) ----------
   Projekt kuchni — widok ściany A rysowany szafka po szafce; Produkcja — formatka z otworami; Studio 3D — kadr 4K. */
.wstep-rozdzialu { position: relative; isolation: isolate; overflow: hidden; }
.wstep-rozdzialu .wstep { position: relative; z-index: 1; }
.wstep-rozdzialu h2 { text-shadow: 0 2px 24px rgba(11, 13, 11, .9); }
.wstep-rys { position: absolute; z-index: 0; left: 50%; top: 52%; width: min(900px, 104%); transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, rgba(0, 0, 0, .45) 0, #000 42%, transparent 80%); mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, rgba(0, 0, 0, .45) 0, #000 42%, transparent 80%); }
#wstep-produkcja .wstep-rys { width: min(760px, 104%); }
.rys-tlo { display: block; width: 100%; height: auto; overflow: visible; opacity: .3; }
.rys-tlo rect, .rys-tlo path, .rys-tlo circle, .rys-tlo polygon { fill: none; stroke: #ecca93; stroke-width: 1.3; }
.rys-tlo pattern path, .rys-tlo .tlo-siatki { stroke: none; fill: none; }
.rys-tlo .wp, .rys-tlo .sc-front, .rys-tlo .sc-sciana, .rys-tlo .sc-okno path { stroke-opacity: .45; }
.rys-tlo .sc-uchwyt { stroke-width: 3.2; stroke-linecap: round; }
.rys-tlo .sc-inst circle { stroke-dasharray: 3 2.5; }
.rys-tlo text { fill: #ecca93; stroke: none; font: 700 16px var(--pismo); }
.rys-tlo .w text, .rys-tlo .sc-kod, .rys-tlo .sc-okno text { text-anchor: middle; dominant-baseline: middle; }
.rys-tlo .sc-kod { font-size: 24px; font-weight: 800; }
.rys-tlo .sc-kod.maly { font-size: 14px; }
.rys-tlo .odn circle, .rys-tlo .o5, .rys-tlo .o7, .rys-tlo .o35 { fill: #0b0d0b; }
.sciana-tlo .szf { transition: opacity .5s calc(var(--k) * 90ms + .2s), transform .7s cubic-bezier(.2, .8, .2, 1) calc(var(--k) * 90ms + .2s); }
.js .sciana-tlo .wjazd:not(.jest) .szf { opacity: 0; transform: translateY(16px); }
/* Studio 3D: kadr aparatu z wymiarami 4K wokół tytułu */
.wizjer { position: absolute; z-index: 0; inset: clamp(56px, 11vh, 120px) var(--bok) clamp(14px, 4vh, 44px); pointer-events: none; }
.wizjer > .wjazd { position: absolute; inset: 0; }
.wizjer i { position: absolute; width: clamp(28px, 4vw, 54px); height: clamp(28px, 4vw, 54px); border: 2px solid rgba(236, 202, 147, .55); }
.wizjer i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .wizjer i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.wizjer i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .wizjer i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.wizjer b { position: absolute; display: flex; align-items: center; gap: 12px; color: rgba(236, 202, 147, .7); font: 700 12px var(--pismo); letter-spacing: .14em; white-space: nowrap; }
.wizjer b::before, .wizjer b::after { content: ""; flex: 1; background: rgba(236, 202, 147, .3); }
.wz-poz { left: clamp(40px, 6vw, 80px); right: clamp(40px, 6vw, 80px); top: -6px; }
.wz-poz::before, .wz-poz::after { height: 1px; }
.wz-pion { top: clamp(40px, 6vw, 80px); bottom: clamp(40px, 6vw, 80px); left: -6px; writing-mode: vertical-rl; transform: rotate(180deg); }
.wz-pion::before, .wz-pion::after { width: 1px; }
@media (max-width: 720px) {
  .wstep-rys { width: 118%; }
  .rys-tlo { opacity: .26; }
  .wizjer { inset: 44px 10px 10px; }
  .wizjer b { font-size: 10px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .sciana-tlo .szf { transition: none; } }
.rys-tlo .odn text, .rys-tlo .pt, .rys-tlo .odn path, .rys-tlo .odn circle { display: none; }
.rys-tlo text { opacity: .55; }

/* ---------- zakończenie: logo na dębowym blacie w świetle, napis jak linia wymiarowa, zaproszenie jak bilet ---------- */
.final-blat { position: relative; display: block; width: min(700px, 88%); height: 14px; margin: -6px auto 0; border-radius: 2px; background: url("media/opis/dab.webp") 0 40% / 900px auto;
  box-shadow: 0 34px 50px rgba(0, 0, 0, .7), inset 0 2px 0 rgba(255, 236, 200, .45), inset 0 -3px 0 rgba(60, 30, 10, .55); }
.final-blat::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 100%; height: 70px; pointer-events: none; background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(236, 190, 120, .2), transparent 70%); }
.final-napis { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 22px); margin-top: 38px; }
.final-napis::before, .final-napis::after { content: ""; flex: 0 1 clamp(40px, 10vw, 130px); height: 12px; border-left: 1.2px solid rgba(217, 176, 122, .6); border-right: 1.2px solid rgba(217, 176, 122, .6);
  background: linear-gradient(rgba(217, 176, 122, .6), rgba(217, 176, 122, .6)) center / 100% 1.2px no-repeat; }
.bilet { position: relative; display: inline-flex; align-items: stretch; max-width: 100%; margin: 26px auto 32px; color: #2b241b; text-align: left; transform: rotate(-1.5deg); filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55)); }
.bilet p { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; background: linear-gradient(180deg, #f3ecdf, #e2d6c1); }
.bilet-l { padding: 16px 26px 16px 24px; border-radius: 6px 0 0 6px;
  -webkit-mask: radial-gradient(circle 9px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.bilet-p { padding: 16px 24px 16px 22px; border-radius: 0 6px 6px 0; border-left: 2px dashed rgba(43, 36, 27, .3);
  -webkit-mask: radial-gradient(circle 9px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
.bilet-l b { font-size: 11.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: #8a6a34; }
.bilet-l span { font-size: clamp(15px, 1.5vw, 18px); font-weight: 800; line-height: 1.25; }
.bilet-p span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6b5f4e; }
.bilet-p b { font-size: clamp(16px, 1.6vw, 19px); font-weight: 900; }
.final .start-przyciski { justify-content: center; }
/* ---------- stopka: drewniana linijka u góry, logo i skróty ---------- */
.stopka { border-top: 0; padding: 48px var(--bok) 38px; }
.stopka::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(48, 24, 8, .75) 0 1px, transparent 1px 6px) 0 0 / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(48, 24, 8, .85) 0 1.2px, transparent 1.2px 30px) 0 0 / 100% 8px no-repeat, url("media/opis/dab.webp") 0 50% / 1200px auto;
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .45), inset 0 -2px 0 rgba(60, 30, 10, .45), 0 8px 20px rgba(0, 0, 0, .5); }
.stopka-g { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 36px; margin-bottom: 22px; }
.stopka-logo { width: 104px; height: auto; display: block; }
.stopka-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.stopka-menu a { padding: 8px 12px; border-radius: 999px; color: #ddd6c8; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.stopka-menu a:hover, .stopka-menu a:focus-visible { color: var(--zloto1); background: rgba(217, 176, 122, .08); }
@media (max-width: 720px) {
  .bilet { transform: rotate(-1deg); }
  .bilet-l { padding: 14px 18px 14px 18px; }
  .bilet-p { padding: 14px 16px; }
  .stopka-menu a { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 480px) {
  .final-napis { font-size: 14.5px; letter-spacing: .3em; text-indent: .3em; gap: 10px; white-space: nowrap; }
  .final-napis::before, .final-napis::after { flex-basis: 28px; }
}

/* ================= poprawki po niezależnym przeglądzie (22.11.2026) ================= */
/* 2. film: krzyżyk zawsze na ekranie (w rogu kadru), film mieści się w wysokości okna */
.kinowe { width: min(1280px, 94vw, calc((100vh - 40px) * 16 / 9)); }
.kinowe .kinowe-zamknij { top: 10px; right: 10px; z-index: 3; background: rgba(11, 13, 11, .78); box-shadow: inset 0 0 0 1px rgba(236, 202, 147, .45); }
@media (max-width: 480px) { .kinowe .kinowe-zamknij { top: 8px; right: 8px; } }
/* 14. wstępy Pokazu: rysunek wygasa pod tekstem; 15. wstęp na cały ekran */
.wstep-rys { -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .12) 32%, #000 54%, transparent 84%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .12) 32%, #000 54%, transparent 84%); }
.wstep-rozdzialu { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--bok) 64px; }
.wstep-rozdzialu .wstep { margin-bottom: 0; }
/* 16. start na pionowym monitorze i tablecie: większy kadr logo, tekst zaraz pod nim (bez pustych pasów) */
@media (orientation: portrait) and (min-width: 721px) {
  .start { min-height: 0; padding-bottom: 6vh; }
  .start-kadr { width: 132%; margin-left: -16%; }
  .start-tekst { flex: none; justify-content: flex-start; margin: -6vh auto 0; padding-bottom: 40px; }
}
/* 18. stara cena na dębie czytelna */
/* 26. kadr 4K na telefonie dalej od krawędzi */
@media (max-width: 720px) { .wizjer { inset: 48px 16px 16px; } }
@media (orientation: portrait), (max-width: 720px) { .start-tekst { align-items: center; } }
@media (orientation: portrait) and (min-width: 721px) {
  .start-kadr { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, #000 70%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-composite: intersect; }
}
@media (orientation: portrait) and (min-width: 721px) { .start { min-height: 100vh; min-height: 100svh; justify-content: center; padding-bottom: 0; } }
@media (orientation: portrait) and (min-width: 721px) {
  .start-kadr { -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 68%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 68%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
  .start { background: radial-gradient(ellipse 70% 32% at 50% 38%, rgba(84, 48, 14, .3), transparent 75%); }
}

/* ================= strona najpierw, pokaz jako wyróżnione wejście (Daniel 22.11.2026) ================= */
/* strona: złoty przycisk „Wejdź do programu” w pasku (prowadzi do rozdziału pokazu o tym, co właśnie czytasz) */
.do-programu { position: relative; display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 5px 17px 5px 5px; border-radius: 999px; overflow: hidden;
  text-decoration: none; color: #1b150c; font-size: 14px; font-weight: 800; white-space: nowrap; background: var(--zl-tekst);
  box-shadow: 0 6px 22px rgba(217, 160, 90, .32), inset 0 1px 0 rgba(255, 245, 220, .6); transition: transform .2s, box-shadow .25s; }
.do-programu::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .8s; }
.do-programu:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(217, 160, 90, .5), inset 0 1px 0 rgba(255, 245, 220, .6); }
.do-programu:hover::after { left: 125%; }
.dp-ik { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0b0d0b; color: var(--zloto1); box-shadow: inset 0 0 0 1px rgba(236, 202, 147, .5); }
.dp-ik svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.dp-kr { display: none; }
/* pokaz: spokojny przycisk „Wróć na stronę” */
.na-strone { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 16px 8px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  color: var(--zloto1); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(217, 176, 122, .45); transition: background .2s, box-shadow .2s; }
.na-strone:hover { background: rgba(217, 176, 122, .1); box-shadow: inset 0 0 0 1px var(--zloto1); }
.na-strone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .do-programu { margin-left: auto; padding: 4px 14px 4px 4px; font-size: 13.5px; }
  .dp-ik { width: 28px; height: 28px; }
  .na-strone { margin-left: auto; padding: 7px 13px 7px 8px; font-size: 13.5px; }
}
@media (max-width: 400px), (min-width: 721px) and (max-width: 980px) { .dp-dl { display: none; } .dp-kr { display: inline; } }   /* tablet: menu w jednym rzędzie z przyciskiem — krótki napis „Pokaz” */

/* Pokaz: stałe wyjście na stronę (Daniel 22.11: „w przeglądzie programu nie ma opcji cofnięcia na stronę główną”).
   Widać je zawsze — także w pełnym ekranie przewodnika, gdy pasek jest schowany, i na telefonie; chowa się tylko, gdy widać pasek z „Wróć na stronę”. */
.pokaz-wyjdz { position: fixed; z-index: 40; top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px 9px 10px; font: 800 13.5px/1 var(--pismo); color: var(--tekst); text-decoration: none;
  background: linear-gradient(rgba(16, 19, 15, .92), rgba(16, 19, 15, .92)) padding-box, linear-gradient(140deg, #f6c27e, #a8672c 45%, #3c2814 70%, #f0b56f) border-box;
  border: 1.4px solid transparent; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s, transform .3s, color .2s; }
.pokaz-wyjdz svg { width: 17px; height: 17px; fill: none; stroke: var(--zloto1); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pokaz-wyjdz:hover { color: var(--zloto1); }
body:not(.pelny) .pasek.widac ~ .pokaz-wyjdz { opacity: 0; transform: translateY(-8px); pointer-events: none; }
body.pelny .pokaz-wyjdz { opacity: 0; transform: translateY(-8px); pointer-events: none; }   /* w przewodniku wyjście jest na karcie („‹ Wróć na stronę”) — nic nie zasłania ekranu ani karty */
@media (max-width: 720px) { .pokaz-wyjdz { padding: 8px 12px 8px 8px; font-size: 13px; } }

/* =====================================================================================================================
   STYL Z LOGO — „płyta i krawędź” (Daniel 22.11.2026: „metki, notatniki są na każdej stronie — stwórz nasz własny styl”)
   Wszystko z logo DJ MEBLE PRO: grafitowa płyta z jednym rogiem ściętym pod 45° (jak litery D i J), świecąca miedziana
   krawędź (jak obrys liter), dąb tylko jako wąski akcent. Zamiast papierowych kartek, metek, tabliczek i biletów.
   ===================================================================================================================== */
.pk { --pk-r: 20px; --pk-ksz: polygon(0 0, calc(100% - var(--pk-r)) 0, 100% var(--pk-r), 100% 100%, 0 100%);
  position: relative; isolation: isolate; box-sizing: border-box; clip-path: var(--pk-ksz);
  background: linear-gradient(140deg, #f6c27e 0%, #c9813c 22%, #6b4421 46%, #3c2814 60%, #a8672c 82%, #f0b56f 100%); }
.pk::before { content: ""; position: absolute; inset: 1.3px; z-index: -1; clip-path: var(--pk-ksz); pointer-events: none;
  background: radial-gradient(90% 70% at 92% 0%, rgba(236, 170, 90, .13), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px),
    linear-gradient(168deg, #20241f 0%, #161915 55%, #111410 100%); }
.pk.tl { --pk-ksz: polygon(var(--pk-r) 0, 100% 0, 100% 100%, 0 100%, 0 var(--pk-r)); }
.pk.bl { --pk-ksz: polygon(0 0, 100% 0, 100% 100%, var(--pk-r) 100%, 0 calc(100% - var(--pk-r))); }
.pk.br { --pk-ksz: polygon(0 0, 100% 0, 100% calc(100% - var(--pk-r)), calc(100% - var(--pk-r)) 100%, 0 100%); }
.pk.dab::after { content: ""; position: absolute; left: 1.3px; top: 1.3px; bottom: 1.3px; width: 5px; z-index: 0; pointer-events: none;
  background: url("media/opis/dab.webp") 40% 50% / 400px auto; box-shadow: 1px 0 0 rgba(0, 0, 0, .5); }
.pk-tyt { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 800 11.5px/1.2 var(--pismo); letter-spacing: .22em; text-transform: uppercase; color: #e9b77a; }
.pk-tyt::before { content: ""; width: 9px; height: 9px; flex: none; background: linear-gradient(135deg, #f6c27e, #a8672c); clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%); }

/* Pokaz — ekran startowy (Daniel 22.11.2026: „bez ładu ani składu”): bez płyty, wszystko na osi logo —
   podpis z kreskami wymiarowymi, tytuł w dwóch liniach, trzy równe kolumny jak tabelka rysunku, dwa przyciski tej samej wysokości */
.start-plyta { width: min(100%, 860px); margin: 0 auto; text-align: center; }
.start-etykieta { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 16px; font: 800 12px/1.2 var(--pismo); letter-spacing: .22em; text-transform: uppercase; color: #d9a96b; }
.start-etykieta::before, .start-etykieta::after { content: ""; flex: 0 1 70px; height: 9px; box-sizing: border-box;
  background: linear-gradient(rgba(217, 176, 122, .6), rgba(217, 176, 122, .6)) 50% 50% / 100% 1px no-repeat; }
.start-etykieta::before { border-left: 1px solid rgba(217, 176, 122, .6); }
.start-etykieta::after { border-right: 1px solid rgba(217, 176, 122, .6); }
.start .start-plyta h1 { margin: 0; font-size: clamp(28px, min(3.3vw, 5vh), 50px); line-height: 1.1; letter-spacing: -.02em; color: #f4efe6; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.start .start-plyta h1 span { display: block; padding: 0 0 .1em; margin: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #e3ad6c; filter: none; }
.start-jak { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(217, 176, 122, .3); border-bottom: 1px solid rgba(217, 176, 122, .3); }
.start-jak li { display: grid; align-content: start; gap: 5px; padding: 14px 18px 15px; font-size: 14.5px; line-height: 1.45; color: #d4cdc0; }
.start-jak li + li { border-left: 1px solid rgba(217, 176, 122, .16); }
.start-jak b { font: 800 11px/1.3 var(--pismo); letter-spacing: .18em; text-transform: uppercase; color: #d9a96b; }
.sj-ik { justify-self: center; width: 26px; height: 26px; margin-bottom: 4px; color: #e9b77a; }
.sj-ik svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js .start.tekst .start-jak li { animation: sj-wjazd .8s cubic-bezier(.2, .8, .2, 1) both; }
.js .start.tekst .start-jak li:nth-child(2) { animation-delay: .12s; } .js .start.tekst .start-jak li:nth-child(3) { animation-delay: .24s; }
@keyframes sj-wjazd { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .js .start.tekst .start-jak li { animation: none; } }
.start-plyta .start-przyciski { justify-content: center; align-items: stretch; margin-top: 26px; }
.start-plyta .start-przyciski .przycisk { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; box-sizing: border-box; padding: 0 24px; }
.start .przycisk { border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.start-inna { margin-top: 18px; }
/* przycisk z obwódką: ukośna kreska na ściętym rogu, żeby obwódka była cała */
.start .przycisk.pusty { background: linear-gradient(to bottom left, transparent calc(50% - .8px), rgba(244, 239, 230, .28) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)) 100% 0 / 10px 10px no-repeat; }
.start .przycisk.pusty:hover { background-image: linear-gradient(to bottom left, transparent calc(50% - .8px), var(--zloto) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)); }
@media (max-width: 720px) {
  .start-etykieta { font-size: 11px; letter-spacing: .16em; gap: 10px; }
  .start-etykieta::before, .start-etykieta::after { flex-basis: 28px; }
  .start .start-plyta h1 { font-size: clamp(25px, 7.4vw, 32px); }
  .start-jak { grid-template-columns: minmax(0, 1fr); text-align: left; margin-top: 20px; }
  .start-jak li { grid-template-columns: 100px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 10px 2px 11px; font-size: 14px; }
  .start-jak li + li { border-left: 0; border-top: 1px solid rgba(217, 176, 122, .14); }
  .start-jak b { font-size: 10.5px; letter-spacing: .14em; }
  .sj-ik { display: none; }
  .start-plyta .start-przyciski { flex-direction: column; align-items: stretch; margin-top: 20px; }
}
/* Pokaz — wstępy rozdziałów jako płyty z logo (rysunek rozdziału widać dookoła) */
.wstep-rozdzialu .wstep.pk { width: min(100%, 720px); padding: clamp(26px, 3vw, 38px) clamp(22px, 3vw, 42px) clamp(26px, 3vw, 36px); }
.wstep-rozdzialu .wstep.pk::before { background: radial-gradient(90% 70% at 92% 0%, rgba(236, 170, 90, .13), transparent 62%), linear-gradient(168deg, rgba(32, 36, 31, .9), rgba(17, 20, 16, .93)); }
.wstep-rozdzialu .wstep.pk h2 { font-size: clamp(28px, 3.4vw, 46px); }
.wstep-rozdzialu .wstep.pk .otwor { margin-bottom: 18px; }
/* pasek: przyciski i zaznaczony rozdział ze ściętym rogiem, jak cała strona */
.pasek-menu a, .do-programu, .na-strone, .pasek .przycisk { border-radius: 0; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
/* Pokaz: pominięcie intro (od pierwszej sekundy) */
.start-pomin { position: absolute; z-index: 3; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 11px 18px; border: 1.4px solid transparent; cursor: pointer;
  font: 800 14px/1 var(--pismo); color: var(--tekst); background: linear-gradient(rgba(16, 19, 15, .85), rgba(16, 19, 15, .85)) padding-box, linear-gradient(140deg, #f6c27e, #a8672c 45%, #3c2814 70%, #f0b56f) border-box;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: opacity .4s; }
.start-pomin:hover { color: var(--zloto1); }
.start.tekst .start-pomin, .start.stop .start-pomin { opacity: 0; pointer-events: none; }
.start.tekst .start-dalej { bottom: 22px; }
.start-kadr { cursor: pointer; }
.start.tekst .start-kadr { cursor: default; }
/* karta przewodnika: dolny rząd — spis, pomiń rozdział, wróć na stronę; duże pola do dotknięcia */
.sam-karta .dol { gap: .2em .9em; }
.sam-karta .dol .spis { min-height: 44px; display: inline-flex; align-items: center; gap: .4em; }
.sam-karta .dol .wroc { font-weight: 700; }
.sam-karta .przyc button { min-height: 44px; }
.sam-spis footer { flex-wrap: wrap; gap: 8px 18px; }
.sam-spis .do-cen { border: 0; background: none; padding: 10px 0; cursor: pointer; font: 700 14px var(--pismo); color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (pointer: coarse) { .sam-spis .klawisze { display: none; } }
@media (max-width: 720px) {
  .sam-karta .dol { justify-content: flex-start; }
  .pokaz-wyjdz { min-height: 44px; box-sizing: border-box; }
}

/* przeskok (Daniel 22.11.2026: „nie powinno lecieć przez wszystkie sekcje, tylko od razu tam, gdzie powinno”):
   daleki skok z menu — ekran na chwilę gaśnie, strona przeskakuje, nowa sekcja się pojawia. Pasek zostaje na wierzchu. */
.przeskok { position: fixed; inset: 0; z-index: 29; pointer-events: none; opacity: 0; background: var(--tlo, #0b0d0b); transition: opacity .18s ease-out; }
.przeskok.on { opacity: 1; transition-duration: .13s; transition-timing-function: ease-in; }

/* ---------- telefon i tablet: pasek w jednym rzędzie — logo, gdzie jesteś, „Pokaz”, „Menu” (Daniel 22.11.2026) ---------- */
.pasek-gdzie, .menu-przycisk, .menu-panel { display: none; }
@media (max-width: 900px) {
  .js .pasek { flex-wrap: nowrap; height: 60px; gap: 10px; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); }
  .js .pasek-logo { flex: none; }
  .js .pasek-logo img { height: 36px; }
  .js .pasek-menu { display: none; }
  .js .pasek-gdzie { display: block; flex: 1 1 auto; min-width: 0; padding: 4px 0 4px 11px; border-left: 1px solid rgba(217, 176, 122, .35);
    font: 800 11px/1.2 var(--pismo); letter-spacing: .16em; text-transform: uppercase; color: #d9a96b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
  .js .pasek-gdzie:empty { visibility: hidden; }
  .logo-na-starcie .pasek-gdzie { opacity: 0; }
  .js .do-programu, .js .na-strone { margin-left: auto; height: 40px; box-sizing: border-box; }
  .js .pasek-gdzie ~ .do-programu, .js .pasek-gdzie ~ .na-strone { margin-left: 0; }
  .js .menu-przycisk { display: inline-flex; align-items: center; gap: 9px; flex: none; height: 40px; padding: 0 13px 0 12px; border: 0; cursor: pointer;
    font: 800 13.5px/1 var(--pismo); color: var(--tekst); -webkit-tap-highlight-color: transparent;
    background: linear-gradient(to bottom left, transparent calc(50% - .8px), rgba(217, 176, 122, .6) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)) 100% 0 / 9px 9px no-repeat, rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(217, 176, 122, .6); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
  .mp-kreski { position: relative; width: 18px; height: 12px; flex: none; }
  .mp-kreski i { position: absolute; left: 0; right: 0; height: 2px; background: #f0c287; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s, top .3s cubic-bezier(.2, .8, .2, 1); }
  .mp-kreski i:nth-child(1) { top: 0; } .mp-kreski i:nth-child(2) { top: 5px; right: 5px; } .mp-kreski i:nth-child(3) { top: 10px; }
  .menu-otwarte .mp-kreski i:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .menu-otwarte .mp-kreski i:nth-child(2) { opacity: 0; }
  .menu-otwarte .mp-kreski i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
  .menu-otwarte body { overflow: hidden; }
  .menu-otwarte .pasek, .menu-otwarte body.pelny .pasek { transform: none; background: rgba(9, 11, 9, .98); }
  .menu-otwarte .pasek-logo { opacity: 1; transform: none; pointer-events: auto; }
  .menu-otwarte .pasek-gdzie { opacity: 0; }
  .menu-otwarte .pokaz-wyjdz { opacity: 0; pointer-events: none; }
  .js .menu-panel { display: block; position: fixed; inset: 0; z-index: 28; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
    padding: 78px max(14px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: radial-gradient(70% 34% at 50% 0, rgba(236, 170, 90, .1), transparent 70%), rgba(9, 11, 9, .97);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; }
  .menu-otwarte .menu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .mp-tyt, .mp-siatka, .mp-dol { max-width: 640px; margin-left: auto; margin-right: auto; }
  .mp-tyt { display: flex; align-items: center; gap: 12px; margin-top: 0; margin-bottom: 14px; font: 800 11.5px/1.2 var(--pismo); letter-spacing: .22em; text-transform: uppercase; color: #d9a96b; }
  .mp-tyt::before { content: ""; flex: none; width: 22px; height: 9px; box-sizing: border-box; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
    background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat; }
  .mp-tyt::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 176, 122, .4), rgba(217, 176, 122, 0)); }
  .mp-siatka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mp-siatka a { position: relative; display: grid; align-content: start; gap: 3px; min-height: 108px; box-sizing: border-box; padding: 14px 14px 15px; text-decoration: none; color: var(--tekst);
    -webkit-tap-highlight-color: transparent; transition: box-shadow .2s, background-color .2s;
    background: linear-gradient(to bottom left, transparent calc(50% - .8px), rgba(217, 176, 122, .4) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)) 100% 0 / 14px 14px no-repeat,
      linear-gradient(168deg, #1d201c, #141613);
    box-shadow: inset 0 0 0 1px rgba(217, 176, 122, .28); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
  .mp-siatka a:active { box-shadow: inset 0 0 0 1.5px #e9b06a; }
  .mp-ik { width: 28px; height: 28px; margin-bottom: 7px; color: #d9a96b; }
  .mp-ik svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mp-siatka b { font-size: 16px; font-weight: 750; line-height: 1.2; }
  .mp-siatka small { font-size: 12.5px; line-height: 1.35; color: var(--cichy); }
  .mp-siatka a.on { box-shadow: inset 0 0 0 1.5px #e9b06a;
    background: linear-gradient(to bottom left, transparent calc(50% - 1px), #e9b06a calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 100% 0 / 14px 14px no-repeat,
      radial-gradient(90% 80% at 100% 0, rgba(236, 170, 90, .18), transparent 65%), linear-gradient(168deg, #262a22, #181b16); }
  .mp-siatka a.on b { color: #f4c283; }
  .mp-siatka a.on::after { content: "Tu jesteś"; position: absolute; top: 14px; right: 20px; padding: 4px 6px 3px; font: 800 9.5px/1 var(--pismo); letter-spacing: .12em; text-transform: uppercase;
    color: #1a140c; background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); }
  .mp-dol { display: grid; gap: 10px; margin-top: 16px; }
  .mp-glowny, .mp-film { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; box-sizing: border-box; padding: 0 18px; text-decoration: none;
    font: 800 15.5px/1.2 var(--pismo); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); -webkit-tap-highlight-color: transparent; }
  .mp-glowny { color: #1a140c; background: linear-gradient(180deg, #ffe2b3, #e9b06a 55%, #c98a43); }
  .mp-film { border: 0; cursor: pointer; color: var(--tekst); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .3);
    background: linear-gradient(to bottom left, transparent calc(50% - .8px), rgba(244, 239, 230, .3) calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)) 100% 0 / 10px 10px no-repeat, transparent; }
  .mp-film small { font-size: 13px; color: var(--cichy2); }
}
@media (max-width: 900px) and (min-width: 600px) {
  .mp-siatka { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-dol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) { .mp-siatka a:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; } }
@media (max-width: 400px) {
  .js .pasek { gap: 8px; }
  .js .pasek-logo img { height: 32px; }
  .js .menu-przycisk { padding: 0 11px; }
  .js .mp-napis { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) { .menu-panel, .mp-kreski i { transition: none !important; } }
