@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

/* одна тема: графит + один красный акцент (выбор владельца 03.11, без радужных переливов); на акценте — тёмный текст */
:root {
  --bg: #0a0a0c;
  --surface: #131316;
  --surface-2: #18181c;
  --surface-3: #202025;
  --line: #24242a;
  --line-2: #313139;
  --text: #f4f4f6;
  --muted: #8f8f99;
  --accent: #ff3b4a;
  --accent-rgb: 255, 59, 74;
  --accent-soft: #ff9aa2;
  --accent-ink: #1a0204;
  --accent-deep: #9f1239;
  --g1: #ff5c69;
  --g2: #e11d2e;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));
  --radius: 16px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
/* другие акценты — для выбора (предпросмотр: /?accent=lime, переключатель внизу слева) */
:root[data-accent="lime"] { --accent: #a3e635; --accent-rgb: 163, 230, 53; --accent-soft: #d9f99d; --accent-ink: #0f1a02;
  --accent-deep: #4d7c0f; --g1: #bef264; --g2: #84cc16; }
:root[data-accent="orange"] { --accent: #ff7a1a; --accent-rgb: 255, 122, 26; --accent-soft: #ffb37a; --accent-ink: #160b02;
  --accent-deep: #c2410c; --g1: #ff9a3c; --g2: #ff6a10; }
:root[data-accent="gold"] { --accent: #f5c542; --accent-rgb: 245, 197, 66; --accent-soft: #fde68a; --accent-ink: #1a1302;
  --accent-deep: #a16207; --g1: #fcd34d; --g2: #eab308; }
:root[data-accent="blue"] { --accent: #4cc9ff; --accent-rgb: 76, 201, 255; --accent-soft: #a5e4ff; --accent-ink: #021520;
  --accent-deep: #0369a1; --g1: #7dd3fc; --g2: #0ea5e9; }
:root[data-accent="white"] { --accent: #f4f4f6; --accent-rgb: 244, 244, 246; --accent-soft: #ffffff; --accent-ink: #0a0a0c;
  --accent-deep: #52525b; --g1: #ffffff; --g2: #d4d4d8; }
.brand-mark rect, .brand-mark path { stroke: none; }
.brand-mark .lg1 { stop-color: var(--g1); }
.brand-mark .lg2 { stop-color: var(--g2); }
.brand-mark .lz { fill: var(--accent-ink); }
.palette { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 26; display: flex; gap: 6px;
  padding: 8px; border-radius: 16px; background: rgba(19, 19, 22, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); animation: chipIn .35s var(--spring); }
.palette button { width: 34px; height: 34px; border-radius: 10px; border: 2px solid transparent; background: var(--c);
  transition: transform .25s var(--spring), border-color .2s; }
.palette button:hover { transform: translateY(-2px); }
.palette button.on { border-color: #fff; box-shadow: 0 0 0 2px var(--bg) inset; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
/* overflow-x: clip — повёрнутые предметы и подписи витрины не делают страницу шире экрана (на телефоне это растягивало
   страницу); режем по краю экрана, а не по рамке витрины — иначе у свечения виден шов. clip, а не hidden: липкая
   панель фильтров продолжает работать */
main { flex: 1; position: relative; z-index: 1; overflow-x: clip; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); font-weight: 700; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* фон: сетка и плавающие пятна света */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .22; animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 560px; height: 560px; background: var(--accent); top: -260px; left: -160px; }
.o2 { width: 440px; height: 440px; background: var(--accent-deep); top: -160px; right: -160px; opacity: .14; animation-delay: -7s; }
.o3 { width: 380px; height: 380px; background: #f4f4f6; top: 420px; left: 45%; opacity: .035; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(.94); } }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(8, 9, 13, .72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top-row { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { transition: transform .5s var(--spring); filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb),.45)); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { font-weight: 800; font-size: 23px; letter-spacing: -.03em; }
.brand-name b, .grad { color: var(--accent); }
/* слово-акцент в заголовке: подчёркивание мазком, прорисовывается при загрузке */
.grad { position: relative; white-space: nowrap; }
.grad::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: .1em;
  background: var(--accent); opacity: .35; transform-origin: left; animation: stroke .9s var(--ease) .3s both; }
@keyframes stroke { from { transform: scaleX(0); } }
.brand.small .brand-name { font-size: 18px; }
.search { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; max-width: 580px; margin: 0 auto;
  height: 44px; padding: 0 12px; background: rgba(17, 20, 28, .8); border: 1px solid var(--line); border-radius: 13px;
  transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.15); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; }
.search input::placeholder { color: var(--muted); }
.search kbd { font: 700 11px/1 "Montserrat", sans-serif; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 4px 7px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; font-weight: 700;
  transition: border-color .2s, transform .2s var(--spring); }
.cart-btn:hover { border-color: var(--accent); }
.cart-btn:active { transform: scale(.95); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn.bump { animation: bump .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-4deg); } 60% { transform: scale(.96); } }
.badge { position: absolute; top: -8px; right: -8px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px;
  background: var(--grad); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--bg), 0 4px 14px rgba(var(--accent-rgb),.6); }

/* первый экран */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); color: var(--accent-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
  animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin: 18px 0 14px; font-size: clamp(32px, 5vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero p { margin: 0; max-width: 520px; color: var(--muted); font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-main { position: relative; display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 14px;
  background: var(--grad); color: var(--accent-ink); font-weight: 800; text-decoration: none; overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(var(--accent-rgb),.7); transition: transform .25s var(--spring), box-shadow .25s; }
.btn-main::after, .pay-btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  animation: sweep 3.5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(var(--accent-rgb),.8); }
.btn-ghost { height: 50px; padding: 0 22px; border-radius: 14px; background: rgba(23, 27, 38, .7); border: 1px solid var(--line-2);
  font-weight: 700; transition: border-color .2s, transform .25s var(--spring); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, max-content); gap: 28px; padding: 0; margin: 32px 0 0; }
.stats b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 13px; }

/* без обрезки по рамке: от выхода за экран страницу защищает main { overflow-x: clip } */
.stage { position: relative; aspect-ratio: 1 / .82; perspective: 900px; }
@media (hover: none) { .float .tag { display: none; } }
.ring { position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.35), rgba(var(--accent-rgb), .06) 45%, transparent 70%);
  animation: breathe 6s ease-in-out infinite; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1);
  animation: spin 40s linear infinite; }
