:root {
  --ink: #12314c;
  --ink-soft: rgba(18, 49, 76, 0.72);
  --glass: rgba(255, 255, 255, 0.24);
  --glass-strong: rgba(255, 255, 255, 0.34);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: #ddeef7;
  color: var(--ink);
}

body.is-preloading {
  overflow: hidden;
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 36%, rgba(241, 249, 255, 0.95), rgba(212, 234, 246, 0.92) 54%, rgba(182, 216, 236, 0.9) 100%);
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.page-preloader[hidden] {
  display: none !important;
}

.page-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.page-preloader__orb {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.7) 28%, rgba(117, 198, 239, 0.8) 60%, rgba(42, 122, 182, 0.92) 100%);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.24),
    0 18px 34px rgba(20, 86, 126, 0.18);
  animation: preloaderOrb 1.35s ease-in-out infinite;
}

.page-preloader__label {
  color: #1f5579;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@keyframes preloaderOrb {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.06);
  }
}

.scene {
  padding: 0;
}

.artboard {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0;
  aspect-ratio: 3600 / 9500;
  overflow: visible;
}

.artboard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone {
  position: absolute;
  z-index: 2;
  overflow: hidden;
}

.z0 { left: 13.86%; top: 2.47%; width: 66.36%; height: 7.64%; }
.z1 { left: 2.07%; top: 12.70%; width: 37.71%; height: 6.58%; }
.z2 { left: calc(54.00% + 32px); top: calc(15.30% - 32px); width: calc(29.21% + 32px); height: calc(11.75% + 32px); }
.z3 { left: 1.07%; top: 25.29%; width: 50.51%; height: 4.71%; }
.z4 { left: 31.50%; top: calc(33.67% - 32px); width: 31.14%; height: calc(26.85% + 42px); }
.z5 { left: 58.35%; top: 61.44%; width: 41.08%; height: 8.15%; }
.z6 { left: 2.00%; top: 57.29%; width: 27.35%; height: 8.06%; }
.z7 { left: 4.79%; top: 72.48%; width: 54.00%; height: 8.22%; }
.z8 { left: 37.85%; top: 91.44%; width: 57.93%; height: 6.71%; }

.z1 {
  overflow: visible;
  --z1-cluster-width: min(460px, 72%);
}

.z0 {
  overflow: visible;
}

.glass-card {
  width: 100%;
  height: 100%;
  background: var(--glass);
  border: 0;
  border-radius: 16px;
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 22px rgba(13, 58, 90, 0.12);
  padding: clamp(8px, 1.1vw, 14px);
  display: grid;
  gap: 8px;
  align-content: start;
}

.z0-card {
  width: 100%;
  height: 100%;
  container-type: inline-size;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: visible;
  position: relative;
}

.logo-mark {
  display: block;
  width: min(1080px, 100%);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: fill;
  overflow: visible;
}

.logo-sub {
  font-family: Verdana, sans-serif;
  font-size: clamp(8px, 1.47cqi, 20px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cae2f3;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, clamp(14px, 3.35cqi, 46px));
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.z1-card h1,
.glass-card h2,
.glass-card h3 {
  margin: 0;
  line-height: 1;
}

.z1-card {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  gap: 0;
  align-content: stretch;
  position: relative;
  transform: translateX(-60px);
}

.z1-cloud {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 236px;
  height: 146px;
  display: grid;
  place-items: center;
  cursor: default;
  user-select: none;
  z-index: 3;
  transition: opacity 260ms ease;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.z1-cloud.is-burst {
  opacity: 0;
}

.z1-cloud__puff {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(1px);
  pointer-events: auto;
  cursor: default;
}

.puff-a { width: 120px; height: 76px; left: 24%; top: 23%; }
.puff-b { width: 80px; height: 56px; left: 8%; top: 34%; }
.puff-c { width: 74px; height: 52px; left: 60%; top: 35%; }
.puff-d { width: 96px; height: 64px; left: 35%; top: 47%; }

.z1-cloud__hint {
  position: relative;
  z-index: 1;
  color: rgba(20, 66, 96, 0.76);
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 700;
  pointer-events: auto;
  cursor: default;
}

.z1-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
  opacity: 0;
  transform: translateY(8px);
}

.z1-head,
.quiz-actions {
  width: var(--z1-cluster-width);
  margin-left: auto;
  margin-right: 0;
}

.z1-content.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease;
}

