/* ==========================================================================
   EBASH — стили
   ========================================================================== */

:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --panel: #14171f;
  --panel-2: #1a1e28;
  --panel-3: #222735;
  --line: #252a37;
  --line-2: #323848;
  --text: #eceef3;
  --text-2: #c3c8d4;
  --muted: #8b93a7;
  --orange: #ff6b1a;
  --orange-2: #ff8a3d;
  --orange-glow: rgba(255, 107, 26, .35);
  --green: #2fbf55;
  --green-2: #3ad466;
  --red: #ff4d5e;
  --blue: #3a8bff;
  --radius: 10px;
  --radius-lg: 14px;
  --header-h: 72px;
  --sidebar-w: 232px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Oswald", "Inter", sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
h1, h2, h3, h4 { margin: 0; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 13px; height: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--orange); color: #fff; }
/* Скроллбары: тёмные и тонкие. Chrome/Firefox берут scrollbar-color, Safari — ::-webkit-scrollbar */
:root { color-scheme: dark; --sb-thumb: #2b3142; --sb-thumb-hover: #3b4357; scrollbar-color: var(--sb-thumb) transparent; }
* { scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--sb-thumb-hover); }
::-webkit-scrollbar-corner { background: transparent; }

/* ---------- Лого ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; user-select: none; }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: linear-gradient(145deg, var(--orange-2), #e2530c); box-shadow: 0 6px 18px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.logo__mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; }
.logo__main { display: inline-flex; align-items: flex-end; font: 800 22px/1 "Unbounded", var(--font-head); letter-spacing: .5px; white-space: nowrap; color: #fff; }
.logo__cursor { display: inline-block; width: .5em; height: .14em; margin: 0 0 .06em .12em; background: var(--orange); border-radius: 1px; animation: logo-blink 1.1s steps(1) infinite; }
@keyframes logo-blink { 50% { opacity: 0; } }
.logo__tag { font-size: 8px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }
a:hover .logo__mark { filter: brightness(1.08); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap;
  transition: filter .15s, background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: 0 8px 24px var(--orange-glow); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { background: rgba(10, 12, 18, .55); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--panel-2); border-color: var(--line); color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn--dark:hover { border-color: var(--line-2); background: var(--panel-3); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--icon { width: 46px; padding: 0; }

.dl {
  width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; flex: none; border: 0;
  background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff;
  box-shadow: 0 4px 14px rgba(47, 191, 85, .3); transition: filter .15s, transform .1s;
}
.dl:hover { filter: brightness(1.1); transform: translateY(-1px); }
.dl .ic { width: 18px; height: 18px; stroke-width: 2.4; }

.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 11.5px; color: var(--text-2); white-space: nowrap;
}
.badge {
  position: absolute; z-index: 2; top: 10px; left: 10px; height: 22px; padding: 0 8px; border-radius: 5px;
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  background: var(--orange); color: #fff;
}
.badge--sale { background: var(--green); left: auto; right: 44px; }
.kbd { font: 11px var(--font); color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 20px 0 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, .92), rgba(8, 10, 14, .7));
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.header__logo { width: var(--sidebar-w); padding-left: 22px; flex: none; }
.header__burger { display: none; background: none; border: 0; padding: 8px; margin-left: 6px; }
.search { position: relative; flex: 1; max-width: 470px; }
.search__box {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; border-radius: 9px;
  background: rgba(24, 28, 38, .9); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s;
}
.search__box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 26, .15); }
.search__box .ic { color: var(--muted); }
.search__input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 14px var(--font); }
.search__input::placeholder { color: var(--muted); }
.search__drop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; max-height: 420px; overflow: auto;
}
.search.open .search__drop { display: block; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; }
.search__item:hover, .search__item.active { background: var(--panel-2); }
.search__thumb { width: 38px; height: 48px; border-radius: 5px; overflow: hidden; flex: none; position: relative; }
.search__item b { display: block; font-size: 14px; }
.search__item small { color: var(--muted); font-size: 12px; }
.search__empty { padding: 14px; color: var(--muted); text-align: center; }
.search__all { display: block; text-align: center; padding: 10px; color: var(--orange-2); font-weight: 600; border-top: 1px solid var(--line); margin-top: 4px; }

.topnav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.topnav a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; white-space: nowrap; transition: color .15s; }
.topnav a:hover { color: #fff; }
.topnav .i-crown { color: #ffb02e; } .topnav .i-flame { color: var(--orange); } .topnav .i-star { color: var(--text-2); }
.login { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; }
.login:hover { border-color: var(--text-2); }
.header__icon { display: none; background: none; border: 0; padding: 8px; }

/* ---------- Сайдбар ---------- */
.layout { padding-top: var(--header-h); }
.sidebar {
  position: fixed; z-index: 40; top: var(--header-h); bottom: 0; left: 0; width: var(--sidebar-w);
  background: var(--bg-2); border-right: 1px solid rgba(255, 255, 255, .04); overflow-y: auto; padding: 14px 0 24px;
  scrollbar-color: transparent transparent; transition: scrollbar-color .2s;
}
.sidebar:hover { scrollbar-color: var(--sb-thumb) transparent; }
.sidebar::-webkit-scrollbar-thumb { background-color: transparent; }
.sidebar:hover::-webkit-scrollbar-thumb { background-color: var(--sb-thumb); }
.side-nav a {
  position: relative; display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 22px 0 26px;
  color: var(--text-2); font-size: 14.5px; transition: background .15s, color .15s;
}
.side-nav a:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.side-nav a.active { color: var(--orange-2); background: linear-gradient(90deg, rgba(255, 107, 26, .2), rgba(255, 107, 26, .02)); }
.side-nav a.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); }
.side-nav a .ic { width: 22px; height: 22px; }
.side-nav a.active .ic { color: var(--orange); }
.side-title { margin: 18px 26px 8px; font: 600 15px var(--font-head); letter-spacing: .8px; text-transform: uppercase; color: var(--text-2); }
.side-extra { margin: 20px 16px 0; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 107, 26, .18), rgba(124, 108, 255, .15)); border: 1px solid var(--line); }
.side-extra b { display: block; font-size: 14px; margin-bottom: 2px; }
.side-extra small { color: var(--text-2); font-size: 12px; }
.side-extra a { display: inline-flex; margin-top: 10px; color: var(--orange-2); font-weight: 600; font-size: 13px; gap: 6px; align-items: center; }

