/* Fonts come from the page (index.html self-hosts them, ship.html imports
   them); an @import here was a second render-blocking request chain. */

/* Production Shop refresh. Existing IDs and data attributes stay intact so
   account, checkout, purchase, ownership, Pass, and Locker logic keep working. */
:root {
  --vas-bg: #05070d;
  --vas-panel: #0d1117;
  --vas-row: #101829;
  --vas-line: #1b2540;
  --vas-line-strong: #22304e;
  --vas-ink: #e8eef8;
  --vas-muted: #93a5c2;
  --vas-dim: #6f819f;
  --vas-accent: #7fc4ff;
  --vas-gold: #ffc861;
  --vas-orange: #ff7b35;
  --vas-green: #70e0ae;
}

#shopView {
  --vas-bg: #05070d;
  --vas-panel: #0d1117;
  --vas-row: #101829;
  --vas-line: #1b2540;
  --vas-line-strong: #22304e;
  --vas-ink: #e8eef8;
  --vas-muted: #93a5c2;
  --vas-accent: #7fc4ff;
  --vas-gold: #ffc861;
  --vas-orange: #ff7b35;
  --vas-green: #70e0ae;
  min-height: 100vh;
  color: var(--vas-ink);
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(55, 104, 181, .13), transparent 34rem),
    radial-gradient(circle at 92% 36%, rgba(111, 69, 171, .07), transparent 38rem),
    linear-gradient(180deg, rgba(5, 7, 13, .68), rgba(5, 7, 13, .86) 52%, rgba(5, 7, 13, .78)) !important;
}

body:has(#shopView:not(.hidden)) #glorpGuide,
body:has(#shopView:not(.hidden)) #desktopFullscreenBanner {
  display: none !important;
}

#shopView .shop-layout {
  width: min(1480px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 46px 0 100px;
  gap: 0;
}

#shopView .shop-page-header {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#shopView .shop-page-header::before,
#shopView .shop-page-header::after,
#shopView .shop-page-subtitle,
#shopView .shop-quartermaster,
#shopView .shop-top-divider,
#shopView .shop-note,
#shopView .sr-shop-banner {
  display: none !important;
}

#shopView .shop-page-title {
  margin: 0;
  color: var(--vas-ink);
  font: 700 clamp(44px, 5vw, 68px)/.92 'Chakra Petch', sans-serif;
  letter-spacing: -.045em !important;
  text-transform: none;
  text-shadow: none;
}

/* Season, wallet, and powerup inventory */
#shopView .shop-wallet-shell {
  display: grid;
  grid-template-columns: minmax(260px, .32fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}

#shopView .shop-wallet-card,
#shopView .shop-inventory-card {
  min-width: 0;
  min-height: 86px;
  border: 1px solid var(--vas-line);
  border-radius: 14px;
  background: rgba(16, 24, 41, .76);
  box-shadow: none;
}

#shopView .shop-wallet-card {
  padding: 16px 20px;
}

#shopView .shop-wallet-bg-video {
  opacity: .12;
}

#shopView .shop-wallet-main {
  position: relative;
  z-index: 1;
}

#shopView .shop-wallet-token-gif {
  width: 48px;
  height: 48px;
}

#shopView .shop-wallet-label,
#shopView .shop-inventory-title {
  color: var(--vas-muted);
  font: 700 10px/1.2 'Outfit', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#shopView .shop-wallet-value {
  color: var(--vas-gold);
  font: 700 32px/1 'Chakra Petch', sans-serif;
}

#shopView .shop-inventory-card:not(.shop-pass-card) {
  padding: 12px 14px;
}

#shopView .shop-inventory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

#shopView .shop-inventory-row {
  min-width: 0;
  grid-column: auto !important;
  grid-row: auto !important;
  order: initial !important;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(5, 7, 13, .56);
}

#shopView .shop-inventory-row > span {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

#shopView .shop-inventory-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

#shopView .shop-inventory-meta {
  min-width: 0;
  display: contents;
}

#shopView .shop-inventory-meta em {
  overflow: hidden;
  color: var(--vas-muted);
  font: 700 12px/1.2 'Outfit', sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#shopView .shop-inventory-meta strong {
  color: var(--vas-ink);
  font: 700 clamp(20px, 1.8vw, 26px)/1 'Chakra Petch', sans-serif;
  font-variant-numeric: tabular-nums;
}

#shopView .shop-pass-card {
  order: -1;
  grid-column: 1 / -1;
  min-height: 250px;
  padding: 30px 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 72, .58);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(20, 14, 15, .97), rgba(20, 14, 15, .86) 48%, rgba(20, 14, 15, .18)),
    url('images/Season1_AD.jpg') center / cover !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .26);
}

#shopView .shop-pass-card::after {
  content: 'Open Void Pass  →';
  position: absolute;
  right: 34px;
  bottom: 28px;
  color: #fff;
  font: 700 13px/1 'Chakra Petch', sans-serif;
}

#shopView .shop-pass-topline,
#shopView .shop-pass-season-wrap,
#shopView .shop-pass-season-ends {
  position: relative;
  z-index: 1;
}

#shopView .shop-pass-topline {
  justify-content: flex-start;
  gap: 16px;
}

#shopView .shop-pass-card .shop-inventory-title {
  color: #ffd6aa;
}

#shopView .shop-pass-pill {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 999px;
  border-color: rgba(255, 174, 98, .34);
  background: rgba(13, 10, 12, .7);
}

#shopView .shop-pass-season-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 38px;
}

#shopView .shop-pass-season-value {
  color: #ffb772;
  font: 700 12px/1 'Outfit', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#shopView .shop-pass-season-planet {
  color: #ffd899;
  font: 700 clamp(44px, 5vw, 64px)/.88 'Chakra Petch', sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(255, 182, 94, .34);
}

#shopView .shop-pass-season-ends {
  display: none;
}

/* Season progression */
#shopView .expedition-timeline-shell {
  margin: 0 0 52px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 72, .22);
  border-radius: 14px;
  background: rgba(19, 13, 18, .78);
  box-shadow: none;
}

#shopView .expedition-timeline-season {
  color: var(--vas-ink);
  font: 700 clamp(28px, 3vw, 40px)/1 'Chakra Petch', sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
  text-shadow: none;
}

#shopView .expedition-season-progress {
  margin: 16px 0 18px;
}

#shopView .expedition-season-progress-track {
  height: 10px;
  border-radius: 4px;
}

#shopView .expedition-timeline-fade-wrap,
#shopView .expedition-timeline-rail-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

#shopView .expedition-dual-track {
  gap: 14px;
}

#shopView .voyager-spacer {
  display: none !important;
}

#shopView .expedition-timeline-rail {
  gap: 14px;
}

#shopView .expedition-tier-card {
  flex: 0 0 190px;
  width: 190px;
  min-height: 224px;
  padding: 14px 14px 40px;
  border-width: 1px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .26);
}

#shopView .expedition-tier-reward-icon {
  width: 92px;
  height: 92px;
}

#shopView .expedition-tier-reward-name {
  font: 700 13px/1.25 'Chakra Petch', sans-serif;
}

/* Department and cosmetic tabs */
#shopView #shopSubtabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  margin: 0 0 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#shopView #shopSubtabs .shop-subtab {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 12px;
  background: var(--vas-row);
  box-shadow: none;
  color: var(--vas-muted);
  font: 700 13px/1 'Chakra Petch', sans-serif;
  letter-spacing: .07em;
  text-shadow: none;
  text-transform: uppercase;
}

#shopView #shopSubtabs .shop-subtab:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 196, 255, .55);
}

#shopView #shopSubtabs .shop-subtab.active {
  color: #07111d;
  border-color: var(--vas-accent);
  background: var(--vas-accent);
  box-shadow: 0 8px 24px rgba(127, 196, 255, .16);
}

#shopView #shopSubtabs .shop-subtab-icon {
  display: none;
}

#shopView .cosmetics-layout,
#shopView .cosmetics-main-col {
  display: block;
  width: 100%;
  border: 0;
}

#shopView .cosmetics-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
}

#shopView .cosmetics-subtab {
  width: auto;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(140, 160, 200, .18);
  border-radius: 999px;
  background: rgba(16, 24, 41, .84);
  box-shadow: none;
  color: var(--vas-muted);
  font: 700 12px/1 'Outfit', sans-serif;
  letter-spacing: .02em;
  text-shadow: none;
  text-transform: none;
}

#shopView .cosmetics-subtab::before,
#shopView .cosmetics-subtab::after {
  display: none;
}

#shopView .cosmetics-subtab:hover,
#shopView .cosmetics-subtab.active {
  transform: none;
  color: var(--vas-ink);
  border-color: rgba(127, 196, 255, .55);
  background: rgba(127, 196, 255, .13);
  box-shadow: none;
  text-shadow: none;
}

#shopView .cosmetics-subtab .vas-tab-count {
  margin-left: 5px;
  opacity: .66;
}

#shopView .shop-command-bar {
  grid-template-columns: 1fr !important;
  width: 100%;
  margin: 0 0 26px;
}

#shopView .shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#shopView .shop-filter-field {
  min-width: 180px;
  flex: 0 1 230px;
}

#shopView .shop-filter-label {
  color: var(--vas-muted);
  font-size: 10px;
}

#shopView .shop-control-select {
  min-height: 44px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 12px;
  background: var(--vas-row);
  color: var(--vas-ink);
  font: 600 12px/1 'Outfit', sans-serif;
  text-transform: none;
}

/* Powerups and ticket packs */
#shopView .shop-tab-panel {
  overflow: visible;
  border-radius: 0;
}

#shopView #shopCatalogPanel .shop-columns {
  display: block;
}

#shopView #shopCatalogPanel .shop-section-title,
#shopView .shop-group-label,
#shopView .shop-cosmetic-subtitle {
  margin: 0 0 24px;
  color: var(--vas-ink);
  font: 700 clamp(30px, 3.5vw, 46px)/1 'Chakra Petch', sans-serif;
  letter-spacing: -.03em !important;
  text-transform: none !important;
}

#shopView #shopCatalogPanel .shop-section-title::before,
#shopView #shopCatalogPanel .shop-section-title::after,
#shopView .shop-group-label::before,
#shopView .shop-group-label::after,
#shopView .shop-cosmetic-subtitle::before,
#shopView .shop-cosmetic-subtitle::after {
  display: none !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(140, 160, 200, .14) !important;
  border-radius: 12px;
  background: var(--vas-panel) !important;
  box-shadow: none;
  text-align: left;
  order: initial !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item::before,
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item::after {
  display: none;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 196, 255, .5) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .25);
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon {
  width: 100%;
  height: 250px;
  min-height: 250px;
  margin: 0 0 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 50% 44%, rgba(127, 196, 255, .15), transparent 68%);
}

#shopView #shopCatalogPanel .powerup-wide-grid .powerup-icon-gif {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name,
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc,
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price {
  margin-left: 18px;
  margin-right: 18px;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name {
  color: var(--vas-ink);
  font: 700 18px/1.15 'Chakra Petch', sans-serif;
  letter-spacing: 0;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc {
  min-height: 38px;
  margin-top: 9px;
  color: var(--vas-muted);
  font: 400 13px/1.45 'Outfit', sans-serif;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price {
  margin-top: auto;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--vas-ink);
  font: 700 15px/1 'Chakra Petch', sans-serif;
}

#shopView #shopVoidTokensSection {
  display: none;
}

body.shop-tickets-mode #shopView #shopCatalogPanel .shop-columns > .shop-section:not(#shopVoidTokensSection) {
  display: none;
}

body.shop-tickets-mode #shopView #shopVoidTokensSection {
  display: block;
}

#shopView .token-topup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding-top: 10px;
}

#shopView .token-topup-grid .stripe-package {
  min-width: 0;
  min-height: 356px;
  padding: 20px 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 24px 132px auto 20px 48px !important;
  grid-template-areas: 'name' 'icon' 'amount' 'bonus' 'price' !important;
  align-content: start;
  justify-items: center;
  gap: 5px;
  overflow: hidden !important;
  border: 1px solid var(--vas-line-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(145, 93, 224, .18), transparent 42%),
    linear-gradient(165deg, rgba(16, 24, 41, .96), rgba(9, 13, 24, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 16px 34px rgba(0, 0, 0, .22);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#shopView .token-topup-grid .stripe-package:hover {
  transform: translateY(-4px);
  border-color: rgba(160, 116, 236, .68);
  background:
    radial-gradient(circle at 50% 30%, rgba(145, 93, 224, .24), transparent 44%),
    linear-gradient(165deg, rgba(18, 27, 46, .98), rgba(10, 14, 25, .98));
  box-shadow: 0 20px 42px rgba(0, 0, 0, .3), 0 0 24px rgba(145, 93, 224, .12);
}

#shopView .token-topup-grid .stripe-package.popular {
  transform: none;
  overflow: hidden !important;
  border-color: rgba(127, 196, 255, .48);
  background:
    radial-gradient(circle at 50% 28%, rgba(127, 196, 255, .2), transparent 44%),
    linear-gradient(165deg, rgba(17, 29, 49, .98), rgba(9, 15, 27, .98));
  box-shadow: 0 18px 40px rgba(40, 129, 210, .12);
}

#shopView .token-topup-grid .stripe-package.popular:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 196, 255, .78);
  box-shadow: 0 22px 46px rgba(40, 129, 210, .18), 0 0 24px rgba(127, 196, 255, .15);
}

#shopView .token-topup-grid .stripe-package.popular::before {
  content: 'Most popular';
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--vas-accent);
  box-shadow: none;
  color: #07111d;
  font: 700 9px/1 'Chakra Petch', sans-serif;
  letter-spacing: .09em;
}

#shopView .token-topup-grid .stripe-package-token {
  grid-area: icon;
  width: 124px;
  height: 124px;
  margin: 0;
  align-self: center;
}

#shopView .token-topup-grid .stripe-coin {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .38));
}

#shopView .token-topup-grid .stripe-package-tokens {
  grid-area: amount;
  color: var(--vas-gold);
  font: 700 clamp(27px, 2.5vw, 38px)/1 'Chakra Petch', sans-serif;
  letter-spacing: -.025em;
  text-shadow: 0 0 20px rgba(255, 200, 97, .15);
}

