:root {
  --bg: #0b0b0f;
  --surface: #16161d;
  --line: rgba(255,255,255,.08);
  --fg: #f4f4f6;
  --muted: rgba(244,244,246,.62);
  --accent: #ff2d55;
  --accent-bg: #e0224f;
  --accent-fg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 18px; margin: 28px 0 12px; }

.bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; background: rgba(11,11,15,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.hsearch { position: relative; flex: 0 1 300px; min-width: 180px; margin: 0; }
.hsearch input { width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); color: var(--fg);
  border-radius: 999px; padding: 8px 14px 8px 34px; font: inherit; font-size: 14px; }
.hsearch .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-52%); color: var(--muted); font-size: 18px; pointer-events: none; }
.hsearch .sugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; max-width: 92vw; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 5; }
.hsearch .sugg a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--fg); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsearch .sugg a:hover, .hsearch .sugg a:focus { background: rgba(255,255,255,.06); }
.hsearch .sugg small { color: var(--muted); margin-left: 8px; }
.hsearch .sugg .none { margin: 8px 10px; color: var(--muted); font-size: 14px; }
.hsearch .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #555; margin-right: 8px; vertical-align: 1px; }
.hsearch .dot.on { background: var(--accent); }
@media (max-width: 700px) { .hsearch { flex: 1 1 auto; min-width: 0; } .bar .cats { display: none; } }
.cats { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { white-space: nowrap; text-decoration: none; padding: 6px 12px; border-radius: 999px; color: var(--muted); }
.cats a small { opacity: .78; }
.cats a.on, .cats a:hover { background: var(--surface); color: var(--fg); }

.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-bg); color: var(--accent-fg);
  text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; white-space: nowrap; }