.main { margin-left: var(--sidebar-w); min-width: 0; padding-bottom: 40px; }
.container { padding: 0 20px 0 26px; }
.overlay { position: fixed; inset: 0; z-index: 58; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.menu-open .overlay { opacity: 1; pointer-events: auto; }

/* ---------- Hero-слайдер ---------- */
.hero { position: relative; height: 434px; overflow: hidden; background: #07080b; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero__slide.active { opacity: 1; pointer-events: auto; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg svg, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 11, .92) 0%, rgba(7, 8, 11, .55) 38%, rgba(7, 8, 11, 0) 65%),
              linear-gradient(0deg, var(--bg) 0%, rgba(11, 13, 18, 0) 28%);
}
.hero__content { position: relative; z-index: 2; padding: 118px 0 0 62px; max-width: 560px; }
.hero__kicker { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.hero__title { font: 700 52px/1 var(--font-head); letter-spacing: .5px; text-transform: uppercase; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero__sub { font: 500 26px/1.1 var(--font-head); letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-top: 12px; }
.hero__text { margin: 22px 0 26px; font-size: 15px; line-height: 1.4; color: var(--text-2); max-width: 340px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .35); transition: background .2s, transform .2s; }
.hero__dots button.active { background: var(--orange); transform: scale(1.15); }
.hero__thumbs { position: absolute; z-index: 3; right: 20px; top: 100px; width: 190px; display: flex; flex-direction: column; gap: 8px; }
.hero__thumb {
  display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; border: 0; text-align: left;
  background: rgba(15, 18, 24, .72); backdrop-filter: blur(6px); position: relative; transition: background .15s;
}
.hero__thumb:hover { background: rgba(28, 32, 44, .85); }
.hero__thumb.active::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--orange); }
.hero__thumb .t-img { width: 62px; height: 52px; border-radius: 5px; overflow: hidden; flex: none; position: relative; }
.hero__thumb b { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.hero__thumb small { display: block; font-size: 10.5px; color: var(--text-2); line-height: 1.3; }
.hero__arrow { position: absolute; z-index: 3; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: none; place-items: center; }

/* ---------- Секции ---------- */
.section { margin-top: 26px; }
.section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section__title { font: 600 22px var(--font-head); letter-spacing: .6px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.section__title .ic { color: var(--orange); width: 22px; height: 22px; stroke-width: 2.4; }
.section__title--plain { text-transform: none; font-size: 20px; letter-spacing: .2px; }
.section__more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; }
.section__more:hover { color: #fff; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 10px 12px 12px; color: var(--text-2); font-size: 14px; font-weight: 500; position: relative; }
.tabs button:hover { color: #fff; }
.tabs button.active { color: #fff; font-weight: 700; }
.tabs button.active::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); }

/* ---------- Сетка карточек ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

/* ---------- Карточка игры ---------- */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover, .card.is-hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 12px 28px rgba(0, 0, 0, .5), 0 0 0 1px var(--orange); }
.card.is-selected { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 0 26px var(--orange-glow); }
.card__media { position: relative; display: block; aspect-ratio: 1 / 0.98; overflow: hidden; }
.card__media .art { transition: transform .5s ease; }
.card:hover .card__media .art { transform: scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 16, .98) 0%, rgba(10, 12, 16, .6) 28%, rgba(10, 12, 16, 0) 55%); }
.card__title { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; font-size: 16px; font-weight: 700; line-height: 1.15; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.card__title small { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); margin-top: 2px; }
.card__fav {
  position: absolute; z-index: 3; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(8, 10, 14, .55); color: #fff; backdrop-filter: blur(4px); transition: background .15s, color .15s, transform .15s;
}
.card__fav:hover { background: rgba(8, 10, 14, .85); transform: scale(1.08); }
.card__fav .ic { width: 16px; height: 16px; }
.card.is-fav .card__fav { background: var(--orange); color: #fff; }
.card.is-fav .card__fav .ic { fill: currentColor; }
.card__body { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tags { display: flex; gap: 5px; flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 12px), transparent); }
.card__tags .chip { flex: none; }
.game-info .card__tags { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
.card__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 12px; }
.card__foot .ic-win { width: 15px; height: 15px; color: var(--text-2); }
.card__foot .dl { margin-left: auto; }
.card__progress { display: none; }

/* ---------- Жанры ---------- */
.genres { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.genre {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px 12px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s, background .15s; text-align: center;
}
.genre:hover { border-color: var(--g, var(--orange)); transform: translateY(-2px); background: var(--panel-2); }
.genre .ic { width: 34px; height: 34px; color: var(--g); stroke-width: 1.7; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--g) 45%, transparent)); }
.genre b { font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.genre small { font-size: 12px; color: var(--muted); }

/* ---------- Сообщество ---------- */
.community {
  display: flex; align-items: center; gap: 22px; padding: 18px 22px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--panel) 40%, rgba(20, 23, 31, .6)), var(--panel); border: 1px solid var(--line);
}
.community__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #3a8bff; color: #3a8bff; flex: none; }
.community__text b { font-size: 18px; display: block; }
.community__text small { color: var(--text-2); }
.community__stat { display: flex; align-items: center; gap: 12px; margin-left: 20px; }
.community__stat .sq { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #5865f2; color: #fff; flex: none; }
.community__stat .sq.alt { background: var(--panel-3); color: var(--text); }
.community__stat b { display: block; font-size: 18px; }
.community__stat small { color: var(--muted); font-size: 12px; }
.community .btn { margin-left: auto; }

/* ---------- Футер ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 26px 0 30px; color: var(--muted); font-size: 13px; }
.footer__in { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__cols { display: flex; gap: 48px; flex-wrap: wrap; margin-left: auto; }
.footer h4 { color: var(--text); font-size: 13px; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a:hover { color: #fff; }
.footer__copy { margin-top: 22px; font-size: 12px; }

/* ---------- Каталог ---------- */
.page-head { padding-top: 26px; display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font: 600 28px var(--font-head); text-transform: uppercase; letter-spacing: .6px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.select { position: relative; }
.select select {
  appearance: none; height: 38px; min-width: 140px; padding: 0 34px 0 12px; border-radius: 8px; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); font: 13px var(--font); cursor: pointer; outline: none;
}
.select select:focus { border-color: var(--orange); }
.select select option, .select select optgroup { background: var(--panel); color: var(--text); }
.select .ic { position: absolute; right: 10px; top: 11px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; cursor: pointer; user-select: none; }

/* ---------- чекбоксы и радиокнопки ---------- */
input[type=checkbox], input[type=radio] {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 18px; height: 18px; cursor: pointer;
  display: inline-grid; place-content: center; vertical-align: -4px;
  background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 5px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
input[type=radio] { border-radius: 50%; }
input[type=checkbox]::before {
  content: ""; width: 10px; height: 10px; background: #fff; transform: scale(0); transition: transform .12s ease-out;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type=radio]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .12s ease-out; }
input[type=checkbox]:checked, input[type=radio]:checked { background: var(--orange); border-color: var(--orange); }
input[type=checkbox]:checked::before, input[type=radio]:checked::before { transform: scale(1); }
input[type=checkbox]:hover:not(:disabled), input[type=radio]:hover:not(:disabled) { border-color: var(--orange-2); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 107, 26, .35); }
input[type=checkbox]:disabled, input[type=radio]:disabled { opacity: .45; cursor: default; }
.check:has(input:checked) { border-color: rgba(255, 107, 26, .55); background: rgba(255, 107, 26, .08); color: #fff; }
.check:hover { border-color: var(--line-2); }
.reset { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--text-2); font-size: 13px; padding: 0 6px; height: 38px; }
.reset:hover { color: #fff; }
.filters__count { margin-left: auto; color: var(--muted); font-size: 13px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 7px; display: grid; place-items: center; font-weight: 600; font-size: 13px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text-2);
}
.pagination a:hover { border-color: var(--line-2); color: #fff; }
.pagination a.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pagination span { background: none; border-color: transparent; }
.pagination a.disabled { opacity: .4; pointer-events: none; }

/* ---------- Страница игры ---------- */
.game-hero { position: relative; overflow: hidden; }
.game-hero__bg { position: absolute; inset: 0; opacity: .45; }
.game-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 13, 18, .75) 60%, rgba(11, 13, 18, .6)); }
.game-hero .container { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 10px; }
.game-top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; margin-top: 8px; }
.game-cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.game-cover .play {
  position: absolute; z-index: 3; left: 50%; top: 42%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px); transition: transform .15s, background .15s;
}
.game-cover .play:hover { transform: scale(1.08); background: var(--orange); border-color: var(--orange); }
.game-cover .play .ic { width: 26px; height: 26px; margin-left: 3px; }
.game-cover .card__fav { width: 36px; height: 36px; }
.game-info__head { display: flex; align-items: flex-start; gap: 14px; }
.game-info h1 { font: 700 38px/1.05 var(--font-head); letter-spacing: .5px; }
.game-info .sub { font-size: 18px; color: var(--text-2); margin-top: 4px; }
.rating { margin-left: auto; flex: none; min-width: 58px; height: 40px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(47, 191, 85, .15); color: var(--green-2); border: 1px solid rgba(47, 191, 85, .45); font: 700 20px var(--font-head); }
.rating .ic { width: 16px; height: 16px; }
.game-info .card__tags { margin: 14px 0; }
.game-info .chip { height: 26px; font-size: 12.5px; padding: 0 10px; }
.game-info .desc { color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 720px; }
.game-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0; font-size: 14px; color: var(--text-2); }
.game-stats span { display: inline-flex; align-items: center; gap: 8px; }
.game-stats .up { color: var(--green-2); } .game-stats .down { color: var(--red); }
.game-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.game-actions .btn--primary { height: 52px; padding: 0 30px; font-size: 14px; }
.game-actions .btn--icon { height: 52px; width: 52px; }
.game-actions .btn--icon.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.game-actions .btn--icon.on .ic { fill: currentColor; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; max-width: 760px; }
.spec { background: rgba(20, 23, 31, .8); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.spec small { display: block; color: var(--muted); font-size: 12px; }
.spec b { font-size: 14px; font-weight: 600; }
.tab-panel { display: none; padding-top: 18px; }
.tab-panel.active { display: block; }
.prose { color: var(--text-2); font-size: 15px; line-height: 1.65; max-width: 860px; }
.prose h3 { color: var(--text); font-size: 17px; margin: 18px 0 8px; }
.prose ul { padding-left: 20px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.req > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.req h4 { font-size: 15px; margin-bottom: 10px; }
.req dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; font-size: 13.5px; }
.req dt { color: var(--muted); } .req dd { margin: 0; color: var(--text-2); }
.files { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 13.5px; }
.files td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.files td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }

