@property --store-seat-shift {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

/* CrownCards 1.5.9 PackStage, BoxHero and BottomOverlay. All store rules
   live under the route root so the original card-detail renderer stays intact. */
.store-page {
  --store-line: rgba(217,205,255,.17);
  --store-muted: #c1bace;
  --store-light: #f6edff;
  --store-radius: 22px;
  max-width: 1240px;
  color: var(--store-light);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
}
.store-page .store-toolbar, .store-page .store-categories, .store-page .store-category,
.store-page .store-pool-head, .store-page .store-dock { display: flex; align-items: center; }
.store-page .store-toolbar { gap: 12px; justify-content: space-between; margin-bottom: 14px; }
.store-page .store-categories { padding: 4px; gap: 3px; background: #191621; border: 1px solid var(--store-line); border-radius: 15px; }
.store-page .store-category { gap: 7px; justify-content: center; padding: 5px 12px; min-height: 44px; white-space: nowrap; border-radius: 11px; color: #c8c2d1; font-weight: 700; font-size: .86rem; }
.store-page .store-category-art { width: 29px; height: 29px; object-fit: contain; }
.store-page .store-category[aria-current], .store-page .store-category:hover { background: #383043; color: white; }
.store-page .store-category[aria-current] { box-shadow: inset 0 0 0 1px #b49cd766; }
.store-page .store-back, .store-page .store-odds { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; font-weight: 650; color: #e1d3f8; }
.store-page .store-odds::after { content: '›'; margin-left: .45em; font-size: 1.25em; }
.store-page .store-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,1fr); gap: 16px; align-items: start; }
.store-page .store-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; border: 1px solid var(--store-line); border-radius: var(--store-radius); background: #100d21 url('/art/store-pack-bg.webp') center 28% / cover; }
.store-page.store-detail .store-hero { background: #130f0a url('/art/store-box-content-bg.webp') center 22% / cover; }
.store-page .store-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; touch-action: pan-y pinch-zoom; user-select: none; height: clamp(225px, 31vw, 360px); overflow: hidden; }
.store-page .store-stage:focus-visible { outline: 2px solid #fddc7a; outline-offset: -5px; }
.store-page .store-stage::before { content: ''; position: absolute; inset: 7% 5% 0; background: radial-gradient(ellipse at 50% 66%, #a260ff4d, transparent 63%); pointer-events: none; }
.store-page.store-detail .store-stage::before { background: radial-gradient(ellipse at 50% 68%, #dda94538, transparent 68%); }
.store-page .store-stage::after { content: ''; position: absolute; bottom: 5%; width: 42%; height: 8%; border-radius: 50%; background: #05030bb0; filter: blur(9px); z-index: 0; }
.store-page .store-featured-art, .store-page .store-neighbor { object-fit: contain; pointer-events: none; }
.store-page .store-featured-art { z-index: 1; min-height: 0; width: 67%; height: 92%; filter: drop-shadow(0 13px 16px #05030a75); }
.store-home .store-seat {
  --position: calc(var(--store-seat) + var(--store-seat-shift));
  --depth: min(1, max(var(--position), calc(-1 * var(--position))));
  grid-area: 1 / 1;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: calc(1 - var(--depth));
  transform: translate(calc(49.5% * var(--position)), calc(9.5% * var(--depth)));
  opacity: calc(1 - .58 * var(--depth));
}
.store-home .store-seat > img {
  width: calc(67% - 32% * var(--depth));
  height: calc(92% - 39% * var(--depth));
  min-height: 0;
  transform: rotate(calc(7deg * clamp(-1, var(--position), 1)));
  filter: saturate(calc(1 - .3 * var(--depth))) drop-shadow(0 13px 16px #05030a75);
}
.reduced-motion .store-home .store-seat { --position: var(--store-seat); }
@media (prefers-reduced-motion: reduce) {
  .store-home .store-seat { --position: var(--store-seat); }
}
.store-page .store-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff4; background: #141120ce; }
.store-page .store-arrow::after { content: ''; width: 10px; height: 10px; border: solid white; border-width: 2px 2px 0 0; }
.store-page .store-previous { left: 12px; }
.store-page .store-next { right: 12px; }
.store-page .store-previous::after { transform: translateX(2px) rotate(-135deg); }
.store-page .store-next::after { transform: translateX(-2px) rotate(45deg); }
.store-page .store-arrow:hover { background: #362b49; border-color: #ded0ff; }
.store-page .store-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.store-page .store-intro { position: relative; padding: 4px clamp(14px,3vw,36px) 20px; }
.store-page .store-kicker { margin: 0 0 5px; color: #cbc0de; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.store-page h1 { margin: 0 auto; font-size: clamp(2rem,4.2vw,3.75rem); font-weight: 850; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.store-page.store-detail h1 { color: #fddc7a; }
.store-page .store-description { max-width: 44ch; margin: 9px auto 15px; color: #d1cbdc; font-size: .91rem; line-height: 1.45; }
.store-page .store-stats { display: flex; align-items: start; justify-content: center; gap: clamp(12px,3vw,34px); margin: 0; }
.store-page .store-stats dt { color: var(--store-muted); font-size: .71rem; font-weight: 550; }
.store-page .store-stats dd { margin: 2px 0 0; font-size: .93rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.store-page .store-pool { padding: clamp(12px,1.8vw,22px); border: 1px solid var(--store-line); border-radius: var(--store-radius); background: #191621; min-width: 0; }
.store-page .store-pool-head { gap: 12px; justify-content: space-between; margin-bottom: 10px; }
.store-page .store-pool h2 { margin: 0; font-size: clamp(1.2rem,2vw,1.5rem); letter-spacing: -.035em; }
.store-page .store-odds { max-width: 45%; text-align: right; line-height: 1.2; }
.store-page .items-section { margin: 0; }
.store-page .items { display: grid; grid-template-columns: 1fr; gap: 8px; }
.store-page .item { display: grid; grid-template-columns: minmax(72px,29%) minmax(0,1fr); align-items: stretch; min-width: 0; border: 1px solid var(--store-line); border-radius: 13px; background: #24202d; overflow: hidden; }
.store-page .item:hover { border-color: #a68ebc; }
.store-page .art-well { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 84px; aspect-ratio: 1.25; background: #2a2336; border: 0; }
.store-page .art-well:has(.merch-photo) { background: #ece1d9; }
.store-page .item-art { width: 100%; height: 100%; object-fit: contain; }
.store-page .item-copy { min-width: 0; align-self: center; padding: 10px 13px; }
.store-page .item .meta { font-size: .65rem; color: #edcd8a; letter-spacing: .04em; }
.store-page .item h3 { font-size: 1.06rem; margin: 3px 0; }
.store-page .item p { color: #c8c1d3; font-size: .8rem; }
.store-page .item .arrow { display: none; }
.store-page .store-note { color: var(--store-muted); font-size: .79rem; margin: 15px 2px; }
.store-page .store-pool > .related { margin: 0 0 12px; }
.store-page .related-link { min-height: 44px; }
.store-page .store-more { margin: 0 0 14px; border-block: 1px solid var(--store-line); }
.store-page .store-more > summary { cursor: pointer; padding: 12px 4px; min-height: 44px; font-size: .88rem; font-weight: 650; }
.store-page .store-more > summary:focus-visible { outline: 2px solid #fddc7a; outline-offset: 1px; }
.store-page .store-more > nav { margin: 0; padding: 0 0 12px; }
.store-page .store-dock { position: sticky; z-index: 3; bottom: 10px; gap: 16px; padding: 10px 12px 10px 18px; justify-content: space-between; border-radius: 17px; border: 1px solid #f3d69850; background: #211b29f5; box-shadow: 0 6px 25px #0008; }
.store-page .store-dock .store-stats { flex-shrink: 0; }
.store-page .store-dock .store-stats dd { color: #fddc7a; font-size: 1.1rem; }
.store-page .store-dock .model-form { flex: 1; margin: 0; max-width: 440px; }
.store-page .store-dock .button, .store-page .store-resume { width: 100%; min-height: 48px; justify-content: center; border: 1px solid #ffeba5; border-radius: 13px; font-size: 1.02rem; font-weight: 800; background: linear-gradient(110deg,#f0cf77,#ffe6a0 48%,#f1c873); color: #281a0e; box-shadow: inset 0 1px #fff8; }
.store-page .store-resume { display: grid; place-items: center; max-width: 440px; text-align: center; }
.store-page .store-dock .form-status:empty { display: none; }
@media (max-width: 980px) {
  .store-page .store-layout { grid-template-columns: 1fr; }
  .store-page .items { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .store-page .item { display: flex; flex-direction: column; align-items: stretch; }
  .store-page .item-copy { align-self: stretch; }
  .store-page .art-well { aspect-ratio: 1.35; min-height: 0; }
}
@media (max-width: 760px) {
  .store-page { --store-radius: 17px; }
  .store-page .store-toolbar { flex-wrap: wrap; gap: 2px 10px; margin-bottom: 9px; }
  .store-page .store-categories { width: 100%; }
  .store-page .store-category { padding: 4px 2px; flex: 1; gap: 4px; font-size: .77rem; }
  .store-page .store-category-art { width: 24px; height: 24px; }
  .store-page .store-layout { gap: 10px; }
  .store-page .store-stage { height: clamp(145px,21svh,194px); }
  .store-page .store-intro { padding: 0 12px 14px; }
  .store-page .store-stats { gap: 16px; }
  .store-page .store-pool { padding: 11px; }
  .store-page .store-pool-head { margin: 0 0 6px; }
  .store-page .item-copy { padding: 7px; }
  .store-page .item h3 { font-size: .94rem; }
  .store-page .store-dock { bottom: calc(var(--store-nav-height, 62px) + env(safe-area-inset-bottom)); padding: 8px 9px 8px 14px; }
  .store-page .store-dock .button { font-size: .92rem; }
}
@media (max-width: 355px) {
  .store-page .store-category { flex-direction: column; gap: 2px; white-space: normal; text-align: center; }
  .store-page .items { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.store-live .store-toolbar { min-width: 0; }
.store-live .store-toolbar > .related-link { flex: none; }
.store-page .store-choices { display: flex; gap: 5px; align-items: center; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.store-page .store-choice { flex: none; display: grid; place-items: center; min-height: 44px; padding: 5px 12px; border-radius: 10px; border: 1px solid var(--store-line); background: #211c2a; font-size: .82rem; }
.store-page .store-choice[aria-current] { color: #ffdf92; background: #382d23; border-color: #b59355; }
.store-live .store-intro .store-choices { margin-top: 14px; justify-content: safe center; }
.store-live .store-pool .items, .store-directory .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(135px,100%),1fr)); gap: 8px; }
.store-live .store-pool .item, .store-directory .item { display: flex; flex-direction: column; }
.store-live .store-pool .item-copy, .store-directory .item-copy { width: 100%; padding: 9px; }
.store-live .store-pool .art-well, .store-directory .art-well { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.25; }
.store-live .item-art, .store-directory .item-art { transform: none; padding: 3px; filter: none; }
.store-live .store-sample-group .items { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: clamp(124px, 13vw, 175px); overflow-x: auto; padding: 0 2px 8px; scroll-snap-type: x proximity; }
.store-sample-group .item { scroll-snap-align: start; }
.store-page .store-tier-heading { display: flex; align-items: baseline; gap: 10px; margin: 15px 0 6px; font-size: 1rem; }
.store-tier-heading span { color: #c6bdcf; font-size: .75rem; font-weight: 500; }
.store-page.store-directory .controls, .store-live .store-pool .controls { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(160px,100%),1fr)); gap: 10px; }
.store-directory .controls .actions, .store-live .store-pool .controls .actions { grid-column: 1/-1; }
.store-page.store-directory .field, .store-live .store-pool .field { margin: 0; }
.store-directory .store-description { max-width: unset; margin-left: 0; }
.store-directory .store-stats { justify-content: start; }
.store-directory h1 { margin-right: 36px; }
#page-dialog:has(.store-directory) { width: min(940px,calc(100% - 20px)); max-width: 100%; }
@media (min-width: 981px) {
  .store-detail.store-live .store-layout { grid-template-columns: minmax(260px,.8fr) minmax(0,1.4fr); }
}
@media (max-width: 760px) {
  .store-live .store-toolbar { flex-wrap: nowrap; gap: 6px; }
  .store-live .store-choice { padding-inline: 8px; }
  .store-live .store-toolbar > .related-link { padding-inline: 8px; }
  .store-live .store-pool .items, .store-directory .items { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .store-live .store-sample-group .items { grid-template-columns: none; }
}
@media (min-width: 981px) {
  .store-detail.store-live .store-hero { position: sticky; top: calc(var(--mast, 60px) + 10px); }
  .store-live .store-sample-group .items { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); overflow: visible; }
}

/* PackArtwork's primary-to-dark palette and translucent diagonal face. */
.store-page .store-art-fallback {
  --pack-base: color-mix(in srgb, var(--pack-accent) 18%, #0e0e1a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 7;
  border: 1px solid color-mix(in srgb, var(--pack-accent) 42%, transparent);
  border-radius: 12%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pack-accent) 44%, transparent), var(--pack-base), color-mix(in srgb, var(--pack-accent) 33%, transparent)), #0e0e1a;
  color: var(--pack-accent);
  letter-spacing: .17em;
  pointer-events: none;
}
.store-page .store-art-fallback small { font-size: .52em; }
.store-live .store-seat > .store-art-fallback {
  height: calc(92% - 39% * var(--depth));
  max-width: calc(67% - 32% * var(--depth));
  transform: rotate(calc(7deg * clamp(-1, var(--position), 1)));
}
.store-directory .art-well > .store-art-fallback { height: 88%; margin: auto; }

.shop-pull-controls { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 12px auto; }
.shop-pull-value, .shop-mode-trigger {
  min-width: 88px; display: grid; place-content: center; gap: 2px; padding: 0 14px; text-align: center;
}
.shop-pull-value + .shop-pull-value, .shop-mode-trigger { border-left: 1px solid #ffffff20; }
.shop-pull-controls span { font-size: 12px; color: #bebccc; }
.shop-pull-controls strong { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.25; }
.shop-mode-trigger { background: none; border-block: 0; border-right: 0; anchor-name: --shop-mode; }
.shop-mode-trigger strong::after { content: '⌄'; margin-left: 7px; font-size: .75em; }
.shop-mode-trigger, .shop-inside-button, .store-page .shop-preview-links { display:none; }
@media (min-width: 1024px) {
  :root:has(main > .store-home.store-live) { --rail: 248px; --mast: 64px; }
  body:has(main > .store-home.store-live) { background: #101025; }
  body:has(main > .store-home.store-live) :is(.mast,.rail) { background-color: #17172e; }
  body:has(main > .store-home.store-live) .mast { padding-left: calc(var(--rail) + 32px); }
  body:has(main > .store-home.store-live) .frame { max-width: none; }
}
main:has(> .store-home.store-live) { padding: 0; }
.page.store-home.store-live {
  --shop-height: max(635px,calc(100svh - var(--mast)));
  display: grid; position: relative; isolation: isolate; overflow-x: clip; max-width: none; margin: 0; padding: 0;
  grid-template: 'stage' minmax(335px,calc(var(--shop-height) - 270px)) 'intro' 159px 'purchase' 111px
    'pool' auto 'note' auto 'more' auto / minmax(0,1fr);
  color: #fff; background: #101025;
}
.store-home.store-live::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: var(--shop-height);
  background: radial-gradient(ellipse at 50% 34%,#eeeef77d,transparent 43%),
    repeating-conic-gradient(from 8deg at 50% 34%,transparent 0deg 7deg,#bfc5d72d 13deg 17deg,transparent 24deg 34deg),#17172c;
  mask-image: linear-gradient(#000 0 38%, transparent 99%);
}
.store-home.store-live .store-toolbar {
  grid-area: stage; z-index: 3; align-self: start; justify-self: center; justify-content: center;
  gap: 6px; margin: 12px 0 0; max-width: calc(100% - 64px); padding: 0; pointer-events: none;
}
.store-home.store-live .store-toolbar > * { pointer-events: auto; }
.store-home.store-live .store-toolbar .store-choice, .store-home.store-live .store-toolbar .store-back {
  min-height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 100px;
  white-space: nowrap; background: #181729c9; color: #dfdae9; font-size: 14px;
}
.store-home.store-live .store-toolbar .store-choice[aria-current] { border-color: #ffffff75; color: white; background: #ffffff20; }
.store-home.store-live .store-toolbar .store-choice { display:inline-flex; align-items:center; gap:6px; }
.shop-category-icon { width:18px; height:18px; object-fit:contain; }
.store-home.store-live :is(.store-layout,.store-hero) { display: contents; }
.store-home.store-live .store-stage {
  grid-area: stage; container-type: size; width: min(100%,max(1180px,78vw)); justify-self: center; height: 100%; min-height: 0; background: none;
}
.store-home.store-live .store-stage::before, .store-home.store-live .store-stage::after { display: none; }
.store-home.store-live .store-seat {
  --side: clamp(-1, var(--position), 1);
  --far: min(1, max(0, max(var(--position), calc(-1 * var(--position))) - 1));
  --scale: calc(1 - .70 * var(--depth) - .036 * var(--far));
  --art-height: min(56cqh, 27cqw);
  --art-width: min(79cqh, 38cqw);
  transform: translate(calc(var(--near-offset,26.2%) * var(--side) + var(--far-step,12.3%) * (var(--position) - var(--side))), -1%);
  opacity: calc(1 - .18 * var(--depth) - .12 * var(--far));
}
.store-home.store-live .store-seat > :is(img,.store-art-fallback) {
  width: calc(var(--art-width) * var(--scale)); height: calc(var(--art-height) * var(--scale));
  max-width: none; transform: none; filter: drop-shadow(0 14px 12px #0908186b);
}
.store-home.store-live .shop-pack-label {
  position: absolute; top: calc(50% + var(--art-height) * var(--scale) / 2 + 4px);
  display: grid; justify-items: center; gap: 2px; max-width: min(135px,27cqw); color: white;
  font-size: 12px; font-weight: 750; line-height: 1.25; text-align: center; text-shadow: 0 1px 4px #080815;
}
.shop-pack-label strong { width: max-content; border-radius: 100px; background: #19192dd9; padding: 3px 9px; }
a.shop-pack-label { pointer-events: auto; }
.store-home.store-live .store-intro {
  grid-area: intro; margin: auto auto 0; min-width: 0; width: min(100%,650px); max-width: none; padding: 0 12px;
  display: grid; grid-template-columns: minmax(36px,1fr) auto minmax(36px,1fr); align-items: center; gap: 5px 8px; text-align: center;
}
.store-home.store-live .store-intro > :is(.store-kicker,.store-description,.store-stats,.related,.store-choices) { display: none; }
.store-home.store-live .store-intro h1 {
  grid-column: 2; max-width: 100%; margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -.01em;
}
.store-home.store-live .shop-inside-button {
  display: grid; place-items: center; border-radius: 50%; width: 36px; height: 36px; background: #ffffff0d; color: white;
}
.shop-eye { display: grid; place-content: center; width: 18px; height: 12px; border: 1.6px solid currentColor; border-radius: 65% 35%; transform: rotate(12deg); }
.shop-eye::after { content: ''; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.store-home.store-live .shop-pull-controls { grid-column: 1 / -1; width: 100%; min-height: 54px; margin: 5px 0 0; }
.store-home.store-live .shop-pull-value, .store-home.store-live .shop-mode-trigger { display: grid; width: 150px; }
.store-home.store-live .shop-pull-value strong,.store-home.store-live .shop-mode-trigger strong { font-size: 24px; }
.store-home.store-live .store-dock {
  position: static; grid-area: purchase; align-self: start; justify-self: center; width: min(460px,90%); margin: 19px 0 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none;
}
.store-home.store-live .store-dock .store-stats { display: none; }
.store-home.store-live .store-dock .model-form, .store-home.store-live .store-dock .button { width: 100%; max-width: none; margin: 0; }
.store-home.store-live .store-dock .button {
  min-height: 56px; border-radius: 12px; border: 1px solid #7051ff; color: white; background: linear-gradient(#3821ba,#5b39ed);
}
.store-home.store-live .store-pool { grid-area: pool; min-width: 0; padding: 50px clamp(24px,4.6vw,80px); border: 0; background: none; }
.store-home.store-live .store-pool h2 { font-size: 28px; }
.store-home.store-live .store-pool .items { grid-template-columns: repeat(auto-fill,minmax(135px,1fr)); }
.store-home.store-live .store-sample-group .item { background: #232239; border-radius: 16px; }
.store-home.store-live .store-sample-group .item-copy .meta { display: none; }
.store-home.store-live .store-note { grid-area: note; }
.store-home.store-live .store-more { grid-area: more; }
.store-home.store-live :is(.store-note,.store-more) { margin-inline: clamp(24px,4.6vw,80px); }


.shop-category-row { display: flex; align-items: center; gap: 6px; max-width: 100%; }
.shop-category-row > nav { min-width: 0; }
.shop-category-more { position: relative; flex: none; }
.shop-category-more > summary { cursor: pointer; list-style: none; }
.shop-category-more > summary::after { content: '⌄'; margin-left: 4px; }
.shop-category-more > summary::-webkit-details-marker { display: none; }
.store-home.store-live .shop-category-more > summary { display: flex; align-items: center; }
.shop-category-more > nav {
  position: absolute; top: calc(100% + 6px); right: 0; width: max-content; max-width: 80vw;
  display: grid; gap: 3px; padding: 6px; border: 1px solid #2f2f59; border-radius: 14px; background: #171732;
}
.shop-pack-tools { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 8px; }
.shop-pack-tools > * { display: grid; place-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; background: #ffffff0d; color: white; font-size: 13px; }
.shop-quantity { font-variant-numeric: tabular-nums; }
.shop-tool:hover { background: #ffffff24; }
.store-home.store-live .shop-list-modes { justify-content: safe center; margin-block: 12px; }
.shop-account-context { text-align: center; color: var(--store-muted); }
.store-page .shop-mobile-category { display: none; }
@media (max-width: 1023px) {
  .page.store-home.store-live {
    --shop-bottom: 0px;
    --shop-height: max(445px,calc(100svh - var(--mast) - var(--shop-bottom)));
    grid-template: 'stage' minmax(210px,calc(var(--shop-height) - 223px)) 'intro' auto 'purchase' 78px
      'pool' auto 'categories' auto 'note' auto 'more' auto / minmax(0,1fr);
  }
  .store-home.store-live .store-toolbar { grid-area: categories; max-width: calc(100% - 24px); margin: 8px auto; }
  .store-home.store-live .shop-category-more > nav { top: auto; bottom: calc(100% + 6px); }
  .store-home.store-live .store-arrow { top: 66%; }
  .store-home.store-live::before {
    background: repeating-conic-gradient(from 8deg at 50% 36%, transparent 0deg 7deg,
        color-mix(in srgb,var(--shelf-light) 19%,transparent) 13deg 17deg,transparent 24deg 34deg),
      radial-gradient(ellipse 105% 65% at 50% 36%,var(--shelf-light),
        color-mix(in srgb,var(--shelf-light) 40%,transparent) 45%,transparent 95%),#17172c;
    mask-image: linear-gradient(#000 0 43%,transparent 100%);
  }
  .store-home.store-live .store-seat {
    --near-offset: 39%; --far-step: 19%;
    --art-height: min(78cqh,88.4cqw); --art-width: min(95cqh,66cqw);
    transform: translateX(calc(var(--near-offset) * var(--side) + var(--far-step) * (var(--position) - var(--side))));
  }
  .store-home.store-live[data-category=sneakers] .store-seat {
    --art-height: min(60cqh,39cqw); --art-width: min(85cqh,55cqw);
  }
  .store-home.store-live .shop-pack-label { max-width: 22cqw; }
  .store-home.store-live .store-intro { align-self: end; gap: 6px; padding: 0 10px; }
  .store-home.store-live .store-intro h1 { font-size: clamp(19px,5.4vw,27px); }
  .store-home.store-live .shop-pull-controls { min-height: 48px; margin: 0; }
  .store-home.store-live .shop-pull-value, .store-home.store-live .shop-mode-trigger {
    width: min(30%,125px); min-width: 0; padding: 0 5px;
  }
  .store-home.store-live .shop-pull-controls strong { font-size: 20px; }
  .store-home.store-live .store-dock {
    align-self: center; width: min(calc(100% - 24px),510px); margin: 0; padding: 0; gap: 10px;
  }
  .store-home.store-live .shop-mobile-category {
    display: grid; align-content: center; justify-items: start; min-height: 52px; padding: 4px 14px; border-radius: 12px;
    background: #1c1c3b; border: 1px solid #2f2f59; color: white; font-size: 13px; line-height: 1.35;
  }
  .shop-mobile-category span { color: #c9c7da; }
  .shop-mobile-category strong::after { content: '⌃'; margin-left: 6px; }
  .store-home.store-live .store-dock .button { min-height: 52px; font-size: 16px; }
  .store-home.store-live .store-pool { padding: 24px 12px; }
  .store-home.store-live .store-pool h2 { font-size: 23px; }
  .store-home.store-live .store-sample-group .items { grid-template-columns: none; }
}
@media (max-width: 760px) {
  .page.store-home.store-live { --shop-bottom: calc(64px + env(safe-area-inset-bottom)); padding-bottom: var(--shop-bottom); }
}

/* Public /packs, after Skip. The phone keeps the two checkout controls
   above the tab bar. Desktop puts the sample shelves below the first screen. */
.store-home.store-live {
  --tier-color:#c2c7d0;
}
.store-home.store-live [data-tier=common] { --tier-color:#bec6d0; --tier-mid:#646674; }
.store-home.store-live [data-tier=uncommon] { --tier-color:#25cf80; --tier-mid:#197944; }
.store-home.store-live [data-tier=rare] { --tier-color:#548cff; --tier-mid:#1d55b8; }
.store-home.store-live [data-tier=epic] { --tier-color:#af5aff; --tier-mid:#6826ab; }
.store-home.store-live [data-tier=legendary] { --tier-color:#ff584a; --tier-mid:#a8181e; }
.store-home.store-live [data-tier=grail] { --tier-color:#ffe67b; --tier-mid:#ca810e; }

.store-home.store-live .shop-pack-tools { gap:8px; }
.shop-pack-tools > .shop-pack-strip {
  display:flex; align-items:center; justify-content:space-between; gap:8px; width:230px;
  height:44px; padding:4px; border:1px solid #ffffff38; background:#ffffff0d;
}
.shop-pack-strip .shop-quantity {
  display:grid; place-items:center; min-width:38px; height:34px; border-radius:99px;
  background:#f0ecff; color:#25203e; font-size:13px; font-weight:800; box-shadow:0 0 12px #dbabffa6;
}
.shop-pack-strip .shop-tool { padding:6px 12px; font-size:12px; border-radius:99px; }
.shop-pack-tools > .shop-tool::before { content:'ϟ'; font-size:16px; line-height:1; }
.shop-pack-tools > .shop-tool { display:flex; gap:6px; }
.store-home.store-live .shop-pull-value:nth-child(2) strong {
  color:#edc3ff;
  background:linear-gradient(100deg,#ffe291 8%,#e487ff 50%,#6ca6ff 90%); background-clip:text;
  -webkit-text-fill-color:transparent; filter:drop-shadow(0 0 4px #ae72cb7a);
}
.store-home.store-live .shop-inside-button { border:0; justify-self:start; }
.store-home.store-live .shop-odds-panel, .store-home.store-live .shop-inside-panel {
  color:#fff; font:600 14px/1.4 Manrope,sans-serif;
  border:1px solid #393650; background:#1b1a35; box-shadow:0 12px 48px #09091b80;
}
.store-home.store-live dialog:not([open]) { display:none; }
body:has(.shop-odds-panel[open],.shop-inside-panel[open]) { overflow:hidden; }
.shop-odds-panel::backdrop { background:transparent; backdrop-filter:none; }
.shop-panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.shop-panel-head h2 { margin:0; color:white; line-height:1.25; }
.shop-panel-close {
  flex:none; width:36px; height:36px; padding:0; border:0; border-radius:50%;
  color:#d3cfe2; background:#ffffff10; font:24px/1 system-ui;
}
.shop-odds-panel {
  position:fixed; inset:auto auto var(--mode-bottom,80px) var(--mode-x,16px); margin:0;
  width:400px; max-width:calc(100vw - 16px); max-height:85dvh; overflow:auto; padding:12px; border-radius:20px;
}
.store-home.store-live .shop-odds-panel { border:0; background:#2e2d52; }
.shop-odds-panel .shop-panel-head,.shop-odds-panel .shop-mode-facts { display:none; }
.store-home.store-live .shop-odds-panel .shop-mode-menu {
  display:flex; gap:0; width:100%; margin:0; padding:4px; background:#ffffff0d; border-radius:24px;
}
.shop-odds-panel .shop-mode-menu .store-choice {
  flex:1; min-height:32px; padding:6px 3px; text-align:center; color:#c8c4da; border:0;
  border-radius:20px; background:none; font-size:13px; font-weight:700;
}
.shop-odds-panel .shop-mode-menu .store-choice[aria-current] { color:white; background:#6c42ed; }
.shop-tier-chart {
  display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center;
  gap:6px 12px; margin:12px 0 0; text-align:left;
}
.shop-tier-chart dt { color:white; text-align:right; font-size:13px; font-weight:800; line-height:1.2; }
.shop-tier-chart small { display:block; color:#c1bfd1; font-size:11px; font-weight:500; }
.shop-tier-chart dd { position:relative; isolation:isolate; margin:0; }
.shop-tier-chart dd::before {
  content:''; position:absolute; z-index:-1; inset:0 auto 0 0;
  width:clamp(14px,var(--tier-width),100%); border-radius:4px;
  box-shadow:inset 0 0 0 1px #ffffff66;
  background:linear-gradient(100deg,color-mix(in srgb,var(--tier-color) 60%,#222),var(--tier-color));
}
.shop-tier-chart b {
  display:flex; align-items:center; height:32px; padding-left:12px;
  color:white; white-space:nowrap; text-shadow:0 1px 3px #0009;
  font-size:13px; font-variant-numeric:tabular-nums;
}

.store-home.store-live .store-pool { padding:50px 26px 28px; scroll-margin-top:88px; }
.store-home.store-live .store-pool-head { min-height:50px; margin:0 0 11px; }
.store-home.store-live .store-pool-head h2 { font-size:30px; }
.store-home.store-live .store-pool-head h2::before { content:'◉'; margin-right:10px; color:white; }
.shop-sample-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.store-home.store-live .store-tier-heading { margin:0; color:var(--tier-color); font-size:16px; text-transform:none; }
.shop-sample-head .store-tier-heading::before { content:''; width:9px; height:9px; border-radius:50%; background:var(--tier-color); }
.shop-sample-controls { display:flex; gap:8px; }
.shop-sample-controls button {
  width:36px; height:36px; padding:0; border:1px solid #ffffff12; background:#252540; border-radius:10px; color:white; font-size:20px;
}
.store-home.store-live .shop-sample-range,.store-home.store-live .shop-sample-chance { display:none; }
.store-home.store-live .store-sample-groups { display:grid; gap:25px; }
.store-home.store-live .store-sample-group { min-width:0; }
.store-home.store-live .store-sample-group .items {
  display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:176px; gap:12px; overflow-x:auto;
  padding:0 0 2px; scrollbar-width:none; scroll-snap-type:x proximity; overscroll-behavior-x:contain;
}
.store-home.store-live .store-sample-group .item,.store-home.store-live .shop-many-more {
  display:flex; flex-direction:column; height:253px; min-width:0; padding:11px; align-items:stretch; justify-content:flex-start;
  border:1px solid #ffffff16; border-radius:14px; color:white;
  background:linear-gradient(to bottom,transparent 49%,#0008),
    radial-gradient(ellipse 81% 111% at 50% 2%,var(--tier-color),var(--tier-mid) 42%,color-mix(in srgb,var(--tier-mid) 33%,black) 84%,#120d13);
}
.store-home.store-live .store-sample-group .item .art-well {
  flex:none; min-height:0; margin:0; aspect-ratio:1; place-items:center; background:transparent;
}
.store-home.store-live .store-sample-group .item-art {
  width:auto; max-width:100%; height:92%; padding:0; object-fit:contain; filter:drop-shadow(0 10px 12px #0008);
}
.store-home.store-live .store-sample-group .item-copy {
  width:100%; min-width:0; max-width:100%; padding:0; margin-top:12px; text-align:center; text-shadow:0 1px 4px #000a;
}
.store-home.store-live .store-sample-group .item h3 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  margin:0; min-height:36px; font-size:14px; line-height:18px; letter-spacing:0; color:white;
}
.store-home.store-live .store-sample-group .item p { margin:4px 0 0; color:white; font-size:14px; font-weight:800; }
.store-home.store-live .shop-many-more { align-items:center; justify-content:center; font-weight:800; }
@media(min-width:1024px) {
  .store-home.store-live:not(:has(.shop-guide[open]))::before {
    background:
      radial-gradient(ellipse 50% 48% at 50% 34%,color-mix(in srgb,var(--shelf-light) 57%,transparent),transparent 83%),
      repeating-conic-gradient(from 6deg at 50% 34%, transparent 0 7deg,color-mix(in srgb,var(--shelf-light) 28%,transparent) 16deg,transparent 29deg 38deg),#141429;
    filter:blur(7px); mask-image:linear-gradient(#000 32%, transparent 99%);
  }
  .store-home.store-live:not([data-category]):not(:has(.shop-guide[open])) .store-seat {
    --art-height:min(71cqh,35cqw); --art-width:calc(var(--art-height) * .698);
    --scale:calc(1 - .58 * var(--depth) - .05 * var(--far));
    --near-offset:calc(var(--art-width) * .78); --far-step:calc(var(--art-width) * .44);
  }
  .store-home.store-live .store-intro { grid-template-rows:44px 36px 54px; row-gap:12px; }
  .store-home.store-live .shop-pull-controls { margin:0; }
  .store-home.store-live:not([data-category]) .store-dock { width:min(420px,90%); }
}
@media(max-width:1023px) {
  .page.store-home.store-live {
    grid-template-rows:minmax(170px,calc(var(--shop-height) - 216px)) 146px 70px auto auto auto auto;
  }
  .store-home.store-live .store-intro {
    width:min(100%,540px); height:146px; grid-template-rows:44px 34px 48px; gap:10px 8px; padding:0 16px;
  }
  .store-home.store-live .store-intro h1 { font-size:23px; }
  .store-home.store-live .shop-inside-button { width:32px; height:32px; }
  .store-home.store-live .shop-pull-controls { margin:0; min-height:48px; }
  .store-home.store-live:not(:has(.shop-guide[open])) .store-seat {
    transform:translate(calc(var(--near-offset) * var(--side) + var(--far-step) * (var(--position) - var(--side))), -6px);
  }
  .store-home.store-live:not([data-category]):not(:has(.shop-guide[open])) .store-seat {
    --art-height:min(82cqh,91.5cqw); --art-width:calc(var(--art-height) * .698);
    --near-offset:calc(var(--art-width) * .845); --far-step:calc(var(--art-width) * .62);
    --scale:calc(1 - .45 * var(--depth));
  }
  .store-home.store-live[data-category=sneakers]:not(:has(.shop-guide[open])) .store-seat {
    --art-height:min(60cqh,38.2cqw); --art-width:calc(var(--art-height) * 1.409);
    --near-offset:calc(var(--art-width) * .75); --far-step:calc(var(--art-width) * .45);
    --scale:calc(1 - .60 * var(--depth));
  }
  .store-home.store-live :is(.shop-pull-value,.shop-mode-trigger) { width:33.333%; }
  .shop-pack-tools > .shop-pack-strip { flex:1; width:auto; }
  .store-home.store-live .store-dock {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-self:start; align-items:center;
    width:min(calc(100% - 32px),508px); gap:8px; margin-top:10px;
  }
  .store-home.store-live .shop-mobile-category {
    display:flex; align-items:center; gap:8px; padding:4px 12px; min-height:48px; min-width:0;
  }
  .shop-mobile-category img { width:24px; height:24px; object-fit:contain; }
  .shop-mobile-category-copy { display:grid; color:white; text-align:left; line-height:1.1; }
  .shop-mobile-category-copy strong { color:white; }
  .shop-mobile-category-copy small { color:#c3c2ce; font-size:11px; }
  .shop-mobile-category strong::after { display:none; }
  .shop-mobile-category::after { content:'⌄'; margin-left:auto; color:#aaa8c2; }
  .store-home.store-live .store-dock :is(.model-form,.controls,.actions) { min-width:0; width:100%; }
  .store-home.store-live .store-dock .button { min-height:48px; font-size:14px; padding:5px; }
  .shop-odds-panel::backdrop,.shop-inside-panel::backdrop { background:#080814b8; backdrop-filter:blur(5px); }
  .store-home.store-live :is(.shop-odds-panel,.shop-inside-panel) {
    position:fixed; inset:auto 0 0; width:100%; max-width:none; max-height:92dvh; margin:0; padding:20px 16px max(20px,env(safe-area-inset-bottom)); border-radius:22px 22px 0 0;
  }
  .store-home.store-live .shop-odds-panel {
    padding:16px 24px max(24px,env(safe-area-inset-bottom)); border-radius:24px 24px 0 0; background:#171732;
  }
  .shop-odds-panel::backdrop { backdrop-filter:blur(8px); }
  .shop-odds-panel .shop-panel-head { display:flex; align-items:flex-end; justify-content:center; position:relative; min-height:68px; }
  .shop-odds-panel .shop-panel-head h2 { max-width:calc(100% - 74px); font-size:22px; text-align:center; }
  .shop-odds-panel .shop-panel-close { position:absolute; right:-8px; top:0; }
  .shop-odds-panel .shop-mode-facts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:22px 0 20px; }
  .shop-mode-facts > div { display:grid; align-content:center; gap:4px; min-height:74px; padding:12px; border-radius:12px; background:#14142c; text-align:left; }
  .shop-mode-facts strong { font-size:20px; }
  .shop-mode-facts small { color:#c3c1d4; }
  .store-home.store-live .shop-odds-panel .shop-mode-menu { padding:6px; }
  .shop-odds-panel .shop-mode-menu .store-choice { min-height:44px; }
  .shop-tier-chart { margin:16px 0 0; grid-template-columns:min(112px,40%) minmax(0,1fr); row-gap:8px; }
  .shop-tier-chart dt,.shop-tier-chart b { font-size:14px; }
  .shop-tier-chart b { height:44px; }
  .store-home.store-live .shop-inside-panel[open] {
    display:flex; flex-direction:column; padding:0; border:0; background:#1c1c3b;
  }
  .shop-inside-panel .shop-panel-head { flex:none; min-height:74px; padding:16px 20px 4px; }
  .shop-inside-panel .shop-panel-head::before { content:''; position:absolute; top:10px; left:calc(50% - 23px); width:46px; height:4px; background:#ffffff30; border-radius:4px; }
  .shop-inside-panel h2 { font-size:20px; }
  .shop-inside-body { min-height:0; overflow-y:auto; padding:18px 20px max(22px,env(safe-area-inset-bottom)); overscroll-behavior:contain; }
  .store-home.store-live .shop-inside-panel .store-sample-groups { gap:22px; }
  .store-home.store-live .shop-inside-panel .shop-sample-head { min-height:28px; margin:0 0 12px; }
  .shop-inside-panel .shop-sample-controls,.shop-inside-panel .store-tier-heading::before { display:none; }
  .store-home.store-live .shop-inside-panel .store-tier-heading { width:100%; }
  .store-home.store-live .shop-inside-panel :is(.shop-sample-range,.shop-sample-chance) { display:inline; color:#c7c3d7; font-size:12px; }
  .store-home.store-live .shop-inside-panel .shop-sample-chance { margin-left:auto; color:white; font-weight:bold; }
  .store-home.store-live .store-sample-group .items { grid-auto-columns:148px; }
  .store-home.store-live .store-sample-group .item,.store-home.store-live .shop-many-more { height:201px; border-radius:14px; padding:8px 11px 11px; }
  .store-home.store-live .store-sample-group .item-copy { text-align:left; margin-top:12px; }
  .store-home.store-live .store-sample-group .item h3 { min-height:0; -webkit-line-clamp:1; }
  .shop-inside-panel .store-sample-group { padding-bottom:16px; border-bottom:1px solid #ffffff12; }
}
.store-home.store-live:not(:has(.shop-guide[open])) .shop-pack-label { opacity:0; }
.store-home.store-live:not(:has(.shop-guide[open])) .shop-pack-label:focus-visible { opacity:1; }
.store-home.store-live .store-dock .shop-login { display:flex; align-items:center; justify-content:center; }
@media (hover:hover) {
  .store-home.store-live .store-seat > img { pointer-events:auto; }
  .store-home.store-live .store-neighbor { cursor:pointer; }
  .store-home.store-live:not(:has(.shop-guide[open])) .store-seat:hover .shop-pack-label { opacity:1; }
}
@media (hover:none) {
  .store-home.store-live:not(:has(.shop-guide[open])) .store-arrow:not(:focus-visible) { border-color:transparent; background:#14112033; color:white; }
}
