/* Global styles in prototype order. Section styles live next to their components. *//* Hisense Alfabet (Light 300, Regular 400, Medium 500, Bold 700).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

@font-face {
  font-family: 'Hisense Alfabet';
  src: url('/assets/HisenseAlfabet-Light-Bm7xZk6o.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Hisense Alfabet';
  src: url('/assets/HisenseAlfabet-Regular-B4PFEmIF.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hisense Alfabet';
  src: url('/assets/HisenseAlfabet-Medium-BS8r5GP5.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Hisense Alfabet';
  src: url('/assets/HisenseAlfabet-Bold-BMgMXRmh.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
/* Design tokens: colors, type scale, radii, easing, layout.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Quiz-first hero framed by Edyta (Team TV) and Cezary (Team Projektor) pointing at it.
   The page is one continuous cream → champagne → cinema-dark → champagne journey joined by gradient seams. */
:root {
  color-scheme: light;
  --cream: #faf6ef;
  --ivory: #fffdf8;
  --champ-50: #f6eddd;
  --champ-100: #efe1c6;
  --gold-1: #efddb5;
  --gold-2: #cda872;
  --gold-3: #a07c46;
  --bronze: #7b5b2d;
  --line: rgba(160, 124, 70, 0.22);
  --ink: #241f1a;
  --mute: #6e655a;
  --night: #33271e;
  --night-2: #3d3026;
  --on-night: #f5ebdb;
  --on-night-mute: #bdae97;
  --teal: #00aaa6;
  --white: #ffffff;
  --gold: linear-gradient(120deg, #f3e3bf 0%, #d9b985 30%, #b48c55 55%, #e8d2a6 80%, #c29a62 100%);
  --f: 'Hisense Alfabet', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --step-0: 1.0625rem;
  --step-1: clamp(1.08rem, 0.95rem + 0.3vw, 1.2rem);
  --step-2: 1.55rem;
  --step-3: clamp(2.1rem, 3.9vw, 3.4rem);
  --step-4: clamp(2.8rem, min(6vw, 10vh), 5.6rem);
  --r-card: 30px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1240px;
  /* vertical rhythm: section padding on each side; two neighbours give 64 px on phones, 80 px on tablets, 120 px on desktop (UMD, Cinch) */
  --pad-y: clamp(48px, 6vw, 88px);
}
/* Base elements and shared text helpers.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--cream);
}
/* fine film grain for a printed, premium feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
/* The attribute always hides, also where a rule sets display (e.g. .r-teams{display:grid}). The approved
   prototype is viewed as a claude.ai artifact, whose page carries this rule, so that is the look Hisense
   approved; the prototype file alone lacked it. */
[hidden]:not([hidden='until-found' i]) {
  display: none !important;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold-3);
  outline-offset: 3px;
  border-radius: 14px;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.nodash::before {
  content: none;
}
.goldtext {
  background: var(--gold);
  background-size: 220% 100%;
  padding-top: 0.1em;
  padding-right: 0.06em;
  margin-right: -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-position: 50% 50%;
}
@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
section {
  scroll-margin-top: calc(90px - var(--pt, 16px));
  position: relative;
}
/* Buttons, arrows and text links.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.02em 1.75em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
/* narrow phones: the longest CTA ("Odkryj projektory laserowe Hisense") must keep the 20px gutters; a bit smaller and, below ~370px, two balanced lines */
@media (max-width: 420px) {
  .btn {
    font-size: 0.94rem;
    padding: 0.94em 1.3em;
    white-space: normal;
    text-wrap: balance;
    text-align: center;
    line-height: 1.15;
  }
}
.btn:active {
  transform: scale(0.97);
}
/* v69 arrows show where a link goes: down = further down this page, ↗ = another site in a new tab (no "→", it promises a new page) */
svg.arr {
  display: inline-block;
  flex: none;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.16em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
svg.arr.ext {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.1em;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr {
    transform: translateY(3px);
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr.ext {
    transform: translate(2px, -2px);
  }
}
.btn--gold {
  background: linear-gradient(180deg, #f3e3c1 0%, #e2c691 100%);
  color: #251c11;
  border-color: rgba(160, 124, 70, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(90, 60, 25, 0.12),
    0 12px 26px -14px rgba(120, 90, 40, 0.75);
}
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 1px 2px rgba(90, 60, 25, 0.12),
      0 18px 34px -14px rgba(120, 90, 40, 0.8);
  }
}
.btn--ink {
  background: var(--ink);
  color: var(--champ-50);
  box-shadow:
    0 1px 2px rgba(36, 31, 26, 0.2),
    0 12px 26px -16px rgba(36, 31, 26, 0.7);
}
.btn--ink .arr {
  color: var(--gold-1);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover {
    transform: translateY(-2px);
    background: #2e2720;
    box-shadow:
      0 1px 2px rgba(36, 31, 26, 0.2),
      0 18px 34px -16px rgba(36, 31, 26, 0.75);
  }
}
.btn--glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-night);
  border-color: rgba(239, 221, 181, 0.32);
  backdrop-filter: blur(8px);
}
@media (hover: hover) and (pointer: fine) {
  .btn--glass:hover {
    border-color: var(--gold-1);
    background: rgba(239, 221, 181, 0.08);
    transform: translateY(-2px);
  }
}
.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(160, 124, 70, 0.38);
}
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover {
    border-color: var(--bronze);
    background: rgba(255, 253, 248, 0.7);
    transform: translateY(-2px);
  }
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover::after {
    transition: transform 0.9s var(--ease);
    transform: translateX(120%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn .arr {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
.textlink {
  color: var(--bronze);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.textlink:hover {
  border-color: var(--bronze);
}
.linkbtn {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--mute);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.92rem;
  padding: 0.4em;
}
.linkbtn:hover {
  color: var(--ink);
}
/* Load sequence shared by sections (.ld, .ld-l, .ld-r) and the global reduced-motion overrides.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Load sequence (plays once on load) */
.ld {
  animation: none;
}
@keyframes ld {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.ld-l {
  animation: ldl 1.5s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.person.ld-l,
.person.ld-r {
  animation: none;
  opacity: 0;
}
.person.go {
  will-change: transform, opacity;
}
.person img {
  will-change: transform;
}
.person.go.done {
  will-change: auto;
}
.person.ld-l.go {
  animation:
    pzl 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    pzf 1.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.person.ld-r.go {
  animation:
    pzr 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s both,
    pzf 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.14s both;
}
@keyframes pzl {
  from {
    transform: translate3d(-90px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes pzr {
  from {
    transform: translate3d(90px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes pzf {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ldl {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ld-r {
  animation: ldr 1.5s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes ldr {
  from {
    opacity: 0;
    transform: translateX(70px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .person.ld-l,
  .person.ld-r {
    opacity: 1;
  }
  .ld,
  .ld-l,
  .ld-r,
  .rv.in,
  .rv.in h2,
  .goldtext,
  .rv.in .eyebrow::before,
  .chip,
  .pcard.rv.in,
  .duo.rv.in {
    animation: none !important;
  }
}
/* Section scaffolding shared by the page sections: padding, split heads with a lead beside the title.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Section scaffolding */
.sec {
  --pt: var(--pad-y);
  --pb: var(--pad-y);
  padding-block: var(--pt) var(--pb);
}
.sec.prod {
  --pb: calc(var(--pad-y) * 0.5);
}
.sec-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: clamp(28px, 4.6vh, 56px);
}
/* split head: title left, text right, so a section's head takes two or three lines of height instead of six */
.sec-head.split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.sec-head.split > div {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: end;
}
@media (max-width: 900px) {
  .sec-head.split {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
}
.sec-head.c {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.sec-head h2 {
  font-size: var(--step-3);
}
section[tabindex='-1']:focus {
  outline: none;
}
.sec-head p {
  color: var(--mute);
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 56ch;
}
/* v79 leads beside a heading sit off the reading path (the eye drops from the heading to the content), so they get
   more contrast and a lead-in: the first sentence in the heading's ink and weight 500, the rest in a darker grey */
.sec-head.split p {
  color: #4f463c;
}
.sec-head p .li {
  font-weight: 500;
  color: var(--ink);
}
/* Cookiebot's own dialog is replaced by the page's banner (chrome/ConsentBanner.tsx, prototype v128).
   Cookiebot still loads: it stores the consent, keeps its log and sends the Consent Mode update. */
#CybotCookiebotDialog,
#CybotCookiebotDialogBodyUnderlay,
#CookiebotWidget {
  display: none !important;
}
/* 06b Cashback (behind VITE_FEATURE_CASHBACK).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* v68 CASHBACK (Mila 19.11): no block on champagne; the night gradient flows into the section, soft gold glows,
   section head like the rest of the page, three step tiles in a row, CTA with a small note beside it */
.cb {
  --pt: clamp(10px, 2vw, 30px);
  --pb: clamp(26px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  color: var(--on-night);
  background:
    radial-gradient(40% 44% at 20% 42%, rgba(207, 174, 124, 0.15), transparent 72%),
    radial-gradient(34% 40% at 84% 64%, rgba(207, 174, 124, 0.09), transparent 72%), var(--night);
}
.cb::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1120px, 84%);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(239, 221, 181, 0.26), transparent);
}
/* v77 desktop/tablet: the line sits closer to the note and the Pazuras (beside the text there) get air below it */
@media (min-width: 861px) {
  .cb {
    --pb: clamp(20px, 1.8vw, 26px);
  }
}
.cb .wrap {
  position: relative;
}
/* v69 head: headline on two lines (question / answer), copy under it, so the headline never towers over the copy */
.cb-head {
  display: grid;
  gap: clamp(14px, 2vh, 20px);
}
.cb-head h2 {
  font-size: min(clamp(1.85rem, 3.4vw, 2.5rem), calc((100vw - 40px) / 12.3));
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.cb-head h2 .goldtext {
  display: block;
  margin-top: -0.1em;
}
.cb-head p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--on-night-mute);
  max-width: 60ch;
  text-wrap: pretty;
}
/* v69 steps: no boxes, no icons. One quiet timeline: hairline, gold dot, small number, bold title, muted text */
.cb-steps {
  --g: clamp(22px, 3vw, 48px);
  list-style: none;
  margin: clamp(22px, 3.4vh, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g);
}
.cb-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 3px;
  padding-top: clamp(24px, 3vh, 32px);
  font-size: clamp(0.9rem, 0.86rem + 0.12vw, 0.98rem);
  line-height: 1.5;
  color: var(--on-night-mute);
  text-wrap: pretty;
}
.cb-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  right: calc(-1 * var(--g));
  top: 3px;
  height: 1px;
  background: linear-gradient(90deg, rgba(239, 221, 181, 0.4), rgba(239, 221, 181, 0.12));
}
.cb-steps li:last-child::before {
  right: 0;
  background: linear-gradient(90deg, rgba(239, 221, 181, 0.4), rgba(239, 221, 181, 0));
}
.cb-steps li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow:
    0 0 0 4px rgba(239, 221, 181, 0.07),
    0 0 14px rgba(239, 221, 181, 0.3);
}
.cb-steps .n {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--gold-1);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.cb-steps b {
  font-weight: 500;
  color: var(--on-night);
  font-size: 1.1em;
  letter-spacing: -0.01em;
}
.cb-cta {
  display: flex;
  align-items: center;
  margin-top: clamp(26px, 4.2vh, 44px);
}
.cb-kv {
  margin: clamp(26px, 4vh, 44px) 0 0;
  position: relative;
  aspect-ratio: 1920/972;
  border-radius: clamp(16px, 1.8vw, 24px);
  overflow: hidden;
  background: #0a0c13;
  box-shadow:
    0 0 0 1px rgba(239, 221, 181, 0.18),
    0 34px 80px -34px rgba(0, 0, 0, 0.65),
    0 30px 110px -40px rgba(239, 200, 140, 0.22);
}
.cb-kv img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
/* v73: the section's footnote, not the button's caption */
.cb-note {
  margin: clamp(32px, 3.4vw, 48px) 0 0;
  font-size: 0.66rem;
  line-height: 1.55;
  color: var(--on-night-mute);
  opacity: 0.6;
  max-width: none;
}
.cb-steps.rv.in li {
  animation: optin 0.7s var(--ease) both calc(0.15s + var(--i) * 0.1s);
}
@media (max-width: 640px) {
  .cb-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cb-steps li {
    padding: 0 0 22px 28px;
  }
  .cb-steps li:last-child {
    padding-bottom: 0;
  }
  .cb-steps li::before {
    left: 3px;
    right: auto;
    top: 12px;
    bottom: -1px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(239, 221, 181, 0.4), rgba(239, 221, 181, 0.12));
  }
  .cb-steps li:last-child::before {
    display: none;
  }
  .cb-steps li::after {
    top: 4px;
  }
  .cb-steps .n {
    margin-bottom: 4px;
  }
}
@media (max-width: 560px) {
  .cb-cta .btn {
    width: 100%;
  }
  .cb-note {
    margin-top: 40px;
  }
}
@media (min-width: 1024px) {
  .cb .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cb-head {
    justify-items: center;
  }
  .cb-head p {
    max-width: none;
  }
  .cb .wrap {
    --cbw: clamp(820px, calc((100vh - 496px) * 1.975), 980px);
  }
  .cb-kv {
    width: min(100%, var(--cbw));
    margin-top: clamp(20px, 2.8vh, 30px);
  }
  .cb-steps {
    --g: clamp(24px, 1.8vw, 32px);
    width: min(100%, var(--cbw));
    text-align: left;
    margin-top: clamp(24px, 3.4vh, 36px);
  }
  .cb-cta {
    justify-content: center;
    margin-top: clamp(20px, 2.8vh, 30px);
  }
  .cb-note {
    margin-top: clamp(18px, 2.4vh, 26px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb-steps.rv.in li {
    animation: none;
  }
}
/* Cookie consent banner (prototype v130, "Hisense_baner_cookies_szablon_Cookiebot.html"). Values are the
   prototype's, rule order kept, including the dated revisions (v113–v130) that override earlier rules.
   Cookiebot stores the consent and sends the Consent Mode update; its own dialog is hidden
   (src/styles/consent.css). Tokens (--ivory, --gold, --ease…) come from tokens.css, the optin keyframes
   from hero.css and .sr from buttons.css. Left out: the template's preview-only rule (html.ck-preview). */
.ck,
.ck * {
  box-sizing: border-box;
  font-family: 'Hisense Alfabet', 'Helvetica Neue', Arial, sans-serif;
}
.ck h2,
.ck p,
.ck ul {
  margin: 0;
}
.ck .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.45s var(--ease),
    background-color 0.3s,
    border-color 0.3s;
}
.ck .btn--ink {
  color: var(--champ-50);
  box-shadow:
    0 1px 2px rgba(36, 31, 26, 0.2),
    0 12px 26px -16px rgba(36, 31, 26, 0.7);
}
.ck .btn--gold {
  background: linear-gradient(180deg, #f3e3c1 0%, #e2c691 100%);
  color: #251c11;
  border-color: rgba(160, 124, 70, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(90, 60, 25, 0.12),
    0 12px 26px -14px rgba(120, 90, 40, 0.75);
}
.ck .btn--line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(160, 124, 70, 0.38);
}
@media (hover: hover) and (pointer: fine) {
  .ck .btn:hover {
    transform: translateY(-2px);
  }
  .ck .btn--ink:hover {
    background: #2e2720;
  }
  .ck .btn--line:hover {
    border-color: var(--bronze);
  }
}
.ck .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* v113 cookie consent (Cookiebot, own template). Floating card, never a wall: the quiz stays usable.
   First layer: short text + three equal buttons (Odrzuć = Akceptuj in size, colour and weight, EDPB / CNIL);
   second layer opens inside the same card: four Cookiebot categories, everything except "Niezbędne" off by default. */
.ck {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.98), rgba(250, 242, 228, 0.97));
  border: 1px solid rgba(205, 168, 114, 0.35);
  color: var(--ink);
  box-shadow:
    0 50px 100px -40px rgba(70, 48, 18, 0.55),
    0 18px 40px -24px rgba(70, 48, 18, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  translate: -50% 28px;
  scale: 0.985;
  transition:
    opacity 0.5s var(--ease),
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.8s;
}
.ck.on {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  scale: 1;
  transition:
    opacity 0.6s var(--ease),
    translate 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
.ck::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gold);
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
  pointer-events: none;
}
/* one slow light sweep along the gold edge when the card arrives */
.ck::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  background-size: 250% 100%;
  background-position: 120% 0;
  opacity: 0;
}
.ck.on.glint::after {
  animation: ckglint 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}
@keyframes ckglint {
  0% {
    opacity: 1;
    background-position: 120% 0;
  }
  100% {
    opacity: 0;
    background-position: -30% 0;
  }
}
.ck-in {
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3.2vw, 36px) clamp(20px, 2.6vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.ck-k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 12px;
}
.ck-k::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.ck-t {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  outline: none;
  text-wrap: balance;
}
.ck-p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--mute);
  max-width: 66ch;
  text-wrap: pretty;
}
.ck-p a {
  color: var(--bronze);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(160, 124, 70, 0.38);
  text-underline-offset: 3px;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .ck-p a:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
  }
}
.ck-p a svg {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 2px;
  vertical-align: -0.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* buttons: Odrzuć and Akceptuj are the same button; Ustawienia is the quiet one. 48px targets */
.ck-in {
  padding-bottom: 0;
}
.ck-acts {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3.2vw, 36px) clamp(20px, 2.6vw, 28px);
}
.ck.adv .ck-acts::before {
  content: '';
  position: absolute;
  left: clamp(20px, 3.2vw, 36px);
  right: clamp(20px, 3.2vw, 36px);
  top: 0;
  height: 1px;
  background: var(--line);
}
.ck-acts .sp {
  flex: 1;
}
.ck .btn {
  padding: 0.95em 1.5em;
  font-size: 0.95rem;
  min-height: 48px;
}
.ck .btn--ink {
  background: var(--ink);
}
@media (max-width: 640px) {
  .ck {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    border-radius: 24px;
  }
  .ck-acts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ck-acts .sp {
    display: none;
  }
  .ck-acts .ck-set {
    grid-column: 1 / -1;
    order: 3;
  }
  .ck .btn {
    width: 100%;
    padding: 0.9em 0.4em;
    font-size: 0.88rem;
    white-space: nowrap;
    line-height: 1.15;
  }
  .ck-p {
    font-size: 0.9rem;
  }
}
/* second layer: the categories, revealed inside the card */
.ck-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.55s var(--ease),
    opacity 0.3s ease,
    visibility 0s 0.55s;
}
.ck.adv .ck-more {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.55s var(--ease),
    opacity 0.45s ease 0.1s,
    visibility 0s;
}
.ck-more > div {
  min-height: 0;
  overflow: hidden;
}
.ck-cats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ck-cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ck-cat b {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.ck-cat b small {
  margin-left: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.ck-cat p {
  grid-column: 1;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--mute);
  text-wrap: pretty;
}
.ck-cat .sw {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.ck.adv .ck-cat {
  animation: optin 0.6s var(--ease) both;
  animation-delay: calc(0.12s + var(--i) * 60ms);
}
/* switch: champagne track, pearl knob; on = gold */
.sw {
  position: relative;
  width: 52px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(160, 124, 70, 0.35);
  border-radius: 999px;
  background: rgba(239, 225, 198, 0.7);
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px -1px rgba(70, 48, 18, 0.35);
  transition: translate 0.45s var(--spring);
}
.sw[aria-checked='true'] {
  background: linear-gradient(180deg, #e8d0a0, #c9a46b);
  border-color: rgba(160, 124, 70, 0.55);
}
.sw[aria-checked='true']::after {
  translate: 22px 0;
}
.sw:disabled {
  cursor: default;
  opacity: 0.65;
}
.sw:focus-visible {
  outline: 2px solid var(--gold-3);
  outline-offset: 3px;
}
.ck-note a {
  color: var(--bronze);
  text-underline-offset: 3px;
}
.ck-note {
  margin: 12px 0 4px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--mute);
  opacity: 0.85;
}
.ck-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--mute);
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 1;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.ck.re .ck-x {
  display: grid;
}
.ck-x svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
@media (hover: hover) and (pointer: fine) {
  .ck-x:hover {
    background: rgba(206, 176, 128, 0.18);
    color: var(--ink);
  }
}
.ck-x:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ck,
  .ck.on,
  .ck-more,
  .ck.adv .ck-more,
  .sw,
  .sw::after {
    transition: none;
  }
  .ck.adv .ck-cat,
  .ck.on.glint::after {
    animation: none;
  }
}

/* v114 compact (Mila 22.11: smaller, not in the middle, smaller type, no black): a small card in the bottom-left corner,
   both main buttons the same champagne gold, "Ustawienia" a quiet text button under them */
.ck {
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 32px));
  border-radius: 22px;
  translate: 0 24px;
  transition:
    opacity 0.5s var(--ease),
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.5s var(--ease),
    visibility 0s 0.8s;
}
.ck.on {
  translate: 0 0;
}
.ck.adv {
  width: min(440px, calc(100vw - 32px));
}
.ck-in {
  padding: 20px 22px 0;
}
.ck-t {
  font-size: 1.06rem;
  margin-bottom: 6px;
  padding-right: 28px;
}
.ck-p {
  font-size: 0.84rem;
  line-height: 1.5;
}
.ck-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 22px 14px;
}
.ck.adv .ck-acts::before {
  left: 22px;
  right: 22px;
}
.ck-acts .sp {
  display: none;
}
.ck .btn {
  min-height: 42px;
  padding: 0.8em 0.6em;
  font-size: 0.84rem;
  white-space: nowrap;
}
.ck .btn--gold:hover {
  transform: translateY(-1px);
}
.ck-set {
  grid-column: 1 / -1;
  order: 3;
  justify-self: center;
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bronze);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(160, 124, 70, 0.38);
  text-underline-offset: 4px;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .ck-set:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
  }
}
.ck-set:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
  border-radius: 6px;
}
.ck-cats {
  margin-top: 14px;
}
.ck-cat {
  padding: 11px 0;
  gap: 2px 16px;
}
.ck-cat b {
  font-size: 0.9rem;
}
.ck-cat p {
  font-size: 0.78rem;
}
.sw {
  width: 44px;
  height: 26px;
}
.sw::after {
  width: 18px;
  height: 18px;
}
.sw[aria-checked='true']::after {
  translate: 18px 0;
}
.ck-note {
  font-size: 0.72rem;
}
.ck-x {
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
}
@media (max-width: 640px) {
  .ck {
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    border-radius: 20px;
  }
  .ck.adv {
    width: calc(100vw - 20px);
  }
  .ck-in {
    padding: 18px 18px 0;
  }
  .ck-acts {
    padding: 14px 18px 10px;
  }
  .ck.adv .ck-acts::before {
    left: 18px;
    right: 18px;
  }
  .ck .btn {
    width: 100%;
    font-size: 0.84rem;
    padding: 0.8em 0.4em;
  }
  .ck-p {
    font-size: 0.84rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck {
    transition: none;
  }
}
/* v117 (Mila 22.11): three equal buttons in one row (Ustawienia | Odrzuć | Akceptuj), no lone centred link; a close "×" on the first layer
   that equals "Odrzuć" (CNIL "continuer sans accepter"), so nobody has to accept to get the card out of the way; texts from pl.hisense.com */
.ck {
  width: min(500px, calc(100vw - 32px));
}
.ck.adv {
  width: min(500px, calc(100vw - 32px));
}
.ck-x {
  display: grid;
}
.ck-acts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ck-acts .ck-set {
  grid-column: auto;
  order: 0;
  justify-self: stretch;
}
.ck .btn--line {
  background: rgba(255, 253, 248, 0.6);
  color: var(--ink);
  border-color: rgba(160, 124, 70, 0.42);
}
@media (hover: hover) and (pointer: fine) {
  .ck .btn--line:hover {
    border-color: var(--bronze);
    background: #fff;
    transform: translateY(-1px);
  }
}
.ck-p .ck-links {
  display: block;
  margin-top: 6px;
}
.ck-p .ck-links a + a {
  margin-left: 14px;
}
.ck-cat b small {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .ck-t {
    font-size: 1rem;
  }
  .ck-p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .ck .btn {
    font-size: 0.8rem;
    padding: 0.8em 0.3em;
    min-height: 44px;
  }
  .ck .btn .lg {
    display: none;
  }
  .ck-acts {
    padding: 12px 14px 12px;
    gap: 6px;
  }
  .ck-in {
    padding: 16px 16px 0;
  }
}
.ck .btn {
  gap: 0;
}
.ck-acts .ck-set {
  min-height: 42px;
  padding: 0.8em 0.6em;
  border: 1px solid rgba(160, 124, 70, 0.45);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 248, 0.7);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}
