/* =====================================================================
   TGRAMCAT — «Нуар и золото»
   Тёмный фон, шампанское золото, заголовки с засечками, мраморная статуя.
   Шрифты: Cormorant Garamond (заголовки) + Manrope (текст).
   ===================================================================== */
:root {
  --bg: #0A0908;
  --bg-2: #0F0D0B;
  --surface: rgba(26, 23, 19, .78);
  --surface-solid: #17140F;
  --surface-2: #201B16;
  --surface-3: #2A241D;
  --glass: rgba(20, 17, 14, .72);
  --line: rgba(216, 185, 138, .13);
  --line-2: rgba(216, 185, 138, .26);
  --line-3: rgba(216, 185, 138, .45);
  --gold: #D8B98A;
  --gold-2: #F2DEB9;
  --gold-3: #A8875A;
  --gold-ink: #1B1409;
  --text: #F3EEE6;
  --text-2: #B9B0A3;
  --text-3: #80786C;
  --ok: #8FC9A0;
  --warn: #E5B865;
  --danger: #E0786B;
  --grad: linear-gradient(135deg, #F4E2BF 0%, #D8B98A 45%, #9C7A4C 100%);
  --grad-soft: linear-gradient(135deg, rgba(242, 222, 185, .14), rgba(168, 135, 90, .06));
  --card-bg: linear-gradient(160deg, rgba(42, 36, 29, .9), rgba(20, 17, 14, .94) 60%);
  --shadow-s: 0 6px 18px -10px rgba(0, 0, 0, .8);
  --shadow: 0 22px 50px -26px rgba(0, 0, 0, .95);
  --shadow-l: 0 40px 80px -34px rgba(0, 0, 0, 1);
  --r-s: 12px; --r-m: 18px; --r-l: 22px; --r-xl: 28px;
  --f-display: 'Cormorant Garamond', 'Lora', 'Liberation Serif', Georgia, serif;
  --f-body: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --wrap: 1320px;
  /* совместимость со старыми шаблонами кабинета */
  --ink: var(--text); --ink-2: var(--text-2); --ink-3: var(--text-3); --paper: var(--surface-solid); --paper-2: var(--surface-2);
  --tg: var(--gold); --red: var(--danger); --stamp: var(--gold); --mint: var(--ok); --bd: var(--line-2); --sky: var(--bg);
  --brand: var(--gold); --brand-2: var(--gold-2);
  color-scheme: dark;
}
/* оттенок рубрики (класс c0…c5 = id рубрики % 6) — приглушённые «драгоценные» цвета */
.c0 { --cc: #8FB1DB; } .c1 { --cc: #B49BDB; } .c2 { --cc: #DB9BB3; } .c3 { --cc: #DDB07A; } .c4 { --cc: #8FC9A9; } .c5 { --cc: #82C2CC; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 15.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; position: relative; z-index: 1; overflow-x: clip; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.005em; color: var(--text); }
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(216, 185, 138, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2C261F; border-radius: 10px; border: 2px solid var(--bg); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr:focus { position: fixed; z-index: 999; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--surface-solid); border-radius: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
svg[aria-hidden="true"]:not([class]) { width: 1.1em; height: 1.1em; flex-shrink: 0; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes angspin { to { --ang: 360deg; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes shine { 0%, 65% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* ---------- Фон: виньетка, зерно, золотая пыль ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% -10%, rgba(216, 185, 138, .09), transparent 60%), radial-gradient(700px 500px at -10% 30%, rgba(216, 185, 138, .05), transparent 60%), radial-gradient(1200px 600px at 50% 120%, rgba(120, 90, 50, .08), transparent 60%); }
.aurora::after { content: ''; position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
.aurora i { position: absolute; top: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px 2px rgba(242, 222, 185, .6); opacity: 0; animation: dust 14s linear infinite; }
.aurora i:nth-child(1) { left: 18%; }
.aurora i:nth-child(2) { left: 62%; animation-delay: -5s; animation-duration: 18s; }
.aurora i:nth-child(3) { left: 84%; animation-delay: -9s; animation-duration: 16s; }
@keyframes dust { 0% { transform: translateY(105vh); opacity: 0; } 10% { opacity: .7; } 90% { opacity: .5; } 100% { transform: translateY(-5vh) translateX(40px); opacity: 0; } }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--grad); --fg: var(--gold-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 700 15px var(--f-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  box-shadow: 0 12px 28px -14px rgba(216, 185, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), filter .3s; position: relative; overflow: hidden; isolation: isolate; user-select: none; text-decoration: none;
}
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease); z-index: -1; }
.btn:hover { color: var(--fg); transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 34px -14px rgba(216, 185, 138, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-ghost { --bg: linear-gradient(180deg, rgba(48, 41, 33, .75), rgba(24, 21, 17, .85)); --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .05); }
.btn-ghost svg { color: var(--gold); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--line-3), 0 10px 26px -14px rgba(216, 185, 138, .5); filter: none; }
.btn-ghost::after { background: linear-gradient(100deg, transparent 30%, rgba(216, 185, 138, .18) 50%, transparent 70%); }
.btn-stamp { --bg: var(--grad); --fg: var(--gold-ink); }
.btn-red { --bg: linear-gradient(135deg, #EAA08F, #C1584A); --fg: #1B0B08; box-shadow: 0 12px 28px -14px rgba(224, 120, 107, .7); }
.btn-ink { --bg: linear-gradient(180deg, rgba(64, 52, 38, .9), rgba(30, 25, 19, .95)); --fg: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(216, 185, 138, .55), 0 10px 24px -14px rgba(216, 185, 138, .6); }
.btn-ink svg { color: var(--gold); }
.btn-ink::after { background: linear-gradient(100deg, transparent 30%, rgba(216, 185, 138, .22) 50%, transparent 70%); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: ripple .6s var(--ease); pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn-plane svg { transition: transform .5s var(--spring); }
.btn-plane:hover svg { transform: translate(3px, -3px) rotate(-12deg); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-btn svg { width: 16px; height: 16px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, transform .4s var(--spring); position: relative; }
.icon-btn:hover { background: rgba(216, 185, 138, .1); color: var(--gold-2); transform: scale(1.06); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-ico-dark, [data-theme-toggle] { display: none !important; }

/* ---------- Бейджи ---------- */
.sticker { display: inline-flex; align-items: center; gap: 5px; font: 800 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); background: var(--grad); padding: 6px 11px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(216, 185, 138, .9); }
.sticker.red { background: linear-gradient(135deg, #EAA08F, #C1584A); }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: var(--gold-ink); flex-shrink: 0; box-shadow: 0 0 10px rgba(216, 185, 138, .45); }
.verified svg { width: 11px; height: 11px; }

/* ---------- Шапка ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--grad); z-index: 100; width: 0; box-shadow: 0 0 12px rgba(216, 185, 138, .8); }
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(10, 9, 8, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .35s, border-color .35s; }
.top.scrolled { background: rgba(10, 9, 8, .86); backdrop-filter: saturate(1.3) blur(18px); -webkit-backdrop-filter: saturate(1.3) blur(18px); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font: 600 30px/1 var(--f-display); flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold); }
.logo-mark svg { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(216, 185, 138, .45)); transition: transform .6s var(--spring); }
.logo:hover .logo-mark svg { transform: translate(3px, -3px) rotate(-10deg); }
.logo b { font-weight: inherit; color: var(--gold); }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { color: var(--text-2); font: 500 19px var(--f-display); padding: 8px 20px; border-radius: 999px; position: relative; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease), left .35s var(--ease); }
.nav a:hover { color: var(--gold-2); }
.nav a:hover::after { width: 40%; left: 30%; }
.nav a.on { color: var(--text); background: linear-gradient(180deg, rgba(60, 50, 38, .75), rgba(28, 24, 19, .85)); box-shadow: inset 0 0 0 1px var(--line-3), 0 0 22px -6px rgba(216, 185, 138, .45); }
.nav a.on::after { display: none; }
.top-search, .kbd { display: none; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.top-actions .btn { height: 44px; }
.btn-login { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); padding: 0 22px; }
.btn-login svg { color: var(--gold); }
.btn-login:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px -8px rgba(216, 185, 138, .6); filter: none; }
.btn-login::after { background: linear-gradient(100deg, transparent 30%, rgba(216, 185, 138, .2) 50%, transparent 70%); }
.avatar-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: var(--gold-ink); display: grid; place-items: center; font: 700 20px var(--f-display); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line-3); margin-left: 4px; }
.avatar-btn:hover { color: var(--gold-ink); }

/* ---------- Подсказки поиска ---------- */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #15120F; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-l); z-index: 60; display: none; max-height: 70vh; overflow-y: auto; padding: 8px; text-align: left; }
.suggest.on { display: block; animation: pop .3s var(--spring); }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; color: var(--text); border-radius: 12px; }
.suggest a:hover, .suggest a.hl { background: rgba(216, 185, 138, .08); }
.suggest .ava { box-shadow: 0 0 0 1px var(--line-3); }
.suggest .s-sub { margin-left: auto; color: var(--gold); font: 700 13px var(--f-body); white-space: nowrap; }
.suggest .s-head { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); padding: 10px 10px 4px; font-weight: 800; }
.suggest .s-empty { padding: 16px; color: var(--text-2); }

/* ---------- Аватар ---------- */
.ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; font: 600 19px var(--f-display); color: var(--gold-2); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cc, #D8B98A) 30%, #2A241D), #120F0C 75%); position: relative; }
.ava img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Секции ---------- */
.section { padding: 46px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.6vw, 34px); }
.section-head p { margin: 6px 0 0; color: var(--text-2); font-size: 14.5px; }
.sh-ico { width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--gold); flex-shrink: 0; font: 600 26px var(--f-display); }
.sh-ico svg { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(216, 185, 138, .35)); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--text); white-space: nowrap; padding: 6px 0; }
.more:hover { color: var(--gold-2); }
.more svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.more:hover svg { transform: translateX(5px); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Главная: герой ---------- */
.hero { position: relative; padding: 34px 0 20px; isolation: isolate; }
.hero-art { position: absolute; z-index: -1; right: max(0px, calc((100vw - 1440px) / 2)); top: -80px; width: min(50vw, 760px); height: 560px; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%), linear-gradient(to bottom, #000 55%, transparent 98%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%), linear-gradient(to bottom, #000 55%, transparent 98%); mask-composite: intersect; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; animation: breathe 16s ease-in-out infinite; transform-origin: 60% 40%; }
.hero-art .halo { position: absolute; left: 53%; top: 47%; width: 220px; height: 220px; margin: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 200, .3), transparent 65%); mix-blend-mode: screen; animation: halo 4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1.02) translateY(0); } 50% { transform: scale(1.06) translateY(-8px); } }
@keyframes halo { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.hero-inner { max-width: 860px; }
.hero-title { display: inline-flex; align-items: center; gap: 18px; margin: 0 0 28px -8px; }
.laurel { width: 52px; height: 108px; color: var(--gold); flex-shrink: 0; opacity: .85; filter: drop-shadow(0 0 8px rgba(216, 185, 138, .3)); animation: fade 1.4s .2s both; }
.laurel.r { transform: scaleX(-1); }
.hero h1 { font-size: clamp(34px, 3.7vw, 56px); line-height: 1; margin: 0 0 10px; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); animation: rise .9s .05s var(--ease) both; }
.hero-sub { font: 500 clamp(17px, 1.7vw, 23px)/1.35 var(--f-body); color: var(--text); margin: 0; animation: rise .9s .15s var(--ease) both; }
.swap { display: inline-grid; vertical-align: bottom; }
.swap > span { grid-area: 1 / 1; color: var(--gold); opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.swap > span.on { opacity: 1; transform: none; }
.swap > span.out { opacity: 0; transform: translateY(-40%); }
.hero-search { position: relative; max-width: 790px; animation: rise .9s .25s var(--ease) both; z-index: 5; }
.hero-search form { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 24px; border-radius: 999px; background: linear-gradient(180deg, rgba(36, 31, 25, .9), rgba(16, 14, 11, .94)); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 50px -26px #000, 0 0 40px -20px rgba(216, 185, 138, .4); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.hero-search form:focus-within { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 5px rgba(216, 185, 138, .12), 0 0 50px -16px rgba(216, 185, 138, .55); }
.hero-search form > svg { width: 24px; height: 24px; color: var(--text); flex-shrink: 0; }
.hero-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: 500 17px var(--f-body); height: 48px; }
.hero-search input::placeholder { color: var(--text-2); }
.hero-search input:focus { outline: none; }
.hero-search .btn { width: 60px; height: 48px; padding: 0; flex-shrink: 0; }
.hero-search .btn svg { width: 22px; height: 22px; }
.hero-search .btn span { display: none; }
.hero-feats { display: flex; align-items: center; justify-content: center; margin-top: 26px; max-width: 790px; animation: rise .9s .35s var(--ease) both; }
.hero-feats span { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; font-size: 14.5px; color: var(--text-2); white-space: nowrap; }
.hero-feats span + span { border-left: 1px solid var(--line-2); }
.hero-feats svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 790px; justify-content: center; animation: rise .9s .45s var(--ease) both; }
.hero-chips .lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); align-self: center; margin-right: 4px; }

