@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  src: url('../assets/sans.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 800;
  src: url('../assets/display.woff2') format('woff2');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101016;
  --surface: #1b1a24;
  --line: #34313f;
  --muted: #b1aeba;
  --violet: #8052ec;
  --gold: #ffd166;
  --round: 12px;
  --body: 'DM Sans', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f7f6fb;
  font: 500 15px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #d2b4ff;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(92%, 1392px);
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
button,
.currency-button,
.sort-control {
  touch-action: manipulation;
}
.skip {
  position: fixed;
  z-index: 9;
  left: 12px;
  top: -80px;
  padding: 10px 18px;
  background: var(--violet);
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(19, 18, 26, 0.97);
  border-bottom: 1px solid #2c2936;
  backdrop-filter: blur(16px);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.brand img {
  width: 43px;
  transform: rotate(-6deg);
}
.brand > span {
  font:
    italic 800 35px/0.95 'Barlow Condensed',
    Impact,
    sans-serif;
  letter-spacing: -0.7px;
}
.brand > span > span {
  color: var(--gold);
}
.search-wrap {
  height: 43px;
  min-width: 100px;
  width: 100%;
  max-width: 550px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  border: 1px solid #363240;
  border-radius: 9px;
  background: #201e29;
  color: #a9a5b7;
}
.search-wrap:focus-within {
  border-color: #996cfc;
  box-shadow: 0 0 0 2px #8052ec26;
}
.search-wrap input {
  color: #fff;
  border: none;
  background: transparent;
  outline: 0;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
input[type='search']::-webkit-search-cancel-button {
  cursor: pointer;
}
.search-wrap input:focus-visible {
  outline: 0;
}
.search-wrap input::placeholder {
  color: #a7a2b2;
}
.search-wrap kbd {
  font: 13px var(--body);
  border: 1px solid #474250;
  border-radius: 4px;
  min-width: 21px;
  height: 24px;
  text-align: center;
  line-height: 22px;
  color: #aaa3b8;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.currency-button,
.cart-button,
.sort-control,
.secondary,
.primary,
.icon-button,
.buy,
.add,
.pill,
.text-button,
.coupon-ticket,
.ticket-code,
.ticket-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.currency-button,
.sort-control {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1d1b25;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}
.currency-button {
  height: 42px;
  padding: 0 12px;
}
.currency-button .icon:first-child {
  color: #c6c0d2;
  width: 17px;
}
.sort-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
select option,
select optgroup {
  color: #f4f0ff;
  background: #24212f;
}
.currency-button:focus-within,
.sort-control:focus-within {
  outline: 2px solid #b696fc;
  outline-offset: 2px;
}
.icon.chevron {
  width: 14px;
  height: 14px;
  color: #b8b1c8;
}
.cart-button {
  height: 42px;
  gap: 9px;
  border: 1px solid #8461e7;
  border-radius: 8px;
  padding: 0 13px;
  background: linear-gradient(#8055e6, #7245d3);
  font-weight: 700;
}
.cart-button b {
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  background: #513197;
  min-width: 21px;
  min-height: 21px;
  padding: 0 5px;
  border-radius: 6px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 27px;
  min-height: 297px;
  border: 1px solid #684298;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 76% 52%, #8543c3 0%, #542588 32%, transparent 68%),
    linear-gradient(105deg, #25163d 0%, #412067 49%, #43216c 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(15, 9, 31, 0.27), transparent 58%),
    linear-gradient(transparent 72%, #25133778);
}
.hero-rays {
  position: absolute;
  z-index: -2;
  inset: -10%;
  opacity: 0.58;
  background: repeating-conic-gradient(
    from 12deg at 75% 58%,
    transparent 0 13deg,
    #bd71ff1b 14deg,
    #cb8aff09 17deg,
    transparent 18deg 24deg
  );
  mask-image: linear-gradient(90deg, transparent, #000 43%);
}
.hero-dots {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#c586ff4d 1.2px, transparent 1.6px);
  background-size: 8px 8px;
  mask-image: linear-gradient(119deg, #0008, transparent 24%, transparent 62%, #000a);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 54%;
  padding: 26px 0 28px clamp(25px, 3vw, 47px);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 5px;
  padding: 6px 9px;
  background: #261c36af;
  border: 1px solid #796280;
  color: #f2eaf8;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.legacy-badge i {
  width: 6px;
  height: 6px;
  background: #a9ecab;
  border-radius: 50%;
  box-shadow: 0 0 6px #aeecaa55;
}
.domain {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #d4bcdf;
}
h1 {
  font:
    italic 800 clamp(53px, 5.25vw, 77px) / 0.89 'Barlow Condensed',
    Impact,
    sans-serif;
  letter-spacing: -0.9px;
  margin: 16px 0 13px;
  text-shadow: 0 3px 0 #21153655;
}
h1 em {
  color: #ffd06a;
  font-style: inherit;
}
.hero-copy p {
  margin: 0 0 16px;
  color: #e5d9ee;
  font-size: 15px;
}
.hero-copy strong {
  color: #ffdc92;
  font-weight: 800;
}
.coupon-ticket {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  border: 1px dashed #c19558;
  background: linear-gradient(100deg, #513b3499, #33203eaa);
  box-shadow: 0 3px 14px #130c2426;
}
.ticket-code,
.ticket-action {
  height: 37px;
  gap: 9px;
}
.ticket-code {
  padding: 0 13px;
  color: #ffdb86;
  font-weight: 800;
  letter-spacing: 0.8px;
  font-size: 14px;
}
.ticket-code .icon {
  width: 18px;
  transform: rotate(-12deg);
}
.ticket-action {
  border-left: 1px dashed #9a794c;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
  color: #fff2dc;
}
.ticket-action .icon {
  width: 14px;
}
.coupon-ticket:hover {
  background: #624749;
}
.hero-art {
  pointer-events: none;
  position: absolute;
  width: 55%;
  inset: 0 0 0 auto;
  display: grid;
  place-items: center;
}
.portal {
  position: absolute;
  inset: -25% -7% -27% -3%;
  background: radial-gradient(ellipse, #c375fc67 0%, #9856dd37 38%, transparent 66%);
}
.hero-crown {
  position: absolute;
  width: auto;
  height: 96%;
  max-width: 100%;
  object-fit: contain;
  bottom: 0;
  filter: drop-shadow(0px 8px 10px #1d072c44);
}
.art-shadow {
  position: absolute;
  width: 64%;
  height: 12%;
  border-radius: 50%;
  background: #260d48;
  filter: blur(12px);
  bottom: -2%;
  opacity: 0.75;
}
.orbit {
  position: absolute;
  width: 80%;
  height: 42%;
  border: 1px solid #c597ff43;
  border-radius: 50%;
  transform: rotate(-17deg);
  box-shadow: inset 0 1px 1px #e0b0ff2b;
}
.orbit-one {
  top: 34%;
}
.orbit-two {
  width: 90%;
  height: 53%;
  top: 27%;
  border-style: dashed;
  opacity: 0.56;
  transform: rotate(-17deg);
}
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.starfield i {
  position: absolute;
  background: var(--star-color, #ffdd89);
  width: var(--s);
  height: var(--s);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 60%, 50% 100%, 40% 62%, 0 50%, 39% 40%);
  filter: drop-shadow(0 0 4px #fff);
}
.starfield i.fleck {
  width: calc(var(--s) * 2.6);
  height: 2px;
  clip-path: none;
  transform: rotate(-35deg);
  background: linear-gradient(90deg, transparent, var(--star-color));
}
.shop {
  padding-top: 30px;
  scroll-margin-top: 12px;
}
.shop-heading,
.shop-title,
.filter-bar,
.pills,
.item-meta,
.card-actions {
  display: flex;
  align-items: center;
}
.shop-heading {
  gap: 13px;
  margin-bottom: 17px;
  align-items: center;
}
.shop-title {
  gap: 11px;
}
.shop-symbol,
.panel-icon {
  display: inline-grid;
  place-items: center;
  color: #b79aff;
  background: #292037;
  border: 1px solid #433150;
  border-radius: 9px;
  width: 37px;
  height: 37px;
}
.shop-symbol .icon {
  width: 21px;
  height: 21px;
}
.shop-heading h2,
.panel-heading h2,
.empty-state h3,
.confirmation h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.9px;
}
.shop-heading h2 {
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.15;
}
#item-count {
  font-size: 12px;
  font-weight: 650;
  color: #c1bbc9;
  background: #222029;
  border: 1px solid #34303e;
  padding: 3px 9px;
  border-radius: 20px;
}
.filter-bar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pills {
  gap: 7px;
  flex-wrap: wrap;
}
.pill {
  height: 35px;
  padding: 0 14px;
  gap: 7px;
  border: 1px solid #35303f;
  background: #1c1a23;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  color: #c9c4d2;
  white-space: nowrap;
}
.pill .icon {
  width: 15px;
  height: 15px;
}
.pill[aria-pressed='true'] {
  color: #f5ecff;
  border-color: #825cc8;
  background: #483065;
}
.pill:not([aria-pressed='true']):hover,
.secondary:hover,
.icon-button:hover,
.add:hover {
  background: #322c3d;
  border-color: #5b4b70;
}
.sort-control {
  flex: none;
  height: 35px;
  padding: 0 11px;
  color: #e9e6f0;
  gap: 7px;
  font-size: 13px;
}
.sort-control > .icon:first-child {
  width: 16px;
  color: #b7afc4;
}
.sort-prefix {
  font-weight: 500;
  color: #bcb5c7;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid #383340;
  border-radius: var(--round);
  background: var(--surface);
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: #65517f;
}
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(148px, 12.3vw, 190px);
  background:
    radial-gradient(ellipse at 52% 83%, hsl(var(--h) 40% 28% / 0.66), transparent 70%),
    linear-gradient(130deg, hsl(var(--h) 25% 18%), hsl(var(--h) 22% 12%));
  border-bottom: 1px solid #ffffff0b;
}
.stage::before {
  content: '';
  position: absolute;
  bottom: -1%;
  width: 180%;
  height: 65%;
  background-image:
    linear-gradient(hsl(var(--h) 58% 66% / 0.16) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--h) 58% 66% / 0.16) 1px, transparent 1px);
  background-size: 29px 19px;
  transform: perspective(96px) rotateX(53deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(transparent, #0009 53%, #000);
}
.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image:
    radial-gradient(circle, #ded2fd 0 0.7px, transparent 1px),
    radial-gradient(circle, #ded2fd 0 0.6px, transparent 1px);
  background-size:
    78px 54px,
    109px 93px;
  background-position:
    17px 5px,
    0 31px;
  mask-image: linear-gradient(#0008, #000, transparent);
}
.stage img {
  width: 79%;
  height: 81%;
  object-fit: contain;
  position: absolute;
  bottom: 5%;
  filter: drop-shadow(0px 7px 4px #0b061b80);
  transition: transform 0.24s;
}
.product-card:hover .stage img {
  transform: translateY(-2px) scale(1.035);
}
.rarity {
  position: absolute;
  top: 10px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e7c4ff;
  border: 1px solid #b778ef59;
  border-radius: 5px;
  background: #352341e6;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.rarity .icon {
  width: 11px;
  height: 11px;
}
.rarity.chroma {
  color: #f9d2ee;
  border-color: #d999e46b;
  background: linear-gradient(112deg, #3f445b, #50294ee6 70%);
}
.rarity.chroma .icon {
  color: #ffbf83;
}
.card-body {
  padding: 13px 14px 14px;
}
.card-body h3 {
  font-size: clamp(16px, 1.25vw, 19px);
  letter-spacing: -0.3px;
  line-height: 1.25;
  font-weight: 750;
  margin: 0;
  overflow-wrap: anywhere;
}
.item-meta {
  margin-top: 6px;
  margin-bottom: 13px;
  gap: 7px;
  justify-content: space-between;
}
.price {
  color: var(--gold);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.item-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #a7a0b5;
}
.item-type .icon {
  width: 13px;
  height: 13px;
}
.card-actions {
  gap: 7px;
}
.buy,
.add,
.primary,
.secondary,
.icon-button {
  border-radius: 7px;
  font-weight: 700;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.buy,
.add {
  height: 38px;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}
.buy,
.primary {
  background: linear-gradient(180deg, #8959ed, #794bd9);
  border: 1px solid #9a70f1;
  color: white;
  box-shadow: inset 0 1px #b390ff22;
}
.buy:hover,
.primary:hover,
.cart-button:hover {
  background: #9565f8;
}
.buy {
  flex: 1.1;
}
.add {
  flex: 1;
  background: #292530;
  border: 1px solid #443c50;
  color: #e3ddea;
}
.buy .icon,
.add .icon {
  width: 14px;
  height: 14px;
}
.load-area {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  padding: 28px 0 10px;
}
.load-area span {
  color: var(--muted);
  font-size: 12px;
}
.secondary,
.icon-button {
  background: #26222e;
  border: 1px solid #40394a;
}
.secondary,
.primary {
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}
.icon-button {
  width: 36px;
  height: 36px;
  padding: 8px;
}
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: #1b1922;
  border: 1px solid var(--line);
  border-radius: var(--round);
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  color: #b28ce9;
  margin-bottom: 9px;
}
.empty-state h3 {
  font-size: 21px;
}
.empty-state p,
.confirmation p {
  margin: 7px 0 16px;
  color: var(--muted);
}
footer {
  margin-top: 35px;
  min-height: 75px;
  border-top: 1px solid #302b38;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}
footer i {
  font-style: normal;
}
footer a:hover {
  text-decoration: underline;
}
dialog {
  padding: 0;
  color: #f8f6fc;
  background: #1a1722;
  border: 1px solid #473952;
  box-shadow: 0 22px 85px #0008;
}
dialog::backdrop {
  background: #08060fbd;
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.drawer {
  margin: 0 0 0 auto;
  width: min(100%, 445px);
  height: 100dvh;
  max-height: none;
  max-width: 100%;
  border-radius: 17px 0 0 17px;
  border-width: 0 0 0 1px;
  overflow-y: auto;
}
.drawer[open] {
  animation: slide-in 0.2s ease-out;
}
.modal {
  width: min(490px, calc(100% - 26px));
  max-height: 90dvh;
  border-radius: 17px;
  overflow-y: auto;
}
.modal[open] {
  animation: appear 0.17s ease-out;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.panel-heading h2 {
  font-size: 23px;
}
.panel-icon {
  width: 34px;
  height: 34px;
}
#cart-content,
#checkout-content {
  padding: 20px 22px 24px;
}
.panel-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.text-button {
  gap: 4px;
  padding: 4px;
  color: #d1b1fc;
  font-size: 12px;
  font-weight: 650;
}
.text-button:hover {
  text-decoration: underline;
}
.line-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #34303c;
}
.line-item > img {
  background: radial-gradient(#3a2d4b, #27212f);
  border-radius: 9px;
  border: 1px solid #44394e;
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 6px;
}
.line-info {
  flex: 1;
  min-width: 0;
}
.line-info strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.line-info > span {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}
.line-end {
  text-align: right;
  flex: none;
}
.line-end .text-button {
  color: #ada4bb;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #4b4156;
  border-radius: 6px;
  overflow: hidden;
  background: #28232f;
}
.stepper button {
  width: 29px;
  height: 28px;
  padding: 0;
}
.stepper button:hover {
  background: #443452;
}
.stepper .icon {
  width: 13px;
}
.stepper span {
  min-width: 20px;
  text-align: center;
  font-size: 13px;
}
.field {
  display: block;
  margin: 17px 0 0;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.field-label small {
  font-size: 12px;
  color: #b5aebe;
  font-weight: 500;
}
.field input,
.coupon-form input {
  display: block;
  width: 100%;
  height: 40px;
  background: #131118;
  color: white;
  border: 1px solid #473e50;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 14px;
}
.coupon-form {
  margin: 18px 0 0;
}
.coupon-row {
  display: flex;
  gap: 7px;
}
.coupon-row input {
  flex: 1;
  min-width: 0;
}
.form-feedback {
  margin: 6px 0 0;
  font-size: 12px;
  color: #c4b0de;
  min-height: 1em;
}
.form-feedback:empty {
  display: none;
}
.form-feedback.error {
  color: #ffb3bc;
}
.form-feedback.success {
  color: #a6e5b5;
}
.totals {
  margin: 18px 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 7px 0;
  font-size: 14px;
  color: #c8c0d1;
}
.totals .deduction {
  color: #a7e2b6;
}
.totals .total {
  color: white;
  font-size: 17px;
  font-weight: 750;
  margin-top: 12px;
}
.total strong {
  color: var(--gold);
  font-size: 22px;
}
.wide {
  width: 100%;
  min-height: 43px;
}
.claim-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b2a9bc;
  font-size: 12px;
  margin: 12px 0 0;
}
.claim-note .icon {
  width: 15px;
}
.panel-tools .currency-button {
  height: 32px;
  font-size: 12px;
}
.order-lines {
  max-height: 28vh;
  overflow: auto;
}
.order-lines .line-item {
  padding: 8px 0;
}
.order-lines .line-item > img {
  width: 48px;
  height: 48px;
}
.order-lines .line-end {
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
}
.confirmation {
  text-align: center;
  padding: 6px 2px 3px;
}
.confirmation h3 {
  font-size: 27px;
}
.confirmation .order-id {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 7px;
  background: #32243f;
  color: #dfb8ff;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.8px;
}
.delivery {
  position: relative;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 8px auto 16px;
  background: #473260;
  color: #ffd376;
  border-radius: 23px;
  border: 1px solid #775397;
  animation: deliver 0.5s cubic-bezier(0.16, 1.3, 0.4, 1);
}
.delivery .icon {
  width: 39px;
  height: 39px;
}
.delivery::after {
  content: '✓';
  position: absolute;
  right: -5px;
  bottom: -5px;
  background: #b1e9b2;
  color: #23402c;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-weight: 800;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  padding: 10px 16px;
  border: 1px solid #79559d;
  background: #31243e;
  color: #ffefff;
  font-size: 13px;
  font-weight: 650;
  border-radius: 9px;
  box-shadow: 0 5px 28px #0005;
  transition:
    opacity 0.16s,
    transform 0.16s;
  white-space: nowrap;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes slide-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes deliver {
  from {
    transform: translateY(-14px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .stage {
    height: 187px;
  }
}
@media (max-width: 1050px) {
  .shell {
    width: 94%;
  }
  .nav {
    gap: 24px;
  }
  .product-grid {
    gap: 11px;
  }
  .card-body {
    padding: 12px 11px;
  }
  .buy,
  .add {
    font-size: 11px;
  }
  .hero {
    min-height: 285px;
  }
  .hero-copy {
    padding-top: 25px;
  }
  .hero-crown {
    height: 90%;
  }
}
@media (max-width: 850px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy {
    max-width: 59%;
  }
  .nav {
    gap: 18px;
    height: 66px;
  }
  .brand > span {
    font-size: 30px;
  }
  .brand img {
    width: 35px;
  }
  .nav-actions {
    gap: 7px;
  }
  .pill {
    padding: 0 10px;
  }
  .sort-prefix {
    display: none;
  }
  .hero {
    margin-top: 18px;
  }
  .hero-art {
    width: 49%;
  }
  .hero-crown {
    width: 117%;
    max-width: none;
    height: auto;
    max-height: 96%;
    bottom: 6%;
  }
  .hero {
    min-height: 269px;
  }
  .stage {
    height: 145px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 115px;
  }
  .shell {
    width: calc(100% - 28px);
  }
  .nav {
    height: auto;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 0;
  }
  .nav-actions {
    margin-left: auto;
  }
  .brand {
    gap: 5px;
  }
  .brand img {
    width: 32px;
    height: 29px;
  }
  .brand > span {
    font-size: 29px;
  }
  .currency-button,
  .cart-button {
    height: 35px;
    padding: 0 9px;
    font-size: 13px;
    gap: 6px;
  }
  .cart-button .icon {
    width: 16px;
  }
  .search-wrap {
    order: 3;
    max-width: none;
    height: 35px;
    border-radius: 7px;
    padding-left: 11px;
    gap: 8px;
  }
  .search-wrap .icon {
    width: 16px;
  }
  .search-wrap input {
    font-size: 16px;
  }
  .search-wrap input::placeholder {
    font-size: 13px;
  }
  .search-wrap kbd {
    display: none;
  }
  .hero {
    margin-top: 14px;
    border-radius: 12px;
    min-height: 238px;
  }
  .hero-copy {
    padding: 18px 0 19px 19px;
    max-width: 70%;
  }
  .hero-meta {
    gap: 7px;
  }
  .domain {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .legacy-badge {
    font-size: 8px;
    padding: 5px 6px;
    gap: 5px;
  }
  .legacy-badge i {
    width: 5px;
    height: 5px;
  }
  h1 {
    font-size: clamp(40px, 8vw, 53px);
    margin: 14px 0 11px;
    line-height: 0.93;
  }
  .hero-copy p {
    font-size: 12px;
    max-width: 190px;
    margin-bottom: 11px;
  }
  .hero-art {
    width: 49%;
    right: -3%;
    top: 20%;
  }
  .hero-crown {
    width: 132%;
    height: auto;
    bottom: 11%;
  }
  .ticket-code,
  .ticket-action {
    height: 33px;
  }
  .ticket-code {
    font-size: 12px;
    padding: 0 8px;
    gap: 5px;
  }
  .ticket-action {
    font-size: 10px;
    padding: 0 8px;
    gap: 5px;
  }
  .ticket-action .icon {
    width: 11px;
  }
  .ticket-code .icon {
    width: 14px;
  }
  .shop {
    padding-top: 22px;
  }
  .shop-heading {
    margin-bottom: 13px;
    gap: 9px;
  }
  .shop-symbol {
    width: 31px;
    height: 31px;
  }
  .shop-symbol .icon {
    width: 17px;
  }
  .shop-title {
    gap: 8px;
  }
  .shop-heading h2 {
    font-size: 25px;
  }
  #item-count {
    font-size: 11px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    margin-bottom: 12px;
  }
  .pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 2px 0;
  }
  .pill {
    flex: none;
    height: 33px;
    padding: 0 10px;
    font-size: 12px;
    gap: 5px;
  }
  .pill .icon {
    width: 13px;
  }
  .sort-control {
    align-self: flex-end;
    height: 31px;
    font-size: 12px;
  }
  .sort-prefix {
    display: inline;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stage {
    height: clamp(110px, 28.5vw, 158px);
  }
  .rarity {
    top: 7px;
    left: 7px;
    font-size: 8px;
    padding: 3px 5px;
    letter-spacing: 0.7px;
  }
  .card-body {
    padding: 10px;
  }
  .card-body h3 {
    font-size: 15px;
  }
  .item-meta {
    margin: 6px 0 10px;
  }
  .price {
    font-size: 15px;
  }
  .item-type {
    font-size: 10px;
  }
  .card-actions {
    gap: 5px;
  }
  .buy,
  .add {
    font-size: 11px;
    height: 34px;
  }
  .card-actions .icon {
    display: none;
  }
  .product-card {
    border-radius: 9px;
  }
  footer {
    font-size: 11px;
    gap: 10px;
    padding: 16px 0;
  }
  footer span {
    flex-basis: 100%;
  }
  footer a:last-child {
    margin-left: auto;
  }
}
@media (max-width: 370px) {
  .brand > span {
    font-size: 25px;
  }
  .brand img {
    width: 28px;
  }
  .nav-actions {
    gap: 5px;
  }
  .currency-button,
  .cart-button {
    padding: 0 7px;
  }
  .hero-copy {
    padding-left: 13px;
  }
  .hero-copy p {
    max-width: 160px;
  }
  .domain {
    display: none;
  }
  .card-body {
    padding: 8px;
  }
  .buy,
  .add {
    font-size: 10px;
  }
  .item-type .icon {
    display: none;
  }
  .panel-heading,
  #cart-content,
  #checkout-content {
    padding: 15px;
  }
}
@media (max-width: 640px) {
  .buy,
  .add {
    height: 42px;
  }
  .cart-button,
  .nav-actions .currency-button {
    height: 38px;
  }
  .shop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 11px;
  }
  .shop-heading {
    grid-area: 1/1;
    margin: 0;
  }
  .filter-bar {
    display: contents;
  }
  .sort-control {
    grid-area: 1/2;
    max-width: 120px;
    align-self: center;
    padding: 0 8px;
    gap: 5px;
  }
  .sort-prefix {
    display: none;
  }
  #sort-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pills {
    grid-row: 2;
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 5px;
    overflow: visible;
  }
  .pill {
    padding: 0 3px;
    min-height: 36px;
  }
  .pill .icon {
    display: none;
  }
  .pill[data-category='Set/Bundle'] {
    grid-column: span 2;
  }
  .product-grid,
  .empty-state,
  .load-area {
    grid-column: 1/-1;
  }
  .starfield {
    mask-image: linear-gradient(90deg, transparent 34%, #0009 60%, #000);
  }
  .hero-crown {
    width: 123%;
    bottom: 9%;
  }
}
@media (max-width: 370px) {
  .shop-title {
    gap: 6px;
  }
  .shop-heading {
    gap: 5px;
  }
  .shop-heading h2 {
    font-size: 22px;
  }
  .sort-control {
    max-width: 89px;
  }
  .hero-art {
    top: 29%;
  }
}
.flag {
  display: block;
  flex: none;
  width: 23px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px #0005);
}
.currency-dialog {
  width: min(420px, calc(100% - 26px));
  overflow: hidden;
}
.currency-dialog[open] {
  display: flex;
  flex-direction: column;
}
.currency-dialog .panel-heading {
  flex: none;
}
.currency-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  min-height: 0;
}
.currency-search {
  order: 0;
  flex: none;
  height: 40px;
}
#currency-choices {
  min-height: 0;
  max-height: 44dvh;
  overflow-y: auto;
  scrollbar-width: thin;
}
.currency-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  min-height: 46px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 7px;
}
.currency-row:hover,
.currency-row:focus-visible {
  background: #30283b;
}
.currency-row:focus-visible {
  outline-offset: -2px;
}
.currency-row[aria-pressed='true'] {
  background: #352641;
  border-color: #70548d;
}
.currency-row strong,
.currency-row small {
  display: block;
}
.currency-row strong {
  font-size: 14px;
}
.currency-row small,
.no-currencies {
  font-size: 12px;
  color: var(--muted);
}
.choice-check {
  margin-left: auto;
  width: 17px;
  visibility: hidden;
  color: #cfb0ff;
}
.currency-row[aria-pressed='true'] .choice-check {
  visibility: visible;
}
#auto-currency {
  flex: none;
  background: #27222f;
  border-color: #493d54;
}
#auto-currency[aria-pressed='true'] {
  background: #352641;
  border-color: #745188;
}
.auto-globe {
  width: 23px;
  color: #caa7ff;
}
.more-filters {
  position: relative;
  cursor: pointer;
}
.more-filters select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.more-filters[data-selected='true'] {
  color: #f5ecff;
  border-color: #825cc8;
  background: #483065;
}
.more-filters:focus-within {
  outline: 2px solid #b696fc;
  outline-offset: 2px;
}
.rarity.ancient {
  color: #ffe0aa;
  background: #493720ed;
  border-color: #bc915e88;
}
.rarity.unique {
  color: #ffed91;
  background: #453b1cee;
  border-color: #d7b34488;
}
.rarity.legendary {
  color: #ffbcc3;
  background: #48252eeb;
}
.rarity.rare {
  color: #c2ddff;
  background: #23394ae8;
}
.rarity.uncommon {
  color: #c0eed5;
  background: #253c2ee8;
}
.rarity.common,
.rarity.unclassified {
  color: #d5d0da;
  background: #302e36e8;
}
.rarity.vintage {
  color: #ffe2be;
  background: #49332ce8;
}
@media (max-width: 640px) {
  .pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pill .icon {
    display: inline-block;
  }
  .currency-content {
    padding: 12px;
  }
}
@keyframes vault-hover {
  0%,
  100% {
    transform: translateY(0) rotate(-0.35deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.4deg);
  }
}
@keyframes starlight {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes item-arrival {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-crown {
    animation: vault-hover 5s ease-in-out infinite;
  }
  .starfield i:not(.fleck) {
    animation: starlight 2.8s ease-in-out infinite alternate;
  }
  .starfield i:nth-child(3n) {
    animation-delay: -1.7s;
  }
  .starfield i:nth-child(3n + 1) {
    animation-delay: -0.8s;
  }
  .product-card {
    animation: item-arrival 0.22s ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}
