/* «А ТЫ БЫ?» · F001 — тёмная кинематографичная игра для пары, mobile-first */

@font-face { font-family: "ATB"; src: url("/static/fonts/atb-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "ATB"; src: url("/static/fonts/atb-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "ATB"; src: url("/static/fonts/atb-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #070707;
  --ink: #F2EEE9;
  --ink-2: #BDB6AE;
  --ink-3: #8A847E;
  --red: #F0141C;
  --red-2: #C80E15;
  --red-deep: #7A0A10;
  --line: rgba(242, 238, 233, .12);
  --card: rgba(242, 238, 233, .045);
  --card-2: rgba(242, 238, 233, .08);
  --radius: 18px;
  --font: "ATB", "Inter Display", "Inter", -apple-system, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font: 600 16px/1.4 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.noscript { padding: 40px 20px; text-align: center; }

/* ---------- атмосфера: свечение и плёночное зерно ---------- */
.fx-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(122, 10, 16, .62), transparent 70%),
    radial-gradient(50% 35% at 100% 105%, rgba(122, 10, 16, .28), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .7) 100%);
}
.fx-grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 60; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- каркас экрана ---------- */
#app { position: relative; z-index: 1; }
.screen {
  position: relative; max-width: 480px; margin: 0 auto;
  min-height: 100vh; min-height: 100dvh;
  padding: calc(18px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  animation: screen-in .5s var(--ease) both;
}
.screen.is-leaving { animation: screen-out .16s ease-in both; position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.screen.after-leave { animation-delay: .14s; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes screen-out { to { opacity: 0; transform: translateY(-8px); } }
.center { text-align: center; align-items: center; }
.grow { flex: 1; }
.stack > * + * { margin-top: 14px; }

/* ---------- типографика ---------- */
.eyebrow { font: 800 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.h-hero { font: 900 clamp(30px, 8.6vw, 42px)/1.04 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.h-1 { font: 900 clamp(28px, 8vw, 36px)/1.06 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.h-2 { font: 900 22px/1.15 var(--font); letter-spacing: -.01em; text-wrap: balance; }
.caps { text-transform: uppercase; letter-spacing: .01em; }
.accent { color: var(--red); }
.lead { font: 800 20px/1.25 var(--font); }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); font-size: 13px; }
.small { font-size: 14px; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 14px 22px; border-radius: var(--radius);
  text-decoration: none;
  font: 900 16px/1.1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-align: center;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--red) 0%, var(--red-2) 100%);
  box-shadow: 0 14px 34px -12px rgba(240, 20, 28, .75), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  background-size: 250% 100%; animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.btn-ghost { background: var(--card-2); border: 1px solid var(--line); letter-spacing: .03em; }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 48px; font-size: 13px; }
.linkish { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 10px; }
.arrow { font-size: 20px; line-height: 0; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font: 800 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); background: rgba(240, 20, 28, .1); border: 1px solid rgba(240, 20, 28, .22);
}
.chip-soft { color: var(--ink-2); background: var(--card); border-color: var(--line); }

/* ---------- L0 · лендинг ---------- */
.landing { justify-content: center; gap: 0; }
.logo {
  display: block; width: min(44vw, 176px); aspect-ratio: 1; border-radius: 50%; margin: 0 auto 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 70px -12px rgba(240, 20, 28, .45);
  animation: breathe 5s ease-in-out infinite;
}
.logo-sm { width: 96px; margin-bottom: 18px; }
@keyframes breathe { 50% { transform: scale(1.025); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 26px 80px -8px rgba(240, 20, 28, .6); } }
.steps { list-style: none; padding: 0; margin: 20px auto 26px; max-width: 330px; text-align: left; }
.steps li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 16px; line-height: 1.35; }
.steps li + li { margin-top: 9px; }
.steps b { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(240, 20, 28, .14); color: var(--red); font: 900 12px/1 var(--font); transform: translateY(-1px); }
.steps span { color: var(--ink); }
.micro { margin-top: 12px; font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.privacy { margin-top: 18px; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; justify-content: center; align-items: center; }
.disclaimer { margin-top: auto; padding-top: 28px; font-size: 11px; color: var(--ink-3); text-align: center; opacity: .8; }
.resume {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border-radius: 16px;
  background: var(--card-2); border: 1px solid rgba(240, 20, 28, .35); text-align: left; width: 100%;
  animation: screen-in .5s .3s var(--ease) both;
}
.resume .dot { flex: 0 0 10px; }
.resume b { display: block; font-weight: 800; }
.resume span { font-size: 13px; color: var(--ink-2); }
.resume .go { margin-left: auto; color: var(--red); font-weight: 900; }
@media (max-height: 700px) {
  .logo { width: 118px; margin-bottom: 14px; }
  .steps { margin: 14px auto 18px; }
}

/* ---------- вопрос ---------- */
.q-top { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font-size: 18px; }
.icon-btn:active { transform: scale(.94); }
.icon-btn[hidden] { visibility: hidden; display: grid; }
.progress { height: 4px; border-radius: 4px; background: rgba(242, 238, 233, .1); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red-deep), var(--red)); transition: width .5s var(--ease); box-shadow: 0 0 12px rgba(240, 20, 28, .7); }
.q-count { font: 800 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 44px; text-align: right; }
.q-count b { color: var(--ink); }
.q-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 26px 0 8vh; }
.q-card { animation: q-in .45s var(--ease) both; }
.q-card.is-out { animation: q-out .22s ease-in both; }
.q-card.is-back { animation-name: q-in-back; }
@keyframes q-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes q-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes q-out { to { opacity: 0; transform: translateX(-24px); } }
.q-text { margin-top: 16px; font: 800 clamp(25px, 7vw, 32px)/1.14 var(--font); letter-spacing: -.015em; text-wrap: balance; }
.q-opts { display: grid; gap: 10px; margin-top: 28px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 16px 18px;
  border-radius: 16px; text-align: left; font: 700 17px/1.25 var(--font);
  background: var(--card); border: 1px solid var(--line);
  transition: background .18s, border-color .18s, transform .12s, color .18s;
  animation: opt-in .45s var(--ease) both;
}
.opt:nth-child(2) { animation-delay: .05s; } .opt:nth-child(3) { animation-delay: .1s; } .opt:nth-child(4) { animation-delay: .15s; }
@keyframes opt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.opt:active { transform: scale(.98); }
.opt .mark { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(242, 238, 233, .25); display: grid; place-items: center; font-size: 12px; transition: all .18s; }
.opt.is-picked { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(240, 20, 28, .8); }
.opt.is-picked .mark { border-color: #fff; background: #fff; color: var(--red); }
.opt.was-picked { border-color: rgba(240, 20, 28, .55); }
.q-foot { text-align: center; color: var(--ink-3); font-size: 12px; }

/* ---------- сохраняем ---------- */
.saving { justify-content: center; align-items: center; text-align: center; }
.beat { font-size: 64px; animation: beat 1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }

/* ---------- отправка партнёру ---------- */
.done-mark { position: relative; width: 84px; height: 84px; margin: 12px auto 20px; display: grid; place-items: center; font-size: 40px; border-radius: 50%; background: rgba(240, 20, 28, .12); border: 1px solid rgba(240, 20, 28, .35); animation: pop .6s var(--ease) both; }
.done-mark::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(240, 20, 28, .6); animation: ring 2.4s ease-out infinite; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.share-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.share-btn { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font: 700 12px/1.1 var(--font); color: var(--ink-2); transition: transform .12s, background .2s; }
.share-btn:active { transform: scale(.96); }
.share-btn .ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; font-weight: 900; }
.ico-tg { background: #2AABEE; } .ico-wa { background: #25D366; } .ico-cp { background: rgba(242, 238, 233, .16); }
.bubble-wrap { margin-top: 22px; text-align: left; }
.bubble-label { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.bubble { position: relative; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: #1A1819; border: 1px solid rgba(242, 238, 233, .07); font-size: 15px; line-height: 1.4; white-space: pre-line; color: var(--ink); }
.bubble .url { display: block; margin-top: 8px; color: #6AB3F3; word-break: break-all; font-size: 14px; }
.wait { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--ink-2); }
.wait b { color: var(--ink); display: block; font-weight: 800; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(240, 20, 28, .7); animation: dot 1.6s infinite; flex: 0 0 10px; }
@keyframes dot { 70% { box-shadow: 0 0 0 10px rgba(240, 20, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 20, 28, 0); } }

/* ---------- тизер ---------- */
.pct-big { font: 900 clamp(104px, 32vw, 150px)/.9 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; text-shadow: 0 10px 60px rgba(240, 20, 28, .35); }
.pct-big small { font-size: .42em; color: var(--red); letter-spacing: 0; margin-left: 2px; vertical-align: .9em; }
.t-counts { color: var(--ink-2); font-size: 16px; margin-top: 10px; }
.t-but { font: 900 44px/1 var(--font); color: var(--red); margin: 26px 0 10px; opacity: 0; animation: fade-up .6s 1.1s var(--ease) forwards; }
.t-hook { font: 700 19px/1.4 var(--font); opacity: 0; animation: fade-up .6s 1.5s var(--ease) forwards; text-wrap: balance; }
.t-hook .hl { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.later { opacity: 0; animation: fade-up .6s 1.9s var(--ease) forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.locked-list { display: grid; gap: 10px; margin-top: 24px; }
.locked {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 78px;
  border-radius: 16px; background: linear-gradient(180deg, rgba(242, 238, 233, .06), rgba(242, 238, 233, .025)); border: 1px solid var(--line); text-align: left;
}
.locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .07) 50%, transparent 80%); background-size: 250% 100%; animation: shimmer 2.8s infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.locked .lock { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(240, 20, 28, .14); font-size: 17px; }
.locked .lines { flex: 1; display: grid; gap: 7px; }
.locked .lines i { display: block; height: 9px; border-radius: 5px; background: rgba(242, 238, 233, .16); filter: blur(2.5px); }
.locked .lines i:nth-child(2) { width: 62%; }
.locked .meta { font: 800 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.paywall { margin-top: 28px; padding: 22px 20px; border-radius: 22px; text-align: left; background: radial-gradient(120% 90% at 100% 0%, rgba(122, 10, 16, .55), transparent 60%), rgba(242, 238, 233, .04); border: 1px solid rgba(240, 20, 28, .35); }
.checks { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.checks li::before { content: "✓"; color: var(--red); font-weight: 900; }
.price-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-2); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(7, 7, 7, .98) 55%, rgba(7, 7, 7, 0)); transition: transform .35s var(--ease), opacity .35s; }
.sticky-cta .btn { max-width: 440px; margin: 0 auto; white-space: nowrap; font-size: clamp(13px, 3.9vw, 16px); letter-spacing: .03em; padding: 14px 16px; }
.sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; }
.pad-sticky { height: 96px; }

/* ---------- разбор ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; width: 100%; }
.stat { padding: 14px 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font: 900 30px/1 var(--font); }
.stat span { font-size: 12px; color: var(--ink-2); }
.stat.is-diff b { color: var(--red); }
.section { margin-top: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cats { display: grid; gap: 14px; }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; }
.cat-row .name { font-weight: 800; }
.cat-row .val { font: 900 16px/1 var(--font); font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(242, 238, 233, .08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red-deep), var(--red)); transition: width 1.1s var(--ease); }
.cmp-list { display: grid; gap: 12px; }
.cmp { position: relative; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: left; transition: border-color .3s, background .3s; }
.cmp.lvl-DIFFERENCE { border-color: rgba(240, 20, 28, .3); }
.cmp.is-open.lvl-DIFFERENCE { background: linear-gradient(180deg, rgba(122, 10, 16, .28), rgba(242, 238, 233, .03)); border-color: rgba(240, 20, 28, .55); }
.cmp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cmp .qn { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.intr { margin-top: 12px; font: 900 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.cmp h3 { margin-top: 10px; font: 800 18px/1.25 var(--font); }
.ans { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(242, 238, 233, .05); }
.ans .who { display: block; font: 800 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ans .val { font-size: 17px; font-weight: 700; }
.ans.partner { position: relative; perspective: 600px; }
.ans.partner .cover { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.ans.partner .val { display: none; }
.cmp.is-open .ans.partner .cover { display: none; }
.cmp.is-open .ans.partner .val { display: block; animation: flip .55s var(--ease) both; }
.cmp.is-open .ans.partner { background: rgba(240, 20, 28, .1); }
@keyframes flip { from { opacity: 0; transform: rotateX(80deg); } to { opacity: 1; transform: none; } }
.verdict, .talk { display: none; }
.cmp.is-open .verdict { display: inline-flex; margin-top: 14px; animation: fade-up .45s .25s var(--ease) both; }
.cmp.is-open .talk { display: block; animation: fade-up .45s .45s var(--ease) both; }
.badge { align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font: 900 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.badge.MATCH { background: var(--ink); color: var(--bg); }
.badge.PARTIAL_MATCH { border: 1px solid var(--ink-2); color: var(--ink); }
.badge.DIFFERENCE { background: var(--red); color: #fff; }
.talk { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(242, 238, 233, .04); border-radius: 0 12px 12px 0; }
.talk b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.tap-hint { position: absolute; right: 14px; bottom: 14px; font-size: 11px; color: var(--ink-3); }
.cmp.is-open .tap-hint { display: none; }
.card-preview { display: block; width: 52%; max-width: 220px; aspect-ratio: 9 / 16; margin: 0 auto 16px; border-radius: 18px; background: #111 center / cover no-repeat; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(240, 20, 28, .45); }
.upsell { margin-top: 34px; padding: 24px 20px; border-radius: 22px; text-align: left; background: radial-gradient(100% 120% at 0% 0%, rgba(240, 20, 28, .35), transparent 55%), linear-gradient(160deg, #1a0406, #070707 70%); border: 1px solid rgba(240, 20, 28, .4); }
.upsell .tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; }
.del { margin-top: 34px; text-align: center; }
.del .confirm { margin-top: 10px; display: none; gap: 8px; grid-template-columns: 1fr 1fr; }
.del.is-asking .confirm { display: grid; }

/* ---------- оплата (тест) ---------- */
.pay-card { margin: auto 0; padding: 26px 22px; border-radius: 24px; background: #111; border: 1px solid var(--line); text-align: center; }
.test-badge { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #F5C542; color: #1a1400; font: 900 11px/1 var(--font); letter-spacing: .12em; }
.pay-price { font: 900 56px/1 var(--font); margin: 16px 0 6px; }

/* ---------- toast, sheet ---------- */
#toast { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 800 14px/1.2 var(--font); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: all .3s var(--ease); max-width: calc(100% - 40px); text-align: center; }
#toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sheet-bg { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .72); display: grid; place-items: end center; animation: fade .25s both; }
.sheet { width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #111; border-top: 1px solid var(--line); animation: sheet-up .35s var(--ease) both; text-align: center; }
.sheet img { width: 62%; max-width: 260px; border-radius: 16px; display: block; margin: 12px auto 16px; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }

/* сердечки при открытии */
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 65; overflow: hidden; }
.burst i { position: absolute; bottom: -40px; font-style: normal; animation: rise 2.4s ease-out forwards; }
@keyframes rise { to { transform: translateY(-110vh) rotate(25deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fx-grain { animation: none; }
  .t-but, .t-hook, .later { opacity: 1; }
}
@media (min-width: 700px) {
  .screen { padding-top: 48px; }
}

/* доступ к личной странице: ссылки для входа */
.access-links { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 10px; }
.access-links .linkish { font-size: 13px; padding: 8px; }
.share-sec .eyebrow { color: var(--ink-3); }

/* ---------- консолидация 29.09: механики из benchmark ---------- */
/* лендинг: первый вопрос прямо на экране (LoveGenius, Mojo Upgrade) */
.logo-land { width: 72px; margin-bottom: 12px; }
.land-title { margin-top: 10px; }
.land-lead { margin-top: 10px; }
.land-q { width: 100%; margin-top: 18px; padding: 16px; border-radius: 20px; text-align: left; background: var(--card); border: 1px solid rgba(240, 20, 28, .3); }
.land-q-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.land-q-head .qn { font-size: 12px; color: var(--ink-3); }
.land-q-text { margin-top: 12px; font: 800 20px/1.22 var(--font); text-wrap: balance; }
.land-q .q-opts { margin-top: 14px; gap: 8px; }
.land-q .opt { min-height: 52px; padding: 12px 14px; font-size: 16px; }
.land-q-hint { margin-top: 10px; font-size: 12px; color: var(--ink-3); text-align: center; }
/* имя после 3-го ответа */
.field { width: 100%; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); font: 700 18px/1.2 var(--font); outline: none; }
.field:focus { border-color: rgba(240, 20, 28, .6); }
.name-actions { display: grid; gap: 6px; margin-top: 16px; justify-items: center; }
/* плитки ответов A на лендинге партнёра (Privé) */
.tiles-card { width: 100%; margin-top: 20px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; font-size: 14px; animation: pop .5s var(--ease) both; }
.tile.t0 { background: rgba(242, 238, 233, .85); }
.tile.t1 { background: var(--red-deep); }
.tile.t2 { background: var(--red); }
.tile.tl { background: var(--card-2); border: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .tile { width: 12px; height: 12px; border-radius: 3px; aspect-ratio: auto; animation: none; }
.tiles-card .dim { margin-top: 10px; text-align: center; }
/* «сравниваем ваши ответы…» */
.cmp-bar { width: 70%; margin: 18px auto 0; }
/* тизер: закрытые карточки со своим ответом, совпадения */
.level-chip { margin-top: 12px; }
.list-head { margin: 26px 0 10px; font: 800 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.locked-q h3 { font-size: 17px; }
.matched { margin-top: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.matched summary, .help summary { padding: 14px 16px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none; }
.matched summary::-webkit-details-marker, .help summary::-webkit-details-marker { display: none; }
.matched summary::after, .help summary::after { content: " ↓"; color: var(--ink-3); }
.matched[open] summary::after, .help[open] summary::after { content: " ↑"; }
.m-row { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.m-row b { display: block; margin-top: 4px; color: var(--ink-2); font-weight: 700; }
/* «Спросить об этом» (LoveGenius) */
.ask { display: block; margin-top: 10px; padding: 6px 0; color: var(--red); font: 800 15px/1.2 var(--font); text-align: left; }
/* следующий тест (CouplesPortal, LoveGenius, BuddyMojo) */
.next-sec { text-align: left; }
.next-list { display: grid; gap: 10px; margin-top: 14px; }
.next-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--card-2); border: 1px solid rgba(240, 20, 28, .35); text-decoration: none; text-align: left; }
.next-card b { display: block; font-weight: 900; font-size: 17px; }
.next-card span { font-size: 13px; color: var(--ink-2); }
.next-card .go { margin-left: auto; color: var(--red); font-weight: 900; font-size: 20px; }
/* «Если ситуация не просто игра» — бесплатно, не за пейволлом */
.help { width: 100%; margin-top: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--ink-2); }
.help p, .help ul { padding: 0 16px 12px; margin: 0; line-height: 1.45; }
