/* GameGrab theme — tokens */
:root {
	--bg: #0b0d12;
	--bg-2: #0f1219;
	--surface: #141821;
	--surface-2: #1b2030;
	--line: #232a3a;
	--line-2: #2f384b;
	--text: #edf0f5;
	--text-2: #aeb6c6;
	--muted: #7a8394;
	--grab: #ff5a2c;
	--grab-2: #ff7a52;
	--grab-ink: #1a0d08;
	--ice: #8ec5ff;
	--good: #4fd18a;
	--warn: #ffc857;
	--font-display: "Unbounded", "Manrope", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--r: 10px;
	--r-lg: 16px;
	--wrap: 1240px;
	--ease: cubic-bezier(.2,.7,.2,1);
	--shadow: 0 18px 50px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--ice); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--grab); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); }
h3 { font-size: 1.02rem; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.ta-r { text-align: right; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.wrap--narrow { --wrap: 800px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--grab); color: var(--grab-ink); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grab); margin: 0 0 .75rem; }
.tablewrap { overflow-x: auto; }

/* Скобки-«захват»: сигнатурный элемент */
.grab { position: absolute; top: 0; bottom: 0; width: 14px; pointer-events: none; }
.grab::before, .grab::after { content: ""; position: absolute; left: 0; width: 14px; height: 14px; border: 3px solid var(--grab); }
.grab::before { top: 0; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.grab::after { bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.grab--l { left: 0; }
.grab--r { right: 0; transform: scaleX(-1); }

/* Pills / badges */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font: 600 .78rem/1.2 var(--font-body); color: var(--text-2); white-space: nowrap; font-style: normal; }
.pill .i { width: 13px; height: 13px; }
.pill--steam { background: #1b2838; border-color: #2a475e; color: #c7d5e0; }
.pill--fire { background: color-mix(in srgb, var(--grab) 18%, var(--surface)); border-color: color-mix(in srgb, var(--grab) 40%, var(--line)); color: var(--grab-2); }
.pill--muted { opacity: .6; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; position: relative; padding: 4px 16px; color: var(--text); font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: var(--grab); font-weight: 900; }
.logo:hover { text-decoration: none; }
.logo .logo__bracket { position: absolute; top: 0; bottom: 0; left: 0; width: 10px; transition: transform .25s var(--ease); }
.logo .logo__bracket::before, .logo .logo__bracket::after { content: ""; position: absolute; left: 0; width: 10px; height: 10px; border: 2.5px solid var(--grab); }
.logo .logo__bracket::before { top: 0; border-right: 0; border-bottom: 0; }
.logo .logo__bracket::after { bottom: 0; border-right: 0; border-top: 0; }
.logo .logo__bracket--r { left: auto; right: 0; transform: scaleX(-1); }
.logo:hover .logo__bracket { transform: translateX(-3px); }
.logo:hover .logo__bracket--r { transform: scaleX(-1) translateX(-3px); }
.logo--sm { font-size: 1.05rem; }

.nav__toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.nav__toggle .i { width: 22px; height: 22px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__list a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: .92rem; }
.nav__list a:hover { background: var(--surface); color: var(--text); text-decoration: none; }

.search { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
.search__icon { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); }
.search__input { width: 100%; height: 42px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; }
.search__input::placeholder { color: var(--muted); }
.search__input:focus { border-color: var(--grab); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--grab) 25%, transparent); }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; z-index: 60; }
.search__results--hero { top: calc(100% + 10px); left: 14px; right: 14px; }
.sr-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; color: var(--text); }
.sr-item img { width: 64px; height: 30px; object-fit: cover; border-radius: 4px; background: var(--surface-2); }
.sr-item:hover, .sr-item[aria-selected="true"] { background: var(--surface-2); text-decoration: none; }
.sr-item__price { color: var(--grab); font-weight: 700; }
.sr-item__all { display: block; padding: 10px 12px; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.sr-empty { padding: 14px; color: var(--muted); font-size: .92rem; }
.head-fav { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); }
.head-fav:hover { color: var(--grab); text-decoration: none; border-color: var(--grab); }
.head-fav .i { width: 20px; height: 20px; }
.head-fav__n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--grab); color: var(--grab-ink); font: 700 .7rem/18px var(--font-mono); text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .15s var(--ease), background .15s, border-color .15s; }
.btn:hover { text-decoration: none; background: var(--line-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 18px; height: 18px; }
.btn--grab { background: var(--grab); border-color: var(--grab); color: var(--grab-ink); }
.btn--grab:hover { background: var(--grab-2); border-color: var(--grab-2); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn--lg { min-height: 52px; font-size: 1.05rem; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-bg, none); background-size: cover; background-position: center; opacity: .22; filter: saturate(.8); mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 100%), linear-gradient(#000 60%, transparent); mask-composite: intersect; -webkit-mask-composite: source-in; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 0% 0%, color-mix(in srgb, var(--grab) 16%, transparent), transparent 70%); pointer-events: none; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); gap: 2rem; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 1.2rem + 4vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 1rem; }
.hero__lead { font-size: clamp(1rem, .9rem + .4vw, 1.15rem); color: var(--text-2); max-width: 560px; margin: 0 0 1.5rem; }
.hero__search { position: relative; display: flex; gap: 8px; padding: 10px 24px; max-width: 640px; }
.hero__search .grab { width: 18px; }
.hero__search .grab::before, .hero__search .grab::after { width: 18px; height: 18px; }
.hero__input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 1.05rem; }
.hero__input:focus { border-color: var(--grab); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--grab) 22%, transparent); }
.hero__btn { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--grab); color: var(--grab-ink); font-weight: 800; cursor: pointer; transition: background .15s; }
.hero__btn:hover { background: var(--grab-2); }
.hero__btn .i { width: 20px; height: 20px; }
.hero__hint { margin: .9rem 0 0; padding: 0 24px; font-size: .88rem; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.hero__hint a { color: var(--text-2); }
.hero__card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--text); background: var(--surface); transition: transform .25s var(--ease); }
.hero__card:hover { text-decoration: none; transform: translateY(-4px); }
.hero__card img { width: 100%; aspect-ratio: 460/215; object-fit: cover; }
.hero__card-body { display: block; padding: 14px 16px 16px; }
.hero__card-label { display: block; font: 600 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--grab); margin-bottom: 4px; }
.hero__card-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hero__card-price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.hero__card-price b { font-size: 1.35rem; }
.hero__card-price small { color: var(--grab-2); font-weight: 700; }