.z1-head h1 {
  font-size: clamp(14px, 1.95vw, 26px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(7, 23, 38, 0.35);
  letter-spacing: 0;
  margin-top: -32px;
  margin-bottom: 16px;
  white-space: nowrap;
  position: relative;
  left: -24px;
}

.z1-head p,
.glass-card p,
.glass-card li {
  margin: 0;
  font-size: clamp(10px, 1vw, 15px);
  color: var(--ink-soft);
}

.quiz-stage {
  width: min(100%, calc(var(--z1-cluster-width) + 70px));
  margin-left: auto;
  margin-right: 0;
  position: relative;
  border-radius: 12px;
  background: transparent;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: grid;
  row-gap: 1px;
  align-content: stretch;
}

.line {
  min-height: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 2px;
}

.line-dots {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 22px;
  display: block;
  text-align: right;
  direction: ltr;
  color: #ffffff !important;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  top: -8px;
}

.line-dots.is-full-line {
  top: -8px;
  text-align: left;
  direction: ltr;
  letter-spacing: 0;
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(8, 34, 58, 0.35);
}

.word-slot {
  width: clamp(68px, 6.8vw, 96px);
  min-width: 68px;
  min-height: 28px;
  display: grid;
  align-items: center;
  justify-items: start;
  padding-left: 4px;
  font-size: clamp(12px, 1.15vw, 17px);
  font-weight: 900;
  color: transparent;
  opacity: 0;
  margin-left: 2px;
  justify-self: end;
  transition: opacity 180ms ease, color 180ms ease;
}

.word-slot.has-word {
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(8, 34, 58, 0.45);
  opacity: 1;
}

.global-fly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  overflow: visible;
}

.fly-word {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(244, 250, 255, 0.62));
  box-shadow: 0 8px 14px rgba(30, 83, 117, 0.16);
  font-size: clamp(13px, 1.18vw, 19px);
  font-weight: 800;
  white-space: nowrap;
  opacity: 1;
}

.quiz-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  margin-right: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.quiz-actions.is-ready {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.46);
  color: #1a5d8d;
  font-weight: 800;
  font-size: clamp(10px, 0.95vw, 14px);
  cursor: pointer;
}

.btn-main {
  background: linear-gradient(140deg, rgba(25, 135, 221, 0.74), rgba(15, 95, 159, 0.72));
  color: #fff;
}

.z1 .btn {
  cursor: default;
}

#z1-guess {
  width: clamp(210px, 40%, 290px);
  min-height: 58px;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 900;
  cursor: pointer;
  position: relative;
  left: -80px;
}

.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.video-fake {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  min-height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  padding: 8px;
}

.video-fake span {
  font-size: clamp(18px, 2vw, 34px);
  line-height: 1;
  color: #e9f6ff;
}

.panel-about {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-content: stretch;
}

.panel-about .about-title {
  margin: 0;
  font-family: Verdana, sans-serif;
  font-size: clamp(17px, 1.71vw, 28px);
  line-height: 1;
  color: transparent;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 243, 255, 0.82) 60%, rgba(198, 230, 249, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(16, 61, 94, 0.3);
  filter: drop-shadow(0 1px 6px rgba(18, 67, 102, 0.28));
}

.about-deck {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.about-slot {
  min-height: 0;
}

.about-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  border-radius: 12px;
  outline: none;
}

.about-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  transition: transform 620ms cubic-bezier(.2,.86,.24,1);
}

.about-card:hover .about-card-inner,
.about-card:focus-visible .about-card-inner {
  transform: rotateY(180deg);
}

.about-card:hover .about-front,
.about-card:focus-visible .about-front,
.about-card:focus-within .about-front {
  filter: blur(2px);
}

.about-card--imageback:hover .about-front,
.about-card--imageback:focus-visible .about-front,
.about-card--imageback:focus-within .about-front {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.about-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(76, 149, 191, 0.22);
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  padding: 8px 10px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 5px;
  transition: filter 220ms ease;
}

