/* Onest variable font, SIL OFL: /static/fonts/OFL.txt */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-cyrillic-ext.woff2?v=1) 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: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-cyrillic.woff2?v=1) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-math.woff2?v=1) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-symbols.woff2?v=1) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-vietnamese.woff2?v=1) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-latin-ext.woff2?v=1) 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: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-latin.woff2?v=1) 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;
}

/* ── темы ─────────────────────────────────────────────── */
:root {
  --bg: #0B1220;
  --bg-2: #0E1626;
  --surface: #121A2B;
  --surface-2: #1C2740;
  --line: #1F2A40;
  --line-2: #2A3650;
  --text: #E8ECF4;
  --text-2: #C5CDDC;
  --muted: #A9B4C8;
  --muted-2: #8C98AE;
  --accent: #FF9A52;         /* фон кнопок, декор */
  --accent-hover: #FFB47D;
  --accent-text: #FF9A52;    /* ссылки, цены */
  --on-accent: #0B1220;
  --good: #7BE0A6;
  --mid: #F2D06B;
  --bad: #FF8A8A;
  --header-bg: rgba(11, 18, 32, .92);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 14px;
  --display: 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #EEF1F6; --bg-2: #E6EAF1; --surface: #FFFFFF; --surface-2: #EEF1F7; --line: #E1E6EF; --line-2: #CBD3E1;
  --text: #121826; --text-2: #2B3549; --muted: #556179; --muted-2: #626E86;
  --accent: #FF8A3D; --accent-hover: #FF7A26; --accent-text: #B44A08; --on-accent: #121826;
  --good: #12804A; --mid: #8A6400; --bad: #C0392B;
  --header-bg: rgba(244, 246, 250, .92); --shadow: 0 10px 30px rgba(18, 24, 38, .10);
  color-scheme: light;
}

