/* =========================================================
   SLOTLENS — стили
   ========================================================= */

@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #151618;
  --bg-2: #1d1e21;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1f2f4;
  --text-2: #c9cbd0;
  --muted: #8d9097;
  --accent: #b6ff39;
  --accent-ink: #11160a;
  --accent-soft: rgba(182, 255, 57, 0.14);
  --accent-glow: rgba(182, 255, 57, 0.45);
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1240px;
  --gutter: 24px;
  --header-h: 64px;
  --glass-blur: 16px;
  --font: 'Unbounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
mark { background: none; color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.main { position: relative; z-index: 1; min-height: 60vh; padding-bottom: 40px; }

/* ---------- фон: серый шум + мягкие пятна света ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #25272a 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 70%);
}
.bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.bg__blob--1 { width: 520px; height: 520px; left: -160px; top: 8%; background: rgba(182, 255, 57, 0.16); }
.bg__blob--2 { width: 620px; height: 620px; right: -220px; top: 30%; background: rgba(120, 110, 255, 0.14); animation-delay: -9s; }
.bg__blob--3 { width: 460px; height: 460px; left: 30%; bottom: -220px; background: rgba(255, 255, 255, 0.06); animation-delay: -17s; }
@keyframes drift {
  to { transform: translate3d(80px, -60px, 0) scale(1.15); }
}

/* ---------- liquid glass ---------- */

.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 14px 40px -16px rgba(0, 0, 0, 0.6);
}
/* световой ободок: ярче на верхнем-левом и нижнем-правом углах, как у стекла Apple */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.04) 32%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
/* блик */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 15% -10%, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}
.glass--soft {
  --glass-blur: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.glass--soft::after { opacity: 0.5; }
.glass--strong { background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }

/* В Chromium работает настоящее преломление — делаем стекло прозрачнее, чтобы его было видно.
   --lg-blur читает liquid-glass.js: размытие фона поверх преломления */
.glass { --lg-blur: 2px; }
.header__bar, .tabbar, .search__panel, .compare-tray { --lg-blur: 5px; }
.lg-svg .glass.is-refracting { background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)); }
.lg-svg .header__bar.is-refracting,
.lg-svg .tabbar.is-refracting,
.lg-svg .compare-tray.is-refracting,
.lg-svg .search__panel.is-refracting { background: linear-gradient(180deg, rgba(40, 41, 45, 0.5), rgba(30, 31, 34, 0.4)); }

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--spring), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(0.96); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn--accent:hover { box-shadow: 0 8px 30px -6px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12); transform: translateY(-1px); }
.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn--glass[aria-pressed='true'] { color: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(182, 255, 57, 0.45); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.25s, background 0.25s, transform 0.25s var(--spring), box-shadow 0.25s;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn--sm { width: 38px; height: 38px; }
.icon-btn--sm .i { width: 17px; height: 17px; }
.icon-btn[aria-pressed='true'] { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.icon-btn__kbd { display: none; }

/* сердечко */
.i-heart path { transition: fill 0.25s, stroke 0.25s; }
[aria-pressed='true'] .i-heart path,
.icon-btn--fav.has-items .i-heart path { fill: var(--accent); stroke: var(--accent); }
.icon-btn--fav.has-items { color: var(--accent); }
.icon-btn--fav.is-active { box-shadow: inset 0 0 0 1px rgba(182, 255, 57, 0.5); }
.is-popping .i-heart { animation: heart-pop 0.5s var(--spring); }
@keyframes heart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.fav-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 3px var(--bg), 0 0 14px var(--accent-glow);
}

/* ---------- шапка ---------- */

.header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 12px auto 0;
  padding: 0 var(--gutter);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 10px 0 18px;
  border-radius: 22px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__img { width: auto; transition: transform 0.4s var(--spring), filter 0.3s; }
.logo__img--header { height: 56px; margin-left: -6px; }
.logo__img--footer { height: 60px; }
.logo:hover .logo__img { transform: scale(1.04) rotate(-1deg); filter: drop-shadow(0 0 14px rgba(182, 255, 57, 0.35)); }
.nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 8px; }

/* ---------- нижний таб-бар (мобильный) ---------- */

.tabbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 66px;
  padding: 6px;
  border-radius: 26px;
}
.tabbar__item span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.02em; }
/* «Популярные» и «Провайдеры» в Unbounded широкие: на обычных телефонах подписи слипались */
@media (max-width: 430px) { .tabbar__item { font-size: 9px; } }
@media (max-width: 370px) {
  .tabbar { left: 8px; right: 8px; padding: 5px; }
  .tabbar__item { font-size: 8.5px; }
  .tabbar__item span { padding: 0; letter-spacing: -0.04em; }
  /* .toolbar впереди — перебивает правило для ≤640px, которое стоит в файле ниже */
  .toolbar .toolbar__selects select { padding-right: 26px; font-size: 10px; }
  .toolbar .toolbar__selects .select::after { right: 11px; }
}
.tabbar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.tabbar__item .i { width: 22px; height: 22px; }
.tabbar__item::after {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.tabbar__item.is-active { color: var(--accent); background: rgba(182, 255, 57, 0.08); }
.tabbar__item.is-active::after { transform: scaleX(1); }

/* ---------- иконки меню ---------- */

.ni { overflow: visible; transition: color 0.25s, filter 0.3s, transform 0.3s var(--spring); }
.ni * { transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--spring), fill 0.3s, fill-opacity 0.3s, stroke 0.3s; }
.ni-fill { fill: currentColor; fill-opacity: 0.12; }
.ni-acc { fill: var(--accent); stroke: var(--accent); }
.ni-acc-s { stroke: var(--accent); }
.nav__link .ni { width: 18px; height: 18px; }
.nav__link:is(:hover, .is-active) .ni { color: var(--accent); }
:is(.nav__link, .tabbar__item):is(:hover, .is-active) .ni { filter: drop-shadow(0 0 5px var(--accent-glow)); }
:is(.nav__link, .tabbar__item):is(:hover, .is-active) .ni-fill { fill: var(--accent); fill-opacity: 0.2; }
.tabbar__item:active .ni { transform: scale(0.86); }

/* новые: звезда проворачивается, маленькая мерцает */
:is(.nav__link, .tabbar__item):hover .ni-big { animation: ni-spin 0.8s var(--spring); }
:is(.nav__link, .tabbar__item):hover .ni-small { animation: ni-twinkle 0.8s var(--ease) 0.1s; }
:is(.nav__link, .tabbar__item):hover .ni-dot { animation: ni-blink 0.8s 0.2s; }
.is-active .ni-small { animation: ni-twinkle-idle 3.2s var(--ease) infinite; }

/* популярные: пламя дрожит, на активном пункте — медленно */
.ni-outer, .ni-core { transform-origin: 50% 100%; }
.ni-core { stroke: none; }
:is(.nav__link, .tabbar__item):hover .ni-outer { animation: ni-flicker 0.9s ease-in-out infinite; }
:is(.nav__link, .tabbar__item):hover .ni-core { animation: ni-core 0.6s ease-in-out infinite; }
.is-active .ni-core { animation: ni-core 2.4s ease-in-out infinite; }

/* провайдеры: плитки расходятся, акцентная встаёт ромбом */
.ni-t1 { --tx: -1px; --ty: -1px; }
.ni-t2 { --tx: 1px; --ty: -1px; transition-delay: 0.05s; }
.ni-t3 { --tx: -1px; --ty: 1px; transition-delay: 0.15s; }
.ni-t4 { --tx: 1px; --ty: 1px; transition-delay: 0.1s; }
:is(.nav__link, .tabbar__item):hover .ni-providers rect { transform: translate(var(--tx), var(--ty)); }
.is-active .ni-t2 { transform: rotate(45deg) scale(0.82); }
:is(.nav__link, .tabbar__item):hover .ni-t2 { transform: translate(var(--tx), var(--ty)) rotate(45deg) scale(0.82); }

/* сравнить: стрелки качаются навстречу */
:is(.nav__link, .tabbar__item):hover .ni-a1 { animation: ni-swap-a 0.9s ease-in-out infinite; }
:is(.nav__link, .tabbar__item):hover .ni-a2 { animation: ni-swap-b 0.9s ease-in-out infinite; }

@keyframes ni-spin { 45% { transform: rotate(60deg) scale(1.2); } 100% { transform: rotate(90deg); } }
@keyframes ni-twinkle { 35% { transform: scale(0.2) rotate(-60deg); } 70% { transform: scale(1.35); } }
@keyframes ni-twinkle-idle { 0%, 36%, 100% { transform: none; } 12% { transform: scale(0.2) rotate(-60deg); } 24% { transform: scale(1.35); } }
@keyframes ni-blink { 50% { opacity: 0; } }
@keyframes ni-flicker { 25% { transform: scale(0.95, 1.06) skewX(-3deg); } 50% { transform: scale(1.03, 0.97) skewX(2deg); } 75% { transform: scale(0.97, 1.04) skewX(-1deg); } }
@keyframes ni-core { 50% { transform: scale(0.9, 1.22); } }
@keyframes ni-swap-a { 50% { transform: translateX(2.5px); } }
@keyframes ni-swap-b { 50% { transform: translateX(-2.5px); } }

/* ---------- общие блоки ---------- */

