@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/store/fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/store/fonts/inter-latin-400-normal.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}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/store/fonts/inter-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/store/fonts/inter-latin-500-normal.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}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/store/fonts/inter-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/store/fonts/inter-latin-600-normal.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}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/store/fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/store/fonts/inter-latin-700-normal.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}
:root{
  --bg:#07080d;--bg2:#0d1019;--surface:#121624;--surface2:#1a2033;--line:rgba(255,255,255,.07);
  --text:#eef1f8;--muted:#8a93a8;--accent:#7c5cff;--accent2:#22d3ee;--grad:linear-gradient(135deg,#7c5cff 0%,#5b8cff 50%,#22d3ee 100%);
  --ok:#22c55e;--warn:#f5a524;--sale:#ff4d6d;--radius:18px;--r-sm:12px;--shadow:0 10px 30px rgba(0,0,0,.35);
  --header-h:60px;--nav-h:64px;--safe-b:env(safe-area-inset-bottom,0px);
}
:root.light{--bg:#f4f6fb;--bg2:#eef1f8;--surface:#fff;--surface2:#f1f3f9;--line:rgba(15,23,42,.08);--text:#0f172a;--muted:#64748b;--shadow:0 8px 24px rgba(15,23,42,.08)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text)}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased;min-height:100vh;overscroll-behavior-y:none}
input,button,select,textarea,code,pre,kbd{font-family:'Inter',system-ui,sans-serif;font-size:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:0;background:none;color:inherit}
img{display:block;max-width:100%}
.hidden{display:none!important}
.muted{color:var(--muted)}
.nw{white-space:nowrap}
.tnum{font-variant-numeric:tabular-nums}

/* Header */
.hdr{position:sticky;top:0;z-index:20;height:var(--header-h);display:flex;align-items:center;gap:12px;padding:0 16px;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(16px);-webkit-backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid var(--line)}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:.04em;font-size:16px;white-space:nowrap}
.logo .mark{width:32px;height:32px;border-radius:10px;background:var(--grad);display:grid;place-items:center;color:#fff;font-size:14px;font-weight:800;box-shadow:0 6px 18px rgba(124,92,255,.45)}
.logo .mark::after{content:'';}
.hdr .search{flex:1;max-width:560px;position:relative;display:none}
.search input{width:100%;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:0 14px 0 40px;outline:none;transition:border-color .15s,box-shadow .15s}
.search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(124,92,255,.18)}
.search .ico{position:absolute;left:13px;top:50%;transform:translateY(-50%);opacity:.55;pointer-events:none}
.hdr .links{display:none;gap:4px}
.hdr .links a{padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:600;font-size:14px}
.hdr .links a.active,.hdr .links a:hover{color:var(--text);background:var(--surface)}
.hdr .right{margin-left:auto;display:flex;align-items:center;gap:8px}
.icon-btn{position:relative;width:42px;height:42px;border-radius:12px;background:var(--surface);display:grid;place-items:center;font-size:18px;border:1px solid var(--line)}
.icon-btn .dot{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--sale);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.chip-bal{height:42px;padding:0 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;gap:6px;font-weight:700;font-size:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 18px;border-radius:14px;font-weight:700;font-size:15px;transition:transform .08s ease,filter .15s,background .15s;user-select:none;white-space:nowrap}
.btn:active{transform:scale(.97)}
.btn.primary{background:var(--grad);color:#fff;box-shadow:0 8px 22px rgba(124,92,255,.35)}
.btn.primary:hover{filter:brightness(1.07)}
.btn.ghost{background:var(--surface2);color:var(--text);border:1px solid var(--line)}
.btn.sm{height:36px;padding:0 13px;font-size:13.5px;border-radius:11px}
.btn.block{width:100%}
.btn[disabled]{opacity:.5;pointer-events:none}

/* Layout */
main{padding:16px 16px calc(var(--nav-h) + var(--safe-b) + 24px);max-width:1240px;margin:0 auto}
.section{margin:26px 0 0}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.sec-head h2{font-size:19px;margin:0;font-weight:800;letter-spacing:-.01em}
.sec-head a{color:var(--accent2);font-weight:600;font-size:14px}
h1{font-size:24px;margin:4px 0 14px;font-weight:800;letter-spacing:-.02em}

/* Hero */
.hero{position:relative;border-radius:22px;overflow:hidden}
.hero-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px}
.hero-track::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:start;min-height:190px;border-radius:22px;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;background-size:cover;background-position:center;isolation:isolate}
.slide::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--slide-bg)}
.slide::after{content:'';position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(2px);z-index:-1}
.slide.has-img::before{background:linear-gradient(90deg,rgba(5,6,12,.88) 0%,rgba(5,6,12,.55) 55%,rgba(5,6,12,.1) 100%)}
.slide .kicker{display:inline-flex;align-self:flex-start;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;margin-bottom:10px}
.slide h3{margin:0;color:#fff;font-size:24px;line-height:1.15;font-weight:800;letter-spacing:-.02em;max-width:520px}
.slide p{margin:8px 0 14px;color:rgba(255,255,255,.85);max-width:480px}
.slide .btn{align-self:flex-start;background:#fff;color:#0b0d14;box-shadow:none;height:42px}
.th-violet{--slide-bg:linear-gradient(120deg,#5b3df5 0%,#9b5cff 55%,#d06bff 100%)}
.th-blue{--slide-bg:linear-gradient(120deg,#1e40af 0%,#2563eb 50%,#22d3ee 100%)}
.th-green{--slide-bg:linear-gradient(120deg,#065f46 0%,#059669 50%,#a3e635 100%)}
.th-orange{--slide-bg:linear-gradient(120deg,#9a3412 0%,#ea580c 50%,#fbbf24 100%)}
.th-pink{--slide-bg:linear-gradient(120deg,#9d174d 0%,#e11d48 50%,#fb7185 100%)}
.dots{display:flex;gap:6px;justify-content:center;margin-top:10px}
.dots i{width:7px;height:7px;border-radius:99px;background:var(--surface2);transition:all .2s}
.dots i.on{width:22px;background:var(--accent)}

.trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px}
.trust div{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center}
.trust b{display:block;font-size:13.5px}.trust small{color:var(--muted);font-size:12px}
.trust .e{font-size:20px}

.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;height:38px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--text)}
.chip.on{background:var(--text);color:var(--bg);border-color:transparent}
.chip small{color:var(--muted);font-weight:600}
.chip.on small{color:inherit;opacity:.6}

.plats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.plat{border-radius:16px;padding:14px 12px;min-height:84px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;font-weight:800;background:var(--pbg,var(--grad));position:relative;overflow:hidden}
.plat small{font-weight:600;opacity:.8;font-size:12px}
.plat::after{content:'';position:absolute;right:-18px;bottom:-18px;width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.14)}

/* Product cards */
.row{display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px}
.row::-webkit-scrollbar{display:none}
.row > *{scroll-snap-align:start}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s ease,border-color .15s}
.card:hover{transform:translateY(-2px);border-color:rgba(124,92,255,.45)}
.cover{position:relative;aspect-ratio:4/5;background:var(--surface2);overflow:hidden}
.cover img{width:100%;height:100%;object-fit:cover}
.ph{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:12px;color:#fff;background:var(--pbg,var(--grad));isolation:isolate}
.ph::before{content:'';position:absolute;inset:0;background:radial-gradient(120% 80% at 100% 0%,rgba(255,255,255,.25),transparent 60%);z-index:-1}
.ph .pl{font-size:11px;font-weight:800;letter-spacing:.1em;opacity:.9}
.ph .nm{font-size:17px;font-weight:800;line-height:1.15;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.ph .big{position:absolute;right:-6px;bottom:-22px;font-size:92px;font-weight:900;opacity:.14;letter-spacing:-.05em;z-index:-1}
.tags{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.tag{font-size:11.5px;font-weight:800;padding:4px 8px;border-radius:8px;background:rgba(7,8,13,.72);color:#fff;backdrop-filter:blur(6px)}
.tag.sale{background:var(--sale)}.tag.hot{background:var(--warn);color:#1a1200}
.dlv{position:absolute;bottom:8px;left:8px;font-size:11.5px;font-weight:700;padding:4px 8px;border-radius:8px;background:rgba(7,8,13,.72);color:#fff;backdrop-filter:blur(6px)}
.dlv.manual{color:#ffd58a}
.card .body{padding:11px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.card .title{font-weight:650;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}
.card .meta{font-size:12px;color:var(--muted)}
.price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:auto}
.price b{font-size:17px;font-weight:800;letter-spacing:-.01em}
.price s{color:var(--muted);font-size:13px}
.card .add{margin-top:6px;height:38px;border-radius:11px;background:var(--surface2);font-weight:700;font-size:13.5px;border:1px solid var(--line)}
.card .add:hover{background:var(--accent);color:#fff}
.card.oos{opacity:.55}

/* Filters */
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.select{height:40px;border-radius:12px;background:var(--surface);color:var(--text);border:1px solid var(--line);padding:0 12px;outline:none}
.toggle{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:14px;font-weight:600}
.toggle input{accent-color:var(--accent);width:16px;height:16px}

/* Product page */
.pd{display:grid;gap:18px}
.pd .cover{border-radius:22px;aspect-ratio:16/11}
.pd .ph .nm{font-size:26px;-webkit-line-clamp:3}
.pd h1{font-size:23px;margin:0}
.badges{display:flex;gap:6px;flex-wrap:wrap}
.badge{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:9px;background:var(--surface2);border:1px solid var(--line);font-size:12.5px;font-weight:700}
.badge.ok{color:var(--ok)}.badge.warn{color:var(--warn)}.badge.bad{color:var(--sale)}.badge.acc{color:var(--accent2)}
.buybox{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px;display:grid;gap:14px}
.buybox .price b{font-size:28px}
.buybox .price .off{background:var(--sale);color:#fff;font-weight:800;font-size:12.5px;padding:3px 8px;border-radius:8px}
.stepper{display:inline-flex;align-items:center;background:var(--surface2);border-radius:12px;border:1px solid var(--line);height:44px}
.stepper button{width:44px;height:44px;font-size:20px;font-weight:700}
.stepper span{min-width:34px;text-align:center;font-weight:800}
.stepper.sm{height:34px}.stepper.sm button{width:34px;height:34px;font-size:16px}
.qty-row{display:flex;align-items:center;justify-content:space-between}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.info{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:4px 16px}
.info div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.info div:last-child{border-bottom:0}
.info span:first-child{color:var(--muted)}
.info span:last-child{text-align:right;font-weight:600}
.desc{color:var(--muted);white-space:pre-line;font-size:14.5px}
.sticky-buy{position:fixed;left:0;right:0;bottom:calc(var(--nav-h) + var(--safe-b));z-index:15;padding:10px 16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;gap:10px;align-items:center}
.sticky-buy .p{flex:1}.sticky-buy .p b{font-size:19px;display:block}.sticky-buy .p s{color:var(--muted);font-size:12.5px}

/* Cart & checkout */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px}
.line{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.line:last-child{border-bottom:0}
.thumb{width:64px;height:64px;border-radius:14px;overflow:hidden;position:relative;background:var(--surface2)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb .ph{padding:6px}.thumb .ph .nm{font-size:10px;-webkit-line-clamp:3}.thumb .ph .pl{font-size:8px}.thumb .ph .big{font-size:40px;bottom:-10px}
.line .nm{font-weight:650;font-size:14px;line-height:1.3}
.line .sub{font-size:12.5px;color:var(--muted);margin-top:2px}
.line .r{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.line .x{font-size:12.5px;color:var(--muted);text-decoration:underline}
.sum{display:grid;gap:10px;margin-top:14px}
.sum div{display:flex;justify-content:space-between}
.sum .tot{font-size:19px;font-weight:800;padding-top:10px;border-top:1px solid var(--line)}
.methods{display:grid;gap:10px}
.method{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:13px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);text-align:left;width:100%}
.method .e{width:44px;height:44px;border-radius:12px;background:var(--surface2);display:grid;place-items:center;font-size:21px}
.method b{display:block;font-size:15px}.method small{color:var(--muted);font-size:12.5px}
.method .radio{width:22px;height:22px;border-radius:50%;border:2px solid var(--muted)}
.method.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
.method.on .radio{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 45%,transparent 50%)}
.method[disabled]{opacity:.45}
.note{font-size:12.5px;color:var(--muted);text-align:center;margin:10px 0 0}
.empty{text-align:center;padding:48px 20px}
.empty .e{font-size:54px;margin-bottom:8px}
.empty h3{margin:0 0 6px;font-size:19px}

/* Orders */
.order{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:12px;display:grid;gap:10px;margin-bottom:10px}
.order .top{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}
.order .thumb{width:52px;height:52px;border-radius:12px}
.key{display:flex;gap:8px;align-items:center;background:var(--surface2);border:1px dashed rgba(124,92,255,.5);border-radius:12px;padding:10px 12px}
.key code{flex:1;font-weight:700;letter-spacing:.06em;word-break:break-all;font-size:14.5px}
.key img{max-height:140px;border-radius:8px}

/* Profile */
.balcard{border-radius:22px;padding:20px;background:var(--grad);color:#fff;position:relative;overflow:hidden}
.balcard::after{content:'';position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.15)}
.balcard small{opacity:.85;font-weight:600}
.balcard .v{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-top:4px}
.user{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.ava{width:52px;height:52px;border-radius:16px;background:var(--surface2);display:grid;place-items:center;font-size:20px;font-weight:800}
.amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.amounts button{height:44px;border-radius:12px;background:var(--surface2);border:1.5px solid var(--line);font-weight:800}
.amounts button.on{border-color:var(--accent);color:var(--accent2)}
.input{width:100%;height:46px;border-radius:12px;background:var(--surface2);border:1px solid var(--line);color:var(--text);padding:0 14px;outline:none}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stats div{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px}
.stats b{display:block;font-size:20px}
details.faq{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:13px 15px;margin-bottom:8px}
details.faq summary{font-weight:700;cursor:pointer;list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq p{color:var(--muted);margin:8px 0 0}

/* Bottom nav */
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:20;height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line)}
.bnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:600;color:var(--muted);position:relative}
.bnav a .i{font-size:20px;filter:grayscale(1);opacity:.75}
.bnav a.active{color:var(--text)}
.bnav a.active .i{filter:none;opacity:1}
.bnav a .dot{position:absolute;top:7px;left:calc(50% + 6px);min-width:17px;height:17px;border-radius:99px;background:var(--sale);color:#fff;font-size:10.5px;font-weight:800;display:grid;place-items:center;padding:0 4px}

.toast{position:fixed;left:50%;bottom:calc(var(--nav-h) + var(--safe-b) + 16px);transform:translate(-50%,20px);opacity:0;background:var(--text);color:var(--bg);padding:11px 16px;border-radius:12px;font-weight:700;font-size:14px;z-index:40;transition:all .22s cubic-bezier(.2,.9,.3,1.2);pointer-events:none;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
.demo{background:rgba(245,165,36,.12);color:var(--warn);text-align:center;font-size:12px;font-weight:700;padding:5px}
.skel{background:linear-gradient(90deg,var(--surface) 0%,var(--surface2) 50%,var(--surface) 100%);background-size:200% 100%;animation:sk 1.2s infinite;border-radius:var(--radius)}
@keyframes sk{to{background-position:-200% 0}}
.login-box{max-width:440px;margin:30px auto;text-align:center}
.login-box .logo{justify-content:center;font-size:20px;margin-bottom:12px}
#tg-login{display:flex;justify-content:center;margin:18px 0}
.stack{display:grid;gap:12px}
.spinner{width:42px;height:42px;border-radius:50%;border:4px solid var(--surface2);border-top-color:var(--accent);animation:sp 0.9s linear infinite;margin:10px auto}
@keyframes sp{to{transform:rotate(360deg)}}
.footer{color:var(--muted);font-size:12.5px;text-align:center;padding:30px 0 10px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Desktop */
@media (min-width:900px){
  :root{--nav-h:0px}
  .bnav,.sticky-buy{display:none}
  .hdr{padding:0 28px;height:70px}
  .hdr .search{display:block}
  .hdr .links{display:flex}
  main{padding:24px 28px 40px}
  .slide{min-height:320px;padding:42px}
  .slide h3{font-size:40px}
  .slide p{font-size:17px}
  .hero-track{gap:16px}
  .trust{grid-template-columns:repeat(4,1fr)}
  .plats{grid-template-columns:repeat(6,1fr)}
  .row{grid-auto-flow:row;grid-template-columns:repeat(5,1fr);grid-auto-columns:auto;overflow:visible;margin:0;padding:0}
  .row > *:nth-child(n+6){display:none}
  .grid{grid-template-columns:repeat(4,1fr);gap:16px}
  .pd{grid-template-columns:1.15fr 1fr;align-items:start}
  .pd .cover{aspect-ratio:4/3}
  .two{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:start}
  .toast{bottom:24px}
  .only-mobile{display:none!important}
}
@media (min-width:1200px){.grid{grid-template-columns:repeat(5,1fr)}}
@media (max-width:899px){.only-desktop{display:none!important}}
/* Platform rəngləri (inline style CSP-yə görə qadağandır — siniflər) */
.pl-steam{--pbg:linear-gradient(140deg,#0b2a4a 0%,#1b5c8f 55%,#66c0f4 100%)}
.pl-psn{--pbg:linear-gradient(140deg,#00205b 0%,#0050d8 60%,#3d8bff 100%)}
.pl-xbox{--pbg:linear-gradient(140deg,#0b3d0b 0%,#107c10 60%,#5dc21e 100%)}
.pl-rockstar{--pbg:linear-gradient(140deg,#3a1300 0%,#c2410c 55%,#fcaf17 100%)}
.pl-riot{--pbg:linear-gradient(140deg,#3b0a10 0%,#d13639 60%,#ff6b6b 100%)}
.pl-netflix{--pbg:linear-gradient(140deg,#140303 0%,#8b0b10 55%,#e50914 100%)}
.pl-nintendo{--pbg:linear-gradient(140deg,#5a0000 0%,#e60012 60%,#ff5a5a 100%)}
.pl-epic{--pbg:linear-gradient(140deg,#0d0d0d 0%,#2a2a2a 60%,#5a5a5a 100%)}
.pl-pubg{--pbg:linear-gradient(140deg,#2b1d00 0%,#a16207 55%,#facc15 100%)}
.pv-0{--pbg:linear-gradient(140deg,#2e1065 0%,#6d28d9 55%,#a78bfa 100%)}
.pv-1{--pbg:linear-gradient(140deg,#083344 0%,#0e7490 55%,#22d3ee 100%)}
.pv-2{--pbg:linear-gradient(140deg,#4a044e 0%,#a21caf 55%,#f0abfc 100%)}
.pv-3{--pbg:linear-gradient(140deg,#052e16 0%,#15803d 55%,#4ade80 100%)}
.pv-4{--pbg:linear-gradient(140deg,#431407 0%,#c2410c 55%,#fb923c 100%)}
.pv-5{--pbg:linear-gradient(140deg,#172554 0%,#1d4ed8 55%,#60a5fa 100%)}
.slide > img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
/* Placeholder düzülüşü: nişanlar solda, platforma sağda, ad çatdırılma nişanının üstündə */
.ph{padding:12px 12px 42px}
.ph .pl{align-self:flex-end;text-align:right;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph .nm{font-size:16px;-webkit-line-clamp:3}
.pd .ph{padding:20px}
.thumb .ph{padding:6px}.thumb .ph .pl{align-self:flex-start;max-width:100%}
.sticky-buy{transform:translateY(130%);opacity:0;transition:transform .25s ease,opacity .2s ease;pointer-events:none}
.sticky-buy.show{transform:none;opacity:1;pointer-events:auto}
.thumb .ph .nm,.thumb .ph .pl{display:none}
.thumb .ph{align-items:center;justify-content:center}
.thumb .ph .big{position:static;opacity:.9;font-size:20px;letter-spacing:0}