#shopView .token-topup-grid .stripe-package-tokens::after {
  content: ' Tickets';
  color: var(--vas-muted);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#shopView .token-topup-grid .stripe-package-name {
  grid-area: name;
  align-self: center;
  color: var(--vas-muted);
  font: 700 10px/1 'Chakra Petch', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#shopView .token-topup-grid .stripe-package-bonus {
  grid-area: bonus;
  min-height: 20px;
  color: #c7b3ea;
  font: 600 12px/1.2 'Outfit', sans-serif;
}

#shopView .token-topup-grid .stripe-package-price {
  grid-area: price;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;
  justify-self: stretch;
  display: grid;
  place-items: center;
  border: 1px solid #ff965f;
  border-radius: 10px;
  background: var(--vas-orange);
  box-shadow: 0 10px 22px rgba(255, 123, 53, .18);
  color: #170a04 !important;
  font: 700 17px/1 'Chakra Petch', sans-serif;
  text-shadow: none !important;
}

/* Cosmetic catalog */
#shopView #shopCosmeticsPanel::before,
#shopView #shopLockerPanel::before {
  display: none;
}

#shopView .shop-rotation-items-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#shopView .shop-rotation-items-title {
  padding: 0;
  color: var(--vas-gold);
  font-size: 11px;
  text-align: left;
}

#shopView .shop-rotation-header {
  display: block;
  padding: 0;
}

#shopView .shop-rotation-header-countdown {
  font: 700 13px/1 'Chakra Petch', sans-serif;
  color: var(--vas-muted);
  text-shadow: none;
}

#shopView .shop-rotation-row {
  grid-column: 1 / -1;
}

#shopView .shop-spotlight-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item {
  min-height: 136px;
  padding: 14px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: 'media name' 'media desc' 'media price';
  align-items: center;
  gap: 4px 15px;
  overflow: hidden;
  border-radius: 12px;
  text-align: left;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon {
  grid-area: media;
  width: 104px !important;
  height: 104px !important;
  min-height: 104px;
  margin: 0 !important;
  border-radius: 10px;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon .avatar-shell {
  width: 84px;
  height: 84px;
  border-width: 3px;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-name {
  grid-area: name;
  margin: 8px 0 0;
  align-self: end;
  font-size: 16px;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-desc {
  grid-area: desc;
  min-height: 0;
  margin: 2px 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--vas-muted);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-price {
  grid-area: price;
  margin: 0 0 8px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--vas-gold);
  font: 700 15px/1 'Chakra Petch', sans-serif;
  justify-self: start;
}

#shopView .shop-spotlight-rail .shop-item.shop-daily-item .token-icon {
  width: 19px;
  height: 19px;
}

#shopView #shopCosmeticsPanel .shop-item-badges {
  top: 10px;
  left: 10px;
  right: 10px;
  justify-content: flex-end;
}

#shopView #shopCosmeticsPanel .shop-item-badge.top-center-pill {
  position: static;
  margin: 0;
  transform: none;
}

#shopView :is(.va-avatar-flat, #shopCosmeticBgGrid, #shopCosmeticBundleGrid, .sr-shop-grid, .shop-fx-shop-list) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-height: none;
  overflow: visible;
  padding: 0;
}

#shopView .avatar-accordion-header {
  display: none !important;
}

#shopView .avatar-accordion-panel {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

#shopView #shopCosmeticsPanel .shop-item,
#shopView .shop-spotlight-rail .shop-item {
  --vas-rarity: 190, 208, 240;
  position: relative;
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(var(--vas-rarity), .55) !important;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(var(--vas-rarity), .16), #0d1117 62%, #090d18) !important;
  box-shadow: none;
  text-align: left;
}

#shopView .shop-item[data-shop-rarity='uncommon'] { --vas-rarity: 96, 214, 156; }
#shopView .shop-item[data-shop-rarity='rare'] { --vas-rarity: 112, 182, 255; }
#shopView .shop-item[data-shop-rarity='epic'] { --vas-rarity: 255, 118, 194; }
#shopView .shop-item[data-shop-rarity='legendary'] { --vas-rarity: 236, 160, 66; }

#shopView #shopCosmeticsPanel .shop-item::after,
#shopView .shop-spotlight-rail .shop-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  display: block;
  background: rgb(var(--vas-rarity));
  box-shadow: 0 0 14px rgba(var(--vas-rarity), .42);
}

#shopView #shopCosmeticsPanel .shop-item:hover,
#shopView .shop-spotlight-rail .shop-item:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--vas-rarity), .9) !important;
  box-shadow: 0 18px 36px rgba(var(--vas-rarity), .12), 0 18px 34px rgba(0, 0, 0, .25);
}

#shopView #shopCosmeticsPanel .shop-item-icon,
#shopView .shop-spotlight-rail .shop-item-icon {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px;
  margin: 0 0 18px !important;
  display: grid !important;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 50% 44%, rgba(var(--vas-rarity), .3), rgba(var(--vas-rarity), .07) 48%, transparent 72%);
}

#shopView #shopCosmeticsPanel .shop-item-icon .avatar-shell {
  width: 142px;
  height: 142px;
  overflow: hidden;
  border: 4px solid rgba(230, 242, 255, .9);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(var(--vas-rarity), .85), 0 16px 30px rgba(0, 0, 0, .38), 0 0 24px rgba(var(--vas-rarity), .34);
}

#shopView #shopCosmeticsPanel .shop-item-icon .avatar-shell img {
  width: 106%;
  height: 106%;
  object-fit: cover;
}

#shopView #shopCosmeticsPanel .shop-item-name,
#shopView #shopCosmeticsPanel .shop-item-desc,
#shopView #shopCosmeticsPanel .shop-item-price,
#shopView #shopCosmeticsPanel .shop-fx-copy,
#shopView #shopCosmeticsPanel .shop-fx-price {
  margin-left: 18px;
  margin-right: 18px;
}

#shopView #shopCosmeticsPanel .shop-item-name,
#shopView #shopCosmeticsPanel .shop-fx-title {
  color: var(--vas-ink);
  font: 700 18px/1.15 'Chakra Petch', sans-serif;
  letter-spacing: 0;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#shopView #shopCosmeticsPanel .shop-item-desc,
#shopView #shopCosmeticsPanel .shop-fx-desc {
  min-height: 38px;
  margin-top: 9px;
  color: var(--vas-muted);
  font: 400 13px/1.45 'Outfit', sans-serif;
}

#shopView #shopCosmeticsPanel .shop-item-price,
#shopView #shopCosmeticsPanel .shop-fx-price {
  margin-top: auto;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--vas-ink);
  font: 700 15px/1 'Chakra Petch', sans-serif;
  align-self: flex-start;
}

#shopView #shopCosmeticsPanel .shop-item-badge[class*='rarity-'] {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px;
  background: rgb(var(--vas-rarity));
  color: #07111e;
  font: 700 10px/1 'Chakra Petch', sans-serif;
  letter-spacing: .12em;
  box-shadow: 0 5px 16px rgba(var(--vas-rarity), .28);
}

#shopView #shopCosmeticsPanel .shop-item-badges .shop-item-badge {
  margin: 0 !important;
  transform: none !important;
  border-radius: 6px;
}

/* Daily deals are compact horizontal picks, not full catalog cards. */
#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item {
  min-height: 150px !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  grid-template-areas: 'media name' 'media desc' 'media price' !important;
  align-items: center !important;
  gap: 4px 16px !important;
  overflow: hidden !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon {
  grid-area: media !important;
  width: 108px !important;
  height: 108px !important;
  min-height: 108px !important;
  margin: 0 !important;
  border-radius: 10px !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon .avatar-shell {
  width: 88px !important;
  height: 88px !important;
  border-width: 3px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-name {
  grid-area: name;
  margin: 8px 0 0 !important;
  align-self: end;
  font-size: 16px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-desc {
  grid-area: desc;
  min-height: 0;
  margin: 2px 0 !important;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-price {
  grid-area: price;
  margin: 0 0 8px !important;
  padding: 0 !important;
  justify-self: start;
  align-self: start;
}

#shopView .token-topup-grid .stripe-package.popular .stripe-package-name {
  visibility: hidden;
}

#shopView .token-topup-grid .stripe-package[data-package='popular'] .stripe-coin {
  transform: scale(1.2);
}

#shopView .token-topup-grid .stripe-package[data-package='value'] .stripe-coin,
#shopView .token-topup-grid .stripe-package[data-package='ultimate'] .stripe-coin {
  transform: scale(1.42);
}

#shopView #shopCosmeticsPanel .shop-fx-shop-list .shop-fx-item {
  display: flex;
  min-height: 360px;
  padding: 0 0 22px;
}

#shopView #shopCosmeticsPanel .shop-fx-copy {
  padding: 0;
}

/* Purchase confirmation */
#confirmModal {
  z-index: 9000;
  background: rgba(2, 5, 10, .86);
  backdrop-filter: blur(14px);
}

#confirmModal .confirm-modal {
  width: min(580px, calc(100vw - 32px));
  max-width: 580px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 18px;
  background: #0b111d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
  overflow: hidden;
}

#confirmModal .confirm-modal::after { display: none; }

#confirmModal .modal-header {
  min-height: 64px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--vas-line);
  background: #0d1422;
}

#confirmModal .modal-title {
  color: var(--vas-ink);
  font: 700 15px/1 'Chakra Petch', sans-serif;
  letter-spacing: .08em;
}

#confirmModal .modal-close {
  position: static;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vas-line-strong);
  border-radius: 10px;
  background: var(--vas-row);
  box-shadow: none;
  color: var(--vas-muted);
  font-size: 24px;
  line-height: 1;
}

#confirmModal .confirm-body { padding: 24px; }
#confirmModal .confirm-layout { display: block; }
#confirmModal .confirm-info { gap: 16px; }

#confirmModal .confirm-powerup-media.visible {
  width: 100%;
  height: 220px;
  margin: 0 0 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vas-line);
  border-radius: 14px;
  background: #080d17;
  overflow: hidden;
}

#confirmModal .confirm-powerup-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#confirmModal .confirm-item-preview.visible {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 14px;
  background: var(--vas-row);
  box-shadow: none;
}

#confirmModal .confirm-item-icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 12px;
  background: #080d17;
  box-shadow: none;
}

#confirmModal .confirm-item-icon img { width: 100%; height: 100%; object-fit: contain; }
#confirmModal .confirm-item-name { color: var(--vas-ink); font: 700 15px/1.2 'Chakra Petch', sans-serif; letter-spacing: .04em; }
#confirmModal .confirm-item-desc { color: var(--vas-muted); font-size: 13px; }
#confirmModal .confirm-item-subdesc { color: var(--vas-dim); font-size: 12px; }

#confirmModal #confirmText {
  color: var(--vas-ink);
  font: 600 16px/1.45 'Outfit', sans-serif;
}

#confirmModal .confirm-bundle-list {
  display: none;
  max-height: 260px;
  overflow: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#confirmModal .confirm-bundle-list.visible { display: grid; }

#confirmModal:has(.confirm-bundle-list.visible) .confirm-item-desc { display: none; }

#confirmModal .confirm-bundle-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas: 'icon name' 'icon kind';
  align-items: center;
  gap: 2px 10px;
  padding: 9px;
  border: 1px solid var(--vas-line);
  border-radius: 10px;
  background: #080d17;
}

#confirmModal .confirm-bundle-row-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--vas-row);
  overflow: hidden;
}

#confirmModal .confirm-bundle-row-icon img,
#confirmModal .confirm-bundle-row-icon span { width: 100%; height: 100%; object-fit: cover; }
#confirmModal .confirm-bundle-row-name { grid-area: name; min-width: 0; color: var(--vas-ink); font: 700 12px/1.2 'Chakra Petch', sans-serif; }
#confirmModal .confirm-bundle-row-kind { grid-area: kind; color: var(--vas-dim); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

#confirmModal .confirm-actions { gap: 10px; }
#confirmModal .confirm-btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--vas-line-strong);
  border-radius: 10px;
  background: var(--vas-row);
  box-shadow: none;
  color: var(--vas-muted);
  font: 700 12px/1 'Chakra Petch', sans-serif;
  letter-spacing: .06em;
}

#confirmModal #acceptConfirm {
  border-color: #ff965f;
  background: var(--vas-orange);
  box-shadow: 0 10px 24px rgba(255, 123, 53, .2);
  color: #170a04;
}

#confirmModal #acceptConfirm:hover {
  transform: translateY(-1px);
  border-color: #ffad7d;
  box-shadow: 0 12px 30px rgba(255, 123, 53, .28);
}

/* Purchase details and owned states */
#shopItemDetailModal,
#shopPostPurchaseModal {
  z-index: 9000;
  background: rgba(2, 5, 11, .88) !important;
  backdrop-filter: blur(16px);
}

#shopItemDetailModal .shop-item-detail-modal {
  width: min(980px, calc(100% - 32px));
  max-width: 980px;
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto !important;
  border: 1px solid #22304e;
  border-radius: 16px;
  background: linear-gradient(155deg, #101829, #090d18 76%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .62);
  font-family: 'Outfit', sans-serif;
}

#shopItemDetailModal .modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(140, 160, 200, .12);
}

#shopItemDetailModal .shop-item-detail-body {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 30px;
}

#shopItemDetailModal .shop-item-detail-media {
  width: 100%;
  min-width: 0;
  min-height: 430px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(127, 196, 255, .15), transparent 62%);
}

#shopItemDetailModal .shop-item-detail-cosmetic-preview {
  width: 100%;
  height: 100%;
}

#shopItemDetailModal .shop-item-detail-cosmetic-shell {
  width: 260px;
  height: 260px;
}

#shopItemDetailModal .shop-item-detail-content {
  align-self: center;
  gap: 16px;
}

#shopItemDetailModal .shop-item-detail-kicker {
  color: #7fc4ff;
  font: 700 11px/1 'Outfit', sans-serif;
}

#shopItemDetailModal .shop-item-detail-name {
  color: #e8eef8;
  font: 700 clamp(32px, 4vw, 44px)/.98 'Chakra Petch', sans-serif;
  letter-spacing: -.035em;
  text-transform: none;
}

