/* ---------- шрифты ---------- */
@font-face {
  font-family: 'Unbounded';
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/unbounded-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/unbounded-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/sofia-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/sofia-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- основа ---------- */
:root {
  --bg: #0a0504;
  --ink: #f7f0eb;
  --muted: #a8968f;
  --red: #e0564a;
  --red-hot: #f27465;
  --red-label: #d05d51;
  --red-ink: #1a0806;
  --line: rgba(255, 236, 228, 0.13);
  --panel: rgba(255, 236, 228, 0.055);
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Sofia Sans Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font: 500 20px/1.25 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

h1, h2, p, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }

/* ---------- атмосфера: размытый постер, блики диско-шара, зерно ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient__photo {
  position: absolute;
  inset: -12%;
  background: url('/img/hero.jpg') center / cover no-repeat;
  filter: blur(34px) brightness(0.3) saturate(1.25);
}
.ambient__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 0%, transparent 0%, rgba(10, 5, 4, 0.55) 60%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(10, 5, 4, 0.2), rgba(10, 5, 4, 0.82));
}
.ambient__lights {
  position: absolute;
  inset: -40% -40%;
  background-image:
    radial-gradient(circle, rgba(242, 116, 101, 0.5) 0 2.5px, transparent 4px),
    radial-gradient(circle, rgba(255, 240, 235, 0.38) 0 1.5px, transparent 3px),
    radial-gradient(circle, rgba(224, 86, 74, 0.32) 0 4px, transparent 7px);
  background-size: 173px 149px, 127px 211px, 251px 197px;
  background-position: 0 0, 40px 70px, 120px 30px;
  opacity: 0.55;
  animation: lights 46s linear infinite;
}
.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes lights {
  to { transform: translate3d(173px, -149px, 0) rotate(8deg); }
}

/* ---------- каркас ---------- */
.app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.screen {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-bottom: calc(var(--pad) + env(safe-area-inset-bottom));
  /* элементы «въезжают» снизу — без этого страница на полсекунды становится прокручиваемой */
  overflow: hidden;
}
.screen.is-out {
  animation: screen-out 0.28s ease both;
}
@keyframes screen-out {
  to { opacity: 0; transform: scale(0.98); }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- верх с фото (старт и результат) ---------- */
.hero {
  position: relative;
  height: min(56dvh, 122vw);
  flex: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  animation: hero-in 1.6s var(--ease) both, hero-drift 18s ease-in-out 1.6s infinite alternate;
}
@keyframes hero-in {
  from { opacity: 0; transform: scale(1.22); filter: brightness(2) saturate(0.4); }
  to { opacity: 1; transform: scale(1.06); filter: none; }
}
@keyframes hero-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.15) translate3d(0, -1.5%, 0); }
}

/* с полем имени контента больше — фото делаем ниже, чтобы кнопка осталась на экране */
.start.has-name .hero { height: min(44dvh, 100vw); }

.hero__sparkles { position: absolute; inset: 0; }
.sparkle {
  position: absolute;
  width: var(--s, 14px);
  height: var(--s, 14px);
  background: #fff;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 6px rgba(242, 116, 101, 0.9));
  opacity: 0;
  animation: twinkle var(--t, 2.6s) ease-in-out var(--d, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ---------- старт ---------- */
.start__body,
.result__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: -13dvh;
  padding: 0 var(--pad);
}
.start__body > *,
.result__body > * {
  animation: rise 0.8s var(--ease) both;
}
.start__body > :nth-child(1), .result__body > :nth-child(1) { animation-delay: 0.25s; }
.start__body > :nth-child(2), .result__body > :nth-child(2) { animation-delay: 0.35s; }
.start__body > :nth-child(3), .result__body > :nth-child(3) { animation-delay: 0.45s; }
.start__body > :nth-child(4), .result__body > :nth-child(4) { animation-delay: 0.55s; }
.start__body > :nth-child(5), .result__body > :nth-child(5) { animation-delay: 0.65s; }

.logo {
  font: 900 clamp(36px, 12.4vw, 60px) / 0.95 var(--f-display);
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 6px 30px rgba(10, 5, 4, 0.8);
}
.sub {
  margin-top: 12px;
  font: 800 clamp(26px, 8vw, 34px) / 1 var(--f-body);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.facts {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  font: 600 19px/1.2 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.facts > div { display: flex; gap: 8px; }
.facts dt { color: var(--red-label); font-weight: 800; }

.field { display: grid; gap: 8px; margin-top: 22px; }
.field__label {
  color: var(--red-label);
  font: 800 15px/1 var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field__input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 5, 4, 0.55);
  font: 600 20px/1 var(--f-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 86, 74, 0.22); }

.cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 66px;
  margin-top: auto;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--red-hot), var(--red) 55%, #c8463b);
  color: var(--red-ink);
  font: 800 19px/1 var(--f-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 44px -14px rgba(224, 86, 74, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.16s var(--ease), filter 0.2s;
}
.start__body .cta { margin-top: auto; }
.start__body .facts { margin-bottom: 28px; }
.start__body .field { margin-top: 0; margin-bottom: 18px; }
.cta > span { position: relative; z-index: 1; }
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 3.4s ease-in-out 1.4s infinite;
}
@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.cta:active { transform: scale(0.97); filter: brightness(1.08); }
.cta:disabled { filter: grayscale(0.7) brightness(0.6); cursor: default; }
.cta:disabled::after { animation: none; }
.cta:focus-visible, .opt:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta--ghost {
  width: auto;
  min-height: 56px;
  margin-top: 26px;
  padding: 0 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 15px;
}
.cta--ghost::after { display: none; }

/* ---------- вопрос ---------- */
.quiz {
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom));
}