.section { margin-top: 72px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.section-sub { margin-top: 6px; color: var(--muted); font-size: 12px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.link-more .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-more:hover .i { transform: translateX(4px); }

.page-head { padding-top: 44px; padding-bottom: 28px; }
.page-title { font-size: clamp(28px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.page-sub { margin-top: 12px; max-width: 720px; color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.7; }

.crumbs { margin-bottom: 18px; font-size: 11px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--accent); }
/* длинная последняя крошка не переносится со слешем в начале строки, а обрезается многоточием */
@media (max-width: 640px) {
  .crumbs ol { flex-wrap: nowrap; }
  .crumbs li { flex: none; }
  .crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(182, 255, 57, 0); } }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }
.badge--date {
  padding: 3px 7px;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  /* дата выхода везде — лаймовая плашка */
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 4px 16px -2px var(--accent-glow);
}
/* та же плашка внутри текста: таблица характеристик, сравнение */
.badge--inline { position: static; display: inline-block; vertical-align: middle; font-size: 11px; padding: 3px 9px; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 10px var(--pc); }
.pill:hover { box-shadow: inset 0 0 0 1px var(--accent); }

.empty { color: var(--muted); padding: 30px 0; text-align: center; }

/* волатильность */
.vol { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; vertical-align: -1px; }
.vol i { width: 4px; border-radius: 1px; background: rgba(255, 255, 255, 0.16); }
.vol i:nth-child(1) { height: 40%; }
.vol i:nth-child(2) { height: 60%; }
.vol i:nth-child(3) { height: 80%; }
.vol i:nth-child(4) { height: 100%; }
.vol--1 i:nth-child(-n + 1), .vol--2 i:nth-child(-n + 2), .vol--3 i:nth-child(-n + 3), .vol--4 i:nth-child(-n + 4) { background: var(--accent); }

/* ---------- обложка ---------- */

.cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 72% 28%, color-mix(in srgb, var(--c2) 70%, transparent) 0%, transparent 60%),
    radial-gradient(60% 60% at 15% 90%, color-mix(in srgb, var(--c2) 30%, transparent) 0%, transparent 60%),
    linear-gradient(140deg, var(--c1), color-mix(in srgb, var(--c1) 40%, #08080a));
}
.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px);
  -webkit-mask: radial-gradient(circle at 72% 28%, #000, transparent 75%);
  mask: radial-gradient(circle at 72% 28%, #000, transparent 75%);
}
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), transparent 38%); pointer-events: none; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__mono {
  position: relative;
  z-index: 1;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 8px 40px var(--c2), 0 2px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.6s var(--ease);
}

/* ---------- карточка слота ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(182, 255, 57, 0.35), 0 24px 50px -24px rgba(0, 0, 0, 0.8), 0 0 40px -18px var(--accent-glow);
}
.card:hover .cover__mono { transform: scale(1.08); }
.card__cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 14px 16px 16px; }
.card__provider { font-size: 10px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card__provider:hover { color: var(--accent); }
.card__title { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.card__title a::before { content: ''; position: absolute; inset: 0; z-index: 0; }
.card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 14px; }
.card__stats div { padding: 7px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.card__stats dt { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card__stats dd { font-size: 11px; font-weight: 600; white-space: nowrap; }
.card__actions { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: auto; }
.card__actions .btn { flex: 1; }
.card__provider, .card__title a { position: relative; z-index: 1; }
.card__title a { position: static; }

.card__desc {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: calc(2 * 1.6em);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-2);
}
.card__tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tool-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 20, 22, 0.35);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--spring), background 0.25s;
}
.tool-btn .i { width: 19px; height: 19px; }
.tool-btn:hover { transform: scale(1.08); background: rgba(20, 20, 22, 0.55); color: var(--accent); }
.tool-btn[aria-pressed='true'] { color: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(182, 255, 57, 0.55); }
/* ---------- hero ---------- */

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 56px; }
.hero__title { margin-top: 18px; font-size: clamp(32px, 5vw, 62px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.hero__title mark { position: relative; white-space: nowrap; }
.hero__title mark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 1em;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform-origin: left;
  animation: underline 1.1s 0.3s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero__sub { margin-top: 20px; max-width: 520px; color: var(--text-2); font-size: 14px; font-weight: 300; line-height: 1.75; }
.hero__search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(480px, 100%);
  height: 60px;
  margin-top: 30px;
  padding: 0 14px 0 20px;
  border-radius: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  transition: transform 0.3s var(--ease);
}
.hero__search:hover { transform: translateY(-2px); color: var(--text-2); }
.hero__search .i { width: 20px; height: 20px; color: var(--accent); }
.hero__search span { flex: 1; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; font: 600 11px var(--font); color: var(--muted); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.hero__stats { display: flex; gap: 36px; margin-top: 36px; }
.hero__stats dt { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__stats dd { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* качающийся автомат: покачивание задаёт CSS, наклон за курсором — app.js через --rx/--ry */
.hero__stage { position: relative; display: grid; place-items: center; padding: 10px 0 30px; perspective: 1100px; }
.hero__tilt {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.hero__art {
  width: 100%;
  height: auto;
  transform-origin: 50% 70%;
  /* подъём и наклон с разными периодами — движение не повторяется «механически» */
  animation: hero-float 5s ease-in-out infinite, hero-sway 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; }
}
@keyframes hero-sway {
  0%, 100% { rotate: -1.2deg; }
  50% { rotate: 1.2deg; }
}
.hero__glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 255, 57, 0.28), rgba(140, 90, 255, 0.12) 45%, transparent 70%);
  filter: blur(30px);
  transform: translate(-50%, -50%);
  animation: hero-glow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-glow {
  50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.08); }
}
.hero__shadow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 18px;
  width: 58%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  transform: translateX(-50%);
  animation: hero-shadow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-shadow {
  50% { transform: translateX(-50%) scale(0.82); opacity: 0.55; }
}