/* ---------- Раскладка с боковым меню ---------- */
.with-side { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 30px; align-items: start; }
.side { position: sticky; top: 100px; border-radius: var(--r-l); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); padding: 4px 0; overflow: hidden; }
.side::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 222, 185, .6), transparent); }
.side-h { display: flex; align-items: center; gap: 14px; padding: 18px 22px; font: 600 24px var(--f-display); color: var(--text); border-bottom: 1px solid var(--line); margin: 0; }
.side-h svg { width: 24px; height: 24px; color: var(--text); }
.side-list { list-style: none; margin: 0; padding: 8px 10px; }
.side-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text); font-size: 14.5px; transition: background .25s, color .25s, transform .3s var(--ease); }
.side-list a:hover { background: rgba(216, 185, 138, .07); color: var(--gold-2); transform: translateX(3px); }
.side-list a.on { background: linear-gradient(90deg, rgba(216, 185, 138, .16), rgba(216, 185, 138, .02)); color: var(--gold-2); box-shadow: inset 2px 0 0 var(--gold); }
.side-list .si { font-size: 17px; text-align: center; filter: grayscale(.4) sepia(.3); transition: filter .3s, transform .4s var(--spring); }
.side-list a:hover .si, .side-list a.on .si { filter: none; transform: scale(1.15); }
.side-list .sn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-list .sc { font-size: 11.5px; font-weight: 700; color: var(--text-2); padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.side-links { border-top: 1px solid var(--line); padding: 4px 10px; }
.side-links a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; color: var(--text); font-size: 14.5px; }
.side-links a + a { border-top: 1px solid var(--line); }
.side-links a:hover { color: var(--gold-2); }
.side-links svg { width: 20px; height: 20px; color: var(--text-2); }
.side-links .chev { margin-left: auto; width: 16px; height: 16px; transition: transform .3s var(--spring); }
.side-links a:hover .chev { transform: translateX(4px); color: var(--gold); }

/* ---------- Плитки популярных категорий ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; padding: 20px 20px; container-type: inline-size; border-radius: var(--r-l); overflow: hidden; isolation: isolate; color: var(--text); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transition: transform .5s var(--spring), box-shadow .4s; }
.cat-tile::before { content: ''; position: absolute; inset: 0; z-index: -3; background: radial-gradient(240px 160px at 70% 18%, color-mix(in srgb, var(--cc) 20%, transparent), transparent 70%), radial-gradient(200px 120px at 50% 0%, rgba(242, 222, 185, .12), transparent 70%); }
.cat-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 10, 8, .96) 30%, rgba(12, 10, 8, .3) 62%, transparent 85%); }
.cat-tile .ct-art { position: absolute; z-index: -2; top: 10px; right: 10px; transform: rotate(-8deg); font-size: 74px; line-height: 1; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .7)) saturate(.7) sepia(.25); transition: transform .7s var(--spring); }
.cat-tile:hover { color: var(--text); transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l), 0 0 50px -24px rgba(216, 185, 138, .55); }
.cat-tile:hover .ct-art { transform: rotate(4deg) scale(1.1) translateY(-6px); }
.cat-tile b { font: 600 min(27px, 12.5cqw)/1.05 var(--f-display); display: block; margin-bottom: 6px; overflow-wrap: break-word; hyphens: auto; }
.cat-tile small { font-size: 13px; color: var(--text-2); line-height: 1.4; padding-right: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.circle-go { position: absolute; right: 18px; bottom: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); transition: background .3s, color .3s, transform .45s var(--spring); }
.circle-go svg { width: 16px; height: 16px; }
.cat-tile:hover .circle-go { background: var(--grad); color: var(--gold-ink); transform: rotate(-45deg); box-shadow: none; }
.cat-tile .ct-cnt { position: absolute; top: 16px; left: 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }

/* ---------- Карточка канала ---------- */
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.cover {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-l); background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transition: transform .5s var(--spring), box-shadow .4s var(--ease); isolation: isolate; overflow: hidden; min-width: 0; container-type: inline-size;
}
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(216, 185, 138, .12), transparent 45%); opacity: 0; transition: opacity .4s; }
.cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--mx) var(--my), var(--gold-2), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.cover:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l), 0 0 60px -30px rgba(216, 185, 138, .6); }
.cover:hover::before, .cover:hover::after { opacity: 1; }
.cover { padding: 0 0 18px; gap: 0; }
.cover > :not(.cv-cap):not(.cv-top) { margin-left: 20px; margin-right: 20px; }
/* шапка карточки: гравировка или фото */
.cv-cap { position: relative; height: 86px; overflow: hidden; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--cc, #D8B98A) 30%, #2A241D), #15110D 70%); }
.cv-cap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(17, 14, 11, .92)); }
.cv-cap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.8); transition: transform .9s var(--ease); }
.cover:hover .cv-cap img { transform: scale(1.07); }
.cv-engrave { position: absolute; inset: 0; opacity: .55; background:
  repeating-radial-gradient(circle at 85% -40%, rgba(242, 222, 185, .16) 0 1px, transparent 1px 9px),
  linear-gradient(115deg, transparent 40%, rgba(242, 222, 185, .08) 50%, transparent 60%); transition: transform 1.2s var(--ease); }
