/* Copyright © 2026 MELDIX. TrioSoft. All rights reserved. */
/* Storefront pages: /battlepass and /shop in «Графит». Shared parts first (rarities, buttons,
   artwork, dialogs, celebration, FAQ), then the shop. The battle pass itself lives in
   /ui/pass.css. Built on the /ui/prism.css tokens. */

.sf-page {
  --sf-display: var(--p-display);
  --sf-card: var(--p-surface);
  --sf-card-2: var(--p-surface-2);
  --sf-line: var(--p-line);
  --sf-line-2: var(--p-line-2);
  --sf-ink: var(--p-ink);
  --sf-ink-2: var(--p-ink-3);
  --sf-ink-3: var(--p-ink-4);
  --sf-violet: #8b6cff;
  --sf-violet-rgb: 139, 108, 255;
  --sf-gold: #f5b544;
  --sf-cyan: #6fd8ff;
  --r-common: #8a8f98;
  --r-rare: #4aa8ff;
  --r-epic: #a993ff;
  --r-legendary: #f5b544;
  --r-mythic: #ff6b8a;
}
.sf-dialog { --r-common: #8a8f98; --r-rare: #4aa8ff; --r-epic: #a993ff; --r-legendary: #f5b544; --r-mythic: #ff6b8a; --sf-gold: #f5b544; --sf-cyan: #6fd8ff; }
.sf-main { width: min(var(--p-content, 1440px), calc(100% - var(--p-gutter, 16px) * 2)); margin: 0 auto; padding-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sf-main > * { min-width: 0; }
.sf-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--p-violet-ink); font: 500 12px var(--p-mono); letter-spacing: .04em; text-transform: uppercase; }
.sf-kicker .ui-icon { width: 14px; height: 14px; }
.sf-muted { color: var(--p-ink-3); }
.sf-small { font-size: 13px; }
.sf-star { width: 1em; height: 1em; vertical-align: -.12em; }

