/* WikiPons v9: the Shop. Owner: WP3. Scope: .shop, .sh-*. */
/* Direction (spec 7.2): the Fortnite Item Shop and V-Bucks page, in the dark v8 card language. Tiles are printed
   materials at full strength under a dark vignette (skin.club and key-drop cells), one 4px rarity bar, no glow.
   Material paint here is only the fallback while cosmetics.css (.cx-ground, .cx-frame) and WP4's textures land:
   every family recipe sits inside :where(), so any .cx-* rule wins without a fight. */

/* one content edge with every page of the rail (--page-max, tokens.css); at 1280 the shelf still reaches 6 columns */
.shop { container: shop / inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: var(--page-max, 1280px); padding-bottom: 8px; }

/* ── header ─────────────────────────────────────────────────────────────────────────────────── */
.sh-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; margin: 0 0 18px; }
.sh-head h1 {
  margin: 0; font-size: var(--t-shop); font-stretch: 75%; font-weight: 900; text-transform: uppercase;
  line-height: 0.95; letter-spacing: 0;
}
.sh-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.sh-reset { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.sh-reset .countdown.boxed { gap: 4px; }
.sh-reset .countdown.boxed b { min-width: 34px; height: 36px; font-size: 19px; font-stretch: 80%; }
.sh-gift-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border: 0; border-radius: var(--r-pill);
  background: var(--signal); color: #0B0D04; font-size: 13px; font-weight: 750; text-decoration: none;
  transition: transform 160ms var(--p-ease-out);
}
.sh-gift-chip svg { width: 16px; height: 16px; fill: currentColor; }
.sh-gift-chip:active { transform: scale(0.97); transition-duration: 100ms; }
.sh-bal { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-tile); background: var(--panel); }
.sh-bal > img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.sh-bal-t { display: grid; gap: 2px; min-width: 0; }
.sh-bal-t > b { font-size: 15px; font-weight: 750; }
.sh-bal-t > small { font-size: 13px; color: var(--text-2); }
.sh-bal-n { display: inline-flex; align-items: baseline; gap: 8px; }
.sh-bal-n .odo { font-size: 32px; font-stretch: 75%; font-weight: 900; line-height: 1; }
.sh-bal-n small { font-size: 14px; color: var(--text-2); }
.sh-bal-shop { font-size: 13px; color: var(--text-2); }
.btn.sh-get { background-color: var(--commerce); color: #fff; margin-left: 4px; }
.btn.sh-get svg { width: 16px; height: 16px; }

/* ── tabs: a sticky glass bar; the active pill slides between tabs (clipped copy, 240ms). It wears the one active look
   of every tab row (.tabs, .sh-modes, .ed-modes: --panel-3, --text); white stays for primary buttons and pressed chips ── */
.sh-tabs-at { display: block; height: 0; }
.sh-tabs-bar {
  position: sticky; top: var(--topbar-h); z-index: 5; margin: 0 -24px 22px; padding: 10px 24px;
  background: rgba(11, 11, 13, 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.sh-tabs { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--panel); }
.sh-tabs button {
  height: 40px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: none; color: var(--text-2);
  font-size: 14px; font-weight: 650; white-space: nowrap; transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .sh-tabs > button:hover { color: var(--text); } }
.sh-tabs-on {
  position: absolute; inset: 0; display: flex; gap: 4px; padding: 4px; pointer-events: none; border-radius: inherit;
  background: var(--panel-3); transition: clip-path 240ms var(--p-ease-out);
}
.sh-tabs-on button { color: var(--text); }
.sh-panel { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }

/* ── row heads (the global .row-head, a little more air in the shop) ─────────────────────────── */
.shop .row-head { margin-bottom: 16px; }
.shop #gift { scroll-margin-top: calc(var(--topbar-h) + 90px); }
.sh-today { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; min-width: 0; }

/* ── materials: the fallback paint of every family (cosmetics.css .cx-ground wins) ───────────── */
:where(.sh-mat) { background: var(--mat, var(--panel-2)); background-blend-mode: var(--mat-blend, normal); }
:where(.sh-mat[data-family="graphite"]) { --mat: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 1px, rgba(255, 255, 255, 0) 1px 4px), linear-gradient(rgba(16, 16, 22, 0.28), rgba(16, 16, 22, 0.28)), var(--metal-0); --mat-blend: overlay, normal, normal; }
:where(.sh-mat[data-family="glitter"]) { --mat: var(--glitter), radial-gradient(120% 90% at 30% 10%, #5A5A6A, #17171C 72%); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="lines"]) { --mat: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 1px, rgba(255, 255, 255, 0) 1px 4px), var(--metal-1); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="waves"]) { --mat: url("/assets/v8/waves.svg") 0 0 / 18px 9px, var(--metal-2); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="ice"]) { --mat: url("/assets/v8/ice.svg") 0 0 / 110px 110px, var(--metal-3); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="sunburst"]) { --mat: repeating-conic-gradient(from 0deg at 50% -12%, rgba(255, 255, 255, 0.55) 0deg 1.2deg, rgba(255, 255, 255, 0) 1.2deg 3.6deg), var(--metal-4); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="prism"]) { --mat: repeating-radial-gradient(circle at 50% 135%, rgba(255, 255, 255, 0.7) 0 1.2px, rgba(255, 255, 255, 0) 1.2px 5px), var(--prism); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="shiny"]) { --mat: var(--glitter), linear-gradient(rgba(14, 14, 18, 0.72), rgba(14, 14, 18, 0.72)), var(--prism); --mat-blend: overlay, normal, normal; }
:where(.sh-mat[data-family="holder"]) { --mat: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.14) 0deg 1.4deg, rgba(255, 255, 255, 0) 1.4deg 4.5deg), radial-gradient(90% 80% at 50% 30%, #3A3F52, #111218 75%); }
:where(.sh-mat[data-family="lime"]) { --mat: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0 1px, rgba(255, 255, 255, 0) 1px 4px), var(--metal-lime); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="newsprint"]) { --mat: radial-gradient(circle, rgba(17, 17, 17, 0.34) 0.75px, rgba(17, 17, 17, 0) 1.1px) 0 0 / 4px 4px, linear-gradient(160deg, #F1EFEA, #DAD7D0); }
:where(.sh-mat[data-family="crimson"]) { --mat: var(--glitter), var(--metal-crimson); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="rosette"]) { --mat: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0 1px, rgba(255, 255, 255, 0) 1px 7px), repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.12) 0deg 1.4deg, rgba(255, 255, 255, 0) 1.4deg 4.5deg), linear-gradient(150deg, #4A5068, #1A1C26); }
:where(.sh-mat[data-family="ice_blue"]) { --mat: url("/assets/v8/ice.svg") 0 0 / 110px 110px, var(--metal-2); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="pearl"]) { --mat: var(--glitter), linear-gradient(150deg, #FFFFFF, #E4DDF2 22%, #FFFFFF 42%, #D6E6F0 62%, #F7E8EE 82%, #FFFFFF); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="onyx"]) { --mat: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 4px), linear-gradient(150deg, #34343F 0%, #0E0E12 26%, #474756 46%, #0A0A0D 70%, #2A2A33 100%); }
:where(.sh-mat[data-family="silver_sun"]) { --mat: repeating-conic-gradient(from 0deg at 50% -12%, rgba(255, 255, 255, 0.6) 0deg 1.2deg, rgba(255, 255, 255, 0) 1.2deg 3.6deg), var(--metal-0); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="gold"]) { --mat: var(--glitter), var(--gold); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="ice_gold"]) { --mat: url("/assets/v8/ice.svg") 0 0 / 110px 110px, var(--gold); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="black_prism"]) { --mat: repeating-radial-gradient(circle at 50% 135%, rgba(11, 11, 13, 0) 0 1px, rgba(11, 11, 13, 0.9) 1px 5px), var(--prism); }
:where(.sh-mat[data-family="outline"]) { --mat: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 9px), radial-gradient(100% 80% at 50% 20%, #2A2A32, #121216 75%); }
:where(.sh-mat[data-family="classic"]) { --mat: var(--glitter), linear-gradient(150deg, #5B6BFF 0%, #2231E0 28%, #8E9BFF 46%, #1A26B8 64%, #4E5CFF 82%, #1A22A0 100%); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="marathon"]) { --mat: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.3) 0deg 1deg, rgba(255, 255, 255, 0) 1deg 12deg), var(--metal-0); --mat-blend: overlay, normal; }
:where(.sh-mat[data-family="series"]) { --mat: var(--glitter), linear-gradient(150deg, color-mix(in oklab, var(--ta, #888) 70%, #fff) 0%, var(--ta, #888) 22%, color-mix(in oklab, var(--ta, #888) 55%, var(--tb, #111)) 44%, var(--tb, #111) 70%, color-mix(in oklab, var(--ta, #888) 65%, var(--tb, #111)) 100%); --mat-blend: overlay, normal; }


/* ── the tile ───────────────────────────────────────────────────────────────────────────────── */
.sh-tile {
  position: relative; isolation: isolate; aspect-ratio: 3 / 4; min-width: 0; border-radius: 20px; container-type: size;
  box-shadow: 0 22px 34px -24px rgba(0, 0, 0, 1);
  transition: transform 220ms cubic-bezier(0.34, 1.22, 0.64, 1);
}
.sh-clip { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.sh-clip::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.sh-ground { position: absolute; inset: 0; display: block; }
/* a dark scrim at the top for the type label, the vignette from half way down for the plate */
.sh-vig { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0) 20%), linear-gradient(180deg, rgba(11, 11, 13, 0) 50%, rgba(11, 11, 13, 0.92) 84%); }
/* name styles: the 0.62 step-back of .cx-ground already darkens the material once; this only keeps the label and plate readable */
.sh-tile[data-slot="name_style"] .sh-vig { background: linear-gradient(180deg, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0) 20%), linear-gradient(180deg, rgba(11, 11, 13, 0) 55%, rgba(11, 11, 13, 0.92) 86%); }
/* the foil follows the pointer (a soft reflection on the print, not a glow) */
.sh-sheen { position: absolute; inset: 0; opacity: 0; mix-blend-mode: overlay; background: radial-gradient(60% 45% at var(--sx, 50%) var(--sy, 30%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%); transition: opacity 220ms ease; }
.sh-clip::before {
  content: ''; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none; opacity: 0.9;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-70%);
}
/* SR and above: one foil sweep when the tile first comes into view (spec 2.2) */
.sh-sweep { position: absolute; inset: -30% -80%; opacity: 0; background: linear-gradient(110deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 56%); transform: translateX(-60%); }
.sh-swept .sh-sweep, .sh-co .sh-sweep { animation: sh-sweep 900ms var(--p-ease-in-out) 120ms both; }
.sh-tile[data-r="5"].sh-swept .sh-sweep { animation: sh-sweep 900ms var(--p-ease-in-out) 120ms both, sh-sweep 1400ms var(--p-ease-in-out) 8s infinite; }
@keyframes sh-sweep { 0% { opacity: 1; transform: translateX(-60%); } 100% { opacity: 1; transform: translateX(60%); } }
.sh-rbar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--p-r0); }
.sh-rbar[data-r="1"] { background: var(--p-r1); } .sh-rbar[data-r="2"] { background: var(--p-r2); } .sh-rbar[data-r="3"] { background: var(--p-r3); }
.sh-rbar[data-r="4"] { background: var(--p-r4); } .sh-rbar[data-r="5"] { background: linear-gradient(90deg, #3A4CFF, #9AA5FF 30%, #FFFFFF 50%, #FFC2B3 70%, #FF4A2B); }

.sh-hit { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; margin: 0; background: none; border-radius: inherit; cursor: pointer; }
.sh-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the type label and the chip share one row; when they do not fit side by side the chip wraps under, right-aligned */
.sh-top { position: absolute; left: 16px; right: 12px; top: 11px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 26px; pointer-events: none; }
.sh-type {
  min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; line-height: 1.2;
  color: rgba(245, 245, 247, 0.86); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.sh-chipbox { margin-left: auto; }
.sh-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--panel-3); color: var(--text);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.6);
}
.sh-chip svg { width: 14px; height: 14px; fill: currentColor; }
.sh-chip.new { background: var(--signal); color: #0B0D04; }
.sh-chip.today { background: var(--commerce); color: #fff; }
.sh-chip.owned { background: rgba(11, 11, 13, 0.72); color: var(--text-2); }
.sh-chip.on { background: #EDEDF0; color: #0B0B0D; }

.sh-plate { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; gap: 8px; padding: 0 16px 16px; pointer-events: none; }
.sh-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 22px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.95;
  padding: 0.06em 0.12em 0.04em 0; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.sh-tile.feat .sh-name { font-size: 34px; }
.sh-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.sh-rar { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.sh-rar > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sh-meta .price { font-size: 16px; color: #fff; }
.sh-meta .price img { width: 20px; height: 20px; }
.sh-meta .sh-own { flex: none; font-size: 13px; font-weight: 600; color: var(--text-2); }
.sh-equip, .sh-plate a { pointer-events: auto; position: relative; z-index: 3; }
.btn.sh-equip { height: 32px; padding: 0 14px; background-color: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* the stage: the middle of the tile, where the item sits on the viewer's identity */
.sh-stage { position: absolute; inset: 13% 6% 26%; z-index: 1; display: grid; place-items: center; pointer-events: none; transition: transform 320ms var(--p-ease-out); }
.sh-stage > span { grid-area: 1 / 1; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.sh-ip:empty { display: none; }
.sh-ip > * { max-width: 100%; max-height: 100%; }
/* frames: the face follows the tile height, so the ring stays above the plate */
.sh-tile .sh-stage .who-av[data-size="p2"] { --av: min(150px, calc(100cqh - 124px)); }
/* nameplates on 2 and 3 column tiles: the player's name first, no rank and no zoom */
@container (max-width: 300px) {
  .sh-stage .cx-prev.md.s-nameplate .cx-lrow { width: 100%; zoom: 1; grid-template-columns: minmax(0, 1fr); padding: 8px 12px; }
  .sh-stage .cx-prev.md.s-nameplate .cx-lrow-rank { display: none; }
  .sh-tile[data-slot="nameplate"] > .sh-stage { left: 3%; right: 3%; }
}
/* banner effects: your banner is the tile ground, full bleed, the effect at full strength; the tile's vignette, sheen,
   rim and rarity bar stay on top. On hover the picture scales, not the stage, so nothing spills past the corners. */
.sh-tile[data-slot="banner_fx"] .sh-ground { display: none; }
.sh-tile[data-slot="banner_fx"] .sh-stage { inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.sh-tile[data-slot="banner_fx"] .cx-prev .cx-banner { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; box-shadow: none; }

@media (hover: hover) and (pointer: fine) {
  .sh-tile:hover { transform: perspective(1000px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
  .sh-tile:hover .sh-stage { transform: scale(1.04); }
  .sh-tile:hover .sh-sheen { opacity: 1; }
  .sh-tile:hover .sh-clip::before { transform: translateX(70%); transition: transform 760ms var(--p-ease-out); }
  .sh-tile[data-slot="banner_fx"]:hover .sh-stage { transform: none; }
  .sh-tile[data-slot="banner_fx"] .cx-banner > img { transition: transform 320ms var(--p-ease-out); }
  .sh-tile[data-slot="banner_fx"]:hover .cx-banner > img { transform: scale(1.04); }
}
.sh-tile:has(.sh-hit:active) { transform: scale(0.985); transition-duration: 100ms; }


/* ── the hero bento: Featured A 2x2, Featured B and Today's picture on the right ─────────────── */
.sh-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.sh-hero > .sh-tile { aspect-ratio: auto; }
.sh-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.sh-b { grid-column: 3 / 5; grid-row: 1; }
.sh-potd { grid-column: 3 / 5; grid-row: 2; }
.sh-hero.no-potd .sh-b { grid-row: 1 / 3; }
.sh-a .sh-stage { inset: 12% 8% 24%; }
/* wide tiles: the item on the right, the plate on the left */
@container (min-aspect-ratio: 16 / 9) {
  .sh-stage { inset: 10% 5% 10% 46%; }
  .sh-plate { right: 48%; }
  .sh-tile .sh-vig { background: linear-gradient(90deg, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.55) 44%, rgba(11, 11, 13, 0) 70%), linear-gradient(180deg, rgba(11, 11, 13, 0.4) 0%, rgba(11, 11, 13, 0) 30%); }
}

/* narrow tiles keep the rarity code and drop its name, so the price always fits */
@container (max-width: 230px) { .sh-rar > span:last-child { display: none; } .sh-name { font-size: 20px; } }
@container (max-width: 460px) and (min-aspect-ratio: 16 / 9) { .sh-rar > span:last-child { display: none; } .sh-stage { inset: 10% 4% 10% 50%; } .sh-plate { right: 42%; } }

/* Today's picture: the real photo, full bleed; your name slides in on hover */
.sh-photo { position: absolute; inset: 0; display: block; background: #0B0B12; }
.sh-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--p-ease-out); }
.sh-potd .sh-vig { background: linear-gradient(180deg, rgba(11, 11, 13, 0.45) 0%, rgba(11, 11, 13, 0) 22%), radial-gradient(120% 110% at 0% 100%, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.6) 38%, rgba(11, 11, 13, 0) 70%); }
.sh-potd .sh-plate { right: 0; }
.sh-potd .sh-name { font-size: 26px; -webkit-line-clamp: 1; max-width: 90%; }
.sh-credit { min-width: 0; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.sh-potd .sh-meta { align-items: flex-end; }
.sh-credit .nw, .sh-co-credit .nw { white-space: nowrap; }
.sh-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.sh-credit a:hover { color: var(--text); }
.sh-potd-who { position: absolute; left: 16px; bottom: 104px; z-index: 1; opacity: 0; transform: translateY(8px); transition: opacity 220ms ease, transform 260ms var(--p-ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .sh-potd:hover .sh-potd-who { opacity: 1; transform: none; }
  .sh-potd:hover .sh-photo img { transform: scale(1.03); }
}

/* Title of the day: newsprint, your name, the title as a headline */
.sh-title-tile .sh-ground.cx-ground { background: var(--cx-fill, linear-gradient(var(--panel-2), var(--panel-2))); background-blend-mode: var(--cx-mode, normal); }
.sh-title-tile .sh-vig { background: linear-gradient(180deg, rgba(11, 11, 13, 0) 28%, rgba(11, 11, 13, 0.9) 50%, rgba(11, 11, 13, 0.96) 100%); }
.sh-title-tile .sh-type { color: #16161C; text-shadow: none; }
.sh-tt-body { position: absolute; left: 16px; right: 16px; bottom: 25%; z-index: 1; display: grid; gap: 6px; pointer-events: none; }
.sh-tt-body small { font-size: min(18px, 8cqw); font-weight: 800; color: #fff; }
.sh-tt-body b { font-size: min(30px, 13cqw); font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.92; color: #fff; padding-right: 0.1em; }

/* skeleton tiles */
.sh-sk { background: var(--panel); box-shadow: none; }
.sh-sk > .sk { position: absolute; inset: 0; border-radius: inherit; }

/* ── the daily gift strip ───────────────────────────────────────────────────────────────────── */
.sh-gift {
  position: relative; display: grid; grid-template-columns: 84px auto minmax(0, 1fr) auto; align-items: center; gap: 22px 36px;
  height: 96px; margin-top: 0; padding: 0 20px 0 26px; border-radius: var(--r-tile); background: var(--panel); overflow: visible;
}
.sh-gift.sh-sk { display: block; }
/* the hero's foot: 12px under the tiles (the .sh-today gap of 44 minus 32) */
.sh-today > #gift, .sh-today > .sh-gift.sh-sk { margin-top: -32px; }
.sh-gift-card { position: relative; width: 58px; aspect-ratio: 5 / 7; padding: 0; border: 0; background: none; perspective: 700px; transform: rotate(-4deg) translateY(-6px); cursor: pointer; }
.sh-gift-card:disabled { cursor: default; }
.sh-gift-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 520ms var(--p-ease-out); }
.sh-gift-card.flipped .sh-gift-inner { transform: rotateY(180deg); }
.sh-gift-back, .sh-gift-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px; }
.sh-gift-back .cback { width: 100%; height: 100%; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.95); }
.sh-gift-face {
  transform: rotateY(180deg); display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 6px;
  background: radial-gradient(90% 70% at 50% 30%, #2A2A33, #121216); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 20px -10px rgba(0, 0, 0, 0.95);
}
.sh-gift-face img { width: 30px; height: 30px; }
.sh-gift-face b { font-size: 15px; font-stretch: 75%; font-weight: 900; color: var(--signal); }
.sh-gift-pack { display: block; width: 26px; }
.sh-gift-pack .pack3 { width: 100%; }
@media (hover: hover) and (pointer: fine) { .sh-gift.ready .sh-gift-card:hover { transform: rotate(-2deg) translateY(-10px); transition: transform 240ms var(--p-ease-out); } }
.sh-gift-copy { display: grid; gap: 2px; min-width: 0; }
.sh-gift-copy b { font-size: 16px; font-weight: 800; }
.sh-gift-copy span { font-size: 14px; color: var(--text-2); }
/* the 7-day track: each step is its marker and its amount (day 7 carries the bonus pack) */
.sh-gift-dots { display: flex; justify-content: space-between; gap: 4px; width: 100%; max-width: 360px; margin: 0; padding: 0; list-style: none; }
.sh-gift-dots li { display: grid; grid-template-rows: 26px auto; place-items: center; gap: 4px; width: 34px; flex: none; }
.sh-gift-dots li i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.sh-gift-dots li:last-child i { width: 26px; height: 26px; }
.sh-gift-dots li svg { width: 14px; height: 14px; fill: var(--text-3); }
.sh-gift-dots li small { font-size: 13px; font-weight: 700; line-height: 1; color: var(--text-3); }
.sh-gift-dots li.done i { background: var(--signal); }
.sh-gift-dots li.done svg { fill: #0B0D04; }
.sh-gift-dots li.done small { color: var(--text-2); }
.sh-gift-dots li.now i { background: transparent; box-shadow: inset 0 0 0 2px var(--signal); animation: sh-dot 1.6s var(--p-ease-in-out) infinite; }
.sh-gift-dots li.now svg { fill: var(--signal); }
.sh-gift-dots li.now small { color: var(--text); }
@keyframes sh-dot { 50% { transform: scale(1.15); } }
.sh-gift-act { display: flex; align-items: center; justify-self: end; }
.sh-gift-back-at { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.sh-gift-back-at .countdown { font-size: 15px; }
.sh-gift-act .btn { min-width: 108px; }

/* ── Today's shelf ──────────────────────────────────────────────────────────────────────────── */
.sh-shelf-wrap { margin-top: -8px; }
.sh-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@container shop (min-width: 1280px) { .sh-shelf { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@container shop (max-width: 699px) { .sh-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* the deal: tiles come in once, 40ms apart (on load and at midnight UTC) */
.sh-today .sh-tile:not(.sh-sk) { animation: sh-deal 440ms var(--p-ease-out) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes sh-deal { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* ── This week: the weekly bundle ───────────────────────────────────────────────────────────── */
.sh-bundle {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 5fr 7fr; min-height: 300px;
  border-radius: var(--r-banner); overflow: hidden; background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sh-bundle-ground { position: absolute; inset: 0; z-index: -2; display: block; }
.sh-bundle-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 13, 0.2) 0%, rgba(11, 11, 13, 0.55) 34%, rgba(11, 11, 13, 0.9) 48%, rgba(11, 11, 13, 0.95) 100%); }
.sh-bundle-stage { position: relative; display: grid; place-items: center; padding: 28px 20px; min-width: 0; }
.sh-bundle-body { display: grid; align-content: center; gap: 14px; padding: 28px 32px 28px 12px; min-width: 0; }
.sh-bundle-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sh-bundle-head h2 { margin: 0; font-size: 22px; font-stretch: 75%; font-weight: 900; text-transform: uppercase; line-height: 1; }
.sh-week { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: 14px; }
.sh-week svg { width: 15px; height: 15px; fill: var(--text-2); }
.sh-week b { font-weight: 800; }
.sh-bundle-head small { font-size: 13px; color: var(--text-2); }
.sh-bundle-name { margin: 0; font-size: 44px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.92; letter-spacing: 0; padding-right: 0.1em; }
.sh-bundle-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.sh-brow {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px 8px 8px; border: 0; border-radius: var(--r-row);
  background: rgba(255, 255, 255, 0.05); color: var(--text); text-align: left; transition: background-color 160ms ease, transform 160ms var(--p-ease-out);
}
@media (hover: hover) and (pointer: fine) { .sh-brow:hover { background: rgba(255, 255, 255, 0.09); } }
.sh-brow-t { display: grid; flex: 1; min-width: 0; }
.sh-brow-t b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-brow-t small { font-size: 13px; color: var(--text-2); }
.sh-brow-p { flex: none; font-size: 14px; }
.sh-brow-p.owned { display: grid; justify-items: end; font-size: 13px; }
.sh-brow-p.owned em { font-style: normal; font-weight: 700; color: var(--text-2); }
.sh-brow-p.owned s { color: var(--text-3); }
.sh-bundle-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.sh-bundle-price { display: flex; align-items: center; gap: 12px; }
.price.xl { font-size: 40px; font-stretch: 75%; font-weight: 900; gap: 8px; }
.price.xl img { width: 34px; height: 34px; }
.sh-bundle-price > s { font-size: 20px; font-weight: 700; color: var(--text-3); }
.sh-off { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--commerce); color: #fff; font-size: 13px; font-weight: 800; }
.sh-foryou { flex-basis: 100%; order: 3; margin: -4px 0 0; font-size: 13px; color: var(--text-2); }
.sh-bundle-buy .btn.hold, .sh-bundle-buy > .btn { margin-left: auto; min-width: 220px; }
.sh-bundle-own { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-weight: 700; color: var(--text-2); }
.sh-bundle-own svg { width: 18px; height: 18px; fill: var(--signal); }

/* the mini profile card wearing the bundle */
.sh-bcard { position: relative; width: min(300px, 100%); margin-right: 40px; }
.sh-bc-lead { position: absolute; left: 50%; top: 50%; width: 118%; height: 128%; transform: translate(-50%, -50%) rotate(-4deg); object-fit: cover; border-radius: 18px; opacity: 0.5; filter: saturate(1.1); -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.sh-bc-backs { position: absolute; right: -78px; top: 50%; width: 170px; height: 210px; transform: translateY(-50%) rotate(6deg); container-type: size; }
.sh-bc-backs .cback { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 5 / 7; box-shadow: 0 18px 28px -14px rgba(0, 0, 0, 0.95); }
.sh-bc-backs .cback:first-child { transform: translate(-70%, -50%) rotate(-6deg); }
.sh-bc-backs .cback:last-child { transform: translate(-34%, -46%) rotate(5deg); }
.sh-bc-backs .cback:first-child span { visibility: hidden; }
.sh-bc-real { position: relative; display: grid; gap: 10px; }
.sh-bc-real > .cx-prev { height: auto; border-radius: 18px; }
.sh-bc-real > .cx-prev.m-profile { overflow: hidden; background: #121216; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 26px 50px -18px rgba(0, 0, 0, 0.95); }
.sh-bc-real > .cx-prev.m-row { padding: 0; }
.sh-bc-real > .cx-prev.m-row .cx-lrow { box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9); }

/* ── Boosts ─────────────────────────────────────────────────────────────────────────────────── */
.sh-boosts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@container shop (max-width: 1099px) { .sh-boosts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container shop (max-width: 699px) {
  .sh-boosts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 4px; scroll-padding: 0 14px; }
  .sh-boosts::-webkit-scrollbar { display: none; }
  .sh-boost { scroll-snap-align: start; }
}
.sh-boost {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: 132px; padding: 12px 12px 14px; border-radius: var(--r-tile);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(160deg, #202027, var(--panel-2) 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 160ms var(--p-ease-out), background-color 160ms ease;
}
.sh-boost:has(.sh-hit:active) { transform: scale(0.985); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .sh-boost:hover { transform: translateY(-2px); } .sh-boost:hover .sh-bs-obj { transform: translateY(-3px); } }
/* the stage: a recessed well holding the object the boost gives (no z-index, so .sh-hit still takes the click) */
.sh-boost-stage {
  position: relative; display: grid; place-items: center; height: 84px; overflow: hidden; border-radius: 12px; pointer-events: none;
  background: radial-gradient(80% 110% at 50% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 70%), rgba(0, 0, 0, 0.26);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.sh-bs-obj { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-width: 0; padding: 0 8px; transition: transform 240ms var(--p-ease-out); }
.sh-bs-obj > svg { width: 34px; height: 34px; fill: var(--text-2); }
.sh-bs-pk { display: block; width: 40px; flex: none; }
.sh-boost-stage .pack3 { width: 100%; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)); }
.sh-bs-pk .pack3 { transform: rotate(-4deg); }
.sh-bs-n { font-size: 30px; font-stretch: 75%; font-weight: 900; font-style: italic; line-height: 1; color: #fff; padding-right: 0.08em; }
.sh-bs-fan { position: relative; display: block; width: 78px; height: 70px; flex: none; }
.sh-bs-fan > .sh-bs-pk { position: absolute; left: 50%; top: 50%; width: 36px; }
.sh-bs-fan > .sh-bs-pk:nth-child(1) { transform: translate(-50%, -50%) translateX(-20px) rotate(-8deg); }
.sh-bs-fan > .sh-bs-pk:nth-child(2) { z-index: 1; transform: translate(-50%, -50%) translateY(-3px); }
.sh-bs-fan > .sh-bs-pk:nth-child(3) { transform: translate(-50%, -50%) translateX(20px) rotate(8deg); }
.sh-bs-fan .pack3 { transform: none; }
/* your streak under ice */
.sh-bs-ice { position: relative; display: inline-flex; flex: none; border-radius: 999px; overflow: hidden; }
.sh-bs-ice .streak-chip { height: 34px; padding: 0 14px; font-size: 14px; background: linear-gradient(160deg, rgba(150, 190, 255, 0.24), rgba(80, 110, 190, 0.14)); color: #E4EEFF; }
.sh-bs-ice .streak-chip svg { fill: #FFB08E; }
.sh-bs-ice::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--pr-ice, url("/assets/v8/ice.svg") 0 0 / 110px 110px); background-size: 64px 64px; opacity: 0.6; mix-blend-mode: screen; box-shadow: inset 0 0 0 1px rgba(200, 225, 255, 0.35); }
/* the kit: one small pack laid over the end of the frozen chip */
.sh-boost.kit .sh-bs-obj { gap: 0; }
.sh-boost.kit .sh-bs-ice .streak-chip { padding: 0 22px 0 12px; font-size: 13px; }
.sh-boost.kit .sh-bs-pk { position: relative; z-index: 1; width: 34px; margin-left: -16px; }
.sh-boost.kit .sh-bs-pk .pack3 { transform: rotate(8deg); }
/* the next showcase slot, next to the last one you have */
.sh-bs-slots { display: flex; align-items: center; gap: 8px; }
.sh-bs-slots i { display: grid; place-items: center; width: 40px; aspect-ratio: 5 / 7; border-radius: var(--card-radius, 12px); font-style: italic; font-stretch: 75%; font-weight: 900; font-size: 20px; line-height: 1; }
.sh-bs-slots i.on { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: var(--text-3); }
.sh-bs-slots i.next { border: 1px dashed rgba(255, 255, 255, 0.34); color: var(--text); }
/* your name, in the style you wear */
.sh-bs-name { width: 100%; }
.sh-boost-stage .cx-poster .who-name { font-size: min(30px, var(--fit)); }
.sh-boost-t { display: grid; align-content: start; gap: 2px; min-width: 0; }
.sh-boost-t b { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.sh-boost-t b svg { width: 16px; height: 16px; fill: var(--text-2); flex: none; }
.sh-boost-t small { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.sh-boost-t em { margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--text); }
.sh-boost-t em.spent { color: var(--text-3); }
.sh-boost-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sh-boost-price { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); }
.sh-boost-price .price { font-size: 14px; }
.sh-boost .sh-pk-odds { z-index: 3; }
.sh-boost.spent .sh-boost-stage, .sh-boost.spent .sh-boost-price { opacity: 0.55; }
.sh-boost .sh-hit { border-radius: inherit; }

/* ── Packs ──────────────────────────────────────────────────────────────────────────────────── */
.sh-packs-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -24px; padding: 4px 24px 8px; scroll-padding: 0 24px; }
.sh-packs-rail::-webkit-scrollbar { display: none; }
.sh-packs-rail:not([data-end]) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.sh-rail-nav { display: none; flex: none; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .sh-rail-nav { display: flex; } }
.sh-rail-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); color: var(--text); transition: background-color 160ms ease, opacity 160ms ease, transform 140ms var(--p-ease-out); }
.sh-rail-btn svg { width: 18px; height: 18px; fill: currentColor; }
.sh-rail-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
.sh-rail-btn:active:not(:disabled) { transform: scale(0.94); }
.sh-rail-btn:disabled { opacity: 0.35; cursor: default; }
.sh-pk { flex: 0 0 176px; scroll-snap-align: start; display: grid; gap: 6px; padding: 10px 10px 12px; border-radius: var(--r-tile); background: var(--panel); position: relative; }
.sh-pk.sh-sk { height: 290px; }
/* a flat card tinted with the set's color, no light behind the pack (the Bonus tile sets no --ta: its red is the fallback) */
.sh-pk-art {
  display: grid; place-items: center; height: 196px; border-radius: 12px; overflow: hidden;
  background: color-mix(in oklab, var(--ta, #8A2410) 16%, var(--panel-2));
}
.sh-pk-art .pack3 { width: auto; height: 86%; aspect-ratio: 0.6; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.55)); transform: rotate(-3deg); transition: transform 420ms var(--p-ease-out); }
@media (hover: hover) and (pointer: fine) { .sh-pk:hover .sh-pk-art .pack3 { transform: rotate(2deg) translateY(-4%) scale(1.03); } }
.sh-pk > b { padding: 4px 4px 0; font-size: 15px; font-weight: 750; }
.sh-pk > small { padding: 0 4px; font-size: 13px; color: var(--text-2); }
.sh-pk > small .price { font-size: 14px; color: var(--text); }
.sh-pk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 0; }
.icon-btn.sh-pk-odds { width: 34px; height: 34px; }
.icon-btn.sh-pk-odds svg { width: 17px; height: 17px; }

/* ── PRO band (live only) ───────────────────────────────────────────────────────────────────── */
.sh-pro {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  min-height: 200px; padding: 28px 32px; border-radius: var(--r-banner); overflow: hidden;
  background: var(--glitter), linear-gradient(150deg, #34343F 0%, #0E0E12 26%, #474756 46%, #0A0A0D 70%, #2A2A33 100%); background-blend-mode: overlay, normal;
}
.sh-pro-word { display: block; font-size: 96px; font-stretch: 75%; font-weight: 900; font-style: italic; line-height: 0.8; color: #fff; padding-right: 0.1em; }
.sh-pro-l p { margin: 8px 0 14px; font-size: 15px; color: var(--text-2); }
.sh-pro-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sh-pro-perks li { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 650; }
.sh-pro-r { display: grid; gap: 12px; justify-items: end; text-align: right; }
.sh-pro-r p { margin: 0; font-size: 15px; }
.sh-pro-on { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.sh-pro-on svg { width: 20px; height: 20px; fill: var(--signal); }

.sh-foot { margin-top: -12px; }
.sh-foot p { margin: 0; max-width: 72ch; font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* ── the checkout sheet ─────────────────────────────────────────────────────────────────────── */
.sh-co { position: relative; display: grid; gap: 0; }
.sh-co-top { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: -6px 48px 12px 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.sh-co-preview {
  position: relative; isolation: isolate; height: 240px; margin: 0 0 16px; border-radius: var(--r-tile); overflow: hidden;
  container-type: size; background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sh-co-preview::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1); pointer-events: none; }
.sh-co > .sh-co-preview.sk { margin-top: 42px; }
.sh-co-ground { position: absolute; inset: 0; display: block; }
.sh-co-vig { position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 45%, rgba(11, 11, 13, 0) 30%, rgba(11, 11, 13, 0.6) 100%), linear-gradient(180deg, rgba(11, 11, 13, 0) 60%, rgba(21, 21, 25, 0.9)); }
.sh-co[data-r] .sh-co-preview[data-slot="name_style"] .sh-co-vig { background: rgba(11, 11, 13, 0.55); }
.sh-co-stage { inset: 9% 8% 9%; }
/* WP4's previews are sized for tall tiles; in the wide checkout box the fan and the pack follow the height */
.sh-co-stage .cx-fan, .sh-won-flash .cx-fan { width: auto; height: 90%; }
.sh-co-boost { position: absolute; inset: 0; display: grid; place-items: center; }
.sh-co-boost svg { width: 96px; height: 96px; fill: #fff; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6)); }
.sh-co-photo { position: absolute; inset: 0; display: block; }
.sh-co-photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-co-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(11, 11, 13, 0), rgba(11, 11, 13, 0.7)); pointer-events: none; }
.sh-co-credit { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; font-size: 13px; line-height: 1.35; color: rgba(245, 245, 247, 0.85); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.sh-co-credit a { color: inherit; text-underline-offset: 3px; }
.sh-modes { display: flex; gap: 4px; padding: 4px; margin: 0 0 16px; border-radius: var(--r-pill); background: var(--panel-2); width: fit-content; }
.sh-modes button { height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: none; color: var(--text-2); font-size: 13px; font-weight: 650; }
.sh-modes button[aria-selected="true"] { background: var(--panel-3); color: var(--text); }
.sh-co-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.sh-co-head > .price { font-size: 18px; }
.sh-co-head > .price img { width: 22px; height: 22px; }
.sh-co-head > .price s { font-size: 15px; }
.sh-co-head h2 { margin: 0; padding-right: 0; font-size: 28px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.95; letter-spacing: 0; }
.sh-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.sh-co-line { margin: 10px 0 0; font-size: 15px; color: var(--text-2); line-height: 1.45; }
.sh-co-items { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.sh-co-items li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; }
.sh-co-it { flex: 1; display: grid; min-width: 0; }
.sh-co-it b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-co-it small { font-size: 13px; font-weight: 500; color: var(--text-2); }
.sh-co-items em { font-style: normal; font-size: 13px; color: var(--text-2); }
.sh-co-limit { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.sh-co-limit .link-btn { color: var(--text-2); text-decoration: none; font-weight: 650; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .sh-co-limit .link-btn:hover { color: var(--text); } }
/* the hover card at phone width: scaled to the stage (the editor preview keeps its size) */
@container (max-width: 420px) { .sh-co-stage .cx-prev.m-hover .hovercard-body { zoom: 0.78; } }
.sh-stepper { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; padding: 4px; border-radius: var(--r-pill); background: var(--panel-2); width: fit-content; }
.sh-stepper b { min-width: 44px; text-align: center; font-size: 18px; font-weight: 800; }
.sh-stepper .icon-btn { width: 40px; height: 40px; }
.sh-stepper .icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sh-stepper.big b { min-width: 96px; font-size: 26px; font-stretch: 80%; font-weight: 900; }
.sh-stepper.big .icon-btn { width: 44px; height: 44px; }
.sh-co-when { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.sh-co-when svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.sh-co-bal { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); font-size: 14px; color: var(--text-2); }
.sh-co-bal > span { margin-right: auto; }
.sh-co-bal b { font-size: 18px; font-weight: 800; color: var(--text); }
.sh-co-bal svg { width: 18px; height: 18px; fill: var(--text-2); }
.sh-co-shoponly { margin: 8px 0 0; font-size: 13px; color: var(--text-2); }
.sh-co-refusal { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 90, 74, 0.1); color: #FFB3A8; font-size: 14px; font-weight: 600; }
.sh-short { display: grid; gap: 10px; margin: 16px 0 0; }
.sh-short p { margin: 0; }
.btn.sh-topup-btn { background-color: var(--commerce); color: #fff; }
.sh-est { font-weight: 600; opacity: 0.85; }
.sh-earn { font-size: 14px; color: var(--text-2); }
.sh-earn a { color: var(--text); font-weight: 650; text-underline-offset: 3px; }
.sh-co-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; }
.sh-co-actions .btn.wide { flex: 1 1 100%; }
.sh-co-note { margin: 0; font-weight: 700; color: var(--text-2); }
.btn.sh-connect svg, .sh-buy .price img { flex: none; }
.sh-buy .price { color: #0B0B0D; }
.sh-co-after { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.sh-co-after b { color: var(--text); font-weight: 800; }
.btn.sh-undo-yes { background-color: rgba(255, 90, 74, 0.14); color: #FFB3A8; }
.sh-undo-note { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
/* the Valorant beat: the item takes the sheet for 600ms, then settles; "Yours." */
.sh-won-flash {
  position: absolute; inset: 0; z-index: 4; border-radius: var(--r-tile); overflow: hidden; container-type: size; background: #0F0F12; pointer-events: none;
  animation: sh-flash 900ms var(--p-ease-out) both;
}
.sh-won-flash .sh-co-stage { inset: 14% 10% 14%; transform: scale(1.06); }
@keyframes sh-flash { 0% { opacity: 0; } 12% { opacity: 1; } 67% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.sh-co-preview.settle { animation: sh-settle 300ms var(--p-ease-out) 600ms backwards; }
@keyframes sh-settle { from { transform: scale(0.92); opacity: 0.6; } }
.sh-yours { margin: 0; font-size: 28px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1; padding: 0; animation: sh-rise 320ms var(--p-ease-out) 640ms backwards; }
@keyframes sh-rise { from { opacity: 0; transform: translateY(8px); } }

/* ── the pay sheet ──────────────────────────────────────────────────────────────────────────── */
.sh-pay { display: grid; gap: 14px; }
.sh-pay-top { display: flex; align-items: center; gap: 16px; }
.sh-pay-pile { width: 92px; height: 80px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); }
.sh-pay-top h2 { margin: 0; font-size: 26px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.95; padding-right: 40px; }
.sh-pay-sub { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.sh-pay-sub b { color: var(--text); font-weight: 800; }
.sh-dev { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 74, 43, 0.14); color: #FFB3A8; font-size: 14px; font-weight: 700; }
.sh-dev svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sh-pay-rows { display: grid; gap: 2px; margin: 0; padding: 4px 14px; border-radius: 14px; background: var(--panel-2); }
.sh-pay-rows > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.sh-pay-rows > div:last-child { box-shadow: none; }
.sh-pay-rows dt { font-size: 13px; color: var(--text-2); padding-top: 1px; }
.sh-pay-rows dd { margin: 0; display: grid; gap: 2px; min-width: 0; }
.sh-pay-rows dd b { font-size: 14px; font-weight: 700; }
.sh-pay-rows dd small { font-size: 13px; color: var(--text-2); }
.sh-pay-rows .sk-row { background-color: transparent; }
.sh-pay-note { margin: 0; font-size: 14px; color: var(--text-2); }
.sh-pay-warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 14px; }
.sh-pay-warn a { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--text); font-weight: 700; }
.sh-pay-warn svg, .btn svg.sub { width: 14px; height: 14px; fill: currentColor; }
.sh-first { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(227, 243, 107, 0.1); color: var(--signal); font-size: 14px; font-weight: 700; }
.sh-first svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sh-pay-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-pay-actions .btn.wide { flex: 1; }
.sh-check { display: grid; gap: 2px; margin: 0; padding: 6px 14px; border-radius: 14px; background: var(--panel-2); list-style: none; }
.sh-check li { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 15px; font-weight: 600; color: var(--text-3); transition: color 200ms ease; }
.sh-check li.done, .sh-check li.now { color: var(--text); }
.sh-check-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); flex: none; }
.sh-check li.done .sh-check-mark { background: var(--signal); animation: sh-pop 200ms var(--p-ease-out); }
.sh-check li.done svg { width: 15px; height: 15px; fill: #0B0D04; }
@keyframes sh-pop { from { transform: scale(0.6); } }
.sh-spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: #fff; animation: sh-spin 700ms linear infinite; flex: none; }
@keyframes sh-spin { to { transform: rotate(360deg); } }
.sh-pay-wait { display: grid; justify-items: start; gap: 14px; }
.sh-pay-big { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.sh-pay-big.bad { color: #FFB3A8; }
.sh-done { display: grid; justify-items: center; gap: 10px; text-align: center; padding-top: 4px; }
.sh-done-pile { width: min(280px, 70%); }
.sh-done-pile .sh-pile { width: 100%; height: 190px; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.65)); animation: sh-land 520ms var(--p-ease-out) both; }
@keyframes sh-land { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
.sh-done-n { display: inline-flex; align-items: baseline; margin: 0; padding: 0 0.12em; overflow: hidden; font-size: 60px; font-stretch: 75%; font-weight: 900; font-style: italic; line-height: 1.1; }
.sh-burn-n { overflow: hidden; }
.sh-bal-n .odo { overflow: hidden; }
.sh-done-n > span { margin-right: 2px; }
.sh-done-bal { margin: 0; font-size: 15px; color: var(--text-2); }
.sh-done-bal b { color: var(--text); font-weight: 800; }
.sh-done .sh-pay-actions { justify-content: center; margin-top: 8px; }

/* ── the Ponnies tab: the ladder ────────────────────────────────────────────────────────────── */
.sh-ponnies { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.sh-ponnies > .row-head { margin-bottom: 0; }
.sh-earn-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0; padding: 16px 20px; border-radius: var(--r-tile); background: var(--panel); font-size: 15px; }
.sh-earn-panel span { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-earn-panel a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); text-decoration: none; font-size: 13px; font-weight: 650; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .sh-earn-panel a:hover { background: rgba(255, 255, 255, 0.13); } }
.sh-firstbar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; border-radius: var(--r-row); background: var(--panel); box-shadow: inset 3px 0 0 var(--signal); font-size: 15px; font-weight: 650; }
.sh-firstbar svg { width: 20px; height: 20px; fill: var(--signal); flex: none; }
.sh-tiers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@container shop (max-width: 1099px) { .sh-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container shop (max-width: 699px) {
  .sh-tiers { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 6px 14px 10px; scroll-padding: 0 14px; }
  .sh-tiers::-webkit-scrollbar { display: none; }
  .sh-tier { scroll-snap-align: center; }
}
.sh-tier {
  position: relative; isolation: isolate; aspect-ratio: 3 / 5; min-width: 0; border-radius: 18px; container-type: inline-size;
  box-shadow: 0 22px 34px -24px rgba(0, 0, 0, 1); outline: 2px solid transparent; outline-offset: 3px;
  transition: transform 220ms var(--p-ease-out), outline-color 160ms ease;
}
.sh-tier.sh-sk { background: var(--panel); }
.sh-frame { position: absolute; inset: 0; border-radius: inherit; display: block; }
:where(.sh-frame) { background: var(--tframe); background-blend-mode: overlay, normal; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.45); }
:where(.sh-frame[data-r="0"]) { --tframe: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0 1px, rgba(255, 255, 255, 0) 1px 4px), var(--metal-0); }
:where(.sh-frame[data-r="1"]) { --tframe: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0 1px, rgba(255, 255, 255, 0) 1px 4px), var(--metal-1); }
:where(.sh-frame[data-r="2"]) { --tframe: url("/assets/v8/waves.svg") 0 0 / 18px 9px, var(--metal-2); }
:where(.sh-frame[data-r="3"]) { --tframe: url("/assets/v8/ice.svg") 0 0 / 110px 110px, var(--metal-3); }
:where(.sh-frame[data-r="4"]) { --tframe: repeating-conic-gradient(from 0deg at 50% -12%, rgba(255, 255, 255, 0.55) 0deg 1.2deg, rgba(255, 255, 255, 0) 1.2deg 3.6deg), var(--metal-4); }
:where(.sh-frame[data-r="5"]) { --tframe: repeating-radial-gradient(circle at 50% 135%, rgba(255, 255, 255, 0.7) 0 1.2px, rgba(255, 255, 255, 0) 1.2px 5px), var(--prism); animation: foil-turn 9s linear infinite; }
.sh-tier-in {
  position: absolute; inset: 7px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 38%, #1D1D24 0%, #0F0F13 70%), var(--panel);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.sh-tier-in::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.15; background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0.6px, rgba(255, 255, 255, 0) 1px) 0 0 / 5px 5px; }
.sh-tier-name { position: relative; padding: 12px 14px 0; font-size: 14px; font-weight: 600; color: var(--text); }
.sh-tier-art { position: relative; min-height: 0; }
.sh-tier-art::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); z-index: -1; }
.sh-tier-pile { position: absolute; left: 14%; right: 14%; top: 2%; bottom: 0; width: 72%; height: 98%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55)); transition: transform 320ms var(--p-ease-out); }
.sh-tier:nth-child(n + 4) .sh-tier-pile { left: 7%; right: 7%; width: 86%; }
.sh-tier-num { position: relative; display: grid; justify-items: center; gap: 0; padding: 2px 8px 7px; text-align: center; }
.sh-tier-num b { font-size: min(64px, 24cqw); font-stretch: 75%; font-weight: 900; font-style: italic; line-height: 0.9; padding-right: 0.06em; }
.sh-tier-num small { font-size: 14px; line-height: 1.2; color: var(--text-2); }
.sh-tier-num em { margin-top: 2px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--text); }
.sh-tier-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-height: 60px; padding: 8px 10px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.sh-tier-bar .sh-tier-cost { display: contents; }
.sh-tier-bar .sh-tier-cost b { flex: 1 1 100%; }
.sh-tier-bar .sh-tier-cost small { flex: 1; }
.sh-tier-closed { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.sh-tier-closed svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.sh-tier-lock { display: flex; align-items: center; justify-content: center; width: 100%; color: var(--text-2); }
.sh-tier-lock svg { width: 18px; height: 18px; fill: currentColor; }
.sh-tier-cost { display: grid; min-width: 0; }
.sh-tier-cost b { font-size: 17px; font-stretch: 80%; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-tier-cost b span { font-size: 13px; font-stretch: 100%; font-weight: 700; color: var(--text-2); }
.sh-tier-cost small { font-size: 13px; color: var(--text-2); }
.sh-tier .sh-hit { z-index: 1; border-radius: inherit; }
.sh-tier-bar .btn { position: relative; z-index: 2; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .sh-tier.can:hover { outline-color: #fff; transform: scale(1.01); }
  .sh-tier.can:hover .sh-tier-pile { transform: translateY(-3%) scale(1.03); }
}
.sh-tier.can:has(.sh-hit:active) { transform: scale(0.985); transition-duration: 100ms; }

.sh-starter { position: relative; isolation: isolate; border-radius: 18px; min-height: 150px; }
.sh-starter-in { position: absolute; inset: 7px; display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 0 22px 0 8px; border-radius: 12px; background: radial-gradient(120% 90% at 20% 50%, #1F1F27, #0F0F13 70%); }
.sh-starter-art { position: relative; height: 136px; display: grid; place-items: end center; }
.sh-starter-pile { height: 110px; width: auto; object-fit: contain; }
.sh-starter-pack { position: absolute; right: 8px; bottom: 6px; width: 54px; transform: rotate(8deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)); }
.sh-starter-pack .pack3 { width: 100%; }
.sh-starter-t { display: grid; gap: 6px; }
.sh-starter-t .sh-tier-name { padding: 0; }
.sh-starter-t > b { font-size: 44px; font-stretch: 75%; font-weight: 900; font-style: italic; line-height: 0.9; }
.sh-starter-t > b small { font-size: 14px; font-style: normal; font-weight: 600; color: var(--text-2); }
.sh-starter-t ul { display: flex; flex-wrap: wrap; gap: 14px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-2); }
.sh-starter-t li { display: inline-flex; align-items: center; gap: 6px; }
.sh-starter-t svg { width: 17px; height: 17px; fill: var(--text-2); }
.sh-starter-buy { display: flex; align-items: center; gap: 14px; }

.sh-topup { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px 28px; padding: 20px 24px; border-radius: var(--r-tile); background: var(--panel); }
.sh-topup-t h3 { margin: 0; font-size: 22px; font-stretch: 75%; font-weight: 900; text-transform: uppercase; line-height: 1; }
.sh-topup-t p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.sh-topup-ctl { display: grid; gap: 10px; justify-items: center; }
.sh-topup-ctl .sh-stepper { margin: 0; }
.sh-topup-buy { display: flex; align-items: center; gap: 16px; }

.sh-burn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--r-tile); background: var(--panel); }
.sh-burn h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.sh-burn-n { margin: 6px 0 2px; font-size: 48px; font-stretch: 75%; font-weight: 900; line-height: 1; }
.sh-burn-sub { margin: 0; font-size: 14px; color: var(--text-2); }
.sh-notes { display: grid; gap: 6px; }
.sh-notes p { margin: 0; max-width: 80ch; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.sh-restore .link-btn { font-size: 13px; }

/* ── History ────────────────────────────────────────────────────────────────────────────────── */
.sh-history { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; min-width: 0; }
.sh-history .sk-row { margin-bottom: 8px; }
.sh-undos { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--panel); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sh-undos svg { width: 16px; height: 16px; fill: var(--text-2); }
.sh-hlist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sh-hrow { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 14px; background: var(--panel); }
.sh-hrow-t { display: grid; flex: 1; min-width: 0; gap: 1px; }
.sh-hrow-t b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-hrow-t small { font-size: 13px; color: var(--text-2); }
.sh-held { font-style: normal; font-size: 13px; font-weight: 700; color: var(--signal); }
.sh-hrow .price { font-size: 15px; }
.sh-hrow.undone .sh-hrow-t b { text-decoration: line-through; text-decoration-color: var(--text-3); color: var(--text-2); }
.price.struck b { text-decoration: line-through; color: var(--text-3); }
.sh-hrow-undone { font-size: 13px; font-weight: 700; color: var(--text-3); }
.sh-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; border-radius: var(--r-tile); background: var(--panel); text-align: center; }
.sh-empty > b { font-size: 17px; font-weight: 750; }
.sh-empty > p { margin: 0 0 6px; color: var(--text-2); }
/* History with nothing bought: today's two Featured tiles at mini size stand on the page, no panel box */
.sh-empty.staged { background: none; padding: 48px 20px 24px; gap: 10px; }
.sh-empty-art { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; color: inherit; text-align: left; text-decoration: none; }
.sh-mini { display: block; width: 156px; flex: none; rotate: -4deg; animation: sh-deal 440ms var(--p-ease-out) backwards; }
.sh-mini + .sh-mini { rotate: 4deg; translate: 0 -8px; animation-delay: 60ms; }
.sh-mini .sh-stage { inset: 15% 10% 38%; }
.sh-mini .sh-name { font-size: 19px; }
@media (max-width: 480px) { .sh-mini { width: 128px; } .sh-mini .sh-name { font-size: 17px; } .sh-empty.staged { padding-top: 32px; } }

/* swatches: 40px of an item's material with its slot's glyph */
.sh-swatch { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.sh-sw-ground { position: absolute; inset: 0; display: block; }
.sh-swatch > b { position: relative; font-size: 17px; font-stretch: 75%; font-weight: 900; font-style: italic; color: var(--ink, #fff); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.sh-swatch .sh-sw-ground[data-family="newsprint"] ~ b, .sh-swatch .sh-sw-ground[data-family="pearl"] ~ b, .sh-swatch .sh-sw-ground[data-family="gold"] ~ b, .sh-swatch .sh-sw-ground[data-family="lime"] ~ b, .sh-swatch .sh-sw-ground[data-family="graphite"] ~ b { color: #15151B; text-shadow: none; }
.sh-swatch > i { position: relative; display: block; }
.sh-sw-ring { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(11, 11, 13, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.4); background: rgba(11, 11, 13, 0.6); }
.sh-sw-plate { width: 28px; height: 10px; border-radius: 3px; background: rgba(11, 11, 13, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.sh-sw-fx { width: 28px; height: 18px; border-radius: 4px; background: rgba(11, 11, 13, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.sh-sw-back { width: 18px; height: 25px; border-radius: 3px; background: rgba(11, 11, 13, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); transform: rotate(-6deg); }
.sh-sw-pack { width: 16px; height: 26px; border-radius: 2px; background: rgba(11, 11, 13, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.sh-sw-case { width: 20px; height: 27px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.sh-swatch.photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-swatch.coin { background: var(--panel-3); }
.sh-swatch.coin svg { width: 22px; height: 22px; fill: #F2C66A; }

/* ── responsive ─────────────────────────────────────────────────────────────────────────────── */
@container shop (max-width: 1099px) {
  .sh-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .sh-hero > .sh-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .sh-hero > .sh-b, .sh-hero > .sh-potd { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .sh-hero.no-potd > .sh-b { grid-column: 1 / -1; }
  .sh-bundle { grid-template-columns: minmax(0, 1fr); }
  .sh-gift { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-rows: auto auto; height: auto; gap: 10px 28px; padding: 16px 20px 16px 26px; }
  .sh-gift-card { grid-row: 1 / 3; }
  .sh-gift-dots { grid-column: 2 / -1; grid-row: 2; }
  .sh-gift-act { grid-column: 3; grid-row: 1; }
  .sh-bundle-scrim { background: linear-gradient(180deg, rgba(11, 11, 13, 0.25) 0%, rgba(11, 11, 13, 0.6) 34%, rgba(11, 11, 13, 0.94) 52%); }
  .sh-bundle-body { padding: 4px 24px 26px; }
  .sh-topup { grid-template-columns: minmax(0, 1fr) auto; }
  .sh-topup-buy { grid-column: 1 / -1; justify-content: space-between; }
}
@container shop (max-width: 699px) {
  .sh-bundle-rows { grid-template-columns: minmax(0, 1fr); }
  .sh-bundle-name { font-size: 36px; }
  .sh-bundle-buy .btn.hold, .sh-bundle-buy > .btn { margin-left: 0; width: 100%; }
  .sh-gift { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto; height: auto; gap: 14px; padding: 14px 16px; }
  .sh-gift-card { grid-row: 1; width: 48px; }
  .sh-gift-dots { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .sh-gift-act { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; }
  .sh-gift-act .btn { width: 100%; }
  .sh-gift-back-at { flex-direction: row; justify-content: space-between; width: 100%; white-space: nowrap; }
  .sh-gift-pack { width: 20px; }
  .sh-gift-face b { font-size: 13px; }
  .sh-gift-face img { width: 24px; height: 24px; }
  .sh-gift-act .btn { min-width: 0; }
  .sh-pro { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .sh-pro-word { font-size: 72px; }
  .sh-pro-r { justify-items: start; text-align: left; }
  .sh-starter-in { grid-template-columns: 110px minmax(0, 1fr); padding: 12px 14px 12px 4px; gap: 10px 12px; }
  .sh-starter { min-height: 210px; }
  .sh-starter-art { height: 100px; }
  .sh-starter-pile { height: 80px; }
  .sh-starter-pack { width: 40px; }
  .sh-starter-buy { grid-column: 1 / -1; justify-content: space-between; }
  .sh-starter-t > b { font-size: 34px; }
  .sh-topup { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .sh-topup-ctl { justify-items: start; }
  .sh-hrow { flex-wrap: wrap; }
  .sh-hrow .btn { margin-left: 54px; }
}
@container shop (max-width: 519px) {
  .sh-hero { grid-template-columns: minmax(0, 1fr); }
  .sh-hero > .sh-a { aspect-ratio: 4 / 5; }
  .sh-hero > .sh-b, .sh-hero > .sh-potd { grid-column: 1 / -1; }
  .sh-tile.feat .sh-name { font-size: 30px; }
}
@media (max-width: 860px) {
  .sh-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sh-head h1 { font-size: 40px; }
  .sh-bal { padding: 10px 10px 10px 14px; }
  .sh-bal .btn { margin-left: auto; }
  .sh-tabs-bar { margin: 0 -14px 18px; padding: 8px 14px; }
  .sh-tabs button { height: 38px; padding: 0 16px; }
  .sh-packs-rail { margin: 0 -14px; padding: 4px 14px 8px; scroll-padding: 0 14px; }
  .sh-pk { flex-basis: 150px; }
  .sh-pk-art { height: 168px; }
  .sh-today { gap: 36px; }
  .sh-today > #gift, .sh-today > .sh-gift.sh-sk { margin-top: -24px; }
  .sh-co-preview { height: 220px; }
}

/* ── reduced motion: only opacity changes ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sh-tile, .sh-stage, .sh-boost, .sh-bs-obj, .sh-rail-btn, .sh-tier, .sh-tier-pile, .sh-pk-art .pack3, .sh-photo img, .sh-potd-who, .sh-tabs-on { transition: opacity 160ms ease !important; }
  .sh-tile:hover, .sh-tile:hover .sh-stage, .sh-boost:hover, .sh-boost:hover .sh-bs-obj, .sh-tile[data-slot="banner_fx"]:hover .cx-banner > img, .sh-tier.can:hover, .sh-tier.can:hover .sh-tier-pile, .sh-potd:hover .sh-photo img { transform: none !important; }
  .sh-clip::before, .sh-sweep { display: none; }
  .sh-today .sh-tile:not(.sh-sk), .sh-mini { animation: sh-fade 200ms ease backwards; }
  .sh-gift-inner { transition: none; }
  .sh-gift-dots li.now i { animation: none; }
  .sh-co-preview.settle, .sh-yours, .sh-done-pile .sh-pile, .sh-check li.done .sh-check-mark { animation: sh-fade 200ms ease backwards; }
  .sh-won-flash { animation: sh-fade-out 700ms ease both; }
  :where(.sh-frame[data-r="5"]) { animation: none; }
}
@keyframes sh-fade { from { opacity: 0; } }
@keyframes sh-fade-out { 0%, 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* touch: the small links and chips get a 44px hit area without changing their look */
@media (pointer: coarse) {
  .sh-co-limit .link-btn, .sh-restore .link-btn { padding: 12px 6px; margin: -12px -6px; }
  .icon-btn.sh-pk-odds::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  .sh-gift-chip { height: 36px; }
  .sh-credit a { display: inline-block; padding: 8px 0; margin: -8px 0; }
}
.sh-tier-bar .sh-tier-cost small { white-space: nowrap; }
.sh-tier-bar .btn.small { padding: 0 12px; }

/* ── v10: ponnies priced like a game, the ways to pay, holder ranks ───────────────────────────── */
.sh-tier-price { font-size: 22px; font-stretch: 80%; font-weight: 850; letter-spacing: 0.005em; }
.sh-starter-buy .sh-tier-price, .sh-topup-buy .sh-tier-price { font-size: 28px; }
.sh-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-radius: var(--r-tile); background: var(--panel); }
.sh-ways-t { font-size: 14px; color: var(--text-2); margin-right: 4px; }
.sh-way { display: inline-flex; align-items: baseline; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--panel-2); line-height: 36px; }
.sh-way b { font-size: 14px; font-weight: 800; }
.sh-way small { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); }
.sh-way small svg { width: 13px; height: 13px; fill: currentColor; }
.sh-way.plus small { color: var(--signal); font-weight: 700; }
.sh-way.off { opacity: 0.55; }
.sh-way-card { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 650; color: var(--text-2); text-decoration: none; }
.sh-way-card svg { width: 14px; height: 14px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .sh-way-card:hover { color: var(--text); } }
@container shop (max-width: 699px) { .sh-way-card { margin-left: 0; width: 100%; } }

.sh-pay-ways { margin: 2px 0 14px; }
.sh-pay-ways button:disabled { opacity: 0.45; }

.sh-ranks { display: grid; gap: 14px; }
.sh-rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@container shop (max-width: 899px) { .sh-rank-grid { grid-template-columns: minmax(0, 1fr); } }
.sh-rank { position: relative; isolation: isolate; border-radius: 18px; min-height: 230px; box-shadow: 0 22px 34px -24px rgba(0, 0, 0, 1); }
.sh-rank-in {
  position: absolute; inset: 7px; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 12px;
  background: radial-gradient(120% 90% at 20% 0%, #1F1F27, #0F0F13 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.sh-rank-hold { align-self: flex-start; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 750; line-height: 26px; }
.sh-rank h3 { margin: 0; font-size: 34px; font-stretch: 75%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.95; padding-right: 0.06em; }
.sh-rank ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sh-rank li { display: flex; gap: 10px; font-size: 14px; line-height: 1.35; color: var(--text-2); }
.sh-rank li svg { width: 18px; height: 18px; fill: var(--text); flex: none; margin-top: 1px; }
.sh-rank-you { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; box-shadow: 0 -1px 0 var(--line); }
.sh-rank-you span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--signal); }
.sh-rank-you svg { width: 18px; height: 18px; fill: currentColor; }
.sh-rank.on { outline: 2px solid #fff; outline-offset: 3px; }