#shopItemDetailModal .shop-item-detail-desc {
  color: #c5d0e3;
  font-size: 14px;
}

#shopItemDetailModal:has(.shop-item-detail-bundle-list.visible) .shop-item-detail-desc {
  display: none;
}

#shopItemDetailModal .shop-item-detail-bundle-list.visible {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 340px;
  margin-top: 18px;
  padding: 0;
  overflow-y: auto;
  border: 0;
  background: none;
}

#shopItemDetailModal .shop-item-detail-bundle-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas: 'media name state' 'media kind state';
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(127, 196, 255, .22);
  border-radius: 10px;
  background: rgba(127, 196, 255, .06);
}

#shopItemDetailModal .shop-item-detail-bundle-row.owned {
  opacity: .7;
}

#shopItemDetailModal .shop-item-detail-bundle-icon {
  grid-area: media;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

#shopItemDetailModal .shop-item-detail-bundle-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

#shopItemDetailModal .shop-item-detail-bundle-name {
  grid-area: name;
  color: #e8eef8;
  font: 700 13px/1.2 'Chakra Petch', sans-serif;
}

#shopItemDetailModal .shop-item-detail-bundle-kind,
#shopItemDetailModal .shop-item-detail-bundle-state {
  color: #93a5c2;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

#shopItemDetailModal .shop-item-detail-bundle-kind { grid-area: kind; }
#shopItemDetailModal .shop-item-detail-bundle-state { grid-area: state; text-align: right; }

#shopItemDetailModal .shop-item-detail-bundle-row.owned .shop-item-detail-bundle-state {
  color: #70e0ae;
}

#shopItemDetailModal .shop-item-detail-meta {
  border-color: #22304e;
  border-radius: 12px;
  background: #101829;
}

#shopItemDetailModal .shop-item-detail-price {
  font: 700 22px/1 'Chakra Petch', sans-serif;
}

#shopItemDetailModal .shop-item-detail-actions .confirm-btn,
#shopPostPurchaseModal .confirm-btn {
  min-height: 48px;
  border-radius: 12px;
  font: 700 13px/1 'Chakra Petch', sans-serif;
}

#shopItemDetailModal .shop-item-detail-actions .confirm-btn:not(.ghost),
#shopPostPurchaseModal .confirm-btn:not(.ghost) {
  border-color: #ff8a3d;
  background: linear-gradient(135deg, #ff8a3d, #ff6b2c);
  color: #fff;
}

#shopPostPurchaseModal #shopPostLockerBtn {
  border: 1px solid #ff965f;
  background: var(--vas-orange);
  box-shadow: 0 10px 24px rgba(255, 123, 53, .2);
  color: #170a04;
}

#shopPostPurchaseModal .shop-post-modal {
  width: min(540px, calc(100% - 32px));
  max-width: 540px;
  overflow: hidden !important;
  border: 1px solid #22304e;
  border-radius: 16px;
  background: linear-gradient(155deg, #101829, #090d18 76%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .62);
  font-family: 'Outfit', sans-serif;
}

#shopPostPurchaseModal .shop-post-icon {
  color: #07111e;
  border: 0;
  background: #70e0ae;
  box-shadow: 0 0 36px rgba(112, 224, 174, .3);
  text-shadow: none;
}

#shopPostPurchaseModal .modal-title {
  color: #e8eef8;
  font: 700 32px/1 'Chakra Petch', sans-serif;
  letter-spacing: -.02em;
  text-transform: none;
  text-shadow: none;
}

#shopPostPurchaseModal .shop-post-unlock-badge {
  color: #70e0ae;
  text-shadow: none;
}

#shopPostPurchaseModal .shop-post-body {
  padding: 20px 24px 24px;
  color: #93a5c2;
  text-align: center;
}

#shopPostPurchaseModal .shop-post-summary {
  color: #93a5c2;
  font-size: 14px;
}

#shopPostPurchaseModal .shop-post-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

#shopPostPurchaseModal .shop-post-item {
  min-width: 0;
  padding: 9px;
  border-radius: 10px;
  background: rgba(127, 196, 255, .08);
}

#shopPostPurchaseModal .shop-post-item-media {
  width: 52px;
  height: 52px;
  margin: 0 auto 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

#shopPostPurchaseModal .shop-post-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#shopPostPurchaseModal .shop-post-item-name {
  display: block;
  overflow: hidden;
  color: #c5d0e3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#shopPostPurchaseModal .shop-post-actions {
  flex-wrap: nowrap;
}

#shopPostPurchaseModal .shop-post-actions .confirm-btn {
  flex: 1;
}

@media (max-width: 1120px) {
  #shopView #shopCatalogPanel .powerup-wide-grid { gap: 14px; }
  #shopView :is(.va-avatar-flat, #shopCosmeticBgGrid, #shopCosmeticBundleGrid, .sr-shop-grid, .shop-fx-shop-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #shopView #shopCatalogPanel .token-topup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 850px) {
  #shopView .shop-wallet-shell { grid-template-columns: 1fr; }
  #shopView .shop-inventory-grid { overflow-x: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); }
  #shopView #shopCatalogPanel .powerup-wide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #shopView .shop-spotlight-rail { grid-template-columns: 1fr; }
  #shopItemDetailModal .shop-item-detail-body { grid-template-columns: 1fr; }
  #shopItemDetailModal .shop-item-detail-media { min-height: 280px; }
}

@media (max-width: 620px) {
  #shopView .shop-layout { width: calc(100% - 22px); padding: 22px 0 72px; }
  #shopView .shop-page-title { font-size: 42px; }
  #shopView .shop-pass-card { min-height: 340px; padding: 24px 22px; }
  #shopView .shop-pass-card::after { left: 22px; right: auto; bottom: 24px; }
  #shopView .shop-pass-pill { top: auto; right: auto; bottom: 52px; left: 0; }
  #shopView .shop-pass-season-planet { font-size: 42px; }
  #shopView .expedition-timeline-shell { padding: 14px 10px; }
  #shopView #shopSubtabs { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 32px; }
  #shopView #shopSubtabs .shop-subtab { min-width: 0; padding: 0 6px; font-size: 10px; letter-spacing: .04em; }
  #shopView #shopCatalogPanel .powerup-wide-grid,
  #shopView :is(.va-avatar-flat, #shopCosmeticBgGrid, #shopCosmeticBundleGrid, .sr-shop-grid, .shop-fx-shop-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item,
  #shopView #shopCosmeticsPanel .shop-item { min-height: 280px; }
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon,
  #shopView #shopCosmeticsPanel .shop-item-icon { height: 165px !important; min-height: 165px; }
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc,
  #shopView #shopCosmeticsPanel .shop-item-desc,
  #shopView #shopCosmeticsPanel .shop-fx-desc { display: none; }
  #shopView #shopCatalogPanel .token-topup-grid { grid-template-columns: 1fr !important; }
  #shopItemDetailModal .shop-item-detail-modal { width: calc(100% - 20px); }
  #shopItemDetailModal .shop-item-detail-body { padding: 0 20px 24px; gap: 20px; }
  #shopItemDetailModal .shop-item-detail-media { min-height: 225px; }
  #shopItemDetailModal .shop-item-detail-name { font-size: 31px; }
  #shopPostPurchaseModal .shop-post-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #shopPostPurchaseModal .shop-post-actions { flex-direction: column-reverse; }
  #confirmModal .confirm-body { padding: 18px; }
  #confirmModal .confirm-bundle-list { grid-template-columns: 1fr; }
  #confirmModal .confirm-actions { display: grid; grid-template-columns: 1fr 1fr; }
  #confirmModal .confirm-btn { width: 100%; padding: 0 10px; }
}