@media (max-width: 640px) {
  .ck-acts .ck-set {
    min-height: 44px;
    font-size: 0.8rem;
    padding: 0.8em 0.3em;
  }
}
/* v118 (Mila 22.11 "nadal za duży"): no visible heading (kept for screen readers), two-sentence copy with one link,
   smaller buttons (36 px desktop, 40 px touch), settings = 3 short rows (no "Preferencje": the LP sets no preference cookies) */
.ck,
.ck.adv {
  width: min(430px, calc(100vw - 32px));
  border-radius: 18px;
}
.ck-in {
  padding: 16px 44px 0 18px;
}
.ck-p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}
.ck-x {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.ck-acts {
  padding: 12px 18px 14px;
  gap: 6px;
}
.ck .btn,
.ck-acts .ck-set {
  min-height: 36px;
  padding: 0.55em 0.5em;
  font-size: 0.78rem;
}
.ck.adv .ck-acts::before {
  left: 18px;
  right: 18px;
}
.ck-cats {
  margin-top: 10px;
}
.ck-cat {
  padding: 8px 0;
  gap: 0 14px;
}
.ck-cat b {
  font-size: 0.82rem;
}
.ck-cat p {
  font-size: 0.74rem;
  line-height: 1.4;
}
.ck-on {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.ck .ck-in,
.ck.adv .ck-in {
  padding-right: 18px;
}
.sw {
  width: 38px;
  height: 22px;
}
.sw::after {
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
}
.sw[aria-checked='true']::after {
  translate: 16px 0;
}
.ck-note {
  margin: 8px 0 2px;
  font-size: 0.7rem;
}
@media (max-width: 640px) {
  .ck,
  .ck.adv {
    width: calc(100vw - 20px);
  }
  .ck-in {
    padding: 14px 42px 0 16px;
  }
  .ck.adv .ck-in {
    padding-right: 16px;
  }
  .ck-acts {
    padding: 10px 14px 12px;
  }
  .ck .btn,
  .ck-acts .ck-set {
    min-height: 40px;
    font-size: 0.78rem;
    padding: 0.55em 0.3em;
  }
  .ck-p {
    font-size: 0.78rem;
  }
}
/* v121: switch touch target 44 px, whole category row toggles */
.sw::before {
  content: '';
  position: absolute;
  inset: -11px -6px;
}
.ck-cat:has(.sw:not(:disabled)) {
  cursor: pointer;
}
/* v122 (Mila): no "ZAWSZE" label (Niezbędne = locked switch, "Zawsze włączone" in its text), no lines between categories (air instead), no extra admin line */
.ck-cats {
  border-top: 0;
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.ck-cat {
  border-bottom: 0;
  padding: 0;
}
.ck-more > div {
  padding-bottom: 6px;
}
.sw:disabled {
  opacity: 0.5;
}
/* v123: in settings "Zapisz wybór" becomes the one gold primary on the right; Odrzuć and Akceptuj turn into two identical outline
   buttons (still equal to each other, so no nudge towards consent), so a user who just set the switches saves, not "accepts all" by reflex */
.ck.adv .ck-acts #ck-no,
.ck.adv .ck-acts #ck-yes {
  background: rgba(255, 253, 248, 0.7);
  border-color: rgba(160, 124, 70, 0.45);
  box-shadow: none;
}
.ck.adv .ck-acts .ck-set {
  order: 3;
  background: linear-gradient(180deg, #f3e3c1 0%, #e2c691 100%);
  color: #251c11;
  border-color: rgba(160, 124, 70, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(90, 60, 25, 0.12),
    0 12px 26px -14px rgba(120, 90, 40, 0.75);
}
/* v124: the "×" never sits over the copy, also in settings: the text column always leaves room for it */
.ck .ck-p {
  padding-right: 30px;
}
.ck .ck-in,
.ck.adv .ck-in {
  padding-right: 18px;
}
@media (max-width: 640px) {
  .ck .ck-in,
  .ck.adv .ck-in {
    padding-right: 16px;
  }
}
/* v125: settings = two buttons. Every switch starts off, so "Zapisz wybór" untouched = refusal; "Odrzuć" would duplicate it */
.ck-all {
  display: none;
}
.ck.adv .ck-all {
  display: inline;
}
.ck.adv .ck-acts {
  grid-template-columns: 1fr 1fr;
}
.ck.adv .ck-acts #ck-no {
  display: none;
}
/* v126: settings = one "Zapisz wybór" (all switches start off; no Accept-all without a Reject-all next to it), no line above it */
.ck.adv .ck-acts {
  grid-template-columns: 1fr;
}
.ck.adv .ck-acts #ck-yes {
  display: none;
}
.ck.adv .ck-acts::before {
  display: none;
}
/* v130 (Mila 22.11): the card stays bottom-left everywhere. An undecided visitor finishing the quiz:
   the card glints once more (no new popup, never after a choice) */
.ck.nudge {
  animation: cknudge 1.2s var(--ease);
}
@keyframes cknudge {
  0%,
  100% {
    scale: 1;
  }
  40% {
    scale: 1.015;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck.nudge {
    animation: none;
  }
}
.ck ul.ck-cats {
  margin-top: 14px;
}
/* Toast message (status line at the bottom of the screen).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  opacity: 0;
  z-index: 80;
  padding: 0.85em 1.4em;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--gold-1);
  font-size: 0.92rem;
  transition: all 0.45s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Footer.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

.ftr {
  background: var(--night);
  color: var(--on-night-mute);
}
.ftr .wrap {
  padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(239, 221, 181, 0.12);
}
.ftr .brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ftr img {
  height: 15px;
  width: auto;
}
.ftr nav {
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.ftr nav a,
.ftr nav button {
  color: var(--on-night-mute);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.5em 0;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.ftr nav a:hover,
.ftr nav button:hover {
  color: var(--on-night);
}
.ftr small {
  font-size: 0.74rem;
}
@media (max-width: 640px) {
  .ftr .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Header: floating pill, tint follows the page while scrolling (--dk).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Header: one floating island, always visible, same size everywhere.
   Only its tint follows the page (--dk 0 = light, 1 = dark), blended continuously while scrolling. */
.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: 74px;
  --dk: 0;
  display: flow-root;
}
.hdr .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: min(1080px, calc(100% - 20px));
  height: 60px;
  margin-top: 10px;
  padding-left: 24px;
  padding-right: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 252, 246, 0.8);
  background: color-mix(
    in oklab,
    rgb(255 252 246 / 0.8),
    rgb(42 32 24 / 0.76) calc(var(--dk) * 100%)
  );
  border: 1px solid rgba(205, 168, 114, 0.3);
  border-color: color-mix(
    in oklab,
    rgb(205 168 114 / 0.32),
    rgb(239 221 181 / 0.16) calc(var(--dk) * 100%)
  );
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 40px -26px rgba(60, 40, 15, 0.55);
  transform: translateZ(0);
}
.hdr .logo {
  position: relative;
  display: block;
  flex: none;
}
@media (max-width: 360px) {
  .hdr .logo img {
    height: 20px !important;
  }
  .hdr .wrap {
    gap: 12px;
  }
}
.hdr .logo img {
  display: block;
  height: 30px;
  width: auto;
}
/* black logo on the light pill, white one over dark sections (brand manual: black/white versions) */
.hdr .logo .lg-b {
  opacity: calc(1 - var(--dk));
}
.hdr .logo .lg-w {
  position: absolute;
  left: 0;
  top: 0;
  opacity: var(--dk);
}
.hdr nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
}
.hdr .btn {
  padding: 0.8em 1.3em;
  font-size: 0.92rem;
  white-space: nowrap;
  line-height: 1;
  transition:
    background-color 0.45s,
    color 0.45s,
    box-shadow 0.45s,
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease),
    visibility 0s;
}
/* the header quiz button shows up only once the quiz card has left the screen */
.hdr.qv .btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0s 0.25s;
}
.hdr.on-dark .btn--ink {
  background: #ebd6ab;
  color: #251c11;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hdr.on-dark .btn--ink .arr {
  color: #251c11;
}
/* at the very top the island is flat and blends into the hero; it fills in as soon as content scrolls under it (M3 top app bar pattern) */
.hdr.flat .wrap {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hdr.fade .wrap {
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    -webkit-backdrop-filter 0.4s,
    backdrop-filter 0.4s;
}
@media (max-width: 720px) {
  .hdr .wrap {
    height: 56px;
    padding-left: 18px;
    padding-right: 6px;
  }
  .hdr .logo img {
    height: 24px;
  }
}
/* 04 Compare: TV and laser projector as two cards; the hovered side comes forward a little, the other dims.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose.
   Dropped as dead in the prototype: .team labels (no elements), imgin/vsin keyframes and the reduced-motion
   rule that only switched those off. */

.cmpw {
  --pt: calc(var(--pad-y) * 0.5);
  background: linear-gradient(180deg, var(--champ-50) 0%, var(--cream) 60%);
}
.duel {
  position: relative;
  height: clamp(440px, calc(100svh - 300px), 640px);
  border-radius: clamp(26px, 3vw, 40px);
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
  box-shadow: 0 70px 110px -70px rgba(60, 40, 10, 0.75);
  --sp: 0.5;
  --pad: clamp(22px, 3.4vw, 48px);
  user-select: none;
  -webkit-user-select: none;
}
/* two full-size layers; moving the divider only slides layers (outer box one way, its content back), so it stays on the GPU */
.duel .side {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #fff8ec;
}
.duel .side-go {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
}
.duel .side-go:focus-visible {
  outline: 2px solid var(--gold-1);
  outline-offset: -8px;
  border-radius: clamp(22px, 2.6vw, 34px);
}
.duel .side .in {
  position: absolute;
  inset: 0;
}
.duel .side::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 13, 9, 0.32);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.duel .side.tv {
  translate: calc((var(--sp) - 1) * 100%) 0;
}
.duel .side.tv .in {
  translate: calc((1 - var(--sp)) * 100%) 0;
}
.duel .side.ls {
  translate: calc(var(--sp) * 100%) 0;
}
.duel .side.ls .in {
  translate: calc(var(--sp) * -100%) 0;
}
.duel .side img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 80%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.duel .side.tv img {
  object-position: 50% 40%;
}
.duel .side.ls img {
  object-position: 40% 46%;
}
/* the side that is being squeezed dims a little; the growing side keeps full light */
.duel .in::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #140e09;
}
.duel .side.tv .in::before {
  opacity: clamp(0, calc((0.5 - var(--sp)) * 1.5), 0.3);
}
.duel .side.ls .in::before {
  opacity: clamp(0, calc((var(--sp) - 0.5) * 1.5), 0.3);
}

