/* Catalogue composition for the new neutral glass system. */
:root { --arrival-drive:cubic-bezier(.77,0,.175,1); }
.market-shell { isolation:isolate; background:#050507; }
.market-shell .app { display:block; width:100%; max-width:none; min-height:100dvh; margin:0; border:0; border-radius:0; background:transparent; overflow:visible; box-shadow:none; }
.market-shell .main { width:100%; max-width:none; margin:0; padding:0 clamp(24px,3.2vw,56px) 28px; }
.market-shell .rail { display:none; }
.market-shell .locale-tools { height:96px; margin:0; padding:0; gap:14px; border:0; }
.market-shell .store-wordmark { display:flex; align-items:center; margin-right:42px; font-size:28px; letter-spacing:-.065em; }
.market-shell .store-wordmark::before { content:""; width:21px; height:23px; margin-right:11px; border-radius:6px; transform:rotate(-12deg); background:linear-gradient(135deg,#f5f5fa66,#acacba16 70%); }
.market-shell .market-topnav { display:flex; align-items:center; gap:30px; margin-right:auto; font-size:14px; color:var(--dim); }
.market-topnav a { display:flex; min-height:44px; align-items:center; position:relative; }
.market-topnav a.on,.market-topnav a:hover { color:var(--ink); }
.market-topnav a.on::after { content:""; height:3px; width:16px; border-radius:3px; position:absolute; bottom:1px; left:0; background:var(--text); }
.market-shell .locale-tools .currency-picker { width:108px; }
.market-shell .locale-tools > .pillsel { background:transparent; }
.market-shell .currency-selected-name { display:none; }
.market-shell .currency-trigger { background:transparent; border-color:var(--separator); }
.market-shell .language-picker { background:transparent; border:0; gap:0; }
.market-shell .language-picker button { min-height:44px; min-width:34px; padding:5px; color:var(--dim); }
.market-shell .language-picker button[aria-pressed="true"] { color:var(--ink); background:var(--control-selected); }
.header-cart { width:44px; height:44px; display:flex; align-items:center; justify-content:center; gap:4px; position:relative; }
.header-cart>span { position:absolute; top:-1px; right:-2px; background:var(--text); color:var(--surface); font-size:10px; min-width:17px; text-align:center; border-radius:9px; }
.header-cart svg,.hero-foot svg,.market-toolbar svg,.sidebar-help svg,.market-card svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.header-profile { display:grid; place-items:center; min-height:44px; padding:0 18px; border:0; border-radius:10px; font-size:13px; }
.market-shell .hero { display:block; }
/* Clean deep obsidian background with subtle masked micro-dot matrix (no diagonal glare). */
.market-shell::before {
  content:""; position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:linear-gradient(180deg, #07070a 0%, #050507 54%, #030305 100%);
}
.market-shell::after {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / .095) 1px, transparent 1.15px),
    radial-gradient(ellipse 86% 84% at 50% 42%, transparent 48%, rgb(2 2 4 / .72) 100%);
  background-size:32px 32px, 100% 100%;
  -webkit-mask-image:radial-gradient(ellipse 88% 72% at 50% 24%, #000 0%, rgb(0 0 0 / .62) 55%, rgb(0 0 0 / .24) 100%);
  mask-image:radial-gradient(ellipse 88% 72% at 50% 24%, #000 0%, rgb(0 0 0 / .62) 55%, rgb(0 0 0 / .24) 100%);
}
.market-shell .scan { display:none; }
.market-hero { position:relative; min-height:clamp(620px,calc(100dvh - 96px),940px); display:grid; place-items:center; isolation:isolate; }
.market-hero .hero-copy { position:relative; z-index:2; width:min(680px,62%); padding:112px 0 132px; text-align:center; pointer-events:none; }
.market-hero h1 { margin:0 0 23px; font-size:clamp(46px,5.4vw,76px); font-weight:500; line-height:1.06; letter-spacing:-.065em; text-wrap:balance; }
.market-hero .ln { padding-bottom:.06em; }
.market-hero .hero-copy>p { max-width:39ch; margin:0 auto; color:var(--text-muted); font-size:15px; line-height:1.7; text-wrap:balance; }
.hero-foot { position:absolute; bottom:24px; left:0; right:0; display:flex; align-items:center; justify-content:center; gap:28px; color:var(--text-muted); font-size:11px; z-index:2; }
.hero-foot>span { display:flex; align-items:center; gap:7px; }
.hero-foot svg { width:14px; height:14px; }
.hero-showcase { position:absolute; inset:0; pointer-events:none; perspective:1100px; }
.hero-product { position:absolute; width:150px; height:205px; left:var(--x); top:var(--y); transform:translate(-50%,-50%); transform-style:preserve-3d; }
.hero-product-motion { display:block; width:100%; height:100%; transform:rotateZ(var(--turn)); transform-style:preserve-3d; pointer-events:auto; border-radius:4px; }
.hero-product-motion:focus-visible { outline:2px solid var(--focus); outline-offset:8px; }
.market-hero.is-arriving .box-float { animation:none !important; }
.market-hero.is-arriving :is(.hero-copy,.hero-foot) { pointer-events:none; }
.hero-product .box-stage { height:100%; perspective:950px; }
.hero-product .box-float { width:132px; height:178px; }
.hero-product .box-symbol { font-size:38px; }
.hero-product .box-cover-title { font-size:14px; }
.hero-product .box-cover-game { font-size:7px; }
.hero-product .box-shadow { bottom:-19px; width:100px; opacity:.25; }
.hero-product-0 { --x:14%; --y:26%; --turn:-14deg; }
.hero-product-1 { --x:86%; --y:26%; --turn:16deg; }
.hero-product-2 { --x:13%; --y:74%; --turn:9deg; }
.hero-product-3 { --x:87%; --y:74%; --turn:-10deg; }
@media (prefers-reduced-motion:no-preference) {
  .market-shell:not(.still) .hero-showcase .box-float { animation:market-float 8s ease-in-out infinite paused; }
  .market-shell:not(.still) .hero-showcase.in-view .box-float { animation-play-state:running; }
  .hero-product:nth-child(even) .box-float { animation-delay:-4s; }
}
@media (max-width:1100px) {
  .market-hero { min-height:580px; }
  .market-hero .hero-copy { padding-block:115px 150px; width:65%; }
  .hero-product { width:120px; height:172px; }
  .hero-product .box-float { width:110px; height:152px; }
  .hero-product .box-cover-title { font-size:12px; }
}
@media (max-width:700px) {
  .market-hero { min-height:610px; }
  .market-hero .hero-copy { width:100%; padding:140px 0 155px; }
  .market-hero h1 { font-size:clamp(42px,9vw,60px); }
  .market-hero .hero-copy>p { max-width:32ch; font-size:13px; }
  .hero-foot { bottom:4px; gap:18px; font-size:10px; }
  .hero-foot>span:last-child { display:none; }
  .hero-product { width:86px; height:122px; }
  .hero-product .box-float { width:78px; height:108px; }
  .hero-product .box-symbol { font-size:27px; inset:23px 0 32px; }
  .hero-product .box-cover-title { font-size:9px; left:7px; bottom:22px; }
  .hero-product .box-cover-game { font-size:5px; left:7px; bottom:9px; }
  .hero-product .box-brand { font-size:6px; top:7px; left:7px; }
  .hero-product .box-stage { --box-half-depth:9px; }
  .hero-product .box-spine>span { left:4px; font-size:6px; }
  .hero-product .box-spine>b { display:none; }
  .hero-product .box-shadow { width:65px; height:8px; }
  .hero-product-0 { --x:15%; --y:13%; --turn:-12deg; }
  .hero-product-1 { --x:82%; --y:13%; --turn:12deg; }
  .hero-product-2 { --x:19%; --y:84%; --turn:10deg; }
  .hero-product-3 { --x:79%; --y:85%; --turn:-12deg; }
}
@media (prefers-reduced-motion:reduce) { .hero-product-motion { animation:none; } }
.market-heading { display:flex; align-items:center; gap:36px; margin:36px 0 26px; scroll-margin-top:24px; }
.market-heading h2 { margin:0; font-size:27px; letter-spacing:-.04em; font-weight:500; }
.market-types { display:flex; gap:6px; padding:4px; border:0; border-radius:12px; background:var(--control); }
.market-types a { display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 17px; min-height:42px; font-size:13px; color:var(--dim); border-radius:8px; }
.market-types a[aria-current="page"] { background:var(--control-selected); color:var(--ink); box-shadow:none; }
.market-types a span { min-width:19px; text-align:center; font-size:10px; padding:1px 5px; border-radius:5px; background:#ffffff0b; }
.market-layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:clamp(24px,2.4vw,42px); }
.market-sidebar { min-width:0; }
.market-sidebar h3 { font-size:12px; font-weight:400; color:var(--dim); margin:0 0 13px 14px; }
.market-shell .catalog-nav { display:flex; flex-direction:column; gap:5px; margin:0; }
.market-shell .catalog-nav a { display:flex; justify-content:flex-start; padding:11px 13px; min-height:47px; gap:10px; font-size:12px; border:0; border-radius:10px; background:transparent; }
.market-shell .catalog-nav a[aria-current="page"] { background:var(--control-selected); color:var(--text); border-color:transparent; }
.market-shell .catalog-nav a:hover { background:var(--control-hover); border-color:transparent; }
.catalog-nav svg { width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:1.6; flex:none; }
.catalog-nav b { font-weight:400; font-size:10px; color:var(--text-muted); margin-left:auto; }
.sidebar-help { margin-top:26px; padding:19px 10px 18px 12px; display:flex; gap:9px; align-items:center; color:var(--text-muted); border-top:1px solid var(--separator); font-size:11px; }
.sidebar-help small { display:block; font-size:10px; color:var(--text-muted); margin-top:4px; }
.sidebar-help>svg:last-child { width:12px; margin-left:auto; }
.market-products { min-width:0; }
.market-toolbar { display:flex; gap:12px; }
.market-search { min-width:0; flex:1; display:flex; align-items:center; gap:10px; height:48px; padding:0 15px; background:var(--control); border:0; border-radius:11px; color:var(--text-muted); }
.market-search:focus-within { outline:2px solid var(--focus); outline-offset:3px; }
.market-search input { width:100%; min-width:0; background:transparent; border:0; outline:none; font-size:13px; color:var(--ink); padding:12px 0; }
.market-search input::placeholder { color:var(--text-muted); opacity:1; }
.market-search kbd { display:grid; place-items:center; min-width:22px; height:23px; border:0; border-radius:5px; font-family:inherit; font-size:12px; }
.market-sort { min-width:165px; position:relative; display:flex; align-items:center; }
.market-sort select { appearance:none; width:100%; height:48px; padding:0 33px 0 14px; background:var(--control); border:0; border-radius:11px; font-size:12px; }
.market-sort>svg { position:absolute; right:10px; pointer-events:none; width:14px; }
.market-results { min-height:48px; display:flex; align-items:center; gap:16px; color:var(--text-muted); font-size:11px; }
.catalog-currency { margin-left:auto; font-size:10px; }
.market-results .back { margin:0; min-height:44px; font-size:11px; gap:6px; }
.market-results .back svg { width:15px; }
.market-shell .grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
@media (min-width:1600px) {
  .market-shell .grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
}
@media (min-width:2160px) {
  .market-shell .grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; }
}
.market-shell .market-card,.market-shell.motion-enhanced .market-card,.motion-enhanced .market-shell .market-card { min-width:0; padding:0; border:0; border-radius:0; background:transparent; overflow:visible; transform:none; box-shadow:none; }
.market-shell .market-card:hover,.market-shell .market-card:focus-within { border:0; background:transparent; box-shadow:none; }
.market-shell .market-card::before,.market-shell .market-card::after { display:none; }
.market-card .stretch { z-index:6; border-radius:15px; }
.box-stage { --box-half-depth:17px; height:300px; position:relative; display:grid; place-items:center; perspective:900px; }
.box-shadow { position:absolute; width:120px; height:14px; border-radius:50%; bottom:20px; background:#000000; filter:blur(9px); opacity:.65; }
.box-float { width:166px; height:220px; position:relative; transform-style:preserve-3d; margin-top:0; }
.product-box { width:100%; height:100%; position:relative; transform-style:preserve-3d; transform:rotateX(-9deg) rotateY(-26deg) rotateZ(5deg); }
.box-front,.box-back { position:absolute; inset:0; transform:translateZ(var(--box-half-depth)); border:1px solid #343438; border-radius:3px; overflow:hidden; background:radial-gradient(ellipse at 12% 0%,#242428,transparent 60%),linear-gradient(145deg,#111113,#050506); box-shadow:inset 1px 1px #ffffff12,inset -1px -1px #000; backface-visibility:hidden; }
.box-back { transform:rotateY(180deg) translateZ(var(--box-half-depth)); }
.box-front::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg,#ffffff0b,transparent 28%,#ffffff0a 50%,transparent 56%); pointer-events:none; }
.box-brand { position:absolute; top:11px; left:12px; font-size:9px; letter-spacing:-.02em; color:var(--text); z-index:2; }
.box-symbol { position:absolute; inset:35px 0 43px; display:grid; place-items:center; font-size:42px; font-weight:600; letter-spacing:-.06em; color:var(--text); text-shadow:0 1px #fff8,0 3px 3px #000,0 -1px #777; z-index:2; }
.box-cover-title { position:absolute; left:14px; right:11px; bottom:31px; font-size:17px; line-height:1.1; font-weight:500; letter-spacing:-.035em; color:var(--text); z-index:2; }
.box-cover-game { position:absolute; left:14px; bottom:13px; font-size:8px; color:var(--text-muted); z-index:2; }
.box-spine { position:absolute; width:calc(var(--box-half-depth) * 2); height:100%; right:calc(-1 * var(--box-half-depth)); top:0; transform:rotateY(90deg); background:linear-gradient(90deg,#080809,#171719); border:1px solid #29292c; border-radius:2px; backface-visibility:hidden; color:var(--text-muted); }
.box-left { right:auto; left:calc(-1 * var(--box-half-depth)); transform:rotateY(-90deg); }
.box-spine>span { position:absolute; left:10px; top:14px; writing-mode:vertical-rl; font-size:9px; letter-spacing:.04em; }
.box-spine>b { position:absolute; left:11px; bottom:10px; writing-mode:vertical-rl; font-size:6px; font-weight:400; }
.box-top { position:absolute; left:0; right:0; top:calc(-1 * var(--box-half-depth)); height:calc(var(--box-half-depth) * 2); transform:rotateX(90deg); background:linear-gradient(110deg,#242426,#111113); border:1px solid #303033; border-radius:2px; backface-visibility:hidden; }
.box-bottom { top:auto; bottom:calc(-1 * var(--box-half-depth)); transform:rotateX(-90deg); }
.market-shell .grid .empty { grid-column:1/-1; min-height:300px; border:1px dashed var(--separator); border-radius:16px; }
.market-shell .skel { min-height:340px; border-radius:16px; background:var(--surface); }
.market-shell .outro { margin-top:68px; padding:26px 0; border-top:1px solid var(--separator); border-bottom:1px solid var(--separator); }
.market-shell .outro h3 { font-size:18px; max-width:35ch; font-weight:400; letter-spacing:-.03em; color:var(--text-muted); }
.market-shell .outro .pillbtn { min-height:44px; font-size:12px; border-radius:10px; padding:10px 15px; background:var(--control); color:var(--text); }
.market-shell .foot { border:0; margin-top:18px; color:var(--text-muted); font-size:11px; }
.market-shell .foot nav { gap:16px; }
.market-shell .foot nav a,.market-shell .foot nav button { min-height:44px; }
.market-shell .phead { margin-top:24px; }
.market-shell .lab { background:linear-gradient(130deg,#26262c,#1c1c20); }
.market-shell .pinfo .panel,.market-shell .co-grid>.panel,.market-shell .cart-sum { border-color:var(--line); background:var(--surface); }
@keyframes market-float { 0%,100% { transform:translate3d(0,-3px,0); } 50% { transform:translate3d(0,5px,0); } }
@media (prefers-reduced-motion:no-preference) {
  .market-shell:not(.still) .market-card .box-float { animation:market-float 6s ease-in-out infinite paused; animation-delay:var(--float-delay,0s); }
  .market-shell:not(.still) .market-card.in-view .box-float { animation-play-state:running; }
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
  .market-shell:not(.still) .product-box { animation:box-turn 8s linear infinite both paused; }
  .market-hero:not(.is-arriving) .hero-product { pointer-events:auto; }
}
@keyframes box-turn { from { transform:rotateX(-9deg) rotateY(-26deg) rotateZ(5deg); } to { transform:rotateX(-9deg) rotateY(334deg) rotateZ(5deg); } }
.market-shell.still .box-float { animation:none; }
.hero-replay { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; margin:12px auto 0; padding:8px 12px; border:0; background:transparent; color:var(--text-muted); font-size:11px; pointer-events:auto; }
.hero-replay svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.5; }
.hero-replay:hover { color:var(--text); }
.hero-replay:focus-visible { outline:0; text-decoration:underline; text-underline-offset:5px; }
.is-arriving .hero-replay,.still .hero-replay { visibility:hidden; }
.config-hero { min-height:300px; place-items:center start; }
.config-hero .hero-copy { width:65%; padding:36px 0; text-align:left; }
.config-hero h1 { font-size:clamp(36px,4vw,56px); }
.config-hero .hero-copy>p { margin-left:0; max-width:40ch; }
.config-hero .hero-actions { justify-content:flex-start; }
.config-hero :is(.hero-foot,.hero-door,.hero-replay) { display:none; }
.config-hero .hero-product { --x:82%; --y:50%; --turn:8deg; }
.config-hero .hero-product:not(:first-child) { display:none; }
.market-shell [data-catalog-game][hidden] { display:none; }
@media (prefers-reduced-motion:reduce) { .hero-replay { display:none; } }
@media (max-width:600px) {
  .config-hero { min-height:270px; }
  .config-hero .hero-copy { width:70%; padding:28px 0; }
  .config-hero h1 { font-size:32px; }
  .config-hero .hero-copy>p { font-size:12px; }
  .config-hero .hero-product { --x:89%; --y:36%; }
}
@media (max-width:1150px) {
  .market-shell .main { padding-inline:30px; }
  .market-shell .store-wordmark { margin-right:18px; }
  .market-shell .market-topnav { gap:20px; }
  .market-layout { grid-template-columns:175px minmax(0,1fr); gap:20px; }
  .box-stage { height:270px; }
  .box-float { width:139px; height:190px; }
}
@media (max-width:950px) {
  .header-profile { display:none; }
  .market-shell .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .box-stage { height:280px; }
  .box-float { width:150px; height:200px; }
}
@media (max-width:820px) {
  .market-shell .main { padding:0 22px calc(100px + env(safe-area-inset-bottom,0px)); }
  .market-shell .locale-tools { height:80px; gap:10px; }
  .market-shell .market-topnav { gap:18px; }
  .market-shell .store-wordmark { font-size:24px; margin-right:12px; }
  .market-shell .store-wordmark::before { width:21px; height:21px; }
  .market-shell .locale-tools .currency-picker { width:94px; }
  .market-shell .rail { display:flex; position:fixed; left:50%; right:auto; top:auto; bottom:calc(12px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); width:min(360px,calc(100% - 32px)); height:62px; padding:6px 12px; justify-content:space-around; border-radius:18px; background:#19191de8; border:0; box-shadow:0 5px 30px #0006; backdrop-filter:blur(18px); z-index:30; }
  .market-shell .rail>a { width:52px; height:48px; border-radius:12px; }
  .market-shell .rail>[data-nav="cs2"],.market-shell .rail>[data-nav="minecraft"],.market-shell .rail>[data-nav="gta5"],.market-shell .rail>[data-nav="rob-run"],.market-shell .rail>.m-hide,.market-shell .rail>.sp { display:none; }
  .market-shell .rail a.on { color:var(--text); background:var(--control-selected); }
  .market-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .market-sidebar h3,.sidebar-help { display:none; }
  .market-shell .catalog-nav { flex-direction:row; overflow-x:auto; flex-wrap:nowrap; gap:7px; padding-bottom:4px; scrollbar-width:thin; }
  .market-shell .catalog-nav a { flex:0 0 auto; white-space:nowrap; gap:8px; min-height:44px; border-color:var(--separator); padding:10px 12px; }
  .catalog-nav b { margin-left:4px; }
  .market-heading { margin-top:28px; margin-bottom:18px; }
  .market-shell .grid { gap:14px; }
  .market-shell .outro { margin-top:40px; }
}
@media (max-width:600px) {
  .market-shell .main { padding-inline:16px; }
  .market-shell .locale-tools { height:76px; gap:6px; }
  .market-shell .market-topnav { display:none; }
  .market-shell .store-wordmark { margin-right:auto; font-size:24px; }
  .market-shell .store-wordmark::before { width:19px; height:19px; margin-right:7px; }
  .market-shell .locale-tools .currency-picker { width:82px; }
  .market-shell .currency-trigger { padding:8px; }
  .header-cart { width:36px; }
  .market-shell .language-picker button { min-width:28px; font-size:11px; }
  .market-heading { gap:12px 16px; justify-content:space-between; }
  .market-heading h2 { font-size:24px; }
  .market-types { padding:3px; gap:2px; }
  .market-types a { min-height:40px; padding:8px 10px; font-size:11px; gap:5px; }
  .market-types a span { font-size:9px; min-width:16px; }
  .market-toolbar { flex-wrap:wrap; gap:9px; }
  .market-search { flex-basis:100%; }
  .market-sort { min-width:0; width:100%; }
  .market-sort select { height:44px; }
  .market-results { min-height:42px; }
  .market-shell .grid { gap:11px; }
  .box-stage { height:225px; }
  .box-float { width:110px; height:155px; }
  .box-stage { --box-half-depth:13px; }
  .box-spine>span { left:7px; font-size:7px; }
  .box-spine>b { left:7px; }
  .box-brand { top:8px; left:9px; font-size:7px; }
  .box-symbol { font-size:34px; inset:28px 0 39px; }
  .box-cover-title { font-size:12px; left:9px; bottom:27px; }
  .box-cover-game { font-size:6px; left:9px; bottom:11px; }
  .box-shadow { width:84px; bottom:24px; }
  .market-shell .market-card { border-radius:13px; }
  .market-shell .foot { font-size:10px; }
  .market-shell .foot nav { gap:9px 15px; }
  .market-shell .outro h3 { font-size:17px; }
}
@media (max-width:359px) {
  .market-shell .main { padding-inline:12px; }
  .market-shell .store-wordmark { font-size:21px; }
  .market-shell .store-wordmark::before { display:none; }
  .market-heading { gap:8px; }
  .market-types a { padding-inline:7px; }
  .market-heading h2 { font-size:21px; }
  .box-float { width:96px; height:140px; }
}
@media (prefers-reduced-motion:reduce) {
  .box-float { animation:none !important; }
  .product-box { transition:none; }
  .market-shell .ln.swap>span { animation:none; }
}
