/* Шрифты (OFL, assets/fonts/OFL.txt) */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/unbounded/unbounded-unbounded-normal-500_800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/unbounded/unbounded-unbounded-normal-500_800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/unbounded/unbounded-unbounded-normal-500_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/unbounded/unbounded-unbounded-normal-500_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-manrope-normal-400_800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-manrope-normal-400_800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-manrope-normal-400_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-manrope-normal-400_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Тема neon — «бархатный стол»: глубокий баклажановый фон, золото и маджента, широкий Unbounded в заголовках,
 * Manrope в тексте. Главная деталь — крупные контурные номера мест; рейтинг на широком экране — плитками.
 */

:root {
  --bg: #150c22;
  --surface: #1f1430;
  --surface-2: #2a1c40;
  --text: #f6eefb;
  --muted: #b8a9cc;
  --border: #3a2a55;
  --accent: #f2c14e;
  --accent-ink: #1a1205;
  --cta: #ff3d9a;
  --cta-ink: #ffffff;
  --star: #f2c14e;
  --star-off: #43325f;
  --good: #4bd6a0;
  --bad: #ff6b81;
  --link: #f7d27e;
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --header-bg: rgba(21, 12, 34, .88);
  --footer-bg: #0f0819;
  --hero-bg: radial-gradient(900px 380px at 80% -20%, rgba(255, 61, 154, .22), transparent 70%), radial-gradient(700px 300px at 0% 0%, rgba(242, 193, 78, .12), transparent 70%);
  --wrap: 1240px;
  --prose: 720px;
}

.theme-neon { font-size: 16.5px; }
.theme-neon h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; max-width: 22ch; }
.theme-neon h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; }
.theme-neon h3 { font-family: var(--font-body); font-weight: 800; }
.theme-neon :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-neon ::selection { background: var(--cta); color: #fff; }

/* Шапка */
.theme-neon .topnote { background: #0f0819; }
.theme-neon .site-header { position: sticky; top: 0; z-index: 25; backdrop-filter: blur(12px); }
.theme-neon .site-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.theme-neon .site-mark { border-radius: 10px; background: linear-gradient(135deg, var(--cta), var(--accent)); color: #fff; }
.theme-neon .site-nav a { font-weight: 700; opacity: .85; }
.theme-neon .site-nav a:hover { opacity: 1; color: var(--accent); }

/* Первый экран */
.theme-neon .hero { padding: 64px 0 40px; }
.theme-neon .hero .lead { max-width: 64ch; }
.theme-neon .hero .avatar { background: var(--surface-2); color: var(--accent); }

/* Рейтинг: контурные номера, золото у первого места */
.theme-neon .card { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, #1a1029 100%); }
.theme-neon .card-pos {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--border); text-align: left;
}
.theme-neon .card:first-child { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 24px 60px -30px rgba(242, 193, 78, .45); }
.theme-neon .card:first-child .card-pos { -webkit-text-stroke-color: var(--accent); }
.theme-neon .card-main h3 { font-size: 1.15rem; }
.theme-neon .card-bonus strong { color: #fff; font-size: 1.08rem; }
.theme-neon .facts { color: var(--muted); }
.theme-neon .btn-play { background: var(--cta); box-shadow: 0 10px 24px -10px rgba(255, 61, 154, .8); }
.theme-neon .btn-play:hover { filter: brightness(1.1); }
.theme-neon .badge { background: transparent; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); text-transform: none; letter-spacing: 0; font-size: .74rem; }
.theme-neon .logo { border: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 901px) {
  .theme-neon .cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
  .theme-neon .card { grid-template-columns: 1fr; grid-template-areas: "pos" "logo" "main" "bonus" "cta"; align-content: start; gap: 14px; padding: 22px; }
  .theme-neon .card > .logo { width: 100%; height: 84px; }
  .theme-neon .card-pos { position: absolute; top: 14px; right: 18px; font-size: 3.2rem; }
  .theme-neon .card-cta { align-self: end; }
}

/* Таблицы, инструменты, блоки */
.theme-neon .table-scroll, .theme-neon .tool-box { background: var(--surface); }
.theme-neon .data thead th { background: var(--surface-2); color: var(--accent); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.theme-neon .data tbody tr:hover { background: rgba(255, 255, 255, .03); }
.theme-neon .tool-out > div { background: var(--surface-2); }
.theme-neon .tool-out .tool-main { background: var(--accent); color: var(--accent-ink); }
.theme-neon .tf input, .theme-neon .tf select, .theme-neon .sort-by select, .theme-neon .faq-search { background: #120a1d; border-color: var(--border); color: var(--text); }
.theme-neon .chip-btn:not(.on) { background: transparent; }
.theme-neon .chip-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.theme-neon .label { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.theme-neon .verdict { border-left-color: var(--cta); }
.theme-neon .steps li::before { font-family: var(--font-head); }
.theme-neon .faq summary::after { color: var(--cta); }
.theme-neon .month { border-color: var(--accent); }
.theme-neon .site-footer { border-top-color: var(--border); }
