/* Взаимно — стили экранов приложения (вид — по макету docs/design/preview). Цвета — только переменные tokens.css;
   белый и тёмная вуаль — только поверх фото (стекло), как в стопке карточек. Шрифты: Rubik — интерфейс, Playfair
   Display курсив (.display, .display-t) — имена и заголовки-эмоции. Внутри O. Message справа сверху капсула «⋯ ×» —
   у шапок отступ справа var(--omsg-gap) (100 px). Телефон в первую очередь; с 900 px — шапка оболочки и колонка. */

/* ───────── общее ───────── */
.aura { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 40% at 12% 26%, color-mix(in oklab, var(--apricot) 16%, transparent), transparent 70%),
    radial-gradient(60% 45% at 92% 58%, color-mix(in oklab, var(--violet) 15%, transparent), transparent 70%); }
.vz-hdr { position: relative; z-index: 3; height: 56px; flex: none; display: flex; align-items: center; gap: 6px;
  padding: env(safe-area-inset-top) calc(12px + var(--omsg-gap)) 0 14px; box-sizing: content-box; }
.title-hdr { height: 62px; }
.display-t { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 33px; line-height: 1.1; letter-spacing: -.01em; margin: 4px 2px 0; }
.hdr-ib { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none;
  background: var(--surface-2); color: var(--ink-2); transition: transform .22s var(--ease-spring), background var(--t); -webkit-tap-highlight-color: transparent; }
.hdr-ib:active { transform: scale(.9); }
.hdr-ib.on { background: var(--ink); color: var(--bg); }
.hdr-ib .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--surface-2); }
.hdr-ib .badge { top: -2px; right: -3px; }
.free-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin: 0 2px 12px; }
.free-note .ic { color: var(--violet); }
.h-sec { display: flex; align-items: center; gap: 8px; font: 500 13.5px/1 var(--font); color: var(--muted); margin: 12px 2px 10px; }
.h-sec b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font: 600 11.5px/20px var(--font); text-align: center; }
.on-dot { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 3px solid var(--bg); }
.ver { color: var(--violet); flex: none; }
.chip-sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
.input-xl { min-height: 60px; font-size: 22px; font-weight: 500; border-radius: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 6px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.shake { animation: bm-shake .4s var(--ease) both; }

/* нижнее меню: «Анкеты» — знак, «Профиль» — своё фото */
.tab .mark { width: 27px; height: 27px; }
.tab:not(.on) .mark.is-mono { color: var(--muted); }
.tab-ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); }
.tab-ava.on { border-color: var(--primary); box-shadow: none; }
.tab.on .tab-heart { color: var(--primary); }

/* всплывашки сверху */
.pops { position: fixed; z-index: 260; top: calc(10px + env(safe-area-inset-top)); left: 12px; right: calc(12px + var(--omsg-gap)); display: flex; flex-direction: column; gap: 8px;
  align-items: center; pointer-events: none; }
.pop { pointer-events: auto; width: 100%; max-width: 380px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 0; border-radius: 22px; text-align: left;
  background: color-mix(in oklab, var(--surface) 90%, transparent); color: var(--ink); box-shadow: var(--sh-3); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); animation: pop-in .5s var(--ease-spring) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-24px) scale(.94); } }