/* Final card composition: compact art, anchored information, consistent rhythm. */
#shopView #shopCatalogPanel .powerup-wide-grid,
#shopView :is(.va-avatar-flat, #shopCosmeticBgGrid, #shopCosmeticBundleGrid, .sr-shop-grid, .shop-fx-shop-list) {
  gap: 16px;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item {
  height: 284px;
  min-height: 0 !important;
  padding: 0 16px 16px !important;
  display: grid !important;
  grid-template-areas: none !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 148px auto minmax(32px, auto) 24px;
  align-content: start;
  gap: 5px;
  overflow: hidden;
  text-align: left !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='score'] {
  --powerup-glow-rgb: 245, 196, 72;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='magnet'] {
  --powerup-glow-rgb: 202, 210, 228;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='shield'] {
  --powerup-glow-rgb: 70, 174, 255;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='life'] {
  --powerup-glow-rgb: 255, 92, 97;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='slow'] {
  --powerup-glow-rgb: 219, 112, 255;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon {
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: calc(100% + 32px) !important;
  height: 148px !important;
  min-height: 148px !important;
  margin: 0 -16px 7px !important;
  border-bottom: 1px solid rgba(140, 160, 200, .1);
  background: radial-gradient(circle at 50% 52%, rgba(var(--powerup-glow-rgb, 127, 196, 255), .2), transparent 62%);
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon img {
  width: 96px !important;
  height: 96px !important;
  max-width: 68% !important;
  max-height: 68% !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name,
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc,
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price {
  grid-area: auto !important;
  justify-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name { grid-row: 2 !important; }
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc { grid-row: 3 !important; }
#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price { grid-row: 4 !important; }

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name {
  font-size: 16px;
  line-height: 1.1;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc {
  min-height: 0;
  margin-top: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price {
  margin-top: 2px !important;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vas-gold);
  font-size: 14px;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) {
  height: 318px;
  min-height: 0 !important;
  padding: 0 16px 16px !important;
  display: grid !important;
  grid-template-areas: none !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 176px auto minmax(36px, auto) 24px;
  align-content: start;
  gap: 6px;
  overflow: hidden;
  text-align: left !important;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item)::before {
  display: none !important;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item)::after,
#shopView #shopCosmeticsPanel .shop-item.shop-daily-item::after {
  top: auto !important;
  bottom: 0 !important;
  height: 3px;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon {
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: calc(100% + 32px) !important;
  height: 176px !important;
  min-height: 176px !important;
  margin: 0 -16px 8px !important;
  border-bottom: 1px solid rgba(var(--vas-rarity), .12);
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .shop-item-icon .avatar-shell {
  width: 122px;
  height: 122px;
  border-width: 3px;
  box-shadow: 0 0 0 2px rgba(var(--vas-rarity), .82), 0 12px 24px rgba(0, 0, 0, .32), 0 0 18px rgba(var(--vas-rarity), .24);
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-name,
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc,
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-price {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-name,
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc,
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-price {
  grid-area: auto !important;
  grid-column: 1 !important;
  justify-self: stretch !important;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-name { grid-row: 2 !important; }
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc { grid-row: 3 !important; }
#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-price { grid-row: 4 !important; }

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-name {
  font-size: 16px;
  line-height: 1.15;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc {
  min-height: 0;
  max-height: 36px;
  margin-top: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-price {
  margin-top: 1px !important;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vas-gold);
  font-size: 14px;
}

#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) {
  grid-template-rows: 176px minmax(72px, auto) 24px;
}

#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-copy,
#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-price {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-copy {
  display: grid;
  align-content: start;
  gap: 7px;
}

#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-title {
  font-size: 16px;
}

#shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-desc {
  min-height: 0;
  max-height: 36px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView #shopCosmeticsPanel .shop-item-badges {
  top: 11px;
  left: 11px;
  right: 11px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 7px;
}

#shopView #shopCosmeticsPanel .shop-item-badges .shop-item-badge {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  font: 700 9px/1 'Chakra Petch', sans-serif;
  letter-spacing: .09em;
}

#shopView #shopCosmeticsPanel .shop-item-badges .shop-item-badge[class*='rarity-'] {
  margin-left: auto !important;
}

#shopView #shopCosmeticsPanel .shop-item-badge.rarity-common { background: #b8c7dd; color: #101725; }
#shopView #shopCosmeticsPanel .shop-item-badge.rarity-uncommon { background: #63d6a0; color: #092318; }
#shopView #shopCosmeticsPanel .shop-item-badge.rarity-rare { background: #70b6ff; color: #07182a; }
#shopView #shopCosmeticsPanel .shop-item-badge.rarity-epic { background: #f176c2; color: #29091d; }
#shopView #shopCosmeticsPanel .shop-item-badge.rarity-legendary { background: #eca042; color: #281503; }

#shopView #shopCosmeticsPanel .shop-item-badge.leaving {
  border-color: rgba(127, 196, 255, .65);
  background: #17658d;
  color: #edf9ff;
  animation: none;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item {
  height: 138px;
  min-height: 138px !important;
  padding: 13px !important;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 3px 14px !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon {
  width: 100px !important;
  height: 100px !important;
  min-height: 100px !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon .avatar-shell {
  width: 78px !important;
  height: 78px !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-name {
  margin: 6px 0 0 !important;
  font-size: 15px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-desc {
  margin: 0 !important;
  font-size: 11px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-price {
  margin: 0 0 5px !important;
  display: flex !important;
  align-items: flex-end;
  gap: 8px;
  font-size: 14px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-stack {
  display: inline-flex;
  align-items: flex-end;
  gap: 7px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-cut {
  opacity: .58;
  font-size: 10px;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-off {
  color: var(--vas-gold);
  font-size: 10px;
  letter-spacing: .07em;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item.shop-fx-item .shop-fx-copy {
  display: contents !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item.shop-fx-item .shop-fx-title {
  grid-area: name !important;
  margin: 6px 0 0 !important;
  align-self: end;
  font: 700 15px/1.05 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item.shop-fx-item .shop-fx-desc {
  grid-area: desc !important;
  min-height: 0;
  margin: 0 !important;
  display: -webkit-box;
  overflow: hidden;
  font: 400 11px/1.3 'Outfit', sans-serif !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item.shop-fx-item .shop-fx-price {
  grid-area: price !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  align-self: start;
  justify-self: start;
  gap: 6px !important;
  color: var(--vas-gold);
  font: 700 14px/1 'Chakra Petch', sans-serif !important;
}

#shopView #shopCatalogPanel .token-topup-grid .stripe-package {
  min-height: 296px;
  height: 296px;
  padding: 17px 16px 16px;
  grid-template-rows: 22px 96px auto 18px 44px !important;
  gap: 4px;
}

#shopView #shopCatalogPanel .token-topup-grid .stripe-package-token {
  width: 100px;
  height: 96px;
}

#shopView #shopCatalogPanel .token-topup-grid .stripe-package-tokens {
  font-size: clamp(25px, 2.1vw, 34px);
}

#shopView #shopCatalogPanel .token-topup-grid .stripe-package-price {
  min-height: 44px;
  font-size: 15px;
}

@media (max-width: 1120px) {
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item { height: 276px; }
  #shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) { height: 308px; }
}

@media (max-width: 850px) {
  #shopView #shopCosmeticsPanel .shop-spotlight-rail .shop-item.shop-daily-item {
    height: 132px;
    min-height: 132px !important;
  }
}

@media (max-width: 620px) {
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item {
    height: 244px;
    grid-template-rows: 138px auto 24px;
  }
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc { display: none; }
  #shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price { grid-row: 3 !important; }
  #shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) {
    height: 258px;
    grid-template-rows: 156px auto 24px;
  }
  #shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc,
  #shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) .shop-fx-desc { display: none; }
  #shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-price { grid-row: 3 !important; }
  #shopView #shopCosmeticsPanel .shop-item.shop-fx-item:not(.shop-daily-item) { grid-template-rows: 156px auto 24px; }
}

/* ── Audit pass (2026-09-29) ─────────────────────────────────────────────
   - The shop wallpaper has "Welcome to Galactic Shop / Spend Void Tokens"
     painted into it; the page is opaque enough that it never shows through.
   - The season card anchors its "Open Void Pass" label to itself.
   - The season card is shorter: it was mostly empty on desktop and phone.
   - A discounted price in a grid card is one row (new, old struck, % off);
     stacked, it grew upward over the item's description. */
/* (Revised below: the shop now shares the Locker's wallpaper, which has no
   painted text, so the room shows through again, darkened.) */
#shopView .shop-pass-card { position: relative; min-height: 180px; }
#shopView .shop-pass-season-wrap { margin-top: 26px; }
#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-price-stack {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-price-main { order: 0; }
#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-price-cut { order: 1; font-size: 11px; color: var(--vas-dim); }
#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-price-off { font-size: 11px; font-weight: 700; color: var(--vas-green); }
@media (max-width: 620px) {
  #shopView .shop-pass-card { min-height: 210px; }
  #shopView .shop-pass-card::after { inset: auto auto 22px 22px; }
  #shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-item-price { flex-wrap: wrap; row-gap: 2px; }
  /* Two badges collide on a phone-width card; the % off already says it is a deal. */
  #shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .shop-item-badge.leaving { display: none; }
}

/* ── Pass pill and the Cosmetics toolbar (2026-09-29) ───────────────────
   Without a Pass the card says what you can do ("Get the Void Pass") instead
   of a "Not owned" pill; with one, the pill names your plan. */
#shopView .shop-pass-pill.inactive { display: none; }
#shopView .shop-pass-card::after {
  /* The shared card ::after is the light sweep (full-card, animated by
     passShine, off-card at rest); this one is a label, so reset all of it. */
  animation: none;
  transform: none;
  pointer-events: none;
  inset: auto 34px 28px auto;
  width: auto;
  height: auto;
  opacity: 1;
  line-height: 1;
  z-index: 2;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(12, 9, 10, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 190, 110, .5);
  color: #ffe2b8;
  font-size: 14px;
  letter-spacing: .02em;
  transition: background .15s ease, box-shadow .15s ease;
}
#shopView .shop-pass-card:has(.shop-pass-pill.inactive)::after {
  content: 'Get the Void Pass  →';
  background: linear-gradient(135deg, rgba(255, 190, 100, .98), rgba(255, 128, 64, .98));
  box-shadow: 0 0 22px rgba(255, 140, 70, .35);
  color: #221004;
}
#shopView .shop-pass-card:hover::after { background: rgba(12, 9, 10, .82); filter: none; }
#shopView .shop-pass-card:has(.shop-pass-pill.inactive):hover::after { background: linear-gradient(135deg, rgba(255, 204, 122, 1), rgba(255, 142, 80, 1)); }

#shopView .shop-command-bar.vas-retired { display: none !important; }
#shopView .vas-cos-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}
#shopView .vas-cos-bar .cosmetics-subtabs { margin: 0; width: auto; flex: 1 1 auto; min-width: 0; }
#shopView .vas-cos-controls { display: flex; align-items: center; gap: 12px; margin-left: auto; }
#shopView .vas-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(16, 24, 41, .84);
  box-shadow: inset 0 0 0 1px rgba(140, 160, 200, .18);
}
#shopView .vas-seg[hidden] { display: none; }
#shopView .vas-seg button {
  appearance: none;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--vas-muted);
  font: 700 12px/1 'Outfit', sans-serif;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#shopView .vas-seg button:hover { color: var(--vas-ink); }
#shopView .vas-seg button.active { background: rgba(127, 196, 255, .16); color: var(--vas-ink); }
#shopView .vas-seg button:focus-visible,
#shopView .vas-sort select:focus-visible { outline: 2px solid #72f3ff; outline-offset: 2px; }
#shopView .vas-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vas-muted);
  font: 700 10px/1 'Outfit', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#shopView .vas-sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 40px;
  min-width: 0;
  width: auto;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(140, 160, 200, .18);
  border-radius: 999px;
  color: var(--vas-ink);
  background: rgba(16, 24, 41, .84) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2393a5c2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center / 11px 8px;
  font: 600 13px/1 'Outfit', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
#shopView .vas-sort select option { background: #101829; color: #e8eef8; }
@media (max-width: 620px) {
  #shopView .vas-cos-controls { width: 100%; margin-left: 0; justify-content: space-between; }
  #shopView .vas-sort > span { display: none; }
}

/* Filtering and the daily rotation hide cards with these classes; the card
   layout rules above set display: grid !important with more specificity, so
   the hide has to outrank them (the repeated ID is a specificity boost). */
#shopView#shopView#shopView .shop-item.filtered-out,
#shopView#shopView#shopView .shop-item.hidden-by-rotation { display: none !important; }

/* ── Ticket packs (2026-09-29) ─────────────────────────────────────────────
   Room to breathe and a clear climb from Starter to Ultimate: each pack has
   a tier colour (label, glow, hover), the art stands on a lit stage and grows
   with the pack, the amount is the hero (gold, Chakra Petch) with "tickets"
   under it, a bonus is a green pill, and the price is a real button. The
   repeated ID outranks the earlier rules without touching them. */
#shopView#shopView#shopView .token-topup-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  padding-top: 14px;
  align-items: stretch;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package {
  --tier: 166, 185, 219;
  position: relative;
  isolation: isolate;
  height: auto !important;
  min-height: 0 !important;
  padding: 22px 20px 20px !important;
  grid-template-rows: auto 164px auto 30px auto !important;
  grid-template-areas: 'name' 'icon' 'amount' 'bonus' 'price' !important;
  gap: 0 !important;
  border: 1px solid rgba(var(--tier), .22);
  border-radius: 18px;
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(var(--tier), .16), transparent 62%),
    linear-gradient(180deg, #111a2c, #0a101c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .35);
  cursor: pointer;
  transform: none;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), border-color .22s ease, box-shadow .22s ease;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='popular'] { --tier: 127, 196, 255; }
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='value'] { --tier: 255, 200, 97; }
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='ultimate'] { --tier: 196, 146, 255; }
#shopView#shopView#shopView .token-topup-grid .stripe-package:hover,
#shopView#shopView#shopView .token-topup-grid .stripe-package:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(var(--tier), .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 26px 50px rgba(0, 0, 0, .42), 0 0 34px rgba(var(--tier), .2);
  outline: none;
}
/* The old "Most popular" badge: the pack label says it now. */
#shopView#shopView#shopView .token-topup-grid .stripe-package.popular::before { content: none; display: none; }
/* The shared light sweep follows the new corners. */
#shopView#shopView#shopView .token-topup-grid .stripe-package::after {
  border-radius: 17px;
  clip-path: inset(0 round 17px);
  opacity: .3;
}
/* Ultimate wears a gold-to-violet edge instead of the sweep. */
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='ultimate']::after {
  content: '';
  position: absolute;
  inset: 0;
  animation: none;
  clip-path: none;
  opacity: 1;
  background-size: auto;
  background-position: 0 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 214, 140, .95), rgba(196, 146, 255, .9) 55%, rgba(127, 196, 255, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#shopView#shopView#shopView .token-topup-grid .stripe-package-name {
  grid-area: name;
  justify-self: center;
  visibility: visible !important;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(var(--tier), .1);
  color: rgb(var(--tier));
  font: 700 11px/1 'Chakra Petch', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package:is([data-package='popular'], [data-package='value']) .stripe-package-name {
  background: rgb(var(--tier));
  color: #0a0f1a;
}

#shopView#shopView#shopView .token-topup-grid .stripe-package-token {
  grid-area: icon;
  position: relative;
  width: 100%;
  height: 164px;
  margin: 0;
  display: grid;
  place-items: center;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package-token::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--tier), .3), rgba(var(--tier), .08) 55%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(var(--tier), .12);
  z-index: 0;
  transition: transform .3s ease, opacity .3s ease;
}
#shopView#shopView#shopView .token-topup-grid .stripe-coin {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  transform: none;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='popular'] .stripe-coin { width: 122px; height: 122px; }
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='value'] .stripe-coin { width: 136px; height: 136px; }
#shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='ultimate'] .stripe-coin { width: 148px; height: 148px; }
#shopView#shopView#shopView .token-topup-grid .stripe-package:hover .stripe-coin { transform: translateY(-4px) scale(1.06); }
#shopView#shopView#shopView .token-topup-grid .stripe-package:hover .stripe-package-token::before { transform: scale(1.08); }

#shopView#shopView#shopView .token-topup-grid .stripe-package-tokens {
  grid-area: amount;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #FFC861;
  font: 700 clamp(34px, 3vw, 46px)/1 'Chakra Petch', sans-serif;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(255, 200, 97, .28);
}
#shopView#shopView#shopView .token-topup-grid .stripe-package-tokens::after {
  content: 'tickets';
  color: #93A5C2;
  font: 700 11px/1 'Outfit', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: none;
}

#shopView#shopView#shopView .token-topup-grid .stripe-package-bonus {
  grid-area: bonus;
  align-self: end;
  justify-self: center;
  min-height: 0;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package-bonus:not(:empty) {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(112, 224, 174, .12);
  color: #70E0AE;
  font: 700 12px/1 'Outfit', sans-serif;
  letter-spacing: .02em;
}

#shopView#shopView#shopView .token-topup-grid .stripe-package-price {
  grid-area: price;
  justify-self: stretch !important;
  align-self: end !important;
  width: 100%;
  min-height: 52px;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffc06a, #ff7b3d);
  box-shadow: 0 10px 24px rgba(255, 123, 61, .26), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #221004;
  font: 700 19px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .02em;
  transition: filter .2s ease, box-shadow .2s ease;
}
#shopView#shopView#shopView .token-topup-grid .stripe-package:hover .stripe-package-price {
  filter: brightness(1.07);
  box-shadow: 0 14px 30px rgba(255, 123, 61, .36), inset 0 1px 0 rgba(255, 255, 255, .4);
}

@media (max-width: 1100px) {
  #shopView#shopView#shopView .token-topup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  #shopView#shopView#shopView .token-topup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package { padding: 16px 12px 14px !important; grid-template-rows: auto 118px auto 26px auto !important; border-radius: 16px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-name { padding: 6px 10px; font-size: 10px; letter-spacing: .12em; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-token { height: 118px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-token::before { width: 110px; height: 110px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-coin { width: 78px; height: 78px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='popular'] .stripe-coin { width: 90px; height: 90px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='value'] .stripe-coin { width: 98px; height: 98px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package[data-package='ultimate'] .stripe-coin { width: 106px; height: 106px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-tokens { font-size: 30px; gap: 5px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-bonus:not(:empty) { font-size: 11px; padding: 5px 9px; }
  #shopView#shopView#shopView .token-topup-grid .stripe-package-price { min-height: 46px; margin-top: 14px !important; font-size: 17px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #shopView#shopView#shopView .token-topup-grid .stripe-package,
  #shopView#shopView#shopView .token-topup-grid .stripe-coin { transition: none; }
}

/* ── Daily deals (2026-09-29) ─────────────────────────────────────────────
   Wider cards in the item's rarity colour: the art on a lit stage with the
   discount as a hot corner tag, the rarity as a label, the name as the
   title, and the price as the hero (new price gold, old price struck).
   The "Daily deal" badge is dropped: the section already says it. */
#shopView#shopView#shopView .shop-rotation-items-shell {
  margin: 0 0 30px;
}
#shopView#shopView#shopView .shop-rotation-items-title {
  color: #E8EEF8;
  font: 700 22px/1 'Chakra Petch', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
#shopView#shopView#shopView .shop-rotation-header-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 200, 97, .1);
  color: #FFC861;
  font: 700 13px/1 'Chakra Petch', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