.ring::after { inset: 20%; border-style: solid; border-color: rgba(var(--accent-rgb),.18); animation-duration: 26s; animation-direction: reverse; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }
.showcase { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .4s var(--ease); }
.float { position: absolute; width: 46%; cursor: pointer; animation: float 6s ease-in-out infinite;
  animation-delay: var(--d, 0s); opacity: 0; }
.float.ready { opacity: 1; transition: opacity .8s; }
.float img { width: 100%; height: auto;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px color-mix(in srgb, var(--rc, transparent) 55%, transparent));
  transform: rotate(var(--r, 0deg)); transition: transform .4s var(--spring); }
.float[data-game="dota"] img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.float:hover img { transform: rotate(var(--r, 0deg)) scale(1.08); }
.float .tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap;
  padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; background: rgba(17, 20, 28, .85);
  border: 1px solid var(--line-2); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s, transform .25s; }
.float:hover .tag { opacity: 1; transform: translateX(-50%) translateY(-6px); }
.float:nth-child(1) { left: 2%; top: 12%; --r: -18deg; --d: 0s; }
.float:nth-child(2) { right: 0; top: 4%; --r: 14deg; --d: -1.5s; width: 42%; }
.float:nth-child(3) { left: 28%; top: 38%; --r: -6deg; --d: -3s; width: 50%; z-index: 2; }
.float:nth-child(4) { left: 0; bottom: 2%; --r: 10deg; --d: -4.5s; width: 38%; }
.float:nth-child(5) { right: 2%; bottom: 6%; --r: -12deg; --d: -2.2s; width: 38%; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

/* «Недавно купили» — бегущая строка на всю ширину, края растворяются, на наведение — пауза */
.recent { padding: 6px 0 14px; }
.recent-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.recent-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.recent-row { display: flex; gap: 10px; width: max-content; animation: marquee var(--dur, 50s) linear infinite; }
.recent-track:hover .recent-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.rc { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px 0 8px; border-radius: 14px; text-align: left;
  background: rgba(19, 19, 22, .85); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--spring); }