/* ── основа ───────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(24px, 3vw, 30px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent-text); }
.big { font-size: 34px; font-weight: 700; line-height: 1.1; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0; }
s { color: var(--muted-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── кнопки ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; text-decoration: none; border: 1px solid var(--accent);
  cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--accent-text); border-color: var(--accent); }
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
  border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; flex: none; }
.icon-btn:hover { color: var(--accent-text); }
.theme-btn .when-light { display: none; }
:root[data-theme="light"] .theme-btn .when-dark { display: none; }
:root[data-theme="light"] .theme-btn .when-light { display: inline-flex; }

/* ── верхняя строка и шапка ───────────────────────────── */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: 6px; }
.topbar-note svg { color: var(--accent-text); }
.top-links { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.top-links a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.top-links a:hover { color: var(--text); }
@media (max-width: 719px) { .topbar-note { display: none; } }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo svg { color: var(--accent-text); }
.logo span { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 22px; }
.logo em { color: var(--accent-text); font-style: normal; }
.search { display: flex; flex: 1 1 auto; min-width: 0; max-width: 560px; margin: 0 auto; }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text);
  border: 0; border-radius: 10px 0 0 10px; outline: none; box-shadow: inset 0 0 0 1px transparent; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.search button { width: 48px; height: 44px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 0 10px 10px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.btn-topup { flex: none; }

/* ── подсказки поиска ─────────────────────────────────── */
.has-suggest { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; }
.suggest[hidden] { display: none; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--text); text-decoration: none; }
.suggest li[aria-selected="true"] a, .suggest a:hover { background: var(--surface-2); }
.suggest img, .suggest-noimg { width: 92px; height: 35px; object-fit: cover; border-radius: 4px; flex: none; background: var(--surface-2); }
.suggest-name { flex: 1; min-width: 0; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.suggest-name small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-price { flex: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.suggest-price b { color: var(--accent-text); }
.suggest-note, .suggest-empty { padding: 8px 10px; font-size: 13px; color: var(--muted); }
.suggest-all a { justify-content: center; color: var(--accent-text); font-weight: 600; font-size: 14px; }
@media (max-width: 559px) { .suggest img, .suggest-noimg { display: none; } }
.notice { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 10px; padding: 10px 14px; color: var(--text); }
.subtitle { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 899px) {
  html { scroll-padding-top: 190px; }
  .header-row { flex-wrap: wrap; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .btn-topup span { display: none; }
  .btn-topup { padding: 0; width: 44px; margin-left: auto; }
}
@media (max-width: 440px) {
  .header-row { column-gap:8px; }
  .header-row .logo { gap:6px; }
  .header-row .logo span { font-size:18px; }
  .header-row .logo > svg { width:22px; height:22px; }
}
@media (max-width: 360px) { .header-row .logo > svg { display:none; } }
.quicknav { border-top: 1px solid var(--line); }
.quicknav-row { display: flex; flex-wrap:wrap; justify-content:space-between; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.quicknav-row::-webkit-scrollbar { display: none; }
.quicknav a { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 7px 10px; border-radius: 10px;
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.quicknav a svg { color: var(--accent-text); }
.quicknav a:hover { background: var(--surface); color: var(--text); }
.quicknav a[aria-current] { background: var(--surface-2); color: var(--accent-text); font-weight: 600; }
.quicknav a[href="/kalendar-rasprodazh"]{color:var(--accent-text)}
.discovery-jumps{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.discovery-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--text);text-decoration:none}
.discovery-jumps a:hover{border-color:var(--accent)}
#home-top,#home-new,#home-hits{scroll-margin-top:24px}
@media(max-width:899px){
 .quicknav-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .quicknav a{min-width:0;gap:5px;padding:5px;font-size:12px;line-height:1.25}
 .quicknav a svg{flex:none;width:15px;height:15px}
 html{scroll-padding-top:260px}
}

/* ── боковое меню и выезжающая панель ─────────────────── */
.side-menu{display:flex;flex-direction:column;gap:6px}
.side-quick,.side-group ul{list-style:none;margin:0;padding:0}
.side-quick{padding-bottom:10px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.side-quick a,.side-group a{display:flex;align-items:center;min-height:44px;padding:9px 10px;border-radius:8px;color:var(--text-2);text-decoration:none;font-size:15px;line-height:1.4}
.side-group a{padding-left:18px}
.side-quick a:hover,.side-group a:hover,.side-group summary:hover{background:var(--surface-2);color:var(--text)}
.side-quick a[aria-current],.side-group a[aria-current]{background:var(--surface-2);color:var(--accent-text);font-weight:600}
.side-group summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px;border-radius:8px;font-size:15px;font-weight:650;cursor:pointer;list-style:none;color:var(--text)}
.side-group summary::-webkit-details-marker{display:none}
.side-group summary svg{flex-shrink:0;color:var(--muted)}
.side-group[open]>summary{color:var(--accent-text)}
.side-group[open]>summary svg{transform:rotate(90deg)}
.side-menu a:focus-visible,.side-menu summary:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}
.side-group ul{padding-bottom:8px}
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5, 9, 18, .55); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 88vw); z-index: 50; background: var(--bg); border-right: 1px solid var(--line);
  overflow-y: auto; padding: 16px; box-shadow: var(--shadow); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
body.drawer-open { overflow: hidden; }

/* ── главная ──────────────────────────────────────────── */
.home { padding-top: 20px; }
.home-main { min-width: 0; }

/* слайдер + «Популярное со скидкой» справа */
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1100px) { .hero-row { grid-template-columns: minmax(0, 1fr) 340px; } }
.hot-side { background: var(--surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hot-side-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 4px 6px; }
.hot-side-head h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin: 0; }
.hot-side-head h2 svg { color: var(--accent-text); }
.hot-side-head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.hot-side ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: space-between; }
@media (min-width: 560px) and (max-width: 1099px) { .hot-side ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hot-side li a { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "img name" "img price"; column-gap: 12px;
  align-items: center; padding: 8px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .15s; }
.hot-side li a:hover { background: var(--surface-2); }
.hot-side img { grid-area: img; width: 92px; height: 43px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.hot-name { grid-area: name; font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hot-price { grid-area: price; font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.hot-price b { color: var(--accent-text); font-weight: 700; }

/* жанры под плитками — вместо бокового меню */
.genre-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-more { color: var(--accent-text); }
@media (max-width: 719px) {
  .genre-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .genre-row::-webkit-scrollbar { display: none; }
  .genre-row .chip { flex: none; }
}

.slider { position: relative; border-radius: 20px; overflow: hidden; background: #0B1220; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 340px; display: flex; align-items: center; color: #F2F4F8; }
.slide picture, .topup-hero picture { position: absolute; inset: 0; }
.slide img, .topup-hero img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.slide::after, .topup-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .65) 45%, rgba(11, 18, 32, 0) 75%); }
.slide-text { position: relative; z-index: 1; max-width: 560px; padding: 40px 48px 56px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.slide-text p { margin: 0; color: #C9D1E0; font-size: 17px; }
.slide-title { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.05; color: #F2F4F8; }
.slide-title em { color: #FF9A52; font-style: normal; }
.eyebrow { font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FF9A52 !important; }
.slide .btn, .topup-hero .btn { background: #FF9A52; border-color: #FF9A52; color: #0B1220; }
.slider-arrow { position: absolute; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(11, 18, 32, .6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-arrow:hover { background: rgba(11, 18, 32, .85); color: #FF9A52; }
.slider-arrow.prev { right: 66px; }
.slider-arrow.next { right: 14px; }
.dots { position: absolute; left: 48px; bottom: 20px; z-index: 2; display: flex; gap: 8px; }
.dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.dots button[aria-selected="true"] { background: #FF9A52; width: 44px; }
@media (max-width: 719px) {
  /* мобилка: картинка отдельной полосой сверху, текст ниже на тёмном фоне */
  .slide { min-height: 0; flex-direction: column; align-items: stretch; }
  .slide picture, .topup-hero picture, .promo picture { position: relative; inset: auto; display: block; aspect-ratio: 5 / 3; }
  .slide picture::after, .topup-hero picture::after, .promo picture::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(0deg, #0B1220 0%, rgba(11, 18, 32, 0) 100%); }
  .slide img, .topup-hero img, .promo img { object-position: center; }
  .slide::after, .topup-hero::after, .promo::after { display: none; }
  .slide-text { padding: 4px 20px 44px; }
  .slider-arrow { display: none; }
  .dots { left: 20px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.stats > div { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; display: grid;
  grid-template-columns: auto 1fr; grid-template-areas: "i b" "i s"; column-gap: 12px; align-items: center; }
.stats svg { grid-area: i; color: var(--accent-text); }
.stats b { grid-area: b; font-size: 20px; }
.stats span { grid-area: s; font-size: 13px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title img" "n img"; align-content: center;
  column-gap: 10px; min-height: 104px; padding: 14px 14px 14px 18px; border-radius: 18px; background: var(--surface); text-decoration: none;
  color: var(--text); transition: background .15s, transform .15s; }
.tile:hover { background: var(--surface-2); transform: translateY(-2px); color: var(--text); }
.tile img { grid-area: img; align-self: center; width: 76px; height: 76px; border-radius: 14px; }
.tile-title { grid-area: title; align-self: end; font-weight: 700; font-size: 16px; line-height: 1.2; }
.tile-n { grid-area: n; align-self: start; font-size: 13px; color: var(--muted); }

.feature { background: var(--surface); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.feature-wide { flex-direction: row; flex-wrap: wrap; }
.feature-wide .feature-cover { flex: 1 1 420px; }
.feature-wide .feature-body { flex: 1 1 340px; justify-content: center; }
.feature-cover { position: relative; display: block; }
.feature-cover img { width: 100%; height: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.badge-label { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; background: #0B1220; color: #FF9A52; border-radius: 6px; }
.feature-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature-body h2 { font-family: var(--body); font-size: 24px; font-weight: 700; }
.feature-body h2 a { color: var(--text); text-decoration: none; }
.feature-body p { margin: 0; }
.feature-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }

.promo { position: relative; border-radius: 20px; overflow: hidden; min-height: 260px; display: flex; align-items: center; color: #F2F4F8; background: #0B1220; }
.promo picture { position: absolute; inset: 0; }
.promo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, .95) 0%, rgba(11, 18, 32, .6) 50%, rgba(11, 18, 32, 0) 80%); }
.promo-text { position: relative; z-index: 1; padding: 32px 40px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 560px; }
.promo-text h2 { color: #F2F4F8; }
.promo .btn { background: #FF9A52; border-color: #FF9A52; color: #0B1220; }
@media (max-width: 719px) {
  .promo { min-height: 0; flex-direction: column; align-items: stretch; }
  .promo picture { position: relative; inset: auto; display: block; aspect-ratio: 5 / 3; }
  .promo img { object-position: center; }
  .promo::after { display: none; }
  .promo-text { padding: 4px 20px 24px; }
}
.steps-inline { margin: 0; padding-left: 20px; color: #C9D1E0; display: flex; flex-direction: column; gap: 4px; }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.how > div { background: var(--surface); border-radius: 16px; padding: 20px; }
.how svg { color: var(--accent-text); }
.how h3 { font-size: 17px; margin: 10px 0 6px; }
.how p { margin: 0; color: var(--muted); }

.faq details { background: var(--surface); border-radius: 12px; margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent-text); }
.faq details[open] summary::after { content: '−'; }
.faq-a { padding: 0 18px 16px; color: var(--text-2); }
.seo-text { color: var(--text-2); max-width: 920px; }
.seo-text h2 { margin-bottom: 10px; }
.seo-text h3 { font-size: 18px; margin: 18px 0 6px; color: var(--text); }
.seo-text p { margin: 0 0 10px; }
.section-sub { margin: -8px 0 16px; }
.cta-band { background: var(--surface); border-radius: 18px; padding: 24px 28px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px; }
.cta-band p { margin: 4px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--text-2); text-decoration: none; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip:hover { background: var(--surface-2); color: var(--accent-text); }
.chip-n { color: var(--muted-2); font-size: 13px; }
.small-chips .chip { min-height: 30px; padding: 4px 10px; font-size: 13px; }

.section { padding-top: 26px; padding-bottom: 26px; }
.section h2 { margin-bottom: 16px; }
.section h3 { font-size: 18px; margin: 20px 0 4px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; }

/* ── список и карточки игр ────────────────────────────── */
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { background: var(--surface); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.row-rank { width: 22px; color: var(--muted-2); font-weight: 600; }
.row-cover .thumb { width: 120px; height: 56px; object-fit: cover; border-radius: 8px; }
.row-title { flex: 1 1 220px; min-width: 0; }
.row-title h3 { font-size: 17px; font-weight: 600; margin: 0; }
.row-title a { color: var(--text); text-decoration: none; }
.row-title a:hover { color: var(--accent-text); }
.row-old { flex: 0 0 140px; font-size: 14px; color: var(--muted-2); }
.row-price { flex: 0 0 170px; }
.row-price .now { font-size: 22px; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s, background .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--surface-2); }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.card-link:hover { color: var(--text); }
.card-link:hover h3 { color: var(--accent-text); }
.card-cover { position: relative; }
.cover { width: 100%; height: auto; aspect-ratio: 460 / 215; object-fit: cover; background: var(--surface-2); }
.cover-empty { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 32px; color: var(--muted); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: #0B1220; color: #FF9A52; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 15px; font-weight: 600; transition: color .15s; }
.prices { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prices .now { font-size: 20px; font-weight: 700; }
.prices s { font-size: 14px; }
.na { font-weight: 700; color: var(--text-2); }
.prices .na { font-size: 16px; }
.rating { font-size: 13px; }
.rating.good { color: var(--good); }
.rating.mid { color: var(--mid); }
.rating.bad { color: var(--bad); }

/* ── каталог ──────────────────────────────────────────── */
.crumbs { padding-top: 18px; font-size: 14px; color: var(--muted-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 16px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.page-head h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(32px, 4.5vw, 46px); }
.page-head p { margin: 0; }
.catalog { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 16px; padding-bottom: 40px; }
.filters { flex: 1 1 240px; max-width: 100%; background: var(--surface); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .filters { flex: 0 0 260px; min-width: 0; } }
.filters select, .filters input:not([type=checkbox]):not([type=radio]) { width: 100%; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field select { height: 42px; padding: 0 12px; font: inherit; font-size: 15px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filters legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.opt { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); min-height: 32px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.empty { background: var(--surface); border-radius: 18px; padding: 32px; text-align: center; color: var(--muted); }
.empty svg { color: var(--accent-text); margin: 0 auto 8px; }
.empty p { margin: 4px 0; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager a, .pager .gap { min-width: 44px; height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: var(--surface); color: var(--text); text-decoration: none; }
.pager .gap { background: none; color: var(--muted); }
.pager a:hover { background: var(--surface-2); }
.pager a[aria-current] { background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* ── страница игры ────────────────────────────────────── */
.game-top { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 20px; padding-bottom: 24px; }
.game-media { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.game-header { width: 100%; height: auto; border-radius: 16px; aspect-ratio: 460 / 215; object-fit: cover; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.shots img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.game-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.game-info h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(32px, 4vw, 44px); }
.game-info .lead { font-size: 16px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 20px; }
.facts dt { font-size: 13px; color: var(--muted-2); }
.facts dd { margin: 0; font-size: 15px; }
.price-box { background: var(--surface); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.price-main { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price-main[hidden] { display: none; }
.price-note { padding-top: 4px; font-size: 15px; color: var(--text-2); }
.price-box p { margin: 0; }

.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 10px; }
.offer { background: var(--surface); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.offer-title { margin: 0; font-size: 15px; word-break: break-word; }
.offer p { margin: 0; }
.offer-bottom { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.offer-bottom .big { font-size: 24px; }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.pill:empty { display: none; }

.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.region { background: var(--surface); border-radius: 12px; padding: 12px 16px; display: grid;
  grid-template-columns: 1fr auto; grid-template-areas: "name rub" "local pill"; gap: 2px 12px; align-items: center; }
.region.is-ru { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.region-name { grid-area: name; font-weight: 600; }
.region .muted { grid-area: local; font-size: 14px; }
.region-rub { grid-area: rub; font-size: 20px; font-weight: 700; text-align: right; }
.region .pill { grid-area: pill; justify-self: end; }

.chart { margin: 0; background: var(--surface); border-radius: 18px; padding: 20px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid-lines line { stroke: var(--line); }
.chart .axis text { fill: var(--muted-2); font-size: 14px; font-family: var(--body); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3; }
.chart .dot { fill: var(--accent); }
.chart figcaption { margin-top: 10px; }

.steam-text { color: var(--text-2); max-width: 860px; overflow-wrap: anywhere; }
.steam-text img { border-radius: 8px; margin: 12px 0; height: auto; }
.steam-text h3 { font-size: 18px; color: var(--text); margin: 18px 0 6px; }
.steam-text ul { padding-left: 20px; }
.req-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.req-cols ul { list-style: none; padding: 0; margin: 0; }
.req-cols li { padding: 3px 0; }

/* ── пополнение Steam ─────────────────────────────────── */
.topup-hero { position: relative; margin-top: 16px; border-radius: 20px; overflow: hidden; min-height: 300px; display: flex; align-items: center; color: #F2F4F8; background: #0B1220; }
.topup-hero .slide-text { padding: 36px 44px; }
@media (max-width: 719px) {
  .topup-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .topup-hero .slide-text { padding: 4px 20px 24px; }
}
.topup { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px; align-items: flex-start; }
.calc { flex: 1 1 340px; background: var(--surface); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.calc h2, .services h2 { margin: 0; }
.calc p { margin: 0; }
.quick-sums { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.calc-table th { text-align: left; font-size: 13px; color: var(--muted-2); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.calc-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.calc-table td[data-total] { font-weight: 700; }
.services { flex: 2 1 460px; display: flex; flex-direction: column; gap: 14px; }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.service { background: var(--surface); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.service h3 { margin: 0; font-size: 18px; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 860px; color: var(--text-2); }

/* ── подвал ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 40px; padding: 36px 0 32px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.footer-about { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-about p { margin: 0; max-width: 300px; }
.site-footer h2 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-text); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: 13px; color: var(--muted-2); }
.footer-bottom p { margin: 0 0 6px; max-width: 900px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── партнёрские блоки ────────────────────────────────── */
.partner-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  border-radius: 14px; background: var(--surface-2); }
.partner-buy > div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: rgba(255, 255, 255, .1); border-color: transparent; color: #F2F4F8; }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: transparent; color: #fff; }
.regions > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.regions > summary::-webkit-details-marker { display: none; }
.regions > summary h2 { margin: 0; }
.regions > summary::after { content: '+'; margin-left: auto; font-size: 24px; color: var(--accent-text); }
.regions[open] > summary::after { content: '−'; }

/* Local platform artwork: fixed brand plates remain legible in both themes. */
.platform-logo{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;width:28px;height:28px;border-radius:6px;background:#171d25;vertical-align:middle}
.platform-logo img{display:block;width:76%;height:76%;object-fit:contain}
.platform-logo-16{width:16px;height:16px;border-radius:3px}
.platform-logo-24{width:24px;height:24px;border-radius:5px}
.platform-logo-36{width:36px;height:36px;border-radius:8px}
.platform-logo-playstation{background:#003791}
.platform-logo-xbox{background:#107c10}
.platform-logo-rockstar{background:#ffab00}
.platform-logo-epic{background:#202020}
.platform-logo-gog{background:#722d89}
.platform-logo-ubisoft{background:#006ef5}
.platform-logo-ea{background:#e51937}
.platform-logo-nintendo{background:#e60012}
.platform-logo .platform-logo-gift{position:absolute;right:-4px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:4px;background:#edf2fa;color:#111827;box-shadow:0 0 0 1px #334155}
.platform-logo-16 .platform-logo-gift{width:10px;height:10px;right:-3px;bottom:-2px;border-radius:2px}
.platform-logo-16 .platform-logo-gift svg{width:8px;height:8px}
.platform-label,.pill.platform-pill{display:inline-flex;align-items:center;gap:8px}
.pill.platform-pill{gap:6px}

/* Строка над карточками: «Найдено» слева, сортировка справа, пояснение к порядку — мелко под ней. */
.catalog-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.catalog-found{margin:0;color:var(--muted);font-size:14px}.catalog-found b{color:var(--text)}
.catalog-sort{display:flex;align-items:center;gap:10px}
.catalog-sort-field{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}
.catalog-sort select{height:40px;padding:0 36px 0 12px;font:inherit;font-size:14px;background:var(--surface);color:var(--text);border:0;border-radius:10px;cursor:pointer}
.catalog-sort .btn{min-height:40px}
.catalog-sort-note{margin:0;flex:1 1 100%;font-size:12px}
@media(max-width:600px){.catalog-sort,.catalog-sort-field{width:100%}.catalog-sort-field select{flex:1;min-width:0}}

/* Значки разделов — вариант C «тонкий геометрический»: светлая линия 1.5 и одна оранжевая деталь, без плашки. */
.iline{flex:none;display:block;overflow:visible}
.iline-ln,.iline-ac{fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.iline-ln{stroke:var(--text)}
.iline-ac{stroke:var(--accent)}
.iline-dot{fill:var(--accent)}
/* Старые правила иконок блоков (.stats svg, .discovery-card svg, .quicknav a svg) красят и двигают svg — для линейных значков отменяем. */
.quicknav a .iline,.stats .iline,.discovery-card .iline{color:inherit}
.quicknav a[aria-current] .iline-ln,.quicknav a[href="/kalendar-rasprodazh"] .iline-ln{stroke:var(--accent)}
.stats>div{align-items:center}
.stats .iline{grid-area:i;align-self:center}
.tile .iline{grid-area:img;align-self:center;justify-self:end}
.discovery-card .iline{grid-row:1/4}
@media(max-width:700px){.quicknav a .iline{width:16px;height:16px}}
@media(max-width:600px){.stats>div{align-items:start}.stats .iline{width:24px;height:24px;grid-row:1;align-self:start;margin-top:3px}}
@media(max-width:480px){.discovery-card .iline{grid-row:auto}.tile .iline{width:36px;height:36px}}

/* Каталог: сетка «фильтр | строка сортировки + карточки». Фильтр начинается на высоте строки «Найдено»;
   на телефоне порядок — сортировка, фильтр, карточки. */
.catalog{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"toolbar" "filters" "results";gap:16px}
.catalog>.catalog-toolbar{grid-area:toolbar}.catalog>.catalog-filter-panel{grid-area:filters;min-width:0}.catalog>.results{grid-area:results}
.catalog-filter-toggle{display:none}
@media(max-width:899px){
  .catalog-filter-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}
  .catalog-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:14px 18px;cursor:pointer;list-style:none;font-size:16px;font-weight:600;color:var(--text)}
  .catalog-filter-toggle::-webkit-details-marker{display:none}
  .catalog-filter-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:17px}
  .catalog-filter-title,.catalog-filter-action{display:flex;align-items:center;gap:10px}
  .catalog-filter-action{color:var(--muted);font-size:14px;font-weight:400}
  .catalog-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:var(--surface-2);color:var(--accent-text);font-size:13px}
  .catalog-filter-chevron{width:8px;height:8px;margin:0 2px 4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
  .catalog-filter-panel[open] .catalog-filter-chevron{transform:rotate(225deg);margin-top:4px;margin-bottom:0}
  .catalog-filter-panel .filter-when-open,.catalog-filter-panel[open] .filter-when-closed{display:none}
  .catalog-filter-panel[open] .filter-when-open{display:inline}
  .catalog-filter-panel[open]>.catalog-filter-toggle{border-bottom:1px solid var(--line)}
  .catalog-filter-panel>.filters{border-radius:0}
  .page-head>.catalog-filter-panel{margin-top:16px}
  .catalog-filter-panel>.dlc-catalog-filters,.catalog-filter-panel>.service-search{margin:0;padding:18px}
}
@media(min-width:900px){.catalog{grid-template-columns:260px minmax(0,1fr);grid-template-areas:"filters toolbar" "filters results";column-gap:24px;row-gap:14px;align-items:start}
  .catalog>.catalog-filter-panel{grid-row:1/3}}

/* 05.11.2026: обложки гайдов (Codex). */
.guide-cover { width: 100%; max-width: 920px; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 18px; margin-top: 12px; background: var(--surface); }
.guide-card { display: flex; flex-direction: column; }
.guide-card-img { display: block; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -20px -20px 4px; border-radius: 16px 16px 0 0; }

/* 05.11.2026: свои блоки страницы игры — «Стоит ли покупать», цены по регионам, полезные ссылки. */
.buy-now ul { margin: 0 0 10px; padding-left: 20px; color: var(--text-2); }
.buy-now li { margin: 4px 0; }
.region-prices .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.region-table { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 15px; }
.region-table th, .region-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.region-table th { color: var(--muted); font-weight: 500; }
.region-table tr.is-cheapest td { color: var(--accent-text); font-weight: 600; }
.useful-links .link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px; margin: 0; padding-left: 20px; }
.purchase-lowest { margin: 6px 0 0; }
.purchase-lowest .text-link { background: none; border: 0; padding: 0; color: var(--accent-text); cursor: pointer; text-decoration: underline; font: inherit; }

/* 05.11.2026: «Читайте также» в гайдах — 4 компактные карточки вместо сетки всех гайдов. */
.related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; max-width: 920px; }
.related-item { display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--surface); border-radius: 14px; color: var(--text); text-decoration: none; }
.related-item:hover strong { color: var(--accent-text); }
.related-item img { flex: none; width: 120px; height: 80px; object-fit: cover; border-radius: 10px; }
.related-item > span { display: flex; flex-direction: column; gap: 4px; }
.related-item strong { font-size: 15px; line-height: 1.3; }
@media (max-width: 480px) { .related-list { grid-template-columns: 1fr; } .related-item img { width: 96px; height: 64px; } }

/* 05.11.2026: последняя карточка слайдера «Читайте также» — «Все гайды». */
.cover-slide-more { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; width: 100%; font-size: 64px; font-weight: 700; color: var(--accent-text); background: radial-gradient(circle at 50% 45%, #ff8a3d33 0, transparent 65%), var(--surface-2, #1a2236); }

/* 11.11.2026: подборки к сезонной распродаже — в баннере распродажи фон .chip совпадал с фоном блока */
.sale-picks .chip { background: var(--surface-2); }
.sale-picks .chip:hover { color: var(--accent-text); }
.sale-picks .chip[aria-current] { background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* 11.11.2026: отчёт «Цены Steam в России» */
.report-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.report-fact { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 6px; }
.report-fact b { font-size: 30px; color: var(--accent-text); line-height: 1.1; }
.report-fact span { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.report-table { width: 100%; max-width: 820px; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; }
.report-table th, .report-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.report-table th { color: var(--muted); font-weight: 500; }
.report-table td:not(:first-child), .report-table th:not(:first-child) { white-space: nowrap; }
@media (max-width: 900px) { .report-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .report-facts { grid-template-columns: 1fr; } }

/* 11.11.2026: проверка списка желаемого */
.wishlist-form { margin-top: 18px; max-width: 760px; display: grid; gap: 8px; }
.wishlist-form label { font-weight: 600; }
.wishlist-input { display: flex; gap: 10px; flex-wrap: wrap; }
.wishlist-input input { flex: 1 1 320px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.wishlist-input input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.wishlist-promo { align-items: center; }
.wishlist-promo .wishlist-input { min-width: min(100%, 460px); }
.wishlist-table td:first-child { min-width: 220px; }
.wishlist-table .btn-small { min-height: 32px; padding: 4px 14px; font-size: 13px; white-space: nowrap; }
/* Тексты отчёта и подборок распродажи — по левому краю, как остальные блоки страницы */
.report-text { color: var(--text-2); }
.report-text h2 { margin: 26px 0 10px; }
.report-text p { margin: 0 0 10px; max-width: 980px; }