.about-front-title {
  margin: 0;
  font-family: Verdana, sans-serif;
  color: #1f5579;
  font-size: clamp(12px, 1.16vw, 17px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.about-front-text {
  margin: 0;
  color: #1f5579;
  font-weight: 300;
  font-size: clamp(7px, 0.7vw, 10px);
  line-height: 1.2;
  text-wrap: balance;
  max-width: 98%;
}

.about-front-note {
  margin: 0;
  color: #2d5f81;
  font-weight: 750;
  font-size: clamp(6px, 0.66vw, 9px);
  line-height: 1.14;
  text-wrap: balance;
  max-width: 94%;
}

.about-front-text--accent {
  font-weight: 300;
}

.about-back {
  transform: rotateY(180deg) translateZ(1px);
  position: absolute;
  inset: 0;
  isolation: isolate;
}

.about-back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.34) 38%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(135deg, rgba(159, 214, 246, 0.38), rgba(246, 251, 255, 0.16));
}

.about-back--image {
  padding: 0;
}

.about-back--image::before {
  display: none;
}

.about-back-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px dashed rgba(59, 126, 168, 0.3);
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 78% 72%, rgba(162, 218, 248, 0.5) 0%, rgba(162, 218, 248, 0) 32%),
    linear-gradient(155deg, rgba(233, 248, 255, 0.72), rgba(198, 229, 246, 0.36));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 10px;
}

.about-back-art--image {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  align-content: stretch;
  justify-items: stretch;
}

.about-back-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.about-back-kicker {
  color: #5f8dab;
  font-size: clamp(6px, 0.6vw, 9px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-back-title {
  margin: 0;
  color: #1f5579;
  font-size: clamp(10px, 0.98vw, 15px);
  line-height: 1.02;
  font-weight: 900;
}

.about-back-copy {
  margin: 0;
  color: #2d5f81;
  font-size: clamp(6px, 0.62vw, 9px);
  line-height: 1.16;
  font-weight: 700;
  text-wrap: balance;
}

.about-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: end;
}

.about-cta {
  width: clamp(142px, 58%, 228px);
  min-height: 42px;
  border: 1px solid rgba(214, 244, 255, 0.58);
  border-radius: 14px;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(140deg, rgba(25, 135, 221, 0.74), rgba(15, 95, 159, 0.72));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 73, 117, 0.26);
}

.secondary-cta {
  background: rgba(235, 248, 255, 0.58);
  border: 0;
  color: #1e5f83;
  border-radius: 14px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 20px rgba(18, 70, 105, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.season-strip {
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: calc(4px * var(--z3s));
  align-content: stretch;
  overflow: hidden;
  --z3s: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(236, 248, 255, 0.67));
  border: 1px solid rgba(95, 162, 201, 0.3);
  box-shadow: 0 12px 26px rgba(18, 67, 102, 0.17);
  backdrop-filter: blur(5px);
}

.season-strip-title {
  font-family: Verdana, sans-serif;
  margin: 0;
  font-size: clamp(14px, calc(34px * var(--z3s)), 40px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #2b5f87;
  -webkit-text-stroke: 0.35px rgba(84, 139, 176, 0.3);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 7px rgba(24, 66, 98, 0.22);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  --comet-x: -22;
  --comet-opacity: 0;
}

.season-strip-title::after {
  content: "";
  position: absolute;
  top: -28%;
  bottom: -26%;
  width: 34%;
  left: calc(var(--comet-x) * 1%);
  transform: translateX(-50%);
  opacity: var(--comet-opacity);
  pointer-events: none;
  z-index: 2;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 240, 191, 0.72) 0%, rgba(255, 196, 111, 0.58) 26%, rgba(255, 152, 72, 0.24) 52%, rgba(255, 152, 72, 0) 70%);
  filter: blur(0.6px);
}

.season-strip-title .season-char {
  display: inline-block;
  color: #2b5f87;
  transition: color 180ms ease, transform 260ms ease, filter 260ms ease;
  position: relative;
  z-index: 3;
}

.season-strip-title .season-char.is-lit {
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.95),
    0 0 8px rgba(255, 156, 53, 0.9),
    0 0 18px rgba(255, 130, 24, 0.72),
    0 0 28px rgba(255, 104, 0, 0.54);
  filter: drop-shadow(0 0 10px rgba(255, 146, 43, 0.58));
  transform: translateY(-0.02em);
}

.season-strip-title .season-char.is-returning {
  animation: seasonCharBack 360ms cubic-bezier(.22,.78,.24,1);
}