.rc:hover { border-color: color-mix(in srgb, var(--rc) 50%, var(--line-2)); transform: translateY(-2px); }
.rc img { width: 54px; height: 40px; object-fit: contain; border-radius: 6px;
  background: radial-gradient(circle, color-mix(in srgb, var(--rc) 28%, transparent), transparent 70%); }
.rc span { display: grid; line-height: 1.25; }
.rc b { font-size: 13px; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc small { font-size: 11px; color: var(--muted); }

/* как купить */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.step { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius);
  background: rgba(17, 20, 28, .7); border: 1px solid var(--line); backdrop-filter: blur(6px);
  transition: border-color .25s, transform .3s var(--spring); }
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; background: var(--grad);
  box-shadow: 0 8px 20px -6px rgba(var(--accent-rgb),.7); }
.step-ico svg { width: 22px; height: 22px; color: var(--accent-ink); }
.step b { display: block; }
.step span { color: var(--muted); font-size: 13px; }

/* каталог */
.catalog { padding-top: 28px; }
.catalog-head { display: flex; align-items: baseline; gap: 14px; }
.catalog-head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.found { color: var(--muted); font-size: 14px; }
.controls { position: sticky; top: 68px; z-index: 20; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px;
  align-items: center; padding: 12px 0; margin-top: 6px; background: rgba(10, 10, 12, .88);
  backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 100vmax rgba(10, 10, 12, .88);
  clip-path: inset(0 -100vmax -1px); }
.controls .chips { grid-column: 1 / -1; }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 8px 18px; border-radius: 10px; font-weight: 700;
  color: var(--muted); transition: color .25s; }
.tab.active { color: var(--text); }
.tab-ink { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 14px rgba(0, 0, 0, .3); transition: transform .35s var(--spring), width .35s var(--spring); }
.filters { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.price-range { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.price-range input, .select select { height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 0 12px; outline: 0; transition: border-color .2s; }
.price-range input { width: 112px; -moz-appearance: textfield; }
.price-range input::-webkit-inner-spin-button, .price-range input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.price-range input:focus, .select select:focus { border-color: var(--accent); }
.select { position: relative; }
.select select { appearance: none; padding-right: 34px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s, border-color .2s, background .2s, transform .25s var(--spring); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip:active { transform: scale(.94); }
.chip.active { color: var(--accent-ink); border-color: transparent; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb),.8); }
.chip.enter { animation: chipIn .35s var(--spring) both; animation-delay: calc(var(--i) * 25ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.9); } }

/* износ и StatTrak™ (скины CS2) */
.wears { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; animation: chipIn .3s var(--spring); }
.wears-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); }
.seg button { min-width: 42px; height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: none;
  font-size: 12px; font-weight: 800; color: var(--muted); transition: color .2s, background .2s, transform .25s var(--spring); }