#shopView#shopView#shopView .shop-rotation-header-countdown::before {
  content: 'New deals in';
  color: #93A5C2;
  font: 600 12px/1 'Outfit', sans-serif;
  letter-spacing: 0;
}
#shopView#shopView#shopView .shop-spotlight-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item {
  --vas-rarity: 166, 185, 219;
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  padding: 18px 20px 18px 18px !important;
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  grid-template-rows: auto auto 1fr auto !important;
  grid-template-areas: 'media tag' 'media name' 'media desc' 'media price' !important;
  align-items: start !important;
  gap: 0 18px !important;
  border: 1px solid rgba(var(--vas-rarity), .3) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(90% 120% at 0% 50%, rgba(var(--vas-rarity), .16), transparent 60%),
    linear-gradient(180deg, #111a2c, #0a101c) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 16px 34px rgba(0, 0, 0, .32) !important;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), border-color .22s ease, box-shadow .22s ease;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-shop-rarity='uncommon'] { --vas-rarity: 112, 224, 174; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-shop-rarity='rare'] { --vas-rarity: 127, 196, 255; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-shop-rarity='epic'] { --vas-rarity: 241, 118, 194; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-shop-rarity='legendary'] { --vas-rarity: 255, 184, 84; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-shop-rarity='mythic'] { --vas-rarity: 255, 110, 110; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--vas-rarity), .7) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 22px 44px rgba(0, 0, 0, .4), 0 0 30px rgba(var(--vas-rarity), .18) !important;
}
/* The discount, as a hot tag on the art's corner. */
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item[data-discount-percent]:not([data-discount-percent='0'])::before {
  /* Older card rules style this ::before (a stripe, or hidden); pin it all. */
  content: '-' attr(data-discount-percent) '%' !important;
  display: block !important;
  position: absolute !important;
  inset: 12px auto auto 12px !important;
  width: auto !important;
  height: auto !important;
  z-index: 3 !important;
  opacity: 1 !important;
  padding: 5px 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #ff9a4a, #ff5a5a) !important;
  box-shadow: 0 6px 14px rgba(255, 90, 90, .35) !important;
  color: #fff !important;
  font: 700 12px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .02em !important;
  transform: rotate(-4deg) !important;
  animation: none !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  pointer-events: none;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon {
  grid-area: media !important;
  align-self: center !important;
  position: relative;
  width: 120px !important;
  height: 120px !important;
  min-height: 120px !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(var(--vas-rarity), .3), rgba(var(--vas-rarity), .08) 55%, transparent 70%) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--vas-rarity), .16) !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon .avatar-shell {
  width: 96px !important;
  height: 96px !important;
  box-shadow: 0 0 0 3px rgba(var(--vas-rarity), .75), 0 10px 22px rgba(0, 0, 0, .4) !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon > img {
  width: 92px !important;
  height: 92px !important;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-fx-copy { display: contents !important; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-badges {
  grid-area: tag !important;
  position: static !important;
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 8px !important;
  inset: auto !important;
  transform: none !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-badge.leaving { display: none !important; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-badge[class*='rarity-'] {
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(var(--vas-rarity), .14) !important;
  color: rgb(var(--vas-rarity)) !important;
  box-shadow: none !important;
  font: 700 10px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item :is(.shop-item-name, .shop-fx-title) {
  grid-area: name !important;
  margin: 0 !important;
  color: #E8EEF8 !important;
  font: 700 19px/1.15 'Chakra Petch', sans-serif !important;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item :is(.shop-item-desc, .shop-fx-desc) {
  grid-area: desc !important;
  margin: 5px 0 0 !important;
  color: #93A5C2 !important;
  font: 500 12.5px/1.4 'Outfit', sans-serif !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item :is(.shop-item-price, .shop-fx-price) {
  grid-area: price !important;
  margin: 12px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-stack {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 10px !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-main {
  order: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFC861 !important;
  font: 700 24px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-main .token-icon { width: 20px !important; height: auto !important; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-cut {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6f819f !important;
  font: 600 13px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-cut .token-icon { width: 13px !important; height: auto !important; opacity: .6; }
#shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-off { display: none !important; }
@media (max-width: 1100px) {
  #shopView#shopView#shopView .shop-spotlight-rail { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item { grid-template-columns: 96px minmax(0, 1fr) !important; padding: 14px 14px 14px 12px !important; gap: 0 14px !important; }
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon { width: 96px !important; height: 96px !important; min-height: 96px !important; }
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon .avatar-shell { width: 78px !important; height: 78px !important; }
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-item-icon > img { width: 76px !important; height: 76px !important; }
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item :is(.shop-item-name, .shop-fx-title) { font-size: 17px !important; }
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item .shop-price-main { font-size: 21px !important; }
}

/* ── Powerups (2026-09-29) ────────────────────────────────────────────────
   Each powerup in its own colour: the icon on a lit stage, the name and
   what it does, and a price that is a real button (dark with a gold price;
   it turns into the orange buy button when you point at the card). */
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item {
  --pu: 255, 200, 97;
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  padding: 22px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1px solid rgba(var(--pu), .24) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(var(--pu), .15), transparent 62%),
    linear-gradient(180deg, #111a2c, #0a101c) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 16px 34px rgba(0, 0, 0, .32) !important;
  text-align: center;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), border-color .22s ease, box-shadow .22s ease;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='magnet'] { --pu: 255, 110, 110; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='shield'] { --pu: 127, 196, 255; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='life'],
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='extralife'],
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='extra-life'] { --pu: 255, 107, 129; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='slow'],
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item[data-item='slowmo'] { --pu: 196, 146, 255; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--pu), .62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 46px rgba(0, 0, 0, .4), 0 0 30px rgba(var(--pu), .2) !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon {
  position: relative;
  flex: none !important;
  aspect-ratio: 1;
  width: 124px !important;
  height: 124px !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(var(--pu), .3), rgba(var(--pu), .08) 55%, transparent 70%) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--pu), .14) !important;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon img {
  width: 104px !important;
  height: 104px !important;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item:hover .shop-item-icon { transform: translateY(-3px) scale(1.06); }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid :is(.shop-item-name, .shop-item-desc) {
  width: 100% !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  text-align: center !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name {
  margin: 0 !important;
  color: #E8EEF8 !important;
  font: 700 19px/1.1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc {
  margin: 6px 0 0 !important;
  min-height: 2.8em;
  color: #93A5C2 !important;
  font: 500 13px/1.4 'Outfit', sans-serif !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-price {
  margin: 16px 0 0 !important;
  margin-top: auto !important;
  width: 100% !important;
  min-height: 46px;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 200, 97, .3) !important;
  border-radius: 12px !important;
  background: #0a101c !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc + .shop-item-price { margin-top: 16px !important; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-price-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #FFC861 !important;
  font: 700 18px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .01em !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-price-main .token-icon { width: 18px !important; height: auto !important; }
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item:hover .shop-item-price {
  border-color: transparent !important;
  background: linear-gradient(135deg, #ffc06a, #ff7b3d) !important;
  box-shadow: 0 10px 24px rgba(255, 123, 61, .28), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}
#shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item:hover .shop-price-main { color: #221004 !important; }
@media (max-width: 1100px) {
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 620px) {
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item { padding: 16px 12px 14px !important; }
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon { width: 96px !important; height: 96px !important; margin-bottom: 10px !important; }
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon img { width: 82px !important; height: 82px !important; }
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-name { font-size: 17px !important; }
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-desc { display: block !important; font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #shopView#shopView#shopView .shop-spotlight-rail .shop-item.shop-daily-item,
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item,
  #shopView#shopView#shopView #shopCatalogPanel .powerup-wide-grid .shop-item-icon { transition: none; }
}

/* ── "Your look" tab and no bottom loadout (2026-09-29) ───────────────────
   The department row runs the full width: Powerups / Cosmetics / Tickets on
   the left, and at the right end your avatar on its background with a way
   into the Locker. The "Currently equipped" block under Cosmetics is gone. */
#shopView#shopView#shopView #shopSubtabs {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
#shopView#shopView#shopView #shopSubtabs .shop-subtab { flex: 0 0 150px; }
#shopView#shopView#shopView #cosmeticsLoadoutSidebar { display: none !important; }
#shopView .vas-look-tab {
  appearance: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(127, 196, 255, .28);
  border-radius: 999px;
  background: linear-gradient(180deg, #111a2c, #0a101c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .3);
  color: #E8EEF8;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#shopView .vas-look-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 196, 255, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 30px rgba(0, 0, 0, .38), 0 0 22px rgba(127, 196, 255, .16);
}
#shopView .vas-look-tab:focus-visible { outline: 2px solid #72f3ff; outline-offset: 3px; }
#shopView .vas-look-av {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(127, 196, 255, .55);
}
#shopView .vas-look-av img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 96%;
  width: auto;
  transform: translateX(-50%);
}
#shopView .vas-look-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#shopView .vas-look-text b { font: 700 14px/1 'Chakra Petch', sans-serif; letter-spacing: .02em; }
#shopView .vas-look-text small { color: #93A5C2; font: 600 12px/1 'Outfit', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
#shopView .vas-look-go { width: 16px; height: 16px; fill: none; stroke: #7FC4FF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 620px) {
  #shopView#shopView#shopView #shopSubtabs .shop-subtab { flex: 1 1 0; }
  #shopView .vas-look-tab { flex: 1 1 100%; margin-left: 0; order: -1; }
  #shopView .vas-look-text small { max-width: none; }
  #shopView .vas-look-go { margin-left: auto; }
}

/* ── Cosmetics cards: rarity you can spot, bigger art (2026-09-29) ─────────
   Every card in Avatars / Backgrounds / Profile FX / Bundles / Ion Racers
   wears its rarity: a coloured outline, a tint glowing down from the top,
   a lit stage behind the art, and a ring on avatars and swatches. The art
   is larger, Profile FX names sit under the art instead of on it, and the
   price is gold. */
/* The per-rarity colours were outranked by a grey default on a more
   specific selector, so every card looked common. Declared at this weight
   they win everywhere. */
#shopView#shopView#shopView .shop-item[data-shop-rarity] { --vas-rarity: 176, 192, 220; }
#shopView#shopView#shopView .shop-item[data-shop-rarity='uncommon'] { --vas-rarity: 96, 214, 156; }
#shopView#shopView#shopView .shop-item[data-shop-rarity='rare'] { --vas-rarity: 112, 182, 255; }
#shopView#shopView#shopView .shop-item[data-shop-rarity='epic'] { --vas-rarity: 241, 118, 194; }
#shopView#shopView#shopView .shop-item[data-shop-rarity='legendary'] { --vas-rarity: 255, 176, 70; }
#shopView#shopView#shopView .shop-item[data-shop-rarity='mythic'] { --vas-rarity: 255, 98, 98; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) {
  border: 1.5px solid rgba(var(--vas-rarity), .5) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(120% 65% at 50% 0%, rgba(var(--vas-rarity), .24), transparent 62%),
    linear-gradient(180deg, #111a2c, #0a101c) !important;
  box-shadow:
    inset 0 0 0 1px rgba(var(--vas-rarity), .1),
    inset 0 -60px 70px -60px rgba(var(--vas-rarity), .2),
    0 14px 30px rgba(0, 0, 0, .32) !important;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), border-color .22s ease, box-shadow .22s ease !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item):hover {
  transform: translateY(-4px);
  border-color: rgba(var(--vas-rarity), .95) !important;
  box-shadow:
    inset 0 0 0 1px rgba(var(--vas-rarity), .18),
    inset 0 -60px 70px -60px rgba(var(--vas-rarity), .3),
    0 22px 42px rgba(0, 0, 0, .4),
    0 0 30px rgba(var(--vas-rarity), .28) !important;
}
/* The stage: a glow in the rarity colour behind the art. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon {
  background: radial-gradient(circle at 50% 56%, rgba(var(--vas-rarity), .3), rgba(var(--vas-rarity), .06) 48%, transparent 66%) !important;
}
/* Avatars and backgrounds: bigger, with a rarity ring. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon:is(.avatar, .background) .avatar-shell {
  width: 140px !important;
  height: 140px !important;
  box-shadow: 0 0 0 3px rgba(var(--vas-rarity), .85), 0 0 26px rgba(var(--vas-rarity), .35), 0 12px 24px rgba(0, 0, 0, .45) !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item):hover > .shop-item-icon:is(.avatar, .background) .avatar-shell {
  transform: scale(1.05);
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon .avatar-shell { transition: transform .3s cubic-bezier(.2, .8, .3, 1); }
/* Bundles: a bigger crate. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item.shop-bundle-item:not(.shop-daily-item) > .shop-item-icon img {
  width: auto !important;
  height: 160px !important;
  max-width: 92% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5));
}
/* Profile FX: the art stays in its box; the name and description sit under it. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-item-icon {
  overflow: hidden !important;
  border-radius: 12px !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-item-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-copy {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  grid-row: 2 / span 2 !important;
  grid-column: 1 !important;
  text-align: left !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-price { grid-row: 4 !important; grid-column: 1 !important; }
/* Type: the name is the title, the price is gold. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) :is(.shop-item-name, .shop-fx-title) {
  color: #E8EEF8 !important;
  font: 700 17px/1.15 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) :is(.shop-item-desc, .shop-fx-desc) {
  color: #93A5C2 !important;
  font: 500 12.5px/1.4 'Outfit', sans-serif !important;
  text-shadow: none !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .shop-price-main {
  color: #FFC861 !important;
  font: 700 17px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
}
/* The rarity pill: solid, so it reads at a glance. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .shop-item-badge[class*='rarity-'] {
  border: 0 !important;
  background: rgb(var(--vas-rarity)) !important;
  color: #0a0f1a !important;
  box-shadow: 0 4px 12px rgba(var(--vas-rarity), .35) !important;
  font: 700 10px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .12em !important;
}
@media (max-width: 620px) {
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon:is(.avatar, .background) .avatar-shell { width: 104px !important; height: 104px !important; }
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item.shop-bundle-item:not(.shop-daily-item) > .shop-item-icon img { height: 118px !important; }
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) :is(.shop-item-name, .shop-fx-title) { font-size: 15px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item),
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .avatar-shell { transition: none !important; }
}

#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-item-icon { height: 150px !important; min-height: 150px !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) .shop-fx-desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) {
  height: auto !important;
  min-height: 318px !important;
  grid-template-rows: 150px auto auto auto !important;
  row-gap: 6px !important;
  padding-bottom: 16px !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-price {
  justify-self: start !important;
  align-self: end !important;
  margin: 8px 0 0 !important;
}


/* ── Shop and Locker as one place (2026-09-29) ─────────────────────────────
   Both use the Locker's wallpaper (the shop wallpaper had "Welcome to
   Galactic Shop / Spend Void Tokens" painted in), and the page lets that
   room show through, darkened, instead of a solid black sheet. */
#shopView#shopView#shopView {
  background:
    radial-gradient(circle at 12% 0%, rgba(55, 104, 181, .12), transparent 34rem),
    linear-gradient(180deg, rgba(5, 7, 13, .38), rgba(5, 7, 13, .6) 28rem, rgba(5, 7, 13, .78) 70rem) !important;
}

/* The title says where you are: "Shop" in the shop, "Shop / Locker" in the
   Locker, with Shop as the way back. The department tabs and the Your look
   tab belong to the shop, so the Locker hides them. */
#shopView .vas-crumb {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: #93A5C2;
  font: inherit;
  cursor: pointer;
  transition: color .15s ease;
}
#shopView .vas-crumb:hover { color: #E8EEF8; }
#shopView .vas-crumb:focus-visible { outline: 2px solid #72f3ff; outline-offset: 3px; border-radius: 4px; }
#shopView .vas-crumb-sep { margin: 0 .28em; color: #3a4a66; }
body.ship-locker-mode #shopView#shopView#shopView #shopSubtabs { display: none !important; }

/* ── Locker (2026-09-29) ──────────────────────────────────────────────────
   Same kit as the shop: dark panels, rarity worn on every tile, lit stages,
   Chakra Petch names. Avatars, backgrounds and effects are tile grids
   (they were full-width rows), the preview stands on a lit stage, and the
   buttons are the shop's (orange to save or equip, dark to preview). */
#shopLockerPanel .locker-avatar-choice[data-rarity],
#shopLockerPanel .locker-bg-choice[data-rarity],
#shopLockerPanel .locker-fx-btn { --lr: 176, 192, 220; }
#shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity='uncommon'], #shopLockerPanel .locker-fx-btn[data-fx-rarity='uncommon'] { --lr: 96, 214, 156; }
#shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity='rare'], #shopLockerPanel .locker-fx-btn[data-fx-rarity='rare'] { --lr: 112, 182, 255; }
#shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity='epic'], #shopLockerPanel .locker-fx-btn[data-fx-rarity='epic'] { --lr: 241, 118, 194; }
#shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity='legendary'], #shopLockerPanel .locker-fx-btn[data-fx-rarity='legendary'] { --lr: 255, 176, 70; }
#shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity='mythic'], #shopLockerPanel .locker-fx-btn[data-fx-rarity='mythic'] { --lr: 255, 98, 98; }

#shopView#shopView #shopLockerPanel .locker-layout { gap: 18px !important; align-items: start; }
#shopView#shopView #shopLockerPanel :is(.locker-character-card, .locker-control-card) {
  padding: 22px !important;
  border: 1px solid rgba(148, 184, 255, .16) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(17, 26, 44, .94), rgba(10, 16, 28, .96)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .35) !important;
}
#shopView#shopView #shopLockerPanel .locker-controls { gap: 14px !important; }
#shopView#shopView #shopLockerPanel .locker-controls > .locker-actions,
#shopView#shopView #shopLockerPanel .locker-controls > .locker-status { padding: 0 !important; }
#shopView#shopView #shopLockerPanel :is(.shop-section-title, .locker-avatar-label, .locker-control-card > label) {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #E8EEF8 !important;
  font: 700 18px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#shopView#shopView #shopLockerPanel .shop-section-title::before { display: none !important; }
#shopView#shopView #shopLockerPanel .locker-avatar-subgroup-title {
  margin: 14px 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #8FA6C8 !important;
  font: 700 11px/1 'Outfit', sans-serif !important;
  letter-spacing: .18em !important;
}

/* The preview on a lit stage. */
#shopView#shopView #shopLockerPanel .locker-avatar-preview-wrap {
  padding: 26px 16px 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(127, 196, 255, .22), rgba(127, 196, 255, .04) 42%, transparent 62%),
    rgba(6, 10, 18, .6) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 184, 255, .1) !important;
}
#shopView#shopView #shopLockerPanel #lockerAvatarPreview {
  width: 168px !important;
  height: 168px !important;
  box-shadow: 0 0 0 3px rgba(127, 196, 255, .6), 0 0 40px rgba(127, 196, 255, .3), 0 16px 30px rgba(0, 0, 0, .5) !important;
}
#shopView#shopView #shopLockerPanel .locker-avatar-preview-wrap > .locker-avatar-label {
  margin: 14px 0 0 !important;
  color: #93A5C2 !important;
  font: 700 11px/1 'Outfit', sans-serif !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  text-align: center;
}

