:root{color-scheme:dark;--bg:#080c14;--panel:#101622;--text:#f4f5f6;--muted:#aeb8c8;--blue:#2f7bff;--red:#ff2d3a;--line:#ffffff23;font:100% system-ui,"Segoe UI",sans-serif;color:var(--text)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg)}
body.in-game{background:transparent}
body.in-game:has(.store:not([hidden])){background:#060913bd}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.55}
:focus-visible{outline:2px solid #80b3ff;outline-offset:3px}
.store{width:min(1220px,100%);margin-inline:auto}
.in-game .store{max-height:92vh;overflow:auto;margin:4vh auto;width:min(1220px,94vw);border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.store-header{display:flex;align-items:center;gap:1rem;min-height:70px;padding:.7rem clamp(1rem,4vw,2.5rem);border-bottom:1px solid var(--line);background:#0c111c}
.brand{display:inline-flex;align-items:center;gap:.65rem;margin-right:auto;font-weight:950;font-style:italic;letter-spacing:-.05em}
.brand img{border-radius:6px}
.brand b{color:var(--red)}
.points{display:grid;gap:.1rem;text-align:right}
.points span{font-size:.875rem;color:var(--muted)}
.points strong{font-variant-numeric:tabular-nums}
.cover{min-height:310px;display:grid;align-items:center;background:linear-gradient(90deg,#070b14ed,#070b1460 85%),linear-gradient(0deg,var(--bg),transparent 55%),url('premium-media/city.webp') center 59%/cover}
.cover-text{padding:2rem clamp(1rem,5vw,3rem)}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(3rem,8vw,6.5rem);font-weight:950;line-height:.86;letter-spacing:-.08em;text-transform:uppercase}
h1 em{font-style:normal;color:#b8d3ff}
.cover p{max-width:30rem;line-height:1.5;margin-top:1.2rem;color:#d7dfec}
.cover code{color:#b8d3ff}
.catalog,.orders{padding:1rem clamp(1rem,5vw,3rem) 2.5rem}
.filter,.actions{display:flex;flex-wrap:wrap;gap:.55rem}
.filter{margin-bottom:1rem}
.button{min-height:44px;padding:.55rem .85rem;border:1px solid transparent;border-radius:7px;font-weight:750}
.secondary{background:#111a2a;border-color:#ffffff38}
.secondary:hover,.filter [aria-pressed="true"]{background:#223657;border-color:#4d80ca}
.primary{background:#2062d9;border-color:#528dfe;color:#fff}
.primary:hover:not(:disabled){background:#174fae}
.items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
.product{--accent:#83b4ff;display:grid;grid-template-rows:auto 1fr auto;gap:.65rem;border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:9px;background:var(--panel);overflow:hidden}
.product[data-category="legendary"]{--accent:#ffcd77}
.product[data-category="exotic"]{--accent:#f594e7}
.product[data-category="editions"]{--accent:#ff8790}
.product[data-category="bundles"]{--accent:#82d8c5}
.product-art{display:grid;place-items:center;min-height:120px;background:radial-gradient(ellipse at center,#23304c,#101622 72%)}
.product-art img{width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 10px 15px #0009)}
.product-art.vehicle{background:linear-gradient(0deg,#101622,transparent),url('premium-media/city.webp') 75% 68%/cover}
.product-info,.product-footer{margin-inline:1rem}
.product-info h2{font-size:1.2rem;letter-spacing:-.02em;margin:.35rem 0}
.product-info p,.orders li span{color:var(--muted);line-height:1.45}
.category{font-size:.875rem;color:var(--accent);font-weight:750}
.product-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.45rem;margin-bottom:1rem}
.price{font-weight:800}
.feedback{padding:.75rem 1rem;margin-bottom:1rem;background:#132541;border:1px solid #315587;border-radius:7px}
.feedback.error{color:#ffadb3;border-color:#663b4b;background:#2c1820}
.orders h2{font-size:1.5rem;margin-bottom:.65rem}
.orders ul{list-style:none;margin:0;padding:0}
.orders li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem;padding:.65rem 0;border-bottom:1px solid var(--line)}
dialog{width:min(450px,calc(100% - 1.5rem));color:var(--text);background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:10px;padding:1.25rem}
dialog::backdrop{background:#050810bb}
dialog p{line-height:1.5;margin:.7rem 0 1rem}
dialog .actions{justify-content:flex-end}
kbd{font:inherit;font-size:.78rem;color:var(--muted);margin-left:.3rem}
@media(max-width:830px){.items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.items{grid-template-columns:1fr}.cover{min-height:270px}.store-header{gap:.5rem}.store-header kbd{display:none}}
