:root {
  --ink: #111923;
  --navy: #071522;
  --navy-soft: #0d2235;
  --cream: #f8f5ed;
  --white: #ffffff;
  --gold: #d8a34a;
  --gold-light: #f1cf8d;
  --orange: #ef4b1b;
  --blue: #3979c6;
  --green: #1c8a68;
  --red: #b95050;
  --muted: #68717c;
  --line: rgba(255, 255, 255, 0.24);
  --shadow: 0 28px 80px rgba(2, 10, 18, 0.32);
  --radius-lg: 32px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Базовые правила и доступность */
* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--navy);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Оригинальный абстрактный фон для всех этапов викторины */
.page-backdrop,
.page-backdrop::before,
.page-backdrop::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-backdrop {
  z-index: -2;
  overflow: hidden;
  background-color: var(--navy);
}

.page-backdrop::before {
  content: "";
  background-image: var(--scene-image);
  background-position: var(--scene-position, center);
  background-size: cover;
  transform: scale(1.015);
  transition: opacity 600ms var(--ease), filter 600ms var(--ease), transform 900ms var(--ease);
}

.page-backdrop::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 14, 24, 0.2), rgba(4, 14, 24, 0.02) 55%, rgba(4, 14, 24, 0.15)),
    radial-gradient(circle at 70% 25%, rgba(255, 209, 126, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(2, 12, 22, 0.12), rgba(2, 12, 22, 0.36));
  transition: background 500ms ease;
}

body[data-scene] {
  --scene-image: url("../img/elkam-abstract-bg-v2.webp");
  --scene-position: center center;
}

body[data-scene] .page-backdrop::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(5, 20, 34, 0.03), rgba(3, 13, 23, 0.34) 74%),
    linear-gradient(180deg, rgba(2, 10, 18, 0.08), rgba(2, 10, 18, 0.44));
}

/* Общий каркас, шапка и подвал */
.site-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 72px) 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  text-decoration: none;
  border-radius: 18px;
}

.brand-panel {
  display: flex;
  align-items: center;
  width: clamp(170px, 18vw, 250px);
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(5, 15, 24, 0.15);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.quiz-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: var(--white);
  background: rgba(5, 18, 30, 0.58);
  box-shadow: 0 12px 34px rgba(2, 9, 16, 0.2);
  backdrop-filter: blur(18px);
}

.status-item {
  display: grid;
  gap: 1px;
  min-width: 58px;
}

.status-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-item strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.status-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.main-content {
  position: relative;
  min-height: 0;
  display: grid;
}

.screen {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(20px);
}

.screen.is-active {
  opacity: 1;
  transform: translateY(0);
  animation: screen-in 620ms var(--ease) both;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(22px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.08);
}

/* Стартовый экран и форма согласия */
.screen-start {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  align-items: center;
  gap: 48px;
}

.start-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 246, 240, 0.8));
}