/* Tiles, not rows. */
#shopView#shopView #shopLockerPanel .locker-avatar-grid { max-height: 460px !important; padding: 2px 6px 2px 2px !important; }
#shopView#shopView #shopLockerPanel :is(.locker-avatar-subgroup-grid, .locker-bg-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)) !important;
  gap: 10px !important;
}
#shopView#shopView #shopLockerPanel .locker-fx-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)) !important;
  gap: 10px !important;
  max-height: 560px !important;
  overflow-y: auto !important;
  padding: 2px 6px 2px 2px !important;
}
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice, .locker-fx-btn) {
  position: relative;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  border: 1.5px solid rgba(var(--lr), .45) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(var(--lr), .22), transparent 62%),
    linear-gradient(180deg, #111a2c, #0a101c) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--lr), .08), 0 10px 22px rgba(0, 0, 0, .3) !important;
  text-align: center !important;
  transition: transform .2s cubic-bezier(.2, .8, .3, 1), border-color .2s ease, box-shadow .2s ease !important;
}
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice, .locker-fx-btn):hover {
  transform: translateY(-3px);
  border-color: rgba(var(--lr), .9) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--lr), .16), 0 16px 30px rgba(0, 0, 0, .38), 0 0 24px rgba(var(--lr), .24) !important;
}
/* Selected (being previewed): a bright cyan frame. Equipped: a green tag. */
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice, .locker-fx-btn).active {
  border-color: #7FC4FF !important;
  box-shadow: 0 0 0 2px rgba(127, 196, 255, .55), 0 0 26px rgba(127, 196, 255, .28), 0 12px 24px rgba(0, 0, 0, .35) !important;
}
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice, .locker-fx-btn).locked { opacity: .55; }
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice, .locker-fx-btn).locked:hover { opacity: .8; }
/* The old rarity bar along the top edge and the hover sheen: the tile wears its rarity now. */
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-bg-choice)[data-rarity]::after,
#shopView#shopView #shopLockerPanel .locker-avatar-choice::before { display: none !important; }

/* Art: avatars and swatches in a rarity ring, effects in a lit box. */
#shopView#shopView #shopLockerPanel .locker-avatar-thumb {
  width: 84px !important;
  height: 84px !important;
  flex: none;
  box-shadow: 0 0 0 3px rgba(var(--lr), .85), 0 0 20px rgba(var(--lr), .3), 0 8px 16px rgba(0, 0, 0, .4) !important;
}
#shopView#shopView #shopLockerPanel .locker-bg-choice { padding-top: 106px !important; }
#shopView#shopView #shopLockerPanel .locker-bg-choice::before {
  display: block !important;
  top: 16px !important;
  left: 50% !important;
  right: auto !important;
  width: 80px !important;
  height: 80px !important;
  transform: translateX(-50%) !important;
  border: 0 !important;
  box-shadow: 0 0 0 3px rgba(var(--lr), .85), 0 0 20px rgba(var(--lr), .3), 0 8px 16px rgba(0, 0, 0, .4) !important;
}
#shopView#shopView #shopLockerPanel .locker-fx-btn > .shop-item-icon {
  width: 100% !important;
  height: 92px !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: radial-gradient(circle at 50% 55%, rgba(var(--lr), .3), transparent 66%) !important;
  display: grid !important;
  place-items: center !important;
}
#shopView#shopView #shopLockerPanel .locker-fx-btn > .shop-item-icon img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
#shopView#shopView #shopLockerPanel .locker-fx-btn > .shop-fx-copy { position: static !important; display: flex !important; flex-direction: column; gap: 4px; padding: 0 !important; background: none !important; }

/* Text. */
#shopView#shopView #shopLockerPanel .locker-card-body { display: flex !important; flex-direction: column; align-items: center; gap: 4px; min-width: 0; width: 100%; }
#shopView#shopView #shopLockerPanel :is(.locker-card-name, .locker-fx-name) {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #E8EEF8 !important;
  font: 700 14px/1.15 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#shopView#shopView #shopLockerPanel :is(.locker-card-subtext, .locker-fx-desc) {
  color: #93A5C2 !important;
  font: 500 11.5px/1.35 'Outfit', sans-serif !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
}

/* Tags: rarity at the top left, Equipped at the top right, the lock in a corner. */
#shopView#shopView #shopLockerPanel :is(.locker-card-rarity-tag, .locker-fx-rarity-tag) {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgb(var(--lr)) !important;
  color: #0a0f1a !important;
  box-shadow: none !important;
  font: 700 9px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .1em !important;
  transform: none !important;
  z-index: 2;
}
#shopView#shopView #shopLockerPanel .locker-fx-equipped-tag {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #70E0AE !important;
  color: #062015 !important;
  font: 700 9px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
  z-index: 2;
}
#shopView#shopView #shopLockerPanel :is(.locker-avatar-lock, .locker-lock-indicator) {
  position: absolute !important;
  top: auto !important;
  bottom: 8px !important;
  right: 8px !important;
  left: auto !important;
  transform: none !important;
  font-size: 12px !important;
  opacity: .8;
  z-index: 2;
}

/* Buttons: the shop's. */
#shopView#shopView #shopLockerPanel .locker-actions { margin-top: 14px !important; }
#shopView#shopView #shopLockerPanel .locker-actions .auth-primary {
  width: 100% !important;
  min-height: 50px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ffc06a, #ff7b3d) !important;
  box-shadow: 0 10px 24px rgba(255, 123, 61, .26), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  color: #221004 !important;
  font: 700 15px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: filter .15s ease, transform .15s ease !important;
}
#shopView#shopView #shopLockerPanel .locker-actions .auth-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
#shopView#shopView #shopLockerPanel #lockerPreviewFxBtn {
  background: #101829 !important;
  box-shadow: inset 0 0 0 1px #22304E !important;
  color: #E8EEF8 !important;
}
#shopView#shopView #shopLockerPanel .locker-status { color: #93A5C2; font: 500 13px/1.4 'Outfit', sans-serif; }
@media (max-width: 620px) {
  #shopView#shopView #shopLockerPanel :is(.locker-avatar-subgroup-grid, .locker-bg-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #shopView#shopView #shopLockerPanel .locker-fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #shopView#shopView #shopLockerPanel :is(.locker-character-card, .locker-control-card) { padding: 16px !important; }
}
/* Effect art stays inside its box (an older desktop rule scales it up, so it
   spilled behind the name). */
#shopView#shopView #shopLockerPanel .locker-fx-btn > .shop-item-icon { overflow: hidden !important; flex: none !important; }
#shopView#shopView #shopLockerPanel .locker-fx-btn .fx-icon-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 92px !important;
  transform: none !important;
  object-fit: contain !important;
}
#shopView#shopView #shopLockerPanel .locker-fx-btn > .shop-fx-copy { margin: 0 !important; transform: none !important; }
#shopView#shopView #shopLockerPanel .locker-fx-btn .locker-fx-btn-none-icon { width: 100% !important; height: 92px !important; }
/* Room above the art for the rarity and Equipped tags. */
#shopView#shopView #shopLockerPanel :is(.locker-avatar-choice, .locker-fx-btn) { padding-top: 32px !important; }
#shopView#shopView #shopLockerPanel .locker-bg-choice { padding-top: 124px !important; }
#shopView#shopView #shopLockerPanel .locker-bg-choice::before { top: 32px !important; }

