/* Real entrance footage; all product copy and purchase controls remain in the original DOM. */
.h1-real:not(.tryb-lista) .drzwi{background:#10181e url("h1-entry-poster.jpg?v=stab-20261103") center/cover no-repeat}
.h1-real:not(.tryb-lista) .drzwi::before,.h1-real:not(.tryb-lista) .drzwi::after{display:none!important}
.h1-real:not(.tryb-lista) #drzwi>*:not(.h1-entry-film):not(.h1-entry-hint):not(.h1-door-hit):not(.h1-neon){display:none!important}
.h1-entry-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.h1-entry-hint{position:absolute;bottom:8%;left:0;right:0;text-align:center;color:#fff4e5;font-size:14px;letter-spacing:.04em;text-shadow:0 2px 12px #000;pointer-events:none}
.h1-door-hit{position:absolute;border:0;background:transparent;cursor:pointer;pointer-events:auto}
.h1-door-hit:focus-visible{outline:2px solid #ffce91;outline-offset:6px;background:rgb(255 200 140 / .06)}
.h1-real #wash{display:none!important}
.h1-real:not(.tryb-lista) .hall{background:#171b1d}
.h1-real:not(.tryb-lista) .hall__sciana,.h1-real:not(.tryb-lista) .hall__podloga,.h1-real:not(.tryb-lista) .hall__swiatlo{display:none}
.h1-room{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.h1-room-photo,.h1-room-front{position:absolute;left:0;top:0;width:2048px;height:1152px;max-width:none!important;display:block;pointer-events:none;transform-origin:0 0;will-change:transform}
.h1-room-photo{z-index:0}.h1-room-front{z-index:6}
.h1-real:not(.tryb-lista) .track{inset:0;width:100%;height:100%;padding:0;display:block;transform:none!important;will-change:auto;z-index:auto;pointer-events:none}
.h1-real:not(.tryb-lista) .eksponat{position:absolute;inset:0;width:100%;height:100%;padding:0;transform:none!important;transform-style:flat;perspective:none;filter:none;opacity:1;will-change:auto;pointer-events:none}
.h1-real:not(.tryb-lista) .eksponat.h1-slot-hidden{display:none!important}
.h1-real:not(.tryb-lista) .eksponat__stozek,.h1-real:not(.tryb-lista) .eksponat__polka{display:none}
.h1-real:not(.tryb-lista) .eksponat__ekran{position:absolute;left:0;top:0;width:560px;height:350px;aspect-ratio:auto;padding:0;border:0;border-radius:0;box-shadow:none;-webkit-box-reflect:none;background:#111;transform-origin:0 0;z-index:3;pointer-events:auto;opacity:1}
.h1-real:not(.tryb-lista) .eksponat__ekran video{display:block;width:100%;height:100%;object-fit:fill;border-radius:0;filter:brightness(.86) saturate(.9)}
.h1-real:not(.tryb-lista) .eksponat__ekran:focus-visible{outline:5px solid #ffd28a;outline-offset:8px}
.h1-real:not(.tryb-lista) .eksponat__tabliczka{display:none;position:absolute;right:24px;bottom:100px;left:auto;top:auto;width:min(405px,calc(100vw - 48px));max-height:64vh;overflow:auto;padding:20px 22px;margin:0;border:1px solid rgb(216 187 150 / .28);border-radius:3px;background:rgb(17 25 29 / .96);box-shadow:0 14px 45px rgb(0 0 0 / .2);color:#f4eee3;transform:none!important;opacity:1;z-index:10;pointer-events:auto;text-align:left}
.h1-real:not(.tryb-lista) .h1-selected>.eksponat__tabliczka{display:block}
.h1-real:not(.tryb-lista) .eksponat__tabliczka .nr{color:#e4bf8d;font-size:11px;letter-spacing:.16em}
.h1-real:not(.tryb-lista) .eksponat__tabliczka h2{font-size:clamp(21px,2vw,28px);line-height:1.15;color:#fff3df;margin:7px 0 12px}
.h1-real:not(.tryb-lista) .eksponat__tabliczka p{font-size:13px;line-height:1.55;color:#e0d9ce;opacity:1;margin:8px 0}
.h1-real:not(.tryb-lista) .eksponat__tabliczka .eksponat__haczyk{font-size:14px;color:#f1d6b1}
.h1-real:not(.tryb-lista) .eksponat__tabliczka .eksponat__cena{font-size:15px;color:#f5d4a1}
.h1-real:not(.tryb-lista) .copy-akcje{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.h1-real:not(.tryb-lista) .copy-akcje a,.h1-real:not(.tryb-lista) .copy-akcje button{padding:10px 13px;font-size:13px;min-height:40px}
.h1-real:not(.tryb-lista) .recepcja{display:none;position:absolute;inset:auto 24px 100px auto;width:min(600px,calc(100vw - 48px));max-height:70vh;overflow:auto;margin:0;padding:24px;background:#111b20;border:1px solid #7a6d5b;border-radius:3px;transform:none!important;opacity:1!important;z-index:11;pointer-events:auto}
.h1-real:not(.tryb-lista) .recepcja.h1-selected{display:block}
.h1-motion{display:none;position:absolute;top:84px;right:24px;z-index:12;padding:8px 12px;min-height:36px;font:inherit;font-size:12px;color:#fff3df;background:rgb(17 25 29 / .92);border:1px solid #8b7b65;border-radius:3px;cursor:pointer}
.h1-room-visible:not(.tryb-lista) .h1-motion{display:block}
.tryb-lista .h1-room,.tryb-lista .h1-motion{display:none}
.h1-real .strz,.h1-real .paski{z-index:35}
@media(max-width:699px){
 .h1-real:not(.tryb-lista) .eksponat__tabliczka{left:12px;right:12px;bottom:92px;width:auto;max-height:calc(45svh - 110px);padding:12px 15px}
 .h1-real:not(.tryb-lista) .eksponat__tabliczka h2{font-size:21px;margin:4px 0 8px}
 .h1-real:not(.tryb-lista) .eksponat__tabliczka p{font-size:12px;margin:6px 0}
 .h1-real:not(.tryb-lista) .eksponat__tabliczka .eksponat__haczyk{font-size:13px}
 .h1-real:not(.tryb-lista) .recepcja{left:12px;right:12px;bottom:92px;width:auto;max-height:65svh;padding:18px}
 .h1-motion{top:76px;right:12px;font-size:11px;padding:6px 9px}
 .h1-entry-hint{bottom:12%;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.h1-real *{scroll-behavior:auto!important}}
/* neon nad drzwiami w filmie — pozycja i wielkosc z h1-real.js (sledzenie naswietla) */
.h1-neon{position:absolute;right:auto;width:auto;transform:translate(-50%,-50%);white-space:nowrap;pointer-events:none;z-index:2;line-height:1.15}
.h1-neon .neon__a{font-size:1em}.h1-neon .neon__b{font-size:1.1em;margin-top:.04em}
.tryb-lista .h1-neon{display:none}
/* przejscie film -> sala: przenikanie 800 ms (skala: kinowa 800-1000 ms) zamiast ciecia */
.h1-real:not(.tryb-lista) #drzwi{transition:opacity .8s cubic-bezier(.25,1,.5,1),visibility 0s linear 0s}
.h1-real.h1-room-visible:not(.tryb-lista) #drzwi{opacity:0;visibility:hidden;transition:opacity .8s cubic-bezier(.25,1,.5,1),visibility 0s linear .8s}
/* tabliczka po lewej, gdy wybrany ekran jest w prawej czesci sali */
@media(min-width:700px){.h1-real:not(.tryb-lista) .h1-tab-lewo .eksponat__tabliczka,.h1-real:not(.tryb-lista) .h1-tab-lewo .recepcja{left:112px;right:auto}}
/* nawigacja 01-08 czytelna na jasnym zdjeciu sali */
.h1-real:not(.tryb-lista) .paski{background:rgb(12 15 17 / .72);border:1px solid rgb(216 187 150 / .22);border-radius:999px;padding:6px 14px 4px;width:max-content;max-width:calc(100vw - 24px)}
/* puste plotna w glebi: nieruchoma klatka dema, przyciemniona jak obraz na scianie */
.h1-plotno{position:absolute;left:0;top:0;width:300px;height:460px;transform-origin:0 0;background:#2a2622 center/cover no-repeat;filter:brightness(.8) saturate(.85);box-shadow:inset 0 0 0 6px #23201d;pointer-events:none;z-index:1}
/* telefon: strona nie przewija sie w wejsciu i w sali (film gra sam, dema strzalkami/numerkami/gestem) */
html.h1-blokada{overflow:hidden}html.h1-blokada body{overflow:visible}
/* telefon: warstwa starego widoku przy zmianie dema (znika 450 ms) */
.h1-ghost{position:absolute;left:0;top:0;right:0;overflow:hidden;pointer-events:none;z-index:2;opacity:0}
.h1-ghost-ekran{position:absolute;left:0;top:0;width:560px;height:350px;transform-origin:0 0;background:#111 center/cover no-repeat;filter:brightness(.86) saturate(.9)}
.tryb-lista .h1-ghost{display:none}
/* od pierwszej klatki (zanim wczyta sie skrypt) plakat filmu zamiast starej fasady CSS; h1-awaria = powrot do starej wersji */
html.js:not(.h1-awaria) body:not(.tryb-lista) .drzwi{background:#10181e url("h1-entry-poster.jpg?v=stab-20261103") center/cover no-repeat}
html.js:not(.h1-awaria) body:not(.tryb-lista) .drzwi::before,html.js:not(.h1-awaria) body:not(.tryb-lista) .drzwi::after{display:none!important}
html.js:not(.h1-awaria) body:not(.tryb-lista) #drzwi>*:not(.h1-entry-film):not(.h1-entry-hint):not(.h1-door-hit){display:none!important}
/* neon jest wtopiony w film (tools/h1_neon_film.py) */
.h1-neon{display:none!important}
/* TELEFON: sala jako zwykly film na demo (bez 3D i nakladek) — plynne odtwarzanie na Androidzie */
.h1-tel-sala{position:absolute;inset:0;pointer-events:auto;background:#171b1d}
.h1-tel-sala video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:0;transition:opacity .3s cubic-bezier(.25,1,.5,1)}
.h1-tel-sala video.on{opacity:1}
.h1-tel:not(.tryb-lista) .h1-room-photo,.h1-tel:not(.tryb-lista) .h1-room-front,.h1-tel:not(.tryb-lista) .h1-plotno,.h1-tel:not(.tryb-lista) .h1-ghost,.h1-tel:not(.tryb-lista) .eksponat__ekran{display:none!important}
.tryb-lista .h1-tel-sala{display:none}
/* telefon: pod filmem wejscia nic sie nie rysuje (pomiar: sala pod filmem = gubione klatki) */
.h1-tel:not(.h1-room-visible):not(.tryb-lista) #hall{visibility:hidden}
