:root {
  color-scheme: dark;
  --bg: #0a0709;
  --card: #141014;
  --card-2: #1c1519;
  --line: rgba(245, 240, 234, .13);
  --line-2: rgba(245, 240, 234, .26);
  --text: #f5f0ea;
  --text-2: #d9cec8;
  --muted: #a3959b;
  --red: #ff0f2d;
  --red-soft: #ff4257;
  --ember: #ff6a2b;
  --gold: #ffc61a;
  --gold-hi: #fff1b8;
  --gold-lo: #d68a00;
  --gold-ink: #2a1a00;
  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h2: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);
  --fs-lead: clamp(1.02rem, .97rem + .3vw, 1.2rem);
  --gutter: clamp(16px, 4.5vw, 44px);
  --maxw: 1200px;
  --sect: clamp(72px, 10vw, 140px);
  --top-h: 64px;
  --out: cubic-bezier(.22, .9, .25, 1);
  --pop: cubic-bezier(.34, 1.8, .5, 1);
  --card-bg: linear-gradient(180deg, #1f171b, #120d10);
  --red-bg: radial-gradient(120% 70% at 100% 0%, rgba(255,140,120,.45), transparent 55%), linear-gradient(160deg, #ff1f3d, #b5001f 45%, #5c0016);
  --gold-bg: linear-gradient(135deg, #fff6c8, #ffd54a 28%, #e09800 58%, #ffe07a 82%, #b86e00);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(150% 1100px at 50% -200px, #5a0016, #2a0510 42%, #0a070900 76%) no-repeat,
    radial-gradient(80% 900px at 108% 30%, #6d001a6b, #0a070900 70%) no-repeat,
    radial-gradient(80% 900px at -8% 55%, #6d001a61, #0a070900 70%) no-repeat,
    radial-gradient(70% 700px at 100% 82%, #ffc61a12, #0a070900 70%) no-repeat,
    radial-gradient(110% 900px at 50% 100%, #8e0a2866, #0a070900 72%) no-repeat,
    var(--bg);
}
/* фоновый узор: плеер, колокольчик, лайк, коммент, звёздочка, курсор */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23f5f0ea' stroke-opacity='.1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(26 30) rotate(-8 22 15)'%3E%3Crect width='44' height='31' rx='9'/%3E%3Cpath d='M18 9.5 29 15.5 18 21.5Z'/%3E%3C/g%3E%3Cg transform='translate(150 20) rotate(12 14 15)'%3E%3Cpath d='M6 21v-8a8 8 0 0 1 16 0v8l3 3H3z'/%3E%3Cpath d='M11 27a3 3 0 0 0 6 0'/%3E%3C/g%3E%3Cg transform='translate(204 112) rotate(-10 15 15) scale(1.25)' stroke-width='1.6'%3E%3Cpath d='M7 10v12'/%3E%3Cpath d='M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z'/%3E%3C/g%3E%3Cg transform='translate(92 146) rotate(6 15 15) scale(1.3)' stroke-width='1.55'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/g%3E%3Cpath d='M18 212h62'/%3E%3Ccircle cx='58' cy='212' r='5' fill='%23f5f0ea' fill-opacity='.1'/%3E%3Cg transform='translate(186 190) rotate(10 12 12) scale(1.2)' stroke-width='1.7'%3E%3Cpath d='M12 3l2 6.2 6.2 2L14 13.2 12 19.4l-2-6.2L3.8 11.2 10 9.2z'/%3E%3C/g%3E%3Cg transform='translate(108 70) rotate(-6 10 12)'%3E%3Cpath d='M4 3l15 6.5-6.4 2.1L10.5 18z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
}
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--red); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Типографика ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-soft);
  font: 700 .82rem/1 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kicker .i { width: 16px; height: 16px; }
.h1 {
  margin: 20px 0 0;
  font: 900 clamp(3.1rem, 1.6rem + 5.6vw, 6.6rem)/.86 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.h2 {
  margin: 0;
  font: 900 var(--fs-h2)/.92 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--red); }
.lead {
  max-width: 60ch;
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  text-wrap: pretty;
}
.mark {
  padding-inline: .1em;
  margin-inline: -.04em;
  color: #fff;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 55% / 100% 86%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 54px;
  padding: .8em 1.6em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--out), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--ghost { border-color: var(--line-2); background: #ffffff0a; }
.btn--ghost:hover { border-color: var(--text); background: #ffffff14; }
.btn--light { background: #fff; color: #b5001f; box-shadow: 0 14px 40px -10px #000000a6; }
.btn--light:hover { background: var(--gold-hi); color: var(--gold-ink); }
.btn--sm { min-height: 44px; padding: .6em 1.2em; font-size: .92rem; }
.btn .i { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- Шапка ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: #0a0709b8;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 16px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { display: grid; font: 600 .74rem/1.05 var(--f-body); color: var(--muted); }
.brand__name b {
  white-space: nowrap;
  color: var(--text);
  font: 800 1.02rem/1 var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font: 600 .92rem/1 var(--f-body);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.top__nav a:hover, .top__nav a.is-active { background: #ffffff12; color: var(--text); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  padding: calc(var(--top-h) + clamp(48px, 8vw, 104px)) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}
.hero__in { display: grid; justify-items: center; }
.hero__lead { margin: 24px auto 0; max-width: 54ch; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.chips__cats { display: contents; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #ffffff0a;
  color: var(--text-2);
  font: 600 .9rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .3s var(--pop);
}
.chip:hover { border-color: var(--text); background: #ffffff14; color: var(--text); transform: translateY(-2px); }
.chip .i { width: 16px; height: 16px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) 90% 66%); box-shadow: 0 0 10px hsl(var(--h) 90% 60%); }
.chip--red { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px #ff0f2db3; }
.chip--red:hover { border-color: #ff2a46; background: #ff2a46; }

.hnums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.hnums li { display: flex; align-items: baseline; gap: 7px; padding: 0 20px; color: var(--muted); font-size: .92rem; }
.hnums li + li { border-left: 1px solid var(--line-2); }
.hnums b { color: var(--text); font: 900 2.1rem/.9 var(--f-display); }

/* наклейки вокруг заголовка */
.hero__stickers { position: absolute; inset: 0; pointer-events: none; }
.stk {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--card-2);
  box-shadow: 0 24px 50px -18px #000000f2;
  color: var(--text);
  font: 800 1.2rem/1 var(--f-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  rotate: var(--r);
  animation: float 7s ease-in-out infinite;
}
.stk:nth-child(2) { animation-delay: -2s; }
.stk:nth-child(3) { animation-delay: -4s; }
.stk:nth-child(4) { animation-delay: -5.5s; }
.stk .i { width: 18px; height: 18px; stroke-width: 2.2; }
.stk b { font-weight: 900; }
.stk--red { border-color: transparent; background: var(--red-bg); box-shadow: 0 24px 50px -18px #000000f2, 0 0 40px -12px #ff0f2db3; }
.stk--gold { border-color: transparent; background: var(--gold-bg); color: var(--gold-ink); box-shadow: 0 24px 50px -18px #000000f2, 0 0 40px -10px #ffc61aa6; }
.stk--line { border-style: dashed; background: #0a070999; color: var(--text-2); }
@keyframes float { 50% { translate: 0 -12px; } }

/* бегущая лента */
.marquee {
  display: grid;
  gap: 12px;
  margin-top: clamp(52px, 7vw, 88px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marq var(--dur, 60s) linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
@keyframes marq { to { transform: translateX(-50%); } }
.mq {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 12px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff08;
  color: var(--text-2);
  font: 800 1.3rem/1 var(--f-display);
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mq i { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) 90% 66%); }
.mq small { color: var(--gold); font: inherit; }

/* ---------- Секции ---------- */
.sect { position: relative; padding-block: var(--sect) 0; }
.sect:last-of-type { padding-bottom: var(--sect); }
.sh {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "main no" "main lead";
  align-items: end;
  gap: 10px 48px;
  margin-bottom: clamp(26px, 4vw, 40px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.sh__main { grid-area: main; display: grid; gap: 14px; justify-items: start; }
.sh__lead { grid-area: lead; justify-self: end; max-width: 44ch; }
.sh__no {
  grid-area: no;
  justify-self: end;
  align-self: start;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  font: 900 clamp(4rem, 3rem + 3vw, 6.4rem)/.8 var(--f-display);
}

/* ---------- Ниши ---------- */
.mq img { width: 30px; height: 30px; margin: -6px 0 -6px -10px; border-radius: 50%; box-shadow: 0 0 0 2px #ffffff26; }

/* сводка */
.pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(60% 160% at 0% 0%, #ff0f2d24, transparent 60%), linear-gradient(180deg, #1c1519d9, #120d10d9);
  box-shadow: 0 30px 70px -44px #000;
  overflow: hidden;
}
.pulse li { position: relative; display: grid; align-content: start; gap: 9px; padding: 20px 24px 19px; }
.pulse li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 1px dashed var(--line-2); }
.pulse b { font: 900 clamp(2.2rem, 1.7rem + 1.4vw, 3.1rem)/.85 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.pulse li:first-child b { background: var(--gold-bg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse span { max-width: 24ch; color: var(--muted); font-size: .86rem; line-height: 1.35; }

/* фильтры и сортировка */
.bar { display: grid; gap: 12px; margin-bottom: 20px; }
.bar__sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #ffffff0a;
  color: var(--text-2);
  font: 700 .92rem/1 var(--f-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.tab:hover { border-color: var(--text); color: var(--text); }
.tab b { min-width: 28px; padding: 6px 7px; border-radius: 999px; background: #ffffff14; font: 800 .74rem/1 var(--f-body); text-align: center; }
.tab .i { width: 15px; height: 15px; margin-left: -4px; }
.tab .chip__dot { margin-left: -3px; }
.tab[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.tab[aria-pressed="true"] b { background: #0a07091a; }
.tab[aria-pressed="true"] .chip__dot { background: hsl(var(--h) 80% 45%); box-shadow: none; }
.sort { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #ffffff08; }
.sort > .i { width: 16px; height: 16px; margin-right: 6px; color: var(--muted); }
.sort button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 700 .86rem/1 var(--f-body);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.sort button:hover { color: var(--text); }
.sort button[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 18px -6px #ff0f2dcc; }

/* карточки */
.niches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.niche {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card-bg);
  box-shadow: 0 30px 70px -40px #000000e6;
  overflow: clip;
  cursor: pointer;
  transition: transform .45s var(--out), border-color .3s, box-shadow .45s;
}
.niche::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--h) 95% 72% / .13), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.niche:hover { transform: translateY(-6px); border-color: hsl(var(--h) 85% 72% / .42); box-shadow: 0 44px 90px -40px #000, 0 0 70px -34px hsl(var(--h) 90% 60% / .7); }
.niche:hover::before { opacity: 1; }
.niche:has(.niche__open:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }

.niche__media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  margin: 8px 8px 0;
  border-radius: 19px;
  background: radial-gradient(circle at 30% 20%, hsl(var(--h) 60% 30%), hsl(var(--h) 40% 10%));
  overflow: hidden;
}
.niche__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, scale 1.4s var(--out); }
.niche__img.is-on { opacity: 1; }
.niche:hover .niche__img { scale: 1.06; }
.niche__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #0a070966, transparent 30%, transparent 52%, #0a0709c7);
  pointer-events: none;
}
.niche__ph { position: absolute; inset: 0; display: grid; place-items: center; color: hsl(var(--h) 80% 72% / .45); font: 900 6rem/1 var(--f-display); text-transform: uppercase; }
.niche__tags { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.niche__tags .pill { background: #0a0709a6; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.niche__tags .pill--hot { background: var(--red); }
.niche__views {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font: 900 1.5rem/1 var(--f-display);
  letter-spacing: .02em;
  text-shadow: 0 2px 14px #000c;
  --yt-tri: #fff;
}
.niche__views .i { width: 22px; height: 22px; color: var(--red); filter: drop-shadow(0 2px 6px #0008); }
.niche__views small { color: #ffffffb8; font: 600 .74rem/1 var(--f-body); letter-spacing: 0; }
.niche__dots { position: absolute; right: 14px; bottom: 16px; z-index: 2; display: flex; gap: 4px; opacity: 0; transition: opacity .3s; }
.niche:hover .niche__dots { opacity: 1; }
.niche__dots i { width: 12px; height: 4px; border-radius: 2px; background: #ffffff59; transition: background-color .3s, width .3s; }
.niche__dots i.on { width: 22px; background: #fff; }

.niche__body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 18px; }
.niche__ch { display: flex; align-items: center; gap: 11px; min-width: 0; }
.niche__av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #ffffff14; box-shadow: 0 0 0 2px #140e11, 0 0 0 3.5px hsl(var(--h) 90% 66% / .8); }
.niche__chn { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.niche__chn b { overflow: hidden; font-size: .95rem; white-space: nowrap; text-overflow: ellipsis; }
.niche__chn small { overflow: hidden; color: var(--muted); font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; }
.niche__name { margin: 16px 0 0; font: 900 clamp(1.85rem, 1.5rem + .9vw, 2.35rem)/.92 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.niche__open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-transform: inherit; cursor: pointer; outline: none; }
.niche__desc { margin-top: 9px; color: var(--text-2); font-size: .9rem; line-height: 1.42; }
.niche__foot {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.niche__body > :nth-last-child(2) { margin-bottom: 18px; }
.metric { display: grid; gap: 7px; }
.metric small { color: var(--muted); font: 700 .64rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.metric b { color: var(--gold); font: 900 2.1rem/.8 var(--f-display); white-space: nowrap; }
.metric--w b { color: var(--text); font-size: 1.55rem; }
.niche__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #ffffff0d;
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .4s var(--pop);
}
.niche__go .i { width: 18px; height: 18px; stroke-width: 2.4; }
.niche:hover .niche__go { border-color: var(--red); background: var(--red); box-shadow: 0 8px 22px -6px #ff0f2dcc; transform: rotate(45deg); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff14;
  color: var(--text-2);
  font: 800 .66rem/1 var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill .i { width: 12px; height: 12px; stroke-width: 2.6; }
.pill--hot { background: var(--red); color: #fff; box-shadow: 0 4px 14px -4px #ff0f2dcc; }
.niche--hot {
  border-color: #ff425766;
  background: radial-gradient(120% 60% at 100% 0%, rgba(255,15,45,.28), transparent 60%), linear-gradient(180deg, #2a0a13, #140a0e);
  box-shadow: 0 0 0 1px #ff0f2d14, 0 34px 80px -40px #ff0f2d8c;
}
.niche--hot:hover { border-color: #ff4257b3; box-shadow: 0 44px 90px -40px #000, 0 0 80px -30px #ff0f2db3; }
.niche--hot .niche__av { box-shadow: 0 0 0 2px #1d0b10, 0 0 0 3.5px var(--red-soft); }
.niche.is-roll { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 50px -12px #ffc61acc; }
.is-hit { animation: hit 2.4s var(--out); }
@keyframes hit {
  0%, 30% { box-shadow: 0 0 0 2px var(--gold), 0 0 70px -6px #ffc61ae6; border-color: var(--gold); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* первые две ниши в подборке «Топ» — широкие */
@media (min-width: 721px) {
  .niches.is-curated .niche--wide { grid-column: span 2; flex-direction: row; }
  .niches.is-curated .niche--wide .niche__media { flex: 1.2 1 0; aspect-ratio: auto; min-height: 290px; margin: 8px 0 8px 8px; }
  .niches.is-curated .niche--wide .niche__body { flex: 1 1 0; padding: 24px 26px 22px; }
  .niches.is-curated .niche--wide .niche__name { margin-top: 20px; font-size: clamp(2.3rem, 1.5rem + 1.7vw, 3.4rem); }
  .niches.is-curated .niche--wide .niche__desc { font-size: 1rem; }
  .niches.is-curated .niche--wide .niche__views { font-size: 1.9rem; }
}
@media (min-width: 1141px) {
  .niches.is-curated .niche--wide:nth-child(2) { grid-column: 2 / span 2; }
}
@media (max-width: 720px) {
  .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse li { padding: 16px 18px; }
  .pulse span { font-size: .8rem; }
  .pulse li:nth-child(3)::before { display: none; }
  .pulse li:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .tabs {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .bar__sub { display: grid; grid-template-columns: minmax(0, 1fr); }
  .sort { justify-content: space-between; padding-left: 4px; }
  .sort > .i { display: none; }
  .sort button { flex: 1; padding: 0 8px; }
  .niche__body { padding: 14px 16px 16px; }
}

/* ---------- Инструменты: каталог ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cat {
  position: relative;
  padding: 22px 10px 10px;
  border: 1px solid hsl(var(--h) 70% 70% / .22);
  border-radius: 26px;
  background: radial-gradient(90% 60% at 0% 0%, hsl(var(--h) 70% 50% / .2), transparent 60%), #141014e6;
  box-shadow: 0 30px 70px -40px #000000e6;
  scroll-margin-top: 90px;
}
.cat__head { display: flex; align-items: center; gap: 14px; padding: 0 12px 16px; }
.cat__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid hsl(var(--h) 80% 70% / .35);
  border-radius: 15px;
  background: hsl(var(--h) 80% 60% / .16);
  color: hsl(var(--h) 90% 78%);
}
.cat__ico .i { width: 25px; height: 25px; stroke-width: 1.8; }
.cat__t { margin: 0; font: 900 2.1rem/.9 var(--f-display); text-transform: uppercase; }
.cat__d { margin-top: 4px; color: var(--muted); font-size: .86rem; line-height: 1.3; }
.cat__n { align-self: flex-start; margin-left: auto; color: hsl(var(--h) 90% 76%); font: 900 1.5rem/1 var(--f-display); }
.links { display: grid; margin: 0; padding: 0; list-style: none; }
.lnk {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: 16px;
  transition: background-color .25s;
}
.lnk + .lnk::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; border-top: 1px dashed var(--line); }
.lnk:hover { background: hsl(var(--h) 60% 50% / .13); }
.lnk:hover::before, .lnk:hover + .lnk::before { opacity: 0; }
.lnk__av {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, hsl(var(--h) 85% 62%), hsl(calc(var(--h) + 35) 80% 40%));
  box-shadow: inset 0 1px #ffffff40, 0 8px 20px -8px hsl(var(--h) 90% 50% / .7);
  color: #fff;
  font: 900 1.5rem/1 var(--f-display);
  text-transform: uppercase;
}
.lnk__body { display: grid; gap: 3px; min-width: 0; }
.lnk__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.lnk__name a { color: inherit; text-decoration: none; outline: none; }
.lnk__name a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lnk:has(.lnk__name a:focus-visible) { outline: 3px solid var(--ember); outline-offset: 2px; }
.lnk__desc { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.lnk__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.lnk__go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff0d;
  transition: background-color .3s, color .3s, transform .4s var(--pop);
}
.lnk__go .i { width: 16px; height: 16px; stroke-width: 2.4; }
.lnk:hover .lnk__go { background: hsl(var(--h) 80% 55%); color: #fff; transform: translate(2px, -2px); }
.promo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px dashed var(--red-soft);
  border-radius: 999px;
  background: #ff0f2d1f;
  color: #fff;
  font: 800 .66rem/1 var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: copy;
  transition: background-color .25s, transform .3s var(--pop);
}
.promo:hover { background: var(--red); transform: scale(1.05); }
.promo .i { width: 12px; height: 12px; stroke-width: 2.6; }
.promo.is-done { border-color: #18b45b; background: #18b45b; }
.pick { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 800 .62rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pick .i { width: 11px; height: 11px; stroke-width: 2.6; }
.lnk--pick .lnk__av { background: var(--gold-bg); color: var(--gold-ink); box-shadow: inset 0 1px #fff9, 0 8px 24px -8px #ffc61acc; }

/* ---------- Бонусы ---------- */
.bonus { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.bonus__side { display: grid; gap: 12px; align-content: start; }
.feat {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 28px;
  background: var(--red-bg);
  box-shadow: 0 40px 90px -36px #000000e6, 0 0 80px -24px #ff0f2dbf;
  color: #fff;
  overflow: hidden;
}
.feat::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  z-index: -1;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: -10deg;
}
.type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff26;
  font: 800 .74rem/1 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.type .i { width: 15px; height: 15px; }
.feat__t { margin: auto 0 0; padding-top: 40px; font: 900 clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem)/.86 var(--f-display); text-transform: uppercase; }
.feat__d { margin-top: 14px; max-width: 40ch; color: #ffe3e6; font-size: 1.02rem; line-height: 1.5; }
.feat__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feat__meta span { padding: 9px 13px; border-radius: 12px; background: #00000033; font-weight: 600; font-size: .88rem; }
.feat .btn { align-self: flex-start; margin-top: 26px; }

.bx {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 30px 60px -40px #000000e6;
  transition: transform .4s var(--out), border-color .3s;
}
.bx:hover { transform: translateY(-3px); border-color: var(--line-2); }
.bx__file {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  width: 68px;
  height: 76px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #ffffff0a;
  color: var(--text-2);
  font: 800 .62rem/1 var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bx__file .i { width: 24px; height: 24px; color: var(--red-soft); stroke-width: 1.8; }
.bx__t { margin: 0; font: 900 1.6rem/.95 var(--f-display); text-transform: uppercase; }
.bx__t a { color: inherit; text-decoration: none; outline: none; }
.bx__t a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bx:has(.bx__t a:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }
.bx__d { margin-top: 5px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.bx__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bx .niche__go { margin: 0; }
.bx:hover .niche__go { border-color: var(--red); background: var(--red); box-shadow: 0 8px 22px -6px #ff0f2dcc; transform: rotate(45deg); }

/* мистери-бокс */
.mys {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 22px;
  background: var(--gold-bg);
  box-shadow: 0 30px 60px -36px #000000e6, 0 0 60px -18px #ffc61ab3;
  color: var(--gold-ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.mys::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.75) 46%, transparent 60%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: overlay;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.mys__box {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--gold-ink);
  color: var(--gold);
  box-shadow: 0 10px 24px -8px #2a1a00b3;
}
.mys__box .i { width: 38px; height: 38px; stroke-width: 1.7; }
.mys__t { display: block; font: 900 1.9rem/.9 var(--f-display); text-transform: uppercase; }
.mys__d { display: block; margin-top: 6px; color: #2a1a00cc; font-weight: 600; font-size: .9rem; }
.mys__dots { display: flex; gap: 6px; margin-top: 10px; }
.mys__dots i { width: 28px; height: 6px; border-radius: 3px; background: #2a1a0033; transition: background-color .3s; }
.mys__dots i.on { background: var(--gold-ink); }
.mys.is-shake { animation: shake .45s ease-in-out; }
.mys.is-shake .mys__box { animation: box-pop .45s var(--pop); }
@keyframes shake { 20% { rotate: -1.6deg; } 40% { rotate: 1.4deg; } 60% { rotate: -1deg; } 80% { rotate: .6deg; } }
@keyframes box-pop { 50% { scale: 1.18; } }
.mys-prize { border-color: #ffc61a8c; background: radial-gradient(100% 120% at 0% 0%, rgba(255,198,26,.2), transparent 60%), linear-gradient(180deg, #241a08, #120d06); box-shadow: 0 0 60px -20px #ffc61a99; animation: prize .8s var(--pop); }
.mys-prize .bx__file { border-color: transparent; background: var(--gold-bg); color: var(--gold-ink); }
.mys-prize .bx__file .i { color: var(--gold-ink); }
.mys-prize .bx__t { color: var(--gold); }
@keyframes prize { from { opacity: 0; transform: scale(.9); } }

/* ---------- План ---------- */
.plan {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #141014b8;
}
.plan__side { position: sticky; top: calc(var(--top-h) + 28px); display: grid; justify-items: center; gap: 14px; text-align: center; }
.ring { position: relative; width: 200px; height: 200px; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; filter: drop-shadow(0 0 8px #ff0f2d80); transition: filter .6s; }
.ring circle { fill: none; stroke-width: 10; }
.ring__bg { stroke: #ffffff14; }
.ring__fg { stroke: url(#ring-g); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .9s var(--out), opacity .3s; }
.ring__num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding-top: 70px; }
.ring__num b { font: 900 4.6rem/.8 var(--f-display); }
.ring__num span { color: var(--muted); font: 900 1.6rem/1 var(--f-display); }
.ring__num i { font-style: normal; }
.plan__msg { max-width: 22ch; color: var(--text-2); font-weight: 600; line-height: 1.4; }
.plan__reset { padding: 6px 4px; border: 0; background: none; color: var(--muted); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plan__reset:hover { color: var(--text); }
.plan.is-complete .ring svg { filter: drop-shadow(0 0 12px #ffc61acc); }
.plan.is-complete .plan__msg { color: var(--gold); }

.steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff06;
  transition: border-color .3s, background-color .3s;
}
.step:hover { border-color: var(--line-2); }
.step__btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  padding: 8px;
  border: 0;
  border-radius: 14px;
  background: none;
  text-align: left;
  cursor: pointer;
}
.step__chk {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .4s var(--pop);
}
.step__chk .i { width: 22px; height: 22px; stroke-width: 3; color: #fff; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .4s var(--out) .1s; }
.step__no { display: block; color: var(--red-soft); font: 700 .7rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.step__t { display: block; margin-top: 6px; font: 900 1.6rem/.95 var(--f-display); text-transform: uppercase; transition: color .3s; }
.step__d { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.step__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font: 700 .84rem/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s, color .25s, background-color .25s;
}
.step__go:hover { border-color: var(--text); background: #ffffff12; color: var(--text); }
.step__go .i { width: 14px; height: 14px; stroke-width: 2.4; }
.step.is-done { border-color: #ff0f2d4d; background: #ff0f2d0d; }
.step.is-done .step__chk { border-color: var(--red); background: var(--red); box-shadow: 0 6px 20px -4px #ff0f2dcc; transform: scale(1.06); }
.step.is-done .step__chk .i { stroke-dashoffset: 0; }
.step.is-done .step__t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }

/* ---------- Подвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 .92rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}
.foot__btn:hover { background: #ffffff0f; color: var(--text); }
.foot__btn .i { width: 16px; height: 16px; }

/* ---------- Окно-разбор ниши ---------- */
html:has(.nd[open]) { overflow: hidden; }
.nd {
  width: min(1060px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  overflow: visible;
}
.nd::backdrop { background: #050304db; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.nd.is-in::backdrop { opacity: 1; }
.nd__box {
  position: relative;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background: radial-gradient(70% 40% at 100% 0%, hsl(var(--h) 80% 45% / .16), transparent 60%), #120d10;
  box-shadow: 0 60px 140px -30px #000, 0 0 0 1px #ffffff08;
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .3s, transform .5s var(--out);
  scrollbar-width: thin;
  scrollbar-color: #ffffff2e transparent;
}
.nd.is-in .nd__box { opacity: 1; transform: none; }
.nd__box:focus { outline: none; }
.nd__x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #0a0709b3;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, background-color .25s, border-color .25s, transform .4s var(--pop);
}
.nd.is-in .nd__x { opacity: 1; }
.nd__x:hover { border-color: var(--red); background: var(--red); transform: rotate(90deg); }
.nd__x .i { width: 20px; height: 20px; stroke-width: 2.4; }

.nd__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  align-items: end;
  gap: 28px;
  padding: clamp(60px, 6vw, 76px) clamp(22px, 4vw, 44px) clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  border-radius: 29px 29px 0 0;
  overflow: hidden;
}
.nd__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(20px) saturate(1.4); opacity: .62; scale: 1.15; }
.nd__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #120d1033, #120d10cc 60%, #120d10), linear-gradient(90deg, #120d10b3, transparent 75%);
}
.nd__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.nd__pills .pill { background: #ffffff1f; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nd__pills .pill--hot { background: var(--red); }
.nd__pills .pill--ok { background: #18b45b38; color: #a6f5c6; }
.nd__t { margin: 18px 0 0; font: 900 clamp(2.6rem, 1.5rem + 3.6vw, 4.8rem)/.86 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.nd__d { margin-top: 12px; max-width: 46ch; color: var(--text-2); font-size: 1.05rem; line-height: 1.5; }
.nd__ch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: #0a0709b3;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px #000;
  text-decoration: none;
  transition: border-color .3s, transform .4s var(--out);
}
.nd__ch:hover { border-color: #ff0f2d99; transform: translateY(-3px); }
.nd__av { width: 64px; height: 64px; border-radius: 50%; background: #ffffff14; box-shadow: 0 0 0 3px #120d10, 0 0 0 5px hsl(var(--h) 90% 66% / .85), 0 14px 30px -10px #000; }
.nd__chn { display: grid; gap: 4px; min-width: 0; }
.nd__chn small { color: var(--muted); font: 700 .64rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.nd__chn b { overflow: hidden; font: 900 1.65rem/.95 var(--f-display); text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.nd__chn span { color: var(--text-2); font-size: .86rem; }
.nd__yt {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border-radius: 15px;
  background: var(--red);
  box-shadow: 0 12px 28px -10px #ff0f2dcc;
  color: #fff;
  font: 700 .98rem/1 var(--f-body);
  transition: background-color .25s;
  --yt-tri: var(--red);
}
.nd__yt .i { width: 24px; height: 24px; }
.nd__ch:hover .nd__yt { background: #ff2a46; --yt-tri: #ff2a46; }

.nd__body { padding: clamp(20px, 3vw, 30px) clamp(18px, 4vw, 44px) 4px; }
.nd__stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.nd__stats li { display: grid; align-content: start; gap: 9px; padding: 15px 14px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff06; }
.nd__stats small { display: flex; align-items: center; gap: 6px; color: var(--muted); font: 700 .6rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.nd__stats small .i { width: 14px; height: 14px; flex: none; color: hsl(var(--h) 90% 74%); }
.nd__stats b { font: 900 2rem/.85 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.nd__stats span { color: var(--muted); font-size: .74rem; line-height: 1.3; overflow-wrap: anywhere; }
.nd__stats .is-gold { border-color: #ffc61a59; background: radial-gradient(120% 100% at 0% 0%, #ffc61a24, transparent 60%), #ffffff06; }
.nd__stats .is-gold b, .nd__stats .is-gold small .i { color: var(--gold); }

.nd__txts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.nd__txt { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #1f171b, #150f12); }
.nd__txt h4 { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; font: 900 1.4rem/1 var(--f-display); text-transform: uppercase; }
.nd__txt h4 .i { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: hsl(var(--h) 80% 60% / .16); color: hsl(var(--h) 90% 76%); }
.nd__txt:last-child { border-color: #ff425759; background: radial-gradient(110% 80% at 100% 0%, #ff0f2d2e, transparent 60%), linear-gradient(180deg, #23101a, #150f12); }
.nd__txt:last-child h4 .i { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px #ff0f2dcc; }
.nd__txt p { color: var(--text-2); font-size: .92rem; line-height: 1.52; }

.nd__vh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 30px 0 14px; }
.nd__vh h4 { margin: 0; font: 900 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; }
.nd__vh span { color: var(--muted); font-size: .86rem; }
.nd__vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vid { display: grid; gap: 11px; color: inherit; text-decoration: none; outline: none; }
.vid__th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: 0 20px 40px -24px #000; overflow: hidden; }
.vid:focus-visible .vid__th { outline: 3px solid var(--ember); outline-offset: 3px; }
.vid__th img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--out), filter .4s; }
.vid:hover .vid__th img { scale: 1.06; filter: brightness(.7); }
.vid__no { position: absolute; left: 12px; top: 6px; color: #fff; font: 900 2.6rem/1 var(--f-display); text-shadow: 0 4px 18px #000d; }
.vid__v { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: #0a0709d9; color: #fff; font: 800 .76rem/1 var(--f-body); }
.vid__v .i { width: 14px; height: 14px; }
.vid__play { position: absolute; left: 50%; top: 50%; color: var(--red); opacity: 0; translate: -50% -50%; scale: .7; transition: opacity .3s, scale .4s var(--pop); --yt-tri: #fff; }
.vid__play .i { width: 60px; height: 60px; filter: drop-shadow(0 6px 16px #000a); }
.vid:hover .vid__play { opacity: 1; scale: 1; }
.vid__t {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-2);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .25s;
}
.vid:hover .vid__t { color: var(--text); }

.nd__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; padding: 16px clamp(18px, 4vw, 44px); border-top: 1px solid var(--line); }
.nd__nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 48%;
  min-height: 58px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #ffffff08;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.nd__nav--next { margin-left: auto; padding: 8px 10px 8px 18px; text-align: right; }
.nd__nav:hover { border-color: var(--text); background: #ffffff12; }
.nd__nav .i { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #ffffff14; stroke-width: 2.6; transition: background-color .25s, transform .3s var(--out); }
.nd__nav:hover .i { background: var(--red); }
.nd__nav:hover > .i:first-child { transform: translateX(-2px); }
.nd__nav--next:hover > .i { transform: translateX(2px); }
.nd__nav span { display: grid; gap: 5px; min-width: 0; font: 900 1.15rem/1 var(--f-display); text-transform: uppercase; }
.nd__nav small { color: var(--muted); font: 700 .6rem/1 var(--f-body); letter-spacing: .12em; }
.nd__note { padding: 0 clamp(18px, 4vw, 44px) calc(20px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .76rem; }

@media (max-width: 900px) {
  .nd__hero { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
  .nd__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nd__txts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nd { width: 100%; margin: auto 0 0; }
  .nd__box { max-height: 94dvh; border-bottom: 0; border-radius: 26px 26px 0 0; transform: translateY(70px); }
  .nd__hero { padding-top: 64px; border-radius: 25px 25px 0 0; }
  .nd__x { top: 12px; right: 12px; }
  .nd__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd__stats b { font-size: 1.8rem; }
  .nd__vids {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    margin-inline: calc(clamp(18px, 4vw, 44px) * -1);
    padding: 0 clamp(18px, 4vw, 44px) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .nd__vids::-webkit-scrollbar { display: none; }
  .nd__vids li { scroll-snap-align: start; scroll-margin-left: clamp(18px, 4vw, 44px); }
  .nd__nav { max-width: 49%; padding-right: 12px; }
  .nd__nav--next { padding-left: 12px; }
  .nd__nav span { font-size: 1rem; }
}

/* ---------- Тост и конфетти ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: 13px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #1c1519f2;
  box-shadow: 0 20px 50px -14px #000000f2;
  color: var(--text);
  font: 700 .92rem/1.2 var(--f-body);
  text-align: center;
  translate: -50% 160%;
  opacity: 0;
  pointer-events: none;
  transition: translate .5s var(--pop), opacity .3s;
}
.toast.is-on { translate: -50% 0; opacity: 1; }
.slot {
  position: fixed;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom));
  z-index: 210;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 12px 26px 12px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #1c1519f7;
  box-shadow: 0 30px 70px -14px #000, 0 0 50px -16px #ff0f2d99;
  translate: -50% 180%;
  opacity: 0;
  pointer-events: none;
  transition: translate .55s var(--pop), opacity .3s, border-color .3s, box-shadow .3s;
}
.slot.is-on { translate: -50% 0; opacity: 1; }
.slot__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; transition: background-color .3s, color .3s; }
.slot__ico .i { width: 22px; height: 22px; }
.slot.is-rolling .slot__ico .i { animation: spin .5s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.slot__txt { overflow: hidden; font: 900 1.8rem/1 var(--f-display); text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; transition: color .3s; }
.slot.is-win { border-color: #ffc61aa6; box-shadow: 0 30px 70px -14px #000, 0 0 60px -12px #ffc61acc; }
.slot.is-win .slot__ico { background: var(--gold); color: var(--gold-ink); }
.slot.is-win .slot__txt { color: var(--gold); }
.confetti { position: fixed; inset: 0; z-index: 150; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; left: 0; top: 0; width: 9px; height: 14px; border-radius: 2px; }

/* ---------- Появление при скролле ---------- */
.js .rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--out), translate .8s var(--out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; translate: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1140px) {
  .hero__stickers { display: none; }
  .niches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .cats, .bonus { grid-template-columns: minmax(0, 1fr); }
  .feat { min-height: 360px; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan__side { position: static; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 20px; text-align: left; }
  .plan__side .ring { grid-row: span 2; width: 120px; height: 120px; }
  .ring__num { padding-top: 42px; }
  .ring__num b { font-size: 2.8rem; }
  .ring__num span { font-size: 1.1rem; }
  .plan__msg { align-self: end; }
  .plan__reset { align-self: start; }
}
@media (max-width: 720px) {
  .sh { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "lead"; gap: 16px; }
  .sh__lead { justify-self: start; }
  .sh__no { position: absolute; right: 0; top: 22px; font-size: 3.6rem; }
  .niches { grid-template-columns: minmax(0, 1fr); }
  .niche { min-height: 0; }
  .bar .btn { width: 100%; }
  .step { flex-wrap: wrap; padding: 8px 8px 14px; }
  .step__btn { flex: 1 1 100%; }
  .step__go { margin-left: 66px; }
}
@media (max-width: 640px) {
  :root { --top-h: 58px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { display: none; }
  .top__nav { gap: 2px; }
  .top__nav a { padding: 8px 10px; font-size: .88rem; }
  .mq { padding: 10px 16px; font-size: 1.1rem; }
  .cat { padding: 18px 6px 6px; border-radius: 22px; }
  .cat__head { padding: 0 10px 12px; }
  .cat__t { font-size: 1.8rem; }
  .lnk { gap: 12px; padding: 12px 10px; }
  .lnk__av { width: 42px; height: 42px; }
  .lnk__go { display: none; }
  .lnk { grid-template-columns: auto minmax(0, 1fr); }
  .bx { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
  .bx .niche__go { display: none; }
  .bx__file { width: 58px; height: 66px; }
  .feat { border-radius: 24px; }
  .mys { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 759px) {
  .top { background: #0a0709f5; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* ---------- Стоки ---------- */
.how {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(22px, 3.4vw, 48px);
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid #ffc61a3d;
  border-radius: 30px;
  background:
    radial-gradient(70% 120% at 0% 0%, #ffc61a29, transparent 58%),
    radial-gradient(60% 110% at 100% 100%, #ff0f2d24, transparent 62%),
    linear-gradient(180deg, #1d1518, #110c0f);
  box-shadow: 0 50px 100px -48px #000, inset 0 1px #fff1b81f;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .75;
}
.how::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  z-index: -1;
  width: 340px;
  height: 340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc61a' stroke-opacity='.09' stroke-width='.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M7 4v16M17 4v16M3 9h4M3 15h4M17 9h4M17 15h4'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: 12deg;
}
.how__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--gold-bg);
  box-shadow: 0 8px 24px -10px #ffc61acc;
  color: var(--gold-ink);
  font: 800 .72rem/1 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.how__badge .i { width: 14px; height: 14px; stroke-width: 2.4; }
.how__t { margin: 18px 0 0; font: 900 clamp(2.1rem, 1.5rem + 2.1vw, 3.3rem)/.9 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 38%, #ffb020 70%, var(--gold-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.how__d { margin-top: 16px; max-width: 46ch; color: var(--text-2); font-size: .98rem; line-height: 1.55; text-wrap: pretty; }
.how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.how__step {
  position: relative;
  padding: 20px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0a070966;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.how__step::after {
  content: attr(data-no);
  position: absolute;
  right: 14px;
  top: 12px;
  color: transparent;
  -webkit-text-stroke: 1.2px #ffc61a47;
  font: 900 3rem/1 var(--f-display);
}
.how__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #ffc61a4d;
  border-radius: 14px;
  background: #ffc61a17;
  color: var(--gold);
}
.how__ico .i { width: 22px; height: 22px; stroke-width: 1.9; }
.how__st { display: block; margin-top: 18px; font: 900 1.6rem/.9 var(--f-display); text-transform: uppercase; }
.how__sd { display: block; margin-top: 8px; color: var(--muted); font-size: .86rem; line-height: 1.42; }

.stock__bar { margin: 28px 0 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); font: 600 .84rem/1 var(--f-body); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.legend .is-free i { background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }

.stocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sto {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(110% 55% at 50% 0%, hsl(var(--h) 80% 55% / .17), transparent 64%), var(--card-bg);
  box-shadow: 0 30px 70px -40px #000000e6;
  overflow: hidden;
  transition: transform .45s var(--out), border-color .3s, box-shadow .45s;
}
.sto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 36%, #fff1b81f 48%, transparent 60%) 130% 0 / 260% 100% no-repeat;
  transition: background-position 1s var(--out);
}
.sto:hover { transform: translateY(-5px); border-color: #ffc61a6b; box-shadow: 0 0 0 1px #ffc61a24, 0 40px 80px -36px #000, 0 0 70px -34px #ffc61ab3; }
.sto:hover::after { background-position: -30% 0; }
.sto__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sto__mono {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid hsl(var(--h) 80% 70% / .38);
  border-radius: 18px;
  background: linear-gradient(150deg, hsl(var(--h) 80% 60% / .3), hsl(var(--h) 80% 40% / .08));
  box-shadow: inset 0 1px #ffffff2e, 0 14px 30px -14px hsl(var(--h) 90% 50% / .8);
  color: hsl(var(--h) 95% 80%);
  font: 900 1.6rem/1 var(--f-display);
  letter-spacing: .02em;
}
.sto__price {
  padding: 7px 11px;
  border: 1px solid #ffc61a59;
  border-radius: 999px;
  background: #ffc61a14;
  color: var(--gold);
  font: 800 .64rem/1 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sto__price--free { border-color: #3ddc8466; background: #3ddc8414; color: #74f0ac; }
.sto__name { margin: 24px 0 0; font: 900 clamp(1.9rem, 1.55rem + .9vw, 2.35rem)/.9 var(--f-display); text-transform: uppercase; }
.sto__name a { color: inherit; text-decoration: none; outline: none; }
.sto__name a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.sto:has(.sto__name a:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }
.sto__desc { margin-top: 9px; color: var(--text-2); font-size: .9rem; line-height: 1.4; }
.sto__kinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; padding: 0; list-style: none; }
.sto__kinds li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px 6px 7px;
  border-radius: 10px;
  background: #ffffff0d;
  color: var(--text-2);
  font: 700 .72rem/1 var(--f-body);
}
.sto__kinds .i { width: 14px; height: 14px; color: hsl(var(--h) 90% 74%); }
.sto__use { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--text-2); font-size: .88rem; line-height: 1.45; }
.sto__use b { display: block; margin-bottom: 7px; color: var(--gold); font: 800 .64rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.sto__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
.sto__host { overflow: hidden; color: var(--muted); font: 600 .8rem/1.2 var(--f-body); white-space: nowrap; text-overflow: ellipsis; }
.sto__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #ffffff0d;
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .4s var(--pop);
}
.sto__go .i { width: 17px; height: 17px; stroke-width: 2.4; }
.sto:hover .sto__go { border-color: transparent; background: var(--gold-bg); color: var(--gold-ink); box-shadow: 0 8px 22px -6px #ffc61acc; transform: rotate(45deg); }

.routes {
  margin-top: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #141014b8;
}
.routes__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.routes__t { margin: 0; font: 900 clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem)/.92 var(--f-display); text-transform: uppercase; }
.routes__t em { font-style: normal; color: var(--gold); }
.routes__d { color: var(--muted); font-size: .9rem; }
.routes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.route { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #ffffff06; }
.route__no { color: var(--gold); font: 800 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.route__t { margin: 2px 0 0; font: 900 1.5rem/.92 var(--f-display); text-transform: uppercase; }
.route__d { color: var(--muted); font-size: .86rem; line-height: 1.42; }
.route__picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.route__pick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #ffffff0a;
  font: 700 .82rem/1 var(--f-body);
  cursor: pointer;
  transition: border-color .25s, color .25s, background-color .25s, transform .3s var(--pop);
}
.route__pick i { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) 90% 66%); box-shadow: 0 0 10px hsl(var(--h) 90% 60%); }
.route__pick:hover { border-color: var(--gold); background: #ffc61a14; color: var(--gold); transform: translateY(-2px); }
.lic { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .88rem; line-height: 1.5; }
.lic .i { width: 22px; height: 22px; color: var(--gold); stroke-width: 1.9; }
.lic b { color: var(--text); }

@media (max-width: 1140px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .stocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .how__steps { grid-template-columns: minmax(0, 1fr); }
  .how__step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px; }
  .how__ico { grid-row: span 2; }
  .how__st { margin-top: 0; }
  .how__sd { margin-top: 5px; }
  .how__step::after { font-size: 2.4rem; }
}
@media (max-width: 640px) {
  .stocks, .routes__list { grid-template-columns: minmax(0, 1fr); }
  .how { border-radius: 24px; }
  .routes { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Секретное оружие ---------- */
.hk-sum { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(30px, 4.5vw, 48px); padding: 0; list-style: none; }
.hk-sum li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff0d, #ffffff04);
  color: var(--text-2);
  font-size: .92rem;
}
.hk-sum b { color: var(--gold); font: 900 2.3rem/.8 var(--f-display); text-shadow: 0 0 26px #ffc61a59; }

.hk { display: grid; gap: clamp(40px, 5.5vw, 64px); }
.hks { scroll-margin-top: 90px; }
.hks__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid hsl(var(--h) 70% 70% / .16);
}
.hks__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--h) 95% 65%), transparent);
  box-shadow: 0 0 14px hsl(var(--h) 95% 60% / .8);
}
.hks__no { flex: none; color: transparent; -webkit-text-stroke: 1.5px hsl(var(--h) 90% 72% / .85); font: 900 3.6rem/.8 var(--f-display); }
.hks__txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; min-width: 0; }
.hks__t { margin: 0; font: 900 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/.9 var(--f-display); text-transform: uppercase; }
.hks__d { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.hks__n {
  flex: none;
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid hsl(var(--h) 80% 70% / .3);
  border-radius: 999px;
  background: hsl(var(--h) 80% 60% / .12);
  color: hsl(var(--h) 90% 80%);
  font: 800 .66rem/1 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hks__grid[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.hks__grid[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hkc {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 24px 22px;
  border: 1px solid hsl(var(--h) 70% 72% / .18);
  border-radius: 26px;
  background:
    radial-gradient(120% 55% at 0% 0%, hsl(var(--h) 80% 50% / .2), transparent 62%),
    var(--card-bg);
  box-shadow: 0 30px 70px -40px #000000f2, inset 0 1px #ffffff0d;
  overflow: hidden;
  transition: transform .45s var(--out), border-color .3s, box-shadow .45s;
}
.hkc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, hsl(var(--h) 95% 78% / .75), transparent 95%);
}
.hkc:hover {
  transform: translateY(-5px);
  border-color: hsl(var(--h) 85% 72% / .45);
  box-shadow: 0 44px 80px -38px #000, 0 0 70px -34px hsl(var(--h) 95% 55% / .9), inset 0 1px #ffffff14;
}
.hkc__a, .hkc__b { display: grid; gap: 18px; align-content: start; }
.hkc__top { display: flex; align-items: center; gap: 12px; }
.hkc__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, hsl(var(--h) 88% 64%), hsl(calc(var(--h) + 38) 80% 36%));
  box-shadow: inset 0 1px #ffffff4d, 0 14px 30px -12px hsl(var(--h) 95% 50% / .85);
  color: #fff;
  transition: transform .45s var(--pop);
}
.hkc__ico .i { width: 27px; height: 27px; stroke-width: 1.9; }
.hkc:hover .hkc__ico { transform: rotate(-8deg) scale(1.06); }
.hkc__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.hkc__no { align-self: flex-start; margin-left: auto; color: transparent; -webkit-text-stroke: 1.3px var(--line-2); font: 900 2.7rem/.8 var(--f-display); transition: -webkit-text-stroke-color .3s; }
.hkc:hover .hkc__no { -webkit-text-stroke-color: hsl(var(--h) 90% 75% / .7); }
.hkc__head { display: grid; gap: 7px; justify-items: start; }
.hkc__name { margin: 0; font: 900 clamp(2rem, 1.7rem + .9vw, 2.6rem)/.88 var(--f-display); text-transform: uppercase; }
.hkc__name a { color: inherit; text-decoration: none; outline: none; }
.hkc__name a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.hkc:has(.hkc__name a:focus-visible) { outline: 3px solid var(--ember); outline-offset: 3px; }
.hkc__dom { color: hsl(var(--h) 85% 78%); font: 600 .8rem/1 var(--f-body); letter-spacing: .03em; }
.hkc__title { margin-top: 6px; color: var(--text); font: 700 1.1rem/1.32 var(--f-body); text-wrap: balance; }

.hkc__qa { display: grid; gap: 12px; margin: 0; }
.hkc__qa div { display: grid; gap: 6px; }
.hkc__qa dt { color: var(--muted); font: 800 .66rem/1 var(--f-body); letter-spacing: .13em; text-transform: uppercase; }
.hkc__qa dd { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.52; text-wrap: pretty; }
.hkc__qa .hkc__why {
  padding: 14px 16px 15px;
  border: 1px solid #ffc61a33;
  border-radius: 16px;
  background: linear-gradient(140deg, #ffc61a1c, #ffc61a05 70%);
}
.hkc__why dt { display: flex; align-items: center; gap: 7px; color: var(--gold); }
.hkc__why dt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hkc__why dd { color: var(--text); }
.hkc__feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hkc__feats li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px 7px 9px;
  border: 1px solid hsl(var(--h) 70% 72% / .22);
  border-radius: 999px;
  background: hsl(var(--h) 70% 55% / .1);
  color: var(--text-2);
  font: 600 .78rem/1.1 var(--f-body);
}
.hkc__feats .i { width: 13px; height: 13px; stroke-width: 3; color: hsl(var(--h) 95% 74%); }
.hkc__note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border: 1px dashed #ff42575c;
  border-radius: 13px;
  background: #ff0f2d14;
  color: #ffd3d9;
  font-size: .82rem;
  line-height: 1.42;
}
.hkc__note .i { width: 17px; height: 17px; margin-top: 1px; color: var(--red-soft); }
.hkc__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.hkc__stat { display: grid; gap: 7px; min-width: 0; }
.hkc__stat b { color: var(--gold); font: 900 2.5rem/.8 var(--f-display); white-space: nowrap; text-shadow: 0 0 30px #ffc61a4d; }
.hkc__stat small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.hkc__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #ffffff0a;
  font: 700 .88rem/1 var(--f-body);
  transition: background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.hkc__go .i { width: 15px; height: 15px; stroke-width: 2.4; transition: transform .3s var(--out); }
.hkc:hover .hkc__go { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 10px 26px -8px #ff0f2dcc; }
.hkc:hover .hkc__go .i { transform: translate(2px, -2px); }

/* широкая карточка «Топ-находка» */
.hkc--big {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "a b" "f b";
  gap: 22px clamp(28px, 4.5vw, 64px);
  padding: clamp(24px, 3.4vw, 42px);
  border-color: hsl(var(--h) 85% 72% / .32);
  background:
    radial-gradient(70% 95% at 0% 0%, hsl(var(--h) 90% 50% / .34), transparent 62%),
    radial-gradient(55% 80% at 100% 100%, #ffc61a17, transparent 65%),
    var(--card-bg);
  box-shadow: 0 40px 90px -40px #000, 0 0 90px -50px hsl(var(--h) 95% 55%), inset 0 1px #ffffff14;
}
.hkc--big::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid hsl(var(--h) 90% 72% / .14);
  box-shadow: 0 0 0 40px hsl(var(--h) 90% 72% / .035), 0 0 0 80px hsl(var(--h) 90% 72% / .025);
}
.hkc--big .hkc__a { grid-area: a; gap: 22px; }
.hkc--big .hkc__b { grid-area: b; align-self: center; }
.hkc--big .hkc__foot { grid-area: f; }
.hkc--big .hkc__ico { width: 62px; height: 62px; border-radius: 19px; }
.hkc--big .hkc__ico .i { width: 31px; height: 31px; }
.hkc--big .hkc__name { font-size: clamp(2.8rem, 1.9rem + 2.8vw, 4.6rem); }
.hkc--big .hkc__title { max-width: 22ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); }
.hkc--big .hkc__qa dd { font-size: .96rem; }
.hkc--big .hkc__stat b { font-size: 3.4rem; }

@media (max-width: 1100px) {
  .hks__grid[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hks__grid[data-n="3"] > .hkc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hks__grid[data-n] { grid-template-columns: minmax(0, 1fr); }
  .hks__head { flex-wrap: wrap; gap: 10px 14px; }
  .hks__no { font-size: 3rem; }
  .hks__txt { flex: 1 1 0; }
  .hks__n { order: -1; margin-left: 0; display: none; }
  .hkc--big { display: flex; }
  .hkc--big .hkc__b { align-self: auto; }
  .hkc--big .hkc__stat b { font-size: 2.8rem; }
  .hk-sum li { flex: 1 1 auto; padding: 12px 14px; font-size: .84rem; }
  .hk-sum b { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .hkc { padding: 20px 18px 18px; border-radius: 22px; }
  .hkc__go { padding: 10px 13px; }
}
/* шапка на телефоне: с пятью пунктами меню лента прокручивается, логотип не сжимается */
@media (max-width: 640px) {
  .top .brand { flex: none; }
  .top__nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent);
  }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { flex: none; padding: 8px 9px; }
  .top__nav a:last-child { margin-right: 18px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hks__grid[data-n="3"] > .hkc:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-rows: 1fr auto;
    grid-template-areas: "a b" "f b";
    gap: 20px 32px;
  }
  .hks__grid[data-n="3"] > .hkc:last-child:nth-child(odd) .hkc__a { grid-area: a; }
  .hks__grid[data-n="3"] > .hkc:last-child:nth-child(odd) .hkc__b { grid-area: b; }
  .hks__grid[data-n="3"] > .hkc:last-child:nth-child(odd) .hkc__foot { grid-area: f; }
}
