/* Final shop geometry: only the artwork moves; cards retain their layout. */
body > .topbar { z-index: 40; }
#rechargeView :is(.vbucks-section, .crew-section) { margin-top: 48px; }
#rechargeView :is(.pass-heading, .vbucks-heading, .crew-heading) p {
  margin: 8px 0 0;
  font: 400 12px/1.5 "Instrument Sans", Arial, sans-serif;
  color: var(--minimal-muted);
}
@media (max-width: 760px) {
  #rechargeView :is(.vbucks-section, .crew-section) { margin-top: 32px; }
}
#rechargeView :is(.pass-heading, .vbucks-heading, .crew-heading) {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  justify-content: start;
  align-items: start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 24px 0 16px;
}
#rechargeView :is(.pass-heading, .vbucks-heading, .crew-heading) h3 {
  margin: 0;
  min-width: 0;
  font-size: 24px;
  line-height: 1.2;
}
#rechargeView :is(.pass-gift, .vbucks-mark, .crew-crown) {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin: 1.4px 0 0;
  align-self: start;
  transform: none;
  background-position: center;
  background-size: contain;
}
/* Account for the transparent padding in the original category images. */
#rechargeView .pass-gift { background-size: 265% auto; }
#rechargeView .vbucks-mark { background-size: 177% auto; }
#rechargeView .crew-crown { background-size: 225% auto; }
#rechargeView .recharge-card {
  position: relative;
  isolation: isolate;
  overflow: visible;
  outline: 0;
  box-shadow: none;
  transition: none;
}
#rechargeView .recharge-card:is(:hover, :focus-visible, :focus-within) {
  outline: 0;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--minimal-text) 24%, transparent);
  transform: none;
}
#rechargeView .recharge-body { border-radius: 0 0 7px 7px; }
#giftView #shopGrid .item-card::after,
#rechargeView .recharge-card::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 2px solid transparent;
  border-radius: 20px;
  background: transparent;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
#rechargeView .recharge-card::after { border-radius: 13px; }
#giftView #shopGrid .item-card:is(:hover, :focus-visible, :focus-within)::after,
#rechargeView .recharge-card:is(:hover, :focus-visible, :focus-within)::after {
  border-color: rgba(244, 242, 255, .52) !important;
  box-shadow: inset 0 0 0 2px rgba(40, 33, 59, .35);
}
@media (prefers-reduced-motion: reduce) {
  #giftView #shopGrid .item-card::after,
  #rechargeView .recharge-card::after { transition: none; }
}