.start-card::before,
.question-card::before,
.result-card::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(216, 163, 74, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(216, 163, 74, 0.045), 0 0 0 84px rgba(216, 163, 74, 0.025);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.start-card h1 {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(43px, 5.5vw, 74px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.start-card h1 span {
  color: var(--gold);
  font-weight: 620;
}

.lead {
  max-width: 550px;
  margin: 24px 0 0;
  color: #4f5965;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
}

.quiz-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.quiz-facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(17, 25, 35, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.quiz-facts strong {
  color: var(--ink);
  font-size: 15px;
}

.start-form {
  display: grid;
  gap: 17px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(17, 25, 35, 0.16);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field-group input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(216, 163, 74, 0.16);
}

.field-group input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(185, 80, 80, 0.1);
}

.field-hint,
.field-error {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.field-error {
  min-height: 0;
  color: var(--red);
  font-weight: 650;
}

.consent-control {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 11px;
  cursor: pointer;
  color: #555f6b;
  font-size: 13px;
  line-height: 1.45;
}

.consent-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.checkbox-mark {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid rgba(17, 25, 35, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
  transition: all 180ms ease;
}

.checkbox-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: all 180ms ease;
}

.consent-control input:checked + .checkbox-mark {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 5px 14px rgba(216, 163, 74, 0.28);
}

.consent-control input:checked + .checkbox-mark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.consent-control input:focus-visible + .checkbox-mark {
  box-shadow: 0 0 0 4px rgba(216, 163, 74, 0.18);
}

.consent-control a {
  color: #ad7926;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent-error {
  margin-top: -12px;
  padding-left: 33px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Единая система кнопок */
.button {
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(241, 207, 141, 0.8);
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #d49a38, #edb858);
  box-shadow: 0 15px 34px rgba(173, 116, 28, 0.28);
}

.button-primary:hover:not(:disabled) {
  box-shadow: 0 18px 42px rgba(173, 116, 28, 0.4);
}

.button-wide {
  width: 100%;
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(17, 25, 35, 0.13);
  background: rgba(255, 255, 255, 0.78);
}

.button-vk {
  color: var(--white);
  background: #2787f5;
  box-shadow: 0 14px 34px rgba(39, 135, 245, 0.23);
}

.button-max {
  color: var(--white);
  background: linear-gradient(135deg, #4b5cff, #7138e8);
  box-shadow: 0 14px 34px rgba(74, 71, 234, 0.22);
}

.social-monogram,
.max-mark {
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.form-message {
  min-height: 20px;
  margin: -5px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 650;
}

.start-caption {
  align-self: end;
  justify-self: end;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(5, 16, 26, 0.5);
}

.caption-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

/* Экран вопроса и варианты ответов */
.screen-quiz {
  min-height: 640px;
  display: grid;
  align-items: center;
}

.quiz-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(240px, 330px);
  align-items: end;
  gap: clamp(20px, 3vw, 42px);
}

.question-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 50px);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, rgba(9, 27, 43, 0.9), rgba(7, 20, 33, 0.74));
}

.question-card::before {
  border-color: rgba(241, 207, 141, 0.16);
  box-shadow: 0 0 0 38px rgba(216, 163, 74, 0.025), 0 0 0 84px rgba(216, 163, 74, 0.014);
}

.question-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.question-topline .eyebrow {
  margin: 0;
}

.mini-progress {
  width: min(230px, 38%);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.mini-progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 14px rgba(241, 207, 141, 0.65);
  transition: width 480ms var(--ease);
}

#question-form,
#answers-fieldset {
  min-width: 0;
}

#answers-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.question-title {
  width: 100%;
  max-width: 780px;
  margin: 22px 0 28px;
  padding: 0;
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.answers-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.answer-option {
  position: relative;
  min-width: 0;
}

.answer-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-option label {
  min-height: 74px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.075);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.answer-option label:hover {
  border-color: rgba(241, 207, 141, 0.44);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}

.answer-letter {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 850;
  transition: all 180ms ease;
}

.answer-text {
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 590;
  line-height: 1.4;
}

.answer-option input:checked + label {
  border-color: rgba(241, 207, 141, 0.74);
  background: linear-gradient(135deg, rgba(216, 163, 74, 0.22), rgba(255, 255, 255, 0.11));
  box-shadow: 0 10px 30px rgba(2, 8, 14, 0.22), inset 0 0 0 1px rgba(241, 207, 141, 0.08);
}

.answer-option input:checked + label .answer-letter {
  color: var(--navy);
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.answer-option input:focus-visible + label {
  outline: 3px solid rgba(241, 207, 141, 0.7);
  outline-offset: 3px;
}

.question-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.selection-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 13px;
}

.question-actions .button {
  min-width: 210px;
}

#quiz-message {
  margin-top: 12px;
  color: #ffd1d1;
}

.quiz-note {
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: grid;
  gap: 24px;
  color: var(--white);
  background: rgba(7, 20, 32, 0.54);
}

.note-number {
  color: rgba(241, 207, 141, 0.86);
  font-family: Georgia, serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.9;
}

.quiz-note strong {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quiz-note p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

/* Экран результата и социальные действия */
.screen-result {
  min-height: 650px;
  display: grid;
  place-items: center;
}

.result-card {
  position: relative;
  width: min(100%, 770px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 50px);
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 245, 239, 0.82));
}

.result-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border: 1px solid rgba(216, 163, 74, 0.3);
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(188, 133, 42, 0.17);
}

