/* VEXLIO design system — light and dark themes, 2026-10-31.
   Every colour comes from the tokens below; components never hard-code theme colours. */

/* ---------- Font: Inter (SIL OFL 1.1, see fonts/OFL.txt), served from the app itself ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Tokens ---------- */
:root{
  color-scheme:light;
  --bg:#f5f7fb;--surface:#ffffff;--surface-2:#f0f3f9;--surface-3:#e8edf6;--overlay:#ffffffd9;
  --line:#e3e8f1;--line-strong:#d3dbe8;
  --text:#0f1626;--text-2:#4b5770;--muted:#8590a6;
  --accent:#2563ff;--accent-2:#6b97ff;--accent-press:#1d4fd8;--accent-soft:#e9f0ff;--accent-text:#1d4fd8;--on-accent:#fff;
  --success:#12a36b;--success-soft:#e3f6ee;--warning:#c27a00;--warning-soft:#fff3dc;--danger:#d63a55;--danger-soft:#fdecef;
  --bubble-in:#ffffff;--bubble-out:#2563ff;--bubble-out-text:#fff;--thread-bg:#eef2f8;
  --hero-a:#e9f1ff;--hero-b:#dce8ff;--hero-glow:#c4d8ff;
  --shadow-s:0 1px 2px #10182808,0 1px 3px #1018280d;
  --shadow-m:0 6px 20px #1f386e12;
  --shadow-l:0 18px 48px #1a2f5c24;
  --r-s:10px;--r-m:14px;--r-l:20px;--r-xl:26px;
  --app-top:0px;--app-bottom:0px;
  --safe-bottom:max(env(safe-area-inset-bottom,0px),var(--app-bottom));
  --nav-h:72px;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-synthesis:none;
}
:root[data-theme=dark]{
  color-scheme:dark;
  --bg:#0b0c10;--surface:#15161c;--surface-2:#1c1e26;--surface-3:#262934;--overlay:#121319d9;
  --line:#22252e;--line-strong:#2f3340;
  --text:#f4f5f8;--text-2:#b1b6c4;--muted:#737a8b;
  --accent:#5a7cff;--accent-2:#9b6bff;--accent-press:#4a69ee;--accent-soft:#1b2142;--accent-text:#9db1ff;--on-accent:#fff;
  --success:#2fd08f;--success-soft:#11291f;--warning:#ffb547;--warning-soft:#33260f;--danger:#ff5c74;--danger-soft:#341820;
  --bubble-in:#1c1e26;--bubble-out:#5a6fff;--bubble-out-text:#fff;--thread-bg:#0b0c10;
  --hero-a:#16213a;--hero-b:#132c5a;--hero-glow:#24448a;
  --shadow-s:0 1px 2px #0006;--shadow-m:0 8px 24px #0009;--shadow-l:0 22px 54px #000b;
}
:root{--logo:#6a5cff}
:root[data-theme=dark]{--logo:#c6f432}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--logo:#c6f432}}
:root{--grad:linear-gradient(135deg,#5a7cff 0%,#9b6bff 100%);--grad-soft:linear-gradient(135deg,#5a7cff26,#9b6bff26);--star:#ffb547}
@media (prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--bg:#0d121d;--surface:#151b28;--text:#edf1fa}}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:110px;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;color:inherit}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{border:0;background:none;padding:0;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s,transform .12s,box-shadow .15s}
button:disabled{opacity:.45;cursor:default}
button:not(:disabled):active{transform:scale(.98)}
a{color:inherit;text-decoration:none}
svg{width:24px;height:24px;flex-shrink:0}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px;border-radius:6px}
h1,h2,h3,p{margin:0}
h1{font-size:28px;font-weight:800;letter-spacing:-.8px;line-height:1.15}
h2{font-size:19px;font-weight:750;letter-spacing:-.4px;line-height:1.3}
h3{font-size:16px;font-weight:700;line-height:1.4}
small{font-size:12px}
img{max-width:100%}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.note{font-size:13px;line-height:1.6;color:var(--muted)}

/* ---------- App shell ---------- */
.app-shell{min-height:100dvh}
.sidebar,.breadcrumb,.desktop-footer{display:none}
.workspace{min-width:0}
.topbar{position:sticky;top:0;z-index:8;height:calc(60px + var(--app-top));padding:var(--app-top) 16px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--overlay);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid transparent}
.logo-x{fill:var(--logo)}
.logo-word{display:block}
.mobile-brand{display:flex;align-items:center;min-height:44px;padding-right:8px;color:var(--text);flex-shrink:0}
.mobile-brand .logo-word{width:113px;height:22px;flex-shrink:0;overflow:visible}
.top-actions{display:flex;align-items:center;gap:8px}
.icon-button,.avatar{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);color:var(--text-2);flex-shrink:0}
.icon-button svg{width:21px;height:21px}
.icon-button.ghost{background:transparent;border-color:transparent}
.icon-button.ghost:hover{background:var(--surface-2)}
.avatar{border-radius:50%;width:36px;height:36px;background:var(--accent-soft);border-color:transparent;color:var(--accent-text);font-weight:750;font-size:15px}
main{padding:8px 16px calc(var(--nav-h) + 32px + var(--safe-bottom));max-width:1180px;margin:auto;min-height:calc(100dvh - 60px);outline:none}

/* ---------- Section headings ---------- */
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:8px 0 20px}
.section-heading p{font-size:14px;color:var(--muted);margin-top:6px;line-height:1.5}
.section-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-row h2{font-size:18px}
.text-link{display:inline-flex;align-items:center;gap:4px;min-height:40px;color:var(--accent-text);font-size:13px;font-weight:650;white-space:nowrap}
.text-link svg{width:16px;height:16px}
.home-section{margin-top:28px}

/* ---------- Search ---------- */
.home-search,.search{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-m);min-width:0;box-shadow:var(--shadow-s)}
.home-search{width:100%;gap:10px;padding:0 14px;height:48px;color:var(--muted);text-align:left;font-size:15px;margin:4px 0 16px}
.home-search svg{width:20px;height:20px;color:var(--text-2)}
.search{flex:1;position:relative}
.search>svg{position:absolute;left:14px;color:var(--muted);width:20px;height:20px;pointer-events:none}
.search input{width:100%;height:48px;padding:0 14px 0 44px;border:0;border-radius:var(--r-m);background:transparent;color:var(--text);font-size:16px;min-width:0;outline:none}
.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.search input::placeholder{color:var(--muted)}
.tools{display:flex;gap:10px;margin-bottom:16px}

/* ---------- Hero ---------- */
.hero{position:relative;display:flex;align-items:center;gap:12px;padding:22px 18px;border-radius:var(--r-xl);overflow:hidden;isolation:isolate;margin-bottom:20px;background:radial-gradient(120% 90% at 90% 0%,var(--hero-glow),transparent 60%),linear-gradient(135deg,var(--hero-a),var(--hero-b));border:1px solid var(--line)}
.hero-copy{position:relative;z-index:2;flex:1;min-width:0}
.hero-kicker{display:inline-block;font-size:10px;letter-spacing:1.4px;color:var(--accent-text);font-weight:750;margin-bottom:8px}
.hero h2{font-size:22px;line-height:1.12;font-weight:850;letter-spacing:-.8px}
.hero p{color:var(--text-2);font-size:12.5px;line-height:1.5;margin:8px 0 16px;max-width:280px}
.hero .primary{min-height:42px;padding:0 14px;font-size:13px;border-radius:var(--r-m)}
.hero .primary svg{width:17px;height:17px}
.hero-mosaic{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:118px;flex-shrink:0;transform:rotate(-8deg) translateX(6px)}
.hero-mosaic .game-art{border-radius:12px;box-shadow:0 6px 14px #0b1f4a26;border:2px solid #ffffff40}

/* ---------- Game art and strips ---------- */
.game-art{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:16px;color:#fff;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff40}
.game-art svg{width:58%;height:58%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.game-art svg.fill{fill:currentColor;stroke:none}
.game-art svg .dot{fill:#fff;stroke:none}
.game-art.steam svg{width:76%;height:76%}
.game-art.roblox{background:linear-gradient(145deg,#4b5463,#121722)}
.roblox i{display:block;width:50%;height:50%;background:linear-gradient(145deg,#fff,#aab3c1);transform:rotate(15deg);position:relative;border-radius:2px}
.roblox i:after{content:'';position:absolute;inset:36%;background:#182030}
.game-art.genshin{background:radial-gradient(circle at 20% 10%,#d6dcff,transparent 70%),linear-gradient(145deg,#7e9fe5,#5b64ad);color:#fff6da}
.game-art.standoff{background:linear-gradient(150deg,#e2673f,#3a1f2a)}
.game-art.pubg{background:linear-gradient(150deg,#f2a93b,#6b4a1d)}
.game-art.brawl{background:linear-gradient(150deg,#ffd447,#ff7a1a);color:#fff}
.game-art.cs2{background:linear-gradient(150deg,#2f3d52,#d7962b)}
.game-art.dota2{background:linear-gradient(150deg,#c4362e,#2a0f12)}
.game-art.steam{background:linear-gradient(145deg,#162540,#0075aa)}
.game-strip{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 18px;padding:4px 16px 6px;scroll-snap-type:x proximity}
.game-strip::-webkit-scrollbar{display:none}
.game{flex:0 0 68px;min-width:0;text-align:center;scroll-snap-align:start}
.game .game-art{transition:box-shadow .15s,transform .15s}
.game b{display:block;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:600;line-height:1.3;margin-top:7px;white-space:nowrap;color:var(--text-2)}
.game.selected .game-art{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--accent)}
.game.selected b{color:var(--accent-text)}

/* ---------- Categories ---------- */
.category-grid{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 6px}
.category-grid::-webkit-scrollbar{display:none}
.category{flex:0 0 76px;padding:12px 4px 10px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);text-align:center;box-shadow:var(--shadow-s)}
.category-icon{display:grid;place-items:center;color:var(--accent);flex-shrink:0}
.category .category-icon{width:40px;height:40px;margin:0 auto;border-radius:12px;background:var(--accent-soft)}
.category-icon svg{width:22px;height:22px;stroke-width:1.9}
.category b{display:block;font-size:11px;font-weight:600;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-2)}
.category.selected{border-color:var(--accent);background:var(--accent-soft)}

/* ---------- Tabs, chips, filters ---------- */
.tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 16px;padding:0 16px 2px}
.tabs::-webkit-scrollbar{display:none}
.tab{flex-shrink:0;min-height:38px;padding:0 15px;border-radius:999px;white-space:nowrap;background:var(--surface);border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--text-2)}
.tab.active{background:var(--text);border-color:var(--text);color:var(--bg)}
.category-tabs{margin-top:2px}
.filter-row{display:flex;gap:8px;margin:4px 0 0}
.filter-button{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 14px;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--text-2);flex:1}
.filter-button svg{width:19px;height:19px}
.filter-button.has-filter{color:var(--accent-text);background:var(--accent-soft);border-color:transparent}
.sort-wrap{flex:1;min-width:0;display:flex}
.sort{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-m);color:var(--text-2);background:var(--surface);font-size:14px;font-weight:600}
.active-filters{display:flex;gap:6px;flex-wrap:wrap}
.active-filters:not(:empty){margin-top:10px}
.filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12.5px;font-weight:600;max-width:100%}
.catalog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}
.catalog-title{display:flex;align-items:center;gap:10px;min-width:0}
.catalog-title h2{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.catalog-title .game-art{width:32px;border-radius:10px;flex-shrink:0}
.count{font-size:12px;color:var(--muted);white-space:nowrap}

/* ---------- Product cards ---------- */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product{position:relative;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;box-shadow:var(--shadow-s);transition:box-shadow .2s,transform .2s}
.product-open{display:flex;flex-direction:column;width:100%;min-width:0;text-align:left;height:100%}
.product-art{position:relative;aspect-ratio:1;background:linear-gradient(145deg,var(--surface-2),var(--surface-3));overflow:hidden;display:grid;place-items:center;color:var(--accent-2)}
.product-art>svg{width:38px;height:38px;opacity:.85}
.product-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.product-art img.photo-error{display:none}
.product-body{display:flex;flex-direction:column;padding:10px 12px 12px;min-width:0;flex:1}
.product-bottom{order:-1;display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:4px}
.price{font-size:17px;font-weight:800;letter-spacing:-.4px;color:var(--text)}
.price small{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:0;white-space:nowrap}
.open-arrow{display:none}
.product h3{font-size:13.5px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:var(--text)}
.cat-label,.seller-caption{font-size:11.5px;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seller-caption{margin-top:auto;padding-top:6px}
.status-badge{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:999px;background:var(--overlay);backdrop-filter:blur(8px);font-size:11px;font-weight:650;color:var(--text-2)}
.favorite{position:absolute;z-index:2;right:8px;top:8px;width:34px;height:34px;display:grid;place-items:center;background:var(--overlay);backdrop-filter:blur(8px);border-radius:50%;color:var(--text-2)}
.favorite svg{width:18px;height:18px}
.favorite.on{color:#ff3b5c}
.favorite.on svg{fill:currentColor}
.load-more{display:flex;margin:20px auto 0}

/* ---------- Skeletons, empty and error states ---------- */
.sk{background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface-3) 45%,var(--surface-2) 65%);background-size:300% 100%;animation:shimmer 1.3s ease-in-out infinite;border-radius:8px}
@keyframes shimmer{from{background-position:100% 0}to{background-position:0 0}}
.skeleton-card{padding:0 0 12px}
.sk-art{aspect-ratio:1;border-radius:0;margin-bottom:12px}
.sk-line{height:11px;margin:8px 12px 0;width:calc(100% - 24px)}
.sk-line.w40{width:40%}.sk-line.w60{width:60%}.sk-line.w80{width:80%}
.sk-stack{display:flex;flex-direction:column;flex:1;gap:4px;min-width:0}
.sk-stack .sk-line{margin:4px 0}
.sk-circle{width:44px;height:44px;border-radius:50%;flex-shrink:0}
.sk-block{height:110px;border-radius:var(--r-l);margin-bottom:12px}
.skeleton-row{pointer-events:none}
.sk-bubble{height:44px;width:58%;border-radius:18px;margin:6px 0}
.sk-bubble.mine{align-self:flex-end;width:44%}
.empty,.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 16px;min-height:240px}
.empty-symbol{width:64px;height:64px;border-radius:20px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent);margin-bottom:16px;overflow:hidden}
.empty-symbol svg{width:28px;height:28px}
.empty-symbol .game-art{border-radius:inherit}
.danger-symbol{background:var(--danger-soft);color:var(--danger)}
.empty h3,.error-state h3{font-size:18px;letter-spacing:-.3px;margin-bottom:6px}
.empty p,.error-state p{font-size:14px;color:var(--muted);max-width:320px;line-height:1.6}
.empty .primary,.error-state .secondary{margin-top:20px}
.error-box{padding:16px;background:var(--danger-soft);color:var(--danger);border-radius:var(--r-m);overflow-wrap:anywhere}
.loading{padding:48px 20px;text-align:center;color:var(--muted);font-size:14px}

/* ---------- Banners ---------- */
.sell-banner,.profile-sell{display:flex;align-items:center;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);box-shadow:var(--shadow-s)}
.sell-banner{margin-top:28px;background:linear-gradient(135deg,var(--accent-soft),var(--surface))}
.sell-banner>div,.profile-sell>div{flex:1;min-width:0}
.sell-banner h2,.profile-sell h2{font-size:15px}
.sell-banner p,.profile-sell p{font-size:12.5px;color:var(--muted);margin-top:3px}
.sell-banner .icon-button{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.banner-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--r-m);background:var(--accent-soft);color:var(--accent);flex-shrink:0}
.banner-icon svg{width:22px;height:22px}
.profile-sell{margin-bottom:16px}
.profile-sell .primary{min-height:40px;padding:0 16px;font-size:13px}

/* ---------- Buttons ---------- */
.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:var(--r-m);font-size:15px;font-weight:650;line-height:1.2;text-align:center}
.primary svg,.secondary svg,.danger svg{width:19px;height:19px}
.primary{background:var(--accent);color:var(--on-accent);box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 28%,transparent)}
.primary:hover{background:var(--accent-press)}
.secondary{background:var(--surface);border:1px solid var(--line-strong);color:var(--text)}
.secondary:hover{background:var(--surface-2)}
.danger{background:var(--danger-soft);color:var(--danger)}
.quiet{min-height:40px;color:var(--accent-text);font-size:14px;font-weight:600}
.wide{width:100%;margin-top:12px}

/* ---------- Bottom navigation ---------- */
.mobile-nav{position:fixed;z-index:10;left:10px;right:10px;bottom:calc(8px + var(--safe-bottom));display:flex;align-items:center;height:var(--nav-h);padding:6px;border:1px solid var(--line);border-radius:24px;background:var(--overlay);box-shadow:var(--shadow-l);backdrop-filter:saturate(1.6) blur(20px);-webkit-backdrop-filter:saturate(1.6) blur(20px)}
.mobile-tab{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:10.5px;font-weight:600;border-radius:18px}
.nav-icon{position:relative;height:30px;width:44px;display:grid;place-items:center;border-radius:12px;transition:background-color .15s}
.mobile-tab svg{width:23px;height:23px;stroke-width:1.8}
.mobile-tab.active{color:var(--accent-text)}
.mobile-tab.active:not(.create) .nav-icon{background:var(--accent-soft)}
.mobile-tab.create .nav-icon{width:50px;height:50px;border-radius:17px;background:var(--accent);color:var(--on-accent);box-shadow:0 8px 18px color-mix(in srgb,var(--accent) 40%,transparent);margin-top:-22px}
.mobile-tab.create svg{width:26px;height:26px;stroke-width:2.2}
.nav-badge{position:absolute;top:-3px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ff3b5c;color:#fff;font-size:10px;font-weight:750;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--surface)}

/* ---------- Profile ---------- */
.profile-card{display:flex;align-items:center;gap:14px;padding:18px;margin:4px 0 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-s)}
.profile-letter{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;flex-shrink:0;background:linear-gradient(145deg,var(--accent-2),var(--accent));color:#fff;font-size:24px;font-weight:800}
.profile-card>div:nth-child(2){min-width:0;flex:1}
.profile-card h2{font-size:19px;overflow-wrap:anywhere}
.profile-card p{color:var(--muted);font-size:12px;margin-top:3px}
.profile-card .account-label{display:inline-flex;align-items:center;gap:4px;color:var(--success);font-size:12px;font-weight:600}
.account-label svg{width:14px;height:14px;stroke-width:2.6}
.profile-card>.icon-button{width:36px;height:36px}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.profile-stats>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l)}
.profile-stats svg{width:20px;height:20px;color:var(--accent);margin-bottom:6px}
.profile-stats b{font-size:22px;font-weight:800;letter-spacing:-.5px}
.profile-stats span{font-size:12px;color:var(--muted)}
.menu-list{display:flex;flex-direction:column;margin:12px 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;text-align:left}
.menu-row:hover{background:var(--surface-2)}
.menu-row+.menu-row{border-top:1px solid var(--line)}
.menu-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:var(--surface-2);color:var(--text-2)}
.menu-icon svg{width:19px;height:19px}
.menu-row>span:nth-child(2){flex:1;font-size:14.5px;font-weight:600;min-width:0}
.menu-row small{display:block;font-size:12px;color:var(--muted);margin-top:2px;font-weight:400}
.chevron{font-size:22px;line-height:1;color:var(--muted);flex-shrink:0}
.build-label{font-size:11px;color:var(--muted);margin-top:24px;text-align:center}

/* ---------- Sell form ---------- */
.form-card{max-width:720px;margin:auto}
.steps{display:flex;list-style:none;margin:0 0 24px;padding:0;gap:6px}
.steps li{flex:1;display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px;font-weight:600}
.steps li>span{display:none}
.steps li:before{content:'';height:4px;border-radius:2px;background:var(--surface-3)}
.steps li.current{color:var(--accent-text)}
.steps li.current:before{background:var(--accent)}
.form-card h2{font-size:18px;margin:22px 0 12px}
.sell-categories{display:grid;gap:8px}
.sell-category{display:flex;align-items:center;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);text-align:left}
.sell-category .category-icon{width:40px;height:40px;border-radius:12px;background:var(--accent-soft)}
.sell-category>span:nth-child(2){flex:1;min-width:0}
.sell-category b{display:block;font-size:14.5px}
.sell-category small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.sell-category.selected,.game-choice.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}
.choice-dot{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line-strong);display:grid;place-items:center;flex-shrink:0}
.selected .choice-dot{background:var(--accent);border-color:var(--accent);color:#fff}
.choice-dot svg{width:13px;height:13px;stroke-width:3}
.safety-card{display:flex;align-items:center;gap:12px;width:100%;margin:16px 0;padding:14px;border-radius:var(--r-l);background:var(--accent-soft);color:var(--accent-text);text-align:left}
.safety-card>svg{width:26px;height:26px}
.safety-card>span:nth-child(2){flex:1}
.safety-card b{display:block;font-size:14px}
.safety-card small{display:block;font-size:12px;color:var(--text-2);margin-top:2px}
.field{display:block;min-width:0;margin-bottom:16px}
.field>span{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;justify-content:space-between;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--text-2)}
.field small{font-size:12px;font-weight:400;color:var(--muted)}
.field input,.field textarea,.field select{width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:var(--r-m);background:var(--surface);color:var(--text);font-size:16px;outline:none;transition:border-color .15s,box-shadow .15s}
.field input:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.field textarea{min-height:120px;resize:vertical;line-height:1.5}
.form-grid{display:grid;grid-template-columns:1fr;gap:0}
.delivery-note{display:flex;flex-direction:column;gap:2px;padding:12px 14px;margin-bottom:16px;border-radius:var(--r-m);background:var(--surface-2);font-size:12px;color:var(--muted)}
.delivery-note b{font-size:14px;color:var(--text)}
.form-actions{position:sticky;bottom:calc(var(--nav-h) + 16px + var(--safe-bottom));display:flex;gap:10px;margin-top:20px;padding:10px 0;background:linear-gradient(transparent,var(--bg) 30%)}
.form-actions .primary{flex:1}
.game-picker{border:0;padding:0;margin:0 0 16px;min-width:0}
.game-picker legend{display:flex;gap:8px;align-items:baseline;margin-bottom:8px;font-size:13px;font-weight:600;color:var(--text-2)}
.game-picker legend small{font-size:12px;font-weight:400;color:var(--muted)}
.game-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.game-choice{display:flex;align-items:center;gap:9px;min-height:48px;padding:6px 10px 6px 6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-m);text-align:left;font-size:13px;font-weight:600}
.game-choice .game-art{width:34px;border-radius:10px;flex-shrink:0}
.game-choice span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.upload-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.upload-grid .upload-zone{grid-column:1/-1}
.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 12px;border:1.5px dashed var(--line-strong);border-radius:var(--r-l);background:var(--surface);text-align:center;color:var(--accent);cursor:pointer}
.upload-zone svg{width:26px;height:26px}
.upload-zone b{font-size:14px;color:var(--text)}
.upload-zone small{font-size:12px;color:var(--muted)}
.upload-zone input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}
.upload-zone:focus-within{border-color:var(--accent)}
.upload-thumb{position:relative;aspect-ratio:1;border-radius:var(--r-m);overflow:hidden;background:var(--surface-2)}
.upload-thumb img{width:100%;height:100%;object-fit:cover}
.cover-badge{position:absolute;left:6px;bottom:6px;padding:2px 7px;border-radius:999px;background:#0f1626b3;color:#fff;font-size:10.5px;font-weight:650}
.thumb-remove{position:absolute;top:5px;right:5px;width:30px;height:30px;border-radius:50%;background:#0f1626b3;color:#fff;font-size:17px;line-height:1;display:grid;place-items:center}
.upload-status{margin-top:8px}
.listing-review{padding:16px;border:1px solid var(--line);border-radius:var(--r-l);background:var(--surface)}
.listing-review img{width:100%;max-height:280px;object-fit:cover;border-radius:var(--r-m);margin-bottom:12px}
.listing-review h3{font-size:20px;margin-top:6px;overflow-wrap:anywhere}
.listing-review .detail-price{display:block}
.listing-review p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-2);font-size:14px}
.review-note{margin-top:14px}
.inline-error{color:var(--danger);padding:12px 0;font-size:14px}

/* ---------- Chat list ---------- */
.chat-search{margin:0 0 12px}
.dialog-list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.dialog-entry{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:12px 14px;text-align:left;background:var(--surface)}
.dialog-entry:hover{background:var(--surface-2)}
.dialog-list .dialog-entry+.dialog-entry{border-top:1px solid var(--line)}
.support-entry{margin-bottom:12px;border:1px solid var(--line);border-radius:var(--r-l)}
.chat-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;flex-shrink:0;background:linear-gradient(145deg,var(--accent-2),var(--accent));color:#fff;font-size:18px;font-weight:750}
.support-avatar{background:linear-gradient(145deg,#1b2a4a,#0f1626);color:#6fb6ff;font-size:22px}
.chat-text{flex:1;min-width:0}
.chat-text b{display:block;font-size:15px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-topic{display:block;font-size:12px;color:var(--accent-text);margin-top:1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-text small{display:block;margin-top:2px;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted)}
.chat-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;align-self:stretch;justify-content:flex-start;padding-top:2px}
.chat-date{font-size:11.5px;color:var(--muted);white-space:nowrap}
.unread-badge{min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--accent);color:#fff;font-size:11.5px;font-weight:750;line-height:22px;text-align:center}
.dialog-entry.has-unread .chat-text small{color:var(--text);font-weight:600}
.dialog-entry.has-unread .chat-date{color:var(--accent-text);font-weight:600}

/* ---------- Full-screen chat ---------- */
body.chat-mode .topbar,body.chat-mode .mobile-nav,body.chat-mode .desktop-footer{display:none}
body.chat-mode main{padding:0;max-width:none;min-height:0}
.chat-screen{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;padding-top:var(--app-top);background:var(--thread-bg)}
.chat-header{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 8px 8px 6px;background:var(--overlay);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid var(--line)}
.chat-header .chat-avatar{width:40px;height:40px;font-size:16px}
.chat-peer{flex:1;min-width:0}
.chat-peer b{display:block;font-size:16px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-peer small{display:block;font-size:12.5px;color:var(--muted)}
.chat-listing{display:flex;align-items:center;gap:10px;margin:8px 10px 0;padding:8px 12px 8px 8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-m);text-align:left;box-shadow:var(--shadow-s)}
.chat-listing-art{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:10px;overflow:hidden;flex-shrink:0;background:var(--surface-2);color:var(--accent-2)}
.chat-listing-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.chat-listing-art svg{width:20px;height:20px}
.chat-listing-text{flex:1;min-width:0}
.chat-listing-text b{display:block;font-size:13.5px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-listing-text small{display:block;font-size:12px;color:var(--muted)}
.chat-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px;padding:12px 10px 16px}
.chat-empty{margin:auto;padding:10px 16px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px}
.day-divider{display:flex;justify-content:center;margin:12px 0 8px;position:sticky;top:0;z-index:1}
.day-divider span{padding:3px 10px;border-radius:999px;background:var(--overlay);backdrop-filter:blur(8px);color:var(--text-2);font-size:12px;font-weight:600;box-shadow:var(--shadow-s)}
.bubble{position:relative;align-self:flex-start;max-width:min(80%,520px);margin-top:6px;padding:8px 12px 6px;background:var(--bubble-in);color:var(--text);border-radius:18px 18px 18px 6px;box-shadow:var(--shadow-s);font-size:15px;line-height:1.4}
.bubble.follow{margin-top:2px;border-top-left-radius:6px}
.bubble.mine{align-self:flex-end;background:var(--bubble-out);color:var(--bubble-out-text);border-radius:18px 18px 6px 18px}
.bubble.mine.follow{border-top-right-radius:6px;border-top-left-radius:18px}
.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere}
.bubble-meta{float:right;display:inline-flex;align-items:center;gap:3px;margin:6px 0 -2px 10px;font-size:11px;line-height:1;color:var(--muted)}
.bubble.mine .bubble-meta{color:#ffffffb8}
.tick{display:inline-grid}
.tick svg{width:15px;height:15px;stroke-width:2.2}
.tick.read{color:#fff}
.composer{padding:8px 10px calc(8px + var(--safe-bottom));background:var(--overlay);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-top:1px solid var(--line)}
.quick-replies{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -10px 8px;padding:0 10px}
.quick-replies::-webkit-scrollbar{display:none}
.quick-reply{flex-shrink:0;padding:8px 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line-strong);color:var(--accent-text);font-size:13px;font-weight:600}
.composer-row{display:flex;align-items:flex-end;gap:8px}
.composer textarea{flex:1;min-width:0;min-height:44px;max-height:132px;padding:11px 14px;border:1px solid var(--line-strong);border-radius:22px;background:var(--surface);color:var(--text);font-size:16px;line-height:1.4;resize:none;outline:none}
.composer textarea:focus{border-color:var(--accent)}
.send-button{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--accent);color:#fff}
.send-button svg{width:21px;height:21px;margin-left:-2px}
.send-button:disabled{background:var(--surface-3);color:var(--muted);opacity:1}
.composer-hint{font-size:11px;color:var(--muted);text-align:center;margin-top:6px}
.chat-closed{display:flex;align-items:center;justify-content:center;gap:6px;padding:14px 16px calc(14px + var(--safe-bottom));background:var(--surface);border-top:1px solid var(--line);color:var(--muted);font-size:13.5px}
.chat-closed svg{width:17px;height:17px;color:var(--success)}

/* ---------- Bottom sheets (dialog) ---------- */
dialog{width:min(600px,100%);max-width:100%;max-height:92dvh;padding:0;border:0;border-radius:var(--r-xl) var(--r-xl) 0 0;background:var(--bg);color:var(--text);margin:auto auto 0;overflow:auto;overscroll-behavior:contain;box-shadow:var(--shadow-l)}
dialog[open]{animation:sheet-in .22s cubic-bezier(.2,.8,.2,1)}
@keyframes sheet-in{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
dialog::backdrop{background:#070b1499;backdrop-filter:blur(3px)}
.modal-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 12px 10px 18px;background:var(--overlay);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.modal-head:before{content:'';position:absolute;top:6px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:var(--line-strong)}
.modal-head h2{font-size:18px;min-width:0;overflow-wrap:anywhere}
.modal-body{padding:8px 18px calc(24px + var(--safe-bottom))}
.modal-body .product-art{aspect-ratio:4/3;border-radius:var(--r-l);margin-bottom:16px}
.modal-body .product-art img{object-fit:contain;background:var(--surface-2)}
.gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-bottom:6px}
.gallery::-webkit-scrollbar{display:none}
.gallery .product-art{flex:0 0 100%;scroll-snap-align:center;margin-bottom:0}
.gallery-count{font-size:12px;color:var(--muted);text-align:center;margin-bottom:14px}
.detail-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px;color:var(--muted);font-size:12.5px}
.detail-price{font-size:28px;font-weight:850;letter-spacing:-.7px;margin:4px 0}
.detail-price small{font-size:14px;color:var(--muted);font-weight:600;letter-spacing:0}
.detail-title{font-size:20px;font-weight:700;margin-bottom:14px;overflow-wrap:anywhere}
.detail-actions{display:grid;gap:8px;margin:14px 0 10px}
.detail-description{font-size:15px;line-height:1.65;color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 20px}
.detail-seller{display:flex;gap:12px;align-items:center;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);margin:18px 0}
.detail-seller small{color:var(--muted);display:block}
.detail-seller b{overflow-wrap:anywhere}
.action-list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.action-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;text-align:left;font-size:15px;font-weight:600}
.action-row+.action-row{border-top:1px solid var(--line)}
.action-row svg{width:20px;height:20px;color:var(--text-2)}
.danger-row,.danger-row svg{color:var(--danger)}
.rules-content h3{font-size:16px;margin:20px 0 6px}
.rules-content p{font-size:14px;color:var(--text-2);line-height:1.65}
.telegram-link{margin-top:18px;width:100%}
.activity-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.activity-summary p{padding:14px;border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:13px}
.activity-summary b{display:block;font-size:24px;color:var(--text)}

/* ---------- Admin ---------- */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 24px}
.stat{padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l)}
.stat b{display:block;font-size:24px;font-weight:800}
.stat span{font-size:12px;color:var(--muted)}
.report-card{padding:14px;margin:10px 0 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l)}
.report-card p{color:var(--text-2);margin:8px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.report-card b{overflow-wrap:anywhere}

/* ---------- Toast and splash ---------- */
#toast{position:fixed;z-index:50;left:50%;bottom:calc(var(--nav-h) + 22px + var(--safe-bottom));transform:translate(-50%,12px);width:max-content;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:var(--r-m);background:#111827;color:#fff;box-shadow:var(--shadow-l);font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
#toast.visible{opacity:1;transform:translate(-50%,0)}
body.chat-mode #toast{bottom:calc(120px + var(--safe-bottom))}
#splash{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:var(--bg);transition:opacity .25s,visibility .25s}
#splash.finished{opacity:0;visibility:hidden;pointer-events:none}
.splash-inner{display:flex;flex-direction:column;align-items:center;gap:16px}
.splash-mark{width:64px;height:64px}
.splash-name{width:139px;height:27px;color:var(--text)}
.splash-line{width:96px;height:3px;border-radius:2px;background:var(--surface-3);overflow:hidden}
.splash-line:after{content:'';display:block;width:40%;height:100%;background:var(--logo);animation:progress 1s ease-in-out infinite}
@keyframes progress{from{transform:translateX(-100%)}to{transform:translateX(350%)}}

/* ---------- Top bar: back button and screen title on nested screens ---------- */
.topbar-start{display:flex;align-items:center;gap:6px;min-width:0;flex:1}
.topbar-start #back-button{margin-left:-8px}
.topbar-title{font-size:17px;font-weight:700;letter-spacing:-.2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bell-button{position:relative}
.bell-button .nav-badge{top:-4px;right:-4px}
body.item-mode .mobile-nav{display:none}
body.item-mode main{padding-bottom:calc(96px + var(--safe-bottom))}

/* ---------- Motion ---------- */
main.enter>*{animation:page-in .22s cubic-bezier(.2,.8,.2,1) both}
@keyframes page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.product-art img,.chat-listing-art img,.item-gallery img{opacity:0;transition:opacity .3s}
.product-art img.loaded,.chat-listing-art img.loaded,.item-gallery img.loaded{opacity:1}
.bubble{animation:bubble-in .18s ease-out}
@keyframes bubble-in{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}

/* ---------- Item page ---------- */
.item-page{display:grid;gap:16px}
.item-media{margin:0 -16px;min-width:0}
.item-gallery-wrap{position:relative}
.item-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;background:var(--surface-2)}
.item-gallery::-webkit-scrollbar{display:none}
.item-gallery .product-art{flex:0 0 100%;aspect-ratio:1;scroll-snap-align:center;border-radius:0;background:var(--surface-2)}
.item-gallery .product-art img{object-fit:contain}
.empty-gallery .product-art{aspect-ratio:16/10;border-radius:0}
.empty-gallery .product-art>svg{width:56px;height:56px}
.gallery-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;pointer-events:none}
.gallery-dots span{width:6px;height:6px;border-radius:3px;background:#ffffff8c;box-shadow:0 0 0 1px #0000001a;transition:width .2s,background-color .2s}
.gallery-dots span.active{width:18px;background:#fff}
.gallery-counter{position:absolute;top:12px;right:12px;padding:3px 9px;border-radius:999px;background:#0f1626a6;color:#fff;font-size:12px;font-weight:650}
.item-info{min-width:0}
.item-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.tag{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:12.5px;font-weight:600}
.tag-game{padding-left:3px;background:var(--accent-soft);color:var(--accent-text)}
.tag-game .game-art{width:22px;border-radius:999px}
.tag-warn{background:var(--warning-soft);color:var(--warning)}
.item-headline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.item-price{font-size:30px;font-weight:850;letter-spacing:-.8px;line-height:1.1}
.item-price small{font-size:15px;font-weight:600;color:var(--muted);letter-spacing:0}
.item-tools{display:flex;gap:8px}
.favorite-toggle.on{color:#ff3b5c}
.favorite-toggle.on svg{fill:currentColor}
.item-title{font-size:22px;font-weight:750;letter-spacing:-.5px;line-height:1.25;margin:10px 0 6px;overflow-wrap:anywhere}
.item-meta{font-size:13px;color:var(--muted)}
.item-actions{display:grid;gap:8px;margin:18px 0 4px}
.seller-card{display:flex;align-items:center;gap:12px;width:100%;margin:18px 0 6px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);text-align:left}
.seller-card:hover{background:var(--surface-2)}
.seller-card-text{flex:1;min-width:0}
.seller-card-text small{display:block;font-size:12px;color:var(--muted)}
.seller-card-text b{display:block;font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.seller-line{display:block;font-size:12.5px;color:var(--text-2);margin-top:2px}
.seller-line:empty{display:none}
.item-section{margin-top:24px}
.item-section>h2{font-size:18px;margin-bottom:8px}
.item-section .detail-description{margin:0}
.safety-note{display:flex;gap:10px;align-items:flex-start;margin-top:20px;padding:12px 14px;border-radius:var(--r-m);background:var(--surface-2);color:var(--text-2);font-size:13px;line-height:1.5}
.safety-note svg{width:20px;height:20px;color:var(--success);flex-shrink:0;margin-top:1px}
.report-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--muted);font-size:13px;font-weight:500}
.report-link svg{width:16px;height:16px}
.card-strip{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 8px;scroll-snap-type:x proximity}
.card-strip::-webkit-scrollbar{display:none}
.card-strip .product{flex:0 0 150px;scroll-snap-align:start}
.item-buybar{position:fixed;z-index:9;left:0;right:0;bottom:0;display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + var(--safe-bottom));background:var(--overlay);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-top:1px solid var(--line)}
.buybar-price{flex:1;min-width:0}
.buybar-price b{display:block;font-size:19px;font-weight:850;letter-spacing:-.4px}
.buybar-price small{display:block;font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.item-buybar .primary{min-width:150px}
.share-input{width:100%;height:46px;padding:0 12px;margin-top:10px;border:1px solid var(--line-strong);border-radius:var(--r-m);background:var(--surface);color:var(--text);font-size:14px}
.sk-tall{height:22px}
.item-sk-art{aspect-ratio:1;border-radius:0}
.sk-big{width:72px;height:72px}

/* ---------- Seller page ---------- */
.seller-hero{display:flex;align-items:center;gap:16px;margin:8px 0 16px}
.seller-hero .profile-letter{width:76px;height:76px;font-size:30px}
.seller-hero-text{min-width:0}
.seller-hero h1{font-size:26px;overflow-wrap:anywhere}
.seller-hero p{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:13.5px;color:var(--success);font-weight:600}
.seller-hero p svg{width:16px;height:16px;stroke-width:2.5}
.seller-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.seller-stats>div{padding:14px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l)}
.seller-stats b{display:block;font-size:21px;font-weight:800;letter-spacing:-.4px}
.seller-stats span{font-size:12px;color:var(--muted);line-height:1.3;display:block;margin-top:2px}
.seller-reply{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:12px 14px;border-radius:var(--r-m);background:var(--accent-soft);color:var(--accent-text);font-size:13.5px;font-weight:600}
.seller-reply svg{width:19px;height:19px}
.seller-items-head{margin-top:26px}

/* ---------- Notifications ---------- */
.notice-list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.notice{display:flex;align-items:flex-start;gap:12px;width:100%;padding:14px;text-align:left}
.notice+.notice{border-top:1px solid var(--line)}
.notice:not(:disabled):hover{background:var(--surface-2)}
.notice:disabled{opacity:1;cursor:default}
.notice.unread{background:color-mix(in srgb,var(--accent-soft) 55%,var(--surface))}
.notice-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;flex-shrink:0;background:var(--surface-2);color:var(--text-2)}
.notice-icon svg{width:20px;height:20px}
.kind-message,.kind-dialog{background:var(--accent-soft);color:var(--accent)}
.kind-listing{background:var(--success-soft);color:var(--success)}
.kind-moderation,.kind-support{background:var(--warning-soft);color:var(--warning)}
.kind-report{background:var(--danger-soft);color:var(--danger)}
.notice-text{flex:1;min-width:0;font-size:14px;line-height:1.45}
.notice-text>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.notice-text small{display:block;margin-top:4px;color:var(--muted)}
.notice.unread .notice-text>span{font-weight:600}
.notice-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);margin-top:6px;flex-shrink:0}