#compactSectionToggle { display: none; }
#giftView .shop-layout .section-sidebar.is-compact {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px;
  padding: 4px 12px;
  background: #242424f5;
  border-bottom: 1px solid #ffffff25;
}
#giftView .section-sidebar.is-compact #filterToggle { width: 36px !important; min-width: 36px !important; max-width: 36px; height: 36px; min-height: 36px; padding: 8px; justify-content: center; }
#giftView .section-sidebar.is-compact #filterToggle span { display: none; }
#giftView .section-sidebar.is-compact #filterToggle::after { position: static; width: 16px; height: 16px; margin: 0; transform: none; opacity: 1; background: linear-gradient(#fff,#fff) left 20% / 100% 2px no-repeat, linear-gradient(#fff,#fff) left 50% / 70% 2px no-repeat, linear-gradient(#fff,#fff) left 80% / 40% 2px no-repeat; }
#giftView .section-sidebar.is-compact #compactSectionToggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; border: 0; background: transparent; color: white; font: 800 12px/1.3 "Golos Text", sans-serif; text-align: left; text-transform: uppercase; cursor: pointer; }
#compactSectionName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#giftView .section-sidebar.is-compact.is-open .sidebar-block { top: 44px; left: 0; width: 100%; max-height: calc(100dvh - var(--filter-top) - 44px); border-radius: 0 0 8px 8px; background: #201d2eeF; backdrop-filter: blur(22px); }
#giftView .section-sidebar.is-compact #compactTypeFilters { display: none; }
#giftView .section-sidebar.is-compact .section-nav a { border-radius: 6px !important; }
#giftView #shopGrid .item-card .selection-footer { text-align: center; text-overflow: clip; background: rgba(25,25,25,.78); color: white; }
#giftView #shopGrid .item-card .selection-footer.is-overflowing { text-align: left; }
.selection-footer-text { display: inline-block; width: max-content; }
#giftView #shopGrid .item-card:is(:hover, :focus-visible, :focus-within) .selection-footer.is-overflowing .selection-footer-text { animation: footer-pan var(--footer-duration, 6s) ease-in-out infinite alternate; }
@keyframes footer-pan { 0%, 20% { transform: translateX(0); } 80%, 100% { transform: translateX(var(--footer-travel)); } }
@media (prefers-reduced-motion: reduce) {
  #giftView #shopGrid .item-card .selection-footer-text { animation: none !important; }
}
@font-face {
  font-family: "Archivo Shop Display";
  src: url("assets/fonts/Archivo-Expanded-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
#giftView { overflow-x: clip; overflow-y: visible; overflow-clip-margin: 10px; }
#giftView .shop-layout {
  width: min(1010px, 100%) !important;
  margin-inline: auto !important;
}
#giftView #shopGrid, #giftView #shopGrid .shop-section, #giftView #shopGrid .section-grid { min-width: 0; max-width: 100%; }
#giftView #shopGrid .section-heading h3 {
  font-family: "Archivo Shop Display", sans-serif !important;
  font-size: 36px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  font-style: italic !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-shadow: none !important;
}
#giftView #shopGrid .item-card :is(.discount-badge, .new-badge, .ending-badge) {
  font-family: "Archivo Shop Display", sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  font-style: italic !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  color: #090909 !important;
  text-shadow: none !important;
  align-self: flex-start;
  max-width: 100%;
}
#giftView #shopGrid .item-card :is(.discount-badge, .new-badge, .ending-badge)[hidden] { display: none !important; }
#giftView #shopGrid .item-card .ending-badge { background: #050505; color: var(--brand-accent) !important; }
#giftView #shopGrid .item-card .expires {
  position: absolute !important;
  inset: 8px 8px auto auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 5px 7px !important;
  border: 0 !important;
  border-radius: 4px !important;
  font: 700 12px/1.2 "Golos Text", Arial, sans-serif !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  white-space: nowrap;
  text-shadow: none !important;
  color: #fff !important;
  background: rgba(12, 18, 27, .9) !important;
}
#giftView #shopGrid .item-card .discount-badge {
  display: block;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  background: #fff !important;
  font-size: 10px !important;
  white-space: nowrap !important;
  overflow-wrap: normal;
  padding: 3px 6px !important;
}
#giftView #shopGrid .item-card .new-badge { background: var(--brand-accent) !important; border-radius: 7px !important; }
#giftView #shopGrid .item-card:not(.is-jam-track),
#giftView #shopGrid .item-card:not(.is-vehicle):not(.is-jam-track):not(.is-pacman-bundle) {
  background: linear-gradient(180deg, var(--tile-color), var(--tile-bottom)) !important;
}
#giftView #shopGrid .item-card .item-art { filter: none !important; }
#giftView #shopGrid .item-card:not(.is-vehicle):not(.is-jam-track) .item-body {
  background: linear-gradient(transparent, color-mix(in srgb, var(--tile-text-background) 25%, transparent) 25%, var(--tile-text-background)) !important;
}
#giftView #shopGrid .item-card h4 { font: 700 18px/1.12 "Golos Text", Arial, sans-serif !important; }
#giftView #shopGrid .item-card :is(.vbucks, .soles, .vbuck-price) { font-family: "Golos Text", Arial, sans-serif !important; font-size: 18px; font-weight: 700; }
#giftView #shopGrid .vbuck-price::before { width: 1em; height: 1em; flex-basis: 1em; }
#giftView #shopGrid .section-grid.is-carousel,
#giftView #shopGrid .shop-section.is-carousel .section-grid {
  width: calc(100% + 16px) !important;
  max-width: none !important;
  margin-inline: -8px !important;
  gap: 10px !important;
  scroll-snap-type: none !important;
  overflow-y: hidden !important;
  margin-top: 0 !important;
  overscroll-behavior-x: contain;
  padding-top: 42px !important;
  padding-bottom: 12px !important;
  padding-inline: 8px !important;
  box-sizing: border-box;
}
#giftView #shopGrid .item-card {
  height: 332px !important;
  min-height: 0 !important;
  transform: none !important;
  overflow: visible !important;
}
#giftView #shopGrid .is-carousel .item-card[data-carousel-span="1"] {
  flex: 0 0 calc((100% - 30px) / 4) !important;
}
#giftView #shopGrid .is-carousel .item-card[data-carousel-span="2"] {
  flex: 0 0 calc((100% - 10px) / 2) !important;
}
#giftView #shopGrid .is-carousel .item-art {
  clip-path: inset(-34px 0 0 round 14px) !important;
}
#giftView #shopGrid .section-scroll-button:disabled {
  visibility: hidden;
  pointer-events: none;
}
#giftView #shopGrid .section-scroll-button { width: 32px; height: 32px; }
#giftView #shopGrid .item-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  clip-path: inset(-30px 0 0 round 14px) !important;
}
#giftView #shopGrid .item-art > .card-render {
  position: absolute !important;
  inset: auto !important;
  left: var(--render-left, 0px) !important;
  top: var(--render-top, 0px) !important;
  width: var(--render-width, 100%) !important;
  height: var(--render-height, 78%) !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translateY(var(--art-lift, 0px)) !important;
  transition: transform 220ms ease-out !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