/* ── Cosmetics cards, balanced (2026-09-29) ───────────────────────────────
   Two clear halves: the art in a full display case tinted in the rarity
   colour (edge to edge, with a hairline under it), and a darker footer with
   the name and its line centred and the price as a full-width bar at the
   bottom, like the Powerups. Bundles list their items as one short line that
   the price can no longer cut off. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 184px auto auto 1fr auto !important;
  row-gap: 0 !important;
  background: #0a0f1a !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon {
  grid-row: 1 !important;
  grid-column: 1 !important;
  width: 100% !important;
  height: 184px !important;
  min-height: 184px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(var(--vas-rarity), .28) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 58%, rgba(var(--vas-rarity), .34), transparent 58%),
    linear-gradient(180deg, rgba(var(--vas-rarity), .26), rgba(var(--vas-rarity), .08)),
    #111a2c !important;
}
/* Footer: centred name and line, then the price bar. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > :is(.shop-item-name, .shop-item-desc),
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-copy {
  padding: 0 16px !important;
  text-align: center !important;
  justify-self: stretch !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-name { grid-row: 2 !important; margin: 16px 0 0 !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-desc { grid-row: 3 !important; margin: 6px 0 0 !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-copy {
  grid-row: 2 / span 2 !important;
  align-items: center !important;
  margin: 16px 0 0 !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) :is(.shop-fx-title, .shop-fx-desc) { text-align: center !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-item-icon { height: 184px !important; min-height: 184px !important; overflow: hidden !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) {
  grid-template-rows: 184px auto auto 1fr auto !important;
  padding-bottom: 0 !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price) {
  grid-row: 5 !important;
  grid-column: 1 !important;
  justify-self: stretch !important;
  align-self: end !important;
  width: auto !important;
  min-height: 44px;
  margin: 14px 14px 14px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  border: 1px solid rgba(255, 200, 97, .26) !important;
  border-radius: 12px !important;
  background: #070b14 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item):hover > :is(.shop-item-price, .shop-fx-price) {
  border-color: transparent !important;
  background: linear-gradient(135deg, #ffc06a, #ff7b3d) !important;
  box-shadow: 0 10px 22px rgba(255, 123, 61, .26), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item):hover .shop-price-main { color: #221004 !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item):hover :is(.shop-price-cut, .shop-price-off) { color: rgba(34, 16, 4, .7) !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) .shop-price-main .token-icon { width: 18px !important; height: auto !important; }
/* An owned item says so in the bar. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item[data-shop-owned='1']:not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price) {
  border-color: rgba(112, 224, 174, .35) !important;
  color: #70E0AE !important;
}
/* Bundles: the items as one line of names, two lines at most. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-bundle-item:not(.shop-daily-item) .shop-bundle-bullets {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-bundle-item:not(.shop-daily-item) .shop-bundle-bullets li {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #B9C7DD !important;
  font: 500 12.5px/1.5 'Outfit', sans-serif !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-bundle-item:not(.shop-daily-item) .shop-bundle-bullets li::before { content: none !important; display: none !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-bundle-item:not(.shop-daily-item) .shop-bundle-bullets li + li::before {
  content: ' · ' !important;
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: #5a6b88;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-bundle-item:not(.shop-daily-item) > .shop-item-desc { max-height: none !important; overflow: visible !important; }
@media (max-width: 620px) {
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item),
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) { grid-template-rows: 140px auto auto 1fr auto !important; }
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon { height: 140px !important; min-height: 140px !important; }
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > :is(.shop-item-name, .shop-item-desc),
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-fx-item:not(.shop-daily-item) > .shop-fx-copy { padding: 0 10px !important; }
  #shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price) { margin: 12px 10px 10px !important; min-height: 40px; }
}
/* The display case starts at the card's top edge (an older rule nudged the
   art 6 px down, leaving a dark lip). */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) { align-content: start !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:not(.shop-daily-item) > .shop-item-icon {
  align-self: start !important;
  position: relative !important;
  inset: auto !important;
  top: 0 !important;
  transform: none !important;
  translate: none !important;
  border-radius: 15px 15px 0 0 !important;
}

/* ── Item popups (2026-09-29) ──────────────────────────────────────────────
   The detail popup and the purchase confirmation in the shop's kit. One
   title (the header's duplicate is gone), the art on a stage tinted in the
   rarity colour, the rarity as a solid pill, and a clear state: a price and
   an orange buy button when it can be bought; a green Owned or cyan Equipped
   status with the Locker as a real button when you have it; amber when it
   needs the Pass; red when you are short of tickets. */
:is(#shopItemDetailModal, #confirmModal) { --r: 176, 192, 220; }
:is(#shopItemDetailModal, #confirmModal)[data-rarity='uncommon'] { --r: 96, 214, 156; }
:is(#shopItemDetailModal, #confirmModal)[data-rarity='rare'] { --r: 112, 182, 255; }
:is(#shopItemDetailModal, #confirmModal)[data-rarity='epic'] { --r: 241, 118, 194; }
:is(#shopItemDetailModal, #confirmModal)[data-rarity='legendary'] { --r: 255, 176, 70; }
:is(#shopItemDetailModal, #confirmModal)[data-rarity='mythic'] { --r: 255, 98, 98; }

#shopItemDetailModal .modal.shop-item-detail-modal,
#confirmModal .modal.confirm-modal {
  position: relative;
  width: min(880px, calc(100vw - 32px)) !important;
  max-width: none !important;
  max-height: calc(100vh - 48px);
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(var(--r), .38) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #111a2c, #0a101c) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(var(--r), .12) !important;
}
#confirmModal .modal.confirm-modal { width: min(640px, calc(100vw - 32px)) !important; }
/* One title: the header keeps only the close button. */
:is(#shopItemDetailModal, #confirmModal) .modal-header {
  position: absolute !important;
  top: 14px;
  right: 14px;
  z-index: 6;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
:is(#shopItemDetailModal, #confirmModal) .modal-title { display: none !important; }
:is(#shopItemDetailModal, #confirmModal) .modal-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(10, 16, 28, .72) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 184, 255, .2);
  color: #C6D4EC !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
:is(#shopItemDetailModal, #confirmModal) .modal-close:hover { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(148, 184, 255, .5); }

/* Detail: art on the left, everything else on the right. */
#shopItemDetailModal .shop-item-detail-body {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
  min-height: 430px;
  max-height: calc(100vh - 48px);
}
#shopItemDetailModal .shop-item-detail-media {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(var(--r), .25) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--r), .36), transparent 60%),
    linear-gradient(180deg, rgba(var(--r), .24), rgba(var(--r), .06)),
    #111a2c !important;
  display: grid !important;
  place-items: center !important;
}
#shopItemDetailModal .shop-item-detail-modal:not(.sr-item) .shop-item-detail-cosmetic-shell {
  width: 230px !important;
  height: 230px !important;
  box-shadow: 0 0 0 4px rgba(var(--r), .85), 0 0 50px rgba(var(--r), .35), 0 20px 40px rgba(0, 0, 0, .5) !important;
}
#shopItemDetailModal #shopItemDetailGif { max-width: 78% !important; max-height: 78% !important; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
#shopItemDetailModal .shop-item-detail-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  min-width: 0;
  padding: 40px 34px 28px !important;
  overflow-y: auto;
}
#shopItemDetailModal .shop-item-detail-top { display: block !important; }
#shopItemDetailModal .shop-item-detail-kicker {
  margin: 0 0 8px !important;
  color: #8FA6C8 !important;
  font: 700 11px/1 'Outfit', sans-serif !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}
#shopItemDetailModal .shop-item-detail-name {
  margin: 0 !important;
  color: #E8EEF8 !important;
  font: 700 clamp(28px, 3vw, 38px)/1.05 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
}
#shopItemDetailModal .shop-item-detail-desc { margin: 10px 0 0 !important; color: #93A5C2 !important; font: 500 15px/1.45 'Outfit', sans-serif !important; }
#shopItemDetailModal .shop-item-detail-tags { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin: 14px 0 0 !important; }
:is(#shopItemDetailModal, #confirmModal) .shop-item-badge {
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(148, 184, 255, .12) !important;
  color: #C6D4EC !important;
  box-shadow: none !important;
  font: 700 10.5px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  transform: none !important;
}
:is(#shopItemDetailModal, #confirmModal) .shop-item-badge[class*='rarity-'] { background: rgb(var(--r)) !important; color: #0a0f1a !important; box-shadow: 0 4px 14px rgba(var(--r), .35) !important; }
:is(#shopItemDetailModal, #confirmModal) .shop-item-badge.discount { background: rgba(112, 224, 174, .16) !important; color: #70E0AE !important; }
:is(#shopItemDetailModal, #confirmModal) .shop-item-badge.expedition-pass { background: rgba(255, 176, 70, .16) !important; color: #FFC861 !important; }
#shopItemDetailModal .shop-item-detail-bundle-list.visible { max-height: 240px; overflow-y: auto; margin-top: 16px !important; padding-right: 4px; }

/* The state block: price or status, and a line under it. */
#shopItemDetailModal .shop-item-detail-meta {
  margin-top: auto !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  border: 1px solid rgba(148, 184, 255, .14) !important;
  border-radius: 14px !important;
  background: rgba(6, 10, 18, .6) !important;
}
#shopItemDetailModal .shop-item-detail-price {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #FFC861 !important;
  font: 700 30px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: 0 !important;
}
#shopItemDetailModal .shop-item-detail-price .token-icon { width: 26px !important; height: auto !important; }
#shopItemDetailModal .shop-item-detail-price .shop-price-stack { display: inline-flex !important; flex-direction: row !important; align-items: baseline !important; gap: 12px !important; }
#shopItemDetailModal .shop-item-detail-price .shop-price-cut { order: 1; color: #6f819f !important; font-size: 16px !important; }
#shopItemDetailModal .shop-item-detail-price .shop-price-cut .token-icon { width: 15px !important; opacity: .6; }
#shopItemDetailModal .shop-item-detail-price .shop-price-off { color: #70E0AE !important; font-size: 13px !important; }
#shopItemDetailModal .shop-item-detail-note { margin: 0 !important; color: #93A5C2 !important; font: 500 13.5px/1.4 'Outfit', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
#shopItemDetailModal[data-state='ready'] .shop-item-detail-note { color: #70E0AE !important; }
#shopItemDetailModal[data-state='short'] .shop-item-detail-note,
#shopItemDetailModal[data-state='unavailable'] .shop-item-detail-note { color: #FF8A8A !important; }
#shopItemDetailModal[data-state='pass'] .shop-item-detail-note { color: #FFC861 !important; }
#shopItemDetailModal[data-state='pass'] .shop-item-detail-meta { border-color: rgba(255, 176, 70, .35) !important; }
#shopItemDetailModal[data-state='owned'] .shop-item-detail-meta { border-color: rgba(112, 224, 174, .35) !important; background: rgba(112, 224, 174, .06) !important; }
#shopItemDetailModal[data-state='equipped'] .shop-item-detail-meta { border-color: rgba(127, 196, 255, .45) !important; background: rgba(127, 196, 255, .07) !important; }
.vas-status { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 'Chakra Petch', sans-serif; }
.vas-status svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; fill: none; stroke: #0a0f1a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vas-status.owned { color: #70E0AE; }
.vas-status.owned svg { background: #70E0AE; }
.vas-status.equipped { color: #7FC4FF; }
.vas-status.equipped svg { background: #7FC4FF; }

/* Buttons: the buy button is the shop's orange; the Locker is a real button. */
#shopItemDetailModal .shop-item-detail-actions { display: flex !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; }
#shopItemDetailModal .shop-item-detail-actions .confirm-btn,
#confirmModal .confirm-actions .confirm-btn {
  flex: 1 1 0;
  min-height: 52px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  font: 700 15px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: filter .15s ease, transform .15s ease !important;
}
#shopItemDetailModal #shopItemDetailBuyBtn,
#confirmModal #acceptConfirm {
  background: linear-gradient(135deg, #ffc06a, #ff7b3d) !important;
  box-shadow: 0 10px 24px rgba(255, 123, 61, .26), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  color: #221004 !important;
}
#shopItemDetailModal #shopItemDetailBuyBtn:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; }
#shopItemDetailModal[data-state='pass'] #shopItemDetailBuyBtn { background: linear-gradient(135deg, #ffd88a, #ffb040) !important; }
#shopItemDetailModal #shopItemDetailLockerBtn {
  background: rgba(127, 196, 255, .14) !important;
  box-shadow: inset 0 0 0 1px rgba(127, 196, 255, .55) !important;
  color: #E8EEF8 !important;
}
#shopItemDetailModal #shopItemDetailLockerBtn:hover { background: rgba(127, 196, 255, .24) !important; }
#confirmModal #cancelConfirm { background: #101829 !important; box-shadow: inset 0 0 0 1px #22304E !important; color: #C6D4EC !important; }
:is(#shopItemDetailModal, #confirmModal) .confirm-btn:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }

/* Confirmation: the item on a rarity stage, its contents for a bundle,
   the price with what you will have left, then Cancel / Buy. */
#confirmModal .confirm-body { padding: 0 !important; }
#confirmModal .confirm-layout { display: block !important; padding: 0 !important; }
#confirmModal .confirm-info { display: flex !important; flex-direction: column !important; gap: 16px !important; padding: 0 0 24px !important; }
#confirmModal .confirm-powerup-media.visible,
#confirmModal .confirm-item-preview {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(var(--r), .25) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(var(--r), .34), transparent 50%),
    linear-gradient(180deg, rgba(var(--r), .2), rgba(var(--r), .05)),
    #111a2c !important;
}
#confirmModal .confirm-powerup-media.visible { display: grid !important; place-items: center; height: 180px; }
#confirmModal .confirm-item-preview { display: flex !important; align-items: center !important; gap: 20px !important; padding: 28px 28px 24px !important; }
#confirmModal .confirm-item-icon {
  flex: none;
  width: 104px !important;
  height: 104px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 3px rgba(var(--r), .85), 0 0 30px rgba(var(--r), .3) !important;
  overflow: hidden;
}
#confirmModal .confirm-item-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#confirmModal .confirm-item-name { color: #E8EEF8 !important; font: 700 26px/1.1 'Chakra Petch', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
#confirmModal :is(.confirm-item-desc, .confirm-item-subdesc) { color: #93A5C2 !important; font: 500 13.5px/1.4 'Outfit', sans-serif !important; }
#confirmModal .confirm-item-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
#confirmModal .confirm-bundle-list { margin: 0 28px !important; max-height: 220px; overflow-y: auto; }
#confirmModal .confirm-bundle-list:empty { display: none !important; }
#confirmModal .vas-confirm-price {
  margin: 0 28px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  border: 1px solid rgba(255, 200, 97, .24);
  border-radius: 14px;
  background: rgba(6, 10, 18, .6);
}
#confirmModal .vas-cp-label { color: #8FA6C8; font: 700 11px/1 'Outfit', sans-serif; letter-spacing: .18em; text-transform: uppercase; }
#confirmModal .vas-cp-value { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: #FFC861; font: 700 26px/1 'Chakra Petch', sans-serif; }
#confirmModal .vas-cp-value .token-icon { width: 24px; height: auto; }
#confirmModal .vas-cp-after { grid-column: 1 / -1; justify-self: end; color: #93A5C2; font: 500 12.5px/1.3 'Outfit', sans-serif; }
#confirmModal #confirmText { margin: 0 28px !important; color: #93A5C2; font: 500 13.5px/1.4 'Outfit', sans-serif; text-align: center; }
#confirmModal #confirmText:empty { display: none; }
#confirmModal #confirmText.error { color: #FF8A8A; }
#confirmModal .confirm-actions { display: flex !important; gap: 10px !important; margin: 0 28px !important; }

@media (max-width: 720px) {
  #shopItemDetailModal .shop-item-detail-body { grid-template-columns: 1fr !important; overflow-y: auto; }
  #shopItemDetailModal .shop-item-detail-media { height: 240px !important; border-right: 0 !important; border-bottom: 1px solid rgba(var(--r), .25) !important; }
  #shopItemDetailModal .shop-item-detail-cosmetic-shell { width: 170px !important; height: 170px !important; }
  #shopItemDetailModal .shop-item-detail-content { padding: 22px 18px 18px !important; overflow: visible; }
  #shopItemDetailModal .shop-item-detail-actions { flex-direction: column; }
  #confirmModal .confirm-item-preview { padding: 22px 18px 18px !important; gap: 14px !important; }
  #confirmModal .confirm-item-icon { width: 80px !important; height: 80px !important; }
  #confirmModal :is(.vas-confirm-price, .confirm-bundle-list, #confirmText, .confirm-actions) { margin-left: 18px !important; margin-right: 18px !important; }
}

/* The art column runs the full height of the popup. */
#shopItemDetailModal .shop-item-detail-body { align-items: stretch !important; }
#shopItemDetailModal .shop-item-detail-media {
  align-self: stretch !important;
  height: auto !important;
  max-height: none !important;
  width: auto !important;
  min-width: 0 !important;
}
/* The confirmation shows the item once: its icon beside its name, the same
   for a powerup as for anything else (no big art banner above it). */
#confirmModal .confirm-powerup-media { display: none !important; }
#confirmModal .confirm-item-icon { display: grid !important; place-items: center !important; padding: 0 !important; background: #111a2c !important; }
#confirmModal .confirm-item-icon > span {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: none !important;
  box-shadow: none !important;
}
#confirmModal .confirm-item-icon .avatar-shell { width: 100% !important; height: 100% !important; box-shadow: none !important; }
#confirmModal .confirm-item-icon img { max-width: 100% !important; max-height: 100% !important; object-fit: contain; }
#confirmModal .confirm-item-icon .shop-item-icon:is(.fx, .bundle, .score, .magnet, .shield, .life, .slow) img { width: 80% !important; height: 80% !important; }
#confirmModal .confirm-powerup-media.visible { display: none !important; }

/* ── Equipped, at a glance (2026-09-29) ───────────────────────────────────
   The Equipped tag sits inside the card (it was hanging off the edge and
   clipped), as a cyan pill with a check at the art's top left, and the card
   itself wears a cyan frame and a cyan footer bar that says Equipped. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:has(.shop-item-equipped-tag):not(.shop-daily-item) {
  border-color: #7FC4FF !important;
  box-shadow: 0 0 0 2px rgba(127, 196, 255, .55), 0 0 30px rgba(127, 196, 255, .28), 0 14px 30px rgba(0, 0, 0, .32) !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item-equipped-tag {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 5px 9px 5px 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #7FC4FF !important;
  box-shadow: 0 4px 14px rgba(127, 196, 255, .45) !important;
  color: #06121f !important;
  font: 700 10px/1 'Chakra Petch', sans-serif !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  transform: none !important;
  white-space: nowrap;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item-equipped-tag::before {
  content: '';
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* The Daily deal / Limited pill moves aside for it. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:has(.shop-item-equipped-tag) .shop-item-badge.leaving { display: none !important; }
/* The footer bar says Equipped instead of a price. */
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:has(.shop-item-equipped-tag):not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price) {
  border-color: rgba(127, 196, 255, .5) !important;
  background: rgba(127, 196, 255, .12) !important;
  font-size: 0 !important;
}
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:has(.shop-item-equipped-tag):not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price) > * { display: none !important; }
#shopView#shopView#shopView #shopCosmeticsPanel .shop-item:has(.shop-item-equipped-tag):not(.shop-daily-item) > :is(.shop-item-price, .shop-fx-price)::after {
  content: 'Equipped';
  color: #BFE1FF;
  font: 700 14px/1 'Chakra Petch', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Confirmation: wide enough that item names stay on one line. */
