/* CALIBR v2 — тёмно-изумрудная дизайн-система Telegram Mini App (единые :root-токены под тёмную/светлую тему) */
:root {
  color-scheme: dark;
  --bg: #0F1111;
  --bg-deep: #070909;
  --surface: rgba(18, 21, 21, 0.56);
  --surface-card: #111414;
  --surface-elevated: #161A1B;
  --surface-featured: linear-gradient(135deg, rgba(28, 52, 43, 0.44) 0%, rgba(18, 21, 21, 0.56) 65%);
  --ink: #ECF6F2;
  --mute: #8BA49A;
  --dim: #7D938B;
  --line: rgba(96, 136, 120, 0.30);
  --line-strong: rgba(126, 234, 194, 0.48);
  --handle: #5E6B6D;
  --mint: #68E8B8;
  --mint-bright: #B8FFE4;
  --amber: #FDBA74;
  --danger: #E8B0A0;
  --radius-md: 14px;
  --tg-safe-top: 0px;
  --tg-safe-bottom: 0px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 160ms;
  --dur-fast: 180ms;
  --dur-sheet: 360ms;
}
* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; height: 100dvh; overflow: hidden; overscroll-behavior: none; touch-action: manipulation; -webkit-text-size-adjust: 100%; background: var(--bg); color: var(--ink); font-family: 'Golos Text', sans-serif; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button, a, [role="button"] { touch-action: manipulation; }
button, [role="button"], a[data-act] { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
:is(a, button, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.v2-ai-inputbar:focus-within, .v2-sim-composer:focus-within, .v2-ai-composer:focus-within { border-color: var(--mint); }
.v2-ai-input:focus-visible, .v2-sim-chat-input:focus-visible, [data-input="ai"]:focus-visible { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[data-b="dirsheet"][aria-hidden="true"],
[data-b="datasheet"][aria-hidden="true"],
[data-b="sheet"][aria-hidden="true"] { visibility: hidden; pointer-events: none; transition: transform var(--dur-sheet) var(--ease-drawer), visibility 0s linear var(--dur-sheet) !important; }
[data-b="dirsheet"][aria-hidden="false"],
[data-b="datasheet"][aria-hidden="false"],
[data-b="sheet"][aria-hidden="false"] { visibility: visible; transition: transform var(--dur-sheet) var(--ease-drawer), visibility 0s linear 0s !important; }
button[data-act]:not(:disabled):not([tabindex="-1"]), a[data-act] { transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
button[data-act]:not(:disabled):not([tabindex="-1"]):active, a[data-act]:active { transform: scale(0.97); opacity: 0.88; }
.bare { background: transparent; border: 0; padding: 0; cursor: pointer; }
.v2-cta-primary { min-height: 48px; width: 100%; padding: 0 18px; border: 0; border-radius: var(--radius-md); background: var(--mint); color: var(--bg-deep); font-family: 'Golos Text', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-cta-primary:active { transform: scale(0.97); opacity: 0.92; }
.v2-cta-primary:disabled { opacity: 0.48; cursor: default; transform: none; }
.v2-cta-ghost { min-height: 48px; width: 100%; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-md); background: transparent; color: var(--ink); font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease, opacity var(--dur-press) ease; }
.v2-cta-ghost:active { transform: scale(0.97); opacity: 0.9; }
.v2-cta-ghost:disabled { opacity: 0.48; cursor: default; transform: none; }

#screen { position: fixed; left: 0; top: 0; right: 0; height: 100%; height: 100dvh; overflow: hidden; background: var(--bg); }
#main { position: absolute; inset: 0; }
#screen.is-kbd .v2-sim-page .v2-nav { display: none; }
#screen.is-kbd #toast { bottom: 24px; }
#pages { position: absolute; left: 50%; top: 50%; width: var(--page-w, 390px); height: var(--page-h, 844px); transform-origin: center center; overflow: hidden; }
.page { position: absolute; inset: 0; width: var(--page-w, 390px); height: var(--page-h, 844px); }
.q-in { overscroll-behavior: contain; min-height: 0; }
.q-in > * { flex: none; }
.scroll { scrollbar-width: none; overscroll-behavior: contain; }
.scroll::-webkit-scrollbar { display: none; }
.v2-hist-strip { overscroll-behavior-x: contain; scroll-padding-inline: 14px; }

/* Загрузка поверх экрана: сбор прибора и плавное растворение сразу на целевой экран. */
.cs-host { position: absolute; inset: 0; z-index: 50; }
.cs-host.revealed, .cs-host.fast-fade { pointer-events: none; }
.cs-veil { position: absolute; background: #0F1111; transition: opacity .35s ease; opacity: 0; }
.cs-full { inset: 0; opacity: 1; transition: opacity .32s ease; }
.cs-host .calibr-splash { transition: opacity .28s ease; }
.cs-host.pre .cs-full, .cs-host.pre .calibr-splash { opacity: 0; }
.cs-host.revealed .cs-full { opacity: 0; }
.cs-host.fast-fade { opacity: 0; transition: opacity 180ms ease; }

#toast { position: absolute; left: 50%; bottom: calc(116px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px))); z-index: 60; width: max-content; max-width: 330px; padding: 10px 14px; transform: translate(-50%, 8px) scale(0.97);
  background: #1C2122; border: 1px solid #2A3031; border-radius: 10px; font: 400 12px/1.45 'IBM Plex Mono', monospace; letter-spacing: .02em;
  color: var(--ink); text-align: center; opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease; }
#toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity var(--dur-sheet) var(--ease-out), transform var(--dur-sheet) var(--ease-out); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 359.98px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Экраны администратора (ADR-079): нажатие, загрузка, шторка. */
.adm-btn:active:not([disabled]), .adm-tap:active { opacity: .72; transform: scale(0.97); }
.adm-btn, .adm-tap { transition: opacity var(--dur-press) ease, transform var(--dur-press) var(--ease-out); }
input[data-f]:focus { border-color: var(--mint) !important; }
.adm-col > * { flex: none; }
.adm-tabs { scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 16px; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-skeleton { position: relative; overflow: hidden; background: #161A1B; border: 1px solid #22282A; }
.adm-skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%); transform: translateX(-100%); animation: adm-shimmer 1.2s linear infinite; pointer-events: none; }
@keyframes adm-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.adm-sheet { animation: adm-sheet var(--dur-sheet) var(--ease-drawer) both; overscroll-behavior: contain; }
@keyframes adm-sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Интерактивная подсказка для первой плашки шкал (ADR/UX): микро-bounce и GPU opacity-подсветка рамки (2 цикла) */
.facet-hint {
  position: relative;
  animation: facet-bounce 1.2s var(--ease-out) 1 forwards;
}
.facet-hint::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid #3E7A62;
  box-shadow: 0 0 10px rgba(90, 228, 168, 0.22);
  pointer-events: none;
  opacity: 0;
  animation: facet-glow 1.4s var(--ease-in-out) 2 both;
}
@keyframes facet-bounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  55% { transform: translateY(0); }
  75% { transform: translateY(-2px); }
}
@keyframes facet-glow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Экран «Ядро» (ADR-GEMINI-3, шаг S37.2): 8 мини-кристаллов, компактные карточки и 3-вкладочная навигация */
.cr-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 8px 6px; border: 1px solid #232829; border-radius: 12px; background: #141819; }
.cr-btn { min-height: 44px; padding: 4px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; transition: background var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.cr-btn:active { transform: scale(0.95); }
.cr-btn[data-done="1"] { background: rgba(159, 232, 180, 0.08); }
.cr-lit { filter: drop-shadow(0 0 5px rgba(159, 232, 180, 0.45)); }
.core-card { text-align: left; cursor: pointer; transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.core-card:active { transform: scale(0.97); }
@media (max-width: 369.98px) {
  .cr-row { gap: 2px; padding: 6px 4px; }
}

/* CALIBR v2 — чистый матовый фон #0F1111, flex-поток без position: absolute у шапок/скролла/навигации (безопасно для iOS WKWebView) */
.v2-page, .v2-page-mod { position: relative; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.v2-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; pointer-events: none; background: var(--bg); opacity: 0; transition: opacity 280ms ease; }
.v2-hero-video.is-ready { opacity: 1; }

.v2-scroll { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; width: 100%; }
.v2-res-bar { position: relative; z-index: 3; flex: none; min-height: calc(50px + max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px))); padding: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) 10px 0 6px; display: flex; align-items: center; gap: 4px; background: #0B0D0D; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.v2-res-foot { position: relative; z-index: 3; flex: none; margin: 0; min-height: calc(74px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px))); box-sizing: border-box; padding: 8px 14px calc(10px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px))); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #090C0C; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.09); border-radius: 0; box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.45); }

.v2-topbar { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: calc(36px + max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px))); padding-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)); flex: none; }
.v2-wordmark { font-size: 16px; font-weight: 500; letter-spacing: 0.32em; color: #E4F2EC; text-decoration: none; }

.v2-card { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease, opacity var(--dur-press) ease; }
.v2-card:active { transform: scale(0.97); opacity: 0.92; }

/* Плавающая нижняя плашка Pill-in-Pill в обычном flex-потоке (чистый #111414 без backdrop-filter, безопасно для iOS WKWebView) */
.v2-nav { position: relative; z-index: 3; flex: none; margin: 6px 12px calc(14px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px))); height: 80px; padding: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; background: #111414; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.45); }
.v2-nav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 1px solid transparent; border-radius: 999px; text-decoration: none; color: #7B8E87; font-family: inherit; font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em; background: transparent; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: color var(--dur-fast) ease, background var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.v2-nav-item:active { transform: scale(0.95); }
.v2-nav-item svg { width: 26px; height: 26px; flex: none; display: block; }
.v2-nav-item.on { color: var(--mint-bright); background: #172420; border-color: rgba(104, 232, 184, 0.28); }

/* CALIBR v2 — внутренние экраны D2.2a и маскот-спутник (чистый матовый #0F1111 без подсветки и blur) */
.v2-back-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; }
.v2-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 2px 2px; flex: none; }
.v2-hero-row.left { flex-direction: row-reverse; }
.v2-hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 0 2px; flex: none; }
.v2-mascot { flex: none; object-fit: contain; display: block; pointer-events: none; }
.v2-mascot-center { display: block; margin: 0 auto 4px; }
.v2-mascot-doc { width: 64px; height: 64px; background: url("design/mascot/manual.webp?v=aed6b5f5") center / contain no-repeat; }
.v2-q-meta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: 0.08em; color: #9AA3A3; flex: none; }
.v2-q-mascot { display: flex; justify-content: center; margin: 10px 0 4px; flex: none; }
@media (max-height: 700px) { .v2-q-mascot { display: none; } }
#screen[data-compact-h="1"] .v2-q-mascot { display: none; }
.v2-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--mint); text-transform: uppercase; }
.v2-h1 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.v2-sub { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.v2-label { font-size: 11px; font-weight: 600; letter-spacing: 0.09em; color: var(--dim); text-transform: uppercase; margin-top: 4px; }
.v2-panel { padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-panel-accent { padding: 15px 16px; background: var(--surface-featured); border: 1.2px solid var(--line-strong); border-radius: 18px; display: flex; flex-direction: column; gap: 10px; flex: none; }

/* Экран «Главная» (чистые матовые плашки #111414 без градиентов и свечений, открытая маска home.mp4, без backdrop-filter) */
.v2-home-page { background: #0B0D0D; }
.v2-home-scroll { padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.v2-home-shadow { position: relative; margin: -42px -14px 2px; height: 264px; z-index: 0; overflow: hidden; flex: none; pointer-events: none; }
.v2-home-shadow img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.v2-home-shadow::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 42px; background: linear-gradient(to bottom, rgba(11, 13, 13, 0.68), rgba(11, 13, 13, 0)); pointer-events: none; z-index: 1; }
.v2-home-shadow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(to bottom, rgba(11, 13, 13, 0) 0%, #0B0D0D 100%); pointer-events: none; z-index: 1; }

.v2-home-hero, .v2-home-feat, .v2-home-mini, .v2-home-continue { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-home-hero:active, .v2-home-feat:active, .v2-home-mini:active, .v2-home-continue:active { transform: scale(0.97); }

.v2-home-continue { position: relative; z-index: 2; width: 100%; padding: 12px 14px; border-radius: 16px; background: #131B18; border: 1px solid rgba(104, 232, 184, 0.36); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: inherit; text-decoration: none; text-align: left; cursor: pointer; color: var(--ink); flex: none; }
.v2-home-continue-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v2-home-continue-k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--mint); text-transform: uppercase; }
.v2-home-continue-t { font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-home-continue-s { font-size: 11.5px; line-height: 1.25; color: var(--mute); }
.v2-home-continue-go { padding: 7px 11px; border-radius: 10px; background: var(--mint); color: #0B0D0D; font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; }

.v2-home-hero { position: relative; z-index: 2; width: 100%; min-height: 102px; padding: 10px 14px; border-radius: 18px; background: #111414; border: 1px solid rgba(104, 232, 184, 0.28); display: flex; align-items: center; gap: 14px; text-decoration: none; text-align: left; cursor: pointer; color: var(--ink); flex: none; }
.v2-home-hero-art { width: 88px; height: 88px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: transparent; }
.v2-home-hero-art img { width: 88px; height: 88px; display: block; object-fit: contain; mix-blend-mode: lighten; pointer-events: none; }
.v2-home-hero-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.v2-home-pill { padding: 2px 8px; border-radius: 999px; background: #0B0D0D; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: #C5DAD2; white-space: nowrap; flex: none; }

.v2-home-mid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; flex: none; }
.v2-home-feat { position: relative; width: 100%; min-height: 118px; padding: 8px 12px 10px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; justify-content: center; gap: 4px; font-family: inherit; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; }
.v2-home-feat-art { height: 82px; display: flex; align-items: center; justify-content: center; background: transparent; }
.v2-home-feat-art img { display: block; object-fit: contain; mix-blend-mode: lighten; pointer-events: none; }
.v2-home-feat-art img.is-bright { filter: brightness(1.3); }

.v2-home-grid2 { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; flex: none; }
.v2-home-mini { position: relative; min-height: 64px; padding: 7px 10px 7px 8px; border-radius: 15px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); display: flex; align-items: center; gap: 9px; text-align: left; color: var(--ink); cursor: pointer; overflow: hidden; }
.v2-home-mini img { width: 48px; height: 48px; flex: none; object-fit: contain; display: block; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .v2-home-hero:hover, .v2-home-continue:hover { border-color: rgba(104, 232, 184, 0.44); }
  .v2-home-feat:hover, .v2-home-mini:hover { border-color: rgba(255, 255, 255, 0.14); background: #151919; }
}

/* Вкладка «Модули» (чистая обсидиановая эстетика #0B0D0D / #111414, watermark-иконки, строго без backdrop-filter) */
.v2-mod-page { background: #0B0D0D; }
.v2-mod-scroll { padding: 10px 14px 22px; display: flex; flex-direction: column; gap: 9px; }
.v2-mod-head-glow { position: absolute; top: 0; left: 0; right: 0; height: 148px; z-index: 0; overflow: hidden; pointer-events: none; }
.v2-mod-head-glow img { position: absolute; top: -10px; right: -24px; width: 220px; height: 168px; object-fit: cover; object-position: right top; opacity: 0.36; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to bottom, #000 18%, transparent 94%), linear-gradient(to left, #000 35%, transparent 96%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 18%, transparent 94%), linear-gradient(to left, #000 35%, transparent 96%); mask-composite: intersect; }
.v2-mod-head-glow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(to bottom, rgba(11, 13, 13, 0), #0B0D0D); }

.v2-mod-hero, .v2-mod-free, .v2-mod-sub, .v2-mod-tile { position: relative; z-index: 2; overflow: hidden; text-decoration: none; text-align: left; cursor: pointer; color: var(--ink); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-mod-hero:active, .v2-mod-free:active, .v2-mod-sub:active, .v2-mod-tile:active { transform: scale(0.97); }

.v2-mod-hero { width: 100%; min-height: 98px; padding: 10px 14px; border-radius: 18px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; align-items: center; gap: 14px; flex: none; }
.v2-mod-hero.is-open { border-color: rgba(104, 232, 184, 0.28); }
.v2-mod-hero-art { width: 76px; height: 76px; flex: none; display: flex; align-items: center; justify-content: center; }
.v2-mod-hero-art img { width: 76px; height: 76px; object-fit: contain; display: block; pointer-events: none; }
.v2-mod-badge { padding: 2px 8px; border-radius: 999px; background: #0B0D0D; border: 1px solid rgba(255, 255, 255, 0.09); font-size: 11px; font-weight: 500; letter-spacing: 0.03em; color: #C5DAD2; white-space: nowrap; flex: none; }
.v2-mod-badge.is-mint { border-color: rgba(104, 232, 184, 0.32); color: var(--mint); }
.v2-mod-badge.is-progress { background: #17231E; border-color: rgba(104, 232, 184, 0.45); color: var(--mint); font-weight: 600; }

.v2-mod-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: 100%; flex: none; }
.v2-mod-free { min-height: 76px; padding: 11px 13px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.v2-mod-sub { width: 100%; padding: 13px 14px; border-radius: 16px; background: #111A17; border: 1px solid rgba(104, 232, 184, 0.38); box-shadow: inset 0 1px 0 rgba(184, 255, 228, 0.20); display: flex; align-items: center; gap: 12px; flex: none; }
.v2-mod-tile { min-height: 86px; padding: 13px 14px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; }
.v2-mod-wm { position: absolute; right: -6px; bottom: -8px; width: 62px; height: 62px; object-fit: contain; opacity: 0.26; filter: brightness(1.45); mix-blend-mode: lighten; pointer-events: none; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 98%); mask-image: radial-gradient(circle, #000 55%, transparent 98%); z-index: 0; }
.v2-mod-st { position: absolute; top: 11px; right: 11px; z-index: 2; display: flex; align-items: center; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .v2-mod-hero:hover, .v2-mod-free:hover, .v2-mod-tile:hover { border-color: rgba(255, 255, 255, 0.14); background: #151919; }
  .v2-mod-hero.is-open:hover { border-color: rgba(104, 232, 184, 0.44); }
  .v2-mod-sub:hover { border-color: rgba(104, 232, 184, 0.56); background: #14211D; }
}

/* Стартовый экран онбординга (Card: с новым таббаром .v2-nav, глубокий #070909, крупная сцена home.mp4 360px cover без ужатия, маскот 100px, без backdrop-filter) */
.v2-card-page { background: #070909; }
.v2-card-scroll { padding: 10px 14px 18px; display: flex; flex-direction: column; gap: 0; }
.v2-card-shadow { position: relative; margin: -46px -14px 0; height: 360px; z-index: 0; overflow: hidden; flex: none; pointer-events: none; background: #070909; }
.v2-card-shadow img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; }
.v2-card-shadow .v2-hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; background: #070909; }
.v2-card-shadow::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #070909 0%, rgba(7, 9, 9, 0) 44px); pointer-events: none; z-index: 2; }
.v2-card-shadow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to bottom, rgba(7, 9, 9, 0) 0%, #070909 100%); pointer-events: none; z-index: 2; }

.v2-card-stack { position: relative; z-index: 3; margin-top: -32px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-card-hero { position: relative; padding: 20px 18px; border-radius: 20px; background: #121716; border: 1px solid rgba(104, 232, 184, 0.24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 10px; flex: none; overflow: hidden; }
.v2-card-mascot { position: absolute; right: 4px; top: 10px; width: 100px; height: 100px; object-fit: contain; display: block; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 98%); mask-image: radial-gradient(circle, #000 58%, transparent 98%); pointer-events: none; z-index: 1; }

.v2-card-bento3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; flex: none; }
.v2-card-stat { padding: 14px 8px; border-radius: 14px; background: #121716; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }

.v2-card-cta-btn { height: 52px; padding: 0 20px; border-radius: 26px; background: #68E8B8; color: #070909; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; display: flex; align-items: center; justify-content: center; gap: 8px; flex: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-card-cta-btn:active { transform: scale(0.97); opacity: 0.92; }
.v2-card-cta-btn.is-disabled { background: #121716; border: 1px solid rgba(255, 255, 255, 0.07); color: var(--dim); cursor: default; }
.v2-card-cta-btn.is-disabled:active { transform: none; opacity: 1; }

/* Вкладка «ИИ-гид» (Концепт 1: сцена с теневым маскотом из референса + мятная строка ввода + чипы + плотные 2x2 с крупными иконками, без backdrop-filter) */
.v2-ai-page { background: #0B0D0D; }
.v2-ai-scroll { padding: 10px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.v2-ai-stage { position: relative; z-index: 1; margin: -18px -14px 0; padding: 0 14px 2px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; flex: none; }
.v2-ai-stage-img { width: 282px; height: 198px; object-fit: contain; display: block; pointer-events: none; }

.v2-ai-inputbar { position: relative; z-index: 2; height: 54px; padding: 0 7px 0 18px; border-radius: 999px; background: #101A17; border: 1.5px solid rgba(104, 232, 184, 0.72); box-shadow: 0 0 18px rgba(104, 232, 184, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06); display: flex; align-items: center; gap: 10px; flex: none; }
.v2-ai-inputbar.is-muted { background: #101514; border-color: rgba(104, 232, 184, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.v2-ai-input { flex: 1; min-width: 0; border: 0; background: transparent; color: #ECF6F2; font-family: 'Golos Text', sans-serif; font-size: 16px; line-height: 1.3; padding: 0; }
.v2-ai-input::placeholder { color: #869E95; }
.v2-ai-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--mint); color: var(--bg-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-ai-send:active { transform: scale(0.95); opacity: 0.9; }
.v2-ai-send.is-muted { background: #182320; color: var(--mute); }

.v2-ai-chips { position: relative; z-index: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 14px; margin: 0 -14px; padding: 0 14px; flex: none; }
.v2-ai-chips::-webkit-scrollbar { display: none; }
.v2-ai-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; background: #111615; border: 1px solid rgba(255, 255, 255, 0.14); color: #E3EFEA; font-family: 'Golos Text', sans-serif; font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease; }
.v2-ai-chip:active { transform: scale(0.97); }

.v2-ai-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; flex: none; }
.v2-ai-bento { position: relative; z-index: 2; min-height: 138px; padding: 15px 15px 14px; border-radius: 18px; background: #101414; border: 1px solid rgba(255, 255, 255, 0.11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; text-align: left; color: var(--ink); overflow: hidden; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-ai-bento:active { transform: scale(0.97); }
.v2-ai-wm { position: absolute; right: 8px; bottom: 6px; width: 72px; height: 72px; object-fit: contain; opacity: 0.72; filter: brightness(1.38) contrast(1.06); mix-blend-mode: lighten; pointer-events: none; z-index: 0; }
@media (hover: hover) and (pointer: fine) {
  .v2-ai-bento:hover, .v2-ai-chip:hover { border-color: rgba(255, 255, 255, 0.22); background: #151A1A; }
}

/* Компактная Bento-шторка модуля (dirSheet: ~39-42% высоты, стиль карточек Модулей/ИИ-гида, наши иконки и маскот, без backdrop-filter) */
.v2-dir-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(var(--page-h, 844px) - 80px); box-sizing: border-box; padding: 8px 14px calc(20px + max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px))); background: #0B0D0D; border-top: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.65); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; z-index: 5; transition: transform var(--dur-sheet) var(--ease-drawer); }
.v2-dir-head { display: flex; align-items: center; gap: 11px; padding: 2px 2px 0; }
.v2-dir-icon { width: 46px; height: 46px; flex: none; object-fit: contain; display: block; mix-blend-mode: lighten; filter: brightness(1.42) contrast(1.06); pointer-events: none; }
.v2-dir-icon.is-rgba { width: 52px; height: 52px; mix-blend-mode: normal; filter: none; }
.v2-dir-card { padding: 12px 14px 13px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-dir-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.v2-dir-facts-plain { font-size: 11.5px; line-height: 1.2; color: #859A92; white-space: nowrap; }
.v2-dir-scales { display: flex; flex-direction: column; gap: 9px; }
.v2-dir-scales.is-dense { gap: 7px; }
.v2-dir-scale { display: flex; align-items: center; gap: 9px; }
.v2-dir-scale-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: rgba(133, 154, 146, 0.55); }
.v2-dir-scale-dot.is-done { background: #68E8B8; box-shadow: 0 0 6px rgba(104, 232, 184, 0.55); }
.v2-dir-scale-lbl { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.25; color: #DCEAE4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-dir-q { width: 11px; flex: none; text-align: right; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #7C928A; }
.v2-dir-q.is-done { color: #68E8B8; }

.v2-dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; flex: none; }
.v2-dir-cta-mint, .v2-dir-cta-shadow, .v2-dir-cta-full, .v2-dir-cta-flat { position: relative; overflow: hidden; text-decoration: none; font-family: 'Golos Text', sans-serif; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease, opacity var(--dur-press) ease; }
.v2-dir-cta-mint:active, .v2-dir-cta-shadow:active, .v2-dir-cta-full:active, .v2-dir-cta-flat:active { transform: scale(0.97); }

.v2-dir-cta-mint { min-height: 98px; width: 100%; border: 0; padding: 13px 13px 12px; border-radius: 16px; background: var(--mint); color: var(--bg-deep); display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.v2-dir-cta-shadow { min-height: 98px; width: 100%; padding: 13px 13px 12px; border-radius: 16px; background: var(--surface-card); border: 1px solid rgba(104, 232, 184, 0.26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); color: var(--ink); display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; text-align: left; }
.v2-dir-mascot { position: absolute; right: 3px; bottom: 0; width: 58px; height: 58px; object-fit: contain; mix-blend-mode: lighten; opacity: 0.88; pointer-events: none; z-index: 0; }

.v2-dir-cta-full { height: 50px; width: 100%; border: 0; padding: 0 16px; border-radius: 16px; background: var(--mint); color: var(--bg-deep); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em; }
.v2-dir-cta-flat { height: 50px; width: 100%; padding: 0 14px; border-radius: 16px; background: var(--surface-card); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; }
.v2-dir-cta-flat.is-mint { border-color: rgba(104, 232, 184, 0.30); color: #68E8B8; }
@media (hover: hover) and (pointer: fine) {
  .v2-dir-cta-shadow:hover { border-color: rgba(104, 232, 184, 0.44); background: #141918; }
  .v2-dir-cta-flat:hover { border-color: rgba(255, 255, 255, 0.18); background: #151919; }
}

/* Двухэкранный результат (Экран 1: 6-рядный асимметричный Bento-портрет + нижний док; Экран 2: Полный разбор; строго без backdrop-filter) */
.v2-res-page { background: #0B0D0D; }
.v2-res-back-pill { margin-left: auto; min-height: 44px; padding: 0 12px; border: 1px solid rgba(104, 232, 184, 0.28); border-radius: 999px; background: #111A17; color: var(--mint); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; flex: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-res-back-pill:active { transform: scale(0.95); }
.v2-res-foot-btn { position: relative; height: 100%; padding: 0; background: transparent; cursor: pointer; border-radius: 16px; text-decoration: none; font-family: 'Golos Text', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.v2-res-foot-btn:active { transform: scale(0.95); }
.v2-res-foot-btn svg { width: 24px; height: 24px; flex: none; display: block; }
.v2-res-foot-btn.is-ai { background: #161411; border-color: rgba(242, 196, 128, 0.40); color: #F5CE8E; box-shadow: 0 0 14px rgba(242, 196, 128, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.v2-res-foot-btn.is-prof { background: #13211D; border-color: rgba(104, 232, 184, 0.30); color: #68E8B8; }
.v2-res-foot.is-demo { grid-template-columns: 0.9fr 1.35fr; }
.v2-res-foot-btn.is-demo-back { flex-direction: row; gap: 6px; background: #111515; border-color: rgba(255, 255, 255, 0.12); color: #C5D5CF; font-size: 13px; }
.v2-res-foot-btn.is-demo-cta { flex-direction: row; gap: 7px; background: #68E8B8; border-color: #68E8B8; color: #070909; font-size: 13.5px; font-weight: 700; box-shadow: 0 0 18px rgba(104, 232, 184, 0.24); }
.v2-res-foot-btn.is-demo-back svg, .v2-res-foot-btn.is-demo-cta svg { width: 16px; height: 16px; }
.v2-demo-banner { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #111514; border-bottom: 1px solid rgba(253, 186, 116, 0.24); }
.v2-demo-pill { flex: none; padding: 2px 7px; border-radius: 999px; background: rgba(253, 186, 116, 0.14); border: 1px solid rgba(253, 186, 116, 0.42); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--amber); }
.v2-demo-txt { flex: 1; min-width: 0; font-size: 11.5px; line-height: 1.25; color: #B4C4BE; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.v2-res-full-scroll { padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.v2-res-pane-hidden { display: none; }

.v2-rb-open-full { height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: #68E8B8; color: #070909; font-family: 'Golos Text', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; flex: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-rb-open-full:active { transform: scale(0.97); opacity: 0.92; }

/* Экран «Вы двое» — свободная компоновка «Синхронизация» без Bento-коробок (строго без backdrop-filter) */
.v2-cmp-scroll-landing { padding: 12px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.v2-cmpr-scroll { display: block; padding: 12px 14px 28px; -webkit-overflow-scrolling: touch; }
.v2-cmpr-scroll > .v2-topbar { margin-bottom: 10px; }
.v2-cmp-landing { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 14px; }
.v2-cmp-hero { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: auto 0; }
.v2-cmp-stage { position: relative; width: 100%; max-width: 358px; display: flex; align-items: center; justify-content: center; }
.v2-cmp-art { width: 100%; height: auto; max-height: 238px; object-fit: contain; display: block; pointer-events: none; }

.v2-cmp-teaser { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: #9BB0A8; }
.v2-cmp-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(104, 232, 184, 0.55); flex: none; }
.v2-cmp-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.v2-cmp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: #68E8B8; text-transform: uppercase; }
.v2-cmp-title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #F0F8F5; text-wrap: balance; }
.v2-cmp-sub { margin: 0; max-width: 312px; font-size: 14px; line-height: 1.5; color: #A2B5AE; text-wrap: balance; }

.v2-cmp-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; flex: none; padding-bottom: 2px; }
.v2-cmp-btn-primary { width: 100%; height: 52px; padding: 0 18px; border: 0; border-radius: 16px; background: #68E8B8; color: #070909; font-family: 'Golos Text', sans-serif; font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 0 22px rgba(104, 232, 184, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.34); user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-cmp-btn-primary:active { transform: scale(0.97); opacity: 0.92; }
.v2-cmp-btn-primary:disabled { opacity: 0.6; cursor: default; }
.v2-cmp-btn-shadow { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(242, 196, 128, 0.42); border-radius: 15px; background: rgba(242, 196, 128, 0.04); color: #E8E3D8; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-cmp-btn-shadow:active { transform: scale(0.97); background: rgba(242, 196, 128, 0.10); }
.v2-cmp-eclipse { font-size: 15px; line-height: 1; color: #F5CE8E; }
.v2-cmp-demo-pill { padding: 2px 7px; border-radius: 999px; background: rgba(242, 196, 128, 0.14); border: 1px solid rgba(242, 196, 128, 0.30); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: #F5CE8E; }
.v2-cmp-hint { margin: -2px auto 0; max-width: 304px; font-size: 12px; line-height: 1.4; color: #859891; text-align: center; text-wrap: balance; }
.v2-cmp-btn-ghost { width: 100%; height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: transparent; color: #C9D8D2; font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; }
.v2-cmp-link-wrap { width: 100%; display: flex; flex-direction: column; gap: 10px; flex: none; padding-bottom: 4px; }
.v2-cmp-link-box { padding: 11px 12px; background: #111515; border: 1px solid rgba(104, 232, 184, 0.30); border-radius: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; word-break: break-all; color: #68E8B8; text-align: center; }
.v2-cmp-link-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2-cmp-btn-revoke { height: 46px; border: 1px solid rgba(232, 176, 160, 0.34); border-radius: 16px; background: transparent; color: var(--danger); font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; touch-action: manipulation; }

/* Экран результата сравнения пары «Вы двое» — крупные маскоты 2x + биполярные шкалы + ритмичная сетка 1 / 2 / 1 (без backdrop-filter) */
.v2-cmpr-wrap { display: flex; flex-direction: column; gap: 10px; flex: none; padding-bottom: 6px; }
.v2-cmpr-hero { padding: 12px 14px 13px; border-radius: 18px; background: #111414; border: 1px solid rgba(104, 232, 184, 0.30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-cmpr-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-cmpr-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #68E8B8; text-transform: uppercase; }
.v2-cmpr-eyebrow.is-muted { color: #8CA099; }
.v2-cmpr-duel { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 0; }
.v2-cmpr-ava { position: relative; width: 136px; height: 136px; flex: 1; max-width: 142px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.v2-cmpr-ava.is-you { background: radial-gradient(circle, rgba(110, 231, 183, 0.28) 0%, rgba(110, 231, 183, 0.06) 52%, rgba(110, 231, 183, 0) 74%); }
.v2-cmpr-ava.is-other { background: radial-gradient(circle, rgba(253, 186, 116, 0.32) 0%, rgba(253, 186, 116, 0.08) 52%, rgba(253, 186, 116, 0) 74%); }
.v2-cmpr-ava img { width: 132px; height: 132px; max-width: 100%; max-height: 100%; object-fit: contain; display: block; mix-blend-mode: lighten; }
.v2-cmpr-ava.is-other img { filter: hue-rotate(-126deg) saturate(1.22) brightness(0.96) drop-shadow(0 0 12px rgba(253, 186, 116, 0.34)); }
.v2-cmpr-ava.is-other.is-shadow-mode img { opacity: 0.88; }
.v2-cmpr-spark { width: 34px; height: 34px; flex: none; display: block; filter: drop-shadow(0 0 8px rgba(253, 186, 116, 0.28)); }
.v2-cmpr-mid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; text-align: center; }
.v2-cmpr-headline { font-family: 'IBM Plex Mono', monospace; font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: 0.04em; color: #EFF9F5; white-space: nowrap; }
.v2-cmpr-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #192020; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 11px; font-weight: 600; color: #D2E1DB; white-space: nowrap; }
.v2-cmpr-summary { margin: 0; font-size: 12.6px; line-height: 1.42; color: #B4C6BF; text-align: center; text-wrap: balance; }

.v2-cmpr-scales { padding: 12px 14px 13px; border-radius: 18px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 11px; flex: none; }
.v2-cmpr-legend { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.v2-cmpr-legend .is-you { color: var(--mint); }
.v2-cmpr-legend .is-other { color: var(--amber); }
.v2-cmpr-ax { display: flex; flex-direction: column; gap: 4px; flex: none; }
.v2-cmpr-ax-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-cmpr-ax-lbl { font-size: 12px; font-weight: 500; color: #D5E2DD; white-space: nowrap; }
.v2-cmpr-ax-lbl.is-right { text-align: right; }
.v2-cmpr-track { position: relative; height: 20px; }
.v2-cmpr-rail { position: absolute; left: 0; right: 0; top: 7px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.v2-cmpr-midtick { position: absolute; left: 50%; top: 5px; width: 1px; height: 10px; background: rgba(255, 255, 255, 0.14); }
.v2-cmpr-bridge { position: absolute; top: 7px; height: 6px; border-radius: 999px; opacity: 0.94; }
.v2-cmpr-dot { position: absolute; top: 3px; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); border: 2px solid #0E1212; box-sizing: border-box; }
.v2-cmpr-dot.is-you { background: var(--mint); box-shadow: 0 0 10px rgba(110, 231, 183, 0.58); z-index: 2; }
.v2-cmpr-dot.is-other { background: var(--amber); box-shadow: 0 0 10px rgba(253, 186, 116, 0.58); z-index: 1; }

.v2-cmpr-cards { display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-cmpr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex: none; }
.v2-cmpr-card { position: relative; overflow: hidden; padding: 12px 13px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 5px; flex: none; }
.v2-cmpr-card.is-coral { border-color: rgba(253, 186, 116, 0.28); background: radial-gradient(circle at 0% 0%, rgba(253, 186, 116, 0.12), transparent 58%), #121314; }
.v2-cmpr-card.is-amber { border-color: rgba(242, 196, 128, 0.24); background: radial-gradient(circle at 0% 0%, rgba(242, 196, 128, 0.10), transparent 62%), #121313; }
.v2-cmpr-card.is-mint { border-color: rgba(110, 231, 183, 0.24); background: radial-gradient(circle at 0% 0%, rgba(110, 231, 183, 0.10), transparent 62%), #101514; }
.v2-cmpr-card.is-violet { border-color: rgba(184, 164, 242, 0.24); background: radial-gradient(circle at 0% 0%, rgba(184, 164, 242, 0.11), transparent 58%), #121216; }
.v2-cmpr-card.is-compact { padding: 11px 12px; }
.v2-cmpr-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.v2-cmpr-card-title { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; line-height: 1.2; color: #ECF6F2; }
.v2-cmpr-ico { font-size: 13px; line-height: 1; }
.v2-cmpr-axis-pill { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: #A6B8B1; flex: none; }
.v2-cmpr-card-p { margin: 0; font-size: 12.6px; line-height: 1.42; color: #C2D0CA; }
.v2-cmpr-card.is-compact .v2-cmpr-card-p { font-size: 12px; line-height: 1.38; }

.v2-cmpr-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 6px; flex: none; }
.v2-cmpr-bridge-copy { margin: 0; max-width: 310px; font-size: 12.8px; line-height: 1.44; color: #A6B9B2; text-align: center; text-wrap: balance; }
.v2-cmpr-cta .v2-cmp-btn-primary { flex: none; }
.v2-cmpr-teaser { padding: 14px; border-radius: 18px; background: #111816; border: 1px solid rgba(104, 232, 184, 0.28); display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-cmpr-teaser-h { font-size: 14.5px; font-weight: 700; color: #ECF6F2; }
.v2-cmpr-teaser-p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #9DB1AA; }

/* Экран «Мой паспорт» — вертикальный журнальный постер-артефакт без внутренних коробок и таббара (строго без backdrop-filter) */
.v2-pass-scroll { display: block; padding: 10px 14px 22px; -webkit-overflow-scrolling: touch; }
.v2-pass-scroll > .v2-topbar { margin-bottom: 10px; }
.v2-pass-empty { padding: 18px 16px; border-radius: 18px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.09); display: flex; flex-direction: column; gap: 12px; }
.v2-pass-wrap { display: flex; flex-direction: column; gap: 12px; flex: none; }

.v2-pass-poster { position: relative; overflow: hidden; min-height: 584px; padding: 14px 16px 16px; border-radius: 24px; background: radial-gradient(circle at 82% 8%, rgba(110, 231, 183, 0.09), transparent 44%), radial-gradient(circle at 14% 88%, rgba(253, 186, 116, 0.07), transparent 46%), linear-gradient(155deg, #131918 0%, #0D1010 52%, #0A0C0C 100%); border: 1px solid rgba(110, 231, 183, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.52); display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; flex: none; }
.v2-pass-stage { position: relative; width: 100%; height: 242px; display: flex; align-items: center; justify-content: center; flex: none; }
.v2-pass-spot { position: absolute; left: 50%; top: 50%; width: 244px; height: 244px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(110, 231, 183, 0.26) 0%, rgba(110, 231, 183, 0.08) 44%, rgba(110, 231, 183, 0) 72%); pointer-events: none; z-index: 1; }
.v2-pass-mascot { position: relative; z-index: 2; width: 214px; height: 214px; object-fit: contain; display: block; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 100%); mask-image: linear-gradient(to bottom, #000 66%, transparent 100%); pointer-events: none; }

.v2-pass-body { position: relative; z-index: 3; width: 100%; margin-top: -28px; display: flex; flex-direction: column; align-items: center; gap: 11px; flex: 1; justify-content: center; }
.v2-pass-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: rgba(18, 28, 25, 0.88); border: 1px solid rgba(110, 231, 183, 0.34); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #9AEFCF; white-space: nowrap; }
.v2-pass-pill.is-gold { background: linear-gradient(135deg, rgba(246, 206, 118, 0.26), rgba(204, 152, 48, 0.14)); border-color: rgba(246, 206, 118, 0.78); color: #F7D47C; box-shadow: 0 0 14px rgba(246, 206, 118, 0.24); }
.v2-pass-hero-title { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.08; letter-spacing: 0.02em; color: #F2FBF7; text-wrap: balance; }
.v2-pass-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 7px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.05em; color: #94ABA3; line-height: 1.35; }
.v2-pass-stats b { color: var(--mint); font-weight: 700; }
.v2-pass-sdot { color: rgba(110, 231, 183, 0.45); }
.v2-pass-quote { margin: 4px 0 2px; max-width: 306px; font-size: 14.5px; font-weight: 500; font-style: italic; line-height: 1.44; color: #E2EFEA; text-wrap: balance; }
.v2-pass-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding-top: 2px; }
.v2-pass-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 11.8px; font-weight: 600; line-height: 1.2; }
.v2-pass-chip.is-mint { background: rgba(110, 231, 183, 0.09); border: 1px solid rgba(110, 231, 183, 0.24); color: #B8F5DC; }
.v2-pass-chip.is-warm { background: rgba(253, 186, 116, 0.11); border: 1px solid rgba(253, 186, 116, 0.34); color: var(--amber); box-shadow: 0 0 12px rgba(253, 186, 116, 0.12); }

.v2-pass-brand-badge { position: relative; z-index: 3; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.05em; color: #8FA49C; }
.v2-pass-brand-badge b { color: #DCEBE5; font-weight: 600; letter-spacing: 0.14em; }

.v2-pass-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-pass-btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex: none; }
.v2-pass-btn-mint { height: 48px; padding: 0 12px; border: 0; border-radius: 15px; background: var(--mint); color: #070909; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; box-shadow: 0 0 18px rgba(110, 231, 183, 0.24); flex: none; touch-action: manipulation; }
.v2-pass-btn-ghost { height: 48px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 15px; background: #111515; color: #ECF6F2; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; flex: none; touch-action: manipulation; }
.v2-pass-btn-video { height: 48px; width: 100%; padding: 0 16px; border: 1px solid rgba(110, 231, 183, 0.34); border-radius: 15px; background: #101A17; color: var(--mint); font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; flex: none; touch-action: manipulation; }
.v2-pass-btn-mint:active, .v2-pass-btn-ghost:active, .v2-pass-btn-video:active { transform: scale(0.97); opacity: 0.92; }

/* Экран «Дейлик» (Утренний заряд / Вечерний чек-ин / День закрыт, без нижнего таббара, строго без backdrop-filter) */
.v2-dl-scroll { display: block; padding: 10px 14px 28px; -webkit-overflow-scrolling: touch; }
.v2-dl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 2px 12px; }
.v2-dl-head-left { display: flex; flex-direction: column; gap: 2px; }
.v2-dl-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--mint); text-transform: uppercase; }
.v2-dl-h1 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; color: #ECF6F2; }
.v2-dl-counters { display: flex; align-items: center; gap: 7px; flex: none; }
.v2-dl-cnt { min-height: 44px; padding: 0 12px; border-radius: 999px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.v2-dl-cnt.is-fire { background: rgba(253, 186, 116, 0.11); border: 1px solid rgba(253, 186, 116, 0.30); color: var(--amber); }
.v2-dl-cnt.is-gem { min-width: 44px; justify-content: center; background: rgba(110, 231, 183, 0.10); border: 1px solid rgba(110, 231, 183, 0.34); color: var(--mint); cursor: pointer; touch-action: manipulation; }
.v2-dl-cnt.is-gem:active { transform: scale(0.95); }

.v2-dl-wrap { display: flex; flex-direction: column; gap: 12px; flex: none; }
.v2-dl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 2px 0; flex: none; }
.v2-dl-day { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.v2-dl-dot { width: 32px; height: 32px; border-radius: 50%; background: #131818; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: transparent; }
.v2-dl-day.is-done .v2-dl-dot { background: rgba(110, 231, 183, 0.16); border-color: rgba(110, 231, 183, 0.65); color: var(--mint); box-shadow: 0 0 10px rgba(110, 231, 183, 0.22); }
.v2-dl-day.is-today:not(.is-done) .v2-dl-dot { border: 1.5px solid var(--mint); background: #111D19; box-shadow: 0 0 12px rgba(110, 231, 183, 0.28); }
.v2-dl-dlbl { font-size: 12px; font-weight: 600; color: var(--dim); }
.v2-dl-day.is-today .v2-dl-dlbl { color: #ECF6F2; }
.v2-dl-day.is-done .v2-dl-dlbl { color: #9AD9BE; }

.v2-dl-cryst-tip { padding: 10px 12px; border-radius: 12px; background: #101A17; border: 1px solid rgba(110, 231, 183, 0.28); font-size: 12px; line-height: 1.42; color: #C2D8CF; flex: none; }
.v2-dl-cryst-tip b { color: var(--mint); }
.v2-dl-support { padding: 12px 14px; border-radius: 14px; background: #1A1514; border: 1px solid rgba(232, 176, 160, 0.36); font-size: 12.8px; line-height: 1.44; color: #ECEFEF; flex: none; }

.v2-dl-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 4px; border-radius: 999px; background: #111515; border: 1px solid rgba(255, 255, 255, 0.08); flex: none; }
.v2-dl-tab { min-height: 44px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--mute); font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; touch-action: manipulation; transition: background 150ms ease, color 140ms ease, border-color 150ms ease; }
.v2-dl-tab.is-on { background: #172420; border-color: rgba(110, 231, 183, 0.30); color: var(--mint); }

.v2-dl-pane { display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-dl-pane.v2-res-pane-hidden { display: none; }
.v2-dl-card { padding: 16px; border-radius: 20px; background: #111515; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 12px; flex: none; }
.v2-dl-card.is-morning { background: radial-gradient(circle at 0% 0%, rgba(110, 231, 183, 0.12), transparent 56%), #111515; border-color: rgba(110, 231, 183, 0.28); }
.v2-dl-card.is-evening { background: radial-gradient(circle at 100% 0%, rgba(253, 186, 116, 0.10), transparent 54%), #111415; border-color: rgba(253, 186, 116, 0.22); gap: 14px; }
.v2-dl-card.is-err { background: #1A1514; border-color: rgba(232, 176, 160, 0.32); }
.v2-dl-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.v2-dl-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--mint); text-transform: uppercase; }
.v2-dl-eyebrow.is-warm { color: var(--amber); }
.v2-dl-type-pill { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); font-size: 12px; font-weight: 600; color: #B8CBC3; }
.v2-dl-step-hint { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: var(--amber); }
.v2-dl-qtitle { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.2; color: #EFF9F5; }
.v2-dl-qtext { margin: 0; font-size: 13.8px; line-height: 1.48; color: #C2D2CC; }

.v2-dl-focus-ok { display: flex; flex-direction: column; gap: 10px; }
.v2-dl-ok-pill { height: 42px; border-radius: 13px; background: rgba(110, 231, 183, 0.10); border: 1px solid rgba(110, 231, 183, 0.30); color: var(--mint); font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.v2-dl-bubble { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); font-size: 12.5px; line-height: 1.4; color: #C2D2CC; }
.v2-dl-bubble img { width: 40px; height: 40px; flex: none; object-fit: contain; display: block; }

.v2-dl-teaser { width: 100%; padding: 13px 14px; border-radius: 15px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.08); color: #8FA39B; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; touch-action: manipulation; }
.v2-dl-teaser-go { color: var(--amber); font-weight: 600; flex: none; }

.v2-dl-block { display: flex; flex-direction: column; gap: 8px; }
.v2-dl-step-q { font-size: 13.8px; font-weight: 700; line-height: 1.25; color: #ECF6F2; }
.v2-dl-step-sub { font-size: 12px; line-height: 1.38; color: #8FA39B; margin-top: -4px; }
.v2-dl-catch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v2-dl-catch { min-height: 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.10); background: #141919; color: #B8C9C2; font-size: 12.5px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.v2-dl-catch.is-on { background: rgba(110, 231, 183, 0.14); border-color: rgba(110, 231, 183, 0.55); color: var(--mint); }
.v2-dl-mood-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.v2-dl-mbtn { height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.10); background: #141919; color: #DCE9E4; font-family: 'IBM Plex Mono', monospace; font-size: 16px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.v2-dl-mbtn.is-on { background: rgba(110, 231, 183, 0.16); border-color: var(--mint); color: var(--mint); box-shadow: 0 0 12px rgba(110, 231, 183, 0.20); }
.v2-dl-mood-poles { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--dim); margin-top: -3px; padding: 0 2px; }
.v2-dl-tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-dl-tag { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.10); background: #141919; color: #C2D2CC; font-size: 12.5px; font-weight: 500; cursor: pointer; touch-action: manipulation; }
.v2-dl-tag.is-on { background: rgba(110, 231, 183, 0.15); border-color: rgba(110, 231, 183, 0.55); color: var(--mint); font-weight: 600; }

.v2-dl-done { padding: 16px; border-radius: 20px; background: radial-gradient(circle at 12% 10%, rgba(110, 231, 183, 0.14), transparent 52%), #101615; border: 1px solid rgba(110, 231, 183, 0.32); display: flex; flex-direction: column; gap: 12px; flex: none; }
.v2-dl-done-top { display: flex; align-items: center; gap: 12px; }
.v2-dl-done-ava { width: 62px; height: 62px; flex: none; object-fit: contain; display: block; filter: drop-shadow(0 0 12px rgba(110, 231, 183, 0.30)); }
.v2-dl-done-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v2-dl-done-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-dl-mini-chip { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.10); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: #D4E4DE; }
.v2-dl-insight { margin: 0; font-size: 14px; line-height: 1.48; color: #EAF5F0; }
.v2-dl-timer { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #899F97; }
.v2-dl-btn-ai { height: 48px; width: 100%; border-radius: 15px; border: 1px solid rgba(242, 196, 128, 0.42); background: #161411; color: #F5CE8E; font-family: 'Golos Text', sans-serif; font-size: 13.8px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 16px rgba(242, 196, 128, 0.12); flex: none; touch-action: manipulation; }
.v2-dl-edit-link { border: 0; background: transparent; min-height: 44px; padding: 0 12px; color: var(--mute); font-size: 12.5px; font-weight: 500; cursor: pointer; align-self: center; }

.v2-dl-foot-strip { padding: 11px 14px; border-radius: 14px; background: var(--surface-card); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--mute); flex: none; }
.v2-dl-comm-val { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--mint); }
.v2-dl-rem { padding: 12px 14px; border-radius: 14px; background: var(--surface-card); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.v2-dl-rem.is-blocked { border-color: rgba(253, 186, 116, 0.34); background: #181412; }
.v2-dl-rem-btn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(110, 231, 183, 0.42); background: transparent; color: var(--mint); font-size: 12px; font-weight: 700; cursor: pointer; flex: none; touch-action: manipulation; }
.v2-dl-rem-btn.is-on { border-color: rgba(255, 255, 255, 0.16); color: var(--danger); }

/* Экран результата «Типы личности» — двусторонняя коллекционная 3D-карта (Шаг 2: каркас, переворот, 3 свайп-грани; строго без backdrop-filter) */
.v2-res-page.is-tc-page { background: #070909; }
.v2-res-page.is-tc-page .v2-res-bar { background: #070909; border-bottom-color: rgba(255, 255, 255, 0.05); }
.v2-tc-top-share { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: #101414; color: #A8BDB6; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-tc-top-share:active { transform: scale(0.95); }
.v2-tc-pane { position: relative; z-index: 1; flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; overflow: hidden; background: #070909; }
.v2-tc-pane.v2-res-pane-hidden { display: none; }
.v2-tc-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 16px 10px; gap: 10px; }
.v2-tc-scene { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.v2-tc-flash { position: absolute; inset: -16px; border-radius: 36px; background: radial-gradient(circle, rgba(110, 231, 183, 0.42) 0%, rgba(110, 231, 183, 0.14) 38%, rgba(110, 231, 183, 0) 70%); pointer-events: none; opacity: 0; z-index: 6; }
.v2-tc-flash.is-flashing { animation: v2TcFlash 540ms var(--ease-out) forwards; }

/* Двухфазный переворот (0->90deg смена грани -90deg->none): обе грани предразложены (без reflow на стыке), в покое transform: none (резкий вектор на Desktop) и visibility: hidden у скрытой стороны (ноль просвечивания на iOS WKWebView) */
.v2-tc-card { position: relative; width: 100%; max-width: 356px; height: 100%; max-height: 590px; }
.v2-tc-card.is-flipping { will-change: transform, opacity; }
@keyframes v2TcFlipOut {
  from { transform: perspective(1200px) rotateY(0deg) scale(1); opacity: 1; }
  to { transform: perspective(1200px) rotateY(90deg) scale(0.965); opacity: 0.90; }
}
@keyframes v2TcFlipIn {
  from { transform: perspective(1200px) rotateY(-90deg) scale(0.965); opacity: 0.90; }
  to { transform: perspective(1200px) rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes v2TcUnsealCharge {
  0% { transform: scale(1); }
  55% { transform: scale(0.975); }
  100% { transform: scale(1.028); }
}
@keyframes v2TcFlash {
  0% { opacity: 0; }
  28% { opacity: 0.85; }
  100% { opacity: 0; }
}
@keyframes v2TcSealPulse {
  0%, 100% { opacity: 0.56; }
  50% { opacity: 0.96; }
}
@keyframes v2TcPeek {
  0% { transform: perspective(1200px) rotateY(0deg); }
  45% { transform: perspective(1200px) rotateY(5.5deg); }
  100% { transform: perspective(1200px) rotateY(0deg); }
}
@keyframes v2TcFoilPeek {
  0% { transform: translate3d(-14%, -8%, 0); opacity: 0.62; }
  50% { transform: translate3d(14%, 8%, 0); opacity: 0.95; }
  100% { transform: translate3d(0%, 0%, 0); opacity: 0.72; }
}
@keyframes v2TcFacetNext {
  from { opacity: 0; transform: translate3d(16px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes v2TcFacetPrev {
  from { opacity: 0; transform: translate3d(-16px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.v2-tc-card.is-unsealing { animation: v2TcUnsealCharge 220ms var(--ease-out) forwards; }
.v2-tc-card.is-flip-out { animation: v2TcFlipOut 170ms var(--ease-out) forwards; }
.v2-tc-card.is-flip-in { animation: v2TcFlipIn 230ms var(--ease-out) forwards; }
.v2-tc-card.is-peeking { animation: v2TcPeek 1150ms var(--ease-in-out) both; }
.v2-tc-card.is-peeking .v2-tc-foil { animation: v2TcFoilPeek 1150ms var(--ease-in-out) both; }
.v2-tc-card.is-rm-fade { animation: v2FadeIn var(--dur-fast) ease both; }
.v2-tc-face { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; }
.v2-tc-front { opacity: 1; visibility: visible; pointer-events: auto; background: linear-gradient(155deg, #131B19 0%, #0B0F0F 48%, #090C0C 100%); border: 1px solid rgba(110, 231, 183, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.62); padding: 20px 20px 14px; justify-content: space-between; align-items: center; text-align: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.v2-tc-front.is-warm { background: linear-gradient(155deg, #171310 0%, #0D0B0B 50%, #090909 100%); border-color: rgba(253, 186, 116, 0.42); }
.v2-tc-front.is-warm .v2-tc-inner-border { border-color: rgba(253, 186, 116, 0.22); }
.v2-tc-front.is-warm .v2-tc-art-frame { border-color: rgba(253, 186, 116, 0.16); }
.v2-tc-front.is-warm .v2-tc-spot { background: radial-gradient(circle, rgba(253, 186, 116, 0.28) 0%, rgba(253, 186, 116, 0.08) 46%, rgba(253, 186, 116, 0) 72%); }
.v2-tc-front.is-warm .v2-tc-foil { background: linear-gradient(128deg, transparent 36%, rgba(253, 186, 116, 0.14) 46%, rgba(255, 236, 212, 0.22) 50%, rgba(253, 186, 116, 0.10) 54%, transparent 64%); }
.v2-tc-card.is-flipped .v2-tc-front,
.v2-tc-card.is-sealed .v2-tc-front,
.v2-tc-card.is-sealed .v2-tc-back { opacity: 0; visibility: hidden; pointer-events: none; }
.v2-tc-seal { z-index: 5; opacity: 0; visibility: hidden; pointer-events: none; background: linear-gradient(155deg, #111817 0%, #090C0C 52%, #070909 100%); border: 1px solid rgba(110, 231, 183, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px rgba(0, 0, 0, 0.68); padding: 20px 20px 22px; justify-content: space-between; align-items: center; text-align: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.v2-tc-card.is-sealed .v2-tc-seal { opacity: 1; visibility: visible; pointer-events: auto; }
.v2-tc-card.is-unsealing .v2-tc-seal { border-color: rgba(110, 231, 183, 0.85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 36px rgba(110, 231, 183, 0.28); }
.v2-tc-seal-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(12, 18, 17, 0.88); border: 1px solid rgba(110, 231, 183, 0.34); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--mint); }
.v2-tc-seal-core { position: relative; z-index: 2; width: 100%; flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.v2-tc-seal-mist { position: absolute; left: 50%; top: 50%; width: 228px; height: 228px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(110, 231, 183, 0.28) 0%, rgba(110, 231, 183, 0.08) 46%, rgba(110, 231, 183, 0) 72%); pointer-events: none; animation: v2TcSealPulse 2.6s ease-in-out infinite; }
.v2-tc-seal-mark { position: relative; z-index: 2; width: 122px; height: 122px; pointer-events: none; }
.v2-tc-seal-foot { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.v2-tc-seal-stamp { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(110, 231, 183, 0.12); border: 1px solid rgba(110, 231, 183, 0.38); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--mint); }
.v2-tc-seal-cta { font-size: 17px; font-weight: 800; letter-spacing: 0.04em; color: #F4FBF8; }
.v2-tc-seal-sub { font-size: 12px; color: #7F948D; }
.v2-tc-foil { position: absolute; inset: -65%; background: linear-gradient(128deg, transparent 36%, rgba(110, 231, 183, 0.16) 46%, rgba(215, 255, 240, 0.24) 50%, rgba(110, 231, 183, 0.12) 54%, transparent 64%); pointer-events: none; z-index: 4; opacity: 0.72; }
.v2-tc-inner-border { position: absolute; inset: 9px; border-radius: 19px; border: 1px solid rgba(110, 231, 183, 0.24); pointer-events: none; z-index: 3; }

.v2-tc-head { position: relative; z-index: 5; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-tc-serial { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--dim); }
.v2-tc-rare { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(12, 18, 17, 0.86); border: 1px solid rgba(110, 231, 183, 0.30); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #DDF0E9; white-space: nowrap; }
.v2-tc-rare.is-gold { background: linear-gradient(135deg, rgba(246, 206, 118, 0.28), rgba(204, 152, 48, 0.14)); border-color: rgba(246, 206, 118, 0.80); color: #F7D47C; box-shadow: 0 0 14px rgba(246, 206, 118, 0.26); }

.v2-tc-hero { position: relative; z-index: 2; width: 100%; flex: 1; min-height: 190px; display: flex; align-items: center; justify-content: center; margin: 4px 0; }
.v2-tc-bg-geom { position: absolute; left: 50%; top: 50%; width: 276px; height: 276px; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.v2-tc-art-frame { position: absolute; left: 10px; right: 10px; top: 22px; bottom: 14px; border-radius: 16px; border: 1px solid rgba(110, 231, 183, 0.16); pointer-events: none; z-index: 1; }
.v2-tc-spot { position: absolute; left: 50%; top: 50%; width: 236px; height: 236px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(110, 231, 183, 0.34) 0%, rgba(110, 231, 183, 0.10) 44%, rgba(110, 231, 183, 0) 72%); pointer-events: none; z-index: 1; }
.v2-tc-mascot { position: relative; z-index: 2; width: 236px; height: 236px; max-height: 100%; display: block; background-position: center center; background-repeat: no-repeat; background-size: contain; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); pointer-events: none; }
.v2-tc-ennea-art { position: relative; z-index: 2; width: 238px; height: 238px; max-height: 100%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.v2-tc-ennea-svg { width: 100%; height: 100%; max-width: 238px; max-height: 238px; display: block; overflow: visible; }
.v2-tc-bp-art { position: relative; z-index: 2; width: 224px; height: 224px; max-height: 100%; aspect-ratio: 1 / 1; display: block; background-image: url('design/icons/bp_sheet.webp?v=2c9e9d59'); background-size: 400% 300%; background-repeat: no-repeat; pointer-events: none; }
.v2-tc-cog-art { position: relative; z-index: 2; width: 224px; height: 224px; max-height: 100%; aspect-ratio: 1 / 1; display: block; background-image: url('design/icons/cog_sheet.webp?v=6c20e437'); background-size: 200% 200%; background-repeat: no-repeat; pointer-events: none; }
.v2-tc-dt-art { position: relative; z-index: 2; width: 224px; height: 224px; max-height: 100%; aspect-ratio: 1 / 1; display: block; background-image: url('design/icons/dt_sheet.webp?v=1e63ced8'); background-size: 200% 200%; background-repeat: no-repeat; pointer-events: none; }
.v2-tc-sheet-art { position: relative; z-index: 2; width: 224px; height: 224px; max-height: 100%; aspect-ratio: 1 / 1; display: block; background-repeat: no-repeat; pointer-events: none; transition: opacity 220ms ease; }
.v2-tc-mascot, .v2-tc-bp-art, .v2-tc-cog-art, .v2-tc-dt-art { transition: opacity 220ms ease; }
.v2-tc-mascot.is-art-loading, .v2-tc-bp-art.is-art-loading, .v2-tc-cog-art.is-art-loading, .v2-tc-dt-art.is-art-loading, .v2-tc-sheet-art.is-art-loading { opacity: 0.12; }
.v2-tc-ms-art { background-image: url('design/icons/ms_sheet.webp?v=6766c449'); background-size: 300% 200%; }
.v2-tc-af-art { background-image: url('design/icons/af_sheet.webp?v=bd997ae9'); background-size: 200% 200%; }
.v2-tc-mv-art { background-image: url('design/icons/mv_sheet.webp?v=06ad7977'); background-size: 200% 200%; }
.v2-tc-at-art { background-image: url('design/icons/at_sheet.webp?v=16a39718'); background-size: 200% 200%; }
.v2-tc-cb-art { background-image: url('design/icons/cb_sheet.webp?v=b460616e'); background-size: 200% 200%; }

.v2-tc-front-copy { position: relative; z-index: 5; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 7px; padding-bottom: 6px; }
.v2-tc-title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.08; letter-spacing: 0.02em; color: #F4FBF8; text-wrap: balance; }
.v2-tc-hook { margin: 0; max-width: 288px; font-size: 13.4px; line-height: 1.42; color: #B4C7C0; text-wrap: balance; }
.v2-tc-flip-cue { position: relative; z-index: 5; padding: 5px 14px; border-radius: 999px; background: #0C1211; border: 1px solid rgba(110, 231, 183, 0.24); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: #9BB4AA; }

.v2-tc-back { opacity: 0; visibility: hidden; pointer-events: none; background-color: #0B0F0F; border: 1px solid rgba(110, 231, 183, 0.34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 18px 40px rgba(0, 0, 0, 0.64); padding: 14px 16px 12px; justify-content: space-between; cursor: pointer; user-select: none; -webkit-user-select: none; transition: border-color 280ms ease; color: var(--mint); }
.v2-tc-card.is-flipped .v2-tc-back { opacity: 1; visibility: visible; pointer-events: auto; }
.v2-tc-back.is-tone-mint { background-image: radial-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px), radial-gradient(circle at 18% 20%, rgba(110, 231, 183, 0.14), transparent 52%), radial-gradient(circle at 84% 84%, rgba(253, 186, 116, 0.14), transparent 54%); background-size: 16px 16px, 100% 100%, 100% 100%; border-color: rgba(110, 231, 183, 0.34); color: var(--mint); }
.v2-tc-back.is-tone-warm { background-color: #0E0C0B; background-image: radial-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px), radial-gradient(circle at 16% 18%, rgba(253, 186, 116, 0.17), transparent 56%), radial-gradient(circle at 86% 88%, rgba(253, 186, 116, 0.09), transparent 50%); background-size: 16px 16px, 100% 100%, 100% 100%; border-color: rgba(253, 186, 116, 0.38); color: var(--amber); }
.v2-tc-back.is-tone-axes { background-image: radial-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px), radial-gradient(circle at 50% 42%, rgba(110, 231, 183, 0.14), transparent 58%); background-size: 16px 16px, 100% 100%; border-color: rgba(110, 231, 183, 0.34); color: var(--mint); }
.v2-tc-back-corners { position: absolute; inset: 9px; border-radius: 17px; pointer-events: none; z-index: 1; background:
  linear-gradient(to right, currentColor 11px, transparent 11px) 0 0 / 100% 1px no-repeat,
  linear-gradient(to bottom, currentColor 11px, transparent 11px) 0 0 / 1px 100% no-repeat,
  linear-gradient(to left, currentColor 11px, transparent 11px) 100% 0 / 100% 1px no-repeat,
  linear-gradient(to bottom, currentColor 11px, transparent 11px) 100% 0 / 1px 100% no-repeat,
  linear-gradient(to right, currentColor 11px, transparent 11px) 0 100% / 100% 1px no-repeat,
  linear-gradient(to top, currentColor 11px, transparent 11px) 0 100% / 1px 100% no-repeat,
  linear-gradient(to left, currentColor 11px, transparent 11px) 100% 100% / 100% 1px no-repeat,
  linear-gradient(to top, currentColor 11px, transparent 11px) 100% 100% / 1px 100% no-repeat; opacity: 0.30; }
.v2-tc-back-deco { position: absolute; top: 0; right: 0; width: 172px; height: 172px; pointer-events: none; z-index: 0; }

.v2-tc-back-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 7px; flex: none; }
.v2-tc-back-meta { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 7px 3px 2px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: rgba(185, 206, 198, 0.74); flex: none; }
.v2-tc-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.v2-tc-tab { min-height: 44px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--mute); font-family: 'Golos Text', sans-serif; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background 140ms ease, color 140ms ease, border-color 140ms ease; }
.v2-tc-tab.is-on { background: #162420; border-color: rgba(110, 231, 183, 0.34); color: var(--mint); }
.v2-tc-tab.is-on.is-warm { background: #211913; border-color: rgba(253, 186, 116, 0.42); color: var(--amber); }
.v2-tc-flip-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: #DCEBE5; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), background var(--dur-fast) ease; }
.v2-tc-flip-btn:active { transform: scale(0.95); }

.v2-tc-facets { position: relative; z-index: 3; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 2px 6px; touch-action: pan-y; }
.v2-tc-facet { display: none; flex-direction: column; justify-content: center; gap: 14px; height: 100%; }
.v2-tc-facet.is-active { display: flex; }
.v2-tc-facet.is-enter-next { animation: v2TcFacetNext 220ms var(--ease-out) both; }
.v2-tc-facet.is-enter-prev { animation: v2TcFacetPrev 220ms var(--ease-out) both; }
.v2-tc-facet-duel { justify-content: center; gap: 0; padding: 2px 4px; }
.v2-tc-facet-roast { justify-content: flex-start; padding: 10px 2px 4px; gap: 16px; }
.v2-tc-facet-crystal { justify-content: space-between; gap: 10px; }
.v2-tc-ed-block { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.v2-tc-facet-duel .v2-tc-ed-block { flex: 1; justify-content: center; align-items: center; text-align: center; gap: 11px; padding: 4px 4px 12px; }
.v2-tc-facet-duel .v2-tc-ed-block:last-child { padding: 18px 4px 6px; }
.v2-tc-ed-k { display: inline-flex; align-items: center; gap: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.v2-tc-facet-duel .v2-tc-ed-k { font-size: 14.5px; gap: 8px; letter-spacing: 0.11em; }
.v2-tc-facet-duel .v2-tc-k-ico { width: 19px; height: 19px; }
.v2-tc-facet-roast .v2-tc-ed-k { font-size: 11.5px; gap: 7px; }
.v2-tc-facet-roast .v2-tc-k-ico { width: 15px; height: 15px; }
.v2-tc-ed-k.is-mint { color: var(--mint); }
.v2-tc-ed-k.is-warm { color: var(--amber); }
.v2-tc-k-ico { flex: none; display: inline-block; }
.v2-tc-ed-h { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.14; letter-spacing: -0.01em; color: #F2FBF7; }
.v2-tc-facet-duel .v2-tc-ed-h { font-size: 23px; margin-top: 2px; }
.v2-tc-ed-p { margin: 0; font-size: 14px; line-height: 1.48; color: #C2D4CD; }
.v2-tc-facet-duel .v2-tc-ed-p { font-size: 14.5px; max-width: 286px; text-wrap: balance; }
.v2-tc-ed-p.is-warm { color: #DEC8B6; }
.v2-tc-duel-axis { display: flex; align-items: center; gap: 10px; width: 100%; flex: none; margin: 2px 0; }
.v2-tc-duel-line { flex: 1; height: 1px; }
.v2-tc-duel-line.is-left { background: linear-gradient(90deg, rgba(110, 231, 183, 0.04) 0%, rgba(110, 231, 183, 0.42) 100%); }
.v2-tc-duel-line.is-right { background: linear-gradient(90deg, rgba(253, 186, 116, 0.42) 0%, rgba(253, 186, 116, 0.04) 100%); }
.v2-tc-duel-gem { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 18, 18, 0.92); color: #DDECE6; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; }

.v2-tc-roast-top { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.v2-tc-roast-quote-wrap { position: relative; padding: 2px 0 2px 14px; border-left: 2.5px solid var(--amber); box-shadow: -8px 0 18px -10px rgba(253, 186, 116, 0.45); }
.v2-tc-roast-qmark { position: absolute; left: 10px; top: -18px; font-size: 52px; font-weight: 800; line-height: 1; color: var(--amber); opacity: 0.13; pointer-events: none; user-select: none; }
.v2-tc-roast-quote { position: relative; z-index: 1; margin: 0; font-size: 18px; font-weight: 700; line-height: 1.32; color: #F8EFE5; text-wrap: balance; }
.v2-tc-diag-list { display: flex; flex-direction: column; gap: 0; text-align: left; flex: 1; justify-content: flex-start; }
.v2-tc-diag-row { display: flex; flex-direction: column; gap: 6px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.v2-tc-diag-row:last-child { padding-bottom: 2px; }
.v2-tc-diag-tag { display: inline-flex; align-items: center; gap: 7px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--amber); text-transform: uppercase; }
.v2-tc-d-ico { width: 16px; height: 16px; flex: none; color: var(--amber); }
.v2-tc-diag-txt { margin: 0; font-size: 14.2px; line-height: 1.44; color: #DCE6E2; }

.v2-tc-crystal-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.v2-tc-crystal-svg { width: 100%; max-width: 282px; height: auto; max-height: 204px; display: block; overflow: visible; }
.v2-tc-cleg-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.v2-tc-erose-list { width: 100%; display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.v2-tc-erose-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v2-tc-cleg-item { display: flex; align-items: center; gap: 6px; min-width: 0; }
.v2-tc-cleg-code { width: 19px; height: 19px; border-radius: 6px; background: rgba(110, 231, 183, 0.12); border: 1px solid rgba(110, 231, 183, 0.34); color: var(--mint); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v2-tc-cleg-code.is-warm { background: rgba(253, 186, 116, 0.12); border-color: rgba(253, 186, 116, 0.36); color: var(--amber); }
.v2-tc-cleg-name { font-size: 11.5px; color: #C2D4CD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; text-align: left; }
.v2-tc-cleg-pct { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; color: var(--mint); flex: none; }
.v2-tc-cleg-pct.is-warm { color: var(--amber); }

.v2-tc-bp-wrap { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
.v2-tc-bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: 100%; }
.v2-tc-bp-grid.is-2x2 { gap: 11px; }
.v2-tc-bp-grid.is-2x2 .v2-tc-bp-cell { padding: 14px 12px 13px; gap: 8px; }
.v2-tc-bp-grid.is-2x2 .v2-tc-bp-cname { font-size: 12px; }
.v2-tc-bp-grid.is-2x2 .v2-tc-bp-cnum { font-size: 20px; }
.v2-tc-bp-cell { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px 9px; border-radius: 13px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); min-width: 0; }
.v2-tc-bp-cell.is-mint { border-color: rgba(110, 231, 183, 0.24); background: rgba(110, 231, 183, 0.04); }
.v2-tc-bp-cell.is-warm { border-color: rgba(253, 186, 116, 0.24); background: rgba(253, 186, 116, 0.04); }
.v2-tc-bp-cname { font-size: 11px; font-weight: 600; color: #B4C7C0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-tc-bp-cval { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.v2-tc-bp-cnum { font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 700; line-height: 1; color: #DCEBE5; }
.v2-tc-bp-cnum.is-mint { color: var(--mint); }
.v2-tc-bp-cnum.is-warm { color: var(--amber); }
.v2-tc-bp-clvl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #758B83; text-transform: uppercase; }
.v2-tc-bp-crail { width: 100%; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.v2-tc-bp-cfill { display: block; height: 100%; border-radius: 999px; background: #8FA69E; }
.v2-tc-bp-cfill.is-mint { background: linear-gradient(90deg, rgba(110, 231, 183, 0.50) 0%, var(--mint) 100%); }
.v2-tc-bp-cfill.is-warm { background: linear-gradient(90deg, rgba(253, 186, 116, 0.45) 0%, var(--amber) 100%); }

.v2-tc-back-foot { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; padding-top: 4px; }
.v2-tc-dots { display: flex; align-items: center; gap: 2px; }
.v2-tc-dot { width: 16px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); transform: scaleX(0.375); transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) ease; }
.v2-tc-dot.is-on { transform: scaleX(1); background: var(--mint); }
.v2-tc-swipe-hint { font-size: 12px; letter-spacing: 0.04em; color: var(--dim); }

.v2-tc-strip { width: 100%; max-width: 356px; margin: 0 auto; display: flex; align-items: center; gap: 8px; flex: none; transition: opacity 260ms ease, transform 260ms var(--ease-out); }
.v2-tc-strip.is-masked { opacity: 0; transform: translateY(6px); pointer-events: none; }
.v2-tc-shadow-btn { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, 0.10); background: #0E1212; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out); }
.v2-tc-shadow-mute { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-tc-shadow-mute b { color: #B8CBC4; font-family: 'IBM Plex Mono', monospace; font-weight: 600; }
.v2-tc-shadow-go { color: #E4F2EC; font-weight: 600; white-space: nowrap; flex: none; }
.v2-tc-pass-btn { width: 44px; height: 44px; flex: none; border-radius: 13px; border: 1px solid rgba(110, 231, 183, 0.26); background: #0F1715; color: var(--mint); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out); }
.v2-tc-pending-btn { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 13px; border: 0; background: var(--mint); color: #0B0D0D; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out); }
.v2-res-pending-bar { width: 100%; padding: 12px 14px; border-radius: 14px; border: 0; background: var(--mint); color: #0B0D0D; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; flex: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out); }
.v2-tc-shadow-btn:active, .v2-tc-pending-btn:active, .v2-res-pending-bar:active { transform: scale(0.97); }
.v2-tc-pass-btn:active { transform: scale(0.95); }
.v2-fail-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; flex: none; }
.v2-fail-btn-primary { width: 100%; height: 52px; border: 0; border-radius: 14px; background: var(--mint); color: #0F1112; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.v2-fail-btn-sec { width: 100%; height: 48px; border: 1px solid #3A4042; border-radius: 14px; background: transparent; color: #ECEFEF; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.v2-fail-btn-primary:active, .v2-fail-btn-sec:active { transform: scale(0.97); }

/* Экран «Комната симуляций» (вкладки по 4 сцены 01..04 + чат «Своя ситуация» + закреплённый док над таббаром, без backdrop-filter) */
.v2-sim-page { background: #0B0D0D; }
.v2-sim-scroll { padding: 4px 14px 4px; display: flex; flex-direction: column; gap: 5px; }
.v2-sim-scroll .v2-topbar { min-height: calc(30px + max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px))); padding: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) 0 0; }
.v2-sim-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.v2-sim-h1 { margin: 0; font-size: 25px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #ECF6F2; }
.v2-sim-quota { padding: 6px 11px; border-radius: 999px; background: #101615; border: 1px solid rgba(104, 232, 184, 0.28); font-size: 12.5px; font-weight: 500; color: #9EC0B3; white-space: nowrap; flex: none; }

.v2-sim-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 14px; margin: 0 -14px; padding: 0 14px; flex: none; }
.v2-sim-tabs::-webkit-scrollbar { display: none; }
.v2-sim-tab { min-height: 44px; padding: 0 15px; border-radius: 999px; background: #121616; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--mute); font-family: 'Golos Text', sans-serif; font-size: 14.5px; font-weight: 500; white-space: nowrap; flex: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease, color var(--dur-fast) ease; }
.v2-sim-tab:active { transform: scale(0.97); }
.v2-sim-tab.is-on { background: #10201A; border-color: var(--mint); color: var(--mint); font-weight: 600; }

.v2-sim-stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 0; flex: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.v2-sim-scroll.is-clean .v2-sim-stage { margin: auto 0; }
.v2-sim-visual-row { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.v2-sim-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 54px; border: 0; border-radius: 12px; background: transparent; color: var(--mute); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-sim-arrow.is-prev { left: -4px; }
.v2-sim-arrow.is-next { right: -4px; }
.v2-sim-arrow:active { transform: translateY(-50%) scale(0.95); color: #68E8B8; background: rgba(104, 232, 184, 0.10); }
.v2-sim-art-wrap { width: 100%; display: flex; align-items: center; justify-content: center; }
.v2-sim-art { width: min(286px, 74%, calc(var(--page-h, 844px) * 0.33)); height: min(286px, 74%, calc(var(--page-h, 844px) * 0.33)); object-fit: contain; display: block; pointer-events: none; }

.v2-sim-meta-row { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: #849991; text-transform: uppercase; line-height: 1.1; }
.v2-sim-title { margin: 1px 0 0; font-size: 30px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #ECF6F2; }
.v2-sim-desc { margin: 0; font-size: 17.5px; line-height: 1.34; color: #A6B8B1; max-width: 356px; }

.v2-sim-flow { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 2px; padding: 0 2px; }
.v2-sim-flow-it { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #B4C5BE; white-space: nowrap; }
.v2-sim-flow-dot { width: 8px; height: 8px; border-radius: 50%; background: #DCEBE5; flex: none; }
.v2-sim-flow-half { width: 9px; height: 9px; border-radius: 50%; border: 1.4px solid #9EB3AB; background: linear-gradient(90deg, #9EB3AB 50%, transparent 50%); flex: none; }
.v2-sim-flow-star { color: #68E8B8; font-size: 13px; line-height: 1; flex: none; }
.v2-sim-flow-line { flex: 0 1 20px; min-width: 10px; height: 1px; border-top: 1px dashed rgba(158, 179, 171, 0.34); }

.v2-sim-chat { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 0 6px; }
.v2-sim-chat-mascot { display: flex; justify-content: center; flex: none; }
.v2-sim-chat-bub { align-self: flex-start; max-width: 90%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: #171D1C; border: 1px solid rgba(104, 232, 184, 0.44); box-shadow: 0 0 16px rgba(104, 232, 184, 0.10); font-size: 14.5px; line-height: 1.45; color: #ECF6F2; }
.v2-sim-chat-bub.is-typing { border-color: rgba(255, 255, 255, 0.14); color: #9EC0B3; }
.v2-sim-composer-wrap { display: flex; flex-direction: column; gap: 4px; }
.v2-sim-composer { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 15px; border-radius: 22px; background: #101A17; border: 1.4px solid rgba(104, 232, 184, 0.62); box-shadow: 0 0 14px rgba(104, 232, 184, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.v2-sim-chat-input { flex: 1; min-width: 0; min-height: 24px; max-height: 76px; box-sizing: border-box; padding: 6px 0; border: 0; background: transparent; color: #ECF6F2; font-family: 'Golos Text', sans-serif; font-size: 16px; line-height: 1.38; resize: none; }
.v2-sim-chat-input::placeholder { color: #7F968E; }
.v2-sim-chat-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--mint); color: var(--bg-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-sim-chat-send:active { transform: scale(0.95); }
.v2-sim-chat-send:disabled { opacity: 0.42; cursor: default; transform: none; }
.v2-sim-composer-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-size: 11px; color: var(--dim); }

.v2-sim-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 14px; scroll-snap-type: x proximity; margin: 0 -14px; padding: 0 14px; flex: none; }
.v2-sim-strip.is-hidden { display: none; }
.v2-sim-strip::-webkit-scrollbar { display: none; }
.v2-sim-chip { width: 176px; min-height: 64px; padding: 10px 12px; border-radius: 14px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.08); color: #DCE6E2; font-family: 'Golos Text', sans-serif; text-align: left; display: flex; align-items: flex-start; gap: 8px; flex: none; scroll-snap-align: start; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
.v2-sim-chip.is-hidden { display: none; }
.v2-sim-chip:active { transform: scale(0.97); }
.v2-sim-chip.is-on { background: #10201A; border-color: #68E8B8; box-shadow: inset 0 1px 0 rgba(104, 232, 184, 0.16); }
.v2-sim-chip-num { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; font-weight: 600; color: var(--dim); flex: none; padding-top: 1px; }
.v2-sim-chip.is-on .v2-sim-chip-num { color: #68E8B8; }
.v2-sim-chip-ttl { font-size: 14.5px; font-weight: 600; line-height: 1.24; color: #C5D4CE; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-sim-chip.is-on .v2-sim-chip-ttl { color: #ECF6F2; }

.v2-sim-dock { flex: none; padding: 6px 14px 2px; background: #0B0D0D; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.v2-sim-cta { width: 100%; min-height: 58px; padding: 9px 14px; border-radius: 15px; background: #0F1D18; border: 1.2px solid rgba(104, 232, 184, 0.56); box-shadow: inset 0 1px 0 rgba(184, 255, 228, 0.14); color: #ECF6F2; font-family: 'Golos Text', sans-serif; text-align: left; display: flex; align-items: center; gap: 12px; flex: none; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease, border-color var(--dur-fast) ease; }
.v2-sim-cta:active { transform: scale(0.97); }
.v2-sim-cta:disabled { opacity: 0.45; cursor: default; transform: none; }
.v2-sim-cta-ico { width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #68E8B8; font-size: 20px; line-height: 1; }
.v2-sim-cta-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v2-sim-cta-ttl { font-size: 16.5px; font-weight: 700; line-height: 1.18; color: #ECF6F2; }
.v2-sim-cta-sub { font-size: 12.5px; line-height: 1.22; color: #8BA198; }
.v2-sim-cta-arr { flex: none; color: #68E8B8; display: inline-flex; align-items: center; }

.v2-sim-result { padding: 15px; background: #101715; border: 1.2px solid rgba(104, 232, 184, 0.34); border-radius: 18px; display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-sim-field { padding: 11px 12px; background: #131819; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.v2-sim-field.is-step { border-color: rgba(104, 232, 184, 0.28); }
.v2-sim-history { padding: 14px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-sim-hitem { padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.07); background: #141818; color: #ECEFEF; font-family: 'Golos Text', sans-serif; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; }
.v2-sim-hitem.is-on { border-color: rgba(104, 232, 184, 0.56); background: #10201A; }

#screen[data-compact="1"] .v2-sim-title { font-size: 27px; }
#screen[data-compact="1"] .v2-sim-desc { font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .v2-sim-arrow:hover { color: #68E8B8; background: rgba(104, 232, 184, 0.10); }
  .v2-sim-tab:hover, .v2-sim-chip:hover, .v2-sim-hitem:hover { border-color: rgba(255, 255, 255, 0.20); background: #151A1A; }
  .v2-sim-tab.is-on:hover, .v2-sim-chip.is-on:hover, .v2-sim-hitem.is-on:hover { border-color: #68E8B8; background: #12261F; }
  .v2-sim-cta:not(:disabled):hover { border-color: rgba(104, 232, 184, 0.80); background: #12241E; }
}

/* Экран «Диалог двух типов» (Battle: переиспользует геометрию .v2-sim-*, живой чат-диалог, карточка вызова и экран гостя, без backdrop-filter) */
.v2-bat-badge { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(104, 232, 184, 0.16); color: var(--mint); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; line-height: 1.3; }
.v2-bat-panel { display: flex; flex-direction: column; gap: 11px; flex: none; padding-top: 2px; }
.v2-bat-panel.is-hidden { display: none; }
.v2-bat-empty { padding: 20px 16px; border-radius: 16px; background: #111414; border: 1px solid rgba(255, 255, 255, 0.08); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.v2-bat-empty-h { font-size: 16px; font-weight: 600; color: #ECF6F2; }
.v2-bat-empty-p { margin: 0; font-size: 13.5px; line-height: 1.42; color: #8A9D96; max-width: 290px; }

.v2-bat-inv { padding: 15px; border-radius: 18px; background: #101916; border: 1.2px solid rgba(104, 232, 184, 0.44); box-shadow: inset 0 1px 0 rgba(184, 255, 228, 0.12); display: flex; flex-direction: column; gap: 10px; flex: none; }
.v2-bat-inv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.v2-bat-inv-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #68E8B8; text-transform: uppercase; }
.v2-bat-inv-ttl { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.22; color: #ECF6F2; }
.v2-bat-url { padding: 9px 12px; border-radius: 11px; background: #0B0F0E; border: 1px solid rgba(255, 255, 255, 0.08); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; line-height: 1.35; word-break: break-all; color: #9CE7C9; }
.v2-bat-qr { display: flex; justify-content: center; padding: 10px; border-radius: 14px; background: #0C1110; border: 1px solid rgba(255, 255, 255, 0.06); }
.v2-bat-share { width: 100%; height: 46px; padding: 0 16px; border: 0; border-radius: 13px; background: #68E8B8; color: #070909; font-family: 'Golos Text', sans-serif; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-bat-share:active { transform: scale(0.97); opacity: 0.92; }
.v2-bat-inv-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2-bat-btn-sec { min-height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.16); background: #141918; color: #DCEBE5; font-family: 'Golos Text', sans-serif; font-size: 12.5px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.v2-bat-btn-sec.is-danger { border-color: rgba(232, 176, 160, 0.34); color: var(--danger); }

.v2-bat-list { padding: 14px; border-radius: 16px; background: var(--surface-card); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-bat-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.v2-bat-list-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; }
.v2-bat-list-cnt { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--mint); }
.v2-bat-act-item { padding: 10px 12px; border-radius: 12px; background: #151919; border: 1px solid rgba(255, 255, 255, 0.07); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.v2-bat-revoke { min-height: 44px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(232, 176, 160, 0.34); background: transparent; color: var(--danger); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; flex: none; cursor: pointer; touch-action: manipulation; }

.v2-bat-res { padding: 15px; border-radius: 18px; background: #101715; border: 1.2px solid rgba(104, 232, 184, 0.34); display: flex; flex-direction: column; gap: 11px; flex: none; }
.v2-bat-turns { display: flex; flex-direction: column; gap: 9px; padding: 2px 0; }
.v2-bat-turn { max-width: 88%; padding: 11px 14px; display: flex; flex-direction: column; gap: 4px; }
.v2-bat-turn.is-a { align-self: flex-start; border-radius: 16px 16px 16px 5px; background: #111E19; border: 1px solid rgba(104, 232, 184, 0.36); }
.v2-bat-turn.is-b { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: #1C1617; border: 1px solid rgba(232, 176, 160, 0.36); }
.v2-bat-spk { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.v2-bat-turn.is-a .v2-bat-spk { color: var(--mint); }
.v2-bat-turn.is-b .v2-bat-spk { color: var(--danger); }
.v2-bat-line { margin: 0; font-size: 13.8px; line-height: 1.44; color: #ECF6F2; }
.v2-bat-field { padding: 12px 13px; border-radius: 13px; background: #131819; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 4px; }
.v2-bat-field.is-warm { border-color: rgba(232, 176, 160, 0.32); }
.v2-bat-field.is-mint { border-color: rgba(104, 232, 184, 0.32); }
.v2-bat-copy { min-height: 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: var(--ink); font-family: 'Golos Text', sans-serif; font-size: 12.5px; font-weight: 600; cursor: pointer; touch-action: manipulation; }

.v2-bat-gate { padding: 18px 16px; border-radius: 18px; background: #101916; border: 1.2px solid rgba(104, 232, 184, 0.42); display: flex; flex-direction: column; gap: 12px; flex: none; }
.v2-bat-gate-pill { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(104, 232, 184, 0.14); border: 1px solid rgba(104, 232, 184, 0.34); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--mint); }
.v2-bat-gate-scene { padding: 12px 14px; border-radius: 13px; background: #0C1010; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 4px; }
.v2-bat-btn-primary { width: 100%; height: 48px; border: 0; border-radius: 13px; background: var(--mint); color: var(--bg-deep); font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; cursor: pointer; touch-action: manipulation; }
.v2-bat-btn-primary:disabled { opacity: 0.48; cursor: default; }
.v2-bat-btn-ghost { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: #DCEBE5; font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; touch-action: manipulation; }

@media (hover: hover) and (pointer: fine) {
  .v2-bat-btn-sec:hover, .v2-bat-copy:hover, .v2-bat-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: #191F1E; }
  .v2-bat-share:hover, .v2-bat-btn-primary:not(:disabled):hover { opacity: 0.92; }
}

/* Экран «Инструкция к себе» (Manual: полноширинный hero-арт с маскотом, выровненная карусель 1/4..4/4, компактный ИИ-блок и пропуск «Поделиться», без backdrop-filter) */
.v2-man-page { background: #0B0D0D; }
.v2-man-scroll { padding: 6px 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.v2-man-scroll .v2-topbar { min-height: 34px; padding: 0; align-items: center; position: relative; z-index: 3; }

.v2-man-share-pill { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(104, 232, 184, 0.38); background: #101C18; color: var(--mint); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.v2-man-share-pill:active { transform: scale(0.95); }
.v2-man-share-dot { width: 6px; height: 6px; border-radius: 50%; background: #68E8B8; flex: none; }

.v2-man-panel { display: flex; flex-direction: column; gap: 12px; flex: 1 0 auto; }
.v2-man-panel.is-hidden { display: none; }

.v2-man-hero { position: relative; margin: -12px -14px 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; flex: none; background: radial-gradient(ellipse 92% 76% at 50% 44%, rgba(104, 232, 184, 0.10) 0%, rgba(253, 186, 116, 0.04) 44%, rgba(11, 13, 13, 0) 78%); }
.v2-man-hero-art { width: 100%; max-width: none; height: auto; display: block; margin: -4px 0 0; pointer-events: none; }
.v2-man-hero-head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: -10px; padding: 0 14px; }
.v2-man-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: #68E8B8; text-transform: uppercase; opacity: 0.9; }
.v2-man-arch-h1 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: #ECF6F2; }

.v2-man-src { display: inline-flex; gap: 3px; padding: 2px; border-radius: 999px; background: #0B0F0E; border: 1px solid rgba(255, 255, 255, 0.12); }
.v2-man-src-btn { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--mute); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.v2-man-src-btn.is-on { background: #12261F; border-color: rgba(104, 232, 184, 0.48); color: var(--mint); }

.v2-man-carousel { position: relative; width: 100%; flex: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.v2-man-card { min-height: 214px; padding: 16px 18px 14px; border-radius: 20px; background: linear-gradient(180deg, #131918 0%, #0E1212 100%); border: 1.2px solid rgba(104, 232, 184, 0.24); box-shadow: inset 0 1px 0 rgba(184, 255, 228, 0.08); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.v2-man-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-man-counter { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: #7F968E; }
.v2-man-tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #68E8B8; text-transform: uppercase; opacity: 0.85; }
.v2-man-slide { display: flex; flex-direction: column; gap: 8px; min-height: 106px; justify-content: center; }
.v2-man-slide.is-hidden { display: none; }
.v2-man-slide-ttl { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; color: var(--mint); }
.v2-man-slide-txt { margin: 0; font-size: 15px; line-height: 1.48; color: #E0EAE6; }

.v2-man-card-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 2px; }
.v2-man-nav-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v2-man-arrow { width: 44px; height: 44px; padding: 0; flex: none; border-radius: 50%; border: 1px solid rgba(104, 232, 184, 0.34); background: #0E1815; color: var(--mint); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), background var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.v2-man-arrow:active { transform: scale(0.95); background: #142B22; border-color: var(--mint); }
.v2-man-dots { display: flex; align-items: center; justify-content: center; gap: 0; flex: 1; }
.v2-man-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; }
.v2-man-dot::before { content: ''; width: 20px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); transform: scaleX(0.35); transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) ease; }
.v2-man-dot.is-on::before { transform: scaleX(1); background: var(--mint); }
.v2-man-motto { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.10em; color: var(--dim); text-transform: uppercase; text-align: center; }

.v2-man-ai { padding: 15px; border-radius: 20px; background: linear-gradient(135deg, #0F1A17 0%, #111616 100%); border: 1.2px solid rgba(104, 232, 184, 0.30); box-shadow: inset 0 1px 0 rgba(184, 255, 228, 0.08); display: flex; flex-direction: column; gap: 11px; flex: none; }
.v2-man-ai-row { display: flex; align-items: center; gap: 13px; min-width: 0; }
.v2-man-ai-art-box { width: 98px; height: 126px; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: radial-gradient(circle at 50% 50%, rgba(104, 232, 184, 0.14) 0%, rgba(15, 25, 22, 0) 74%); }
.v2-man-ai-art { width: 136px; height: 136px; max-width: none; object-fit: contain; display: block; flex: none; pointer-events: none; }
.v2-man-ai-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.v2-man-ai-ttl { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--mint); }
.v2-man-ai-desc { margin: 0; font-size: 13px; line-height: 1.4; color: #A2B5AE; }
.v2-man-ai-btn { width: 100%; min-height: 46px; padding: 8px 12px; margin-top: 2px; border: 0; border-radius: 13px; background: #68E8B8; color: #070909; font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-man-ai-btn:active { transform: scale(0.97); opacity: 0.92; }
.v2-man-ai-btn:disabled { opacity: 0.48; cursor: default; transform: none; }

.v2-man-ai-ready { padding: 15px; border-radius: 20px; background: linear-gradient(135deg, #0F1A17 0%, #111616 100%); border: 1.2px solid rgba(104, 232, 184, 0.28); display: flex; align-items: center; gap: 13px; flex: none; }
.v2-man-ai-ready-art { width: 72px; height: 92px; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: radial-gradient(circle at 50% 50%, rgba(104, 232, 184, 0.14) 0%, rgba(15, 25, 22, 0) 74%); }
.v2-man-ai-ready-art img { width: 100px; height: 100px; max-width: none; object-fit: contain; display: block; pointer-events: none; }
.v2-man-ai-ready-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.v2-man-ai-ready-ttl { font-size: 15px; font-weight: 700; color: var(--mint); line-height: 1.2; }
.v2-man-ai-ready-sub { font-size: 12.5px; line-height: 1.38; color: #9BB0A8; }
.v2-man-ai-ready-go { align-self: flex-start; margin-top: 3px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(104, 232, 184, 0.40); background: #12261F; color: var(--mint); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; touch-action: manipulation; }

.v2-man-share { padding: 18px 16px; border-radius: 22px; background: linear-gradient(180deg, #121817 0%, #0E1212 100%); border: 1.2px solid rgba(104, 232, 184, 0.28); display: flex; flex-direction: column; gap: 12px; flex: none; }
.v2-man-share-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.v2-man-share-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.10em; color: var(--mint); text-transform: uppercase; }
.v2-man-share-arch { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.v2-man-share-sub { margin: 0; font-size: 13px; line-height: 1.4; color: var(--mute); max-width: 300px; }
.v2-man-toggle { width: 100%; min-height: 48px; padding: 10px 13px; border-radius: 13px; background: #0C1110; border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink); font-family: 'Golos Text', sans-serif; font-size: 13px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; touch-action: manipulation; }
.v2-man-toggle-lbl { flex: 1; min-width: 0; line-height: 1.32; }
.v2-man-switch { width: 42px; height: 24px; padding: 2px; border-radius: 999px; background: #222929; border: 1px solid rgba(180, 204, 196, 0.40); display: inline-flex; align-items: center; flex: none; transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.v2-man-switch.is-on { background: #16382B; border-color: rgba(104, 232, 184, 0.68); }
.v2-man-switch-knob { width: 18px; height: 18px; border-radius: 50%; background: var(--mute); transform: translateX(0); transition: transform 200ms var(--ease-out), background var(--dur-fast) ease; }
.v2-man-switch.is-on .v2-man-switch-knob { background: var(--mint); transform: translateX(18px); }
.v2-man-url { padding: 10px 12px; border-radius: 11px; background: #0A0E0D; border: 1px solid rgba(104, 232, 184, 0.22); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; color: #9CE7C9; }
.v2-man-qr { align-self: center; padding: 12px; border-radius: 16px; background: #0B1110; border: 1px solid rgba(104, 232, 184, 0.20); display: flex; justify-content: center; }
.v2-man-btn-primary { width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 13px; background: var(--mint); color: var(--bg-deep); font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease; }
.v2-man-btn-primary:active { transform: scale(0.97); opacity: 0.92; }
.v2-man-btn-primary:disabled { opacity: 0.48; cursor: default; transform: none; }
.v2-man-btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2-man-btn-sec { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: #141918; color: #DCEBE5; font-family: 'Golos Text', sans-serif; font-size: 12.5px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.v2-man-btn-sec.is-danger { border-color: rgba(232, 176, 160, 0.34); color: var(--danger); }

.v2-man-guest-note { font-size: 12px; color: var(--dim); text-align: center; }
.v2-man-guest-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.v2-man-state { padding: 18px 16px; border-radius: 18px; background: #111515; border: 1px solid rgba(255, 255, 255, 0.08); color: var(--mute); font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 12px; }
.v2-man-state.is-err { background: #1A1514; border-color: rgba(232, 176, 160, 0.34); color: var(--danger); }

#screen[data-compact="1"] .v2-man-arch-h1 { font-size: 19px; }
#screen[data-compact="1"] .v2-man-card { padding: 14px 15px 12px; min-height: 196px; }
#screen[data-compact="1"] .v2-man-slide-ttl { font-size: 18.5px; }
#screen[data-compact="1"] .v2-man-slide-txt { font-size: 14px; }
#screen[data-compact="1"] .v2-man-ai { padding: 13px; }
#screen[data-compact="1"] .v2-man-ai-row { gap: 10px; }
#screen[data-compact="1"] .v2-man-ai-art-box { width: 84px; height: 110px; }
#screen[data-compact="1"] .v2-man-ai-art { width: 118px; height: 118px; }
#screen[data-compact="1"] .v2-man-ai-ttl { font-size: 15px; }
#screen[data-compact="1"] .v2-man-ai-desc { font-size: 12.2px; }
#screen[data-compact-h="1"] .v2-man-scroll { gap: 10px; padding-bottom: 14px; }
#screen[data-compact-h="1"] .v2-man-card { min-height: 184px; padding: 13px 16px 11px; gap: 8px; }
#screen[data-compact-h="1"] .v2-man-slide { min-height: 86px; }
@media (hover: hover) and (pointer: fine) {
  .v2-man-share-pill:hover, .v2-man-ai-ready-go:hover { background: #152D24; border-color: #68E8B8; }
  .v2-man-src-btn:not(.is-on):hover { color: #DCEBE5; }
  .v2-man-arrow:hover { background: #142B22; border-color: #68E8B8; }
  .v2-man-ai-btn:not(:disabled):hover, .v2-man-btn-primary:not(:disabled):hover { opacity: 0.92; }
  .v2-man-btn-sec:hover { border-color: rgba(255, 255, 255, 0.28); background: #191F1E; }
}

/* Шаг F4: глобальная шторка ИИ-гида на #screen, контекстный Paywall и действия после симуляций */
.v2-ai-sheet-host { position: absolute; left: 50%; top: 50%; width: var(--page-w, 390px); height: var(--page-h, 844px); transform-origin: center center; overflow: hidden; pointer-events: none; z-index: 40; }

.v2-sub-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex: none; }
.v2-sub-ben-item { padding: 10px 11px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: flex-start; gap: 7px; }
.v2-sub-ben-dot { color: var(--mint); font-size: 11px; line-height: 1.45; flex: none; }
.v2-sub-ben-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-sub-ben-t { font-size: 12.5px; font-weight: 600; line-height: 1.22; color: var(--ink); }
.v2-sub-ben-s { font-size: 11px; line-height: 1.28; color: var(--mute); }

.v2-sub-terms { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; flex: none; }
.v2-sub-terms-sum { list-style: none; min-height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute); cursor: pointer; user-select: none; -webkit-user-select: none; }
.v2-sub-terms-sum::-webkit-details-marker { display: none; }
.v2-sub-terms-sum svg { transition: transform 180ms ease; flex: none; }
.v2-sub-terms[open] .v2-sub-terms-sum svg { transform: rotate(90deg); }
.v2-sub-terms-body { max-height: 180px; overflow-y: auto; padding: 0 14px 12px; font-size: 12.5px; line-height: 1.5; color: var(--mute); border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 10px; }

.v2-sub-consent { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; font-family: inherit; font-size: 13px; line-height: 1.4; color: var(--ink); cursor: pointer; transition: border-color 180ms ease, background 180ms ease; flex: none; }
.v2-sub-consent.is-err { border-color: rgba(232, 176, 160, 0.72); background: rgba(232, 176, 160, 0.09); animation: v2-sub-shake 260ms ease; }
.v2-sub-check { flex: none; width: 18px; height: 18px; margin-top: 1px; box-sizing: border-box; border: 1.5px solid var(--line-strong); border-radius: 5px; }
.v2-sub-consent.is-err .v2-sub-check { border-color: var(--danger); }
.v2-sub-consent-txt { display: flex; flex-direction: column; gap: 3px; }
.v2-sub-consent-err { font-size: 12px; font-weight: 600; color: var(--danger); }
@keyframes v2-sub-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.v2-sub-continue { margin-top: 8px; width: 100%; height: 48px; flex: none; border: 0; border-radius: 13px; background: var(--mint); color: #0F1112; font-family: 'Golos Text', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; touch-action: manipulation; }
.v2-sub-continue:active { transform: scale(0.97); opacity: 0.92; }

.v2-sim-res-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.v2-sim-res-ai { width: 100%; height: 46px; border: 0; border-radius: 12px; background: var(--mint); color: #070909; font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; touch-action: manipulation; }
.v2-sim-res-ai:active { transform: scale(0.97); opacity: 0.92; }
.v2-sim-res-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2-sim-res-sec { min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 11px; background: transparent; color: var(--ink); font-family: 'Golos Text', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.v2-sim-res-sec:active { transform: scale(0.97); opacity: 0.88; }

.v2-ai-upfront { padding: 13px 14px; border-radius: 16px; background: var(--surface-featured); border: 1px solid rgba(104, 232, 184, 0.34); display: flex; flex-direction: column; gap: 7px; flex: none; }
.v2-ai-upfront-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v2-ai-upfront-ttl { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.v2-ai-upfront-pill { padding: 2px 8px; border-radius: 999px; background: rgba(104, 232, 184, 0.16); border: 1px solid rgba(104, 232, 184, 0.42); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: var(--mint); flex: none; }
.v2-ai-upfront-desc { margin: 0; font-size: 12px; line-height: 1.4; color: var(--mute); }

/* Шаг F6/F7: единый :active-отклик (0.97 для карточек/CTA, 0.95 для малых кнопок) с 160ms var(--ease-out) */
.v2-back-btn, .v2-dl-tab, .v2-dl-mbtn, .v2-dl-tag, .v2-dl-catch, .v2-dl-rem-btn, .v2-dl-btn-ai, .v2-dl-teaser, .v2-dl-cnt, .v2-dl-edit-link, .v2-tc-tab, .v2-bat-btn-primary, .v2-bat-btn-sec, .v2-bat-btn-ghost, .v2-bat-copy, .v2-bat-revoke, .v2-man-btn-sec, .v2-man-src-btn, .v2-man-ai-ready-go, .v2-man-toggle, .v2-sim-hitem, .v2-pass-btn-mint, .v2-pass-btn-ghost, .v2-pass-btn-video, .v2-cmp-btn-ghost, .v2-cmp-btn-revoke, .v2-fail-btn-primary, .v2-fail-btn-sec, .v2-sub-continue, .v2-sim-res-ai, .v2-sim-res-sec {
  transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.v2-back-btn:active, .v2-dl-tab:active, .v2-dl-mbtn:active, .v2-dl-tag:active, .v2-dl-catch:active, .v2-dl-rem-btn:active, .v2-dl-btn-ai:active, .v2-dl-teaser:active, .v2-dl-edit-link:active, .v2-tc-tab:active, .v2-bat-btn-primary:not(:disabled):active, .v2-bat-btn-sec:active, .v2-bat-btn-ghost:active, .v2-bat-copy:active, .v2-bat-revoke:active, .v2-man-btn-sec:active, .v2-man-src-btn:active, .v2-man-ai-ready-go:active, .v2-man-toggle:active, .v2-sim-hitem:active, .v2-pass-btn-mint:active, .v2-pass-btn-ghost:active, .v2-pass-btn-video:active, .v2-cmp-btn-ghost:active, .v2-cmp-btn-revoke:active, .v2-fail-btn-primary:active, .v2-fail-btn-sec:active, .v2-sub-continue:active, .v2-sim-res-ai:active, .v2-sim-res-sec:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* Шаг F7: направленные 200ms переходы слайдов/сцен, 180ms кроссфейд Bento <-> Full и единый prefers-reduced-motion */
@keyframes v2FadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes v2SlideNext { from { opacity: 0; transform: translate3d(12px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes v2SlidePrev { from { opacity: 0; transform: translate3d(-12px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.v2-man-slide.is-enter-next, .v2-sim-stage.is-enter-next { animation: v2SlideNext 200ms var(--ease-out) both; }
.v2-man-slide.is-enter-prev, .v2-sim-stage.is-enter-prev { animation: v2SlidePrev 200ms var(--ease-out) both; }
.v2-pane-fade { animation: v2FadeIn var(--dur-fast) var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  .adm-skeleton::after,
  .facet-hint,
  .facet-hint::after,
  .v2-tc-card.is-unsealing,
  .v2-tc-card.is-flip-out,
  .v2-tc-card.is-flip-in,
  .v2-tc-card.is-peeking,
  .v2-tc-card.is-peeking .v2-tc-foil,
  .v2-tc-flash.is-flashing,
  .v2-tc-seal-mist,
  .v2-sub-consent.is-err {
    animation: none;
  }
  .adm-sheet {
    animation: v2FadeIn var(--dur-fast) ease both;
  }
  .v2-tc-facet.is-enter-next,
  .v2-tc-facet.is-enter-prev,
  .v2-man-slide.is-enter-next,
  .v2-man-slide.is-enter-prev,
  .v2-sim-stage.is-enter-next,
  .v2-sim-stage.is-enter-prev,
  .v2-pane-fade {
    animation: v2FadeIn var(--dur-fast) ease both;
  }
  .v2-dir-sheet,
  .v2-tc-strip,
  .v2-man-switch-knob,
  .v2-tc-dot,
  .v2-man-dot::before {
    transition: opacity var(--dur-fast) ease, background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
  }
  [data-b="dirsheet"][aria-hidden="true"],
  [data-b="datasheet"][aria-hidden="true"],
  [data-b="sheet"][aria-hidden="true"],
  [data-b="dirsheet"][aria-hidden="false"],
  [data-b="datasheet"][aria-hidden="false"],
  [data-b="sheet"][aria-hidden="false"] {
    transition: none !important;
  }
  #toast,
  #toast.on {
    transform: translate(-50%, 0);
    transition: opacity var(--dur-fast) ease;
  }
  button[data-act]:not(:disabled):not([tabindex="-1"]):active,
  a[data-act]:active,
  .adm-btn:active:not([disabled]),
  .adm-tap:active,
  .cr-btn:active,
  .core-card:active,
  .v2-card:active,
  .v2-nav-item:active,
  .v2-home-hero:active, .v2-home-feat:active, .v2-home-mini:active, .v2-home-continue:active,
  .v2-mod-hero:active, .v2-mod-free:active, .v2-mod-sub:active, .v2-mod-tile:active,
  .v2-card-cta-btn:active, .v2-ai-send:active, .v2-ai-chip:active, .v2-ai-bento:active,
  .v2-dir-cta-mint:active, .v2-dir-cta-shadow:active, .v2-dir-cta-full:active, .v2-dir-cta-flat:active,
  .v2-res-back-pill:active, .v2-res-foot-btn:active, .v2-rb-open-full:active,
  .v2-cmp-btn-primary:active, .v2-cmp-btn-shadow:active, .v2-cmp-btn-ghost:active, .v2-cmp-btn-revoke:active,
  .v2-pass-btn-mint:active, .v2-pass-btn-ghost:active, .v2-pass-btn-video:active,
  .v2-back-btn:active,
  .v2-dl-tab:active, .v2-dl-mbtn:active, .v2-dl-tag:active, .v2-dl-catch:active, .v2-dl-rem-btn:active, .v2-dl-btn-ai:active, .v2-dl-teaser:active, .v2-dl-cnt.is-gem:active, .v2-dl-edit-link:active,
  .v2-tc-top-share:active, .v2-tc-flip-btn:active, .v2-tc-tab:active,
  .v2-tc-shadow-btn:active, .v2-tc-pass-btn:active, .v2-tc-pending-btn:active, .v2-res-pending-bar:active,
  .v2-fail-btn-primary:active, .v2-fail-btn-sec:active,
  .v2-sim-tab:active, .v2-sim-chat-send:active, .v2-sim-chip:active, .v2-sim-cta:active, .v2-sim-hitem:active,
  .v2-bat-share:active, .v2-bat-btn-primary:not(:disabled):active, .v2-bat-btn-sec:active, .v2-bat-btn-ghost:active, .v2-bat-copy:active, .v2-bat-revoke:active,
  .v2-man-share-pill:active, .v2-man-arrow:active, .v2-man-ai-btn:not(:disabled):active, .v2-man-btn-primary:active, .v2-man-btn-sec:active, .v2-man-src-btn:active, .v2-man-ai-ready-go:active, .v2-man-toggle:active,
  .v2-sub-continue:active, .v2-sim-res-ai:active, .v2-sim-res-sec:active {
    transform: none;
    opacity: 0.85;
  }
  .v2-sim-arrow:active {
    transform: translateY(-50%);
    opacity: 0.85;
  }
}