#giftView #shopGrid .item-card:is(:hover, :focus-visible) { --art-lift: -3px; }
#giftView #shopGrid .item-card.is-outfit:not(.is-vehicle) .item-art > .card-render {
  mask-image: linear-gradient(to bottom, #000 var(--render-fade-start, 75%), transparent var(--render-fade-end, 100%)) !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--render-fade-start, 75%), transparent var(--render-fade-end, 100%)) !important;
}
#giftView #shopGrid .is-jam-track .item-art {
  clip-path: inset(-42px -8px 0 round 14px) !important;
  overflow: visible !important;
}
#giftView #shopGrid .is-jam-track .item-art > .card-render {
  top: -12px !important;
  width: min(calc(100% - 20px), 212px) !important;
  left: 50% !important;
  margin-left: 0 !important;
  height: 212px !important;
  object-fit: cover !important;
  border-radius: 8px;
  transform: translateX(-50%) !important;
  transform-origin: center 65% !important;
  transition: transform 240ms cubic-bezier(.2,.7,.25,1) !important;
}
#giftView #shopGrid .is-jam-track:is(:hover, :focus-visible, :focus-within) .item-art > .card-render {
  transform: translateX(-50%) translateY(-9px) rotate(-2deg) scale(1.025) !important;
}
#giftView #shopGrid .is-vehicle:not(.is-vehicle-accessory) .item-art {
  background: #10151c !important;
  overflow: hidden !important;
  clip-path: inset(0 round 14px) !important;
  border-radius: 14px;
}
@media (max-width: 600px) {
  #giftView #shopGrid .item-card.is-vehicle:not(.is-vehicle-accessory) {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1.28;
  }
}
#giftView #shopGrid .is-vehicle:not(.is-vehicle-accessory) .item-art > .card-render {
  transform: scale(1) !important;
  transform-origin: center 45% !important;
}
#giftView #shopGrid .is-vehicle:not(.is-vehicle-accessory):is(:hover, :focus-visible, :focus-within) .item-art > .card-render {
  transform: scale(1.015) !important;
}
#giftView #shopGrid .is-vehicle .item-body {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0 !important;
  height: auto !important;
  padding: 38px 13px 14px !important;
  background: linear-gradient(transparent, rgba(15,18,22,.65)) !important;
  transition: padding-bottom 180ms ease-out !important;
}
#giftView #shopGrid .is-vehicle:is(:hover, :focus-visible, :focus-within) .item-body {
  padding-bottom: 36px !important;
}
#giftView #shopGrid .is-vehicle .selection-footer {
  inset: auto 0 0 !important;
  height: 22px !important;
  padding: 3px 8px !important;
  border-radius: 0 0 14px 14px !important;
  font: italic 900 11px/16px "Archivo Shop Display", sans-serif !important;
  opacity: 0 !important;
  transform: translateY(3px) !important;
  transition: opacity 180ms ease-out, transform 180ms ease-out !important;
}
#giftView #shopGrid .is-vehicle:is(:hover, :focus-visible, :focus-within) .selection-footer {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
#giftView #shopGrid .item-body { gap: 4px !important; }
#giftView #shopGrid .item-body h4 { margin: 0 !important; }
#giftView #shopGrid .prices { margin-top: 0 !important; }
#giftView .shop-layout .section-sidebar {
  display: block !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 216px !important;
  max-height: calc(100dvh - 160px);
  z-index: 19;
}
#giftView .shop-layout .section-sidebar:not(.is-compact) .sidebar-block,
#giftView .shop-layout .section-sidebar.is-open .sidebar-block { display: block !important; }
#giftView .shop-layout .section-sidebar.is-compact { width: 100% !important; }
#giftView .shop-layout .section-sidebar.is-compact:not(.is-open) .sidebar-block { display: none !important; }
#giftView .shop-layout .section-sidebar.is-compact.is-open .sidebar-block { width: 216px; max-height: calc(100dvh - 210px); overflow-y: auto; }
#giftView .shop-layout:has(.section-sidebar.is-compact) { padding-top: 56px; }
#giftView .shop-layout .section-sidebar.is-compact {
  position: fixed !important;
  top: var(--filter-top, 120px) !important;
  transform: none !important;
  max-height: none;
}
#giftView .shop-layout .section-sidebar.is-compact .filter-toggle { margin: 0; }
#giftView .shop-layout .section-sidebar.is-compact.is-open .sidebar-block {
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  max-height: calc(100dvh - var(--filter-top, 120px) - 44px);
  padding: 10px;
  background: #242424f5;
  backdrop-filter: blur(22px);
  border: 1px solid #ffffff30;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px #00000060;
  overflow: auto;
  overscroll-behavior: contain;
}
#giftView .section-sidebar.is-compact :is(.sidebar-title, .section-select) { display: none; }
#giftView .section-sidebar.is-compact .section-nav { max-height: none; background: transparent; }
#giftView .section-sidebar.is-compact .section-nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: normal;
  font-size: 12px;
}
/* Keep the selection ring inside the scroll viewport on every edge. */
#giftView .section-sidebar .section-nav {
  padding: 4px 6px 4px 4px;
  scroll-padding-block: 4px;
}
#giftView .section-sidebar .section-nav a {
  min-width: 0;
  scroll-margin-block: 4px;
}
#giftView .section-sidebar .section-nav a:focus-visible {
  outline: 2px solid #f4f3f8;
  outline-offset: -2px;
}
#giftView .section-sidebar.is-compact.is-open .section-nav {
  display: flex;
  flex-direction: column;
  overflow: visible;
  overscroll-behavior: auto;
  max-height: none;
}
@media (max-width: 1100px) {
  #giftView .shop-layout .section-sidebar.is-compact.is-open .sidebar-block {
    position: fixed !important;
    inset: var(--filter-panel-top, 164px) 0 max(14px, env(safe-area-inset-bottom)) 0 !important;
    width: auto !important;
    max-height: none !important;
    padding: 12px 14px max(48px, calc(env(safe-area-inset-bottom) + 28px)) !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    scroll-padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 14px));
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body:has(#giftView .section-sidebar.is-compact.is-open) .back-to-top {
    display: none !important;
    pointer-events: none;
  }
  body.storefront-filter-open .back-to-top { display: none !important; }

  #giftView .section-sidebar.is-compact .section-nav-group {
    width: 100%;
  }
  #giftView .section-sidebar.is-compact .section-nav-group > summary {
    min-height: 42px;
    padding: 10px 38px 10px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    font-size: 12px;
  }
  #giftView .section-sidebar.is-compact .section-nav-group[open] > summary {
    border-color: rgba(255, 255, 255, .88);
    background: #4a4f59;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  }
  #giftView .section-sidebar.is-compact .section-nav-children {
    position: static;
    z-index: auto;
    display: grid;
    min-width: 0;
    padding: 4px;
    border-radius: 0 0 7px 7px;
    background: #3b3f47;
  }
  #giftView .section-sidebar.is-compact .section-nav-group:not([open]) > .section-nav-children {
    display: none;
  }
  #giftView .section-sidebar.is-compact .section-nav-children a {
    min-height: 42px;
    padding-inline: 14px;
    background: transparent;
  }
}
@media (max-width: 820px) {
  #giftView #shopGrid .is-carousel .item-card[data-carousel-span="1"] { flex-basis: 210px !important; }
  #giftView #shopGrid .is-carousel .item-card[data-carousel-span="2"] { flex-basis: 430px !important; }
  #giftView #shopGrid .section-heading h3 { font-size: 28px !important; }
  #giftView #shopGrid .item-card { height: 300px !important; }
  #giftView #shopGrid .is-jam-track .item-art > .card-render { height: 190px !important; width: min(calc(100% - 20px), 190px) !important; }
  #giftView #shopGrid .is-carousel .tile-span-1 { flex: 0 0 210px !important; }
  #giftView #shopGrid .is-carousel .tile-span-2 { flex: 0 0 430px !important; }
  #giftView #shopGrid .is-carousel .tile-span-3 { flex: 0 0 650px !important; }
  #giftView #shopGrid .is-carousel .tile-span-4 { flex: 0 0 870px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #giftView #shopGrid .item-art > .card-render { transition: none !important; }
  #giftView #shopGrid .is-jam-track:is(:hover, :focus-visible, :focus-within) .item-art > .card-render { transform: translateX(-50%) !important; }
}

