@font-face {
  font-family: Inter;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20A0-20CF,U+2190-2199;
}
:root {
  color-scheme: dark;
  /* Neutral near-black base, three surface steps, hairline borders, one cool accent. */
  --bg: #08090c;
  --bg-soft: #0c0d11;
  --surface: #111318;
  --surface-2: #171a21;
  --surface-3: #1e222b;
  --field: #0d0f13;
  --line: #ffffff14;
  --line-strong: #ffffff24;
  --line-hover: #ffffff3a;
  --text: #f4f5f7;
  --text-2: #c8ccd4;
  --muted: #8d93a0;
  --accent: #b4bdff;
  --accent-strong: #e1e5ff;
  --accent-soft: #b4bdff1a;
  --accent-line: #b4bdff59;
  --green: #74dcaa;
  --green-soft: #74dcaa14;
  --green-line: #74dcaa42;
  --red: #ff9a9a;
  --red-soft: #ff6b6b17;
  --red-line: #ff6b6b4d;
  --amber: #f3c87f;
  --amber-soft: #f3c87f14;
  --amber-line: #f3c87f45;
  --gold: #f5c96b;
  --surface-raised: var(--surface-3);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 #ffffff0a inset, 0 18px 40px -18px #000000b3;
  --store-ambient: radial-gradient(ellipse 760px 420px at 50% -120px, #b4bdff14, transparent 70%);
  --display: Inter, "Segoe UI", system-ui, sans-serif;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  font-feature-settings: "cv11", "ss01";
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  isolation: isolate;
  position: relative;
  margin: 0;
  background: var(--store-ambient), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: middle; }
img { display: block; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: inherit; letter-spacing: -.03em; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.65; }
small, .muted { color: var(--muted); }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
main { flex: 1; min-height: 580px; }
.topbar { position: sticky; top: 16px; z-index: 3; margin-top: 24px; pointer-events: none; }
.topinner {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0f1116d9;
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow);
  pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 9px; white-space: nowrap; font-size: .9rem; font-weight: 770; letter-spacing: .12em; }