/* Sections / grid */
.section { padding: clamp(1.25rem, 3.5vw, 2.5rem) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__note { margin: 0; color: var(--muted); font-size: .9rem; flex-basis: 100%; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: .92rem; }
.more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more:hover .i { transform: translateX(3px); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--row { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.grid--row .card { scroll-snap-align: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 3px solid var(--grab); opacity: 0; transition: opacity .2s, transform .2s var(--ease); z-index: 2; pointer-events: none; }
.card::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; transform: translate(-4px,-4px); }
.card::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; transform: translate(4px,4px); }
.card:hover::before, .card:hover::after, .card:focus-visible::before, .card:focus-visible::after { opacity: 1; transform: none; }
.card__media { position: relative; aspect-ratio: 460 / 215; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__save { position: absolute; right: 10px; top: 10px; background: var(--grab); color: var(--grab-ink); font: 700 .8rem/1 var(--font-mono); padding: 6px 8px; border-radius: 6px; }
.card__flag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(8,10,14,.82); color: var(--grab-2); font: 600 .72rem/1 var(--font-body); padding: 5px 8px; border-radius: 6px; backdrop-filter: blur(6px); }
.card__flag .i { width: 12px; height: 12px; }
.card__flag--steam { color: #c7d5e0; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card__title { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__genres { color: var(--muted); font-size: .8rem; }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 8px; }
.card__price { display: flex; flex-direction: column; line-height: 1.15; }
.card__price s { color: var(--muted); font-size: .78rem; }
.card__price b { font-size: 1.15rem; color: var(--text); }
.card__price small { color: var(--muted); font-size: .78rem; }
.card__meta { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); }
.card__rv { display: inline-flex; align-items: center; gap: 4px; }
.card__rv .i { width: 13px; height: 13px; }
.card__mc { color: var(--good); font-weight: 700; }

/* Banner (sales) */
.banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(90deg, color-mix(in srgb, var(--grab) 14%, var(--surface)), var(--surface) 60%); color: var(--text); }
.banner:hover { text-decoration: none; border-color: var(--grab); }
.banner__label { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--grab-2); }
.banner__label .i { width: 16px; height: 16px; }
.banner__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.banner__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.banner__meta .i { width: 14px; height: 14px; }

/* Stores row */
.stores-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.store-tile { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.store-tile:hover { text-decoration: none; border-color: var(--line-2); }
.store-tile .store-mark { grid-row: 1 / span 2; }
.store-tile__name { font-weight: 700; }
.store-tile__meta { color: var(--muted); font-size: .8rem; }

/* How */
.how h2 { margin-bottom: 1.1rem; }
.how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.how__item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 18px 56px; }
.how__n { position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--grab); font: 700 .85rem var(--font-mono); }
.how__item p { margin: 0; color: var(--text-2); font-size: .92rem; }