.pop-ph { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; }
.pop-ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pop-k { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--grad-like); border: 2px solid var(--surface); }
.pop-super .pop-k { background: var(--grad-super); }
.pop-message .pop-k { background: var(--accent); }
.pop-match .pop-ph { padding: 2px; }
.pop-match .pop-ph img { border: 2px solid var(--surface); }
.pop-match .pop-t b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 18px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pop-t { min-width: 0; display: flex; flex-direction: column; }
.pop-t b { font-weight: 500; font-size: 15px; }
.pop-t span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────── анкеты: стопка ───────── */
.feed { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.feed-mark { display: inline-flex; margin-right: 2px; }
.hub-btn { display: inline-flex; align-items: center; gap: 5px; height: 42px; min-width: 0; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: none;
  font: 500 19px/1 var(--font); color: var(--ink); letter-spacing: -.01em; transition: background var(--t); }
.hub-btn:hover { background: var(--surface-2); }
.hub-btn > .ic:last-child { color: var(--muted); }
.hub-btn-ic { color: var(--primary-ink); }
.feed-deck { position: relative; z-index: 1; flex: 1; min-height: 0; padding-bottom: 8px; }
.feed-deck .deck { height: 100%; }
.feed-deck .dk-stack { margin-top: 10px; }
.feed-deck .dk-empty-a .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* сетка: люди рядом */
.feed-grid { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: auto; padding: 2px 14px 18px; overscroll-behavior: contain; }
.feed-grid-h { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin: 4px 2px 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ptile-sk { aspect-ratio: 3/4; width: 100% !important; height: auto !important; }

/* плитка человека */
.ptile { position: relative; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; background: var(--plum-2); color: #fff; box-shadow: var(--sh-2); isolation: isolate; }
.ptile-open { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.ptile-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ptile:hover .ptile-open img { transform: scale(1.04); }
.ptile-noph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; background: radial-gradient(120% 90% at 20% 10%, var(--plum-2), var(--plum)); }
.ptile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18,10,26,.18) 0, transparent 26%, transparent 46%, rgba(18,10,26,.86)); }
.ptile-tags { position: absolute; top: 9px; left: 9px; right: 30px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.ptile-bd { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; font: 500 12px/1 var(--font); white-space: nowrap; }
.ptile-bd.s { background: var(--grad-super); box-shadow: var(--glow-super); }
.ptile-bd.n { background: rgba(255,255,255,.94); color: var(--plum); }
.ptile-bd.n .ic { color: var(--berry); }
.ptile-bd.l { background: var(--grad-like); }
.ptile-bd.t { background: var(--gold); color: var(--plum); }
.ptile-on { position: absolute; top: 13px; right: 12px; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 35%, transparent); }
.ptile-note { position: absolute; top: 9px; right: 9px; z-index: 2; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/24px var(--font);
  background: rgba(20,12,28,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ptile-tt { position: absolute; left: 11px; right: 52px; bottom: 11px; z-index: 2; pointer-events: none; }
/* имя целиком: возраст и значок проверки уходят на следующую строку, а не режут имя; длинное имя — шрифт меньше */
.ptile-nm { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 1px; min-width: 0; }
.ptile-nm .display { font-size: 21px; line-height: 1.08; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptile-nm.long .display { font-size: 18px; }
.ptile-age { display: inline-flex; align-items: center; gap: 4px; font: 300 17px/1 var(--font); white-space: nowrap; }
.ptile-ver { color: #CBBBFF; align-self: center; }
.ptile-ds { display: flex; align-items: center; gap: 4px; font-size: 12.5px; opacity: .88; margin-top: 4px; white-space: nowrap; overflow: hidden; }
.ptile-q { font-size: 12.5px; line-height: 1.3; margin-top: 6px; padding: 6px 9px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.17);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ptile-q span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptile-hb { position: absolute; right: 9px; bottom: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--grad-like); color: #fff; box-shadow: var(--glow-like); transition: transform .25s var(--ease-spring); }
.ptile-hb:active { transform: scale(.85); }
.ptile-hb.busy { animation: bm-heartbeat 1s ease-in-out infinite; }

/* подборки */
.hubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hub { position: relative; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface); text-align: left; color: var(--ink); font: 500 15px/1.2 var(--font); transition: transform .22s var(--ease-spring), border-color var(--t), background var(--t); }
.hub:active { transform: scale(.96); }
.hub-ic { width: 40px; height: 40px; border-radius: 14px; flex: none; display: grid; place-items: center; color: #fff; background: var(--grad-like); }
.hub-1 .hub-ic { background: var(--grad-super); }
.hub-2 .hub-ic { background: var(--grad-brand); }
.hub-3 .hub-ic { background: linear-gradient(135deg, var(--apricot), var(--berry)); }
.hub-t { flex: 1; min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.hub.on { border-color: color-mix(in oklab, var(--primary) 60%, transparent); background: var(--primary-soft); }
.hub-ok { color: var(--primary-ink); }

/* фильтры и настройки поиска */
.sform { display: flex; flex-direction: column; gap: 20px; }
.sform-row { display: flex; flex-direction: column; gap: 10px; }
.sform-l { font: 500 14px/1.2 var(--font); color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.sform-free { font-size: 12px; font-weight: 500; color: var(--ok); background: var(--ok-soft); padding: 3px 8px; border-radius: 999px; }
.sform-sw { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--surface-2); cursor: pointer; }
.sform-sw b { display: block; font-weight: 500; }
.sform-sw small { display: block; font-size: 12.5px; color: var(--muted); }
.sform-sw-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }

.range { display: flex; flex-direction: column; gap: 12px; }
.range-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.range-l { font: 500 14px/1.2 var(--font); color: var(--ink-2); }
.range-v { font-weight: 500; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.range-box { position: relative; height: 30px; display: block; }
.range-track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; pointer-events: none;
  background: linear-gradient(90deg, var(--surface-3) var(--a), transparent var(--a), transparent var(--b), var(--surface-3) var(--b)), var(--grad-brand); }
.range-box input { position: absolute; inset: 0; width: 100%; height: 30px; margin: 0; background: none; -webkit-appearance: none; appearance: none; outline: none; }
.range-box.dual input { pointer-events: none; }
.range-box input::-webkit-slider-runnable-track { height: 30px; background: none; }
.range-box input::-moz-range-track { height: 30px; background: none; }
.range-box input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: #fff; cursor: grab;
  border: 0; box-shadow: 0 0 0 1px rgba(30,20,40,.06), 0 4px 12px rgba(42,22,64,.3); transition: transform .2s var(--ease-spring); }
.range-box input::-moz-range-thumb { pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; cursor: grab; box-shadow: 0 0 0 1px rgba(30,20,40,.06), 0 4px 12px rgba(42,22,64,.3); }
.range-box input:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.range-box input:focus-visible::-webkit-slider-thumb { box-shadow: var(--ring), 0 4px 12px rgba(42,22,64,.3); }

/* ───────── анкета человека ───────── */
.pv { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.pv-hero { position: relative; aspect-ratio: 4/5; max-height: 74dvh; border-radius: var(--r-card); overflow: hidden; background: var(--plum-2); color: #fff; box-shadow: var(--sh-card); }
.pv-hero > img { width: 100%; height: 100%; object-fit: cover; }
.pv-noph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, var(--plum-2), var(--plum)); }
.pv-noph .display { font-size: 120px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--scrim); }
.pv-tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pv-hero-tt { position: absolute; left: 18px; right: 70px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.pv-name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; margin: 0; font-weight: 400; }
.pv-name .display { font-size: 40px; line-height: 1.02; }
.pv-age { font: 300 33px/1 var(--font); }
.pv-ver { align-self: center; color: #C3B2FF; }
.pv-where { display: flex; align-items: center; gap: 6px; font-size: 14.5px; opacity: .95; }
.pv-where .dk-online { margin-right: 2px; }
.pv-heart { position: absolute; z-index: 3; right: 14px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s var(--ease-spring), background var(--t); }
.pv-heart:hover { background: var(--grad-like); }
.pv-heart:active { transform: scale(.86); }
.pv-liked { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; background: var(--primary-soft); color: var(--ink); }
.pv-liked-ic { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-like); color: #fff; }
.pv-liked b { display: block; font-weight: 500; }
.pv-liked q { display: block; margin-top: 4px; font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--primary-soft-ink); }
.pv-match { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.pv-match b { font-weight: 500; font-size: 17px; }
.pv-match p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.pv-card { position: relative; padding: 18px 18px 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.pv-h { font: 500 13.5px/1 var(--font); color: var(--muted); margin-bottom: 10px; }
.pv-bio { font-size: 16.5px; line-height: 1.5; white-space: pre-line; }
.pv-prompt { padding-right: 64px; background: linear-gradient(160deg, color-mix(in oklab, var(--apricot) 9%, var(--surface)), var(--surface) 64%); }
.pv-q { font-size: 14px; color: var(--muted); }
.pv-a { margin-top: 6px; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 25px; line-height: 1.22; }
.pv-prompt .pv-heart { top: 50%; bottom: auto; right: 12px; margin-top: -23px; background: var(--primary-soft); border-color: transparent; color: var(--primary-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pv-prompt .pv-heart:hover { background: var(--grad-like); color: #fff; }
.pv-ph { position: relative; margin: 0; aspect-ratio: 4/5; max-height: 74dvh; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.pv-ph img { width: 100%; height: 100%; object-fit: cover; }
.pv-sub { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--primary-ink); margin: -2px 0 10px; font-weight: 500; }
.pv-int { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; }
.pv-int .ic { color: var(--muted); }
.pv-int.on { background: var(--primary-soft); color: var(--primary-soft-ink); }
.pv-int.on .ic { color: var(--primary-ink); }
.pv-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.pv-facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; min-width: 0; }
.pv-facts li .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.pv-facts li span { min-width: 0; overflow-wrap: anywhere; }
.pv-demo { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 2px 4px; }
.pv-safe { display: flex; gap: 8px; justify-content: center; padding: 6px 0 4px; }
.pv-safe-b { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--muted); font: 500 14px/1 var(--font); }
.pv-safe-b:hover { color: var(--danger); border-color: color-mix(in oklab, var(--danger) 40%, transparent); }
.pv-act { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 0 calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--surface) 38%); }
.pv-act .dk-b { position: relative; }
.pv-sheet .sheet-body { padding: 4px 12px 0; gap: 0; }
.pv-sheet .sheet-x { top: 22px; right: 22px; background: rgba(20,12,28,.4); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pv-sheet .pv-hero { box-shadow: none; }

/* кольцо совпадения */
.cring { position: relative; flex: none; display: grid; place-items: center; }
.cring svg { position: absolute; inset: 0; }
.cring-bg { fill: none; stroke: var(--surface-3); }
.cring-fg { fill: none; stroke-linecap: round; animation: cring-fill 1.1s .15s var(--ease) both; }
@keyframes cring-fill { from { stroke-dashoffset: var(--c); } }
.cring-v { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 700; line-height: 1; color: var(--ink); }
.cring-v small { font-size: .55em; margin-left: 1px; }

/* комплимент */
.cmp-lead { font-size: 14px; }
.cmp-targets { gap: 10px; padding-top: 4px; padding-bottom: 6px; }
.cmp-t { flex: none; border: 0; padding: 0; background: none; border-radius: 18px; position: relative; transition: transform .25s var(--ease-spring); }
.cmp-t::after { content: ''; position: absolute; inset: -3px; border-radius: 21px; border: 3px solid transparent; transition: border-color var(--t); pointer-events: none; }
.cmp-t.on::after { border-color: var(--primary); }
.cmp-t.on { transform: scale(1.03); }
.cmp-ph img { width: 84px; height: 112px; border-radius: 18px; object-fit: cover; display: block; }
.cmp-pr { width: 190px; height: 112px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 6px; background: var(--surface-2); }
.cmp-q { font-size: 12px; color: var(--muted); }
.cmp-a { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 16px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cmp-ideas { gap: 6px; }
.cmp-write { position: relative; display: block; }
.cmp-write .input { padding-bottom: 28px; }
.cmp-n { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); }

/* жалоба */
.rep-list { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.rep-i { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); text-align: left; font-size: 15px; color: var(--ink); }
.rep-i:last-child { border-bottom: 0; }
.rep-i.on { background: var(--primary-soft); }

/* страница анкеты */
.upage { position: relative; padding-bottom: 8px; }
.upage-in { padding: 0 12px; max-width: 600px; margin: 0 auto; }
.upage .pv-hero { margin: 0 -12px; border-radius: 0 0 34px 34px; max-height: 80dvh; }
.upage .pv-tags { top: calc(70px + env(safe-area-inset-top)); left: 18px; }
.upage-foot { position: sticky; bottom: calc(var(--tabbar)); z-index: 20; max-width: 600px; margin: 0 auto; padding: 0 16px; }
.upage-foot .pv-act { background: linear-gradient(180deg, transparent, var(--bg) 52%); padding-top: 26px; }
.upage-foot .btn { margin: 10px 0 12px; }
.upage-wait { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; padding: 14px 16px; margin: 10px 0; border-radius: 22px;
  background: color-mix(in oklab, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--sh-2); font-size: 14.5px; color: var(--ink-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.upage-wait-ic { color: var(--primary); display: inline-flex; animation: bm-heartbeat 1.6s ease-in-out infinite; }
@media (min-width: 900px) {
  .upage .topbar.float { position: absolute; top: 12px; }
  .upage .pv-hero { margin: 16px 0 0; border-radius: var(--r-card); }
  .upage-foot { bottom: 0; }
}

/* ───────── симпатии ───────── */
.likes-in { padding-bottom: 20px; }
.likes-seg { width: 100%; margin-bottom: 14px; }
.likes-foot { display: flex; align-items: center; gap: 6px; margin: 16px 2px 0; }
.likes-art { position: relative; width: 140px; height: 110px; margin-bottom: 8px; }
.likes-art i { position: absolute; width: 74px; height: 98px; border-radius: 18px; top: 6px; box-shadow: var(--sh-2); }
.likes-art i:nth-child(1) { left: 2px; transform: rotate(-12deg); background: linear-gradient(160deg, color-mix(in oklab, var(--apricot) 70%, var(--surface)), var(--apricot)); }
.likes-art i:nth-child(2) { right: 2px; transform: rotate(12deg); background: linear-gradient(160deg, color-mix(in oklab, var(--violet) 65%, var(--surface)), var(--violet)); }
.likes-art i:nth-child(3) { left: 33px; top: 0; z-index: 1; background: var(--grad-like); animation: bm-float 3s ease-in-out infinite; }
.likes-art i:nth-child(3)::after { content: '♥'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px; }

/* ───────── чаты: список ───────── */
.chats .pad { padding-bottom: 16px; }
.clist { display: flex; flex-direction: column; }
.fresh { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.fresh::-webkit-scrollbar { display: none; }
.fresh-i { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-size: 12.5px; text-decoration: none !important; }
.fresh-rg { position: relative; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--grad-brand); }
.fresh-rg .ava { width: 100% !important; height: 100% !important; border: 3px solid var(--bg); }
.fresh-rg .on-dot { right: 2px; bottom: 2px; }
.fresh-i.on .fresh-rg { box-shadow: 0 0 0 3px var(--primary-soft); }
.fresh-n { max-width: 72px; }
.crow { display: flex; align-items: center; gap: 12px; padding: 10px 8px; margin: 0 -8px; border-radius: 18px; color: var(--ink); text-decoration: none !important; transition: background var(--t); }
.crow:hover { background: var(--surface-2); }
.crow.on { background: var(--primary-soft); }
.crow-ph { position: relative; flex: none; }
.crow.ended .crow-ph { filter: grayscale(.8); opacity: .7; }
.crow-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crow-n { display: flex; align-items: center; gap: 5px; font-weight: 500; font-size: 16px; min-width: 0; }
.crow-m { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-m.unread { color: var(--ink); font-weight: 500; }
.crow-m.typing { color: var(--primary-ink); }
.crow-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--muted); flex: none; }
.crow-u { min-width: 20px; height: 20px; border-radius: 10px; background: var(--primary); color: #fff; font: 600 11.5px/20px var(--font); text-align: center; padding: 0 6px; }
.crow-rd { color: var(--violet); }
.chats-art { width: 120px; height: 120px; border-radius: 40px; display: grid; place-items: center; margin-bottom: 6px;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--apricot) 25%, var(--surface)), var(--surface-2)); animation: bm-breathe 3.2s ease-in-out infinite; }

/* ───────── чат ───────── */
.chat { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--bg); }
.chat-top { position: relative; z-index: 4; flex: none; display: flex; align-items: center; gap: 6px; height: 62px; padding: env(safe-area-inset-top) calc(6px + var(--omsg-gap)) 0 4px;
  box-sizing: content-box; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.chat-who { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none !important; padding: 4px 8px 4px 4px; border-radius: 16px; }
.chat-who:hover { background: var(--surface-2); }
.chat-ph { position: relative; flex: none; }
.chat-ph .on-dot { width: 12px; height: 12px; border-width: 2px; border-color: var(--surface); }
.chat-n { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 16.5px; line-height: 1.2; min-width: 0; }
.chat-s { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-s.online { color: var(--ok); }
.chat-s.typing { color: var(--primary-ink); }
.msgs { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 4px;
  overscroll-behavior: contain; }
.msgs-more { display: grid; place-items: center; padding: 8px; color: var(--muted); }
.msgs-sk { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
/* начало переписки: пара фото как на экране «Взаимно» */
.chat-intro { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px 12px 14px; }
.ci-pair { position: relative; width: 132px; height: 80px; margin-bottom: 8px; }
.ci-ph { position: absolute; top: 0; width: 80px; height: 80px; border-radius: 50%; padding: 3px; }
.ci-ph img, .ci-ph > span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; border: 3px solid var(--bg); background: var(--surface-2);
  font: italic 700 30px/1 var(--font-display); color: var(--ink); }
.ci-ph.me { left: 0; background: linear-gradient(135deg, color-mix(in oklab, var(--apricot) 70%, #fff), var(--apricot)); }
.ci-ph.them { right: 0; background: var(--grad-super); }
.ci-heart { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--grad-like); border: 3px solid var(--bg); box-shadow: var(--glow-like); animation: bm-heartbeat 2.4s 1s ease-in-out infinite; }
.ci-t { font-size: 24px; line-height: 1.15; }
.ci-s { font-size: 13px; color: var(--muted); }
.ci-link { margin-top: 6px; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: 500 13.5px/1 var(--font); text-decoration: none !important; }
.ci-link:hover { background: var(--surface-3); }
.msg-day { align-self: center; margin: 12px 0 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.msg-day span { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.msg-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; max-width: 92%; text-align: center; font-size: 12.5px; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; background: var(--surface-2); margin: 6px 0; }
.msg-in { animation: msg-in .32s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.bub { position: relative; max-width: 80%; padding: 9px 13px 8px; border-radius: 20px; font-size: 15.5px; line-height: 1.38; overflow-wrap: anywhere; user-select: text;
  -webkit-tap-highlight-color: transparent; }
.bub.t { align-self: flex-start; background: var(--surface); box-shadow: var(--sh-1); border: 1px solid var(--line); cursor: default; }
.bub.me { align-self: flex-end; background: var(--grad-like); color: #fff; }
.bub.t.tail { border-bottom-left-radius: 6px; margin-bottom: 4px; }
.bub.me.tail { border-bottom-right-radius: 6px; margin-bottom: 4px; }
.bub.has-rx { margin-bottom: 14px; }
.bub-t { white-space: pre-wrap; }
.bub-m { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -3px 10px; font-size: 11px; opacity: .72; line-height: 1; }
.bub-m .rd { color: #fff; opacity: 1; }
.bub.t .bub-m { color: var(--muted); opacity: 1; }
.bub.pending { opacity: .75; }
.bub.failed { background: var(--danger); }
.bub-rx { position: absolute; bottom: -12px; right: 10px; display: inline-flex; align-items: center; gap: 2px; height: 22px; min-width: 26px; padding: 0 6px; border-radius: 11px;
  background: var(--surface); box-shadow: var(--sh-2); border: 1px solid var(--line); font-size: 12px; line-height: 1; color: var(--ink); animation: bm-pop .45s var(--ease-spring) both; }
.bub-rx b { font: 600 11px/1 var(--font); color: var(--muted); }
.bub.t .bub-rx { right: auto; left: 10px; }
.bub-retry { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--danger); font-size: 12.5px; padding: 2px 4px 6px; }
.bub.typing { display: inline-flex; gap: 4px; padding: 13px 14px; width: auto; }
.bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bm-dots 1.2s infinite ease-in-out both; }
.bub.typing i:nth-child(2) { animation-delay: .16s; } .bub.typing i:nth-child(3) { animation-delay: .32s; }
.msg-warn { align-self: flex-start; display: flex; gap: 8px; max-width: 88%; font-size: 13px; line-height: 1.35; color: var(--warn); background: var(--warn-soft); border-radius: 14px;
  padding: 8px 11px; margin: 0 0 6px; }
.msg-warn .ic { margin-top: 1px; }
.cmsg { max-width: 84%; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 20px; margin: 4px 0; }
.cmsg.t { align-self: flex-start; background: var(--primary-soft); }
.cmsg.me { align-self: flex-end; background: color-mix(in oklab, var(--primary-soft) 70%, var(--accent-soft)); }
.cmsg-h { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--primary-soft-ink); font-weight: 500; }
.cmsg-b { display: flex; gap: 10px; align-items: center; }
.cmsg-b img { width: 52px; height: 66px; border-radius: 12px; object-fit: cover; flex: none; }
.cmsg-b q { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.cmsg-m { align-self: flex-end; font-size: 11px; color: var(--muted); }

/* игра «Это или то» */
.game { align-self: stretch; margin: 8px 0; border-radius: 24px; padding: 14px; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in oklab, var(--violet) 14%, var(--surface)), var(--surface) 70%); }
.game-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 23px; }
.game-ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-super); color: #fff; }
.game-sub { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.game-qs { display: flex; flex-direction: column; gap: 6px; }
.game-q { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.game-q i { font-style: normal; color: var(--faint); font-size: 12px; }
.game-o { min-height: 40px; border: 0; border-radius: 13px; padding: 4px 8px; font: 400 14px/1.2 var(--font); background: var(--surface-2); color: var(--ink-2);
  transition: background .25s, color .25s, transform .25s var(--ease-spring), box-shadow .25s; }
.game.is-open .game-o:not(:disabled):hover { background: var(--surface-3); }
.game-o:not(:disabled):active { transform: scale(.95); }
.game-o:disabled { cursor: default; }
.game-o.me { background: var(--primary-soft); color: var(--primary-soft-ink); font-weight: 500; }
.game-o.both { background: var(--grad-like); color: #fff; font-weight: 500; box-shadow: var(--glow-like); }
.game-o.th { box-shadow: inset 0 0 0 2px var(--violet); color: var(--accent-ink); }
.game.is-done .game-q { animation: game-rev .5s var(--d) var(--ease-spring) both; }
@keyframes game-rev { from { opacity: 0; transform: translateX(-10px) scale(.96); } }
.game > .btn { margin-top: 12px; }
.game-res { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; animation: bm-fade-up .5s .65s var(--ease) both; }
.game-res b { font-size: 29px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
.game-wait { display: flex; justify-content: center; gap: 5px; padding: 12px 0 2px; }
.game-wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: bm-dots 1.2s infinite ease-in-out both; }
.game-wait i:nth-child(2) { animation-delay: .16s; } .game-wait i:nth-child(3) { animation-delay: .32s; }
.game-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.game-legend .lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-left: 6px; }
.game-legend .lg:first-child { margin-left: 0; }
.lg.both { background: var(--grad-like); } .lg.me { background: var(--primary-soft); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 40%, transparent); } .lg.th { box-shadow: inset 0 0 0 2px var(--violet); }

/* обмен контактами */
.share-b { position: relative; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px; margin: 8px 10px 0; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: var(--accent-soft); color: var(--ink); animation: bm-fade-down .4s var(--ease) both; }
.share-b b { display: block; font-weight: 500; font-size: 14px; }
.share-b span { font-size: 12.5px; color: var(--muted); }
.share-b.ok { background: var(--ok-soft); }
.share-b.ok .share-ic { background: var(--ok); color: var(--surface); }
.share-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--on-accent); }
.share-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font: 500 14px/1 var(--font); }
.share-btn.ghost { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* поле ввода */
.composer-wrap { position: relative; z-index: 3; flex: none; background: var(--bg); padding-bottom: env(safe-area-inset-bottom); }
.openers { gap: 8px; padding-top: 4px; padding-bottom: 6px; }
.composer-wrap .openers { margin-inline: 0; }
.opener { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent); background: var(--primary-soft);
  color: var(--primary-soft-ink); font: 400 14px/1 var(--font); white-space: nowrap; transition: transform .2s var(--ease-spring); }
.opener:active { transform: scale(.95); }
.composer { display: flex; align-items: flex-end; gap: 8px; padding: 6px 10px 10px; }
.cmp-in { flex: 1; min-width: 0; min-height: 46px; max-height: 132px; padding: 12px 16px; border-radius: 23px; border: 1px solid var(--line-strong); background: var(--surface);
  font: 400 16px/1.35 var(--font); color: var(--ink); resize: none; outline: none; transition: border-color var(--t), box-shadow var(--t); }
.cmp-in:focus { border-color: var(--primary-ink); box-shadow: var(--ring); }
.cmp-in::placeholder { color: var(--faint); }
.cmp-game, .cmp-send { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none; transition: transform .22s var(--ease-spring), opacity var(--t); }
.cmp-game { background: var(--accent-soft); color: var(--accent-ink); }
.cmp-send { background: var(--grad-like); color: #fff; box-shadow: var(--glow-like); }
.cmp-send:disabled { opacity: .45; box-shadow: none; }
.cmp-game:not(:disabled):active, .cmp-send:not(:disabled):active { transform: scale(.88); }
.chat-ended { flex: none; display: flex; align-items: center; gap: 12px; margin: 8px 10px calc(10px + env(safe-area-inset-bottom)); padding: 12px 12px 12px 14px; border-radius: 22px;
  background: var(--surface-2); }
.chat-ended b { display: block; font-weight: 500; }
.chat-ended span { font-size: 13px; color: var(--muted); }
.chat-ended-ic { width: 40px; height: 40px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--surface); color: var(--muted); }
.cmenu-who { display: flex; align-items: center; gap: 12px; padding: 6px 4px 8px; color: var(--ink); text-decoration: none !important; }

/* ПК: список и переписка рядом */
.chats-split { display: grid; grid-template-columns: 360px minmax(0, 1fr); max-width: 1180px; margin: 0 auto; height: calc(100dvh - var(--hdr)); }
.chats-split.full { height: 100%; }
.chats-side { border-right: 1px solid var(--line); overflow-y: auto; padding: 18px 20px; }
.side-t { font-size: 34px; margin: 4px 0 8px; }
.chats-none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 40px; }
.chats-none h2 { font-size: 28px; }
.chats-split .chat { border-right: 1px solid var(--line); }
.chats-split .chat-top { padding-left: 16px; }
@media (min-width: 900px) { .app.full .chats-split { height: 100%; } }

/* ───────── профиль ───────── */
.me-hdr { justify-content: flex-start; }
.me-in { padding-bottom: 28px; --col: 600px; }
.me-hero { display: flex; align-items: center; gap: 18px; padding: 6px 2px 16px; }
.me-ava { position: relative; flex: none; width: 128px; height: 128px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: conic-gradient(var(--berry) 0, var(--apricot) calc(var(--pc) * .5%), var(--violet) calc(var(--pc) * 1%), var(--surface-3) calc(var(--pc) * 1%)); transition: transform .3s var(--ease-spring); }
.me-ava:active { transform: scale(.95); }
.me-ava-in { position: absolute; inset: 5px; border-radius: 50%; padding: 4px; background: var(--bg); }
.me-ava-in .ava { width: 100% !important; height: 100% !important; }
.me-pct { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600;
  box-shadow: 0 0 0 3px var(--bg); }
.me-who { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.me-who h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 400; }
.me-who h2 .display { font-size: 34px; line-height: 1.05; }
.me-age { font: 300 28px/1 var(--font); color: var(--ink-2); }
.me-who h2 .ver { align-self: center; }
.me-hero-act { margin-top: 8px; }
.me-steps { padding: 16px; border-radius: 24px; background: linear-gradient(150deg, color-mix(in oklab, var(--apricot) 12%, var(--surface)), var(--surface) 55%, color-mix(in oklab, var(--violet) 10%, var(--surface)));
  border: 1px solid var(--line); }
.me-steps-h { display: flex; flex-direction: column; gap: 2px; }
.me-steps-h b { font-weight: 500; font-size: 16px; }
.me-bar { height: 8px; border-radius: 8px; background: var(--surface-3); margin: 12px 0 8px; overflow: hidden; }
.me-bar i { display: block; height: 100%; border-radius: 8px; background: var(--grad-brand); animation: me-bar 1s .2s var(--ease) both; }
@keyframes me-bar { from { width: 0 !important; } }
.me-step-list { display: flex; flex-direction: column; }
.me-step { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 2px; border: 0; background: none; text-align: left; font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--line); }
.me-step:first-child { border-top: 0; }
.me-step-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--primary-ink); box-shadow: var(--sh-1); flex: none; }
.me-plus { font-weight: 600; font-size: 13px; color: var(--ok); }
.me-sec { margin-top: 26px; scroll-margin-top: 70px; }
.me-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 2px 12px; }
.me-sec-h h2 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 25px; }
.me-sec-h p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sec-edit { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink-2); font: 500 14px/1 var(--font); flex: none; }
.me-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 32px; text-align: center; }