.duel .in::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(30, 22, 16, 0.1) 0%,
    rgba(30, 22, 16, 0) 30%,
    rgba(30, 22, 16, 0.55) 62%,
    rgba(30, 22, 16, 0.93) 100%
  );
}
.duel .txt {
  position: absolute;
  bottom: clamp(22px, 3.2vw, 44px);
  z-index: 2;
  display: grid;
  gap: 14px;
  width: calc(45.5% - var(--pad) - 56px);
}
.duel .side.tv .txt {
  left: var(--pad);
  translate: calc(max(0, var(--sp) - 0.5) * 100%) 0;
  opacity: clamp(0, calc((var(--sp) - 0.36) * 11), 1);
}
.duel .side.ls .txt {
  left: calc(max(50%, var(--sp) * 100%) + 56px);
  translate: calc(min(0, var(--sp) - 0.5) * 100%) 0;
  opacity: clamp(0, calc((0.64 - var(--sp)) * 11), 1);
}
.duel h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.duel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.duel li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  color: rgba(255, 248, 236, 0.86);
}
.duel li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
  flex: none;
}
/* the divider and its VS handle */
.duel .split {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  translate: calc((var(--sp) - 0.5) * 100%) 0;
}
.duel .split::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(
    transparent,
    rgba(239, 221, 181, 0.85) 22%,
    rgba(239, 221, 181, 0.85) 78%,
    transparent
  );
}
.duel .grip {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 120px;
  margin-left: -60px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.duel .vs {
  position: relative;
  height: 40px;
  padding: 0 33px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--gold-1);
  background: rgba(34, 26, 19, 0.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(239, 221, 181, 0.5);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.65);
  transition:
    scale 0.45s var(--spring),
    border-color 0.3s,
    background-color 0.3s;
}
.duel .vs::before,
.duel .vs::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid var(--gold-1);
  border-width: 0 0 1.5px 1.5px;
}
.duel .vs::before {
  left: 14px;
  rotate: 45deg;
}
.duel .vs::after {
  right: 14px;
  rotate: -135deg;
}
.duel .grip {
  pointer-events: none;
  cursor: auto;
}
.duel .vs {
  padding: 0 18px;
}
.duel .vs::before,
.duel .vs::after {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .duel .side .in {
    transition: scale 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .duel .side:hover .in {
    scale: 1.025;
  }
}
@media (hover: hover) and (pointer: fine) {
  .duel:not(.dragging):has(.side:hover) .side:not(:hover)::after {
    opacity: 1;
  }
}
@media (max-width: 780px) {
  .duel {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .duel .side.tv,
  .duel .side.ls {
    position: relative;
    inset: auto;
    translate: none;
    height: clamp(400px, 112vw, 480px);
    flex: none;
  }
  .duel .side.tv .in,
  .duel .side.ls .in {
    translate: none;
  }
  .duel .side.tv img,
  .duel .side.ls img {
    left: 0;
    width: 100% !important;
    translate: none !important;
    scale: none !important;
  }
  .duel .side.tv .txt,
  .duel .side.ls .txt {
    left: var(--pad);
    right: var(--pad);
    width: auto;
    opacity: 1;
    translate: none;
  }
  .duel .split {
    translate: none;
  }
  .duel .split::before {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
    margin: 0;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(239, 221, 181, 0.8) 30%,
      rgba(239, 221, 181, 0.8) 70%,
      transparent
    );
  }
  .duel .grip {
    pointer-events: none;
    cursor: auto;
  }
  .duel .vs {
    padding: 0 18px;
  }
  .duel .vs::before,
  .duel .vs::after {
    display: none;
  }
  .duel .in::before {
    opacity: 0 !important;
  }
  /* iOS: no backdrop-filter inside the rounded clipping box (blinked while scrolling); solid pills instead */
  .duel .vs {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .duel .vs {
    background: #2a2018;
  }
}
@media (hover: none) {
  .duel .vs {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .duel .vs {
    background: #2a2018;
  }
}
/* VS is a mark on the seam, not a control (Mila 19.11): flat round medallion, no lift shadow, no glass, the line runs into it */
.duel .vs {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: #1e1711;
  border: 1px solid rgba(239, 221, 181, 0.6);
  box-shadow: 0 0 0 5px rgba(18, 13, 9, 0.22);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
}
.duel .vs::before,
.duel .vs::after {
  display: none;
}

/* v52: two cards with a gap between them, like the other card grids (Pola + Mila 18.11) */
.duel {
  --g: 20px;
  --rd: clamp(26px, 3vw, 40px);
  background: transparent;
}
.duel .split::before {
  display: none;
}
@media (min-width: 781px) {
  .duel {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  .duel .side.tv,
  .duel .side.ls {
    translate: none;
    border-radius: var(--rd);
    box-shadow: 0 56px 90px -60px rgba(60, 40, 10, 0.72);
  }
  .duel .side.tv {
    inset: 0 calc(50% + var(--g) / 2) 0 0;
  }
  .duel .side.ls {
    inset: 0 0 0 calc(50% + var(--g) / 2);
  }
  /* the inner layer stays as wide as the whole box, so the photos and texts keep their place */
  .duel .side.tv .in,
  .duel .side.ls .in {
    translate: none;
    right: auto;
    width: calc(200% + var(--g));
  }
  .duel .side.ls .in {
    left: calc(-100% - var(--g));
  }
}
@media (max-width: 780px) {
  .duel {
    --rd: clamp(22px, 6vw, 28px);
    gap: var(--g);
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  .duel .side.tv,
  .duel .side.ls {
    border-radius: var(--rd);
    box-shadow: 0 40px 70px -48px rgba(60, 40, 10, 0.7);
  }
}
/* 01 Episodes: the rail of episode cards, muted teasers and the in-card player.
   Dropped as dead in the prototype: .rail-nav (no element uses it).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* 01 Episodes */
.eps {
  --pt: calc(var(--pad-y) * 0.7);
  background: linear-gradient(180deg, var(--champ-50) 0%, var(--cream) 30%, var(--cream) 100%);
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 24vw, 290px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  padding: 12px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 52px;
  margin-bottom: -34px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.ep {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 9/16;
  border-radius: 28px;
  overflow: hidden;
  background: var(--night);
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--white);
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
  box-shadow: 0 30px 60px -40px rgba(60, 40, 10, 0.8);
}
.ep img,
.ep video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ep img {
  transition:
    transform 1.4s var(--ease),
    filter 0.6s,
    opacity 0.5s;
}
/* full screen on a landscape screen (desktop): the whole vertical episode with black bars at the sides,
   instead of the card's crop stretched to the screen width; phones held upright keep the card's fill */
@media (orientation: landscape) {
  .ep video.main:fullscreen {
    object-fit: contain;
    background: #000;
  }
  .ep video.main:-webkit-full-screen {
    object-fit: contain;
    background: #000;
  }
}
.ep video.pv {
  opacity: 0;
  transition: opacity 0.6s;
}
.ep video.pv.on {
  opacity: 1;
}
.ep .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 10, 6, 0.92) 0%,
    rgba(14, 10, 6, 0.2) 50%,
    transparent 70%
  );
  transition: opacity 0.4s;
}
.ep .info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
  transition: opacity 0.4s;
}
.ep .info small {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-1);
  font-weight: 500;
}
.ep .info b {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.15;
}
.ep .info span {
  font-size: 0.85rem;
  color: rgba(245, 235, 219, 0.82);
}
.ep .pl {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.45s var(--spring),
    opacity 0.4s;
}
.ep .pl svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  fill: var(--ink);
}
.ep .pl::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, 0.6);
  opacity: 0;
}
@keyframes pulse {
  from {
    transform: scale(0.9);
    opacity: 1;
  }
  to {
    transform: scale(1.45);
    opacity: 0;
  }
}
.ep.soon {
  cursor: default;
}
.ep.soon img {
  filter: sepia(0.2) saturate(0.88) brightness(0.64);
}
.ep.soon:hover {
  transform: none;
}
.ep.soon:hover .pl {
  transform: translate(-50%, -50%);
}
.ep.soon .pl {
  width: auto;
  height: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #f6e8cc;
  background: rgba(26, 19, 13, 0.38);
  border: 1px solid rgba(228, 200, 148, 0.8);
  box-shadow: none;
}
.ep.soon .pl::after {
  display: none;
}
.ep.playing .shade,
.ep.playing .info,
.ep.playing .pl {
  opacity: 0;
  pointer-events: none;
}
.ep .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 2;
}
.eps-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.series {
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-top: clamp(18px, 2.6vw, 40px);
}
.series .nb {
  display: inline-block;
}
@media (min-width: 1100px) {
  .eps-foot {
    justify-content: center;
  }
  .series {
    text-align: center;
  }
}
.series img {
  display: inline-block;
  height: 0.83em;
  width: auto;
  vertical-align: -0.06em;
  /* margin-right: 0.42em; */
}
@media (pointer: fine) {
  .rail {
    cursor: grab;
  }
}
.rail.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.rail.dragging .ep {
  pointer-events: none;
}
@media (min-width: 1100px) {
  .rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: clamp(14px, 1.2vw, 22px);
    overflow: visible;
    scroll-snap-type: none;
    max-width: 1640px;
    margin-inline: auto;
    padding-inline: clamp(20px, 2.6vw, 48px);
  }
  .rail,
  .rail.dragging {
    cursor: auto;
  }
  .ep .pl {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
  .ep .info {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .ep .info b {
    font-size: clamp(1.12rem, 1.3vw, 1.3rem);
  }
}
/* hover lift only for a mouse over the desktop grid; in the swipe rail (phones, tablets) cards never move */
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .ep:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 50px 80px -40px rgba(60, 40, 10, 0.9);
  }
  .ep:hover img {
    transform: scale(1.06);
  }
  .ep:hover .pl {
    transform: scale(1.12);
  }
  .ep:hover .pl::after {
    animation: pulse 1.6s ease-out infinite;
  }
  .ep.soon:hover {
    transform: none;
  }
}
@media (max-width: 1099px) {
  .ep {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ep .pl::after {
    animation: none;
  }
}
/* 07 Final: Edyta and Cezary around the closing line.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose.
   Dropped as dead in the prototype: .final-actions (no element). */

.final {
  --pt: calc(var(--pad-y) * 0.5);
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 96px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(51, 39, 30, 0) 70%, var(--night) 100%),
    radial-gradient(46% 60% at 74% 88%, rgba(207, 174, 124, 0.13), transparent 72%), var(--night);
}
.final .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(560px, 46vw)) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 32px);
  align-items: end;
  max-width: 1560px;
  padding-top: clamp(10px, 2vw, 30px);
  --ph: clamp(360px, min(38vw, calc(100svh - 150px)), 600px);
}
.final .txt {
  align-self: center;
  text-align: center;
  padding-block: var(--pt) calc(var(--pad-y) * 1.3);
}
.final .txt h2,
.final .txt p {
  margin-inline: auto;
}
.final .pz img {
  width: auto;
  max-width: none;
  -webkit-mask: linear-gradient(#000 76%, transparent 99%);
  mask: linear-gradient(#000 76%, transparent 99%);
}
.final .pz-e {
  justify-self: end;
}
.final .pz-e img {
  height: calc(var(--ph) * 0.904);
}
.final .pz-c {
  justify-self: start;
}
.final .pz-c img {
  height: var(--ph);
}
.final h2 {
  font-size: var(--step-3);
  max-width: 17ch;
  margin-block: 14px 16px;
}
.final p {
  color: var(--on-night);
  max-width: 44ch;
  font-size: var(--step-1);
}
.final .eyebrow {
  color: var(--gold-1);
}
/* v74 the text block spans the space between the two Pazuras: heading in 2 lines, copy as wide as the heading */
@media (min-width: 861px) {
  .final .wrap {
    padding-top: clamp(40px, 4.4vw, 64px);
  }
  .final .txt {
    margin-inline: calc(clamp(16px, 1.6vw, 24px) - clamp(12px, 2vw, 32px));
  }
  .final .txt h2 {
    max-width: none;
    font-size: min(var(--step-3), 3rem);
  }
  .final .txt h2 .goldtext {
    display: block;
    margin-top: -0.1em;
  }
  .final .txt p {
    max-width: none;
  }
}
@media (max-width: 860px) {
  .final .wrap {
    grid-template-columns: 542fr 528fr;
    column-gap: 6px;
    row-gap: 0;
    max-width: 600px;
  }
  .final .txt {
    grid-area: 1/1/2/3;
    padding-block: var(--pt) 6px;
  }
  .final .pz-e {
    grid-area: 2/1;
    justify-self: stretch;
  }
  .final .pz-c {
    grid-area: 2/2;
    justify-self: stretch;
  }
  .final .pz img {
    width: 100%;
    height: auto;
  }
}
/* Hero: Cezary (Team Projektor) and Edyta (Team TV) around the quiz card, the quiz and its result.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose.
   Dropped as dead in the prototype: aurora drift (no animation-name), #dust (no canvas), bubble bob, burst, q-kicker, q-back, r-kicker, r-ben, floaty, hero-alt. */

/* HERO with quiz */
.hero {
  margin-top: -74px;
  padding-block: calc(74px + clamp(4px, 1.5vw, 20px)) clamp(30px, 4vw, 56px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 72%, var(--champ-50) 100%);
  overflow-x: clip;
  overflow-y: visible;
}
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask: linear-gradient(180deg, #000 55%, transparent 96%);
  mask: linear-gradient(180deg, #000 55%, transparent 96%);
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.8;
}
.aurora i:nth-child(1) {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: -14vw;
  background: radial-gradient(circle, #f1ddb6, transparent 65%);
}
.aurora i:nth-child(2) {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  top: 4vw;
  background: radial-gradient(circle, #ead3aa, transparent 65%);
}
.aurora i:nth-child(3) {
  width: 34vw;
  height: 34vw;
  left: 30vw;
  bottom: -18vw;
  background: radial-gradient(circle, #f6e9d2, transparent 65%);
}
.aurora i:nth-child(4) {
  width: 16vw;
  height: 16vw;
  left: 60vw;
  top: 14vw;
  background: radial-gradient(circle, rgba(0, 170, 166, 0.09), transparent 65%);
}

.stagewrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px) minmax(0, 1fr);
  column-gap: 0;
  grid-template-areas: 'l c r';
  align-items: start;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.center {
  grid-area: c;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-top: clamp(6px, 2vh, 30px);
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: var(--step-4);
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-weight: 500;
}
.hero h1 .w {
  display: inline-block;
}
.hero h1 .goldtext {
  padding-top: 0.14em;
  padding-right: 0.14em;
  margin-right: -0.14em;
  padding-bottom: 0.06em;
}
.hero h1 .pl {
  display: block;
  width: fit-content;
  margin: -0.1em auto 0;
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: min(2.8rem, 9vw);
  }
}
.hero h1 .czy {
  font-weight: 300;
  color: var(--mute);
  font-size: 0.62em;
  letter-spacing: -0.02em;
  vertical-align: 0.12em;
  margin-inline: 0.08em;
}
.hero .sub {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero .lead {
  color: var(--mute);
  max-width: none;
  font-size: 1.02rem;
  text-wrap: balance;
}
.person {
  position: relative;
  align-self: start;
  margin-top: clamp(60px, 7vw, 110px);
  pointer-events: none;
  z-index: 3;
}
.person.left {
  grid-area: l;
  justify-self: end;
  width: min(100%, 360px);
  margin-right: -28px;
}
.person.right {
  grid-area: r;
  justify-self: start;
  width: min(100%, 360px);
  margin-left: -28px;
}
.person img {
  width: 100%;
  height: auto;
  -webkit-mask: linear-gradient(#000 74%, transparent 98%);
  mask: linear-gradient(#000 74%, transparent 98%);
  transform-origin: 50% 100%;
  transition:
    transform 0.9s var(--spring),
    opacity 0.7s;
}
.person .ph {
  display: block;
  filter: drop-shadow(0 26px 30px rgba(110, 80, 30, 0.15));
}
.person.win img {
  transform: scale(1.045);
}
.person.dim img {
  transform: scale(0.97);
  opacity: 0.85;
}
.bubble {
  position: absolute;
  padding: 0.55em 1em;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 18px 40px -20px rgba(110, 80, 30, 0.5);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid var(--line);
  transition:
    background 0.5s,
    color 0.5s,
    border-color 0.5s,
    box-shadow 0.5s;
  z-index: 2;
}
.bubble small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  transition: color 0.5s;
}
.person.left .bubble {
  left: 62%;
  top: -60px;
  border-bottom-left-radius: 4px;
}
.person.right .bubble {
  left: -8%;
  top: calc(19.3% - 65px);
  border-bottom-right-radius: 4px;
}
.person.win .bubble {
  background: var(--ink);
  color: var(--gold-1);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(36, 31, 26, 0.6);
}
.person.win .bubble small {
  color: var(--gold-2);
}
.vs-mini {
  display: none;
  grid-area: v;
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 10px 24px -10px rgba(160, 124, 70, 0.9);
  z-index: 2;
}
@media (max-width: 1060px) {
  /* phones and tablets: title and quiz first, the Pazuras stand under the quiz card and point up at it (Mila 18.11) */
  .stagewrap {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 'c c c' 'l v r';
  }
  .person.left,
  .person.right {
    width: 100%;
    max-width: 250px;
    margin: clamp(10px, 2.5vw, 22px) 0 0;
  }
  .person.left {
    justify-self: end;
  }
  .person.right {
    justify-self: start;
  }
  .person img {
    height: clamp(170px, 36vw, 290px);
    object-fit: cover;
    object-position: 50% 0;
    -webkit-mask: linear-gradient(#000 68%, transparent);
    mask: linear-gradient(#000 68%, transparent);
  }
  .vs-mini {
    display: grid;
    margin-inline: -6px;
  }
  .bubble {
    font-size: 0.8rem;
    padding: 0.45em 0.8em;
  }
  .person.left .bubble {
    left: auto;
    right: 84%;
    top: 3%;
    border-radius: 18px 18px 4px 18px;
  }
  .person.right .bubble {
    right: auto;
    left: 80%;
    top: 3%;
    bottom: auto;
    border-radius: 18px 18px 18px 4px;
  }
}
@media (max-width: 560px) {
  .bubble small {
    display: none;
  }
  .hero .lead {
    font-size: 0.96rem;
  }
  /* the photos are cropped to head and hands here: the team labels sit low on the body, never over a face */
  .person.left .bubble,
  .person.right .bubble {
    top: auto;
    bottom: 20%;
    border-radius: 4px 18px 18px 18px;
  }
  .person.left .bubble {
    right: auto;
    left: 0;
  }
  .person.right .bubble {
    left: auto;
    right: 0;
  }
  .hero {
    padding-bottom: 22px;
  }
}
/* short laptop screens (e.g. 1366×657): the whole quiz card stays on the first screen */
@media (min-width: 1061px) {
  .hero h1 {
    font-size: clamp(2.3rem, min(3.9vw, 6.8vh), 3.5rem);
  }
}
@media (min-width: 1061px) and (max-height: 820px) {
  .center {
    gap: 10px;
  }
}
@media (min-width: 1061px) and (max-height: 700px) {
  .hero h1 {
    font-size: min(2.7rem, 3.1vw);
  }
  .hero h1 .pl {
    display: inline-block;
    margin: -0.14em 0 0 0.1em;
  }
}
@media (min-width: 1061px) {
  .center {
    padding-top: 0;
    margin-top: -12px;
  }
  .person.left .bubble {
    top: -7.5%;
    left: 55%;
  }
}
@media (min-width: 1061px) and (max-height: 700px) {
  .center {
    gap: 10px;
    padding-top: 2px;
    margin-top: -6px;
  }
  .hero .sub {
    font-size: 1.15rem;
  }
  .quiz {
    padding: 18px 24px;
  }
  .q-title {
    margin-bottom: 12px;
  }
  .opt {
    padding: 12px 16px;
  }
}

/* Quiz card */
.quiz {
  position: relative;
  width: 100%;
  margin-top: 8px;
  text-align: left;
  border-radius: 34px;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.97), rgba(250, 242, 228, 0.94));
  border: 1px solid rgba(205, 168, 114, 0.35);
  box-shadow:
    0 50px 100px -50px rgba(110, 80, 30, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  isolation: isolate;
}
.quiz::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gold);
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}
.q-prog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  min-height: 28px;
}
.q-prog[hidden] {
  display: none;
}
.q-steps {
  display: flex;
  gap: 4px;
  width: 68px;
  flex: none;
}
.q-steps i {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(160, 124, 70, 0.18);
  overflow: hidden;
}
.q-steps i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #e2c691, #b88e55);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.55s var(--ease);
}
.q-steps i.done::after {
  transform: scaleX(1);
}
.q-steps i.cur {
  background: rgba(160, 124, 70, 0.34);
}
.q-count {
  font-size: 0.74rem;
  color: var(--mute);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.q-count b {
  color: var(--ink);
  font-weight: 500;
}
.q-title {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  outline: none;
}
.q-opts {
  display: grid;
  gap: 9px;
}
.opt {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 15px 18px;
  border-radius: 20px;
  border: 1px solid rgba(160, 124, 70, 0.2);
  background: rgba(255, 253, 248, 0.78);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.45s var(--ease);
  animation: optin 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.3s + var(--i) * 60ms);
}
@keyframes optin {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .opt:hover {
    transform: translateY(-2px);
    border-color: var(--gold-2);
    background: var(--ivory);
    box-shadow: 0 16px 30px -22px rgba(110, 80, 30, 0.7);
  }
}
.opt:active {
  transform: scale(0.985);
}
.opt .k {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(160, 124, 70, 0.45);
  background: rgba(255, 253, 248, 0.9);
  transition: border-color 0.3s;
}
.opt .k::after {
  content: '';
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9b985, #a07c46);
  transform: scale(0);
  transition: transform 0.4s var(--spring);
}
@media (hover: hover) and (pointer: fine) {
  .opt:hover .k {
    border-color: var(--gold-3);
  }
}
.opt.sel {
  border-color: var(--gold-2);
  background: linear-gradient(120deg, #fffcf6, #fbf2e2);
}
.opt.sel .k {
  border-color: var(--gold-3);
}
.opt.sel .k::after {
  transform: scale(1);
}
.opt .rip {
  position: absolute;
  border-radius: 50%;
  background: rgba(226, 196, 148, 0.2);
  transform: scale(0);
  animation: rip 0.7s var(--ease) forwards;
  pointer-events: none;
}
@keyframes rip {
  to {
    transform: scale(1);
    opacity: 0;
  }
}
#q-body {
  position: relative;
}
#quizbox {
  transition: margin-bottom 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  #quizbox {
    transition: none;
  }
}
.q-pane {
  animation: pane 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 0.22s;
}
@keyframes pane {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.q-pane.out {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  animation: paneout 0.26s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}
@keyframes paneout {
  to {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
}
#q-body.fresh .q-pane:not(.out) .opt {
  transform: none !important;
  border-color: rgba(160, 124, 70, 0.2) !important;
  background: rgba(255, 253, 248, 0.78) !important;
  box-shadow: none !important;
}
#q-body.fresh .q-pane:not(.out) .opt .k {
  border-color: rgba(160, 124, 70, 0.45) !important;
}
#q-body.morph {
  overflow: clip;
  overflow-clip-margin: 24px;
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .opt,
  .q-pane,
  .q-pane.out {
    animation: none;
  }
  #q-body.morph {
    transition: none;
  }
  .opt .k::after {
    transition: none;
  }
}

