

/* Start:/local/templates/speakeria/template_styles.css?179435088071690*/
/* Speakeria — шаблон нового сайта. Светлая схема в синих цветах литературы АН
   (NA Logos Style Guidelines: Blue PMS 2172 C #1E77BC, Blue PMS 2370 C #2E3192). */

/* PlumbC (Double Alex Font Studio) — заголовки и подписи интерфейса. Шрифт предоставлен владельцем;
   лицензию на веб и приложение владелец оформляет сам. Запасной — PT Sans Narrow (Google Fonts).
   Длинный текст — PT Sans. 900 (Black) — только для крупного заголовка заставки. */
@font-face { font-family: "PlumbC"; src: url("/local/templates/speakeria/fonts/PlumbLightC.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "PlumbC"; src: url("/local/templates/speakeria/fonts/PlumbC.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PlumbC"; src: url("/local/templates/speakeria/fonts/PlumbC-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "PlumbC"; src: url("/local/templates/speakeria/fonts/PlumbBlackC.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
/* PT Sans и PT Sans Narrow (ParaType, SIL OFL 1.1) — локальные woff2, без обращения к Google Fonts */
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSans-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSans-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSans-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSans-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSansNarrow-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSansNarrow-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSansNarrow-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'PT Sans Narrow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/local/templates/speakeria/fonts/PTSansNarrow-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: light;
  /* контент: светлый, «бумажный» */
  --bg: #F3F7FC;
  --surface: #FFFFFF;
  --raised: #E8F0FA;
  --text: #14234A;        /* 15.3:1 на белом */
  --text-2: #4A5B7E;      /* 6.3:1 на --bg */
  --text-3: #5E6E8F;      /* 5.1:1 на белом; не для важного */
  --accent: #1E77BC;      /* только заливки: кнопки, прогресс, активная вкладка, сыгранная волна */
  --accent-ink: #1B63A0;  /* текст-ссылки и акцентный текст: 5.85:1 на --bg */
  --on-accent: #FFFFFF;
  --deep: #2E3192;        /* глубокий королевский синий: «синие сцены», акценты заголовков */
  --line: #D3DEEC;
  --track: #7D8DAE;      /* 3.10:1 на --bg (графика ≥ 3:1) */
  --danger: #B3261E;
  --ok: #1B7F4C;
  --shadow: rgba(30, 60, 120, .12);
  /* «синие сцены»: заставка, полоса героя на главной, полный плеер */
  --blue-scene: linear-gradient(160deg, #2E3192 0%, #24519F 55%, #1B63A0 100%);
  --on-blue: #FFFFFF;
  --on-blue-2: #E8F1FB;
  --on-blue-3: #C9DDF2;
  --on-blue-line: rgba(255, 255, 255, .28);
  --radius: 16px;
  --tab-h: 58px;
  --mini-h: 64px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --gut: max(16px, var(--sal));
  --gut-r: max(16px, var(--sar));
  --font: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "PlumbC", "PT Sans Narrow", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 16px/1.45 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 8px; }
.intro :focus-visible, .hero :focus-visible, .player :focus-visible { outline-color: #FFFFFF; }
h1[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
svg { display: block; }
svg path, svg circle, svg rect:not(.fill) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
.ico-text { fill: currentColor !important; stroke: none !important; font: 700 6.5px var(--font); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent-ink); color: var(--on-accent); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

/* ---------- Фон ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-static {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 80% 10%, rgba(30, 119, 188, .10), transparent 70%),
    radial-gradient(55% 45% at 10% 90%, rgba(46, 49, 146, .07), transparent 70%),
    var(--bg);
}
#app { position: relative; z-index: 1; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: background .2s, transform .15s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn.ghost:hover { border-color: var(--track); background: var(--raised); }
.btn.ghost.on { border-color: var(--accent); color: var(--accent-ink); background: var(--raised); }
.btn.on svg path { fill: currentColor; }
.btn.wide { width: 100%; }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--text); flex: none; transition: background .2s, transform .15s; }
.icon-btn:hover { background: var(--raised); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:disabled { opacity: .35; }
.link-btn { color: var(--accent-ink); text-decoration: underline; min-height: 44px; }

/* ---------- Знак (SVG-плейсхолдер: наклонённые кольца с щелями + «астероиды» + ромб) ---------- */
.mark { --m: 120px; position: relative; width: var(--m); height: calc(var(--m) * .65); color: #FFFFFF; }
.mark-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
.mark-svg .mk-b { fill: none; stroke: currentColor; }
.mk-b1 { stroke-width: 3.2; stroke-dasharray: .1 4.2; stroke-linecap: round; opacity: .85; }
.mk-b2 { stroke-width: 8; opacity: .9; }
.mk-b3 { stroke-width: 2.6; stroke-dasharray: .1 5; stroke-linecap: round; opacity: .8; }
.mk-b4 { stroke-width: 2; opacity: .55; }
.mark-svg .mk-rock { fill: #E8F1FB; }
.mark-svg .mk-dia { fill: rgba(232, 241, 251, .14); stroke: #FFFFFF; stroke-width: 3.4; stroke-linejoin: round; }
/* без WebGL: частицы в полосах «текут» по орбите, ромб слегка парит */
.animate .mk-b1 { animation: orbit 6s linear infinite; }
.animate .mk-b3 { animation: orbit3 11s linear infinite; }
.animate .mk-dia { animation: dia-hover 4s ease-in-out infinite; }
@keyframes orbit { to { stroke-dashoffset: -43; } }
@keyframes orbit3 { to { stroke-dashoffset: 51; } }
@keyframes dia-hover { 0%, 100% { transform: translateY(1.5px); } 50% { transform: translateY(-1.5px); } }

/* ---------- Заставка ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50; color: var(--on-blue);
  background: radial-gradient(90% 60% at 50% 30%, rgba(30, 119, 188, .55), transparent 75%), var(--blue-scene);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: calc(var(--sat) + 16px) var(--gut-r) calc(var(--sab) + 28px) var(--gut);
  transition: opacity .45s var(--ease);
  overflow: hidden;
}
.no-intro .intro { display: none; }
.intro.closing { opacity: 0; pointer-events: none; }
#intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-glow { position: absolute; left: 50%; top: 30%; width: 120vmin; height: 120vmin; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(232, 241, 251, .16), transparent); pointer-events: none; animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .6; } }
.intro-fallback { position: absolute; left: 50%; top: 33%; transform: translate(-50%, -50%); }
.intro-fallback .mark { --m: min(calc(100vw - 16px), 720px); }
/* звук: только значок, правый верхний угол */
.intro-sound {
  position: absolute; top: calc(var(--sat) + 10px); right: var(--gut-r); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--on-blue);
  background: rgba(255, 255, 255, .12); border: 1px solid var(--on-blue-line); transition: background .2s;
}
.intro-sound:hover { background: rgba(255, 255, 255, .22); }
.intro-sound svg { width: 22px; height: 22px; }
.intro-sound[aria-pressed="false"] { color: var(--on-blue-3); background: rgba(255, 255, 255, .06); }
.intro.webgl { touch-action: none; cursor: grab; }
.intro.webgl .intro-copy { cursor: auto; }
/* подсказка над подписью — только для 3D, исчезает после первого жеста */
.intro-hint { margin: 0 0 6px; font: 400 clamp(13px, 3.8vw, 16px)/1.2 var(--font-head); letter-spacing: .04em; color: var(--on-blue-2); }
.intro:not(.webgl) .intro-hint { display: none; }
.intro.copy-in.interacted .intro-hint { opacity: 0; transition: opacity .6s; }
/* темы: без 3D — ряд чипсов, в 3D — скрытый список для диктора и клавиатуры */
.intro-topics { list-style: none; margin: 4px 0 2px; padding: 4px 2px; display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; touch-action: pan-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.intro-topics::-webkit-scrollbar { display: none; }
.intro-topics li { flex: none; }
@media (min-width: 900px) { .intro-topics { flex-wrap: wrap; justify-content: center; max-width: 720px; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
/* без 3D: статичный знак в общем потоке над текстом — не пересекается с ним */
.intro-fallback:not([hidden]) { position: relative; left: auto; top: auto; transform: none; flex: none; margin: auto 0 14px; }
.intro-fallback:not([hidden]) ~ .intro-copy { margin-bottom: auto; }
/* Пока intro.js не взял заставку (нет класса live), статичный знак и текст проявляются сами через 1,6 с:
   если скрипты не загрузились или упали, заставка не остаётся пустым синим экраном. С live управляет intro.js. */
.intro:not(.live) .intro-fallback, .intro:not(.live) .intro-copy > * { animation: intro-failsafe .5s var(--ease) 1.6s both; }
@keyframes intro-failsafe { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sp-nojs .intro:not(.live) .intro-sound { display: none; }
.intro-topics .chip { min-height: 40px; padding: 0 14px; font: 700 15px/1 var(--font-head); letter-spacing: .02em; color: var(--on-blue); background: rgba(255, 255, 255, .12); border-color: var(--on-blue-line); position: relative; }
.intro-topics .chip::after { content: ""; position: absolute; inset: -2px 0; } /* цель касания ≥ 44 px */
.intro-topics .chip:hover { background: rgba(255, 255, 255, .24); border-color: #FFFFFF; }
.intro.webgl .intro-topics { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.intro.webgl .intro-topics:focus-within { position: fixed !important; left: var(--gut); right: var(--gut-r); top: calc(var(--sat) + 64px); width: auto; height: auto; clip: auto; white-space: normal; z-index: 4; }
/* авто-подпись спутника: мелкий текст и тонкая «палочка» вниз к спутнику */
.sat-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; white-space: nowrap;
  padding-bottom: 20px; font: 700 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(30, 50, 130, .55); will-change: transform, opacity; }
.sat-tip::after { content: ""; position: absolute; left: var(--lx, 50%); bottom: 0; width: 1px; height: 16px; background: rgba(255, 255, 255, .6); }
/* подпись открытого спутника */
.sat-label { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 2px; max-width: min(260px, 70vw);
  padding: 10px 14px; border-radius: 14px; background: #FFFFFF; color: var(--deep); box-shadow: 0 12px 30px rgba(30, 50, 130, .32); }
.sat-label b { font: 700 19px/1.1 var(--font-head); letter-spacing: .01em; }
.sat-label span { font-size: 13px; color: var(--text-2); }
.intro-copy { position: relative; z-index: 1; text-align: center; width: 100%; max-width: min(820px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
.intro-copy > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.intro.copy-in .intro-label, .intro.copy-in .intro-title, .intro.copy-in .intro-sub, .intro.copy-in .intro-hint, .intro.copy-in .intro-topics { opacity: 1; transform: none; }
.intro.copy-in .intro-title { transition-delay: .1s; }
.intro.copy-in .intro-sub { transition-delay: .2s; }
.intro.btn-in .intro-go, .intro.btn-in .intro-note { opacity: 1; transform: none; }
.intro.btn-in .intro-go { animation: btn-float 4s ease-in-out 1s infinite; }
@keyframes btn-float { 50% { transform: translateY(-3px); } }
.intro-label { margin: 0; font: 700 14px/1 var(--font-head); letter-spacing: .14em; color: var(--on-blue-3); }
.intro-title { margin: 0; font: 900 clamp(34px, 9vw, 68px)/1.02 var(--font-head); letter-spacing: -.01em; text-wrap: balance; }
.intro-sub { margin: 0; color: var(--on-blue-2); font: 400 clamp(15px, 4.4vw, 18px)/1.3 var(--font-head); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.intro-go { min-width: 200px; min-height: 52px; font-size: 17px; margin-top: 10px; box-shadow: 0 12px 36px rgba(30, 50, 130, .32); }
.intro-note { margin: 4px 0 0; font-size: 14px; color: var(--on-blue-2); }
/* основная кнопка на синем: белая заливка, глубокий синий текст */
.intro .btn.primary, .hero .btn.primary { background: #FFFFFF; color: var(--deep); }
.intro .btn.primary:hover, .hero .btn.primary:hover { background: var(--on-blue-2); }

/* ---------- Шапка и навигация ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: calc(var(--sat) + 6px) var(--gut-r) 6px var(--gut);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); min-height: 44px; margin-right: auto; }
.brand-mark svg { width: 30px; height: 30px; color: var(--deep); overflow: visible; }
.brand-mark ellipse { fill: none; stroke: currentColor; }
.brand-mark .bm-r1 { stroke-width: 2.2; }
.brand-mark .bm-r2 { stroke-width: 1.2; opacity: .7; }
.brand-mark path { stroke: var(--accent); stroke-width: 2; fill: var(--surface); }
.brand-name { font: 700 23px/1 var(--font-head); letter-spacing: .01em; color: var(--deep); }
.brand-tag { font: 700 12px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
.topnav { display: none; gap: 4px; }
.topnav a { color: var(--text-2); font-weight: 700; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.topnav a:hover { color: var(--text); background: var(--raised); }
.topnav a[aria-current="page"] { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 0 0; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 4px var(--gut-r) calc(var(--sab) + 4px) var(--gut);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 -6px 24px rgba(30, 60, 120, .06);
  border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; color: var(--text-2); font-size: 13px; font-weight: 400; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--accent-ink); font-weight: 700; }
.tabbar a[aria-current="page"] svg { color: var(--accent); }

/* ---------- Страницы ---------- */
main {
  position: relative; max-width: 1080px; margin: 0 auto; outline: none;
  padding: 8px var(--gut-r) calc(var(--tab-h) + var(--sab) + 32px) var(--gut);
}
body.has-mini main { padding-bottom: calc(var(--tab-h) + var(--mini-h) + var(--sab) + 40px); }
main.enter > * { animation: page-in .5s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px) scale(.99); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.page { display: grid; gap: 28px; min-width: 0; }
.page > * { min-width: 0; }
.page-title { margin: 8px 0 0; font: 700 clamp(34px, 9vw, 58px)/1.05 var(--font-head); letter-spacing: -.005em; color: var(--text); outline: none; }
.sec-title { margin: 0 0 12px; font: 700 16px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--deep); display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ""; width: 18px; height: 2px; border-radius: 1px; background: var(--accent); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sec-head .sec-title { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: 15px; }
.more svg { width: 18px; height: 18px; }
.kicker { margin: 0; font: 700 14px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.demo-note { margin: 0; font-size: 13px; color: var(--text-3); border-left: 2px solid var(--line); padding-left: 10px; }
.small-note { margin: 0; font-size: 13px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: perspective(900px) translate3d(0, 34px, -60px) rotateX(6deg); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Главная */
.hero { display: flex; align-items: center; gap: 22px; padding: 26px 22px 24px; margin-top: 8px; will-change: transform;
  border-radius: 24px; color: var(--on-blue); background: radial-gradient(80% 120% at 0% 0%, rgba(30, 119, 188, .5), transparent 70%), var(--blue-scene);
  box-shadow: 0 20px 50px rgba(46, 49, 146, .22); }
.hero > div:last-child { min-width: 0; }
.hero.reveal.in { transform: none; transition: opacity .8s var(--ease); } /* параллакс без задержки */
.hero-mark { flex: none; }
.hero-mark .mark { --m: 92px; }
@media (max-width: 599px) { .hero { flex-direction: column; align-items: flex-start; gap: 14px; } .hero-mark .mark { --m: 120px; } }
.hero-title { margin: 0; font: 700 clamp(32px, 8.6vw, 68px)/1.02 var(--font-head); letter-spacing: -.005em; text-wrap: balance; }
.hero-sub { margin: 8px 0 8px; font: 400 clamp(15px, 4.4vw, 18px)/1.3 var(--font-head); letter-spacing: .04em; color: var(--on-blue-2); font-variant-numeric: tabular-nums; }
.hero .demo-note { color: var(--on-blue-2); border-left-color: var(--on-blue-line); }

.continue { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px var(--shadow); }
.cont-text { display: grid; gap: 4px; min-width: 0; flex: 1; }
.cont-title { color: var(--text); font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cont-text .muted { font-size: 14px; }
.cont-bar { height: 3px; border-radius: 2px; background: var(--raised); overflow: hidden; margin-top: 6px; }
.cont-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.play-lg { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.play-lg svg { width: 24px; height: 24px; }

/* Обложка-волна */
.cover { --hue: 210; width: 52px; height: 52px; flex: none; border-radius: 12px; display: grid; place-items: center; padding: 10px 8px; color: var(--accent);
  background: linear-gradient(145deg, hsl(var(--hue) 70% 96%), hsl(var(--hue) 60% 89%)); border: 1px solid var(--line); }
.cover svg { width: 100%; height: 100%; }
.cover svg rect { fill: currentColor; stroke: none; opacity: .85; }
.cover-lg { width: 64px; height: 64px; }
.cover-xl { width: 100%; max-width: 100%; height: 120px; padding: 22px 18px; border-radius: 20px; box-sizing: border-box; overflow: hidden; }
.cover-xl svg { max-width: 100%; }

/* Списки записей */
.talk-list, .plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.talk-row { display: flex; align-items: center; gap: 4px; border-radius: 14px; transition: background .2s; }
.talk-row:hover { background: var(--surface); box-shadow: 0 4px 16px var(--shadow); }
.tr-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 8px 4px 8px 4px; color: var(--text); min-height: 64px; }
.tr-text { display: grid; gap: 2px; min-width: 0; }
.tr-title { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-meta { color: var(--text-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); }
.tr-tags span + span::before { content: "·"; margin-right: 6px; }
.tag-text { color: var(--accent-ink); font-weight: 700; }
.play-sm { color: var(--accent-ink); }
.play-sm.is-current { background: var(--raised); }
.row-link { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--text); min-height: 56px; border-radius: 12px; }
.row-link:hover { background: var(--surface); }
.row-link > span:last-child { display: grid; }
.row-link .muted { font-size: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--deep); font-weight: 700; flex: none; border: 1px solid var(--line); }
.avatar.ev { border-radius: 12px; font: 700 16px var(--font-head); font-variant-numeric: tabular-nums; }
.avatar.xl { width: 72px; height: 72px; font-size: 28px; }

/* Карусель событий */
.car-nav { display: none; gap: 4px; }
.carousel { position: relative; height: 210px; perspective: 900px; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden; margin: 0 calc(-1 * var(--gut-r)) 0 calc(-1 * var(--gut)); outline-offset: -2px; }
.car-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.ev-card {
  --hue: 210; position: absolute; left: 50%; top: 10px; width: min(64vw, 260px); height: 186px; margin-left: calc(min(64vw, 260px) / -2);
  border-radius: 20px; padding: 16px; display: flex; flex-direction: column; color: var(--text);
  background: linear-gradient(160deg, #FFFFFF 35%, hsl(var(--hue) 70% 93%));
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(30, 60, 120, .14), inset 0 1px 0 #FFFFFF;
  backface-visibility: hidden; will-change: transform;
  -webkit-user-drag: none;
}
.ev-kind { font: 700 13px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.ev-year { font: 700 56px/1 var(--font-head); letter-spacing: -.01em; margin-top: auto; color: var(--deep); font-variant-numeric: tabular-nums; }
.ev-name { font-weight: 700; font-size: 16px; margin-top: 6px; line-height: 1.2; }
.ev-meta { font-size: 13px; color: var(--text-2); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 16px; transition: border-color .2s, transform .15s, background .2s; }
.chip:hover { border-color: var(--accent); background: var(--raised); }
.chip:active { transform: scale(.97); }

.random-card { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; text-align: start; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, var(--raised), var(--surface) 60%); box-shadow: 0 8px 24px var(--shadow); transition: transform .2s, border-color .2s; }
.random-card:hover { border-color: var(--accent); }
.random-card:active { transform: scale(.985); }
.random-card > span:last-child { display: grid; gap: 2px; }
.random-card b { font: 700 21px/1.15 var(--font-head); color: var(--deep); }
.rc-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.rc-icon svg { width: 24px; height: 24px; }

/* Каталог */
.search { position: relative; }
.search-field { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); color: var(--text-3); }
.search-field:focus-within { border-color: var(--accent); }
.search-field svg { width: 20px; height: 20px; flex: none; }
.search-field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 17px; min-height: 48px; }
.search-field input::placeholder { color: var(--text-3); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 15; max-height: min(60vh, 460px); overflow: auto; border-radius: 16px; background: rgba(255, 255, 255, .98); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(30, 60, 120, .18); padding: 6px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.sg-title { font: 700 13px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 12px 10px 6px; }
.sg-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; color: var(--text); text-align: left; }
.sg-item span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sg-item .muted { font-size: 13px; flex: none; }
.sg-item:hover, .sg-item.active { background: var(--raised); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.seg button { min-height: 40px; border-radius: 10px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 12px rgba(30, 119, 188, .25); }
.cat-body { display: grid; gap: 14px; min-width: 0; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut-r)) 0 calc(-1 * var(--gut)); padding: 2px var(--gut-r) 2px var(--gut); -webkit-overflow-scrolling: touch; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 15px; font-weight: 400; white-space: nowrap; position: relative; }
.pill::after { content: ""; position: absolute; inset: -3px 0; } /* цель касания ≥ 44px */
.pill.on { border-color: var(--accent); color: var(--accent-ink); background: var(--raised); font-weight: 700; }
.pill.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.reset { color: var(--text-2); border-style: dashed; }
.cat-bar { display: flex; align-items: center; gap: 8px; }
.count { margin: 0 auto 0 0; font: 700 15px/1.2 var(--font-head); letter-spacing: .04em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.sort select, .settings select, .field select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--text);
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%234A5B7E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
  font-size: 15px;
}
.empty { text-align: center; padding: 40px 0; display: grid; gap: 12px; justify-items: center; color: var(--text-2); }

/* Запись */
.talk-page { gap: 22px; }
.talk-hero { display: grid; gap: 8px; }
.talk-title { margin: 0; font: 700 clamp(32px, 8.4vw, 50px)/1.05 var(--font-head); letter-spacing: -.005em; outline: none; }
.talk-speaker { font-size: 19px; font-weight: 700; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.talk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-banner { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--raised); border: 1px solid var(--accent); color: var(--text); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.facts > div { background: var(--surface); padding: 12px 14px; }
.facts dt { font: 700 13px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 4px 0 0; }
.talk-desc { margin: 0; color: var(--text-2); max-width: 64ch; }
.person { display: flex; align-items: center; gap: 16px; }
.person .page-title { margin: 0; }

/* Моё, настройки */
.settings { display: grid; gap: 1px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--surface); min-height: 60px; }
.switch { width: 52px; height: 32px; border-radius: 16px; background: var(--track); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(20, 35, 74, .25); transition: transform .2s var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--on-accent); }
.switch::before { content: ""; position: absolute; inset: -6px; }
.up-item { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Добавить */
.add { max-width: 620px; }
.lead-sm { margin: 0; font-size: 17px; }
.login { display: grid; gap: 10px; }
.phone-form { display: grid; gap: 12px; margin-top: 6px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.field input, .field select { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); color: var(--text); font-size: 16px; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.up-form { display: grid; gap: 16px; }
.drop { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 28px 16px; border-radius: 18px; border: 1.5px dashed var(--track); background: var(--surface); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop:focus-within { border-color: var(--accent); }
.drop-title { font-weight: 700; font-size: 17px; color: var(--accent-ink); }
.file-check p { margin: 0; }
.err { color: var(--danger); }
.err::before { content: "Не подходит. "; font-weight: 700; }
.ok { color: var(--ok); }
.ok::before { content: "Проверено. "; font-weight: 700; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.check input { width: 22px; height: 22px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: flex; gap: 14px; padding: 0 0 18px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.done::before { background: var(--accent); }
.timeline li > span:last-child { display: grid; gap: 2px; }
.timeline .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--track); flex: none; margin-top: 2px; background: var(--bg); }
.timeline .done .dot { background: var(--accent); border-color: var(--accent); }
.timeline .now .dot { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(30, 119, 188, .18); animation: pulse 1.4s ease-in-out infinite; }
.timeline .now b { color: var(--accent-ink); }
.timeline li:not(.done):not(.now) b { color: var(--text-3); font-weight: 400; }
.timeline .muted { font-size: 14px; }
.tl-end { display: grid !important; gap: 10px; justify-items: start; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(30, 119, 188, .06); } }

/* ---------- Мини-плеер ---------- */
.mini {
  position: fixed; z-index: 29; left: var(--gut); right: var(--gut-r);
  bottom: calc(var(--tab-h) + var(--sab) + 8px);
  height: var(--mini-h); display: flex; align-items: center; gap: 2px; padding: 0 6px 0 8px;
  border-radius: 18px; background: rgba(232, 240, 250, .97); border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(30, 60, 120, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  touch-action: none; transition: transform .25s var(--ease); overflow: hidden;
}
.mini-progress { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; }
.mini-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.mini-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 56px; text-align: left; }
.mini-wave { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); padding: 0; flex: none; }
.mini-text { display: grid; min-width: 0; }
.mini-title { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-sub { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.intro-on .mini, body.intro-on .tabbar { visibility: hidden; }

/* ---------- Полный плеер ---------- */
.player {
  position: fixed; inset: 0; z-index: 40;
  color: var(--on-blue);
  background: radial-gradient(90% 50% at 50% 0%, rgba(30, 119, 188, .45), transparent 70%), linear-gradient(180deg, #2E3192 0%, #27459C 60%, #1B63A0 100%);
  --line: var(--on-blue-line); --track: rgba(255, 255, 255, .38);
  transform: translateY(100%); transition: transform .32s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.player.open { transform: none; }
.pl-inner { max-width: 720px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; gap: 14px; padding: calc(var(--sat) + 6px) var(--gut-r) calc(var(--sab) + 18px) var(--gut); }
.pl-top { display: flex; align-items: center; justify-content: space-between; touch-action: none; padding-top: 6px; }
/* «Свернуть» — справа, заметная круглая кнопка; «Поделиться» — слева, легче */
.pl-close { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #FFFFFF;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); transition: background .2s, transform .15s; }
.pl-close:hover { background: rgba(255, 255, 255, .26); }
.pl-close:active { transform: scale(.94); }
.pl-close svg { width: 26px; height: 26px; }
.pl-close svg path { stroke-width: 2.4; }
.player .pl-share { opacity: .82; }
.player .pl-share:hover { opacity: 1; }
.pl-top::before { content: ""; position: absolute; left: 50%; top: calc(var(--sat) + 4px); width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: var(--track); }
.pl-kicker { font: 700 13px/1 var(--font-head); letter-spacing: .08em; color: var(--on-blue-3); }
.player .icon-btn { color: var(--on-blue); }
.player .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.player a { color: var(--on-blue); }
.pl-meta { display: grid; gap: 4px; }
.pl-speaker { font-size: 17px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--on-blue-line); text-underline-offset: 4px; justify-self: start; min-height: 32px; display: inline-flex; align-items: center; }
.pl-title { margin: 0; font: 700 clamp(28px, 7.6vw, 40px)/1.08 var(--font-head); letter-spacing: -.005em; }
.pl-sub { margin: 0; font-size: 15px; color: var(--on-blue-2); }
.pl-stage { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 0; justify-content: center; }
/* «живой голос» за волной: на всю ширину плеера, с запасом сверху и снизу */
.pl-voice { position: absolute; z-index: 0; pointer-events: none; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut-r)); top: -14%; bottom: -14%; transition: opacity .4s; }
.pl-voice canvas { display: block; width: 100%; height: 100%; }
.pl-voice.static { background: radial-gradient(ellipse 62% 42% at 50% 50%, rgba(201, 221, 242, .26), rgba(201, 221, 242, .08) 55%, transparent 75%); }
.pl-wavebox, .pl-transcript { position: relative; z-index: 1; }
/* волна читается поверх: лёгкое затемнение под ней */
.pl-wavebox::before { content: ""; position: absolute; inset: -10px -8px 18px; z-index: -1; border-radius: 16px; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(46, 49, 146, .28), transparent 75%); pointer-events: none; }
.player.text-mode .pl-voice { opacity: 0; }
.pl-wave { width: 100%; height: 132px; display: block; touch-action: none; cursor: pointer; border-radius: 8px; }
.pl-times { display: flex; justify-content: space-between; font: 700 15px/1 var(--font-head); letter-spacing: .04em; color: var(--on-blue-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.pl-demo { color: var(--on-blue-3); font-weight: 400; }
.player.text-mode .pl-stage { justify-content: flex-start; min-height: 0; }
.player.text-mode .pl-inner { height: 100%; min-height: 0; gap: 10px; }
.player.text-mode .pl-sub { display: none; }
.player.text-mode .pl-transcript { min-height: 0; }
.player.text-mode .tr-list { max-height: none; min-height: 120px; }
.player.text-mode .pl-play { width: 64px; height: 64px; }
.player.text-mode .pl-wave { height: 54px; }
.player.text-mode .pl-meta .pl-title { font-size: 20px; }
.pl-controls { display: flex; align-items: center; justify-content: space-between; max-width: 400px; width: 100%; margin: 0 auto; }
.pl-controls .icon-btn { width: 52px; height: 52px; }
.pl-controls .icon-btn svg { width: 28px; height: 28px; }
.pl-play { width: 76px; height: 76px; border-radius: 50%; background: #FFFFFF; color: var(--deep); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(30, 50, 130, .32); transition: transform .15s; }
.pl-play:active { transform: scale(.95); }
.pl-play svg { width: 34px; height: 34px; }
.pl-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.speed { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; min-height: 56px; }
.speed .icon-btn { width: 40px; height: 44px; font-size: 22px; font-weight: 500; border-radius: 10px; }
.speed-val { font: 700 16px/1 var(--font-head); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.tool { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 14px; border: 1px solid var(--line); color: var(--on-blue-2); font-size: 12.5px; font-weight: 400; padding: 4px 2px; background: rgba(255, 255, 255, .06); }
.tool:hover { background: rgba(255, 255, 255, .14); }
.tool span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tool svg { width: 20px; height: 20px; }
.tool.on { color: var(--deep); border-color: #FFFFFF; background: #FFFFFF; font-weight: 700; }

/* Текст (субтитры) */
.pl-transcript { flex: 1; min-height: 220px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.tr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr-note { font-size: 14px; color: var(--on-blue-3); }
.player .btn.ghost { background: rgba(255, 255, 255, .10); color: var(--on-blue); border-color: var(--on-blue-line); }
.player .btn.ghost:hover { background: rgba(255, 255, 255, .2); }
.player .btn.primary { background: #FFFFFF; color: var(--deep); }
.player .muted { color: var(--on-blue-2); }
.tr-list { position: relative; flex: 1; overflow-y: auto; max-height: 42vh; min-height: 200px; display: flex; flex-direction: column; gap: 2px; padding: 4px 2px 40px; overscroll-behavior: contain; scroll-behavior: auto; }
.cue { flex: none; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; text-align: start; padding: 10px 10px; border-radius: 12px; color: var(--on-blue-3); font-size: 18px; line-height: 1.4; transition: color .25s, background .25s; min-height: 44px; }
.cue[dir="rtl"] { text-align: right; }
.cue-t { font: 700 13px/1 var(--font-head); letter-spacing: .04em; color: var(--on-blue-3); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .cue:hover { background: rgba(255, 255, 255, .10); color: var(--on-blue-2); } }
.cue.now { color: var(--on-blue); background: rgba(255, 255, 255, .14); box-shadow: inset 3px 0 0 #FFFFFF; }
.cue.now[dir="rtl"] { box-shadow: inset -3px 0 0 #FFFFFF; }
.cue.now .cue-t { color: var(--on-blue); }
.tr-empty { display: grid; gap: 10px; justify-items: start; padding: 10px 4px; margin: 0; }
.tr-empty p { margin: 0; }

/* ---------- Лист (фильтры, языки, таймер) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(20, 35, 74, 0); transition: background .22s; display: flex; align-items: flex-end; justify-content: center; }
.sheet.open { background: rgba(20, 35, 74, .38); }
.sheet-panel {
  width: 100%; max-width: 560px; max-height: 82vh; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 6px 0 calc(var(--sab) + 12px); transform: translateY(100%); transition: transform .26s var(--ease);
  box-shadow: 0 -20px 60px rgba(30, 60, 120, .18);
}
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { width: 38px; height: 5px; border-radius: 3px; background: var(--track); margin: 4px auto 2px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 6px 20px; touch-action: none; }
.sheet-head h2 { margin: 0; font: 700 22px/1.1 var(--font-head); color: var(--deep); }
.sheet-body { overflow-y: auto; padding: 0 10px; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 16px 0; display: flex; justify-content: flex-end; }
.sheet-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px 12px; border-radius: 12px; text-align: start; color: var(--text); }
.sheet-opt:hover { background: var(--raised); }
.opt-label { flex: 1; font-size: 16px; }
.opt-note { font-size: 13px; color: var(--text-3); }
.opt-check { width: 20px; height: 20px; color: var(--accent-ink); opacity: 0; }
.sheet-opt.on .opt-check { opacity: 1; }
.sheet-opt.on .opt-label { color: var(--accent-ink); font-weight: 700; }
.queue-list { margin: 0; padding: 0 0 0 4px; list-style: none; }
.pad { padding: 4px 12px; margin: 0 0 8px; }

.toast { position: fixed; left: 50%; top: calc(var(--sat) + 64px); z-index: 70; transform: translate(-50%, -10px); opacity: 0; transition: opacity .25s, transform .25s var(--ease);
  max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 15px; box-shadow: 0 14px 40px rgba(30, 60, 120, .18); overflow-wrap: anywhere; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Компьютер ---------- */
@media (min-width: 900px) {
  :root { --tab-h: 0px; --gut: 32px; --gut-r: 32px; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .topbar { padding-top: 10px; padding-bottom: 10px; }
  main { padding-top: 24px; }
  .page { gap: 40px; }
  .hero { padding: 40px 40px 36px; gap: 32px; }
  .hero-mark .mark { --m: 150px; }
  .mini { left: calc(50% - min(380px, 50vw - 32px)); right: auto; width: min(760px, calc(100vw - 64px)); bottom: 18px; }
  body.has-mini main { padding-bottom: 130px; }
  .car-nav { display: flex; }
  .carousel { height: 250px; margin: 0; border-radius: 20px; }
  .ev-card { width: 280px; height: 210px; margin-left: -140px; top: 16px; }
  .talk-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .player { background: rgba(20, 35, 74, .38); display: flex; justify-content: flex-end; }
  .player .pl-inner { margin: 0; width: min(560px, 100vw); background: radial-gradient(90% 50% at 50% 0%, rgba(30, 119, 188, .45), transparent 70%), linear-gradient(180deg, #2E3192 0%, #27459C 60%, #1B63A0 100%); box-shadow: -20px 0 60px rgba(30, 60, 120, .25); }
  .player { transform: none; opacity: 0; transition: opacity .28s; }
  .player.open { opacity: 1; }
  .player .pl-inner { transform: translateX(40px); transition: transform .32s var(--ease); }
  .player.open .pl-inner { transform: none; }
  .pl-top::before { display: none; }
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 22px; border-bottom: 1px solid var(--line); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .22s var(--ease), opacity .22s; }
  .sheet.open .sheet-panel { opacity: 1; }
  .sheet-grip { display: none; }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .animate .mk-b1, .animate .mk-b3, .animate .mk-dia, .intro-glow, .intro.btn-in .intro-go { animation: none !important; }
  main.enter > * { animation: none; }
  #bg { display: none; }
}

/* Пружинящие «магнитные» кнопки */
.btn.primary, .play-lg, .pl-play, .rc-icon { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .2s, box-shadow .3s; }
.magnet { transition: transform .12s ease-out, background .2s, box-shadow .3s; box-shadow: 0 12px 30px rgba(30, 119, 188, .30); }
@media (prefers-reduced-motion: reduce) { .magnet { transform: none !important; } }

/* Сайт: догрузка списков, лишнее скрыто */
.more-btn { display: flex; margin: 16px auto; }
.more-btn[hidden], .tool[hidden] { display: none !important; }
.small-note a { color: var(--accent-ink); }
.page.about p { max-width: 60ch; line-height: 1.55; }

/* ---------- Сайт v2: страницы рисует сервер, скрипт только улучшает ---------- */
/* без JS: заставка, плеер и анимации появления не должны скрывать или перекрывать содержимое */
html:not(.js) .intro, html:not(.js) .play-sm, html:not(.js) .talk-actions button, html:not(.js) .car-nav, html:not(.js) .mini, html:not(.js) .player { display: none !important; }
html:not(.js) .cover { display: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) #bg { display: none; }
html.js .filter-apply { display: none; }
.is-loading #view { opacity: .55; transition: opacity .2s; }

/* карусель тем: прокручиваемый ряд, пока 3D-режим не включён скриптом */
.carousel:not(.is-3d) { height: auto; perspective: none; overflow-x: auto; scrollbar-width: none; }
.carousel:not(.is-3d) .car-track { position: static; display: flex; gap: 12px; padding: 4px var(--gut) 14px; }
.carousel:not(.is-3d) .ev-card { position: static; flex: none; margin: 0; width: min(64vw, 260px); height: 186px; }

.seg a { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.seg a[aria-current="page"] { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 12px rgba(30, 119, 188, .25); }
/* Фильтр каталога: оба списка (год, сортировка) и кнопки — одной высоты и вида; стрелка своя, не системная
   (иначе iOS рисует «Любой год» и «Новые» по-разному). Телефон — две равные колонки, компьютер — по содержимому. */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .filter-field { position: relative; display: block; flex: 1 1 0; min-width: 140px; } /* «Сбросить» при нехватке места — на следующей строке, а не за счёт обрезки «Популярные» */
.filters .filter-field select {
  appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0 40px 0 16px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 15px; line-height: 42px; font-weight: 400;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%234A5B7E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer;
}
.filters .filter-field select:hover { border-color: var(--track); }
.filters .filter-field select:focus { outline: none; border-color: var(--accent); }
.filters .filter-field select:focus-visible { box-shadow: 0 0 0 3px rgba(30, 119, 188, .25); }
.filters .btn.sm { height: 44px; min-height: 44px; border-radius: 999px; flex: none; }
@media (min-width: 600px) { .filters .filter-field { flex: 0 0 auto; min-width: 170px; } .filters .filter-field select { width: auto; min-width: 170px; } }

/* Запись без аудио (файл ещё не выложен): кнопки неактивны, понятная подпись вместо ошибки */
.play-sm.no-audio, .play-sm.no-audio:hover { color: var(--text-3); background: none; opacity: 1; cursor: default; }
.talk-row.is-soon .cover { opacity: .55; filter: saturate(.4); }
.tr-tags .tag-soon { color: var(--text-2); font-weight: 700; }
.btn.no-audio:disabled { opacity: 1; background: var(--raised); color: var(--text-2); box-shadow: none; }
.soon-note { margin: -6px 0 0; }
.search { display: flex; gap: 8px; align-items: stretch; }
.search .search-field { flex: 1; min-width: 0; }
a.random-card { text-decoration: none; color: inherit; }

.crumbs { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--text); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }

.notice { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.notice.ok { border-color: var(--accent); background: var(--raised); }
.notice.err { border-color: #C0392B; background: #FDF1EF; color: #8A2318; }
.notice ul { margin: 0; padding-left: 18px; }
.form { display: grid; gap: 16px; max-width: 560px; }
.field small { font-size: 13px; }
.field input[type="file"] { min-height: 0; padding: 12px 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.upload-status { margin: 0; }
/* регистрация: стандартный main.register выводит таблицу */
main form[name="regform"] table { border-collapse: collapse; width: 100%; max-width: 560px; }
main form[name="regform"] td { padding: 6px 0; vertical-align: top; }
main form[name="regform"] input[type="text"], main form[name="regform"] input[type="password"], main form[name="regform"] input[type="email"] { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); color: var(--text); font-size: 16px; width: 100%; max-width: 360px; }
main form[name="regform"] input[type="submit"] { min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 700; border: 0; cursor: pointer; }
.starrequired { color: #C0392B; }

/* ---------- Вход, загрузка, модерация ---------- */
.topnav .is-locked, .tabbar .is-locked { opacity: .45; cursor: not-allowed; }
.topnav .is-locked { color: var(--text-2); font-weight: 700; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; }
.tabbar .is-locked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; color: var(--text-2); font-size: 13px; }
.tabbar .is-locked svg { width: 24px; height: 24px; }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger-fill { background: var(--danger); color: #FFFFFF; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.auth-grid { display: grid; gap: 24px; max-width: 560px; }
.auth-sms { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.auth-sms h2 { margin: 0; font: 700 22px/1.1 var(--font-head); color: var(--deep); }
.auth-sms p { margin: 0; }
.auth-sms .btn { justify-self: start; }
.auth-sms .sms-note { color: var(--text-2); font-size: 14px; }
.phone-auth { display: grid; gap: 12px; }
.phone-auth .form { max-width: none; }
.phone-auth .phone-lead { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
.phone-auth .code-input { font: 700 28px/1 var(--font); letter-spacing: .5em; text-align: center; max-width: 220px; }
.phone-auth .btn { justify-self: start; }
.phone-auth .btn:disabled { opacity: .55; }
.phone-auth .notice { margin: 0; }
.phone-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.phone-captcha { display: grid; gap: 10px; }
.phone-captcha img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }

.field.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px var(--shadow); max-height: 280px; overflow: auto; }
.combo-list[hidden] { display: none; }
.combo-list li { min-height: 44px; padding: 0 12px; display: flex; align-items: center; border-radius: 8px; color: var(--text); font-size: 16px; cursor: pointer; }
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: var(--raised); color: var(--accent-ink); }

.upload-progress { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.upload-progress[hidden] { display: none; }
.upload-bar { height: 10px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.upload-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); transition: transform .25s linear; }
.upload-progress .upload-status { margin: 0; font-weight: 700; color: var(--text); }
.upload-warn { margin: 0; color: var(--danger); font-size: 14px; font-weight: 700; }
.upload-choice { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.upload-done { display: grid; gap: 16px; max-width: 560px; }

.mod-count { margin: 0; font-size: 14px; color: var(--text-2); }
.mod { display: grid; gap: 16px; }
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.mod-card { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 18px var(--shadow); transition: opacity .3s, transform .3s; }
.mod-card.mod-gone { opacity: 0; transform: scale(.97); }
.mod-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; justify-content: space-between; }
.mod-title { margin: 0; font: 700 22px/1.15 var(--font-head); color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.mod-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--raised); color: var(--accent-ink); white-space: nowrap; }
.mod-status.st-error { background: #FDF1EF; color: #8A2318; }
.mod-status.st-processing, .mod-status.st-approved { background: #E6F4EC; color: var(--ok); }
.mod-audio { width: 100%; min-height: 44px; accent-color: var(--accent); }
.mod-meta { display: grid; gap: 6px 16px; margin: 0; grid-template-columns: minmax(0, 1fr); }
.mod-meta div { display: flex; gap: 8px; min-width: 0; }
.mod-meta dt { flex: none; width: 96px; color: var(--text-2); font-size: 14px; }
.mod-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.mod-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--raised); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.mod-actions, .mod-confirm p { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.mod-confirm { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--danger); border-radius: 12px; background: #FDF1EF; }
.mod-confirm[hidden] { display: none; }
.mod-confirm > p:first-child { color: #8A2318; }
.mod-msg { margin: 0; font-size: 14px; }
.mod-msg.bad { color: var(--danger); font-weight: 700; }
@media (min-width: 900px) {
  .mod-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .mod-card, .upload-bar i { transition: none; }
}

/* ---------- Приёмка, круг 1 ---------- */
/* Однотипные контролы одной высоты 48 px (≥ 44 на телефоне): сегмент вкладок, списки фильтра, поле поиска, кнопки рядом */
.seg { padding: 2px; gap: 2px; min-height: 48px; box-sizing: border-box; }
.seg a { min-height: 42px; }
.filters .filter-field select { height: 48px; line-height: 46px; }
.filters .btn.sm { height: 48px; min-height: 48px; }
.search-field { min-height: 48px; box-sizing: border-box; }
.search-field input { min-height: 46px; }
.search .btn { min-height: 48px; }
/* «Только со звуком» — переключатель (галочка внутри, видна дорожка) */
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 2px; cursor: pointer; font-size: 15px; color: var(--text); }
.toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.toggle-ui { width: 44px; height: 26px; border-radius: 13px; background: var(--track); position: relative; flex: none; transition: background .2s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(20, 35, 74, .25); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--accent); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-ui { box-shadow: 0 0 0 3px rgba(30, 119, 188, .3); }
.filters .toggle { flex: 1 0 100%; }
@media (min-width: 600px) { .filters .toggle { flex: none; margin-left: 4px; } }

/* Списки тем и спикеров: на компьютере — сетка, как у списка записей */
@media (min-width: 900px) { .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; } }
@media (min-width: 1100px) { .grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.avatar.ev { font-size: 18px; }

/* Строки записей: длительность вместо значка часов; без звука — только метка «Аудио скоро» */
.tr-tags .tag-dur { font-variant-numeric: tabular-nums; }
.tr-tags .tag-pos { color: var(--accent-ink); font-weight: 700; }

/* Факты записи: на телефоне две колонки, последняя нечётная ячейка — во всю ширину (без пустой серой) */
@media (max-width: 899px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.facts dd { overflow-wrap: anywhere; }

/* Счётчики разделов поиска, «Показать всех», подзаголовок и «← назад» */
.sec-count { color: var(--text-3); letter-spacing: 0; }
.more-list { margin-top: 8px; }
.more-list > summary { list-style: none; cursor: pointer; width: max-content; }
.more-list > summary::-webkit-details-marker { display: none; }
.more-list[open] > summary { display: none; }
.page-sub { margin: -16px 0 0; font-size: 17px; }
.pager-count { font-variant-numeric: tabular-nums; }

/* Значок входа/«Моё» в шапке — только на телефоне (на компьютере есть верхнее меню) */
.top-user[aria-current="page"] { color: var(--accent-ink); background: var(--raised); }
@media (min-width: 900px) { .top-user { display: none; } }

/* Вход: «Логин и пароль» свёрнут под ссылку */
.auth-pass > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; font-weight: 700; }
.auth-pass > summary::-webkit-details-marker { display: none; }
.auth-pass[open] > summary { display: none; }
.auth-pass { display: grid; gap: 12px; }

/* Мини-плеер: ручка и шеврон (раскрывается), прогресс 3 px с дорожкой, время «12:31 / 47:10» */
.mini-grip { position: absolute; top: 5px; left: 50%; width: 32px; height: 4px; margin-left: -16px; border-radius: 2px; background: var(--track); opacity: .55; pointer-events: none; }
.mini-progress { left: 0; right: 0; height: 3px; background: rgba(125, 141, 174, .28); }
.mini-sub { display: flex; gap: 8px; min-width: 0; }
.mini-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mini-time { flex: none; font-variant-numeric: tabular-nums; color: var(--text-2); }
.mini-time:empty { display: none; }
.mini-chev { width: 20px; height: 20px; flex: none; margin-left: auto; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Появление секций: только сдвиг, без opacity: 0 — текст виден и до срабатывания IntersectionObserver */
.reveal { opacity: 1; transform: translate3d(0, 18px, 0); transition: transform .7s var(--ease); }
.reveal.in { transform: none; }

/* Заголовок героя: бегущие буквы — слоем поверх неизменного текста */
.scr { position: relative; }
.scr .scr-orig { opacity: 0; }
.scr .scr-vis { position: absolute; inset: 0; overflow: hidden; }

/* Подсказка спутника на заставке не прижимается к краю */
.sat-tip { max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }

/* 404 */
.notfound .upload-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

/* ---------- Строки списков (приёмка, круг 2): PlumbC Light, крупно и плотно ---------- */
/* имена спикеров и названия в строках-ссылках: 26–28 px, межстрочный 1.15, длинные имена переносятся по словам */
.row-link { gap: 12px; padding: 7px 4px; min-height: 52px; align-items: center; }
.row-link > span:last-child { display: grid; gap: 1px; min-width: 0; }
.row-link b { font: 300 clamp(26px, 7vw, 28px)/1.15 var(--font-head); letter-spacing: 0; color: var(--text); overflow-wrap: anywhere; text-wrap: pretty; }
.row-link .muted { font: 400 17px/1.25 var(--font); }
.row-link .avatar { width: 40px; height: 40px; font: 400 20px/1 var(--font-head); }
/* названия записей: 22–24 px PlumbC Light, переносятся (не обрезаются); мета — PT Sans 17 px */
.tr-main { padding: 8px 4px; min-height: 60px; }
.tr-title { font: 300 clamp(22px, 6vw, 24px)/1.15 var(--font-head); letter-spacing: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-wrap: pretty; }
.tr-meta { font: 400 17px/1.3 var(--font); white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.tr-tags { font-size: 14px; }
/* действие «В очередь» в строке записи */
.queue-sm { color: var(--text-2); }
.queue-sm.is-queued { color: var(--accent-ink); background: var(--raised); }
/* «← Назад» над крошками: на поиске, странице спикера, темы и записи */
.back-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 4px 0 -6px -8px; padding: 0 12px 0 6px; border-radius: 999px; color: var(--accent-ink); font: 400 17px/1 var(--font); }
.back-link svg { width: 22px; height: 22px; }
.back-link:hover { background: var(--raised); }
.top-search[aria-current="page"] { color: var(--accent-ink); background: var(--raised); }
/* Поиск в шапке: поле раскрывается поверх шапки */
.top-search-form { position: absolute; left: 0; right: 0; bottom: 0; top: var(--sat); z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px var(--gut-r) 6px var(--gut); background: var(--bg); }
.top-search-form[hidden] { display: none; }
.top-search-form .search-field { flex: 1; min-width: 0; min-height: 44px; }
.top-search-form .search-field input { min-height: 42px; }
.top-search-form .suggest { left: var(--gut); right: var(--gut-r); }
/* Подсказки: пункты-ссылки, крупно (PlumbC Light), спикер записи — PT Sans */
.suggest .sg-item { text-decoration: none; }
.suggest .sg-main { font: 300 22px/1.15 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.suggest .sg-item .muted { font: 400 15px/1.2 var(--font); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .sg-all { padding: 8px 10px 6px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--line); margin-top: 6px; }

/* End */
/* /local/templates/speakeria/template_styles.css?179435088071690 */