@keyframes seasonCharBack {
  0% {
    transform: translateY(-0.05em) scale(1.04);
    filter: drop-shadow(0 0 11px rgba(255, 142, 34, 0.5));
  }
  100% {
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-strip-title {
    --comet-opacity: 0;
  }
}

.season-strip-copy {
  margin: 0;
  align-self: center;
  min-width: 0;
  min-height: 0;
  font-size: clamp(7px, calc(12px * var(--z3s)), 12px);
  line-height: 1.18;
  color: #1e5073;
  text-shadow: 0 1px 4px rgba(12, 47, 72, 0.08);
  padding-block: calc(8px * var(--z3s));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.season-strip-tabs {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: calc(4px * var(--z3s));
  align-self: end;
}

.season-strip-tab {
  border: 1px solid rgba(52, 118, 160, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #1f5579;
  font-size: clamp(7px, calc(11px * var(--z3s)), 11px);
  font-weight: 800;
  line-height: 1.1;
  height: clamp(18px, calc(34px * var(--z3s)), 40px);
  min-height: 0;
  padding: calc(2px * var(--z3s)) calc(3px * var(--z3s));
  display: grid;
  place-items: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.season-strip-tab.is-active {
  background: linear-gradient(145deg, rgba(109, 201, 248, 0.96), rgba(67, 148, 219, 0.96));
  color: #ffffff;
  box-shadow: 0 5px 12px rgba(37, 114, 166, 0.3);
}

.z4-panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-content: stretch;
}

.z4-title {
  margin: 0;
  justify-self: center;
  text-align: center;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -0.015em;
  font-size: clamp(16px, 1.7vw, 28px);
  line-height: 1;
  color: transparent;
  background: repeating-linear-gradient(110deg, #4b2f66 0 16px, #2b618b 16px 34px, #2a4f86 34px 52px);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.36px rgba(114, 165, 200, 0.34);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 8px rgba(33, 56, 99, 0.24);
  animation: z4TitleStrip 5.4s linear infinite;
}

@keyframes z4TitleStrip {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.z4-stack {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.z4-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: end;
}

.z4-slot {
  min-height: 0;
}

.z4-card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  border-radius: 12px;
  outline: none;
}

.z4-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  transition: transform 620ms cubic-bezier(.2,.86,.24,1);
}

.z4-card:hover .z4-card-inner,
.z4-card:focus-visible .z4-card-inner {
  transform: rotateY(180deg);
}

.z4-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(76, 149, 191, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  padding: 8px 10px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.z4-front h3 {
  margin: 0;
  font-size: clamp(11px, 1.1vw, 18px);
  color: #1f5579;
  letter-spacing: 0.01em;
}

.z4-icon {
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 1;
  margin-bottom: 4px;
}

.z4-illustration {
  display: block;
  width: min(100%, clamp(44px, 5.2vw, 84px));
  max-height: clamp(24px, 3.5vw, 54px);
  object-fit: contain;
  object-position: center;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 6px rgba(14, 51, 79, 0.14));
}

.z4-front--image {
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.z4-illustration-frame {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.z4-front--image .z4-illustration {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  image-rendering: auto;
}

#z4-card-participant .z4-illustration-frame {
  display: grid;
  place-items: center;
  position: relative;
}

#z4-card-participant .z4-illustration--stack {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#z4-card-participant .z4-illustration--stack.is-active {
  opacity: 1;
  visibility: visible;
}

.z4-back {
  transform: rotateY(180deg) translateZ(1px);
  position: absolute;
  inset: 0;
  isolation: isolate;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 4px;
}

.z4-back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.82) 42%,
    rgba(255, 255, 255, 0.22) 100%
  );
}

.z4-back-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.02;
  font-weight: 900;
  color: #1f5579;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.z4-back-subtitle {
  position: relative;
  z-index: 1;
  margin: 2px 0 0;
  font-size: clamp(7px, 0.72vw, 11px);
  line-height: 1.08;
  font-weight: 800;
  color: #2d5f81;
}

.z4-back-p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(7px, 0.72vw, 11px);
  line-height: 1.18;
  color: #2d5f81;
  max-width: 98%;
}