.seg button:hover:not(:disabled) { color: var(--text); background: var(--surface-3); }
.seg button.on { color: var(--accent-ink); background: var(--grad); box-shadow: 0 4px 12px -4px rgba(var(--accent-rgb), .8); }
.seg button:disabled { opacity: .3; cursor: default; }
.st-toggle { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 800; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.st-toggle:hover { color: var(--text); border-color: var(--line-2); }
/* StatTrak™ — свой оранжевый, как в игре */
.st-toggle.on { color: #ffb27a; border-color: #cf6a32; background: rgba(207, 106, 50, .14); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; padding: 8px 0 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms);
  transition: transform .35s var(--spring), border-color .25s, box-shadow .35s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--rc) 40%, var(--line-2));
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 1px color-mix(in srgb, var(--rc) 18%, transparent); }
/* пятно света идёт за курсором (координаты --mx/--my ставит app.js) */
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .07), transparent 60%); }
.card:hover::after { opacity: 1; }
.card-pic { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--rc) 20%, transparent), transparent 66%); }
.card-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .05) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.card-pic.loaded::before, .card-pic.noimg::before { display: none; }
.card-pic img { position: relative; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.9);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: opacity .45s var(--ease), transform .55s var(--spring); }
.card-pic.loaded img { opacity: 1; transform: none; }
.card:hover .card-pic.loaded img { transform: scale(1.08) rotate(-3deg); }
.card[data-game="dota"] .card-pic img { border-radius: 10px; }
.card-pic.noimg::after { content: ""; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  background: url("/logo.svg?v=3") center / contain no-repeat; opacity: .13; }
.game-tag { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 4px 8px; border-radius: 7px; background: rgba(8, 9, 13, .6); color: #cfd5e2; backdrop-filter: blur(6px); }
.rarity-bar { height: 2px; background: var(--rc); opacity: .75; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-title { font-weight: 700; font-size: 14px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.64em; }
.card-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.add { position: relative; flex-shrink: 0; width: 40px; height: 40px; border: 0; border-radius: 12px; color: var(--accent-ink); background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(var(--accent-rgb),.9);
  transition: transform .3s var(--spring), box-shadow .25s, background .25s; }
.add:hover { transform: scale(1.08) rotate(90deg); }
.add:active { transform: scale(.88); }
.add svg { width: 20px; height: 20px; stroke-width: 2.6; }
.add.in { background: var(--surface-3); color: #34d399; box-shadow: inset 0 0 0 1px var(--line-2); }
.add.in:hover { transform: scale(1.06); }
.add.pop { animation: pop .45s var(--spring); }
@keyframes pop { 40% { transform: scale(1.25); } }

.skeleton { pointer-events: none; animation: none; }
.skeleton .card-pic { background: none; }
.sk-line { height: 12px; border-radius: 6px; background: var(--surface-3); position: relative; overflow: hidden; }
.sk-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

.more { min-height: 40px; display: grid; place-items: center; }
.more-btn { height: 48px; padding: 0 26px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2);
  font-weight: 800; transition: border-color .2s, transform .25s var(--spring); animation: chipIn .35s var(--spring); }
.more-btn span { color: var(--muted); font-weight: 700; margin-left: 6px; }
.more-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 50px 0; color: var(--muted); text-align: center; }
.empty img { opacity: .25; }

/* вопросы и ответы */
.faq { padding-top: 48px; }
.faq h2 { margin: 0 0 16px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.faq details { border-radius: var(--radius); background: rgba(19, 19, 22, .8); border: 1px solid var(--line);
  transition: border-color .25s, background .25s; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: rgba(var(--accent-rgb), .45); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(19, 19, 22, .8)); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .3s var(--spring), border-color .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; border-color: var(--accent); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.6;
  animation: chipIn .35s var(--ease); }

/* подвал */
.foot { position: relative; z-index: 1; margin-top: 40px; border-top: 1px solid var(--line); background: rgba(8, 9, 13, .7); }
/* справа место под кнопку «Наверх» — она не закрывает ссылку на FunPay */
.foot-row { display: flex; align-items: center; gap: 22px; padding: 26px calc(var(--gutter) + 58px) 26px var(--gutter); flex-wrap: wrap; }
.foot p { flex: 1; min-width: 240px; margin: 0; color: var(--muted); font-size: 13px; }
.foot-note { display: block; margin-top: 4px; font-size: 12px; opacity: .75; }
.foot-faq { color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; transition: color .2s; }
.foot-faq:hover { color: var(--text); }
.fp-link { text-decoration: none; font-weight: 700; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  transition: border-color .2s, transform .25s var(--spring); }
.fp-link:hover { border-color: var(--accent); transform: translateY(-2px); }

.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 25; width: 46px; height: 46px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(23, 27, 38, .85); backdrop-filter: blur(10px);
  display: grid; place-items: center; animation: chipIn .3s var(--spring); }
