/* Kadr — общие стили */
:root {
  --bg: #17151C;
  --card: #29232C;
  --raised: #352D39;
  --line: #3A3140;
  --line-2: #433949;
  --line-3: #54485A;
  --accent: #FF647C;
  --soft: #FFB0A5;
  --text: #FFFFFF;
  --text-2: #EDE3EA;
  --muted: #C2B5C0;
  --muted-2: #A89BA6;
  --on-accent: #17151C;
  --radius: 18px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--soft); }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--soft); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }

/* Логотип */
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 16px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .12s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #ff7a8e; color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-3); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted-2); }
.btn-dark { background: var(--raised); color: var(--text); border: 1px solid var(--line-2); }
.btn-dark:hover { color: var(--text); background: var(--line); }
.btn-lg { min-height: 60px; font-size: 17px; border-radius: 18px; }
.btn-block { width: 100%; }
.icon-btn { width: 48px; height: 48px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 16px; background: var(--card); color: var(--text); text-decoration: none; }
.icon-btn:hover { background: var(--raised); color: var(--text); }
.kbd { font-size: 12px; font-weight: 700; border: 1px solid rgba(23,21,28,.35); border-radius: 6px; padding: 2px 7px; }

/* Выбор из двух (кнопки, не ползунок) */
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice button { min-height: 64px; padding: 10px 14px; border: 2px solid var(--line-2); border-radius: 16px; background: var(--card); color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; }
.choice button span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.choice button[aria-pressed="true"] { border-color: var(--accent); background: var(--raised); }
.choice button[aria-pressed="true"] span.hl { color: var(--accent); }

/* Поля */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input { height: 50px; width: 100%; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--text); padding: 0 16px; font-size: 15px; }
.input::placeholder { color: #8E818C; }
.input:focus { border-color: var(--accent); outline: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--accent); }