.btn.big { padding: 12px 20px; font-size: 16px; }
.btn.alt { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 16px 16px 40px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.lead { max-width: 720px; margin: 8px 0 8px; }
.lead p { color: var(--muted); }
.empty { color: var(--muted); padding: 40px 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.card { display: block; text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; font-weight: 800; font-size: 44px;
  color: rgba(244,244,246,.55); background: radial-gradient(circle at 30% 20%, rgba(255,45,85,.28), transparent 60%), var(--surface); }
.hero .ph { font-size: 96px; }
.thumb .rank { position: absolute; z-index: 1; right: 8px; top: 8px; font-size: 13px; font-weight: 800; padding: 2px 8px;
  border-radius: 6px; background: rgba(11,11,15,.75); color: var(--fg); }
.card[id^="rank-"] { scroll-margin-top: 80px; }
.card[id^="rank-"]:target .thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0; }
.pager a, .pager b { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.pager b { background: var(--accent-bg); border-color: var(--accent-bg); color: var(--accent-fg); }
.card:hover .thumb img { transform: scale(1.03); transition: transform .2s; }
.live, .off { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
  padding: 2px 7px; border-radius: 4px; background: var(--accent-bg); color: #fff; font-style: normal; }
.off { background: rgba(0,0,0,.6); color: var(--muted); font-weight: 600; }
.hdb { position: absolute; bottom: 6px; left: 8px; font-size: 11px; font-weight: 800; font-style: normal; letter-spacing: .03em;
  background: rgba(0,0,0,.5); padding: 1px 6px; border-radius: 4px; }
.eye { position: absolute; bottom: 6px; right: 8px; font-size: 12px; font-style: normal; background: rgba(0,0,0,.5);
  padding: 1px 6px; border-radius: 4px; }
.name { display: block; font-weight: 600; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src { display: block; font-size: 12px; color: var(--muted); }

.model { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 800px) { .model { grid-template-columns: 1fr; gap: 16px; } }
.hero { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface); }
.hero img, .hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .live, .hero .off { top: 12px; left: 12px; font-size: 13px; }
.hero.safe { aspect-ratio: 3 / 4; width: min(100%, 420px, 52.5vh); justify-self: center; margin-inline: auto; }
.hero .sil { display: block; width: 100%; height: 100%; filter: blur(9px); transform: scale(1.1); }
.play { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; font-size: 56px; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.6); opacity: .85; }
.info .sub { color: var(--muted); margin: 0 0 16px; }
.vs { font-weight: 700; font-size: 13px; }
.vs.up { color: #2fbf71; }
.vs.down { color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.topic { margin: 0 0 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; overflow-wrap: anywhere; }
.goal { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.goal i { display: block; height: 100%; background: var(--accent); }
.bio { max-width: 760px; }
.trbtn { margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; vertical-align: middle; }
.trtext { margin: 6px 0 0; color: var(--muted); }
.trtext span { font-size: 12px; }
.bio blockquote + .trtext { margin: -6px 0 12px; padding-left: 17px; }
.trbtn:disabled { opacity: .6; cursor: default; }
.bio blockquote { margin: 0 0 12px; padding: 0 0 0 14px; border-left: 3px solid var(--accent); overflow-wrap: anywhere; }
.bio h3 { font-size: 15px; margin: 16px 0 6px; color: var(--muted); }
.bio p { margin: 0; overflow-wrap: anywhere; }
.tags a { display: inline-block; text-decoration: none; background: var(--surface); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px; margin: 0 4px 6px 0; font-size: 13px; }
.tags a:hover { border-color: var(--accent); }

.foot { max-width: 1200px; margin: 0 auto; padding: 8px 16px 40px; border-top: 1px solid var(--line); }
.fine { color: var(--muted); font-size: 12px; }
.legal-links { font-size: 13px; color: var(--muted); }
.legal-links a { color: var(--muted); }
.legal { max-width: 760px; }
.legal h2 { font-size: 17px; margin-top: 26px; }
.legal p, .legal li { color: var(--fg); opacity: .9; }
.legal a { color: var(--accent); }

#gate { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#gate[hidden] { display: none; }
.gate-box { max-width: 400px; text-align: center; }
.gate-box p { color: var(--muted); margin-bottom: 22px; }
.gate-box .leave { display: block; margin-top: 16px; color: var(--muted); font-size: 13px; }
.removal-form { display: grid; gap: 14px; margin-top: 12px; }
.removal-form label { display: grid; gap: 6px; font-size: 14px; }
.removal-form input, .removal-form select, .removal-form textarea { font: inherit; color: var(--fg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.removal-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.removal-form .check input { width: auto; margin-top: 3px; }
.removal-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.removal-form .btn { justify-self: start; margin-top: 4px; box-shadow: 0 4px 18px rgba(255,45,85,.35); transition: transform .1s, box-shadow .15s, filter .15s; }
.removal-form .btn:hover { filter: brightness(1.08); box-shadow: 0 6px 22px rgba(255,45,85,.5); }
.removal-form .btn:active { transform: translateY(1px) scale(.98); }
.form-ok { color: #3ddc84; }
.form-err { color: #ff6b6b; }
.logo .inf { font-weight: 800; font-size: 1.15em; line-height: 0; letter-spacing: -.02em; }
.schedule { margin-top: 28px; }
.heat { display: grid; gap: 3px; max-width: 640px; margin: 12px 0 6px; }
.hrow { display: grid; grid-template-columns: 38px repeat(24, 1fr); gap: 3px; align-items: center; }
.hrow span { font-size: 12px; color: var(--muted); }
.hrow i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--accent); }
.chart-title { font-size: 15px; margin: 22px 0 8px; }
.abars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 140px; padding-top: 20px; max-width: 640px;
  border-bottom: 1px solid var(--line); }
.abars i { display: flex; align-items: flex-end; height: 100%; cursor: default; }
.abars i:hover b, .abars i.on b { opacity: 1; }
.abars b { position: relative; }
.abars em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px;
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--fg); white-space: nowrap; }
.abars-cap { margin: 6px 0 0; font-size: 14px; color: var(--fg); min-height: 1.4em; }
.abars b { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .8; }
.abars-axis { display: flex; justify-content: space-between; max-width: 640px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.hhead b { font-size: 11px; font-weight: 500; color: var(--muted); }
.section-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.section-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.section-stats .wide { grid-column: 1 / -1; }
.section-stats dt { font-size: 12px; color: var(--muted); }
.section-stats dd { margin: 2px 0 0; font-weight: 700; }
.filters { margin: 0 0 18px; }
.filters summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
.fgroup { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.fgroup span { font-size: 12px; color: var(--muted); width: 100%; }
.fchip { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.fchip.on { background: #fff; color: #000; border-color: #fff; }
.fchip small { opacity: .6; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.player.portrait { aspect-ratio: 9 / 16; max-height: 72vh; margin: 0 auto; }
.player .poster, .player video, .player iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player:not(.portrait) video { object-fit: contain; }
.player video, .player iframe { opacity: 0; transition: opacity .25s; }
.player.ready video, .player.ready iframe { opacity: 1; }
.player .live { position: absolute; top: 12px; left: 12px; font-size: 13px; z-index: 2; }
/* «Watch in feed» — кнопкой, а не свайпом вверх по видео: на телефоне свайп
   вверх — это прокрутка страницы к анкете, и попытка прокрутить уводила
   в ленту (04.10). Кнопка звука — вверху справа: внизу на узком видео
   (~270 точек) обе не помещались и наезжали друг на друга. */
.pfeed { position: absolute; left: 10px; bottom: 10px; z-index: 2; border-radius: 999px; padding: 7px 12px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
/* На телефоне плеер ниже: под ним видно начало анкеты — понятно, что дальше есть что листать. */
@media (max-width: 700px) { .player.portrait { max-height: 60vh; } }
.psnd { position: absolute; right: 10px; top: 10px; z-index: 2; border: 0; border-radius: 999px; padding: 7px 12px;
  background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.pstall { display: none; position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 12px; z-index: 2;
  background: rgba(0,0,0,.7); font-size: 13px; }
.player.stalled .pstall { display: block; }
.similar-top { margin-top: 20px; }
.similar-top .btn { margin-top: 14px; }

.best-time, .insights .ins { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0; }
.best-time h2, .insights .ins h2 { margin: 0 0 10px; font-size: 16px; }
.best-time .bars { display: flex; align-items: flex-end; gap: 3px; height: 70px; }
.best-time .bars i { flex: 1; background: linear-gradient(var(--accent), #7a2fd0); border-radius: 3px 3px 0 0; opacity: .85; }
.best-time .axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.best-time .peak { margin: 8px 0 0; font-size: 14px; }
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.insights .ins { margin: 0; }
.insights ol { list-style: none; margin: 0; padding: 0; }
.insights li a { display: flex; align-items: center; gap: 10px; padding: 5px 0; text-decoration: none; }
.insights li img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.insights li b { margin-left: auto; font-size: 13px; }
.insights .up { color: #3ddc84; }
.insights .heart { color: var(--accent); }
.insights .big { font-size: 28px; font-weight: 700; margin: 0; }

.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stat-table th, .stat-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.stat-table th:first-child, .stat-table td:first-child { text-align: left; }
.stat-table th { color: var(--muted); font-weight: 600; font-size: 12px; }

.badge-maker input, .badge-maker textarea { width: 100%; box-sizing: border-box; background: var(--surface); color: inherit;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; }
.badge-maker textarea { font-family: ui-monospace, Menlo, monospace; font-size: 12px; resize: vertical; }
.badge-maker .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.badge-maker .chip { background: var(--surface); border: 1px solid var(--line); color: inherit; border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; }
.badge-maker h3 { font-size: 14px; margin: 14px 0 6px; color: var(--muted); }
.badge-demo img { vertical-align: middle; }

.badge-demo svg { vertical-align: middle; margin-left: 6px; }
.where { padding-left: 18px; line-height: 1.5; }
.where li { margin: 6px 0; }

.hd { font-size: 11px; padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; vertical-align: 1px; }

/* Safari < 15 (iOS 14) не знает aspect-ratio: у плеера страницы модели
   всё содержимое абсолютное, и без пропорции он схлопывался в ноль. */
@supports not (aspect-ratio: 1 / 1) {
  .player { height: 0; padding-top: 56.25%; }
  .player.portrait { padding-top: 0; height: 60vh; }
}
.avbox { max-width: 1200px; margin: 12px auto 0; padding: 0 16px; box-sizing: border-box; }
.avbox p { margin: 0 0 10px; font-size: 14px; color: var(--muted); max-width: 640px; }
.avbtn { display: inline-flex; align-items: center; gap: 10px; background: #004db3; color: #fff; font-weight: 600; text-decoration: none; border-radius: 999px; padding: 10px 18px; }
.avbtn svg { width: 27px; height: 15px; flex: none; }
.avbtn.big { padding: 12px 20px; font-size: 16px; }
.avnote { margin: -4px 0 14px; font-size: 13px; color: var(--muted); }
.hero.promo { aspect-ratio: 9 / 16; width: min(100%, 380px, 60vh); justify-self: center; margin-inline: auto; }
.hero.promo video, .hero.promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-note { margin: 6px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 14px; }
.calls-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.calls-tabs a { color: var(--fg); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.calls-tabs a small { color: var(--muted); margin-left: 4px; }
.calls-tabs a.on { background: var(--accent-bg); border-color: var(--accent-bg); color: #fff; }
.calls-tabs a.on small { color: rgba(255,255,255,.8); }
.calls { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.call-card { background: var(--surface); border-radius: 14px; overflow: hidden; }
.call-card .pic { position: relative; display: block; aspect-ratio: 16 / 10; background: #111; }
.call-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.call-card .avail { position: absolute; top: 8px; left: 8px; background: #1f9d55; color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 5px; }
.call-card .ppm { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 5px; }
.call-card .meta { padding: 10px 12px 12px; display: grid; gap: 3px; }
.call-card small { color: var(--muted); font-size: 12px; }
.call-card .callbtn { position: absolute; left: 8px; bottom: 8px; background: var(--accent-bg); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.call-card .nm { color: var(--fg); text-decoration: none; }
.call-card .nm:hover { text-decoration: underline; }
.callhero .avail { position: absolute; top: 12px; left: 12px; background: #1f9d55; color: #fff; font-size: 13px; padding: 3px 9px; border-radius: 6px; font-weight: 700; }
.callhero .ppm { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: 14px; padding: 3px 9px; border-radius: 6px; }
.callhero .callbtn { position: absolute; left: 12px; bottom: 12px; background: var(--accent-bg); color: #fff; font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.callpics { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-template-rows: auto; grid-auto-rows: 0; column-gap: 10px; row-gap: 0; overflow: hidden; margin-bottom: 18px; }
.callpics .more { position: relative; display: block; cursor: zoom-in; }
.callpics .more::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; font-weight: 700; pointer-events: none; }
.callpics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; cursor: zoom-in; }
.lbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lbox[hidden] { display: none; }
.lbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.lbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; cursor: pointer; }
.lbox .lprev { left: 14px; top: 50%; transform: translateY(-50%); }
.lbox .lnext { right: 14px; top: 50%; transform: translateY(-50%); }
.lbox .lclose { right: 14px; top: 14px; font-size: 22px; }
.lbox .lcount { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 14px; }
.callpics .vtile { position: relative; display: block; cursor: pointer; }
.callpics .vtile b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); pointer-events: none; }
.lbox .lvid { max-width: 94vw; max-height: 88vh; border-radius: 8px; background: #000; }
.lbox .lvid[hidden], .lbox img[hidden] { display: none; }

.ohist { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0; }
.ohist h2 { margin: 0 0 4px; font-size: 16px; }
.oh-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.oh-filters .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.oh-filters button { background: none; border: 0; color: var(--muted); padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.oh-filters button.on { background: var(--accent-bg); color: #fff; }
.oh-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.oh-legend button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.oh-legend button.off { opacity: .45; text-decoration: line-through; }
.oh-legend button.off i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
.oh-legend .all { color: var(--muted); border-style: dashed; }
.oh-legend i, .oh-tip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.oh-chart { position: relative; }
.oh-chart svg { width: 100%; height: 300px; display: block; }
.oh-chart .grid { stroke: var(--line); }
.oh-chart .cross { stroke: rgba(255,255,255,.35); }
.oh-chart .ax { fill: var(--muted); font-size: 11px; }
.oh-tip { position: absolute; top: 8px; pointer-events: none; background: rgba(11,11,15,.95); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; min-width: 160px; }
.oh-tip p { margin: 0 0 4px; color: var(--muted); }
.oh-tip div { display: flex; align-items: center; gap: 6px; }
.oh-tip b { margin-left: auto; padding-left: 12px; }
.oh-table { margin-top: 10px; font-size: 13px; }
.oh-table summary { cursor: pointer; color: var(--muted); }
.stat-sec h2 { margin: 40px 0 2px; }
.stat-sec .stat-table th { padding-top: 0; }
/* Вертикальный эфир на компьютере (08.10): колонка видео по ширине самого
   видео, анкета рядом, вся пара по центру — без пустых полей вокруг видео. */
@media (min-width: 801px) {
  .model:has(.player.portrait) { grid-template-columns: auto minmax(0, 620px); justify-content: center; gap: 40px; }
  .model:has(.player.portrait) .player.portrait { width: min(calc(72vh * 9 / 16), 460px); margin: 0; }
  .model .info > h1:first-child { margin-top: -6px; }
}
.newdays { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.newdays div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.newdays i { width: 100%; background: linear-gradient(var(--accent), #7a2fd0); border-radius: 3px 3px 0 0; opacity: .85; min-height: 2px; }
.newdays small { color: var(--muted); font-size: 10px; margin-top: 3px; }