@media (max-width: 760px) {
  .z4-face {
    padding: 6px 8px;
  }

  .z4-back-title {
    font-size: clamp(12px, 1.9vw, 16px);
  }

  .z4-back-subtitle,
  .z4-back-p {
    font-size: clamp(7px, 1.05vw, 9px);
  }
}

.panel-comments {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  overflow: hidden;
}

.panel-comments h2,
.panel-tips h2,
.panel-videos h2 {
  margin: 0;
  font-size: clamp(11px, 1.08vw, 18px);
  line-height: 1;
  color: transparent;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(225, 243, 255, 0.84) 58%, rgba(197, 230, 249, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 8px rgba(16, 61, 94, 0.28);
  filter: drop-shadow(0 1px 6px rgba(18, 67, 102, 0.24));
}

.panel-comments {
  font-family: Verdana, sans-serif;
}

.panel-tips {
  font-family: Verdana, sans-serif;
}

.panel-videos h2 {
  font-family: Verdana, sans-serif;
}

.panel-logos h2 {
  margin: 0 0 4px;
  font-family: Verdana, sans-serif;
  font-size: clamp(12px, 1.2vw, 20px);
  line-height: 1;
  color: transparent;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 249, 255, 0.94) 58%, rgba(222, 239, 250, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34),
    0 2px 8px rgba(16, 61, 94, 0.3);
  filter: drop-shadow(0 1px 6px rgba(18, 67, 102, 0.28));
}

.panel-logos {
  background: linear-gradient(150deg, rgba(208, 229, 242, 0.3), rgba(134, 180, 210, 0.18));
  backdrop-filter: blur(3px) contrast(1.08) brightness(0.9);
  -webkit-backdrop-filter: blur(3px) contrast(1.08) brightness(0.9);
}

.panel-comments .comment-ribbon {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 7px;
}

.comment-card {
  border-radius: 12px;
  border: 1px solid rgba(76, 149, 191, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  padding: 7px 8px;
  opacity: 0.82;
  transition: opacity 220ms ease, transform 220ms ease;
  display: grid;
  place-items: center;
  text-align: center;
}

.comment-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.comment-card p {
  margin: 0;
  font-size: clamp(8px, 0.74vw, 12px);
  line-height: 1.18;
  color: #2d5f81;
  font-weight: 800;
}

.panel-tips {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  overflow: hidden;
}

.tips-scroll {
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 136, 186, 0.58) transparent;
}

.tip-group {
  border: 1px solid rgba(76, 149, 191, 0.22);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  padding: 6px 8px;
}

.tip-group h3 {
  margin: 0;
  font-size: clamp(8px, 0.76vw, 12px);
  line-height: 1.12;
  color: #1f5579;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 5px rgba(11, 42, 67, 0.08);
}

.tip-group ul {
  margin: 4px 0 0;
  padding-left: 14px;
  display: grid;
  gap: 3px;
}

.tip-group li {
  font-size: clamp(7px, 0.66vw, 10px);
  line-height: 1.18;
  color: #2d5f81;
  font-weight: 500;
}

.panel-videos {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(208, 229, 242, 0.3), rgba(134, 180, 210, 0.18));
  backdrop-filter: blur(3px) contrast(1.08) brightness(0.9);
  -webkit-backdrop-filter: blur(3px) contrast(1.08) brightness(0.9);
}

.kinescope-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.kinescope-card {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 4px;
}