.to-top svg { width: 22px; height: 22px; }

/* корзина */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(4, 5, 8, .6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: -30px 0 60px rgba(0, 0, 0, .4);
  transform: translateX(105%); transition: transform .45s var(--ease); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head h2, .modal h2 { margin: 0; font-size: 21px; font-weight: 800; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); transition: border-color .2s, transform .3s var(--spring); }
.icon-btn:hover { border-color: var(--line-2); transform: rotate(90deg); }
.icon-btn svg { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px var(--gutter) 10px; }
.cart-group h3 { margin: 16px 0 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0;
  border-bottom: 1px solid var(--line); animation: lineIn .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes lineIn { from { opacity: 0; transform: translateX(16px); } }
.cart-line.out { animation: lineOut .3s var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(30px); height: 0; padding: 0; margin: 0; } }
/* сет в корзине — одним блоком */
.cart-set { margin: 10px 0 4px; padding: 4px 10px 2px; border-radius: 14px; background: rgba(var(--accent-rgb), .05);
  border: 1px solid rgba(var(--accent-rgb), .25); animation: lineIn .35s var(--ease) both; }
.cart-set-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0 6px; }
.cart-set-head b { font-size: 13px; flex: 1; min-width: 0; }
.cs-badge { font-size: 10px; font-weight: 800; letter-spacing: .05em; padding: 3px 7px; border-radius: 6px;
  background: var(--grad); color: var(--accent-ink); }
.cs-sum { font-size: 12px; font-weight: 800; color: var(--text); }
.cart-set .cart-line:last-child { border-bottom: 0; }
.cart-set .cart-line { grid-template-columns: 52px 1fr auto; padding: 8px 0; }
.cart-set .cart-thumb { width: 52px; height: 40px; }
.cart-thumb { width: 64px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--rc) 30%, transparent), transparent 70%); }
.cart-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-thumb img.broken { visibility: hidden; }
.cart-line .t { font-weight: 700; font-size: 13px; line-height: 1.3; }
.cart-line .s { color: var(--muted); font-size: 11px; }
.cart-line .r { text-align: right; }
.cart-line .p { font-weight: 800; }
.rm { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px 0; transition: color .2s; }
.rm:hover { color: #f87171; }
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 60px 0; color: var(--muted); text-align: center; }
.cart-empty img { opacity: .2; }
.drawer-foot { display: grid; gap: 10px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hint { margin: 0; color: var(--muted); font-size: 12px; }
.min-order { display: grid; gap: 6px; font-size: 12px; color: #fbbf24; }
.min-bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.min-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transition: width .5s var(--spring); }
.pay-btn { position: relative; overflow: hidden; height: 54px; border: 0; border-radius: 14px; background: var(--grad); color: var(--accent-ink);
  font-weight: 800; font-size: 16px; box-shadow: 0 12px 28px -10px rgba(var(--accent-rgb),.9); transition: transform .25s var(--spring); }
.pay-btn span { position: relative; z-index: 1; }
.pay-btn:hover { transform: translateY(-2px); }
.pay-btn:disabled { opacity: .6; cursor: default; transform: none; }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 13px; }
.link-btn:hover { color: var(--text); }

/* окно заказа */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gutter);
  background: rgba(4, 5, 8, .65); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(500px, 100%); max-height: 90vh; overflow-y: auto; padding: 24px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(16px) scale(.96); transition: transform .4s var(--spring); }
