:root {
  /* Мятная «бумага» днём и вечерний фасад — общий язык главной и приложения. */
  --bg: #E9F0EC;
  --surface: #FFFFFF;
  --surface-2: #F4F8F6;
  --ink: #15201C;
  --ink-2: #3A4944;
  --muted: #5E6D67;
  --line: #DCE5E0;
  --accent: #2F6E60;
  --accent-hover: #285F53;
  --accent-ink: #FFFFFF;
  --accent-soft: #DDEBE5;
  --accent-softer: #EEF5F2;
  --night: #0F2E28;
  --night-hover: #1B4A40;
  --night-2: #183F37;
  --night-3: #21493F;
  --butter: #F4D56E;
  --butter-soft: #FBEFC4;
  --chalk: #FBFBF7;
  --danger: #A34A37;
  --danger-soft: #F7EAE6;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15, 46, 40, .05), 0 12px 32px -8px rgba(15, 46, 40, .10);
  --shadow-lg: 0 2px 4px rgba(15, 46, 40, .05), 0 24px 48px -12px rgba(15, 46, 40, .18);
  /* Весь сайт — Rubik; --display для заголовков и английского контента. Шрифты лежат в /fonts. */
  --display: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
svg { display: block; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(233, 240, 236, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(21, 32, 28, .08);
}
.top-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.tabs { display: flex; gap: 4px; margin-left: auto; background: rgba(15, 46, 40, .07); padding: 4px; border-radius: 999px; }
.tab { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(28,35,32,.08); }
.me { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); text-decoration: none; }
.me-name { line-height: 1.2; text-align: right; }
.me-name b { display: block; color: var(--ink); font-weight: 600; }

.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 13px; flex: none; }