/* quiz result: built like a product card (photo on top, short copy, one CTA) */
.r-wrap {
  display: grid;
  gap: 18px;
}
.r-vis {
  position: relative;
  height: clamp(150px, 25vh, 232px);
  border-radius: 20px;
  overflow: hidden;
  background: #e9dcc5;
  animation: rvis 1s var(--ease) both;
}
@keyframes rvis {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.r-vis {
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.r-title {
  animation: rtitle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.15s !important;
}
@keyframes rtitle {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.r-actions {
  animation: rtitle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.4s !important;
}
.r-actions .btn {
  position: relative;
  overflow: hidden;
}
.r-opt {
  animation: rtitle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  animation-delay: calc(0.25s + var(--i) * 100ms) !important;
}
@media (prefers-reduced-motion: reduce) {
  .r-title,
  .r-actions,
  .r-opt {
    animation: none !important;
  }
}
.r-vis img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.r-vis::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(30, 22, 16, 0.45));
}
.r-body {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.r-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  outline: none;
  animation: optin 0.6s var(--ease) both 0.22s;
}
.r-title em {
  font-style: normal;
  display: block;
}
.r-lead {
  margin: 2px 0 0;
  max-width: 58ch;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.45;
  text-wrap: pretty;
  animation: rtitle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.24s;
}
.r-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 6px;
  display: grid;
  gap: 5px;
  max-width: 58ch;
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.4;
  color: var(--mute);
  animation: rtitle 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.3s;
}
.r-list li {
  position: relative;
  padding-left: 17px;
  text-wrap: pretty;
}
.r-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
}
.r-list b {
  font-weight: 500;
  color: var(--ink);
}
.r-list li {
  color: var(--ink);
}
.r-list {
  gap: 7px;
}
.r-wrap:not(.r-both) .r-vis {
  height: clamp(130px, 21vh, 200px);
}
@media (prefers-reduced-motion: reduce) {
  .r-lead,
  .r-list {
    animation: none !important;
  }
}
/* "both": why choose one, then the two worlds as two clickable cards */
.r-pair {
  justify-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: 8px;
}
.r-opt {
  display: grid;
  align-content: start;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  animation: optin 0.6s var(--ease) both;
  animation-delay: calc(0.32s + var(--i) * 90ms);
}
.r-ph {
  position: relative;
  display: block;
  height: clamp(120px, 21vh, 184px);
  margin-bottom: 9px;
  border-radius: 16px;
  overflow: hidden;
  background: #e9dcc5;
  box-shadow: 0 14px 28px -18px rgba(51, 39, 30, 0.55);
  transition: box-shadow 0.4s var(--ease);
}
.r-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.r-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(239, 221, 181, 0);
  transition: box-shadow 0.4s var(--ease);
}
.r-on {
  display: block;
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.r-on .arr {
  margin-left: 3px;
  color: var(--gold-2);
  transition: transform 0.35s var(--ease);
}
.r-ob {
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--mute);
}
@media (hover: hover) {
  .r-opt:hover .r-ph img {
    transform: scale(1.05);
  }
  .r-opt:hover .r-ph::after {
    box-shadow: inset 0 0 0 2px rgba(205, 168, 114, 0.9);
  }
  .r-opt:hover .r-on .arr {
    transform: translateY(3px);
  }
}
.r-opt:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 5px;
}
.r-both .r-actions {
  margin-top: 0;
}
.r-again {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 40px;
  padding: 0 0.3em;
  margin-left: 0.5em;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mute);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(110, 101, 90, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.r-again:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.r-again:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
  border-radius: 6px;
}
.r-actions {
  gap: 10px 10px;
}
.r-again .ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .r-again:hover .ico {
    transform: rotate(-200deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .r-again .ico {
    transition: none;
  }
}
@media (max-width: 560px) {
  .r-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .r-actions .btn {
    width: 100%;
  }
  .r-actions .r-again {
    align-self: flex-start;
    margin-left: -0.3em;
  }
}
.r-both .r-actions .r-again {
  margin-left: -0.3em;
}
@media (prefers-reduced-motion: reduce) {
  .r-vis,
  .r-vis img,
  .r-title,
  .r-opt {
    animation: none;
  }
  .r-ph img {
    transition: none;
  }
}
.r-teams {
  justify-self: stretch;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  animation: optin 0.6s var(--ease) both 0.65s;
}
.rt-bar {
  display: flex;
  gap: 3px;
  height: 4px;
}
.rt-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: rgba(160, 124, 70, 0.2);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.85s;
}
.rt-bar i.me {
  background: linear-gradient(90deg, #d9b985, #b48c55);
}
.rt-line {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--mute);
}
.rt-line b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .r-teams {
    animation: none;
  }
  .rt-bar i {
    transition: none;
  }
}
.r-actions {
  display: flex;
  gap: 6px 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
  animation: optin 0.6s var(--ease) both 0.55s;
}
.hero-alt {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--mute);
  margin-top: 6px;
}
/* The "Strona produktu" link (prototype .pp-go): the strip info card and the Modele "Dowiedz się więcej"
   card share it. Moved from parade.css unchanged. */