.modal.show .modal-box { transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; }
.order { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.order-head { display: flex; justify-content: space-between; font-weight: 800; }
.order ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.25); }
.modal .pay-btn { width: 100%; margin-top: 12px; display: grid; place-items: center; text-decoration: none; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 14px; font-weight: 700; background: var(--surface-3);
  border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: transform .4s var(--spring), opacity .3s, visibility .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.flyer { position: fixed; z-index: 80; pointer-events: none; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }

/* карточка предмета */
.card { cursor: pointer; }
.set-badge { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .05em;
  padding: 4px 8px; border-radius: 7px; background: var(--grad); color: var(--accent-ink); box-shadow: 0 4px 12px rgba(var(--accent-rgb),.5); }
.card[data-kind="set"] .card-pic { padding: 8px; }
.card[data-kind="set"] .card-pic img { border-radius: 12px; }
.card[data-kind="set"] { background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 12%, var(--surface-2)), var(--surface)); }
.it-pic.is-set { padding: 12px; }
.it-pic.is-set img { border-radius: 14px; }
.mini.is-set .mini-pic img { border-radius: 8px; }
.sheet { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 24px var(--gutter);
  background: rgba(4, 5, 8, .7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sheet.show { opacity: 1; visibility: visible; }
.sheet-box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .65);
  transform: translateY(24px) scale(.97); transition: transform .45s var(--spring); }
.sheet.show .sheet-box { transform: none; }
.sheet-x { position: absolute; top: 16px; right: 16px; z-index: 2; }
.it-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; padding: 26px; }
.it-pic { position: relative; aspect-ratio: 1 / .9; border-radius: 20px; display: grid; place-items: center; padding: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--rc) 38%, transparent), transparent 66%), var(--surface-2);
  border: 1px solid var(--line); }
.it-pic::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--rc); box-shadow: 0 0 18px var(--rc); }
.it-pic img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55));
  animation: itemIn .6s var(--spring) both, float 6s ease-in-out .6s infinite; }