#confirmModal .modal.confirm-modal { width: min(760px, calc(100vw - 32px)) !important; }
#confirmModal .confirm-item-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 44px; }
@media (max-width: 720px) {
  #confirmModal .confirm-item-name { white-space: normal; padding-right: 36px; }
}

/* ── Ash's phone pass, round 2 (2026-09-29) ────────────────────────────────
   Phone-only unless noted. The season title sits a touch higher; the
   powerups inventory is three to a row with no side scroll; the season
   timeline's cards stop overlapping; "Your look" is a big full-width card;
   the category tabs are tiles in a 3 + 2 grid (sections, not filter chips);
   the deals countdown sits at the right. The item popup (all sizes) gets
   the platform's blue close button, inset so it is never clipped and never
   widens the popup. */
@media (max-width: 620px) {
  /* 16px side gutter. */
  #shopView#shopView#shopView .shop-layout { width: calc(100% - 32px); }

  /* Season 1 / Mercury: 8px higher, to balance the Void Pass button. */
  #shopView#shopView#shopView .shop-pass-season-wrap { margin-top: 18px; }

  /* Powerups inventory: three to a row, no horizontal scroll. */
  #shopView#shopView#shopView .shop-inventory-grid {
    overflow: visible;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  #shopView#shopView#shopView .shop-inventory-row { padding: 8px 10px; }
  #shopView#shopView#shopView .shop-inventory-row > span { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  #shopView#shopView#shopView .shop-inventory-icon { width: 34px; height: 34px; }
  #shopView#shopView#shopView .shop-inventory-meta strong { font-size: 20px; }

  /* Season timeline: each card fits its column (a 190px card sat in a
     154px column, so every card slid under the next). */
  #shopView#shopView#shopView .expedition-timeline-rail {
    grid-auto-columns: 164px;
    gap: 12px;
    padding: 12px 14px 10px;
  }
  #shopView#shopView#shopView .expedition-tier-card {
    flex: none;
    width: auto;
    min-width: 0;
    min-height: 212px;
  }
  #shopView#shopView#shopView .expedition-tier-reward-icon { width: 80px; height: 80px; }
  #shopView#shopView#shopView .expedition-tier-reward-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #shopView#shopView#shopView .expedition-dual-track { gap: 18px; }

  /* "Your look": a big card, same spot, full width. */
  #shopView#shopView#shopView .vas-look-tab {
    min-height: 78px;
    gap: 14px;
    padding: 10px 12px 10px 10px;
    border: 1px solid rgba(114, 243, 255, .42);
    border-radius: 18px;
    background:
      radial-gradient(120% 140% at 0% 50%, rgba(114, 243, 255, .16), transparent 55%),
      linear-gradient(180deg, rgba(20, 30, 54, .96), rgba(10, 16, 30, .96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 28px rgba(0, 0, 0, .34), 0 0 26px rgba(86, 198, 255, .14);
  }
  #shopView#shopView#shopView .vas-look-av {
    width: 58px;
    height: 58px;
    box-shadow: 0 0 0 2px rgba(114, 243, 255, .85), 0 0 18px rgba(86, 198, 255, .35);
  }
  #shopView#shopView#shopView .vas-look-text { gap: 6px; }
  #shopView#shopView#shopView .vas-look-text b { font-size: 19px; letter-spacing: .01em; }
  #shopView#shopView#shopView .vas-look-text small { color: #A9BBD8; font-size: 13px; }
  #shopView#shopView#shopView .vas-look-go {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(114, 243, 255), rgb(86, 198, 255));
    box-shadow: 0 6px 16px rgba(86, 198, 255, .35);
    stroke: #06121f;
    stroke-width: 2.6;
  }

  /* Category tabs: tiles in a 6-column grid, three to a row. A short last
     row is shared out evenly (3 + 2, 3 + 1, 3 + 3 all fill the width). */
  #shopView#shopView#shopView .vas-cos-bar { gap: 14px; margin-bottom: 22px; }
  #shopView#shopView#shopView .vas-cos-bar .cosmetics-subtabs {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
  }
  #shopView#shopView#shopView .cosmetics-subtab {
    grid-column: span 2;
    position: relative;
    min-width: 0;
    min-height: 60px;
    padding: 9px 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    border: 1px solid rgba(148, 184, 255, .16);
    border-radius: 12px;
    background: rgba(16, 24, 45, .76);
    color: #93A5C2;
    font: 700 11px/1 var(--va-disp, 'Chakra Petch'), 'Chakra Petch', sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  #shopView#shopView#shopView .cosmetics-subtab:nth-child(3n+1):nth-last-child(2),
  #shopView#shopView#shopView .cosmetics-subtab:nth-child(3n+2):nth-last-child(1) { grid-column: span 3; }
  #shopView#shopView#shopView .cosmetics-subtab:nth-child(3n+1):nth-last-child(1) { grid-column: span 6; }
  #shopView#shopView#shopView .cosmetics-subtab .vas-cat-ico {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .85;
  }
  #shopView#shopView#shopView .cosmetics-subtab .vas-cat-label { overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
  #shopView#shopView#shopView .cosmetics-subtab:hover {
    color: #E8EEF8;
    border-color: rgba(148, 184, 255, .34);
    background: rgba(20, 30, 54, .86);
  }
  #shopView#shopView#shopView .cosmetics-subtab.active {
    color: #E8FDFF;
    border-color: rgba(114, 243, 255, .55);
    background: linear-gradient(180deg, rgba(114, 243, 255, .16), rgba(86, 198, 255, .05)), rgba(16, 24, 45, .9);
    box-shadow: 0 0 20px rgba(86, 198, 255, .14);
  }
  #shopView#shopView#shopView .cosmetics-subtab.active .vas-cat-ico { color: rgb(114, 243, 255); opacity: 1; }
  /* The active tile's underline (the base rule hides ::after). */
  #shopView#shopView#shopView .cosmetics-subtab.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, rgb(114, 243, 255), rgb(86, 198, 255));
    box-shadow: 0 0 10px rgba(114, 243, 255, .6);
  }
  #shopView#shopView#shopView .cosmetics-subtab .vas-tab-count { display: none; }

  /* All / Owned / Affordable and Sort share one row that always fits. */
  #shopView#shopView#shopView .vas-cos-controls { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; min-width: 0; }
  #shopView#shopView#shopView .vas-seg { flex: 1 1 auto; min-width: 0; }
  #shopView#shopView#shopView .vas-seg button { flex: 1 1 auto; min-width: 0; padding: 0 8px; }
  #shopView#shopView#shopView .vas-sort { flex: 0 1 auto; min-width: 0; margin-left: auto; }
  #shopView#shopView#shopView .vas-sort select { width: 100%; max-width: 150px; padding: 0 30px 0 12px; background-position: right 12px center; font-size: 12px; text-overflow: ellipsis; }

  /* "New deals in": at the right, level with the title. */
  #shopView#shopView#shopView .shop-rotation-header {
    justify-self: end;
    align-self: center;
    display: flex;
    justify-content: flex-end;
    text-align: right;
  }
}
/* Tile icons are a phone thing; the desktop chips stay text only. */
#shopView .cosmetics-subtab .vas-cat-ico { display: none; }
@media (max-width: 620px) {
  #shopView#shopView#shopView .cosmetics-subtab .vas-cat-ico { display: block; }
}

/* Item popup and purchase confirmation: the platform's blue close button,
   inside the popup's corner (it hung outside and was clipped to a grey
   sliver), and a stage that never widens the popup. */
#shopItemDetailModal#shopItemDetailModal .modal-header,
#confirmModal#confirmModal .modal-header {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 8 !important;
  width: auto !important;
  height: auto !important;
}
#shopItemDetailModal#shopItemDetailModal .modal-close,
#confirmModal#confirmModal .modal-close {
  position: static !important;
  flex: none !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(134, 182, 246, .42) !important;
  border-radius: 10px !important;
  background: rgba(24, 38, 66, .78) !important;
  box-shadow: 0 8px 18px rgba(5, 12, 26, .38) !important;
  color: rgba(206, 224, 248, .9) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  transform: none !important;
}
#shopItemDetailModal#shopItemDetailModal .modal-close:hover,
#confirmModal#confirmModal .modal-close:hover {
  border-color: rgba(164, 208, 255, .68) !important;
  background: rgba(36, 56, 90, .86) !important;
  color: #fff !important;
}
#shopItemDetailModal .shop-item-detail-body { overflow-x: hidden !important; }

@media (max-width: 900px) {
  /* The phone close button: the blue one every other popup uses. */
  #shopItemDetailModal#shopItemDetailModal .modal-close,
  #confirmModal#confirmModal .modal-close {
    width: 46px !important;
    height: 46px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(146, 214, 255, .68) !important;
    background: linear-gradient(180deg, rgba(52, 112, 178, .96), rgba(28, 72, 124, .96)) !important;
    box-shadow: 0 10px 20px rgba(4, 14, 32, .5), 0 0 16px rgba(102, 198, 255, .38), inset 0 1px 0 rgba(224, 246, 255, .32) !important;
    color: rgba(236, 248, 255, .98) !important;
    font-size: 34px !important;
  }
  #confirmModal#confirmModal .confirm-actions { padding-bottom: 0; }
}

@media (max-width: 720px) {
  /* A little taller, with room for the whole avatar ring and its glow. */
  /* The phone's bottom bar sits above popups, so the popup centres in the
     space over it instead of sliding its buttons underneath. */
  #shopItemDetailModal#shopItemDetailModal.active {
    box-sizing: border-box;
    padding: 16px 0 calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #shopItemDetailModal#shopItemDetailModal .modal.shop-item-detail-modal {
    width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px));
  }
  #shopItemDetailModal#shopItemDetailModal .shop-item-detail-body { max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)); overflow-y: auto !important; }
  #confirmModal .confirm-item-name { padding-right: 54px !important; }
  #shopItemDetailModal#shopItemDetailModal .shop-item-detail-media {
    height: 300px !important;
    min-height: 300px !important;
    overflow: hidden !important;
  }
  #shopItemDetailModal#shopItemDetailModal .shop-item-detail-modal:not(.sr-item) .shop-item-detail-cosmetic-shell,
  #shopItemDetailModal#shopItemDetailModal .shop-item-detail-cosmetic-preview {
    width: 212px !important;
    height: 212px !important;
  }
  #shopItemDetailModal#shopItemDetailModal .shop-item-detail-content { padding: 24px 20px 22px !important; }
}

/* ── Phone pass, round 2b (2026-09-29) ─────────────────────────────────────
   The cosmetics grid lines up with the tabs and chips above it (the panel's
   own 16px inset doubled the gutter), and a discounted price fits its pill:
   new price and struck old price on one line, the % off as a small green
   tag sitting on the pill's top edge. */
@media (max-width: 620px) {
  #shopView#shopView#shopView #shopCosmeticsPanel .cosmetics-panel-inner { padding-left: 0; padding-right: 0; }

  #shopView#shopView#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-item-price.discounted {
    position: relative;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0 8px;
  }
  #shopView#shopView#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-item-price.discounted .shop-price-stack {
    min-width: 0;
    gap: 7px;
    white-space: nowrap;
  }
  #shopView#shopView#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-item-price.discounted .shop-price-off {
    position: absolute;
    top: 0;
    right: 10px;
    transform: translateY(-55%);
    padding: 3px 6px;
    border-radius: 999px;
    background: #0f2a22;
    box-shadow: inset 0 0 0 1px rgba(112, 224, 174, .55);
    color: #70E0AE;
    font: 700 9.5px/1 'Chakra Petch', sans-serif;
    letter-spacing: .06em;
    white-space: nowrap;
  }
  /* The struck price drops its ticket icon so the pill has room at 360px. */
  #shopView#shopView#shopView :is(#shopCatalogPanel, #shopCosmeticsPanel) .shop-item:not(.shop-daily-item) .shop-item-price.discounted .shop-price-cut .token-icon { display: none !important; }
}
