/* PNP_SCREENS_SZ1_V1 — Ekrany: gotowe szablony (04.11.2026). Wygląd wspólny dla telewizora (/ekran.php) i edytora (/ekrany.php).
 * Szablon wypełnia okienko (container-type: size) — rozmiary w cqw/cqh, pionowe okienko = układ pionowy. Czcionki z serwera. */
@font-face { font-family: 'SzDisplay'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/ekran-sz-f-bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SzDisplay'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/ekran-sz-f-bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'SzText'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/ekrany-f-geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SzText'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/ekrany-f-geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'SzText'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/ekrany-f-geist-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'SzText'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/ekrany-f-geist-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

.sz { --c1: #0f3b2c; --c2: #c7f25e; --c3: #ffffff; --ink: #0f3b2c; container-type: size; position: absolute; inset: 0; overflow: hidden; background: var(--c1); color: var(--c3);
  font-family: 'SzText', "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif; text-align: start; line-height: 1.3; }
.sz.k-granat { --c1: #16143a; --c2: #e9c46a; --c3: #ffffff; --ink: #16143a; }
.sz.k-koral { --c1: #7a1f2b; --c2: #ffb4a2; --c3: #fff6f2; --ink: #5a1520; }
.sz.k-grafit { --c1: #1d2230; --c2: #4fd1c5; --c3: #ffffff; --ink: #0d2a28; }
.sz *, .sz *::before, .sz *::after { box-sizing: border-box; }
.sz [hidden] { display: none !important; }
.sz-photo, .sz-shade, .sz-stripe { position: absolute; inset: 0 0 0 44%; }
.sz-photo { overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: color-mix(in srgb, var(--c1) 70%, #000); }
.sz-photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; display: block; }
.sz.anim .sz-photo img { animation: szKen 26s ease-in-out infinite alternate; }
@keyframes szKen { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, 1%); } }
.sz-stripe { clip-path: polygon(10.5% 0, 14% 0, 0 100%, -3.5% 100%); background: var(--c2); }
.sz-shade { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.sz.nophoto .sz-photo, .sz.nophoto .sz-shade { background: radial-gradient(120% 90% at 70% 30%, color-mix(in srgb, var(--c2) 35%, var(--c1)), var(--c1)); }
.sz-dots { position: absolute; left: 0; bottom: 0; width: 22cqw; height: 22cqw; opacity: .12; background: radial-gradient(circle, var(--c3) 1.2px, transparent 1.6px) 0 0 / 1.6cqw 1.6cqw; }
.sz-in { position: absolute; left: 5cqw; top: 6cqh; bottom: 6cqh; width: 37.5cqw; display: flex; flex-direction: column; justify-content: center; padding: 9cqh 0 8cqh; }
.sz-in > * { flex-shrink: 0; }
.sz-brand { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 1.1cqw; font-weight: 600; font-size: 1.9cqw; letter-spacing: .01em; opacity: .95; white-space: nowrap; overflow: hidden; }
.sz-logo { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--c2); color: var(--ink); display: grid; place-items: center; font: 800 1.8cqw 'SzDisplay', 'SzText', sans-serif; flex: none; }
.sz-tag { align-self: flex-start; background: var(--c2); color: var(--ink); font-weight: 800; font-size: 1.45cqw; letter-spacing: .14em; text-transform: uppercase; padding: .55cqw 1.3cqw; border-radius: 99px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-h { font: 800 6.4cqw/0.97 'SzDisplay', 'SzText', sans-serif; letter-spacing: -.035em; margin: 1.6cqw 0 0; text-wrap: balance; overflow-wrap: anywhere; }
.sz-h em { font-style: normal; color: var(--c2); }
.sz-p { font-size: 2.05cqw; line-height: 1.35; margin: 1.6cqw 0 0; opacity: .9; text-wrap: pretty; }
.sz-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .9cqw; margin-top: 2.4cqw; }
.sz-price small { font-size: 1.9cqw; opacity: .8; }
.sz-price b { font: 800 5cqw/1 'SzDisplay', 'SzText', sans-serif; letter-spacing: -.03em; color: var(--c2); font-variant-numeric: tabular-nums; }
.sz-price span { font-size: 1.9cqw; opacity: .8; }
.sz-when { display: inline-flex; align-items: center; gap: .9cqw; margin-top: 2cqw; font-weight: 600; font-size: 1.85cqw; padding: .8cqw 1.4cqw; border-radius: 1.2cqw; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); align-self: flex-start; max-width: 100%; }
.sz-when svg, .sz-addr svg { width: 2cqw; height: 2cqw; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sz-addr { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: .8cqw; font-size: 1.6cqw; opacity: .8; }
.sz-badge { position: absolute; left: 52cqw; top: 9cqh; width: 15cqw; height: 15cqw; border-radius: 50%; background: var(--c2); color: var(--ink); display: grid; place-items: center; text-align: center; transform: rotate(-9deg); box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.35); }
.sz-badge::after { content: ""; position: absolute; inset: .8cqw; border-radius: 50%; border: .25cqw dashed rgba(0,0,0,.28); }
.sz-badge b { display: block; font: 800 4.6cqw/0.9 'SzDisplay', 'SzText', sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.sz-badge small { display: block; font-weight: 700; font-size: 1.35cqw; letter-spacing: .12em; text-transform: uppercase; margin-top: .3cqw; }
.sz.anim .sz-badge { animation: szPop 1s cubic-bezier(.34,1.56,.64,1) .5s both, szBeat 4s ease-in-out 2s infinite; }
@keyframes szPop { from { transform: rotate(-30deg) scale(.2); opacity: 0; } }
@keyframes szBeat { 0%, 100% { transform: rotate(-9deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.05); } }
.sz-qr { position: absolute; right: 3.2cqw; bottom: 5cqh; background: #fff; color: #111; border-radius: 1.4cqw; padding: 1cqw; text-align: center; box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.3); max-width: 16cqw; }
.sz-qr svg { display: block; width: 10.5cqw; height: 10.5cqw; margin: 0 auto; }
.sz-qr span { display: block; font-weight: 700; font-size: 1.35cqw; margin-top: .5cqw; }
.sz.anim .sz-in > * { animation: szUp .8s cubic-bezier(.2,.8,.2,1) both; }
.sz.anim .sz-in > :nth-child(2) { animation-delay: .1s; } .sz.anim .sz-in > :nth-child(3) { animation-delay: .2s; } .sz.anim .sz-in > :nth-child(4) { animation-delay: .3s; }
.sz.anim .sz-in > :nth-child(5) { animation-delay: .4s; } .sz.anim .sz-in > :nth-child(6) { animation-delay: .5s; } .sz.anim .sz-in > :nth-child(7) { animation-delay: .6s; }
@keyframes szUp { from { opacity: 0; transform: translateY(3cqh); } }
@container (aspect-ratio < 1) {
  .sz-photo, .sz-shade { inset: 0 0 52% 0; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .sz-stripe { inset: 0 0 52% 0; clip-path: polygon(0 100%, 100% 86%, 100% 90%, 0 104%); }
  .sz-in { left: 7cqw; right: 7cqw; width: auto; top: 51cqh; bottom: 3cqh; justify-content: flex-start; padding: 0 0 6cqh; }
  .sz-brand { top: -46cqh; right: auto; font-size: 3.6cqw; background: rgba(0,0,0,.35); padding: 1.2cqw 2.4cqw 1.2cqw 1.2cqw; border-radius: 99px; }
  .sz-logo { width: 7cqw; height: 7cqw; font-size: 3.4cqw; }
  .sz-tag { font-size: 2.8cqw; padding: 1cqw 2.4cqw; }
  .sz-h { font-size: 10.5cqw; margin-top: 2cqw; }
  .sz-p { font-size: 3.6cqw; margin-top: 2cqw; }
  .sz-price { margin-top: 2.4cqw; } .sz-price b { font-size: 8.6cqw; } .sz-price small, .sz-price span { font-size: 3.6cqw; }
  .sz-when { font-size: 3.3cqw; padding: 1.3cqw 2.4cqw; border-radius: 2.4cqw; margin-top: 2.4cqw; }
  .sz-when svg, .sz-addr svg { width: 3.8cqw; height: 3.8cqw; }
  .sz-addr { font-size: 3.1cqw; right: 28cqw; }
  .sz-badge { left: auto; right: 6cqw; top: 33cqh; width: 26cqw; height: 26cqw; }
  .sz-badge b { font-size: 8cqw; } .sz-badge small { font-size: 2.5cqw; }
  .sz-qr { right: 6cqw; bottom: 4cqh; padding: 1.8cqw; border-radius: 2.6cqw; max-width: 26cqw; }
  .sz-qr svg { width: 18cqw; height: 18cqw; } .sz-qr span { font-size: 2.6cqw; }
  .sz-dots { width: 40cqw; height: 40cqw; background-size: 3cqw 3cqw; }
}
@media (prefers-reduced-motion: reduce) { .sz.anim * { animation: none !important; } }
/* edytor: podgląd w okienku */
.e6-pv.e6-pv-sz { padding: 0; overflow: hidden; }
.sz-form-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.sz-form-photos button { width: 84px; height: 56px; border-radius: 10px; border: 2px solid transparent; padding: 0; overflow: hidden; cursor: pointer; background: #222 center / cover no-repeat; color: #fff; font: 600 12px/1.2 inherit; }
.sz-form-photos button[aria-pressed=true] { border-color: #5b4fd6; box-shadow: 0 0 0 2px rgba(91,79,214,.35); }
.sz-form-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sz-form-colors { display: flex; gap: 8px; margin: 4px 0 6px; }
.sz-form-colors button { width: 44px; height: 44px; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 1px #d8d5ea; cursor: pointer; }
.sz-form-colors button[aria-pressed=true] { box-shadow: 0 0 0 3px #5b4fd6; }