.hud { flex: none; animation: rise 0.6s var(--ease) both; }
.hud__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.hud__count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.hud__label {
  color: var(--red-label);
  font: 800 15px/1 var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hud__num {
  display: inline-block;
  font: 900 30px/1 var(--f-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hud__num.is-tick { animation: tick 0.45s var(--ease); }
@keyframes tick {
  0% { transform: translateY(70%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.hud__total {
  color: var(--muted);
  font: 500 14px/1 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.chip {
  padding: 7px 11px 6px;
  border: 1px solid rgba(224, 86, 74, 0.45);
  border-radius: 999px;
  background: rgba(224, 86, 74, 0.12);
  color: #ffd9d3;
  font: 700 14px/1 var(--f-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress {
  display: flex;
  gap: 3px;
  margin-top: 12px;
}
.progress i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 236, 228, 0.14);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.progress i.is-gap { margin-left: 5px; }
.progress i.is-done { background: var(--red); }
.progress i.is-now {
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform: scaleY(1.5);
}

.stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 16px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.stage.is-leaving {
  opacity: 0;
  transform: translate3d(-22px, 0, 0);
}
.stage.is-entering .question { animation: rise 0.5s var(--ease) 0.06s both; }
.stage.is-entering .opt { animation: rise 0.5s var(--ease) both; animation-delay: calc(0.12s + var(--i) * 0.06s); }

/* телевизор со стены постера */
.tv {
  position: relative;
  flex: none;
  padding: 9px;
  border-radius: 26px;
  background: linear-gradient(150deg, #33201c 0%, #150c0a 45%, #0c0706 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 236, 228, 0.14),
    0 26px 60px -26px rgba(224, 86, 74, 0.75);
}
.tv__screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 33dvh;
  border-radius: 19px / 22px;
  background: #050302;
  isolation: isolate;
}
.tv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.stage.is-entering .tv__img { animation: tv-on 0.55s var(--ease) both; }
@keyframes tv-on {
  0% { transform: scale(1.4, 0.02); filter: brightness(6) saturate(0); }
  45% { transform: scale(1.04, 1.04); filter: brightness(2.2) saturate(0.4); }
  100% { transform: none; filter: none; }
}
.tv__static {
  position: absolute;
  inset: -50%;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .85 0 0 0 0 .8 0 0 0 1.6 -.35'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage.is-entering .tv__static { animation: static 0.5s steps(5) both; }
@keyframes static {
  0% { opacity: 0.95; transform: translate(0, 0); }
  25% { transform: translate(-9%, 6%); }
  50% { opacity: 0.6; transform: translate(7%, -8%); }
  75% { transform: translate(-4%, -3%); }
  100% { opacity: 0; transform: translate(5%, 9%); }
}
.tv__scan {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(to top, rgba(8, 3, 2, 0.85) 0%, transparent 34%);
}
.tv__scan::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(255, 236, 228, 0.07), transparent);
  animation: roll 5.5s linear infinite;
}
@keyframes roll {
  from { transform: translateY(-120%); }
  to { transform: translateY(560%); }
}
.tv__ch,
.tv__cap {
  position: absolute;
  z-index: 2;
  font-family: var(--f-body);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(242, 116, 101, 0.95), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.tv__ch {
  top: 11px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.tv__ch::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 10px var(--red-hot);
  animation: blink 1.4s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }
.tv__cap {
  left: 14px;
  right: 14px;
  bottom: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.question {
  margin: auto 0;
  padding: 20px 2px 18px;
  font: 700 clamp(22px, 6.5vw, 27px) / 1.14 var(--f-body);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.question.is-long { font-size: clamp(19px, 5.5vw, 23px); }
/* самый тесный случай: длинный вопрос на маленьком телефоне */
.stage.is-tight .question { padding: 10px 2px 8px; font-size: 19px; }
.stage.is-tight .options { gap: 6px; }
.stage.is-tight .opt { min-height: 48px; font-size: 18px; }
.stage.is-tight .opt__key { width: 34px; height: 34px; }
.stage.is-tight .tv__cap { font-size: 14px; bottom: 7px; }
.stage.is-tight .tv__ch { top: 7px; font-size: 13px; }

.options { display: grid; gap: 10px; flex: none; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 9px 16px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 236, 228, 0.085), rgba(255, 236, 228, 0.035));
  font: 600 20px/1.12 var(--f-body);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s var(--ease), opacity 0.3s, background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.opt__key {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 86, 74, 0.55);
  border-radius: 14px;
  color: var(--red-hot);
  font: 700 15px/1 var(--f-display);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.opt__text { flex: 1; overflow-wrap: anywhere; }
.opt:active { transform: scale(0.975); }
@media (hover: hover) {
  .opt:hover { border-color: rgba(224, 86, 74, 0.6); }
}
.options.is-locked .opt { pointer-events: none; }
.options.is-locked .opt:not(.is-picked) { opacity: 0.28; transform: scale(0.985); }
.opt.is-picked {
  border-color: transparent;
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: var(--red-ink);
  box-shadow: 0 16px 40px -14px rgba(224, 86, 74, 0.95);
  animation: picked 0.42s var(--ease);
}
.opt.is-picked .opt__key {
  border-color: transparent;
  background: var(--red-ink);
  color: #fff;
}
@keyframes picked {
  0% { transform: scale(0.96); }
  55% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

/* ---------- подсчёт ---------- */
.calc {
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  text-align: center;
}
.calc > * { animation: rise 0.6s var(--ease) both; }
.ball {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  margin-bottom: 34px;
}
.ball::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 17%),
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.8) 100%),
    repeating-linear-gradient(0deg, rgba(10, 5, 4, 0.6) 0 1.5px, transparent 1.5px 11px),
    repeating-linear-gradient(90deg, rgba(10, 5, 4, 0.6) 0 1.5px, transparent 1.5px 11px),
    linear-gradient(120deg, #efe6e2 0%, #b9aaa5 28%, #e0564a 58%, #40130f 100%);
  box-shadow: 0 0 70px rgba(224, 86, 74, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.6);
  animation: ball-spin 0.9s linear infinite;
}
.ball::before {
  content: '';
  position: absolute;
  inset: -70%;
  background: repeating-conic-gradient(from 0deg, rgba(242, 116, 101, 0.2) 0 5deg, transparent 5deg 24deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  animation: rays 9s linear infinite;
}
@keyframes ball-spin {
  to { background-position: 0 0, 0 0, 0 0, 44px 0, 0 0; }
}
@keyframes rays { to { transform: rotate(360deg); } }
.calc__title {
  font: 800 22px/1.1 var(--f-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.calc__line {
  min-height: 1.3em;
  margin-top: 12px;
  color: var(--muted);
  font: 600 19px/1.25 var(--f-body);
  letter-spacing: 0.04em;
}

/* ---------- результат ---------- */
.hero--result { height: min(50dvh, 112vw); }
.hero--result .hero__img { object-position: 50% 45%; }
.result__body { margin-top: -9dvh; }
.eyebrow {
  color: var(--red-label);
  font: 800 16px/1 var(--f-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.score__num {
  font: 900 clamp(84px, 27vw, 128px) / 0.92 var(--f-display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 42px rgba(224, 86, 74, 0.75);
}
.score__of {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font: 600 24px/1 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.score__of small {
  font: 700 15px/1 var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier {
  margin-top: 18px;
  color: var(--red-hot);
  font: 800 clamp(22px, 6.6vw, 29px) / 1.05 var(--f-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.tier__text {
  margin-top: 10px;
  font: 500 21px/1.22 var(--f-body);
  text-wrap: pretty;
}
.facts--result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.confetti {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- маленькие экраны ---------- */
@media (max-height: 760px) {
  .tv__screen { max-height: 27dvh; }
  .stage { margin-top: 12px; }
  .options { gap: 8px; }
  .opt { min-height: 56px; }
  .opt__key { width: 38px; height: 38px; border-radius: 12px; }
  .question { padding: 14px 2px 12px; }
}

@media (max-height: 600px) {
  .tv__screen { max-height: 23dvh; }
  .opt { min-height: 50px; font-size: 19px; }
  .opt__key { width: 34px; height: 34px; }
  .question { padding: 10px 2px; font-size: clamp(20px, 5.8vw, 24px); }
  .hud__num { font-size: 26px; }
  .hero { height: 46dvh; }
  .start.has-name .hero { height: 36dvh; }
  .hero--result { height: 40dvh; }
  .result__body { margin-top: -7dvh; }
  .score__num { font-size: 76px; }
  .tier { margin-top: 12px; }
  .tier__text { font-size: 19px; }
  .facts--result { margin-top: 14px; padding-top: 12px; }
  .facts { margin-top: 14px; }
  .start__body .facts { margin-bottom: 18px; }
  .cta { min-height: 58px; }
}

@media (min-width: 520px) {
  .app { box-shadow: 0 0 120px rgba(0, 0, 0, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sparkle { opacity: 0.8; }
}