/* ---------- провайдеры ---------- */

.providers-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.provider-chip { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px 18px 9px 9px; border-radius: 18px; transition: transform 0.3s var(--ease); }
.provider-chip > span:last-child { min-width: 0; }
.provider-chip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-chip:hover { transform: translateY(-2px); }
.provider-chip b { display: block; font-size: 13px; font-weight: 600; }
.provider-chip small { display: block; font-size: 10px; color: var(--muted); }
.provider-chip__mark, .provider-card__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #111;
  background: var(--pc);
  box-shadow: 0 6px 20px -6px var(--pc);
}
/* SVG-логотипы провайдеров (assets/providers/<slug>.svg) */
.provider-chip__mark--img, .provider-card__mark--img { padding: 8px; }
.provider-chip__mark--img img, .provider-card__mark--img img { width: 100%; height: 100%; object-fit: contain; }
.provider-chip--logo { justify-content: space-between; min-height: 58px; padding: 9px 12px 9px 18px; }
.provider-chip__logo { display: flex; align-items: center; flex: 1; min-width: 0; height: 44px; }
.provider-chip__logo img, .provider-card__logo img { width: auto; height: var(--h); max-width: 100%; object-fit: contain; object-position: left center; transition: transform 0.35s var(--ease); }
.provider-chip--logo:hover .provider-chip__logo img { transform: scale(1.05); }
.provider-chip__count { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.provider-card__logo { display: flex; align-items: center; height: 52px; margin-bottom: 10px; padding-right: 50px; }
.provider-card__logo img { height: calc(var(--h) * 1.3); }
.providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.provider-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 24px; transition: transform 0.35s var(--ease); }
.provider-card:hover { transform: translateY(-4px); }
.provider-card__mark { width: 52px; height: 52px; border-radius: 16px; font-size: 15px; margin-bottom: 10px; }
.provider-card__name { font-size: 18px; font-weight: 700; }
.provider-card__meta { font-size: 11px; color: var(--muted); }
/* показатели одной полосой: колонки по ширине содержимого, без переносов */
.provider-card__stats {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  margin-top: 18px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.provider-card__stats div { position: relative; }
.provider-card__stats div + div { padding-left: 10px; }
.provider-card__stats div + div::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: var(--line-2); }
.provider-card__stats div:not(:last-child) { padding-right: 10px; }
.provider-card__stats dt { font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.provider-card__stats dd { margin-top: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 640px) {
  .provider-card__stats { padding: 12px 16px; }
  .provider-card__stats dd { font-size: 14px; }
}
.provider-card__go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.provider-card__go .i { width: 17px; height: 17px; }
.provider-card:hover .provider-card__go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }

/* ---------- CTA ---------- */

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 32px; overflow: hidden; }
.cta::after { background: radial-gradient(60% 120% at 100% 50%, rgba(182, 255, 57, 0.16), transparent 60%), radial-gradient(120% 70% at 15% -10%, rgba(255, 255, 255, 0.16), transparent 55%); }
.cta__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.cta__text { margin-top: 8px; max-width: 540px; color: var(--text-2); font-size: 13px; font-weight: 300; line-height: 1.7; }

/* ---------- листинг и фильтры ---------- */

