/* «Проверка за минуту» — стиль Graphite Motion (палитра src/video/kit/theme.js) */
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat.woff') format('woff'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter.woff') format('woff'); font-weight: 100 900; font-display: swap; }

:root {
  --bg0: #07090F; --bg1: #0E1320; --card: rgba(20, 26, 40, 0.72); --card2: #1A2133;
  --line: rgba(255, 255, 255, 0.09); --text: #F4F6FB; --mute: rgba(244, 246, 251, 0.58); --dim: rgba(244, 246, 251, 0.36);
  --coral: #FF7A45; --cyan: #3DD6FF; --lime: #8CF26B; --red: #FF4D62; --violet: #8C7BFF; --gold: #FFC94A;
  --head: 'Montserrat', 'Inter', system-ui, sans-serif; --ui: 'Inter', 'Montserrat', system-ui, sans-serif;
  --r: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg0); color: var(--text);
  font: 16px/1.5 var(--ui); overflow-x: hidden;
}
[hidden] { display: none !important; }

/* Глубина: свечения и звёздная пыль */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 85% -10%, rgba(61, 214, 255, 0.16), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 30%, rgba(140, 123, 255, 0.14), transparent 60%),
    radial-gradient(50vmax 35vmax at 60% 110%, rgba(255, 122, 69, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}
.sky::before, .sky::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8, transparent), radial-gradient(1px 1px at 72% 12%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 40% 44%, #3DD6FF99, transparent), radial-gradient(1px 1px at 88% 52%, #fff7, transparent),
    radial-gradient(1px 1px at 22% 76%, #fff5, transparent), radial-gradient(1.5px 1.5px at 62% 84%, #8C7BFF99, transparent),
    radial-gradient(1px 1px at 52% 22%, #fff5, transparent), radial-gradient(1px 1px at 8% 58%, #fff6, transparent);
  animation: drift 40s linear infinite alternate;
}
.sky::after { transform: scale(1.6) rotate(18deg); opacity: 0.6; animation-duration: 60s; }
@keyframes drift { to { transform: translate3d(-2%, -3%, 0); } }
@media (prefers-reduced-motion: reduce) { .sky::before, .sky::after { animation: none; } }

.top, main, .foot { width: 100%; max-width: 560px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 17px var(--head); letter-spacing: 0.2px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan), 0 0 26px rgba(61, 214, 255, 0.6); }
.tag { font-size: 12px; color: var(--mute); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; text-decoration: none; }
.tag:hover { color: var(--text); border-color: rgba(61, 214, 255, 0.45); }
.tag b { color: var(--cyan); margin-left: 2px; }

.screen { padding: 18px 0 28px; animation: enter 0.45s cubic-bezier(.2, .8, .2, 1) both; }
/* Только сдвиг: если анимация не запустится (фоновая вкладка, слабое устройство), текст всё равно виден */
@keyframes enter { from { transform: translateY(14px) scale(0.985); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }

.h1 { font: 800 clamp(30px, 8.4vw, 42px)/1.08 var(--head); margin: 6px 0 12px; letter-spacing: -0.5px; }
.h2 { font: 800 19px var(--head); margin: 22px 0 10px; }
.neon { color: var(--cyan); text-shadow: 0 0 14px rgba(61, 214, 255, 0.55), 0 0 32px rgba(61, 214, 255, 0.25); }
.lead { color: var(--mute); margin: 0 0 22px; }

/* Окна-интерфейсы */
.card, .tile {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.win { display: flex; align-items: center; gap: 6px; margin: -2px 0 14px; }
.win i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); opacity: 0.85; }
.win i:nth-child(2) { background: var(--gold); }
.win i:nth-child(3) { background: var(--lime); }
.win b { margin-left: 8px; font: 600 11px var(--ui); letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); }

.tiles { display: grid; gap: 14px; }
.tile {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; text-align: left; width: 100%;
  padding: 16px 18px 18px; color: var(--text); font: inherit; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tile .win { grid-column: 1 / -1; }
.tile-icon { grid-column: 2; grid-row: 2 / span 3; width: 56px; height: 56px; color: var(--cyan); align-self: center;
  filter: drop-shadow(0 0 10px rgba(61, 214, 255, 0.5)); }
.tile-title { font: 800 20px/1.2 var(--head); }
.tile-sub { color: var(--mute); font-size: 14px; }
.go { margin-top: 8px; font-weight: 700; color: var(--cyan); }
.tile:not(:disabled):hover, .tile:not(:disabled):focus-visible { transform: translateY(-2px); border-color: rgba(61, 214, 255, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(61, 214, 255, 0.25), 0 0 30px rgba(61, 214, 255, 0.15); outline: none; }
.tile.soon { cursor: default; opacity: 0.55; }
.tiles + .sec, .sec { font: 700 12px var(--ui); letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); margin: 22px 2px 10px; }
.tile.soon .tile-icon, .tile.soon .go { color: var(--mute); filter: none; }

.back { background: none; border: 0; color: var(--mute); font: 600 14px var(--ui); padding: 4px 0; cursor: pointer; }
.back:hover { color: var(--text); }

/* Форма */
.form { padding: 16px 18px 8px; margin-bottom: 16px; }
.field { display: block; margin-bottom: 18px; }
.lbl { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.lbl output { font: 800 16px var(--head); color: var(--cyan); white-space: nowrap; }
.hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--dim); }
input[type=range] { width: 100%; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan) var(--p, 50%), rgba(255, 255, 255, 0.1) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--cyan); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 3px solid var(--cyan); box-shadow: 0 0 14px rgba(61, 214, 255, 0.7); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan); }
.check { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--cyan); }

/* Результат */
.result { padding: 16px 18px 18px; }
.kicker { margin: 0; color: var(--mute); font-weight: 600; }
.big { margin: 2px 0 2px; font: 900 clamp(44px, 13vw, 60px)/1.05 var(--head); color: var(--lime);
  text-shadow: 0 0 18px rgba(140, 242, 107, 0.45), 0 0 44px rgba(140, 242, 107, 0.2); }
.note { margin: 0 0 14px; color: var(--dim); font-size: 13.5px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stat { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.stat.wide { grid-column: 1 / -1; }
.s-lbl { display: block; font-size: 12.5px; color: var(--mute); }
.s-val { display: block; font: 800 clamp(16px, 4.8vw, 20px) var(--head); overflow-wrap: anywhere; }
.lime { color: var(--lime); } .cyan { color: var(--cyan); } .gold { color: var(--gold); }

.chart { width: 100%; height: auto; display: block; margin: 4px 0 4px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--mute); margin-bottom: 12px; }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.lg-a { background: var(--lime); box-shadow: 0 0 8px var(--lime); } .lg-b { background: var(--violet); }

.early { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 12px 14px; border-radius: 14px;
  background: rgba(140, 242, 107, 0.06); border: 1px solid rgba(140, 242, 107, 0.22); font-size: 14.5px; }
.early b { font: 800 18px var(--head); }

.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--mute); font-size: 14.5px; }
.steps b { color: var(--text); }