/* ---------- Search panel ---------- */
.search-wrap{position:relative;z-index:6}
.search-panel{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:min(60dvh,420px);overflow-y:auto;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);box-shadow:var(--shadow-l);animation:page-in .16s ease-out}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 4px;font-size:13px;color:var(--muted)}
.panel-head b{font-weight:650}
.panel-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 6px 10px}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:600;color:var(--text)}
.chip svg{width:15px;height:15px;color:var(--muted)}
.chip .game-art{width:22px;border-radius:7px;margin-left:-6px}
.suggestion{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:6px 8px;border-radius:var(--r-m);text-align:left;font-size:14.5px;font-weight:600}
.suggestion:hover{background:var(--surface-2)}
.suggestion .game-art{width:36px;border-radius:10px;flex-shrink:0}
.suggestion small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.suggestion-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--surface-2);color:var(--text-2);flex-shrink:0}
.suggestion-icon svg{width:18px;height:18px}
.panel-empty{padding:12px;font-size:13.5px;color:var(--muted)}
/* ---------- Tablet ---------- */
@media (min-width:540px){
  main{padding-inline:24px}
  .topbar{padding-inline:24px}
  .hero{padding:28px}
  .hero h2{font-size:32px}
  .hero p{font-size:14px;max-width:360px}
  .hero-mosaic{width:180px;gap:10px}
  .hero-mosaic .game-art{border-radius:16px}
  .category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-inline:0;padding-inline:0}
  .game-strip,.tabs{margin-inline:0;padding-inline:0}
  .game{flex:1 0 72px}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .sell-categories{grid-template-columns:1fr 1fr}
  .form-grid{grid-template-columns:1fr 1fr;gap:14px}
  .profile-card{padding:22px}
  .profile-letter{width:72px;height:72px;font-size:28px}
  .profile-card h2{font-size:22px}
  dialog{margin:auto;border-radius:var(--r-xl);max-height:86dvh}
  .modal-head:before{display:none}
  .modal-body{padding:8px 24px 24px}
  .mobile-nav{left:50%;right:auto;width:520px;transform:translateX(-50%)}
}

/* ---------- Desktop ---------- */
@media (min-width:800px){
  main{padding:20px 36px 120px}
  .topbar{padding-inline:36px}
  h1{font-size:32px}
  .hero{min-height:240px;padding:36px}
  .hero h2{font-size:40px}
  .hero-mosaic{width:250px}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .product:hover{box-shadow:var(--shadow-m);transform:translateY(-2px)}
  .profile-card,.profile-stats,.profile-sell,.menu-list{max-width:760px}
  .filter-row{max-width:560px}
  .chat-thread{padding-inline:max(16px,calc((100% - 760px)/2))}
  .composer,.chat-closed{padding-inline:max(12px,calc((100% - 760px)/2))}
  .chat-listing{margin-inline:max(10px,calc((100% - 760px)/2))}
}
@media (min-width:1100px){
  .sidebar{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:232px;padding:24px 16px;border-right:1px solid var(--line);background:var(--surface)}
  .brand{display:flex;align-items:center;gap:10px;margin:4px 6px 32px;color:var(--text);text-align:left}
  .brand .logo-word{width:124px;height:24px}
  .brand i{display:block;margin-top:7px;font-style:normal;font-size:8px;letter-spacing:1.4px;color:var(--muted);font-weight:650}
  .nav-button{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 12px;margin-bottom:4px;border-radius:var(--r-m);text-align:left;font-size:14.5px;font-weight:600;color:var(--text-2)}
  .nav-button:hover{background:var(--surface-2)}
  .nav-button.active{background:var(--accent-soft);color:var(--accent-text)}
  .nav-button svg{width:21px;height:21px}
  .nav-button .nav-badge{position:static;margin-left:auto;box-shadow:none}
  .sidebar-bottom{margin-top:auto;padding:16px 8px 0;font-size:12.5px;color:var(--text-2)}
  .sidebar-bottom>span:not(.status-dot){display:block;font-size:11px;color:var(--muted);margin-top:4px}
  .status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--success);margin-right:6px}
  .workspace{margin-left:232px}
  .mobile-brand,.mobile-nav{display:none}
  .breadcrumb{display:flex;gap:10px;color:var(--muted);font-size:13px}
  .breadcrumb b{font-weight:600;color:var(--text)}
  .topbar{border-bottom-color:var(--line);height:64px}
  main{padding-bottom:48px}
  .form-actions{bottom:0}
  .desktop-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 36px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
  .chat-screen{left:232px}
  #toast{bottom:32px}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:359px){
  main{padding-inline:12px}
  .topbar{padding-inline:12px}
  .hero{padding:18px 14px}
  .hero h2{font-size:19px}
  .hero-mosaic{width:96px}
  .category-grid,.game-strip,.tabs{margin-inline:-12px;padding-inline:12px}
  .grid{gap:8px}
  .price{font-size:15px}
  .profile-stats>div{padding:10px}
  .mobile-tab{font-size:9.5px}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* ---------- New screens on wider layouts ---------- */
@media (min-width:540px){
  .item-media{margin:0}
  .item-gallery,.item-gallery .product-art,.empty-gallery .product-art{border-radius:var(--r-xl)}
  .card-strip{margin-inline:0;padding-inline:0}
  .card-strip .product{flex-basis:180px}
  .item-buybar{left:50%;right:auto;bottom:calc(10px + var(--safe-bottom));width:min(560px,calc(100% - 32px));transform:translateX(-50%);border:1px solid var(--line);border-radius:22px;padding:10px 12px;box-shadow:var(--shadow-l)}
}
@media (min-width:800px){
  .item-page{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:start}
  .item-media{position:sticky;top:84px}
  .item-buybar{display:none}
  body.item-mode main{padding-bottom:48px}
  .search-panel{right:auto;width:min(560px,100%)}
}
@media (min-width:1100px){
  body.item-mode .mobile-nav{display:none}
  .topbar-start #back-button{margin-left:-6px}
  .topbar-title{display:none}
}
/* =====================================================================
   VEXLIO dark marketplace layer: cards, banners, chats, moderation.
   Loaded last on purpose: it refines the base components above.
   ===================================================================== */