/* rarities */
.rarity-common { --r: var(--r-common); }
.rarity-rare { --r: var(--r-rare); }
.rarity-epic { --r: var(--r-epic); }
.rarity-legendary { --r: var(--r-legendary); }
.rarity-mythic { --r: var(--r-mythic); }
.sf-rarity { display: inline-flex; align-items: center; gap: 6px; color: var(--r, var(--r-common)); font: 500 11px var(--p-mono); letter-spacing: .04em; text-transform: uppercase; }
.sf-rarity::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--r); box-shadow: 0 0 8px var(--r); }
.rarity-mythic .sf-rarity::before, .sf-rarity.rarity-mythic::before { background: conic-gradient(#ff6b8a, #f5b544, #a993ff, #ff6b8a); }

/* buttons */
.sf-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--p-r-s); color: var(--p-ink); background: var(--p-surface-2); box-shadow: inset 0 0 0 1px var(--p-line-2); font: 500 14px var(--p-font); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .15s, filter .15s; }
.sf-btn .ui-icon { width: 16px; height: 16px; }
@media (hover: hover) { .sf-btn:hover { background: var(--p-surface-3); } }
.sf-btn:disabled, .sf-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.sf-btn-primary { color: var(--p-on-solid); background: var(--p-solid); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
@media (hover: hover) { .sf-btn-primary:hover { background: #fff; } }
.sf-btn-hot { color: var(--p-on-solid); background: var(--p-solid); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 24px -10px rgba(255, 255, 255, .3); }
@media (hover: hover) { .sf-btn-hot:hover { background: #fff; } }
.sf-btn-gold { color: #241500; background: linear-gradient(180deg, #ffd88a, var(--p-gold)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
@media (hover: hover) { .sf-btn-gold:hover { filter: brightness(1.06); background: linear-gradient(180deg, #ffd88a, var(--p-gold)); } }
.sf-btn-ghost { background: transparent; }
.sf-btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.sf-btn-sm .ui-icon { width: 15px; height: 15px; }
.sf-btn .sf-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; color: #fff; background: var(--p-coral-solid, #e5482b); font: 500 11.5px var(--p-mono); }
.sf-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* consent */
.sf-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--p-ink-3); font-size: 13px; line-height: 1.5; cursor: pointer; }
.sf-consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--p-violet); }
.sf-consent a { color: var(--p-ink); text-decoration: underline; text-decoration-color: var(--p-line-3); text-underline-offset: 3px; }

/* reward artwork */
.sf-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.sf-art .ui-icon { width: 28px; height: 28px; }
.sf-art-deco .deco-avatar { pointer-events: none; }
.sf-art-badge { gap: 2px; align-content: center; color: var(--p-ink); }
.sf-art-badge .ui-icon { width: 24px; height: 24px; margin-bottom: 4px; }
.sf-art-badge b { font: 500 22px/1 var(--p-mono); letter-spacing: -.04em; }
.sf-art-badge small { color: var(--p-ink-4); font: 400 10.5px var(--p-mono); letter-spacing: .04em; text-transform: uppercase; }
.sf-art-badge.is-premium .ui-icon { color: var(--sf-gold); filter: drop-shadow(0 0 10px rgba(245, 181, 68, .5)); }
.sf-art-badge.is-xp .ui-icon { color: var(--sf-cyan); filter: drop-shadow(0 0 10px rgba(111, 216, 255, .5)); }
.sf-art-name b { font: 600 34px var(--p-display); letter-spacing: -.04em; background: linear-gradient(90deg, #ff8fb1, #a993ff, #6fd8ff, #ff8fb1); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sf-flow 5s linear infinite; }
.sf-art-color i { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#ff6b8a, #f5b544, #c6ff3d, #6fd8ff, #8b6cff, #ff6b8a); box-shadow: 0 0 0 3px var(--p-surface-3); animation: sf-spin 10s linear infinite; }
.sf-art-effect { overflow: hidden; border-radius: 12px; }
.sf-art-effect .pfx { --profile-a: #8b6cff; --profile-b: #ff6b8a; inset: 6px; border-radius: 10px; background: #0c0d0f; box-shadow: inset 0 0 0 1px var(--p-line-2); contain: layout paint; }
.sf-art-effect > b { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--p-ink); background: rgba(8, 9, 10, .55); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.sf-art-effect > b .ui-icon { width: 16px; height: 16px; }
.sf-avatar-fallback { width: var(--s); height: var(--s); border-radius: 50%; background: var(--p-surface-3); }

/* dialogs (the card itself is styled with every other dialog in /ui/prism.css) */
body.sf-locked { overflow: hidden; }
.sf-dialog { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; }
.sf-dialog-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.sf-dialog-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .2s, transform .28s var(--p-out, ease); }
.sf-dialog.is-open .sf-dialog-backdrop { opacity: 1; }
.sf-dialog.is-open .sf-dialog-card { opacity: 1; transform: none; }
.sf-dialog.is-leaving .sf-dialog-backdrop, .sf-dialog.is-leaving .sf-dialog-card { opacity: 0; }
.sf-dialog-x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--p-r-s); color: var(--p-ink-3); background: rgba(8, 9, 10, .72); box-shadow: inset 0 0 0 1px var(--p-line-2); cursor: pointer; }
.sf-dialog-x:hover { color: var(--p-ink); background: var(--p-hover-2); }
.sf-dialog-x .ui-icon { width: 16px; height: 16px; }
.sf-dialog-card h2 { margin: 6px 0 8px; font: 600 24px/1.15 var(--p-display); letter-spacing: -.03em; }

.sf-celebrate { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.sf-celebrate-burst { position: absolute; top: -40px; left: 50%; z-index: -1; width: 360px; height: 240px; margin-left: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 108, 255, .3), transparent 75%); pointer-events: none; }
.sf-celebrate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; width: 100%; margin: 8px 0 4px; }
.sf-celebrate-grid.is-single { grid-template-columns: 1fr; justify-items: center; }
.sf-celebrate-item { display: grid; justify-items: center; gap: 6px; padding: 16px 10px 12px; border-radius: var(--p-r-m); background: radial-gradient(90% 60% at 50% 30%, color-mix(in srgb, var(--r) 18%, transparent), transparent 75%), var(--p-bg-2); box-shadow: inset 0 0 0 1px var(--p-line-2), inset 0 -2px 0 color-mix(in srgb, var(--r) 70%, transparent); animation: sf-pop .45s var(--p-out, ease) both; }
.sf-celebrate-item:nth-child(2) { animation-delay: .06s; } .sf-celebrate-item:nth-child(3) { animation-delay: .12s; } .sf-celebrate-item:nth-child(4) { animation-delay: .18s; }
.is-single .sf-celebrate-item { width: min(260px, 100%); padding: 24px 16px 18px; }
.sf-celebrate-item .sf-art { height: 92px; }
.is-single .sf-celebrate-item .sf-art { height: 150px; }
.sf-celebrate-item strong { font-size: 14px; font-weight: 500; line-height: 1.3; }
.sf-celebrate-item small { color: var(--r); font: 400 11px var(--p-mono); letter-spacing: .04em; text-transform: uppercase; }
.sf-confetti { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.sf-confetti i { position: absolute; top: -20px; left: var(--x); width: 6px; height: 10px; border-radius: 1px; background: var(--c); animation: sf-confetti var(--d) cubic-bezier(.2, .6, .4, 1) var(--w) forwards; }

.sf-paywait { display: grid; justify-items: center; gap: 10px; text-align: center; }
.sf-paywait-orb { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: rgba(var(--p-gold-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--p-gold-rgb), .3), 0 0 40px -10px rgba(var(--p-gold-rgb), .6); animation: sf-breathe 2.4s ease-in-out infinite; }
.sf-paywait-orb .sf-star { width: 34px; height: 34px; }
.sf-paywait-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--p-r-s); color: var(--p-ink-2); background: var(--p-bg-2); box-shadow: inset 0 0 0 1px var(--p-line-2); font-size: 14px; font-weight: 500; }
.sf-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--p-line-2); border-top-color: var(--p-ink); animation: sf-spin .8s linear infinite; }

/* section heads */
.sf-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.sf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.sf-section-head > div { flex: 1 1 320px; min-width: 0; }
.sf-section-head h2 { margin: 10px 0 0; font: 600 clamp(26px, 3vw, 36px)/1.1 var(--p-display); letter-spacing: -.03em; }
.sf-section-head p:not(.sf-kicker) { margin: 8px 0 0; max-width: 640px; color: var(--p-ink-3); }
.sf-card { position: relative; border-radius: var(--p-r-l); background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); }
.sf-skeleton { min-height: 420px; border-radius: var(--p-r-xl); background: linear-gradient(100deg, var(--p-surface) 30%, var(--p-surface-2) 50%, var(--p-surface) 70%) 0 0 / 300% 100%; animation: sf-shimmer 1.4s linear infinite; }