/* Breadcrumbs */
.crumbs { padding: 1rem 0 .5rem; font-size: .84rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* Game page */
.game { position: relative; padding-bottom: 3rem; overflow: hidden; }
.game__bg { position: absolute; inset: 0 0 auto; height: 560px; background-size: cover; background-position: center top; opacity: .16; mask-image: linear-gradient(#000, transparent); pointer-events: none; z-index: -1; }
.game__head { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(300px, 360px); gap: 1.5rem 2rem; align-items: start; margin: .5rem 0 1.5rem; }
.game__cover { position: relative; }
.game__cover img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.game__age { position: absolute; left: 10px; top: 10px; background: rgba(8,10,14,.85); color: var(--text); font: 700 .78rem var(--font-mono); padding: 5px 8px; border-radius: 6px; }
.fav { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(8,10,14,.7); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: transform .15s var(--ease), color .15s; }
.fav .i { width: 20px; height: 20px; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--grab); }
.fav[aria-pressed="true"] .i path { fill: currentColor; }
.game__titlebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: .5rem; }
.game__title { margin: 0; }
.badges { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; color: var(--text-2); }
.badge .i { width: 14px; height: 14px; }
.badge--rv { color: var(--text); }
.badge--rv span { color: var(--muted); }
.badge--mc b { color: var(--good); }
.badge--link { padding: 0; }
.badge--link a { padding: 5px 10px; color: var(--text-2); }
.badge--link a:hover { color: var(--text); text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; margin: 0 0 .9rem; font-size: .92rem; }
.facts--col { grid-template-columns: 1fr; }
.facts dt { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 2px 0 0; }
.facts .i { width: 13px; height: 13px; vertical-align: -2px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .8rem; }
.tags a:hover { color: var(--text); border-color: var(--line-2); text-decoration: none; }

.best { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px 20px 18px; box-shadow: var(--shadow); }
.best__label { margin: 0 0 6px; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.best__price { position: relative; display: inline-block; padding: 6px 22px; margin-bottom: 4px; }
.best__price .num { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); font-weight: 700; color: var(--text); line-height: 1; }
.best__price .grab { width: 16px; }
.best__price .grab::before, .best__price .grab::after { width: 16px; height: 16px; }
.best__meta { margin: 0 0 12px; color: var(--text-2); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.best__save { background: color-mix(in srgb, var(--grab) 18%, transparent); color: var(--grab-2); font: 700 .78rem var(--font-mono); padding: 3px 8px; border-radius: 6px; }
.best .btn { width: 100%; }
.best__all { display: block; text-align: center; margin: 10px 0 0; font-size: .86rem; color: var(--text-2); }
.best__empty { color: var(--text-2); margin: 0 0 8px; }
.regions { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); align-items: center; }
.regions__label { flex-basis: 100%; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-mono); }
.regions__item { display: inline-flex; flex-direction: column; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-size: .82rem; line-height: 1.25; }
.regions__item b { font-weight: 600; color: var(--muted); font-size: .72rem; }
.regions__item small { color: var(--grab-2); font-weight: 700; }
.regions__item--na span { color: var(--muted); }
.notify { margin-top: 16px; padding: 14px 16px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.notify__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.notify__title .i { width: 18px; height: 18px; color: var(--grab); }
.notify__label { display: block; font-size: .86rem; color: var(--text-2); margin-bottom: 10px; }
.notify__row { display: flex; flex-direction: column; gap: 8px; }
.notify__row input[type="email"] { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; }
.notify__row .btn { width: 100%; }
.notify__row input:focus { border-color: var(--grab); outline: none; }
.notify__msg { margin: 6px 0 0; font-size: .82rem; color: var(--good); min-height: 1em; }
.notify__msg.is-error { color: var(--warn); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .92rem; margin: 0 0 1.5rem; }
.note .i { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--warn); }
.note--warn { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }

/* Verdict / editions */
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: .95rem; margin: 0 0 1.25rem; }
.verdict b { color: var(--text); }
.verdict__mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; }
.verdict__mark .i { width: 16px; height: 16px; }
.verdict--good { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
.verdict--good .verdict__mark { background: color-mix(in srgb, var(--good) 20%, var(--surface)); color: var(--good); }
.verdict--ok .verdict__mark { background: var(--surface-2); color: var(--ice); }
.verdict--wait { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.verdict--wait .verdict__mark { background: color-mix(in srgb, var(--warn) 20%, var(--surface)); color: var(--warn); }
.editions { margin-bottom: 2rem; }
.edtable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .92rem; }
.edtable th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.edtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.edtable tr:last-child td { border-bottom: 0; }
.edtable td.num { font-weight: 700; }
.regions__item small.muted { color: var(--muted); font-weight: 400; }
.regions__note { margin: 8px 0 0; font-size: .76rem; color: var(--muted); }

/* Offers */
.offers { margin-bottom: 2rem; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; }
.tab { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; cursor: pointer; }
.tab small { color: var(--muted); margin-left: 4px; }
.tab.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab.is-active small { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.otable { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.otable__head, .orow { display: grid; grid-template-columns: 210px minmax(0, 1fr) 90px 160px 130px; gap: 12px; align-items: center; padding: 12px 18px; }
.otable__head { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); }
.orow { border-top: 1px solid var(--line); transition: background .15s; }
.orow:first-of-type { border-top: 0; }
.orow:hover { background: var(--surface-2); }
.orow--best { background: color-mix(in srgb, var(--grab) 7%, var(--surface)); }
.orow--best:hover { background: color-mix(in srgb, var(--grab) 11%, var(--surface)); }
.orow__store { display: flex; align-items: center; gap: 10px; min-width: 0; }
.orow__store b { display: block; }
.orow__store a { color: var(--text); }
.orow__tag { display: block; font-style: normal; font-size: .7rem; color: var(--grab); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.orow__tag--muted { color: var(--muted); }
.store-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line-2); font: 800 .95rem var(--font-display); color: var(--text); flex: 0 0 auto; }
.store-mark--steam { background: #1b2838; color: #c7d5e0; }
.store-mark--steambuy { background: #1d3a5f; color: #9cd0ff; }
.store-mark--ggsel { background: #3a1d5f; color: #d3b3ff; }
.store-mark--zakazaka { background: #5f2f1d; color: #ffc9a8; }
.store-mark--gabestore { background: #1d5f3a; color: #a8ffcc; }
.store-mark--plati { background: #5f4e1d; color: #ffe7a8; }
.store-mark--gamersbase { background: #1d4f5f; color: #a8ecff; }
.store-mark--kupikod { background: #5f1d3a; color: #ffb3d4; }
.store-mark--playerok { background: #2b1d5f; color: #c5b3ff; }
.orow__name { color: var(--text-2); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow__name small { color: var(--muted); margin-left: 6px; }
.orow__region { color: var(--text-2); font-family: var(--font-mono); font-size: .86rem; }
.orow__price { text-align: right; font-size: 1.15rem; font-weight: 700; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.orow__diff { font-size: .72rem; color: var(--grab-2); font-weight: 700; }
.orow__diff--up { color: var(--muted); }
.orow__act { text-align: right; }
.orow--gone { opacity: .55; }
.otable__gone summary { padding: 10px 18px; color: var(--muted); font-size: .88rem; cursor: pointer; border-top: 1px solid var(--line); }
.otable__empty { margin: 0; padding: 18px; color: var(--muted); }

/* History chart */
.history { margin-bottom: 2rem; }
.history__grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; }
.history__facts { display: flex; flex-direction: column; gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.stat__label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.stat b { font-size: 1.2rem; }
.stat b small { color: var(--grab-2); font-size: .78rem; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 1.5rem; }
.chart { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 8px; min-height: 140px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart__empty { margin: 0; color: var(--muted); font-size: .9rem; }
.chart__tip { position: absolute; pointer-events: none; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; font-size: .82rem; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); box-shadow: var(--shadow); }
.chart__tip b { display: block; font-family: var(--font-mono); }
.chart__legend { display: flex; gap: 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.chart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.chart__legend i { width: 14px; height: 2px; background: var(--grab); }
.chart__legend i.steam { background: var(--muted); height: 0; border-top: 2px dashed var(--muted); }
.chart__table { margin-top: 8px; font-size: .82rem; }
.chart__table summary { color: var(--muted); cursor: pointer; }
.chart__table table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.chart__table td { padding: 3px 0; border-top: 1px solid var(--line); color: var(--text-2); }

/* Game body */
.game__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.media { margin-bottom: 2rem; }
.media__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.media__item { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); cursor: zoom-in; scroll-snap-align: start; aspect-ratio: 16 / 9; }
.media__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.media__item:hover img { transform: scale(1.04); }
.media__item--video { cursor: pointer; }
.media__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; translate: -50% -50%; color: #fff; background: rgba(0,0,0,.55); border-radius: 50%; padding: 12px; }
.about, .reqs, .langs, .faq { margin-bottom: 2rem; }
.prose { color: var(--text-2); font-size: 1rem; line-height: 1.65; }
.prose img { border-radius: 8px; margin: 1rem 0; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.5em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--ice); }
.prose--post { font-size: 1.08rem; }
.prose--post h2 { font-size: 1.4rem; }
.prose[data-clamp].is-clamped { max-height: 340px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); }
.clamp-btn { margin-top: 8px; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--text); font-weight: 600; }
.reqs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.reqs__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.prose--req { font-size: .9rem; }
.prose--req ul { padding-left: 0; list-style: none; margin: 0; }
.prose--req li { padding: 6px 0; border-top: 1px solid var(--line); }
.prose--req li:first-child { border-top: 0; }
.prose--req strong { color: var(--text); font-weight: 700; display: block; }
.langs__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.langs__table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.langs__table td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.langs__table td .i { width: 16px; height: 16px; color: var(--good); }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 8px; padding: 0 16px; }
.faq__item summary { padding: 12px 0; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 10px; color: var(--grab); font: 700 1.2rem var(--font-mono); }
.faq__item[open] summary::after { content: "−"; }
.faq__item .prose { padding-bottom: 12px; font-size: .95rem; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 14px; }
.side-box h3 { margin-bottom: .6rem; }
.side-box p { margin: 0; font-size: .9rem; }
.feats, .notes { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--text-2); }
.feats li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.feats .i { width: 16px; height: 16px; color: var(--good); flex: 0 0 auto; margin-top: 3px; }
.notes li { padding: 6px 0 6px 14px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--grab); }

/* Posts */
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--posts-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); transition: transform .2s var(--ease), border-color .2s; }
.pcard:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--line-2); }
.pcard__media { display: block; aspect-ratio: 16/9; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: block; padding: 12px 14px 14px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.pcard__cat { color: var(--grab-2); font-weight: 600; }
.pcard__title { display: block; font-weight: 700; line-height: 1.3; }
.post__head { padding: .5rem 0 1rem; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .88rem; margin: 0 0 .5rem; }
.post__lead { font-size: 1.15rem; color: var(--text-2); }
.post__cover img { border-radius: var(--r-lg); border: 1px solid var(--line); margin: 0 0 1.5rem; }
.post__cover { margin: 0; }
.gamebar { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); margin: 0 0 1.5rem; }
.gamebar:hover { text-decoration: none; border-color: var(--grab); }
.gamebar img { width: 120px; border-radius: 6px; }
.gamebar__label { display: block; font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--grab); }
.gamebar__title { font-weight: 700; }
.gamebar__price { font-weight: 700; }
.gamebar .i { width: 18px; height: 18px; color: var(--muted); }

/* Catalog */
.arch__head { margin: .5rem 0 1rem; }
.arch__count { font: 600 .55em var(--font-mono); color: var(--muted); vertical-align: middle; }
.arch__desc { margin: 0; color: var(--text-2); max-width: 680px; }
.kinds { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 1rem; }
.kinds__item { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .9rem; font-weight: 600; }
.kinds__item:hover { color: var(--text); text-decoration: none; background: var(--surface); }
.kinds__item.is-active { background: var(--grab); color: var(--grab-ink); border-color: var(--grab); }
.catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.filters { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; max-height: calc(100vh - 100px); overflow-y: auto; }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.filters__head h2 { font-size: 1rem; margin: 0; }
.filters__reset { font-size: .82rem; color: var(--grab-2); }
.filters__close { display: none; background: none; border: 0; cursor: pointer; width: 36px; height: 36px; }
.filters__close .i { width: 20px; height: 20px; }
.fset { border: 0; padding: 10px 0; margin: 0; border-top: 1px solid var(--line); }
.fset legend { padding: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); }
.fset__row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fset__row input, .fset__row select { width: 100%; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.fset__row label { flex: 1; }
.fset__list { display: flex; flex-direction: column; gap: 2px; }
.fset__list--tall { max-height: 220px; overflow-y: auto; }
.fset__search { width: 100%; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: .88rem; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.check input { accent-color: var(--grab); width: 16px; height: 16px; margin: 0; }
.check small { color: var(--muted); margin-left: auto; font-size: .76rem; }
.check.is-hidden { display: none; }
.filters__apply { width: 100%; margin-top: 10px; }
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.filters__open { display: none; }
.sortsel { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-left: auto; }
.sortsel select { height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; }
.more-wrap { text-align: center; margin: 1.5rem 0 .5rem; }
.load-more { min-width: 220px; }
.pager { margin: 1rem 0 2rem; display: flex; justify-content: center; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; margin: 0 2px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.pager .page-numbers.current { background: var(--grab); border-color: var(--grab); color: var(--grab-ink); font-weight: 700; }
.pager a.page-numbers:hover { background: var(--surface); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .9rem; font-weight: 600; }
.chip small { color: var(--muted); }
.chip:hover { color: var(--text); text-decoration: none; background: var(--surface); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.seo-text { margin: 2rem 0; max-width: 800px; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-2); max-width: 520px; margin: 0 auto; }
.empty-state .i { width: 18px; height: 18px; vertical-align: -3px; }
.empty-state--404 h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-article { padding: 1rem 0 3rem; }

/* Stores */
.store__head { display: flex; align-items: center; gap: 16px; margin: .5rem 0 1.5rem; flex-wrap: wrap; }
.store__head .store-mark { width: 56px; height: 56px; font-size: 1.4rem; border-radius: 14px; }
.store__head > div { flex: 1; min-width: 240px; }
.store__head h1 { margin: 0 0 4px; }
.store__sub { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; color: var(--muted); font-size: .9rem; }
.store__rating { color: var(--warn); font-weight: 700; }
.store__rating small { color: var(--muted); font-weight: 400; }
.store__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5rem 0; }
.proscons__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.proscons__col ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--text-2); }
.proscons__col li { display: flex; gap: 8px; padding: 5px 0; }
.proscons__col .i { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.proscons__col--pro .i { color: var(--good); }
.proscons__col--con .i { color: var(--grab-2); }
.grid--stores { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.store-card { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.store-card:hover { text-decoration: none; border-color: var(--line-2); }
.store-card .store-mark { width: 44px; height: 44px; font-size: 1.15rem; }
.store-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.store-card__name { font-weight: 700; font-size: 1.05rem; }
.store-card__meta, .store-card__desc { color: var(--muted); font-size: .84rem; }
.store-card__desc { color: var(--text-2); }
.store-card__rating { color: var(--warn); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.store-card__rating small { color: var(--muted); font-weight: 400; }
.reviews { margin-top: 2rem; }
.rlist { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review__head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 6px; }
.review__stars { color: var(--warn); display: inline-flex; gap: 1px; }
.review__stars .i { width: 14px; height: 14px; }
.review__date { color: var(--muted); font-size: .82rem; }
.review__text { color: var(--text-2); font-size: .95rem; }
.review__text p { margin: 0 0 .5em; }
.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.comment-respond h3 { margin-bottom: .8rem; }
.comment-respond label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 4px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.comment-respond p { margin: 0 0 12px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent label { margin: 0; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input label { cursor: pointer; color: var(--line-2); margin: 0; }
.rating-input label .i { width: 26px; height: 26px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--warn); }

/* Sales calendar */
.sales { list-style: none; margin: 1rem 0 2rem; padding: 0; }
.sales__item { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: 10px; }
.sales__item--now { border-color: var(--grab); }
.sales__item--past { opacity: .55; }
.sales__date { display: flex; flex-direction: column; font-family: var(--font-mono); }
.sales__date b { font-size: 1.1rem; }
.sales__date span { color: var(--muted); font-size: .84rem; }
.sales__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.sales__note { color: var(--text-2); font-size: .92rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,12,.92); display: grid; place-items: center; padding: 3vmin; }
.lightbox__body { max-width: 1200px; width: 100%; }
.lightbox__body img, .lightbox__body video { width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.lightbox__close .i { width: 20px; height: 20px; }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; margin: 0 auto; max-width: 560px; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .88rem; color: var(--text-2); }
.cookie p { margin: 0; flex: 1; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0 2rem; background: var(--bg-2); }
.site-foot__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 2rem; }
.site-foot__brand p { color: var(--muted); font-size: .9rem; max-width: 380px; }
.site-foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.about-buy { margin: 0 0 2rem; max-width: 900px; }
.site-foot h3 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-mono); font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 4px 0; }
.site-foot li a { color: var(--text-2); font-size: .92rem; }
.site-foot__note { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0 0; }

/* Responsive */
@media (max-width: 1100px) {
	.game__head { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); }
	.game__cover { grid-column: 1; max-width: 360px; }
	.game__info { grid-column: 1; }
	.best { grid-column: 2; grid-row: 1 / span 2; }
	.game__body, .store__grid { grid-template-columns: 1fr; }
	.otable__head, .orow { grid-template-columns: 170px minmax(0, 1fr) 70px 130px 110px; padding: 12px 14px; }
	.history__grid { grid-template-columns: 1fr; }
	.history__facts { flex-direction: row; flex-wrap: wrap; }
	.history__facts .stat { flex: 1 1 150px; }
	.hero__in { grid-template-columns: 1fr; }
	.hero__card { max-width: 460px; }
}
@media (max-width: 900px) {
	.catalog { grid-template-columns: 1fr; }
	.filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; max-height: none; transform: translateX(-100%); transition: transform .25s var(--ease); }
	.filters.is-open { transform: none; }
	.filters__close, .filters__open { display: inline-flex; }
	.two-col { grid-template-columns: 1fr; }
	.proscons { grid-template-columns: 1fr; }
	.banner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.site-head__in { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
	.search { order: 4; flex-basis: 100%; max-width: none; }
	.nav { margin-left: auto; }
	.nav__toggle { display: inline-flex; }
	.nav__list { display: none; position: absolute; right: 1rem; top: 100%; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px; min-width: 200px; z-index: 60; }
	.nav.is-open .nav__list { display: flex; }
	.hero__search { flex-direction: column; padding: 10px 20px; }
	.hero__btn { width: 100%; justify-content: center; }
	.game__head { grid-template-columns: 1fr; }
	.best { grid-column: 1; grid-row: auto; }
	.otable__head { display: none; }
	.orow { grid-template-columns: 1fr auto; grid-template-areas: "store price" "name name" "region act"; gap: 6px 12px; }
	.orow__store { grid-area: store; }
	.orow__price { grid-area: price; }
	.orow__name { grid-area: name; white-space: normal; }
	.orow__region { grid-area: region; }
	.orow__act { grid-area: act; }
	.orow__act .btn { width: 100%; }
	.site-foot__in { grid-template-columns: 1fr; }
	.site-foot__cols { grid-template-columns: 1fr 1fr; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
	.grid--two { grid-template-columns: 1fr 1fr; }
	.card__body { padding: 10px 12px 12px; }
	.gamebar { grid-template-columns: auto 1fr; }
	.gamebar__price, .gamebar .i { display: none; }
	.sales__item { grid-template-columns: 1fr; }
	.cookie { flex-direction: column; align-items: stretch; }
}

/* Светлая тема */
:root[data-theme="light"] {
	--bg: #f4f5f8; --bg-2: #eceef3; --surface: #ffffff; --surface-2: #f1f3f7; --line: #e1e5ec; --line-2: #cfd5df;
	--text: #14181f; --text-2: #3f4756; --muted: #6b7382; --grab: #e8481c; --grab-2: #ff5c2a; --grab-ink: #ffffff; --ice: #1f6fd1; --good: #1f9d5a; --warn: #c78a00;
	--shadow: 0 14px 40px rgba(20, 24, 31, .12);
}
:root[data-theme="light"] .site-head { background: color-mix(in srgb, #fff 88%, transparent); }
:root[data-theme="light"] .game__bg { opacity: .1; }
:root[data-theme="light"] .hero::before { opacity: .12; }
:root[data-theme="light"] .card__flag { background: rgba(255,255,255,.9); color: var(--grab); }
:root[data-theme="light"] .pill--steam { background: #e6eef7; border-color: #c9d6e6; color: #1b2838; }
.theme-toggle .i { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: block; }
:root[data-theme="light"] .theme-toggle__moon { display: none; }

/* Steam Deck, новости, вишлист */
.pill--deck-3 { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
.pill--deck-2 { color: var(--warn); }
.pill--deck-1 { color: var(--muted); }
.news__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.newsitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.newsitem time { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.newsitem h3 { font-size: .98rem; margin: 0 0 6px; font-family: var(--font-body); }
.newsitem h3 a { color: var(--text); }
.newsitem p { margin: 0; font-size: .88rem; color: var(--text-2); }
.wl-form { position: relative; display: flex; gap: 8px; padding: 10px 24px; max-width: 760px; margin: 0 0 .5rem; }
.wl-form .grab { width: 18px; }
.wl-form .grab::before, .wl-form .grab::after { width: 18px; height: 18px; }
.wl-hint { font-size: .88rem; max-width: 760px; margin: 0 0 1.5rem; }
.wl-result { margin: 1rem 0 2rem; }
.wl-result .stats-row { margin-bottom: 1rem; }
.reviews .comment-respond { margin-top: 1rem; }
@media (max-width: 760px) { .wl-form { flex-direction: column; } .wl-form .hero__btn { width: 100%; justify-content: center; } }

.chips--hubs { margin: .6rem 0 0; }
.subpages { font-size: .92rem; color: var(--muted); }

/* Скины */
.card--skin .card__media--skin { aspect-ratio: 4 / 3; background: radial-gradient(60% 60% at 50% 60%, color-mix(in srgb, var(--rarity, #8b93a7) 22%, var(--surface-2)), var(--surface-2)); display: grid; place-items: center; }
.card--skin .card__media--skin img { width: 88%; height: auto; object-fit: contain; }
.card--skin .card__title .st { color: var(--warn); font-size: .72rem; font-weight: 700; }
.card__flag--wear { color: var(--text); font-family: var(--font-mono); }
.card--skin::before, .card--skin::after { border-color: var(--rarity, var(--grab)); }
.pill--rarity { background: color-mix(in srgb, var(--rarity) 20%, var(--surface)); border-color: color-mix(in srgb, var(--rarity) 45%, var(--line)); color: var(--text); }
.skin__cover { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 60%, color-mix(in srgb, var(--rarity) 25%, var(--surface)), var(--surface)); display: grid; place-items: center; padding: 20px; }
.skin__cover img { width: 90%; height: auto; }
.tab--ghost { border-style: dashed; }
.tabs a.tab { text-decoration: none; }
.sidelist { list-style: none; margin: 0 0 8px; padding: 0; font-size: .9rem; }
.sidelist li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); }
.sidelist li:first-child { border-top: 0; }
.store-mark--marketcsgo { background: #1d5f4a; color: #a8ffe0; }
.store-mark--lisskins { background: #5f1d1d; color: #ffb3b3; }
.store-mark--steammarket { background: #1b2838; color: #c7d5e0; }
.store-mark--own { background: var(--grab); color: var(--grab-ink); }
.store-mark .i { width: 18px; height: 18px; }
.orow--link .orow__price small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.hero__select { height: 54px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 1rem; }
.inv__item { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.inv__item img { width: 48px; height: 36px; object-fit: contain; border-radius: 6px; background: var(--surface-2); }
.edtable tr.is-current td { background: color-mix(in srgb, var(--grab) 8%, transparent); }
.hub-top { margin: 0 0 1.25rem; }
.hub-top .stats-row { margin-bottom: 12px; }
@media (max-width: 720px) { .wl-form { flex-wrap: wrap; } .hero__select { width: 100%; } }
.give-list { display: grid; gap: 10px; margin-bottom: 1.5rem; }
.give { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; }
.give:hover { border-color: var(--grab); }
.give img { width: 120px; height: 56px; object-fit: cover; border-radius: 8px; }
.give__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.give__meta { font-size: .85rem; color: var(--muted); }
.topup-calc { margin: 0 0 1.25rem; }
.topup-calc__label { display: block; font-weight: 700; margin-bottom: 8px; }
.topup-calc__row { display: flex; align-items: center; gap: 10px; max-width: 320px; }
.topup-calc__unit { font-size: 1.2rem; font-weight: 700; }
.topup-table td small { display: block; line-height: 1.3; }
@media (max-width: 720px) { .give { grid-template-columns: 1fr auto; } .give img { display: none; } }
.crate__rar { display: flex; align-items: center; gap: 8px; margin: 1.2rem 0 .5rem; font-size: 1rem; }
.crate__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rarity, #8b93a7); box-shadow: 0 0 10px var(--rarity, transparent); }
.crate__table td { vertical-align: middle; }
.crate__stats { margin-bottom: 12px; }
.stat b.is-good { color: var(--good, #4ade80); }
.related { margin: 1.5rem 0; }
.rel-table img { border-radius: 6px; }
.rel-day { margin-bottom: 1rem; }
.sale-count { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.sale-count__label { color: var(--muted); font-size: .9rem; }
.sale-count__nums { display: flex; align-items: baseline; gap: 6px; font-family: 'JetBrains Mono', monospace; }
.sale-count__nums b { font-size: 1.6rem; } .sale-count__nums small { color: var(--muted); margin-right: 8px; }
.best__upd { font-size: .78rem; margin: 6px 0 0; }
.grid--strip { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-bottom: 1rem; }

/* --- мобильные правки: колонки не распираются контентом, поля не сплющиваются --- */
.game__main, .game__side, .catalog__main, .game__info, .skin__cover, .two-col > *, .history__grid > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose img, .prose video, .prose iframe { max-width: 100%; height: auto; }
@media (max-width: 1100px) {
	.game__body, .store__grid, .history__grid, .hero__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.catalog, .two-col { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.game__head { grid-template-columns: minmax(0, 1fr); }
	.hero__search .hero__input, .wl-form .hero__input, .wl-form .hero__select { flex: none; width: 100%; height: 54px; }
	.wl-form { flex-direction: column; padding: 10px 20px; }
	.card__foot { flex-wrap: wrap; }
	.card__meta { flex-wrap: wrap; gap: 2px 8px; justify-content: flex-end; }
	.catalog__bar { flex-wrap: wrap; }
	.sortsel select { max-width: 100%; }
	.game__title { overflow-wrap: anywhere; }
	.cookie { padding: 10px 12px; gap: 8px; font-size: .85rem; }
	.cookie .btn { height: 38px; }
}

.insights { margin: 0 0 1.25rem; }
.insights .stat small { display: block; margin-top: 2px; font-size: .78rem; }
.site-foot__contacts { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--text-2); }
.site-foot__contacts a { color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* --- донат: лестница номиналов --- */
.srv__head { margin: .5rem 0 1.5rem; }
.srv__kind { margin: 0 0 .4rem; font: 600 .74rem/1 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--grab); }
.srv__head h1 { margin: 0 0 .6rem; }
.ladder { margin: 0 0 2rem; }
.ladder__list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.ladder__row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(0, 2fr) minmax(90px, .7fr) auto; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.ladder__row:first-child { border-top: 0; }
.ladder__row--head { padding: 10px 16px; font: 600 .72rem/1 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ladder__row.is-best { background: color-mix(in srgb, var(--grab) 7%, var(--surface)); }
.ladder__amount b { font-size: 1.15rem; }
.ladder__amount small { display: block; font-size: .76rem; margin-top: 2px; }
.ladder__per { position: relative; display: flex; align-items: center; gap: 10px; min-height: 32px; padding-left: 10px; }
.ladder__bar { position: absolute; left: 0; top: 4px; bottom: 4px; width: var(--w, 0%); border-radius: 6px; background: color-mix(in srgb, var(--text) 9%, transparent); }
.ladder__row.is-best .ladder__bar { background: color-mix(in srgb, var(--grab) 28%, transparent); }
.ladder__per > :not(.ladder__bar) { position: relative; white-space: nowrap; }
.ladder__price { font-size: 1.1rem; font-weight: 700; }
.ladder__act .btn { min-height: 40px; }
.orow--srv { grid-template-columns: minmax(0, 1fr) auto auto; }
.srv-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.srv-card__price { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
	.ladder__row--head { display: none; }
	.ladder__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "amount price" "per per" "act act"; gap: 8px 12px; }
	.ladder__amount { grid-area: amount; } .ladder__price { grid-area: price; } .ladder__per { grid-area: per; } .ladder__act { grid-area: act; }
	.ladder__act .btn { width: 100%; min-height: 44px; }
	.orow--srv { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "price act"; }
	.orow--srv .orow__name { grid-area: name; } .orow--srv .orow__price { grid-area: price; align-items: flex-start; } .orow--srv .orow__act { grid-area: act; }
}