.pp-go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bronze);
  text-decoration: none;
}
.pp-go svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.pp-go:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: -2px;
  border-radius: 8px;
}
.pp-go span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(160, 124, 70, 0.35);
  text-underline-offset: 4px;
  transition:
    text-decoration-color 0.25s,
    color 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .pp-go:hover {
    color: var(--ink);
  }
  .pp-go:hover span {
    text-decoration-color: currentColor;
  }
  .pp-go[target]:hover svg {
    transform: translate(2px, -2px);
  }
  .pp-go:not([target]):hover svg {
    transform: translateY(2px);
  }
}
/* "Dowiedz się więcej": the longer copy opens in a card on desktop and in place on phones.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* v80 "Dowiedz się więcej": a quiet text button (like "Zobacz model"); the longer copy opens in a card on desktop and in place on phones */
.more {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 10px;
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--bronze);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(160, 124, 70, 0.38);
  text-underline-offset: 4px;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.dark .more {
  color: var(--gold-1);
  text-decoration-color: rgba(239, 221, 181, 0.4);
}
@media (hover: hover) and (pointer: fine) {
  .more:hover,
  .more[aria-expanded='true'] {
    color: var(--ink);
    text-decoration-color: currentColor;
  }
  .dark .more:hover,
  .dark .more[aria-expanded='true'] {
    color: #fff;
  }
}
@media (pointer: coarse) {
  .more {
    min-height: 44px;
    margin: 4px 0 -10px;
  }
}
.more:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.edu {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.42s var(--ease),
    opacity 0.25s ease,
    visibility 0s 0.42s;
}
.edu.on {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 0.42s var(--ease),
    opacity 0.35s ease 0.06s,
    visibility 0s;
}
.edu-in {
  min-height: 0;
  overflow: hidden;
}
.edu h4 {
  margin: 12px 0 4px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}
.edu h4.dup {
  display: none;
}
.edu-in > p,
.sec-head .edu-in > p {
  margin: 0;
  padding-top: 10px;
  max-width: 60ch;
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.edu h4 + p,
.sec-head .edu h4 + p {
  padding-top: 0;
}
.dark .edu h4 {
  color: var(--on-night);
}
.dark .edu-in > p,
.dark .sec-head .edu-in > p {
  color: var(--on-night-mute);
}
@media (min-width: 901px) {
  .edu {
    display: none;
  }
}
.edu-pop {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 45;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 22px 22px;
  border-radius: 18px;
  background: var(--ivory);
  border: 1px solid rgba(206, 176, 128, 0.5);
  box-shadow:
    0 30px 56px -26px rgba(70, 48, 18, 0.55),
    0 10px 22px -14px rgba(70, 48, 18, 0.3);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: var(--ax, 40px) 0;
  transition:
    opacity 0.14s ease,
    transform 0.2s var(--ease),
    visibility 0s 0.2s;
}
.edu-pop.up {
  transform: translateY(6px) scale(0.98);
  transform-origin: var(--ax, 40px) 100%;
}
.edu-pop.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.18s ease,
    transform 0.3s cubic-bezier(0.2, 0.9, 0.25, 1),
    visibility 0s;
}
.edu-pop:focus {
  outline: none;
}
.edu-pt {
  margin: 0 34px 8px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}
.edu-pb {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--mute);
  text-wrap: pretty;
}
.edu-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--mute);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.edu-x svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
@media (hover: hover) and (pointer: fine) {
  .edu-x:hover {
    background: rgba(206, 176, 128, 0.18);
    color: var(--ink);
  }
}
.edu-x:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.edu-arr {
  position: absolute;
  left: var(--ax, 40px);
  top: -7px;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  background: var(--ivory);
  border: solid rgba(206, 176, 128, 0.5);
  border-width: 1px 0 0 1px;
  border-radius: 3px 0 0 0;
  rotate: 45deg;
}
.edu-pop.up .edu-arr {
  top: auto;
  bottom: -7px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 3px 0;
}
@media (prefers-reduced-motion: reduce) {
  .edu,
  .edu.on {
    transition: none;
  }
  .edu-pop,
  .edu-pop.up,
  .edu-pop.on {
    transform: none;
    transition:
      opacity 0.12s,
      visibility 0s 0.12s;
  }
  .edu-pop.on {
    transition:
      opacity 0.12s,
      visibility 0s;
  }
}
.dark .tile {
  border-color: rgba(239, 221, 181, 0.14);
}
/* "Strona produktu" under a model's features (Modele cards with a product page; the link is .pp-go).
   In the desktop card it is the strip card's text row; expanded in a card (phones) it is an outlined pill,
   so it does not read as a second "Zwiń" right above it. */