.offer { margin-top: 16px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.btn { border: 0; border-radius: 14px; padding: 14px 12px; font: 700 15px var(--ui); cursor: pointer; color: #061018;
  background: linear-gradient(135deg, var(--cyan), #7BE8FF); box-shadow: 0 8px 26px rgba(61, 214, 255, 0.3); }
.btn.ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn:active { transform: scale(0.98); }
.fine { margin: 14px 0 0; font-size: 12px; color: var(--dim); }

.foot { padding-top: 6px; padding-bottom: 28px; font-size: 12px; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.foot a { color: var(--mute); }

@media (max-width: 360px) { .stats { grid-template-columns: 1fr; } .actions { grid-template-columns: 1fr; } }

/* Поиск на главной */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search { padding: 14px; margin-bottom: 4px; }
.search input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font: 600 16px var(--ui); outline: none; }
.search input:focus { border-color: rgba(61, 214, 255, 0.6); box-shadow: 0 0 0 3px rgba(61, 214, 255, 0.15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.form .chips { margin: 0 0 16px; }
.chip { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--mute); border-radius: 999px; padding: 7px 12px;
  font: 600 13px var(--ui); cursor: pointer; }
.chip:hover, .chip.on { color: var(--text); border-color: rgba(61, 214, 255, 0.5); background: rgba(61, 214, 255, 0.1); }
.empty { color: var(--dim); font-size: 14px; margin: 8px 0; }

/* Переключатели и вопросы */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 4px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); margin-bottom: 18px; }
.seg.wrap { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.seg-b { border: 0; border-radius: 10px; padding: 10px 8px; background: transparent; color: var(--mute); font: 700 14px var(--ui); cursor: pointer; }
.seg-b[aria-pressed="true"] { background: rgba(61, 214, 255, 0.16); color: var(--text); box-shadow: inset 0 0 0 1px rgba(61, 214, 255, 0.5); }
.qa p { margin: 0 0 8px; font-weight: 600; }
.qa .seg { margin-bottom: 16px; }
.progress { margin: -4px 0 12px; font-size: 13px; color: var(--cyan); }
.verdict { margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(61, 214, 255, 0.06); border: 1px solid rgba(61, 214, 255, 0.2); font-size: 14.5px; }
.big.neg { color: var(--red); text-shadow: 0 0 18px rgba(255, 77, 98, 0.45), 0 0 44px rgba(255, 77, 98, 0.2); }
.choice { display: grid; gap: 10px; }
.bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); margin: -4px 0 16px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 33%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: width 0.3s; }
.roles { margin: 6px 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.roles li { font: 800 18px var(--head); color: var(--lime); }
.roles li::before { content: '✓ '; color: var(--lime); }

/* Мои расчёты, о проекте */
.mini { padding: 16px 18px; margin-top: 18px; }
.saved-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.saved-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none;
  color: var(--text); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.si-t { font-weight: 700; } .si-v { font: 800 16px var(--head); color: var(--lime); text-align: right; }
.si-n { grid-column: 1 / -1; font-size: 12.5px; color: var(--dim); }
.full { display: block; width: 100%; text-align: center; text-decoration: none; margin-top: 14px; }
.prose p { margin: 0 0 12px; color: var(--mute); } .prose b { color: var(--text); } .prose a { color: var(--cyan); }
.next { margin-top: 8px; }

/* Предложения партнёров */
.offer-card { margin-top: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.ad { margin: 0 0 6px; font-size: 11.5px; color: var(--dim); letter-spacing: 0.3px; }
.offer-title { margin: 0 0 6px; font: 800 17px var(--head); }
.cond { margin: 0; padding-left: 18px; color: var(--mute); font-size: 14px; }
.partner-note { margin: 10px 0 0; font-size: 12.5px; color: var(--mute); }

/* ===== v2: главная с кнопками по темам, ответ сверху ===== */
.h1.tool { font-size: clamp(26px, 7vw, 34px); }
.example { display: block; padding: 16px 18px; text-decoration: none; color: var(--text); margin-bottom: 6px; }
.ex-lbl { display: block; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 1.2px; }
.ex-q { display: block; font-weight: 700; margin-top: 6px; }
.ex-big { display: block; font: 900 clamp(34px, 10vw, 46px)/1.1 var(--head); color: var(--lime);
  text-shadow: 0 0 18px rgba(140, 242, 107, 0.45); margin: 4px 0 0; }
.ex-sub { display: block; color: var(--mute); font-size: 14px; }
.example .btn { margin-top: 12px; }
.tool-list { display: grid; gap: 10px; }
.tool-btn { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 14px 16px; border-radius: 16px;
  text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.tool-btn:hover, .tool-btn:focus-visible { transform: translateY(-2px); border-color: rgba(61, 214, 255, 0.5); outline: none;
  box-shadow: 0 0 0 1px rgba(61, 214, 255, 0.25), 0 0 26px rgba(61, 214, 255, 0.15); }
.tb-q { grid-column: 1; font: 800 17px/1.25 var(--head); }
.tb-ex { grid-column: 1; font-size: 13.5px; color: var(--mute); }
.tb-t { grid-column: 2; grid-row: 1; align-self: start; font-size: 11.5px; font-weight: 700; color: var(--lime); white-space: nowrap;
  border: 1px solid rgba(140, 242, 107, 0.35); border-radius: 999px; padding: 2px 8px; }
.tb-go { grid-column: 2; grid-row: 2; justify-self: end; color: var(--cyan); font-weight: 800; font-size: 18px; }
.tool-btn.off { opacity: 0.55; }
.privacy { margin: 22px 0 0; font-size: 13px; color: var(--mute); text-align: center; }

.ans { padding: 16px 18px 18px; margin-bottom: 14px; border-color: rgba(140, 242, 107, 0.25); }
.big small { display: block; font-size: 15px; line-height: 1.2; color: var(--mute); text-shadow: none; font-weight: 700; margin-top: 2px; }
.plan { padding: 16px 18px; margin-bottom: 4px; }
.step-t { font: 800 15px var(--head); margin: 4px 0 10px; }
.form .step-t:not(:first-child) { margin-top: 18px; }
.opt { font: 500 12px var(--ui); color: var(--dim); margin-left: 6px; }

/* Поля сумм */
.inp { display: grid; grid-template-columns: 1fr minmax(0, 150px) auto; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; font-size: 14.5px; }
.inp input, .mini-inp input, .rows select, .h-name {
  min-width: 0; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font: 800 16px var(--head); text-align: right; outline: none; }
.inp input[type=date] { text-align: left; font: 700 15px var(--ui); color-scheme: dark; grid-column: 2 / span 2; }
.inp input:not(.num):not([type=date]) { text-align: left; font: 600 15px var(--ui); grid-column: 2 / span 2; }
.inp input:focus, .mini-inp input:focus, .rows select:focus, .h-name:focus { border-color: rgba(61, 214, 255, 0.6); box-shadow: 0 0 0 3px rgba(61, 214, 255, 0.15); }
.inp b, .mini-inp b { color: var(--mute); font-weight: 700; }

/* Строки привычек */
.rows { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.hrow { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 6px; align-items: center;
  padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.h-name { grid-column: 1 / 4; text-align: left; font: 700 15px var(--ui); padding: 8px 10px; }
.hrow .x { grid-column: 4; grid-row: 1; justify-self: end; }
.mini-inp { display: flex; align-items: center; gap: 4px; min-width: 0; }
.mini-inp input { padding: 8px; font-size: 15px; }
.mini-inp b { font-size: 12px; }
.mul { color: var(--dim); text-align: center; }
.rows select { min-width: 0; text-align: left; font: 700 13px var(--ui); padding: 9px 4px; color-scheme: dark; }
.x { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--mute); font-size: 18px; line-height: 1; cursor: pointer; }
.x:hover { color: var(--red); border-color: rgba(255, 77, 98, 0.5); }

/* Разбивка по привычкам */
.bars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.bars li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; overflow: hidden; font-size: 14px; }
.bars i { position: absolute; inset: 0 auto 0 0; background: rgba(61, 214, 255, 0.14); border-right: 2px solid var(--cyan); z-index: -1; }
.b-v { font-weight: 800; }

/* Трекер */
.big-btn { font-size: 17px; padding: 16px; margin: 10px 0 14px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 12px; }
.cal-h { text-align: center; font-size: 11px; color: var(--dim); }
.cal-d { text-align: center; font-size: 12.5px; padding: 7px 0; border-radius: 8px; background: rgba(255, 255, 255, 0.04); color: var(--mute); }
.cal-d.on { background: rgba(140, 242, 107, 0.22); color: var(--lime); font-weight: 800; box-shadow: inset 0 0 0 1px rgba(140, 242, 107, 0.5); }
.cal-d.fut { opacity: 0.3; }
.cal-d.today { outline: 2px solid var(--cyan); }

/* Мои расчёты */
.saved-list li { position: relative; }
.saved-list li .x { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; font-size: 14px; background: var(--bg1); }
.goal .bar { margin: 6px 0 8px; height: 8px; }
.goal .bar i { width: 0; }
.sv-t { margin: 0; font-weight: 700; color: var(--mute); }
.sv-big { margin: 2px 0 0; font: 900 26px var(--head); color: var(--lime); }
.sv-big small { font-size: 14px; color: var(--mute); font-weight: 700; }
.sv-n { margin: 0 0 12px; font-size: 13.5px; color: var(--mute); }
.goal .actions { margin-top: 4px; }
.verdict b { color: var(--lime); }
@media (max-width: 360px) { .inp { grid-template-columns: 1fr; } .inp input[type=date], .inp input:not(.num) { grid-column: auto; } }

/* ===== v3: проще — один ответ, мало полей ===== */
.answer { padding: 18px 18px 16px; margin: 6px 0 14px; border-radius: 20px; background: var(--card);
  border: 1px solid rgba(140, 242, 107, 0.28); box-shadow: 0 0 34px rgba(140, 242, 107, 0.08); }
.answer .big { margin: 0; overflow-wrap: anywhere; }
.sub { margin: 8px 0 0; color: var(--mute); font-size: 15px; line-height: 1.4; }
.sub.strong { color: var(--text); font-weight: 700; }
.sub:empty { display: none; }
.answer .bars { margin-top: 12px; }
.bars li { isolation: isolate; }
.bars:empty { display: none; }
ol.plan { margin: 16px 0 0; padding: 0 0 0 22px; display: grid; gap: 8px; color: var(--mute); font-size: 15px; line-height: 1.4;
  background: none; border: 0; }
ol.plan li::marker { color: var(--cyan); font-weight: 800; }
details.more { margin: 4px 0 12px; border-top: 1px solid var(--line); padding-top: 12px; }
details.more summary { cursor: pointer; color: var(--cyan); font-weight: 700; font-size: 14.5px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: '+ '; }
details.more[open] summary::before { content: '− '; }
details.more[open] summary { margin-bottom: 12px; }
.sv { position: relative; display: block; text-decoration: none; color: var(--text); padding: 14px 44px 14px 16px; margin-bottom: 10px; }
.sv > .x { position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; font-size: 15px; }
.sv .bar { margin: 8px 0 10px; height: 8px; }
.sv-upd { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.sv-upd input { min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font: 800 16px var(--head); text-align: right; }
.sv-upd .btn { padding: 10px 14px; }

/* ===== v4: язык действия (решение владельца 2026-11-15, docs/strategy/SITE_STRUCTURE.md §10) =====
   Оранжевый — только то, что нужно нажать следующим (одна главная кнопка на экране).
   Голубой — выбор и информация. Зелёный — хороший ответ. Красный — плохой. */
:root { --act: #FF7A45; --act2: #FFA53D; --act-ink: #1A0A02; }
.btn { background: linear-gradient(135deg, var(--act), var(--act2)); color: var(--act-ink); min-height: 52px; font-size: 16px; font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 122, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: filter 0.15s, transform 0.15s; }
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible, .tool-btn:focus-visible, .next:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn.ghost { min-height: 48px; font-size: 15px; font-weight: 700; filter: none; }
.go::after { content: ' →'; }

/* Главная: «Заработать» — главный путь */
.tb-go { color: var(--dim); }
.tool-btn.money { border-color: rgba(255, 122, 69, 0.5);
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.16), rgba(255, 165, 61, 0.04)), var(--card);
  box-shadow: 0 0 0 1px rgba(255, 122, 69, 0.18), 0 14px 40px rgba(255, 122, 69, 0.14); }
.tool-btn.money .tb-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; align-self: center; grid-row: 1 / span 2;
  background: linear-gradient(135deg, var(--act), var(--act2)); color: var(--act-ink); box-shadow: 0 6px 18px rgba(255, 122, 69, 0.4); }
.tool-btn.money:hover { border-color: var(--act); box-shadow: 0 0 0 1px rgba(255, 122, 69, 0.35), 0 0 30px rgba(255, 122, 69, 0.22); }

/* Мост к следующему шагу внутри плана */
ol.plan a { color: var(--act); font-weight: 700; text-decoration: none; }
ol.plan a:hover { text-decoration: underline; }

/* Липкая кнопка партнёра на телефоне */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 18px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(7, 9, 15, 0.94) 35%); transition: transform 0.25s, opacity 0.25s; }
.cta-bar .btn { max-width: 528px; margin: 0 auto; }
.cta-bar.away { transform: translateY(110%); opacity: 0; pointer-events: none; }
body.has-bar .foot { padding-bottom: 100px; }
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }

/* ===== v5: посадочная страница и квиз (решение владельца 2026-11-15, SITE_STRUCTURE.md §9b) =====
   Правило: каждый цвет, слово и движение работает на следующий клик. Движение — только чтобы
   (1) показать смысл (монета = деньги, маршрут = доставка, галочка = «подходит»),
   (2) привести взгляд к оранжевой кнопке. Декоративных бесконечных анимаций нет. */
:root { --earn: #FF7A45; --money: #8CF26B; --work: #3DD6FF; }

/* Крючок */
.hero { padding-top: 4px; }
.hero-art, .qz-art { display: block; width: 100%; height: auto; max-height: 180px; margin: 0 auto 6px; overflow: visible; }
.hg-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.4s 0.2s cubic-bezier(.4, 0, .2, 1) forwards; }
.hg-coin { transform-origin: 160px 85px; animation: coinIn 0.7s cubic-bezier(.2, 1.4, .4, 1) both, float 5s 0.8s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes coinIn { from { transform: scale(0.6) rotate(-20deg); } }
@keyframes float { 50% { transform: translateY(-5px); } }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--text); background: rgba(140, 242, 107, 0.08); border: 1px solid rgba(140, 242, 107, 0.28); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 0 rgba(140, 242, 107, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(140, 242, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 242, 107, 0); } }
.hero-h { font-size: clamp(28px, 7.6vw, 40px); }
.hl-act { color: var(--act); text-shadow: 0 0 18px rgba(255, 122, 69, 0.45); }
.hl-lime { color: var(--money); text-shadow: 0 0 18px rgba(140, 242, 107, 0.35); }
.from { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; font-weight: 800; color: var(--act-ink);
  background: linear-gradient(135deg, var(--act), var(--act2)); }
.micro { margin: 10px 0 0; font-size: 12.5px; color: var(--mute); text-align: center; }
.hero .btn, .qz .btn { margin-top: 18px; }