.result-mark svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-card .eyebrow {
  margin-bottom: 8px;
}

.result-card h2 {
  margin: 0;
  font-size: clamp(35px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.result-name {
  margin: 10px 0 26px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  min-width: 0;
  padding: 17px 13px;
  border: 1px solid rgba(17, 25, 35, 0.1);
  border-radius: 18px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.61);
}

.stat-label,
.stat-unit {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat strong {
  margin: 2px 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 43px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-correct strong { color: var(--green); }
.stat-incorrect strong { color: var(--red); }
.stat-time strong { color: #ad7926; }

.delivery-status {
  min-height: 21px;
  margin: 17px 0 0;
  color: #52705f;
  font-size: 13px;
  font-weight: 650;
}

.delivery-status.is-error {
  color: var(--red);
}

.retry-button {
  min-height: 40px;
  margin-top: 10px;
  padding-inline: 15px;
  font-size: 13px;
}

.result-actions {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.subscribe-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-shadow: 0 2px 10px rgba(3, 12, 20, 0.55);
}

.site-footer a {
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  max-width: min(92vw, 520px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: var(--white);
  background: rgba(6, 20, 32, 0.92);
  box-shadow: 0 18px 44px rgba(2, 9, 16, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Страница, которую ВКонтакте использует как карточку результата */
.share-page .site-shell {
  width: min(100%, 980px);
}

.share-page .site-header {
  justify-content: center;
}

.shared-result-main {
  display: grid;
  place-items: center;
}

.shared-result-card {
  width: min(100%, 720px);
}

.shared-result-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.shared-result-text {
  max-width: 590px;
  margin: 22px auto 28px;
  color: #4f5965;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
}

.shared-result-links {
  display: grid;
  gap: 11px;
}

/* Адаптация для планшетов, телефонов и невысоких экранов */
@media (max-width: 1050px) {
  .screen-start {
    grid-template-columns: minmax(0, 640px) 1fr;
  }

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

  .quiz-note {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 16px 14px 14px;
    gap: 14px;
  }

  .brand-panel {
    width: 150px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 13px;
  }

  .quiz-status {
    gap: 11px;
    padding: 8px 11px;
    border-radius: 14px;
  }

  .status-item {
    min-width: 45px;
  }

  .status-item strong {
    font-size: 15px;
  }

  .status-label {
    font-size: 9px;
  }

  .status-divider {
    height: 27px;
  }

  .screen-start,
  .screen-quiz,
  .screen-result {
    min-height: 0;
    align-items: center;
  }

  .screen-start {
    grid-template-columns: 1fr;
  }

  .start-card,
  .question-card,
  .result-card {
    padding: 24px 19px;
    border-radius: 24px;
  }

  .start-card h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .quiz-facts {
    margin: 20px 0;
  }

  .start-caption {
    display: none;
  }

  .question-topline {
    align-items: flex-start;
    gap: 14px;
  }

  .mini-progress {
    width: 90px;
    margin-top: 8px;
  }

  .question-title {
    margin: 16px 0 20px;
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .answers-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .answer-option label {
    min-height: 62px;
    padding: 12px 13px;
  }

  .question-actions {
    margin-top: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .selection-hint {
    text-align: center;
  }

  .question-actions .button {
    width: 100%;
  }

  .result-stats {
    gap: 7px;
  }

  .stat {
    padding: 13px 7px;
    border-radius: 14px;
  }

  .stat-label,
  .stat-unit {
    font-size: 8px;
  }

  .subscribe-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-inline: 4px;
  }

  body[data-scene] {
    --scene-position: center center;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .site-shell {
    padding-top: 16px;
  }

  .brand-panel {
    width: 190px;
    min-height: 48px;
    padding-block: 7px;
  }

  .screen-start,
  .screen-quiz,
  .screen-result {
    min-height: 580px;
  }

  .start-card,
  .question-card,
  .result-card {
    padding-block: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .start-card,
  .result-card {
    background: rgba(252, 250, 245, 0.97);
  }

  .question-card,
  .quiz-status,
  .quiz-note {
    background: rgba(7, 20, 33, 0.96);
  }
}