/* FAQ, shared by the pass and the shop */
.bp-faq-wrap { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.bp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.bp-faq details { border-radius: var(--p-r-m); background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); transition: box-shadow .15s; }
.bp-faq details[open] { box-shadow: inset 0 0 0 1px var(--p-line-2); }
.bp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px 0 18px; color: var(--p-ink); font-weight: 500; cursor: pointer; list-style: none; }
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; color: var(--p-ink-3); box-shadow: inset 0 0 0 1px var(--p-line-2); font: 400 15px/1 var(--p-mono); transition: transform .2s; }
.bp-faq details[open] summary::after { transform: rotate(45deg); color: var(--p-ink); }
.bp-faq p { margin: 0; padding: 0 18px 16px; color: var(--p-ink-3); font-size: 14px; line-height: 1.6; }

/* ====================================================================== SHOP */
.shop-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); gap: 28px; align-items: center; min-height: 420px; padding: clamp(28px, 4.4vw, 56px); overflow: hidden; isolation: isolate; border-radius: var(--p-r-xl); color: var(--p-ink); background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); }
.shop-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.shop-hero-bg > * { position: absolute; }
.shop-hero-bg .g1 { inset: 0; background: radial-gradient(40% 70% at 78% 50%, color-mix(in srgb, var(--r, #a993ff) 22%, transparent), transparent 75%); }
.shop-hero-bg .g2 { inset: 0; background: radial-gradient(40% 80% at 10% 110%, rgba(139, 108, 255, .1), transparent 70%); }
.shop-hero-bg .rays { inset: 0; background: linear-gradient(var(--p-line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--p-line) 1px, transparent 1px) 0 0 / 48px 48px; -webkit-mask-image: radial-gradient(55% 90% at 78% 50%, #000, transparent 80%); mask-image: radial-gradient(55% 90% at 78% 50%, #000, transparent 80%); }
.shop-hero-copy { display: grid; gap: 18px; align-content: center; max-width: 620px; }
.shop-hero-copy .sf-kicker { color: var(--p-violet-ink); }
.shop-hero h1 { margin: 0; font: 600 clamp(38px, 5.4vw, 68px)/1 var(--p-display); letter-spacing: -.04em; }
.shop-hero h1 span { background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero-copy > p { margin: 0; max-width: 540px; color: var(--p-ink-3); font-size: 16px; line-height: 1.6; }
.shop-hero-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 6px; color: var(--p-ink-3); background: var(--p-surface-2); box-shadow: inset 0 0 0 1px var(--p-line-2); font: 500 12px var(--p-mono); }
.shop-chip b { color: var(--p-ink); font-weight: 500; }
.shop-chip .ui-icon { width: 13px; height: 13px; }
.shop-chip.is-hot { color: var(--p-coral-ink); background: rgba(var(--p-coral-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--p-coral-rgb), .25); }
.shop-hero-stage { position: relative; display: grid; place-items: center; height: 340px; }
.shop-hero-stage::before { content: ''; position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--r, #a993ff) 22%, transparent), transparent); }
.shop-hero-stage::after { content: ''; position: absolute; bottom: 30px; width: 46%; height: 1px; background: linear-gradient(90deg, transparent, var(--p-line-3), transparent); }
.shop-hero-stage .sf-art { width: 260px; height: 260px; animation: sf-float 6s ease-in-out infinite; }
.shop-hero-dots { position: absolute; left: clamp(28px, 4.4vw, 56px); bottom: 22px; display: flex; gap: 4px; }
.shop-hero-dots button { width: 16px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--p-line-3); cursor: pointer; transition: width .3s, background-color .3s; }
.shop-hero-dots button.is-active { width: 32px; background: var(--p-ink); }

.shop-filters { position: sticky; top: calc(var(--p-header, 64px) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 6px; border-radius: var(--p-r-m); background: rgba(15, 16, 18, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--p-line); }
.shop-filter-row { display: flex; flex-wrap: wrap; gap: 2px; }
.shop-filter-row button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 7px; color: var(--p-ink-3); background: transparent; font: 500 13px var(--p-font); cursor: pointer; transition: background-color .15s, color .15s; }
.shop-filter-row button:hover { color: var(--p-ink); }
.shop-filter-row button.is-active { color: var(--p-ink); background: var(--p-surface-3); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.shop-filter-row button i { color: var(--p-ink-4); font: 400 11px var(--p-mono); font-style: normal; }
.shop-filters .ts-custom-select { flex: none; width: 200px; }
.shop-sort { height: 32px; padding: 0 10px; border: 0; border-radius: 7px; color: var(--p-ink); background: var(--p-surface-2); box-shadow: inset 0 0 0 1px var(--p-line-2); font: 500 13px var(--p-font); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shop-card { position: relative; display: grid; grid-template-rows: 220px auto; overflow: hidden; border: 0; padding: 0; border-radius: var(--p-r-l); color: var(--p-ink); text-align: left; font: inherit; background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.shop-card:focus-visible { outline: 2px solid var(--p-violet); outline-offset: 2px; }
.shop-card-stage { position: relative; display: grid; place-items: center; overflow: hidden; margin: 6px 6px 0; border-radius: 10px; background: radial-gradient(60% 55% at 50% 45%, color-mix(in srgb, var(--r) 18%, transparent), transparent 75%), var(--p-bg-2); box-shadow: inset 0 0 0 1px var(--p-line); }
.shop-card-stage::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--r); box-shadow: 0 0 10px var(--r); opacity: .75; }
.shop-card-stage .sf-art { width: 150px; height: 150px; transition: transform .35s var(--p-out, ease); }
@media (hover: hover) {
  .shop-card:hover { background: var(--p-surface-2); box-shadow: inset 0 0 0 1px var(--p-line-3); }
  .shop-card:hover .shop-card-stage .sf-art { transform: scale(1.05); }
}
.shop-card-badges { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: space-between; gap: 6px; }
.shop-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 6px; color: var(--p-ink-2); background: rgba(8, 9, 10, .7); box-shadow: inset 0 0 0 1px var(--p-line-2); font: 500 11px var(--p-mono); }
.shop-badge .ui-icon { width: 12px; height: 12px; }
.shop-badge .sf-rarity::before { width: 5px; height: 5px; }
.shop-badge.is-drop { color: var(--p-coral-ink); box-shadow: inset 0 0 0 1px rgba(var(--p-coral-rgb), .35); }
.shop-badge.is-soon { color: #8fc8ff; box-shadow: inset 0 0 0 1px rgba(74, 168, 255, .35); }
.shop-badge.is-owned { color: var(--p-mint-ink); box-shadow: inset 0 0 0 1px rgba(var(--p-mint-rgb), .35); }
.shop-badge.is-out { color: var(--p-ink-4); }
.shop-card-body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.shop-card-body strong { font-size: 15.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-price { display: inline-flex; align-items: center; gap: 5px; color: var(--p-ink); font: 500 18px var(--p-mono); letter-spacing: -.02em; }
.shop-price .sf-star { width: 17px; height: 17px; }
.shop-stock { display: grid; gap: 6px; }
.shop-stock .bar { height: 3px; overflow: hidden; border-radius: 2px; background: var(--p-surface-3); }
.shop-stock .bar i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--r); }
.shop-stock small { color: var(--p-ink-4); font: 400 11.5px var(--p-mono); }
.shop-card.is-out .shop-card-stage .sf-art, .shop-card.is-ended .shop-card-stage .sf-art { filter: grayscale(.7); opacity: .55; }
.shop-timer { display: inline-flex; align-items: center; gap: 5px; color: var(--p-gold-ink); font: 400 11.5px var(--p-mono); white-space: nowrap; }
.shop-timer b { font-weight: 500; }
.shop-timer .ui-icon { width: 13px; height: 13px; }
.shop-empty { display: grid; justify-items: center; gap: 10px; padding: 64px 20px; border-radius: var(--p-r-l); text-align: center; background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); }
.shop-empty .ui-icon { width: 22px; height: 22px; color: var(--p-ink-3); }
.shop-empty > .ui-icon { box-sizing: content-box; padding: 11px; border-radius: 12px; background: var(--p-surface-3); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.shop-empty h2, .shop-empty h3 { margin: 6px 0 0; font: 600 20px var(--p-display); letter-spacing: -.02em; }
.shop-empty p { margin: 0; max-width: 420px; }

.shop-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.shop-promo { position: relative; display: grid; gap: 10px; align-content: end; min-height: 220px; padding: 28px; overflow: hidden; isolation: isolate; border-radius: var(--p-r-l); color: var(--p-ink); text-decoration: none; background: var(--p-surface); box-shadow: inset 0 0 0 1px var(--p-line); transition: box-shadow .2s, background-color .2s; }
.shop-promo:hover { background: var(--p-surface-2); box-shadow: inset 0 0 0 1px var(--p-line-3); }
.shop-promo::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(50% 80% at 95% 0%, var(--pa), transparent 70%); }
.shop-promo .sf-kicker { color: var(--p-gold-ink); }
.shop-promo h3 { margin: 0; font: 600 26px/1.1 var(--p-display); letter-spacing: -.03em; }
.shop-promo .sf-kicker, .shop-promo h3 { padding-right: 64px; }
.shop-promo p { margin: 0; max-width: 440px; color: var(--p-ink-3); font-size: 14.5px; line-height: 1.55; }
.shop-promo p b { color: var(--p-ink); font: 500 13.5px var(--p-mono); }
.shop-promo .ui-icon.big { position: absolute; right: 24px; top: 24px; box-sizing: content-box; width: 22px; height: 22px; padding: 13px; border-radius: 12px; color: var(--p-ink-2); background: var(--p-surface-3); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.shop-promo .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--p-ink); font-size: 14px; font-weight: 500; }
.shop-promo .go .ui-icon { width: 15px; height: 15px; transition: transform .2s; }
.shop-promo:hover .go .ui-icon { transform: translateX(3px); }

.shop-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.shop-detail-stage { position: relative; display: grid; place-items: center; height: 260px; overflow: hidden; border-radius: var(--p-r-m); background: radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--r) 22%, transparent), transparent 75%), linear-gradient(var(--p-line) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--p-line) 1px, transparent 1px) 0 0 / 32px 32px, var(--p-bg-2); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.shop-detail-stage .sf-art { width: 210px; height: 210px; }
.shop-try { position: absolute; bottom: 12px; display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(8, 9, 10, .75); box-shadow: inset 0 0 0 1px var(--p-line-2); }
.shop-try button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; color: var(--p-ink-3); background: transparent; font: 500 12.5px var(--p-font); cursor: pointer; }
.shop-try button.is-active { color: var(--p-ink); background: var(--p-surface-3); }
.shop-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--p-r-m); background: var(--p-line); box-shadow: inset 0 0 0 1px var(--p-line); }
.shop-detail-facts div { display: grid; gap: 4px; padding: 12px 14px; background: var(--p-bg-2); }
.shop-detail-facts small { color: var(--p-ink-4); font: 400 11px var(--p-mono); letter-spacing: .04em; text-transform: uppercase; }
.shop-detail-facts b { font-size: 14.5px; font-weight: 500; }
.shop-detail .sf-btn { width: 100%; }
.shop-detail .sf-muted { margin: 0; }