/* Блик на главной кнопке: раз в несколько секунд ведёт взгляд к действию */
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); animation: shine 4.5s 1.6s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Смысловые блоки на главной */
.cat { margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); --c: var(--work); }
.cat-earn { --c: var(--earn); border-color: rgba(255, 122, 69, 0.45);
  background: linear-gradient(160deg, rgba(255, 122, 69, 0.16), rgba(255, 122, 69, 0.02) 60%), var(--card); }
.cat-money { --c: var(--money); }
.cat-work { --c: var(--work); }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cat-head svg { flex: 0 0 52px; width: 52px; height: 52px; }
.cat-k { margin: 0; font: 800 12px var(--ui); letter-spacing: 1.4px; text-transform: uppercase; color: var(--c); }
.cat-h { margin: 2px 0 0; font: 800 17px/1.25 var(--head); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 4px; border-top: 1px solid var(--line);
  color: var(--text); text-decoration: none; }
.row-q { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.row-ex { grid-column: 1; font-size: 13.5px; color: var(--mute); }
.row-go { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform 0.2s; }
.row:hover .row-go, .row:focus-visible .row-go { transform: translateX(3px); }
.row:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 10px; }
.cat-earn .row-go { color: var(--act-ink); border: 0; background: linear-gradient(135deg, var(--act), var(--act2)); box-shadow: 0 6px 18px rgba(255, 122, 69, 0.4); }

