/* Тёмный кинозал: эфиры — главное, интерфейс вокруг тихий; один тёплый акцент цвета рассвета (направление «Первое лицо + стена окон») */
:root {
  --bg: #0d0f13; --bg2: #161920; --bg3: #1e222b; --line: #2a2f39;
  --fg: #f4f2ee; --muted: #a3a8b3; --accent: #ffb54a; --accent-ink: #241606;
  --live: #ff5a4e; --ok: #4cc38a;
  /* Onest — интерфейс и заголовки; Cormorant (курсив) — только «голос» человека в кадре */
  --display: "Onest", "Segoe UI", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --voice: "Cormorant Garamond", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 16px/1.5 var(--body); min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.logo { font: 800 18px/1 var(--display); letter-spacing: -0.01em; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--bg) 0 28%, var(--accent) 30% 62%, transparent 64%); border: 2px solid var(--accent); }
.top .tag { color: var(--muted); font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .right { display: flex; gap: 8px; align-items: center; }

.btn { border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 600; background: var(--accent); color: var(--accent-ink); white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn.live { background: #c8283a; color: #fff; } /* темнее красного индикатора — белый текст читается (контраст 5:1) */
.btn:disabled { opacity: 0.5; cursor: default; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 20px; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

/* гость */
.guest { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 12px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.chip:hover, .chip.on { color: var(--fg); border-color: var(--accent); }
.phone { display: flex; gap: 14px; align-items: center; background: var(--bg2); border: 1px solid var(--accent); border-radius: 14px; padding: 12px; margin-bottom: 18px; }
.phone #qr { background: #fff; padding: 6px; border-radius: 8px; line-height: 0; flex: none; }
.phone > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.phone code { font: 500 13px/1.4 var(--mono); color: var(--accent); overflow-wrap: anywhere; user-select: all; }
.mine { margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.mine h2 { font: 600 16px/1.2 var(--display); margin: 0; }
.minelist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.author { flex: none; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg2); color: var(--muted); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 14px; }
.author b { color: var(--fg); font-weight: 600; }
.author i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.author.live { border-color: var(--live); }
.author.live i { background: var(--live); box-shadow: 0 0 0 4px rgba(255, 77, 94, 0.25); }
.author:disabled { cursor: default; opacity: 0.75; }
.gtoast { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: auto; max-width: min(420px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; background: var(--bg2); border: 1px solid var(--live); color: var(--fg); padding: 12px 12px 12px 16px; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); z-index: 10; }
.gtoast span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.listhead { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.listhead h2 { font: 600 16px/1.2 var(--display); margin: 0; }
.lhrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.seg button.on { background: var(--bg3); color: var(--fg); }
.planet { height: min(68vh, 620px); border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #131a26 0%, var(--bg) 70%); position: relative; }
.glabel { font: 13px/1.35 var(--body); background: rgba(13, 17, 23, 0.9); color: var(--fg); padding: 6px 9px; border-radius: 8px; border: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.card { position: relative; border: 1px solid var(--line); background: var(--bg2); border-radius: 14px; overflow: hidden; padding: 0; text-align: left; color: var(--fg); display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent); }
.card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.card .img { aspect-ratio: 16 / 10; background: var(--bg3) center / cover no-repeat; position: relative; }
.badge { position: absolute; top: 8px; left: 8px; font: 600 14px/1 var(--mono); background: var(--live); color: #fff; padding: 4px 6px; border-radius: 4px; letter-spacing: 0.06em; }
.badge.demo { background: var(--bg3); color: var(--muted); border: 1px solid var(--line); }
.card .count { position: absolute; top: 8px; right: 8px; font: 500 14px/1 var(--mono); background: rgba(0, 0, 0, 0.6); color: #fff; padding: 4px 6px; border-radius: 4px; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card .t { font-weight: 600; overflow-wrap: anywhere; }
.card .p { font-size: 13px; color: var(--muted); }
.card .seen { font-size: 13px; color: #ffd9a3; overflow-wrap: anywhere; }
.empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 14px; padding: 28px; color: var(--muted); }
.empty b { color: var(--fg); display: block; margin-bottom: 6px; }

.viewer { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-width: 0; }
.eye { position: relative; aspect-ratio: 16 / 10; background: #000; border-radius: 12px; overflow: hidden; }
.eye video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.eye .hud { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; font: 500 14px/1.3 var(--mono); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); pointer-events: none; }
.eye .hud .row { display: flex; justify-content: space-between; gap: 8px; }
.eye .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; font-size: 14px; }
.caption { position: absolute; left: 8%; right: 8%; bottom: 22px; text-align: center; font-size: 16px; line-height: 1.35; color: #fff; background: rgba(0, 0, 0, 0.62); padding: 6px 10px; border-radius: 8px; pointer-events: none; overflow-wrap: anywhere; }
.timer { height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 2px; overflow: hidden; }
.timer i { display: block; height: 100%; width: 0; background: var(--accent); }
.vtitle { font: 600 16px/1.3 var(--display); overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ask { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 9px 12px; font-size: 15px; }
.log { font-size: 14px; color: var(--muted); min-height: 40px; }
.log b { color: var(--ok); font-weight: 600; }

/* «Глаза» */
.eyes { max-width: 560px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.eyes h1 { font: 800 28px/1.1 var(--display); margin: 0; letter-spacing: -0.01em; }
.preview { position: relative; aspect-ratio: 9 / 12; max-height: 45vh; background: #000; border-radius: 16px; overflow: hidden; }
.preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview .hud { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; font: 600 14px/1 var(--mono); color: #fff; }
.preview .hud span { background: rgba(0, 0, 0, 0.55); padding: 6px 8px; border-radius: 6px; }
.preview .hud .onair { background: var(--live); }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.field input[type="text"] { background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 11px 12px; font-size: 16px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.check select { margin-left: auto; background: var(--bg2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 14px; }
.blurstate { font-size: 13px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--line); }
.blurstate[data-state="ready"] { border-color: var(--ok); }
.blurstate[data-state="loading"] { border-color: var(--accent); }
.blurstate[data-state="failed"], .blurstate[data-state="off"] { border-color: var(--live); color: var(--fg); }
.seenbox { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; }
.seenbox b { color: var(--accent); font-weight: 600; }
.request { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--accent); color: var(--accent-ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); max-width: 560px; margin: 0 auto; }
.request .q { font: 700 20px/1.25 var(--display); overflow-wrap: anywhere; }
.request .btn { background: var(--accent-ink); color: var(--accent); }
.request .btn.ghost { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--ok); color: #04140c; font-weight: 600; padding: 10px 16px; border-radius: 999px; }
.alert { background: #3a1218; border: 1px solid var(--live); border-radius: 12px; padding: 12px; font-size: 14px; }

@media (max-width: 900px) {
  .guest { grid-template-columns: minmax(0, 1fr); }
  .viewer { position: static; order: -1; }
  .top .tag { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 14px; }
  .top { padding: 12px 14px; gap: 10px; }
  .logo { font-size: 15px; }
  .top .btn.small { padding: 6px 10px; font-size: 13px; }
  .search .btn { padding-inline: 14px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card .body { padding: 8px; }
  .card .seen { display: none; }
}

/* профиль «Глаз» */
.profile { max-width: 640px; margin: 0 auto; padding: 28px 20px; }
#card { display: flex; flex-direction: column; gap: 22px; }
.phead { display: flex; gap: 16px; align-items: center; }
.avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 30px/1 var(--display); background: var(--accent); color: var(--accent-ink); }
.pinfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pinfo h1 { font: 800 clamp(24px, 6vw, 34px)/1.1 var(--display); margin: 0; overflow-wrap: anywhere; }
.pinfo .onair { color: var(--live); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.stats div { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 600 18px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.profile h2 { font: 600 16px/1.2 var(--display); margin: 0 0 10px; }
.vauthor { color: var(--accent); text-decoration: none; font-size: 14px; }
.vauthor:hover { text-decoration: underline; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* чат под эфиром */
.chat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.chatlog { max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.msg { overflow-wrap: anywhere; line-height: 1.4; }
.msg b { color: var(--accent); font-weight: 600; }
.msg.byauthor b { color: var(--live); }
.msg time { color: var(--muted); font-size: 14px; font-family: var(--mono); }

/* моменты */
.ptitle { font: 800 clamp(24px, 5vw, 34px)/1.1 var(--display); margin: 8px 0 6px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.mcard { margin: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.mcard video { width: 100%; aspect-ratio: 16 / 10; background: #000; display: block; object-fit: contain; }
.mcard figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; min-width: 0; }
.mcard figcaption span, .mcard time { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

/* индикатор связи и карманный режим у «Глаз» */
.preview .hud .net { display: inline-flex; align-items: flex-end; gap: 2px; height: 24px; padding: 5px 7px; }
.net i { width: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 1px; }
.net i:nth-child(1) { height: 5px; } .net i:nth-child(2) { height: 9px; } .net i:nth-child(3) { height: 13px; }
.net[data-level="1"] i:nth-child(1) { background: var(--live); }
.net[data-level="2"] i:nth-child(-n+2) { background: var(--accent); }
.net[data-level="3"] i { background: var(--ok); }
.pocket { position: fixed; inset: 0; background: #000; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #555; font-size: 14px; text-align: center; padding: 24px; }
.pocket .onair { color: #7a1f28; font: 600 14px/1 var(--mono); }

/* статистика */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.kpi { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi b { font: 600 26px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.kpi small { font-size: 14px; color: var(--muted); }
.h2 { font: 600 17px/1.2 var(--display); margin: 26px 0 10px; }
.tablewrap { overflow-x: auto; }
.stable { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 14px; font-variant-numeric: tabular-nums; }
.stable th, .stable td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stable th { font: 500 14px/1.3 var(--mono); color: var(--muted); }
.errs { display: flex; flex-direction: column; gap: 6px; }
.errs code { font: 12px/1.45 var(--mono); color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }

.eye .relay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

.eye .hud .hudq { align-self: flex-end; margin-top: auto; margin-bottom: 6px; font-size: 14px; opacity: 0.85; }

.keepopen { margin: 0; font-size: 14px; background: var(--bg2); border: 1px solid var(--accent); border-radius: 12px; padding: 10px 12px; }

.btn.ghost.on { border-color: var(--accent); color: var(--accent); }

/* режим «Окно»: крупно и просто */
.tiles { display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.ttitle { font: 800 clamp(30px, 6vw, 48px)/1.1 var(--display); margin: 0; }
.tilegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; border: 2px solid var(--line); background: var(--bg3) center / cover no-repeat; overflow: hidden; padding: 0; color: #fff; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 60%); }
.tile span { position: absolute; left: 18px; bottom: 14px; z-index: 1; font: 800 clamp(24px, 4vw, 32px)/1.1 var(--display); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.tile.walk { background: var(--accent); color: var(--accent-ink); }
.tile.walk::after { display: none; }
.tile.walk span { color: var(--accent-ink); text-shadow: none; }
.tile:focus-visible, .tile:hover { border-color: var(--accent); }
.btn.big { font-size: 22px; padding: 18px 28px; }
body.simple { font-size: 20px; }
body.simple #sform, body.simple #chips, body.simple #phone, body.simple .listhead, body.simple #grid, body.simple #planet,
body.simple #mine, body.simple #chat, body.simple #askf, body.simple #mom, body.simple #tp, body.simple #thx, body.simple #fol,
body.simple #out, body.simple #vauthor, body.simple .top .right a { display: none !important; }
body.simple .guest { grid-template-columns: minmax(0, 1fr); }
body.simple .viewer { position: static; order: 1; }
body.simple .vtitle { font-size: 26px; }
body.simple .actions .btn { font-size: 20px; padding: 16px 24px; }
body.simple .caption { font-size: 22px; }
body.simple:not(.watching) .viewer { display: none; }
body.simple .eye { aspect-ratio: auto; height: min(60vh, 56vw); }

.famlink { display: flex; flex-direction: column; gap: 6px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.famlink code { font: 13px/1.4 var(--mono); color: var(--accent); overflow-wrap: anywhere; user-select: all; }
.famlink .btn { align-self: flex-start; }
.tile.fam { background-color: #1b2433; border-color: var(--accent); }
.tile.fam.live { border-color: var(--live); box-shadow: 0 0 0 3px rgba(255, 77, 94, 0.35); }
.tile span small { display: block; font: 600 15px/1.3 var(--body); margin-top: 4px; opacity: 0.9; }

.guestvoice { font-size: 14px; background: var(--bg2); border: 1px solid var(--ok); border-radius: 12px; padding: 10px 12px; }

/* миссии */
.mlayout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.mform textarea { background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; resize: vertical; }
.map { height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mlist { display: flex; flex-direction: column; gap: 10px; }
.mcard2 { background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--live); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mcard2.wish { border-left-color: var(--accent); }
.mcard2 h3 { font: 600 17px/1.3 var(--display); margin: 0; overflow-wrap: anywhere; }
.mcard2 p { margin: 0; overflow-wrap: anywhere; }
.mhead { display: flex; justify-content: space-between; gap: 8px; font: 500 14px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.mstatus.s-live { color: var(--live); } .mstatus.s-done { color: var(--ok); } .mstatus.s-open { color: var(--accent); }
.mcard2 details { font-size: 14px; } .mcard2 ol { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.mcard2 time { font-family: var(--mono); font-size: 14px; }
.near { display: flex; flex-direction: column; gap: 8px; }
.near .mcard2 .btn { align-self: flex-start; }
@media (max-width: 860px) { .mlayout { grid-template-columns: minmax(0, 1fr); } }
.tile.wish { background: #2a1f45; } .tile.wish::after { display: none; }

/* подарок */
.glayout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.periods { display: flex; gap: 8px; }
.periods button { flex: 1; border: 1px solid var(--line); background: var(--bg2); color: var(--fg); border-radius: 12px; padding: 12px 0; font: 600 18px/1 var(--display); }
.periods button.on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.demo-note { border-left: 3px solid var(--accent); padding-left: 10px; }
.giftcard { position: relative; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: #1a1206;
  background: radial-gradient(circle at 85% 15%, #ffe2b0 0, rgba(255, 226, 176, 0) 45%), linear-gradient(140deg, #ffb347 0%, #ff8a5c 55%, #e0607e 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); max-width: 560px; }
.giftcard.ghost { background: var(--bg2); color: var(--muted); box-shadow: none; border: 1px dashed var(--line); }
.giftcard h2 { font: 800 clamp(24px, 4vw, 32px)/1.15 var(--display); margin: 0; text-wrap: balance; }
.gc-brand { font: 600 14px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.gc-msg { font-size: 19px; font-style: italic; margin: 0; }
.gc-what { margin: 0; font-size: 16px; }
.gc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 6px; }
.gc-bottom > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.gc-bottom .note { color: rgba(26, 18, 6, 0.7); }
.gc-code { font: 700 22px/1.2 var(--mono); letter-spacing: 0.08em; }
.gc-qr { background: #fff; padding: 6px; border-radius: 10px; line-height: 0; }
.glink { font: 13px/1.4 var(--mono); color: var(--accent); overflow-wrap: anywhere; user-select: all; }
#preview { display: flex; flex-direction: column; gap: 12px; }
#open { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; margin-top: 24px; }
@media (max-width: 860px) { .glayout { grid-template-columns: minmax(0, 1fr); } }

/* «Веди меня» стрелками */
.arrows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.arrows button { border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 10px; padding: 10px 0; font: 600 20px/1 var(--body); }
.arrows button.w { font-size: 14px; }
.arrows button:nth-child(5) { grid-column: 1; }
.arrows button:hover, .arrows button:active { border-color: var(--accent); color: var(--accent); }
.bigarrow { position: fixed; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 60; background: rgba(13, 17, 23, 0.88); color: var(--accent); border: 2px solid var(--accent); border-radius: 24px; padding: 18px 28px; font: 800 clamp(28px, 9vw, 48px)/1.1 var(--display); text-align: center; pointer-events: none; }
body.simple .arrows button { font-size: 26px; padding: 16px 0; }

/* «Что на нём» */
.shop { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.shop b { font-family: var(--display); font-weight: 600; }
.adlabel { align-self: flex-start; font: 600 14px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; }
.shoplist { display: flex; flex-wrap: wrap; gap: 6px; }
.shopitem { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--fg); text-decoration: none; background: var(--bg); }
.shopitem:hover { border-color: var(--accent); color: var(--accent); }
.shopitem.ai { color: #ffd9a3; border-style: dashed; }
#gear { background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; resize: vertical; }
body.simple .shop { display: none !important; }

/* экран гонки */
.qlayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 18px; align-items: start; }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.qtile { position: relative; aspect-ratio: 3 / 4; background: #000; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); }
.qtile.lead { border-color: var(--accent); }
.qtile img, .qtile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qcap { position: absolute; left: 8px; right: 8px; bottom: 8px; font: 600 13px/1.3 var(--mono); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.qside { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.qmap { height: 300px; }
.board { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.board li { display: flex; justify-content: space-between; gap: 10px; }
.board li span { color: var(--muted); font-variant-numeric: tabular-nums; }
.winbanner { margin-top: 10px; padding: 14px 18px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font: 600 18px/1.3 var(--display); }
.win { color: var(--ok); font-weight: 600; }
@media (max-width: 860px) { .qlayout { grid-template-columns: minmax(0, 1fr); } .qside { position: static; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- первые 10 секунд: видео сверху во всю ширину, меню, вкладки, знакомство ---------- */
.guest { grid-template-columns: minmax(0, 1fr); }
.viewer { position: static; order: -1; max-width: 980px; width: 100%; margin: 0 auto; }
.viewer .eye { aspect-ratio: auto; height: min(58vh, 56vw); min-height: 240px; }
.herocap { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; text-align: center; padding: 0 16px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75); }
.herocap b { font: 800 clamp(26px, 5vw, 44px)/1.05 var(--display); text-wrap: balance; }
.herocap span { font-size: 15px; opacity: 0.9; }
/* Меню: у каждого раздела своё настроение — цвет, значок и узор (рассвет, карта, окно, открытка, плёнка, штамп).
   Фоны плиток — точные цвета, а не смеси: контраст текста измерен (заголовок ≥ 10:1, подпись ≥ 7,9:1). Служебное свёрнуто. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mi { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu { position: fixed; top: 62px; right: 16px; z-index: 40; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6); }
.menu a, .menu button { color: var(--fg); text-decoration: none; background: none; border: 0; font: inherit; text-align: left; }
.menu b { font-weight: 600; }
.menu > * { flex-shrink: 0; }
.m-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.m-tx > span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.m-acct { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 8px 12px; border-radius: 14px; background: var(--bg3) !important; }
.m-acct > .mi:first-child { color: #c9ccd3; }
.m-acct:hover { box-shadow: inset 0 0 0 1px #3a404c; }
.m-chev { color: var(--muted); width: 16px; height: 16px; transition: transform .2s ease; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tile { --c: var(--accent); --c2: var(--accent); --t1: #1e222b; --t2: #1e222b;
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 3px; min-height: 124px; padding: 12px 14px 14px; border-radius: 16px;
  background: linear-gradient(150deg, var(--t1), var(--t2)) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent); transition: transform .18s ease, box-shadow .18s ease; }
.m-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--c), 0 10px 24px rgba(0, 0, 0, .35); }
.m-tile.wide { grid-column: 1 / -1; min-height: 0; }
.m-tile .m-motif { position: absolute; top: 0; right: 0; width: 150px; height: 64px; color: var(--c2); z-index: -1; pointer-events: none; }
.m-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: rgba(13, 15, 19, .55); margin-bottom: 14px; }
.m-tile > b { font-size: 17px; font-weight: 700; line-height: 1.2; }
.m-tile > span:last-child { font-size: 13px; line-height: 1.35; color: #d4d6dc; }
.t-missions { --c: #ffa36b; --c2: #ffd36b; --t1: #1a1513; --t2: #4a3519; background: linear-gradient(100deg, #1a1513 0%, #3a2418 65%, #4a3519 100%) !important; }
.t-guess { --c: #46d3c1; --c2: #9be8b0; --t1: #123430; --t2: #15201f; }
.t-window { --c: #a9c8ff; --c2: #d8e6ff; --t1: #1f2a3d; --t2: #151820; }
.t-window > b { font-size: 20px; }
.t-gift { --c: #ff7b98; --c2: #ffc56b; --t1: #3a1a24; --t2: #2a2016; }
.t-gift::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; padding: 4px; opacity: .6; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #ff7b98 0 10px, transparent 10px 16px, #a9c8ff 16px 26px, transparent 26px 32px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.t-moments { --c: #c9b0ff; --c2: #f0c9a0; --t1: #2a2340; --t2: #2a2119; }
.t-passport { --c: #c3d96a; --c2: #e9e08a; --t1: #262a16; --t2: #1f2214; }
.t-memory { --c: #f0b07e; --c2: #f7d8b4; --t1: #3b261b; --t2: #1f1a16; }
.t-plus { --c: #ffd45e; --c2: #fff0a8; --t1: #362d12; --t2: #1d1b14; }
.t-install { --c: #c9ccd3; --c2: #c9ccd3; }
.m-svc { border-top: 1px solid var(--line); padding-top: 6px; }
.m-more { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 0 10px; border-radius: 10px; color: #c9ccd3 !important; font-size: 14px !important; }
.m-more:hover, .m-morelist > :hover { background: var(--bg3) !important; }
.m-more[aria-expanded="true"] .m-chev { transform: rotate(90deg); }
.m-morelist { display: flex; flex-direction: column; padding: 2px 0 2px 10px; }
.m-morelist > a, .m-morelist > button { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 6px 10px; border-radius: 10px; }
.m-morelist .mi { width: 18px; height: 18px; color: var(--muted); }
.m-morelist b { font-size: 15px; }
.menu #lang { align-self: flex-start; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0 2px 2px; min-height: 44px; }
.menu :focus-visible { outline: 2px solid var(--c, var(--accent)); outline-offset: 2px; }
@media (max-width: 900px) {
  .menu { left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 62px - 72px - env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 420px) {
  .m-tile { padding: 12px 12px 14px; }
  .m-tile:not(.wide) { min-height: 140px; }
  .m-tile .m-motif { width: 116px; height: 50px; }
  .m-ic { margin-bottom: 10px; }
  .m-tile > b { font-size: 16px; }
  .t-window > b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .m-tile, .m-chev { transition: none; } .m-tile:hover { transform: none; } }
.tabs { display: none; }
.intro { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)); }
.introcard { width: min(440px, 100%); background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.introcard h2 { margin: 0; font: 800 24px/1.15 var(--display); text-wrap: balance; }
.introcard p { margin: 0; color: var(--muted); font-size: 17px; }
.introsteps { display: flex; gap: 6px; }
.introsteps i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.introsteps i.on { background: var(--accent); }
@media (max-width: 900px) {
  .top .right .btn.small:not(#menubtn):not(#lang):not(#signinbtn) { display: none; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg2); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .tabs a, .tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; color: var(--muted); text-decoration: none; background: none; border: 0; font: 500 14px/1.2 var(--body); }
  .tabs i { font-style: normal; font-size: 20px; line-height: 1; }
  .tabs .mi { width: 22px; height: 22px; }
  .tabs .on { color: var(--accent); }
  .guest { padding-bottom: 80px; }
  .intro { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
body.simple .tabs, body.simple #menubtn { display: none !important; }

/* мастер «Стать «Глазами»» */
.step { display: flex; align-items: center; gap: 10px; font: 600 18px/1.2 var(--display); margin: 10px 0 0; }
.step i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 14px; flex: none; }
.preflight { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.preflight li { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.preflight li::before { content: "…"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg3); color: var(--muted); font-size: 13px; flex: none; }
.preflight li[data-ok="1"]::before { content: "✓"; background: var(--ok); color: #04140c; }
.preflight li[data-ok="0"]::before { content: "!"; background: var(--live); color: #fff; }
.preflight b { font-weight: 600; min-width: 64px; }
.preflight .val { color: var(--muted); }
.level { width: 70px; height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; display: inline-block; flex: none; }
.level i { display: block; height: 100%; width: 0; background: var(--ok); transition: width 0.08s linear; }
.more { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg2); }
.more summary { cursor: pointer; font-size: 15px; color: var(--muted); }
.more[open] summary { margin-bottom: 10px; color: var(--fg); }
.near summary { color: var(--fg); font-weight: 600; }
.btn.live.big { font-size: 20px; padding: 18px; }

/* реакции */
.reacts { display: flex; gap: 6px; }
.reacts button { flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 8px 0; font-size: 22px; line-height: 1; }
.reacts button:active { transform: scale(0.92); }
.floats { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.float { position: absolute; bottom: 10px; font-size: 30px; animation: floatup 2.6s ease-out forwards; }
@keyframes floatup { 0% { transform: translateY(0) scale(0.8); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px) scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .float { animation-duration: 1.2s; } }
body.simple .reacts { display: none !important; }

.funnel { display: flex; flex-direction: column; gap: 8px; }
.frow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 54px 48px; gap: 12px; align-items: center; font-size: 14px; }
.fbar { height: 10px; background: var(--bg3); border-radius: 5px; overflow: hidden; }
.fbar i { display: block; height: 100%; background: var(--accent); }
.frow b { font-variant-numeric: tabular-nums; text-align: right; }
.fpct { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 560px) { .frow { grid-template-columns: minmax(0, 1fr) 44px 40px; } .fbar { display: none; } }

/* лента «Сейчас в мире» */
.feed { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 14px; margin-bottom: 12px; color: var(--muted); }
.feed b { color: var(--fg); font-weight: 600; }
.feed time { font-size: 14px; }
/* паспорт */
.passcard { max-height: calc(100vh - 120px); overflow-y: auto; }
.stamps { display: flex; flex-wrap: wrap; gap: 8px; }
.stamp { border: 2px dashed var(--accent); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; transform: rotate(-2deg); }
.stamp:nth-child(2n) { transform: rotate(2deg); }
.stamp.demo { border-color: var(--line); }
.stamp b { font-size: 14px; } .stamp small { color: var(--muted); font-size: 14px; }
/* «Угадай, где я» */
.guessbox { display: flex; flex-direction: column; gap: 10px; }
.ghead { display: flex; justify-content: space-between; font: 600 18px/1.2 var(--display); }
.gmap { height: 320px; }
.gresult { margin: 0; font-size: 16px; }
body.guess #vtitle, body.guess #vseen, body.guess #herocap, body.guess #shop, body.guess #chat, body.guess #vauthor, body.guess #cap,
body.guess #tp, body.guess #stay, body.guess #thx, body.guess #out, body.guess #narr, body.guess #arrows, body.guess #reacts, body.guess #askf,
body.guess #mom, body.guess #fol, body.guess #invite, body.guess #talk, body.guess .guest > .glist, body.guess #log { display: none !important; }

.guidebox[open] { display: flex; flex-direction: column; gap: 8px; }
.guidebox summary { color: var(--fg); font-weight: 600; }
body.simple .guidebox { display: none !important; }
body.simple #arrows { display: grid !important; }

/* жалобы */
.minor { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--fg); }
.reasons { display: flex; flex-direction: column; gap: 6px; }
.reasons .check { font-size: 15px; }
.msgtools { margin-left: 6px; opacity: 0; transition: opacity 0.15s; }
.msg:hover .msgtools, .msg:focus-within .msgtools { opacity: 1; }
.msgtools button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 3px; }
@media (hover: none) { .msgtools { opacity: 0.7; } }
body.simple .minor { display: none !important; }

/* модерация */
.admin .adhead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.adlist { display: flex; flex-direction: column; gap: 10px; }
.adcard { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.adcard.row { flex-direction: row; gap: 12px; align-items: flex-start; }
.adcard.row img, .adcard.row video { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #000; flex: none; }
.adcard p { margin: 0; overflow-wrap: anywhere; }
.adtop { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; } .adtop b { color: var(--fg); }
.warn { color: var(--live); }
.adlog { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.adlog time { font-family: var(--mono); font-size: 14px; margin-right: 6px; }
.adminkey { max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 560px) { .adcard.row { flex-direction: column; } .adcard.row img, .adcard.row video { width: 100%; } }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diag { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.4 var(--mono); color: var(--muted); margin: 6px 0 0; }
.helppage .faq { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 16px 0 20px; }
.helppage .faq p { margin: 8px 0 0; color: var(--fg); line-height: 1.6; }
.helppage .faq summary { color: var(--fg); font-weight: 600; font-size: 16px; }
.legalpage { max-width: 780px; }
.legalpage p { line-height: 1.65; }
.draft { background: #3a2a10; border: 1px solid var(--accent); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.legalnav { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0; }
.legalnav a { color: var(--muted); } .legalnav a.on { color: var(--accent); font-weight: 600; }

.langlist { position: fixed; z-index: 80; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.langlist button { background: none; border: 0; color: var(--fg); text-align: left; padding: 8px 14px; border-radius: 8px; font: inherit; }
.langlist button:hover, .langlist button[aria-selected="true"] { background: var(--bg3); color: var(--accent); }

/* «Скоро в эфире» */
.soon { margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.soon h2 { font: 600 16px/1.2 var(--display); margin: 0; }
.soonlist { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.sooncard { flex: none; width: 210px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sooncard time { color: var(--accent); font-weight: 600; font-size: 14px; }
.sooncard span { color: var(--muted); font-size: 13px; }
.sooncard .btn { align-self: flex-start; margin-top: 6px; }

/* посадочная /about */
.abhero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; }
.abhero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 20, 0.92) 8%, rgba(8, 12, 20, 0.2) 65%); }
.abhero-in { position: relative; z-index: 1; padding-block: 40px 56px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.abhero h1 { font: 800 clamp(34px, 6.5vw, 72px)/1.02 var(--display); margin: 0; max-width: 14ch; text-wrap: balance; letter-spacing: -0.02em; }
.abhero p { font-size: clamp(17px, 2vw, 21px); max-width: 560px; margin: 0; color: #e6ebf2; }
.btn.ghost.light { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.absec { padding-block: 56px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); }
.absec h2 { font: 700 clamp(24px, 3.4vw, 36px)/1.1 var(--display); margin: 0; }
.absteps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.absteps li { display: flex; flex-direction: column; gap: 6px; counter-increment: s; }
.absteps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 16px var(--display); }
.absteps b { font: 600 19px/1.2 var(--display); } .absteps span { color: var(--muted); }
.abcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.abcols h3 { margin: 0 0 6px; font: 600 19px/1.2 var(--display); } .abcols p { margin: 0 0 8px; color: var(--muted); } .abcols a { color: var(--accent); }
.absafe p { max-width: 760px; color: var(--muted); font-size: 17px; margin: 0; }
.abwait { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.abwait p { margin: 0; color: var(--muted); }
.abwait-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.abwait input[type="email"] { background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 11px 12px; font: inherit; }
.abfoot { display: flex; gap: 18px; flex-wrap: wrap; padding-block: 28px 48px; border-top: 1px solid var(--line); }
.abfoot a { color: var(--muted); }
@media (max-width: 760px) { .absteps, .abcols, .abwait-row { grid-template-columns: 1fr; } }
.abwait .btn { align-self: flex-start; }

/* блог: статьи о лучших моментах недели (страницы собирает сервер) */
.blogwrap { max-width: 760px; padding-top: 24px; padding-bottom: 40px; }
.blogwrap h1 { font: 800 clamp(26px, 5vw, 40px)/1.1 var(--display); margin: 8px 0 10px; }
.blogwrap time { color: var(--muted); font-size: 14px; }
.blogwrap article p { font-size: 18px; line-height: 1.65; margin: 16px 0; }
.bloggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.blogcard { display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--fg); text-decoration: none; padding-bottom: 12px; }
.blogcard:hover { border-color: var(--accent); }
.blogcard img { width: 100%; aspect-ratio: 9 / 12; object-fit: cover; display: block; }
.blogcard h2 { font: 600 18px/1.25 var(--body); margin: 10px 12px 4px; }
.blogcard p { margin: 0 12px 6px; color: var(--muted); font-size: 14px; }
.blogcard time { margin: 0 12px; display: block; }
.blogclip { margin: 20px auto; max-width: 340px; }
.blogclip video { width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; display: block; }
.blogclip figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; text-align: center; }
.blogcta { text-align: center; margin-top: 28px; }
.blogfoot { color: var(--muted); padding-bottom: 32px; font-size: 14px; }
.blogfoot a { color: var(--muted); }

/* панель «Промо» */
.promo { margin-bottom: 8px; }
.h3 { font: 600 17px/1.3 var(--body); margin: 18px 0 8px; }
.promocard { flex-direction: row; gap: 14px; align-items: flex-start; }
.promomedia { display: flex; gap: 8px; flex: none; }
.promomedia video, .promomedia img { width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #000; }
.promobody { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.promobody textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 10px; font: 15px/1.45 var(--body); resize: vertical; }
.promohooks { display: flex; flex-direction: column; gap: 4px; }
.promoacc, .promodone { margin: 4px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.promoauto { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.field.small input { width: 80px; }
@media (max-width: 720px) { .promocard { flex-direction: column; } .promomedia video, .promomedia img { width: calc(50% - 4px); } }

/* Ролики автора («Мои ролики» в «Глазах», раздел «Ролики» на /a/…) и страница ролика /m/<id> */
.clipcard { flex-direction: row; align-items: flex-start; gap: 12px; border-left-color: var(--accent); }
.clipcard video { width: 96px; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; flex: none; object-fit: cover; }
.clipcard .clipinfo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.clipcard b { overflow-wrap: anywhere; }
@media (max-width: 380px) { .clipcard { flex-direction: column; } .clipcard video { width: 100%; max-width: 220px; } }
.clippage h1 { text-align: center; }
.clipwho { text-align: center; color: var(--muted); margin: 0 0 8px; }
.clippage > p:not(.blogcta):not(.clipwho) { text-align: center; }
.clipcard .clipthumb { flex: none; display: block; }
.clipcard .clipthumb img { width: 96px; aspect-ratio: 9 / 16; border-radius: 10px; object-fit: cover; display: block; background: #000; }
@media (max-width: 380px) { .clipcard .clipthumb img { width: 100%; max-width: 220px; } }

/* ---------- главная: «Первое лицо + стена окон» (body.v3; в «Окне» и «Угадай» не действует) ---------- */
.v3 .top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; border: 0; background: linear-gradient(to bottom, rgba(13, 15, 19, .75), rgba(13, 15, 19, 0)); }
.v3 .top .tag { color: #d9d5ce; }
.v3 .top .btn.ghost { background: rgba(255, 255, 255, .12); border-color: transparent; backdrop-filter: blur(8px); }
.stage { position: relative; height: min(84vh, 860px); min-height: 560px; overflow: hidden; background: #000; }
.stage .eye { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.stage .eye video, .stage .eye .relay { object-fit: cover; width: 100%; height: 100%; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, var(--bg) 0%, rgba(13, 15, 19, .55) 30%, rgba(13, 15, 19, 0) 58%), linear-gradient(to bottom, rgba(13, 15, 19, .55), rgba(13, 15, 19, 0) 28%); }
.stage .eye .hud { inset: auto 24px auto auto; top: 150px; width: min(260px, 40%); justify-content: flex-start; gap: 6px; z-index: 2; }
.stage .eye .caption { bottom: auto; top: 54%; z-index: 3; font-size: 18px; }
.stage .eye .floats { z-index: 3; }
.stagefind { position: absolute; z-index: 4; top: 76px; left: 0; right: 0; padding: 0 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.v3 .stagefind .search { width: min(720px, 100%); background: rgba(250, 248, 244, .96); border-radius: 999px; padding: 6px 6px 6px 48px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); position: relative; }
.v3 .stagefind .search::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171c' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.v3 .stagefind .search input { background: transparent; border: 0; color: #15171c; font-size: 18px; padding: 10px 4px; }
.v3 .stagefind .search input::placeholder { color: #626776; }
.v3 .stagefind .search input:focus-visible { outline: none; }
.v3 .stagefind .search:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 18px 50px rgba(0, 0, 0, .35); }
.v3 .stagefind .search .btn { background: #15171c; color: var(--fg); }
.v3 .stagefind .chips { justify-content: center; margin: 0; max-width: 760px; }
.v3 .stagefind .chip { border: 0; background: rgba(13, 15, 19, .6); color: var(--fg); backdrop-filter: blur(8px); font-weight: 500; padding: 7px 14px; }
.v3 .stagefind .chip:hover, .v3 .stagefind .chip.on { background: var(--accent); color: var(--accent-ink); }
.voice { position: absolute; z-index: 4; left: 0; bottom: clamp(24px, 6vh, 60px); padding: 0 clamp(16px, 4vw, 40px); max-width: 900px; }
.voice .who { margin: 0 0 10px; font-size: 15px; color: #e7e3dc; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.voice .who .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: livepulse 1.6s ease-in-out infinite; }
.voice blockquote { margin: 0; font: italic 600 clamp(30px, 4.4vw, 62px)/1.06 var(--voice); text-wrap: balance; max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.vacts { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.vacts .btn { padding: 13px 24px; font-size: 16px; }
.vacts .btn.ghost { background: rgba(255, 255, 255, .14); border-color: transparent; color: #fff; backdrop-filter: blur(8px); }
.ltime { display: inline-block; font: 600 13px/1 var(--body); font-variant-numeric: tabular-nums; color: #fff; padding: 5px 8px; border-radius: 7px; }
@keyframes livepulse { 50% { opacity: .35; } }

/* панель под первым экраном: список слева, управление эфиром справа */
.v3 .guest { margin-top: -8px; position: relative; z-index: 2; }
.v3 .viewer .vtitle { display: none; }
.v3 .guest { grid-template-columns: minmax(0, 1fr) 380px; }
.v3 .viewer { order: 1; position: sticky; top: 16px; max-width: none; margin: 0; }
.v3 .card .count { display: none; }
.v3 .listhead h2 { font: 800 clamp(24px, 3vw, 38px)/1.08 var(--display); letter-spacing: -.03em; }

/* стена живых окон */
.v3 .grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.v3 .card { aspect-ratio: 9 / 13; border: 0; background: var(--bg2); }
.v3 .card.on { box-shadow: 0 0 0 3px var(--accent); }
.v3 .card .img { position: absolute; inset: 0; aspect-ratio: auto; }
.v3 .card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3 .card .img .ltime { position: absolute; right: 8px; top: 8px; }
.v3 .card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 11px 11px; background: linear-gradient(to top, rgba(8, 9, 12, .94) 0%, rgba(8, 9, 12, .8) 55%, rgba(8, 9, 12, 0)); }
.v3 .card .t { font-size: 15px; line-height: 1.25; }
.v3 .card .p { color: #cfcac2; }
.v3 .card .seen { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v3 .card:hover .t { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .v3 .guest { grid-template-columns: minmax(0, 1fr); }
  .v3 .viewer { order: -1; position: static; }
  .stage { height: 74svh; min-height: 540px; }
  .stage .eye .hud { top: 140px; bottom: auto; left: 14px; right: 14px; width: auto; }
}
@media (max-width: 600px) {
  .stagefind { top: 64px; padding: 0 14px; }
  .v3 .stagefind .search { padding-left: 40px; }
  .v3 .stagefind .search::before { left: 15px; }
  .v3 .stagefind .search input { font-size: 16px; }
  .v3 .stagefind .search .btn { display: none; }
  .v3 .stagefind .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; padding-bottom: 2px; }
  .v3 .stagefind .chip { flex: none; }
  .voice blockquote { font-size: 32px; }
  .vacts .btn { padding: 12px 18px; }
  .v3 .grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .voice .who .dot { animation: none; } }

/* «Сообщить, когда появится» и список ожидаемых тем */
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }

/* «О нас» — витрина для пришедших из соцсетей: живой эфир, поиск, стена окон, разные раскладки секций */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.abhero { min-height: min(86vh, 820px); }
.abhero::after { background: linear-gradient(to top, var(--bg) 4%, rgba(13, 15, 19, .5) 40%, rgba(13, 15, 19, 0) 70%), linear-gradient(to bottom, rgba(13, 15, 19, .55), rgba(13, 15, 19, 0) 25%); }
.abhero h1 { font: italic 600 clamp(40px, 6.4vw, 84px)/1.02 var(--voice); letter-spacing: 0; max-width: 13ch; }
.abfind { position: absolute; z-index: 2; top: 28px; left: 50%; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); background: rgba(250, 248, 244, .96); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.abfind input { background: transparent; border: 0; color: #15171c; font-size: 17px; padding: 10px 4px; }
.abfind input::placeholder { color: #626776; }
.abfind input:focus-visible { outline: none; }
.abfind:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 18px 50px rgba(0, 0, 0, .35); }
.abfind .btn { background: #15171c; color: var(--fg); }
.abwho-live { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 15px; color: #e7e3dc; }
.abwho-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: livepulse 1.6s ease-in-out infinite; }
.abnow { border-top: 0; padding-top: 8px; }
.abnow-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.abwall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.abwin { position: relative; aspect-ratio: 9 / 13; border-radius: 14px; overflow: hidden; background: var(--bg2); color: #fff; text-decoration: none; }
.abwin img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.abwin:hover img { transform: scale(1.04); }
.abwin .ltime { position: absolute; top: 8px; right: 8px; }
.abwin .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 10px 10px; background: linear-gradient(to top, rgba(8, 9, 12, .92), rgba(8, 9, 12, 0)); font-size: 13px; color: #d6d1c9; }
.abwin .meta b { display: block; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; }
/* как это работает: крупные номера слева, строками — не три одинаковые колонки */
.absteps { grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.absteps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.absteps li:first-child { border-top: 0; }
.absteps li::before { grid-row: span 2; width: auto; height: auto; background: none; color: var(--accent); font: italic 600 56px/1 var(--voice); place-items: start; }
/* для кого: одна большая карточка (семьи) и две поменьше рядом */
.abcols { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.abcols > div { background: var(--bg2); border-radius: 18px; padding: 22px; }
.abcols > div:nth-child(2) { grid-column: 1; grid-row: 1 / span 2; order: -1; background: linear-gradient(160deg, #2a1d0c, var(--bg2) 70%); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.abcols > div:nth-child(2) h3 { font: italic 600 clamp(28px, 3vw, 40px)/1.08 var(--voice); }
.absafe { border-top: 0; background: var(--bg2); border-radius: 18px; padding: 28px; margin-block: 24px; }
@media (max-width: 900px) { .abwall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .abcols { grid-template-columns: 1fr; }
  .abcols > div:nth-child(2) { grid-row: auto; min-height: 220px; }
  .abwall { grid-template-columns: repeat(2, 1fr); }
  .abfind .btn { display: none; }
  .abfind { top: 16px; }
  .absteps li { grid-template-columns: 52px 1fr; }
  .absteps li::before { font-size: 44px; }
}
.abhero-in { width: 100%; }
.abwait a, .check a { color: var(--accent); }

/* запущено как приложение с экрана телефона: шапку опускаем под вырез и часы */
@media (display-mode: standalone) { .top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); } .stagefind { top: calc(76px + env(safe-area-inset-top, 0px)); } }

/* заголовки страниц — тем же «голосом», что фраза человека на главной (курсив Cormorant) */
.ptitle, .eyes h1 { font: italic 600 clamp(34px, 5.6vw, 52px)/1.05 var(--voice); letter-spacing: 0; }
.admin .ptitle, body.stats .ptitle { font: 800 clamp(24px, 4vw, 32px)/1.1 var(--display); letter-spacing: -0.02em; }
.giftcard h2 { font: italic 600 clamp(30px, 4.4vw, 40px)/1.08 var(--voice); }
.field textarea, .field input[type="email"], .field input[type="number"], .field select { background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; resize: vertical; }

/* ---------- «Покажи свой мир»: телефон «так вас увидят» + одно главное действие ---------- */
.eyes2 { max-width: 1180px; }
.ehero { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 48px; align-items: start; padding-top: 8px; }
.ephone { position: sticky; top: 16px; }
.eyes2 .preview { aspect-ratio: 9 / 17.5; max-height: none; border-radius: 36px; box-shadow: 0 0 0 10px #1c1f26, 0 0 0 11px #343a46, 0 30px 80px rgba(0, 0, 0, .55); }
.eyes2 .preview .hud { top: auto; bottom: 12px; }
.sample.ph-top { position: absolute; top: 14px; left: 12px; right: 12px; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(13, 15, 19, .65); color: #fff; }
.pill.live { background: var(--live); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livepulse 1.6s ease-in-out infinite; }
.sample.ph-chat { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.msg { align-self: flex-start; max-width: 92%; background: rgba(13, 15, 19, .72); backdrop-filter: blur(6px); border-radius: 14px; padding: 7px 11px; font-size: 13px; line-height: 1.3; animation: msgrise .5s ease both; }
.msg b { color: var(--accent); font-weight: 600; }
@keyframes msgrise { from { opacity: 0; transform: translateY(10px); } }
.sample.ph-hearts { position: absolute; right: 10px; bottom: 120px; width: 56px; height: 280px; pointer-events: none; z-index: 2; }
.sample .heart { position: absolute; bottom: 0; font-size: 24px; animation: heartup 3s ease-out forwards; }
@keyframes heartup { to { transform: translate(var(--dx), -260px) scale(1.3); opacity: 0; } }
body.islive .sample { display: none; }
.ecopy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.eyes2 h1 { font: italic 600 clamp(38px, 4.6vw, 60px)/1.04 var(--voice); text-wrap: balance; }
.eyes2 .lead { font-size: 18px; color: #d9d5ce; margin: 0; max-width: 46ch; }
.wanted { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wanted .chip { border: 0; background: var(--bg3); color: var(--fg); padding: 7px 14px; font-weight: 500; }
.wanted .chip:hover { background: var(--accent); color: var(--accent-ink); }
.eyes2 .step { font-size: 15px; margin: 10px 0 0; }
.eacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.eacts .btn.big { padding: 15px 26px; font-size: 17px; }
.eacts .btn.ghost { color: var(--fg); }
.gets { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; }
.trialbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: #1e2a1f; border: 1px solid var(--ok); border-radius: 14px; padding: 12px 14px; }
.trialbar .btn { margin-left: auto; }
.eyes2 > *:not(.ehero) { max-width: 760px; margin-inline: auto; width: 100%; }
@media (max-width: 860px) {
  .ehero { grid-template-columns: 1fr; gap: 22px; }
  .ephone { position: static; width: 100%; max-width: 300px; margin: 0 auto; }
  .eacts .btn.big { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pill .dot, .msg, .sample .heart { animation: none; } }

/* ---------- «Подарить мир»: открытка растёт на глазах ---------- */
.gift2 { max-width: 1180px; }
.glayout2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); gap: 48px; align-items: start; padding-top: 12px; }
.gift2 h1 { font: italic 600 clamp(38px, 4.6vw, 60px)/1.04 var(--voice); margin: 0; text-wrap: balance; }
.gift2 .lead { font-size: 18px; color: #d9d5ce; margin: 0; max-width: 48ch; }
.gsteps { gap: 12px; }
.gstep { display: flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--body); margin: 10px 0 0; }
.gstep i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 14px; }
.gwho { display: flex; flex-wrap: wrap; gap: 8px; }
.gwho .chip { border: 0; background: var(--bg3); color: var(--fg); padding: 8px 16px; font-weight: 500; font-size: 15px; }
.gwho .chip.on { background: var(--accent); color: var(--accent-ink); }
.gloves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 540px; }
.glove { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--bg2); color: #fff; }
.glove img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .7; transition: opacity .2s; }
.glove span { position: absolute; left: 8px; bottom: 6px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .85); }
.glove.on { box-shadow: 0 0 0 3px var(--accent); } .glove.on img { opacity: 1; }
.gsteps .btn.big { align-self: flex-start; padding: 15px 28px; font-size: 17px; }
.gside { position: sticky; top: 16px; }
.postcard { background: #f6f1e7; color: #2b2116; border-radius: 10px; overflow: hidden; transform: rotate(2deg); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); transition: transform .4s ease; }
.postcard:hover { transform: rotate(0deg) translateY(-4px); }
.pc-photo { position: relative; aspect-ratio: 16 / 10; background: #ddd; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stamp { position: absolute; right: 14px; top: 14px; background: #f6f1e7; color: #a33e24; border: 2px dashed #a33e24; padding: 6px 9px; font: 700 14px/1.15 var(--body); text-transform: uppercase; letter-spacing: .06em; transform: rotate(6deg); text-align: center; }
.pc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.pc-body p { margin: 0; }
.pc-to { font: 600 13px var(--body); text-transform: uppercase; letter-spacing: .08em; color: #7a5c38; }
.pc-msg { font: italic 600 28px/1.15 var(--voice); color: #2b2116; overflow-wrap: anywhere; }
.postcard.draft .pc-msg:empty::before { content: "…"; }
.pc-from { font: italic 600 22px/1 var(--voice); color: #5a4630; text-align: right; }
.pc-how { font-size: 14px; color: #5f4e3a; border-top: 1px dashed #d8ccb6; padding-top: 10px; }
.postcard .gc-bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-top: 1px dashed #d8ccb6; padding-top: 10px; }
.postcard .gc-bottom .note { color: #6b5a45; display: block; }
.postcard .gc-code { font: 700 20px/1.2 var(--mono); color: #2b2116; letter-spacing: .04em; }
.gside .actions, .gside .note, .gside .glink { margin-top: 14px; }
.gtv { display: grid; grid-template-columns: minmax(300px, 560px) 1fr; gap: 36px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.gtvh { font: italic 600 clamp(28px, 3vw, 38px)/1.08 var(--voice); margin: 0 0 8px; }
.tv { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 12px #15171c, 0 0 0 13px #2c3038; }
.tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-say { position: absolute; left: 16px; right: 16px; top: 16px; background: rgba(0, 0, 0, .62); border-radius: 12px; padding: 10px 14px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; color: #fff; }
.tv-btns { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv-btns span { background: rgba(255, 181, 74, .95); color: var(--accent-ink); border-radius: 12px; padding: 12px 6px; text-align: center; font-weight: 800; font-size: clamp(14px, 1.5vw, 19px); }
.tv-btns span:last-child { background: rgba(244, 242, 238, .92); }
#open { max-width: 520px; margin: 24px auto; display: flex; flex-direction: column; gap: 18px; }
#open .btn.big { align-self: stretch; justify-content: center; padding: 18px; font-size: 20px; }
@media (max-width: 860px) {
  .glayout2, .gtv { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gside { position: static; order: 2; }
  .gloves { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- «Миссии и мечты»: загадать место и доска сбывающихся мечт ---------- */
.missions2 { max-width: 1180px; }
.whero { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 36px 0 26px; background: radial-gradient(ellipse at 50% 0%, rgba(40, 52, 110, .55) 0%, rgba(13, 15, 19, 0) 65%); border-radius: 24px; }
.whero h1 { font: italic 600 clamp(36px, 4.8vw, 60px)/1.04 var(--voice); margin: 0; max-width: 20ch; text-wrap: balance; }
.wishbox { width: min(760px, 100%); display: flex; align-items: center; gap: 8px; background: rgba(250, 248, 244, .97); color: #15171c; border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .4); }
.wishbox:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 18px 50px rgba(0, 0, 0, .4); }
.wb-pre { font: italic 600 22px/1 var(--voice); white-space: nowrap; color: #3a3f4a; }
.wishbox input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; padding: 10px 2px; outline: none; color: #15171c; }
.wishbox input::placeholder { color: #6b7080; }
.wchips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 820px; }
.wchips .chip { border: 0; background: var(--bg3); color: var(--fg); padding: 7px 14px; font-weight: 500; }
.wchips .chip:hover { background: var(--accent); color: var(--accent-ink); }
.wboard-sec { margin-top: 28px; }
.wboard { columns: 3 300px; column-gap: 14px; }
.wcard { break-inside: avoid; margin-bottom: 14px; background: var(--bg2); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.wcard.live { box-shadow: 0 0 0 2px var(--live); }
.wc-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; margin: -6px -6px 2px; background: #000; }
.wc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wc-img .pill { position: absolute; left: 10px; top: 10px; }
.pill.ok { background: var(--ok); color: #05140c; }
.wc-tags { display: flex; gap: 8px; align-items: center; }
.wc-tags .mkind { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wc-q { margin: 0; font: italic 600 24px/1.15 var(--voice); overflow-wrap: anywhere; }
.wc-q.big { font-size: 30px; }
.wc-d { margin: 0; color: #cfcac2; font-size: 15px; }
.wc-meta { margin: 0; color: var(--muted); font-size: 14px; }
.wcard .actions .btn { align-self: flex-start; }
.wempty { column-span: all; max-width: 560px; break-inside: avoid; border: 1px dashed var(--line); border-radius: 18px; padding: 24px; }
.wformh { margin-top: 36px; scroll-margin-top: 16px; }
@media (max-width: 700px) { .wb-pre { display: none; } .whero { padding: 24px 0 18px; } }

/* значок LIVE на карточках: тёмно-красный фон — белый мелкий текст читается (контраст 5:1) */
.badge { background: #c8283a; }

/* «Первые 100 Глаз»: маленькая метка основателя у имени; приглашение друга на странице «Глаз» */
.fpill { display: inline-block; vertical-align: 1px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font: 600 14px/1.5 var(--body); letter-spacing: .01em; color: var(--accent); border: 1px solid rgba(255, 181, 74, .45); background: rgba(255, 181, 74, .08); white-space: nowrap; }
.invite { display: flex; flex-direction: column; gap: 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
.invite.fresh { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 181, 74, .12); }
.invite .ifounder { align-self: flex-start; font: 700 14px/1.3 var(--display); color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 5px 12px; }
.invite h3 { margin: 0; font: 700 18px/1.25 var(--display); }
.invite p { margin: 0; }
.invite code { font: 13px/1.4 var(--mono); color: var(--accent); overflow-wrap: anywhere; user-select: all; }
.invite .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.invite .icount { font-weight: 600; }

/* короткий опрос: карточка у края экрана, видео не закрывает */
.survey { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100% - 32px)); z-index: 11; display: flex; flex-direction: column; gap: 6px; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 14px 44px rgba(0, 0, 0, .55); font-size: 14px; animation: svin .35s ease-out; }
.survey .svhead { display: flex; align-items: flex-start; gap: 8px; }
.survey .svrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; }
.survey .svhead b { flex: 1; font: 700 15px/1.3 var(--display); }
.survey .svx { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; padding: 0 2px; }
.survey .svq { color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.survey textarea { font: inherit; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; resize: vertical; height: 40px; min-height: 40px; }
.survey .stars { display: flex; gap: 2px; }
.survey .stars button { border: 0; background: none; font-size: 28px; line-height: 1; padding: 2px 3px; color: #3a404c; }
.survey .stars button:hover { color: rgba(255, 181, 74, .6); }
.survey .stars button.on { color: var(--accent); }
.survey .svyn { display: flex; gap: 8px; }
.survey .svyn .chip { padding: 5px 16px; color: var(--fg); }
.survey .svyn .chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.survey .actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.survey .svnote { margin: 0; min-height: 0; }
.survey .svnote:empty { display: none; }
.survey .svthanks { margin: 0; font-weight: 600; }
@media (max-width: 900px) { body:has(.tabs) .survey { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } .survey { right: 12px; width: calc(100% - 24px); max-width: 420px; } }
@keyframes svin { from { transform: translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .survey { animation: none; } }
.fpill.big { font-size: 13px; padding: 3px 10px; vertical-align: middle; }

/* ---------- телефон: ничего не прячется под нижними вкладками, метка эфира не под подсказками, пальцу хватает места (07.10) ---------- */
@media (max-width: 900px) {
  .guest { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } /* фокус с клавиатуры не уезжает под вкладки */
}
@media (max-width: 600px) {
  .stage { height: calc(74svh - 36px); min-height: 500px; } /* кнопки эфира («Остаться», «Спасибо», «Выйти») целиком над вкладками */
  .stage .eye .hud { top: 190px; } /* «ДЕМО / N смотрят» — ниже ряда подсказок, не под ним */
}
@media (pointer: coarse) {
  .chip, .seg button, #menubtn, #lang, .menu #lang, .wanted .chip, .wchips .chip, .gwho .chip { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .linkbtn { min-height: 40px; display: inline-flex; align-items: center; }
  .helppage .faq summary, .more summary { padding-block: 11px; } /* стрелка раскрытия остаётся на месте */
  .abfoot a { min-height: 44px; display: inline-flex; align-items: center; }
  .langlist button { min-height: 44px; }
}

.wc-rep { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -2px; }
.wc-rep .linkbtn { font-size: 13px; color: var(--muted); }
.wc-rep .chip { border: 0; background: var(--bg3); color: var(--fg); padding: 6px 12px; font-size: 13px; }

/* ---------- страницы мест /live/<место>: первый экран цвета неба по местному времени, стена окон, другие места ---------- */
.plhero { background: radial-gradient(120% 90% at 80% 0%, var(--sky, #1d2b52) 0%, var(--bg) 72%); min-height: min(70vh, 640px); }
.plhero .plbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.plhero h1 { max-width: 16ch; }
.plhero .plreal { font-size: 15px; color: #cfcac2; }
.plhero .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.plhero .btn.big { font-size: 17px; padding: 15px 26px; }
.plcrumbs { font-size: 14px; color: #cfcac2; }
.plcrumbs a { color: #e7e3dc; }
.plnote { color: var(--muted); margin: 0; max-width: 62ch; }
.plsec .abwall { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.plcta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plcta > div { background: var(--bg2); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.plcta > div:first-child { background: linear-gradient(160deg, #2a1d0c, var(--bg2) 70%); }
.plcta h2 { font: italic 600 clamp(28px, 3vw, 38px)/1.08 var(--voice); }
.plcta p { margin: 0; color: #d9d5ce; max-width: 52ch; }
.plregion h3 { font: 600 15px/1.2 var(--display); color: var(--muted); margin: 6px 0 10px; text-transform: uppercase; letter-spacing: .06em; }
.plregion .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plregion .chip { text-decoration: none; color: var(--fg); background: var(--bg2); }
.plindex { padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.plgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.plcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 120px; padding: 16px; border-radius: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(150deg, var(--sky, #1d2b52), var(--bg2) 85%); border: 1px solid var(--line); }
.plcard:hover { border-color: var(--accent); }
.plcard b { font: italic 600 28px/1.05 var(--voice); }
.plcard span { font-size: 14px; color: #d6d1c9; }
.plcard i { position: absolute; top: 12px; right: 12px; font: 600 14px/1 var(--body); font-style: normal; background: #c42b21 /* темнее --live: белый текст 5.5:1 по WCAG */; color: #fff; padding: 5px 8px; border-radius: 999px; }
.plfoot { color: var(--muted); font-size: 14px; padding-block: 28px 40px; border-top: 1px solid var(--line); }
.plfoot a { color: var(--fg); }
@media (max-width: 760px) {
  .plcta { grid-template-columns: 1fr; }
  .plsec .abwall { grid-template-columns: repeat(2, 1fr); }
  .plhero .btn.big { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
.place .top .right { margin-left: auto; }
.plhero::after { background: linear-gradient(to top, var(--bg) 3%, rgba(13, 15, 19, .55) 45%, rgba(13, 15, 19, .25) 80%), linear-gradient(to right, rgba(13, 15, 19, .85) 0%, rgba(13, 15, 19, .5) 45%, rgba(13, 15, 19, 0) 75%); }
.plhero p { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.plhero .plstatus { font-size: 17px; color: #fff; font-weight: 500; max-width: 560px; }
@media (max-width: 760px) { .plhero::after { background: linear-gradient(to top, var(--bg) 3%, rgba(13, 15, 19, .78) 50%, rgba(13, 15, 19, .45) 100%); } }

/* ---------- юридические страницы: заглушки, оглавление, выбор статистики; плашка о хранилище (consent.js) ---------- */
.legalpage mark.ph { background: rgba(255, 181, 74, .18); color: var(--accent); border-radius: 4px; padding: 0 3px; }
.legalpage ul { padding-left: 22px; line-height: 1.6; } .legalpage li { margin: 6px 0; }
.legalpage section { scroll-margin-top: 80px; }
.ltoc { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 14px 0; }
.ltoc summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.ltoc ol { margin: 8px 0 4px; padding-left: 22px; columns: 2 240px; } .ltoc a { color: var(--muted); }
.pchoices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.pchoices .pcstate { margin: 0; flex: 1 1 220px; }
.storagenote { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100% - 32px)); z-index: 40; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 14px 44px rgba(0, 0, 0, .55); font-size: 14px; }
.storagenote p { margin: 0 0 10px; line-height: 1.45; }
.storagenote .snact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.storagenote .snact .btn, .storagenote .snact .linkbtn { min-height: 40px; }
body:has(.storagenote) .survey { display: none; }
@media (max-width: 900px) { .storagenote { left: 12px; width: calc(100% - 24px); } body:has(.tabs) .storagenote { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 760px) { .plgrid { grid-template-columns: 1fr 1fr; gap: 8px; } .plcard { min-height: 92px; padding: 12px; } .plcard b { font-size: 22px; } .plcard span { font-size: 13px; } }

/* подпись карты (Leaflet): ссылка отличается не только цветом — подчёркнута (WCAG link-in-text-block) */
.leaflet-container .leaflet-control-attribution a { text-decoration: underline; }

/* ссылка на кабинет заработка со страницы «Глаз» и оплата подарка (payments) */
.earnlink { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); color: var(--fg); text-decoration: none; font-weight: 600; }
.earnlink:hover { border-color: var(--accent); }
.earnlink .note { font-weight: 400; }
.gpay { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 14px 0 4px; }
.gpay .note, .gpay .pbanner { margin: 0; }
.gpay .pbanner { border: 1px solid var(--line); background: var(--bg2); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.gpaid { margin: 0; color: var(--ok); font-weight: 700; }

/* ---------- ux-simple: проще и теплее (подсказка, честные метки, поиск без тупика, пустой экран, «Окно», записка дарителя) ---------- */
.hint { margin: 14px 0 0; display: inline-block; background: rgba(13, 15, 19, .72); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 15px; backdrop-filter: blur(8px); transition: opacity .7s ease; }
.hint.fade { opacity: 0; }
/* подсказка новичку не наезжает на субтитры/перевод: пока они на экране, она спрятана */
body:has(#cap:not([hidden])) #hint { display: none; }
@media (prefers-reduced-motion: reduce) { .hint { transition: none; } }
.badge.rec { background: #2b2f38; color: #e7e3dc; border: 1px solid #4a505c; }
.recpill, .livepill { font: 600 14px/1 var(--mono); letter-spacing: .06em; padding: 4px 7px; border-radius: 4px; }
.recpill { background: rgba(43, 47, 56, .9); color: #e7e3dc; }
.livepill { background: #c8352b; color: #fff; }
/* ответ поиска — сразу под строкой поиска */
.sresult { position: relative; width: min(720px, 100%); background: rgba(13, 15, 19, .92); border: 1px solid var(--line); border-radius: 18px; padding: 12px 48px 12px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); }
.sresult .sr-line { margin: 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.sresult .sr-line .linkbtn { color: var(--accent); }
.sresult .sr-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.sresult.none { padding: 18px 18px 16px; }
.sresult h2 { margin: 0 36px 6px 0; font: 800 clamp(20px, 3vw, 26px)/1.15 var(--display); }
.sresult p { margin: 0 0 12px; color: #d9d5ce; font-size: 15px; }
.sresult .sr-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.sresult .sr-acts .btn.big { font-size: 17px; }
.sresult .sr-nh { margin: 14px 0 8px; font-size: 14px; color: var(--muted); }
.sresult .sr-near { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-place { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; background: var(--bg3); color: #fff; text-align: left; aspect-ratio: 16 / 9; cursor: pointer; }
.sr-place img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-place span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 13px; font-weight: 600; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
.sr-place:focus-visible, .sresult .sr-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .v3 .stagefind { top: 66px; padding: 0 12px; } .sresult.none .sr-acts .btn { width: 100%; justify-content: center; } }
/* когда в эфире никого: лучшие моменты дня и «сообщить» */
.emptybox { grid-column: 1 / -1; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.emptybox h2 { margin: 0 0 6px; font: 800 clamp(22px, 3vw, 32px)/1.1 var(--display); }
.emptybox h3 { margin: 22px 0 10px; font-size: 18px; }
.emptybox .lead { margin: 0 0 14px; color: #d9d5ce; }
.emptybox .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notifymail { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-top: 14px; }
.notifymail .field { flex: 1 1 240px; margin: 0; }
.notifymail .check { flex: 1 1 100%; font-size: 14px; }
.mgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.mcard2 { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 34px 12px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg3); color: var(--fg); cursor: pointer; }
.mcard2 span:last-child { font-size: 13px; color: var(--muted); }
.mcard2:focus-visible, .mcard2:hover { border-color: var(--accent); }
body.nobody .stage .placeholder { display: none; }
.morebox { display: flex; justify-content: center; margin: 16px 0 8px; }
/* «Окно»: у каждой плитки своя картинка */
.tile.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.pic::after { z-index: 0; }
.tile.walk.pic { background: var(--bg3); color: #fff; border-color: var(--accent); }
.tile.walk.pic::after { display: block; }
.tile.walk.pic span { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
body.simple #vseen { font: italic 600 clamp(22px, 3.4vw, 30px)/1.25 var(--voice); color: var(--fg); margin-top: 6px; }
/* записка дарителя */
.giftnote { grid-column: 1 / -1; order: 0; background: linear-gradient(135deg, #3a2414, #24160c); border: 1px solid #7a5230; border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; }
.giftnote .gn-from { margin: 0; font-weight: 700; font-size: 1.05em; color: #ffd9a8; }
.giftnote .gn-msg { margin: 6px 0 12px; font: italic 600 clamp(22px, 3.6vw, 30px)/1.25 var(--voice); color: #fff4e6; }
.giftnote textarea { width: 100%; font-size: 18px; }
.giftnote .note { color: #f1e2cf; }
body.simple.watching .giftnote .gn-msg { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 20px; }
/* меню на телефоне — в одну колонку, ничего не уходит за край */
.m-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 480px) { .m-tiles { grid-template-columns: minmax(0, 1fr); } .m-tile { min-height: 0; } }
.greplies { margin-top: 18px; background: var(--bg2); border: 1px solid #7a5230; border-radius: 16px; padding: 16px 18px; }
.greplies h2 { margin: 0 0 8px; font-size: 18px; }
.greplies blockquote { margin: 8px 0 0; font: italic 600 22px/1.3 var(--voice); }
.greplies time { display: block; font: 400 13px/1.4 var(--body); color: var(--muted); margin-top: 2px; }
/* «Глаза» в эфире: сначала большая камера и тёплая строка, остальное свёрнуто или спрятано до конца эфира */
body.islive .eyes2 > :not(.ehero):not(#onlive) { display: none !important; }
body.islive .ecopy { display: none; }
body.islive .ehero { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
body.islive .ephone { position: static; width: min(100%, calc((100dvh - 210px) * 9 / 16)); max-width: none; margin: 0 auto; }
body.islive .eyes2 .preview { aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 0 0 1px #343a46; }
body.islive .eyes2 .preview .hud #count { background: rgba(13, 15, 19, .75); padding: 4px 10px; border-radius: 999px; }
.livewarm { margin: 0; background: linear-gradient(135deg, #1f3a2c, #16251e); border: 1px solid #2f6b4c; border-radius: 16px; padding: 14px 16px; font-size: 16px; color: #eaf7ef; }
.livemore summary { font-weight: 600; }
@media (max-width: 760px) { body.islive .ephone { width: 100%; } body.islive .eyes2 .preview { aspect-ratio: auto; height: calc(100dvh - 230px); min-height: 360px; } }

/* Согласие «Глаз» на промо-ролики: переключатель (по умолчанию выключен) */
.promoconsent { display: flex; flex-direction: column; gap: 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
.promoconsent h3 { margin: 0; font: 700 18px/1.25 var(--display); }
.promoconsent p { margin: 0; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { flex: none; position: relative; width: 50px; height: 30px; border-radius: 999px; background: var(--bg3); border: 1px solid var(--line); transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #c9ccd3; transition: transform .2s, background .2s; }
.switch input:checked + .track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); background: #1a1206; }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 3px; }
.sresult .btn { white-space: normal; text-align: center; }
body.srnone .stage .voice { visibility: hidden; }
.v3 #vseen { display: none; }
/* Промо-завод: «Ждут вашего да», тетрадь знаний, воронка роликов */
.promolabel { display: inline-block; width: max-content; max-width: 100%; align-self: flex-start; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 999px; font: 600 14px/1.4 var(--mono); color: var(--accent-ink); background: var(--accent); }
.promolabel.exp { color: var(--ink, #f4f2ee); background: var(--bg3); border: 1px solid var(--line); }
.promoyesbox { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 8px 0; }
.promoedit { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.promorules { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.promorules li { display: flex; flex-direction: column; gap: 2px; }
.promorules li.off { opacity: .55; }
.pfun { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.pfun .kpi b { font-size: 26px; }
.pfun .kpi small { color: var(--accent); }
@media (max-width: 560px) { .pfun { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.nobody .viewer { display: none; }
.promovariants { display: flex; gap: 6px; margin-top: 6px; }
.promovariants .pvar { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: none; cursor: pointer; width: 56px; overflow: hidden; }
.promovariants .pvar.on { border-color: var(--accent); }
.promovariants img { display: block; width: 100%; height: auto; }
body.nobody .listhead { display: none; }
.engcard { display: block; width: 180px; height: auto; border-radius: 10px; margin: 8px 0; }
.engtext { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.45 var(--mono); background: var(--bg3); border-radius: 10px; padding: 10px; margin: 8px 0; }
.engtpl { border-top: 1px solid var(--line); padding: 6px 0; }
.socgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.socdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--line); }
.socdot.ok { background: #4cc38a; } .socdot.bad { background: #ff5a4e; } .socdot.warn { background: #ffb54a; }

/* меню из 5 пунктов (08.10): под «Загадать место» — вложенный пункт «Вернуться туда», «Моё» раскрывается списком */
.m-tiles { grid-template-columns: minmax(0, 1fr) !important; }
.m-tile, .m-tile:not(.wide) { min-height: 0 !important; width: 100%; box-sizing: border-box; }
.m-sub { display: flex; gap: 12px; align-items: center; min-height: 48px; margin: -2px 0 0 18px; padding: 6px 10px; border-radius: 10px; border-left: 2px solid var(--line); }
.m-sub:hover, .m-tiles .m-morelist > :hover { background: var(--bg3); }
.m-sub .mi { width: 18px; height: 18px; color: var(--muted); }
.m-sub b { font-size: 15px; }
.m-sub .m-tx > span { font-size: 14px; color: var(--muted); display: block; }
.m-tiles .m-morelist { padding-left: 18px; }
.m-morelist .m-tx > span { font-size: 14px; display: block; color: var(--muted); }
#minebtn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--c); }
/* главная: без дубля «Запись … N смотрят» и без пустой нижней панели (аудит 08.10, B2/B3) */
.stage .eye .hud #hudl { display: none; }
@media (max-width: 900px) {
  .stage .eye .hud { display: none; }
  .v3 .viewer { background: none; border: 0; padding: 0; }
}
.log:empty { display: none; }
.v3 #out { display: none !important; }

/* «Глаз»: SOS не закрывает текст; итог после эфира */
body.islive .eyes { padding-bottom: 100px; }
body.islive .livewarm { padding-right: 86px; }
.endsum { background: linear-gradient(135deg, #2a2016, #1a1f2b); border: 1px solid var(--accent); border-radius: 18px; padding: 18px; margin: 0 0 16px; }
.endsum h2 { margin: 0 0 10px; font-size: 22px; }
.esstats { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 12px; flex-wrap: wrap; }
.esstats li { flex: 1 1 90px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; font-size: 14px; text-align: center; }
.esstats b { display: block; font-size: 28px; }
.essay { font-size: 16px; line-height: 1.45; margin: 0 0 12px; }
/* ссылка «Перейти к содержимому» видна только при фокусе с клавиатуры */
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: #ffd98e; color: #1a1305; padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; min-height: 44px; box-sizing: border-box; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
/* цели касания не меньше 44 px (аудит 08.10, D) */
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.btn.small, .linkbtn, #lang, .langlist button, .abfoot a, footer a, .m-sub { min-height: 44px; }
.abfoot a, footer a { display: inline-flex; align-items: center; padding: 0 6px; }
.linkbtn { display: inline-flex; align-items: center; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
input[type="checkbox"] { width: 24px; height: 24px; flex: none; }
.ghead input[type="checkbox"], .gift input[type="checkbox"] { margin: 0; }
summary { min-height: 44px; display: list-item; }
/* панель владельца: сворачиваемые разделы и мини-меню сверху */
.adnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.adnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); text-decoration: none; font-size: 15px; }
.adnav a:hover, .adnav a:focus-visible { border-color: var(--accent); }
.adsec { border-top: 1px solid var(--line); padding: 4px 0 12px; }
.adsec > summary { cursor: pointer; font: 700 20px/1.3 var(--display); min-height: 48px; display: flex; align-items: center; gap: 8px; }
.adsec > summary::marker { color: var(--accent); }
.qm { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--muted); color: var(--muted); font-size: 14px; cursor: help; margin-left: 6px; }
@media (max-width: 600px) { .stage .voice { padding-top: 30px; } }