.toolbar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.25s, color 0.25s; }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); box-shadow: none; font-weight: 600; }
.toolbar__selects { display: flex; flex-wrap: wrap; gap: 8px; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select {
  appearance: none;
  height: 36px;
  padding: 0 38px 0 14px;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.select select:hover { background: rgba(255, 255, 255, 0.09); }
.select option { background: #26272b; color: var(--text); }
.listing__count { margin: 18px 2px 14px; font-size: 11px; color: var(--muted); }

/* ---------- «Новые слоты»: лента релизов по месяцам ---------- */

.eyebrow--accent { color: var(--accent); font-weight: 700; letter-spacing: 0.14em; }
.page-title--xl { margin-top: 10px; font-size: clamp(30px, 5.4vw, 64px); max-width: 1100px; }
.page-sub--lead { max-width: 820px; font-size: 14px; color: var(--text-2); }
.timeline__bar { margin-bottom: 8px; }
.toolbar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* лупа, из которой выезжает поле поиска */
.tl-search { display: flex; align-items: center; flex: none; border-radius: 999px; transition: background 0.3s, box-shadow 0.3s; }
.tl-search input {
  width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  outline: none;
  opacity: 0;
  visibility: hidden;
  transition: width 0.35s var(--ease), padding 0.35s var(--ease), opacity 0.25s, visibility 0.35s;
}
.tl-search input::placeholder { color: var(--muted); }
.tl-search input::-webkit-search-cancel-button { display: none; }
.tl-search.is-open { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(182, 255, 57, 0.5); }
.tl-search.is-open input { width: 210px; padding: 0 14px 0 4px; opacity: 1; visibility: visible; }
.tl-search.is-open .icon-btn { color: var(--accent); background: transparent; box-shadow: none; }
.tl-group { padding-top: 48px; }
.tl-group + .tl-group { margin-top: 48px; border-top: 1px solid var(--line); }
.tl-group__title { margin-top: 10px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.tl-group__sub { margin: 8px 0 26px; font-size: 12px; color: var(--muted); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* новинки на главной: 6 карточек — два ряда по три */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ---------- SEO-статья внизу страницы ---------- */

.article { margin-top: 96px; }
.article__panel {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 64px;
  padding: 52px 56px;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(182, 255, 57, 0.06), transparent 55%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* заголовок остаётся на виду, пока читаешь разделы */
.article__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.article__title { margin-top: 12px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.article__meta { margin-top: 16px; font-size: 11px; color: var(--muted); }
.article__body { max-width: 720px; }
.article__section { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
.article__section > :not(.article__num) { grid-column: 2; }
.article__section + .article__section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.article__num { grid-row: 1 / span 9; padding-top: 3px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }
.article__section h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.article__section p { margin-top: 14px; font-size: 13.5px; font-weight: 300; line-height: 1.85; color: var(--text-2); }
@media (max-width: 900px) {
  .article { margin-top: 64px; }
  .article__panel { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .article__head { position: static; }
}
@media (max-width: 640px) {
  .article__panel { padding: 28px 20px; border-radius: 22px; }
  /* на узком экране номер — над подзаголовком, чтобы не отнимать ширину у текста */
  .article__section { display: block; }
  .article__num { display: block; margin-bottom: 8px; padding-top: 0; font-size: 12px; }
  .article__section + .article__section { margin-top: 28px; padding-top: 28px; }
  .article__section h3 { font-size: 15.5px; }
  .article__section p { font-size: 13px; }
}
@media (max-width: 640px) {
  .toolbar__left { flex-wrap: wrap; }
  .toolbar__left .chips { flex: 1; min-width: 0; }
  .tl-search.is-open { flex: 1 1 100%; }
  .tl-search.is-open input { flex: 1; width: auto; }
  .tl-group { padding-top: 36px; }
  .tl-group + .tl-group { margin-top: 36px; }
  .tl-group__sub { margin-bottom: 18px; }
}
.listing__more { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- страница слота ---------- */

.slot { padding-top: 36px; }
.slot-hero { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 44px; align-items: center; }
.slot-hero__media { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.slot-hero__media .badge { top: 18px; left: 18px; }
.cover--xl .cover__mono { font-size: clamp(64px, 9vw, 120px); }
.slot-hero__title { margin-top: 16px; font-size: clamp(28px, 4.2vw, 52px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.slot-hero__short { margin-top: 14px; color: var(--text-2); font-size: 14px; font-weight: 300; line-height: 1.7; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.kpi { padding: 14px 16px; border-radius: 20px; }
.kpi dt { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.kpi dd { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.kpi dd span { font-size: 12px; font-weight: 600; letter-spacing: 0; }
.kpi .vol { height: 16px; }
.kpi .vol i { width: 5px; }
.slot-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn--demo .i { color: var(--accent); }

/* демо во всплывающем окне */
.demo { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 24px; }
.demo[hidden] { display: none; }
.demo__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade 0.25s; }
.demo__dialog { position: relative; display: flex; flex-direction: column; width: min(1180px, 100%); max-height: 100%; padding: 12px; border-radius: 28px; animation: pop 0.35s var(--spring); }
.demo__head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px 10px; }
.demo__title { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.demo__title b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__title span { font-size: 10px; color: var(--muted); }
.demo__stage { position: relative; aspect-ratio: 16 / 9; max-height: calc(100dvh - 200px); border-radius: 18px; overflow: hidden; background: #0c0c0e; box-shadow: inset 0 0 0 1px var(--line); }
.demo__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.demo__loader { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 12px; pointer-events: none; }
.demo__loader[hidden] { display: none; }
.demo__loader span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
.demo__note { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.demo__note .cover { position: relative; width: min(280px, 60%); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.demo__note p { max-width: 420px; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.demo__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 2px 10px; }
.demo__foot small { color: var(--muted); font-size: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .demo { padding: 0; }
  .demo__dialog { width: 100%; height: 100%; border-radius: 0; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); }
  .demo__stage { flex: 1; aspect-ratio: auto; max-height: none; }
  .demo__foot small { display: none; }
  .demo__foot .btn { flex: 1; }
}

.slot-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; margin-top: 64px; align-items: start; }
.slot-article p { margin-top: 16px; color: var(--text-2); font-size: 14px; font-weight: 300; line-height: 1.85; }
.subhead { margin-top: 30px; font-size: 15px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 8px 14px; border-radius: 999px; font-size: 11px; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(182, 255, 57, 0.25); }
.specs { position: sticky; top: 100px; padding: 22px 24px; border-radius: 24px; }
.specs__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.specs dl div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.specs dl div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-align: right; }
.specs dd a { color: var(--accent); }

/* казино: узкая строка + раскрывающиеся подробности */
.casinos { display: grid; gap: 8px; }
.casino {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}
.casino:hover, .casino.is-open { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.casino--top, .casino--top:hover { box-shadow: inset 0 0 0 1px rgba(182, 255, 57, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.casino__row {
  display: grid;
  grid-template-columns: 18px 60px minmax(110px, 0.9fr) minmax(160px, 1.5fr) auto auto auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px 10px 8px 16px;
  cursor: pointer;
}
.casino__rank { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.casino--top .casino__rank { color: var(--accent); }
.casino__logo { display: grid; place-items: center; width: 60px; height: 45px; border-radius: 10px; overflow: hidden; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--cc), color-mix(in srgb, var(--cc) 40%, #000)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.casino__logo img { width: 100%; height: 100%; object-fit: cover; }
.casino__main, .casino__bonus { min-width: 0; }
.casino__name { overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.casino__rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 1px; font-size: 11px; font-weight: 600; color: var(--text-2); }
.casino__rating .i-star { width: 13px; height: 13px; color: var(--accent); }
.casino__bonus b, .casino__bonus small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.casino__bonus b { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.casino__bonus small { margin-top: 2px; font-size: 10px; color: var(--muted); }
.casino__pays { flex-wrap: nowrap; }
.casino__cta { min-width: 96px; }
.casino__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.2s, background 0.2s;
}
.casino__toggle:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.casino__toggle .i { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.casino.is-open .casino__toggle { color: var(--accent); }
.casino.is-open .casino__toggle .i { transform: rotate(180deg); }

/* иконки платёжек и провайдеров — на светлых плашках: многие логотипы тёмные и на фоне сайта пропадают */
.ichips { display: flex; flex-wrap: wrap; gap: 6px; }
.ichip { display: grid; place-items: center; height: 28px; min-width: 44px; padding: 0 8px; border-radius: 8px; background: #f3f4f6; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.ichip[hidden] { display: none; }
.ichip img { width: auto; max-width: 72px; max-height: 16px; }
.ichip--text { font-size: 10px; font-weight: 600; color: #1c1d20; }
.ichip--more { min-width: 0; font-size: 10px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.casino__icons--providers .ichip { height: 36px; min-width: 70px; padding: 0 10px; }
.casino__icons--providers .ichip img { max-width: 96px; max-height: 22px; }
.casino__pays .ichip { height: 24px; min-width: 38px; padding: 0 6px; }
.casino__pays .ichip img { max-width: 46px; max-height: 13px; }

.casino__details { padding: 0 16px 18px; border-top: 1px solid var(--line); animation: casino-open 0.35s var(--ease); }
@keyframes casino-open { from { opacity: 0; transform: translateY(-6px); } }
.casino__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-top: 14px; }
.casino__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.casino__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.casino__specs dt { color: var(--muted); white-space: nowrap; }
.casino__specs dd { font-weight: 600; text-align: right; }
.casino__ratings { display: grid; gap: 9px; padding-top: 4px; }
.casino__ratings li { display: grid; grid-template-columns: 128px 1fr 28px; align-items: center; gap: 10px; font-size: 11px; color: var(--text-2); }
.casino__ratings i { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--v), rgba(255, 255, 255, 0.1) var(--v)); }
.casino__ratings b { font-weight: 700; color: var(--text); text-align: right; }
.casino__promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 7px 7px 7px 14px; border: 1px dashed rgba(182, 255, 57, 0.45); border-radius: 12px; font-size: 11px; color: var(--muted); }
.promo { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 12px; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-soft); transition: background 0.2s, color 0.2s; }
.promo b { font-weight: 700; }
.promo .i { width: 15px; height: 15px; }
.promo:hover { color: var(--accent-ink); background: var(--accent); }
.casino__features { margin-top: 16px; }
.casino__features li { padding: 6px 12px; font-size: 10.5px; }
.casino__icons { margin-top: 16px; }
.casino__icons h4 { margin-bottom: 8px; font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.casino__icons h4 small { margin-left: 4px; font-size: 10px; color: var(--text-2); }
.casino__more { margin-top: 10px; font-size: 11px; font-weight: 600; color: var(--accent); }
.casino__more:hover { text-decoration: underline; }

/* ---------- сравнение ---------- */

.compare__pickers { display: grid; grid-template-columns: 180px repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.compare__pickers::before { content: ''; }
.picker { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.picker--empty { justify-content: center; gap: 4px; border: 1.5px dashed var(--line-2); box-shadow: none; cursor: text; }
/* «+ Добавить слот» стоит по центру; при вводе поле растягивается на всю ячейку */
.picker.picker--empty input { flex: 0 1 152px; transition: flex-grow 0.35s var(--ease); }
.picker.picker--empty input:focus, .picker.picker--empty input:not(:placeholder-shown) { flex-grow: 1; }
.picker--empty:hover { border-color: rgba(182, 255, 57, 0.45); }
.picker--empty:hover .icon-btn { color: var(--accent); }
.picker__cover { width: 72px; height: 54px; flex: none; border-radius: 12px; overflow: hidden; }
.picker__cover .cover__mono { font-size: 18px; }
.picker__name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.picker__name small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.picker input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; font-size: 12px; background: transparent; outline: none; }
.picker input::placeholder { color: var(--muted); }
.picker__suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; max-height: 300px; overflow: auto; padding: 6px; border-radius: 18px; background: rgba(36, 37, 41, 0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -10px rgba(0, 0, 0, 0.7); }
.compare__table-wrap { overflow-x: auto; border-radius: 28px; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 14px 18px; font-size: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table th { width: 180px; color: var(--muted); font-weight: 500; }
.compare__table td { font-weight: 600; }
.compare__table td.is-best { color: var(--accent); }
.compare__table td.is-best::after { content: 'лучше'; margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 700; color: var(--accent-ink); background: var(--accent); vertical-align: 1px; }
.compare__table .muted { color: var(--muted); font-weight: 400; }
.compare__share { display: flex; justify-content: flex-end; margin-top: 16px; }

/* ---------- плавающие слои ---------- */

.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  padding: 8px 8px 8px 10px;
  border-radius: 20px;
  transform: translateX(-50%);
  animation: tray-in 0.45s var(--spring);
}
@keyframes tray-in { from { transform: translate(-50%, 30px); opacity: 0; } }
.compare-tray__items { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tray-item { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 6px 0 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 11px; font-weight: 500; }
.tray-item .cover { width: 30px; height: 30px; border-radius: 9px; }
.tray-item .cover__mono { font-size: 10px; }
.tray-item button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--muted); }
.tray-item button:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.tray-item button .i { width: 12px; height: 12px; }

.search { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 12px 12px; }
.search__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } }
.search__panel { position: relative; width: min(640px, 100%); padding: 10px; border-radius: 24px; animation: pop 0.35s var(--spring); }
@keyframes pop { from { transform: translateY(-10px) scale(0.97); opacity: 0; } }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 6px 0 14px; }
.search__field > .i { width: 20px; height: 20px; color: var(--accent); flex: none; }
.search__field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 15px; outline: none; }
.search__field input::placeholder { color: var(--muted); }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__results { max-height: 58vh; overflow-y: auto; overscroll-behavior: contain; }
.search__results:not(:empty) { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.result { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background 0.15s; }
.result.is-active, .result:hover { background: rgba(255, 255, 255, 0.07); }
.result.is-active { box-shadow: inset 2px 0 0 var(--accent); }
.result .cover { width: 52px; height: 40px; flex: none; border-radius: 10px; }
.result .cover__mono { font-size: 14px; }
.result__name { font-size: 13px; font-weight: 600; }
.result__meta { font-size: 10px; color: var(--muted); }
.result__name mark { border-radius: 3px; }
.search__empty { padding: 22px; text-align: center; color: var(--muted); font-size: 12px; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 56;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 34px -12px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s, visibility 0.3s, transform 0.4s var(--spring), background 0.25s, color 0.25s, box-shadow 0.3s;
}
.to-top .i { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 30px -6px var(--accent-glow);
}
.to-top:hover .i { transform: translateY(-3px); }
.to-top:active { transform: scale(0.92); }

.toast {
  position: fixed;
  left: 50%;
  top: 92px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 10px 30px -8px var(--accent-glow);
  transform: translate(-50%, -20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--spring), opacity 0.3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- прочее ---------- */

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 48px 32px; border-radius: 28px; text-align: center; }
.empty-state__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.empty-state__icon .i { width: 28px; height: 28px; }
.empty-state h2 { font-size: 20px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

.nf { padding-top: 80px; text-align: center; }
.nf__code { font-size: clamp(90px, 18vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf .page-sub { margin-left: auto; margin-right: auto; }
.nf__actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }

.footer { position: relative; z-index: 1; margin-top: 100px; padding: 48px 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2)); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__note { margin-top: 16px; max-width: 420px; color: var(--muted); font-size: 11px; font-weight: 300; line-height: 1.8; }
.footer__title { margin-bottom: 14px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.footer__list { display: grid; gap: 8px; font-size: 12px; }
.footer__list a { color: var(--text-2); transition: color 0.2s; }
.footer__list a:hover { color: var(--accent); }
.footer__bottom { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.7; }
.age { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-size: 11px; font-weight: 800; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- адаптив ---------- */

@media (min-width: 901px) {
  .icon-btn__kbd { display: none; }
}

@media (max-width: 1100px) {
  .header__bar { gap: 16px; }
  .nav { gap: 0; }
  .nav__link { gap: 6px; padding: 10px 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .nav__tail { display: none; }
  .casino__row { grid-template-columns: 18px 60px minmax(100px, 0.9fr) minmax(140px, 1.4fr) auto auto; }
  .casino__pays { display: none; }
}

@media (max-width: 900px) {
  .casino__grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --header-h: 58px; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .header { top: 8px; margin-top: 8px; }
  .header__bar { gap: 12px; padding: 0 8px 0 14px; border-radius: 20px; }
  .nav { display: none; }
  .logo__img--header { height: 46px; margin-left: -4px; }
  .header__actions { margin-left: auto; }
  .tabbar { display: grid; }
  .compare-tray { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .to-top { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .to-top.is-above-tray { bottom: calc(150px + env(safe-area-inset-bottom)); }

  .hero { grid-template-columns: 1fr; gap: 10px; padding-top: 32px; }
  .hero__stage { padding: 20px 0 24px; }
  .hero__tilt { max-width: 480px; }
  .hero__stats { gap: 24px; }

  .providers-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* планшет: обложка остаётся слева, чтобы справа не было пустоты */
  .slot-hero { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; }
  .slot-body { grid-template-columns: 1fr; margin-top: 44px; }
  .specs { position: static; }
  .section { margin-top: 56px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .compare__pickers { grid-template-columns: repeat(3, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .compare__pickers::before { display: none; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card__body { padding: 10px 11px 12px; }
  .card__title { font-size: 12px; }
  .card__provider { font-size: 8px; }
  .card__stats { grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px 0 10px; }
  .card__stats div { padding: 5px 6px; border-radius: 9px; }
  .card__stats div:nth-child(3) { display: none; }
  .card__stats dd { font-size: 10px; }
  .card__desc { font-size: 9.5px; margin-top: 2px; }
  .card__actions { gap: 6px; }
  .card__actions .btn { height: 34px; padding: 0 6px; font-size: 10.5px; }
  .cover__mono { font-size: 34px; }
  .card__tools { top: 8px; right: 8px; gap: 6px; }
  .tool-btn { width: 34px; height: 34px; }
  .tool-btn .i { width: 16px; height: 16px; }
  .badge { top: 8px; left: 8px; }
  .badge--date { padding: 2px 6px; font-size: 7.5px; }

  .slot-hero { grid-template-columns: 1fr; gap: 22px; }

  .hero__title { font-size: 31px; }
  .hero__sub { font-size: 12.5px; }
  .hero__stats dd { font-size: 22px; }
  .hero__stage { padding: 8px 0 16px; }
  .hero__shadow { bottom: 6px; height: 22px; }

  .section-title { font-size: 19px; }
  /* nowrap: в колонке с переносом ширину строки задаёт самый широкий потомок, и панель вылезает за экран */
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
  .chip { flex: none; }
  .toolbar__selects .select { flex: 1; min-width: 0; }
  .toolbar__selects select { width: 100%; padding: 0 30px 0 12px; text-overflow: ellipsis; }
  .toolbar__selects .select::after { right: 13px; }

  /* RTP и выигрыш — в ряд, волатильность — строкой ниже на всю ширину: «x30 000» не рвётся на две строки */
  .kpis { grid-template-columns: 1fr 1fr; gap: 6px; }
  .kpi:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .kpi { padding: 11px 12px; border-radius: 16px; }
  .kpi dd { font-size: 15px; flex-wrap: wrap; gap: 4px; }
  .compare__pickers { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
  .picker input { padding: 0 6px; }
  .kpi dd span { font-size: 10px; }
  .slot-hero__actions .btn { flex: 1 1 auto; }
  .slot-hero__actions .btn--accent { flex-basis: 100%; }

  .casino__row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    grid-template-areas: 'logo main cta' 'bonus bonus toggle';
    gap: 10px 12px;
    padding: 10px 12px;
  }
  .casino__rank, .casino__pays { display: none; }
  .casino__logo { grid-area: logo; width: 54px; height: 40px; }
  .casino__main { grid-area: main; }
  .casino__cta { grid-area: cta; justify-self: end; min-width: 0; padding: 0 16px; }
  .casino__bonus { grid-area: bonus; }
  .casino__toggle { grid-area: toggle; justify-self: end; }
  .casino__details { padding: 0 12px 14px; }
  .casino__specs { grid-template-columns: 1fr; }
  .casino__ratings li { grid-template-columns: 124px 1fr 26px; }

  .providers-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { align-items: flex-start; }
}

@media (hover: none) {
  .card:hover { transform: none; }
}

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