.kinescope-window {
  position: relative;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(76, 149, 191, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  display: grid;
  place-items: center;
  min-height: 46px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.kinescope-window::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  background-image:
    radial-gradient(ellipse 72% 84% at center, rgba(0, 0, 0, 0) 18%, rgba(9, 31, 48, 0.76) 100%),
    var(--video-poster, none);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(1) saturate(1.2) sepia(0.2);
  pointer-events: none;
}

.kinescope-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background-image: var(--video-mockup, none);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.kinescope-card:nth-child(1) .kinescope-window {
  --video-mockup: url('mockup_video_1.png');
}

.kinescope-card:nth-child(2) .kinescope-window {
  --video-mockup: url('mockup_video_2.png');
}

.kinescope-card:nth-child(3) .kinescope-window {
  --video-mockup: url('mockup_video_3.png');
}

.kinescope-window > * {
  position: relative;
  z-index: 1;
}

.kinescope-window:hover,
.kinescope-window:focus-visible {
  transform: none;
  box-shadow: 0 10px 22px rgba(23, 77, 113, 0.2);
}

.kinescope-window:focus-visible {
  outline: 2px solid rgba(61, 147, 206, 0.55);
  outline-offset: 2px;
}

.play-icon {
  width: clamp(26px, 2.2vw, 38px);
  height: clamp(26px, 2.2vw, 38px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  font-size: clamp(11px, 1.05vw, 16px);
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(140deg, rgba(25, 135, 221, 0.9), rgba(15, 95, 159, 0.88));
  box-shadow: 0 6px 14px rgba(13, 73, 117, 0.28);
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.kinescope-window:hover .play-icon,
.kinescope-window:focus-visible .play-icon {
  opacity: 1;
}

.kinescope-card p {
  margin: 0;
  min-height: calc(2 * 1.18em);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: Verdana, sans-serif;
  text-align: center;
  font-size: clamp(7px, 0.65vw, 10px);
  line-height: 1.18;
  color: #f5fbff;
  font-weight: 700;
  -webkit-text-fill-color: #f5fbff;
  -webkit-text-stroke: 0.4px rgba(30, 79, 113, 0.92);
}

.panel-logos {
  font-family: Verdana, sans-serif;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  overflow: hidden;
}

.panel-logos .logos-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.partner-card {
  min-height: 0;
  perspective: 1000px;
  outline: none;
  container-type: inline-size;
}

.partner-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.partner-card:hover .partner-card__inner,
.partner-card:focus-visible .partner-card__inner,
.partner-card:focus-within .partner-card__inner {
  transform: rotateY(180deg);
}

.partner-card:hover .partner-card__front,
.partner-card:focus-visible .partner-card__front,
.partner-card:focus-within .partner-card__front {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.partner-card:hover .partner-card__front > *,
.partner-card:focus-visible .partner-card__front > *,
.partner-card:focus-within .partner-card__front > * {
  opacity: 0;
}

.partner-card__face {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid rgba(76, 149, 191, 0.22);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 255, 0.44));
  box-shadow: 0 8px 20px rgba(23, 77, 113, 0.14);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 6px;
  display: grid;
  text-align: center;
  overflow: hidden;
}

.partner-card__front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
}

.partner-card__back {
  grid-template-rows: minmax(0, 1fr) 28px;
  justify-items: center;
  align-content: stretch;
  gap: 10px;
  padding: 10px 12px 12px;
  transform: rotateY(180deg) translateZ(1px);
}

.partner-card__logo-slot {
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card--member .partner-card__logo-slot--member {
  flex: 0 0 auto;
}

.partner-card--invite .partner-card__logo-slot--invite {
  flex: 0 0 auto;
}

.partner-card__logo-image {
  display: block;
  width: 172px;
  height: 70px;
  max-width: none;
  object-fit: contain;
}

.partner-card__logo-image--mini {
  width: min(100%, 126px);
  height: auto;
  max-width: 100%;
}

.partner-card__caption,
.partner-card__invite-copy {
  display: block;
  margin: 0;
  font-size: clamp(7px, 0.66vw, 10px);
  line-height: 1.18;
  color: #2d5f81;
  font-weight: 800;
}

.partner-card__support {
  margin: 0;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: clamp(3px, 2cqi, 5px);
  line-height: 1.04;
  color: #2d5f81;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.partner-card__cta {
  width: min(100%, 156px);
  min-height: 28px;
  border: 0;
  border-radius: 14px;
  background: rgba(235, 248, 255, 0.58);
  color: #1e5f83;
  font-family: Verdana, sans-serif;
  font-size: clamp(7px, 0.66vw, 10px);
  line-height: 1;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 20px rgba(18, 70, 105, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 0 12px;
  align-self: end;
}

.site-footer {
  position: absolute;
  left: 4.5%;
  right: 4.5%;
  bottom: 0.3%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

.site-footer__link {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(242, 249, 255, 0.92);
  font-family: Verdana, sans-serif;
  font-size: clamp(6px, 0.56vw, 9px);
  line-height: 1.18;
  text-decoration: underline;
  text-decoration-color: rgba(242, 249, 255, 0.58);
  text-underline-offset: 2px;
  cursor: pointer;
  -webkit-text-stroke: 0.2px rgba(19, 61, 91, 0.9);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.84);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(8, 20, 34, 0.28);
  backdrop-filter: blur(3px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.quiz-modal {
  width: min(620px, calc(100vw - 28px));
  border-radius: 20px;
  padding: 18px;
  background: rgba(250, 254, 255, 0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 44px rgba(14, 62, 92, 0.3);
  position: relative;
}

.video-modal {
  width: min(920px, calc(100vw - 28px));
  border-radius: 20px;
  padding: 16px;
  background: rgba(250, 254, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 44px rgba(14, 62, 92, 0.3);
  position: relative;
  display: grid;
  gap: 10px;
}

.subscribe-modal {
  width: min(720px, calc(100vw - 28px));
  border-radius: 22px;
  padding: 20px;
  background: rgba(250, 254, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 44px rgba(14, 62, 92, 0.3);
  position: relative;
  display: grid;
  gap: 12px;
}

.partner-modal,
.organizer-modal {
  width: min(720px, calc(100vw - 28px));
}

.document-modal {
  width: min(760px, calc(100vw - 28px));
  gap: 14px;
  cursor: pointer;
}

.video-modal h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 30px);
  color: #1f5579;
}

.subscribe-modal h3 {
  margin: 0;
  padding-right: 28px;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 0.98;
  color: #1f5579;
  letter-spacing: -0.02em;
}

.subscribe-modal-copy {
  margin: 0;
  color: #2d5f81;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.18;
  font-weight: 700;
}

.subscribe-form {
  display: grid;
  gap: 12px;
}

.subscribe-form-row {
  display: grid;
}

.subscribe-form-row--fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.subscribe-field {
  display: grid;
  gap: 5px;
}

.subscribe-label {
  color: #2d5f81;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.subscribe-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(76, 149, 191, 0.3);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(244, 252, 255, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 20px rgba(23, 77, 113, 0.08);
  padding: 0 14px;
  color: #1f5579;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.subscribe-field input::placeholder {
  color: rgba(45, 95, 129, 0.55);
}

.subscribe-field input:focus {
  border-color: rgba(60, 145, 198, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 0 0 3px rgba(122, 204, 247, 0.18);
}

.subscribe-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.subscribe-switch-btn {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(76, 149, 191, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(244, 252, 255, 0.48));
  color: #2d5f81;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.subscribe-switch-btn.is-active {
  background: linear-gradient(145deg, rgba(109, 201, 248, 0.96), rgba(67, 148, 219, 0.96));
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(37, 114, 166, 0.24);
}

.subscribe-submit {
  width: min(100%, 280px);
  justify-self: center;
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
}

.subscribe-result {
  min-height: 20px;
  text-align: center;
  color: #1f9b65;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
}

.document-modal__body {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(76, 149, 191, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.74), rgba(244, 252, 255, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.document-modal__body p {
  margin: 0;
  color: #2d5f81;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.45;
  font-weight: 600;
}

.organizer-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(76, 149, 191, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.74), rgba(244, 252, 255, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.organizer-card p {
  margin: 0;
  color: #2d5f81;
  font-size: 14px;
  line-height: 1.24;
  font-weight: 700;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  color: #2d5f81;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.consent-check input {
  margin-top: 2px;
}

.video-player-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(76, 149, 191, 0.24);
  background: center center / cover no-repeat url('video_placeholder.png');
  box-shadow: 0 10px 24px rgba(14, 62, 92, 0.22);
}

#video-modal-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: center center / cover no-repeat url('video_placeholder.png');
  border: 0;
}

.quiz-modal h3 {
  margin: 0;
  font-size: 28px;
}

.quiz-modal p {
  margin: 8px 0 0;
  color: #2f607b;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  color: #225675;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.options {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.options button {
  border: 0;
  border-radius: 10px;
  padding: 9px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.56);
  color: #194f70;
  cursor: pointer;
}

.modal-result {
  margin-top: 10px;
  min-height: 22px;
  font-size: 16px;
  font-weight: 800;
}

.modal-result.ok { color: #1f9b65; }
.modal-result.nope { color: #d0673a; }

.modal-win {
  position: relative;
  margin-top: 10px;
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.modal-win[hidden] {
  display: none !important;
}

.win-cup {
  font-size: 62px;
  line-height: 1;
  animation: cupPulse 1.3s ease-in-out infinite;
}

.win-author {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #1a4f73;
}

.fireworks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spark-color, #ffda67);
  transform: translate(0, 0) scale(1);
  opacity: 0.95;
  animation: sparkFly 980ms cubic-bezier(.15,.8,.25,1) forwards;
}

@keyframes cupPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes sparkFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.2);
  }
}

@media (max-width: 760px) {
  .subscribe-modal {
    padding: 16px;
    gap: 10px;
  }

  .subscribe-form-row--fields,
  .subscribe-switch {
    grid-template-columns: 1fr;
  }

  .subscribe-field input,
  .subscribe-switch-btn {
    min-height: 44px;
  }

  .subscribe-submit {
    width: 100%;
  }

  .artboard { width: 100vw; }
  .options { grid-template-columns: 1fr; }

  .panel-comments .comment-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kinescope-grid {
    grid-template-columns: 1fr;
  }

  .panel-logos .logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-about {
    gap: 4px;
  }

  .about-deck {
    gap: 4px;
  }

  .about-face {
    padding: 6px 8px;
  }

  .about-back-art {
    padding: 8px;
  }

  .about-cta {
    width: min(100%, 200px);
    min-height: 38px;
  }
}

/* stihia2: isolated z1 system */
#z1 .z1-content {
  --z1-actions-bottom: clamp(-42px, -6%, -24px);
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(8px);
}

#z1 .z1-content.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

#z1 .rhyme-title {
  position: absolute;
  left: 50%;
  top: -28px;
  width: min(100%, var(--z1-cluster-width));
  margin: 0;
  color: #ffffff;
  font-size: clamp(13px, 1.9vw, 27px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 12px rgba(7, 23, 38, 0.35);
  -webkit-text-stroke: 0.5px rgba(24, 82, 128, 0.5);
}

#z1 .rhyme-board {
  position: absolute;
  left: 50%;
  width: min(100%, var(--z1-cluster-width));
  top: 14%;
  bottom: 24%;
  transform: translateX(-50%);
}

#z1 .rhyme-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 10px;
}

#z1 .rhyme-row[data-row="0"] { top: 0%; }
#z1 .rhyme-row[data-row="1"] { top: 27%; }
#z1 .rhyme-row[data-row="2"] { top: 54%; }
#z1 .rhyme-row[data-row="3"] { top: 81%; }

#z1 .row-prefix {
  text-align: right;
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(8, 34, 58, 0.22);
  -webkit-text-stroke: 0.45px rgba(24, 82, 128, 0.48);
}

#z1.is-solved .row-prefix {
  letter-spacing: 0;
  font-weight: 800;
}

#z1 .row-rhyme {
  width: clamp(92px, 8.3vw, 120px);
  min-width: clamp(92px, 8.3vw, 120px);
  display: grid;
  justify-items: start;
}

