/* Shared neutral surfaces for product details, checkout and clear glass controls. */
.market-shell {
  --interior-surface:color-mix(in srgb,var(--surface) 78%,transparent);
  --option-surface:var(--control);
  --option-selected:var(--control-selected);
}
.market-shell .inner-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:14px 0 32px; color:var(--text-muted); font-size:12px; }
.market-shell .inner-breadcrumb svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.5; }
.market-shell .inner-breadcrumb>span { color:var(--text); }
.market-shell .product-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(36px,4.5vw,84px); align-items:start; }
.market-shell .product-overview { min-width:0; }
.market-shell .product-showcase { position:relative; min-height:350px; }
.market-shell .product-showcase .box-stage { height:365px; --box-half-depth:22px; }
.market-shell .product-showcase .box-float { width:210px; height:280px; }
.market-shell .product-showcase .box-symbol { font-size:70px; }
.market-shell .product-showcase .box-cover-title { font-size:23px; bottom:43px; left:19px; }
.market-shell .product-showcase .box-cover-game { font-size:10px; bottom:19px; left:19px; }
.market-shell .product-showcase .box-brand { font-size:12px; top:17px; left:19px; }
.market-shell .product-showcase .box-spine>span { font-size:12px; left:14px; }
.market-shell .product-showcase .box-shadow { width:180px; bottom:15px; }
.market-shell .product-media { margin-top:28px; }
.market-shell .product-media .viewer { border-radius:16px; height:auto; min-height:0; aspect-ratio:16/9; background:var(--surface); }
.market-shell .product-media .viewer img,.market-shell .product-media .viewer video { width:100%; height:100%; object-fit:contain; }
.market-shell .product-media .thumbs button { width:72px; border-radius:8px; border:0; box-shadow:none; }
.market-shell .product-media .thumbs button[aria-pressed="true"] { opacity:1; }
.market-shell .product-purchase { min-width:0; padding-top:22px; }
.market-shell .product-category { color:var(--text-muted); font-size:12px; }
.market-shell .product-purchase h1 { font-size:clamp(30px,3.6vw,50px); font-weight:500; line-height:1.15; letter-spacing:-.055em; margin:12px 0 16px; }
.market-shell .product-intro { color:var(--text-muted); font-size:14px; line-height:1.7; margin:0 0 28px; max-width:52ch; }
.market-shell .product-options>h2 { font-size:14px; font-weight:500; margin:0 0 14px; }
.market-shell .product-purchase .modes { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.market-shell .product-purchase .modes>button { display:flex; align-items:center; gap:8px; min-height:55px; padding:12px 14px; border-radius:12px; font-size:12px; text-align:left; }
.market-shell .product-purchase .modes>button::before,.market-shell .product-purchase .tiles button::after { display:none; }
.market-shell .product-purchase .modes>button>svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; flex:none; }
.market-shell .product-purchase .modes>button>span { margin-left:auto; font-variant-numeric:tabular-nums; font-size:12px; white-space:nowrap; }
.market-shell .product-purchase .modes>.sub { grid-column:1/-1; text-transform:none; letter-spacing:0; color:var(--text-dim); padding:6px 0 2px; font-family:inherit; font-size:11px; }
.market-shell .product-currency { margin:22px 0; color:var(--text-muted); }
.market-shell .product-currency summary { cursor:pointer; font-size:12px; min-height:44px; padding-block:11px; }
.market-shell .product-purchase .tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:8px; }
.market-shell .product-purchase .tiles button { display:flex; justify-content:space-between; align-items:center; min-height:44px; padding:9px 12px; border-radius:10px; font-size:11px; aspect-ratio:auto; grid-column:auto; }
.market-shell .product-purchase .tiles button i { position:static; display:block; font-style:normal; color:var(--text-muted); font-size:10px; }
.market-shell .product-total { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; margin-top:12px; border-top:1px solid var(--separator); }
.market-shell .product-total>div { display:grid; gap:5px; font-size:13px; }
.market-shell .product-total small { color:var(--text-dim); font-size:11px; }
.market-shell .product-total>b { font-size:34px; line-height:1.1; font-weight:500; letter-spacing:-.045em; }
.market-shell .product-actions { display:grid; grid-template-columns:1fr; gap:12px; }
.market-shell .product-actions button { width:100%; min-height:52px; margin:0; padding:14px 16px; border-radius:16px; font-size:14px; font-weight:500; text-decoration:none; opacity:1; }
.market-shell .product-actions .go:hover { transform:none; }
.market-shell .product-delivery { display:flex; align-items:flex-start; gap:9px; color:var(--text-muted); font-size:11px; line-height:1.6; margin:20px 0; }
.market-shell .product-delivery svg,.market-shell .product-help svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.5; flex:none; }
.market-shell .product-help { display:flex; align-items:center; gap:10px; padding:19px 0; border-top:1px solid var(--separator); font-size:12px; color:var(--text); }
.market-shell .product-help>svg:last-child { margin-left:auto; }
.market-shell .product-description { margin-top:48px; padding-top:30px; border-top:1px solid var(--separator); }
.market-shell .product-description h2 { font-size:23px; font-weight:500; letter-spacing:-.04em; }
.market-shell .product-description>p { font-size:14px; color:var(--text-muted); max-width:70ch; line-height:1.7; }
.market-shell .product-description ul { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:10px 0 0; list-style:none; }
.market-shell .product-description li { display:flex; align-items:flex-start; gap:9px; font-size:13px; color:var(--text-muted); }
.market-shell .product-description li svg { width:16px; height:16px; fill:none; stroke:var(--text); stroke-width:1.7; flex:none; }
.market-shell .checkout-heading h1 { margin:0; font-weight:500; font-size:38px; letter-spacing:-.05em; }
.market-shell .checkout-heading p { margin:10px 0 27px; font-size:14px; color:var(--text-muted); }
.market-shell .checkout-account { display:flex; align-items:center; gap:16px; padding:21px 24px; margin-bottom:24px; border:1px solid var(--separator); border-radius:16px; background:var(--interior-surface); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:none; }
.market-shell .checkout-account>svg { width:25px; height:25px; fill:none; stroke:var(--text-muted); stroke-width:1.5; flex:none; }
.market-shell .checkout-account>div { flex:1; }
.market-shell .checkout-account b { font-size:13px; font-weight:500; }
.market-shell .checkout-account p { margin:5px 0 0; color:var(--text-muted); font-size:12px; line-height:1.6; }
.market-shell .checkout-account>a { padding:13px 19px; font-size:12px; white-space:nowrap; }
.market-shell .checkout-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(380px,1fr); gap:clamp(20px,2.4vw,36px); align-items:start; }
.market-shell .checkout-main { display:grid; gap:20px; min-width:0; }
.market-shell .checkout-section,.market-shell .checkout-summary { padding:0; margin:0; border-radius:18px; border:1px solid var(--separator); background:var(--interior-surface); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:none; overflow:hidden; }
.market-shell .checkout-section>h2,.market-shell .checkout-summary>h2 { display:flex; align-items:center; gap:10px; font-size:15px; font-weight:500; padding:21px 23px; margin:0; border-bottom:1px solid var(--separator); }
.market-shell .checkout-section>h2>span { font-size:11px; margin-left:auto; color:var(--text-dim); }
.market-shell .checkout-section>h2 svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; }
.market-shell .checkout-section .co-lines { padding:0 23px; }
.market-shell .checkout-section .co-line { padding:20px 0; gap:14px; }
.market-shell .checkout-section .co-line>b,.market-shell .checkout-section .co-line strong { font-size:14px; }
.market-shell .checkout-section .co-line>div>b { font-size:13px; font-weight:500; }
.market-shell .checkout-section .co-line small { color:var(--text-muted); font-size:11px; margin-top:4px; }
.market-shell .checkout-thumb { width:56px; height:64px; flex:none; }
.market-shell .checkout-thumb .box-stage { --box-half-depth:4px; height:100%; }
.market-shell .checkout-thumb .box-float { width:36px; height:49px; }
.market-shell .checkout-thumb .box-symbol { inset:0; font-size:12px; }
.market-shell .checkout-thumb :is(.box-shadow,.box-brand,.box-cover-title,.box-cover-game,.box-spine>span,.box-spine>b) { display:none; }
.market-shell .checkout-section>.note { margin:0 23px 20px; }
.market-shell .checkout-duration { padding:18px 23px 22px; border-top:1px solid var(--separator); }
.market-shell .checkout-duration>h3 { font-size:12px; font-weight:500; margin:0 0 12px; color:var(--text-muted); }
.market-shell .co-variants { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.market-shell .co-variants>button { display:flex; align-items:center; gap:8px; min-height:48px; padding:10px 13px; border-radius:11px; font-size:12px; text-align:left; cursor:pointer; }
.market-shell .co-variants>button>svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.6; flex:none; }
.market-shell .co-variants>button>b { font-weight:500; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-shell .co-variants>button>span { margin-left:auto; font-variant-numeric:tabular-nums; font-size:12px; white-space:nowrap; }
.market-shell .co-variants>.sub { grid-column:1/-1; text-transform:none; letter-spacing:0; color:var(--text-dim); padding:6px 0 2px; font-family:inherit; font-size:11px; }
.market-shell .co-nle-custom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid var(--separator); font-size:12px; color:var(--text-muted); }
.market-shell .co-nle-custom .qty { display:flex; align-items:center; gap:6px; }
.market-shell .co-nle-custom .qty button { width:36px; height:36px; border-radius:10px; font-size:15px; }
.market-shell .co-nle-custom .qty input { width:76px; min-height:36px; padding:6px 10px; border:0; border-radius:10px; background:var(--option-surface); color:var(--text); font-size:13px; text-align:center; font-variant-numeric:tabular-nums; }
.market-shell .checkout-contact-fields { padding:21px 23px; display:grid; gap:16px; }
.market-shell .market-checkout .co-field { margin:0; }
.market-shell .market-checkout .co-field>span { display:block; font-size:12px; color:var(--text); margin-bottom:9px; }
.market-shell .market-checkout .co-field em { color:var(--text-dim); font-size:11px; font-style:normal; }
.market-shell .market-checkout .co-field input,.market-shell .market-checkout .co-field select { width:100%; min-height:48px; padding:12px 14px; border:0; border-radius:11px; background:var(--option-surface); color:var(--text); font-size:13px; }
.market-shell .market-checkout .co-field input::placeholder { color:var(--text-dim); }
.market-shell .market-checkout .co-methods { display:grid; grid-template-columns:1fr; gap:10px; padding:22px 23px 0; margin:0; }
.market-shell .market-checkout .co-methods button { position:relative; min-height:72px; padding:16px 46px 16px 56px; gap:5px; border-radius:12px; }
.market-shell .market-checkout .co-methods button::before { content:""; position:absolute; left:18px; top:24px; width:22px; height:18px; border:1.5px solid var(--text-muted); border-radius:5px; background:linear-gradient(0deg,transparent 48%,var(--text-muted) 49% 62%,transparent 63%); }
.market-shell .market-checkout .co-methods button[data-co-method="crypto"]::before,.market-shell .market-checkout .co-methods button[data-co-method="lirpay"]::before { border-radius:50%; height:22px; top:23px; background:radial-gradient(circle,transparent 30%,var(--text-muted) 35% 40%,transparent 45%); }
.market-shell .market-checkout .co-methods button::after { content:""; position:absolute; right:18px; top:29px; width:14px; height:14px; border-radius:50%; border:0; outline:0; background:var(--control-hover); box-shadow:none; }
.market-shell .market-checkout .co-methods button[aria-checked="true"]::after { background:radial-gradient(circle,var(--text) 0 35%,transparent 38%),var(--control-selected); }
.market-shell .market-checkout .co-methods button b { font-size:13px; font-weight:500; color:var(--text); }
.market-shell .market-checkout .co-methods button small { color:var(--text-muted); font-size:11px; line-height:1.5; }
.market-shell .checkout-method-help { padding:20px 23px 23px; margin:0; color:var(--text-muted); font-size:11px; line-height:1.7; }
.market-shell .checkout-method-help a { color:var(--text); text-decoration:underline; text-underline-offset:3px; }
.market-shell .checkout-summary { position:sticky; top:24px; padding:0 24px 24px; min-width:0; }
.market-shell .checkout-summary>h2 { padding-left:0; padding-right:0; }
.market-shell .checkout-summary .co-total { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:25px 0; margin:0; border-bottom:1px solid var(--separator); }
.market-shell .checkout-summary .co-total>span { font-size:14px; }
.market-shell .checkout-summary #coAmount { font-size:30px; font-weight:500; letter-spacing:-.04em; color:var(--text); }
.market-shell .checkout-currency { padding:21px 0; }
.market-shell .checkout-currency h3,.market-shell .checkout-selected { font-size:12px; font-weight:500; margin:0 0 12px; color:var(--text-muted); }
.market-shell .checkout-summary .co-curs { display:flex; flex-wrap:wrap; gap:6px; }
.market-shell .checkout-summary .co-curs button { min-height:38px; padding:7px 10px; font-size:11px; border-radius:9px; }
.market-shell .checkout-summary .co-pane { padding-top:4px; gap:14px; }
.market-shell .checkout-summary:has(#coInlineCard) { overflow:visible; }
.market-shell .checkout-summary .co-muted,.market-shell .checkout-summary .note { color:var(--text-muted); font-size:12px; line-height:1.7; }
.market-shell .checkout-summary .co-copy { padding:14px; border-radius:12px; background:var(--option-surface); border:0; }
.market-shell .checkout-summary .co-copy b { font-size:16px; }
.market-shell .checkout-summary .co-copy small { color:var(--text-muted); font-size:11px; }
.market-shell .checkout-summary .co-step>.lbl { font-family:inherit; letter-spacing:0; text-transform:none; color:var(--text-muted); font-size:11px; margin-bottom:9px; }
.market-shell .checkout-summary .co-file { border:0; border-radius:12px; background:var(--option-surface); color:var(--text-muted); font-size:11px; padding:15px; }
.market-shell .checkout-summary .co-go { width:100%; min-height:50px; margin:0; border-radius:16px; font-size:13px; }
.market-shell .checkout-order-note { margin:21px 0 0; color:var(--text-muted); font-size:11px; line-height:1.7; }
.market-shell .checkout-legal { margin-top:19px; padding-top:19px; border-top:1px solid var(--separator); font-size:10px; line-height:1.8; color:var(--text-dim); }
.market-shell .checkout-legal a,.market-shell .checkout-order-note a { color:var(--text); text-decoration:underline; text-underline-offset:2px; }

/* Glass is defined by transmitted colour and a soft highlight, without a rim. */
.market-shell :is(.liquid-action,[data-browse],.hero-config-link,.market-types) { --lg-tint:var(--glass-tint); --lg-solid:var(--surface-raised); border-radius:16px; isolation:isolate; border:0; background:transparent; color:var(--text); box-shadow:none; }
.market-shell .liquid-action { display:block; min-width:0; }
.market-shell a.liquid-action { display:flex; align-items:center; justify-content:center; min-height:44px; }
.market-shell .liquid-action.primary { --lg-tint:var(--control); }
.market-shell .liquid-action>button { position:relative; width:100%; background:transparent; color:var(--text); border:0; box-shadow:none; text-shadow:none; }
.market-shell .hero-config-link { padding:12px 16px; }
.market-shell .market-types a[aria-current="page"] { background:var(--control-selected); border:0; border-radius:12px; box-shadow:none; }
.market-shell .lg-layer { box-shadow:none; }
.market-shell .lg-sheen { box-shadow:none; border:0; outline:0; mix-blend-mode:screen; background:radial-gradient(ellipse at var(--lg-pointer-x,25%) var(--lg-pointer-y,10%),var(--control-hover),transparent 68%); }
.market-shell :is(.product-purchase .modes>button,.product-purchase .tiles button,.market-checkout .co-methods button,.market-checkout .co-variants>button,.market-checkout .co-nle-custom .qty button,.checkout-summary .co-curs button,.product-purchase .qty button,.checkout-summary .cbtn) { background:var(--option-surface); border:0; box-shadow:none; color:var(--text-muted); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.market-shell :is(.product-purchase .modes>button[aria-pressed="true"],.product-purchase .tiles button[aria-pressed="true"],.market-checkout .co-methods button[aria-checked="true"],.market-checkout .co-variants>button[aria-pressed="true"],.checkout-summary .co-curs button[aria-pressed="true"]) { background:var(--option-selected); color:var(--text); border:0; box-shadow:none; }
.market-shell :is(.liquid-action:has(>button:focus-visible),.lg-host:focus-visible,.product-purchase button:focus-visible,.product-currency summary:focus-visible,.market-checkout button:focus-visible,.market-checkout input:focus-visible,.market-checkout select:focus-visible,.co-file:has(input:focus-visible)) { outline:2px solid var(--focus); outline-offset:4px; }
.market-shell .liquid-action:has(button:disabled) { opacity:.5; }
.market-shell .liquid-action>button:focus-visible { outline:0; }
@media (hover:hover) and (pointer:fine) {
  .market-shell :is(.liquid-action,[data-browse],.hero-config-link):hover { --lg-tint:var(--control-hover); }
  .market-shell :is(.product-purchase .modes>button,.product-purchase .tiles button,.market-checkout .co-methods button,.market-checkout .co-variants>button,.market-checkout .co-nle-custom .qty button,.checkout-summary .co-curs button,.product-purchase .qty button,.checkout-summary .cbtn):hover { background:var(--control-hover); color:var(--text); }
}
@media (prefers-reduced-transparency:reduce) {
  .market-shell:not(.clear-glass) { --interior-surface:var(--surface); --option-surface:var(--surface-raised); --option-selected:color-mix(in srgb,var(--surface-raised),var(--text) 15%); }
  .market-shell:not(.clear-glass) :is(.product-purchase .modes>button,.product-purchase .tiles button,.market-checkout .co-methods button,.market-checkout .co-variants>button,.checkout-summary .co-curs button) { -webkit-backdrop-filter:none; backdrop-filter:none; }
}
.market-shell.clear-glass .lg-host>.lg-layer { background:var(--lg-tint); -webkit-backdrop-filter:blur(var(--lg-blur,1px)); backdrop-filter:blur(var(--lg-blur,1px)); }
.market-shell.clear-glass .lg-host[data-lg-renderer="svg"]>.lg-layer { backdrop-filter:var(--lg-filter); }
.market-shell.solid-glass { --interior-surface:var(--surface); --option-surface:var(--surface-raised); --option-selected:color-mix(in srgb,var(--surface-raised),var(--text) 15%); }
.market-shell.solid-glass .lg-host>.lg-layer { background:var(--surface-raised); -webkit-backdrop-filter:none; backdrop-filter:none; }
.market-shell.solid-glass :is(.product-purchase .modes>button,.product-purchase .tiles button,.market-checkout .co-methods button,.market-checkout .co-variants>button,.checkout-summary .co-curs button) { -webkit-backdrop-filter:none; backdrop-filter:none; }
.market-shell #glass { color:inherit; font:inherit; border:0; background:transparent; display:inline-flex; align-items:center; gap:7px; }
.market-shell #glass::before { content:""; width:9px; height:9px; border-radius:50%; border:0; box-shadow:none; background:var(--control-selected); }
.market-shell #glass[aria-pressed="true"]::before { background:var(--text); }
@media (prefers-reduced-motion:no-preference) {
  .market-shell:not(.still) .product-showcase .box-float { animation:market-float 7s ease-in-out infinite paused; }
  .market-shell:not(.still) .product-showcase.in-view .box-float { animation-play-state:running; }
  .market-shell .liquid-action { transition:scale .18s ease; }
  .market-shell .liquid-action:active { scale:.985; }
}
@media (max-width:1100px) {
  .market-shell .product-layout { gap:35px; }
  .market-shell .checkout-layout { grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr); gap:18px; }
  .market-shell .checkout-section>h2 { padding-inline:18px; }
  .market-shell .market-checkout .co-methods,.market-shell .checkout-contact-fields,.market-shell .checkout-duration { padding-inline:18px; }
  .market-shell .checkout-summary { padding-inline:19px; }
}
@media (max-width:820px) {
  .market-shell .product-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .market-shell .product-overview { display:contents; }
  .market-shell .product-showcase { grid-row:1; min-height:320px; }
  .market-shell .product-purchase { grid-row:2; }
  .market-shell .product-media { grid-row:3; }
  .market-shell .product-showcase .box-stage { height:320px; }
  .market-shell .product-showcase .box-float { width:180px; height:244px; }
  .market-shell .product-purchase h1 { font-size:36px; }
  .market-shell .checkout-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .market-shell .checkout-summary { position:static; }
  .market-shell .checkout-layout:has(.checkout-method-panel) .checkout-main { display:contents; }
  .market-shell .checkout-layout:has(.checkout-method-panel) .checkout-section:has(.checkout-contact-fields) { order:1; }
  .market-shell .checkout-layout .checkout-method-panel { order:2; }
  .market-shell .checkout-account { flex-wrap:wrap; padding:18px; }
  .market-shell .checkout-account>div { flex-basis:calc(100% - 50px); }
  .market-shell .checkout-account>a { margin-left:40px; }
}
@media (max-width:600px) {
  .market-shell .inner-breadcrumb { font-size:10px; gap:7px; margin:8px 0 22px; }
  .market-shell .product-purchase .modes,.market-shell .product-description ul { grid-template-columns:minmax(0,1fr); }
  .market-shell .checkout-heading h1 { font-size:30px; }
  .market-shell .checkout-heading p { font-size:12px; }
  .market-shell .checkout-section>h2,.market-shell .checkout-summary>h2 { font-size:14px; padding-block:19px; }
  .market-shell .market-checkout .co-methods button { padding-left:48px; padding-right:35px; }
  .market-shell .market-checkout .co-methods button::before { left:14px; }
  .market-shell .market-checkout .co-methods button::after { right:14px; }
  .market-shell .market-checkout .co-methods button b { font-size:12px; }
  .market-shell .checkout-section .co-lines { padding-inline:16px; }
  .market-shell .checkout-duration { padding:16px 16px 18px; }
  .market-shell .co-variants { grid-template-columns:minmax(0,1fr); }
  .market-shell .checkout-section .co-line { gap:10px; }
  .market-shell .checkout-section .co-line>div { min-width:0; }
  .market-shell .checkout-section .co-line>div>b { overflow-wrap:anywhere; }
  .market-shell .checkout-section .co-line strong { font-size:13px; }
  .market-shell .checkout-thumb { width:44px; height:58px; }
  .market-shell .product-total>b { font-size:29px; }
}

/* Header controls are labels and icons, without button surfaces. */
.market-shell .locale-tools :is(.language-picker,.language-picker button,.pillsel,.currency-trigger,.header-cart,.header-profile) { background:transparent; border:0; border-radius:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.market-shell .locale-tools .language-picker button { color:var(--text-dim); }
.market-shell .locale-tools .language-picker button[aria-pressed="true"] { color:var(--text); font-weight:600; }
.market-shell .locale-tools :is(.language-picker button,.currency-trigger,.header-cart,.header-profile):hover { background:transparent; color:var(--text); }
.market-shell .locale-tools :is(.language-picker button,.currency-trigger,.header-profile):focus-visible { outline:0; text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px; }
.market-shell .locale-tools .header-cart:focus-visible { outline:0; }
.market-shell .locale-tools .header-cart:focus-visible::after { content:""; position:absolute; bottom:3px; left:12px; right:12px; height:2px; background:var(--focus); }
.market-shell .locale-tools :is(.lg-layer,.lg-sheen) { display:none; }

/* A native dialog keeps keyboard focus and the rest of the page inert. */
html { scrollbar-gutter:stable; }
.market-shell.quick-open { overflow:hidden; }
.market-shell .quick-view {
  --quick-top:max(16px,env(safe-area-inset-top));
  --quick-bottom:max(16px,env(safe-area-inset-bottom));
  --quick-gutter:max(16px,env(safe-area-inset-left),env(safe-area-inset-right));
  position:fixed; inset:var(--quick-top) auto var(--quick-bottom) 50dvw; translate:-50% 0;
  margin:auto 0; width:min(460px,calc(100dvw - 2 * var(--quick-gutter))); height:fit-content;
  max-width:none; max-height:calc(100dvh - var(--quick-top) - var(--quick-bottom));
  padding:0; border:0; border-radius:24px; background:color-mix(in srgb,var(--surface) 86%,transparent);
  color:var(--text); box-shadow:0 18px 80px #0005; backdrop-filter:blur(24px);
  overscroll-behavior:contain; overflow:auto;
}
.quick-view::backdrop { background:#0007; backdrop-filter:blur(5px); }
.quick-head { display:flex; justify-content:space-between; align-items:center; padding:14px 20px 0 28px; color:var(--text-muted); font-size:12px; }
.quick-close { width:44px; height:44px; display:grid; place-items:center; background:transparent; border:0; border-radius:12px; color:var(--text); }
.quick-view svg { width:18px; height:18px; stroke:currentColor; stroke-width:1.5; fill:none; flex:none; }
.quick-close:hover { background:var(--control-hover); }
.quick-cover .box-stage { height:220px; --box-half-depth:13px; }
.quick-cover .box-float { width:124px; height:170px; }
.quick-cover .box-symbol { font-size:38px; }
.quick-cover .box-cover-title { font-size:13px; }
.quick-cover .box-cover-game { font-size:7px; }
.quick-cover .box-shadow { bottom:6px; }
.quick-content { padding:0 28px 24px; }
.quick-content h2 { font-size:32px; font-weight:500; line-height:1.15; letter-spacing:-.045em; margin:10px 0 12px; }
.quick-intro { font-size:13px; line-height:1.6; color:var(--text-muted); margin:0 0 20px; }
.quick-field { display:grid; gap:9px; font-size:12px; color:var(--text-muted); }
.quick-field :is(select,input) { width:100%; min-height:48px; padding:12px; border:0; border-radius:12px; background:var(--control); color:var(--text); font:inherit; font-size:14px; }
.quick-total { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:22px 0; font-size:12px; color:var(--text-muted); }
.quick-total strong { font-size:28px; color:var(--text); font-weight:500; letter-spacing:-.04em; }
.quick-card-purchase { display:grid; gap:8px; margin-bottom:14px; }
.quick-card-purchase [hidden] { display:none; }
.quick-card-purchase .quick-field { margin-bottom:4px; }
.quick-card-pay { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:12px 16px; border:0; border-radius:14px; background:#e5e3de; color:#222224; font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.quick-card-pay:hover:enabled { background:#f4f2ed; }
.quick-card-pay:disabled { opacity:.6; cursor:default; }
.quick-card-pay strong { margin-inline-start:auto; font-size:14px; color:inherit; white-space:nowrap; }
.quick-card-purchase small { color:var(--text-muted); font-size:12px; line-height:1.4; }
.quick-card-purchase small:empty { display:none; }
.quick-actions { display:grid; gap:10px; }
.quick-actions button { min-height:48px; padding:12px 16px; font-size:13px; border-radius:16px; }
.quick-details { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; margin-top:12px; color:var(--text-muted); font-size:12px; }
.quick-details:hover { color:var(--text); }
.quick-view :is(button,select,input,a):focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.market-shell.solid-glass .quick-view { background:var(--surface); backdrop-filter:none; }
.product-dock { display:none; }
.config-facts { display:grid; gap:16px; max-width:680px; margin:24px 0 32px; font-size:13px; }
.config-facts>div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; }
.config-facts dt { color:var(--text-muted); }
.config-facts dd { margin:0; }
.config-facts a { display:inline-flex; align-items:center; gap:8px; min-height:24px; text-decoration:underline; text-underline-offset:4px; }
.config-facts svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; }
.product-description h3 { font-size:16px; font-weight:500; }
.co-stripe-group { display:grid; gap:8px; min-width:0; grid-column:1/-1; }
.co-stripe-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:6px; }
.market-shell .market-checkout .co-stripe-list button { min-width:0; min-height:54px; padding:10px 24px 10px 12px; border-radius:10px; gap:3px; }
.market-shell .market-checkout .co-stripe-list button::before { display:none; }
.market-shell .market-checkout .co-stripe-list button::after { width:10px; height:10px; top:14px; right:8px; }
.market-shell .market-checkout .co-stripe-list button b { font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.market-shell .market-checkout .co-stripe-list button small { font-size:10px; }
.market-shell .co-other-methods { min-width:0; }
.co-other-methods summary { display:flex; align-items:center; gap:12px; padding:12px 2px; min-height:48px; color:var(--text-muted); font-size:12px; cursor:pointer; list-style:none; }
.co-other-methods summary::-webkit-details-marker { display:none; }
.co-other-methods summary small { margin-left:auto; }
.co-other-methods summary svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.co-other-methods[open] summary svg { transform:rotate(180deg); }
.co-other-methods summary:focus-visible { outline:2px solid var(--focus); outline-offset:4px; border-radius:8px; }
.co-other-list { display:grid; gap:10px; max-height:320px; overflow-y:auto; overscroll-behavior:contain; padding:5px; margin:0 -5px; scrollbar-width:thin; }
.co-breakdown { display:grid; gap:10px; margin:16px 0 0; font-size:11px; color:var(--text-muted); }
.co-breakdown[hidden] { display:none; }
.co-breakdown>div { display:flex; justify-content:space-between; gap:20px; }
.co-breakdown dd { margin:0; color:var(--text); white-space:nowrap; font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion:no-preference) {
  .market-shell:not(.still) .quick-view[open] { animation:quick-in .26s var(--ease,ease-out); }
  @keyframes quick-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
}
@media (max-width:820px) {
  .market-shell .rail { height:70px; }
  .market-shell .rail>a { height:56px; width:64px; display:flex; flex-direction:column; justify-content:center; gap:5px; }
  .market-shell .rail .tip { display:block; position:static; opacity:1; visibility:visible; transform:none; padding:0; background:transparent; color:inherit; border:0; box-shadow:none; font:10px/1.2 var(--font,Onest,sans-serif); pointer-events:none; }
  .market-shell .rail .tip::before,.market-shell .rail .tip::after { display:none; }
  .market-shell:has(#content[data-view="product"]) .rail { display:none; }
  .product-dock { display:grid; grid-template-columns:minmax(0,1fr) minmax(110px,.75fr); align-items:center; gap:16px; position:fixed; bottom:calc(12px + env(safe-area-inset-bottom,0px)); left:16px; right:16px; z-index:40; padding:12px 16px; border:0; border-radius:20px; background:color-mix(in srgb,var(--surface) 86%,transparent); backdrop-filter:blur(20px); box-shadow:0 8px 32px #0006; }
  .product-dock>div { min-width:0; display:grid; gap:5px; }
  .product-dock small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:var(--text-muted); }
  .product-dock strong { font-size:22px; font-weight:500; letter-spacing:-.035em; }
  .product-dock button { min-height:48px; padding:12px 16px; font-size:13px; }
  .market-shell .product-showcase { min-height:245px; }
  .market-shell .product-showcase .box-stage { height:245px; }
  .market-shell .product-showcase .box-float { width:145px; height:194px; }
  .market-shell .product-showcase .box-symbol { font-size:48px; }
  .market-shell .product-showcase .box-cover-title { font-size:17px; left:14px; bottom:32px; }
  .market-shell .product-showcase .box-cover-game { font-size:8px; left:14px; bottom:14px; }
  .market-shell .product-showcase .box-brand { font-size:9px; top:12px; left:14px; }
  .market-shell .checkout-account { padding:14px 16px; gap:10px; margin-bottom:16px; }
  .market-shell .checkout-contact-fields { padding:16px; gap:12px; }
  .market-shell .checkout-main { gap:12px; }
  .market-shell .market-checkout .co-methods { grid-template-columns:1fr 1fr; gap:8px; padding:16px 16px 0; }
  .market-shell .market-checkout .co-methods>button { min-height:76px; padding:12px 22px 12px 12px; }
  .market-shell .market-checkout .co-methods>button::before { display:none; }
  .market-shell .market-checkout .co-methods>button::after { right:8px; top:16px; width:10px; height:10px; }
  .co-other-methods { grid-column:1/-1; }
  .market-shell .checkout-method-help { padding:12px 16px 16px; }
}
@media (max-width:600px) {
  .quick-head { padding:10px 12px 0 20px; }
  .quick-content { padding:0 20px 16px; }
  .quick-content h2 { font-size:27px; }
  .quick-cover .box-stage { height:150px; --box-half-depth:10px; }
  .quick-cover .box-float { width:90px; height:122px; }
  .quick-cover .box-symbol { font-size:28px; inset:22px 0 31px; }
  .quick-cover .box-cover-title { font-size:10px; left:9px; bottom:23px; }
  .quick-cover .box-cover-game { font-size:5px; left:9px; bottom:10px; }
  .quick-cover .box-brand { font-size:6px; left:9px; top:8px; }
  .quick-intro { margin-bottom:16px; }
  .quick-total { padding:16px 0; }
}

[data-promo] { min-inline-size: 0; margin: 14px 0; padding: 0; border: 0; }
.promo-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 6px 10px; }
.promo-form .co-field { margin: 0; min-width: 0; }
.promo-form input { width: 100%; box-sizing: border-box; }
.promo-form .pillbtn { min-height: 42px; }
.promo-form small { grid-column: 1 / -1; }
.promo-form small:empty { display: none; }