.it-pic[data-game="dota"] img { border-radius: 14px; }
@keyframes itemIn { from { opacity: 0; transform: scale(.8) rotate(-6deg); } }
.it-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.it-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 48px; }
.tag-pill { font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 5px 9px; border-radius: 8px; background: var(--surface-3); color: #cfd5e2; }
.tag-pill.rar { color: #fff; background: color-mix(in srgb, var(--rc) 35%, var(--surface-3)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 60%, transparent); }
.it-main h2 { margin: 2px 0 0; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.it-sub { color: var(--muted); font-size: 14px; }
.it-price { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
.it-price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.it-stock { color: #34d399; font-size: 13px; font-weight: 700; }
.it-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 6px; }
.it-actions .pay-btn { height: 54px; grid-column: 1 / -1; }
/* на узком экране подпись переносится, а не распирает карточку шире экрана */
.it-actions .btn-sq { justify-content: center; min-width: 0; white-space: normal; line-height: 1.15; text-align: center; }
.it-actions .btn-sq svg { flex-shrink: 0; }
.btn-sq { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 700;
  display: flex; align-items: center; gap: 8px; transition: border-color .2s, transform .25s var(--spring); white-space: nowrap; }
.btn-sq:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-sq svg { width: 19px; height: 19px; }
.btn-sq.in { color: #34d399; }
.it-note { margin: 0; color: var(--muted); font-size: 12px; }
.codebox { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(52, 211, 153, .07);
  border: 1px solid rgba(52, 211, 153, .3); animation: chipIn .4s var(--spring); }
.codebox-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.codebox-head b { color: #34d399; }
.code { font: 800 20px/1 "Montserrat", monospace; letter-spacing: .08em; padding: 8px 12px; border-radius: 10px; background: var(--surface-3);
  border: 1px dashed var(--line-2); user-select: all; }
.codebox textarea { width: 100%; min-height: 76px; resize: vertical; padding: 10px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line); color: var(--text); font: 12px/1.45 "Montserrat", sans-serif; }
.codebox ol { margin: 0; padding-left: 20px; font-size: 13px; color: #cfd5e2; display: grid; gap: 3px; }
.codebox .row { display: flex; gap: 8px; flex-wrap: wrap; }
.codebox .pay-btn { flex: 1; min-width: 220px; height: 48px; display: grid; place-items: center; text-decoration: none; }
.it-body { padding: 0 26px 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.it-body > *, .blk { min-width: 0; }
.sheet-box { overflow-x: hidden; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.fact { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.fact span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fact b { font-size: 14px; }
.blk h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.blk h3 small { color: var(--muted); font-weight: 700; font-size: 12px; }
.icon-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 11px; font-size: 13px; font-weight: 700;
  background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.32); animation: chipIn .35s var(--spring) both;
  animation-delay: calc(var(--i) * 40ms); }
.icon-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.icon-chip.soft { background: var(--surface-2); border-color: var(--line); color: #cfd5e2; }
.icon-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.icon-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 10px; border-radius: 14px;
  text-align: center; background: var(--surface-2); border: 1px solid var(--line); animation: chipIn .4s var(--spring) both;
  animation-delay: calc(var(--i) * 50ms); transition: transform .3s var(--spring), border-color .2s; }
.icon-tile:hover { transform: translateY(-3px); border-color: var(--line-2); }
.icon-img { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon-img.none img { visibility: hidden; }
.icon-tile.wide .icon-img { width: 100px; height: 56px; }
.icon-tile b { font-size: 12px; line-height: 1.25; }
.icon-tile small { font-size: 10px; color: var(--muted); }
.icon-tile.custom { border-color: rgba(var(--accent-rgb),.45); background: linear-gradient(180deg, rgba(var(--accent-rgb),.14), var(--surface-2)); }
.icon-tile.custom .icon-img { box-shadow: 0 0 0 2px var(--accent), 0 0 18px rgba(var(--accent-rgb),.55); }
.icon-tile.custom small { color: var(--accent-soft); }
.lore { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; white-space: pre-line; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 158px; gap: 10px; overflow-x: auto; overflow-y: hidden;
  padding: 6px 2px 10px;
  scroll-snap-type: x proximity; scrollbar-width: thin; }
.mini { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); transition: transform .3s var(--spring), border-color .2s;
  animation: cardIn .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.mini:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 55%, var(--line)); }
.mini.current { border-color: color-mix(in srgb, var(--rc) 70%, var(--line)); }
.mini-pic { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8px;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rc) 28%, transparent), transparent 70%); }
.mini-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-pic img.broken { visibility: hidden; }
.mini .mt { padding: 8px 10px 0; font-size: 12px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.mini .ms { padding: 2px 10px 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .mr { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; margin-top: auto; }
.mini .mr b { font-size: 14px; }
.mini .add { width: 30px; height: 30px; border-radius: 9px; }
.mini .add svg { width: 16px; height: 16px; }
.mini .here { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--grad); color: var(--accent-ink); }
.set-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; padding: 12px 14px;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.set-foot b { font-size: 18px; }
.set-foot small { display: block; color: var(--muted); font-size: 12px; }
.sheet-loading { display: grid; place-items: center; min-height: 360px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .stage { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / .7; }
  .steps { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search kbd { display: none; }
  .brand { margin-right: auto; }
  .cart-label { display: none; }
  .hero h1 { margin-top: 14px; }
  .stats { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats b { font-size: 20px; }
  .stats span { font-size: 12px; }
  .controls { position: static; grid-template-columns: 1fr; background: none; box-shadow: none; clip-path: none;
    backdrop-filter: none; }
  .filters { justify-content: flex-start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 11px 12px; }
  .card-title { font-size: 13px; }
  .price { font-size: 16px; }
  .add { width: 36px; height: 36px; }
  .price-range input { width: 96px; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet-box { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; transform: translateY(60px); }
  .it-top { grid-template-columns: 1fr; gap: 16px; padding: 18px var(--gutter); }
  .it-pic { aspect-ratio: 1 / .7; }
  .it-price b { font-size: 28px; }
  .it-actions .btn-sq { padding: 0 10px; font-size: 14px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .codebox .pay-btn { min-width: 0; }
  .it-body { padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .recent-row { animation: none !important; }
  .recent-track { overflow-x: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