.cover:hover .cv-engrave { transform: scale(1.15) rotate(-4deg); }
.cv-shine { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 210, .22) 50%, transparent 65%); transform: translateX(-120%); }
.cover:hover .cv-shine { animation: capshine 1.1s var(--ease); }
@keyframes capshine { to { transform: translateX(120%); } }
.cv-top { position: absolute; top: 14px; left: 16px; right: 16px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 !important; }
.cv-rub { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 70%; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--gold-2); background: rgba(12, 10, 8, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-rub i { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--cc, var(--gold)); box-shadow: 0 0 8px var(--cc, var(--gold)); }
.cv-head { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 0; }
.cv-head .cv-face { margin-top: -40px; }
.cv-face { width: 78px; height: 78px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font: 600 28px var(--f-display); color: var(--gold-2); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cc, #D8B98A) 30%, #2A241D), #110E0B 75%); position: relative; box-shadow: 0 0 0 1px var(--line-3), 0 0 0 5px #15110D, 0 14px 30px -12px #000; transition: transform .6s var(--spring); }
.cv-face::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from var(--ang), transparent 0 55%, var(--gold-2) 75%, transparent 92%); -webkit-mask: radial-gradient(circle, transparent 64%, #000 66%); mask: radial-gradient(circle, transparent 64%, #000 66%); opacity: .35; animation: angspin 6s linear infinite; transition: opacity .4s; }
.cv-face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cover:hover .cv-face { transform: scale(1.06) rotate(-4deg); }
.cover:hover .cv-face::before { opacity: 1; animation-duration: 2s; }
.cv-name { min-width: 0; padding-top: 12px; }
.cv-title { font: 700 16.5px/1.3 var(--f-body); margin: 0; }
.cv-title a { color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; transition: color .25s; }
.cover:hover .cv-title a { color: var(--gold-2); }
.cv-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.cv-title .nb { white-space: nowrap; }
.cv-title .verified { display: inline-grid; vertical-align: -3px; margin-left: 6px; }
.cv-user { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-desc { margin-top: 12px; margin-bottom: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(13.5px * 1.55 * 3); }
.cv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; margin-bottom: 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cv-stats > span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
.cv-stats > span + span { border-left: 1px solid var(--line); }
.cv-stats b { font: 600 19px/1.1 var(--f-display); color: var(--text); letter-spacing: .01em; }
.cv-stats > span:first-child b { color: var(--gold-2); }
.cv-stats small { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.cv-stats small svg { width: 12px; height: 12px; }
.cv-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; position: relative; z-index: 2; }
.cv-go { position: relative; z-index: 2; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14.5px; background: linear-gradient(180deg, rgba(60, 50, 38, .7), rgba(26, 22, 18, .9)); box-shadow: inset 0 0 0 1px var(--line-3); overflow: hidden; isolation: isolate; transition: color .3s, box-shadow .3s; }
.cv-go::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; z-index: -1; }
.cv-go svg { width: 18px; height: 18px; color: var(--gold); transition: transform .5s var(--spring), color .3s; }
.cv-go:hover { color: var(--gold-ink); box-shadow: 0 10px 26px -12px rgba(216, 185, 138, .8); }
.cv-go:hover::before { opacity: 1; }
.cv-go:hover svg { color: var(--gold-ink); transform: translate(3px, -3px) rotate(-12deg); }
.cv-kind { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0; }
.cv-kind svg { width: 18px; height: 18px; }
.cv-mark { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; box-shadow: inset 0 0 0 1px var(--line); transition: color .25s, transform .4s var(--spring), background .25s, box-shadow .25s; }
.cv-mark svg { width: 19px; height: 19px; }
.cv-mark:hover { color: var(--gold); transform: scale(1.1); background: rgba(216, 185, 138, .08); box-shadow: inset 0 0 0 1px var(--line-3); }
.cv-mark.on { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cv-mark.on svg { fill: currentColor; }
.cv-badge { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--gold-ink); background: var(--grad); box-shadow: 0 6px 14px -8px rgba(216, 185, 138, .9); }
.cv-badge svg { width: 11px; height: 11px; }
.cv-badge.pin { background: linear-gradient(135deg, #F4E2BF, #E0A37A); }
.cv-badge.day { background: linear-gradient(135deg, #FFF3D9, #D8B98A); }
.cv-badge.red { background: var(--danger); color: #1B0B08; }
.cover.hl { box-shadow: inset 0 0 0 1px rgba(216, 185, 138, .55), var(--shadow), 0 0 40px -22px rgba(216, 185, 138, .7); }
.cover.hl .cv-cap::before { content: ''; position: absolute; inset: auto 0 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent 30%, var(--gold-2) 50%, transparent 70%); background-size: 250% 100%; animation: sweep 3.6s linear infinite; }
@keyframes sweep { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.cover.big .cv-cap { height: 104px; }
.cover.big .cv-face { width: 92px; height: 92px; font-size: 32px; }
.cover.big .cv-head .cv-face { margin-top: -48px; }
.cover.big .cv-title { font-size: 19px; }
.cover.adult .cv-face img, .cover.adult .cv-cap img { filter: blur(14px); transform: scale(1.15); }
.age-ok .cover.adult .cv-face img, .age-ok .cover.adult .cv-cap img { filter: none; transform: none; }
.cover .glare, .barcode, .cv-band, .cv-meta { display: none; }
@container (max-width: 300px) { .cv-kind { display: none; } .cv-stats b { font-size: 16px; } .cv-stats small { font-size: 9.5px; } .cv-stats small svg { display: none; } }
@container (max-width: 330px) { .cv-face { width: 66px; height: 66px; font-size: 24px; } .cv-head { gap: 14px; } }
@container (max-width: 270px) { .cv-face { width: 54px; height: 54px; font-size: 20px; } .cv-meta .cv-cat { display: none; } }
/* вид «списком» */
.covers.as-list { grid-template-columns: 1fr; gap: 12px; }
.covers.as-list .cover { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 260px 210px; align-items: center; gap: 22px; padding: 14px 20px; }
.covers.as-list .cover > * { margin: 0 !important; }
.covers.as-list .cv-cap, .covers.as-list .cv-top { display: none; }
.covers.as-list .cv-head { margin-top: 0; align-items: center; }
.covers.as-list .cv-head .cv-face { margin-top: 0; }
.covers.as-list .cv-name { padding-top: 0; }
.covers.as-list .cv-face { width: 58px; height: 58px; font-size: 21px; box-shadow: 0 0 0 1px var(--line-3); }
.covers.as-list .cv-desc { -webkit-line-clamp: 2; min-height: 0; }
.covers.as-list .cv-stats { border: 0; padding: 0; }
.covers.as-list .cover:hover { transform: translateX(4px); }

/* ---------- Карусель ---------- */
.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 12px; margin: -8px -2px -12px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.car-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #3A332A; cursor: pointer; transition: width .4s var(--ease), background .3s; }
.car-dots button.on { width: 26px; background: var(--grad); }
.car-btn { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--text); background: rgba(20, 17, 14, .92); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s, transform .35s var(--spring), color .25s; }
.carousel:hover .car-btn { opacity: 1; }
.car-btn:hover { transform: scale(1.08); color: var(--gold); }
.car-btn svg { width: 18px; height: 18px; }
.car-btn.prev { left: -22px; } .car-btn.prev svg { transform: rotate(180deg); }
.car-btn.next { right: -22px; }
.car-btn[disabled] { opacity: 0 !important; pointer-events: none; }

/* ---------- Блоки главной ---------- */
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pinlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pin-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 20px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .45s var(--spring), box-shadow .3s; overflow: hidden; }
.pin-row::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 2px; border-radius: 2px; background: var(--grad); }
.pin-row:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow); }
.pin-row .ava { width: 56px; height: 56px; font-size: 21px; box-shadow: 0 0 0 1px var(--line-3); }
.pin-card { position: absolute; inset: 0; z-index: 1; }
.pin-body { min-width: 0; }
.pin-body b { display: block; font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-body small { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.pin-body small i { width: 6px; height: 6px; border-radius: 50%; background: var(--cc); flex-shrink: 0; }
.pin-desc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.subs { text-align: right; font: 600 22px/1 var(--f-display); color: var(--gold-2); white-space: nowrap; }
.subs small { display: block; font: 700 10px var(--f-body); color: var(--text-3); margin-top: 5px; letter-spacing: .1em; text-transform: uppercase; }
.pin-go { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-3); transition: background .3s, color .3s; }
.pin-go:hover { background: var(--grad); color: var(--gold-ink); }
.pin-go svg { width: 16px; height: 16px; color: var(--gold); }
.pin-go:hover svg { color: var(--gold-ink); }

.rubrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rubric { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 20px; background: var(--card-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; transition: transform .5s var(--spring), box-shadow .3s; min-height: 144px; }
.rubric::before { content: ''; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cc) 20%, transparent), transparent 70%); z-index: -1; transition: transform .7s var(--ease); }
.rubric:hover { color: var(--text); transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow), 0 0 40px -22px rgba(216, 185, 138, .6); }
.rubric:hover::before { transform: scale(1.8); }
.rubric .emo { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: radial-gradient(circle at 30% 25%, rgba(242, 222, 185, .14), rgba(10, 9, 8, .4)); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 10px; transition: transform .5s var(--spring); }
.rubric:hover .emo { transform: rotate(-10deg) scale(1.1); }
.rubric b { font: 600 21px/1.1 var(--f-display); overflow-wrap: anywhere; padding-right: 26px; }
.rubric b.long { font-size: 18px; }
.rubric small { color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.rubric .code { display: none; }
.rubric.adult .code { display: block; position: absolute; right: 14px; top: 14px; font: 800 10.5px var(--f-body); background: var(--danger); color: #1B0B08; padding: 3px 7px; border-radius: 7px; }
.rubric .arr { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); transition: .35s var(--ease); }
.rubric .arr svg { width: 15px; height: 15px; }
.rubric:hover .arr { background: var(--grad); color: var(--gold-ink); box-shadow: none; transform: rotate(-45deg); }

/* хит-парад */
.chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chart.two { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--rows), auto); column-gap: 18px; }
.chart-row { position: relative; display: grid; grid-template-columns: 40px auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-radius: 18px; background: var(--card-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .45s var(--spring), box-shadow .3s; }
.chart-row:hover { color: var(--text); transform: translateX(6px); box-shadow: inset 0 0 0 1px var(--line-3); }
.chart-row .bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; width: var(--w, 0%); background: linear-gradient(90deg, rgba(216, 185, 138, .1), transparent); transform-origin: left; animation: grow 1.6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.rank { font: 600 26px var(--f-display); color: var(--text-3); text-align: center; }
.chart li:nth-child(-n+3) .rank { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 30px; }
.chart-row .ava { width: 46px; height: 46px; box-shadow: 0 0 0 1px var(--line-3); }
.chart-row b { display: block; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-row small { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.chart-row small i { width: 6px; height: 6px; border-radius: 50%; background: var(--cc); flex-shrink: 0; }

/* недавно смотрели */
.history { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x mandatory; }
.history::-webkit-scrollbar { display: none; }
.history a { scroll-snap-align: start; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--card-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); max-width: 300px; animation: pop .5s var(--spring) both; transition: transform .35s var(--spring), box-shadow .3s; }
.history a:hover { color: var(--text); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-3); }
.history .ava { width: 42px; height: 42px; font-size: 16px; box-shadow: 0 0 0 1px var(--line-3); }
.history b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.history small { color: var(--text-3); font-weight: 600; font-size: 12px; }
.mini-list.history { display: grid; gap: 0; overflow: visible; padding: 0; }
.mini-list.history a { max-width: none; border-radius: 0; box-shadow: none; background: none; padding: 9px 0; border-bottom: 1px solid var(--line); animation: none; }
.mini-list.history a:last-child { border: 0; }
.mini-list.history a:hover { transform: translateX(3px); }
.history-clear { background: none; border: 0; color: var(--text-3); font: 600 13.5px var(--f-body); cursor: pointer; padding: 6px 0; }
.history-clear:hover { color: var(--danger); }

/* как это работает */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how-step { position: relative; padding: 28px; border-radius: var(--r-l); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; transition: transform .5s var(--spring), box-shadow .3s; }
.how-step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-3), 0 0 40px -24px rgba(216, 185, 138, .6); }
.how-step::before { content: 'I'; position: absolute; right: 22px; top: 6px; font: 600 72px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--line-3); }
.how-step:nth-child(2)::before { content: 'II'; } .how-step:nth-child(3)::before { content: 'III'; }
.how-step .hi { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-3), 0 0 30px -10px rgba(216, 185, 138, .5); margin-bottom: 18px; background: radial-gradient(circle at 30% 25%, rgba(242, 222, 185, .14), transparent 70%); }
.how-step .hi svg { width: 24px; height: 24px; }
.how-step h3 { margin-bottom: 8px; font-size: 26px; }
.how-step p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* призыв */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 52px 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; background: radial-gradient(500px 260px at 100% 0%, rgba(216, 185, 138, .22), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(216, 185, 138, .1), transparent 70%), var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l); }
.cta::before { content: ''; position: absolute; width: 460px; height: 460px; right: -140px; top: -230px; border-radius: 50%; border: 1px dashed var(--line-2); z-index: -1; animation: spin 60s linear infinite; }
.cta::after { content: ''; position: absolute; width: 300px; height: 300px; right: 30px; bottom: -200px; border-radius: 50%; border: 1px solid var(--line-2); z-index: -1; }
.cta h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 12px; }
.cta p { margin: 0; color: var(--text-2); font-size: 16px; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-planes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-planes svg { position: absolute; left: 0; top: 50%; width: 24px; height: 24px; color: rgba(216, 185, 138, .55); animation: planefly 11s linear infinite; }
.cta-planes svg:nth-child(2) { top: 75%; animation-delay: -4s; width: 18px; }
.cta-planes svg:nth-child(3) { top: 25%; animation-delay: -7s; width: 20px; }
@keyframes planefly { from { transform: translate(-60px, 40px) rotate(-10deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translate(1300px, -120px) rotate(-10deg); opacity: 0; } }

/* SEO-блок и вопросы */
.seo-block { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; padding: 38px; border-radius: var(--r-xl); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); margin: 40px 0 20px; }
.rich { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.rich h2 { color: var(--text); font-size: 32px; }
.rich h3 { color: var(--text); font-size: 23px; margin: 1.3em 0 .45em; }
.rich a { color: var(--gold); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(216, 185, 138, .35); text-underline-offset: 3px; }
.rich a:hover { color: var(--gold-2); text-decoration-color: var(--gold); }
.rich ul, .rich ol { padding-left: 20px; }
.rich ol.leaders { padding-left: 0; list-style: none; counter-reset: ld; display: grid; gap: 10px; }
.rich ol.leaders li { counter-increment: ld; display: flex; gap: 12px; align-items: baseline; }
.rich ol.leaders li::before { content: counter(ld); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--gold); font: 600 15px var(--f-display); }
.seo-links { line-height: 2; }
.faq h2 { font-size: 32px; display: flex; align-items: center; gap: 10px; }
.faq details { border-radius: 16px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; overflow: hidden; transition: box-shadow .3s, background .3s; }
.faq details[open] { background: rgba(216, 185, 138, .05); box-shadow: inset 0 0 0 1px var(--line-3); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--text); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--gold); font-size: 18px; font-weight: 400; transition: transform .4s var(--spring), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--grad); color: var(--gold-ink); box-shadow: none; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--text-2); font-size: 14.5px; animation: fade .5s; }

/* ---------- Страницы ---------- */
.page-head { padding: 22px 0 10px; }
.crumbs { font-size: 13px; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; font-weight: 600; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold-3); }
.list-h1 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 12px; }
.list-hero { position: relative; padding: 36px 40px; border-radius: var(--r-xl); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); overflow: hidden; isolation: isolate; }
.list-hero::after { content: ''; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 185, 138, .18), transparent 65%); z-index: -1; }
.list-hero::before { content: ''; position: absolute; right: 50px; top: 50%; width: 170px; height: 170px; margin-top: -85px; border-radius: 50%; border: 1px dashed var(--line-2); z-index: -1; animation: spin 40s linear infinite; }
.list-hero p { max-width: 720px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.toolbar.sticky { position: sticky; top: 92px; z-index: 30; padding: 8px; border-radius: 999px; background: rgba(16, 14, 11, .88); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.toolbar .seg { display: flex; gap: 2px; flex-wrap: wrap; }
.toolbar .seg a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .25s, color .25s; }
.toolbar .seg a:hover { color: var(--text); background: rgba(216, 185, 138, .06); }
.toolbar .seg a.on { color: var(--text); background: linear-gradient(180deg, rgba(60, 50, 38, .8), rgba(28, 24, 19, .9)); box-shadow: inset 0 0 0 1px var(--line-3); }
.toolbar .sep { width: 1px; height: 24px; background: var(--line-2); }
.toolbar .count { margin-left: auto; padding-right: 12px; color: var(--text-3); font-weight: 600; font-size: 13px; white-space: nowrap; }
.qfilter { position: relative; flex: 1; min-width: 160px; max-width: 260px; display: block; }
.qfilter input { width: 100%; height: 40px; border-radius: 999px; border: 0; padding: 0 14px 0 40px; background: rgba(255, 255, 255, .03); color: var(--text); font: 500 14px var(--f-body); box-shadow: inset 0 0 0 1px var(--line-2); }
.qfilter input::placeholder { color: var(--text-3); }
.qfilter input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }
.qfilter svg { position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; color: var(--text-3); }
.view-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.view-switch button { width: 36px; height: 34px; border: 0; border-radius: 999px; display: grid; place-items: center; background: none; color: var(--text-3); cursor: pointer; transition: .25s; }
.view-switch button.on { background: var(--grad); color: var(--gold-ink); }
.view-switch svg { width: 17px; height: 17px; }
.qf-empty { text-align: center; padding: 30px; color: var(--text-2); font-weight: 600; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 40px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; color: var(--text); font: 600 19px var(--f-display); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .35s var(--spring), box-shadow .25s; }
.pager a:hover { color: var(--gold-2); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold); }
.pager .on { background: var(--grad); color: var(--gold-ink); box-shadow: 0 10px 22px -12px rgba(216, 185, 138, .8); }
.pager .gap { box-shadow: none; }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--r-xl); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.empty .big { font-size: 60px; margin-bottom: 12px; display: inline-block; animation: bob 3.5s ease-in-out infinite; }
.empty h2, .empty h1 { margin-bottom: 8px; }
.empty .btn + .btn { margin-left: 8px; }