/* ====================================================================== motion */
@keyframes sf-flow { to { background-position: 100% 0; } }
@keyframes sf-spin { to { transform: rotate(360deg); } }
@keyframes sf-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes sf-breathe { 50% { transform: scale(1.05); } }
@keyframes sf-float { 50% { transform: translateY(-8px); } }
@keyframes sf-shimmer { to { background-position: -150% 0; } }
@keyframes sf-confetti { to { transform: translate(var(--drift), 110vh) rotate(var(--r)); } }

/* ====================================================================== responsive */
@media (max-width: 1080px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-stage { height: 240px; order: -1; }
  .shop-hero-stage .sf-art { width: 200px; height: 200px; }
}
@media (max-width: 680px) {
  .sf-main { gap: 16px; padding-top: 16px; }
  .shop-hero { min-height: 0; padding: 24px 20px 44px; }
  .shop-hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .shop-hero .sf-actions .sf-btn { flex: 1 1 100%; }
  .shop-hero-dots { left: 20px; bottom: 20px; }
  .shop-filters { position: static; }
  .shop-filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .shop-filter-row::-webkit-scrollbar { display: none; }
  .shop-filter-row button { flex: none; }
  .shop-filters .ts-custom-select { width: 100%; }
  .shop-promos { grid-template-columns: 1fr; }
  .shop-promo { min-height: 200px; padding: 22px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shop-card { grid-template-rows: 150px auto; }
  .shop-card-stage .sf-art { width: 104px; height: 104px; }
  .shop-card-body { gap: 8px; padding: 12px; }
  .shop-card-body strong { font-size: 14px; }
  .shop-card-foot { flex-wrap: wrap; gap: 4px 10px; }
  .shop-price { font-size: 16px; }
  .sf-dialog-card { padding: 20px 16px; }
  .shop-detail-facts { grid-template-columns: 1fr 1fr; }
  .shop-detail-facts div:last-child { grid-column: 1 / -1; }
  .bp-faq { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-hero-stage .sf-art, .sf-art-color i, .sf-art-name b, .sf-paywait-orb, .sf-celebrate-item { animation: none !important; }
}