#giftView .controls {
  width: min(570px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#giftView .controls .search { min-width: 0; gap: 7px; }
#giftView .controls .search > span {
  color: #ffe600;
  font: 700 11px/1.3 "Golos Text", Arial, sans-serif;
  text-transform: uppercase;
}
#giftView .controls .search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #525a54;
  border-radius: 5px;
  background: #1b201d;
  color: #f5f6f3;
  font: 500 14px/1.3 "Instrument Sans", Arial, sans-serif;
}
#giftView .controls .search input::placeholder { color: #9fa9a2; opacity: 1; }
#giftView .controls .search input:focus-visible { outline: 2px solid #ffe600; outline-offset: 2px; border-color: #ffe600; }
body #giftView #refreshButton {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid #525a54 !important;
  border-radius: 5px !important;
  background: #1b201d !important;
  color: #f5f6f3 !important;
  font: 700 12px/1.3 "Golos Text", Arial, sans-serif !important;
}
body #giftView #refreshButton:hover { border-color: #ffe600 !important; color: #ffe600 !important; }
@media (max-width: 520px) {
  #giftView .controls { width: 100%; gap: 8px; margin-bottom: 17px; }
  body #giftView #refreshButton { padding: 0 12px; font-size: 11px !important; }
}

#giftView #shopGrid #section-marvel .item-card.is-bundle.tile-span-4 .item-art {
  clip-path: inset(-58px 0 0 round 14px) !important;
}

#giftView #shopGrid #section-marvel .item-card.is-bundle.tile-span-4 .item-art > .card-render {
  transform: translateY(calc(var(--art-lift, 0px) - 26px)) !important;
}

#giftView #shopGrid #section-marvel .item-card.is-bundle.tile-span-4 .item-body {
  background: linear-gradient(180deg, transparent, rgba(125, 53, 12, .08) 45%, rgba(125, 53, 12, .5)) !important;
}