/* ---------- layout ---------- */
main.wrap { padding-top: 48px; padding-bottom: 96px; }
main.enter > * { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.loading { display: grid; place-items: center; min-height: 40vh; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.eyebrow { font-size: 14.5px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.page-title { font-family: var(--display); font-size: 38px; line-height: 1.1; letter-spacing: -.015em; font-weight: 600; }
.page-sub { color: var(--muted); margin-top: 10px; max-width: 580px; }
.section-title { font-size: 20px; font-weight: 650; letter-spacing: -.01em; margin: 40px 0 16px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip-warn { background: var(--butter-soft); color: #6B5410; border-color: transparent; }
.nowrap { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s, color .2s, opacity .2s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; }
.btn-primary { background: var(--night); color: var(--chalk); box-shadow: 0 8px 18px -8px rgba(15, 46, 40, .45); }
.btn-primary:hover:not(:disabled) { background: var(--night-hover); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:hover:not(:disabled) { background: #D8E9E3; }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #F1DDD7; }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.is-busy { pointer-events: none; opacity: .7; }
.link-btn { color: var(--accent); font-weight: 550; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-muted { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.link-muted:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--accent-softer); color: var(--ink-2); font-size: 14.5px; margin-bottom: 24px; }
.notice.warn { background: var(--danger-soft); color: #7A3526; }
.notice b { color: var(--ink); }
.notice.warn b { color: #6A2C1F; }

.empty { padding: 56px 32px; text-align: center; }
.empty h2 { font-size: 20px; }
.empty p { color: var(--muted); margin: 8px auto 20px; max-width: 380px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 12.5px; }
.input, .select, .textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 14px; height: 46px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
/* Своя стрелка вместо системной: системную браузер прижимает к краю, а эту можно отодвинуть. */
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; text-overflow: ellipsis; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315201C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-error { color: var(--danger); font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }

/* ---------- auth ---------- */
.auth-top { margin-bottom: 8px; }
.only-narrow { display: none; }
@media (max-width: 480px) { .only-wide { display: none; } .only-narrow { display: inline; } .lp-auth { gap: 14px; } }
@media (max-width: 640px) { .auth-top .lp-link { display: none; } }
.auth { min-height: calc(100vh - 200px); display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; padding: 36px; }
.auth-art { max-width: 560px; }
.auth-art .lp-win { pointer-events: none; }
body.is-auth main { max-width: 1120px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--night); flex: none; cursor: pointer; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 24px; color: var(--ink); text-decoration: none; }
.auth-card h1 { font-family: var(--display); font-size: 27px; letter-spacing: -.01em; }
.auth-card .page-sub { margin: 6px 0 24px; }
/* Сова на входе и регистрации (public/mascot.js) */
.mascot { width: 132px; margin: -12px auto 2px; --look: 0; }
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; }
.owl-body, .owl-wing { fill: var(--night); }
.owl-wing { fill: var(--night-2); }
.owl-belly { fill: var(--night-3); }
.owl-scallop, .owl-feather { fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.owl-disc { fill: var(--butter-soft); }
.owl-ring { fill: var(--butter); }
.owl-brow { fill: none; stroke: var(--night-3); stroke-width: 2.5; stroke-linecap: round; }
.owl-pupil { fill: var(--ink); }
.owl-glint { fill: #fff; }
.owl-lid { fill: var(--night-2); }
.owl-beak { fill: var(--butter); }
.owl-foot { fill: #C9A94A; }
/* Всё тело дышит и чуть покачивается */
.owl-all { transform-box: fill-box; transform-origin: 50% 100%; animation: owl-breathe 4.5s ease-in-out infinite; }
@keyframes owl-breathe { 50% { transform: scale(1, 1.012); } }
.owl-headg { transform-box: fill-box; transform-origin: 50% 80%; transition: transform .6s ease-in-out; }
.mascot.is-tilt-l .owl-headg { transform: rotate(-5deg); }
.mascot.is-tilt-r .owl-headg { transform: rotate(5deg); }
.mascot[data-state="watch"] .owl-headg { transform: rotate(calc(var(--look) * 4deg)) translateY(1px); }
/* Веки: моргание сверху вниз */
.owl-lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); transition: transform .08s ease-in; }
.mascot.is-blink .owl-lid { transform: scaleY(1); }
.owl-pupils { transition: transform .2s ease-out; }
.mascot[data-state="watch"] .owl-pupils { transform: translate(calc(var(--look) * 3.5px), 2px); }
.mascot[data-state="peek"] .owl-pupils { transform: translate(-2px, 2px); }
/* Крылья сбоку: взмах */
.owl-wing-rest { transform-box: fill-box; transition: transform .3s, opacity .2s; }
.owl-wl { transform-origin: 90% 10%; } .owl-wr { transform-origin: 10% 10%; }
.mascot.is-flap .owl-wl { animation: owl-flap-l .9s ease-in-out; } .mascot.is-flap .owl-wr { animation: owl-flap-r .9s ease-in-out; }
@keyframes owl-flap-l { 40% { transform: rotate(22deg); } }
@keyframes owl-flap-r { 40% { transform: rotate(-22deg); } }
/* Крылья на глазах: в покое спрятаны за телом снизу, на пароле поднимаются */
.owl-cover { transform-box: fill-box; transform: translateY(54px) scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.1, .5, 1), opacity .2s; }
.owl-cl { transform-origin: 60% 60%; } .owl-cr { transform-origin: 40% 60%; }
.mascot[data-state="cover"] .owl-cover, .mascot[data-state="peek"] .owl-cr { transform: translateY(-4px) scale(1.16); opacity: 1; }
/* Подглядывает: правое крыло на глазу, левое опущено вдоль тела (обычное крыло сбоку) — всего два крыла */
.mascot[data-state="cover"] .owl-wing-rest, .mascot[data-state="peek"] .owl-wr { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .owl-all { animation: none !important; } .owl-cover, .owl-headg, .owl-pupils { transition: none; } }

/* Поле пароля с глазиком */
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.pw-eye:hover, .pw-eye.is-on { color: var(--ink); }
.pw-eye .eye-off { display: none; }
.pw-eye.is-on .eye-on { display: none; }
.pw-eye.is-on .eye-off { display: block; }

.auth-switch { text-align: center; margin-top: 20px; font-size: 14.5px; color: var(--muted); }

/* ---------- slots ---------- */
.how { display: flex; gap: 8px; flex-wrap: wrap; }
.how span { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.how span + span::before { content: ""; width: 14px; height: 1px; background: #CFCCC4; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.slot { padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .25s, transform .25s; }
.slot:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.slot.is-joined { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.slot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
/* Окошко в карточке: тёмное, пока ты не записан, и горит, когда записан. Силуэты — пара или тройка. */
.mini-win { width: 58px; height: 50px; border-radius: 7px; background: var(--night-2); position: relative; flex: none; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 6px; transition: background .4s, box-shadow .4s; }
.mini-win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent calc(50% - 1px), var(--night-3) calc(50% - 1px), var(--night-3) calc(50% + 1px), transparent calc(50% + 1px)); }
.mini-win i { display: block; width: 9px; height: 12px; border-radius: 5px 5px 2px 2px; background: rgba(251, 251, 247, .16); position: relative; }
.mini-win i::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: inherit; left: 1px; top: -8px; }
.mini-win.is-lit { background: radial-gradient(120% 90% at 50% 100%, #FFF1BE 0%, var(--butter) 60%, #E9C152 100%); box-shadow: 0 6px 20px -6px rgba(233, 193, 82, .8); }
.mini-win.is-lit::after { display: none; }
.mini-win.is-lit i { background: rgba(21, 32, 28, .55); }
.slot-format { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.when-day { font-size: 13.5px; color: var(--muted); }
.when-time { font-size: 28px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.topic { font-family: var(--display); font-size: 27px; line-height: 1.1; font-weight: 500; letter-spacing: -.015em; }
a.topic { color: inherit; text-decoration: none; display: block; }
a.topic:hover { color: var(--accent); }
.topic-ru { color: var(--muted); font-size: 15px; margin-top: 6px; }
.slot-meta { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: auto; }
.stack { display: flex; }
.stack .avatar { width: 26px; height: 26px; font-size: 10px; border: 2px solid var(--surface); margin-left: -8px; }
.stack .avatar:first-child { margin-left: 0; }
.stack .avatar:nth-child(2) { background: #EDE9E0; color: #7A6F58; }
.stack .avatar:nth-child(3) { background: #E6E9EF; color: #56627A; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #C9C6BE; }
.slot-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); min-height: 63px; }
.joined-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 15px; }
.joined-badge .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; animation: pop .35s cubic-bezier(.3,1.6,.5,1) both; }
.joined-badge.muted { color: var(--muted); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.joined-links { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.slot-hint { font-size: 13px; color: var(--muted); }

/* ---------- session ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; margin-bottom: 20px; text-decoration: none; }
.back:hover { color: var(--ink); }
.session-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.session-hero { padding: 36px; }
.session-hero .topic { font-size: 44px; }
.session-hero .topic-ru { font-size: 17px; margin-top: 10px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.block { padding: 32px 36px; margin-top: 20px; }
.block-title { font-size: 15px; font-weight: 650; color: var(--accent); margin-bottom: 14px; }
.qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.qs li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; font-family: var(--display); font-size: 20px; line-height: 1.4; }
.qs .q-num { font-family: var(--sans); }
.qs li + li { border-top: 1px solid var(--line); }
.q-num { width: 30px; height: 30px; border-radius: 10px; background: var(--accent-softer); color: var(--accent); font-weight: 650; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }
.phrases { display: flex; flex-wrap: wrap; gap: 10px; }
.phrase { padding: 9px 15px; background: var(--butter-soft); border-radius: 12px; font-size: 16px; font-family: var(--display); color: #3D3514; }

.status-card { padding: 28px; position: sticky; top: 96px; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.status-badge.ok { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.status-badge.bad { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.cd { font-size: 46px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 18px; line-height: 1; }
.cd-label { color: var(--muted); font-size: 14px; margin-top: 8px; }
.status-text { font-size: 15px; color: var(--ink-2); margin: 18px 0 20px; }
.status-foot { text-align: center; margin-top: 14px; display: grid; gap: 6px; }
.steps { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; color: var(--muted); position: relative; }
.step-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.step.done { color: var(--ink); }
.step.done .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.now { color: var(--ink); font-weight: 600; }
.step.now .step-dot { border-color: var(--accent); }
.step.now .step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.step-time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; height: 12px; width: 2px; background: var(--line); }
.step.done:not(:last-child)::after { background: var(--accent); }
.partner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin-top: 10px; }
.partner .avatar { width: 42px; height: 42px; font-size: 14px; }
.partner-name { font-weight: 600; }
.partner-meta { font-size: 13.5px; color: var(--muted); }
.partners { margin: 20px 0; }
.working { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-2); }

/* ---------- room ---------- */
.room-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.room-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.live.off { color: var(--muted); background: #ECEAE4; }
.live.off .pulse { background: var(--muted); }
.live.off .pulse::after { display: none; }
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tiles.three .tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #3A4B45 0%, #232E2A 55%, #1B2320 100%); display: grid; place-items: center; transition: box-shadow .3s; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; background: #1B2320; }
.tile.is-me video { transform: scaleX(-1); }
.tile.has-video video { opacity: 1; }
.tile.has-video .tile-avatar { opacity: 0; }
.tile.speaking { box-shadow: 0 0 0 3px var(--accent), 0 0 0 7px rgba(47,110,96,.18); }
.tile-avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 600; background: rgba(255,255,255,.08); color: #E6EFEC; border: 1px solid rgba(255,255,255,.12); transition: opacity .3s; position: relative; }
.tile.waiting .tile-avatar { opacity: .45; }
.tile-status { position: absolute; top: 14px; left: 14px; right: 14px; color: rgba(255,255,255,.75); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.tile-status:empty { display: none; }
.tile-label { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 8px; }
.tile-name { background: rgba(20, 26, 24, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; padding: 7px 12px; border-radius: 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; max-width: 100%; }
.tile-name small { color: rgba(255,255,255,.65); font-size: 12.5px; white-space: nowrap; }
.tile-name .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mic-ind { display: flex; align-items: center; }
.mic-ind .off { display: none; color: #F2B4A6; }
.tile.mic-off .mic-ind .off { display: block; }
.tile.mic-off .mic-ind .bars { display: none; }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.bars i { width: 3px; background: #8FD1BF; border-radius: 2px; height: 3px; }
.tile.speaking .bars i { animation: eq .9s ease-in-out infinite; }
.tile.speaking .bars i:nth-child(2) { animation-delay: .15s; }
.tile.speaking .bars i:nth-child(3) { animation-delay: .3s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }
.controls { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ctrl { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s; }
.ctrl:hover:not(:disabled) { background: var(--surface-2); }
.ctrl:disabled { opacity: .45; }
.ctrl.off { background: #F4E7E3; color: var(--danger); }
.ctrl-exit { width: auto; padding: 0 22px; border-radius: 999px; background: var(--danger); color: #fff; gap: 8px; display: flex; align-items: center; font-weight: 600; }
.ctrl-exit:hover:not(:disabled) { background: #9E4735; }
.room-notice { margin-top: 16px; }

.side { padding: 24px; position: sticky; top: 96px; }
.timer { display: flex; align-items: baseline; justify-content: space-between; }
.timer-val { font-size: 40px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.timer-cap { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: #EFEDE7; margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width 1s linear; }
.timer-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; min-height: 20px; }
.timer-note.warn { color: var(--accent); font-weight: 600; }
.side-topic { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.side-topic .topic { font-size: 24px; }
.side-qs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.side-qs button { text-align: left; width: 100%; display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; font-family: var(--display); font-size: 16px; line-height: 1.35; color: var(--ink-2); transition: background .2s; }
.side-qs .n { font-family: var(--sans); }
.side-qs button:hover { background: var(--surface-2); }
.side-qs button.is-now { background: var(--accent-softer); color: var(--ink); }
.side-qs .n { font-weight: 650; color: var(--muted); font-size: 13px; padding-top: 1px; }
.side-qs .is-now .n { color: var(--accent); }
.side-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
details.side-phr { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
details.side-phr summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.side-phr summary::-webkit-details-marker { display: none; }
details.side-phr summary::after { content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; }
details.side-phr[open] summary::after { content: "−"; }
details.side-phr .phrases { margin-top: 12px; gap: 8px; }
details.side-phr .phrase { font-size: 14px; padding: 7px 12px; }
.center-card { max-width: 520px; margin: 40px auto; padding: 40px 32px; text-align: center; }
.center-card h1 { font-family: var(--display); font-size: 24px; letter-spacing: -.01em; }
.center-card p { color: var(--muted); margin: 10px auto 22px; }
.center-card .cd { margin: 18px 0 4px; }

/* ---------- after ---------- */
.after-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.survey { padding: 32px; }
.person-block + .person-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.person-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.person-head .avatar { width: 44px; height: 44px; font-size: 15px; }
.q-block + .q-block { margin-top: 22px; }
.q-label { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; transition: all .2s; }
.seg button:hover { border-color: #CFCCC4; }
.seg button.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg.small button { font-size: 14px; padding: 8px 14px; }
.seg.small button.is-on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.issues { margin-top: 14px; }
.issues .textarea { margin-top: 12px; }
.again { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-align: left; transition: all .2s; }
.again:hover { border-color: #CFCCC4; }
.again-text { flex: 1; font-weight: 600; }
.heart { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); transition: all .2s; }
.again.is-on { border-color: var(--accent); background: var(--accent-softer); }
.again.is-on .heart { background: var(--accent); color: #fff; animation: pop .35s cubic-bezier(.3,1.6,.5,1) both; }
.survey-foot { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.thanks { padding: 40px 32px; text-align: center; }
.thanks-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks h2 { font-size: 24px; letter-spacing: -.01em; }
.thanks p { color: var(--muted); margin: 10px auto 24px; max-width: 380px; }
.next-slot { text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.next-slot .topic { font-size: 19px; }
.ai { padding: 32px; }
.ai-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.ai-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ai-sub { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.shimmer { height: 10px; border-radius: 6px; background: linear-gradient(90deg, #EFEDE7 0%, #F7F6F2 50%, #EFEDE7 100%); background-size: 200% 100%; animation: sh 1.6s linear infinite; }
.shimmers { display: grid; gap: 10px; margin-top: 22px; }
@keyframes sh { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- lists (mine, admin) ---------- */
.list { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 22px; text-decoration: none; color: inherit; }
a.row:hover { box-shadow: var(--shadow-lg); }
.row-when { font-variant-numeric: tabular-nums; }
.row-when b { display: block; font-size: 20px; letter-spacing: -.02em; }
.row-when span { font-size: 13px; color: var(--muted); }
.row-main .topic { font-size: 20px; }
.row-main .topic-ru { font-size: 14px; margin-top: 2px; }
.row-side { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.row-meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.panel { padding: 32px; }
.panel h2 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; margin-top: 2px; }
.rules { margin: 20px 0 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 6px; }

/* ---------- admin ---------- */
.subtabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.subtab { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.subtab.is-active { background: var(--night); color: var(--chalk); border-color: var(--night); }
.admin-row { grid-template-columns: 110px minmax(0, 1fr) auto; }
.counts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.counts b { color: var(--ink); font-weight: 600; }
.user-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.user-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.user-cell .nm { font-weight: 600; }
.user-cell small { color: var(--muted); display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report { padding: 20px 22px; }
.report-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.report-note { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; padding: 10px 14px; background: var(--surface-2); border-radius: 12px; }
.detail-section + .detail-section { margin-top: 24px; }
.detail-section h3 { font-size: 15px; font-weight: 650; color: var(--accent); margin-bottom: 10px; }
.mini-list { display: grid; gap: 8px; }
.mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; }
.mini .user-cell .avatar { width: 30px; height: 30px; font-size: 11px; }
.group-box { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.group-box + .group-box { margin-top: 8px; }
.group-box .mini { border: 0; padding: 6px 4px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28, 35, 32, .35); animation: fade .2s ease both; }
.modal-card { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 32px; animation: rise .25s ease both; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.modal-head h2 { font-size: 22px; letter-spacing: -.01em; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.modal-close:hover { background: var(--surface-2); color: var(--ink); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; transition: all .3s ease; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #6A2C1F; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .session-grid, .room-grid, .after-grid, .profile-grid { grid-template-columns: 1fr; }
  .status-card, .side { position: static; }
  .session-grid .status-card { order: -1; }
  .me-name { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; gap: 10px; }
  .me { margin-left: auto; }
  .tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 8px 12px; font-size: 14px; flex: 1 0 auto; text-align: center; }
  main.wrap { padding-top: 28px; padding-bottom: 64px; }
  .page-title { font-size: 27px; }
  .page-head { margin-bottom: 22px; }
  .slots { grid-template-columns: 1fr; gap: 14px; }
  .slot { padding: 22px; }
  .slot-actions { flex-wrap: wrap; }
  .session-hero { padding: 26px 22px; }
  .session-hero .topic { font-size: 34px; }
  .block { padding: 24px 22px; }
  .qs li { font-size: 16px; grid-template-columns: 30px 1fr; }
  .status-card { padding: 22px; }
  .cd { font-size: 40px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tiles.three .tile:first-child { aspect-ratio: 16 / 10; }
  .tile { aspect-ratio: 16 / 10; }
  .tile-avatar { width: 72px; height: 72px; font-size: 24px; }
  .survey, .ai, .panel { padding: 24px 22px; }
  .auth-card { padding: 28px 22px; }
  .row, .admin-row, .user-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .row-side { justify-content: flex-start; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .stat { padding: 12px 10px; }
  .stat b { font-size: 21px; }
  .modal { padding: 0; place-items: end center; }
  .modal-card { max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; padding: 26px 20px; }
}
@media (max-width: 380px) {
  .logo span:last-child { display: none; }
  .tab { padding: 8px 10px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- telegram ---------- */
.stack-col { display: grid; gap: 24px; align-content: start; }
.tg-title { display: flex; align-items: center; gap: 10px; }
.tg-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.tg-hint { align-items: center; }
.tg-hint > svg { color: var(--accent); }
.tg-hint .modal-close { width: 30px; height: 30px; }
.status-card .tg-hint { margin-bottom: 0; font-size: 14px; }

/* =========================================================
   Главная страница (гости)
   ========================================================= */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/rubik-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/rubik-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body.is-landing { background: #E9F0EC; }
body.is-landing main { max-width: none; padding: 0; }
body.is-landing main.enter > * { animation: none; }

.lp {
  --night: #0F2E28;
  --night-2: #183F37;
  --night-3: #21493F;
  --paper: #E9F0EC;
  --chalk: #FBFBF7;
  --butter: #F4D56E;
  --ink: #15201C;
  --ink-2: #3A4944;
  --muted-2: #5E6D67;
  font-family: "Onest", var(--sans);
  color: var(--ink);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.lp h1, .lp h2, .lp h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; }
.lp [lang="en"] { font-family: var(--display); }

.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.lp-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.lp-auth { display: flex; align-items: center; gap: 20px; }
.lp-link { color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; padding: 0; border-bottom: 2px solid rgba(21, 32, 28, .2); transition: border-color .2s; cursor: pointer; }
.lp-link:hover { border-bottom-color: var(--ink); }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 16px; background: var(--night); color: var(--chalk); font-weight: 650; font-size: 17px; text-decoration: none; transition: background .2s, transform .15s; }
.lp-btn:hover { background: #1B4A40; }
.lp-btn:active { transform: scale(.98); }
.lp-btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.lp-btn-light { background: var(--butter); color: var(--ink); }
.lp-btn-light:hover { background: #F8DE87; }

/* ---------- hero ---------- */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0 96px; }
.lp-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.02em; }
.lp-lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin-top: 24px; max-width: 30em; }
.lp-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

.lp-facade {
  background: linear-gradient(180deg, #123731 0%, var(--night) 60%);
  border-radius: 28px;
  padding: 28px 28px 22px;
  box-shadow: 0 30px 60px -30px rgba(15, 46, 40, .55);
}
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; container-type: inline-size; }
.lp-win {
  position: relative; aspect-ratio: 1; border-radius: 6px; background: var(--night-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  display: flex; flex-direction: column; padding: 10px 11px; overflow: hidden; text-decoration: none; color: var(--ink);
}
/* Переплёт у тёмных окон */
.lp-win:not(.is-lit)::after {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--night-3) calc(50% - 1px), var(--night-3) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent 58%, var(--night-3) 58%, var(--night-3) calc(58% + 2px), transparent calc(58% + 2px));
}
.lp-win.is-lit {
  background: radial-gradient(120% 90% at 50% 100%, #FFF1BE 0%, var(--butter) 55%, #E9C152 100%);
  box-shadow: 0 0 34px rgba(244, 213, 110, .28), inset 0 0 0 1px rgba(255, 255, 255, .35);
  animation: lp-light .9s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: calc(.35s + var(--i) * .22s);
  transition: transform .2s;
}
.lp-win.is-lit:hover { transform: translateY(-3px); }
.lp-win.is-lit:focus-visible { outline: 3px solid var(--chalk); outline-offset: 3px; }
/* Окна зажигаются по очереди, с коротким «миганием лампы» — единственная анимация страницы. */
@keyframes lp-light {
  0% { background: var(--night-2); box-shadow: none; color: transparent; }
  40% { background: #6F6A3E; box-shadow: none; color: transparent; }
  55% { background: var(--night-2); box-shadow: none; color: transparent; }
}
.lp-win-time { font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; opacity: .75; }
/* Размер от ширины сетки (cqi), а не экрана: окно на входе уже, чем на главной, и длинные слова вроде impressions не должны вылезать. */
.lp-win-topic { font-family: var(--display); font-size: clamp(11px, 3.2cqi, 19px); line-height: 1.15; margin-top: 4px; overflow-wrap: break-word; hyphens: auto; }
.lp-people { margin-top: auto; padding-top: 14px; display: flex; gap: 4px; align-items: flex-end; }
.lp-people i { display: block; width: 13px; height: 17px; background: rgba(21, 32, 28, .55); border-radius: 8px 8px 3px 3px; position: relative; }
.lp-people i::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: inherit; left: 2px; top: -10px; }
.lp-people i + i { opacity: .8; }
.lp-facade-note { color: rgba(251, 251, 247, .68); font-size: 14px; line-height: 1.45; margin-top: 18px; }

/* ---------- sections ---------- */
.lp-section { padding: 88px 0; border-top: 1px solid rgba(21, 32, 28, .1); }
.lp-section h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; max-width: 18em; }

.lp-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--night) 0 8px, transparent 8px 14px); opacity: .35; }
.lp-step { position: relative; }
.lp-step-dot { width: 42px; height: 42px; border-radius: 50%; background: var(--night); color: var(--chalk); display: grid; place-items: center; font-weight: 600; font-size: 17px; position: relative; box-shadow: 0 0 0 6px var(--paper); }
.lp-step-when { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 650; color: var(--night); background: rgba(244, 213, 110, .55); padding: 3px 10px; border-radius: 8px; }
.lp-step h3 { font-size: 22px; line-height: 1.2; margin-top: 12px; letter-spacing: -.02em; }
.lp-step p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-top: 10px; }

.lp-talk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-talk-intro p { color: var(--ink-2); font-size: 18px; line-height: 1.6; margin-top: 20px; max-width: 26em; }
.lp-talk-intro .lp-muted { color: var(--muted-2); font-size: 15px; }
.lp-dialog { margin: 0; background: var(--chalk); border-radius: 24px; padding: 36px 40px 40px; box-shadow: 0 1px 0 rgba(21, 32, 28, .06); }
.lp-dialog figcaption { font-size: 14px; font-weight: 650; color: var(--night); font-family: "Onest", var(--sans); }
.lp-question { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; font-weight: 500; margin-top: 8px; padding-bottom: 26px; border-bottom: 1px solid rgba(21, 32, 28, .1); }
.lp-line { margin-top: 24px; }
.lp-who { font-family: "Onest", var(--sans); font-size: 14px; font-weight: 600; color: var(--muted-2); }
.lp-line p { font-family: var(--display); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.4; margin-top: 4px; }
.lp-line mark { background: linear-gradient(transparent 55%, rgba(244, 213, 110, .85) 55%); color: inherit; padding: 0 2px; }
.lp-hint { display: inline-block; margin-top: 6px; font-family: "Onest", var(--sans); font-size: 13px; font-weight: 600; color: #8A6D12; }

.lp-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 40px; }
.lp-reasons p { font-size: 18px; line-height: 1.6; color: var(--ink-2); padding: 26px 0; border-top: 1px solid rgba(21, 32, 28, .1); max-width: 34em; }
.lp-reasons b { color: var(--ink); font-weight: 600; }

.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.lp-faq details { border-top: 1px solid rgba(21, 32, 28, .12); }
.lp-faq details:last-child { border-bottom: 1px solid rgba(21, 32, 28, .12); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--muted-2); transition: transform .25s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { color: var(--ink-2); font-size: 17px; line-height: 1.6; padding: 0 0 24px; max-width: 36em; }

.lp-final { background: var(--night); color: var(--chalk); border-radius: 28px; padding: 72px 56px; margin-top: 40px; }
.lp-final h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; max-width: 14em; }
.lp-final p { color: rgba(251, 251, 247, .75); font-size: 19px; margin: 18px 0 32px; }
.lp-final .lp-en { color: var(--butter); font-size: 1.1em; }
.lp-footer { color: var(--muted-2); font-size: 14px; padding: 36px 0 48px; display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.lp-footer nav, .app-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer a, .app-footer a { color: inherit; }
.lp-footer a:hover, .app-footer a:hover { color: var(--ink); }
.app-footer { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
body.is-landing .app-footer { display: none; }

/* ---------- документы ---------- */
.doc.doc-guest { max-width: 1200px; margin: 0 auto; padding: 0 32px 80px; }
.doc-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 24px; }
.doc-aside { position: sticky; top: 96px; }
.doc-guest .doc-aside { top: 24px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.doc-toc li { counter-increment: toc; }
.doc-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.doc-toc a::before { content: counter(toc); color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-toc a:hover { background: rgba(15, 46, 40, .06); color: var(--ink); }
.doc-other { display: inline-block; margin: 20px 10px 0; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.doc-body { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px 64px 64px; max-width: 760px; }
.doc-body h1 { font-family: var(--display); font-size: 40px; line-height: 1.1; letter-spacing: -.015em; font-weight: 600; hyphens: auto; overflow-wrap: break-word; }
.doc-updated { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.doc-lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-top: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-section { padding-top: 32px; scroll-margin-top: 96px; }
.doc-section h2 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.doc-section p, .doc-section li { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.doc-section p { margin-top: 12px; }
.doc-section ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.doc-section li::marker { color: var(--accent); }
.doc-section b { color: var(--ink); }

/* ---------- опасная зона профиля ---------- */
.danger-zone { margin-top: 24px; padding: 28px 32px; border-radius: var(--radius); border: 1px solid rgba(180, 83, 63, .25); display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.danger-zone h2 { font-size: 18px; letter-spacing: -.01em; }
.danger-zone p { color: var(--muted); font-size: 14.5px; margin-top: 4px; max-width: 520px; }

@media (max-width: 960px) {
  .lp-hero, .lp-talk, .lp-faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero { padding: 24px 0 72px; }
  .lp-steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .lp-steps::before { display: none; }
  .lp-reasons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp { padding: 0 16px; }
  .lp-top { padding: 16px 0; }
  .lp-auth { gap: 14px; }
  .lp-lead { font-size: 18px; }
  .lp-facade { padding: 18px 16px 16px; border-radius: 22px; }
  .lp-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lp-win:nth-child(n+10) { display: none; }
  .lp-win { padding: 8px; aspect-ratio: 1; }
  .lp-win-time { font-size: 11px; }
  .lp-win-topic { font-size: clamp(11px, 3.4cqi, 14px); }
  .lp-people i { width: 12px; height: 16px; }
  .lp-people i::before { width: 8px; height: 8px; left: 2px; top: -9px; }
  .lp-section { padding: 64px 0; }
  .lp-steps, .lp-reasons { grid-template-columns: 1fr; }
  .lp-dialog { padding: 26px 22px 28px; border-radius: 20px; }
  .lp-final { padding: 48px 24px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-win.is-lit { animation: none; }
}

/* Адаптив для входа, документов и подвала — после их основных правил, чтобы перекрывать их. */
@media (max-width: 980px) {
  .auth { grid-template-columns: minmax(0, 440px); }
  .auth-art { display: none; }
  .doc-grid { grid-template-columns: 1fr; gap: 20px; }
  .doc-aside { position: static; }
  .doc-toc { display: none; }
  .doc-other { margin: 0; }
}
@media (max-width: 720px) {
  .doc.doc-guest { padding: 0 16px 56px; }
  .doc-body { padding: 32px 22px 36px; }
  .doc-body h1 { font-size: 30px; }
  .app-footer { padding: 0 16px 32px; }
  .danger-zone { padding: 22px; }
}

/* ---------- Главная: анимированная сцена «Как это работает» (public/how.js) ---------- */
.hw-head-text { max-width: 640px; margin-bottom: 28px; }
.hw-lead { color: var(--ink-2); font-size: 18px; line-height: 1.5; margin-top: 10px; }
.hw-stage { position: relative; aspect-ratio: 16 / 9.4; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #17423A 0%, #0E2C26 55%, #0A211C 100%);
  box-shadow: 0 30px 80px -30px rgba(15, 46, 40, .55); font-size: 14px; }
.hw-stars, .hw-facade { position: absolute; inset: 0; }
.hw-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .2; animation: hw-tw 4s ease-in-out infinite; }
@keyframes hw-tw { 50% { opacity: .9; } }
.hw-facade i { position: absolute; width: 4.2%; aspect-ratio: .8; border-radius: 3px; background: rgba(255, 255, 255, .035); }
.hw-facade i.on { background: rgba(244, 213, 110, .22); box-shadow: 0 0 18px rgba(244, 213, 110, .18); animation: hw-flick 7s infinite; }
@keyframes hw-flick { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .4; } 97% { opacity: .6; } }

.hw-win { position: absolute; top: 17%; width: 31%; height: 60%; border-radius: 120px 120px 14px 14px; overflow: hidden;
  background: #173D35; box-shadow: inset 0 0 0 6px #0B2520; transition: box-shadow .6s; }
.hw-win.hw-l { left: 6%; } .hw-win.hw-r { right: 6%; }
.hw-light { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; background: radial-gradient(90% 70% at 50% 18%, #FFF4C8 0%, #F4D56E 45%, #D9AE3C 100%); }
.hw-win.is-lit .hw-light { opacity: 1; }
.hw-win.is-lit { box-shadow: inset 0 0 0 6px #0B2520, 0 0 70px rgba(244, 213, 110, .35); }
.hw-win.is-flicker .hw-light { animation: hw-on 1s steps(1) both; }
@keyframes hw-on { 0% { opacity: 0; } 18% { opacity: .7; } 30% { opacity: 0; } 45% { opacity: 1; } 55% { opacity: .3; } 70%, 100% { opacity: 1; } }
.hw-bars::before, .hw-bars::after { content: ""; position: absolute; background: #0B2520; z-index: 3; }
.hw-bars::before { left: 0; right: 0; top: 30%; height: 6px; }
.hw-bars::after { left: calc(50% - 3px); top: 0; height: 30%; width: 6px; }
.hw-lamp { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); width: 20%; max-width: 64px; height: 26px; z-index: 3; background: #0B2520; border-radius: 32px 32px 4px 4px; }
.hw-lamp::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: #FFF8DC; box-shadow: 0 0 24px 8px rgba(255, 244, 200, .8); opacity: 0; transition: opacity .4s; }
.hw-win.is-lit .hw-lamp::after { opacity: 1; }
.hw-person { position: absolute; bottom: 0; width: 88%; transform: translateX(-50%); z-index: 2; }
.hw-l .hw-person { left: 56%; } .hw-r .hw-person { left: 44%; }
.hw-person svg { display: block; width: 100%; height: auto; }
.hw-sil { fill: #0B2520; }
.hw-head { transform-box: fill-box; transform-origin: 50% 100%; }
.hw-win.is-talk .hw-head { animation: hw-nod .5s ease-in-out infinite alternate; }
@keyframes hw-nod { to { transform: rotate(-4deg) translateY(-1px); } }
.hw-screen { fill: #21493F; transition: fill .5s; }
.hw-win.is-call .hw-screen { fill: #2F6E60; }
.hw-face { opacity: 0; transition: opacity .5s .3s; }
.hw-win.is-call .hw-face { opacity: 1; }
.hw-name { position: absolute; left: 14px; bottom: 14px; z-index: 4; background: rgba(11, 37, 32, .75); color: var(--chalk);
  padding: 5px 12px; border-radius: 999px; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.hw-r .hw-name { left: auto; right: 14px; }
.hw-win.is-lit .hw-name { opacity: 1; }

.hw-beam { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hw-arc { fill: none; stroke: url(#hw-g); stroke-width: 3; stroke-linecap: round; filter: url(#hw-glow);
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.2s cubic-bezier(.6, 0, .3, 1); }
.hw-stage[data-step="2"] .hw-arc, .hw-stage[data-step="3"] .hw-arc, .hw-stage[data-step="4"] .hw-arc { stroke-dashoffset: 0; }
.hw-spark { fill: #FFF6D6; filter: url(#hw-glow); opacity: 0; transition: opacity .3s; }
.hw-stage[data-step="3"] .hw-spark { opacity: 1; }

.hw-wave { position: absolute; bottom: 22%; display: flex; gap: 4px; align-items: center; height: 34px; z-index: 5; opacity: 0; transition: opacity .3s; }
.hw-wave.hw-l { left: 39.5%; } .hw-wave.hw-r { right: 39.5%; }
.hw-wave.is-on { opacity: 1; }
.hw-wave i { width: 4px; border-radius: 2px; background: var(--butter); height: 30%; animation: hw-wv .9s ease-in-out infinite; }
.hw-wave i:nth-child(2) { animation-delay: -.2s; } .hw-wave i:nth-child(3) { animation-delay: -.45s; } .hw-wave i:nth-child(4) { animation-delay: -.65s; } .hw-wave i:nth-child(5) { animation-delay: -.3s; }
@keyframes hw-wv { 50% { height: 100%; } }

.hw-ov { position: absolute; z-index: 10; opacity: 0; transform: translateY(14px) scale(.97); pointer-events: none;
  transition: opacity .45s, transform .55s cubic-bezier(.2, .9, .3, 1.2); }
.hw-ov.is-show { opacity: 1; transform: none; }
.hw-card { background: rgba(251, 251, 247, .97); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); line-height: 1.4; }
.hw-muted { color: var(--muted); font-size: 12.5px; }
.hw-btn { display: inline-flex; background: var(--night); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; margin-top: 10px; transition: background .3s, transform .15s; }
.hw-btn.is-done { background: var(--accent); }
.is-press { transform: scale(.93); }
.hw-cursor { position: absolute; width: 22px; height: 22px; z-index: 20; opacity: 0; pointer-events: none;
  transition: left .9s cubic-bezier(.5, 0, .2, 1), top .9s cubic-bezier(.5, 0, .2, 1), opacity .3s; }
.hw-cursor svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.hw-ripple { position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--butter); z-index: 19; animation: hw-rp .6s ease-out forwards; pointer-events: none; }
@keyframes hw-rp { to { transform: scale(5); opacity: 0; } }
.hw-ov[data-ov="0"] { left: 50%; top: 9%; margin-left: -135px; width: 270px; }
.hw-topic { font-size: 20px; font-weight: 600; margin: 2px 0 4px; }
.hw-chips span { display: inline-block; font-size: 12px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 9px; margin-right: 4px; }
.hw-tg { left: 50%; top: 6%; margin-left: -150px; width: 300px; display: flex; gap: 12px; }
.hw-tg.is-show { animation: hw-buzz .5s .5s; }
@keyframes hw-buzz { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.hw-ava { width: 36px; height: 36px; border-radius: 10px; flex: none; background: url(/brand/icon-64.png) center / cover; }
.hw-act { display: flex; gap: 8px; margin-top: 8px; }
.hw-act span { flex: 1; text-align: center; border-radius: 10px; padding: 6px; font-size: 13px; background: var(--accent-softer); color: var(--accent); font-weight: 600; transition: background .3s, color .3s; }
.hw-act span.is-hit { background: var(--accent); color: #fff; }
.hw-pair { left: 50%; top: 40%; margin-left: -120px; width: 240px; text-align: center; }
.hw-pair-ava { display: flex; justify-content: center; margin-bottom: 6px; }
.hw-pair-ava b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; border: 3px solid var(--chalk); }
.hw-pair-ava b:first-child { background: var(--accent-soft); color: var(--accent); transform: translateX(8px); }
.hw-pair-ava b:last-child { background: var(--butter-soft); color: #6B5410; transform: translateX(-8px); }
.hw-bub { position: absolute; z-index: 10; top: 5%; max-width: 250px; background: var(--chalk); color: var(--ink); border-radius: 18px; padding: 10px 14px; font-size: 14.5px; line-height: 1.4;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(8px) scale(.95); transition: opacity .35s, transform .45s cubic-bezier(.2, .9, .3, 1.3); }
.hw-bub.is-show { opacity: 1; transform: none; }
.hw-bub::after { content: ""; position: absolute; bottom: -7px; width: 16px; height: 16px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.hw-bub.hw-l { left: 8%; } .hw-bub.hw-l::after { left: 36px; }
.hw-bub.hw-r { right: 8%; } .hw-bub.hw-r::after { right: 36px; }
.hw-hl { background: linear-gradient(transparent 55%, rgba(244, 213, 110, .9) 55%); }
.hw-sub { left: 50%; bottom: 4.5%; margin-left: -260px; width: 520px; display: flex; gap: 10px; align-items: center; }
.hw-q { flex: 1; }
.hw-hint { font-size: 12px; background: var(--butter-soft); color: #6B5410; border-radius: 999px; padding: 4px 10px; white-space: nowrap; transition: box-shadow .3s, background .3s; }
.hw-hint.is-used { background: var(--butter); box-shadow: 0 0 0 4px rgba(244, 213, 110, .35); }
.hw-review { left: 50%; top: 10%; margin-left: -200px; width: 400px; padding: 18px 20px; }
.hw-line { margin: 8px 0 2px; font-size: 15px; }
.hw-err { position: relative; color: var(--danger); }
.hw-err::after { content: ""; position: absolute; left: 0; top: 55%; height: 2px; background: var(--danger); width: 0; transition: width .6s .5s; }
.hw-review.is-show .hw-err::after { width: 100%; }
.hw-fix { color: var(--accent); font-weight: 600; min-height: 22px; }
.hw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hw-stat { background: var(--accent-softer); border-radius: 14px; padding: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.hw-stat b { display: block; font-size: 24px; font-weight: 600; color: var(--night); }
.hw-stat span b { display: inline; font-size: 13px; }
.hw-ring { width: 46px; height: 46px; margin: 0 auto 2px; display: block; }
.hw-ring circle { fill: none; stroke-width: 6; }
.hw-ring-bg { stroke: var(--accent-soft); }
.hw-ring-fg { stroke: var(--accent); stroke-dasharray: 126; stroke-dashoffset: 126; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.2s .6s ease-out; }
.hw-review.is-show .hw-ring-fg { stroke-dashoffset: 65; }
.hw-soon { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 600; background: var(--butter-soft); color: #6B5410; border-radius: 999px; padding: 2px 8px; margin-left: 4px; }

.hw-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 22px; }
.hw-caption { transition: opacity .3s; }
.hw-caption h3 { font-size: 24px; font-weight: 600; min-height: 30px; }
.hw-caption p { color: var(--muted); font-size: 16px; min-height: 24px; margin-top: 4px; }
.hw-dots { display: flex; gap: 8px; flex: none; }
.hw-dots button { width: 10px; height: 10px; border-radius: 999px; background: #BFD0C8; padding: 0; position: relative; overflow: hidden; transition: width .35s; }
.hw-dots button.is-on { width: 44px; }
.hw-dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--night); transform-origin: left; animation: hw-fill var(--dur) linear forwards; }
@keyframes hw-fill { from { transform: scaleX(0); } }
@media (max-width: 760px) {
  .hw-stage { aspect-ratio: 3 / 4; font-size: 13px; }
  .hw-win { top: 30%; height: 42%; width: 42%; } .hw-win.hw-l { left: 4%; } .hw-win.hw-r { right: 4%; }
  .hw-ov[data-ov="0"], .hw-pair { margin-left: -120px; width: 240px; } .hw-tg { margin-left: -140px; width: 280px; }
  .hw-review, .hw-sub { margin-left: -46%; width: 92%; }
  .hw-bub { max-width: 170px; font-size: 13px; top: 12%; } .hw-wave { display: none; }
  .hw-name { font-size: 11px; padding: 3px 8px; left: 8px; bottom: 8px; } .hw-r .hw-name { right: 8px; }
  .hw-foot { flex-direction: column; align-items: flex-start; }
  .hw-caption h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .hw-stage *, .hw-dots button::after { animation: none !important; transition: none !important; } }

/* ---------- Главная: «Что внутри» ---------- */
.ft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
.ft { background: var(--surface); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .3, 1); transition-delay: calc(var(--i) * 60ms); }
.ft.is-in { opacity: 1; transform: none; }
.ft-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.ft.is-soon .ft-ico { background: var(--butter-soft); color: #6B5410; }
.ft h3 { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ft p { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .ft { opacity: 1; transform: none; transition: none; } }