.edu-pop .edu-acts {
  margin: 12px -8px -12px;
}
.edu .edu-acts {
  margin-top: 14px;
}
.edu .pp-go {
  display: inline-flex;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s;
}
.edu .pp-go span {
  text-decoration: none;
}
.edu .pp-go svg {
  width: 13px;
  height: 13px;
}
.edu .pp-go:focus-visible {
  outline-offset: 2px;
  border-radius: 999px;
}
@media (hover: hover) and (pointer: fine) {
  .edu .pp-go:hover {
    border-color: var(--bronze);
  }
}
/* Benefit tiles (TV and laser worlds): three in a row on desktop, a list on phones.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* three benefit tiles side by side under the head and the scene; a gold rule draws in above each */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(32px, 5.4vh, 64px);
}
@media (min-width: 901px) {
  .tile {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .tile > div {
    display: contents;
  }
  .tvw .tiles {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .lw .tiles {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
.tile {
  position: relative;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tile::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), rgba(205, 168, 114, 0) 80%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) calc(var(--d, 0s) + 0.2s);
}
.tile.in::before {
  transform: scaleX(1);
}
.tile .n {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--bronze);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.tile h3 {
  font-size: clamp(1.05rem, 1.2vw, 1.1rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
  text-wrap: balance;
}
.tile p {
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tile {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding-block: 16px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .tile:last-child {
    border-bottom: 0;
  }
  .tile::before {
    display: none;
  }
  .tile .n {
    padding-top: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile::before {
    transition: none;
    transform: none;
  }
}
.dark .tile .n {
  color: var(--gold-1);
}
.dark .tile p {
  color: var(--on-night-mute);
}
/* TV set drawn in CSS (bezel, screen, pedestal): the TV world scene, the strip and the product cards.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

.tv-bezel {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 2px;
  background: #0d0f0f;
  padding: 0.45% 0.45% 1.1%;
  box-shadow:
    0 70px 90px -60px rgba(60, 40, 10, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}
.tv-bezel .scr {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #000;
}
.tv-bezel .scr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kb 16s ease-in-out infinite alternate;
}
.tv-bezel .scr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
}
@keyframes kb {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.14) translate(-2%, 1%);
  }
}
.tv-bezel .scr::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #050505;
  opacity: 0;
  pointer-events: none;
}
/* pedestal like the UR8S/UR9S packshots: low, wide, flaring toward the base */
.tv-stand {
  width: 30%;
  height: 14px;
  margin: 0 auto;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(#3a3c3c, #141616);
  clip-path: polygon(9% 0, 91% 0, 100% 72%, 100% 100%, 0 100%, 0 72%);
}
.mini-tv {
  width: 80%;
}
.mini-tv .tv-bezel {
  border-radius: 1.5px;
  padding: 0.7% 0.7% 1.5%;
  box-shadow: 0 30px 40px -24px rgba(60, 40, 10, 0.6);
}
.mini-tv .tv-stand {
  height: 9px;
}
@media (prefers-reduced-motion: reduce) {
  .tv-bezel .scr img {
    animation: none !important;
  }
}
/* 03 Laser world: the home cinema photo, copy, benefit tiles and the size explorer (projector or TV on the wall).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose.
   Dropped as dead in the prototype: dust motes in the beam (.room .dust is display:none), spill/beam/lens2/mote keyframes,
   .presets, .cez and .dark .chip (no elements). */

/* 03 Laser world */
.lw {
  background:
    radial-gradient(60% 380px at 50% 320px, rgba(207, 174, 124, 0.12), transparent 70%),
    linear-gradient(
      180deg,
      var(--night) 0%,
      var(--night) 52%,
      #33271d 72%,
      #3e3023 88%,
      #4a3929 100%
    );
  color: var(--on-night);
  overflow: hidden;
  --pt: calc(var(--pad-y) * 0.5);
  --pb: calc(var(--pad-y) * 0.5);
}
.lw .eyebrow {
  color: var(--gold-1);
}
.lw .sec-head p {
  color: var(--on-night-mute);
}
.lead-x {
  display: grid;
  justify-items: start;
}
.lw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
@media (min-width: 901px) {
  .lw-copy {
    order: -1;
  }
}
@media (max-width: 900px) {
  .lw-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cine {
  position: relative;
  width: min(100%, max(520px, calc((100svh - 250px) * 1.7)));
  justify-self: end;
}
.cine .screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: #0b0907;
  box-shadow:
    0 0 0 1px rgba(239, 221, 181, 0.18),
    0 40px 120px -30px rgba(239, 200, 140, 0.35);
}
.cine .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cine .screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 64%, rgba(51, 39, 30, 0.5));
}
@media (max-width: 900px) {
  .cine {
    width: 100%;
  }
}

/* Size explorer: frameless home cinema; the projector on the ceiling (top left) throws the picture */
.sizer {
  position: relative;
  margin-top: calc(var(--pad-y) * 2);
}
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, max(1000px, calc((100svh - 40px) * 16 / 9)));
  margin-inline: auto;
}
.sz-head h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-top: 0;
  max-width: 22ch;
}
/* no box: the photo fades out on all four sides, so the room sits inside the dark page; it pushes in gently when the projector starts */
.room {
  position: relative;
  aspect-ratio: 16/9;
  background: #241b14;
  scale: 1.05;
  transition: scale 2.8s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0,
      rgba(0, 0, 0, 0.55) 6%,
      #000 15%,
      #000 85%,
      rgba(0, 0, 0, 0.55) 94%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0,
      rgba(0, 0, 0, 0.6) 7%,
      #000 17%,
      #000 82%,
      rgba(0, 0, 0, 0.55) 92%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      90deg,
      transparent 0,
      rgba(0, 0, 0, 0.55) 6%,
      #000 15%,
      #000 85%,
      rgba(0, 0, 0, 0.55) 94%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0,
      rgba(0, 0, 0, 0.6) 7%,
      #000 17%,
      #000 82%,
      rgba(0, 0, 0, 0.55) 92%,
      transparent 100%
    );
  mask-composite: intersect;
}
.room.on {
  scale: 1;
}
.room .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.98) saturate(1);
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    filter 2.4s var(--ease) 0.5s;
}
/* lights go down as the picture comes up */
.room.on .photo {
  opacity: 1;
  filter: brightness(0.8) saturate(0.92);
}
.room::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(120% 95% at 55% 42%, transparent 58%, rgba(10, 7, 4, 0.32) 100%);
}
.room .spill {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 222, 170, 0.1),
    rgba(255, 214, 150, 0.04) 45%,
    rgba(255, 214, 150, 0.012) 75%,
    transparent
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.5s;
}
.room.on .spill {
  opacity: 1;
}
.room .scr {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  transform-origin: 0 0;
  overflow: hidden;
  mix-blend-mode: screen;
  box-shadow:
    0 0 0 1px rgba(255, 240, 215, 0.05),
    0 0 70px 6px rgba(255, 214, 150, 0.16);
  clip-path: inset(50% 50% 50% 50%);
  opacity: 0;
  transition:
    clip-path 1.3s var(--ease) 0.35s,
    opacity 0.4s 0.3s;
}
.room.on .scr {
  clip-path: inset(-30%);
  opacity: 0.96;
}
.room .scr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kb 18s ease-in-out infinite alternate;
  transition: scale 0.25s var(--ease);
}
.room.over:not(.tv) .scr {
  box-shadow:
    0 0 0 1px rgba(255, 240, 215, 0.06),
    0 0 110px 14px rgba(255, 214, 150, 0.22);
}
.room .beam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  filter: blur(3px);
  transition: opacity 1s var(--ease) 0.1s;
}
.room.on .beam {
  opacity: 1;
}
.room .lensglow {
  position: absolute;
  z-index: 3;
  width: 3.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 246, 226, 0.9),
    rgba(255, 214, 150, 0.35) 38%,
    transparent 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}
.room.on .lensglow {
  opacity: 1;
}
.sz-head {
  order: -1;
  padding-inline: 20px;
  margin-bottom: clamp(4px, 1vw, 14px);
  text-align: center;
}
.sz-head h3 {
  margin-inline: auto;
}
.sz-mode {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.06);
  border: 1px solid rgba(239, 221, 181, 0.16);
}
.sz-mode button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--on-night-mute);
  padding: 0.62em 1.25em;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.sz-mode button[aria-pressed='true'] {
  background: var(--gold-1);
  color: #2a2018;
}
@media (hover: hover) and (pointer: fine) {
  .sz-mode button[aria-pressed='false']:hover {
    color: #fff6e4;
  }
}
.sz-mode button:focus-visible {
  outline: 2px solid var(--gold-1);
  outline-offset: 2px;
}
/* TV mode (v54): an opaque TV with a thin bezel on the wall, no projector light; the room a little brighter (a TV works in daylight) */
.room.tv .beam,
.room.tv .lensglow,
.room.tv .spill {
  opacity: 0 !important;
}
.room.tv .scr {
  mix-blend-mode: normal;
  opacity: 1;
  box-shadow: none;
  background: #050606;
}
.room.tv .scr img {
  animation: none;
  filter: saturate(1.12) contrast(1.06) brightness(1.04);
}
/* the TV set drawn around the picture, in the wall's perspective (same transform as the screen) */
.room .tvbody {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.room .cab {
  position: absolute;
  left: 27.4375%;
  top: 57.6667%;
  width: 42.625%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  filter: brightness(0.9) saturate(0.95);
  transition: opacity 0.6s var(--ease);
}
.room .tvbody {
  z-index: 3;
}
.room.tv.on .tvbody,
.room.tv.on .cab {
  opacity: 1;
}
.tvbody i {
  position: absolute;
  display: block;
}
.tv-frame {
  inset: 0;
  box-shadow:
    0 0 0 var(--bz) #121415,
    0 0 0 calc(var(--bz) + var(--rim)) #6a6e70,
    0 calc(var(--bz) * 7) calc(var(--bz) * 12) calc(var(--bz) * -1) rgba(0, 0, 0, 0.7),
    0 0 calc(var(--bz) * 46) calc(var(--bz) * 14) rgba(255, 204, 145, 0.17),
    0 0 calc(var(--bz) * 16) calc(var(--bz) * 3) rgba(255, 214, 165, 0.12);
}
.tv-glass {
  inset: 0;
  background:
    linear-gradient(
      116deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.08) 20%,
      rgba(255, 255, 255, 0) 36%,
      rgba(255, 255, 255, 0) 74%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 5%);
  box-shadow: inset 0 0 calc(var(--bz) * 5) rgba(0, 0, 0, 0.5);
}
.tv-chin {
  left: calc(var(--bz) * -1 - var(--rim));
  right: calc(var(--bz) * -1 - var(--rim));
  top: calc(100% + var(--bz));
  height: calc(var(--bz) * 2.4);
  background: linear-gradient(180deg, #1a1c1d, #101112 55%, #55595b);
  border-radius: 0 0 calc(var(--bz) * 0.6) calc(var(--bz) * 0.6);
  display: grid;
  place-items: center;
}
.tv-chin img {
  height: 52%;
  width: auto;
  opacity: 0.6;
}
.tvbody .tv-stand {
  left: 50%;
  top: calc(100% + var(--bz) * 3.4);
  width: calc(var(--pcm) * 46);
  height: calc(var(--pcm) * 11.6);
  translate: -50% 0;
}
.tvbody .tv-stand b {
  position: absolute;
  display: block;
  left: 50%;
  translate: -50% 0;
}
.tvbody .tv-stand::after {
  content: '';
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: calc(var(--pcm) * -2.6);
  height: calc(var(--pcm) * 4.2);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.25) 55%,
    transparent
  );
  z-index: -1;
}
.tvbody .tv-stand .neck {
  top: 0;
  width: calc(var(--pcm) * 9);
  height: calc(var(--pcm) * 9);
  background: linear-gradient(90deg, #0d0e0f, #2a2d2f 45%, #0d0e0f);
}
.tvbody .tv-stand .base {
  bottom: 0;
  width: 100%;
  height: calc(var(--pcm) * 2.8);
  background: linear-gradient(180deg, #5d6163, #1c1e1f 30%, #0e0f10);
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}
.room.tv.on .photo {
  filter: brightness(0.9) saturate(0.95);
}
/* the same room without the ceiling projector, shown only for a TV */
.room.on .photo.tvp {
  opacity: 0;
  transition:
    opacity 0.6s var(--ease),
    filter 2.4s var(--ease) 0.5s;
}
.room.tv.on .photo.tvp {
  opacity: 1;
}
.sz-ctrl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  width: min(100% - 40px, 900px);
  margin: clamp(2px, 1vw, 12px) auto 0;
}
.sz-info {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 2px;
  text-align: right;
  width: clamp(250px, 26vw, 330px);
  min-height: 4.2rem;
}
.sz-info .verdict {
  text-wrap: balance;
}
/* phones: room for a two-line verdict, so the slider never moves under the finger when the text changes at 100" */
@media (max-width: 1100px) {
  .sz-dims span {
    display: block;
  }
  .sz-dims .sep {
    display: none;
  }
}
@media (max-width: 700px) {
  .sz-info {
    width: auto;
    min-height: 4.2rem;
  }
  .sz-info .verdict {
    white-space: normal;
    text-wrap: balance;
    font-size: 0.94rem;
  }
  .sz-dims {
    font-size: 0.86rem;
  }
}
@media (max-width: 380px) {
  .sz-info {
    min-height: 5.5rem;
  }
}
@media (max-width: 700px) {
  .sz-read b {
    min-width: 1.7em;
  }
  .sz-ctrl {
    grid-template-columns: auto 1fr;
    row-gap: 2px;
    margin-top: 8px;
  }
  .sz-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
.sz-read {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sz-read b {
  display: inline-block;
  min-width: 3ch;
  text-align: right;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sz-read span {
  color: var(--on-night-mute);
  font-size: 0.97rem;
}
.sz-dims {
  color: var(--on-night-mute);
  font-size: 0.88rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.sz-dims span {
  white-space: nowrap;
}
.sz-dims .sep {
  white-space: normal;
}
/* size slider (v40): hairline rail with a gold fill, fine ticks, tappable stops, a pearl thumb; 44 px touch target */
.sz-track {
  position: relative;
  --p: 47.37%;
  padding-bottom: 22px;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.sz-rail {
  position: absolute;
  left: 6.5px;
  right: 6.5px;
  top: 21.5px;
  height: 1px;
  background: linear-gradient(90deg, rgba(239, 221, 181, 0.4), rgba(239, 221, 181, 0.12));
  pointer-events: none;
}
.sz-rail::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--p);
  background: linear-gradient(90deg, rgba(239, 221, 181, 0.5), var(--gold-1));
  box-shadow: 0 0 12px rgba(239, 221, 181, 0.3);
}
.sz-ticks {
  position: absolute;
  left: 6.5px;
  right: 6.5px;
  top: 22px;
  height: 0;
  pointer-events: none;
}
.sz-ticks i {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #5a4a3a;
  box-shadow: inset 0 0 0 1px rgba(239, 221, 181, 0.35);
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.sz-ticks i.on {
  background: var(--gold-1);
  box-shadow:
    0 0 0 4px rgba(239, 221, 181, 0.07),
    0 0 14px rgba(239, 221, 181, 0.3);
}
.range {
  position: relative;
  z-index: 1;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  outline: none;
  pointer-events: none;
}
.sz-track {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.sz-track.held {
  cursor: grabbing;
}
.range::-webkit-slider-runnable-track {
  height: 44px;
  background: transparent;
  border: 0;
}
.range::-moz-range-track {
  height: 44px;
  background: transparent;
  border: 0;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: 15.5px;
  border-radius: 50%;
  border: 0;
  cursor: grab;
  background: var(--gold-1);
  box-shadow:
    0 0 0 4px rgba(239, 221, 181, 0.12),
    0 0 16px rgba(239, 221, 181, 0.4);
  transition:
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--ease);
}
.range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  cursor: grab;
  background: var(--gold-1);
  box-shadow:
    0 0 0 4px rgba(239, 221, 181, 0.12),
    0 0 16px rgba(239, 221, 181, 0.4);
  transition:
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--ease);
}
.sz-track.held .range::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
  box-shadow:
    0 0 0 7px rgba(239, 221, 181, 0.14),
    0 0 22px rgba(239, 221, 181, 0.5);
}
.sz-track.held .range::-moz-range-thumb {
  transform: scale(1.18);
  cursor: grabbing;
}
.range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 3px var(--night),
    0 0 0 5px var(--gold-1);
}
.range:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 3px var(--night),
    0 0 0 5px var(--gold-1);
}
.sz-stops {
  position: absolute;
  z-index: 2;
  left: 6.5px;
  right: 6.5px;
  top: 38px;
  height: 22px;
  pointer-events: none;
}
@media (min-width: 701px) {
  .sz-read,
  .sz-info {
    margin-bottom: 22px;
  }
}
.sz-stops button {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: 0;
  translate: -50% 0;
  padding: 3px 6px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--on-night-mute);
  opacity: 0.7;
  cursor: pointer;
  pointer-events: auto;
  transition:
    color 0.4s var(--ease),
    opacity 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* touch target ~44 px around the ~24 px label, same look (prototype, staging fixes 22.11) */
