:root {
  color-scheme: dark;
  --ink: #0e1b4d;
  --deep: #091337;
  --white: #f8f6ee;
  --paper: #f4f0e6;
  --muted: #9da8cf;
  --yellow: #ffd84d;
  --mint: #8ce8c7;
  --coral: #ff8879;
  --blue: #8fa6ff;
  --line: rgba(255,255,255,.14);
  --shadow: 0 28px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html { min-height: 100%; overflow-x: clip; overflow-y: scroll; scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 14%, rgba(91,124,255,.28), transparent 26%),
    radial-gradient(circle at 8% 72%, rgba(255,136,121,.15), transparent 24%),
    linear-gradient(145deg, var(--ink), var(--deep));
  font-family: "Manrope", sans-serif;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
a.primary, a.secondary { display: inline-block; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.quiz-video-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.quiz-video-backdrop[hidden], .quiz-cinematic[hidden] { display: none; }
.quiz-video-backdrop video { width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(1.12) contrast(1.06); }
.quiz-video-backdrop > div { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(7,15,44,.62), rgba(7,15,44,.76)); }

.quiz-cinematic {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050a1d;
}
.quiz-cinematic video { width: 100%; height: 100%; object-fit: cover; }
.quiz-cinematic-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,29,.04), rgba(5,10,29,.36)); pointer-events: none; }
.quiz-cinematic-brand { position: absolute; left: clamp(20px, 5vw, 72px); bottom: clamp(24px, 6vw, 70px); display: flex; align-items: center; gap: 13px; text-shadow: 0 4px 22px rgba(0,0,0,.55); }
.quiz-cinematic-brand span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--ink); background: var(--yellow); font-family: "Unbounded", sans-serif; font-weight: 700; letter-spacing: -.08em; box-shadow: 0 10px 32px rgba(0,0,0,.28); }
.quiz-cinematic-brand strong { font-size: clamp(18px, 2.5vw, 30px); letter-spacing: .09em; }
.quiz-cinematic-skip { position: absolute; top: clamp(18px, 4vw, 42px); right: clamp(18px, 4vw, 42px); padding: 11px 16px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: white; background: rgba(5,10,29,.54); backdrop-filter: blur(12px); cursor: pointer; font-weight: 800; }
.quiz-cinematic-skip:hover { background: rgba(5,10,29,.78); }
.quiz-cinematic-skip:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.player-audio-toggle { align-self: center; margin: 0 auto 18px; }

@media (prefers-reduced-motion: reduce) {
  .quiz-video-backdrop, .quiz-cinematic { display: none !important; }
}

.topbar, footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { min-height: 86px; gap: 28px; }
.topbar nav { display: flex; gap: 8px; margin-left: auto; }

.account-link { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--white); background: rgba(255,255,255,.07); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; white-space: nowrap; }
.account-link:hover { color: var(--ink); background: var(--mint); border-color: transparent; }
.account-link:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.account-link-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 16px; line-height: 1; }