.brand strong { color: var(--accent); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--accent-strong); }
.brand-mark svg { width: 28px; height: 28px; }
body:not([data-admin-theme]) .topinner { background: #0f1116d9; border-color: var(--line); }
body:not([data-admin-theme]) .brand-mark { border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--surface-3), var(--surface)); border-radius: 10px; }
body:not([data-admin-theme]) .brand-mark svg { width: 23px; height: 23px; }
.topinner nav, .header-actions { display: flex; align-items: center; gap: 18px; }
.topinner nav { justify-self: center; }
.topinner nav a, .topinner nav button { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--muted); padding: 6px 2px; font-weight: 610; }
.topinner nav a:hover, .topinner nav button:hover { color: var(--text); }
.topinner nav a.current { color: var(--accent-strong); }
.header-actions { justify-self: end; gap: 6px; }
.header-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s; }
.header-search { width: 42px; padding: 0 !important; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font-weight: 650; line-height: 1.25; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: var(--surface-3); border-color: var(--line-hover); }
.button.primary { color: #0b0c10; border-color: transparent; background: linear-gradient(180deg, #ffffff, #dfe3f0); box-shadow: 0 1px 0 #ffffff inset, 0 10px 28px -12px #b4bdff99; }
.button.primary:hover { background: linear-gradient(180deg, #ffffff, #eef0f8); border-color: transparent; transform: translateY(-1px); box-shadow: 0 1px 0 #ffffff inset, 0 14px 32px -12px #b4bdffb3; }
.button.secondary { background: var(--surface-2); }
.button.secondary:hover { background: var(--surface-raised); }
.button.glass { background: #ffffff0a; border-color: var(--line-strong); backdrop-filter: blur(8px); }
.button.glass:hover { background: var(--surface-raised); }
.button:disabled { opacity: .45; cursor: default; box-shadow: none; pointer-events: none; }
.button.small { min-height: 36px; padding: 6px 11px; font-size: .88rem; }
.button.danger { color: var(--red); }
.button.wide { width: 100%; }
.header-actions :is(.header-admin, .header-search, .header-balance) { background: transparent; border-color: transparent; color: var(--muted); }
.header-actions :is(.header-admin, .header-search, .header-balance):hover { color: var(--text); background: var(--surface-raised); border-color: var(--line); }
.header-orders svg { color: var(--accent); }
.skip { position: fixed; left: 10px; top: 10px; transform: translateY(-200%); z-index: 5; background: var(--surface-3); padding: 10px; }
.skip:focus { transform: none; }
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 424px;
  padding: 55px 12px 48px;
  margin: 6px 0 21px;
  text-align: center;
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: -15px 0 -24px;
  pointer-events: none;
  background: radial-gradient(ellipse 38% 60% at 50% 44%, #b4bdff1f, transparent 70%);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/anonym-hero.svg') center 3px / auto 112% no-repeat;
  filter: drop-shadow(0 12px 16px #03050a99);
  mask-image: linear-gradient(#000 85%, transparent 100%);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 32% 48% at 50% 47%, #08090cd9 8%, #08090c99 55%, transparent 100%);
}
.hero-copy { width: min(100%, 740px); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.25vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.053em;
  font-weight: 720;
  color: var(--text);
}
.hero h1 span { display: block; margin-top: .12em; font-size: .77em; color: transparent; background: linear-gradient(180deg, #e8ebff, #9aa4e8); -webkit-background-clip: text; background-clip: text; }
.hero p { max-width: 370px; margin: 23px auto 25px; color: var(--text-2); font-size: 1.11rem; line-height: 1.45; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-actions .button { min-height: 50px; padding: 0 18px; }
.hero-actions .primary svg { margin-left: 12px; }
.hero-actions .glass { background: #ffffff0a; border-color: var(--line-strong); }
.hero-actions .glass:hover { background: var(--surface-raised); border-color: var(--accent); }
.landing-catalog { padding-bottom: 52px; }
.catalog-heading { margin-bottom: 14px; text-align: center; }
.catalog-heading h2 { font-family: var(--display); font-size: clamp(1.85rem, 3.4vw, 2.8rem); line-height: 1.08; font-weight: 650; }
.catalog-heading p { margin-top: 5px; color: var(--muted); }
.crumbs { min-height: 82px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-weight: 610; padding: 17px 0; }
.crumbs a:hover { color: var(--accent-strong); }
.crumbs [aria-current] { color: var(--text); }
.crumbs > [aria-hidden] { color: var(--muted); }
.catalog-section { margin: 6px 0 66px; }
.catalog-banner {
  position: relative; display: flex; align-items: center; min-height: 270px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 88% 10%, #b4bdff26, transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.catalog-banner::before {
  position: absolute; inset: 0; z-index: -1; content: "";
  background: linear-gradient(92deg, var(--surface) 8%, #111318f0 40%, #11131800 98%),
    url('/images/anonym-hero.svg') right 10% center / auto 180% no-repeat;
}
.catalog-copy { padding: 32px; max-width: 680px; min-width: 0; }
.catalog-copy h1 { font-family: var(--display); font-size: clamp(2rem,4.3vw,3.25rem); line-height: 1.04; font-weight: 680; overflow-wrap: anywhere; }
.catalog-copy p { color: var(--muted); margin: 10px 0 21px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.section-heading h1, .section-heading h2 { font-size: clamp(2rem, 4.3vw, 2.85rem); line-height: 1.1; }
.section-heading p { color: var(--muted); margin-top: 5px; }
.search { display: flex; width: min(100%, 345px); flex: none; align-items: center; padding: 0 15px; gap: 10px; min-height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--field); color: var(--muted); scroll-margin-top: 110px; transition: border-color .18s; }
.search input { width: 100%; background: transparent; border: 0; padding: 9px 0; color: var(--text); outline: 0; }
.search:focus-within { border-color: var(--accent); }
.search input::placeholder { color: var(--muted); }
.catalog-controls { display: flex; align-items: center; margin: 25px 0 24px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 7px; font-weight: 620; }
.chip:hover { background: var(--surface-raised); color: var(--text); }
.chip.selected { background: var(--surface-3); color: var(--text); border-color: var(--line-strong); }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 15px; }
.results-heading h2 { font-size: 1.5rem; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.sort select { color: var(--text); padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.products-section { scroll-margin-top: 112px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.game-card, .product-card {
  display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  /* One colour for the card, the area behind the picture, the shade and the meta bar: when a lifted card's scaled
     picture is rounded to device pixels at 125–150 % scaling, any uncovered row has the same colour and stays invisible. */
  --card-bg: var(--surface);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: border-color .22s, transform .22s;
}
.game-card.selected, .game-card:hover, .product-card:hover { border-color: var(--line-hover); --card-bg: var(--surface-2); }
@media (hover: hover) { .game-card:hover, .product-card:hover { transform: translateY(-2px); } }
.game-card.selected { border-color: var(--accent-line); }
.game-card { position: relative; isolation: isolate; }
.game-art { position: relative; isolation: isolate; overflow: hidden; background: var(--card-bg); aspect-ratio: 16 / 9; }
/* The shade fades into the meta bar's colour and overlaps by 1px; the picture overscans by 1px on every side. */
.game-art::after { position: absolute; inset: -1px; z-index: -1; content: ""; background: linear-gradient(0deg, var(--card-bg) 3%, color-mix(in srgb, var(--card-bg) 86%, transparent) 17%, color-mix(in srgb, var(--card-bg) 38%, transparent) 46%, transparent 76%); }
.game-art .game-image { position: absolute; z-index: -2; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); object-fit: cover; object-position: center 34%; backface-visibility: hidden; }
.game-title { position: absolute; inset: auto 15px 13px; font-family: var(--display); color: var(--text); font-size: clamp(1.1rem,2.35vw,1.72rem); line-height: 1.07; letter-spacing: -.045em; overflow-wrap: anywhere; }
.image-pattern {
  display: grid; place-items: center; position: relative; isolation: isolate; color: var(--accent-strong);
  background: radial-gradient(ellipse at 50% 100%, #b4bdff26, transparent 65%), linear-gradient(160deg, var(--surface-3), var(--surface));
}
.image-pattern::before, .image-pattern::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(47%,156px); aspect-ratio: 1.56;
  border: 1px solid #b4bdff40; border-radius: 12px;
  transform: translate(-50%,-50%) rotate(-11deg);
}
.image-pattern::before {
  background: linear-gradient(145deg, #3a4170, #1b1f33 55%, #2c3359);
  box-shadow: inset 0 1px #ffffff33, 0 15px 26px #00000080;
}
.image-pattern::after {
  z-index: -2; transform: translate(-41%,-55%) rotate(7deg);
  background: linear-gradient(165deg, #2a2f4d, #15171f);
}
.image-pattern svg { width: clamp(27px, 3.2vw, 43px); height: auto; filter: drop-shadow(0 2px 5px #00000099); }
.game-art .image-pattern svg { visibility: hidden; }
.game-art .image-pattern::before, .game-art .image-pattern::after { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-art, .detail-art { position: relative; background: var(--surface-2); overflow: hidden; }
.product-art { aspect-ratio: 16 / 9; background: var(--card-bg); }
.product-art .game-image { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); backface-visibility: hidden; }
.product-art .game-image, .detail-art .game-image { object-fit: cover; object-position: center 34%; }
.detail-art .game-image { width: 100%; height: 100%; }
.game-art img, .product-art img { filter: saturate(.85) contrast(1.04); transition: transform .38s cubic-bezier(.2,.65,.35,1), filter .38s; }
@media (hover: hover) {
  .game-card:hover .game-art img, .product-card:hover .product-art img { transform: scale(1.035); filter: saturate(.98) contrast(1.04); }
}
.badge.platform { position: absolute; right: 10px; top: 10px; padding: 4px 9px; border: 1px solid #ffffff2e; border-radius: 999px; background: #0a0b0ecc; backdrop-filter: blur(8px); color: var(--text); font-size: .76rem; font-weight: 600; }
.product-body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 8px; margin-top: -2px; padding: 20px 17px 13px; background: var(--card-bg); }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .86rem; }
.stock { display: inline-flex; align-items: center; gap: 6px; color: var(--green); white-space: nowrap; padding: 2px 0; }
.stock::before { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.stock strong { font-weight: 700; color: inherit; }
.stock.out { color: var(--red); background: var(--red-soft); border: 1px solid var(--red-line); border-radius: 999px; padding: 2px 10px; font-weight: 650; }
.product-body h3 { color: var(--text); font-family: var(--display); font-size: 1.26rem; font-weight: 640; letter-spacing: -.045em; overflow-wrap: anywhere; }
.product-body .tags { margin-top: 0; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 8px; row-gap: 6px; padding-top: 11px; margin-top: auto; border-top: 1px solid var(--line); }
.card-bottom > span:first-child { color: var(--muted); font-size: .86rem; }
.card-bottom strong { display: block; color: var(--text); font-size: 1.42rem; font-variant-numeric: tabular-nums; }
.card-bottom .button { min-height: 38px; padding: 0; background: none; border: 0; color: var(--accent); font-size: .9rem; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 181px; padding: 25px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.empty-icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--accent); }
.empty-icon svg { width: 22px; height: 22px; }
.empty h3 { font-size: 1.18rem; }
.empty p { color: var(--muted); margin-top: 4px; }
.empty-actions { text-align: center; margin-top: 12px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 6px; margin: 24px 0 16px; color: var(--muted); padding: 3px 0; }
.breadcrumb:hover { color: var(--accent); }
.product-detail { display: grid; grid-template-columns: minmax(230px, 360px) minmax(0, 1fr); align-items: start; gap: 30px; margin: 9px 0 66px; }
.detail-main, .description-panel, .order-panel, .admin-panel, .metrics > div { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-main { min-width: 0; overflow: hidden; background: var(--surface); }
.detail-art { aspect-ratio: 1; border-bottom: 1px solid var(--line); }
.detail-title { padding: 22px clamp(15px,2vw,27px); }
.detail-main h1 { font-family: var(--display); font-size: clamp(1.55rem, 2.65vw, 2.4rem); line-height: 1.08; margin: 0 0 11px; overflow-wrap: anywhere; }
.product-facts { display: flex; flex-wrap: wrap; gap: 6px 13px; }
.product-facts span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .88rem; }
.detail-description, .instructions { overflow-wrap: anywhere; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 3px 10px; color: var(--text-2); font-size: .8rem; overflow-wrap: anywhere; }
.purchase { display: grid; gap: 22px; min-width: 0; }
.product-status p { color: var(--muted); font-size: .88rem; font-weight: 640; margin-bottom: 8px; }
.product-status .stock { font-weight: 650; }
.description-panel { padding: 20px 22px; background: var(--surface); }
.description-panel h2, .plan-section h2 { font-size: 1.17rem; margin-bottom: 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.plan { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; transition: border-color .18s, background .18s; }
.plan:hover { border-color: var(--line-hover); }
.plan.picked { border-color: var(--accent-line); background: var(--accent-soft); }
.plan input { accent-color: var(--accent); margin: 0; }
.plan span { flex: 1; font-weight: 670; overflow-wrap: anywhere; }
.plan small { display: block; margin-top: 2px; }
.plan:has(:disabled) { opacity: .5; cursor: default; }
.purchase-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.purchase-action .button { min-height: 49px; padding: 0 18px; }
.purchase-note { color: var(--muted); font-size: .88rem; }
.purchase-note svg { color: var(--accent); }
.order-panel { max-width: 500px; margin: 12px auto 52px; padding: 25px; text-align: center; }
.order-panel h1 { font-size: 2rem; }
.order-panel > .button { margin-top: 9px; }
.order-panel > .summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); overflow-wrap: anywhere; }
.order-panel .instructions { margin-top: 12px; text-align: left; }
.license { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--green-line); background: var(--green-soft); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--green); font-size: 1.02rem; }
.license code { overflow-wrap: anywhere; text-align: left; }
.pay-split { display: grid; gap: 8px; }
.pay-split > div { display: flex; justify-content: space-between; gap: 12px; }
.pay-split > div span { color: var(--muted); }
.notice { color: var(--amber); background: var(--amber-soft); border: 1px solid var(--amber-line); border-radius: 8px; padding: 8px 10px; font-size: .88rem; }
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .88rem; }
.footer .brand { font-size: .86rem; }
.footer .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer .brand-mark svg { width: 17px; height: 17px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 3px 18px; }
.footer button, .footer a:not(.brand) { color: var(--muted); border: 0; padding: 0; background: none; }
.footer button:hover, .footer a:hover { color: var(--accent); }
.footer-links :is(a, button) { display: inline-flex; align-items: center; min-height: 36px; text-align: left; }
.footer-links a[aria-current="page"] { color: var(--text); }
.legal-page { width: min(100%, 1040px); margin-inline: auto; padding-block: clamp(38px, 7vw, 82px) clamp(48px, 8vw, 104px); }
.legal-header { padding-bottom: clamp(22px, 3.2vw, 40px); border-bottom: 1px solid var(--line); }
.legal-header h1 { color: var(--text); font-size: clamp(2rem, 4.85vw, 4rem); line-height: 1.04; text-wrap: balance; }
.legal-intro { max-width: 64ch; margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.17rem); }
.legal-layout { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); gap: clamp(24px, 5vw, 68px); align-items: start; margin-top: clamp(18px, 3.4vw, 42px); }
.legal-nav { position: sticky; top: 110px; display: grid; gap: 3px; border-inline-start: 1px solid var(--line); padding-inline-start: 11px; }
.legal-nav a { display: flex; min-height: 38px; align-items: center; padding: 6px 10px; border-radius: 6px; color: var(--muted); line-height: 1.3; }
.legal-nav a:hover { background: var(--surface-raised); color: var(--text); }
.legal-body { min-width: 0; color: var(--muted); font-size: 1.05rem; overflow-wrap: anywhere; }
.legal-body section { padding-bottom: 26px; scroll-margin-top: 108px; }
.legal-body section + section { border-top: 1px solid var(--line); padding-top: 25px; }
.legal-body h2 { color: var(--text); font-size: clamp(1.32rem, 2.35vw, 1.68rem); line-height: 1.15; margin-bottom: 10px; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { padding-inline-start: 1.25em; line-height: 1.55; }
.legal-body li + li { margin-top: 5px; }
.legal-body a, .legal-intro a, .form-legal a { color: var(--accent-strong); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-body a:hover, .legal-intro a:hover, .form-legal a:hover { color: var(--text); }
.cookie-list { margin: 15px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.cookie-list > div { display: grid; grid-template-columns: minmax(120px, .75fr) minmax(0, 1.6fr); gap: 6px 16px; padding: 13px 16px; }
.cookie-list > div + div { border-top: 1px solid var(--line); }
.cookie-list dt { color: var(--text); font-weight: 650; }
.cookie-list dd { margin: 0; line-height: 1.5; }
.form-legal { color: var(--muted); font-size: .86rem; line-height: 1.46; }
.dialog { width: min(calc(100% - 28px), 500px); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); border-radius: 18px; padding: clamp(18px,4vw,26px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overscroll-behavior: contain; box-shadow: 0 1px 0 #ffffff0d inset, 0 40px 100px #000000cc; }
.dialog::backdrop { background: #050608c7; backdrop-filter: blur(6px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 13px; }
.dialog-head h2 { font-size: 1.55rem; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); }
.icon-button:hover { background: var(--surface-raised); border-color: var(--accent); }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); overflow-wrap: anywhere; }
.summary small, .admin-row small { display: block; margin-top: 3px; }
.saved-orders { display: grid; gap: 8px; }
.saved-orders a:hover { border-color: var(--accent); }
.steps { padding-left: 20px; margin: 4px 0 17px; color: var(--text-2); line-height: 1.55; }
.steps li + li { margin-top: 7px; }
form { display: flex; flex-direction: column; gap: 11px; }
form label { display: grid; gap: 5px; color: var(--text); text-align: left; font-size: .89rem; }
form :is(input:not([type=checkbox], [type=radio], [type=file]), textarea, select) { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--field); color: var(--text); }
form textarea { min-height: 78px; resize: vertical; }
form .check { display: flex; align-items: center; gap: 8px; }
form .check input { accent-color: var(--accent); }
.form-note { font-size: .83rem; }
.form-error { color: var(--red); }
.form-error:empty { display: none; }
.admin { padding: 30px 0 52px; }
.admin-login { margin-top: 43px; }
.admin-login form { margin-top: 18px; }
.admin-notice { margin-bottom: 13px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 16px; }
.metrics > div { padding: 13px 15px; }
.metrics strong, .metrics span { display: block; }
.metrics span { color: var(--muted); font-size: .82rem; }
.metrics strong { font-size: 1.55rem; margin-top: 3px; }
.admin-tabs { margin-bottom: 11px; }
.admin-panel { padding: 15px; }
.admin-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 13px; }
.admin-list { display: grid; gap: 8px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; background: var(--surface-2); overflow-wrap: anywhere; }
.row-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.admin-item { padding: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.admin-item > .admin-row { border: 0; }
.plan-list { padding: 3px 11px 9px; display: grid; gap: 7px; justify-items: start; }
.subrow { width: 100%; background: var(--surface-3); }
.order-status { color: var(--text-2); font-size: .86rem; }
.order-status.paid { color: var(--green); }
.order-status.canceled { color: var(--red); }
.toast { position: fixed; z-index: 2; bottom: 20px; right: 20px; padding: 12px 16px; background: var(--surface-3); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); box-shadow: 0 20px 50px #000000b3; }
.loading { padding: 42px 0; color: var(--muted); }
.error-page { padding-top: 30px; }
.account-panel { display: grid; gap: 10px; }
.button.text-button { border-color: transparent; background: transparent; color: var(--accent); }
.button.text-button:hover { background: var(--surface-raised); }
.admin-identity { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.order-panel > .muted + .button { margin-top: 17px; }

.category-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 15px 0; border-bottom: 1px solid var(--line); }
.landing-catalog .category-tabs { justify-content: center; margin-bottom: 19px; }
.category-tabs .chip { position: relative; border: 0; border-radius: 0; min-height: 43px; padding: 0 15px; }
.category-tabs .chip.selected { color: var(--accent-strong); background: transparent; }
.category-tabs .chip.selected::after { content: ""; position: absolute; inset: auto 9px 0; height: 2px; background: var(--accent); border-radius: 2px 2px 0 0; }
.category-tabs .chip:hover { color: var(--text); background: #ffffff05; }
.catalog-section .catalog-controls { margin-top: 0; }
.header-balance { color: var(--text-2); }
.markers { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.marker { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border: 1px solid transparent; border-radius: 6px; font-size: .76rem; font-weight: 675; }
.risk-low { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }
.risk-medium { color: var(--amber); border-color: var(--amber-line); background: var(--amber-soft); }
.risk-high { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.marker.recent { border-color: var(--accent-line); color: var(--accent-strong); background: var(--accent-soft); }
.marker.status-green { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }
.marker.status-yellow { color: var(--amber); border-color: var(--amber-line); background: var(--amber-soft); }
.marker.status-red { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.marker.status-blue { color: var(--accent-strong); border-color: var(--accent-line); background: var(--accent-soft); }
.marker.status-neutral { color: var(--text-2); border-color: var(--line); background: var(--surface-2); }
.marker svg { width: 13px; height: 13px; flex: none; }
.risk-note { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: .87rem; }
.rating svg, .rating-choice span[aria-hidden] { color: var(--gold); }
.rating small { font-size: .86em; }
.product-reputation { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.rating-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.rating-field legend { margin-bottom: 7px; color: var(--muted); }
.rating-options { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 5px; }
.rating-choice { position: relative; }
form .rating-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.rating-choice > span { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); cursor: pointer; }
.rating-choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.rating-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wallet-amount strong { display: block; font-size: 1.65rem; margin-top: 3px; }
.wallet-amount > svg { width: 2em; height: 2em; color: var(--accent); }
.topup-presets .chip { background: var(--surface); border-color: var(--line); }
.admin-date { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.admin-date label { flex: 1 1 150px; }
.admin-date .button { min-height: 40px; }

@media (max-width: 860px) {
  .shell { width: calc(100% - 36px); }
  .topinner { gap: 12px; padding: 8px 12px; min-height: 64px; }
  .topinner nav { gap: 12px; }
  .header-actions .button { min-height: 44px; }
  .header-search { width: 44px; }
  .header-actions .header-balance { display: none; }
  .hero { min-height: 393px; }
  .hero-art::before { background-size: auto 112%; }
  .game-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(175px, .85fr) minmax(0, 1.35fr); gap: 14px; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sort span { display: none; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .topbar { top: max(6px,env(safe-area-inset-top)); margin-top: max(8px,env(safe-area-inset-top)); }
  .topinner { display: flex; justify-content: space-between; min-height: 58px; padding: 6px 8px; gap: 4px; border-radius: 10px; }
  .brand { font-size: .82rem; gap: 5px; letter-spacing: .08em; }
  .brand-mark { width: 32px; height: 32px; flex: none; border-radius: 8px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .topinner nav { gap: 0; margin-left: auto; }
  .topinner nav a { font-size: .83rem; min-height: 44px; padding-inline: 8px; }
  .topinner nav .nav-help, .topinner nav a svg, .topinner nav a[href="/"], .header-actions .header-search { display: none; }
  .header-actions .button { min-height: 44px; padding: 0 8px; gap: 5px; font-size: .8rem; }
  .hero { min-height: 315px; padding: 39px 5px 30px; margin: 3px 0 10px; }
  .hero-art { inset: -4px -7px -18px; }
  .hero-art::before { background-size: min(111vw,495px) auto; background-position: center 3px; }
  .hero-art::after { background: radial-gradient(ellipse 48% 40% at 50% 50%, #08090cd1, #08090c66 70%, transparent); }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.45rem); }
  .hero p { max-width: 315px; font-size: .99rem; margin: 14px auto 18px; }
  .hero-actions .button { min-height: 46px; padding: 0 13px; }
  .hero-actions .primary svg { margin-left: 2px; }
  .landing-catalog { padding-bottom: 30px; }
  .category-tabs, .landing-catalog .category-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .category-tabs .chip { flex: none; min-height: 44px; white-space: nowrap; padding-inline: 10px; font-size: .85rem; }
  .category-tabs .chip:focus-visible { outline-offset: -2px; }
  .catalog-section { margin-top: 0; }
  .crumbs { min-height: 56px; font-size: .85rem; gap: 6px; overflow-wrap: anywhere; }
  .catalog-banner { min-height: 218px; }
  .catalog-banner::before { background-position: center, right -28px center; }
  .catalog-copy { padding: 18px 13px; }
  .catalog-copy h1 { font-size: 1.58rem; }
  .catalog-copy p { margin-bottom: 14px; font-size: .94rem; }
  .catalog-controls { margin: 12px auto 17px; min-width: 0; }
  .catalog-controls .chips { min-width: 0; flex-wrap: nowrap; overflow-x: auto; gap: 2px; scrollbar-width: thin; }
  .catalog-controls .chip { flex: none; font-size: .83rem; min-height: 44px; padding: 0 8px; gap: 4px; white-space: nowrap; }
  .catalog-controls .chip svg { width: 13px; height: 13px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .game-grid, .product-grid { gap: 9px; }
  .game-card, .product-card { border-radius: 8px; }
  .game-title { inset: auto 8px 8px; font-size: 1.04rem; }
  .product-body { padding: 10px 8px 7px; }
  .product-body h3 { font-size: 1.05rem; }
  .card-bottom .button { min-height: 36px; font-size: .82rem; }
  .results-heading { flex-wrap: wrap; }
  .product-detail { grid-template-columns: 1fr; gap: 17px; }
  .detail-art { aspect-ratio: 16 / 9; }
  .detail-title, .description-panel, .order-panel { padding: 14px; }
  .purchase { gap: 16px; }
  .purchase-action .button { width: 100%; }
  .search input, form :is(input:not([type=checkbox], [type=radio], [type=file]), textarea, select) { font-size: 16px; }
  .button, .icon-button { min-height: 44px; }
  .footer-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: max(12px,env(safe-area-inset-bottom)); min-height: 66px; }
  .footer-inner > .muted { display: none; }
  .footer-links { width: 100%; justify-content: flex-start; gap: 0 14px; }
  .footer-links :is(a, button) { min-height: 40px; }
  .legal-header h1 { text-wrap: wrap; overflow-wrap: anywhere; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 5px; }
  .legal-nav a { min-height: 44px; padding-inline: 8px; font-size: .92rem; }
  .legal-body { font-size: 1rem; }
  .legal-body section { scroll-margin-top: 80px; }
  .cookie-list > div { grid-template-columns: minmax(0, 1fr); }
  .admin-row { flex-wrap: wrap; }
  .admin-list .row-actions { flex-basis: auto; }
  .metrics > div { padding: 9px; }
  .admin-panel { padding: 9px; }
}
@media (max-width: 360px) {
  .header-orders svg { display: none; }
  .topinner { padding-inline: 6px; }
  .topinner nav a, .header-actions .button { padding: 0 6px; }
  .game-grid, .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.password-field { display: grid; gap: 5px; }
.password-control { position: relative; }
form .password-control input { padding-right: 49px; }
.password-toggle { position: absolute; display: grid; place-items: center; inset: 0 0 0 auto; width: 43px; background: none; border: 0; color: var(--muted); border-radius: 7px; }
.password-toggle:hover { color: var(--accent); }
.password-toggle:focus-visible { outline-offset: -3px; }
.password-strength { --strength-width: 0%; --strength-color: var(--accent); display: grid; gap: 4px; margin: 3px 0 1px; }
.strength-track { height: 4px; overflow: hidden; border-radius: 3px; background: var(--line); }
.strength-track::before { content: ""; display: block; height: 100%; width: var(--strength-width); background: var(--strength-color); transition: width .15s; }
.password-strength[data-level="1"] { --strength-width: 25%; --strength-color: #e06c6c; }
.password-strength[data-level="2"] { --strength-width: 50%; --strength-color: #e3a24f; }
.password-strength[data-level="3"] { --strength-width: 75%; --strength-color: #b6c95a; }
.password-strength[data-level="4"] { --strength-width: 100%; --strength-color: #5fcf98; }
form :is(input, textarea)::placeholder { color: var(--muted); opacity: .79; }
html:has(.cookie-notice:not([hidden])) { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.cookie-notice {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  padding: 16px max(32px, calc((100% - 1200px) / 2), env(safe-area-inset-right))
    calc(16px + env(safe-area-inset-bottom)) max(32px, calc((100% - 1200px) / 2), env(safe-area-inset-left));
  border-top: 1px solid var(--line-strong);
  background: #111318f2;
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 40px #00000066;
}
.cookie-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--accent-strong); background: var(--surface-3); }
.cookie-icon svg { width: 22px; height: 22px; }
.cookie-copy h2 { font: 640 1.02rem/1.24 var(--display); letter-spacing: -.025em; }
.cookie-copy p { margin-top: 4px; color: var(--text-2); font-size: .96rem; line-height: 1.4; }
.cookie-actions { display: flex; gap: 20px; align-items: center; }
.cookie-details { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-hover); }
.cookie-details:hover { color: #fff; }
.cookie-actions .button { min-height: 44px; min-width: 116px; }
/* The meta bar overlaps the picture by 2px: at 125–150 % scaling a lifted card's edges are anti-aliased, and a shared edge
   between two blocks shows as a light hairline. With the overlap there is no shared edge left to show. */
.game-meta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 49px;
  margin-top: -2px; padding: 9px 13px 7px; background: var(--card-bg); text-align: left; }
.game-arrow { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2); color: var(--text); transition: transform .22s, background-color .22s; }
.game-card:hover .game-arrow, .game-card.selected .game-arrow { transform: translateX(3px); }
.game-card.selected .game-arrow { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-strong); }
@media (max-width: 1020px) {
  .header-actions .header-balance { display: none; }
}
@media (max-width: 640px) {
  .header-admin { width: 42px; padding: 0; }
  .header-admin span { display: none; }
  html:has(.cookie-notice:not([hidden])) { scroll-padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .cookie-notice { grid-template-columns: auto minmax(0, 1fr); gap: 9px 12px; padding: 12px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .cookie-icon { width: 36px; height: 36px; }
  .cookie-icon svg { width: 19px; height: 19px; }
  .cookie-copy p { font-size: .88rem; }
  .cookie-actions { grid-column: 1 / -1; justify-content: space-between; }
  .cookie-actions .button { min-width: min(48%, 180px); }
  .game-meta { padding-inline: 7px; gap: 5px; }
  .game-meta small { font-size: .78rem; }
  .game-arrow { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  .topinner:has(.header-admin) nav { display: none; }
}

.checkout-contact { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; }
.checkout-contact legend { font-weight: 650; margin-bottom: 4px; }
.checkout-contact .text-button { justify-self: start; padding-inline: 0; }
.email-notice { background: var(--amber-soft); border-bottom: 1px solid var(--amber-line); color: var(--amber); }
.email-notice-inner { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.email-notice-inner p { display: flex; align-items: center; gap: 8px; margin: 0; flex: 1; font-size: .92rem; }
.email-notice-inner p svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) { .email-notice-inner { flex-wrap: wrap; } .email-notice-inner p { flex-basis: calc(100% - 52px); } }

.account-data { display: grid; gap: 10px; margin: 0; }
.account-data > div { display: grid; gap: 4px; }
.account-data dt { color: var(--muted); font-size: .85rem; }
.account-data dd { display: flex; align-items: center; gap: 8px; margin: 0; }
.account-data code { flex: 1; overflow-wrap: anywhere; white-space: pre-wrap; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.paid-content { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }

/* Markdown content */
.markdown { line-height: 1.65; overflow-wrap: anywhere; }
.markdown > * + * { margin-top: .8em; }
.markdown h2, .markdown h3, .markdown h4 { line-height: 1.25; margin-top: 1.3em; }
.markdown h2 { font-size: 1.25rem; }
.markdown h3 { font-size: 1.1rem; }
.markdown h4 { font-size: 1rem; }
.markdown > :first-child { margin-top: 0; }
.markdown ul, .markdown ol { padding-left: 1.4em; }
.markdown li + li { margin-top: .3em; }
.markdown a { color: var(--accent-strong, var(--accent)); text-decoration: underline; text-underline-offset: 3px; }
.markdown blockquote { border-left: 3px solid var(--accent); padding: 2px 0 2px 14px; color: var(--muted); }
.markdown code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.markdown pre { overflow-x: auto; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .35); }
.markdown pre code { padding: 0; background: none; }
.markdown hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.md-media { margin: 1.1em 0; }
.md-media video, .md-media img, .md-inline-media video, .md-inline-media img { display: block; width: 100%; max-height: 70vh; border-radius: 12px; background: #000; }
.md-inline-media { display: block; margin: .6em 0; }
.md-media figcaption { margin-top: 6px; color: var(--muted); font-size: .88rem; text-align: center; }
.instructions h2 { font-size: 1.05rem; }

/* Narrow phones: the header keeps the mark, «Каталог», «Туториалы» and the account button. */
@media (max-width: 480px) {
  .topinner .brand > span:not(.brand-mark) { display: none; }
  .topinner nav a { padding-inline: 7px; }
}
.order-panel h1 + .muted { margin: 4px 0 18px; }

/* Экран блокировки */
.banned { display: grid; gap: 12px; text-align: center; }
.banned p { overflow-wrap: anywhere; }
.empty-icon.danger { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }

/* Ловушка для ботов: поле есть в форме, но человеку его не видно */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Галочка согласия с документами */
.consent-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--muted); font-size: .85rem; line-height: 1.45; font-weight: 400; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent-check a { color: var(--accent-strong); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.consent-check a:hover { color: var(--text); }
.legal-meta { margin-top: 12px; color: var(--muted); font-size: .86rem; }
.legal-intro p + p { margin-top: 8px; }
.legal-body ol { padding-inline-start: 1.35em; line-height: 1.55; }
.legal-body strong { color: var(--text-2); }

/* Иконки платформ (platform-icons.js или картинка из медиатеки) */
.platform-icon { width: 15px; height: 15px; flex: none; object-fit: contain; }
.badge.platform { display: inline-flex; align-items: center; gap: 5px; }
.badge.platform .platform-icon { width: 13px; height: 13px; }
.product-facts span { display: inline-flex; align-items: center; gap: 6px; }

/* Лента скриншотов на странице товара и просмотр на весь экран */
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px clamp(12px, 2vw, 20px) 0; scrollbar-width: thin; }
.gallery-thumb { position: relative; flex: none; width: 104px; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); cursor: zoom-in; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { border-color: var(--accent-line); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); background: #0000004d; }
.gallery-play svg { width: 26px; height: 26px; }
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #050608f2; color: var(--text); }
.lightbox::backdrop { background: #000000cc; }
.lightbox-frame { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px clamp(12px, 6vw, 80px); }
.lightbox-frame img, .lightbox-frame video { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; touch-action: pan-y; }
.lightbox .icon-button { position: absolute; background: #0a0b0ecc; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .88rem; }

/* Снег с 1 декабря по 7 января (snow.js): за текстом, поверх фона и маски */
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero > .snow { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent); }
.hero-copy, .catalog-copy, .admin-banner .admin-identity { position: relative; z-index: 1; }

/* Top-up in another currency: method picker in the top-up dialog and the request page. */
.pay-methods { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 7px; color: var(--text-2); font-size: .9rem; }
.pay-methods .plan { min-height: 54px; }
.pay-estimate { margin: -2px 0 10px; padding: 9px 11px; border: 1px solid var(--accent-line); border-radius: var(--radius-sm); background: var(--accent-soft); font-size: .9rem; }
.transfer-panel { text-align: left; }
.transfer-panel > .empty-icon, .transfer-panel > h1, .transfer-panel > h1 + .muted { text-align: center; }
.transfer-panel > .empty-icon { margin-inline: auto; }
.transfer-panel > .summary + .summary { margin-top: 8px; }
.transfer-panel h2 { margin: 18px 0 9px; font-size: 1.1rem; }
.transfer-panel .steps { margin-top: 16px; }
.pay-total { display: inline-flex; align-items: center; gap: 6px; font-size: 1.08rem; }
.requisites dd code { font-size: .98rem; }
.proof-upload { margin-top: 6px; cursor: pointer; }
.proof-upload.busy { pointer-events: none; opacity: .7; }
.transfer-details { margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.transfer-details summary { cursor: pointer; font-weight: 650; }
.transfer-details p { margin: 10px 0; }