/* Картинки-смыслы блоков */
.ca-path { stroke: rgba(255, 122, 69, 0.5); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 6; }
.ca-start { fill: var(--bg1); stroke: var(--work); stroke-width: 2.5; }
.ca-pin { fill: var(--money); }
.ca-dot { fill: var(--act); offset-path: path('M8 48H30Q40 48 40 38V18H56'); animation: ride 3.2s 0.6s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes ride { 0% { offset-distance: 0%; } 70%, 100% { offset-distance: 100%; } }
.ca-bar { fill: var(--money); transform-box: fill-box; transform-origin: bottom; animation: grow 0.9s cubic-bezier(.2, 1, .3, 1) both; }
.ca-bar.b1 { opacity: 0.45; } .ca-bar.b2 { opacity: 0.7; animation-delay: 0.12s; } .ca-bar.b3 { animation-delay: 0.24s; }
@keyframes grow { from { transform: scaleY(0.1); } }
.ca-face { fill: rgba(61, 214, 255, 0.08); stroke: var(--work); stroke-width: 3; }
.ca-hand, .ca-hand2, .ca-top { stroke: var(--work); stroke-width: 3; stroke-linecap: round; }
.ca-hand { transform-origin: 32px 34px; animation: tick 1.2s 0.4s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes tick { from { transform: rotate(-120deg); } }

/* Как это работает */
.how { margin-top: 22px; }
.how-l { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-l li { counter-increment: h; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; align-items: center; }
.how-l li::before { content: counter(h); grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 800 15px var(--head); color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.how-l b { font-size: 15px; } .how-l span { font-size: 13.5px; color: var(--mute); }

/* Квиз */
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.4; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(140, 242, 107, 0.16) center / 12px no-repeat; box-shadow: inset 0 0 0 1.5px var(--money);
  background-image: linear-gradient(transparent, transparent); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 5px; height: 8px; border: solid var(--money); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qz { animation: qzIn 0.35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes qzIn { from { transform: translateX(18px); } }
.qz-top { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.qz-back { flex: 0 0 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 18px; cursor: pointer; }
.prog { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--act), var(--act2)); animation: progIn 0.5s ease both; }
@keyframes progIn { from { width: calc(var(--p) - 25%); } }
.qz-n { font-size: 13px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.qz-h { font: 800 clamp(24px, 6.6vw, 30px)/1.15 var(--head); margin: 0 0 16px; outline: none; }
.qz-hint { margin: -6px 0 14px; color: var(--mute); font-size: 14.5px; }
.big-inp input { font-size: 18px; padding: 16px; }
.qz .chips { margin-top: 12px; }
.qz .chip { padding: 9px 13px; font-size: 14px; }
.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px; border-radius: 16px; text-align: left; cursor: pointer;
  font: 700 16.5px/1.3 var(--ui); color: var(--text); background: var(--card); border: 1.5px solid var(--line); transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.opts.two .opt { justify-content: center; text-align: center; }
.opt svg { flex: 0 0 34px; width: 34px; height: 34px; fill: none; stroke: var(--work); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover { border-color: rgba(255, 122, 69, 0.55); }
.opt:active { transform: scale(0.98); }
.opt[aria-pressed="true"] { border-color: var(--act); background: linear-gradient(135deg, rgba(255, 122, 69, 0.2), rgba(255, 165, 61, 0.06)), var(--card); }
.opt[aria-pressed="true"] svg { stroke: var(--act); }
.opt.tog { position: relative; padding-right: 48px; }
.opt.tog::after { content: ''; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; border: 2px solid var(--dim); }
.opt.tog[aria-pressed="true"]::after { border-color: var(--act); background: var(--act) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l3 3 7-7' fill='none' stroke='%231A0A02' stroke-width='2.4'/%3E%3C/svg%3E"); }
.opt:focus-visible, .qz-back:focus-visible, .chip:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.shake { animation: shake 0.4s; border-color: var(--act) !important; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

/* Маршрут курьера на крючке: точка доезжает до цели — смысл «доставка → результат» */
.route { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.6s 0.3s cubic-bezier(.4, 0, .2, 1) forwards; }
.rider { offset-path: path('M40 110 H140 Q180 110 180 75 V40 H260'); offset-rotate: 0deg; animation: ride 1.6s 0.3s cubic-bezier(.4, 0, .2, 1) both; }
.pin { transform-box: fill-box; transform-origin: center; animation: pop 0.5s 1.8s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pop { from { transform: scale(0); } }

/* Результат */
.res { text-align: center; padding: 8px 0 4px; }
.res-ic { width: 76px; height: 76px; display: block; margin: 0 auto 8px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.res-ring { stroke: var(--money); stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw 0.6s ease forwards; }
.res-ok { stroke: var(--money); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.4s 0.5s ease forwards; }
.res-no { display: none; stroke: var(--red); stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw 0.4s 0.5s ease forwards; }
.res.is-no .res-ring { stroke: var(--red); }
.res.is-no .res-ok { display: none; }
.res.is-no .res-no { display: inline; }
.res .big { font-size: clamp(36px, 10vw, 48px); outline: none; }
.res.is-no .big { color: var(--red); text-shadow: 0 0 18px rgba(255, 77, 98, 0.45); }
.res .sub { margin-top: 6px; }
.ben { margin: 16px 0 4px; padding: 14px 16px; border-radius: 16px; background: rgba(140, 242, 107, 0.06); border: 1px solid rgba(140, 242, 107, 0.22); }
.quiz [data-save]:not(.ghost) { margin-top: 18px; }
.quiz .actions { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .hg-line, .route, .res-ring, .res-ok, .res-no { animation: none; stroke-dashoffset: 0; }
  .hg-coin, .pulse, .shine::before, .ca-dot, .ca-bar, .ca-hand, .rider, .pin, .qz, .prog i, .shake { animation: none; }
  .ca-dot { offset-distance: 100%; } .rider { offset-distance: 100%; }
}
.inp.big-inp { display: block; margin-bottom: 0; }
.inp.big-inp input { width: 100%; font: 600 18px var(--ui); padding: 16px; }

/* ===================== v6: карманный набор (2026-11-15) =====================
   «Каждый день» — голубой (выбор и информация), «Своё дело» — фиолетовый, оранжевый — только следующий шаг.
   Иконки двигаются, чтобы объяснить действие инструмента: перечёркивание %, листок календаря, кубик. */
:root { --biz: #8C7BFF; --day: #3DD6FF; }

/* Крючок: чипы-ответы вокруг монеты — «тут быстро считают» */
.hg-c rect { fill: rgba(20, 26, 40, 0.9); stroke: rgba(61, 214, 255, 0.45); }
.hg-c text { fill: #F4F6FB; }
.hg-c.c2 rect { stroke: rgba(140, 242, 107, 0.55); } .hg-c.c2 text { fill: var(--money); }
.hg-c { opacity: 0; animation: chipIn 0.6s cubic-bezier(.2, 1.3, .4, 1) forwards, float 6s ease-in-out infinite; }
.hg-c.c1 { animation-delay: 0.5s, 1.1s; } .hg-c.c2 { animation-delay: 0.8s, 1.4s; } .hg-c.c3 { animation-delay: 1.1s, 1.7s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(0.85); } to { opacity: 1; transform: none; } }

/* Каждый день: плитки 2×2 */
.day { margin-top: 22px; }
.day-head .cat-k { color: var(--day); }
.day-head { margin-bottom: 10px; }
.tiles-p { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile-p { display: flex; flex-direction: column; gap: 4px; min-height: 132px; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(61, 214, 255, 0.10), rgba(20, 26, 40, 0.75) 55%); border: 1px solid rgba(61, 214, 255, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); transition: transform .18s, border-color .18s; }
.tile-p:hover, .tile-p:focus-visible { transform: translateY(-2px); border-color: rgba(61, 214, 255, 0.6); }
.tile-p:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tile-p:active { transform: scale(0.98); }
.tile-p b { font: 800 15.5px/1.2 var(--head); margin-top: 6px; }
.tile-p > span:last-child { font-size: 12.5px; line-height: 1.3; color: var(--mute); }
.tp-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(61, 214, 255, 0.12); }
.tp-ic svg { width: 32px; height: 32px; overflow: visible; }
.tp-ic svg * { fill: none; stroke: var(--day); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ic-slash { stroke: var(--money) !important; stroke-dasharray: 40; animation: slash 3.2s ease-in-out infinite; }
@keyframes slash { 0%, 15% { stroke-dashoffset: 40; } 45%, 100% { stroke-dashoffset: 0; } }
.ic-page { fill: rgba(140, 242, 107, 0.9) !important; stroke: none !important; animation: hop 3.2s ease-in-out infinite; }
@keyframes hop { 0%, 30% { transform: translate(0, 0); } 45%, 70% { transform: translate(12px, 0); } 85%, 100% { transform: translate(0, 0); } }
.ic-grid rect { fill: rgba(61, 214, 255, 0.35) !important; stroke: none !important; }
.ic-grid rect.we { fill: rgba(255, 77, 98, 0.6) !important; }
.ic-grid rect:nth-child(8) { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { fill: var(--money); } }
.ic-die { transform-origin: 24px 24px; animation: roll 3.6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
.ic-die circle { fill: var(--day) !important; stroke: none !important; }
@keyframes roll { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(360deg); } }

/* Своё дело */
.cat-biz { --c: var(--biz); }
.ca-doc { fill: rgba(140, 123, 255, 0.12); stroke: var(--biz); stroke-width: 2.5; stroke-linejoin: round; }
.ca-ln { stroke: rgba(244, 246, 251, 0.5); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 22; stroke-dashoffset: 22; animation: write 3.6s ease-in-out infinite; }
.ca-ln.l2 { animation-delay: .25s; } .ca-ln.l3 { animation-delay: .5s; }
@keyframes write { 0% { stroke-dashoffset: 22; } 35%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 22; } }
.ca-stamp { fill: var(--biz); animation: stamp 3.6s ease-in-out infinite; transform-origin: 44px 48px; }
.ca-pc { stroke: #0B0F18; stroke-width: 2.5; stroke-linecap: round; }
@keyframes stamp { 0%, 40% { transform: scale(0); } 55% { transform: scale(1.2); } 65%, 90% { transform: scale(1); } 100% { transform: scale(0); } }

/* Появление при прокрутке */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .tiles-p .reveal { transform: translateY(14px) scale(0.97); }

/* На экран телефона */
.install { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(140, 242, 107, 0.10), rgba(20, 26, 40, 0.8)); border: 1px dashed rgba(140, 242, 107, 0.4); }
.inst-art { flex: 0 0 56px; width: 56px; height: 56px; }
.inst-art .ph { fill: none; stroke: var(--text); stroke-width: 2.5; }
.inst-art .app { fill: var(--money); animation: appIn 2.8s ease-in-out infinite; transform-origin: 32px 29px; }
.inst-art .arr { fill: none; stroke: var(--money); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; animation: up 2.8s ease-in-out infinite; }
@keyframes appIn { 0%, 30% { transform: scale(0); } 50% { transform: scale(1.15); } 60%, 100% { transform: scale(1); } }
@keyframes up { 0%, 100% { transform: translateY(4px); opacity: .3; } 30% { transform: none; opacity: 1; } }
.inst-h { margin: 0; font: 800 16px/1.25 var(--head); }
.inst-t { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); line-height: 1.4; }
.inst-how { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--money); }
.install .btn { margin-top: 10px; min-height: 44px; padding: 10px 16px; font-size: 15px; }

/* Экраны инструментов */
.pocket > .seg { margin: 4px 0 12px; }
.card .seg + .seg, .card .seg + .inp, .card .seg + label { margin-top: 10px; }
.card .seg { margin-bottom: 12px; }
.res-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.res-list:empty { display: none; }
.res-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.res-list li span { color: var(--mute); }
.res-list li b { text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.copy { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); font-size: 15px; cursor: pointer; }
.copy:hover { border-color: rgba(61, 214, 255, 0.5); }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--day); }

/* Календарь */
.cal-nav { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; margin-bottom: 4px; }
.cal-m { margin: 0; text-align: center; font: 800 20px var(--head); }
.cal-arr { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); font: 800 22px var(--ui); cursor: pointer; }
.cal-arr:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-w { text-align: center; font-size: 11.5px; font-weight: 800; color: var(--dim); padding-bottom: 2px; }
.cal-d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: 14px; background: rgba(61, 214, 255, 0.07); }
.cal-d.off { background: rgba(255, 77, 98, 0.16); color: #FF8A98; }
.cal-d.short { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal-d.hol { background: rgba(255, 77, 98, 0.34); color: #fff; }
.cal-d.today { box-shadow: inset 0 0 0 2px var(--money); color: var(--money); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 0; font-size: 12.5px; color: var(--mute); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: -6px; }
.lg.off { background: rgba(255, 77, 98, 0.5); } .lg.short { box-shadow: inset 0 0 0 1.5px var(--gold); } .lg.today { box-shadow: inset 0 0 0 2px var(--money); }

/* Кредит: доля долга и процентов */
.split { position: relative; display: flex; justify-content: space-between; height: 30px; margin-top: 12px; border-radius: 10px; overflow: hidden;
  background: rgba(255, 77, 98, 0.35); font-size: 12px; font-weight: 800; }
.split i { position: absolute; inset: 0 auto 0 0; background: rgba(61, 214, 255, 0.4); transition: width .4s; }
.split span { position: relative; align-self: center; padding: 0 10px; }

/* Самозанятость или ИП: сравнение */
.kicker-s { margin: 0; font: 800 12px var(--ui); letter-spacing: 1.2px; text-transform: uppercase; color: var(--money); }
.answer .big small { white-space: normal; }
.cmp { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cmp li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04); font-size: 14px; }
.cmp li i { position: absolute; inset: auto auto 0 0; height: 3px; background: var(--mute); transition: width .4s; }
.cmp li.best { background: rgba(140, 242, 107, 0.12); box-shadow: inset 0 0 0 1px rgba(140, 242, 107, 0.5); }
.cmp li.best i { background: var(--money); }
.cmp li b { white-space: nowrap; }

/* Случайное число */
.rand-box { text-align: center; }
.rand-box .big { font-variant-numeric: tabular-nums; color: var(--day); text-shadow: 0 0 22px rgba(61, 214, 255, 0.45); }
.rand-box .big.many { font-size: clamp(26px, 8vw, 36px); }
.big.pop { animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0.7); } }
#gQuick { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  .hg-c { opacity: 1; animation: none; }
  .ic-slash, .ic-page, .ic-grid rect, .ic-die, .ca-ln, .ca-stamp, .inst-art .app, .inst-art .arr, .big.pop { animation: none; }
  .ca-ln { stroke-dashoffset: 0; } .ca-stamp { transform: none; }
}
/* Нейтральный ответ (платёж, проценты, даты) — голубой: зелёный оставляем для выгоды, красный для потерь */
#pct .big, #days .big, #cal .big, #credit .big { color: var(--day); text-shadow: 0 0 18px rgba(61, 214, 255, 0.4); }
#n_big { font-size: clamp(26px, 7.6vw, 36px); overflow-wrap: normal; hyphens: none; }

/* v6.1: первый экран компактнее — плитки «Каждый день» видны сразу; «Вы недавно считали» сверху */
#home .hero-art { max-height: 96px; margin-bottom: 2px; }
#home .kicker { margin-bottom: 8px; padding: 5px 11px; }
#home .hero-h { font-size: clamp(24px, 6.6vw, 36px); margin-bottom: 8px; }
#home .lead { margin-bottom: 0; font-size: 15px; }
#home .hero .btn { margin-top: 14px; }
#home .day { margin-top: 18px; }
.tile-p { min-height: 112px; padding: 12px; }
.recent { margin: 0 0 14px; }
.recent-k { margin: 0 0 8px; font: 800 12px var(--ui); letter-spacing: 1.2px; text-transform: uppercase; color: var(--money); }
.recent-l { display: grid; gap: 8px; }
.recent-a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 15px;
  background: rgba(140, 242, 107, 0.07); border: 1px solid rgba(140, 242, 107, 0.3); }
.recent-a:hover, .recent-a:focus-visible { border-color: rgba(140, 242, 107, 0.7); }
.recent-a .tp-ic { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px; }
.recent-a .tp-ic svg { width: 24px; height: 24px; }
.recent-dot { flex: 0 0 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle, var(--money) 0 5px, rgba(140, 242, 107, 0.12) 6px); }
.recent-a::after { content: '→'; margin-left: auto; color: var(--money); font-weight: 800; }

/* ===================== v7: первый экран «карманный помощник» (2026-11-15) =====================
   Лента на всю ширину: линия роста (результат), свет бежит к монете (деньги), по очереди всплывают
   ответы инструментов (что тут можно посчитать). Всё в цветах смысла: голубой — расчёт, зелёный — выгода. */
.hero-band { display: block; width: 100vw; margin: -18px 0 4px calc(50% - 50vw); height: clamp(176px, 34vw, 250px); overflow: hidden; }
.hb-grid path { fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; stroke-dasharray: 3 9; animation: gridMove 6s linear infinite; }
@keyframes gridMove { to { stroke-dashoffset: -24; } }
.hb-dust circle { fill: rgba(244, 246, 251, 0.55); animation: dust 7s ease-in-out infinite; }
.hb-dust circle:nth-child(3n) { animation-duration: 9s; animation-delay: -3s; }
.hb-dust circle:nth-child(3n+1) { animation-duration: 11s; animation-delay: -6s; }
@keyframes dust { 0%, 100% { transform: translateY(0); opacity: .15; } 50% { transform: translateY(-14px); opacity: .8; } }
.hb-area { fill: url(#hbArea); opacity: 0; animation: fadeIn 1s .9s ease forwards; }
.hb-line { fill: none; stroke: url(#hbLine); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: hbDraw 1.6s .15s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes hbDraw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
/* Свет бежит по линии слева направо — к монете и дальше вверх */
.hb-comet { fill: none; stroke: #BFF3FF; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 70 930; stroke-dashoffset: 70; opacity: 0;
  animation: comet 4.2s 1.6s cubic-bezier(.5, 0, .5, 1) infinite; }
.hb-comet-core { stroke: #fff; stroke-width: 2.5; }
@keyframes comet { 0% { stroke-dashoffset: 70; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -930; opacity: 0; } }
.hb-pt circle { fill: #3DD6FF; }
.hb-pt .ring { fill: none; stroke: #3DD6FF; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 8s ease-out infinite; opacity: 0; }
.hb-pt.p2 circle, .hb-pt.p4 circle { fill: #8CF26B; } .hb-pt.p2 .ring, .hb-pt.p4 .ring { fill: none; stroke: #8CF26B; }
.hb-pt.p1 .ring { animation-delay: 1.8s; } .hb-pt.p2 .ring { animation-delay: 3.8s; } .hb-pt.p3 .ring { animation-delay: 5.8s; } .hb-pt.p4 .ring { animation-delay: 7.8s; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 12% { transform: scale(3.2); opacity: 0; } 100% { opacity: 0; } }
/* Ответы всплывают по очереди: каждый держится 1,6 с из цикла 8 с */
.hb-c rect { fill: rgba(14, 19, 32, 0.92); stroke: rgba(61, 214, 255, 0.55); stroke-width: 1.2; }
.hb-c text { fill: #F4F6FB; }
.hb-c.good rect { stroke: rgba(140, 242, 107, 0.6); } .hb-c.good text { fill: #8CF26B; }
.hb-c { opacity: 0; transform-box: fill-box; transform-origin: center bottom; animation: chipCycle 8s cubic-bezier(.2, .9, .3, 1) infinite; }
.hb-c.c1 { animation-delay: 1.8s; } .hb-c.c2 { animation-delay: 3.8s; } .hb-c.c3 { animation-delay: 5.8s; } .hb-c.c4 { animation-delay: 7.8s; }
@keyframes chipCycle { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 5%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-6px); } }
/* Монета: мягкое свечение, орбита в перспективе и поворот ребром — объём без увеличения */
.hb-glow { animation: glow 4.2s 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 0%, 100% { opacity: .75; } 45% { opacity: 1; } }
.hb-orbit { fill: none; stroke: rgba(255, 196, 140, 0.35); stroke-width: 1.4; stroke-dasharray: 4 7; animation: orbit 14s linear infinite; }
@keyframes orbit { to { stroke-dashoffset: -110; } }
.hb-sat { fill: #FFC94A; offset-path: path('M338 100 A62 17 0 1 0 462 100 A62 17 0 1 0 338 100'); animation: sat 6s linear infinite; }
@keyframes sat { to { offset-distance: 100%; } }
.hb-coin { transform-box: fill-box; transform-origin: center; animation: coinIn 0.8s .3s cubic-bezier(.2, 1.4, .4, 1) both; }
.hb-spin { transform-box: fill-box; transform-origin: center; animation: coinSpin 7s 2s ease-in-out infinite; }
@keyframes coinSpin { 0%, 78% { transform: scaleX(1); } 86% { transform: scaleX(0.08); } 94%, 100% { transform: scaleX(1); } }
.hb-shine { fill: rgba(255, 255, 255, 0.55); animation: coinShine 4.2s 1.6s ease-in-out infinite; opacity: 0; }
@keyframes coinShine { 0%, 50% { opacity: 0; transform: translateX(0); } 60% { opacity: .9; } 75%, 100% { opacity: 0; transform: translateX(46px); } }
.hl-day { color: var(--day); text-shadow: 0 0 18px rgba(61, 214, 255, 0.45); }
#home .hero-h { font-size: clamp(26px, 7vw, 38px); }
#home .lead { margin: 0; color: var(--mute); }
.from-card { margin-top: 16px; padding: 14px; border-radius: 18px; background: rgba(255, 122, 69, 0.08); border: 1px solid rgba(255, 122, 69, 0.4); }
.from-t { margin: 0 0 10px; font-weight: 800; font-size: 15.5px; }
.from-card .btn { margin-top: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .hb-grid path, .hb-dust circle, .hb-comet, .hb-pt .ring, .hb-glow, .hb-orbit, .hb-sat, .hb-coin, .hb-spin, .hb-shine { animation: none; }
  .hb-line { stroke-dashoffset: 0; animation: none; } .hb-area { opacity: 1; animation: none; }
  .hb-c { animation: none; } .hb-c.c1, .hb-c.c4 { opacity: 1; }
}

/* v8: отчёт картинкой и «Вы недавно использовали» под быстрыми расчётами */
.recent { margin: 18px 0 0; }
.shot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 10, 0.78); backdrop-filter: blur(6px); }
.shot[hidden] { display: none; }
.shot-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; padding: 16px; border-radius: 22px;
  background: var(--bg1); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: enter .3s cubic-bezier(.2, .8, .2, 1) both; }
.shot-img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.shot-act { display: grid; gap: 8px; margin-top: 12px; }
.shot-act .btn { text-align: center; text-decoration: none; display: grid; place-items: center; }
.shot-x { position: absolute; top: 8px; right: 8px; z-index: 1; }
.shot-note { margin: 10px 0 0; text-align: center; }
body.no-scroll { overflow: hidden; }

/* Доверие под плашкой «Бесплатно»: щит = защита данных */
.trust { display: flex; align-items: flex-start; gap: 8px; margin: -2px 0 12px; font-size: 13.5px; line-height: 1.4; color: var(--mute); }
.trust svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--money); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Единый ритм главной: между смысловыми блоками — 28px, от подписи блока до содержимого — 10px */
#home { --block-gap: 28px; }
#home .day, #home .recent, #home .cat, #home .install, #home #homeSaved:not([hidden]) { margin-top: var(--block-gap); margin-bottom: 0; }
#home .day-head { margin-bottom: 10px; }
#home .recent-k { margin-bottom: 10px; }
#home .recent-l, #home .tiles-p { gap: 10px; }

/* v9: удобство на телефоне — крупные зоны нажатия, читаемый мелкий текст, ответ на виду, «Сегодня» */
:root { --mute: rgba(244, 246, 251, 0.68); --dim: rgba(244, 246, 251, 0.52); }
.back { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px 8px 0; font-size: 15px; }
details.more summary { display: flex; align-items: center; min-height: 44px; }
.chip { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.x { width: 36px; height: 36px; }
.saved-list li .x { width: 32px; height: 32px; right: -8px; top: -8px; }
.sv > .x { width: 36px; height: 36px; top: 6px; right: 6px; }
.qz-back { flex-basis: 44px; height: 44px; }
.tag { font-size: 13px; padding: 8px 12px; }
.hint, .s-lbl, .legend, .si-n, .partner-note, .micro, .cal-legend, .tile-p > span:last-child, .fine, .foot { font-size: 13px; }
.ad { font-size: 12.5px; color: var(--mute); }
.tb-t, .cal-w, .cal-h { font-size: 12px; }
.cal-d { font-size: 13.5px; }
.mini-inp b { font-size: 13px; }
.foot a { display: inline-block; padding: 8px 2px; }

.today { position: relative; display: block; margin: 0 0 10px; padding: 14px 16px 12px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(61, 214, 255, 0.10), rgba(61, 214, 255, 0.02) 60%), var(--card); border: 1px solid rgba(61, 214, 255, 0.22);
  transition: transform 0.15s, border-color 0.15s; }
.today:active { transform: scale(0.99); }
.today:hover { border-color: rgba(61, 214, 255, 0.45); }
.today:empty { display: none; }
.today-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.today-k { font: 800 12px var(--ui); letter-spacing: 1.2px; text-transform: uppercase; color: var(--day); }
.today-d { font: 800 17px var(--head, var(--ui)); }
.today-kind { flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--mute); }
.today-kind.k-off { color: #FF8A9A; }
.today-kind.k-short { color: var(--act); }
.today-kind.k-work { color: var(--lime); }
.today-f { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.today-f li { display: grid; gap: 2px; }
.today-f b { font: 900 24px/1 var(--head, var(--ui)); color: var(--day); }
.today-f span { font-size: 13px; line-height: 1.3; color: var(--mute); }
.today-go { position: absolute; top: 14px; right: 16px; font-size: 13px; font-weight: 700; color: var(--day); }

.peek { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: block; width: 100%; margin: 0; border: 0; border-bottom: 1px solid var(--line);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: rgba(10, 13, 20, 0.94); backdrop-filter: blur(10px);
  font: 900 22px/1.2 var(--head, var(--ui)); text-align: center; cursor: pointer; animation: peekIn 0.2s ease-out both; }
.peek[hidden] { display: none; }
@keyframes peekIn { from { opacity: 0; translate: 0 -100%; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .peek { animation: none; } }
.tag { display: inline-flex; align-items: center; min-height: 44px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { padding: 12px 4px; }
.today-go { position: static; display: block; margin-top: 8px; text-align: right; }

/* v9: крестик «Удалить» в сохранённом — крупнее и поверх карточки; плашка «Вернуть» */
.sv > .x { z-index: 2; width: 40px; height: 40px; top: 4px; right: 4px; font-size: 20px; }
.undo { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; max-width: 440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px;
  background: #1A2132; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-weight: 700; animation: enter .25s ease-out both; }
.undo[hidden] { display: none; }
.undo-b { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: rgba(61, 214, 255, 0.14); color: var(--day); font: 800 15px var(--ui); cursor: pointer; }
/* Календарь рабочих дней: 7 колонок строго в ширину карточки (раньше квадратные клетки распирали сетку и воскресенье вылезало) */
.cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-grid .cal-d { min-width: 0; padding: 0; outline: none; }

/* Итог опроса про подработку: одна кнопка «Оставить заявку» сразу под вердиктом */
.j-cta { margin: 14px 0 6px; }
.j-cta .ad { margin-bottom: 8px; }
.j-cta .btn { font-size: 18px; min-height: 58px; }
.j-cta .micro { margin-top: 8px; }
.btn[disabled] { opacity: 0.55; cursor: default; filter: saturate(0.6); }
.j-again { margin: 16px 0 0; text-align: center; }
.link { background: none; border: 0; min-height: 44px; padding: 0 12px; color: var(--mute); font: 600 14px var(--ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* v10: первый экран — одна мысль и одна кнопка. Порядок: что это (заголовок) → что умеет (строка) → почему можно
   (три галочки) → куда дальше (кнопка внизу экрана) → доверие мелко. Блок занимает ровно первый экран телефона. */
#home .hero { display: flex; flex-direction: column; min-height: calc(100svh - 104px); padding-bottom: 8px; }
#home .hero-band { flex: 0 0 auto; }
#home .hero-h { margin: 4px 0 10px; font-size: clamp(30px, 8.6vw, 42px); line-height: 1.05; }
#home .lead { margin: 0; font-size: 17px; line-height: 1.4; color: var(--text); opacity: 0.86; }
.hero-ok { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.hero-ok li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--text); background: rgba(140, 242, 107, 0.08); border: 1px solid rgba(140, 242, 107, 0.28); }
.hero-ok svg { width: 16px; height: 16px; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-go { margin-top: auto !important; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-size: 17px; }
#home .from-card:not([hidden]) + .hero-go { margin-top: 12px !important; }
.hero-arr { display: inline-block; font-size: 20px; animation: heroArr 1.6s ease-in-out infinite; }
@keyframes heroArr { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
#home .hero > .trust { margin: 12px 0 0; justify-content: center; text-align: left; font-size: 13px; }
#home .hero-ok + .from-card { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .hero-arr { animation: none; } }
@media (min-height: 900px) { #home .hero { min-height: 0; } #home .hero-go { margin-top: 24px !important; } }
.hero-go::after { content: none !important; display: none !important; }
.hero-ok { gap: 6px; flex-wrap: nowrap; }
.hero-ok li { padding: 6px 10px 6px 7px; font-size: 13px; gap: 4px; white-space: nowrap; }
@media (max-width: 370px) { .hero-ok { flex-wrap: wrap; } }
.hero-ok { flex-wrap: wrap; }
.hero-ok li { padding: 7px 12px 7px 9px; font-size: 13.5px; gap: 6px; }
/* v10.1: без «дыры» над кнопкой — свободное место уходит над заголовком (к анимации), текст и кнопка стоят вместе внизу экрана */
#home .hero-h { margin-top: auto; padding-top: 12px; }
#home .hero-go { margin-top: 24px !important; }
@media (min-height: 900px) { #home .hero-h { margin-top: 4px; } }

/* v11: маскот — полоса между графиком и заголовком забирает свободное место первого экрана */
#home .mascot { position: relative; flex: 1 0 64px; min-height: 64px; max-height: 150px; margin: -46px 0 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s; }
#home .mascot.ready { opacity: 1; }
#home .hero-h { margin-top: 0; padding-top: 6px; }
.m-actor { position: absolute; left: 0; bottom: 0; width: var(--ms, 96px); height: var(--ms, 96px); transform-origin: 50% 100%; will-change: transform, opacity; opacity: 0; }
.m-body { position: absolute; inset: 0; transform-origin: 50% 96%; filter: drop-shadow(0 6px 12px rgba(255, 122, 69, 0.32)); }
.m-body img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; opacity: 0; }
.m-body img.on { opacity: 1; }
.m-shadow { position: absolute; left: 0; bottom: -2px; width: calc(var(--ms, 96px) * 0.6); height: 9px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity; }
@media (min-height: 900px) { #home .mascot { flex: 0 0 110px; } }

/* v11.1: маскот стоит справа и машет. Пружинистое появление → мягкое покачивание от ног в ритм взмаха + «дыхание». */
#home .mascot .m-actor { left: auto; right: 6%; bottom: 0; width: auto; height: clamp(64px, calc(100% + 34px), 112px); aspect-ratio: 227 / 240;
  opacity: 0; transform: none; will-change: auto; }
#home .mascot.ready .m-actor { animation: mIn .7s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
#home .mascot .m-body { inset: 0; transform-origin: 50% 96%; }
#home .mascot.ready .m-body { animation: mWave 1.6s ease-in-out 1s infinite, mBreath 3.2s ease-in-out 1s infinite; }
#home .mascot .m-body img { opacity: 1; width: 100%; height: 100%; }
#home .mascot .m-shadow { left: 20%; bottom: -3px; width: 60%; opacity: .85; animation: mShadow 3.2s ease-in-out 1s infinite; }
@keyframes mIn { 0% { opacity: 0; transform: translateY(18px) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes mWave { 0%, 100% { rotate: -3deg; } 50% { rotate: 3.5deg; } }
@keyframes mBreath { 0%, 100% { scale: 1 1; translate: 0 0; } 50% { scale: 1.015 1.03; translate: 0 -2px; } }
@keyframes mShadow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.92); } }
@media (prefers-reduced-motion: reduce) { #home .mascot.ready .m-actor { animation: none; opacity: 1; } #home .mascot.ready .m-body, #home .mascot .m-shadow { animation: none; } }

/* v12: текст для поиска под инструментом и список всех инструментов в подвале */
.seo { margin: 28px 0 8px; padding: 18px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--mute); font-size: 15px; line-height: 1.55; }
.seo h2 { margin: 18px 0 8px; font: 800 18px/1.25 var(--head); color: var(--text); }
.seo h2:first-child { margin-top: 0; }
.seo p { margin: 0 0 10px; }
.seo ul { margin: 0 0 10px; padding-left: 18px; }
.seo li { margin: 0 0 6px; }
.seo b { color: var(--text); }
.seo .faq { border-top: 1px solid var(--line); }
.seo .faq summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--text); list-style: none; }
.seo .faq summary::-webkit-details-marker { display: none; }
.seo .faq summary::after { content: '+'; margin-left: auto; padding-left: 12px; color: var(--day); font-size: 20px; }
.seo .faq[open] summary::after { content: '−'; }
.seo .faq p { margin: 0 0 12px; }
.foot-nav { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin-bottom: 8px; }
.foot-nav a { color: var(--dim); text-decoration: none; }
.foot-nav a:hover { color: var(--text); }

/* v13: блоки предложений партнёров — мост «почему это вам» и юридическая подпись */
.offers:empty { display: none; }
.offer-why { margin: 22px 0 4px; font-weight: 700; color: var(--text); }
.offer-card .legal { margin-top: 8px; font-size: 11.5px; line-height: 1.45; }

/* v14: блок предложения — одна главная кнопка, выгода крупно, «Ещё вариант» строкой, маркировка внизу */
.offer-why { margin: 26px 0 8px; font: 700 16px/1.4 var(--head); color: var(--text); }
.offer-card { padding: 16px; border-color: rgba(255, 159, 67, 0.35); background: linear-gradient(180deg, rgba(255, 159, 67, 0.07), rgba(255, 255, 255, 0.03)); }
.offer-card .offer-title { font-size: 20px; line-height: 1.25; margin-bottom: 2px; }
.offer-prod { margin: 0 0 8px; font-size: 13.5px; color: var(--mute); }
.offer-card .btn.go { margin-top: 12px; }
.offer-micro { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--mute); }
.offer-card .ad, .offer-alt .ad { margin: 10px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--dim); }
.offer-alt { margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.offer-alt a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; color: var(--text); text-decoration: none; }
.offer-alt .alt-k { grid-column: 1 / -1; font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.4px; }
.offer-alt b { font-size: 15px; line-height: 1.3; }
.offer-alt .alt-c { grid-column: 1; font-size: 13px; color: var(--mute); }
.offer-alt .alt-go { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--act); font-weight: 700; white-space: nowrap; }
.cta-bar .bar-t { max-width: 528px; margin: 0 auto 8px; font: 700 14px var(--head); color: var(--text); text-align: center; }
.cta-bar .ad { max-width: 528px; margin: 6px auto 0; font-size: 10.5px; text-align: center; color: var(--dim); }
body.has-bar .foot { padding-bottom: 150px; }
.cta-bar { padding-top: 22px; background: linear-gradient(180deg, rgba(7, 9, 15, 0) 0, rgba(7, 9, 15, 0.97) 16px); border-top: 0; }