/* Карточки */
.card { background: var(--card); border-radius: 22px; padding: 22px; }
.card-line { border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.note { display: flex; gap: 12px; align-items: center; border-radius: 16px; background: var(--raised); border: 1px solid var(--line-2); padding: 12px 14px; }
.note strong { display: block; font-size: 14px; }
.note span { font-size: 12px; color: var(--muted); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.badge-line { color: var(--accent); border: 1px solid var(--accent); }
.badge-fill { color: var(--on-accent); background: var(--accent); }

/* Шапка */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.topnav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.topnav a { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.topnav a:hover { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions .login { font-weight: 600; text-decoration: none; padding: 12px; }
@media (max-width: 860px) { .topnav, .hide-mobile { display: none !important; } }
@media (min-width: 861px) { .hide-desktop { display: none !important; } }

/* ===== Главная ===== */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -0.03em; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-preview { flex: 1 1 440px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { aspect-ratio: 3 / 4; border-radius: 18px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile-them { background: #2E2632; }
.tile-me { background: var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; }
.avatar { border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; background: rgba(23,21,28,.78); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--text); }
.chip-bottom { top: auto; bottom: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding-bottom: 64px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature .big { font-family: var(--display); font-size: 28px; font-weight: 700; }
.feature h2 { font-size: 19px; font-family: var(--font); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(28px, 3vw, 36px); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: 64px; }
.plan { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.plan .price { font-family: var(--display); font-size: 30px; font-weight: 700; }
.plan.is-top { border: 2px solid var(--accent); background: var(--raised); }
.banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; background: var(--card); border-radius: 28px; padding: clamp(24px, 4vw, 40px); margin-bottom: 64px; }
.banner > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.banner h2 { font-size: clamp(24px, 2.6vw, 30px); }
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats li { background: var(--card); border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--display); font-size: 15px; }
.stats span { font-size: 12px; color: var(--muted); line-height: 1.35; }

/* ===== Регистрация ===== */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 480px; min-width: 0; background: var(--card); padding: 40px clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth-side h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; max-width: 520px; }
.perks { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks .ico { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.perks strong { display: block; font-size: 16px; }
.perks span { font-size: 14px; color: var(--muted); }
.auth-main { flex: 1 1 480px; min-width: 0; padding: 24px 20px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.auth-box h2 { font-size: 28px; }
.auth-mobile-top { width: 100%; max-width: 420px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
@media (max-width: 860px) { .auth-side { display: none; } .auth-main { justify-content: flex-start; } }
.code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.code input { height: 60px; width: 100%; border: 2px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--text); text-align: center; font-family: var(--display); font-size: 22px; font-weight: 700; }
.code input:focus { border-color: var(--accent); outline: none; }
.code-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: 14px; padding: 12px 0; }
.link-btn:disabled { color: var(--muted-2); cursor: default; }
.icon-tile { width: 64px; height: 64px; border-radius: 20px; background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--accent); }

/* ===== Видеочат ===== */
.chat-page { min-height: 100vh; display: flex; flex-direction: column; }
.chat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.chat-top .logo { font-size: 20px; }
.mode { display: flex; gap: 8px; }
.mode button { height: 44px; padding: 0 16px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text-2); font-weight: 700; font-size: 14px; }
.mode button[aria-pressed="true"] { border-color: var(--accent); background: var(--raised); color: var(--text); }
.balance { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--card); font-weight: 700; font-size: 14px; color: var(--text); text-decoration: none; }
.balance svg { color: var(--accent); }
.chat-body { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 16px; padding: 16px 20px 20px; }
.stage { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.videos { flex: 1 1 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 480px; }
.video { position: relative; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: opacity .18s ease; }
.video-them { background: #2E2632; }
.video-me { background: var(--line-2); color: var(--muted); }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#my-video { transform: scaleX(-1); }
.video-them video { background: #000; }
.them-overlay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; max-width: 420px; }
.them-overlay .avatar { color: var(--muted); }
.them-status { font-size: 15px; color: var(--text-2); line-height: 1.45; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.msg-sys { align-self: center; font-size: 12px; color: var(--muted-2); text-align: center; padding: 4px 8px; }
.icon-btn:disabled, .mode button:disabled { opacity: .45; cursor: default; }
.icon-btn:disabled:hover { background: var(--card); }
.video.is-switching { opacity: .25; }
.controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.controls .group { display: flex; gap: 8px; }
.next-btn small { font-size: 12px; font-weight: 600; opacity: .75; display: block; line-height: 1; }
.next-btn .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn[aria-pressed="true"] svg { fill: var(--accent); }
.side-chat { flex: 1 1 320px; min-width: 0; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 360px; }
.side-chat header { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.messages { flex: 1 1 auto; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow-y: auto; }
.msg { max-width: 85%; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.msg-them { align-self: flex-start; background: var(--raised); border-radius: 16px 16px 16px 6px; }
.msg-me { align-self: flex-end; background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: 16px 16px 6px 16px; }
.msg-note { align-self: flex-start; font-size: 11px; color: var(--muted-2); margin-top: -6px; padding-left: 4px; }
.send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.send .input { background: var(--bg); }
.cam-btn { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); min-height: 44px; font-size: 14px; padding: 0 16px; }

@media (max-width: 860px) {
  .chat-top { padding: 10px 14px; }
  .chat-top .mode { order: 3; width: 100%; }
  .chat-top .mode button { flex: 1 1 0; }
  .chat-body { padding: 0 0 16px; gap: 12px; }
  .stage { gap: 12px; }
  .videos { display: block; position: relative; min-height: 0; height: 62vh; }
  .video-them { position: absolute; inset: 0; border-radius: 0; }
  .video-me { position: absolute; right: 12px; top: 12px; width: 96px; height: 128px; border-radius: 16px; border: 2px solid rgba(255,255,255,.18); z-index: 2; font-size: 12px; }
  .video-me .chip { display: none; }
  .video-me .cam-btn { bottom: auto; top: 50%; transform: translate(-50%, -50%); min-height: 36px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
  .controls { padding: 0 14px; }
  .controls .group:last-child { order: -1; width: 100%; }
  .controls .next-btn { flex: 1 1 auto; min-height: 64px; }
  .controls .next-btn .lbl { align-items: center; }
  .controls .btn-ghost { min-height: 64px; }
  .side-chat { margin: 0 14px; border-radius: 20px; min-height: 260px; }
}

/* ===== Тарифы ===== */
.page { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; }
.page-head { display: flex; align-items: center; gap: 12px; padding: 16px 0 20px; }
.page-head h1 { font-size: 22px; }
.balance-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.balance-card b { font-family: var(--display); font-size: 24px; }
.packs { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.pack { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; border: 2px solid var(--line-2); border-radius: 16px; background: var(--card); color: var(--text); padding: 12px 16px; text-align: left; }
.pack[aria-pressed="true"] { border-color: var(--accent); background: var(--raised); }
.pack .l { display: flex; flex-direction: column; gap: 2px; }
.pack .l b { font-size: 16px; }
.pack .l span { font-size: 12px; color: var(--muted); }
.pack .r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pack .r b { font-size: 17px; }
.pack .r span { font-size: 12px; color: var(--soft); }
.pack .flag { position: absolute; top: -11px; left: 14px; }
.sub { display: flex; flex-direction: column; gap: 10px; }
.sub ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.sub li::before { content: "— "; color: var(--accent); }
.buy-bar { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ===== Кабинет хоста ===== */
.dash { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 48px; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.dash-head h1 { font-size: clamp(24px, 3vw, 30px); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.dash-row { display: flex; flex-wrap: wrap; gap: 16px; }
.dash-row > * { flex: 1 1 300px; min-width: 0; }
.dash-row > .wide { flex: 2 1 480px; }
.money { font-family: var(--display); font-size: clamp(32px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rows > div:last-child { border-bottom: 0; }
.rows b { color: var(--soft); }
.ref { border: 1px dashed var(--line-3); }
.ref-link { flex: 1 1 auto; min-width: 0; height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.live-btn[aria-pressed="true"] { background: var(--soft); }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; }
.subnav a { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.subnav a[aria-current="page"] { background: var(--raised); color: var(--text); font-weight: 700; }

/* ===== Проверка 18+ ===== */
.steps-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps-bar i { height: 4px; border-radius: 2px; background: var(--line); }
.steps-bar i.on { background: var(--accent); }
.step { display: flex; flex-direction: column; gap: 16px; }
.step h1 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; }
.list-steps { display: flex; flex-direction: column; gap: 10px; }
.list-steps li { display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: 16px; padding: 14px 16px; }
.list-steps .n { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px; background: var(--raised); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.list-steps b { display: block; font-size: 15px; }
.list-steps span { font-size: 12px; color: var(--muted); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { height: 44px; padding: 0 14px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text); font-weight: 700; font-size: 14px; }
.pills button[aria-pressed="true"] { border-color: var(--accent); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shot { min-height: 128px; border-radius: 16px; background: var(--card); border: 2px dashed var(--line-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; }
.shot.done { border: 2px solid var(--accent); }
.shot b { font-size: 13px; }
.shot span { font-size: 11px; color: var(--muted); }
.frame { border-radius: 20px; background: var(--card); min-height: 200px; position: relative; display: flex; align-items: center; justify-content: center; padding: 18px; }
.frame-doc { width: min(260px, 80%); aspect-ratio: 1.58; border: 3px solid var(--accent); border-radius: 14px; }
.frame-face { width: min(210px, 60%); aspect-ratio: 3 / 4; border-radius: 50%; border: 3px solid var(--accent); }
.frame .hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; background: rgba(23,21,28,.8); border-radius: 999px; padding: 6px 12px; }
.tips { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.tips li::before { content: "— "; color: var(--accent); }
.task-code { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: 8px; color: var(--accent); }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12px; font-weight: 600; text-align: center; }
.checks li { border-radius: 12px; background: var(--card); padding: 10px 4px; }
.checks li.ok { color: var(--accent); }
.status li { display: flex; gap: 12px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 14px; }
.status li:last-child { border-bottom: 0; color: var(--muted); }
.status i { font-style: normal; font-weight: 700; color: var(--accent); width: 16px; }

/* ===== v4: формы, предупреждения, анкета, админка ===== */
.form-error { color: var(--soft); }
.video-warning { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; background: rgba(23,21,28,.86); }
.video-warning b { font-size: 17px; }
.video-warning span { font-size: 13px; color: var(--muted); }
.small-warning b { font-size: 13px; }
.small-warning span { font-size: 11px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

.shot { position: relative; cursor: pointer; overflow: hidden; }
.shot:hover { border-color: var(--muted-2); }
.shot:focus-within { outline: 3px solid var(--soft); outline-offset: 2px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.shot b, .shot span, .shot .shot-ico { position: relative; }
.shot .shot-ico { font-size: 26px; line-height: 1; color: var(--accent); }
.shot.done .shot-ico { display: none; }
.shot-tall { min-height: 240px; }

.status-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--accent); }
.status-card b { font-size: 17px; display: block; margin-bottom: 4px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--card); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--display); font-size: 24px; }
.stat span { font-size: 12px; color: var(--muted); }
.setup-hint { border: 1px dashed var(--line-3); border-radius: 16px; padding: 12px 16px; font-size: 13px; color: var(--text-2); }
.subnav .count:not(:empty) { margin-left: 6px; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 700; }
.admin-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.v-card { display: flex; flex-direction: column; gap: 14px; }
.v-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.v-head b { font-size: 18px; }
.v-code { text-align: right; display: flex; flex-direction: column; }
.v-code b { font-family: var(--display); font-size: 26px; letter-spacing: 4px; color: var(--accent); }
.v-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.v-media figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.v-media img, .v-media video { width: 100%; max-height: 320px; object-fit: contain; background: #000; border-radius: 12px; display: block; }
.v-media figcaption { font-size: 12px; color: var(--muted); }
.v-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v-actions .input { flex: 1 1 220px; height: 52px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.admin-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr.is-banned td { opacity: .55; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 13px; border-radius: 12px; }
.input-sm { height: 40px; width: 84px; padding: 0 10px; border-radius: 12px; }
.r-card { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.r-card.is-resolved { opacity: .5; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; letter-spacing: 2px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; font-family: var(--display); }
.prose ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); }
.prose li::marker { color: var(--accent); }