.sz-stops button::before {
  content: '';
  position: absolute;
  inset: -10px -6px;
}
.sz-stops button.on {
  color: var(--gold-1);
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .sz-stops button:hover {
    color: #fff6e4;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .range::-webkit-slider-thumb,
  .range::-moz-range-thumb,
  .sz-stops button,
  .sz-ticks i {
    transition: none;
  }
}
.verdict {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--on-night);
}
@media (prefers-reduced-motion: reduce) {
  .room,
  .room .photo,
  .room .scr,
  .room .beam,
  .room .lensglow,
  .room .spill {
    transition: none;
  }
  .room .scr img {
    animation: none;
  }
}
/* Page entry: a projector beam lights the page from the bottom (~2.4 s, never blocks clicks).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* entry (v32): a projector beam from the bottom edge of the screen. The page starts dimmed (not black: Mila wants it subtle), a lens glows at the bottom
   centre, a cone of light opens upward from it and its soft arched front travels up, so the page lights up from the bottom
   to the top in the direction of the beam while the cone opens to the whole screen (~2.2 s, never blocks clicks).
   Only transform and opacity animate; every moving part has ONE easing from start to end (v38: the old two-step cone
   stopped half way and restarted, which read as a jump). */
.proj-on {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.3;
}
.proj-on i {
  position: absolute;
  display: block;
}
.po-haze {
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform-origin: 50% 100%;
  background: radial-gradient(
    ellipse 34% 100% at 50% 100%,
    rgba(255, 224, 170, 0.2),
    rgba(255, 224, 170, 0.07) 45%,
    rgba(255, 224, 170, 0) 72%
  );
  animation:
    pohaze 2.4s cubic-bezier(0.25, 0.5, 0.3, 1) both,
    pohazeo 2.4s linear both;
}
@keyframes pohaze {
  from {
    transform: scale(0.2, 0.15);
  }
  to {
    transform: scale(2.6, 1.1);
  }
}
@keyframes pohazeo {
  0% {
    opacity: 0;
    animation-timing-function: cubic-bezier(0.3, 0, 0.5, 1);
  }
  24% {
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  100% {
    opacity: 0;
  }
}
.po-front {
  left: 0;
  right: 0;
  top: -10%;
  height: 150%;
  background: linear-gradient(to top, rgba(36, 25, 17, 0), rgba(36, 25, 17, 0.5) 14%, #241911 30%);
  animation: pofront 2.1s cubic-bezier(0.38, 0.12, 0.4, 1) 0.05s both;
}
@keyframes pofront {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -100%, 0);
  }
}
.po-wl,
.po-wr {
  bottom: 0;
  width: calc(50vw + 100vh);
  height: calc(50vw + 100vh);
}
.po-wl {
  right: 50%;
  transform-origin: 100% 100%;
  background: linear-gradient(to left, rgba(36, 25, 17, 0), #241911 15vmax);
  animation: powl 2.2s cubic-bezier(0.36, 0.06, 0.36, 1) 0.05s both;
}
.po-wr {
  left: 50%;
  transform-origin: 0 100%;
  background: linear-gradient(to right, rgba(36, 25, 17, 0), #241911 15vmax);
  animation: powr 2.2s cubic-bezier(0.36, 0.06, 0.36, 1) 0.05s both;
}
@keyframes powl {
  from {
    transform: rotate(1deg);
  }
  to {
    transform: rotate(-93deg);
  }
}
@keyframes powr {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(93deg);
  }
}
.po-lens {
  left: 50%;
  bottom: 0;
  width: min(46vw, 380px);
  aspect-ratio: 2.6;
  transform: translate(-50%, 50%);
  background: radial-gradient(
    closest-side,
    rgba(255, 246, 228, 0.95),
    rgba(255, 222, 165, 0.55) 35%,
    rgba(255, 214, 150, 0)
  );
  animation: polens 2.3s linear both;
}
@keyframes polens {
  0% {
    opacity: 0;
    animation-timing-function: cubic-bezier(0.3, 0, 0.4, 1);
  }
  16% {
    opacity: 1;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .proj-on {
    display: none;
  }
}
/* Product parade under the hero: a looping strip of the campaign models and their info card.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

/* Product parade under the hero */
.parade {
  position: relative;
  background: var(--champ-50);
  padding-block: 8px 30px;
  overflow: hidden;
}
.tmask {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tmask::-webkit-scrollbar {
  display: none;
}
.parade-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 14px 9px 22px;
}
/* JS loop (v66): drifts on its own, stops under the cursor, can be dragged, swiped or scrolled sideways; vertical page scroll stays native */
.parade.loop .tmask {
  overflow: hidden;
  touch-action: pan-y;
}
.parade.loop .parade-track {
  will-change: transform;
}
.parade.drag .parade-track {
  cursor: grabbing;
}
.parade.drag .pc {
  transition: none;
}
.pc img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.pd-nav {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .pd-nav {
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 2;
    top: calc(32px + (clamp(230px, 22vw, 280px) - 20px) * 0.3125);
    translate: 0 -50%;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(206, 176, 128, 0.55);
    background: rgba(255, 253, 248, 0.95);
    color: var(--ink);
    box-shadow: 0 16px 30px -18px rgba(90, 62, 24, 0.6);
    cursor: pointer;
    opacity: 0;
    transition:
      opacity 0.35s var(--ease),
      background-color 0.3s,
      border-color 0.3s,
      scale 0.35s var(--ease);
  }
  .pd-nav.prev {
    left: clamp(14px, 2.6vw, 40px);
  }
  .pd-nav.next {
    right: clamp(14px, 2.6vw, 40px);
  }
  .parade:hover .pd-nav,
  .pd-nav:focus-visible {
    opacity: 1;
  }
  .pd-nav:hover {
    background: #fff;
    border-color: var(--bronze);
    scale: 1.06;
  }
  .pd-nav:active {
    scale: 0.96;
  }
  .pd-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
/* product info card on hover / keyboard focus (Izabela 19.11): one floating card in <body>, never clipped by the strip */
.pc-pop {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: min(286px, calc(100vw - 32px));
  padding: 16px 16px 4px;
  border-radius: 18px;
  background: var(--ivory);
  border: 1px solid rgba(206, 176, 128, 0.5);
  box-shadow:
    0 30px 56px -26px rgba(70, 48, 18, 0.55),
    0 10px 22px -14px rgba(70, 48, 18, 0.3);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.97);
  transform-origin: var(--ax, 50%) 100%;
  transition:
    opacity 0.14s ease,
    transform 0.2s var(--ease),
    visibility 0s 0.2s;
}
.pc-pop.below {
  transform: translateY(-6px) scale(0.97);
  transform-origin: var(--ax, 50%) 0;
}
.pc-pop.side-r {
  transform: translateX(-6px) scale(0.97);
  transform-origin: 0 var(--ay, 50%);
}
.pc-pop.side-l {
  transform: translateX(6px) scale(0.97);
  transform-origin: 100% var(--ay, 50%);
}
.pc-pop.on {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.18s ease,
    transform 0.3s cubic-bezier(0.2, 0.9, 0.25, 1),
    visibility 0s;
}
.pc-pop:focus {
  outline: none;
}
.pc-pop.scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pc-pop.scroll .pp-arr,
.pc-pop.over .pp-arr {
  display: none;
}
.pp-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--mute);
  display: none;
  place-items: center;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.pc-pop.pin .pp-x {
  display: grid;
}
.pp-x svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
@media (hover: hover) and (pointer: fine) {
  .pp-x:hover {
    background: rgba(206, 176, 128, 0.18);
    color: var(--ink);
  }
}
.pp-x:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.pc-pop.pin .pp-t {
  padding-right: 32px;
}
.pp-t {
  display: block;
  padding-inline: 2px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pp-l {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  line-height: 1.3;
}
.pp-l li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  text-wrap: pretty;
}
.pp-i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(206, 176, 128, 0.16);
  color: var(--bronze);
}
.pp-i svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* v70: a plain text link, no arrow (an arrow in a floating card points nowhere useful) */
.pp-acts {
  margin: 12px -6px 0;
}
@media (hover: hover) and (pointer: fine) {
  .pc.is-peek {
    transform: translateY(-8px);
    background: var(--ivory);
    box-shadow: 0 30px 50px -30px rgba(110, 80, 30, 0.65);
  }
  .pc.is-peek .pc-obj {
    transform: scale(1.05);
  }
}
.pp-arr {
  position: absolute;
  left: var(--ax, 50%);
  bottom: -7px;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  background: var(--ivory);
  border: solid rgba(206, 176, 128, 0.5);
  border-width: 0 1px 1px 0;
  border-radius: 0 0 3px 0;
  rotate: 45deg;
}
.pc-pop.below .pp-arr {
  bottom: auto;
  top: -7px;
  border-width: 1px 0 0 1px;
  border-radius: 3px 0 0 0;
}
.pc-pop.side-r .pp-arr {
  left: -7px;
  top: var(--ay, 50%);
  bottom: auto;
  margin: -6.5px 0 0;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 3px;
}
.pc-pop.side-l .pp-arr {
  left: auto;
  right: -7px;
  top: var(--ay, 50%);
  bottom: auto;
  margin: -6.5px 0 0;
  border-width: 1px 1px 0 0;
  border-radius: 0 3px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .pc-pop,
  .pc-pop.below,
  .pc-pop.on {
    transform: none;
    transition:
      opacity 0.12s,
      visibility 0s 0.12s;
  }
  .pc-pop.on {
    transition:
      opacity 0.12s,
      visibility 0s;
  }
}
.pc {
  flex: none;
  width: clamp(230px, 22vw, 280px);
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 10px 16px;
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    background 0.4s;
}
.pc:focus-visible {
  background: var(--ivory);
  box-shadow: 0 30px 50px -30px rgba(110, 80, 30, 0.65);
}
@media (hover: hover) and (pointer: fine) {
  .pc:hover {
    transform: translateY(-8px);
    background: var(--ivory);
    box-shadow: 0 30px 50px -30px rgba(110, 80, 30, 0.65);
  }
}
/* one studio for every model: light champagne sweep, a floor line at 84% of the height, a soft contact shadow */
.pc-vis {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(95% 85% at 50% 22%, #fffefa 0%, #f8f0e2 52%, #efe2ca 100%);
}
.pc-vis::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  z-index: -1;
  background: linear-gradient(rgba(206, 176, 128, 0), rgba(206, 176, 128, 0.2));
}
.pc-obj {
  position: absolute;
  left: 50%;
  bottom: 16%;
  translate: -50% 0;
  display: block;
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease);
}
.pc-obj::after {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -7px;
  height: 14px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(72, 48, 20, 0.42), rgba(72, 48, 20, 0));
}
.pc-obj img {
  display: block;
  width: 100%;
  height: auto;
}
@media (hover: hover) and (pointer: fine) {
  .pc:hover .pc-obj {
    transform: scale(1.05);
  }
}
.o-tv {
  width: 68%;
}
.pc .mini-tv {
  display: block;
  width: 100%;
  animation: none;
}
.pc .mini-tv .tv-bezel {
  box-shadow: 0 18px 26px -18px rgba(60, 40, 10, 0.55);
}
.pc .mini-tv .tv-stand {
  height: 7px;
}
.o-tv::after {
  left: 28%;
  right: 28%;
}
.o-xr {
  width: 66%;
}
.o-xr::after {
  bottom: -6px;
}
.o-c3 {
  width: 46%;
}
.o-c3::after {
  left: -4%;
  right: -4%;
}
/* 120L9QD: laser TV = the ALR screen on the wall and the laser console under it */
.o-ltv {
  width: 63%;
}
.ltv-scr {
  display: block;
  padding: 0.8%;
  border-radius: 1.5px;
  background: #15110d;
  box-shadow: 0 16px 24px -18px rgba(60, 40, 10, 0.6);
}
.ltv-scr img {
  border-radius: 0;
}
.ltv-unit {
  display: block;
  width: 46%;
  margin: 6% auto 0;
  aspect-ratio: 7;
  border-radius: 3px 3px 6px 6px;
  background: linear-gradient(180deg, #f1e3c4 0%, #cdae7c 34%, #5a4936 38%, #2a221a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.o-ltv::after {
  left: 22%;
  right: 22%;
}
/* P1: packshot from the client (18.11); the stand's base sits a little right of the image centre */
.o-p1 {
  width: 37%;
}
.o-p1::after {
  left: 16%;
  right: 18%;
}
.pc-t {
  position: relative;
  display: grid;
  gap: 1px;
  padding-inline: 8px;
}
.pc-more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--bronze);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(160, 124, 70, 0.38);
  text-underline-offset: 4px;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
}
.pc-more svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: rotate 0.4s var(--ease);
}
.pc.is-peek .pc-more,
.pc:focus-visible .pc-more,
.pc.is-open .pc-more {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.pc.is-open .pc-more svg {
  rotate: 45deg;
}
.pc.is-open {
  background: var(--ivory);
  box-shadow: 0 30px 50px -30px rgba(110, 80, 30, 0.65);
}
@media (hover: hover) and (pointer: fine) {
  .pc:hover .pc-more {
    color: var(--ink);
    text-decoration-color: currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-more svg {
    transition: none;
  }
}
.pc-t b {
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.pc-t small {
  font-size: 0.84rem;
  color: var(--mute);
}
.pc-t .pc-k {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
/* a card with a product page (a <div>, see ProductCard): the name is a link to it, "Zobacz cechy" a button;
   they look as in the prototype and the card lights up as .pc:focus-visible does */
.pc-name {
  color: inherit;
  text-decoration: none;
}
button.pc-more {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.pc:has(:focus-visible) {
  background: var(--ivory);
  box-shadow: 0 30px 50px -30px rgba(110, 80, 30, 0.65);
}
.pc-more:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.pc-name:focus-visible,
.pc-more:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
/* 06 Products: TV / laser tabs and the model cards with their features.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose.
   The prototype redefines .more here (display:grid, its own transition) after the "Dowiedz się więcej" styles;
   the rule is kept and loads after ui/more/more.css, so the cascade matches.
   Dropped as dead in the prototype: .pvis .shot/.fit/.life/.lifetag/.badge, .pvis.dark, .pdesc, .specs,
   .more > div, .more p, .pcard.open (no elements or classes) and the tab switch's "rise" animation (no keyframes). */

.prod {
  background: linear-gradient(180deg, var(--cream) 0%, var(--champ-50) 70%, var(--champ-100) 100%);
}
.tabs {
  display: inline-flex;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  gap: 4px;
  margin-top: 6px;
  position: relative;
}
.prod .sec-head {
  margin-bottom: clamp(22px, 3.4vh, 36px);
}
.prod-tabs {
  margin: 0 0 clamp(18px, 2.8vh, 30px);
}
.tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 0.85em 1.5em;
  white-space: nowrap;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  color: var(--mute);
  transition: color 0.35s;
}
.tab[aria-selected='true'] {
  color: var(--gold-1);
}
@media (max-width: 420px) {
  .tab {
    padding: 0.8em 1.05em;
    font-size: 0.92rem;
  }
}
@media (max-width: 340px) {
  .tab {
    padding: 0.8em 0.6em;
    font-size: 0.86rem;
  }
}
.tabs .pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transition:
    transform 0.55s var(--spring),
    width 0.55s var(--ease);
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.pgrid[hidden] {
  display: none !important;
}
.pcard {
  position: relative;
  border-radius: var(--r-card);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .pcard:hover {
    transform: translateY(-6px);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pcard:hover {
    box-shadow: 0 50px 80px -50px rgba(60, 40, 10, 0.75);
  }
}
.pvis {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: calc(var(--r-card) - 10px);
  background: #e9dcc5;
}
.pvis > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pvis > img {
    scale: 1.05;
  }
}
.pcard[data-model='UR8S'] .pvis > img {
  object-position: 50% 40%;
}
.pcard[data-model='P1'] .pvis > img {
  object-position: 58% 50%;
}
.pcard[data-model='UR9S'] .pvis > img {
  object-position: 50% 20%;
}
.pcard[data-model='XR10'] .pvis > img {
  object-position: 40% 50%;
}
.pcard[data-model='C3 Ultra'] .pvis > img {
  object-position: 50% 50%;
}
.pvis::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .pvis::after {
    content: '';
  }
  .pcard:hover .pvis::after {
    transition: transform 1.2s var(--ease);
    transform: translateX(120%);
  }
}
.pbody {
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pbody h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
/* the name of a model with a product page is a link to it (Products.tsx); it looks the same */
.pname {
  color: inherit;
  text-decoration: none;
}
.pname:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.pbody .type {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-top: -6px;
}
.pspec {
  list-style: none;
  padding: 0;
  margin: 2px 0 4px;
  display: grid;
  align-content: start;
}
.pspec li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 0.55em 0;
  text-wrap: balance;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.pspec li:last-child {
  border-bottom: 1px solid var(--line);
}
.pcard .pmore {
  display: grid;
  align-content: start;
}
.pcard .pmore .more {
  margin-top: 4px;
}
.edu-l,
.edu-pl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.edu-in > .edu-l {
  padding-top: 6px;
}
.edu-l li,
.edu-pl li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 0.5em 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--mute);
  text-wrap: pretty;
  font-variant-numeric: tabular-nums;
}
.edu-l li:first-child,
.edu-pl li:first-child {
  border-top: 0;
}
.edu-l li::before,
.edu-pl li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  flex: none;
  transform: translateY(-2px);
}
.edu-pop .edu-pl {
  margin-top: 2px;
}
.edu-pl[hidden] {
  display: none;
}
.pspec li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  flex: none;
  transform: translateY(-2px);
}
/* two TVs: wide cards with the photo left and the copy right */
@media (min-width: 901px) {
  #grid-tv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
  }
  #grid-tv .pcard {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  #grid-tv .pvis {
    grid-row: 1 / -1;
  }
  #grid-tv .pbody {
    grid-row: 1 / -1;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 10px;
  }
  #grid-tv .pvis {
    aspect-ratio: auto;
    min-height: 200px;
  } /* v69: the card hugs its copy; the photo fills the same height */
  #grid-tv .pbody {
    padding: 16px 12px 8px 20px;
  }
  #grid-laser .pvis {
    aspect-ratio: 16/11;
  }
  #grid-laser .pcard {
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  #grid-laser .pbody {
    grid-row: span 4;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 10px;
  }
  #grid-laser .pbody .type {
    margin-top: -4px;
  }
}
.more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
/* phones: a spec the expanded features repeat in other words disappears while they are open (Pola 24.11,
   Products.tsx `specHiddenWhenOpen`); the spec above it takes over the closing line */