#z1 .row-rhyme-word {
  display: block;
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(8, 34, 58, 0.45);
  -webkit-text-stroke: 0.5px rgba(24, 82, 128, 0.5);
  opacity: 0;
}

#z1 .fly-word {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(8, 34, 58, 0.45);
  -webkit-text-stroke: 0.5px rgba(24, 82, 128, 0.5);
}

#z1.is-solved .row-rhyme-word {
  opacity: 1;
}

#z1 .row-rhyme-word.is-arrived {
  opacity: 1;
}

#z1 #rhyme-actions {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: var(--z1-actions-bottom);
  width: min(100%, var(--z1-cluster-width));
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

#z1 #rhyme-actions.is-ready {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#z1 #z1-guess {
  position: static !important;
  left: auto !important;
  transform: none !important;
  min-width: 220px;
  min-height: 44px;
  padding: 4px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e5f8c;
}

#z1 .rhyme-author-sign {
  position: absolute;
  left: 50%;
  bottom: calc(var(--z1-actions-bottom) + 40px);
  width: min(100%, var(--z1-cluster-width));
  transform: translateX(-50%);
  text-align: right;
  padding-right: 10px;
  color: #ffffff;
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(8, 34, 58, 0.45);
  -webkit-text-stroke: 0.45px rgba(24, 82, 128, 0.48);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

#z1 .rhyme-author-sign.is-visible {
  opacity: 1;
}