.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
.language-switch button { min-width: 38px; padding: 7px 9px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.language-switch button.active { color: var(--ink); background: var(--yellow); }
.language-switch button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.brand, .nav-link, .back-link {
  border: 0;
  cursor: pointer;
  background: transparent;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 12px; font-family: "Unbounded", sans-serif; letter-spacing: -.08em; }
.nav-link { padding: 10px 12px; color: #ccd3ee; font-weight: 700; }
.nav-link:hover, .back-link:hover { color: var(--yellow); }

.prototype-pill { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #b8c1e1; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.prototype-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }

main { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 170px); margin: 0 auto; padding: 28px 0 84px; }
main > *, .hero > *, .detail-layout > *, .room-shell > *, .checkout-grid > *, .account-grid > * { min-width: 0; }
main:focus { outline: none; }
footer { min-height: 78px; color: #7f8ab8; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer-links { display: flex; gap: 4px; }
.footer-links button { padding: 7px 9px; border: 0; color: #aeb7d8; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.footer-links button:hover { color: var(--yellow); }
.seo-footer-links { display: flex; gap: 10px; }
.seo-footer-links a { color: #aeb7d8; font-size: 12px; font-weight: 700; text-decoration: none; }
.seo-footer-links a:hover { color: var(--yellow); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Unbounded", sans-serif; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; hyphens: none; }
h1 { max-width: 760px; margin: 18px 0 24px; font-size: clamp(48px, 7vw, 92px); line-height: .98; }
h1 em { color: var(--yellow); font-style: normal; }
html[lang="ru"] h1 { font-size: clamp(40px, 4.8vw, 64px); }
html[lang="es"] h1 { font-size: clamp(40px, 5.4vw, 72px); }
h2 { line-height: 1.08; }

.eyebrow { color: var(--yellow); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.lead { max-width: 650px; color: #c2cae9; font-size: 19px; line-height: 1.65; }
.centered { margin-left: auto; margin-right: auto; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.share-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.share-strip > span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.share-strip > div { display: flex; gap: 8px; flex-wrap: wrap; }
.share-button { min-height: 38px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--white); background: rgba(255,255,255,.07); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; transition: transform .18s ease, filter .18s ease, background .18s ease; }
.share-button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.share-button.telegram { border-color: rgba(100,181,246,.45); background: rgba(42,171,238,.16); }
.share-button.whatsapp { border-color: rgba(37,211,102,.45); background: rgba(37,211,102,.14); }
.share-button.native { border-color: rgba(255,216,77,.45); background: rgba(255,216,77,.12); }
.share-button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.primary, .secondary, .dark-button, .answer {
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}

.primary, .secondary, .dark-button { padding: 15px 20px; }
.primary { color: var(--ink); background: var(--yellow); box-shadow: 0 12px 30px rgba(255,216,77,.18); }
.secondary { color: var(--white); background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.join-room-cta { color: var(--ink); background: var(--mint); border-color: transparent; box-shadow: 0 12px 30px rgba(140,232,199,.16); }
.dark-button { color: var(--white); background: var(--ink); }
.primary:hover, .secondary:hover, .dark-button:hover, .answer:hover { transform: translateY(-2px); filter: brightness(1.06); }
.primary:focus-visible, .secondary:focus-visible, .dark-button:focus-visible, .answer:focus-visible, .brand:focus-visible, .nav-link:focus-visible, .back-link:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
button:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .45; transform: none !important; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; min-height: 590px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.proof-row span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cbd3ed; font-size: 12px; font-weight: 700; }

.stage-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: var(--shadow); transform: rotate(2deg); }
.stage-card::before { content: ""; position: absolute; z-index: -1; width: 130px; height: 130px; right: -34px; top: -42px; background: var(--coral); border-radius: 42% 58% 62% 38%; transform: rotate(20deg); }
.mini-screen { min-height: 390px; padding: 28px; border-radius: 22px; color: var(--ink); background: var(--paper); }
.mini-kicker { color: #6270a1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.mini-question { margin: 28px 0; font-family: "Unbounded", sans-serif; font-size: 25px; line-height: 1.3; }
.mini-options { display: grid; gap: 10px; }
.mini-options span { padding: 13px 15px; border-radius: 12px; background: white; box-shadow: 0 5px 12px rgba(14,27,77,.08); font-weight: 700; }
.mini-options span:nth-child(2) { background: var(--yellow); }
.floating-score { position: absolute; right: -28px; bottom: 35px; padding: 15px 18px; border-radius: 16px; color: var(--ink); background: var(--mint); box-shadow: var(--shadow); font-weight: 800; transform: rotate(-6deg); }

.section-block { padding: 88px 0 24px; }
.seo-page { max-width: 980px; margin: 0 auto; }
.seo-page .hero { min-height: 520px; }
.seo-page h1 { max-width: 900px; font-size: clamp(42px, 6vw, 76px); }
.seo-page h2 { margin: 12px 0 20px; font-size: clamp(30px, 4.5vw, 52px); }
.seo-copy { max-width: 780px; color: #c2cae9; font-size: 18px; line-height: 1.75; }
.seo-list, .seo-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.seo-list article, .seo-faq article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.055); }
.seo-list h3, .seo-faq h3 { margin-bottom: 9px; }
.seo-list p, .seo-faq p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.seo-list article { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.seo-list article:has(a):hover { transform: translateY(-3px); border-color: rgba(255,216,77,.55); background: rgba(255,255,255,.085); }
.seo-list article > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.seo-list article > a span { display: inline-block; margin-top: 18px; color: var(--yellow); font-size: 13px; font-weight: 800; }
.seo-list article > a:focus-visible { outline: 3px solid var(--mint); outline-offset: 8px; border-radius: 10px; }
.seo-language-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; }
.seo-language-nav a { color: #cbd3ed; font-weight: 800; text-decoration: none; }
.seo-language-nav a:hover { color: var(--yellow); }
.section-heading { max-width: 790px; margin-bottom: 34px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(34px, 5vw, 62px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-grid article { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.055); }
.steps-grid b { color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 23px; }
.steps-grid h3 { margin: 58px 0 10px; font-size: 22px; }
.steps-grid p, .audience-grid p { color: var(--muted); line-height: 1.6; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; padding-top: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumbs a { color: #cbd3ed; text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }
.quiz-seo-page { max-width: 980px; }
.quiz-hero { padding: 96px 0 42px; }
.quiz-hero h1 { max-width: 960px; margin: 18px 0 24px; font-size: clamp(42px, 6vw, 76px); }
.quiz-rounds article { min-height: 220px; }
.quiz-rounds article p { margin-bottom: 0; }
.quiz-audience { padding: 48px clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(143,166,255,.17), rgba(255,136,121,.1)); }
.related-quiz { display: flex; justify-content: space-between; gap: 18px; margin-top: 72px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.055); }
.related-quiz span { color: var(--muted); }
.related-quiz a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audience-grid article { display: flex; gap: 20px; padding: 28px; border-radius: 25px; color: var(--ink); background: var(--paper); }
.audience-grid article:nth-child(2) { background: var(--mint); }
.audience-grid h3 { margin: 3px 0 7px; font-size: 23px; }
.audience-grid p { margin-bottom: 0; color: #4f587c; }
.audience-icon { flex: 0 0 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: white; font-size: 25px; font-weight: 800; }

.screen-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.screen-head h2 { margin: 8px 0 0; font-size: clamp(38px, 5.5vw, 68px); }
.screen-note { max-width: 500px; color: var(--muted); line-height: 1.6; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 22px; }
.catalog-filters button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #cbd3ed; background: rgba(255,255,255,.05); cursor: pointer; font-weight: 800; }
.catalog-filters button.active { color: var(--ink); background: var(--yellow); border-color: transparent; }
.catalog-filters button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.catalog-tools { display: flex; justify-content: flex-end; margin: -62px 0 22px; }
.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pack { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.06); }
.pack.visual-pack { position: relative; overflow: hidden; min-height: 470px; }
.pack-cover { width: calc(100% + 56px); height: 220px; margin: -28px -28px 24px; object-fit: cover; border-bottom: 1px solid var(--line); }
.pack.featured { grid-column: 1 / -1; min-height: 330px; color: var(--ink); background: var(--yellow); }
.pack-top, .pack-bottom, .pack-facts { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pack-tag { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.featured .pack-tag { background: rgba(14,27,77,.1); }
.availability { color: var(--muted); font-size: 12px; font-weight: 700; }
.featured .availability { color: #46517d; }
.pack h3 { max-width: 620px; margin: 26px 0 12px; font-family: "Unbounded", sans-serif; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.15; }
.pack p { max-width: 680px; color: var(--muted); line-height: 1.6; }
.featured p { color: #3c4772; }
.pack-facts { justify-content: flex-start; margin: 26px 0 20px; }
.pack-facts span { padding-right: 18px; border-right: 1px solid currentColor; font-size: 12px; opacity: .78; }
.pack-facts span:last-child { border-right: 0; }
.pack-facts b { font-size: 18px; }
.pack-bottom { padding-top: 18px; border-top: 1px solid currentColor; font-weight: 800; }
.catalog-note { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); line-height: 1.5; }
.catalog-note strong { color: var(--yellow); }
.bundle-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 18px; padding: 28px; border-radius: 28px; color: var(--ink); background: var(--mint); }
.bundle-card h3 { margin: 8px 0 10px; font-family: "Unbounded", sans-serif; font-size: clamp(30px, 4vw, 48px); }
.bundle-card p { max-width: 620px; margin-bottom: 0; color: #435075; line-height: 1.6; }
.bundle-card .eyebrow { color: #435075; }
.library-card { color: var(--white); background: linear-gradient(125deg, rgba(143,166,255,.9), rgba(255,136,121,.88)); }
.library-card p, .library-card .eyebrow, .library-card .bundle-offer small { color: #17265a; }
.bundle-offer { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.bundle-offer span, .bundle-offer strong, .bundle-offer small { display: block; }
.bundle-offer strong { font-family: "Unbounded", sans-serif; font-size: 18px; }
.bundle-offer small { margin-top: 5px; color: #435075; font-weight: 800; }

.compare-page { max-width: 1040px; margin: 20px auto; }
.compare-page > h2, .setup-copy h2 { max-width: 880px; margin: 14px 0 22px; font-size: clamp(40px, 6vw, 72px); }
.comparison-table { display: grid; gap: 10px; margin-top: 40px; }
.comparison-table article { display: grid; grid-template-columns: 1.1fr .35fr 1fr .85fr; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.06); }
.comparison-table article:nth-child(3), .comparison-table article:nth-child(5) { color: var(--ink); background: var(--mint); }
.comparison-table span { color: var(--yellow); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.comparison-table article:nth-child(3) span, .comparison-table article:nth-child(5) span { color: #435075; }
.comparison-table h3, .comparison-table p { margin: 5px 0 0; }
.comparison-table strong { font-family: "Unbounded", sans-serif; font-size: 18px; }
.comparison-table p, .comparison-table small { color: var(--muted); line-height: 1.45; }
.comparison-table article:nth-child(3) p, .comparison-table article:nth-child(3) small, .comparison-table article:nth-child(5) p, .comparison-table article:nth-child(5) small { color: #435075; }
.faq-head { margin-top: 76px; }
.faq-head h2 { margin: 10px 0 28px; font-size: clamp(34px, 5vw, 58px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.05); }
.faq-grid h3 { margin-bottom: 10px; }
.faq-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.detail-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; min-height: 650px; }
.detail-copy h2 { margin: 16px 0 22px; font-size: clamp(44px, 6vw, 78px); }
.back-link { display: block; margin-bottom: 46px; padding: 0; color: var(--muted); font-weight: 800; }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.detail-meta span { padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; }
.prototype-copy { max-width: 620px; margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.round-stack { display: grid; gap: 12px; }
.round-stack article { padding: 24px; border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.round-stack article:nth-child(2) { margin-left: 24px; background: var(--blue); }
.round-stack article:nth-child(3) { margin-left: 48px; background: var(--coral); }
.round-stack span { color: #58628c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.round-stack h3 { margin: 8px 0; font-family: "Unbounded", sans-serif; font-size: 25px; }
.round-stack p { margin-bottom: 0; color: #3f496f; line-height: 1.5; }

.setup-page { max-width: 1080px; margin: 20px auto; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.setup-grid article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.06); }
.setup-grid .host-identity-card { grid-column: 1 / -1; min-height: 0; border-color: rgba(255,216,77,.44); background: linear-gradient(135deg, rgba(255,216,77,.12), rgba(255,255,255,.055)); }
.setup-grid h3 { margin: 16px 0 10px; font-size: 24px; }
.setup-grid p { color: var(--muted); line-height: 1.55; }
.host-identity-card label { display: grid; gap: 8px; max-width: 520px; margin-top: 20px; color: #cbd3ed; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.host-name-input { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; border: 2px solid rgba(255,216,77,.72); border-radius: 16px; background: rgba(7,15,44,.48); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.host-name-input > span { display: grid; place-items: center; color: var(--ink); font-size: 18px; }
.host-name-input > span:first-child { width: 34px; height: 34px; margin-left: 6px; border-radius: 11px; background: var(--yellow); }
.host-identity-card input { min-width: 0; width: 100%; padding: 16px 16px 16px 8px; border: 0; color: var(--white); background: transparent; font: inherit; font-size: 18px; font-weight: 800; outline: none; }
.host-identity-card input::placeholder { color: #9da8cf; font-weight: 600; }
.host-identity-card label small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.host-name-input:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(140,232,199,.18); }
.host-identity-card input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(140,232,199,.2); }
.host-identity-card .host-participation { margin-top: 18px; }
.setup-grid .setup-summary { grid-column: 1 / -1; min-height: 0; color: var(--ink); background: var(--mint); }
.setting-number { color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 18px; }
.setup-summary .setting-number { color: #435075; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.segmented button { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--white); background: rgba(255,255,255,.06); cursor: pointer; font-weight: 800; }
.segmented button.active { color: var(--ink); background: var(--yellow); border-color: transparent; }
.segmented button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.setup-summary dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.setup-summary dl div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.5); }
.setup-summary dt { color: #566188; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.setup-summary dd { margin: 6px 0 0; font-weight: 800; }

.room-shell { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.room-code, .panel, .question-card, .result-card { border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.065); box-shadow: var(--shadow); }
.room-code { min-height: 550px; display: grid; place-items: center; align-content: center; padding: 30px; text-align: center; }
.code { margin: 12px 0; color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: clamp(48px, 7vw, 80px); letter-spacing: .05em; }
.room-code p, .room-code small { color: var(--muted); }
.qr-shell { width: min(230px, 70vw); margin: 24px auto; padding: 10px; border-radius: 20px; background: white; box-shadow: 0 18px 44px rgba(0,0,0,.24); }
.room-qr { display: block; width: 100%; height: auto; }
.panel { padding: clamp(28px, 4vw, 46px); }
.panel h2 { margin: 12px 0; font-size: clamp(36px, 5vw, 58px); }
.player-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.player-chip { display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 14px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 700; }
.player-chip > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-chip { border: 1px solid rgba(255,216,77,.5); background: rgba(255,216,77,.12); }
.host-chip .avatar { background: var(--yellow); }
.host-chip small { margin-left: auto; padding: 5px 8px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); font-weight: 800; }
.player-remove { width: 34px; height: 34px; display: grid; place-items: center; margin-left: auto; flex: 0 0 auto; border: 0; border-radius: 10px; color: #ffd1cb; background: rgba(255,136,121,.12); cursor: pointer; font-size: 20px; line-height: 1; }
.player-remove:hover { color: var(--ink); background: var(--coral); }
.player-remove:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.join-lab { margin: 22px 0; padding: 18px; border: 1px solid rgba(140,232,199,.35); border-radius: 18px; background: rgba(140,232,199,.08); }
.join-lab strong { color: var(--mint); }
.join-lab p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.join-lab .actions { margin-top: 14px; }

.join-page { min-height: 660px; display: grid; place-items: center; }
.join-card { width: min(620px, 100%); padding: clamp(28px, 6vw, 58px); border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.065); box-shadow: var(--shadow); }
.join-card h2 { margin: 14px 0 18px; font-size: clamp(42px, 7vw, 72px); }
.join-card label { display: grid; gap: 8px; margin-top: 18px; color: #cbd3ed; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.join-card input { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--white); background: rgba(255,255,255,.08); font: inherit; font-size: 18px; outline: none; }
.join-card input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(140,232,199,.2); }
.join-card .primary { width: 100%; margin-top: 22px; }
.form-error { margin: 14px 0 0; color: var(--coral); font-weight: 800; }
.player-shell { min-height: 650px; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.player-shell h2 { max-width: 900px; margin: 0; font-size: clamp(40px, 7vw, 78px); }
.player-shell .answers { width: min(900px, 100%); }
.pulse-orb { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 28px; color: var(--ink); background: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 28px; box-shadow: 0 0 0 14px rgba(255,216,77,.08); }
.result-badge { padding: 9px 14px; border-radius: 999px; color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.result-badge.good { background: var(--mint); }
.result-badge.bad { background: var(--coral); }

.checkout-page { max-width: 1100px; margin: 20px auto; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.checkout-grid h2 { margin: 14px 0 20px; font-size: clamp(40px, 6vw, 70px); }
.checkout-gates { display: grid; gap: 10px; margin-top: 34px; }
.checkout-gates article { display: flex; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.05); }
.checkout-gates article > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--ink); background: var(--mint); font-weight: 900; }
.checkout-gates h3, .checkout-gates p { margin: 0; }
.checkout-gates p { margin-top: 5px; color: var(--muted); line-height: 1.5; }

.account-page { max-width: 1080px; margin: 22px auto; }
.account-loading { min-height: 520px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; }
.account-loading h2 { margin: 0; font-size: clamp(30px, 5vw, 54px); }
.account-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 7vw, 86px); align-items: center; min-height: 600px; }
.account-hero h2, .account-profile-head h2 { margin: 14px 0 20px; font-size: clamp(36px, 4.5vw, 58px); }
.account-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-benefits { display: grid; gap: 12px; }
.account-benefits article { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.065); }
.account-benefits article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--ink); background: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 13px; font-weight: 800; }
.account-benefits h3, .account-benefits p { margin: 0; }
.account-benefits p { margin-top: 6px; color: var(--muted); line-height: 1.55; }
.account-profile-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(143,166,255,.2), rgba(255,255,255,.055)); }
.account-profile-head h2 { margin: 7px 0 5px; font-size: clamp(30px, 5vw, 58px); }
.account-profile-head p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.account-avatar { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; color: var(--ink); background: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 26px; font-weight: 800; box-shadow: 0 15px 35px rgba(255,216,77,.18); }
.account-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0 34px; }
.account-stats article { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.055); }
.account-stats strong { display: block; margin-bottom: 5px; font-family: "Unbounded", sans-serif; font-size: clamp(26px, 4vw, 42px); }
.account-stats span { color: var(--muted); font-size: 13px; }
.account-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.account-grid > section, .account-purchases { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.05); }
.account-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-section-head h3, .account-purchases h3 { margin: 7px 0 0; font-size: 24px; }
.account-history { display: grid; gap: 9px; margin-top: 22px; }
.account-history article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border-radius: 15px; color: var(--ink); background: var(--paper); }
.account-history strong, .account-history span { display: block; }
.account-history span { margin-top: 3px; color: #63709b; font-size: 12px; }
.account-history b { white-space: nowrap; }
.account-empty { margin-top: 22px; padding: 30px 22px; border: 1px dashed rgba(255,255,255,.22); border-radius: 18px; text-align: center; }
.account-empty p { max-width: 470px; margin: 8px auto 0; color: var(--muted); line-height: 1.6; }
.account-purchases { align-self: start; }
.account-purchases p { color: var(--muted); line-height: 1.6; }
.account-purchases > span { display: inline-flex; padding: 8px 11px; border-radius: 999px; color: var(--ink); background: var(--mint); font-size: 11px; font-weight: 900; }
.order-card { position: sticky; top: 100px; padding: 30px; border-radius: 26px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.order-card > span { color: #59648e; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.order-card h3 { margin: 14px 0 10px; font-family: "Unbounded", sans-serif; font-size: 28px; }
.order-card p { color: #59648e; line-height: 1.55; }
.order-card dl { margin: 26px 0; border-top: 1px solid #d6d8e0; }
.order-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #d6d8e0; }
.order-card dt { color: #59648e; }
.order-card dd { margin: 0; font-weight: 800; }
.order-card .primary { width: 100%; }

.round-intro { min-height: 620px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 45px; align-items: center; }
.round-number { color: rgba(255,255,255,.08); font-family: "Unbounded", sans-serif; font-size: clamp(140px, 23vw, 290px); line-height: .8; }
.round-intro h2 { margin: 14px 0 22px; font-size: clamp(44px, 7vw, 84px); }
.round-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.round-facts span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cbd3ed; font-size: 12px; font-weight: 700; }
.game-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.question-count { margin-top: 7px; color: #cbd3ed; font-size: 14px; font-weight: 700; }
.progress { display: flex; gap: 7px; margin-top: 12px; }
.progress i { display: block; width: 62px; height: 7px; border-radius: 10px; background: rgba(255,255,255,.14); }
.progress i.done { background: var(--mint); }
.progress i.active { background: var(--yellow); }
.score-box { margin-left: auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 14px; text-align: right; }
.score-box span, .score-box strong { display: block; }
.score-box span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.score-box strong { margin-top: 3px; color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 18px; }
.timer { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 19px; font-weight: 800; }
.timer.urgent { background: var(--coral); animation: pulse .8s ease-in-out infinite alternate; }
.timer.paused { color: var(--white); background: var(--blue); animation: none; }
@keyframes pulse { to { transform: scale(1.08); } }
.host-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.host-controls > span { margin-right: auto; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.host-controls .secondary { padding: 9px 12px; border-radius: 11px; font-size: 12px; }
.fixture-note { margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.question-card { padding: clamp(26px, 5vw, 60px); }
.waiting-note { margin: 14px 0 0; color: var(--mint); font-weight: 700; }
.difficulty { display: inline-block; padding: 6px 9px; border-radius: 999px; color: var(--ink); background: var(--mint); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.question-card h2 { max-width: 970px; font-size: clamp(31px, 5vw, 60px); }
.anomaly-grid { display: grid; grid-template-columns: repeat(var(--visual-columns), minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); max-width: 900px; margin: 26px auto; padding: clamp(12px, 2vw, 22px); border: 1px solid var(--line); border-radius: 24px; background: #09163f; }
.anomaly-grid span { min-height: clamp(44px, 6vw, 76px); display: grid; place-items: center; padding: 6px; border-radius: 13px; color: var(--ink); background: var(--paper); font-family: "Unbounded", sans-serif; font-size: clamp(18px, 3vw, 34px); line-height: 1; text-align: center; box-shadow: inset 0 0 0 1px rgba(14,27,77,.08); }
.player-question .anomaly-grid { max-width: 560px; margin: 18px auto; }
.player-question .anomaly-grid span { min-height: 38px; font-size: clamp(14px, 5vw, 24px); }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 38px; }
.answer { min-height: 96px; padding: 18px 20px; text-align: left; color: var(--ink); background: var(--paper); font-size: 18px; }
.answer:nth-child(2) { background: var(--blue); }
.answer:nth-child(3) { background: var(--coral); }
.answer:nth-child(4) { background: var(--mint); }
.answer.selected { outline: 5px solid var(--yellow); outline-offset: 2px; transform: translateY(-2px); }
.result-card { overflow: hidden; }
.result-main { padding: clamp(30px, 6vw, 66px); color: var(--ink); background: var(--paper); }
.result-main.good { background: var(--mint); }
.result-main.bad { background: var(--coral); }
.result-main .eyebrow { color: #435075; }
.result-main h2 { margin: 12px 0 24px; font-size: clamp(40px, 7vw, 82px); }
.fact-card { max-width: 860px; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 16px; margin-top: 28px; padding: 20px 22px; border: 1px solid rgba(14,27,77,.14); border-radius: 20px; color: var(--ink); background: rgba(255,255,255,.68); box-shadow: 0 14px 34px rgba(14,27,77,.09); text-align: left; }
.fact-card.compact { width: min(100%, 680px); margin: 26px auto; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); color: var(--paper); box-shadow: none; }
.fact-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 22px; }
.fact-label { margin: 1px 0 7px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.fact-card p { max-width: 780px; margin: 0; font-size: 19px; line-height: 1.65; }
.fact-card p, .helper, .question-card h2, .player-shell h2 { overflow-wrap: anywhere; }
.fact-card.compact p { font-size: 16px; line-height: 1.55; }
.question-results { padding: clamp(22px, 4vw, 38px); color: var(--white); background: #0a1742; }
.question-results.compact { width: min(100%, 760px); padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: rgba(6,14,43,.72); }
.question-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.question-results-head h3 { margin: 6px 0 0; font-family: "Unbounded", sans-serif; font-size: clamp(22px, 3vw, 34px); }
.question-results-head > span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 800; }
.question-results-list { max-height: 480px; display: grid; gap: 8px; overflow-y: auto; padding-right: 4px; scrollbar-color: var(--blue) transparent; }
.question-result-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto 112px; align-items: center; gap: 12px; min-height: 66px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.055); }
.question-result-row.correct { border-color: rgba(140,232,199,.34); }
.question-result-row.incorrect { border-color: rgba(255,136,121,.27); }
.question-result-rank { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: var(--paper); font-family: "Unbounded", sans-serif; font-size: 12px; font-weight: 800; }
.question-result-player { min-width: 0; }
.question-result-player strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.question-result-player small { display: inline-block; margin-top: 3px; color: var(--yellow); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.question-result-outcome { padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.question-result-row.correct .question-result-outcome { color: var(--ink); background: var(--mint); }
.question-result-row.incorrect .question-result-outcome { color: var(--ink); background: var(--coral); }
.question-result-row.pending .question-result-outcome { color: var(--ink); background: var(--blue); }
.question-result-score { text-align: right; }
.question-result-score b, .question-result-score small { display: block; }
.question-result-score b { color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 17px; }
.question-result-score small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.question-results-loading { margin: 0; padding: 25px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; }
.result-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; }
.helper { color: var(--muted); font-size: 13px; line-height: 1.5; }

.center { text-align: center; padding-top: 28px; }
.big-title { max-width: 900px; margin: 14px auto 20px; font-size: clamp(40px, 6vw, 72px); }
.center .actions { justify-content: center; }
.leaderboard { max-width: 760px; display: grid; gap: 10px; margin: 34px auto; text-align: left; }
.leader-row { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.07); }
.leader-row:first-child { color: var(--ink); background: var(--yellow); transform: scale(1.02); }
.player-leaderboard { width: 100%; margin: 28px auto; }
.rank { font-family: "Unbounded", sans-serif; font-size: 18px; }
.points { font-weight: 800; }
.final-card { max-width: 940px; margin: 30px auto; padding: clamp(34px, 7vw, 76px); border: 1px solid var(--line); border-radius: 34px; text-align: center; background: linear-gradient(145deg, rgba(91,124,255,.24), rgba(255,255,255,.055)); box-shadow: var(--shadow); }
.final-card h2 { max-width: 820px; margin: 14px auto 22px; font-size: clamp(42px, 7vw, 78px); }
.final-card .actions { justify-content: center; }
.final-card .share-strip { justify-content: center; }
.confetti { margin-bottom: 24px; color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 35px; letter-spacing: .45em; }
.final-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 36px 0; }
.final-stats div { padding: 22px 14px; border-radius: 18px; background: rgba(255,255,255,.07); }
.final-stats strong, .final-stats span { display: block; }
.final-stats strong { color: var(--yellow); font-family: "Unbounded", sans-serif; font-size: 21px; }
.final-stats span { margin-top: 7px; color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 5; right: 24px; bottom: 24px; max-width: 380px; padding: 14px 18px; border-radius: 14px; color: var(--ink); background: var(--mint); box-shadow: var(--shadow); font-weight: 800; animation: pop .25s ease; }
.analytics-consent { position: fixed; z-index: 12; left: 50%; bottom: 22px; width: min(calc(100% - 32px), 920px); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; color: var(--white); background: #09163f; box-shadow: var(--shadow); transform: translateX(-50%); }
.analytics-consent[hidden] { display: none; }
.analytics-consent strong { font-family: "Unbounded", sans-serif; font-size: 15px; }
.analytics-consent p { max-width: 620px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.analytics-consent-actions button { white-space: nowrap; }
.legal-page { max-width: 980px; margin: 20px auto; }
.legal-page > h2 { max-width: 850px; margin: 14px 0 22px; font-size: clamp(40px, 6vw, 72px); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 38px; }
.legal-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.06); }
.legal-grid h3 { margin-bottom: 10px; font-size: 20px; }
.legal-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 850px) {
  .hero, .detail-layout, .room-shell, .round-intro, .checkout-grid, .account-hero, .account-grid { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-top: 28px; }
  .stage-card { max-width: 560px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 200px; }
  .steps-grid h3 { margin-top: 35px; }
  .pack-grid, .audience-grid { grid-template-columns: 1fr; }
  .bundle-card { align-items: flex-start; flex-direction: column; }
  .pack.featured { grid-column: auto; }
  .detail-layout { gap: 35px; }
  .comparison-table article { grid-template-columns: 1fr 1fr; }
  .comparison-table small { grid-column: 1 / -1; }
  .round-number { display: none; }
  .round-intro { min-height: 520px; }
  .order-card { position: static; }
}

@media (max-width: 650px) {
  .topbar, main, footer { width: min(100% - 26px, 1180px); }
  .topbar { min-height: 76px; gap: 9px; }
  .topbar nav, .prototype-pill { display: none; }
  .brand > span:last-child { display: none; }
  .account-link { width: 40px; height: 40px; justify-content: center; padding: 0; margin-left: auto; }
  .account-link > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .language-switch { margin-left: 0; }
  main { padding-top: 12px; }
  h1 { font-size: 46px; }
  html[lang="ru"] h1 { font-size: 36px; }
  html[lang="es"] h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .share-strip { align-items: stretch; flex-direction: column; }
  .share-strip > div { width: 100%; }
  .share-button { flex: 1; }
  .screen-head { align-items: flex-start; flex-direction: column; }
  .catalog-tools { justify-content: flex-start; margin: 0 0 22px; }
  .pack { min-height: 360px; }
  .pack.visual-pack { min-height: 430px; }
  .stage-card { padding: 14px; transform: none; }
  .stage-card::before { right: -8px; top: -22px; }
  .mini-screen { min-height: 340px; padding: 22px 18px; }
  .floating-score { right: 10px; bottom: 22px; }
  .anomaly-grid { gap: 5px; padding: 8px; border-radius: 16px; }
  .anomaly-grid span { min-height: 36px; padding: 4px; border-radius: 8px; font-size: clamp(12px, 5vw, 20px); }
  .pack-bottom { align-items: flex-start; flex-direction: column; }
  .round-stack article:nth-child(2), .round-stack article:nth-child(3) { margin-left: 0; }
  .answers, .player-list { grid-template-columns: 1fr; }
  .answer { min-height: 76px; }
  .game-top { align-items: flex-start; flex-wrap: wrap; }
  .score-box { order: 3; width: calc(100% - 72px); margin-left: 0; text-align: left; }
  .final-stats { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .setup-grid, .faq-grid, .seo-list, .seo-faq { grid-template-columns: 1fr; }
  .setup-grid .setup-summary, .setup-grid .host-identity-card { grid-column: auto; }
  .setup-summary dl { grid-template-columns: 1fr; }
  .account-profile-head { grid-template-columns: auto minmax(0,1fr); padding: 20px; gap: 14px; }
  .account-profile-head .account-signout { grid-column: 1 / -1; text-align: center; }
  .account-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 20px; }
  .account-stats { grid-template-columns: 1fr; }
  .account-stats article { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .account-stats strong { margin: 0; font-size: 28px; }
  .account-grid > section, .account-purchases { padding: 20px; }
  .account-section-head { align-items: flex-start; flex-direction: column; }
  .account-history article { align-items: flex-start; flex-direction: column; }
  .account-benefits article { grid-template-columns: 40px minmax(0,1fr); padding: 17px; }
  .account-benefits article > span { width: 40px; height: 40px; border-radius: 13px; }
  .comparison-table article { grid-template-columns: 1fr; }
  .comparison-table small { grid-column: auto; }
  .host-controls { align-items: stretch; flex-direction: column; }
  .bundle-offer { width: 100%; align-items: flex-start; flex-direction: column; }
  .fact-card { padding: 17px; }
  .fact-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
  .fact-card p { font-size: 16px; }
  .question-results { padding: 18px 14px; }
  .question-results.compact { padding: 17px 12px; }
  .question-results-head { align-items: flex-start; flex-direction: column; }
  .question-results-list { max-height: 390px; }
  .question-result-row { grid-template-columns: 34px minmax(0,1fr) auto; gap: 9px; padding: 11px 10px; }
  .question-result-rank { width: 30px; height: 30px; }
  .question-result-outcome { grid-column: 2; justify-self: start; padding: 5px 8px; }
  .question-result-score { grid-column: 3; grid-row: 1 / span 2; }
  .result-foot { align-items: stretch; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 0; }
  .footer-links { flex-wrap: wrap; margin-left: -9px; }
  .analytics-consent { align-items: stretch; flex-direction: column; bottom: 12px; padding: 19px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-actions button { flex: 1; padding-left: 12px; padding-right: 12px; }
}