@media (max-width: 900px) {
  .pcard:has(.edu.on) .pspec li.hide-open {
    display: none;
  }
  .pcard:has(.edu.on) .pspec li:has(+ li.hide-open:last-child) {
    border-bottom: 1px solid var(--line);
  }
}
/* 02 TV world: copy, the TV scene with Edyta and the benefit tiles.
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103; Edyta's position and the EISA
   sticker from the 22.11 prototype). Change values only on purpose.
   Dropped as dead in the prototype: .tv-glow, .chip (no elements), glow and breathe keyframes. */

/* 02 TV world */
.tvw {
  --pb: calc(var(--pad-y) * 0.5);
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 45%, var(--champ-50) 100%);
  overflow: hidden;
}
.tvw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.tv-copy .btn,
.lw-copy .btn {
  margin-top: clamp(18px, 3vh, 30px);
}
/* two narrow columns (901-1299 px): Edyta stands up to 10 px into the copy column and covered the end of a
   line of the lead (client 24.11); the lead wraps 32 px earlier there, so every line ends clear of her.
   Measured on develop: at least 24 px between the text and her box, as above 1300 px. */
@media (min-width: 901px) and (max-width: 1299px) {
  .tv-copy .sec-head p {
    padding-right: 32px;
  }
}
@media (max-width: 900px) {
  .tvw-grid {
    grid-template-columns: 1fr;
  }
}
.tv-scene {
  position: relative;
  padding: 4% 0 6% 18%;
  width: min(100%, max(560px, calc((100svh - 300px) * 1.9)));
  justify-self: end;
}
@media (max-width: 900px) {
  .tv-scene {
    width: 100%;
    padding-left: 29%;
  }
  .tv-scene .tv-person {
    left: -2%;
  }
}
.tv-unit {
  position: relative;
}
.tv-refl {
  height: 34px;
  margin-top: 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(60, 40, 10, 0.08), transparent);
  filter: blur(6px);
}
.tv-person {
  position: absolute;
  left: -12%;
  bottom: 0;
  width: 36%;
  height: auto;
  z-index: 2;
  transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(#000 80%, transparent 99%);
  mask: linear-gradient(#000 80%, transparent 99%);
}
.tv-scene .scr img {
  position: absolute;
  inset: 0;
  animation: none;
}
.tv-lit::after {
  content: '';
  position: absolute;
  left: 10%;
  right: -12%;
  top: -8%;
  bottom: 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(226, 160, 80, 0.4),
    rgba(226, 160, 80, 0.16) 58%,
    transparent
  );
  opacity: 0.8;
}
.tv-lit {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.tv-glows {
  position: absolute;
  left: 4%;
  right: -16%;
  top: -14%;
  bottom: -2%;
  z-index: -1;
  opacity: 0.75;
  pointer-events: none;
}
.tv-glows i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(48px);
}
.tv-glows .g1 {
  background: radial-gradient(
    closest-side,
    rgba(242, 196, 120, 0.58) 0%,
    rgba(232, 186, 118, 0.46) 58%,
    rgba(205, 160, 100, 0.22) 80%,
    transparent 100%
  );
}
/* the TV scene is static (Mila, v29): it only fades in with the section like any other block */
/* EISA award sticker on the TV's top-right corner (prototype, staging fixes 22.11); placed against
   .tv-bezel (position: relative) */
.tv-bezel .eisa {
  position: absolute;
  z-index: 2;
  left: 66.696%;
  top: -6.942%;
  width: 30.987%;
  height: auto;
  pointer-events: none;
}
/* Gradient seams between the light and dark worlds (no hard edges).
   Ported 1:1 from the approved prototype (design-hisense-tvczylaser, v103). Change values only on purpose. */

.seam.short {
  height: clamp(96px, 9vw, 150px);
}
/* gradient seams between light and dark worlds (no hard edges) */
.seam {
  position: relative;
  height: clamp(110px, 11vw, 180px);
  pointer-events: none;
  margin-block: -1px;
}
.seam.to-night {
  background: linear-gradient(
    180deg,
    #f6eddd 0%,
    #f5ecdc 4.2%,
    #f2e9d9 8.3%,
    #ede4d5 12.5%,
    #e8decf 16.7%,
    #dfd6c7 20.8%,
    #d6ccbd 25%,
    #cbc1b3 29.2%,
    #c0b6a8 33.3%,
    #b3a99b 37.5%,
    #a79c8f 41.7%,
    #998f82 45.8%,
    #8d8276 50%,
    #7f7569 54.2%,
    #74695e 58.3%,
    #685c51 62.5%,
    #5d5247 66.7%,
    #54483e 70.8%,
    #4b3f35 75%,
    #44382f 79.2%,
    #3e3228 83.3%,
    #392d24 87.5%,
    #362a21 91.7%,
    #34281f 95.8%,
    #33271e 100%
  );
}
.seam.to-champ {
  background: linear-gradient(
    180deg,
    #4a3929 0%,
    #4b3a2a 4.2%,
    #4d3c2c 8.3%,
    #503f2f 12.5%,
    #554433 16.7%,
    #5a4939 20.8%,
    #62503f 25%,
    #6a5846 29.2%,
    #73614e 33.3%,
    #7e6b57 37.5%,
    #897660 41.7%,
    #94816b 45.8%,
    #9f8d76 50%,
    #aa9982 54.2%,
    #b5a58f 58.3%,
    #c0b19c 62.5%,
    #cabca8 66.7%,
    #d3c6b4 70.8%,
    #dcd0bf 75%,
    #e3d9c8 79.2%,
    #eae0cf 83.3%,
    #efe5d5 87.5%,
    #f3eada 91.7%,
    #f5ecdc 95.8%,
    #f6eddd 100%
  );
}