/* ---------- Рубрика ---------- */
.rubric-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 44px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.rubric-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 300px at 10% 0%, color-mix(in srgb, var(--cc) 16%, transparent), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(216, 185, 138, .12), transparent 70%); }
.rubric-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 222, 185, .7), transparent); }
.rubric-hero .float-emo { position: absolute; font-size: 26px; opacity: .13; z-index: -1; animation: floaty 10s ease-in-out infinite; pointer-events: none; filter: grayscale(.4) sepia(.5); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(12deg); } }
.medallion { position: relative; width: 150px; height: 150px; display: grid; place-items: center; flex-shrink: 0; }
.medallion::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--ang), rgba(242, 222, 185, .05), var(--gold-2), rgba(168, 135, 90, .2), var(--gold), rgba(242, 222, 185, .05)); animation: angspin 6s linear infinite; -webkit-mask: radial-gradient(circle, transparent 66%, #000 67.5%); mask: radial-gradient(circle, transparent 66%, #000 67.5%); }
.medallion::after { content: ''; position: absolute; inset: -16px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite reverse; }
.medallion > span { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; font-size: 56px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cc) 22%, #2A241D), #0E0C0A 75%); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 50px -20px #000, 0 0 60px -20px rgba(216, 185, 138, .5); }
.medallion > span i { font-style: normal; display: block; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.big-emo { display: none; }
.rubric-hero h1 { margin-bottom: 12px; font-size: clamp(38px, 4.6vw, 62px); }
.h1-pre { display: flex; align-items: center; gap: 12px; font: 700 12px var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.h1-pre::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.rubric-lead { color: var(--text-2); font-size: 16px; max-width: 720px; margin: 0; }
.rubric-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.rubric-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.rstat { padding: 20px 22px; border-radius: 20px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.rstat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-3); }
.rstat::after { content: ''; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; border: 1px solid var(--line-2); }
.rstat span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-3); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rstat span svg { width: 16px; height: 16px; color: var(--gold); }
.rstat b { display: block; font: 600 36px/1.1 var(--f-display); margin-top: 8px; color: var(--gold-2); white-space: nowrap; }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 18px 22px; border-radius: 24px; background: var(--card-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); transition: transform .5s var(--spring), box-shadow .3s; overflow: hidden; isolation: isolate; }
.pod:hover { color: var(--text); transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l), 0 0 50px -24px var(--medal); }
.pod::before { content: ''; position: absolute; inset: auto 0 0; height: var(--h, 40%); z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--medal) 16%, transparent), transparent); animation: podrise 1.4s var(--ease) both; transform-origin: bottom; }
@keyframes podrise { from { transform: scaleY(0); } }
.pod.p1 { --medal: #E9CB92; --h: 64%; padding-top: 38px; box-shadow: inset 0 0 0 1px rgba(233, 203, 146, .55), var(--shadow), 0 0 50px -26px #E9CB92; }
.pod.p2 { --medal: #C9CED6; --h: 46%; }
.pod.p3 { --medal: #C8926A; --h: 34%; }
.pod .medal { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 17px var(--f-display); color: #17120B; background: var(--medal); box-shadow: 0 0 16px -4px var(--medal); }
.pod .ava { width: 78px; height: 78px; font-size: 28px; box-shadow: 0 0 0 1px var(--medal), 0 0 0 6px rgba(10, 9, 8, .7), 0 0 30px -8px var(--medal); }
.pod.p1 .ava { width: 96px; height: 96px; font-size: 34px; }
.pod .crown { position: absolute; top: 8px; font-size: 22px; animation: bob 3s ease-in-out infinite; }
.pod b { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pod small { color: var(--text-3); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.pod .pv { font: 600 30px/1 var(--f-display); color: var(--medal); }
.top-zone { position: relative; padding: 26px; border-radius: var(--r-xl); margin-bottom: 26px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(120deg, rgba(216, 185, 138, .15), var(--gold-2), rgba(216, 185, 138, .15), var(--gold), rgba(216, 185, 138, .15)) border-box; background-size: 100% 100%, 300% 300%; border: 1px solid transparent; animation: borderflow 9s linear infinite; }
@keyframes borderflow { to { background-position: 0 0, 300% 0; } }
.top-zone h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 30px; margin-bottom: 20px; }
.top-zone h2 svg { width: 24px; height: 24px; color: var(--gold); }
.top-zone h2 small { font: 500 14px var(--f-body); color: var(--text-3); }
.related { margin-top: 44px; }
.related h2 { font-size: 32px; margin-bottom: 16px; }
.related-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .02); color: var(--text); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; transition: transform .35s var(--spring), box-shadow .25s, background .25s, color .25s; }
.chip:hover { color: var(--gold-2); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(216, 185, 138, .05); }
.chip.on, .chip-all { background: var(--grad); color: var(--gold-ink); box-shadow: none; }
.chip-all:hover { color: var(--gold-ink); }
.chip small { color: var(--text-3); font-weight: 700; font-size: 11.5px; }
.chip svg { width: 16px; height: 16px; color: var(--gold); }
.chip .emo { font-size: 15px; }
.adult-mini { font-style: normal; font-size: 10px; font-weight: 800; background: var(--danger); color: #1B0B08; padding: 2px 5px; border-radius: 6px; margin-left: 4px; }
.issue { display: none; }

/* ---------- Страница канала ---------- */
.ch-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: 42px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-l); }
.ch-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 222, 185, .8), transparent); }
.ch-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ch-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(.9) brightness(.55); opacity: .7; transform: scale(1.4); }
.ch-hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 340px at 12% 0%, rgba(216, 185, 138, .16), transparent 70%), radial-gradient(500px 300px at 100% 100%, color-mix(in srgb, var(--cc) 12%, transparent), transparent 70%), linear-gradient(to bottom, transparent 30%, rgba(20, 17, 14, .95)); }
.ch-hero .rings { position: absolute; right: -130px; top: -130px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid var(--line); z-index: -1; }
.ch-hero .rings::before, .ch-hero .rings::after { content: ''; position: absolute; inset: 55px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 50s linear infinite; }
.ch-hero .rings::after { inset: 120px; border-style: solid; border-color: var(--line); animation: none; }
.ch-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 38px; align-items: center; }
.ch-ava { position: relative; width: 156px; height: 156px; flex-shrink: 0; }
.ch-ava::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: conic-gradient(from var(--ang), rgba(242, 222, 185, .05), var(--gold-2), rgba(168, 135, 90, .25), var(--gold), rgba(242, 222, 185, .05)); animation: angspin 5s linear infinite; -webkit-mask: radial-gradient(circle, transparent 66%, #000 67.5%); mask: radial-gradient(circle, transparent 66%, #000 67.5%); }
.ch-ava::after { content: ''; position: absolute; inset: -24px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite reverse; }
.ch-ava .ava { position: absolute; inset: 0; width: 100%; height: 100%; font-size: 58px; box-shadow: 0 0 0 1px var(--line-3), 0 24px 60px -24px #000, 0 0 70px -24px rgba(216, 185, 138, .55); }
.ch-ava .online { position: absolute; right: 10px; bottom: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); z-index: 2; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 4px #17140F, 0 0 0 4px rgba(143, 201, 160, .6); } 70% { box-shadow: 0 0 0 4px #17140F, 0 0 0 14px rgba(143, 201, 160, 0); } 100% { box-shadow: 0 0 0 4px #17140F, 0 0 0 4px rgba(143, 201, 160, 0); } }
.ch-kicker { display: flex; align-items: center; gap: 12px; font: 700 12px var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.ch-kicker::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.ch-top h1 { font-size: clamp(36px, 4.2vw, 58px); margin-bottom: 6px; overflow-wrap: anywhere; }
.ch-top h1 .verified { width: 28px; height: 28px; display: inline-grid; vertical-align: 6px; margin-left: 10px; }
.ch-top h1 .verified svg { width: 16px; height: 16px; }
.ch-handle { color: var(--text-2); font-size: 16px; margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; gap: 7px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 13px; }
a.tag:hover { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold); }
.tag.red, .tag.adult { background: var(--danger); color: #1B0B08; box-shadow: none; }
.tag.gold { background: var(--grad); color: var(--gold-ink); box-shadow: none; }
.tag svg { width: 14px; height: 14px; color: var(--gold); }
.tag.gold svg, .tag.red svg { color: inherit; }
.ch-cta { display: flex; flex-direction: column; gap: 10px; width: 300px; }
.btn-tg { height: 58px; font-size: 16px; }
.btn-tg::after { animation: shine 3.4s var(--ease) infinite; transition: none; }
.ch-actions { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
.ch-actions .btn { padding: 0 16px; font-size: 14px; }
.like-btn.on { --bg: linear-gradient(135deg, #EAA08F, #C1584A); --fg: #1B0B08; }
.like-btn.on svg, .fav-btn.on svg { color: inherit; }
.fav-btn.on { --bg: var(--grad); --fg: var(--gold-ink); }
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.statrow > div { position: relative; padding: 20px; border-radius: 20px; background: rgba(10, 9, 8, .45); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.statrow > div:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-3); }
.statrow > div::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.statrow span { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-3); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.statrow span i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-3); font-style: normal; flex-shrink: 0; }
.statrow span i svg { width: 15px; height: 15px; }
.statrow b { display: block; font: 600 36px/1 var(--f-display); margin-top: 12px; color: var(--gold-2); white-space: nowrap; }
.ch-body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; margin-top: 24px; align-items: start; }
.panel { position: relative; padding: 30px; border-radius: var(--r-l); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 32px; display: flex; align-items: center; gap: 12px; }
.ch-desc { font-size: 16px; line-height: 1.75; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; position: relative; padding-left: 22px; }
.ch-desc::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(var(--gold), transparent); }
.ch-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share-grid a, .share-grid button { height: 48px; border-radius: 14px; border: 0; display: grid; place-items: center; color: var(--text); cursor: pointer; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .35s var(--spring), box-shadow .25s, color .25s; }
.share-grid a:hover, .share-grid button:hover { color: var(--gold-2); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--gold), 0 0 20px -8px rgba(216, 185, 138, .6); }
.share-grid svg { width: 20px; height: 20px; }
.share-grid b { font: 800 13px var(--f-body); letter-spacing: .04em; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-list li:last-child { border: 0; }
.info-list span { color: var(--text-3); }
.info-list b { text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.side-card { position: relative; padding: 24px; border-radius: var(--r-l); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.side-card h3 { margin-bottom: 14px; font-size: 26px; }
.own-card { box-shadow: inset 0 0 0 1px var(--line-3), 0 0 40px -20px rgba(216, 185, 138, .5); background: radial-gradient(300px 160px at 100% 0%, rgba(216, 185, 138, .2), transparent 70%), var(--card-bg); }
.pending-banner { padding: 14px 18px; border-radius: 16px; margin-bottom: 18px; font-weight: 700; background: rgba(229, 184, 101, .1); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(229, 184, 101, .4); }
.mini-list a { display: flex; gap: 12px; align-items: center; padding: 9px 0; color: var(--text); border-bottom: 1px solid var(--line); }
.mini-list a:last-child { border: 0; }
.mini-list b { display: block; font-size: 14px; line-height: 1.3; }
.mini-list small { color: var(--text-3); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.gallery a { aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: block; box-shadow: inset 0 0 0 1px var(--line-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(6, 5, 4, .94); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.on { display: flex; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 18px; animation: pop .35s var(--spring); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--text); font-size: 20px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-3); }
.lightbox .lb-x { top: 20px; right: 20px; } .lightbox .lb-p { left: 20px; top: 50%; } .lightbox .lb-n { right: 20px; top: 50%; }
.lightbox .lb-c { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text); font-weight: 700; }
.burst { position: fixed; pointer-events: none; z-index: 200; font-size: 22px; animation: burst 1s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

/* ---------- Формы ---------- */
.card { position: relative; background: var(--card-bg); border-radius: var(--r-l); padding: 30px; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; color: var(--text); }
.field .hint { font-size: 13px; color: var(--text-3); margin-top: 7px; }
.input, select.input, textarea.input { width: 100%; min-height: 50px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .03); color: var(--text); padding: 12px 16px; font: 500 15px var(--f-body); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, background .25s; }
select.input option { background: #17140F; color: var(--text); }
.input::placeholder { color: var(--text-3); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus { outline: none; background: rgba(216, 185, 138, .04); box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 4px rgba(216, 185, 138, .1); }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.alert-err { background: rgba(224, 120, 107, .1); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(224, 120, 107, .4); }
.alert-ok { background: rgba(143, 201, 160, .1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(143, 201, 160, .4); }
.alert-info { background: rgba(216, 185, 138, .07); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.auth-wrap { min-height: calc(100vh - 260px); display: grid; place-items: center; padding: 50px 20px; position: relative; }
.auth-card { width: 100%; max-width: 460px; position: relative; animation: rise .8s var(--ease) both; }
.auth-card .card { padding: 38px; }
.auth-card .card::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.auth-card h1 { font-size: 46px; }
.auth-plane { position: absolute; top: -12px; right: 24px; z-index: 2; }
.pass-eye { position: relative; }
.pass-eye .input { padding-right: 90px; }
.pass-eye button { position: absolute; right: 10px; top: 8px; height: 34px; border: 0; background: none; color: var(--text-3); cursor: pointer; font: 600 13px var(--f-body); }
.pass-eye button:hover { color: var(--gold); }
.strength { height: 4px; border-radius: 4px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--danger); transition: width .3s var(--ease), background .3s; }
.add-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; padding-bottom: 40px; }
.steps { display: flex; gap: 8px; margin-bottom: 24px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.steps span.on::after { content: ''; position: absolute; inset: 0; background: var(--grad); animation: grow .7s var(--ease) both; }
.preview-slot { position: sticky; top: 100px; }
.preview-slot .cover { animation: pop .6s var(--spring) both; }
.price-tag { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: rgba(216, 185, 138, .06); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 14px; font-weight: 600; }
.price-tag b { font: 600 28px var(--f-display); color: var(--gold-2); white-space: nowrap; }
.loader { width: 18px; height: 18px; border: 2px solid rgba(27, 20, 9, .3); border-top-color: var(--gold-ink); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
.typing { display: inline-flex; gap: 4px; padding: 6px 4px; vertical-align: middle; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-3px); } }
.bubble { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 28px 18px; border-radius: 18px; border: 1px dashed var(--line-3); background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .25s, background .25s; }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: rgba(216, 185, 138, .05); }
.field > .dropzone { display: flex; margin: 0; font-weight: 600; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--gold-ink); display: grid; place-items: center; }
.dropzone .dz-ico svg { width: 22px; height: 22px; }
.dropzone small { color: var(--text-3); font-weight: 500; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.ph-grid:empty { display: none; }
.ph-item { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ph-item img { width: 100%; height: 100%; object-fit: cover; }
.ph-item:first-child { box-shadow: 0 0 0 2px var(--gold); }
.ph-cover { position: absolute; left: 4px; bottom: 4px; right: 4px; }
.ph-cover input, .ph-del input { position: absolute; opacity: 0; }
.ph-cover span { display: block; text-align: center; font-size: 10.5px; font-weight: 700; background: rgba(10, 9, 8, .75); color: var(--text); padding: 3px; border-radius: 8px; cursor: pointer; }
.ph-cover input:checked + span { background: var(--grad); color: var(--gold-ink); }
.ph-del { position: absolute; top: 4px; right: 4px; }
.ph-del span, .ph-rm { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 9, 8, .75); color: var(--text); cursor: pointer; border: 0; }
.ph-rm { position: absolute; top: 4px; right: 4px; }
.ph-del span svg, .ph-rm svg { width: 14px; height: 14px; }
.ph-del input:checked + span { background: var(--danger); }
.ph-item:has(.ph-del input:checked) img { opacity: .3; filter: grayscale(1); }
.ph-item .busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 9, 8, .6); }

/* ---------- Пакеты ---------- */

/* ---------- Кабинет ---------- */
.me-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 30px 0 20px; }
.me-head .ava { width: 78px; height: 78px; font-size: 34px; background: var(--grad); color: var(--gold-ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-3); }
.me-head h1 { font-size: 48px; margin: 0; }
.tabs { display: flex; gap: 4px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); width: max-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 9px 20px; font-weight: 600; color: var(--text-2); border-radius: 999px; white-space: nowrap; font-size: 14.5px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { background: linear-gradient(180deg, rgba(60, 50, 38, .8), rgba(28, 24, 19, .9)); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.kpi { position: relative; overflow: hidden; background: var(--card-bg); border-radius: 20px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line-2); }
.kpi:nth-child(1) { box-shadow: inset 0 0 0 1px var(--gold), 0 0 40px -22px rgba(216, 185, 138, .7); }
.kpi span { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kpi b { display: block; font: 600 38px var(--f-display); margin-top: 6px; color: var(--gold-2); }
.my-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--card-bg); border-radius: 20px; padding: 16px 20px; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .4s var(--spring), box-shadow .3s; }
.my-row:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px var(--line-3); }
.my-row h3 { font: 700 16.5px var(--f-body); margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.my-row h3 a { color: var(--text) !important; }
.my-thumb { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cc) 28%, #2A241D), #110E0B 75%); color: var(--gold-2); display: grid; place-items: center; font: 600 22px var(--f-display); box-shadow: 0 0 0 1px var(--line-3); }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-thumb:hover { color: var(--gold-2); }
.my-link { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.my-link > svg { width: 16px; height: 16px; color: var(--gold); }
.my-link > span { overflow-wrap: anywhere; }
.my-link .link-btn { font-size: 13px; }
.my-row .acts { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.status { font: 700 11px var(--f-body); letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.status.st-active { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(143, 201, 160, .4); }
.status.st-pending { color: var(--warn); box-shadow: inset 0 0 0 1px rgba(229, 184, 101, .4); }
.status.st-rejected { color: var(--danger); box-shadow: inset 0 0 0 1px rgba(224, 120, 107, .4); }
.promo-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.promo-pills span { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: var(--gold-ink); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card-bg); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; background: rgba(255, 255, 255, .02); }
.table .plus { color: var(--ok); font-weight: 700; } .table .minus { color: var(--danger); font-weight: 700; }
.wallet { position: relative; overflow: hidden; background: radial-gradient(400px 200px at 100% 0%, rgba(216, 185, 138, .26), transparent 70%), var(--card-bg); color: var(--text); border-radius: var(--r-l); padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: inset 0 0 0 1px var(--gold), var(--shadow); }
.wallet b { font: 600 54px var(--f-display); display: block; color: var(--gold-2); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }

/* ---------- Подвал ---------- */
.foot { position: relative; z-index: 1; margin-top: 70px; padding: 56px 0 30px; background: linear-gradient(180deg, rgba(20, 17, 14, .4), #0D0B09); border-top: 1px solid var(--line); }
.foot::before { content: ''; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-top p { margin: 12px 0 0; color: var(--text-2); max-width: 460px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot h4 { font: 700 11.5px var(--f-body); text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin: 0 0 16px; }
.foot-grid a { display: block; color: var(--text-2); padding: 5px 0; font-size: 14.5px; transition: color .25s, transform .25s; }
.foot-grid a:hover { color: var(--gold-2); transform: translateX(4px); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }

/* ---------- Плавающие элементы ---------- */
.dock { display: none; }
.to-top { position: fixed; right: 24px; bottom: 28px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--gold-2); background: rgba(20, 17, 14, .9); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg.ar { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top .ring-p { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring-p circle { fill: none; stroke: url(#tgGrad); stroke-width: 1.8; stroke-dasharray: 138; stroke-dashoffset: calc(138 - 138 * var(--p, 0)); stroke-linecap: round; }
.toasts { position: fixed; right: 20px; top: 96px; z-index: 300; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; background: #17140F; color: var(--text); padding: 13px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l); font-weight: 600; max-width: 360px; animation: pop .45s var(--spring); }
.toast.err { box-shadow: inset 0 0 0 1px rgba(224, 120, 107, .6), var(--shadow-l); }
.toast.out { animation: toastout .45s var(--ease) forwards; }
@keyframes toastout { to { opacity: 0; transform: translateX(40px); } }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.toast.err svg { color: var(--danger); }
.palette { position: fixed; inset: 0; z-index: 400; background: rgba(6, 5, 4, .7); backdrop-filter: blur(10px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.palette.on { display: flex; animation: fade .2s; }
.palette-box { width: 100%; max-width: 660px; background: #15120F; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow-l); overflow: hidden; animation: pop .4s var(--spring); position: relative; }
.palette-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--text); font: 500 20px var(--f-body); padding: 24px 26px; }
.palette-box input::placeholder { color: var(--text-3); }
.palette-box input:focus { outline: none; }
.palette-box .suggest { position: static; display: block; box-shadow: none; border-radius: 0; max-height: 60vh; overflow: auto; background: none; }
.palette-box .suggest:empty { display: none; }
.age-gate { position: fixed; inset: 0; z-index: 500; background: rgba(6, 5, 4, .9); backdrop-filter: blur(20px); display: grid; place-items: center; padding: 20px; }
.age-gate .card { max-width: 440px; text-align: center; animation: pop .45s var(--spring); }
.age-ok .age-gate { display: none; }
.confetti { position: fixed; top: -20px; z-index: 700; width: 8px; height: 12px; pointer-events: none; animation: confetti 2.4s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .nav a { padding: 8px 14px; font-size: 18px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .car-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .ch-body { grid-template-columns: 1fr; }
  .ch-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-top { grid-template-columns: auto minmax(0, 1fr); }
  .ch-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; width: auto; }
  .ch-cta .btn-tg { flex: 1 1 280px; }
  .ch-actions { flex: 1 1 280px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .with-side { grid-template-columns: 1fr; gap: 6px; }
  .side { position: static; padding: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; }
  .side::before, .side-h, .side-links { display: none; }
  .side-list { display: flex; gap: 8px; overflow-x: auto; max-height: none; padding: 2px 0 8px; scrollbar-width: none; }
  .side-list::-webkit-scrollbar { display: none; }
  .side-list li { flex: 0 0 auto; }
  .side-list a { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, .02); }
  .side-list a:hover { transform: none; }
  .side-list a.on { box-shadow: inset 0 0 0 1px var(--gold); }
  .hero-art { width: 80vw; opacity: .5; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pinlist, .chart.two { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .how { grid-template-columns: 1fr; }
  .seo-block { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .cta { grid-template-columns: 1fr; padding: 38px 30px; }
  .rubric-stats, .statrow, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .add-grid, .grid-2 { grid-template-columns: 1fr; }
  .preview-slot { position: static; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .covers.as-list .cover { grid-template-columns: minmax(0, 1fr) 230px 190px; }
  .covers.as-list .cv-desc { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: 64px; gap: 4px; }
  .logo { font-size: 25px; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-mark svg { width: 26px; height: 26px; }
  .hide-m { display: none !important; }
  .top-actions { gap: 2px; }
  .top-actions .icon-btn { width: 40px; height: 40px; }
  .top-actions .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .avatar-btn { width: 36px; height: 36px; font-size: 17px; }
  h2 { font-size: 27px; }
  .section { padding: 30px 0; }
  .section-head { gap: 12px; margin-bottom: 18px; }
  .section-head h2 { font-size: 27px; gap: 10px; }
  .section-head p { font-size: 13.5px; }
  .section-head .more { font-size: 13.5px; }
  .section-head .more span { display: none; }
  .sh-ico { width: 26px; height: 26px; font-size: 22px; }
  .sh-ico svg { width: 22px; height: 22px; }
  .hero { padding: 0 0 6px; }
  .hero-art { top: -64px; right: -20px; width: calc(100% + 40px); height: 320px; opacity: .6; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 96%); mask-image: linear-gradient(to bottom, #000 35%, transparent 96%); }
  .hero-art img { object-position: 46% 30%; }
  .hero-art .halo { left: 62%; top: 44%; }
  .hero-title { gap: 0; margin: 150px 0 22px; }
  .laurel { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 16.5px; }
  .hero-search form { padding: 5px 5px 5px 16px; gap: 8px; }
  .hero-search input { font-size: 15px; height: 44px; }
  .hero-search form > svg { width: 20px; height: 20px; }
  .hero-search .btn { width: 50px; height: 44px; }
  .hero-feats { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
  .hero-feats span { padding: 0; font-size: 14px; }
  .hero-feats span + span { border: 0; }
  .hero-feats svg { width: 19px; height: 19px; }
  .hero-chips { justify-content: flex-start; }
  .hero-chips .lbl { width: 100%; }
  .cat-tiles { gap: 10px; }
  .cat-tile { min-height: 164px; padding: 14px; border-radius: 18px; }
  .cat-tile .ct-art { font-size: 60px; top: 12px; }
  .cat-tile b { font-size: 22px; padding-right: 0; }
  .cat-tile small { font-size: 12px; padding-right: 0; }
  .cat-tile .circle-go { display: none; }
  .cat-tile .ct-cnt { top: 12px; left: 14px; font-size: 10px; }
  .car-track { grid-auto-columns: 86%; gap: 12px; }
  .car-btn { display: none; }
  .covers { grid-template-columns: 1fr; gap: 14px; }
  .cover { padding: 0 0 16px; }
  .cover > :not(.cv-cap):not(.cv-top) { margin-left: 16px; margin-right: 16px; }
  .feature-row { grid-template-columns: 1fr; }
  .rubrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rubric { padding: 16px; min-height: 130px; border-radius: 18px; }
  .rubric .emo { width: 42px; height: 42px; font-size: 21px; margin-bottom: 8px; }
  .rubric b { font-size: 19px; padding-right: 0; } .rubric b.long { font-size: 16.5px; }
  .rubric .arr { display: none; }
  .pin-row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px 14px; gap: 12px; }
  .pin-row .subs { display: none; }
  .pin-go span { display: none; }
  .pin-go { width: 40px; padding: 0; justify-content: center; }
  .chart-row { grid-template-columns: 28px auto minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .chart-row .ava { width: 40px; height: 40px; font-size: 16px; }
  .rank { font-size: 21px; } .chart li:nth-child(-n+3) .rank { font-size: 24px; }
  .subs { font-size: 19px; }
  .how-step { padding: 22px; }
  .how-step::before { font-size: 54px; }
  .how-step h3 { font-size: 24px; }
  .cta { padding: 30px 22px; }
  .cta h2 { font-size: 34px; }
  .cta-btns .btn { flex: 1 1 100%; }
  .seo-block { padding: 22px 18px; margin-top: 30px; }
  .rich h2, .faq h2 { font-size: 28px; }
  .rich h3 { font-size: 21px; }
  .faq summary { padding: 14px; font-size: 14.5px; }
  .faq details p { padding: 0 14px 14px; }
  .list-hero { padding: 26px 20px; }
  .list-hero::before { display: none; }
  .list-h1 { font-size: 40px; }
  .rubric-hero { grid-template-columns: 1fr; justify-items: start; padding: 26px 20px; gap: 22px; }
  .medallion { width: 108px; height: 108px; margin: 8px 0 0 8px; }
  .medallion > span { width: 84px; height: 84px; font-size: 40px; }
  .medallion::after { inset: -10px; }
  .rubric-hero h1 { font-size: 42px; }
  .rubric-lead { font-size: 15px; }
  .rubric-cta .btn { flex: 1 1 auto; }
  .rstat { padding: 16px; } .rstat b { font-size: 30px; } .rstat span { font-size: 10px; letter-spacing: .08em; }
  .rubric-stats { gap: 10px; }
  .podium { gap: 8px; }
  .pod { padding: 18px 6px 14px; border-radius: 18px; gap: 6px; }
  .pod.p1 { padding-top: 30px; }
  .pod .ava { width: 52px; height: 52px; font-size: 19px; }
  .pod.p1 .ava { width: 62px; height: 62px; font-size: 22px; }
  .pod .medal { width: 22px; height: 22px; font-size: 13px; top: 8px; left: 8px; }
  .pod .crown { font-size: 15px; top: 4px; }
  .pod b { font-size: 12px; }
  .pod .pv { font-size: 21px; }
  .pod small { display: none; }
  .rubric-hero .float-emo { opacity: .08; }
  .top-zone { padding: 16px; }
  .top-zone h2 { font-size: 26px; }
  .toolbar.sticky { top: 72px; border-radius: 22px; padding: 8px; }
  .toolbar { gap: 8px; margin: 18px 0; }
  .toolbar .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .toolbar .seg::-webkit-scrollbar { display: none; }
  .toolbar .sep, .toolbar .count { display: none; }
  .qfilter { max-width: none; }
  .covers.as-list .cover { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  .covers.as-list .cv-stats { padding-top: 10px; border-top: 1px solid var(--line); }
  .ch-hero { padding: 28px 18px 20px; }
  .ch-hero .rings { display: none; }
  .ch-top { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .ch-top h1 { font-size: 38px; }
  .ch-kicker { justify-content: center; }
  .ch-kicker::before { content: ''; width: 40px; height: 1px; background: linear-gradient(270deg, var(--gold), transparent); }
  .ch-kicker::after { width: 40px; }
  .ch-top .tags { justify-content: center; }
  .ch-ava { width: 120px; height: 120px; margin-top: 10px; }
  .ch-ava .ava { font-size: 44px; }
  .ch-cta { width: 100%; flex-direction: column; }
  .ch-cta .btn-tg, .ch-actions { flex: none; width: 100%; }
  .statrow { gap: 10px; margin-top: 24px; }
  .statrow > div { padding: 14px; } .statrow b { font-size: 30px; } .statrow span { font-size: 9.5px; gap: 8px; letter-spacing: .06em; } .statrow span i { width: 26px; height: 26px; }
  .ch-side { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .panel h2 { font-size: 28px; }
  .ch-desc { font-size: 15px; padding-left: 16px; }
  .card { padding: 22px 18px; }
  .auth-card .card { padding: 28px 20px; }
  .auth-card h1 { font-size: 40px; }
  .me-head h1 { font-size: 38px; }
  .kpi b { font-size: 30px; }
  .my-row { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .my-row .acts { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .table { display: block; overflow-x: auto; }
  .wallet b { font-size: 42px; }
  .foot { padding: 40px 0 120px; margin-top: 50px; }
  .foot-grid { gap: 24px 16px; }
  .foot-top .btn { width: 100%; }
  .to-top { bottom: 100px; right: 14px; width: 46px; height: 46px; }
  .toasts { left: 14px; right: 14px; top: 76px; }
  .toast { max-width: none; }
  .empty .btn + .btn { margin: 10px 0 0; }
  .dock {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 70; justify-content: space-around; align-items: center;
    padding: 8px 6px; border-radius: 26px; background: rgba(18, 15, 12, .9); backdrop-filter: saturate(1.3) blur(18px); -webkit-backdrop-filter: saturate(1.3) blur(18px);
    box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-l); transition: transform .45s var(--ease);
  }
  .dock.hide { transform: translateY(140%); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--text-3); padding: 4px 6px; border-radius: 12px; min-width: 54px; }
  .dock a.on { color: var(--gold); }
  .dock a svg { width: 22px; height: 22px; }
  .dock .fab { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: var(--gold-ink); justify-content: center; margin-top: -30px; min-width: 0; box-shadow: 0 12px 26px -10px rgba(216, 185, 138, .8), 0 0 0 5px var(--bg); }
  .dock .fab svg { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .logo { font-size: 22px; }
  .top-actions .btn-login span { display: none; }
  .top-actions .btn-login { width: 40px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
svg { fill: none; }
.cv-mark.on svg, .fav-btn.on svg { fill: currentColor; }

/* боковое меню на странице рубрики: длинный список прокручивается */
.side-list.scroll { max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2C261F transparent; -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent); padding-bottom: 30px; }
@media (max-width: 1060px) { .side-list.scroll { max-height: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-bottom: 8px; } }
.car-track.car-4 { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
@media (max-width: 1240px) { .car-track.car-4 { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 960px) { .car-track.car-4 { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 720px) { .car-track.car-4 { grid-auto-columns: 86%; } }
.ch-actions .btn:last-child { width: 48px; padding: 0; }

/* ===== Исправления раскладки и мобильной версии ===== */
.with-side > * { min-width: 0; }
.rubric b, .cat-tile b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.rich h2, .rich h3, .panel h2, .section-head h2, .ch-top h1, .rubric-hero h1, .list-h1 { overflow-wrap: break-word; }
.chart.plain li .rank { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text-3); font-size: 22px; }
.rank-block .chart-row { padding-top: 10px; padding-bottom: 10px; }
.ch-top h1 .nb { white-space: nowrap; }
.ch-top h1 .verified { margin-left: 10px; vertical-align: .1em; }
@media (max-width: 1060px) {
  .with-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(30px, 9.2vw, 42px); }
  .hero-title { margin-top: 140px; }
  .cta-planes { display: none; }
  .chart-row .subs small { font-size: 9.5px; letter-spacing: .06em; }
  .chart-row .subs { font-size: 17px; }
  .chart-row b { font-size: 14px; }
  .rubric b { font-size: 17px; } .rubric b.long { font-size: 15px; }
  .cat-tile b { font-size: 20px; }
  .section-head .more { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); flex-shrink: 0; }
  .section-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .section-head > div { min-width: 0; flex: 1 1 220px; }
  .cv-stats b { font-size: 17px; }
  .cover.big .cv-title { font-size: 17px; }
  .rank-block .chart-row { grid-template-columns: 26px auto minmax(0, 1fr) auto; }
  .chart.plain li .rank { font-size: 18px; }
  .ch-top h1 { font-size: clamp(28px, 8.4vw, 38px); }
}

.auth-plane { white-space: nowrap; }
.tabs { -webkit-mask-image: none; }
@media (max-width: 720px) { .tabs { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } .auth-plane { right: 16px; } }

.cv-cap { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.cover.hl .cv-cap::before { display: none; }
.cover.hl::after { opacity: .5; }
.rubric-hero .float-emo { opacity: .22; filter: sepia(.35) saturate(.8); }
@media (max-width: 720px) { .rubric-hero .float-emo { opacity: .12; } }
.cv-title .verified { box-shadow: none; }

/* ================= Статистика по дням ================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-top: 8px; }
.st-ctrl { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.st-pick select { height: 42px; max-width: 260px; padding: 0 38px 0 16px; border-radius: 999px; border: 0; color: var(--text); font: 600 14px var(--f-body, inherit); background: rgba(255, 255, 255, .03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8B98A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 15px center; box-shadow: inset 0 0 0 1px var(--line-3); appearance: none; cursor: pointer; }
.st-pick select option { background: #15120F; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--text-2); transition: color .25s, background .25s; white-space: nowrap; }
.seg a:hover { color: var(--gold-2); }
.seg a.on { background: var(--grad); color: var(--gold-ink); }
.st-kpis .kpi b small { font-size: .55em; color: var(--text-2); }
.kpi .kd { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-3); letter-spacing: 0; text-transform: none; line-height: 1.4; }
.kpi .kpi .kd small { letter-spacing: 0; }
.kpi .kd small { font-weight: 500; color: var(--text-3); }
.kpi .kd.up { color: var(--ok); } .kpi .kd.down { color: var(--danger); }
.ds-card { padding: 26px 26px 22px; }

.ds { --ds-a: var(--gold); position: relative; }
.ds-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.ds-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; }
.ds-title svg { width: 20px; height: 20px; color: var(--gold); }
.ds-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ds-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13.5px var(--f-body, inherit); color: var(--text-2); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .25s, box-shadow .25s, background .25s; }
.ds-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); }
.ds-chip:hover { color: var(--text); }
.ds-chip.on { color: var(--gold-2); background: rgba(216, 185, 138, .09); box-shadow: inset 0 0 0 1px var(--gold); }
.ds-chip.on i { background: var(--grad); box-shadow: 0 0 10px rgba(216, 185, 138, .8); }

.ds-chart { position: relative; height: 230px; padding: 0 0 26px; }
.ds-chart::before { content: ''; position: absolute; inset: 0 0 26px; background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 25%); opacity: .7; pointer-events: none; }
.ds-bars { position: relative; height: 100%; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(2px, .5vw, 6px); align-items: end; }
.ds-bar { position: relative; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: flex-end; }
.ds-bar i { display: block; width: 100%; height: max(var(--h), 2px); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-2), rgba(216, 185, 138, .35)); opacity: .78; transform-origin: bottom; transition: height .55s var(--ease), opacity .2s, filter .2s; animation: ds-grow .8s var(--ease) both; }
.ds-bar:nth-child(3n) i { animation-delay: .05s; } .ds-bar:nth-child(3n+1) i { animation-delay: .1s; }
@keyframes ds-grow { from { transform: scaleY(0); } }
.ds-bar.we i { background: linear-gradient(180deg, #C9A9E0, rgba(170, 140, 200, .3)); opacity: .7; }
.ds-bar.best i { background: var(--grad); opacity: 1; box-shadow: 0 0 22px -4px rgba(216, 185, 138, .9); }
.ds-bar.today i { box-shadow: inset 0 0 0 1.5px var(--gold-2); opacity: 1; }
.ds-bar:hover i, .ds-bar.act i { opacity: 1; filter: brightness(1.18); }
.ds-bar small { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-3); white-space: nowrap; font-weight: 600; }
.ds-bar.today small { color: var(--gold-2); }
.ds-avg { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(216, 185, 138, .55); z-index: 2; pointer-events: none; transition: bottom .55s var(--ease); margin-bottom: 26px; }
.ds-avg span { position: absolute; right: 0; bottom: 4px; font-size: 11px; color: var(--gold-2); background: rgba(14, 12, 10, .85); padding: 2px 8px; border-radius: 999px; }
.ds-tip { position: absolute; z-index: 5; top: 0; min-width: 150px; padding: 10px 14px; border-radius: 14px; background: rgba(18, 15, 12, .97); box-shadow: inset 0 0 0 1px var(--line-3), 0 16px 40px -10px #000; pointer-events: none; font-size: 13px; transform: translateX(-50%); animation: pop .25s var(--spring); }
.ds-tip b { display: block; font-size: 13px; color: var(--gold-2); margin-bottom: 4px; }
.ds-tip div { display: flex; justify-content: space-between; gap: 14px; color: var(--text-2); }
.ds-tip div em { font-style: normal; color: var(--text); font-weight: 700; }
.ds-tip div.on em { color: var(--gold-2); }
.ds-legend { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 12px 0 18px; font-size: 12.5px; color: var(--text-3); }
.ds-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ds-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-we { background: #B796D1; } .lg-best { background: var(--grad); box-shadow: 0 0 8px rgba(216, 185, 138, .8); }
.ds-hint { margin-left: auto; }

.ds-table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); -webkit-overflow-scrolling: touch; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.ds-table th, .ds-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ds-table th:first-child, .ds-table td:first-child { text-align: left; }
.ds-table thead th { position: sticky; top: 0; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; background: #15120F; }
.ds-table td:first-child b { display: block; font-weight: 700; color: var(--text); }
.ds-table td:first-child small { color: var(--text-3); font-size: 12px; }
.ds-table tbody tr { transition: background .2s; }
.ds-table tbody tr:hover { background: rgba(216, 185, 138, .05); }
.ds-table tr.we td:first-child small { color: #C3A6DA; }
.ds-table tr.today td:first-child b { color: var(--gold-2); }
.ds-table tr.today { background: rgba(216, 185, 138, .05); }
.ds-v { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.ds-v em { font-style: normal; color: var(--gold); }
.is-best .ds-v { color: var(--gold-2); }
.ds-d { display: block; font-size: 11.5px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ds-d.up { color: var(--ok); } .ds-d.down { color: var(--danger); } .ds-d.eq { color: var(--text-3); }
.ds-mini { display: block; height: 3px; margin: 6px 0 0 auto; width: min(90px, 100%); border-radius: 3px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.ds-mini i { display: block; height: 100%; margin-left: auto; border-radius: 3px; background: var(--grad); }
.ds-week td { background: rgba(216, 185, 138, .06); font-size: 12.5px; font-weight: 700; color: var(--gold-2); padding-top: 9px; padding-bottom: 9px; font-variant-numeric: tabular-nums; }
.ds-table tfoot td { font-weight: 800; color: var(--gold-2); border-bottom: 0; background: rgba(216, 185, 138, .08); font-variant-numeric: tabular-nums; }
.ds-table tfoot small { display: block; font-weight: 500; font-size: 11.5px; color: var(--text-3); }
.ds:not(.all) .ds-more { display: none; }
.ds-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ds-btn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px var(--f-body, inherit); color: var(--gold-ink); background: var(--grad); transition: transform .3s var(--spring), box-shadow .3s; }
.ds-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(216, 185, 138, .9); }
.ds-btn svg { width: 16px; height: 16px; }
.ds-btn[data-ds-all] svg { transform: rotate(90deg); transition: transform .3s; }
.ds.all .ds-btn[data-ds-all] svg { transform: rotate(-90deg); }
.ds-btn.ghost { color: var(--text); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-3); }
.ds-btn.ghost svg { color: var(--gold); }
@media (max-width: 700px) {
  .ds-card { padding: 18px 14px; }
  .st-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-kpis .kpi { padding: 16px 14px; }
  .st-kpis .kpi b { font-size: 30px; }
  .st-ctrl, .st-pick, .st-pick select { width: 100%; max-width: none; }
  .seg { width: 100%; } .seg a { flex: 1; text-align: center; padding: 8px 6px; }
  .ds-chart { height: 180px; }
  .ds-bar small { font-size: 10px; }
  .ds-hint { margin-left: 0; width: 100%; }
  .ds-title { font-size: 19px; }
  .ds-table th, .ds-table td { padding: 9px 6px; }
  .ds-table th:first-child, .ds-table td:first-child { padding-left: 12px; }
  .ds-table th:last-child, .ds-table td:last-child { padding-right: 12px; }
  .ds-table thead th { font-size: 9.5px; letter-spacing: .04em; }
  .ds-table { font-size: 13px; min-width: 0; }
  .ds-d { font-size: 10.5px; }
  .ds-week td { font-size: 11.5px; }
  .ds-table tfoot small { font-size: 10px; }
  .ds-chip { height: 32px; padding: 0 11px; font-size: 12.5px; gap: 6px; }
  .ds-head { margin-bottom: 16px; }
  .ds-mini { display: none; }
  .ds-actions .ds-btn { flex: 1 1 100%; justify-content: center; }
}

/* ================= Рекомендуемые — ровная сетка без прокрутки ================= */
.rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.rec-grid > .cover:nth-child(n+7) { display: none; }
.rec-grid.open > .cover:nth-child(n+7) { display: flex; }
.rec-more { display: flex; justify-content: center; margin-top: 22px; }
@media (min-width: 641px) { .rec-more.few { display: none; } }
@media (max-width: 1200px) and (min-width: 641px) { .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rec-grid.open > .cover:nth-child(9) { display: none; } }
@media (max-width: 640px) {
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .rec-grid > .cover:nth-child(n+4) { display: none; }
  .rec-grid.open > .cover:nth-child(n+4) { display: flex; }
}
.pin-top { margin-top: 30px; }
.pin-top .section-head { margin-bottom: 18px; }

/* ================= Кнопка «Перейти в Telegram»: блик, парение и взлёт самолётика ================= */
.tg-fly { position: relative; overflow: hidden; isolation: isolate; }
.tg-fly .glint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 222, .38) 48%, rgba(255, 244, 222, .08) 54%, transparent 64%); transform: translateX(-120%); animation: tg-glint 4.6s var(--ease) infinite; animation-delay: var(--gd, 0s); }
@keyframes tg-glint { 0%, 72% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.tg-fly .fly { position: relative; z-index: 2; display: inline-grid; place-items: center; }
.tg-fly .fly svg { display: block; transition: transform .5s var(--spring), color .3s; }
.tg-fly .fly::before, .tg-fly .fly::after { content: ''; position: absolute; right: 62%; top: 62%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, currentColor); transform: rotate(-28deg); transform-origin: right center; opacity: 0; width: 0; transition: width .35s var(--ease), opacity .3s; }
.tg-fly .fly::after { top: 78%; right: 48%; }
.tg-fly:hover .fly svg, .tg-fly:focus-visible .fly svg { animation: tg-hover 1.3s ease-in-out infinite; }
.tg-fly:hover .fly::before { width: 14px; opacity: .55; }
.tg-fly:hover .fly::after { width: 9px; opacity: .35; transition-delay: .08s; }
@keyframes tg-hover { 0%, 100% { transform: translate(2px, -2px) rotate(-12deg); } 50% { transform: translate(4px, -5px) rotate(-16deg); } }
.tg-fly.launch .fly svg { animation: tg-launch .95s cubic-bezier(.55, 0, .25, 1) forwards; }
.tg-fly.launch .fly::before, .tg-fly.launch .fly::after { opacity: 0 !important; }
@keyframes tg-launch {
  0% { transform: none; }
  18% { transform: translate(-5px, 4px) rotate(10deg) scale(.92); }
  55% { transform: translate(90px, -60px) rotate(-22deg) scale(.55); opacity: 0; }
  56% { transform: translate(-60px, 40px) rotate(-22deg) scale(.6); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.tg-fly .ring { position: absolute; z-index: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 240, 210, .85), rgba(216, 185, 138, .25) 55%, transparent 70%); animation: tg-ring .7s var(--ease) forwards; }
@keyframes tg-ring { to { transform: scale(24); opacity: 0; } }
.tg-spark { position: fixed; z-index: 9999; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none; background: var(--gold-2); box-shadow: 0 0 10px var(--gold); animation: tg-spark .75s var(--ease) forwards; }
@keyframes tg-spark { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }
.cv-go.tg-fly:hover svg, .pin-go.tg-fly:hover svg { transform: none; }
.btn-tg.tg-fly::after { display: none; }
.btn-tg.tg-fly { box-shadow: 0 0 0 0 rgba(216, 185, 138, .5), var(--shadow, none); animation: tg-pulse 2.8s ease-out infinite; }
@keyframes tg-pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 185, 138, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(216, 185, 138, 0); } }
.btn-tg.tg-fly .fly svg { width: 20px; height: 20px; }
.pin-go.tg-fly { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .tg-fly .glint, .btn-tg.tg-fly { animation: none; }
  .tg-fly:hover .fly svg, .tg-fly.launch .fly svg { animation: none; }
  .ds-bar i { animation: none; }
}

/* ================= Период отчёта: Сегодня / Вчера / 7…90 дней / любой день ================= */
.period { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.period-tabs { flex-wrap: wrap; }
.period-day { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.period-day.on { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(216, 185, 138, .08); }
.period-day label { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; color: var(--gold); }
.period-day label svg { width: 16px; height: 16px; flex: none; }
.period-day input { height: 34px; border: 0; background: none; color: var(--text); font: 600 14px var(--f-body, inherit); color-scheme: dark; cursor: pointer; min-width: 0; }
.period-day input::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(.5); cursor: pointer; }
.pd-step { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--gold-2); transition: background .2s; flex: none; }
.pd-step:hover { background: rgba(216, 185, 138, .12); }
.pd-step svg { width: 16px; height: 16px; transform: rotate(180deg); }
.pd-step.next svg { transform: none; }
.st-when { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 12px; font-family: var(--f-display); font-size: 22px; color: var(--gold-2); }
.st-when svg { width: 18px; height: 18px; color: var(--gold); }
.st-kpis .kpi .kd + .kd { margin-top: 3px; }

.ds-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: -4px 0 22px; }
.ds-sum-i { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow .25s, background .25s; min-width: 0; }
.ds-sum-i:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.ds-sum-i.on { background: rgba(216, 185, 138, .08); box-shadow: inset 0 0 0 1px var(--gold); }
.ds-sum-i span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.ds-sum-i b { display: block; margin-top: 4px; font: 600 24px/1.1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.ds-sum-i.on b { color: var(--gold-2); }
.ds-sum-i small { font-size: 12px; color: var(--text-3); }
.ds-note { margin: -6px 0 16px; padding: 10px 14px; border-radius: 12px; background: rgba(216, 185, 138, .07); color: var(--gold-2); font-size: 13px; }
.ds-open { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11.5px; font-weight: 700; color: var(--gold); opacity: .75; transition: opacity .2s; }
.ds-open svg { width: 12px; height: 12px; }
.ds-table tr:hover .ds-open, .ds-open:focus-visible { opacity: 1; }
.ds-tip a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--gold); pointer-events: auto; }
.ds-tip.has-link { pointer-events: auto; }
.ds-hours .ds-bar.we i { background: linear-gradient(180deg, #8FA7D6, rgba(120, 140, 200, .3)); }
.ds-hours .lg-we { background: #8FA7D6; }
.ds-table.wide { min-width: 720px; }
@media (max-width: 700px) {
  .period { gap: 8px; }
  .period-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 20px; }
  .period-tabs a { text-align: center; padding: 9px 4px; }
  .period-day { width: 100%; justify-content: space-between; }
  .period-day label { flex: 1; justify-content: center; }
  .ds-table.wide { min-width: 640px; }
  .ds-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ds-sum-i { padding: 10px 12px; }
  .ds-sum-i b { font-size: 21px; }
  .st-when { font-size: 19px; margin-top: 18px; }
  .ds-chips { display: none; }
}
.ds-chips { display: none !important; }

/* ================= Закреплено на главной ================= */
.pins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pin { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 0% 0%, rgba(216, 185, 138, .13), transparent 55%), var(--card-bg);
  box-shadow: inset 0 0 0 1px rgba(216, 185, 138, .32), 0 18px 40px -28px rgba(0, 0, 0, .9); transition: transform .45s var(--spring), box-shadow .3s; }
.pin::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); opacity: .85; }
.pin:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--gold), 0 24px 50px -26px rgba(216, 185, 138, .45); }
.pin .pin-card { position: absolute; inset: 0; z-index: 1; }
.pin-flag { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--grad); color: var(--gold-ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pin-flag svg { width: 11px; height: 11px; }
.pin-top-row { display: flex; align-items: center; gap: 14px; padding-right: 86px; min-width: 0; }
.pin .ava { width: 54px; height: 54px; font-size: 20px; flex: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(216, 185, 138, .7); }
.pin .pin-body { min-width: 0; }
.pin .pin-body b { display: block; font-weight: 700; font-size: 16px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin .pin-body small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--text-3); font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.pin .pin-body small i { width: 6px; height: 6px; border-radius: 50%; background: var(--cc, var(--gold)); flex: none; }
.pin .pin-desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.pin-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pin-foot .subs { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.pin-foot .subs b { font: 600 19px var(--f-display); color: var(--gold-2); margin-right: 2px; }
.pin .pin-go span:not(.fly) { display: inline !important; }
.pin .pin-go { width: auto !important; padding: 0 16px !important; }
.pin-free { align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 190px; background: repeating-linear-gradient(135deg, rgba(216, 185, 138, .035) 0 10px, transparent 10px 20px), rgba(255, 255, 255, .012); box-shadow: none; border: 1.5px dashed rgba(216, 185, 138, .35); }
.pin-free::before { display: none; }
.pin-free:hover { box-shadow: 0 20px 44px -28px rgba(216, 185, 138, .5); border-color: var(--gold); }
.pf-plus { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; color: var(--gold-ink); background: var(--grad); box-shadow: 0 10px 24px -10px rgba(216, 185, 138, .8); transition: transform .45s var(--spring); }
.pin-free:hover .pf-plus { transform: rotate(90deg) scale(1.08); }
.pf-plus svg { width: 22px; height: 22px; }
.pin-free b { font: 600 20px var(--f-display); color: var(--text); }
.pin-free small { max-width: 240px; font-size: 13px; color: var(--text-3); }
@media (max-width: 1060px) { .pins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pins { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pin { padding: 16px 16px 14px; }
  .pin-free { min-height: 0; padding: 20px 16px; flex-direction: row; flex-wrap: wrap; text-align: left; justify-content: flex-start; }
  .pin-free .pf-plus { margin: 0 6px 0 0; width: 42px; height: 42px; }
  .pin-free b { font-size: 18px; }
  .pin-free small { max-width: none; width: 100%; }
  .pins .pin-free ~ .pin-free { display: none; }
}


/* ================= Пакеты продвижения ================= */
.pk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 26px; padding: 5px; border-radius: 999px; width: fit-content; max-width: 100%; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.pk-tabs button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: 700 13.5px var(--f-body); cursor: pointer; transition: color .25s, background .25s; }
.pk-tabs button:hover { color: var(--gold-2); }
.pk-tabs button.on { background: var(--grad); color: var(--gold-ink); }
.pk-groups { display: grid; gap: 40px; }
.pk-group[hidden] { display: none; }
.pk-ghead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pk-ghead h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.pk-ghead p { margin: 2px 0 0; color: var(--text-3); font-size: 14px; }
.pk-gico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; color: var(--gold); background: rgba(216, 185, 138, .08); box-shadow: inset 0 0 0 1px var(--line-3); }
.pk-gico svg { width: 22px; height: 22px; }
.pk-gico.tier-first { background: var(--grad); color: var(--gold-ink); box-shadow: 0 10px 24px -12px rgba(216, 185, 138, .8); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(40, 34, 27, .9), rgba(20, 17, 14, .95)); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--spring), box-shadow .3s; }
.pack:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-3), 0 26px 50px -30px rgba(0, 0, 0, .9); }
.pack.tier-first { background: radial-gradient(130% 70% at 100% 0%, rgba(216, 185, 138, .16), transparent 60%), linear-gradient(180deg, rgba(44, 37, 28, .95), rgba(20, 17, 14, .95)); box-shadow: inset 0 0 0 1px rgba(216, 185, 138, .45); }
.pack.hit { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 60px -26px rgba(216, 185, 138, .75); }
.pk-hit { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 999px; background: linear-gradient(135deg, #F0B39F, #C9624F); color: #22100B; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(224, 120, 107, .8); }
.pk-hit svg { width: 12px; height: 12px; }
.pk-top { display: flex; flex-direction: column; gap: 6px; padding-right: 70px; }
.pack h3 { margin: 0; font-size: 26px; line-height: 1.1; }
.pk-days { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--text-3); }
.pk-days svg { width: 13px; height: 13px; color: var(--gold); }
.pk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 0; border-block: 1px solid var(--line); }
.pk-price b { font: 600 40px/1 var(--f-display); color: var(--gold-2); white-space: nowrap; }
.pk-price s { font-size: 15px; color: var(--text-3); }
.pk-price small { width: 100%; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.pk-desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.pk-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pk-feats li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(216, 185, 138, .14); color: var(--gold-2); flex: none; }
.pack .pk-buy, .pack > .btn { margin-top: auto; }
.pk-short { margin: -6px 0 0; text-align: center; font-size: 12px; color: var(--danger); font-weight: 600; }
/* мини-схема страницы: где появится канал */
.pk-map { display: grid; gap: 4px; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); width: 100%; }
.pk-map > span { display: flex; gap: 4px; }
.pk-map .m-head { height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .05); }
.pk-map .m-home i, .pk-map .m-cat i { flex: 1; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .05); }
.pk-map .m-cat { display: grid; grid-template-columns: repeat(4, 1fr); }
.pk-map .on, .pk-map .m-home.on i { background: var(--grad); box-shadow: 0 0 12px -2px rgba(216, 185, 138, .8); animation: pk-glow 2.4s ease-in-out infinite; }
.pk-map .m-cat i.pin { position: relative; }
.pk-map .m-cat i.pin::after { content: '1'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; font-weight: 900; color: var(--gold-ink); }
.pk-map .m-cat i.hl { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 10px -2px rgba(216, 185, 138, .8); }
@keyframes pk-glow { 50% { filter: brightness(1.25); } }
.pk-map.big { gap: 6px; padding: 12px; margin-bottom: 14px; }
.pk-map.big .m-head { height: 34px; } .pk-map.big .m-home i, .pk-map.big .m-cat i { height: 22px; }

/* страница продвижения канала */
.pm-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 34px; align-items: start; }
.pm-sticky { position: sticky; top: 92px; display: grid; gap: 14px; }
.pm-box { padding: 18px; border-radius: 20px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pm-box h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 19px; }
.pm-box h3 svg { width: 18px; height: 18px; color: var(--gold); }
.pm-active { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-active li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 14px; }
.pm-active li > svg { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: var(--grad); color: var(--gold-ink); flex: none; }
.pm-active small { display: block; font-weight: 500; color: var(--text-3); font-size: 12.5px; }
.pm-sum { display: block; font: 600 34px/1 var(--f-display); color: var(--gold-2); margin: -2px 0 14px; }
.pm-hero { padding: 30px 32px; margin-bottom: 26px; border-radius: 28px; background: radial-gradient(90% 120% at 100% 0%, rgba(216, 185, 138, .14), transparent 60%), var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pm-hero h1 { margin: 8px 0 10px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.pm-hero p { margin: 0; color: var(--text-2); max-width: 640px; }
.pm-legend, .pr-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.pm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pm-legend i { display: inline-block; height: 10px; border-radius: 3px; background: var(--grad); }
.pm-legend .lg-head { width: 26px; } .pm-legend .lg-home { width: 18px; } .pm-legend .lg-cat { width: 10px; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pm-main .pk-tabs { margin-top: 0; }

/* публичная страница /promo */
.pr-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: center; margin: 26px 0 40px; padding: 40px; border-radius: 32px;
  background: radial-gradient(70% 120% at 0% 0%, rgba(216, 185, 138, .16), transparent 60%), var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-hero h1 { margin: 10px 0 12px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
.pr-hero p { margin: 0; color: var(--text-2); font-size: 17px; max-width: 560px; }
.pr-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.pr-from { color: var(--text-3); font-weight: 600; }
.pr-from b { font: 600 28px var(--f-display); color: var(--gold-2); }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pr-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; font: 600 20px var(--f-display); color: var(--gold-ink); background: var(--grad); }
.pr-steps b { display: block; font-size: 15.5px; }
.pr-steps small { color: var(--text-3); font-size: 13px; }
.pr-where { margin-top: 56px; }
.pr-where h2, .pr-faq h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; }
.pr-where-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-w { padding: 18px; border-radius: 22px; background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-w b { display: block; font: 600 20px var(--f-display); margin-bottom: 6px; }
.pr-w p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.pr-faq { margin-top: 50px; max-width: 820px; }
@media (max-width: 1060px) {
  .pm-layout { grid-template-columns: minmax(0, 1fr); }
  .pm-sticky { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
  .pr-hero { grid-template-columns: minmax(0, 1fr); padding: 30px; }
  .pr-where-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pm-sticky { grid-template-columns: minmax(0, 1fr); }
  .pm-hero { padding: 22px 18px; border-radius: 22px; }
  .pr-hero { padding: 24px 18px; border-radius: 24px; margin-top: 14px; }
  .pr-hero p { font-size: 15.5px; }
  .pr-cta .btn { width: 100%; }
  .pr-where-grid { grid-template-columns: minmax(0, 1fr); }
  .pk-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .pk-tabs button { flex: none; padding: 0 14px; }
  .pk-ghead h2 { font-size: 24px; }
  .packs { grid-template-columns: minmax(0, 1fr); }
  .pack { padding: 20px 18px; }
  .pk-price b { font-size: 36px; }
}

/* ================= Исправления ================= */
/* админка: списки-рейтинги не должны наследовать стиль номера места из каталога */
.panels .rank { font: 500 14px/1.45 var(--f-body); color: var(--text); text-align: left; }
.panels .rank-row > div { min-width: 0; }
.panels .rank-row a { color: var(--text); }
.panels .rank-row a:hover { color: var(--gold-2); }
.panels .rank-row b { font-variant-numeric: tabular-nums; color: var(--gold-2); font-weight: 700; }
.panels .rank-row .bar span { background: var(--grad); }
.stat.lead { background: var(--grad); color: var(--gold-ink); }
.stat.lead span, .stat.lead b, .stat.lead .delta { color: var(--gold-ink) !important; }
.stat.lead .delta { background: rgba(255, 255, 255, .35); }
.stat.lead .spark polyline { stroke: var(--gold-ink); }
.panels + .panels, .panel.span-12 { margin-top: 0; }
.panel .ds-title { font-size: 22px; }
.panels > .panel + .panel { margin-top: 0; }
@media (max-width: 700px) {
  .adm-top { padding: 12px 16px !important; gap: 10px !important; }
  .adm-top h1 { font-size: 24px !important; line-height: 1.1; }
  .adm-top small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* заголовок секции и круглая стрелка — в одну строку */
  .section-head { flex-wrap: nowrap !important; align-items: center; }
  .section-head > div { flex: 1 1 auto !important; min-width: 0; }
  .section-head h2 { font-size: 25px; }
}
@media (max-width: 720px) { .rubric-hero .float-emo { display: none; } }
.adm-warn { display: flex; gap: 12px; align-items: flex-start; margin: 16px 28px 0; padding: 14px 18px; border-radius: 16px; background: rgba(224, 120, 107, .12); box-shadow: inset 0 0 0 1px rgba(224, 120, 107, .5); color: var(--text); font-size: 14px; }
.adm-warn svg { width: 20px; height: 20px; color: var(--danger); flex: none; margin-top: 2px; }
.adm-warn code { padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .35); color: var(--gold-2); font-size: 13px; }
@media (max-width: 700px) { .adm-warn { margin: 12px 14px 0; } }
.pd-ph { display: none; font-weight: 600; font-size: 14px; color: var(--text-2); white-space: nowrap; pointer-events: none; }
.period-day label { position: relative; }
.period-day:not(.on) .pd-ph { display: inline; }
.period-day:not(.on) input { position: absolute; inset: 0; width: 100%; opacity: 0; }
.ds-empty { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(216, 185, 138, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.ds-empty > svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.ds-empty b { font: 600 20px var(--f-display); }
.ds-empty p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
/* телефон: на главной не листаем бесконечную ленту новых каналов и пакетов */
.fresh-more { display: none; }
@media (max-width: 640px) {
  .fresh-grid > .cover:nth-child(n+4) { display: none; }
  .fresh-more { display: flex; }
  .pk-desc { display: none; }
}
.pm-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: var(--gold-ink); flex: none; }
.pm-ic svg { width: 16px; height: 16px; }

/* ===== Ровняем первый экран: заголовок, поиск, преимущества и подсказки — по одной левой линии ===== */
.hero-title { margin-left: 0; }
.hero-feats { justify-content: flex-start; }
.hero-feats span:first-child { padding-left: 0; }
.hero-chips { justify-content: flex-start; align-items: center; }
.hero-chips .chip { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1400px) { .hero-title { margin-left: -70px; } }
@media (max-width: 1399px) and (min-width: 721px) { .laurel { display: none; } .hero-title { gap: 0; } }

/* ===== Закрепы: пустые места спокойнее, без «зебры» ===== */
.pin-free { background: rgba(216, 185, 138, .035); border: 1.5px dashed rgba(216, 185, 138, .28); }
.pf-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pin-free.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; gap: 18px; padding: 22px 26px; }
.pin-free.wide .pf-plus { margin: 0; }
.pin-free.wide .pf-text { align-items: flex-start; }
.pin-free.wide small { max-width: none; }
.pin-free.wide .pf-btn { margin-left: auto; position: relative; z-index: 0; pointer-events: none; }
@media (max-width: 640px) {
  .pf-text { align-items: flex-start; }
  .pin-free.wide { flex-wrap: wrap; padding: 18px 16px; gap: 12px; }
  .pin-free.wide .pf-btn { margin-left: 0; width: 100%; }
}