body{letter-spacing:-.005em}
.primary{background:var(--grad);border:0;box-shadow:0 8px 22px #5a7cff38}
.primary:hover{background:var(--grad);filter:brightness(1.08)}
.mobile-tab.create .nav-icon{background:var(--grad);box-shadow:0 10px 24px #6b6cff55}
.profile-letter,.chat-avatar{background:var(--grad)}
.chevron svg{width:18px;height:18px;color:var(--muted)}
.star{color:var(--star);font-size:.8em;margin-left:3px}
.mini-avatar{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--grad);color:#fff;font-size:10px;font-weight:750;flex-shrink:0}
.tab{display:inline-flex;align-items:center;gap:6px}
.tab svg{width:15px;height:15px}
.tab-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--surface-3);color:var(--text-2);font-size:11px;line-height:18px;text-align:center}
.tab.active .tab-count{background:#0002;color:inherit}
.text-link svg{width:16px;height:16px}
.home-search{background:var(--surface);border-color:var(--line);border-radius:999px}
.search{border-radius:999px}.search input{border-radius:999px}
.sort-wrap{position:relative}
.sort-wrap>svg{position:absolute;left:12px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.sort{padding-left:36px;appearance:none;-webkit-appearance:none}

/* ---------- Promo banners ---------- */
.banners{position:relative;margin:2px 0 24px}
.banner-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:24px}
.banner-track::-webkit-scrollbar{display:none}
.banner{position:relative;flex:0 0 100%;scroll-snap-align:start;display:flex;align-items:stretch;gap:10px;min-height:190px;padding:30px 20px 20px;overflow:hidden;color:#fff;isolation:isolate}
.banner:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 90% at 100% 0%,#ffffff2b,transparent 55%)}
.b-catalog{background:linear-gradient(135deg,#3d5cff,#8a52ff)}
.b-sell{background:linear-gradient(135deg,#8a3dff,#ff4fa3)}
.b-safe{background:linear-gradient(135deg,#0f9b8e,#2d6cff)}
.banner-copy{position:relative;z-index:1;flex:1;min-width:0;display:flex;flex-direction:column}
.banner-kicker{font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;opacity:.85}
.banner h2{font-size:21px;line-height:1.15;letter-spacing:-.5px;margin:6px 0 6px;max-width:240px}
.banner p{font-size:12.5px;line-height:1.4;opacity:.85;max-width:230px}
.banner-cta{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:9px 14px;border-radius:999px;background:#fff;color:#11131a;font-size:13px;font-weight:700}
.banner-cta svg{width:16px;height:16px}
.banner-art{position:relative;width:104px;flex-shrink:0;display:grid;place-items:center}
.banner-games{display:grid;grid-template-columns:1fr 1fr;gap:8px;transform:rotate(-10deg) translateX(8px)}
.banner-games .game-art{width:48px;border-radius:14px;box-shadow:0 10px 22px #0004;border:2px solid #ffffff40}
.banner-symbol{display:grid;place-items:center;width:92px;height:92px;border-radius:30px;background:#ffffff26;backdrop-filter:blur(6px);transform:rotate(-8deg)}
.banner-symbol svg{width:46px;height:46px;stroke-width:1.6}
.banner-progress{position:absolute;z-index:2;top:12px;left:20px;right:20px;display:flex;gap:5px;pointer-events:none}
.banner-progress span{flex:1;height:3px;border-radius:2px;background:#ffffff40;transition:background-color .3s}
.banner-progress span.active{background:#fff}

/* ---------- Games and categories ---------- */
.game{flex:0 0 74px}
.game .game-art{border-radius:20px;box-shadow:0 8px 18px #0005}
.game b{font-size:11.5px;color:var(--text)}
.category{background:var(--surface);border-color:var(--line);box-shadow:none}
.category .category-icon{background:var(--grad-soft);color:var(--accent-text)}

/* ---------- Product cards (borderless, game first, price first) ---------- */
.grid{gap:14px 10px}
.product{background:transparent;border:0;box-shadow:none;overflow:visible;border-radius:0}
.product-open{gap:0}
.product-src{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:8px}
.product-src .game-art,.src-icon{width:30px;height:30px;border-radius:10px;flex-shrink:0;box-shadow:none}
.src-icon{display:grid;place-items:center;background:var(--surface-2);color:var(--accent-text)}
.src-icon svg{width:16px;height:16px}
.product-src>span:last-child{min-width:0;line-height:1.15}
.product-src b{display:block;font-size:12.5px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.product-src small{display:block;font-size:11px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.product-art{border-radius:18px;background:var(--surface-2)}
.product-art>svg{color:var(--accent-text);opacity:.6}
.product-body{padding:10px 2px 0}
.price{order:0;font-size:18px;font-weight:850;letter-spacing:-.4px;color:var(--text)}
.product h3{margin-top:3px;font-size:13.5px;font-weight:500;color:var(--text-2)}
.seller-caption{display:flex;align-items:center;gap:6px;margin-top:6px;padding:0;font-size:12px;color:var(--muted)}
.seller-caption>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.card-reason{display:flex;gap:5px;margin-top:6px;font-size:11.5px;line-height:1.35;color:var(--danger)}
.card-reason svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}
.card-reason span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.favorite{top:46px;right:8px;background:#0b0c10a6;color:#fff;backdrop-filter:blur(10px)}
.status-badge{top:8px;left:8px;background:#0b0c10b8;color:#fff}
.status-pending{color:var(--warning)}.status-rejected{color:var(--danger)}.status-archived{color:var(--text-2)}
.product:hover .product-art img{transform:scale(1.03)}
.product-art img{transition:opacity .3s,transform .35s}
.card-strip .product{flex-basis:160px}

/* ---------- Sheets, switches, notices ---------- */
.sheet-label{font-size:14px;margin:4px 0 10px;color:var(--text-2)}
.form-grid.two{grid-template-columns:1fr 1fr;gap:10px}
.switch-row{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;margin:4px 0 18px;background:var(--surface);border:1px solid var(--line);border-radius:16px;cursor:pointer}
.switch-row>span:nth-child(2){flex:1}
.switch-row b{display:block;font-size:14.5px}
.switch-row small{display:block;font-size:12px;color:var(--muted)}
.switch-row input{position:absolute;opacity:0;pointer-events:none}
.switch{position:relative;width:44px;height:26px;border-radius:13px;background:var(--surface-3);transition:background-color .2s;flex-shrink:0}
.switch:after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
.switch-row input:checked+.switch{background:var(--accent)}
.switch-row input:checked+.switch:after{transform:translateX(18px)}
.switch-row input:focus-visible+.switch{outline:2.5px solid var(--accent);outline-offset:2px}
.sheet-actions{display:flex;gap:10px}.sheet-actions .primary{flex:1}
.reason-list{display:flex;flex-direction:column;gap:6px;margin:12px 0 16px}
.reason-option{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;font-size:14px;cursor:pointer}
.reason-option input{accent-color:var(--danger);margin-top:3px}
.reason-option:has(input:checked){border-color:var(--danger);background:var(--danger-soft)}
.reject-box,.info-box,.ban-banner,.mod-bar{display:flex;align-items:flex-start;gap:12px;margin:16px 0 4px;padding:14px;border-radius:16px;font-size:13.5px;line-height:1.45}
.reject-box{background:var(--danger-soft);color:var(--text)}
.reject-box>svg{color:var(--danger)}
.info-box{background:var(--warning-soft);color:var(--text)}
.info-box>svg{color:var(--warning)}
.reject-box svg,.info-box svg,.ban-banner>svg,.mod-bar>svg{width:20px;height:20px;flex-shrink:0;margin-top:1px}
.reject-box p,.info-box p,.ban-banner p{color:var(--text-2);margin-top:2px}
.ban-banner{align-items:center;margin:0 0 14px;background:var(--danger-soft)}
.ban-banner>svg{color:var(--danger)}
.ban-banner>div{flex:1}
.ban-banner .secondary{min-height:38px;padding:0 12px;font-size:13px}
.mod-bar{align-items:center;margin:0 0 14px;background:var(--surface);border:1px solid var(--line)}
.mod-bar>svg{color:var(--warning)}
.mod-bar span{flex:1;color:var(--text-2)}
.mod-bar button{min-height:38px;padding:0 12px;font-size:13px}
.danger{background:var(--danger-soft);color:var(--danger);border:1px solid #ff5c7433}
.tag-danger{background:var(--danger-soft);color:var(--danger)}
.link-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:600}
.lightbox-img{display:block;width:100%;max-height:75dvh;object-fit:contain;border-radius:16px;background:#000}

/* ---------- Moderation ---------- */
.stat{display:flex;flex-direction:column;gap:2px}
.stat svg{width:18px;height:18px;color:var(--accent-text);margin-bottom:6px}
.admin-tabs{margin-top:4px}
.admin-list{display:flex;flex-direction:column;gap:10px}
.admin-card{padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.admin-card.row{display:flex;align-items:center;gap:12px}
.admin-card.row .admin-card-text{flex:1;min-width:0}
.admin-card-main{display:flex;gap:12px;width:100%;text-align:left}
.admin-thumb{position:relative;width:64px;height:64px;border-radius:14px;overflow:hidden;flex-shrink:0;background:var(--surface-2);display:grid;place-items:center;color:var(--accent-text)}
.admin-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.admin-thumb svg{width:22px;height:22px}
.admin-card-text{min-width:0}
.admin-card-text small{display:block;font-size:12px;color:var(--muted)}
.admin-card-text b{display:block;font-size:15px;margin:2px 0;overflow-wrap:anywhere}
.admin-price{font-size:14px;font-weight:800}
.admin-desc{margin:10px 0 0;font-size:13.5px;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.admin-card-head{display:flex;gap:12px;align-items:center}
.admin-card-head b{display:block;font-size:15px}
.admin-card-head small{display:block;font-size:12px;color:var(--muted)}
.admin-quote{margin:10px 0;padding:10px 12px;border-left:3px solid var(--line-strong);background:var(--surface-2);border-radius:0 12px 12px 0;font-size:14px;color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere}
.admin-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);margin-bottom:10px}
.admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.admin-actions.wrap{display:flex;flex-wrap:wrap}
.admin-actions.wrap>*{flex:1 1 auto}
.admin-actions .primary,.admin-actions .secondary,.admin-actions .danger{min-height:42px;font-size:13.5px;padding:0 12px}

/* ---------- Chat list ---------- */
.dialog-list{background:transparent;border:0;gap:2px}
.dialog-entry{border-radius:16px;padding:10px 10px;background:transparent}
.dialog-list .dialog-entry+.dialog-entry{border-top:0}
.dialog-entry:hover,.dialog-entry.active{background:var(--surface)}
.dialog-entry.active{box-shadow:inset 3px 0 0 var(--accent)}
.support-entry{background:var(--surface);border-color:var(--line)}
.support-avatar svg{width:22px;height:22px;color:#fff}
.chat-avatar-wrap{position:relative;flex-shrink:0}
.chat-avatar{width:50px;height:50px;font-size:19px}
.chat-item-thumb{position:absolute;right:-4px;bottom:-4px;width:24px;height:24px;border-radius:8px;overflow:hidden;border:2px solid var(--bg);background:var(--surface-2)}
.chat-item-thumb img{width:100%;height:100%;object-fit:cover}
.chat-line{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.chat-line b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-line small{flex:1;min-width:0;margin:0}
.chat-topic{display:flex;align-items:center;gap:6px;margin:2px 0;color:var(--text-2);font-size:12.5px}
.chat-topic>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.role-chip{flex-shrink:0;display:inline-block;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:700;letter-spacing:.2px}
.role-chip.buyer{background:var(--accent-soft);color:var(--accent-text)}
.role-chip.seller{background:var(--success-soft);color:var(--success)}

/* ---------- Conversation ---------- */
.chat-screen{background:var(--thread-bg)}
.chat-header{background:var(--overlay)}
.chat-peer small{display:flex;align-items:center;gap:6px}
.deal-card{display:flex;align-items:center;gap:10px;margin:8px 10px 0;padding:8px 10px 8px 8px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.deal-main{flex:1;display:flex;align-items:center;gap:10px;min-width:0;text-align:left}
.deal-art{position:relative;display:grid;place-items:center;width:50px;height:50px;border-radius:13px;overflow:hidden;flex-shrink:0;background:var(--surface-2);color:var(--accent-text)}
.deal-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.deal-art svg{width:22px;height:22px}
.deal-text{min-width:0}
.deal-text small{display:block;font-size:11px;color:var(--muted)}
.deal-text b{display:block;font-size:14px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.deal-price{font-size:14px;font-weight:850}
.deal-status{flex-shrink:0;padding:4px 9px;border-radius:999px;font-size:11.5px;font-weight:700;background:var(--surface-2);color:var(--text-2)}
.deal-status.status-published{background:var(--success-soft);color:var(--success)}
.deal-status.status-pending{background:var(--warning-soft);color:var(--warning)}
.deal-status.status-rejected{background:var(--danger-soft);color:var(--danger)}
.sys-msg{align-self:center;display:flex;align-items:flex-start;gap:8px;max-width:min(92%,520px);margin:10px 0 4px;padding:10px 12px;border-radius:14px;background:var(--surface);color:var(--text-2);font-size:12.5px;line-height:1.45}
.sys-msg svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}
.sys-safety{border:1px solid #5a7cff40;background:var(--accent-soft)}
.sys-safety svg{color:var(--accent-text)}
.sys-safety b{color:var(--text)}
.sys-quiet{background:transparent;padding:4px 12px;color:var(--muted)}
.bubble{background:var(--bubble-in);box-shadow:none}
.bubble.mine{background:var(--grad);color:#fff}
.bubble.has-photo{padding:4px;position:relative}
.bubble.has-photo .bubble-text{display:block;padding:6px 8px 0}
.bubble.has-photo .bubble-meta{margin:4px 6px 4px 10px}
.bubble-photo{display:block;padding:0;border-radius:15px;overflow:hidden;background:var(--surface-3)}
.bubble-photo img{display:block;max-width:min(260px,62vw);max-height:320px;min-width:120px;min-height:90px;object-fit:cover}
.bubble.photo-only .bubble-meta{position:absolute;right:10px;bottom:10px;margin:0;padding:3px 7px;border-radius:999px;background:#0009;color:#fff}
.composer{background:var(--overlay)}
.composer-row{align-items:flex-end}
.attach-button{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;flex-shrink:0;background:var(--surface-2);color:var(--text-2);cursor:pointer}
.attach-button:hover{color:var(--text)}
.attach-button svg{width:21px;height:21px}
.attach-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.attach-button:focus-within{outline:2.5px solid var(--accent);outline-offset:2px}
.composer textarea{background:var(--surface-2);border-color:transparent}
.send-button{background:var(--grad)}
.send-button:disabled{background:var(--surface-2)}
.attach-preview{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:12.5px;color:var(--muted)}
.attach-thumb{position:relative;width:58px;height:58px;border-radius:12px;overflow:hidden;flex-shrink:0}
.attach-thumb img{width:100%;height:100%;object-fit:cover}
.attach-thumb .thumb-remove{width:22px;height:22px;top:3px;right:3px}
.thumb-remove svg{width:15px;height:15px}
.quick-reply{background:var(--surface);border-color:var(--line-strong)}
.chat-closed{background:var(--surface)}
.chat-closed svg{color:var(--muted)}
.chat-placeholder{display:none}

/* ---------- Two-pane chats on wide screens ---------- */
@media (min-width:1100px){
  body.chat-mode .topbar{display:flex}
  body.chat-mode main,body.chats-wide main{padding:0;max-width:none}
  .chat-layout{display:grid;grid-template-columns:360px minmax(0,1fr);height:calc(100dvh - 64px);border-top:0}
  .chat-sidebar{display:flex;flex-direction:column;min-height:0;padding:16px 12px;border-right:1px solid var(--line);overflow:hidden}
  .chat-sidebar-head h1{font-size:24px;margin:4px 6px 14px}
  .chat-sidebar #chat-results{flex:1;min-height:0;overflow-y:auto;margin:0 -4px;padding:0 4px}
  .chat-sidebar .chat-search{margin-bottom:10px}
  .chat-sidebar .tabs{margin:0 0 10px}
  .chat-layout .chat-screen{position:relative;inset:auto;z-index:auto;left:auto;height:100%;min-height:0}
  .chat-layout .chat-back{display:none}
  .chat-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--muted)}
  .chat-placeholder svg{width:48px;height:48px;color:var(--accent-text);opacity:.6}
  .chat-placeholder h3{color:var(--text)}
  .chat-layout .chat-thread,.chat-layout .composer,.chat-layout .chat-closed{padding-inline:max(16px,calc((100% - 760px)/2))}
  .chat-layout .deal-card{margin-inline:max(10px,calc((100% - 760px)/2))}
}
@media (min-width:540px){
  .banner{min-height:210px;padding:34px 28px 24px}
  .banner h2{font-size:28px;max-width:380px}
  .banner p{font-size:14px;max-width:360px}
  .banner-art{width:180px}
  .banner-games .game-art{width:64px;border-radius:18px}
  .banner-symbol{width:120px;height:120px;border-radius:38px}
  .banner-symbol svg{width:58px;height:58px}
  .grid{gap:20px 14px}
}
.chat-sidebar .search,.chat-sidebar .tabs{flex:0 0 auto}

/* =====================================================================
   Catalog and profile, round 2: game header, quick filters, list view,
   seller level, action tiles, showcases, game covers.
   ===================================================================== */
.game-art.has-cover{background:#000}
.game-art.has-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:14px;background:#ffffff1f;color:#fff;font-size:14px;font-weight:650;backdrop-filter:blur(8px)}
.ghost-button svg{width:18px;height:18px}

/* ---------- Catalog ---------- */
.catalog-top{position:sticky;top:calc(60px + var(--app-top));z-index:7;margin:0 -16px;padding:6px 16px 10px;background:linear-gradient(var(--bg) 75%,transparent)}
.catalog-top .tools{margin:0;gap:8px;align-items:center}
.filter-icon{position:relative;width:48px;height:48px;border-radius:50%;background:var(--surface);border-color:var(--line)}
.filter-dot{position:absolute;top:10px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--accent-2);box-shadow:0 0 0 2px var(--surface)}
.catalog-h1{font-size:26px;margin:6px 0 14px}
.game small{display:block;font-size:10.5px;color:var(--muted);margin-top:1px}
.game-hero{position:relative;overflow:hidden;isolation:isolate;margin:6px 0 16px;padding:20px 18px 18px;border-radius:24px;background:var(--grad);color:#fff}
.game-hero.roblox{background:linear-gradient(135deg,#3b4252,#0e1117)}
.game-hero.genshin{background:linear-gradient(135deg,#7e9fe5,#4a4f9c)}
.game-hero.standoff{background:linear-gradient(135deg,#e2673f,#3a1f2a)}
.game-hero.pubg{background:linear-gradient(135deg,#f2a93b,#5a3e18)}
.game-hero.brawl{background:linear-gradient(135deg,#ffb020,#e8590c)}
.game-hero.cs2{background:linear-gradient(135deg,#d7962b,#28344a)}
.game-hero.dota2{background:linear-gradient(135deg,#c4362e,#250c0f)}
.game-hero.steam{background:linear-gradient(135deg,#1b3a66,#0a6fa3)}
.game-hero-bg{position:absolute;inset:0;z-index:-1}
.game-hero-bg img{width:100%;height:100%;object-fit:cover;filter:blur(18px) saturate(1.3);transform:scale(1.25);opacity:.55}
.game-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0000 20%,#0b0c1099)}
.game-hero-body{display:flex;align-items:center;gap:14px}
.game-hero-body .game-art{width:76px;border-radius:22px;flex-shrink:0;box-shadow:0 12px 26px #0006;border:2px solid #ffffff38}
.game-hero-kicker{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;opacity:.85}
.game-hero-kicker svg{width:14px;height:14px}
.game-hero h1{font-size:26px;line-height:1.1;margin:4px 0 2px;color:#fff}
.game-hero p{font-size:13.5px;opacity:.85}
.game-hero-actions{display:flex;gap:8px;margin-top:16px}
.game-hero-actions>*{flex:1}
.game-hero-actions .primary{background:#fff;color:#11131a;box-shadow:none}
.quick-row{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:-4px -16px 6px;padding:0 16px 4px}
.quick-row::-webkit-scrollbar{display:none}
.chip-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text-2);font-size:12.5px;font-weight:650;white-space:nowrap}
.chip-btn svg{width:14px;height:14px}
.chip-btn.active{background:var(--accent-soft);border-color:#5a7cff66;color:var(--accent-text)}
.quick-sep{flex-shrink:0;width:1px;margin:6px 2px;background:var(--line-strong)}
.catalog-head-right{display:flex;align-items:center;gap:10px}
.view-toggle{display:flex;padding:3px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.view-toggle button{display:grid;place-items:center;width:32px;height:28px;border-radius:9px;color:var(--muted)}
.view-toggle button svg{width:16px;height:16px}
.view-toggle button.active{background:var(--surface-3);color:var(--text)}
.catalog-grid.list-view{grid-template-columns:1fr;gap:10px}
.list-view .product{padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.list-view .product-open{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:12px}
.list-view .product-src{grid-column:2;grid-row:1;margin-bottom:4px}
.list-view .product-art{grid-column:1;grid-row:1/3;width:96px;aspect-ratio:1;border-radius:14px}
.list-view .product-body{grid-column:2;grid-row:2;padding:0}
.list-view .favorite{top:10px;right:10px;width:32px;height:32px;background:var(--surface-2)}
.more-sentinel{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 0 6px}
.more-sentinel .load-more{margin:0}
.spinner{width:26px;height:26px;border-radius:50%;border:3px solid var(--surface-3);border-top-color:var(--accent);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.end-note{display:flex;align-items:center;justify-content:center;gap:6px;padding:22px 0 4px;font-size:13px;color:var(--muted)}
.end-note svg{width:16px;height:16px;color:var(--success)}
.recent-section{margin-top:28px}
.recent-section h2,.profile-section h2{display:flex;align-items:center;gap:8px}
.recent-section h2 svg,.profile-section h2 svg{width:19px;height:19px;color:var(--accent-text)}

/* ---------- Profile ---------- */
.profile-hero{position:relative;margin:2px 0 12px;padding:0 0 16px;background:var(--surface);border:1px solid var(--line);border-radius:26px;overflow:hidden}
.profile-cover{position:relative;height:96px;background:var(--grad);overflow:hidden}
.profile-cover span{position:absolute;border-radius:50%;background:#ffffff1f}
.profile-cover span:first-child{width:180px;height:180px;right:-40px;top:-90px}
.profile-cover span:last-child{width:110px;height:110px;left:30%;top:30px;background:#ffffff14}
.profile-main{display:flex;align-items:flex-end;gap:14px;margin:-38px 16px 0;position:relative}
.profile-avatar-ring{position:relative;padding:4px;border-radius:50%;background:var(--surface);flex-shrink:0}
.profile-avatar-ring .profile-letter{width:84px;height:84px;font-size:34px;box-shadow:0 10px 26px #0006}
.profile-avatar-ring .profile-letter svg{width:38px;height:38px}
.level-dot{position:absolute;right:0;bottom:4px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface-3);color:var(--text);border:3px solid var(--surface)}
.level-dot svg{width:14px;height:14px}
.lvl-1 .level-dot{background:#2d6cff;color:#fff}.lvl-2 .level-dot{background:#12a36b;color:#fff}.lvl-3 .level-dot{background:linear-gradient(135deg,#ffb547,#ff6b3d);color:#fff}
.profile-id{min-width:0;padding-bottom:2px}
.profile-id h1{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.profile-handle{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:4px;font-size:13px;color:var(--text-2)}
.profile-handle .account-label{display:inline-flex;align-items:center;gap:3px;color:var(--success);font-weight:650}
.profile-handle svg{width:14px;height:14px}
.profile-since{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:12.5px;color:var(--muted)}
.profile-since svg{width:14px;height:14px}
.profile-hero-actions{display:flex;gap:8px;margin:16px 16px 0}
.profile-hero-actions .secondary{flex:1;min-height:44px;font-size:14px}
.profile-hero-actions .icon-button{width:44px;height:44px;border-radius:14px}
.profile-hero.guest{padding-bottom:16px}
.profile-hero.guest .profile-main{align-items:center}
.profile-hero.guest p{font-size:13.5px;color:var(--text-2);margin-top:4px}
.profile-hero.guest .wide{margin:16px 16px 0;width:calc(100% - 32px)}
.level-card{display:flex;align-items:center;gap:14px;margin-bottom:12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:22px}
.level-badge{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;flex-shrink:0;background:var(--surface-3);color:var(--text)}
.level-badge svg{width:26px;height:26px}
.level-badge.lvl-1{background:#2d6cff;color:#fff}.level-badge.lvl-2{background:#12a36b;color:#fff}.level-badge.lvl-3{background:linear-gradient(135deg,#ffb547,#ff6b3d);color:#fff}
.level-text{flex:1;min-width:0}
.level-text small{display:block;font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;font-weight:700}
.level-text b{display:block;font-size:18px;margin:1px 0 8px}
.level-bar{height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden}
.level-bar span{display:block;width:0;height:100%;border-radius:4px;background:var(--grad);transition:width .9s cubic-bezier(.2,.8,.2,1)}
.level-text p{margin-top:8px;font-size:12.5px;color:var(--text-2);line-height:1.4}
.profile-stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.profile-stats.four>div{padding:12px 10px}
.profile-stats.four b{font-size:20px}
.profile-stats.four span{font-size:11px;line-height:1.25}
.action-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.action-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:96px;padding:14px 12px;background:var(--surface);border:1px solid var(--line);border-radius:20px;text-align:left}
.action-tile:hover{background:var(--surface-2)}
.action-tile-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--grad-soft);color:var(--accent-text)}
.action-tile-icon svg{width:20px;height:20px}
.action-tile b{font-size:13.5px;line-height:1.2}
.action-tile small{font-size:11.5px;color:var(--accent-text);font-weight:650;margin-top:-2px}
.action-tile.accent{background:var(--grad);border-color:transparent;color:#fff}
.action-tile.accent .action-tile-icon{background:#ffffff2e;color:#fff}
.reject-box.clickable{width:100%;text-align:left;align-items:center;margin:0 0 12px}
.reject-box.clickable>div{flex:1}
.reject-box.clickable>svg:last-child{color:var(--muted)}
.profile-section{margin-top:22px}
.profile-section:empty{display:none}
.showcase-empty{display:flex;align-items:center;gap:12px;padding:16px;background:var(--surface);border:1px dashed var(--line-strong);border-radius:20px}
.showcase-empty>svg{width:26px;height:26px;color:var(--accent-text);flex-shrink:0}
.showcase-empty>div{flex:1}
.showcase-empty p{font-size:12.5px;color:var(--muted);margin-top:2px}
.showcase-empty .primary{min-height:40px;padding:0 14px;font-size:13px}
#profile-recent .recent-section{margin-top:22px}

/* ---------- Game covers (moderation) ---------- */
.cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px}
.cover-card{display:flex;flex-direction:column;gap:4px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.cover-card .game-art{width:72px;border-radius:20px;margin-bottom:6px}
.cover-card b{font-size:14.5px}
.cover-card small{font-size:12px;color:var(--muted)}
.cover-actions{display:flex;gap:6px;margin-top:8px}
.cover-upload{position:relative;flex:1;min-height:40px;font-size:13px;padding:0 10px;cursor:pointer}
.cover-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cover-upload:focus-within{outline:2.5px solid var(--accent);outline-offset:2px}
.cover-actions .icon-button{width:40px;height:40px;color:var(--danger)}

@media (min-width:540px){
  .catalog-top{margin:0;padding-inline:0}
  .quick-row{margin-inline:0;padding-inline:0}
  .game-hero{padding:26px}
  .game-hero h1{font-size:34px}
  .game-hero-body .game-art{width:96px}
  .game-hero-actions{max-width:420px}
  .profile-cover{height:130px}
  .profile-main{margin-top:-46px}
  .profile-avatar-ring .profile-letter{width:100px;height:100px;font-size:40px}
  .profile-id h1{font-size:28px}
  .profile-hero-actions{max-width:480px}
  .action-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}
  .list-view .product-open{grid-template-columns:120px minmax(0,1fr)}
  .list-view .product-art{width:120px}
}
@media (min-width:1100px){
  .catalog-top{top:64px}
}
/* =====================================================================
   Design system v3 (light-20261101): one 4/8 px spacing scale, a clear type scale,
   level card rows, 44 px touch targets. These rules refine the ones above.
   ===================================================================== */
:root{--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--sp-10:40px;--tap:44px;--gutter:16px}
@media (min-width:400px){:root{--gutter:20px}}
h1{font-size:26px;line-height:32px;letter-spacing:-.6px}
.section-heading{margin:var(--sp-2) 0 var(--sp-6)}
.section-heading h1{font-size:26px;line-height:32px}
.section-heading p{margin-top:var(--sp-1);font-size:14px;line-height:20px}
.section-row{min-height:var(--tap);margin-bottom:var(--sp-3)}
.section-row h2,.home-section h2{display:inline-flex;align-items:center;gap:var(--sp-2);font-size:19px;line-height:24px;font-weight:750;letter-spacing:-.3px}
.section-row h2 svg{width:20px;height:20px;color:var(--muted)}
.text-link{min-height:var(--tap);padding:0 var(--sp-1)}
.home-section,.recent-section,.profile-section,.item-section{margin-top:var(--sp-8)}

/* Shell: the top bar starts below Telegram's safe area; nothing sits under its buttons. */
@media (max-width:799px){
  .topbar{height:calc(56px + var(--app-top));padding-left:var(--gutter);padding-right:var(--gutter);gap:var(--sp-3)}
  .catalog-top{top:calc(56px + var(--app-top));margin:0 calc(-1*var(--gutter));padding:var(--sp-2) var(--gutter) var(--sp-3)}
  main{padding:var(--sp-2) var(--gutter) calc(var(--nav-h) + var(--sp-8) + var(--safe-bottom));min-height:calc(100dvh - 56px - var(--app-top))}
}
.icon-button{width:var(--tap);height:var(--tap);border-radius:14px}
.avatar{width:40px;height:40px}
.top-actions{gap:var(--sp-2)}
.home-search{height:48px;margin:var(--sp-2) 0 var(--sp-5);padding:0 var(--sp-4);gap:var(--sp-3)}
.banners{margin:0 0 var(--sp-2)}
.banner{min-height:200px;padding:var(--sp-8) var(--sp-5) var(--sp-5)}
.banner h2{font-size:22px;line-height:26px;margin:var(--sp-2) 0}
.banner p{font-size:13px;line-height:18px}
.banner-cta{min-height:40px;padding:0 var(--sp-4);margin-top:var(--sp-4)}
@media (max-width:799px){.tabs,.quick-row,.game-strip,.category-grid,.card-strip{margin-left:calc(-1*var(--gutter));margin-right:calc(-1*var(--gutter));padding-left:var(--gutter);padding-right:var(--gutter);scroll-padding-left:var(--gutter)}}
.tab{min-height:40px;padding:0 var(--sp-4)}
.chip-btn{min-height:40px;padding:0 var(--sp-4);gap:var(--sp-2)}
.quick-row{gap:var(--sp-2);margin-top:0;margin-bottom:var(--sp-4)}
.tabs{gap:var(--sp-2);margin-bottom:var(--sp-3)}
.tools{gap:var(--sp-2)}

/* Game tiles: identical size, art 1:1, one line of name, one line of count. */
.game-strip{gap:var(--sp-3);padding-top:var(--sp-1);padding-bottom:var(--sp-2);margin-bottom:0;align-items:flex-start}
.game{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;min-height:120px}
.game .game-art{width:72px;height:72px;aspect-ratio:auto;border-radius:20px}
.game b{width:100%;height:16px;margin-top:var(--sp-2);font-size:12px;line-height:16px;font-weight:650}
.game small{width:100%;height:16px;margin-top:2px;font-size:11px;line-height:16px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.game-art{container-type:inline-size}
.game-art.mono b{display:block;font-size:14px;font-size:34cqi;font-weight:850;letter-spacing:-.04em;line-height:1;color:#fff;text-shadow:0 2px 8px #0003}
.game-art.fortnite{background:linear-gradient(150deg,#7b5cff,#2a1a6e)}
.game-art.minecraft{background:linear-gradient(150deg,#5fae3f,#2d5a1e)}
.game-art.valorant{background:linear-gradient(150deg,#ff4655,#5a141c)}
.game-art.freefire{background:linear-gradient(150deg,#ff9a1f,#9a2b0c)}
.game-art.codm{background:linear-gradient(150deg,#4d5b3a,#14180f)}
.game-art.clashroyale{background:linear-gradient(150deg,#3f8cff,#1b2f7a)}
.game-art.clashofclans{background:linear-gradient(150deg,#e8b23a,#7a4a12)}
.game-art.mlbb{background:linear-gradient(150deg,#3aa0ff,#26206e)}
.game-art.hsr{background:linear-gradient(150deg,#a58bff,#2c2457)}
.game-art.zzz{background:linear-gradient(150deg,#f5d000,#3b3a10)}
.game-art.gta5{background:linear-gradient(150deg,#2fbf71,#0d3b25)}
.game-art.rust{background:linear-gradient(150deg,#cd412b,#3a1610)}
.game-art.apex{background:linear-gradient(150deg,#da292a,#4a0e10)}
.game-art.tarkov{background:linear-gradient(150deg,#8a8467,#22211a)}
.game-art.wot{background:linear-gradient(150deg,#b5651d,#3d240c)}
.game-art.warthunder{background:linear-gradient(150deg,#d14b3c,#2e2f3b)}
.game-art.lol{background:linear-gradient(150deg,#c8aa6e,#0a1428)}
.game-art.wow{background:linear-gradient(150deg,#1f6fd1,#11204a)}

/* Category tiles: same size everywhere, icons tinted by product type. */
.category-grid{gap:var(--sp-2);padding-top:var(--sp-1);padding-bottom:var(--sp-2)}
.category{flex:0 0 88px;min-height:92px;padding:var(--sp-3) var(--sp-1);display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:18px}
.category .category-icon{width:44px;height:44px;border-radius:14px}
.category b{width:100%;margin-top:var(--sp-2);font-size:12px;line-height:16px}
.cat-accounts{--tint:#4d8dff}.cat-currency{--tint:#ffb547}.cat-games{--tint:#a37bff}.cat-boost{--tint:#ff6b9a}.cat-services{--tint:#2fd0b0}
.cat-keys{--tint:#7bd66b}.cat-donate{--tint:#ff7a59}.cat-telegram{--tint:#3fa9f5}.cat-design{--tint:#ff9f43}.cat-code{--tint:#8ea2c0}.cat-education{--tint:#c6f432}
.category[class*=cat-] .category-icon{background:color-mix(in srgb,var(--tint) 16%,transparent);color:var(--tint)}

/* Product cards: fixed rows, so cards in one row always line up. */
.grid{gap:var(--sp-5) var(--sp-3)}
.product-src{height:32px;margin-bottom:var(--sp-2)}
.product-src .game-art,.src-icon{width:32px;height:32px;border-radius:10px}
.product-art{aspect-ratio:1/1;border-radius:16px}
.product-body{padding:var(--sp-3) var(--sp-1) 0}
.price{font-size:18px;line-height:24px}
.product h3{margin-top:2px;min-height:calc(2 * 1.35em);font-size:13.5px;line-height:1.35}
.seller-caption{height:20px;margin-top:var(--sp-2);gap:6px;min-width:0}
.seller-caption-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.favorite{top:48px;right:8px;width:36px;height:36px}
.favorite:before{content:'';position:absolute;inset:-4px}
.card-strip{gap:var(--sp-3)}
.card-strip .product{flex:0 0 164px}
.list-view .product h3{min-height:0}

/* No empty images: a missing photo becomes a tidy tile with the game art or the category icon. */
.art-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp-2);background:radial-gradient(120% 100% at 50% 0%,color-mix(in srgb,var(--tint,var(--accent)) 26%,transparent),transparent 70%),var(--surface-2)}
.art-fallback .game-art{width:44%;height:auto;aspect-ratio:1;border-radius:22%;box-shadow:0 10px 24px #0006}
.art-fallback-icon{display:grid;place-items:center;width:44%;aspect-ratio:1;border-radius:24%;background:color-mix(in srgb,var(--tint,var(--accent)) 18%,transparent);color:var(--tint,var(--accent-text))}
.art-fallback-icon svg{width:46%;height:46%}
.art-fallback small{font-size:11px;font-weight:650;letter-spacing:.2px;color:var(--text-2)}
.item-gallery .art-fallback small{font-size:13px}
img.photo-error{display:none}

/* Trust marks */
.name-line{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;flex-wrap:wrap}
.badge-verified{display:inline-grid;place-items:center;color:#4da3ff;flex-shrink:0}
.badge-verified svg{width:18px;height:18px;stroke-width:2.2}
.badge-verified.xs svg{width:14px;height:14px}
.badge-official{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px 0 5px;border-radius:6px;background:var(--logo);color:#0b0c10;font-size:11px;font-weight:800;letter-spacing:.1px;line-height:1;flex-shrink:0}
.badge-official svg{width:13px;height:13px;stroke-width:2.4}
.badge-official.xs{height:16px;padding:0 5px 0 4px;font-size:10px}
.badge-official.xs svg{width:11px;height:11px}
.official-note{display:inline-flex;align-items:center;gap:6px;margin-top:var(--sp-1);font-size:13px;color:var(--logo);font-weight:650}
.official-note svg{width:16px;height:16px}
.sys-warn{background:var(--warning-soft);color:var(--text);border:1px solid color-mix(in srgb,var(--warning) 40%,transparent)}
.sys-warn svg{color:var(--warning)}

/* Admin journal */
.audit-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}
.audit-row{display:flex;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);font-size:13px;line-height:18px;border-top:1px solid var(--line)}
.audit-row:first-child{border-top:0}
.audit-time{flex:0 0 92px;color:var(--muted)}
.mod-bar{flex-wrap:wrap;gap:var(--sp-2)}

/* Comfortable touch targets. */
.mobile-tab{min-height:var(--tap)}
.field input,.field select{min-height:48px}
.primary,.secondary,.danger{min-height:var(--tap)}
.menu-row,.action-row{min-height:56px}

/* Small phones (320–359 px): two columns without crowding. */
@media (max-width:359px){
  :root{--gutter:12px}
  .grid{gap:var(--sp-4) var(--sp-2)}
  .game{flex-basis:68px}.game .game-art{width:64px;height:64px;border-radius:18px}
  .category{flex-basis:80px}
  .price{font-size:16px}
  h1,.section-heading h1{font-size:23px;line-height:28px}
}
@media (min-width:540px){.grid{gap:var(--sp-6) var(--sp-4)}}
.sprite{position:absolute;width:0;height:0;overflow:hidden}

/* Horizontal rows with a mouse: grab to drag; snapping pauses while dragging. */
@media (hover:hover) and (pointer:fine){
  .game-strip,.category-grid,.card-strip,.tabs,.quick-row{cursor:grab}
  .dragging{cursor:grabbing;scroll-snap-type:none!important;user-select:none}
  .dragging *{pointer-events:none}
}

/* =====================================================================
   v4 (light-20261101-4): product-type art, selling flow, filters, item facts, legal pages
   ===================================================================== */
/* Product-type illustrations replace line icons on tiles; the tint stays as a soft backdrop. */
.cat-art{overflow:hidden}
.cat-art .cat-art-svg{width:78%;height:78%;filter:drop-shadow(0 3px 6px #0003)}
.category .category-icon.cat-art{width:52px;height:52px;border-radius:16px}
.category{min-height:100px}
.src-icon.cat-art{background:color-mix(in srgb,var(--tint,var(--accent)) 14%,var(--surface-2))}
.src-icon.cat-art .cat-art-svg{width:84%;height:84%;filter:none}
.art-fallback-icon.cat-art .cat-art-svg{width:70%;height:70%}
.tab-art{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:-4px}
.tab-art .cat-art-svg{width:20px;height:20px}
.sell-category .category-icon.cat-art{width:48px;height:48px;border-radius:14px;background:var(--surface-2)}

/* Delivery time on cards and the online dot on avatars */
.delivery-chip{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:3px;height:22px;padding:0 7px 0 5px;border-radius:7px;background:#0b0c10cc;color:#fff;font-size:11px;font-weight:700;backdrop-filter:blur(6px)}
.delivery-chip svg{width:12px;height:12px;color:#c6f432;stroke-width:2.4}
.mini-avatar,.chat-avatar{position:relative}
.is-online:after{content:"";position:absolute;right:-1px;bottom:-1px;width:30%;height:30%;min-width:7px;min-height:7px;border-radius:50%;background:#2fd06b;box-shadow:0 0 0 2px var(--surface)}
.online-text{color:#2fd06b!important;font-weight:650}
.presence{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--muted);vertical-align:middle}
.presence.on{background:#2fd06b;box-shadow:0 0 0 3px #2fd06b33}
.seller-seen{display:flex;align-items:center}
.online-icon i{display:block;width:10px;height:10px;border-radius:50%;background:#2fd06b;box-shadow:0 0 0 4px #2fd06b33}

/* Filters */
.filter-dot:not([hidden]){display:grid;place-items:center;top:4px;right:4px;width:auto;min-width:16px;height:16px;padding:0 4px;border-radius:8px;font-size:10px;font-weight:800;color:#fff;background:var(--accent)}
.choice-chips{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin-bottom:var(--sp-4)}
.choice-chip{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);font-size:13px;font-weight:600;color:var(--text-2);cursor:pointer}
.choice-chip svg{width:15px;height:15px}
.choice-chip input{position:absolute;opacity:0;pointer-events:none}
.choice-chip:has(input:checked),.choice-chip.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}
.choice-chip:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.filter-tip{display:flex;gap:8px;align-items:flex-start;margin:0 0 var(--sp-4)}
.filter-tip svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}
.sheet-label{margin:var(--sp-5) 0 var(--sp-2);font-size:13px;font-weight:700;color:var(--text-2)}
#filter-form .switch-row{margin-bottom:var(--sp-2)}

/* Selling flow */
.sell-flow{max-width:720px;margin:0 auto}
.sell-progress{height:4px;border-radius:2px;background:var(--surface-3);overflow:hidden;margin-bottom:var(--sp-3)}
.sell-progress span{display:block;height:100%;width:25%;border-radius:2px;background:var(--grad);transition:width .3s ease}
.steps.steps-4 li:before{display:none}
.steps.steps-4{gap:var(--sp-1);margin-bottom:var(--sp-6)}
.steps.steps-4 li{flex-direction:row;align-items:center;gap:6px;font-size:12px;min-width:0}
.steps.steps-4 li>span,.steps.steps-4 li button>span{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--surface-3);color:var(--muted);font-size:11px;font-weight:800}
.steps.steps-4 li.current>span{background:var(--accent);color:#fff}
.steps.steps-4 li.done button>span{background:#2fd06b;color:#fff}
.steps.steps-4 li button>span svg{width:13px;height:13px;stroke-width:3}
.steps.steps-4 li button{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);font:inherit;color:var(--text-2)}
@media (max-width:420px){.steps.steps-4 li{flex:0 0 auto}.steps.steps-4 li:not([aria-current]){font-size:0;gap:0}.steps.steps-4 li:not([aria-current]) button{font-size:0}.steps.steps-4 li[aria-current]{flex:1}}
.sell-flow h2{font-size:18px;line-height:24px;margin:0 0 var(--sp-3)}
.sell-flow .form-h2{margin-top:var(--sp-6)}
.form-h2 small,.h-sub{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--muted)}
.sell-categories{grid-template-columns:1fr;gap:var(--sp-2)}
@media (min-width:560px){.sell-categories{grid-template-columns:1fr 1fr}}
.sell-category{min-height:72px}
.game-picker{margin-top:var(--sp-8);scroll-margin-top:calc(70px + var(--app-top))}
.picker-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-3)}
.picker-head small{font-size:12px;color:var(--muted)}
.game-search{margin:0 0 var(--sp-3);height:44px}
.game-choices{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:var(--sp-2)}
.game-choice{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;min-height:0;padding:var(--sp-2) var(--sp-1);text-align:center;font-size:11.5px;line-height:14px}
.game-choice .game-art{width:52px;height:52px;border-radius:15px}
.game-choice span{width:100%;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:28px}
.game-choice[hidden]{display:none}
.pick-check{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff}
.pick-check svg{width:12px;height:12px;stroke-width:3}
.sell-context{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-3);margin-bottom:var(--sp-5);border:1px solid var(--line);border-radius:var(--r-l);background:var(--surface)}
.sell-context .category-icon{width:44px;height:44px;border-radius:13px;background:var(--surface-2)}
.sell-context>span:nth-child(2){flex:1;min-width:0}
.sell-context b{display:block;font-size:14px}
.sell-context small{font-size:12px;color:var(--muted)}
.counter{font-size:12px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.title-ideas{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:-6px 0 var(--sp-4)}
.title-ideas small{font-size:12px;color:var(--muted);margin-right:2px}
.title-ideas .chip-btn{min-height:34px;font-size:12.5px}
.template-btn{margin:-6px 0 var(--sp-2);min-height:40px}
.ghost-button{display:inline-flex;align-items:center;gap:8px;padding:0 var(--sp-4);border-radius:12px;border:1px solid var(--line-strong);background:var(--surface);font-weight:650;font-size:13px;color:var(--text-2)}
.ghost-button svg{width:16px;height:16px}
.thumb-cover{position:absolute;left:6px;bottom:6px;padding:4px 8px;border-radius:999px;background:#0f1626cc;color:#fff;font-size:10.5px;font-weight:700}
.price-hint{display:flex;gap:var(--sp-2);align-items:flex-start;padding:var(--sp-3) var(--sp-4);border-radius:var(--r-m);background:var(--accent-soft);color:var(--text);font-size:13px;line-height:18px}
.price-hint[hidden]{display:none}
.price-hint svg{width:18px;height:18px;flex-shrink:0;color:var(--accent-text)}
.review-layout{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:var(--sp-4);align-items:start}
@media (max-width:520px){.review-layout{grid-template-columns:1fr}.review-card{max-width:220px}}
.preview-card .product-open{cursor:default}
.preview-card .product-art img{width:100%;height:100%;object-fit:cover}
.quality{padding:var(--sp-3) var(--sp-4);border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line);margin-bottom:var(--sp-3)}
.quality b{font-size:14px}
.quality ul{list-style:none;margin:var(--sp-2) 0 0;padding:0;display:grid;gap:6px}
.quality li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.quality li svg{width:16px;height:16px}
.quality li.ok{color:var(--text)}
.quality li.ok svg{color:#2fd06b;stroke-width:2.6}
.review-desc{margin-top:var(--sp-5)}
.review-desc h3{font-size:14px;margin-bottom:var(--sp-2)}
.review-desc p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:20px;color:var(--text-2)}
.check-row{display:flex;gap:var(--sp-3);align-items:flex-start;margin-top:var(--sp-5);padding:var(--sp-4);border-radius:var(--r-m);border:1px solid var(--line-strong);background:var(--surface);font-size:13px;line-height:19px}
.check-row input{width:22px;height:22px;flex-shrink:0;margin:0;accent-color:var(--accent)}
.check-row a,.guarantee a{color:var(--accent-text);font-weight:650;text-decoration:underline;text-underline-offset:2px}
.review-note{display:flex;gap:8px;align-items:flex-start}
.review-note svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}
.sticky-actions .primary:disabled{opacity:.45}

/* Item characteristics and safety steps */
.facts{display:grid;margin:var(--sp-4) 0;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;background:var(--surface)}
.facts div{display:flex;justify-content:space-between;gap:var(--sp-4);padding:11px var(--sp-4);border-top:1px solid var(--line);font-size:13.5px;line-height:18px}
.facts div:first-child{border-top:0}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:650;text-align:right;overflow-wrap:anywhere}
.item-meta svg{width:14px;height:14px;vertical-align:-2px;margin-right:3px}
.guarantee h2{display:flex;align-items:center;gap:8px}
.guarantee h2 svg{width:20px;height:20px;color:#2fd06b}
.guarantee-steps{list-style:none;margin:0 0 var(--sp-3);padding:0;display:grid;gap:var(--sp-2)}
.guarantee-steps li{display:flex;gap:var(--sp-3);align-items:flex-start;padding:var(--sp-3);border-radius:var(--r-m);background:var(--surface);border:1px solid var(--line)}
.guarantee-steps li>span{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--accent-soft);color:var(--accent-text);font-size:12px;font-weight:800}
.guarantee-steps b{display:block;font-size:13.5px}
.guarantee-steps small{display:block;margin-top:2px;font-size:12.5px;line-height:17px;color:var(--muted)}

/* Seller tabs */
.seller-tabs{display:flex;gap:var(--sp-1);margin:var(--sp-6) 0 var(--sp-4);border-bottom:1px solid var(--line)}
.seller-tab{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 var(--sp-4);font-weight:700;font-size:14px;color:var(--muted)}
.seller-tab.active{color:var(--text)}
.seller-tab.active:after{content:"";position:absolute;left:var(--sp-3);right:var(--sp-3);bottom:-1px;height:2px;border-radius:2px;background:var(--accent)}

/* Legal documents */
.legal-page{max-width:760px;margin:0 auto}
.legal-tabs{display:flex;gap:var(--sp-2);overflow-x:auto;scrollbar-width:none;margin:0 calc(-1*var(--gutter)) var(--sp-5);padding:0 var(--gutter)}
.legal-tabs::-webkit-scrollbar{display:none}
.legal-page h1{font-size:24px;line-height:30px}
.legal-edition{margin:var(--sp-1) 0 var(--sp-5);font-size:13px;color:var(--muted)}
.legal-page section{margin-bottom:var(--sp-5)}
.legal-page h2{font-size:16px;line-height:22px;margin-bottom:var(--sp-2)}
.legal-page p{font-size:14px;line-height:21px;color:var(--text-2);margin:0 0 var(--sp-2)}
.legal-foot{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-4);margin-top:var(--sp-6);border-radius:var(--r-l);background:var(--surface);border:1px solid var(--line);font-size:13px}
.legal-foot svg{width:20px;height:20px;color:var(--accent-text);flex-shrink:0}
.legal-foot span{flex:1}

/* v5: profile photos */
.face-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar,.mini-avatar,.chat-avatar,.profile-letter{position:relative;padding:0}
.avatar .face-img{border-radius:50%}
.profile-edit-face{cursor:pointer;border:0;font:inherit}
.face-edit{position:absolute;left:-2px;bottom:-2px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface);color:var(--text);box-shadow:0 0 0 2px var(--surface),0 2px 6px #0004}
.face-edit svg{width:13px;height:13px}
.face-editor{display:flex;align-items:center;gap:var(--sp-4);margin-bottom:var(--sp-5)}
.face-big{display:grid;place-items:center;flex-shrink:0;width:88px;height:88px;border-radius:50%;background:var(--grad);color:#fff;font-size:34px;font-weight:800;overflow:hidden}
.face-actions{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2)}
.upload-face{position:relative;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.upload-face svg{width:17px;height:17px}
.upload-face input{position:absolute;inset:0;opacity:0;cursor:pointer}
.face-actions .quiet{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);color:var(--danger,#ff5a6a);font-weight:600}
.face-actions .quiet svg{width:16px;height:16px}
.seed-box{display:flex;gap:var(--sp-3);align-items:flex-start;padding:var(--sp-4);margin:var(--sp-4) 0;border-radius:var(--r-l);background:var(--grad-soft);border:1px solid var(--line)}
.seed-box>svg{width:24px;height:24px;flex-shrink:0;color:var(--accent-text)}
.seed-box p{margin:4px 0 var(--sp-3);font-size:13px;line-height:18px;color:var(--text-2)}
.profile-letter.profile-edit-face .face-edit{background:#fff;color:#0b0c10;width:26px;height:26px;z-index:1}
/* Camera badge mirrors the level badge: same size and ring, opposite side. */
.profile-avatar-ring .profile-letter.profile-edit-face .face-edit{left:0;right:auto;bottom:4px;width:28px;height:28px;border-radius:50%;background:var(--surface-3);color:var(--text);border:3px solid var(--surface);box-shadow:none}
.profile-avatar-ring .profile-letter.profile-edit-face .face-edit svg{width:14px;height:14px;stroke-width:2.2}

/* =====================================================================
   v6 (light-20261101-6): buttons, phone-first polish, growth features
   ===================================================================== */
/* Buttons: one family — gradient primary, calm secondary, clear pressed state, focus ring for keyboards. */
.primary,.secondary,.danger{min-height:50px;padding:0 22px;border-radius:15px;font-size:15px;font-weight:700;letter-spacing:-.1px;transition:transform .12s ease,filter .15s,background-color .15s,box-shadow .15s}
.primary{background:var(--grad);color:#fff;box-shadow:inset 0 1px 0 #ffffff33,0 10px 24px -8px #6b6cffaa}
.primary:not(:disabled):active{transform:scale(.97);filter:brightness(.95);box-shadow:inset 0 1px 0 #ffffff22,0 4px 12px -6px #6b6cffaa}
.secondary{background:var(--surface-2);border:1px solid var(--line-strong);color:var(--text)}
.secondary:hover{background:var(--surface-3)}
.secondary:not(:disabled):active,.danger:not(:disabled):active{transform:scale(.97)}
.primary:focus-visible,.secondary:focus-visible,.danger:focus-visible,.chip-btn:focus-visible,.tab:focus-visible,.icon-button:focus-visible{outline:2.5px solid var(--accent-2);outline-offset:2px}
.primary svg,.secondary svg,.danger svg{width:19px;height:19px;stroke-width:2.1}
.chip-btn,.tab{transition:background-color .15s,border-color .15s,color .15s,transform .12s}
.chip-btn:not(:disabled):active,.tab:not(:disabled):active{transform:scale(.96)}
.chip-btn.active,.tab.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.tab.active .tab-count{background:color-mix(in srgb,var(--bg) 18%,transparent);color:var(--bg)}
.icon-button{transition:background-color .15s,transform .12s}
.icon-button:not(:disabled):active{transform:scale(.92)}
.product{transition:transform .14s ease}
.product:active{transform:scale(.985)}
.item-actions{grid-template-columns:1fr 1fr}
.item-actions .primary,.item-actions .danger{grid-column:1/-1}
.item-actions .secondary{min-height:46px;font-size:14px;padding:0 12px}

/* Phones first: thumb-friendly bars, readable type, no accidental zoom or bounce. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior-y:none}
@media (max-width:799px){
  .mobile-nav{left:12px;right:12px;height:66px;border-radius:26px;box-shadow:0 16px 40px -12px #000c,0 0 0 1px var(--line)}
  .mobile-tab{font-size:11px;gap:3px}
  .mobile-tab .nav-icon{display:grid;place-items:center;width:42px;height:30px;border-radius:12px;transition:background-color .2s}
  .mobile-tab.create .nav-icon{width:54px;height:54px;border-radius:19px;margin-top:-26px}
  .item-buybar{padding:12px 16px calc(12px + var(--safe-bottom));gap:14px}
  .item-buybar .buybar-price b{font-size:20px;letter-spacing:-.4px}
  .item-buybar .primary{min-width:0;flex:0 0 52%;height:52px}
  .item-price{font-size:30px;letter-spacing:-.8px}
  .item-title{font-size:21px;line-height:27px}
  .modal-body{padding-bottom:calc(20px + var(--safe-bottom))}
  .sheet-actions{position:sticky;bottom:0;padding-top:12px;background:linear-gradient(transparent,var(--surface) 30%)}
  .grid{gap:var(--sp-4) var(--sp-3)}
  .price{font-size:17px}
}
/* Desktop keeps a comfortable reading width for the same components. */
@media (min-width:800px){.item-actions{max-width:520px}}

/* Prices in rubles */
.price .star,.deal-price .star{color:var(--text-2);font-weight:650;margin-left:2px}

/* Catalog: follow a search */
.watch-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:13px;font-weight:700}
.watch-button svg{width:16px;height:16px}
.watch-button[hidden]{display:none}
.catalog-head-right{gap:var(--sp-2)}
.tab .tab-count{margin-left:2px}

/* Seller achievements */
.achievements{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin:var(--sp-3) 0 var(--sp-4)}
.achievement{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12.5px;font-weight:650}
.achievement svg{width:15px;height:15px}
.ach-fast svg{color:#c6f432}.ach-veteran svg{color:#4da3ff}.ach-pro svg{color:#ffb547}.ach-reliable svg{color:#2fd06b}

/* Chat: presence and typing */
.peer-state{margin-left:6px;color:var(--muted)}
.peer-state.typing{color:var(--accent-text);font-weight:650}
.peer-state.typing:after{content:'';display:inline-block;width:0;animation:none}
.quick-replies[hidden]{display:none}
.composer-row .attach-button{flex-shrink:0}

/* Profile switch and lists */
.menu-row .switch.on{background:var(--accent)}
.menu-row .switch.on:after{transform:translateX(18px)}
.watch-list{display:grid;gap:var(--sp-2);margin-bottom:var(--sp-3)}
.watch-row{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-3);border-radius:var(--r-m);background:var(--surface-2)}
.watch-row .game-art{width:40px;height:40px;border-radius:12px;flex-shrink:0}
.watch-row>span:nth-child(2){flex:1;min-width:0}
.watch-row b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.watch-row small{display:block;font-size:12px;color:var(--muted)}
.empty.compact{padding:var(--sp-4) 0}
.invite-hero{display:flex;flex-direction:column;align-items:center;gap:4px;padding:var(--sp-5);margin-bottom:var(--sp-4);border-radius:var(--r-l);background:var(--grad-soft);text-align:center}
.invite-hero svg{width:28px;height:28px;color:var(--accent-text)}
.invite-hero b{font-size:32px;line-height:38px}
.invite-hero span{font-size:13px;color:var(--text-2)}
.share-input{width:100%;min-height:46px;padding:0 14px;border-radius:var(--r-m);border:1px solid var(--line-strong);background:var(--surface-2);font-size:13px;color:var(--text-2);margin-bottom:var(--sp-3)}

/* Owner statistics */
.insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2);margin-bottom:var(--sp-5)}
@media (min-width:640px){.insight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.insight{display:flex;flex-direction:column;gap:2px;padding:var(--sp-4);border-radius:var(--r-l);background:var(--surface);border:1px solid var(--line)}
.insight svg{width:18px;height:18px;color:var(--accent-text);margin-bottom:4px}
.insight b{font-size:22px;line-height:28px}
.insight span{font-size:12px;color:var(--muted)}
.admin-block{margin-bottom:var(--sp-6)}
.admin-block h3{font-size:15px;margin-bottom:var(--sp-2)}
.bars{display:grid;gap:var(--sp-2)}
.bar-row{display:grid;grid-template-columns:minmax(0,150px) 1fr auto;align-items:center;gap:var(--sp-3);font-size:13px}
.bar-label{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bar-label .game-art{width:24px;height:24px;border-radius:7px;flex-shrink:0}
.bar{height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden}
.bar i{display:block;height:100%;width:0;border-radius:4px;background:var(--grad);transition:width .5s ease}
.miss-list{display:flex;flex-wrap:wrap;gap:6px}
.miss{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 6px 0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:13px}
.miss b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--surface-3);font-size:11px}
.admin-card-text .tag-danger{display:inline-flex;align-items:center;gap:4px;margin-left:6px}
.admin-card-text .tag-danger svg{width:12px;height:12px}

/* v7 (light-20261101-7): discounts, owner stats, similar offers, search hints with photos, theme picker */
.old-price{margin-left:6px;font-size:12px;font-weight:600;color:var(--muted);text-decoration-thickness:1.5px}
.item-price .old-price{font-size:16px;margin-left:10px}
.discount-chip{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:7px;background:#ff4d6d;color:#fff;font-size:11.5px;font-weight:800;letter-spacing:-.2px}
.discount-chip.inline{position:static;margin-left:8px;height:24px;font-size:13px;vertical-align:4px}
.similar-box{display:flex;align-items:center;gap:var(--sp-3);width:100%;padding:var(--sp-3) var(--sp-4);margin:0 0 var(--sp-4);border-radius:var(--r-l);background:var(--grad-soft);border:1px solid var(--line);text-align:left}
.similar-box>svg:first-child{width:22px;height:22px;color:var(--accent-text);flex-shrink:0}
.similar-box>span{flex:1;min-width:0}
.similar-box b{display:block;font-size:14px}
.similar-box small{display:block;margin-top:2px;font-size:12.5px;color:var(--text-2)}
.similar-box>svg:last-child{width:18px;height:18px;color:var(--muted)}
.owner-stats{padding:var(--sp-4);margin:0 0 var(--sp-4);border-radius:var(--r-l);background:var(--surface);border:1px solid var(--line)}
.owner-stats-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-2);margin-bottom:var(--sp-3)}
.owner-stats-head b{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.owner-stats-head b svg{width:17px;height:17px;color:var(--accent-text)}
.owner-stats-head small{font-size:11.5px;color:var(--muted)}
.mini-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end;height:96px}
.mini-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px}
.mini-bar i{display:block;width:100%;max-width:26px;height:4%;border-radius:6px 6px 3px 3px;background:var(--grad);transition:height .5s ease}
.mini-bar span{order:-1;font-size:11px;font-weight:700;color:var(--text-2)}
.mini-bar small{font-size:10.5px;color:var(--muted)}
.owner-stats-row{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-4);margin-top:var(--sp-3);font-size:12.5px;color:var(--text-2)}
.owner-stats-row span{display:inline-flex;align-items:center;gap:5px}
.owner-stats-row svg{width:15px;height:15px;color:var(--muted)}
.owner-stats-row b{color:var(--text)}
.item-hint .hint-art{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;overflow:hidden;flex-shrink:0;background:var(--surface-2)}
.item-hint .hint-art img{width:100%;height:100%;object-fit:cover}
.item-hint .hint-art .game-art{width:100%;height:100%;border-radius:0}
.item-hint .hint-art .cat-art-svg{width:80%;height:80%}
.ach-founder svg{color:#ffb547}
.theme-options{display:grid;gap:var(--sp-2)}
.theme-option{display:flex;align-items:center;gap:var(--sp-3);width:100%;min-height:64px;padding:var(--sp-3);border-radius:var(--r-l);border:1px solid var(--line-strong);background:var(--surface);text-align:left}
.theme-option.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.theme-option>span:nth-child(2){flex:1}
.theme-option b{display:block;font-size:14.5px}
.theme-option small{display:block;font-size:12px;color:var(--muted)}
.theme-option>svg{width:20px;height:20px;color:var(--accent-text)}
.theme-swatch{display:flex;width:44px;height:44px;border-radius:12px;overflow:hidden;border:1px solid var(--line-strong);flex-shrink:0}
.theme-swatch i{flex:1}
.theme-dark .theme-swatch i:first-child{background:#0b0c10}.theme-dark .theme-swatch i:last-child{background:#c6f432}
.theme-light .theme-swatch i:first-child{background:#f5f7fb}.theme-light .theme-swatch i:last-child{background:#6a5cff}
.theme-auto .theme-swatch i:first-child{background:#0b0c10}.theme-auto .theme-swatch i:last-child{background:#f5f7fb}
@media (max-width:420px){.watch-button span{display:none}.watch-button{width:36px;padding:0;justify-content:center}}

/* =====================================================================
   v8 (light-20261101-8): display font, bold banners, full-screen support chat
   ===================================================================== */
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('fonts/unbounded.woff2') format('woff2')}
:root{--display:'Unbounded','Inter',system-ui,sans-serif}
/* Headings get the bold display face; body text stays on Inter for easy reading. */
.section-heading h1,.catalog-h1,.section-row h2,.home-section h2,.seller-hero h1,.profile-id h1,.legal-page h1,.item-price,.game-hero h1{font-family:var(--display);font-weight:800;letter-spacing:-.02em}
.section-row h2,.home-section h2{font-size:18px;font-weight:750}
.item-price{font-weight:800;letter-spacing:-.03em}
.price{font-family:var(--display);font-weight:750;font-size:16px;letter-spacing:-.02em}

/* Banners: three bold slides with depth */
.banners{margin:0 0 var(--sp-3)}
.banner-track{border-radius:26px}
.banner{min-height:212px;padding:var(--sp-8) var(--sp-5) var(--sp-5);gap:0;background-size:cover}
.banner:before{background:radial-gradient(90% 120% at 100% 0%,#ffffff36,transparent 60%),radial-gradient(60% 80% at 0% 100%,#00000040,transparent 70%)}
.banner:after{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px);background-size:28px 28px;mask-image:radial-gradient(80% 90% at 85% 40%,#000,transparent 75%);-webkit-mask-image:radial-gradient(80% 90% at 85% 40%,#000,transparent 75%)}
.b-market{background:linear-gradient(135deg,#5b46ff 0%,#7b5cff 45%,#2f8bff 100%)}
.b-sell{background:linear-gradient(135deg,#ff7a3d 0%,#ff4d8d 55%,#b14dff 100%)}
.b-help{background:linear-gradient(135deg,#0fb6a1 0%,#1b8cff 60%,#3d5cff 100%)}
.banner-copy{flex:1 1 58%;max-width:62%}
.banner-kicker{display:inline-flex;align-self:flex-start;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:#ffffff26;font-size:10.5px;font-weight:800;letter-spacing:.5px;opacity:1}
.banner h2{font-family:var(--display);font-weight:800;font-size:21px;line-height:1.12;letter-spacing:-.02em;margin:var(--sp-3) 0 var(--sp-2);max-width:none;text-wrap:balance}
.banner p{font-size:12.5px;line-height:17px;opacity:.92;max-width:none;font-weight:550}
.banner-cta{min-height:40px;margin-top:var(--sp-4);padding:0 16px;background:#fff;color:#0b0c10;font-weight:800;font-size:13px;box-shadow:0 8px 20px #0003}
.banner-art{flex:1 1 42%;width:auto;position:relative}
.banner-games{position:absolute;inset:-10px -8px -10px 0;display:block;transform:none}
.bg-tile{position:absolute;display:block;border-radius:16px;box-shadow:0 12px 26px #0005;border:2px solid #ffffff55;overflow:hidden}
.bg-tile .game-art{width:100%;height:100%;border-radius:0}
.bg-0{width:58px;height:58px;left:8%;top:6%;transform:rotate(-10deg)}
.bg-1{width:66px;height:66px;left:48%;top:0;transform:rotate(8deg)}
.bg-2{width:54px;height:54px;left:0;top:44%;transform:rotate(6deg)}
.bg-3{width:62px;height:62px;left:40%;top:38%;transform:rotate(-6deg);z-index:2}
.bg-4{width:48px;height:48px;left:76%;top:46%;transform:rotate(12deg);opacity:.9}
.bg-5{width:52px;height:52px;left:20%;top:74%;transform:rotate(-14deg);opacity:.85}
.banner-cats{position:absolute;inset:0}
.bc-tile{position:absolute;display:grid;place-items:center;border-radius:22px;background:#ffffff2e;backdrop-filter:blur(6px);box-shadow:0 12px 26px #0003}
.bc-tile .cat-art-svg{width:76%;height:76%}
.bc-0{width:74px;height:74px;left:4%;top:8%;transform:rotate(-10deg)}
.bc-1{width:86px;height:86px;left:42%;top:26%;transform:rotate(8deg);z-index:2}
.bc-2{width:64px;height:64px;left:10%;top:62%;transform:rotate(10deg)}
.banner-help{position:absolute;inset:0}
.help-ring{position:absolute;left:18%;top:16%;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#ffffff30;box-shadow:0 0 0 10px #ffffff14,0 0 0 22px #ffffff0a}
.help-ring svg{width:40px;height:40px;stroke-width:1.9}
.help-bubble{position:absolute;padding:7px 11px;border-radius:14px 14px 14px 4px;background:#fff;color:#0b0c10;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 8px 18px #0003}
.hb-1{right:0;top:2%}
.hb-2{left:2%;bottom:6%;background:#0b0c10;color:#fff;border-radius:14px 14px 4px 14px}
@media (min-width:800px){.banner{min-height:240px}.banner h2{font-size:28px}.bg-tile{transform-origin:center}.banner-copy{max-width:56%}}
@media (max-width:359px){.banner h2{font-size:18px}.banner-art{flex-basis:36%}}

/* Support chat: full screen, official look */
.support-avatar.official{background:linear-gradient(145deg,#c6f432,#7ad14a);color:#0b0c10}
.support-avatar.official svg{width:24px;height:24px;stroke-width:2.1}
.support-hello{align-self:center;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:420px;margin:var(--sp-4) auto var(--sp-5);padding:var(--sp-5) var(--sp-4);border-radius:22px;background:var(--surface);border:1px solid var(--line);text-align:center}
.support-hello-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#c6f432,#7ad14a);color:#0b0c10;margin-bottom:4px}
.support-hello-icon svg{width:28px;height:28px;stroke-width:2}
.support-hello b{font-family:var(--display);font-size:17px;font-weight:800}
.support-hello p{font-size:13px;line-height:18px;color:var(--text-2)}
.support-topics{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:var(--sp-3)}
.bubble.from-staff{background:color-mix(in srgb,#c6f432 12%,var(--bubble-in));border:1px solid color-mix(in srgb,#c6f432 30%,transparent)}
.bubble-author{display:flex;align-items:center;gap:5px;margin-bottom:3px;font-size:11.5px;font-weight:800;color:#a8d62a}
.bubble-author svg{width:13px;height:13px}
#support-input{flex:1;min-width:0;min-height:44px;max-height:132px;padding:11px 14px;border-radius:22px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);font-size:16px;line-height:1.35;resize:none;outline:none}
#support-input:focus{border-color:var(--accent)}
.help-ring{left:auto;right:14%;top:4%}
.hb-1{right:auto;left:-6%;top:56%;font-size:10.5px;padding:6px 9px}
.hb-2{left:auto;right:0;bottom:2%;font-size:10.5px;padding:6px 9px}
.hb-1{left:4%}

/* v9 (light-20261101-9): first-launch screens, staff templates */
.onboard{position:fixed;inset:0;z-index:60;display:grid;place-items:end center;padding:var(--sp-4) var(--sp-4) calc(var(--sp-4) + var(--safe-bottom));background:#05060acc;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:onboard-in .25s ease-out}
@keyframes onboard-in{from{opacity:0}to{opacity:1}}
.onboard-card{position:relative;width:min(100%,440px);display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);padding:var(--sp-8) var(--sp-5) var(--sp-5);border-radius:28px;color:#fff;text-align:center;overflow:hidden;isolation:isolate;animation:onboard-up .3s cubic-bezier(.2,.8,.2,1)}
@keyframes onboard-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.onboard-card:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(90% 70% at 50% 0%,#ffffff40,transparent 60%)}
.o-buy{background:linear-gradient(160deg,#5b46ff,#2f8bff)}
.o-sell{background:linear-gradient(160deg,#ff7a3d,#ff4d8d 60%,#b14dff)}
.o-safe{background:linear-gradient(160deg,#0fb6a1,#1b8cff)}
.onboard-skip{position:absolute;top:14px;right:16px;min-height:32px;padding:0 10px;border-radius:999px;background:#ffffff26;color:#fff;font-size:12.5px;font-weight:700}
.onboard-icon{display:grid;place-items:center;width:88px;height:88px;margin-top:var(--sp-2);border-radius:28px;background:#ffffff2e;box-shadow:0 0 0 10px #ffffff12}
.onboard-icon svg{width:42px;height:42px;stroke-width:1.9}
.onboard-card h2{font-family:var(--display);font-weight:800;font-size:24px;line-height:1.15;letter-spacing:-.02em;text-wrap:balance}
.onboard-card p{font-size:14.5px;line-height:21px;opacity:.94;max-width:340px}
.onboard-dots{display:flex;gap:6px;margin:var(--sp-2) 0}
.onboard-dots span{width:8px;height:8px;border-radius:4px;background:#ffffff55;transition:width .2s}
.onboard-dots span.on{width:22px;background:#fff}
.onboard-next{width:100%;background:#fff!important;color:#0b0c10!important;box-shadow:0 10px 24px #0004!important}
.staff-templates{margin-bottom:6px}
.support-screen .composer-row .attach-button{flex-shrink:0}

/* v10 (light-20261102-20): ratings and reviews, price offers, notification settings */
.stars{display:inline-flex;gap:1px;color:var(--surface-3);vertical-align:middle}
.stars i{display:inline-grid;position:relative}
.stars svg{width:16px;height:16px;fill:currentColor;stroke:none}
.stars.sm svg{width:13px;height:13px}
.stars i.on{color:#ffb800}
.stars i.half{color:#ffb800;opacity:.45}
.rating-chip{display:inline-flex;align-items:center;gap:2px;margin-left:auto;padding:1px 6px 1px 4px;border-radius:999px;background:#ffb80022;color:#e6a400;font-size:11px;font-weight:800;flex-shrink:0}
.rating-chip svg{width:11px;height:11px;fill:#ffb800;stroke:none}
.seller-rating{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.seller-rating b{color:var(--text);font-weight:800}
.seller-rating.big{font-size:14px;margin:2px 0}
.seller-rating.big b{font-size:16px}
.rating-summary{display:flex;gap:var(--sp-5);align-items:center;padding:var(--sp-4);margin-bottom:var(--sp-3);border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.rating-big{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:96px}
.rating-big b{font-family:var(--display);font-size:40px;font-weight:800;line-height:1;letter-spacing:-.03em}
.rating-big small{color:var(--muted);font-size:12px}
.rating-bars{flex:1;display:flex;flex-direction:column;gap:5px}
.rating-bar{display:grid;grid-template-columns:10px 12px 1fr 22px;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.rating-bar svg{width:11px;height:11px;fill:#ffb800;stroke:none}
.rating-bar i{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}
.rating-bar em{display:block;height:100%;width:0;border-radius:3px;background:linear-gradient(90deg,#ffb800,#ff8a00);transition:width .6s cubic-bezier(.2,.8,.2,1)}
.rating-bar small{text-align:right}
.review-list{display:flex;flex-direction:column;gap:var(--sp-3)}
.review{padding:var(--sp-4);border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.review header{display:flex;align-items:center;gap:10px}
.review header .mini-avatar{width:36px;height:36px;font-size:14px;overflow:hidden}
.review header .mini-avatar img{width:100%;height:100%;object-fit:cover}
.review header div{flex:1;min-width:0;display:flex;flex-direction:column}
.review header small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.review>p{margin-top:10px;font-size:14.5px;line-height:21px;white-space:pre-wrap;overflow-wrap:anywhere}
.review-reply{margin-top:10px;padding:10px 12px;border-radius:14px;background:var(--surface-2);border-left:3px solid var(--accent)}
.review-reply b{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--accent-text)}
.review-reply b svg{width:14px;height:14px}
.review-reply p{margin-top:4px;font-size:14px;line-height:20px}
.review-reply-form{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.review-reply-form textarea{width:100%;min-height:60px;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font:inherit;resize:vertical}
.link-button{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 0;background:none;font-size:13px;font-weight:700;color:var(--accent-text)}
.link-button svg{width:15px;height:15px}
.danger-text{color:var(--danger)}
#review-bar:empty{display:none}
.review-bar{display:flex;align-items:center;gap:12px;width:calc(100% - 2*var(--sp-3));margin:0 var(--sp-3) var(--sp-2);padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#ffb80026,#ff8a0014);border:1px solid #ffb80055;color:var(--text);text-align:left}
.review-bar>svg:first-child{width:26px;height:26px;fill:#ffb800;stroke:none;flex-shrink:0}
.review-bar>span:not(.stars){flex:1;display:flex;flex-direction:column}
.review-bar small{color:var(--muted);font-size:12.5px}
.review-bar>svg:last-child{width:18px;height:18px;color:var(--muted)}
.review-bar.done{background:var(--surface);border-color:var(--line);font-size:13px;color:var(--muted)}
.star-pick{display:flex;justify-content:center;gap:8px;margin:var(--sp-2) 0 4px}
.star-btn{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--surface-2);color:var(--surface-3);transition:transform .15s,color .15s,background-color .15s}
.star-btn svg{width:30px;height:30px;fill:currentColor;stroke:none}
.star-btn.on{color:#ffb800;background:#ffb8001f}
.star-btn:active{transform:scale(.9)}
.star-hint{text-align:center;font-weight:800;min-height:22px;margin-bottom:var(--sp-3)}
.bubble.is-offer{padding:10px 12px 6px}
.offer-card{display:flex;flex-direction:column;gap:2px;min-width:180px}
.offer-card small{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700;opacity:.8}
.offer-card small svg{width:14px;height:14px}
.offer-card b{font-family:var(--display);font-size:24px;font-weight:800;letter-spacing:-.02em}
.offer-card.ok b{color:var(--success)}
.bubble.mine .offer-card.ok b{color:inherit}
.offer-actions{display:flex;gap:6px;margin-top:8px}
.offer-actions button{flex:1;min-height:36px;padding:0 12px;font-size:13px}
.offer-now{margin-bottom:var(--sp-3);color:var(--muted)}
.offer-now b{color:var(--text)}
.offer-quick{display:flex;gap:8px;margin:-4px 0 var(--sp-3)}
.menu-list.in-sheet{margin:var(--sp-3) 0}
.menu-row .switch.on{background:var(--accent)}
.support-screen .chat-header{gap:12px;padding-right:var(--sp-4)}
.support-screen .chat-peer{min-width:0;flex:1}
.support-screen .chat-peer .name-line{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden}
.support-screen .chat-peer small{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.support-screen .chat-peer small .presence{flex-shrink:0}

/* v10.1: sell flow header and focus mode, messenger-style chat list */
body.sell-mode .mobile-nav{display:none}
body.sell-mode main{padding-bottom:calc(24px + var(--safe-bottom))}
body.sell-mode .form-actions{bottom:0;margin:20px calc(-1 * var(--gutter)) 0;padding:12px var(--gutter) calc(12px + var(--safe-bottom));background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line)}
body.sell-mode .form-actions button{min-height:52px;border-radius:16px;font-size:15.5px}
.sell-head{margin:4px 0 var(--sp-5)}
.sell-head-top{display:flex;align-items:center;justify-content:space-between;min-height:36px}
.sell-count{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12px;font-weight:800;letter-spacing:.02em}
.sell-close{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--surface-2);color:var(--text-2)}
.sell-close svg{width:18px;height:18px}
.sell-head h1{margin-top:10px;font-family:var(--display);font-size:28px;font-weight:800;line-height:1.1;letter-spacing:-.02em}
.sell-head p{margin-top:6px;color:var(--muted);font-size:14px;line-height:20px}
.sell-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;list-style:none;margin:var(--sp-4) 0 0;padding:0}
.sell-bars li,.sell-bars li button{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%;font:inherit;text-align:left;color:var(--muted);font-size:11.5px;font-weight:650}
.sell-bars i{display:block;height:5px;border-radius:3px;background:var(--surface-3);transition:background-color .3s}
.sell-bars li.done i{background:var(--grad)}
.sell-bars li.now i{background:var(--grad);box-shadow:0 0 12px #7b74ff88}
.sell-bars li.now{color:var(--text)}
.sell-bars li.done{color:var(--text-2)}
.sell-bars span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sell-edit-note{display:flex;align-items:center;gap:8px;margin:-8px 0 var(--sp-4)}
.sell-edit-note svg{width:16px;height:16px;flex-shrink:0}
.sell-flow .sell-category{transition:transform .15s,border-color .15s,background-color .15s}
.sell-flow .sell-category:active{transform:scale(.98)}
.sell-flow .sell-category.selected{border-color:var(--accent);background:var(--accent-soft)}
.sell-flow .field input,.sell-flow .field textarea,.sell-flow .field select{border-radius:14px}
.sell-flow .field input:focus,.sell-flow .field textarea:focus,.sell-flow .field select:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}

.dialog-entry .chat-text{display:flex;flex-direction:column;gap:2px}
.dialog-entry .chat-line b{font-size:15.5px;font-weight:750}
.dialog-entry .chat-msg{font-size:14px;color:var(--text-2)}
.dialog-entry.has-unread .chat-msg{color:var(--text);font-weight:600}
.chat-you{color:var(--muted);font-weight:500}
.dialog-entry .chat-topic{display:flex;align-items:center;gap:5px;margin:1px 0 0;color:var(--muted);font-size:12px}
.dialog-entry .chat-topic svg{width:13px;height:13px;flex-shrink:0;opacity:.8}
.dialog-entry .chat-topic>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dialog-entry .chat-topic em{flex-shrink:0;font-style:normal;padding:0 6px;border-radius:6px;background:var(--surface-2);font-size:11px}
.dialog-entry .chat-avatar{width:52px;height:52px}
.peer-role{text-transform:none;color:var(--muted)}
.peer-role:after{content:'·';margin-left:6px}
.peer-state{margin-left:6px}

/* v10.2: quieter, product-grade look — solid accent instead of gradients, fewer boxes and words */
.primary,.primary:hover{background:var(--accent);box-shadow:none;filter:none}
.primary:not(:disabled):hover{background:var(--accent-press)}
.primary:not(:disabled):active{box-shadow:none;filter:none;background:var(--accent-press)}
.bubble.mine{background:var(--bubble-out);color:var(--bubble-out-text)}
.send-button{background:var(--accent)}
.attach-button{width:40px;height:40px;background:transparent;color:var(--muted)}
.attach-button:hover{background:var(--surface-2);color:var(--text)}
.deal-card{margin:8px 10px 0;padding:6px 10px 6px 6px;border-radius:14px}
.deal-card .deal-art{width:40px;height:40px;border-radius:10px}
.deal-card .deal-text b{font-size:14px;font-weight:650}
.deal-card .deal-price{font-size:13px;color:var(--text-2)}
.service-line{align-self:center;display:flex;align-items:center;gap:6px;max-width:92%;margin:12px auto 6px;padding:5px 12px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:12px;text-align:center}
.service-line svg{width:13px;height:13px;flex-shrink:0}
.sell-head{margin:0 0 var(--sp-5)}
.sell-bars{display:flex;gap:4px;margin:4px 0 18px}
.sell-bars li{flex:1;height:4px;border-radius:2px;background:var(--surface-3);position:relative;font-size:0}
.sell-bars li.done,.sell-bars li.now{background:var(--accent);box-shadow:none}
.sell-bars li button{position:absolute;inset:-10px 0;width:100%;background:none}
.sell-bars i,.sell-bars span{display:none}
.sell-head-top{display:flex;align-items:center;gap:10px}
.sell-head h1{flex:1;margin:0;font-family:inherit;font-size:26px;font-weight:800;letter-spacing:-.025em}
.sell-count{height:auto;padding:0;background:none;color:var(--muted);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.sell-close{width:34px;height:34px;border-radius:50%;background:var(--surface-2)}
.sell-flow .sell-category.selected{background:var(--surface);border-color:var(--accent)}
.sell-flow .field input:focus,.sell-flow .field textarea:focus,.sell-flow .field select:focus{box-shadow:none}
body.sell-mode .form-actions{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}
.dialog-entry .chat-avatar{width:50px;height:50px}
.sell-flow .sell-categories{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}
.sell-flow .sell-category{min-height:64px;padding:10px 14px;gap:12px;border:0;border-radius:0;background:transparent;box-shadow:none}
.sell-flow .sell-category+.sell-category{border-top:1px solid var(--line)}
.sell-flow .sell-category.selected{background:var(--accent-soft);border-color:var(--line)}
.sell-flow .sell-category .category-icon{width:40px;height:40px;border-radius:12px}
.sell-flow .sell-category b{font-size:15px;font-weight:650}
.sell-flow .sell-category small{font-size:12.5px}

/* v10.3: sell flow — category tiles, photo gallery slots, big price, stepper, live preview */
.sell-flow .sell-categories{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;border:0;background:none;border-radius:0;overflow:visible}
.sell-flow .sell-category{position:relative;flex-direction:column;align-items:flex-start;gap:10px;min-height:132px;padding:14px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.sell-flow .sell-category+.sell-category{border-top:1px solid var(--line)}
.sell-flow .sell-category .category-icon.cat-art{width:52px;height:52px;border-radius:16px;background:var(--surface-2)}
.sell-flow .sell-category .category-icon.cat-art svg{width:40px;height:40px}
.sell-flow .sell-category b{font-size:14.5px;font-weight:750;line-height:1.2}
.sell-flow .sell-category small{margin-top:3px;font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sell-flow .sell-category .choice-dot{position:absolute;top:12px;right:12px}
.sell-flow .sell-category.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.sell-flow .game-picker{margin-top:var(--sp-6)}

.sell-block{margin-bottom:var(--sp-5);padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.sell-block-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}
.sell-block-head b{font-size:17px;font-weight:800;letter-spacing:-.01em}
.sell-block-head small{color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums}
.sell-block .note{margin:10px 0 0}

.photo-slots{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:8px}
.photo-slots .slot{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center;align-content:center;gap:4px;color:var(--muted);text-align:center;cursor:pointer}
.photo-slots .slot.cover{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
.photo-slots .slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-slots .slot.add{border:1.5px dashed var(--line-strong);color:var(--accent-text);background:var(--accent-soft)}
.photo-slots .slot.add svg{width:26px;height:26px}
.photo-slots .slot.add.cover svg{width:36px;height:36px}
.photo-slots .slot.add b{font-size:13px;color:var(--text)}
.photo-slots .slot.add.cover b{font-size:15px}
.photo-slots .slot.add small{font-size:12px;color:var(--muted)}
.photo-slots .slot.add input{position:absolute;inset:0;opacity:0;cursor:pointer}
.photo-slots .slot.blank{border:1.5px dashed var(--line)}
.photo-slots .slot.blank svg{width:20px;height:20px;opacity:.5}
.photo-slots .cover-badge{position:absolute;left:8px;bottom:8px;padding:3px 8px;border-radius:999px;background:#000a;color:#fff;font-size:11.5px;font-weight:700}
.photo-slots .thumb-remove,.photo-slots .thumb-cover{position:absolute;top:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:50%;background:#000a;color:#fff;font-size:0}
.photo-slots .thumb-remove{right:6px}
.photo-slots .thumb-cover{left:6px;bottom:auto}
.photo-slots .thumb-remove svg,.photo-slots .thumb-cover svg{width:14px;height:14px}

.price-input{display:flex;align-items:center;gap:8px;padding:6px 18px;border:1.5px solid var(--line);border-radius:18px;background:var(--surface-2);transition:border-color .15s}
.price-input:focus-within{border-color:var(--accent)}
.price-input input{flex:1;min-width:0;height:64px;border:0;background:none;color:var(--text);font-family:var(--display);font-size:38px;font-weight:800;letter-spacing:-.02em;outline:none;-moz-appearance:textfield}
.price-input input::-webkit-outer-spin-button,.price-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.price-input input::placeholder{color:var(--surface-3)}
.price-input i{font-style:normal;font-family:var(--display);font-size:30px;font-weight:800;color:var(--muted)}
.price-market{margin-top:12px}
.price-market>small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px}
.price-market>small svg{width:15px;height:15px}
.price-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.price-chips button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);text-align:left}
.price-chips button:active{transform:scale(.98)}
.price-chips b{font-size:16px;font-weight:800}
.price-chips span{font-size:12px;color:var(--muted)}
.stock-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.stock-row>span{display:flex;flex-direction:column}
.stock-row b{font-size:15px}
.stock-row small{color:var(--muted);font-size:12.5px}
.stepper{display:flex;align-items:center;border-radius:14px;background:var(--surface-2);overflow:hidden}
.stepper button{width:42px;height:42px;font-size:22px;font-weight:600;color:var(--text)}
.stepper button:active{background:var(--surface-3)}
.stepper input{width:46px;height:42px;border:0;background:none;text-align:center;color:var(--text);font-size:16px;font-weight:750;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.live-preview{margin-top:var(--sp-6)}
.live-preview-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
.live-preview-head b{font-size:15px;font-weight:750}
.live-preview-head small{color:var(--muted);font-size:12px}
.live-preview-card{width:min(56%,240px);pointer-events:none}
.photo-slots{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}
.photo-slots .slot{min-width:0;aspect-ratio:1}
.photo-slots .slot.cover{aspect-ratio:1}
.sell-flow .sell-category:not(.selected) .choice-dot{display:none}

/* v10.4: game-first selling — pick a game, then what you sell in it */
.sell-search{margin-bottom:12px}
.sell-chips{display:flex;gap:8px;overflow-x:auto;margin:0 calc(-1 * var(--gutter)) 18px;padding:2px var(--gutter);scrollbar-width:none}
.sell-chips::-webkit-scrollbar{display:none}
.sell-chip{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 76px;font-size:11.5px;font-weight:650;color:var(--text-2);text-align:center}
.sell-chip .game-art{width:64px;height:64px;border-radius:18px;overflow:hidden}
.sell-chip .game-art img{width:100%;height:100%;object-fit:cover}
.sell-chip span{max-width:76px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sell-chip:active .game-art{transform:scale(.95)}
.sell-list-title{margin:8px 0 8px;font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.game-list{display:flex;flex-direction:column;margin-bottom:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}
.game-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 14px 8px 10px;background:none;text-align:left;color:var(--text)}
.game-row+.game-row{border-top:1px solid var(--line)}
.game-row[hidden]{display:none}
.game-row:active{background:var(--surface-2)}
.game-row-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.game-row-icon .game-art{width:42px;height:42px;border-radius:12px;overflow:hidden}
.game-row-icon img{width:100%;height:100%;object-fit:cover}
.game-row-icon.cat-art svg{width:32px;height:32px}
.game-row-text{flex:1;min-width:0;display:flex;flex-direction:column}
.game-row-text b{font-size:15px;font-weight:650}
.game-row-text small{color:var(--muted);font-size:12.5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.game-row>svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.game-row.selected{background:var(--accent-soft)}
.sell-game-head{display:flex;align-items:center;gap:14px;width:100%;margin-bottom:16px;padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--surface);text-align:left;color:var(--text)}
.sell-game-icon .game-art{display:block;width:56px;height:56px;border-radius:16px;overflow:hidden}
.sell-game-icon img{width:100%;height:100%;object-fit:cover}
.sell-game-head>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}
.sell-game-head b{font-size:18px;font-weight:800}
.sell-game-head small{color:var(--muted);font-size:12.5px}
.sell-game-head em{font-style:normal;font-size:13.5px;font-weight:700;color:var(--accent-text)}
.sell-context .game-ctx{overflow:hidden;background:none}
.sell-context .game-ctx .game-art{width:100%;height:100%;border-radius:inherit;overflow:hidden}
.sell-context .game-ctx img{width:100%;height:100%;object-fit:cover}
.form-actions[hidden]{display:none}
.game-list[hidden],.sell-list-title[hidden]{display:none}

/* v10.5: legendary pass — clean card pictures, no overlaps, profile header, home */
.product .favorite{top:4px;right:0;width:36px;height:36px;background:var(--surface-2);color:var(--text-2);backdrop-filter:none}
.product .favorite.on{color:#ff4d6d}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.price-row .price{min-width:0}
.product-body .delivery-chip{position:static;flex-shrink:0;height:22px;padding:0 7px 0 5px;border-radius:999px;background:var(--surface-2);color:var(--text-2);backdrop-filter:none;font-size:11px}
.product-body .delivery-chip svg{color:#9bd11a}
.profile-main{align-items:flex-start}
.profile-id{padding-top:46px}
@media (min-width:800px){.profile-id{padding-top:54px}}
.see-all{width:100%;margin-top:16px;min-height:50px}
.game small:empty{display:none}
/* desktop: profile stats span the full width; selling shows the live card beside the form */
@media (min-width:800px){.profile-stats,.profile-stats.four{max-width:none}}
@media (min-width:1100px){
  .sell-flow{max-width:1040px}
  .sell-flow .sell-head{max-width:720px}
  #listing-form{display:grid;grid-template-columns:minmax(0,720px) 280px;column-gap:40px;align-items:start}
  #listing-form>*{grid-column:1}
  #listing-form>.live-preview{grid-column:2;grid-row:1/span 40;position:sticky;top:96px;margin-top:0}
  #listing-form>.live-preview .live-preview-card{width:100%}
}
@media (min-width:1100px){#listing-form>.template-btn,#listing-form>.title-ideas{justify-self:start}}

/* v11.1: launch intro */
#splash{overflow:hidden;transition:opacity .45s ease,visibility .45s,transform .45s ease}
#splash.finished{transform:scale(1.06)}
.splash-glow{position:absolute;left:50%;top:50%;width:520px;height:520px;margin:-300px 0 0 -260px;border-radius:50%;
  background:radial-gradient(circle,#c6f43233 0%,#5a7cff26 38%,transparent 70%);animation:splash-glow 1.6s ease-out both}
.splash-rings{position:absolute;left:50%;top:50%;width:0;height:0;margin-top:-40px}
.splash-rings i{position:absolute;left:-60px;top:-60px;width:120px;height:120px;border-radius:50%;border:1.5px solid #c6f43255;opacity:0;animation:splash-ring 1.6s cubic-bezier(.2,.7,.2,1) both}
.splash-rings i:nth-child(2){animation-delay:.18s;border-color:#5a7cff55}
.splash-rings i:nth-child(3){animation-delay:.36s;border-color:#ffffff22}
.splash-inner{position:relative;gap:18px}
.splash-mark{width:84px;height:84px;filter:drop-shadow(0 0 22px #c6f43266);animation:splash-mark .75s cubic-bezier(.2,1.4,.3,1) both}
.splash-name{width:176px;height:34px;clip-path:inset(0 100% 0 0);animation:splash-name .6s .35s cubic-bezier(.6,0,.2,1) forwards}
.splash-tag{margin:-6px 0 0;font-size:13px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);opacity:0;animation:splash-up .5s .7s ease-out forwards}
.splash-line{width:120px;height:3px;margin-top:6px;border-radius:2px;background:var(--surface-3);overflow:hidden}
.splash-line:after{width:100%;transform:translateX(-100%);background:linear-gradient(90deg,#5a7cff,#c6f432);animation:splash-fill 1.25s .15s cubic-bezier(.5,0,.2,1) forwards}
#splash.quick .splash-mark,#splash.quick .splash-name,#splash.quick .splash-tag,#splash.quick .splash-glow,#splash.quick .splash-rings i{animation:none;clip-path:none;opacity:1}
#splash.quick .splash-rings{display:none}
#splash.quick .splash-line:after{animation:progress 1s ease-in-out infinite;width:40%}
@keyframes splash-mark{from{opacity:0;transform:scale(.3) rotate(-120deg)}to{opacity:1;transform:none}}
@keyframes splash-name{to{clip-path:inset(0 0 0 0)}}
@keyframes splash-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes splash-fill{to{transform:none}}
@keyframes splash-glow{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
@keyframes splash-ring{0%{opacity:0;transform:scale(.4)}30%{opacity:1}100%{opacity:0;transform:scale(3.4)}}

/* v11.1: avatars with a colour of their own */
.av{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;color:#fff;font-family:var(--display);font-weight:800;line-height:1;text-shadow:0 1px 2px #0003}
.av-0{background:linear-gradient(145deg,#6d8bff,#4a5cf0)}
.av-1{background:linear-gradient(145deg,#b06cff,#7a3ff0)}
.av-2{background:linear-gradient(145deg,#ff7aa8,#e8457a)}
.av-3{background:linear-gradient(145deg,#ffb35a,#f07a2c)}
.av-4{background:linear-gradient(145deg,#3fd6a8,#14a37c)}
.av-5{background:linear-gradient(145deg,#38c6f4,#1689d6)}
.av-6{background:linear-gradient(145deg,#c6f432,#7dbb12);color:#10140a;text-shadow:none}
.av-7{background:linear-gradient(145deg,#8f9bb8,#5c6782)}
.chat-avatar>.av,.mini-avatar>.av,.profile-letter>.av,.avatar>.av,.face-big>.av{border-radius:50%}
.avatar .av{font-size:15px}

/* v11.1: every control answers a tap */
.secondary,.icon-button,.chip,.chip-btn,.tab,.quick-reply,.menu-row,.action-tile,.game,.category,.sell-category,.game-row,.sell-chip,.price-chips button,.see-all,.favorite{transition:transform .12s ease,background-color .15s,border-color .15s,color .15s}
.secondary:not(:disabled):active,.icon-button:active,.chip:active,.chip-btn:active,.tab:active,.quick-reply:active,.action-tile:active,.game:active,.category:active,.see-all:active,.favorite:active{transform:scale(.95)}
.menu-row:active,.game-row:active{background:var(--surface-2)}
@media (hover:hover){.secondary:not(:disabled):hover,.icon-button:hover{border-color:var(--line-strong);color:var(--text)}.action-tile:hover,.sell-category:hover{border-color:var(--line-strong)}}
@media (prefers-reduced-motion:reduce){.splash-glow,.splash-rings,.splash-mark,.splash-name,.splash-tag{animation:none!important;clip-path:none!important;opacity:1!important}}

/* v12: logo — app icon + typeset wordmark */
:root{--logo-ink:#ffffff}
:root[data-theme=dark]{--logo-ink:#0b0c10}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--logo-ink:#0b0c10}}
.logo-bg{fill:var(--logo)}
.logo-fg{stroke:var(--logo-ink)}
.logo-icon{display:block;flex-shrink:0;width:30px;height:30px;filter:drop-shadow(0 4px 10px color-mix(in srgb,var(--logo) 35%,transparent))}
.logo-text{font-family:var(--display);font-weight:800;font-size:17px;line-height:1;letter-spacing:.08em;color:var(--text);white-space:nowrap}
.mobile-brand{gap:10px}
.brand{gap:12px}
.brand .logo-icon{width:38px;height:38px}
.brand .logo-text{font-size:19px}
.brand-text{display:flex;flex-direction:column;gap:5px}
.brand-text i{font-style:normal;font-size:10.5px;font-weight:650;letter-spacing:.04em;color:var(--muted)}
.splash-mark{width:76px;height:76px;filter:drop-shadow(0 0 26px color-mix(in srgb,var(--logo) 55%,transparent))}
.splash-name{width:auto;height:auto;font-size:30px;letter-spacing:.1em}

/* v13: crafted details */
.detail-description.rich{white-space:normal}
.rich .rt-p{margin:0 0 10px;line-height:1.6}
.rich .rt-h{color:var(--text);font-weight:750}
.rich .rt-steps{list-style:none;counter-reset:st;margin:4px 0 14px;padding:0;display:flex;flex-direction:column;gap:8px}
.rich .rt-steps li{counter-increment:st;position:relative;padding:10px 12px 10px 46px;border-radius:14px;background:var(--surface);border:1px solid var(--line);color:var(--text);line-height:1.45}
.rich .rt-steps li:before{content:counter(st);position:absolute;left:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--accent-soft);color:var(--accent-text);font-family:var(--display);font-weight:800;font-size:12px}
.favorite.pop svg{animation:heart-pop .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes heart-pop{0%{transform:scale(.6)}50%{transform:scale(1.35)}100%{transform:scale(1)}}
.product-open{transition:transform .14s ease}
.product-open:active{transform:scale(.975)}
.to-top{position:fixed;z-index:9;right:16px;bottom:calc(var(--nav-h) + 92px + var(--safe-bottom));display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line-strong);color:var(--text);box-shadow:var(--shadow-m);animation:fade-up .2s ease-out}
.to-top[hidden]{display:none}
.to-top svg{width:20px;height:20px;transform:rotate(90deg)}
@keyframes fade-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (min-width:800px){.to-top{bottom:32px;right:32px}}

/* v14: home page */
.home-hello{margin:6px 2px 14px}
.home-hello small{display:block;color:var(--muted);font-size:14px;font-weight:600}
.home-hello p{margin-top:4px;font-family:var(--display);font-weight:800;font-size:26px;line-height:1.12;letter-spacing:-.02em;color:var(--text)}
.home-search{position:relative}
.home-search kbd{display:none;margin-left:auto;padding:2px 8px;border-radius:6px;border:1px solid var(--line-strong);font:600 12px/1.4 inherit;color:var(--muted)}
@media (pointer:fine){.home-search kbd{display:inline-block}}
.perks{display:flex;gap:8px;overflow-x:auto;margin:14px calc(-1 * var(--gutter)) 4px;padding:2px var(--gutter);scrollbar-width:none}
.perks::-webkit-scrollbar{display:none}
.perk{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:10px 14px 10px 10px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.perk>svg{width:34px;height:34px;padding:8px;border-radius:11px;background:var(--accent-soft);color:var(--accent-text);flex-shrink:0}
.perk span{display:flex;flex-direction:column;line-height:1.2}
.perk b{font-size:13.5px;font-weight:750}
.perk small{font-size:12px;color:var(--muted)}
.game-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.game-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;min-height:150px;padding:12px;border-radius:20px;overflow:hidden;isolation:isolate;background:var(--surface-2);color:#fff;text-align:left;transition:transform .14s ease}
.game-tile:active{transform:scale(.97)}
.game-tile .gt-bg{position:absolute;inset:-20%;z-index:-2;width:140%;height:140%;object-fit:cover;filter:blur(18px) saturate(1.4);opacity:.85}
.game-tile .gt-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0000 20%,#000b 100%)}
.game-tile .game-art{position:absolute;top:12px;left:12px;width:52px;height:52px;border-radius:15px;overflow:hidden;box-shadow:0 6px 18px #0006}
.game-tile .game-art img{width:100%;height:100%;object-fit:cover}
.game-tile b{font-size:14px;font-weight:800;line-height:1.15;text-shadow:0 1px 3px #0008}
.game-tile small{font-size:11.5px;opacity:.85}
@media (min-width:800px){.game-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}.game-tile{min-height:170px}}
.seller-strip{display:flex;gap:10px;overflow-x:auto;margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter) 6px;scrollbar-width:none}
.seller-strip::-webkit-scrollbar{display:none}
.seller-tile{flex:0 0 150px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 12px 14px;border-radius:20px;background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:center;transition:transform .14s ease,border-color .15s}
.seller-tile:active{transform:scale(.97)}
.seller-tile .chat-avatar{width:58px;height:58px;font-size:22px;margin-bottom:4px}
.seller-tile .name-line{max-width:100%;justify-content:center;font-size:14px;font-weight:750;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.st-rating{display:inline-flex;align-items:center;gap:4px;font-size:13px}
.st-rating svg{width:14px;height:14px;fill:#ffb800;stroke:none}
.st-rating small{color:var(--muted);font-size:12px}
.st-rating.new{color:var(--accent-text);font-size:12px;font-weight:650}
.st-count{font-size:12px;color:var(--muted)}
.home-footer{display:flex;flex-direction:column;align-items:center;gap:10px;margin:30px 0 8px;padding:24px 16px;border-top:1px solid var(--line);text-align:center;color:var(--muted)}
.hf-brand{display:flex;align-items:center;gap:9px}
.home-footer>p{font-size:13px}
.hf-contacts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.hf-contacts a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--text);font-size:13px;font-weight:650;text-decoration:none}
.hf-contacts svg{width:15px;height:15px;color:var(--accent-text)}
.hf-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px}
.hf-links button{background:none;color:var(--muted);font-size:12.5px;font-weight:600;padding:4px 0}
.home-footer>small{font-size:11.5px}
@media (min-width:800px){.home-hello p{font-size:32px}}
@media (min-width:800px){.perks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0 4px;padding:0;overflow:visible}}

/* home: popular shortcuts instead of slogans */
.quick-row{display:flex;gap:8px;overflow-x:auto;margin:14px calc(-1 * var(--gutter)) 2px;padding:2px var(--gutter);scrollbar-width:none}
.quick-row::-webkit-scrollbar{display:none}
.quick-chip{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;height:42px;padding:0 14px 0 5px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text);font-size:13.5px;font-weight:650;white-space:nowrap;transition:transform .12s ease,border-color .15s}
.quick-chip:active{transform:scale(.96)}
.quick-chip .game-art{width:32px;height:32px;border-radius:50%;overflow:hidden;flex-shrink:0}
.quick-chip .game-art img{width:100%;height:100%;object-fit:cover}
@media (hover:hover){.quick-chip:hover{border-color:var(--line-strong)}}
@media (min-width:800px){.quick-row{flex-wrap:wrap;margin:16px 0 4px;padding:0;overflow:visible}}

/* v15: all games and apps */
.gx-title{font-family:var(--display);font-weight:800;font-size:26px;letter-spacing:-.02em;margin:4px 0 14px}
.gx-search{margin-bottom:18px}
.gx-section{margin-bottom:24px}
.gx-section[hidden]{display:none}
.gx-section h2{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;font-size:17px;font-weight:800}
.gx-section h2 span{font-size:13px;font-weight:650;color:var(--muted)}
.gx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gx-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 10px;border-radius:18px;background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:center;transition:transform .12s ease,border-color .15s}
.gx-item[hidden]{display:none}
.gx-item:active{transform:scale(.96)}
.gx-item .game-art{width:64px;height:64px;border-radius:18px;overflow:hidden;box-shadow:0 6px 16px #0004}
.gx-item .game-art img{width:100%;height:100%;object-fit:cover}
.gx-item b{font-size:12.5px;font-weight:700;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gx-item small{font-size:11px;color:var(--muted)}
@media (hover:hover){.gx-item:hover{border-color:var(--line-strong)}}
@media (min-width:640px){.gx-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1100px){.gx-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}

/* hundreds of games: render rows lazily, a tile that leads to all of them */
.gx-item,.game-row{content-visibility:auto;contain-intrinsic-size:auto 120px}
.game-row{contain-intrinsic-size:auto 60px}
.game-all .game-art{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text)}
.game-all .game-art b{font-family:var(--display);font-weight:800;font-size:18px}

/* v17: category tiles with colour, glow and depth */
.category-grid .category{position:relative;isolation:isolate;overflow:hidden;align-items:flex-start;justify-content:space-between;gap:10px;flex:0 0 112px;min-height:112px;padding:14px;text-align:left;border-radius:20px;
  border:1px solid color-mix(in srgb,var(--tint) 32%,transparent);
  background:linear-gradient(150deg,color-mix(in srgb,var(--tint) 30%,var(--surface)) 0%,var(--surface) 72%);
  transition:transform .14s ease,border-color .15s,box-shadow .2s}
.category-grid .category:before{content:'';position:absolute;z-index:-1;right:-34px;bottom:-34px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--tint) 45%,transparent),transparent 70%)}
.category-grid .category .category-icon{width:48px;height:48px;margin:0;border-radius:15px;background:color-mix(in srgb,var(--tint) 22%,#0000);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tint) 30%,transparent),0 8px 20px color-mix(in srgb,var(--tint) 30%,transparent)}
.category-grid .category .category-icon svg{width:34px;height:34px;filter:drop-shadow(0 3px 6px #0005)}
.category-grid .category b{margin:0;width:100%;font-size:13.5px;font-weight:750;line-height:1.2;color:var(--text);white-space:normal}
.category-grid .category:active{transform:scale(.96)}
@media (hover:hover){.category-grid .category:hover{border-color:color-mix(in srgb,var(--tint) 65%,transparent);box-shadow:0 10px 26px color-mix(in srgb,var(--tint) 22%,transparent)}}
.category-grid .category.selected{border-color:var(--tint);box-shadow:0 0 0 1px var(--tint)}
@media (min-width:800px){.category-grid .category{min-height:120px}}
.category-grid .category .category-icon{width:56px;height:56px;border-radius:0;background:none;box-shadow:none;margin:-4px 0 0 -4px}
.category-grid .category .category-icon svg{width:56px;height:56px;filter:drop-shadow(0 6px 10px color-mix(in srgb,var(--tint) 35%,#0008))}
.category-grid .category:hover .category-icon svg{transform:translateY(-2px) rotate(-4deg);transition:transform .2s ease}
/* a trust mark never touches the name, whatever layout the name sits in */
.name-line{gap:2px}
.badge-verified,.badge-official{margin-left:5px;vertical-align:-3px}
.chat-peer .name-line,.chat-line .name-line,.dialog-entry .name-line{display:inline-flex;align-items:center}
/* popular games: a clean card with the official icon on a soft halo of its own colours */
.game-tiles{gap:10px}
.game-tile{align-items:center;justify-content:flex-start;gap:6px;min-height:0;padding:16px 8px 14px;border-radius:22px;background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line);color:var(--text);text-align:center;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.game-tile .gt-shade{display:none}
.game-tile .gt-bg{inset:auto;top:-6px;left:50%;width:120px;height:120px;transform:translateX(-50%);border-radius:50%;filter:blur(30px) saturate(1.6);opacity:.55}
.game-tile .game-art{position:relative;top:auto;left:auto;width:64px;height:64px;border-radius:18px;margin-bottom:4px;box-shadow:0 10px 24px #0000004d,0 0 0 1px #ffffff1f;flex-shrink:0}
.game-tile b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-height:2.3em;font-size:13.5px;font-weight:750;line-height:1.15;text-shadow:none;overflow-wrap:anywhere}
.game-tile small{font-size:11.5px;color:var(--muted);opacity:1;margin-top:-2px}
@media (hover:hover){.game-tile:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:0 14px 30px #0000003d}}
@media (min-width:800px){.game-tile{min-height:0;padding:20px 10px 16px}.game-tile .game-art{width:76px;height:76px;border-radius:21px}.game-tile .gt-bg{width:150px;height:150px}.game-tile b{font-size:14.5px}}
/* popular games: a row of official app icons with names under them */
.game-row{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 4px;scroll-snap-type:x proximity;scroll-padding:16px}
.game-row::-webkit-scrollbar{display:none}
.gr-item{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0;background:none;color:var(--text);scroll-snap-align:start}
.gr-item .game-art{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:18px;overflow:hidden;background:var(--surface-2);box-shadow:0 0 0 1px #ffffff14,0 8px 18px #00000040;transition:transform .16s ease}
.gr-item .game-art img{width:100%;height:100%;object-fit:cover}
.gr-item b{width:100%;font-size:12px;font-weight:650;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-all .game-art{background:var(--surface-2);color:var(--text-2)}
.gr-all .game-art svg{width:26px;height:26px}
.gr-item:active .game-art{transform:scale(.94)}
@media (hover:hover){.gr-item:hover .game-art{transform:translateY(-3px)}}
@media (min-width:800px){.game-row{gap:10px;margin:0;padding:2px 0 6px}.gr-item{flex-basis:88px}.gr-item .game-art{width:76px;height:76px;border-radius:21px}.gr-item b{font-size:12.5px}}
/* home categories: tinted chips with the category art */
.cat-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 4px}
.cat-row::-webkit-scrollbar{display:none}
.cat-chip{flex-shrink:0;display:flex;align-items:center;gap:10px;height:56px;padding:0 16px 0 8px;border-radius:18px;border:1px solid color-mix(in srgb,var(--tint) 30%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--tint) 22%,var(--surface)),var(--surface) 80%);color:var(--text);transition:transform .16s ease,border-color .16s ease}
.cat-chip .cat-art{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--tint) 20%,transparent)}
.cat-chip .cat-art svg{width:34px;height:34px;filter:drop-shadow(0 4px 6px color-mix(in srgb,var(--tint) 35%,#0006))}
.cat-chip b{font-size:14px;font-weight:700;white-space:nowrap}
.cat-chip:active{transform:scale(.97)}
@media (hover:hover){.cat-chip:hover{border-color:color-mix(in srgb,var(--tint) 65%,transparent);transform:translateY(-2px)}}
@media (min-width:800px){.cat-row{flex-wrap:wrap;margin:0;padding:0;overflow:visible}}
.game-row,.cat-row{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}
@media (min-width:800px){.cat-row{-webkit-mask-image:none;mask-image:none}}
@media (max-width:799px){.cat-row{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:max-content}.cat-chip{height:52px}}
/* home category chips: app-icon style glyphs, a glossy gradient of the category colour */
.cat-chip{gap:11px;padding:0 16px 0 8px;border-color:var(--line);background:var(--surface)}
.cat-ico{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;flex-shrink:0;color:#fff;overflow:hidden;
  background:linear-gradient(150deg,color-mix(in srgb,var(--tint) 62%,#fff) 0%,var(--tint) 48%,color-mix(in srgb,var(--tint) 62%,#000) 100%);
  box-shadow:inset 0 1px 0 #ffffff59,inset 0 -2px 4px #00000026,0 6px 14px color-mix(in srgb,var(--tint) 38%,transparent)}
.cat-ico:after{content:'';position:absolute;inset:0 0 50% 0;background:linear-gradient(180deg,#ffffff38,#fff0);pointer-events:none}
.cat-ico svg{position:relative;width:22px;height:22px;stroke-width:2.2;filter:drop-shadow(0 1px 1.5px #0004)}
.cat-education .cat-ico{color:#1d2a00}
@media (hover:hover){.cat-chip:hover{border-color:color-mix(in srgb,var(--tint) 60%,transparent);background:color-mix(in srgb,var(--tint) 8%,var(--surface))}}
/* spinner used by the payment waiting state */
@keyframes promo-spin{to{transform:rotate(360deg)}}
/* ---------- safe deals ---------- */
.buy-cta{background:var(--grad);box-shadow:0 10px 26px #5a7cff4d;font-size:16px;min-height:54px}
.buy-cta svg{width:19px;height:19px}
.safe-note{grid-column:1/-1;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#20c46b1c,#20c46b08);border:1px solid #20c46b40;color:var(--text-2);font-size:13px;line-height:1.45}
.safe-note svg{width:20px;height:20px;color:#20c46b;flex-shrink:0;margin-top:1px}
.safe-note b{color:var(--text)}
/* checkout */
.co{display:flex;flex-direction:column;gap:14px}
.co-item{display:flex;gap:12px;align-items:center;padding:12px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line)}
.co-art{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;overflow:hidden;flex-shrink:0;background:var(--surface-3)}
.co-art img,.co-art .game-art{width:100%;height:100%;object-fit:cover}
.co-art .cat-art svg{width:40px;height:40px}
.co-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.co-text b{font-size:15px;font-weight:750;line-height:1.25}
.co-text small{color:var(--muted);font-size:12.5px}
.co-sum{display:flex;flex-direction:column;gap:2px;padding:6px 14px;border-radius:18px;border:1px solid var(--line)}
.co-sum div{display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:14.5px;color:var(--text-2)}
.co-sum b{color:var(--text);font-weight:700}
.co-sum b.co-free{color:#20c46b}
.co-sum div.co-total{border-top:1px solid var(--line);margin-top:4px;padding-top:11px}
.co-total span{color:var(--text);font-weight:750;font-size:15.5px}
.co-total b{font-family:var(--display);font-size:24px;font-weight:800;letter-spacing:-.02em}
.co-safe{padding:14px;border-radius:18px;background:linear-gradient(150deg,#20c46b1f,#20c46b05 70%);border:1px solid #20c46b40}
.co-safe-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.co-safe-head svg{width:22px;height:22px;color:#20c46b}
.co-safe-head b{font-size:15px;font-weight:800}
.co-safe ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.co-safe li{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.4;color:var(--text-2)}
.co-safe li i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#20c46b;color:#fff;font-style:normal;font-size:12px;font-weight:800;flex-shrink:0}
.co-safe p{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.co-pay{width:100%;min-height:56px;border-radius:18px;font-size:16.5px;background:var(--grad);box-shadow:0 12px 28px #5a7cff55}
.co-pay svg{width:19px;height:19px}
.co-fine{margin:0;text-align:center;font-size:12px;color:var(--muted);line-height:1.45}
.co-fine .text-link.inline{display:inline;padding:0;font-size:inherit;min-height:0;font-weight:650}
/* the deal bar in the chat */
#deal-bar:empty{display:none}
.deal-bar{margin:8px 12px 0;padding:12px 14px;border-radius:20px;background:linear-gradient(150deg,color-mix(in srgb,var(--accent) 16%,var(--surface)),var(--surface) 75%);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));display:flex;flex-direction:column;gap:10px}
.deal-bar.st-completed{background:linear-gradient(150deg,#20c46b22,var(--surface) 75%);border-color:#20c46b55}
.deal-bar.st-disputed,.deal-bar.st-refund{background:linear-gradient(150deg,#ff4d6d1f,var(--surface) 75%);border-color:#ff4d6d55}
.deal-bar-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.deal-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:#20c46b;text-transform:uppercase;letter-spacing:.04em}
.deal-badge svg{width:16px;height:16px}
.deal-no{display:inline-flex;align-items:baseline;gap:5px;font-weight:800;font-size:15px;white-space:nowrap}
.deal-no small{font-size:11.5px;color:var(--muted);font-weight:650}
.deal-steps{display:flex;align-items:center;gap:6px}
.deal-steps>b{flex:1;min-width:8px;height:2px;border-radius:2px;background:var(--line-strong)}
.ds{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--muted);white-space:nowrap}
.ds i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--surface-3);font-style:normal;font-size:11.5px;font-weight:800}
.ds i svg{width:13px;height:13px;stroke-width:3}
.ds.on{color:var(--text)}
.ds.on i{background:#20c46b;color:#fff}
.ds.now i{background:var(--accent);color:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 25%,transparent);animation:ds-pulse 1.8s ease-in-out infinite}
@keyframes ds-pulse{50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 10%,transparent)}}
.deal-alert{display:flex;align-items:center;gap:8px;color:#ff6b84;font-size:14px}
.deal-alert svg{width:18px;height:18px}
.deal-msg{margin:0;font-size:13.5px;line-height:1.45;color:var(--text-2)}
.deal-msg em{font-style:normal;font-size:11px;font-weight:800;padding:2px 7px;border-radius:999px;background:#ffb54726;color:#ffb547;margin-left:4px}
.deal-acts{display:flex;gap:8px}
.deal-acts .primary{flex:1;min-height:44px}
.deal-acts .quiet,.deal-acts .secondary{min-height:44px;padding:0 14px}
/* wallet */
.wallet{display:flex;flex-direction:column;gap:14px;padding-top:8px}
.wallet-card{position:relative;overflow:hidden;isolation:isolate;padding:22px 20px 18px;border-radius:26px;background:linear-gradient(135deg,#3b5bff 0%,#7b4dff 55%,#c04dff 100%);color:#fff;box-shadow:0 20px 50px #5a4dff55;display:flex;flex-direction:column;gap:6px}
.wallet-glow{position:absolute;z-index:-1;right:-60px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#ffffff4d,transparent 65%)}
.wallet-card:after{content:'';position:absolute;z-index:-1;left:-40px;bottom:-90px;width:240px;height:200px;border-radius:50%;background:radial-gradient(circle,#c6f43233,transparent 65%)}
.wallet-card small{font-size:13px;font-weight:650;opacity:.85}
.wallet-sum{font-family:var(--display);font-size:40px;font-weight:800;letter-spacing:-.03em;line-height:1.05}
.wallet-sum .star{font-size:.6em;opacity:.8;color:inherit}
.wallet-row{display:flex;gap:18px;margin:8px 0 6px;flex-wrap:wrap}
.wallet-row span{display:inline-flex;align-items:center;gap:6px;font-size:13px;opacity:.92}
.wallet-row b{margin-left:3px;font-weight:800}
.wallet-row svg{width:15px;height:15px}
.wallet-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 20px;border-radius:15px;background:#fff;color:#2b1d7a;font-weight:800;font-size:15px;box-shadow:0 8px 20px #0003}
.wallet-btn svg{width:18px;height:18px}
.wallet-btn:disabled{opacity:.55}
.wallet-info{display:flex;gap:10px;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line);color:var(--text-2);font-size:13px;line-height:1.45}
.wallet-info p{margin:0}
.wallet-info svg{width:18px;height:18px;flex-shrink:0;color:var(--accent-text);margin-top:1px}
.payout-list,.order-list{display:flex;flex-direction:column;gap:8px}
.payout-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.payout-ico{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--surface-2);color:var(--muted);flex-shrink:0}
.payout-ico svg{width:18px;height:18px}
.payout-ico.ok{background:#20c46b22;color:#20c46b}
.payout-ico.bad{background:#ff4d6d22;color:#ff6b84}
.payout-ico.wait{background:#ffb54722;color:#ffb547}
.payout-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.payout-text small{color:var(--muted);font-size:12px}
.pill{display:inline-flex;align-self:flex-start;align-items:center;padding:4px 10px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:750;white-space:nowrap}
.pill.ok{background:#20c46b22;color:#20c46b}
.pill.bad{background:#ff4d6d22;color:#ff6b84}
.pill.wait{background:#ffb54722;color:#e09a2a}
.payout-avail{padding:12px 14px;border-radius:14px;background:var(--accent-soft);color:var(--accent-text);font-size:14px;margin-bottom:12px}
/* orders */
.order-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:left;transition:border-color .15s ease}
@media (hover:hover){.order-row:hover{border-color:var(--line-strong)}}
.order-art{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--surface-2);color:var(--muted);flex-shrink:0}
.order-art img{width:100%;height:100%;object-fit:cover}
.order-art svg{width:24px;height:24px}
.order-text{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.order-text small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-text b{font-size:14.5px;font-weight:750;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.order-sum{font-weight:800;font-size:15px;white-space:nowrap;flex-shrink:0}
.kind-deal{background:#20c46b22;color:#20c46b}
.buy-cta,.buy-cta+.secondary{grid-column:1/-1}
.item-buybar .buybar-chat{width:52px;min-width:0;height:52px;padding:0;flex-shrink:0;border-radius:16px}
.item-buybar .buybar-chat svg{width:22px;height:22px}
.item-buybar .buy-cta{min-height:52px;min-width:120px;flex-shrink:0}
/* checkout v2: product, method choice, total, protection, sticky pay button */
.modal[data-kind=checkout] .modal-body,#modal[data-kind=checkout] .modal-body{padding-bottom:0}
.co{gap:12px}
.co-item{align-items:flex-start;padding:12px;background:var(--surface-2)}
.co-art{width:64px;height:64px;border-radius:16px}
.co-text{gap:5px}
.co-seller{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-2)}
.co-seller .mini-avatar{width:20px;height:20px;font-size:10px}
.co-rating{display:inline-flex;align-items:center;gap:3px;margin-left:2px;font-weight:750;color:var(--text)}
.co-rating svg{width:13px;height:13px;color:var(--star);fill:var(--star)}
.co-delivery{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;padding:3px 9px;border-radius:999px;background:var(--surface-3);font-size:12px;font-weight:650;color:var(--text-2)}
.co-delivery svg{width:13px;height:13px}
.co-block h3{margin:2px 2px 8px;font-size:14px;font-weight:800;color:var(--text-2);text-transform:uppercase;letter-spacing:.04em}
.co-methods{display:grid;grid-template-columns:1fr;gap:8px}
.co-method{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);color:var(--text);text-align:left;transition:border-color .15s ease,background .15s ease}
.co-method.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}
.co-mi{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#fff;flex-shrink:0;box-shadow:inset 0 1px 0 #ffffff4d}
.co-mi svg{width:21px;height:21px;stroke-width:2.2}
.m-sbp .co-mi{background:linear-gradient(150deg,#7c5cff,#2fb6ff 55%,#1fd17f)}
.m-card .co-mi{background:linear-gradient(150deg,#3a4256,#151a26)}
.co-mt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.co-mt b{font-size:15px;font-weight:750}
.co-mt small{font-size:12.5px;color:var(--muted)}
.co-radio{width:22px;height:22px;border-radius:50%;border:2px solid var(--line-strong);flex-shrink:0;transition:border .15s ease}
.co-method.on .co-radio{border:7px solid var(--accent)}
.co-sum{background:var(--surface)}
.co-sum div.co-total b{font-size:22px}
details.co-safe{padding:0;background:linear-gradient(150deg,#20c46b1a,#20c46b05 70%)}
.co-safe summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;list-style:none}
.co-safe summary::-webkit-details-marker{display:none}
.co-safe summary>svg:first-child{width:22px;height:22px;color:#20c46b;flex-shrink:0}
.co-safe summary>svg:last-child{width:18px;height:18px;color:var(--muted);transform:rotate(90deg);transition:transform .2s ease;flex-shrink:0}
.co-safe[open] summary>svg:last-child{transform:rotate(-90deg)}
.co-safe summary span{flex:1;display:flex;flex-direction:column;gap:2px}
.co-safe summary b{font-size:14.5px;font-weight:800}
.co-safe summary small{font-size:12.5px;color:var(--text-2)}
.co-safe ol{padding:0 14px 14px}
.co-safe li i{font-size:11.5px}
.co-foot{position:sticky;bottom:0;margin:4px -18px 0;padding:12px 18px calc(14px + var(--safe-bottom,0px));background:linear-gradient(180deg,transparent,var(--surface) 22%);display:flex;flex-direction:column;gap:8px}
.co-pay{display:flex;justify-content:space-between;align-items:center;padding:0 20px}
.co-pay span{font-size:16px;font-weight:750}
.co-pay b{font-family:var(--display);font-size:19px;font-weight:800;letter-spacing:-.01em}
.co-fine{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}
.co-fine>svg{width:13px;height:13px}
/* waiting for payment */
.pw{display:flex;flex-direction:column;gap:14px}
.pw-amount{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px;border-radius:20px;background:var(--grad-soft);text-align:center}
.pw-amount small{font-size:12.5px;color:var(--text-2);font-weight:650}
.pw-amount b{font-family:var(--display);font-size:32px;font-weight:800;letter-spacing:-.02em}
.pw-amount span{font-size:13px;color:var(--text-2);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pw-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pw-steps li{position:relative;display:flex;gap:12px;padding-bottom:14px;color:var(--muted)}
.pw-steps li:not(:last-child):before{content:'';position:absolute;left:13px;top:30px;bottom:2px;width:2px;background:var(--line-strong)}
.pw-steps li.done:before{background:#20c46b}
.pw-steps i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface-3);font-style:normal;font-weight:800;font-size:13px;flex-shrink:0}
.pw-steps li.done i{background:#20c46b;color:#fff}
.pw-steps li.done i svg{width:15px;height:15px;stroke-width:3}
.pw-steps li.now i{background:color-mix(in srgb,var(--accent) 18%,transparent)}
.pw-spin{width:16px;height:16px;border-radius:50%;border:2.5px solid color-mix(in srgb,var(--accent) 30%,transparent);border-top-color:var(--accent);animation:promo-spin .8s linear infinite}
.pw-steps span{display:flex;flex-direction:column;gap:2px;padding-top:4px}
.pw-steps b{font-size:14.5px;font-weight:750;color:var(--text)}
.pw-steps li:not(.done):not(.now) b{color:var(--muted)}
.pw-steps small{font-size:12.5px;line-height:1.4}
/* deal events in the chat thread */
.deal-event{display:flex;justify-content:center;margin:6px 0}
.deal-event span{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:#20c46b1a;border:1px solid #20c46b40;color:var(--text);font-size:12.5px;font-weight:650}
.deal-event svg{width:15px;height:15px;color:#20c46b}
/* deal status in the chat list */
.deal-pill{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:2px 8px;border-radius:999px;background:#20c46b22;color:#20c46b;font-size:11px;font-weight:800;white-space:nowrap;vertical-align:1px}
.deal-pill.wait{background:#ffb54726;color:#e09a2a}
.deal-pill.bad{background:#ff4d6d22;color:#ff6b84}
.deal-pill svg{width:11px;height:11px}
/* profile wallet strip */
.wallet-strip{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border-radius:22px;background:linear-gradient(135deg,#3b5bff,#7b4dff 60%,#c04dff);color:#fff;text-align:left;box-shadow:0 14px 34px #5a4dff40;position:relative;overflow:hidden;isolation:isolate}
.wallet-strip:after{content:'';position:absolute;z-index:-1;right:-40px;top:-60px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,#ffffff40,transparent 65%)}
.ws-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ffffff2e;flex-shrink:0}
.ws-ico svg{width:21px;height:21px}
.ws-text{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.ws-text small{font-size:12.5px;opacity:.85;font-weight:650}
.ws-text b{font-family:var(--display);font-size:22px;font-weight:800;letter-spacing:-.02em}
.ws-text span{font-size:12px;opacity:.85}
.ws-go{display:inline-flex;align-items:center;gap:4px;padding:8px 12px;border-radius:12px;background:#fff;color:#2b1d7a;font-weight:800;font-size:13.5px;flex-shrink:0}
.ws-go svg{width:15px;height:15px}
@media (min-width:768px){.co-foot{margin:4px -24px 0;padding-left:24px;padding-right:24px}}
.co-fine{display:block}.co-fine>svg{display:inline-block;vertical-align:-2px;margin-right:4px}
.deal-status.status-sold{background:#20c46b22;color:#20c46b}
.chat-deal{color:#20c46b;font-weight:750}
#wallet-strip:not(:empty){margin-bottom:12px}
.deals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media (min-width:800px){.deals-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.confirm-box{display:flex;flex-direction:column;gap:14px}
.confirm-text{margin:0;font-size:15px;line-height:1.5;color:var(--text-2)}
.confirm-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.confirm-acts button{min-height:50px;border-radius:15px;font-size:15px}

/* ======================================================================
   Home v3 — light-20261103-9: richer banners, home feed with chips, offer cards
   ====================================================================== */
/* banners: taller, story-style progress, floating art, a light sweep */
.banner{min-height:228px}
.banner h2{font-size:23px;line-height:1.08}
.banner-copy{display:flex;flex-direction:column}
.banner-cta{margin-top:auto;transition:transform .2s,box-shadow .2s}
.banner-cta:active{transform:scale(.96)}
.banner-cta svg{transition:transform .2s}
.banner-cta:hover svg{transform:translateX(3px)}
.banner-progress span{position:relative;overflow:hidden;background:#ffffff38}
.banner-progress span.active{background:#ffffff38}
.banner-progress span:after{content:'';position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
.banner-progress span.active:after{animation:vx-story 5.5s linear forwards}
.banners.manual .banner-progress span.active:after{animation:none;transform:none}
@keyframes vx-story{to{transform:scaleX(1)}}
.banner-shine{display:none}
.banner .banner-copy:before{content:'';position:absolute;z-index:-1;top:-60%;left:-80%;width:45%;height:220%;background:linear-gradient(90deg,transparent,#ffffff2e,transparent);transform:rotate(18deg);animation:vx-sweep 6.5s ease-in-out infinite;pointer-events:none}
@keyframes vx-sweep{0%,62%{left:-80%}100%{left:180%}}
.bg-tile,.bc-tile{animation:vx-float 5.4s ease-in-out infinite;will-change:transform}
.bg-tile{--r:0deg}.bg-0{--r:-10deg}.bg-1{--r:8deg;animation-delay:-.8s}.bg-2{--r:6deg;animation-delay:-1.6s}.bg-3{--r:-6deg;animation-delay:-2.4s}.bg-4{--r:12deg;animation-delay:-3.2s}.bg-5{--r:-14deg;animation-delay:-4s}
.bc-0{--r:-10deg}.bc-1{--r:8deg;animation-delay:-1.4s}.bc-2{--r:10deg;animation-delay:-2.8s}
@keyframes vx-float{0%,100%{transform:translateY(0) rotate(var(--r))}50%{transform:translateY(-7px) rotate(var(--r))}}
.bg-tile{box-shadow:0 14px 30px #0006,inset 0 1px 0 #ffffff66}
/* live numbers on the first banner: one calm line, the dot keeps the two figures apart */
.banner-stats{display:flex;align-items:center;flex-wrap:nowrap;gap:0;margin-top:12px;font-size:11.5px;font-weight:500;color:#ffffffd9;white-space:nowrap}
.banner-stats span{display:inline-flex;align-items:baseline;gap:5px}
.banner-stats span+span:before{content:'';align-self:center;width:4px;height:4px;margin:0 6px;border-radius:50%;background:#ffffff80}
.banner-stats b{font-family:var(--display);font-weight:800;font-size:12.5px;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
@media (max-width:359px){.banner-stats{flex-wrap:wrap;column-gap:12px;row-gap:2px}.banner-stats span+span:before{display:none}}
/* safe-deal slide */
.b-deal{background:linear-gradient(135deg,#12b886 0%,#0ca678 40%,#1971c2 100%)}
.banner-deal{position:absolute;inset:0}
.deal-shield{position:absolute;left:50%;top:44%;display:grid;place-items:center;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:28px;background:#ffffff30;color:#fff;box-shadow:0 0 0 10px #ffffff14,0 0 0 22px #ffffff0a,0 16px 30px #0003;animation:vx-float 5.4s ease-in-out infinite;--r:-6deg}
.deal-shield svg{width:42px;height:42px;stroke-width:1.9}
.deal-step{position:absolute;display:inline-flex;align-items:center;gap:5px;padding:6px 10px 6px 7px;border-radius:12px;background:#fff;color:#0b3d2e;font-size:10.5px;font-weight:750;white-space:nowrap;box-shadow:0 8px 18px #0003}
.deal-step svg{width:14px;height:14px;stroke-width:2.6;color:#12b886}
.ds-1{right:0;top:4%}.ds-2{left:-4%;top:70%}.ds-3{right:-2%;bottom:0;background:#0b3d2e;color:#fff}.ds-3 svg{color:#7cf5c4}
@media (prefers-reduced-motion:reduce){.bg-tile,.bc-tile,.deal-shield,.banner .banner-copy:before{animation:none}.banner-progress span.active:after{animation:none;transform:none}}

/* "Все игры" tile with the remaining count */
.gr-all .game-art{background:linear-gradient(145deg,var(--surface-2),var(--surface-3));color:var(--text)}
.gr-more{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.03em}

/* home feed chips */
.feed-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:-4px -16px 14px;padding:4px 16px}
.feed-chips::-webkit-scrollbar{display:none}
.feed-chip{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text-2);font-size:13px;font-weight:650;white-space:nowrap;transition:background-color .15s,color .15s,border-color .15s,transform .12s}
.feed-chip .cat-art{display:grid;place-items:center;width:20px;height:20px;margin-left:-6px}
.feed-chip .cat-art svg{width:20px;height:20px}
.feed-chip.on{background:var(--text);border-color:var(--text);color:var(--bg)}
.feed-chip:active{transform:scale(.96)}
.see-all small{margin-left:4px;font-size:12px;font-weight:600;color:var(--muted)}
.see-all.loading{opacity:.6;pointer-events:none}

/* offer cards: price first and larger, discount stands out */
.product .price{font-size:17px}
.product .old-price{font-size:11.5px;margin-left:5px;color:var(--muted);font-weight:500}
.discount-chip{background:#ff3b5c;color:#fff;font-weight:800;box-shadow:0 4px 10px #ff3b5c55}
.deal-shield{left:64%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:24px}.deal-shield svg{width:36px;height:36px}

/* ---------- Autodelivery ---------- */
.delivery-chip.is-auto{background:linear-gradient(135deg,#7b5cff,#2f8bff);color:#fff;border-color:transparent;font-weight:750}
.delivery-chip.is-auto svg{color:#fff}
.codes-box{margin:16px 0;padding:16px;border-radius:20px;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.codes-head{display:flex;align-items:center;gap:8px;font-size:15px}
.codes-head svg{width:20px;height:20px;color:var(--accent)}
.codes-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.codes-stats span{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:14px;background:var(--surface-2);font-size:12px;color:var(--muted)}
.codes-stats b{font-family:var(--display);font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--text)}
.codes-stats .empty b{color:var(--danger)}
.codes-warn{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--danger-soft);color:var(--danger);font-size:13px;line-height:1.4}
.codes-warn svg{width:18px;height:18px;flex-shrink:0}
.codes-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--text-2)}
.codes-field textarea{width:100%;min-height:96px;padding:12px;border-radius:14px;border:1px solid var(--line-strong);background:var(--bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;resize:vertical}
.codes-field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.codes-acts{display:flex;gap:10px;align-items:center}
.codes-acts .primary{flex:1}
.deal-code{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px;padding:14px;border-radius:16px;background:linear-gradient(135deg,#7b5cff1f,#2f8bff1f);border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}
.deal-code>span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750;color:var(--accent-text);text-transform:uppercase;letter-spacing:.4px}
.deal-code>span svg{width:16px;height:16px}
.deal-code code{display:block;padding:10px 12px;border-radius:12px;background:var(--surface);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all}
.deal-code .secondary{align-self:flex-start;min-height:38px;padding:0 14px}

/* ======================================================================
   Deal screen — pinned listing, one deal card, code ticket, service events
   ====================================================================== */
/* pinned listing: a quiet strip under the chat header, like a pinned message */
.chat-screen .deal-card{margin:0;padding:8px 14px 8px 12px;gap:10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--overlay);box-shadow:none;backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px)}
.chat-screen .deal-card .deal-art{width:36px;height:36px;border-radius:9px}
.chat-screen .deal-card .deal-text{flex:1}
.chat-screen .deal-card .deal-text b{font-size:13.5px;font-weight:600;line-height:1.3}
.chat-screen .deal-card .deal-price{display:block;font-size:12.5px;font-weight:500;color:var(--muted);line-height:1.3}
.deal-chev{display:grid;place-items:center;color:var(--muted);margin-left:auto}
.deal-chev svg{width:18px;height:18px}
.chat-screen .deal-card .deal-status{padding:3px 8px;font-size:11px;font-weight:650}

/* the deal card */
.dl{--tone:var(--accent);display:flex;flex-direction:column;margin:12px 12px 2px;padding:14px 16px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-s)}
.dl.tone-success{--tone:#20c46b}.dl.tone-warn{--tone:#f0a030}.dl.tone-muted{--tone:var(--muted)}
.dl-head{display:contents}
.dl-meta{order:0;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--muted)}
.dl-meta svg{width:14px;height:14px;color:var(--tone)}
.dl-meta b{color:var(--text-2);font-weight:650}
.dl-test{font-style:normal;font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:6px;background:var(--warning-soft);color:var(--warning)}
.dl-title{order:1;margin:8px 0 0}
.dl-title h3{font-size:17px;font-weight:700;letter-spacing:-.015em;line-height:1.25}
.dl-title p{margin-top:3px;font-size:13px;line-height:1.45;color:var(--muted)}
.dl-steps{order:2;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:14px 0 0;padding:0;list-style:none}
.dl-steps li{display:flex;flex-direction:column;gap:6px;min-width:0}
.dl-steps i{display:block;height:3px;border-radius:2px;background:var(--line-strong);overflow:hidden}
.dl-steps li.on i{background:var(--tone)}
.dl-steps li.next i{background:linear-gradient(90deg,var(--tone) 0,var(--tone) 30%,var(--line-strong) 30%);background-size:200% 100%;animation:dl-wait 1.8s ease-in-out infinite}
@keyframes dl-wait{0%{background-position:100% 0}100%{background-position:-100% 0}}
.dl-steps span{font-size:11px;font-weight:550;color:var(--muted);white-space:nowrap}
.dl-steps li.on span{color:var(--text-2)}
.dl.st-completed .dl-steps li.next i{animation:none}

/* the code as a ticket: tap anywhere to copy */
.dl-key{order:3;position:relative;display:grid;grid-template-columns:1fr 88px;align-items:stretch;margin-top:14px;min-height:64px;border-radius:14px;background:var(--surface-2);text-align:left;color:var(--text);transition:background-color .15s,transform .12s;
  -webkit-mask:radial-gradient(circle 7px at calc(100% - 88px) 0,#0000 97%,#000) top/100% 51% no-repeat,radial-gradient(circle 7px at calc(100% - 88px) 100%,#0000 97%,#000) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle 7px at calc(100% - 88px) 0,#0000 97%,#000) top/100% 51% no-repeat,radial-gradient(circle 7px at calc(100% - 88px) 100%,#0000 97%,#000) bottom/100% 51% no-repeat}
.dl-key:hover{background:var(--surface-3)}
.dl-key:active{transform:scale(.99)}
.dk-body{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:11px 14px;min-width:0}
.dk-body small{font-size:11px;font-weight:550;color:var(--muted)}
.dk-body code{font-family:ui-monospace,'SF Mono',SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;font-weight:600;letter-spacing:.04em;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}
.dk-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-left:1.5px dashed var(--line-strong);color:var(--tone)}
.dk-copy svg{width:18px;height:18px}
.dk-copy em{font-style:normal;font-size:11px;font-weight:600;color:var(--muted)}
.dl-key.copied .dk-copy,.dl-key.copied .dk-copy em{color:#20c46b}

/* one clear action, the rest as quiet links */
.dl-acts{order:4;display:flex;flex-direction:column;gap:2px;margin-top:14px}
.dl-acts .primary{min-height:48px;border-radius:14px;font-size:15px;font-weight:650}
.dl-acts .secondary{min-height:44px;border-radius:14px}
.dl-link{min-height:40px;font-size:13.5px;font-weight:600;color:var(--muted);border-radius:10px}
.dl-link:hover{color:var(--text-2)}
.dl-acts .dl-link:only-child{margin-top:-4px}
.dl-foot{order:5;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:6px;font-size:12px;color:var(--muted)}
.dl-foot svg{width:14px;height:14px}

/* deal events in the thread: neutral service lines */
.deal-event{margin:10px 0}
.deal-event span{gap:6px;padding:5px 12px;border:0;border-radius:999px;background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--text-2);font-size:12px;font-weight:600}
.deal-event svg{width:13px;height:13px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.dl-steps li.next i{animation:none}}
.dl-key{background:color-mix(in srgb,var(--text) 6%,var(--surface))}
.dl-key:hover{background:color-mix(in srgb,var(--text) 9%,var(--surface))}
.dl-key{-webkit-mask:radial-gradient(circle 8px at calc(100% - 88px) 0,#0000 97%,#000) top/100% 51% no-repeat,radial-gradient(circle 8px at calc(100% - 88px) 100%,#0000 97%,#000) bottom/100% 51% no-repeat;mask:radial-gradient(circle 8px at calc(100% - 88px) 0,#0000 97%,#000) top/100% 51% no-repeat,radial-gradient(circle 8px at calc(100% - 88px) 100%,#0000 97%,#000) bottom/100% 51% no-repeat}

/* ======================================================================
   Item page — every fact once, one purchase path
   ====================================================================== */
.ip .item-info{display:flex;flex-direction:column}
.ip-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:2px;font-size:13px;color:var(--muted)}
.ip-game{display:inline-flex;align-items:center;gap:7px;color:var(--text-2);font-weight:600}
.ip-game .game-art{width:20px;border-radius:6px;box-shadow:none}
.ip-game:hover span{text-decoration:underline;text-underline-offset:3px}
.ip-dot{opacity:.6}
.ip-crumbs .tag-warn{margin-left:4px}
.ip-title{margin-top:8px;font-size:22px;font-weight:750;line-height:1.22;letter-spacing:-.02em;overflow-wrap:anywhere}
.ip-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.ip-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.ip-price b{font-family:var(--display);font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.ip-price s{font-size:15px;color:var(--muted)}
.ip-off{align-self:center;padding:3px 8px;border-radius:8px;background:#ff3b5c;color:#fff;font-size:12px;font-weight:800}
.ip-tools{display:flex;gap:8px}
.ip-tools .icon-button{width:44px;height:44px;border-radius:14px}

/* quick facts */
.ip-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.iq{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.iq span{display:grid;place-items:center;width:30px;height:30px;margin-bottom:8px;border-radius:10px;background:var(--surface-2);color:var(--text-2)}
.iq span svg{width:16px;height:16px}
.iq b{font-size:15px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.iq small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.iq.is-auto span{background:linear-gradient(135deg,#7b5cff,#2f8bff);color:#fff}
.iq.is-star span{background:#ffb54724;color:#ffb547}

/* actions: buyers buy from the bottom bar on phones; on wide screens the bar is hidden, so they live here */
.ip .item-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.ip .item-actions .primary{min-height:52px;border-radius:16px;font-size:16px}
.ip .item-actions.ip-buy-actions{display:none}
@media (min-width:800px){.ip .item-actions.ip-buy-actions{display:flex}}
.ip-owner-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
.ip-owner-row .secondary{min-height:44px;padding:0 10px;font-size:13.5px}
.ip-owner-links{display:flex;justify-content:center;gap:18px}

/* seller */
.ip-seller{display:flex;align-items:center;gap:12px;width:100%;margin-top:16px;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line);text-align:left}
.ip-seller .chat-avatar{width:44px;height:44px;flex-shrink:0}
.ip-seller-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ip-seller-text b{font-size:15px;font-weight:650}
.ip-seller-text small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-seller-text .seller-line:not(:empty):before{content:' · '}
.ip-seller-go{display:inline-flex;align-items:center;gap:2px;font-size:13px;font-weight:600;color:var(--text-2)}
.ip-seller-go svg{width:16px;height:16px}

/* sections */
.ip-section{margin-top:26px}
.ip-section h2{margin-bottom:10px;font-size:16px;font-weight:700;letter-spacing:-.01em}
.ip-specs{margin:0}
.ip-specs div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}
.ip-specs div:first-child{border-top:1px solid var(--line)}
.ip-specs dt{font-size:13.5px;color:var(--muted)}
.ip-specs dd{margin:0;font-size:13.5px;font-weight:600;text-align:right}
.ip .similar-box{margin-top:20px}

/* safe deal: one block, a four-step line */
.ip-safe{padding:16px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.ip-safe-head{display:flex;align-items:center;gap:12px}
.ip-safe-head>svg{flex-shrink:0;width:40px;height:40px;padding:10px;border-radius:12px;background:#20c46b1f;color:#20c46b}
.ip-safe-head b{display:block;font-size:15px;font-weight:700}
.ip-safe-head small{display:block;margin-top:1px;font-size:12.5px;line-height:1.4;color:var(--muted)}
.ip-flow{display:grid;grid-template-columns:repeat(4,1fr);margin:16px 0 0;padding:0;list-style:none}
.ip-flow li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.ip-flow li:not(:last-child):after{content:'';position:absolute;top:13px;left:calc(50% + 17px);right:calc(-50% + 17px);height:1.5px;background:var(--line-strong)}
.ip-flow i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line-strong);font-style:normal;font-size:12px;font-weight:700;color:var(--text-2)}
.ip-flow li:last-child i{background:#20c46b;border-color:#20c46b;color:#fff}
.ip-flow i svg{width:14px;height:14px;stroke-width:2.6}
.ip-flow span{font-size:11px;line-height:1.3;color:var(--muted)}
.ip-fine{margin-top:14px;font-size:12px;line-height:1.5;color:var(--muted)}
.ip-fine a{color:var(--accent-text);font-weight:600}
.ip-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;font-size:12px;color:var(--muted)}
.ip-foot .dl-link{min-height:32px;font-size:12px}

/* bottom bar */
.ip-bar .buybar-price{min-width:0}
.ip-bar .buybar-price small{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--muted);white-space:nowrap}
.ip-bar .buybar-price small svg{width:13px;height:13px;color:#20c46b}
.ip-bar .buy-cta{font-size:16px;font-weight:700}
.ip-seller-text small{display:block}
.ip-seller-text small>span,.ip-seller-text .seller-line{display:inline}
.ip-bar .buybar-price{flex:1;overflow:hidden}
.ip-bar .buybar-price small{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.ip-bar .buy-cta{flex:0 0 auto;min-width:128px}

/* ======================================================================
   Offer card — picture without a box, the game on it, price → title → seller
   ====================================================================== */
.vx-card{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.vx-card:hover{transform:none;box-shadow:none;border-color:transparent}
.vx-card .product-open{gap:0}
.vx-card .product-art{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--surface-2);isolation:isolate}
.vx-card .product-art img{transition:opacity .3s,transform .5s cubic-bezier(.2,.8,.2,1)}
.vx-card:hover .product-art img{transform:scale(1.035)}
.vx-card .product-art:after{content:'';position:absolute;inset:auto 0 0;height:42%;z-index:1;background:linear-gradient(to top,#0009,transparent);pointer-events:none}
.pa-src{position:absolute;z-index:2;left:7px;bottom:7px;max-width:calc(100% - 14px);display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 3px;border-radius:999px;background:#0b0c10a6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:11px;line-height:1;white-space:nowrap;overflow:hidden}
.pa-src .game-art{width:18px;height:18px;border-radius:50%;box-shadow:none;border:0;flex-shrink:0}
.pa-src .src-icon{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0}
.pa-src .src-icon svg{width:16px;height:16px}
.pa-src b{font-weight:650;flex-shrink:0;max-width:62%;overflow:hidden;text-overflow:ellipsis}
.pa-src i{font-style:normal;opacity:.5}
.pa-src span{opacity:.78;overflow:hidden;text-overflow:ellipsis}
.vx-card .favorite{top:7px;right:7px;width:34px;height:34px;background:#0b0c1073;color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.vx-card .favorite.on{color:#ff4d6d;background:#fff}
.vx-card .status-badge{left:7px;top:7px;z-index:2}
.vx-card .product-body{padding:10px 2px 0}
.vx-card .price-row{margin-bottom:0}
.vx-card .price{display:flex;align-items:baseline;gap:5px;font-size:16.5px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.vx-card .old-price{margin:0;font-size:12px;font-weight:500;color:var(--muted)}
.pr-off{font-size:12px;font-weight:750;color:#ff4d6d;letter-spacing:0}
.vx-card h3{margin-top:4px;font-size:13.5px;font-weight:500;line-height:1.35;color:var(--text);min-height:0}
.pm-src{display:none}
.vx-card .seller-caption{margin-top:6px;height:auto}
/* list view: the picture is small, so the game moves under the title */
.list-view .vx-card{padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.list-view .vx-card .product-art{border-radius:12px}
.list-view .vx-card .product-art:after,.list-view .vx-card .pa-src{display:none}
.list-view .vx-card .product-body{grid-column:2;grid-row:1/3;padding:0}
.list-view .vx-card .pm-src{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden}
.list-view .vx-card .pm-src .game-art{width:16px;height:16px;border-radius:50%;box-shadow:none}
.list-view .vx-card .pm-src .src-icon{width:16px;height:16px}
.list-view .vx-card .pm-src b{font-weight:600;color:var(--text-2)}
.list-view .vx-card .pm-src i{font-style:normal}
.list-view .vx-card .favorite{background:var(--surface-2);color:var(--text-2)}
.pa-src b{max-width:none;flex-shrink:1;overflow:hidden;text-overflow:ellipsis}

/* ---------- Brand: the arrow X (assets/logo-avatar.png) and the VE✕LIO wordmark ---------- */
:root{--brand-x:#86b300;--brand-tile:#0e0f13}
:root[data-theme=dark]{--brand-x:#c6f432}
@media (prefers-color-scheme:dark){:root:not([data-theme]){--brand-x:#c6f432}}
.logo-bg{fill:var(--brand-tile)}
.logo-fg{fill:#c6f432;stroke:none}
.logo-x{fill:var(--brand-x)}
.logo-word{display:block;color:var(--text);overflow:visible;flex-shrink:0}
.logo-icon{border-radius:9px;box-shadow:0 0 0 1px color-mix(in srgb,var(--text) 12%,transparent);filter:none}
.mobile-brand{gap:10px}
.mobile-brand .logo-icon{width:32px;height:32px}
.mobile-brand .logo-word{width:108px;height:21px}
.brand .logo-word{width:118px;height:23px}
.hf-brand .logo-word{width:104px;height:20px}
.splash-name.logo-word{width:190px;height:37px;font-size:0}
.splash-mark{border-radius:22px;box-shadow:0 0 0 1px #ffffff1f,0 18px 50px #c6f43226}

/* ---------- Full-bleed rows follow the page gutter (12 px on narrow phones, 16/20 px wider) ---------- */
@media (max-width:799px){
  .game-row,.cat-row,.feed-chips,.game-strip,.category-grid,.catalog-top{margin-left:calc(-1*var(--gutter));margin-right:calc(-1*var(--gutter));padding-left:var(--gutter);padding-right:var(--gutter)}
}
@media (max-width:539px){.item-media{margin-left:calc(-1*var(--gutter));margin-right:calc(-1*var(--gutter))}}
/* a long order status wraps inside its row instead of pushing the page wider */
.order-text .pill{max-width:100%;white-space:normal;line-height:1.3}

/* ======================================================================
   Wallet: balance actions, history of operations, top-up, refund, paying from the balance
   ====================================================================== */
.wallet-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.wallet-acts .wallet-btn{width:100%;margin:0;justify-content:center}
.wallet-btn.ghost{background:#ffffff26;color:#fff;box-shadow:none;border:1px solid #ffffff40}
.wallet-btn:disabled{opacity:.55}
.wallet-sum{font-variant-numeric:tabular-nums}
.lg-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:-4px calc(-1*var(--gutter)) 12px;padding:4px var(--gutter)}
.lg-filters::-webkit-scrollbar{display:none}
.lg-filter.on{background:var(--text);border-color:var(--text);color:var(--bg)}
.lg-list{list-style:none;margin:0;padding:0;border-radius:18px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.lg-row{display:flex;align-items:center;gap:12px;padding:12px 14px}
.lg-row+.lg-row{border-top:1px solid var(--line)}
.lg-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--surface-2);color:var(--text-2);flex-shrink:0}
.lg-ico svg{width:18px;height:18px}
.lg-row.in .lg-ico{background:#20c46b1f;color:#20c46b}
.lg-row.is-hold .lg-ico{background:#f0a0301f;color:#e09a2a}
.lg-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lg-text b{font-size:14px;font-weight:650}
.lg-text small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lg-sum{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;font-weight:750;font-size:14.5px;font-variant-numeric:tabular-nums}
.lg-row.in .lg-sum{color:#20c46b}
.lg-row.is-hold .lg-sum{color:var(--text-2)}
.lg-sum small{font-size:11px;font-weight:550;color:var(--muted)}
.lg-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 16px;border-radius:18px;border:1px dashed var(--line-strong);color:var(--muted);text-align:center;font-size:13.5px}
.lg-empty svg{width:24px;height:24px}
.lg-list+.secondary{margin-top:10px}
/* top-up */
.topup-input{display:flex;align-items:center;gap:6px;height:56px;padding:0 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line-strong)}
.topup-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.topup-input input{flex:1;min-width:0;border:0;background:none;outline:none;font-family:var(--display);font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--text)}
.topup-input em{font-style:normal;font-size:20px;font-weight:700;color:var(--muted)}
.field-hint{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.topup-quick{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 16px}
#topup-form .co-methods{margin-bottom:16px}
/* refund */
.refund-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 12px}
.field-count{display:block;margin-top:4px;text-align:right;font-size:11.5px;color:var(--muted)}
#refund-form .danger{min-height:48px;border-radius:14px;font-weight:700}
/* paying from the balance */
.co-method:disabled{opacity:.55;cursor:default}
.co-topup{display:flex;align-items:center;gap:6px;width:100%;min-height:40px;margin:-2px 0 6px;padding:0 12px;border-radius:12px;color:var(--accent-text);font-size:13px;font-weight:650;background:var(--accent-soft)}
.co-topup svg{width:16px;height:16px}
button.loading{position:relative;color:transparent!important;pointer-events:none}
button.loading:after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid var(--spin,#fff);border-right-color:transparent;animation:vx-spin .7s linear infinite}
.secondary.loading,.quiet.loading,.dl-link.loading{--spin:var(--text)}
.danger.loading{--spin:var(--danger)}
@keyframes vx-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){button.loading:after{animation-duration:2s}}
@media (min-width:800px){.wallet-acts{max-width:440px}}

/* ---------- Review window (stage 3): stars with hover, quick tags, counter, «later», success ---------- */
#modal[data-kind=review] .modal-body{padding-top:0}
.rv-head{display:flex;flex-direction:column;align-items:center;gap:10px;margin:2px 0 6px;text-align:center}
.rv-done{display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 8px;border-radius:999px;background:var(--success-soft);color:var(--success);font-size:12.5px;font-weight:700}
.rv-done svg{width:15px;height:15px;stroke-width:3}
.rv-who{display:flex;align-items:center;gap:10px;max-width:100%;padding:6px 14px 6px 6px;border-radius:999px;background:var(--surface-2);text-align:left}
.rv-who .mini-avatar{width:32px;height:32px;flex-shrink:0}
.rv-who>span:last-child{display:flex;flex-direction:column;min-width:0}
.rv-who b{font-size:14px;line-height:1.2}
.rv-who small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw}
.rv .star-pick{gap:6px;margin:14px 0 2px}
.rv .star-btn{width:54px;height:54px;border-radius:18px;background:transparent;color:var(--line-strong);transition:transform .18s cubic-bezier(.3,1.6,.5,1),color .12s}
.rv .star-btn svg{width:38px;height:38px}
.rv .star-btn.on{color:#ffb800;background:transparent}
.rv .star-pick.hovering .star-btn{color:var(--line-strong)}
.rv .star-pick.hovering .star-btn.pv{color:#ffc93d;transform:translateY(-2px) scale(1.08)}
.rv .star-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.rv .star-btn.pop{animation:rv-pop .36s cubic-bezier(.3,1.6,.5,1)}
@keyframes rv-pop{0%{transform:scale(.7)}60%{transform:scale(1.22)}100%{transform:scale(1)}}
.rv .star-hint{margin-bottom:12px;font-size:15px}
.rv .star-hint.idle{color:var(--muted);font-weight:600}
.rv-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 14px}
.rv-tags[hidden]{display:none}
.rv-tag{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 13px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text-2);font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s,color .15s}
.rv-tag svg{width:14px;height:14px;stroke-width:3}
.rv-tag.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}
.rv-tag:active{transform:scale(.96)}
.rv-text{position:relative}
.rv-text textarea{min-height:88px;padding-bottom:26px;resize:none}
.rv-count{position:absolute;right:12px;bottom:9px;color:var(--muted);font-size:11.5px;font-variant-numeric:tabular-nums;pointer-events:none}
.rv-error{margin:-4px 0 10px;padding:10px 12px;border-radius:var(--r-s);background:var(--danger-soft);color:var(--danger);font-size:13px;font-weight:600}
.rv-error[hidden]{display:none}
.rv .note{display:flex;align-items:flex-start;gap:6px}
.rv .note svg{width:15px;height:15px;flex-shrink:0;margin-top:1px}
.rv-actions{display:flex;gap:8px;margin-top:14px}
.rv-actions .primary{flex:1}
.rv-actions .secondary{flex:0 0 auto;min-width:96px}
.rv-success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:8px 0 4px}
.rv-burst{display:grid;place-items:center;width:72px;height:72px;margin-bottom:6px;border-radius:50%;background:var(--success);color:#fff;box-shadow:0 0 0 10px var(--success-soft);animation:rv-pop .5s cubic-bezier(.3,1.6,.5,1)}
.rv-burst svg{width:36px;height:36px;stroke-width:3}
.rv-success .stars svg{width:20px;height:20px}
.rv-success h3{margin:6px 0 0;font-size:19px}
.rv-success p{margin:0 0 12px;color:var(--text-2);font-size:14px;max-width:320px}
.rv-success .primary{width:100%}
.review-bar.done{flex-wrap:wrap}
.rv-edit{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:6px 10px;border-radius:999px;background:var(--surface-2);color:var(--accent-text);font-size:12.5px;font-weight:700}
.rv-edit svg{width:14px;height:14px}
.rating-tags,.review-tags{display:flex;flex-wrap:wrap;gap:6px}
.rating-summary{flex-wrap:wrap}
.rating-tags{flex-basis:100%;margin-top:0;padding-top:12px;border-top:1px solid var(--line)}
.review-tags{margin:8px 0 2px}
.rv-chip{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 10px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:600}
.rv-chip b{color:var(--text);font-variant-numeric:tabular-nums}
.rv-chip.good{background:var(--success-soft);color:var(--success)}
.rv-chip.bad{background:var(--warning-soft);color:var(--warning)}
@media (max-width:359px){.rv .star-btn{width:46px;height:46px}.rv .star-btn svg{width:32px;height:32px}}
@media (prefers-reduced-motion:reduce){.rv .star-btn,.rv .star-btn.pop,.rv-burst{animation:none;transition:none}}

/* ---------- Withdrawals (stage 4): methods, saved details, amount, check, statuses; admin cards ---------- */
.wallet-split{display:flex;gap:6px;flex-wrap:wrap;margin:-2px 0 8px}
.wallet-split span{padding:3px 9px;border-radius:999px;background:#ffffff26;font-size:12px;font-weight:600}
.po-progress{display:flex;gap:6px;margin:0 0 14px}
.po-progress span{flex:1;display:flex;flex-direction:column;gap:6px;font-size:11.5px;font-weight:700;color:var(--muted)}
.po-progress i{height:4px;border-radius:4px;background:var(--surface-3)}
.po-progress span.on{color:var(--text)}
.po-progress span.on i{background:var(--accent)}
.po-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.po-method{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px;border-radius:16px;border:1.5px solid var(--line-strong);background:var(--surface);text-align:left;color:var(--text);transition:border-color .15s,background-color .15s}
.po-method.on{border-color:var(--accent);background:var(--accent-soft)}
.po-method:disabled{opacity:.45}
.po-method b{font-size:15px}
.po-method small{color:var(--text-2);font-size:12px;line-height:1.3}
.po-method em{font-style:normal;color:var(--muted);font-size:11.5px;margin-top:2px}
.po-mi{display:grid;place-items:center;width:34px;height:34px;margin-bottom:4px;border-radius:11px;background:var(--surface-2);color:var(--accent-text)}
.po-method.on .po-mi{background:var(--accent);color:var(--on-accent)}
.po-mi svg{width:18px;height:18px}
.po-mi.big{width:52px;height:52px;border-radius:16px;margin:0 auto 8px;background:var(--accent-soft)}
.po-mi.big svg{width:26px;height:26px}
.po-saved{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.po-saved>small{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.po-saved-row{display:flex;align-items:center;border-radius:14px;border:1px solid var(--line-strong);background:var(--surface)}
.po-saved-row.on{border-color:var(--accent);background:var(--accent-soft)}
.po-saved-row>button:first-child{flex:1;display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;text-align:left;color:var(--text);font-size:13.5px}
.po-saved-row>button:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.po-saved-row i{flex-shrink:0;width:18px;height:18px;border-radius:50%;border:2px solid var(--line-strong)}
.po-saved-row.on i{border:5px solid var(--accent)}
.po-saved-row .icon-button{flex-shrink:0;width:40px;height:40px;color:var(--muted)}
.po-form .field select,.po-form .field input{width:100%}
.po-addr{display:flex;gap:6px}
.po-addr input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px}
.po-addr .secondary{flex-shrink:0;padding:0 12px}
.field.bad input{border-color:var(--danger)}
.po-warn{display:flex;gap:8px;align-items:flex-start;margin:4px 0 12px;padding:10px 12px;border-radius:var(--r-s);background:var(--warning-soft);color:var(--warning);font-size:12.5px;line-height:1.4}
.po-warn svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}
.po-warn span{color:var(--text-2)}
.check-row{display:flex;align-items:center;gap:10px;margin:4px 0 14px;font-size:13.5px;color:var(--text-2)}
.check-row input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}
.po-avail{display:flex;justify-content:space-between;align-items:baseline;padding:11px 14px;border-radius:14px;background:var(--surface-2);font-size:13.5px;color:var(--text-2)}
.po-avail b{color:var(--text);font-size:15px}
.po-amount{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:18px 0 10px;padding-bottom:8px;border-bottom:2px solid var(--line-strong)}
.po-amount:focus-within{border-color:var(--accent)}
.po-amount.bad{border-color:var(--danger)}
.po-amount input{min-width:.9em;max-width:80%;border:0;background:transparent;text-align:center;font-size:40px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;padding:0;outline:none}
.po-amount span{font-size:28px;font-weight:700;color:var(--muted)}
.po-quick{display:flex;justify-content:center;gap:8px}
.po-quick .chip{min-width:64px;justify-content:center}
.po-hint{text-align:center;margin:10px 0 12px;color:var(--muted);font-size:12.5px}
.po-hint.bad{color:var(--danger);font-weight:600}
.po-sum{margin:0 0 12px;padding:4px 14px;border-radius:14px;background:var(--surface-2)}
.po-sum div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.po-sum div:last-child{border-bottom:0}
.po-sum dt{color:var(--text-2)}
.po-sum dd{margin:0;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.po-sum .total dd{font-size:16px;color:var(--success)}
.po-req{display:flex;flex-direction:column;align-items:flex-end;gap:2px;max-width:66%;overflow-wrap:anywhere;font-weight:600!important}
.po-usdt{display:block;margin:-4px 0 12px;color:var(--muted);font-size:12px;text-align:center}
.po-check{text-align:center;margin:4px 0 14px}
.po-check-sum{display:block;font-size:32px;font-weight:800;font-variant-numeric:tabular-nums}
.po-check small{color:var(--muted)}
.po-busy{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:6px 0}
.po-busy>svg{width:40px;height:40px;color:var(--accent-text);margin-bottom:4px}
.po-busy h3{margin:0;font-size:18px}
.po-busy p{margin:0 0 10px;color:var(--text-2);font-size:14px}
.po-steps{display:flex;list-style:none;margin:10px 0 4px;padding:0;width:100%}
.po-steps li{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font-size:11.5px;color:var(--muted)}
.po-steps li i{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;background:var(--surface-3);box-shadow:0 0 0 3px var(--surface)}
.po-steps li:not(:first-child)::before{content:'';position:absolute;top:5px;right:50%;width:100%;height:2px;background:var(--surface-3)}
.po-steps li.on{color:var(--text);font-weight:600}
.po-steps li.on i,.po-steps li.on::before{background:var(--success)}
.po-steps li.now i{box-shadow:0 0 0 3px var(--surface),0 0 0 6px var(--success-soft)}
.po-steps.is-bad li.now i{background:var(--danger);box-shadow:0 0 0 3px var(--surface),0 0 0 6px var(--danger-soft)}
.po-steps li small{font-size:10.5px;color:var(--muted);font-weight:400}
.po-card{padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.po-card header{display:flex;align-items:center;gap:12px}
.po-card .payout-text{flex:1;display:flex;flex-direction:column;min-width:0}
.po-card .payout-text small{color:var(--muted);font-size:12px}
.po-details{margin:8px 0 0;color:var(--text-2);font-size:13px;word-break:break-word}
.po-net{margin:4px 0 0;font-size:12.5px;color:var(--muted)}
.po-net b{color:var(--text)}
.po-note{display:flex;gap:6px;align-items:flex-start;margin:8px 0 0;padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:12.5px;color:var(--text-2)}
.po-note.bad{background:var(--danger-soft);color:var(--danger)}
.po-note svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}
.po-card .link-button{margin-top:8px}
.pill.work,.payout-ico.work{background:var(--accent-soft);color:var(--accent-text)}
.pill.off,.payout-ico.off{background:var(--surface-2);color:var(--muted)}
.po-admin .admin-card-head{align-items:center}
.po-admin .admin-card-head>div{flex:1}
.po-admin-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:10px 0}
.po-admin-sum span{color:var(--muted);font-size:13px}
.po-admin-sum b{font-size:22px;font-variant-numeric:tabular-nums}
.po-admin-sum small{flex-basis:100%;color:var(--muted);font-size:12px}
.po-copies{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.po-copy{display:grid;grid-template-columns:96px 1fr 18px;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:var(--surface-2);text-align:left;color:var(--text)}
.po-copy small{color:var(--muted);font-size:12px}
.po-copy span{font-weight:700;font-size:14px;word-break:break-all}
.po-copy.mono span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;font-weight:600}
.po-copy svg{width:16px;height:16px;color:var(--muted)}
.po-copy:active{background:var(--surface-3)}
.po-done{margin-top:12px}
.po-done summary{cursor:pointer;color:var(--text-2);font-size:13.5px;font-weight:600;padding:6px 0}
.po-done .payout-list{margin-top:8px}
@media (max-width:359px){.po-methods{grid-template-columns:1fr}.po-copy{grid-template-columns:1fr 18px}.po-copy small{grid-column:1/-1}.po-amount input{font-size:34px}}
.po-form .note{display:flex;align-items:flex-start;gap:6px;margin:-2px 0 10px}
.po-form .note svg{width:15px;height:15px;flex-shrink:0;margin-top:1px}
.po-addr-msg{display:flex;align-items:center;gap:5px;min-height:0;margin:-6px 0 8px;font-size:12.5px;font-weight:600}
.po-addr-msg:empty{display:none}
.po-addr-msg.bad{color:var(--danger)}
.po-addr-msg.ok{color:var(--success)}
.po-addr-msg svg{width:14px;height:14px;stroke-width:3}
/* two equal buttons that shrink on 320px screens instead of spilling out of the card */
.wallet-acts{grid-template-columns:repeat(2,minmax(0,1fr))}
.wallet-acts .wallet-btn{padding:0 10px;min-width:0}

/* the payment provider's fee, said before the buyer reaches the payment page */
.co-fee-note{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
#topup-fee{margin:0 0 10px;padding:9px 12px;border-radius:12px;background:var(--surface-2);color:var(--text-2)}
/* quiet entry to selling on the home page */
.sell-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 8px;padding:14px 14px 14px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.sell-row b{font-size:15px;font-weight:700;letter-spacing:-.01em}
.sr-cta{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:12px;background:var(--accent);color:var(--on-accent,#0b0c10);font-weight:800;font-size:14px;flex-shrink:0}
.sr-cta svg{width:17px;height:17px}

/* «Заморожено» opens its explanation instead of a permanent paragraph */
.wr-hint{display:inline-flex;align-items:center;gap:6px;padding:0;background:none;color:inherit;font:inherit;font-size:13px;opacity:.92}
.wr-hint b{margin-left:3px;font-weight:800}
.wr-hint svg{width:15px;height:15px}
.wr-hint svg:last-child{width:14px;height:14px;opacity:.7}
.wallet-info{display:block;margin:0 0 4px}
.wallet-info[hidden]{display:none}

/* item page: the seller line wraps instead of cutting off */
.ip-seller-text small{white-space:normal;overflow:visible}
@media (max-width:430px){.ip-seller-go{font-size:0;gap:0}}

/* phone hero: game tiles in a tidy 2x3 grid right of the text, no overlap */
@media (max-width:799px){
  .banner-games{inset:0 0 0 auto;display:grid;grid-template-columns:repeat(2,46px);grid-auto-rows:46px;gap:10px;align-content:center;justify-content:end;padding-right:2px}
  .bg-tile{position:relative;left:auto;top:auto;width:46px;height:46px;border-radius:14px;opacity:1}
  .bg-1,.bg-3,.bg-5{margin-top:18px;margin-bottom:-18px}
}
@media (max-width:359px){.banner-games{grid-template-columns:repeat(2,40px);grid-auto-rows:40px;gap:8px}.bg-tile{width:40px;height:40px}}
/* polish pass: bigger tap zones without changing the look, no cut game names, no text under 11px */
.hf-links button{min-height:40px;padding:0 4px}
.wr-hint,.ip-game{padding:8px 0;margin:-8px 0}
.view-toggle button{width:36px;height:32px}
.game b,.gr-item b{height:auto;max-height:32px;white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.banner-kicker,.deal-step,.help-bubble,.mini-bar small{font-size:11px}
/* chat list: a closed deal is not a success, and the deal status never gets cut */
.deal-pill.off{background:var(--surface-3);color:var(--text-2)}
.chat-deal.is-note{color:var(--text-2)}
.dialog-entry .chat-topic>.deal-pill{flex:none;overflow:visible}
.catalog-head-right{flex-shrink:0}
@media (max-width:359px){.catalog-title h2{font-size:16px}}
/* the slot next to a short catalog */
.grid-fill{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:4px;min-height:200px;padding:16px;border-radius:20px;border:1px dashed var(--line-strong);color:var(--text-2)}
.grid-fill>svg{width:22px;height:22px;margin-bottom:auto;color:var(--accent-text)}
.grid-fill b{font-size:14px;line-height:1.25;color:var(--text)}
.grid-fill small{font-size:12px;line-height:1.35;color:var(--muted)}
.grid-fill .secondary{min-height:36px;margin-top:10px;padding:0 14px;font-size:13px}
#main:has(.home-grid .grid-fill) .sell-row{display:none}
/* five photo slots: the cover takes the left square, four small ones fill the right one, no hole */
.photo-slots{grid-template-columns:repeat(4,1fr)}
/* form errors drawn by the app */
.is-invalid{border-color:var(--danger)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 18%,transparent)!important}
.field-err,.field .field-err,label .field-err{display:block;margin:6px 2px 0;color:var(--danger)!important;font-size:12.5px;font-weight:600}
@media (min-width:540px){.grid-fill:nth-child(2){grid-column:2/-1}.grid-fill:nth-child(3){grid-column:3/-1}.grid-fill{justify-content:center;padding:24px 28px}.grid-fill>svg{margin-bottom:10px}}
/* Cards: a 4:3 picture fits more offers on a phone screen. The whole picture stays visible
   (square covers keep their text), the empty sides are filled with a soft blurred copy. */
.grid:not(.list-view) .vx-card .product-art,.card-strip .vx-card .product-art{aspect-ratio:4/3}
.grid:not(.list-view) .vx-card .product-art img:not(.pa-fill),.card-strip .vx-card .product-art img:not(.pa-fill){object-fit:contain}
.vx-card .pa-fill{position:absolute;inset:-12%;width:124%;height:124%;object-fit:cover;filter:blur(18px) saturate(1.3) brightness(.75);transform:none!important}
.list-view .vx-card .pa-fill{display:none}
.list-view .vx-card .product-art img:not(.pa-fill){object-fit:cover}
.sk-art{aspect-ratio:4/3}
/* discount and instant delivery stand out on the card */
.pr-off{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:6px;background:#ff4d6d;color:#fff;font-size:11px;font-weight:800}
/* «Моментальная выдача»: a strip of instant-delivery offers with a buy button on each tile */
.quick-buy{margin:18px 0 6px}
.quick-buy .section-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.quick-buy h2{display:inline-flex;align-items:center;gap:8px;margin:0}
.quick-buy h2 svg{width:20px;height:20px;padding:4px;border-radius:8px;background:linear-gradient(135deg,#7b5cff,#2f8bff);color:#fff;box-sizing:content-box}
.quick-buy .section-row small{color:var(--muted);font-size:12px}
.qb-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter,16px);scrollbar-width:none;margin:0 calc(var(--gutter,16px) * -1);padding:2px var(--gutter,16px) 4px}
.qb-row::-webkit-scrollbar{display:none}
.qb-card{flex:0 0 232px;scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.qb-open{display:flex;align-items:center;gap:10px;min-width:0;padding:0;background:none;color:inherit;text-align:left}
.qb-art{flex:0 0 52px;width:52px;height:52px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:var(--surface-2)}
.qb-art img,.qb-art .game-art{width:100%;height:100%;object-fit:cover;border-radius:0}
.qb-art .cat-art svg{width:30px;height:30px}
.qb-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.qb-text small{font-size:11.5px;font-weight:650;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qb-text b{font-size:13.5px;font-weight:650;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.qb-buy{display:flex;align-items:center;justify-content:space-between;gap:8px}
.qb-price{font-family:var(--display);font-weight:800;font-size:16px;letter-spacing:-.01em}
.qb-cta{min-height:36px;padding:0 16px;border-radius:12px;background:var(--grad);color:#fff;font-weight:800;font-size:13.5px;box-shadow:0 6px 16px #5a7cff40}
.qb-cta:active{transform:scale(.97)}
@media (min-width:800px){.qb-row{margin:0;padding:2px 0 4px}.qb-card{flex-basis:260px}}
/* promo code in the checkout */
.co-promo{margin:12px 0 0}
.co-promo-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 4px;background:none;color:var(--accent-text);font-weight:700;font-size:13.5px}
.co-promo-link svg{width:16px;height:16px}
.co-promo-form{display:flex;gap:8px}
.co-promo-form input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:14px;border:1px solid var(--line-strong);background:var(--surface-2);color:var(--text);font:inherit;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.co-promo-form input::placeholder{letter-spacing:0;text-transform:none;font-weight:500}
.co-promo-form .secondary{height:44px;padding:0 16px;flex-shrink:0}
.co-promo-on{display:flex;align-items:center;gap:10px;padding:10px 6px 10px 12px;border-radius:14px;background:color-mix(in srgb,#20c46b 12%,transparent);border:1px solid color-mix(in srgb,#20c46b 35%,transparent)}
.co-promo-on>svg{width:18px;height:18px;color:#20c46b;flex-shrink:0}
.co-promo-on span{flex:1;min-width:0;display:flex;flex-direction:column}
.co-promo-on b{font-size:14px;letter-spacing:.05em}
.co-promo-on small{font-size:12px;color:var(--text-2)}
.co-promo-line b{color:#20c46b}
/* promo codes in the moderator panel */
.promo-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 14px}
.promo-form .field:first-child,.promo-form .primary{grid-column:1/-1}
.promo-list{display:flex;flex-direction:column;gap:8px}
.promo-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.promo-row.off{opacity:.55}
.promo-code{flex-shrink:0;padding:6px 10px;border-radius:10px;background:var(--surface-2);font-weight:800;letter-spacing:.06em;font-size:13px}
.promo-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.promo-info b{font-size:14px}
.promo-info small{font-size:12px;color:var(--muted)}
.promo-row .secondary{min-height:36px;padding:0 12px;font-size:13px;flex-shrink:0}
@media (min-width:800px){.promo-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:359px){.quick-buy h2{font-size:17px}.quick-buy h2 svg{width:16px;height:16px}}
/* motion: cards rise in as they scroll into view; everything tappable answers the finger */
.rv{opacity:0;transform:translateY(14px)}
.rv-in{opacity:1;transform:none;transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1)}
.vx-card .product-open,.qb-card,.action-tile,.order-row,.category,.gr-item,.quick-chip,.chip,.feed-chip,.dialog-entry,.menu-row,.co-method{transition:transform .16s ease,background-color .2s,border-color .2s,box-shadow .2s}
.vx-card .product-open:active,.qb-card:active,.action-tile:active,.order-row:active,.category:active,.gr-item:active,.quick-chip:active,.dialog-entry:active,.menu-row:active,.co-method:active{transform:scale(.975)}
.primary:active,.secondary:active,.qb-cta:active,.sr-cta:active,.banner-cta:active{transform:scale(.96)}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none}.rv-in{transition:none}}
/* empty states: the icon sits on a soft glowing tile with two small cards behind it */
.empty-symbol{position:relative;width:88px;height:88px;border-radius:28px;margin-bottom:20px;overflow:visible;background:var(--grad);color:#fff;box-shadow:0 16px 36px color-mix(in srgb,var(--accent) 35%,transparent)}
.empty-symbol svg{width:36px;height:36px;position:relative;z-index:1}
.empty-symbol:before,.empty-symbol:after{content:'';position:absolute;z-index:-1;width:46px;height:46px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}
.empty-symbol:before{left:-34px;top:20px;transform:rotate(-14deg)}
.empty-symbol:after{right:-34px;top:12px;transform:rotate(12deg)}
.empty-symbol .game-art{border-radius:inherit}
.empty{isolation:isolate}
.empty h3{font-family:var(--display);letter-spacing:-.01em}
/* a card without a photo: the game icon alone, centred a little higher (the badge sits under it) */
.grid:not(.list-view) .vx-card .art-fallback small{display:none}
.grid:not(.list-view) .vx-card .art-fallback{justify-content:center;padding-bottom:14%}
.grid:not(.list-view) .vx-card .art-fallback .game-art,.grid:not(.list-view) .vx-card .art-fallback-icon{width:40%}
/* item page: the same 4:3 frame as the card, so covers fill it edge to edge (tall screenshots get soft side bands) */
.item-gallery .product-art{aspect-ratio:4/3}
/* «Купить снова» under a finished purchase: the same offer, straight to the checkout */
.order-again{display:flex;align-items:center;gap:6px;align-self:flex-end;margin:-2px 4px 6px auto;min-height:36px;padding:0 14px;border-radius:12px;background:var(--accent-soft);color:var(--accent-text);font-weight:750;font-size:13px}
.order-again svg{width:15px;height:15px}
/* cover drawn for a listing without a photo (same look as the starter covers) */
.art-cover{--tint:#5a7cff;position:absolute;inset:0;container-type:size;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-start;gap:.5em;padding:7% 7% 0;color:#fff;text-align:left;font-size:16px;
  background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--tint) 75%,transparent),transparent 65%),linear-gradient(160deg,#1b1e29,#0c0d12)}
.art-cover .ac-bg{position:absolute;inset:-15%;width:130%!important;height:130%!important;z-index:-1;object-fit:cover;filter:blur(22px) saturate(1.2) brightness(.55);opacity:1}
.art-cover:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--tint) 55%,transparent),transparent 60%),linear-gradient(to top,#000a,transparent 55%)}
.ac-head{display:flex;align-items:center;gap:4cqw;min-width:0}
.ac-head .game-art,.ac-cat{flex:0 0 22cqw;width:22cqw!important;height:22cqw;border-radius:5.5cqw;box-shadow:0 1.5cqw 4cqw #0007;overflow:hidden}
.ac-cat{display:grid;place-items:center;background:#ffffff1f}
.ac-cat svg{width:60%;height:60%}
.ac-head small{font-size:clamp(9px,6.4cqw,22px);font-weight:650;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-title{font-family:var(--display);font-weight:800;font-size:clamp(11px,8.6cqw,40px);line-height:1.12;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}
.tint-accounts{--tint:#3c6eff}.tint-currency{--tint:#ffb020}.tint-games{--tint:#9b5aff}.tint-boost{--tint:#ff4d6d}.tint-services{--tint:#20c8aa}.tint-keys{--tint:#ff8c28}.tint-donate{--tint:#ec48b4}
.art-cover .ac-bg{object-fit:cover!important;transform:none!important}
.art-cover .game-art img{position:static!important;inset:auto;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
.list-view .art-cover .ac-title,.list-view .art-cover .ac-head small{display:none}
.list-view .art-cover{justify-content:center;align-items:center;padding:0}
.list-view .art-cover .ac-head .game-art,.list-view .art-cover .ac-cat{flex-basis:56cqw;width:56cqw!important;height:56cqw}
.art-cover .ac-head .game-art,.art-cover .ac-head .ac-cat{flex:0 0 auto;width:22cqw!important;height:22cqw!important;max-width:none!important;min-width:0}
.art-cover .ac-title{margin-top:2cqh}
/* catalog: categories as a light strip, then one toolbar (sort ▾, price ▾, two switches) — no rows of chips */
.category-tabs{margin-bottom:10px}
.category-tabs .tab{background:transparent;border-color:transparent;color:var(--text-2);font-weight:650}
.category-tabs .tab:not(.active):hover{background:var(--surface)}
.category-tabs .tab.active{background:var(--text);border-color:var(--text);color:var(--bg);box-shadow:0 6px 16px #0003}
.cat-toolbar{display:flex;align-items:center;gap:8px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;margin:0 calc(var(--gutter,16px) * -1) 18px;padding:2px var(--gutter,16px);scroll-padding-inline:var(--gutter,16px)}
.cat-toolbar::-webkit-scrollbar{display:none}
.tb-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--text);font-size:13.5px;font-weight:650;white-space:nowrap}
.tb-btn svg{width:16px;height:16px;color:var(--text-2)}
.tb-btn svg:last-child:not(:first-child){width:14px;height:14px;margin-left:-2px;opacity:.7}
.tb-rub{font-family:var(--display);font-size:14px;color:var(--text-2);line-height:1}
.tb-btn.on{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 45%,transparent);color:var(--accent-text)}
.tb-btn.on svg,.tb-btn.on .tb-rub{color:var(--accent-text)}
.tb-sep{flex-shrink:0;width:1px;height:22px;background:var(--line-strong);margin:0 2px}
@media (min-width:800px){.cat-toolbar{margin-inline:0;padding-inline:0}}
/* short option lists (sort, price) in the bottom sheet */
.opt-list{display:flex;flex-direction:column;gap:4px;padding-bottom:6px}
.opt-row{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 14px;border-radius:14px;background:none;color:var(--text);font-size:15px;font-weight:600;text-align:left}
.opt-row:hover{background:var(--surface-2)}
.opt-row.on{background:var(--accent-soft);color:var(--accent-text)}
.opt-ico{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--surface-2);color:var(--text-2)}
.opt-row.on .opt-ico{background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent-text)}
.opt-ico svg{width:17px;height:17px}
.opt-label{flex:1}
.opt-row>svg{width:18px;height:18px;color:var(--accent-text)}
/* strips (more from the seller, similar, recently viewed) use the same 4:3 card, a bit wider so the cover reads */
.card-strip .product{flex-basis:176px}
/* a drawn cover already names the game: no second badge on top of it */
.vx-card .product-art:has(.art-cover) .pa-src{display:none}
@media (min-width:800px){.card-strip .product{flex-basis:220px}}
/* seller page: the header is a card with a soft glow (like the own profile), the numbers sit in one row */
.seller-hero{position:relative;isolation:isolate;overflow:hidden;padding:20px 18px;border-radius:24px;background:var(--surface);border:1px solid var(--line)}
.seller-hero:before{content:'';position:absolute;z-index:-1;inset:-40% -20% auto auto;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 38%,transparent),transparent)}
.seller-hero:after{content:'';position:absolute;z-index:-1;inset:auto auto -55% -15%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--accent-2) 26%,transparent),transparent)}
.seller-stats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:0;margin:12px 0 18px;padding:14px 4px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.seller-stats>div{padding:0 8px;background:none;border:0;border-radius:0;text-align:center}
.seller-stats>div+div{border-left:1px solid var(--line)}
.seller-stats b{font-family:var(--display);font-size:19px;letter-spacing:-.02em}
.seller-stats span{font-size:11.5px}
.seller-hero h1{overflow-wrap:break-word;hyphens:none}
.seller-stats b{white-space:nowrap}
@media (max-width:359px){.seller-hero{gap:12px;padding:16px 14px}.seller-hero .profile-letter{width:58px;height:58px;font-size:24px;flex-shrink:0}.seller-hero h1{font-size:21px}
  .seller-stats>div{padding:0 4px}.seller-stats b{font-size:16px}}
/* chats: the game icon stands in for a missing item photo */
.chat-item-thumb .game-art,.deal-art .game-art{display:block;width:100%;height:100%;border-radius:0;box-shadow:none}
.chat-item-thumb .game-art img,.deal-art .game-art img{width:100%;height:100%;object-fit:cover}
.dl-acts [data-action="quick-buy"] svg{width:16px;height:16px}
/* narrow phones: the message field keeps room for its word, the side buttons get a bit smaller */
.composer textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:359px){.composer-row{gap:5px}.composer-row .attach-button,.composer-row>button:not(.send-button),.composer-row>label:not(.sr-only){width:38px;height:38px}
  .composer-row .attach-button svg,.composer-row>button:not(.send-button) svg{width:18px;height:18px}.composer textarea{padding:11px 12px}}
/* waiting for a payment: what lands on the balance, under the sum to pay */
.pw-credit{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 11px;border-radius:999px;background:color-mix(in srgb,#20c46b 14%,transparent);color:#20c46b;font-style:normal;font-size:12.5px;font-weight:750}
.pw-credit svg{width:14px;height:14px}
.pw-amount span{white-space:normal;text-wrap:balance}
/* 320 px: the short facts and the buy bar keep their words whole */
@media (max-width:359px){
  .iq{padding:10px}.iq b{font-size:13.5px;white-space:normal;line-height:1.2}
  .buybar-price small{font-size:11px;letter-spacing:-.01em}
  #catalog-count{display:none}
}
.bb-short{display:none}
@media (max-width:359px){.bb-long{display:none}.bb-short{display:inline}}
/* ===== Home banners, second edition: each slide has its own colour world and a small scene on the right ===== */
.banner{isolation:isolate}
.banner .bx-bg{position:absolute;inset:-20%;width:140%;height:140%;object-fit:cover;z-index:-2;filter:blur(26px) saturate(1.4) brightness(.55);transform:scale(1.05);pointer-events:none}
.b2-pubg{background:radial-gradient(90% 120% at 100% 30%,#ffb20066,transparent 60%),linear-gradient(125deg,#140d03 0%,#2a1906 45%,#5a3505 100%)}
.b2-ai{background:radial-gradient(80% 110% at 85% 40%,#7c5cff88,transparent 60%),radial-gradient(70% 90% at 100% 100%,#14d4b955,transparent 60%),linear-gradient(135deg,#0e0b24 0%,#1d1650 55%,#26195f 100%)}
.b2-market{background:linear-gradient(135deg,#4c3cff 0%,#7b5cff 45%,#2f8bff 100%)}
.b2-instant{background:radial-gradient(90% 120% at 90% 40%,#c6f43255,transparent 60%),linear-gradient(135deg,#0b1206 0%,#16240a 55%,#23380c 100%)}
.b2-deal{background:radial-gradient(90% 120% at 90% 30%,#20c46b55,transparent 60%),linear-gradient(135deg,#061410 0%,#0b2a20 55%,#0f3d2c 100%)}
.b2-sell{background:linear-gradient(135deg,#7b2cff 0%,#c03cff 55%,#ff4d8d 110%)}
.b2-help{background:radial-gradient(90% 120% at 90% 30%,#48a8ff66,transparent 60%),linear-gradient(135deg,#071430 0%,#0d2557 60%,#123577 100%)}
.b2-pubg .banner-kicker{background:#ffb200;color:#1a1003}
.b2-instant .banner-kicker{background:#c6f432;color:#10160a}
.b2-pubg .banner-cta{background:#ffb200;color:#1a1003}
.b2-instant .banner-cta{background:#c6f432;color:#10160a}

.bx{position:absolute;inset:0;display:block}
.bx img,.bx .game-art{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
@keyframes bx-float{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-6px) rotate(var(--r,0deg))}}
@keyframes bx-spin{to{transform:rotate(360deg)}}
@keyframes bx-spin-back{to{transform:rotate(-360deg)}}
@keyframes bx-pulse{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}

/* PUBG: the game icon as a hero card, coins floating around it */
.bx-pubg .bx-ring{position:absolute;left:50%;top:48%;width:118%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(closest-side,#ffb20055,transparent 70%);animation:bx-pulse 3.6s ease-in-out infinite}
.bx-pubg .bx-hero{position:absolute;left:50%;top:46%;width:76%;aspect-ratio:1;translate:-50% -50%;border-radius:24%;overflow:hidden;--r:-8deg;transform:rotate(-8deg);box-shadow:0 18px 40px #000a,0 0 0 2px #ffb20099;animation:bx-float 5s ease-in-out infinite}
.bx-coin{position:absolute;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3b0,#ffb200 55%,#b86e00);color:#3a2300;font:800 10px/1 var(--display);box-shadow:0 6px 14px #0007,inset 0 -2px 0 #0003;animation:bx-float 4.2s ease-in-out infinite}
.bx-coin.c1{left:2%;top:10%;--r:-14deg}
.bx-coin.c2{right:0;top:30%;width:24px;height:24px;font-size:8px;--r:12deg;animation-delay:-1.4s}
.bx-coin.c3{left:10%;bottom:12%;width:22px;height:22px;font-size:8px;--r:8deg;animation-delay:-2.6s}
.bx-tag{position:absolute;right:0;bottom:8%;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:999px;background:#ffb200;color:#1a1003;font-size:11px;font-weight:800;box-shadow:0 6px 16px #0006}
.bx-tag svg{width:12px;height:12px}

/* AI: four app icons on a slow orbit around a glowing core */
.bx-ai .bx-core{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:44px;height:44px;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,#fff,#b9a6ff 55%,#7c5cff);color:#2a1f6b;box-shadow:0 0 30px #9b7bff,0 0 60px #7c5cff88;animation:bx-pulse 3s ease-in-out infinite}
.bx-ai .bx-core svg{width:20px;height:20px}
.bx-orbit{position:absolute;left:50%;top:50%;width:min(100%,150px);aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:1px dashed #ffffff33;animation:bx-spin 26s linear infinite}
.bx-sat{position:absolute;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:12px;overflow:hidden;box-shadow:0 8px 18px #0008,0 0 0 2px #ffffff30;animation:bx-spin-back 26s linear infinite}
.bx-sat.s0{left:50%;top:0}.bx-sat.s1{left:100%;top:50%}.bx-sat.s2{left:50%;top:100%}.bx-sat.s3{left:0;top:50%}

/* market: three big game covers fanned like cards */
.bx-fan-card{position:absolute;left:50%;top:50%;width:58%;aspect-ratio:1;border-radius:22%;overflow:hidden;box-shadow:0 14px 30px #0008,0 0 0 2px #ffffff40;animation:bx-float 5.4s ease-in-out infinite}
.bx-fan-card.f0{translate:-92% -52%;--r:-16deg;transform:rotate(-16deg);z-index:1}
.bx-fan-card.f1{translate:-50% -62%;--r:0deg;z-index:3;width:64%;animation-delay:-1.6s}
.bx-fan-card.f2{translate:-8% -48%;--r:15deg;transform:rotate(15deg);z-index:2;animation-delay:-3s}

/* instant delivery: a code ticket that has just been issued */
.bx-ticket{position:absolute;left:50%;top:50%;width:96%;max-width:170px;translate:-50% -50%;display:flex;flex-direction:column;gap:4px;padding:12px 12px 10px;border-radius:16px;background:#0b0f06cc;border:1px solid #c6f43255;box-shadow:0 16px 34px #000a;backdrop-filter:blur(6px);--r:-6deg;transform:rotate(-6deg);animation:bx-float 5s ease-in-out infinite}
.bx-ticket small{font-size:10.5px;color:#c6f432;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.bx-ticket code{font:800 15px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#fff;letter-spacing:.06em;white-space:nowrap}
.bx-ticket em{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-top:2px;padding:2px 8px;border-radius:999px;background:#c6f432;color:#10160a;font-style:normal;font-size:10.5px;font-weight:800}
.bx-ticket em svg{width:11px;height:11px}
.bx-bolt{position:absolute;right:2%;top:8%;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#c6f432;color:#10160a;box-shadow:0 8px 20px #c6f43255;animation:bx-float 3.8s ease-in-out infinite;--r:10deg}
.bx-bolt svg{width:18px;height:18px}

/* safe deal: a small deal card with its steps */
.bx-dealcard{position:absolute;left:50%;top:52%;width:96%;max-width:170px;translate:-50% -50%;display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:#06140fcc;border:1px solid #20c46b55;box-shadow:0 16px 34px #000a;backdrop-filter:blur(6px);animation:bx-float 5.2s ease-in-out infinite}
.bx-dl-head{display:flex;align-items:center;gap:6px;color:#fff;font-size:12px}
.bx-dl-head svg{width:15px;height:15px;color:#2fd08f}
.bx-dl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.bx-dl-steps i{height:4px;border-radius:2px;background:#ffffff26}
.bx-dl-steps i.on{background:#2fd08f}
.bx-dl-row{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.bx-dl-row small{font-size:9.5px;color:#ffffffaa;white-space:nowrap}
.bx-lock{position:absolute;right:0;top:4%;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#2fd08f;color:#04130c;box-shadow:0 8px 20px #20c46b55;animation:bx-float 4s ease-in-out infinite;--r:-8deg}
.bx-lock svg{width:17px;height:17px}

/* sell: a mini listing with a plus badge */
.bx-mini{position:absolute;left:50%;top:50%;width:70%;max-width:130px;translate:-50% -50%;display:flex;flex-direction:column;gap:5px;padding:8px;border-radius:16px;background:#fffffff0;box-shadow:0 18px 36px #0007;--r:6deg;transform:rotate(6deg);animation:bx-float 5s ease-in-out infinite}
.bx-mini-art{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden}
.bx-mini b{font:800 13px/1 var(--display);color:#14101f}
.bx-mini i{display:block;height:5px;border-radius:3px;background:#1410201f}
.bx-mini i.short{width:60%}
.bx-plus{position:absolute;left:6%;top:6%;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#b13cff;box-shadow:0 8px 20px #0005;animation:bx-float 3.6s ease-in-out infinite}
.bx-plus svg{width:18px;height:18px;stroke-width:2.6}

/* help: two chat bubbles and the agent */
.bx-bubble{position:absolute;max-width:92%;padding:8px 11px;border-radius:14px;font-size:11.5px;font-weight:650;line-height:1.25;box-shadow:0 10px 24px #0006;animation:bx-float 5s ease-in-out infinite}
.bx-bubble.in{left:0;top:16%;background:#ffffff;color:#0d1b3a;border-bottom-left-radius:4px}
.bx-bubble.out{right:0;top:46%;display:inline-flex;align-items:center;gap:4px;background:#48a8ff;color:#fff;border-bottom-right-radius:4px;animation-delay:-2s}
.bx-bubble svg{width:12px;height:12px}
.bx-agent{position:absolute;left:8%;bottom:8%;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ffffff26;color:#fff;border:1px solid #ffffff40}
.bx-agent svg{width:18px;height:18px}

@media (min-width:800px){
  .bx-coin{width:38px;height:38px;font-size:12px}
  .bx-sat{width:52px;height:52px;margin:-26px 0 0 -26px}
  .bx-orbit{width:min(100%,200px)}
  .bx-ticket,.bx-dealcard{max-width:220px}.bx-ticket code{font-size:19px}
  .bx-mini{max-width:160px}
  .bx-bubble{font-size:13px}
}
@media (prefers-reduced-motion:reduce){.bx *,.bx{animation:none!important}}
/* banner scenes stay inside their half of the slide on phones */
.bx-orbit{width:min(80%,128px)}
.bx-sat{width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:10px}
.bx-fan-card{width:48%}.bx-fan-card.f1{width:54%}
.bx-fan-card.f0{translate:-86% -50%}.bx-fan-card.f2{translate:-14% -46%}
.bx-ticket,.bx-dealcard{left:auto;right:0;width:100%;max-width:150px;translate:0 -50%}
.bx-lock,.bx-bolt{top:2%;right:4%}
.bx-dealcard{top:58%}.bx-ticket{top:56%}
@media (min-width:800px){.bx-orbit{width:min(80%,190px)}.bx-sat{width:48px;height:48px;margin:-24px 0 0 -24px}.bx-ticket,.bx-dealcard{max-width:210px}}
.b2-deal h2,.b2-instant h2{font-size:21px}
.bx-dealcard{top:auto;bottom:0;translate:0 0;max-width:132px;padding:10px;gap:6px}
.bx-ticket{max-width:140px}
.bx-bubble.in{top:30%;left:4%}
.bx-bubble.out{top:58%}
.bx-agent{display:none}
@media (min-width:800px){.b2-deal h2,.b2-instant h2{font-size:28px}.bx-dealcard{max-width:200px;bottom:8%}.bx-agent{display:grid}}
@media (min-width:800px){
  .bx-pubg .bx-hero{width:min(76%,180px)}
  .bx-pubg .bx-ring{width:min(118%,280px)}
  .bx-fan-card{width:min(48%,140px)}.bx-fan-card.f1{width:min(54%,156px)}
  .bx-coin.c1{left:18%}.bx-coin.c3{left:22%}
}
/* ==========================================================================================
   VEXLIO design 2.0 — one visual language over the whole app:
   an ambient brand glow behind everything, glass bars, cards as lit tiles, deeper buttons.
   Only presentation; markup and behaviour are untouched.
   ========================================================================================== */
:root{
  --aura-1:#5a7cff1f;--aura-2:#9b6bff17;--aura-3:#20c4b90f;
  --glass:#ffffffcc;--glass-strong:#ffffffe6;--glass-line:#0f16261a;
  --tile:linear-gradient(180deg,#ffffff,#f7f9fd);--tile-line:#e3e8f1;--tile-hover:#c9d4ff;
  --lift:0 1px 2px #10182808,0 8px 24px -12px #1f386e33;
  --lift-hover:0 2px 4px #1018280d,0 18px 40px -16px #3b55c055;
  --hairline:linear-gradient(90deg,transparent,#0f162614,transparent);
}
:root[data-theme=dark]{
  --aura-1:#5a7cff2e;--aura-2:#9b6bff24;--aura-3:#20c4b914;
  --glass:#0f1016b8;--glass-strong:#13141bdb;--glass-line:#ffffff14;
  --tile:linear-gradient(180deg,#17181f,#121319);--tile-line:#23262f;--tile-hover:#3c4a8a;
  --lift:0 1px 0 #ffffff08 inset,0 10px 30px -18px #000;
  --lift-hover:0 1px 0 #ffffff12 inset,0 22px 44px -18px #000,0 0 0 1px #5a7cff40;
  --hairline:linear-gradient(90deg,transparent,#ffffff1f,transparent);
}

/* ---- ambient light behind the whole app */
body{background:radial-gradient(900px 520px at 12% -8%,var(--aura-1),transparent 70%),
                radial-gradient(760px 480px at 105% 6%,var(--aura-2),transparent 70%),
                radial-gradient(700px 600px at 50% 110%,var(--aura-3),transparent 70%),var(--bg);background-attachment:fixed}

/* ---- glass top bar and bottom navigation */
.topbar{background:var(--glass);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-bottom:0;box-shadow:none}
.topbar:after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--hairline);pointer-events:none}
.mobile-nav{background:var(--glass-strong);backdrop-filter:saturate(1.8) blur(22px);-webkit-backdrop-filter:saturate(1.8) blur(22px);border:1px solid var(--glass-line);box-shadow:0 18px 40px -14px #0009,inset 0 1px 0 #ffffff14}
.mobile-tab.active,.mobile-tab[aria-current=page]{color:var(--text)}
.mobile-tab.active svg,.mobile-tab[aria-current=page] svg{filter:drop-shadow(0 0 10px color-mix(in srgb,var(--accent) 70%,transparent))}

/* ---- buttons: depth and a lit edge */
.primary{background:linear-gradient(135deg,#5a7cff 0%,#7b6bff 50%,#9b6bff 100%);color:#fff;box-shadow:inset 0 1px 0 #ffffff40,inset 0 -1px 0 #00000026,0 12px 26px -10px #6b6cffcc;transition:transform .16s,box-shadow .2s,filter .2s}
.primary:hover{filter:brightness(1.07);box-shadow:inset 0 1px 0 #ffffff4d,inset 0 -1px 0 #00000026,0 16px 32px -10px #6b6cffee}
.secondary{background:var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.secondary:hover{border-color:var(--tile-hover)}

/* ---- search: a glass pill with a focus glow */
.home-search,.search{background:var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:var(--lift)}
.search:focus-within,.home-search:focus-visible{border-color:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 16%,transparent)}

/* ---- section headings: display face with a small accent mark */
.section-row h2,.home-section h2{font-family:var(--display);font-weight:800;font-size:19px;letter-spacing:-.02em}
.home-section>.section-row h2:before{content:'';width:6px;height:18px;border-radius:3px;background:linear-gradient(180deg,#5a7cff,#9b6bff);box-shadow:0 0 12px #6b6cff88}
.section-row .text-link{display:inline-flex;align-items:center;gap:2px;height:30px;padding:0 10px 0 12px;border-radius:999px;background:var(--glass);border:1px solid var(--glass-line);font-size:12.5px;font-weight:700;color:var(--text-2)}
.section-row .text-link svg{width:15px;height:15px}

/* ---- offer cards as lit tiles */
.vx-card{background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;padding:6px;box-shadow:var(--lift);transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s}
.vx-card:hover{transform:translateY(-3px);box-shadow:var(--lift-hover);border-color:var(--tile-hover)}
.vx-card .product-art{border-radius:17px}
.vx-card .product-body{padding:10px 6px 6px}
.vx-card .price{font-family:var(--display);font-size:17px;letter-spacing:-.03em}
.vx-card h3{font-size:13.5px;line-height:1.3;font-weight:600;color:var(--text)}
.vx-card .favorite{top:12px;right:12px}
.list-view .vx-card{padding:8px}
.grid{gap:12px 10px}
.card-strip .vx-card{box-shadow:none}
.grid-fill{border-radius:22px;background:color-mix(in srgb,var(--surface) 55%,transparent)}

/* ---- chips and tabs: glass pills, the selected one lit */
.quick-chip,.feed-chip,.chip,.tab,.tb-btn{background:var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.feed-chip.on,.chip.on,.tab.active,.category-tabs .tab.active{background:var(--text);color:var(--bg);border-color:transparent;box-shadow:0 8px 20px -10px #000}
.tb-btn.on{background:color-mix(in srgb,var(--accent) 16%,var(--glass));border-color:color-mix(in srgb,var(--accent) 50%,transparent)}
.category-tabs .tab:not(.active){background:transparent;border-color:transparent;backdrop-filter:none}

/* ---- tiles of the home page: categories, sellers, quick buy */
.category,.seller-card,.qb-card,.action-tile,.menu-list,.wallet-row,.order-row,.lg-list,.notice,.admin-card,.promo-row{border-color:var(--tile-line)}
.category,.qb-card,.seller-card{background:var(--tile);box-shadow:var(--lift)}
.qb-card{border-radius:20px}
.gr-item .game-art,.game .game-art{box-shadow:0 10px 22px -10px #000c,0 0 0 1px #ffffff14}

/* ---- item page: blocks with the same tile look */
.ip-section,.ip-seller,.owner-stats,.ip-safe{border-radius:22px}
.ip-seller,.owner-stats{background:var(--tile);border:1px solid var(--tile-line);box-shadow:var(--lift)}
.iq{background:var(--tile);border-color:var(--tile-line);border-radius:18px;box-shadow:var(--lift)}
.iq span{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent-text)}
.item-gallery-wrap,.empty-gallery{border-radius:0 0 26px 26px;overflow:hidden;box-shadow:0 24px 48px -28px #000}
.item-buybar{background:var(--glass-strong);backdrop-filter:saturate(1.6) blur(20px);-webkit-backdrop-filter:saturate(1.6) blur(20px);border-top:1px solid var(--glass-line)}
.ip-specs>div{border-color:var(--tile-line)}

/* ---- profile, wallet, chats */
.profile-hero{border-radius:28px;box-shadow:0 24px 48px -28px #000;border-color:var(--tile-line)}
.action-tile{background:var(--tile);box-shadow:var(--lift);transition:transform .16s,border-color .2s}
.action-tile:hover{border-color:var(--tile-hover)}
.action-tile.accent{background:linear-gradient(135deg,#5a7cff,#9b6bff);border-color:transparent;box-shadow:0 18px 36px -16px #6b6cffcc}
.menu-list{background:var(--tile);box-shadow:var(--lift)}
.wallet-card{box-shadow:0 30px 60px -30px #6b6cffaa,inset 0 1px 0 #ffffff33}
.dialog-entry{border-radius:18px}
.dialog-entry:hover{background:var(--glass)}
.dl{border-radius:22px;box-shadow:var(--lift)}

/* ---- dialogs and sheets */
#modal{background:var(--glass-strong);backdrop-filter:saturate(1.6) blur(24px);-webkit-backdrop-filter:saturate(1.6) blur(24px);border:1px solid var(--glass-line)}
#modal::backdrop{background:#05060acc;backdrop-filter:blur(4px)}
.co-method,.opt-row{border-radius:16px}
.co-method.on{box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 60%,transparent),0 12px 28px -14px #6b6cffaa}

/* ---- desktop: a lit sidebar */
@media (min-width:800px){
  .sidebar{background:var(--glass);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-right:1px solid var(--glass-line)}
  .nav-button.active{background:color-mix(in srgb,var(--accent) 14%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent)}
  .grid{gap:16px 14px}
}
@media (prefers-reduced-motion:reduce){.vx-card:hover{transform:none}}
/* item page: hierarchy and colour */
.ip-title{font-family:var(--display);font-weight:800;font-size:21px;line-height:1.2;letter-spacing:-.02em}
.ip-price b{font-family:var(--display);font-size:34px;letter-spacing:-.04em;background:linear-gradient(180deg,var(--text) 30%,color-mix(in srgb,var(--text) 70%,var(--accent)));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.iq span{width:34px;height:34px;border-radius:12px;color:#fff;box-shadow:0 8px 18px -8px currentColor}
.iq:nth-child(1) span{background:linear-gradient(135deg,#3c8cff,#5a5cff);color:#fff}
.iq:nth-child(2) span{background:linear-gradient(135deg,#9b6bff,#c03cff);color:#fff}
.iq:nth-child(3) span{background:linear-gradient(135deg,#14c4a4,#20a0ff);color:#fff}
.iq.is-auto span{background:linear-gradient(135deg,#a8e01a,#4cc21a);color:#0b1206}
.iq.is-star span{background:linear-gradient(135deg,#ffcf4a,#ff9a1f);color:#3a2300}
.iq span svg{color:inherit}
.iq b{font-size:15px}
.ip-seller{position:relative;overflow:hidden}
.ip-seller:before{content:'';position:absolute;inset:-60% auto auto -20%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 22%,transparent),transparent);pointer-events:none}
.buybar-price b{font-family:var(--display);font-size:19px;letter-spacing:-.03em}
.item-buybar .primary{min-width:120px}
/* the centre «+» of the bottom bar: a lit gem */
.mobile-tab.create .nav-icon{background:linear-gradient(135deg,#5a7cff,#9b6bff);box-shadow:0 0 0 4px var(--glass-strong),0 14px 30px -8px #6b6cffee,inset 0 1px 0 #ffffff55}
@media (max-width:359px){.vx-card{padding:4px;border-radius:18px}.vx-card .product-art{border-radius:14px}.vx-card .product-body{padding:8px 3px 4px}.vx-card .seller-caption{font-size:11.5px;gap:4px}.grid{gap:10px 8px}}
/* profile settings: grouped, each row with its own colour, values on the right — like a native settings screen */
.settings{margin:22px 0 8px}
.settings-label{margin:18px 6px 8px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.settings-label:first-child{margin-top:0}
.settings .menu-list{margin:0;background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift);overflow:hidden}
.settings .menu-row{position:relative;gap:14px;min-height:60px;padding:11px 14px;border-top:0;transition:background-color .15s}
.settings .menu-row+.menu-row:before{content:'';position:absolute;top:0;left:62px;right:0;height:1px;background:var(--tile-line)}
.settings .menu-row:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.settings .menu-row>span:nth-child(2){font-size:15px;font-weight:650;letter-spacing:-.01em}
.settings .menu-row small{font-size:12.5px;margin-top:3px}
.menu-icon[class*="t-"]{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:11px;color:#fff;border:0;box-shadow:inset 0 1px 0 #ffffff40,0 6px 14px -8px #000}
.menu-icon[class*="t-"] svg{width:18px;height:18px;color:#fff;stroke-width:2}
.t-blue{background:linear-gradient(135deg,#3c8cff,#5a5cff)}
.t-orange{background:linear-gradient(135deg,#ffb020,#ff7a1a)}
.t-violet{background:linear-gradient(135deg,#9b6bff,#c03cff)}
.t-teal{background:linear-gradient(135deg,#14c4a4,#1a9bff)}
.t-pink{background:linear-gradient(135deg,#ff5c9a,#ff3d6e)}
.t-amber{background:linear-gradient(135deg,#ffcf4a,#ff9a1f)}
.t-green{background:linear-gradient(135deg,#2fd08f,#14a76c)}
.t-slate{background:linear-gradient(135deg,#7c8598,#565e70)}
.t-red{background:linear-gradient(135deg,#ff6b6b,#e0344f)}
.menu-value{flex-shrink:0;padding:5px 10px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:12.5px;font-weight:700}
.settings .chevron{color:var(--muted);opacity:.7}
.settings .chevron svg{width:18px;height:18px}
.settings .switch{position:relative;flex-shrink:0;width:48px;height:28px;border-radius:999px;background:var(--surface-3);box-shadow:inset 0 0 0 1px var(--tile-line);transition:background .2s}
.settings .switch:after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0005;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.settings .switch.on{background:linear-gradient(135deg,#5a7cff,#9b6bff);box-shadow:0 0 12px -2px #6b6cffaa}
.settings .switch.on:after{transform:translateX(20px)}
@media (max-width:359px){.settings .menu-row small{display:none}.settings .menu-row{min-height:52px}}
@media (min-width:800px){.settings{max-width:760px}}
/* ==========================================================================================
   Sell flow 2.0: a named stepper, every part of the form on its own tile, real lists instead of loose fields,
   a compact live preview on phones and a proper review screen before publishing.
   ========================================================================================== */
.sell-flow .sell-head{margin:0 0 18px}
.sell-flow .sell-head-top{display:flex;align-items:flex-start;gap:12px}
.sell-title{flex:1;min-width:0}
.sell-title small{display:block;margin:0 0 4px;color:var(--accent-text);font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.sell-flow .sell-title h1{font-family:var(--display);font-size:28px;line-height:1.12;font-weight:800;letter-spacing:-.03em}
.sell-flow .sell-close{width:38px;height:38px;border-radius:50%;background:var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.sell-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0 0;padding:0;list-style:none}
.sell-steps li{position:relative;padding-top:12px;min-width:0}
.sell-steps li:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;border-radius:2px;background:var(--surface-3)}
.sell-steps li.done:before,.sell-steps li.now:before{background:linear-gradient(90deg,#5a7cff,#9b6bff)}
.sell-steps li.now:before{box-shadow:0 0 12px -1px #6b6cffaa}
.sell-steps li>span,.sell-steps li>button{display:flex;align-items:center;gap:4px;min-width:0}
.sell-steps button{width:100%;padding:0;background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.sell-steps i{display:none;font-style:normal}
.sell-steps span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;font-weight:650;color:var(--muted)}
.sell-steps li.now span{color:var(--text);font-weight:800}
.sell-steps li.done span{color:var(--accent-text)}

/* tiles: every part of the form on its own card */
.sell-flow .sell-block{margin:0 0 14px;padding:16px;background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift)}
.sell-flow .sell-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.sell-flow .sell-block-head b{font-size:16.5px;font-weight:800;letter-spacing:-.01em}
.sell-flow .sell-block-head .text-link{height:auto;padding:0;border:0;background:none;color:var(--accent-text);font-size:13px;font-weight:700;backdrop-filter:none}
.sell-flow .sell-block .field{margin-bottom:14px}
.sell-flow .sell-block .form-grid .field{margin-bottom:0}
.sell-flow .sell-context{margin-bottom:14px;background:var(--tile);border-color:var(--tile-line);border-radius:20px;box-shadow:var(--lift)}
.sell-flow .sell-context .text-link{background:var(--accent-soft);border:0;color:var(--accent-text)}
.sell-flow select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a90a2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px}

/* step 1: search, popular games as an icon grid, the rest as grouped lists */
.sell-flow .sell-search{margin-bottom:6px}
.sell-top{margin:0}
.sell-top[hidden],.sell-sect[hidden]{display:none}
.sell-flow .sell-list-title{margin:20px 6px 10px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sell-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;padding:14px 10px;background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift)}
.sell-tile{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:0;background:none;border:0;color:var(--text);font-size:12px;font-weight:650;cursor:pointer}
.sell-tile .game-art{display:block;width:min(60px,100%);aspect-ratio:1;border-radius:17px;overflow:hidden;box-shadow:0 8px 18px -10px #000c,0 0 0 1px #ffffff14;transition:transform .15s}
.sell-tile .game-art img,.sell-row-icon img,.sell-row-icon .game-art,.mini-preview-art .game-art,.mini-preview-art img{display:block;width:100%;height:100%;object-fit:cover}
.sell-tile span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sell-tile:active .game-art{transform:scale(.94)}
.sell-tile.selected .game-art{outline:2px solid var(--accent);outline-offset:2px}
.sell-list{background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift);overflow:hidden}
.sell-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 14px;background:none;border:0;color:var(--text);text-align:left;cursor:pointer;content-visibility:auto;contain-intrinsic-size:auto 62px;transition:background-color .15s}
.sell-row[hidden]{display:none}
.sell-flow .sell-row,.sell-flow .sell-tile,.sell-flow .delivery-opt,.sell-flow .sell-template,.sell-flow .sell-category,.sell-flow .quality li button{margin:0}
.sell-row+.sell-row:before{content:'';position:absolute;top:0;left:68px;right:0;height:1px;background:var(--tile-line)}
.sell-row:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.sell-row.selected{background:var(--accent-soft)}
.sell-row-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.sell-row-icon.cat-art svg,.sell-row-icon.cat-art img{width:30px;height:30px;object-fit:contain}
.sell-row-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sell-row-text b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:650}
.sell-row-text small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:var(--muted)}
.sell-row>svg{width:18px;height:18px;flex-shrink:0;color:var(--muted);opacity:.7}
.sell-none{margin:16px 6px 0}

/* step 1b: what exactly is sold — one grouped list, like the games */
.sell-flow .sell-categories{display:flex;flex-direction:column;gap:0;padding:0;background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift);overflow:hidden}
.sell-flow .sell-category{position:relative;display:flex;flex-direction:row;align-items:center;gap:12px;min-height:66px;padding:11px 14px;border:0;border-radius:0;background:none;box-shadow:none;text-align:left}
.sell-flow .sell-category+.sell-category:before{content:'';position:absolute;top:0;left:70px;right:0;height:1px;background:var(--tile-line)}
.sell-flow .sell-category:hover{background:color-mix(in srgb,var(--accent) 6%,transparent);border-color:transparent}
.sell-flow .sell-category>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sell-flow .sell-category b{font-size:15px;font-weight:650;line-height:1.25}
.sell-flow .sell-category small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:var(--muted)}
.sell-flow .sell-category .category-icon{width:44px;height:44px;flex-shrink:0;border-radius:13px}
.sell-flow .sell-category .choice-dot{position:static;display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border-radius:50%;background:var(--accent);color:#fff}
.sell-flow .sell-category .choice-dot svg{width:13px;height:13px;stroke-width:3}
.sell-flow .sell-category:not(.selected):after{content:'';width:8px;height:8px;flex-shrink:0;margin-right:4px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:rotate(45deg);opacity:.6}
.sell-flow .sell-category.selected{background:var(--accent-soft);box-shadow:none}

/* step 2: title ideas, the description plan, delivery as option cards */
.sell-flow .title-ideas{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:-4px 0 14px}
.sell-flow .title-ideas .chip-btn{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 11px;border:0;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12.5px;font-weight:650}
.sell-flow .title-ideas .chip-btn svg{width:13px;height:13px}
.sell-template{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:1px dashed color-mix(in srgb,var(--accent) 40%,transparent);border-radius:16px;background:color-mix(in srgb,var(--accent) 5%,transparent);color:var(--text);text-align:left;cursor:pointer}
.sell-template>svg{width:34px;height:34px;flex-shrink:0;padding:8px;border-radius:11px;background:var(--accent-soft);color:var(--accent-text)}
.sell-template span{display:flex;flex-direction:column;gap:2px;min-width:0}
.sell-template b{font-size:14px;font-weight:700}
.sell-template small{font-size:12px;color:var(--muted)}
.delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.delivery-opt{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:54px;padding:10px 12px;border:1px solid var(--tile-line);border-radius:16px;background:var(--surface-2);color:var(--text);text-align:left;cursor:pointer;transition:border-color .15s,background-color .15s}
.delivery-opt.wide{grid-column:1/-1}
.delivery-ico{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:10px;color:#fff}
.delivery-ico svg{width:16px;height:16px;color:#fff}
.d-auto{background:linear-gradient(135deg,#ffcf4a,#ff8a1f)}
.d-time{background:linear-gradient(135deg,#3c8cff,#5a5cff)}
.d-deal{background:linear-gradient(135deg,#9b6bff,#c03cff)}
.delivery-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.delivery-text b{font-size:13.5px;font-weight:700;white-space:nowrap}
.delivery-text small{font-size:12px;line-height:1.3;color:var(--muted)}
.delivery-opt .choice-dot{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:var(--accent);color:#fff}
.delivery-opt .choice-dot svg{width:12px;height:12px;stroke-width:3}
.delivery-opt:not(.on) .choice-dot,.delivery-opt:not(.wide) .choice-dot{display:none}
.delivery-opt.on{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.sell-flow .sell-block>.note{margin:12px 2px 0}
@media (max-width:359px){.delivery-opt:not(.wide) .delivery-ico{display:none}.sell-flow .live-preview .sell-block-head small{display:none}.sell-tile{font-size:11px}.sell-flow .sell-title h1{font-size:24px}}

/* live preview: a catalog row on phones, the card itself beside the form on wide screens */
.sell-flow .live-preview .live-preview-card{display:none}
.mini-preview{display:flex;align-items:center;gap:12px}
.mini-preview-art{display:grid;place-items:center;width:68px;height:51px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.mini-preview-art .cat-art svg,.mini-preview-art .cat-art img{width:34px;height:34px}
.mini-preview-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.mini-preview-text b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14.5px;font-weight:650;line-height:1.3}
.mini-preview-text small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;color:var(--muted)}
.mini-preview .is-empty{color:var(--muted)}
.mini-preview-price{flex-shrink:0;font-family:var(--display);font-size:17px;font-weight:800;letter-spacing:-.03em;white-space:nowrap}
@media (min-width:1100px){.sell-flow .live-preview .live-preview-card{display:block;width:100%}.sell-flow .mini-preview{display:none}}

/* step 4: the listing as buyers will see it, what is missing, then publish */
.sell-flow .review-layout{display:grid;grid-template-columns:1fr;gap:0;align-items:start}
.review-hero{margin:0 0 14px;overflow:hidden;background:var(--tile);border:1px solid var(--tile-line);border-radius:24px;box-shadow:var(--lift)}
.review-cover{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:radial-gradient(120% 90% at 30% 10%,color-mix(in srgb,var(--accent) 22%,transparent),transparent 60%),var(--surface-2)}
.review-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.review-cover .delivery-chip{position:absolute;left:12px;bottom:12px}
.review-count{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 9px;border-radius:999px;background:#0009;color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.review-count svg{width:13px;height:13px}
.review-body{padding:14px 16px 16px}
.review-price{font-family:var(--display);font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.review-price span{color:var(--muted);font-size:20px}
.sell-flow .review-body h2{margin:6px 0 12px;font-size:16px;line-height:1.35;font-weight:600}
.review-seller{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-2)}
.sell-flow .sell-block.quality{border:1px solid var(--tile-line)}
.quality-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:-4px 0 12px}
.quality-bar i{height:6px;border-radius:3px;background:var(--surface-3)}
.quality-bar i.on{background:linear-gradient(90deg,#2fd08f,#14c4a4)}
.sell-flow .quality ul{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}
.sell-flow .quality li{display:flex;align-items:center;gap:10px;min-height:38px;font-size:14px;color:var(--text)}
.sell-flow .quality li.ok svg{width:20px;height:20px;flex-shrink:0;padding:3px;border-radius:50%;background:#2fd08f26;color:#2fd08f;stroke-width:3}
.sell-flow .quality li button{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:0;background:none;border:0;color:var(--text-2);font:inherit;text-align:left;cursor:pointer}
.sell-flow .quality li button svg{width:20px;height:20px;flex-shrink:0;padding:3px;border-radius:50%;background:var(--accent-soft);color:var(--accent-text);stroke-width:3}
.sell-flow .quality li button em{margin-left:auto;font-style:normal;font-size:12.5px;font-weight:700;color:var(--accent-text)}
.sell-flow .quality .note{margin:10px 0 0}
.review-facts>*:first-child{margin-top:0}
.review-facts>*:last-child{margin-bottom:0}
@media (min-width:720px){.sell-flow .review-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}}
/* ==========================================================================================
   Sell flow 3.0 — «Товар» is the product itself: a cover you fill with photos, the title in the display face,
   a big price, the description as content and a spec sheet like on the item page. «Выдача» — two big choices.
   ========================================================================================== */
.desk-only{display:none}
@media (min-width:1100px){.sell-flow .live-preview.desk-only{display:block}}

/* cover */
.pe-cover{position:relative;isolation:isolate;aspect-ratio:4/3;overflow:hidden;border-radius:26px;background:#141622;box-shadow:0 26px 50px -30px #000}
.pe-cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pe-backdrop{position:absolute;inset:-25%;z-index:-1;filter:blur(38px) saturate(1.6);opacity:.75;transform:scale(1.05)}
.pe-backdrop>*,.pe-backdrop img,.pe-backdrop svg{display:block;width:100%;height:100%;object-fit:cover}
.pe-cover:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0000 55%,#0007)}
.pe-cover.is-empty:after{background:radial-gradient(80% 70% at 50% 45%,#0000,#0006),linear-gradient(#0003,#0003)}
.pe-cover.is-empty:before{content:'';position:absolute;inset:12px;z-index:2;pointer-events:none;border:1.5px dashed #ffffff55;border-radius:18px}
.pe-empty{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;color:#fff;text-align:center;cursor:pointer}
.pe-empty-icon{display:grid;place-items:center;width:66px;height:66px;margin-bottom:6px;border-radius:22px;background:#ffffff26;border:1px solid #ffffff4d;box-shadow:0 14px 30px -12px #0009;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .15s}
.pe-empty-icon svg{width:30px;height:30px;color:#fff}
.pe-empty:active .pe-empty-icon{transform:scale(.94)}
.pe-empty b{font-size:18px;font-weight:800;letter-spacing:-.01em;text-shadow:0 2px 12px #0006}
.pe-empty small{max-width:260px;font-size:12.5px;line-height:1.4;opacity:.85}
.pe-badge,.pe-cover-add{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;background:#0c0d14a6;border:1px solid #ffffff26;color:#fff;font-size:12.5px;font-weight:700;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.pe-badge{top:12px;left:12px}
.pe-cover-add{right:12px;bottom:12px;cursor:pointer}
.pe-badge svg,.pe-cover-add svg{width:15px;height:15px;color:#fff}
.pe-thumbs{display:flex;gap:8px;margin:10px 0 0;padding:2px;overflow-x:auto;scrollbar-width:none}
.pe-thumbs::-webkit-scrollbar{display:none}
.pe-thumb{position:relative;flex:0 0 66px;height:66px;overflow:hidden;border-radius:16px;background:var(--surface-2)}
.pe-thumb img{width:100%;height:100%;object-fit:cover}
.pe-thumb.is-cover{box-shadow:0 0 0 2px var(--accent)}
.pe-thumb-label{position:absolute;left:0;right:0;bottom:0;padding:3px 0;background:#000a;color:#fff;font-size:9.5px;font-weight:800;text-align:center;letter-spacing:.02em}
.pe-thumb-x,.pe-thumb-cover{position:absolute;display:grid;place-items:center;width:22px;height:22px;margin:0;padding:0;border:0;border-radius:50%;background:#000b;color:#fff}
.pe-thumb-x{top:4px;right:4px}
.pe-thumb-cover{left:4px;bottom:4px}
.pe-thumb-x svg,.pe-thumb-cover svg{width:12px;height:12px;color:#fff}
.pe-thumb-add{display:grid;place-items:center;border:1.5px dashed var(--tile-line);background:none;color:var(--muted);cursor:pointer}
.pe-thumb-add svg{width:22px;height:22px}
.pe-status{margin:8px 4px 0;font-size:12.5px;color:var(--muted)}
.pe-status:empty{display:none}

/* the product sheet: tag, title, price */
.pe-sheet{margin:12px 0 0;padding:16px 16px 18px;background:var(--tile);border:1px solid var(--tile-line);border-radius:24px;box-shadow:var(--lift)}
.pe-tag{display:inline-flex;align-items:center;gap:8px;max-width:100%;height:34px;margin:0;padding:0 12px 0 4px;border-radius:999px;background:var(--surface-2);border:1px solid var(--tile-line);color:var(--text-2);font-size:12.5px;font-weight:700;cursor:pointer}
.pe-tag>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pe-tag-icon{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;overflow:hidden;border-radius:9px}
.pe-tag-icon>*,.pe-tag-icon img,.pe-tag-icon svg{display:block;width:100%;height:100%;object-fit:cover}
.pe-tag>svg{width:14px;height:14px;flex-shrink:0;color:var(--muted)}
.pe-title-wrap{display:block;margin:14px 0 0;padding:0 0 10px;border-bottom:1.5px solid var(--tile-line);transition:border-color .2s}
.pe-title-wrap:focus-within{border-color:var(--accent)}
.sell-flow textarea.pe-title{display:block;width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;outline:none;resize:none;overflow:hidden;font-family:var(--display);font-size:24px;font-weight:800;line-height:1.22;letter-spacing:-.025em;color:var(--text);field-sizing:content}
.sell-flow textarea.pe-title::placeholder{color:var(--muted);opacity:.55}
.pe-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:10px 0 0}
.pe-meta .counter{flex-shrink:0;margin-top:6px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.pe-ideas{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.pe-idea{height:30px;margin:0;padding:0 12px;border:0;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:12.5px;font-weight:650;cursor:pointer;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pe-label{display:block;margin:18px 0 2px;font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.pe-price-field{display:flex;align-items:baseline;gap:6px}
.sell-flow .pe-price-field input{width:7ch;min-width:1ch;max-width:100%;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;outline:none;font-family:var(--display);font-size:44px;font-weight:800;line-height:1.1;letter-spacing:-.04em;color:var(--text);-moz-appearance:textfield;appearance:textfield}
@supports (field-sizing:content){.sell-flow .pe-price-field input{width:auto;field-sizing:content}}
.sell-flow .pe-price-field input::placeholder{color:var(--muted);opacity:.45}
.pe-price-field input::-webkit-inner-spin-button,.pe-price-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pe-price-field i{font-family:var(--display);font-style:normal;font-size:30px;font-weight:800;color:var(--muted)}
.pe-sheet .price-market{margin:12px 0 0}

/* description and the spec sheet */
.pe-section{margin:12px 0 0;padding:16px;background:var(--tile);border:1px solid var(--tile-line);border-radius:22px;box-shadow:var(--lift)}
.pe-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 10px}
.pe-section-head h3{margin:0;font-size:16.5px;font-weight:800;letter-spacing:-.01em}
.pe-section-head small,.pe-section-head .counter{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.sell-flow textarea.pe-desc{display:block;width:100%;min-height:140px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;outline:none;resize:vertical;font-size:15px;line-height:1.6;color:var(--text)}
.sell-flow textarea.pe-desc::placeholder{color:var(--muted);opacity:.7}
.pe-template{display:inline-flex;align-items:center;gap:7px;height:34px;margin:12px 0 0;padding:0 14px;border:1px dashed color-mix(in srgb,var(--accent) 45%,transparent);border-radius:999px;background:color-mix(in srgb,var(--accent) 7%,transparent);color:var(--accent-text);font-size:13px;font-weight:700;cursor:pointer}
.pe-template svg{width:15px;height:15px}
.pe-specs{margin:0 -16px -16px}
.pe-spec{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;margin:0;padding:6px 16px;border-top:1px solid var(--tile-line);cursor:text}
.pe-spec>span{flex-shrink:0;font-size:14px;color:var(--muted);transition:color .15s}
.pe-spec:focus-within>span{color:var(--accent-text)}
.sell-flow .pe-spec input,.sell-flow .pe-spec select{flex:1;min-width:0;width:auto;height:40px;margin:0;padding:0;border:0;border-radius:0;background-color:transparent;box-shadow:none;outline:none;font-size:15px;font-weight:650;color:var(--text);text-align:right;text-align-last:right}
.sell-flow .pe-spec select{padding-right:26px;background-position:right 0 center;cursor:pointer}
.sell-flow .pe-spec input::placeholder{color:var(--muted);opacity:.6;font-weight:500}
.pe-spec input::-webkit-inner-spin-button{-webkit-appearance:none}

/* «Выдача»: two big choices, then the time and the stock */
.dv-modes{display:grid;gap:10px;margin:0 0 14px}
.dv-mode{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 26px;grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;margin:0;padding:16px;border:1px solid var(--tile-line);border-radius:22px;background:var(--tile);box-shadow:var(--lift);color:var(--text);text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .2s}
.dv-ico{grid-row:1/3;display:grid;place-items:center;width:46px;height:46px;border-radius:15px;color:#fff;box-shadow:inset 0 1px 0 #ffffff40,0 10px 20px -12px #000}
.dv-ico svg{width:22px;height:22px;color:#fff}
.dv-mode b{grid-column:2;font-size:16px;font-weight:800;letter-spacing:-.01em}
.dv-mode small{grid-column:2;font-size:12.5px;line-height:1.35;color:var(--muted)}
.dv-check{grid-column:3;grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--tile-line);color:transparent}
.dv-check svg{width:14px;height:14px;stroke-width:3}
.dv-mode.on{border-color:var(--accent);background:linear-gradient(var(--accent-soft),var(--accent-soft)),var(--tile);box-shadow:inset 0 0 0 1px var(--accent),0 18px 36px -20px #6b6cffaa}
.dv-mode.on .dv-check{border-color:transparent;background:var(--accent);color:#fff}
.dv-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dv-time{height:48px;margin:0;padding:0 6px;border:1px solid var(--tile-line);border-radius:15px;background:var(--surface-2);color:var(--text);font-size:14px;font-weight:700;cursor:pointer;transition:background-color .15s,color .15s}
.dv-time.wide{grid-column:span 2}
.dv-time.on{border-color:transparent;background:linear-gradient(135deg,#5a7cff,#9b6bff);color:#fff;box-shadow:0 10px 22px -12px #6b6cffcc}
.dv-stock .stock-row{margin:0;padding:0;border:0}
@media (max-width:359px){.sell-flow textarea.pe-title{font-size:21px}.sell-flow .pe-price-field input{font-size:38px}.dv-time{font-size:13px}}
@media (min-width:1100px){.pe-cover{aspect-ratio:16/10}}

/* Native select popups: options follow the theme (white text on a white list was unreadable in dark) */
select option,select optgroup{background-color:var(--surface);color:var(--text)}
@media (max-width:799px){.cat-toolbar{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}} /* a soft edge says the filter row scrolls */

/* ===================== Design 3: calmer type, crisper controls =====================
   Headings and prices move from the wide display face to Inter with tight tracking (the way large stores and
   Telegram itself set type); the display face stays where it is the brand: logo, splash, banners. */
:root{--head:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif}
body{letter-spacing:-.006em}
.section-heading h1,.catalog-h1,.section-row h2,.home-section h2,.seller-hero h1,.profile-id h1,.legal-page h1,.game-hero h1,.gx-title,.item-title,.co h3,.modal-head h2,.wallet h1{font-family:var(--head);font-weight:800;letter-spacing:-.028em}
.section-heading h1,.catalog-h1,.gx-title,.legal-page h1{font-size:30px;line-height:34px}
.section-row h2,.home-section h2{font-size:21px;line-height:26px;gap:8px}
.home-section>.section-row h2:before{display:none}
.modal-head h2{font-size:19px;letter-spacing:-.02em}
.item-title{font-size:23px;line-height:28px}
@media (min-width:800px){.section-heading h1,.catalog-h1,.gx-title{font-size:34px;line-height:40px}.section-row h2,.home-section h2{font-size:23px;line-height:28px}.item-title{font-size:28px;line-height:34px}}
/* «Все →» is a quiet link, not a second button next to the heading */
.section-row .text-link{height:auto;padding:6px 0 6px 8px;background:none;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--accent-text);font-size:14px;font-weight:650}
.section-row .text-link:hover{color:var(--text)}
.section-row .text-link svg{width:16px;height:16px;transition:transform .15s ease}
.section-row .text-link:hover svg{transform:translateX(2px)}
/* prices: the same grotesk, heavy and with even digits, so columns of prices line up */
.price,.item-price,.vx-card .price,.buybar-price b,.co-total b,.co-sum b,.wallet-sum,.lg-sum,.order-sum,.po-sum dd,.deal-no,.pw-amount b,.ws-text b,.co-pay b{font-family:var(--head);font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.vx-card .price{font-size:18px;font-weight:800}
.item-price{font-weight:850}
/* controls: one focus ring for keyboard users, a firm press everywhere */
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 70%,#fff);outline-offset:2px;border-radius:12px}
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){transition:border-color .15s,box-shadow .15s}
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):focus{border-color:color-mix(in srgb,var(--accent) 70%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 16%,transparent)}
.primary,.secondary,.danger{font-weight:700;letter-spacing:-.012em}
.primary:disabled,.secondary:disabled{opacity:.45;box-shadow:none;filter:saturate(.6)}
/* icons: one stroke weight, slightly bolder at small sizes so they don't look thin next to bold text */
svg[stroke="currentColor"]{stroke-width:1.9}
.chip svg,.tab svg,.tb-btn svg,.quick-chip svg,.text-link svg,small svg{stroke-width:2.1}
/* the bottom bar: labels a touch smaller, the active tab clearly lit */
.mobile-tab span,.mobile-tab small{letter-spacing:-.01em}
/* empty states and notes read as text, not as grey filler */
.note,.empty p{color:var(--text-2)}
/* the rest of the headings and every price: Inter instead of the wide display face (kept for logo, banners, onboarding) */
.ac-title,.buybar-price b,.co-pay b,.co-total b,.codes-stats b,.empty h3,.gr-more,.ip-price b,.ip-title,.mini-preview-price,.offer-card b,.pe-price-field i,.price,.price-input i,.price-input input,.pw-amount b,.qb-price,.rating-big b,.review-price,.seller-stats b,.support-hello b,.tb-rub,.topup-input input,.vx-card .price,.wallet-sum,.ws-text b,.sell-flow .pe-price-field input,.sell-flow .sell-title h1,.sell-flow textarea.pe-title,.sell-head h1,.game-all .game-art b{font-family:var(--head);letter-spacing:-.03em}
.ip-title{font-size:24px;line-height:1.18;font-weight:800}
.ip-price b{font-size:32px;font-weight:850;font-variant-numeric:tabular-nums;background:none;-webkit-text-fill-color:currentColor;color:var(--text)}
.wallet-sum{font-weight:850}
.sell-flow textarea.pe-title{font-weight:800}
@media (min-width:800px){.ip-title{font-size:30px}.ip-price b{font-size:38px}}
/* the cover's category line stops before the «в избранное» heart in the corner */
.vx-card .art-cover .ac-head{padding-right:min(30cqw,44px)}