/* ---------- Модалка / тост ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal__box { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); position: relative; }
.modal__box h3 { font: 600 22px var(--font-head); text-transform: uppercase; margin-bottom: 16px; }
.modal__close { position: absolute; right: 12px; top: 12px; background: none; border: 0; color: var(--muted); padding: 6px; }
.field { display: block; margin-bottom: 12px; }
.field > span:not(.select) { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; height: 44px; padding: 0 14px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 14px var(--font); outline: none; }
.field input:focus { border-color: var(--orange); }
.modal__alt { text-align: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.modal__alt a { color: var(--orange-2); }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox__in { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }

/* ---------- Мобильная навигация ---------- */
.mnav { display: none; }

/* ==========================================================================
   Компоненты отзовика
   ========================================================================== */
:root { --good: #3ad466; --mid: #ffb02e; --bad: #ff4d5e; --lime: #a3e635; }
.ic.fill, .ic[fill="currentColor"] { fill: currentColor; }
.muted { color: var(--muted); }
code { font: 12.5px ui-monospace, Menlo, Consolas, monospace; background: var(--panel-3); padding: 1px 6px; border-radius: 5px; }
.link { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; color: var(--orange-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.link:hover { text-decoration: underline; }
.link--danger { color: var(--bad) !important; }
.inline { display: inline; }
.narrow { max-width: 1060px; margin-left: auto; margin-right: auto; }
.i-orange { color: var(--orange); }

/* ---------- бейдж оценки ---------- */
.score {
  display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 7px; border-radius: 7px;
  font: 700 15px/1 var(--font-head); letter-spacing: .3px; color: #fff; flex: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.score--good { background: linear-gradient(180deg, #3ddc6f, #26a84f); }
.score--mid  { background: linear-gradient(180deg, #ffbf4a, #f08f1a); color: #1b1300; }
.score--bad  { background: linear-gradient(180deg, #ff6470, #d93645); }
.score--none { background: var(--panel-3); color: var(--muted); box-shadow: none; border: 1px solid var(--line-2); }
.score--sm { min-width: 32px; height: 24px; font-size: 13px; border-radius: 6px; }
.score--lg { min-width: 50px; height: 40px; font-size: 20px; border-radius: 9px; }
.score--xl { min-width: 72px; height: 60px; font-size: 32px; border-radius: 12px; }
.card .score { position: absolute; z-index: 3; top: 10px; left: 10px; }
.trend { display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.trend--up { background: rgba(58, 212, 102, .16); color: var(--good); border: 1px solid rgba(58, 212, 102, .4); }
.trend--down { background: rgba(255, 77, 94, .14); color: var(--bad); border: 1px solid rgba(255, 77, 94, .4); }
.card .trend { position: absolute; z-index: 3; top: 12px; right: 10px; backdrop-filter: blur(6px); background: rgba(8, 10, 14, .7); }
.fps { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; margin-left: auto; white-space: nowrap; }
.fps--great { background: rgba(58, 212, 102, .15); color: var(--good); }
.fps--good  { background: rgba(163, 230, 53, .14); color: var(--lime); }
.fps--edge  { background: rgba(255, 176, 46, .15); color: var(--mid); }
.fps--bad   { background: rgba(255, 77, 94, .14); color: var(--bad); }

/* ---------- карточка игры ---------- */
.card__media { aspect-ratio: 3 / 4; background: var(--panel-2); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__title small { font-size: 12px; }
.card__meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.card__foot { gap: 10px; min-height: 24px; }
.chip--ru { color: #cfe3ff; border-color: rgba(58, 139, 255, .45); background: rgba(58, 139, 255, .12); gap: 3px; }
.chip--good { color: var(--good); border-color: rgba(58, 212, 102, .35); }
.chip--mid { color: var(--mid); border-color: rgba(255, 176, 46, .35); }
.chip--bad { color: var(--bad); border-color: rgba(255, 77, 94, .35); }

/* ---------- hero ---------- */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero { height: 470px; }
.hero__content { padding-top: 64px; max-width: 600px; }
.hero__title { font-size: 46px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero__nochip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(10, 12, 18, .6); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: var(--text-2); backdrop-filter: blur(6px); }
.card__none { font-size: 12px; color: var(--muted); }
.hero__scores { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.hero__score { display: flex; align-items: center; gap: 10px; }
.hero__score span { font-size: 13px; color: var(--text-2); line-height: 1.2; }
.hero__score small { display: block; color: var(--muted); font-size: 12px; }
.hero__score--old { opacity: .85; }
.hero__fps { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-weight: 700; }
.hero__fps small { display: block; font-weight: 400; font-size: 11px; color: var(--text-2); }
.hero__text { max-width: 460px; margin: 18px 0 22px; }
.hero__thumb .t-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- главная ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.feature:hover { border-color: var(--orange); transform: translateY(-2px); }
.feature__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 107, 26, .14); color: var(--orange-2); margin-bottom: 4px; }
.feature b { font-size: 16px; }
.feature small { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.pcbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(255, 107, 26, .14), rgba(58, 139, 255, .1)); border: 1px solid var(--line); }
.pcbar__text { display: flex; align-items: center; gap: 12px; flex: 1 1 280px; }
.pcbar__text > .ic { width: 30px; height: 30px; color: var(--orange-2); }
.pcbar__text b { display: block; font-size: 16px; }
.pcbar__text small { color: var(--text-2); }
.pcform { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pcform .select select { min-width: 190px; }
.pcform--full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcform--full .select select { width: 100%; }
.pcform--full .btn { justify-self: start; }
.minireviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.minireview { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; }
.minireview:hover { border-color: var(--line-2); }
.minireview img { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; flex: none; }
.minireview > div { min-width: 0; flex: 1; }
.minireview__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.minireview__top b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minireview p { margin: 6px 0; font-size: 13px; color: var(--text-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.minireview small { color: var(--muted); font-size: 12px; }
.empty--cta { border-style: solid; background: var(--panel); }
.genres { grid-template-columns: repeat(10, minmax(0, 1fr)); }

/* ---------- страница игры ---------- */
.game-page { position: relative; }
.game-page > .game-hero__bg { position: absolute; inset: 0 0 auto 0; height: 560px; opacity: .35; pointer-events: none; overflow: hidden; }
.game-page > .game-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.game-page > .container { position: relative; }
.game-head { padding-top: 22px; }
.game-actions .btn, .game-actions .btn--primary { height: 48px; padding: 0 22px; font-size: 13px; }
.game-actions .btn--dark { text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.game-top { grid-template-columns: 250px minmax(0, 1fr); }
.game-cover { aspect-ratio: 2 / 3; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-info .sub { font-size: 15px; }
.scoreboard { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 14px; }
.scoreboard__main, .scoreboard__side { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-lg); background: rgba(20, 23, 31, .85); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.scoreboard b { display: block; font-size: 15px; }
.scoreboard small { display: block; color: var(--muted); font-size: 12.5px; }
.game-info__tags { flex-wrap: wrap !important; -webkit-mask-image: none !important; mask-image: none !important; margin: 0 0 12px !important; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "head side" "main side"; column-gap: 20px; align-items: start; }
.game-head { grid-area: head; min-width: 0; }
.game-main { grid-area: main; min-width: 0; }
.game-side { grid-area: side; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 14px); margin-top: 22px; }

/* история обновлений — сворачиваемая */
.updates > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; user-select: none; }
.updates > summary::-webkit-details-marker { display: none; }
.updates > summary .panel__title { margin: 0; }
.updates__now { font-size: 13px; color: var(--text-2); }
.updates__now b { color: var(--text); font-weight: 600; }
.updates__toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange-2); }
.updates__toggle .ic { transition: transform .2s; }
.updates__close, .updates[open] .updates__open { display: none; }
.updates[open] .updates__close { display: inline; }
.updates[open] .updates__toggle .ic { transform: rotate(180deg); }
.updates[open] > summary { margin-bottom: 16px; }
.updates > summary:hover .updates__toggle { text-decoration: underline; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; margin-top: 14px; }
.game-side .panel { margin-top: 0; }
.panel--muted { background: transparent; border-style: dashed; color: var(--muted); }
.panel__title { display: flex; align-items: center; gap: 8px; font: 600 16px var(--font); margin-bottom: 12px; }
.panel__title .ic { color: var(--orange-2); }
.chart { width: 100%; height: auto; display: block; overflow: hidden; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__axis { fill: var(--muted); font-size: 11px; }
.chart__label { fill: var(--text-2); font-size: 12px; font-weight: 600; }
.chart__line { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; }
.chart__pt circle { stroke: var(--panel); stroke-width: 2; }
.chart__pt text { font: 700 13px var(--font-head); fill: var(--text); }
.chart__pt--good circle { fill: var(--good); } .chart__pt--mid circle { fill: var(--mid); } .chart__pt--bad circle { fill: var(--bad); }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.summary__item { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.summary__item > small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.summary__item > b { display: block; font-size: 16px; }
.summary__item > em { display: block; font-style: normal; color: var(--muted); font-size: 12px; margin-top: 2px; }
.summary__item:first-child:has(.summary__bars) { grid-column: 1 / -1; }
.summary__bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.bar-row i { height: 8px; border-radius: 8px; background: var(--panel-3); position: relative; overflow: hidden; }
.bar-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 8px; }
.bar-row em { font-style: normal; color: var(--muted); text-align: right; }
.t-good { color: var(--good); } .t-mid { color: var(--mid); } .t-bad { color: var(--bad); }
.fitbox__verdict { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 14px; border-radius: var(--radius); margin-bottom: 10px; }
.fitbox__verdict b { font: 700 20px var(--font-head); text-transform: uppercase; letter-spacing: .5px; }
.fitbox__verdict span { font: 700 24px var(--font-head); }
.fitbox__verdict small { grid-column: 1 / -1; color: var(--text-2); font-size: 12px; }
.fitbox__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.fitbox__rows div { background: var(--panel-2); border-radius: 8px; padding: 8px 10px; display: flex; justify-content: space-between; font-size: 13px; }
.fitbox__rows span { color: var(--muted); }
.fitbox__note { color: var(--text-2); font-size: 13px; margin: 0 0 12px; }
.fitbox .pcform { flex-direction: column; align-items: stretch; margin-bottom: 8px; }
.fitbox .pcform .select select { width: 100%; min-width: 0; }
.req__h { font-size: 13px; color: var(--muted); font-weight: 600; margin: 8px 0 6px; }
.req__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.versions li { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13.5px; }
.versions li span { color: var(--text-2); }
.versions li small { margin-left: auto; color: var(--muted); font-size: 12px; }
.prose--clamp { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.prose--clamp.open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.prose p { margin: 0 0 10px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); margin-left: auto; flex-wrap: wrap; }
.seg a { padding: 6px 10px; border-radius: 7px; font-size: 13px; color: var(--text-2); }
.seg a:hover { color: #fff; }
.seg a.active { background: var(--panel-3); color: #fff; font-weight: 600; }
.seg button { padding: 6px 12px; border-radius: 7px; font-size: 13px; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.seg button:hover { color: #fff; }
.seg button.active { background: var(--panel-3); color: #fff; font-weight: 600; }
.page-head > .seg { align-self: flex-end; margin-left: auto; }

/* ---------- отзыв ---------- */
.reviews { display: grid; gap: 12px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; scroll-margin-top: calc(var(--header-h) + 16px); }
.review:target { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.review__head { display: flex; gap: 12px; align-items: flex-start; }
.review__game img { width: 54px; height: 72px; border-radius: 6px; object-fit: cover; }
.review__who { flex: 1; min-width: 0; }
.review__gametitle { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.review__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.review__author:hover { color: var(--orange-2); }
.review__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.rb { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; }
.rb--ok { color: var(--good); border-color: rgba(58, 212, 102, .35); background: rgba(58, 212, 102, .08); }
.review__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 14px; }
.pros, .cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14px; }
.pros li, .cons li { display: flex; gap: 7px; align-items: flex-start; }
.pros .ic { color: var(--good); margin-top: 3px; stroke-width: 3; }
.cons .ic { color: var(--bad); margin-top: 3px; stroke-width: 3; }
.review__body { margin-top: 12px; font-size: 14.5px; }
.review__facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.review__foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 13px; }
.vote { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 7px; height: 30px; padding: 0 10px; color: var(--text-2); font-size: 13px; margin-left: auto; }
.vote:hover { border-color: var(--line-2); color: #fff; }
.vote.on { color: var(--orange-2); border-color: rgba(255, 107, 26, .5); background: rgba(255, 107, 26, .1); }
.vote b { font-weight: 700; }
.vote--static { cursor: default; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--panel-3); }
.avatar--sm { width: 24px; height: 24px; }
.avatar--xl { width: 88px; height: 88px; }
.avatar--letter { display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--text-2); }

/* ---------- форма отзыва ---------- */
.rform { display: grid; gap: 14px; }
.rform__block { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 16px 18px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.rform__block legend { font: 600 16px var(--font); padding: 0 6px; margin-left: -6px; }
.rform__block legend small { color: var(--muted); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.rform__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rform__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rform__row--inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.rform textarea, .rform input:not([type=radio]):not([type=checkbox]), .admin-import textarea, .field input {
  width: 100%; padding: 10px 12px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 14px/1.45 var(--font); outline: none; resize: vertical;
}
.rform textarea:focus, .rform input:focus, .admin-import textarea:focus { border-color: var(--orange); }
.field { display: block; margin: 0; }
.field > span:not(.select) { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.field .select { display: block; width: 100%; }
.field .select select { width: 100%; }
.field--inline { display: flex; flex-direction: column; min-width: 140px; }
.field--fps input { max-width: 200px; }
.field__err { color: var(--bad); font-size: 13px; margin-top: -6px; }
.scorepick { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.scorepick__i input { position: absolute; opacity: 0; pointer-events: none; }
.scorepick__i span { display: grid; place-items: center; height: 48px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line); font: 700 18px var(--font-head); cursor: pointer; transition: all .12s; }
.scorepick__i span:hover { border-color: var(--line-2); transform: translateY(-1px); }
.scorepick__i input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.scorepick__i--bad input:checked + span { background: var(--bad); border-color: var(--bad); color: #fff; }
.scorepick__i--mid input:checked + span { background: var(--mid); border-color: var(--mid); color: #1b1300; }
.scorepick__i--good input:checked + span { background: var(--good); border-color: var(--good); color: #fff; }
.chips-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chip-pick span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; cursor: pointer; user-select: none; transition: all .12s; }
.chip-pick input:checked + span { background: rgba(255, 107, 26, .16); border-color: var(--orange); color: #fff; }
.chip-pick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chip-pick input:disabled + span { opacity: .4; cursor: default; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 26px; color: var(--line-2); cursor: pointer; line-height: 1; transition: color .1s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--mid); }
.rform__submit { display: flex; gap: 10px; }
.rform__delete { margin-top: 18px; }

/* ---------- флэши, меню пользователя, таблицы ---------- */
.flashes { padding-top: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.flash--ok { background: rgba(58, 212, 102, .1); border-color: rgba(58, 212, 102, .4); color: #c9f5d6; }
.flash--err { background: rgba(255, 77, 94, .1); border-color: rgba(255, 77, 94, .45); color: #ffd0d5; }
.flash--info { background: rgba(58, 139, 255, .1); border-color: rgba(58, 139, 255, .4); color: #d2e3ff; margin-bottom: 12px; }
.pc-chip { padding: 0 12px; height: 38px; border-radius: 19px; border: 1px dashed var(--line-2); }
.pc-chip.is-set { border-style: solid; }
.pc-chip span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.login { text-decoration: none; }
.login .ic { color: #9fc6ff; }
.usermenu { position: relative; }
.usermenu__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 4px; border-radius: 22px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; }
.usermenu__btn .avatar { width: 32px; height: 32px; }
.usermenu__btn span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usermenu__drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60; }
.usermenu.open .usermenu__drop { display: block; }
.usermenu__drop a, .usermenu__drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; background: none; border: 0; color: var(--text-2); font-size: 14px; text-align: left; }
.usermenu__drop a:hover, .usermenu__drop button:hover { background: var(--panel-2); color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.is-hidden td { opacity: .5; }
.admin-import { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.admin-import textarea { flex: 1; }
.side-extra a .ic { color: #9fc6ff; }

/* ---------- выпадающий список (JS-компонент поверх <select>) ---------- */
.select.is-enhanced select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cs-btn {
  position: relative; display: flex; align-items: center; width: 100%; min-width: 140px; height: 38px; padding: 0 34px 0 12px;
  border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: 13px var(--font);
  text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.cs-btn:hover { border-color: var(--line-2); }
.cs-btn:focus-visible, .cs-btn[aria-expanded=true] { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 26, .15); }
.cs-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; font-size: inherit; color: inherit; line-height: 1.3; }
.cs-btn.is-placeholder span { color: var(--muted); }
.select.is-enhanced .ic { transition: transform .15s; }
.select.is-open .ic { transform: rotate(180deg); color: var(--orange-2); }
.cs-pop {
  position: fixed; z-index: 200; display: flex; flex-direction: column; width: max-content; min-width: 200px; max-width: min(380px, calc(100vw - 16px)); max-height: 340px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  padding: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .12s, transform .12s; pointer-events: none;
}
.cs-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.cs-pop.up { transform: translateY(4px); }
.cs-pop.up.open { transform: none; }
.cs-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; margin-bottom: 6px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); flex: none; }
.cs-search:focus-within { border-color: var(--orange); }
.cs-search .ic { width: 15px; height: 15px; color: var(--muted); }
.cs-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 13px var(--font); padding: 0; }
.cs-list { overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0; list-style: none; }
.cs-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.cs-opt { display: flex; align-items: center; gap: 12px; white-space: nowrap; min-height: 34px; padding: 6px 10px; border-radius: 7px; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.cs-opt .ic { width: 15px; height: 15px; margin-left: auto; color: var(--orange-2); stroke-width: 2.6; visibility: hidden; }
.cs-opt.active { background: var(--panel-3); color: #fff; }
.cs-opt[aria-selected=true] { color: #fff; font-weight: 600; }
.cs-opt[aria-selected=true] .ic { visibility: visible; }
.cs-opt[aria-disabled=true] { opacity: .45; cursor: default; }
.cs-empty { padding: 12px 10px; color: var(--muted); font-size: 13px; }
.pcform .cs-btn { min-width: 190px; }
.fitbox .pcform .cs-btn, .field .cs-btn, .pcform--full .cs-btn { min-width: 0; }

/* ---------- жанры в меню ---------- */
.side-genres { display: grid; gap: 2px; padding: 0 12px; }
.side-genres a { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px 0 12px; border-radius: 9px; color: var(--text-2); font-size: 13.5px; transition: background .15s, color .15s; }
.side-genres__ic { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; color: var(--g); background: color-mix(in srgb, var(--g) 14%, transparent); transition: background .15s, transform .15s; }
.side-genres__ic .ic { width: 15px; height: 15px; stroke-width: 2; }
.side-genres__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-genres a em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); min-width: 24px; height: 20px; padding: 0 7px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); }
.side-genres a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.side-genres a:hover .side-genres__ic { background: color-mix(in srgb, var(--g) 24%, transparent); transform: scale(1.06); }
.side-genres a.active { background: color-mix(in srgb, var(--g) 12%, transparent); color: #fff; }
.side-genres a.active .side-genres__ic { background: var(--g); color: #0b0d12; }
.side-genres a.active em { color: #fff; background: color-mix(in srgb, var(--g) 30%, transparent); }
.side-title { margin: 20px 24px 8px; }

/* ---------- всплывающие уведомления ---------- */
.toasts { position: fixed; z-index: 150; top: calc(var(--header-h) + 14px); right: 18px; width: min(380px, calc(100vw - 32px)); display: grid; gap: 10px; pointer-events: none; }
.toast {
  --c: var(--blue); position: relative; overflow: hidden; pointer-events: auto;
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 40px 14px 14px; border-radius: 14px;
  background: rgba(24, 28, 38, .96); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.4; color: var(--text); animation: toast-in .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.toast--ok { --c: var(--good); } .toast--err { --c: var(--bad); } .toast--info { --c: var(--blue); }
.toast__ic { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.toast__ic .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.toast__text { padding-top: 4px; min-width: 0; overflow-wrap: anywhere; }
.toast__close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 7px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.toast__close:hover { background: var(--panel-3); color: #fff; }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); opacity: .7; transform-origin: left; animation: toast-bar 5s linear forwards; }
.toast:hover .toast__bar { animation-play-state: paused; }
.toast.hide { animation: toast-out .25s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- inline-уведомления ---------- */
.flash { border-width: 1px 1px 1px 3px; }

/* ---------- профиль ---------- */
.profile-hero { position: relative; margin-top: 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.profile-hero__bg { height: 110px; background:
  radial-gradient(600px 160px at 15% 0%, rgba(255, 107, 26, .35), transparent 70%),
  radial-gradient(500px 160px at 85% 20%, rgba(58, 139, 255, .25), transparent 70%),
  linear-gradient(180deg, #1a1e2c, var(--panel)); }
.profile-hero__in { display: flex; align-items: flex-end; gap: 18px; padding: 0 22px 18px; margin-top: -52px; flex-wrap: wrap; }
.profile-hero__avatar { width: 104px; height: 104px; border-radius: 22px; border: 4px solid var(--panel); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); object-fit: cover; background: var(--panel-3); flex: none; font-size: 40px; }
.profile-hero__who { flex: 1; min-width: 200px; padding-bottom: 4px; }
.profile-hero__who h1 { font: 700 30px/1.1 var(--font-head); letter-spacing: .3px; }
.profile-hero__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.profile-hero__meta .rb { height: 26px; font-size: 12.5px; }
.profile-hero__meta a.rb:hover { border-color: var(--line-2); color: #fff; }
.profile-hero__actions { display: flex; gap: 8px; padding-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 14px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 24px/1.1 var(--font-head); }
.stat small { color: var(--muted); font-size: 12.5px; }
.profile-empty { margin-top: 18px; text-align: center; padding: 34px 20px 28px; border-radius: 18px; border: 1px dashed var(--line-2); background: radial-gradient(400px 160px at 50% 0%, rgba(255, 107, 26, .08), transparent 70%); }
.profile-empty__ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 107, 26, .12); color: var(--orange-2); }
.profile-empty__ic .ic { width: 30px; height: 30px; }
.profile-empty b { display: block; font-size: 19px; margin-bottom: 6px; }
.profile-empty p { color: var(--text-2); max-width: 460px; margin: 0 auto 16px; }
.profile-suggest { margin-top: 24px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search__steam { color: #9fc6ff; border-top: 0; margin-top: 0; }
.steamfind__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.steamfind__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.steamfind__item img { width: 120px; height: 45px; border-radius: 6px; object-fit: cover; flex: none; background: var(--panel-3); }
.steamfind__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.steamfind__info b { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.steamfind__link { font-size: 12px; color: var(--muted); }
.steamfind__link:hover { color: #9fc6ff; }
.steamfind__add { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.steamfind__add:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.steamfind__add .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.steamfind__add:disabled { opacity: .6; }
.steamfind__item form { margin: 0; }
.steamfind__note { font-size: 12.5px; margin: 10px 0 0; }
.section__title .ic { color: #9fc6ff; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.log { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font: 12px/1.6 ui-monospace, Menlo, Consolas, monospace; color: var(--text-2); white-space: pre-wrap; max-height: 260px; overflow: auto; }
.src { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 5px; background: var(--panel-3); color: var(--text-2); }
.src--user { background: rgba(58, 139, 255, .15); color: #9fc6ff; } .src--auto { background: rgba(58, 212, 102, .12); color: var(--good); }
.sug-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sug-form input { width: 110px; height: 32px; padding: 0 8px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 13px var(--font); }
.sug-form input[name^=vtitle] { width: 220px; }
.sug-form input[name^=label] { width: 120px; }
.bulkbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 10px; border-radius: 12px; background: rgba(26, 30, 40, .96); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.bulkbar .check { height: 34px; }
.bulkbar [data-bulk-count] { margin-right: auto; font-size: 13px; }
.bulkbar.has-sel { border-color: rgba(255, 107, 26, .5); }
.bulkbar.has-sel [data-bulk-count] { color: var(--text); font-weight: 600; }
.table--sel td:first-child, .table--sel th:first-child { width: 34px; padding-right: 0; }
.table--sel tr.is-sel td { background: rgba(255, 107, 26, .06); }
.table--sel tbody tr { cursor: default; }
.nowrap { white-space: nowrap; }
.nowrap .btn { width: 34px; padding: 0; }
.table-wrap { overflow-x: auto; }

/* ---------- достижения ---------- */
.achi { --a: #9aa3b5; --a2: #5f6778; display: inline-grid; place-items: center; flex: none; border-radius: 10px; color: #fff;
  background: linear-gradient(145deg, var(--a), var(--a2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 12px rgba(0, 0, 0, .3); }
.achi--uncommon { --a: #5fd38a; --a2: #23884a; }
.achi--rare { --a: #5aa8ff; --a2: #2560c2; }
.achi--epic { --a: #c27bff; --a2: #7032c2; }
.achi--legendary { --a: #ffd76a; --a2: #e07a12; color: #3a2400; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 14px rgba(255, 176, 46, .45); }
.achi--md { width: 40px; height: 40px; border-radius: 11px; } .achi--md .ic { width: 20px; height: 20px; }
.achi--sm { width: 28px; height: 28px; border-radius: 8px; } .achi--sm .ic { width: 15px; height: 15px; }
.achi--xs { width: 20px; height: 20px; border-radius: 6px; } .achi--xs .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.achi.is-dim, .ach:not(.is-got) .achi { filter: grayscale(.85) brightness(.6); box-shadow: none; }
.rar { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; background: rgba(154, 163, 181, .14); color: #b9c0cf; }
.rar--uncommon { background: rgba(95, 211, 138, .14); color: #7fe0a3; }
.rar--rare { background: rgba(90, 168, 255, .14); color: #8cc2ff; }
.rar--epic { background: rgba(194, 123, 255, .16); color: #d4a3ff; }
.rar--legendary { background: rgba(255, 176, 46, .16); color: #ffc65c; }
.rar-legend { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; }
.achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ach { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.ach[hidden], .ach-cat[hidden] { display: none; }
.ach:not(.is-got) b { color: var(--text-2); }
.ach.is-got.ach--legendary { border-color: rgba(255, 176, 46, .4); background: linear-gradient(135deg, rgba(255, 176, 46, .1), var(--panel) 60%); }
.ach.is-got.ach--epic { border-color: rgba(194, 123, 255, .35); background: linear-gradient(135deg, rgba(194, 123, 255, .08), var(--panel) 60%); }
.ach.is-got.ach--rare { border-color: rgba(90, 168, 255, .3); }
.ach.is-got.ach--uncommon { border-color: rgba(95, 211, 138, .28); }
.ach__body { min-width: 0; flex: 1; }
.ach__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ach__top b { font-size: 14.5px; min-width: 0; }
.ach__body small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.ach__body em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; color: var(--text-2); margin-top: 6px; }
.ach__body .ach__got { color: var(--good); }
.ach__prog { display: block; height: 5px; border-radius: 4px; background: var(--panel-3); margin-top: 8px; overflow: hidden; }
.ach__prog i { display: block; height: 100%; min-width: 3px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
/* профиль: компактная полоса */
.achstrip__box { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: center; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.achstrip__icons { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 320px; }
.achstrip__more { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--panel-3); color: var(--text-2); font-weight: 700; font-size: 13px; }
.achstrip__next { display: grid; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.achstrip__next > small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.achnext { display: flex; align-items: center; gap: 10px; }
.achnext__t { flex: 1; min-width: 0; }
.achnext__t b { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); }
.achnext__t .ach__prog { margin-top: 5px; }
.achnext em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.achnext:hover b { color: #fff; }
.toast--ach { --c: #ffc84d; border-color: rgba(255, 199, 77, .45); background: linear-gradient(135deg, rgba(60, 46, 12, .97), rgba(24, 28, 38, .97) 70%); }
.review__authorline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review__achs { display: inline-flex; align-items: center; gap: 4px; }
.review__achs .achi--xs { margin: 0; width: 22px; height: 22px; }
.review__achs .achi--xs .ic { width: 13px; height: 13px; }

/* ---------- скидки ---------- */
.deals-head { justify-content: space-between; align-items: flex-end; }
.deals-head p { max-width: 640px; }
.deals-stats { display: flex; gap: 10px; }
.deals-stats > div { padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.deals-stats b { display: block; font: 700 24px/1.1 var(--font-head); color: #beee11; }
.deals-stats small { font-size: 12px; color: var(--muted); }
.crawlbar { margin: 0 0 14px; }
.crawlbar__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.crawlbar__top span { color: var(--muted); }
.crawlbar__bar { height: 8px; border-radius: 6px; background: var(--panel-3); overflow: hidden; }
.crawlbar__bar i { display: block; height: 100%; min-width: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 6px; }
.deals-note { font-size: 12.5px; margin-top: 18px; max-width: 760px; }
.card__best { position: absolute; z-index: 3; left: 10px; bottom: 58px; height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; background: #beee11; color: #1a2400; }

/* ---------- цены ---------- */
.price { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--text); }
.price__disc { display: inline-grid; place-items: center; height: 20px; padding: 0 5px; border-radius: 5px; background: #4c6b22; color: #beee11; font-size: 11.5px; }
.price--sale .price__now { color: #beee11; }
.price__old { font-size: 12px; font-weight: 500; color: var(--muted); }
.price--free { color: var(--good); }
.price--na { color: var(--muted); font-weight: 500; font-size: 12px; }
.card__foot .price { font-size: 12.5px; }
.price--na-chip { display: inline-flex; align-items: center; justify-content: center; line-height: 1; gap: 4px; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(255, 77, 94, .08); border: 1px solid rgba(255, 77, 94, .3); color: #ff8b95; font-size: 11.5px; font-weight: 600; cursor: help; }
.price--na-chip .ic { stroke-width: 2.4; width: 12px; height: 12px; flex: none; }
.price--na-chip span { display: block; line-height: 1; font-size: 11px; letter-spacing: .3px; }
.card__none { white-space: nowrap; }
.pricebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(20, 23, 31, .85); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.pricebar > .ic { color: #9fc6ff; }
.pricebar__label { font-size: 13px; color: var(--text-2); }
.pricebar .price { font-size: 16px; }
.pricebar .price__disc { height: 24px; font-size: 13px; padding: 0 7px; }
.pricebar .price--na { font-size: 14px; color: var(--bad); }

/* ---------- инфо об игре подстраивается под ширину своей колонки, а не экрана ---------- */
.game-info { container-type: inline-size; min-width: 0; }
@container (max-width: 520px) {
  .game-actions { flex-wrap: nowrap; }
  .game-actions .btn--primary { flex: 1; min-width: 0; }
  .game-actions .btn--primary span { overflow: hidden; text-overflow: ellipsis; }
  .game-actions__steam { flex: none; width: 48px; padding: 0 !important; }
  .game-actions__steam span { display: none; }
  .quick__scores { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); width: 100%; }
  .quick__btn { width: auto; }
  .scoreboard__main, .scoreboard__side { flex: 1 1 100%; }
}
@media (min-width: 961px) and (max-width: 1400px) { .game-top { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; } }

/* ---------- коротко по отзывам ---------- */
.fwho { margin-bottom: 12px; }
.fwho > small, .fact small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.fwho__list { display: flex; gap: 8px; flex-wrap: wrap; }
.fwho__chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; border: 1px solid rgba(255, 107, 26, .35);
  background: linear-gradient(90deg, rgba(255, 107, 26, .22) var(--w), rgba(255, 107, 26, .05) var(--w)); }
.fwho__chip b { font-size: 12px; color: var(--orange-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.fact { --c: var(--text-2); display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); }
.fact--good { --c: var(--good); } .fact--mid { --c: var(--mid); } .fact--bad { --c: var(--bad); }
.fact__ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.fact__ic .ic { width: 18px; height: 18px; }
.fact small { margin-bottom: 2px; }
.fact b { display: block; font-size: 15px; color: var(--c); }
.fact:not(.fact--good):not(.fact--mid):not(.fact--bad) b { color: var(--text); }
.fact em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 1px; }

/* ---------- шкала FPS ---------- */
.meter { --c: var(--good); --zones: linear-gradient(90deg, #ff4d5e 0 25%, #ffb02e 25% 37.5%, #a3e635 37.5% 50%, #3ad466 50% 100%);
  padding: 14px 14px 10px; margin-bottom: 10px; border-radius: var(--radius); background: color-mix(in srgb, var(--c) 7%, var(--panel-2)); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.meter.fps--good { --c: var(--lime); } .meter.fps--edge { --c: var(--mid); } .meter.fps--bad { --c: var(--bad); }
.meter__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.meter__val { display: flex; align-items: baseline; gap: 5px; line-height: 1; }
.meter__val b { font: 700 40px/.9 var(--font-head); color: var(--c); font-variant-numeric: tabular-nums; min-width: 1.6ch; }
.meter__val span { font: 600 14px var(--font-head); color: var(--text-2); }
.meter__verdict { text-align: right; font: 700 15px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: var(--c); }
.meter__verdict small { display: block; margin-top: 4px; font: 400 11.5px var(--font); letter-spacing: 0; text-transform: none; color: var(--text-2); }
.meter__bar { position: relative; height: 10px; border-radius: 6px; background: var(--zones); }
.meter__bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(12, 14, 20, .72); clip-path: inset(0 0 0 var(--p)); transition: clip-path 1.2s cubic-bezier(.2, .8, .2, 1); }
.meter__fill { display: none; }
.meter__pin { position: absolute; top: 50%; left: var(--p); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 4px solid var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent), 0 2px 8px rgba(0, 0, 0, .5); transition: left 1.2s cubic-bezier(.2, .8, .2, 1); }
.meter__scale { position: relative; display: flex; justify-content: space-between; margin-top: 7px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meter__scale span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.meter__scale span:first-child { justify-content: flex-start; }
.meter__scale span:last-child { justify-content: flex-end; }
.meter.is-idle .meter__bar::before { clip-path: inset(0 0 0 0); }
.meter.is-idle .meter__pin { left: 0; }
@media (prefers-reduced-motion: reduce) { .meter__bar::before, .meter__pin { transition: none; } }

/* ---------- системные требования ---------- */
.reqs__head { display: grid; gap: 10px; margin-bottom: 10px; }
.reqs__head .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.reqs__head .panel__title { margin: 0; }
.seg--sm { margin: 0; } .seg--sm button { padding: 5px 9px; border-radius: 7px; font-size: 12px; border: 0; background: none; color: var(--text-2); cursor: pointer; }
.seg--sm button.active { background: var(--panel-3); color: #fff; font-weight: 600; }
.reqs__h { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.reqs[data-js] .reqs__h { display: none; }
.reqs__note { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.reqs__dl { margin: 0; display: grid; }
.reqs__dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.reqs__dl > div:first-child { border-top: 0; }
.reqs__dl dt { font-size: 12px; color: var(--muted); }
.reqs__dl dd { margin: 0; font-size: 13px; color: var(--text); line-height: 1.4; overflow-wrap: anywhere; }
.reqs__pane + .reqs__pane { margin-top: 14px; }

/* ---------- слайдер: данные Steam ---------- */
.steambig--xl { min-width: 72px; height: 60px; font-size: 26px; border-radius: 12px; }
.hero .score, .hero .steambig { box-shadow: 0 6px 22px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .25); }
.hero .steambig { background-color: rgba(10, 12, 18, .72); backdrop-filter: blur(6px); }
.hero__score span { text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.hero__score--minor { opacity: .95; }
.hero__kicker { text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.hero__was { font: 700 20px var(--font-head); color: var(--text-2); min-width: 50px; height: 40px; display: inline-grid; place-items: center; border-radius: 9px; background: rgba(10, 12, 18, .6); border: 1px solid rgba(255, 255, 255, .15); }

/* ---------- быстрая оценка ---------- */
.quick { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-lg); background: rgba(20, 23, 31, .85); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.quick__label { font-size: 13.5px; font-weight: 600; }
.quick__scores { display: flex; gap: 5px; flex-wrap: wrap; }
.quick__btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text-2); font: 700 14px var(--font-head); cursor: pointer; transition: transform .1s, background .12s, color .12s, border-color .12s; }
.quick__btn:hover { transform: translateY(-2px); color: #fff; }
.quick__btn--bad:hover, .quick__btn--bad.is-on { background: var(--bad); border-color: var(--bad); color: #fff; }
.quick__btn--mid:hover, .quick__btn--mid.is-on { background: var(--mid); border-color: var(--mid); color: #1b1300; }
.quick__btn--good:hover, .quick__btn--good.is-on { background: var(--good); border-color: var(--good); color: #fff; }
.quick__btn.is-on { box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.quick .link, .quick small { font-size: 12.5px; }
/* подсветка «до этой оценки» при наведении */
.quick__scores:hover .quick__btn { opacity: .85; }

/* ---------- FPS без отзыва ---------- */
.fpsshare { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.fpsshare > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--orange-2); }
.fpsshare > summary::-webkit-details-marker { display: none; }
.fpsshare > summary:hover { text-decoration: underline; }
.fpsshare__form { display: grid; gap: 8px; margin-top: 12px; }
.fpsshare__form .select, .fpsshare__form .select select, .fpsshare__form .cs-btn { width: 100%; min-width: 0; }
.fpsshare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fpsshare__fps { width: 100%; height: 38px; padding: 0 12px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: 13px var(--font); outline: none; }
.fpsshare__fps:focus { border-color: var(--orange); }
@media (max-width: 960px) { .quick { padding: 10px 12px; } .quick__scores { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); width: 100%; } .quick__btn { width: auto; height: 38px; } }

/* ---------- данные Steam ---------- */
.steamchip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(58, 139, 255, .1); color: #9fc6ff; white-space: nowrap; }
.steamchip--good { background: rgba(58, 212, 102, .12); color: var(--good); }
.steamchip--mid { background: rgba(255, 176, 46, .12); color: var(--mid); }
.steamchip--bad { background: rgba(255, 77, 94, .12); color: var(--bad); }
.card__badges { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; pointer-events: none; }
.card__badges > * { pointer-events: auto; }
.card .card__badges .score { position: static; }
.card__ours { display: inline-flex; align-items: center; gap: 4px; }
.card__arrow { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(8, 10, 14, .72); backdrop-filter: blur(6px); }
.card__arrow--up { color: var(--good); } .card__arrow--down { color: var(--bad); }
.card__steam { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(8, 10, 14, .72); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }
.card__steam .ic { color: #9fc6ff; }
.card__steam--good { border-color: rgba(58, 212, 102, .45); } .card__steam--mid { border-color: rgba(255, 176, 46, .45); } .card__steam--bad { border-color: rgba(255, 77, 94, .45); }
.card__steam em { font-style: normal; font-size: 11px; margin-left: 2px; }
.card .card__badges .owned { position: static; margin-left: auto; }
.card__ok { color: var(--good); margin-left: 2px; }
.card__foot { flex-wrap: nowrap; overflow: hidden; }
.card__foot .fps { flex: none; }
.steambig { min-width: 50px; height: 40px; padding: 0 8px; border-radius: 9px; display: inline-grid; place-items: center; font: 700 18px var(--font-head); border: 1px solid; }
.steambig--good { color: var(--good); border-color: rgba(58, 212, 102, .45); background: rgba(58, 212, 102, .1); }
.steambig--mid { color: var(--mid); border-color: rgba(255, 176, 46, .45); background: rgba(255, 176, 46, .1); }
.steambig--bad { color: var(--bad); border-color: rgba(255, 77, 94, .45); background: rgba(255, 77, 94, .1); }
.scoreboard__steam b .ic { display: inline-block; vertical-align: -2px; color: #9fc6ff; }
.hero__score .ic { display: inline-block; vertical-align: -2px; }
.chart__sline { fill: none; stroke: #5aa8ff; stroke-width: 2; stroke-dasharray: 5 4; stroke-linejoin: round; opacity: .9; }
.chart__spt circle { fill: #5aa8ff; stroke: var(--panel); stroke-width: 2; }
.chart__spt text { font: 600 11px var(--font); fill: #9fc6ff; }
.chart__legend circle { fill: var(--orange); }
.chart__legend--steam circle { fill: #5aa8ff; }
.chart__legend text { font: 11px var(--font); fill: var(--text-2); }
.tl__steam { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--muted); }
@media (max-width: 640px) { .tl__steam { margin-left: 0; flex-basis: 100%; } .tl__score { flex-wrap: wrap; } }

/* ---------- история обновлений ---------- */
.panel__title .muted { font-weight: 500; font-size: 13px; margin-left: 2px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; }
.tl { position: relative; padding: 0 0 20px 26px; border-left: 2px solid var(--line); }
.tl:last-child { padding-bottom: 2px; border-left-color: transparent; }
.tl__dot { position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-2); }
.tl--current .tl__dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 26, .2); }
.tl__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl__label { font: 700 15px/1 var(--font-head); letter-spacing: .3px; padding: 4px 8px; border-radius: 6px; background: var(--panel-3); }
.tl--current .tl__label { background: rgba(255, 107, 26, .16); color: var(--orange-2); }
.tl__title { font-size: 15px; font-weight: 600; }
.tl__date { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tl__score { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.tl__notes { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.tl__notes p { margin: 0 0 6px; }
.tl__notes ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.tl__notes li::marker { color: var(--orange-2); }
.tl__notes.is-clamped { max-height: 140px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.tl__src { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.tl__links { display: flex; gap: 16px; margin-top: 8px; }
.tl__links:empty { display: none; }

/* ---------- админка: версии ---------- */
.vedit { display: grid; gap: 12px; margin-bottom: 14px; }
.vedit__item { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.vedit__row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.vedit__title { flex: 1; min-width: 200px; }
.vedit__cnt { font-size: 12.5px; padding-bottom: 10px; }
.vedit textarea, .vedit input:not([type=checkbox]) { width: 100%; padding: 9px 12px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 13.5px/1.45 var(--font); outline: none; }
.vedit textarea:focus, .vedit input:focus { border-color: var(--orange); }
.card .owned { position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #cfe3ff; background: rgba(8, 10, 14, .75); border: 1px solid rgba(58, 139, 255, .45); backdrop-filter: blur(6px); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1400px) {
  .row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .row > .card:nth-child(n+6) { display: none; }
  .genres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .topnav { gap: 18px; }
}
@media (max-width: 1200px) {
  .row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row > .card:nth-child(n+5) { display: none; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topnav a span { display: none; }
  .hero__thumbs { display: none; }
  .community { flex-wrap: wrap; }
  .community .btn { margin-left: 0; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .header { gap: 10px; padding-right: 8px; }
  .header__burger { display: block; }
  .header__logo { width: auto; padding-left: 0; }
  .logo__main { font-size: 18px; }
  .logo__mark { width: 30px; height: 30px; border-radius: 8px; }
  .logo__mark svg { width: 19px; height: 19px; }
  .logo__tag { display: none; }
  .search { max-width: none; }
  .search .kbd { display: none; }
  .topnav { display: none; }
  .header__icon { display: block; }
  .header__icon[data-search-toggle] { display: none; }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; z-index: 60; top: 0; padding-top: 18px; width: 270px; }
  body.menu-open .sidebar { transform: none; box-shadow: var(--shadow); }
  .main { margin-left: 0; padding-bottom: 90px; }
  .container { padding: 0 16px; }
  .hero { height: 380px; }
  .hero__content { padding: 70px 16px 0; }
  .hero__title { font-size: 42px; }
  .hero__sub { font-size: 18px; }
  .hero__arrow { display: grid; }
  .hero__arrow--prev { left: 10px; } .hero__arrow--next { right: 10px; }
  .row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(160px, 44%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .row::-webkit-scrollbar { display: none; }
  .row > .card { scroll-snap-align: start; }
  .row > .card:nth-child(n) { display: flex; }
  .genres { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 96px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .game-top { grid-template-columns: 1fr; }
  .game-cover { max-width: 420px; aspect-ratio: 4 / 3.4; }
  .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card { grid-template-columns: 1fr; }

  .mnav {
    display: flex; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: 64px; padding-bottom: env(safe-area-inset-bottom);
    background: rgba(12, 14, 19, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; color: var(--muted); }
  .mnav a.active { color: var(--orange-2); }
  .mnav .ic { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  .header .search { display: none; }
  body.search-open .header .search { display: block; position: absolute; left: 8px; right: 8px; top: 9px; }
  body.search-open .header__logo, body.search-open .header__burger { visibility: hidden; }
  .header__icons { margin-left: auto; display: flex; }
  .header__icon[data-search-toggle] { display: block; }
  .hero { height: 400px; }
  .hero__content { padding: 44px 16px 0; }
  .hero__arrow { display: none; }
  .hero__kicker { font-size: 10px; letter-spacing: 4px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 14px; letter-spacing: 2px; margin-top: 8px; }
  .hero__text { font-size: 13.5px; margin: 14px 0 18px; max-width: none; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero__actions .btn { flex: 1; height: 42px; padding: 0 10px; font-size: 12px; gap: 6px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 10px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; flex: none; }
  .section__title { font-size: 19px; }
  .collections { grid-template-columns: 1fr; }
  .collection { height: 76px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__title { font-size: 14px; }
  .card__title small { font-size: 12px; }
  .card__body { padding: 8px 10px 10px; }
  .chip { font-size: 10.5px; padding: 0 6px; }
  .community__stat { margin-left: 0; }
  .game-info h1 { font-size: 30px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req { grid-template-columns: 1fr; }
  .req dl { grid-template-columns: 100px 1fr; }
  .game-actions { flex-wrap: nowrap; }
  .game-actions .btn--primary { flex: 1; min-width: 0; }
  .game-actions .btn--primary span { overflow: hidden; text-overflow: ellipsis; }
  .game-actions__steam { flex: none; width: 48px; padding: 0 !important; }
  .game-actions__steam span { display: none; }
  .filters .select, .filters .select select { width: 100%; }
  .filters .select { flex: 1 1 calc(50% - 10px); }
  .filters .select select, .filters .cs-btn { min-width: 0; }
  .filters__count { width: 100%; margin: 0; }
  .footer__cols { margin-left: 0; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- адаптив компонентов отзовика ---------- */
@media (max-width: 1200px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .toasts { top: auto; bottom: 76px; right: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); padding: 12px 16px; }
  .stat:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .profile-hero__in { padding: 0 16px 16px; }
  .profile-hero__avatar { width: 84px; height: 84px; border-radius: 18px; }
}

@media (max-width: 1400px) {
  .genres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .minireviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .game-layout { grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; }
  .game-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 16px; }
  .pc-chip span, .topnav a span { display: none; }
}
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr; }
  .feature { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .feature small { flex-basis: 100%; }
  .game-top { grid-template-columns: 1fr; }
  .game-cover { max-width: 200px; aspect-ratio: 2 / 3; }
  .genres { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 96px; }
  .rform__cols--3 { grid-template-columns: 1fr 1fr; }
  .pcform--full { grid-template-columns: 1fr; }
  .hero__content { padding-top: 60px; }
}
@media (max-width: 640px) {
  .minireviews { grid-template-columns: 1fr; }
  .hero__title { font-size: 30px; }
  .hero__scores { gap: 10px; }
  .score--xl { min-width: 58px; height: 48px; font-size: 26px; }
  .review__pc, .rform__cols, .rform__cols--3 { grid-template-columns: 1fr; }
  .scorepick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bar-row { grid-template-columns: 120px 1fr 36px; font-size: 12px; }
  .seg { margin-left: 0; width: 100%; }
  .section__head { flex-wrap: wrap; }
  .pcform { width: 100%; }
  .pcform .select, .pcform .select select { width: 100%; min-width: 0; }
  .pcform .btn { width: 100%; }
  .scoreboard__main, .scoreboard__side { flex: 1 1 100%; }
  .admin-import { flex-direction: column; }
  .table { font-size: 12.5px; }
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
  .table--sel th:nth-child(2), .table--sel td:nth-child(2) { display: table-cell; }
  .table--sel th:nth-child(3), .table--sel td:nth-child(3) { display: none; }
  .bulkbar [data-bulk-count] { flex-basis: 100%; order: 3; margin: 0; }
  .rform__submit { flex-direction: column; }
}