.tonight { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 14px 14px 12px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface);
  transition: background .4s, color .4s, border-color .4s; }
.tonight b { display: block; font-weight: 500; font-size: 16px; }
.tonight .grow > span { display: block; font-size: 13px; color: var(--muted); }
.tonight-moon { width: 46px; height: 46px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: all .4s var(--ease); }
.tonight.on { background: radial-gradient(120% 140% at 0% 0%, #3B1D55, var(--plum) 70%); color: var(--on-plum); border-color: transparent; box-shadow: var(--sh-card); }
.tonight.on .grow > span { color: var(--on-plum-muted); }
.tonight.on .tonight-moon { background: var(--gold); color: var(--plum); transform: rotate(-12deg); box-shadow: 0 0 24px color-mix(in oklab, var(--gold) 60%, transparent); }

/* фото 3×2 */
.pg-box { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pg-cell { position: absolute; left: 0; top: 0; border-radius: 18px; overflow: hidden; transition: transform .32s var(--ease-spring), box-shadow .25s, opacity .25s; }
.pg-ph { background: var(--surface-2); cursor: grab; box-shadow: var(--sh-1); -webkit-touch-callout: none; }
.pg-ph img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pg-ph.is-drag { z-index: 10; transition: box-shadow .2s; box-shadow: var(--sh-3); cursor: grabbing; }
.pg-box.is-dragging .pg-ph:not(.is-drag) { opacity: .9; }
.pg-ph.is-main { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.pg-main, .pg-n { position: absolute; left: 7px; bottom: 7px; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 11.5px/22px var(--font); color: #fff; background: rgba(20,12,28,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pg-main { background: var(--grad-like); }
.pg-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(20,12,28,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pg-up { display: grid; place-content: center; justify-items: center; gap: 6px; background: var(--surface-2); color: var(--primary-ink); }
.pg-pct { font-size: 12px; color: var(--muted); }
.pg-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; color: var(--primary-ink); font: 500 13.5px/1 var(--font);
  background: var(--primary-soft); border: 2px dashed color-mix(in oklab, var(--primary) 45%, transparent); }
.pg-add:hover { background: color-mix(in oklab, var(--primary-soft) 80%, var(--brand-300)); }
.pg-add-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-like); color: #fff; box-shadow: var(--glow-like); }
.pg-empty { display: grid; place-items: center; color: var(--faint); background: var(--surface-2); border: 2px dashed var(--line-strong); }
.pg-hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 10px 2px 0; }
.pg-omsg { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 12px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 500 15px/1 var(--font); }
.pg-omsg-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(118deg, #2563EB, #7155F5); }

.bio-ed .input { min-height: 120px; }
.bio-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; min-height: 40px; }
.prompts { display: flex; flex-direction: column; gap: 10px; }
.pr-card { display: flex; gap: 8px; align-items: flex-start; padding: 14px 6px 14px 16px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in oklab, var(--apricot) 9%, var(--surface)), var(--surface) 64%); }
.pr-q { font-size: 13px; color: var(--muted); }
.pr-a { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.25; margin-top: 4px; }
.pr-act { display: flex; flex: none; }
.pr-act .icon-btn { width: 38px; height: 38px; }
.pr-add { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 22px; border: 2px dashed var(--line-strong); background: none; text-align: left; color: var(--ink); }
.pr-add b { display: block; font-weight: 500; }
.pr-add span span { font-size: 13px; color: var(--muted); }
.pr-add-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); flex: none; }
.pr-pick { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.pr-pick-i { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface);
  text-align: left; font-size: 15px; color: var(--ink); }
.pr-pick-i:last-child { border-bottom: 0; }
.pr-pick-i .ic { color: var(--faint); }
.pr-q-sel { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 16px; border: 0; background: var(--surface-2); text-align: left;
  font: 500 15px/1.3 var(--font); color: var(--ink); }
.basics { display: flex; flex-direction: column; gap: 16px; }
.basics-grid { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
.basics-grid .span2 { grid-column: 1 / -1; }
.basics-grid .field:first-child { max-width: 100%; }
.det { display: flex; flex-direction: column; gap: 8px; }
.det-l { font: 500 13.5px/1 var(--font); color: var(--ink-2); }
.det .chip { min-height: 36px; font-size: 14px; padding: 0 13px; }
.verify { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.verify b { display: block; font-weight: 500; font-size: 16px; }
.verify p { font-size: 13.5px; color: var(--muted); margin: 4px 0 10px; }
.verify-ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-ink); }
.v-approved .verify-ic { background: var(--grad-super); color: #fff; }
.v-pending .verify-ic { background: var(--warn-soft); color: var(--warn); }
.v-rejected .verify-ic { background: var(--danger-soft); color: var(--danger); }
.vsheet { display: flex; flex-direction: column; gap: 14px; }
.vs-gesture { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px; border-radius: 24px;
  background: linear-gradient(160deg, var(--accent-soft), var(--surface)); }
.vs-gesture b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.25; }
.vs-g-ic { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: var(--grad-super); box-shadow: var(--glow-super); animation: bm-swing 2.6s ease-in-out infinite; }
.vs-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.vs-photo img { width: 140px; height: 180px; object-fit: cover; border-radius: 20px; margin: 0 auto; box-shadow: var(--sh-2); }
.menu.flat { margin-top: 0; }
.sw-row { cursor: pointer; }
.sw-row b { font-weight: 500; }
.sw-row small { display: block; font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.sw-row.off { opacity: .55; }
.blocks-none { display: flex; align-items: center; gap: 6px; }
.account .seg { width: 100%; }
.danger-zone { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dz-b { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--danger); font: 500 14px/1 var(--font); }
.dz-b:hover { background: var(--danger-soft); }
.preview-sheet .sheet-body { padding: 0 12px 16px; }
.preview { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.preview-note { text-align: center; padding: 0 12px; }
.preview-deck { position: relative; height: min(70dvh, 640px); }
.preview-deck .deck { height: 100%; }
.preview-deck .dk-stack { margin: 8px 4px 4px; }

/* ───────── знакомство ───────── */
.start { position: relative; min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; overflow-x: clip; }
.st-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; height: 60px; padding: env(safe-area-inset-top) calc(16px + var(--omsg-gap)) 0 8px;
  box-sizing: content-box; background: color-mix(in oklab, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.st-mark { width: 44px; display: grid; place-items: center; flex: none; }
.st-bar { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.st-bar i { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; position: relative; }
.st-bar i::after { content: ''; position: absolute; inset: 0; background: var(--grad-brand); background-size: 600% 100%; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.st-bar i:nth-child(2)::after { background-position: 20% 0; } .st-bar i:nth-child(3)::after { background-position: 40% 0; } .st-bar i:nth-child(4)::after { background-position: 60% 0; }
.st-bar i:nth-child(5)::after { background-position: 80% 0; } .st-bar i:nth-child(6)::after { background-position: 100% 0; }
.st-bar i.done::after, .st-bar i.on::after { transform: scaleX(1); }
.st-bar i.on::after { animation: st-bar-on .6s var(--ease) both; }
@keyframes st-bar-on { from { transform: scaleX(0); } }
.st-n { font-size: 13px; color: var(--muted); font-weight: 500; min-width: 30px; text-align: right; }
.start .aura { position: fixed; }
.st-body { position: relative; z-index: 1; flex: 1; padding: 8px 20px 20px; animation: st-in .45s var(--ease) both; }
@keyframes st-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 36px)); } }
.st-step { display: flex; flex-direction: column; gap: 16px; }
.st-head h1 { font-size: 36px; line-height: 1.08; margin-top: 8px; }
.st-head p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.st-l { font: 500 14px/1 var(--font); color: var(--ink-2); margin-top: 6px; }
.st-foot { position: sticky; bottom: 0; z-index: 5; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 30%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; }
.st-out { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 8px; }
.st-name .input { text-transform: none; }
.dob { position: relative; display: grid; grid-template-columns: 64px 1fr 92px; gap: 6px; padding: 6px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.wheel { position: relative; height: 220px; }
.wheel-band { position: absolute; left: 0; right: 0; top: 88px; height: 44px; border-radius: 14px; background: var(--surface-2); pointer-events: none; }
.wheel-list { position: relative; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.wheel-list::-webkit-scrollbar { display: none; }
.wheel-list:focus-visible { box-shadow: var(--ring); border-radius: 14px; }
.wheel-pad { height: 88px; }
.wheel-i { height: 44px; display: grid; place-items: center; scroll-snap-align: center; font-size: 17px; color: var(--muted); cursor: pointer; transition: color .2s, font-size .2s; white-space: nowrap; }
.wheel-i.on { color: var(--ink); font-size: 20px; font-weight: 500; }
.st-age { font-size: 15px; color: var(--muted); text-align: center; }
.st-age b { color: var(--ink); font-weight: 500; }
.st-young { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; background: var(--accent-soft); }
.st-young b { font-weight: 500; }
.st-young p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.st-young-ic { width: 40px; height: 40px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--surface); color: var(--accent-ink); }
.st-gender { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-g { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; border-radius: 28px; border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 17px; transition: transform .3s var(--ease-spring), border-color .25s, box-shadow .25s, background .25s; }
.st-g b { font-weight: 500; }
.st-g:active { transform: scale(.96); }
.st-g-sym { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; line-height: 1; color: #fff; }
.g-f .st-g-sym { background: linear-gradient(135deg, var(--apricot), var(--berry)); }
.g-m .st-g-sym { background: var(--grad-super); }
.st-g.on { border-color: var(--primary); box-shadow: 0 14px 34px -14px color-mix(in oklab, var(--primary) 70%, transparent); background: var(--primary-soft); }
.st-goals { display: flex; flex-direction: column; gap: 10px; }
.st-goal { display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 10px 14px; border-radius: 22px; border: 2px solid var(--line); background: var(--surface); text-align: left; color: var(--ink);
  transition: border-color .25s, background .25s, transform .25s var(--ease-spring); }
.st-goal:active { transform: scale(.98); }
.st-goal b { display: block; font-weight: 500; font-size: 16px; }
.st-goal small { display: block; font-size: 13px; color: var(--muted); }
.st-goal-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; transition: all .3s var(--ease); }
.st-goal-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--line-strong); color: transparent; transition: all .25s var(--ease-spring); }
.st-goal.on { border-color: var(--primary); background: var(--primary-soft); }
.st-goal.on .st-goal-ic { background: var(--grad-like); color: #fff; }
.st-goal.on .st-goal-ok { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.1); }
.st-omsg, .st-geo { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 16px; border-radius: 24px; border: 0; text-align: left; color: #fff;
  background: linear-gradient(118deg, #2563EB 0%, #4B4FE8 60%, #7155F5 100%); box-shadow: 0 12px 30px -12px rgba(58,84,230,.6); transition: transform .25s var(--ease-spring); }
.st-geo { background: var(--grad-super); box-shadow: var(--glow-super); }
.st-omsg:active, .st-geo:active { transform: scale(.98); }
.st-omsg b, .st-geo b { display: block; font-weight: 500; font-size: 16px; }
.st-omsg small, .st-geo small { display: block; font-size: 13px; opacity: .85; }
.st-omsg-ic, .st-geo-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.18); }
.st-tip { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.st-tip .ic { color: var(--violet); }
.st-count { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 500 13.5px/1 var(--font); padding: 8px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.st-count.ok { background: var(--ok-soft); color: var(--ok); }
.st-cities { display: flex; flex-direction: column; gap: 10px; }

.ipick { display: flex; flex-direction: column; gap: 16px; }
.ipick-h { font: 500 13px/1 var(--font); color: var(--muted); margin-bottom: 10px; }
.ichip { min-height: 40px; }
.ichip.on { background: var(--grad-like); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px color-mix(in oklab, var(--primary) 80%, transparent); }
.ichip.on .ic { color: #fff; }

.st-done { position: relative; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 40px 24px calc(28px + env(safe-area-inset-bottom)); color: var(--on-plum); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 75% at 50% 28%, #33194F 0%, var(--plum) 55%, #0E0716 100%); }
.st-done-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.st-done-sky i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(70px); opacity: .4; }
.st-done-sky .a { left: -40vmax; top: -12vmax; background: var(--apricot); animation: mt-drift 9s ease-in-out infinite alternate; }
.st-done-sky .v { right: -40vmax; top: 10vmax; background: var(--violet); animation: mt-drift 11s ease-in-out infinite alternate-reverse; }
.st-done-sky .b { left: 10vmax; bottom: -58vmax; background: var(--berry); opacity: .3; }
.st-done-ph { position: relative; width: 150px; height: 150px; border-radius: 50%; padding: 5px; background: var(--grad-brand); animation: bm-pop .8s var(--ease-spring) both;
  box-shadow: 0 20px 60px -16px color-mix(in oklab, var(--berry) 80%, transparent); }
.st-done-ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--plum); }
.st-done-ph > .mark { margin: 30px auto; }
.st-done-mk { position: absolute; right: -4px; bottom: 4px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-like); border: 4px solid var(--plum); }
.st-done h1 { font-size: 46px; line-height: 1.05; margin-top: 10px; background: linear-gradient(100deg, #FFB08A 0%, #FF6F96 48%, #B9A5FF 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding: 0 .1em; animation: mt-write 1s .3s var(--ease) both; }
.st-done > p { max-width: 340px; color: var(--on-plum-muted); font-size: 16px; animation: bm-fade-up .6s .6s var(--ease) both; }
.st-perks { list-style: none; padding: 0; margin: 6px 0 12px; display: flex; flex-direction: column; gap: 8px; animation: bm-fade-up .6s .8s var(--ease) both; }
.st-perks li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.st-perks .ic { color: #FFB3CF; }
.st-done > .btn { max-width: 360px; animation: bm-fade-up .6s 1s var(--ease) both; }

/* ───────── вход ───────── */
.login { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.lg-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--on-plum); padding: calc(28px + env(safe-area-inset-top)) 24px 54px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 20%, #33194F 0%, var(--plum) 60%, #0E0716 100%); min-height: 46dvh; justify-content: flex-end; }
.lg-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lg-sky i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(70px); opacity: .42; }
.lg-sky .a { left: -44vmax; top: -18vmax; background: var(--apricot); animation: mt-drift 9s ease-in-out infinite alternate; }
.lg-sky .v { right: -44vmax; top: -6vmax; background: var(--violet); animation: mt-drift 11s ease-in-out infinite alternate-reverse; }
.lg-sky .b { left: 10vmax; bottom: -60vmax; background: var(--berry); opacity: .32; }
.lg-cards { position: relative; width: 250px; height: 168px; margin-bottom: 18px; }
.lg-c { position: absolute; width: 104px; height: 140px; border-radius: 22px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); overflow: hidden; }
.lg-c-ph { position: absolute; inset: 0; }
.lg-c.c1 { left: 8px; top: 18px; transform: rotate(-14deg); animation: lg-float 6s ease-in-out infinite; }
.lg-c.c1 .lg-c-ph { background: radial-gradient(70% 50% at 50% 38%, rgba(255,255,255,.35), transparent 70%), linear-gradient(160deg, #FFB08A, var(--berry)); }
.lg-c.c2 { right: 8px; top: 18px; transform: rotate(13deg); animation: lg-float 7s -2s ease-in-out infinite; }
.lg-c.c2 .lg-c-ph { background: radial-gradient(70% 50% at 50% 38%, rgba(255,255,255,.3), transparent 70%), linear-gradient(160deg, #9C80FF, #4E32C8); }
.lg-c.c3 { left: 73px; top: 0; z-index: 1; animation: lg-float 5s -1s ease-in-out infinite; }
.lg-c.c3 .lg-c-ph { background: radial-gradient(70% 50% at 50% 38%, rgba(255,255,255,.4), transparent 70%), linear-gradient(160deg, #FF9EBF, var(--violet)); }
.lg-c.c3::after { content: ''; position: absolute; left: 50%; top: 44%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lg-c-st { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/1 var(--font); color: #fff; }
.lg-c-st.lk { left: 8px; background: var(--grad-like); transform: rotate(-4deg); }
.lg-c-st.sp { right: 8px; background: var(--grad-super); transform: rotate(4deg); }
@keyframes lg-float { 50% { translate: 0 -10px; } }
.lg-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lg-brand h1 { font-size: 54px; line-height: 1; background: linear-gradient(100deg, #FFB08A 0%, #FF6F96 48%, #B9A5FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .1em .06em; }
.lg-brand p { color: var(--on-plum-muted); font-size: 16px; }
.lg-perks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
.lg-perks li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.lg-perks .ic { color: #FFB3CF; }
.lg-card { position: relative; z-index: 2; margin-top: -30px; border-radius: 30px 30px 0 0; background: var(--bg); padding: 24px 18px calc(28px + env(safe-area-inset-bottom)); flex: 1; }
.lg-why { text-align: center; color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }
.lg-form { max-width: 420px; margin: 0 auto; }
.login .omsg-signin .signin-sub { margin-bottom: 16px; }
.login .omsg-pill { font-family: var(--font); font-weight: 500; }   /* в пилюле назван Onest — его во «Взаимно» нет */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-grid .btn { min-width: 0; padding: 0 10px; font-size: 14.5px; min-height: 46px; }
.demo-grid .btn:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .login { flex-direction: row; min-height: calc(100dvh - var(--hdr)); }
  .lg-hero { flex: 1.1; min-height: auto; justify-content: center; padding: 48px; border-radius: 0 40px 40px 0; }
  .lg-cards { transform: scale(1.25); margin-bottom: 44px; }
  .lg-brand h1 { font-size: 72px; }
  .lg-card { flex: 1; margin: 0; border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
}

/* ───────── уведомления ───────── */
.notes-list { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.note-i { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); text-align: left; color: var(--ink); }
.note-i.unread { background: color-mix(in oklab, var(--primary-soft) 55%, var(--surface)); border-color: color-mix(in oklab, var(--primary) 22%, transparent); }
.note-i b { font-weight: 500; }
.note-b { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.note-t { font-size: 12px; color: var(--muted); flex: none; white-space: nowrap; }
.note-ic { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; background: var(--grad-like); }
.note-ic.t-violet { background: var(--grad-super); }
.note-ic.t-ok { background: var(--ok); color: var(--surface); }
.note-ic.t-warn { background: var(--warn-soft); color: var(--warn); }
.note-ic.t-danger { background: var(--danger-soft); color: var(--danger); }

/* ───────── анкета заблокирована ───────── */
.blocked { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 32px 24px; max-width: 460px; margin: 0 auto; }
.blocked-ic { width: 112px; height: 112px; border-radius: 36px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); margin-bottom: 8px; }
.blocked h1 { font-size: 32px; }
.blocked-why { font-size: 17px; font-weight: 500; padding: 12px 16px; border-radius: 18px; background: var(--danger-soft); color: var(--danger); }
.blocked-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }

/* ───────── ПК ───────── */
@media (min-width: 900px) {
  .vz-hdr { padding-top: 10px; }
  .feed { max-width: 460px; margin: 0 auto; overflow: visible; }
  .feed-mark { display: none; }
  .feed .aura { left: calc(50% - 50vw); right: calc(50% - 50vw); }
  .feed.is-grid { max-width: 1060px; }
  .feed.is-grid .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .title-hdr { max-width: calc(var(--col) + 32px); margin: 0 auto; padding-top: 16px; }
  .likes .title-hdr { max-width: 1100px; }
  .likes .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .likes-seg { width: auto; max-width: 520px; }
  .display-t { font-size: 40px; }
  .me-in { --col: 640px; }
  .mepage .title-hdr { max-width: 672px; }
  .pv-sheet.sheet { max-width: 520px; height: 90vh; }
  .preview-sheet.sheet { max-width: 480px; }
  .notes .pad { --col: 640px; }
}

/* ───────── тёмная тема ───────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ptile-bd.n { background: rgba(255,255,255,.9); }
  :root:not([data-theme="light"]) .pv-act .dk-b:not(.dk-b-like) { background: rgba(35,26,46,.92); color: var(--ink); }
}
:root[data-theme="dark"] .pv-act .dk-b:not(.dk-b-like) { background: rgba(35,26,46,.92); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .likes-art i:nth-child(3), .chats-art, .lg-c, .vs-g-ic, .upage-wait-ic, .ptile-hb.busy { animation: none !important; }
  .st-body, .msg-in, .pop, .game.is-done .game-q, .route, .ci-heart { animation: none !important; }
}
