:root {
  --bg: #0c0d10;
  --bg-2: #14151a;
  --card: #17181e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f3f5;
  --muted: #a7abb3;
  --faint: #7c8088;
  --blurple: #5865f2;
  --blurple-h: #4752c4;
  --green: #f2f3f5;
  --mint: #f2f3f5;
  --red: #da373c;
  --berry: #f0b6bc;
  --font: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  height: 64px; padding: 0 20px;
  background: rgba(12, 13, 16, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -0.03em; font-size: 16px; }
.mark { width: 26px; height: 26px; display: block; }
.bar nav { display: flex; gap: 2px; }
.bar nav a, .discord {
  color: var(--muted); padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.bar nav a:hover, .bar nav a[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--text); }
.search { flex: 1; max-width: 460px; }
.search input, .field input, select.sel {
  width: 100%; background: #1a1b21; border: 1px solid transparent; border-radius: 999px;
  padding: 10px 14px; outline: none;
}
select.sel { border-radius: 999px; width: auto; }
.search input:focus, .field input:focus { border-color: var(--blurple); box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.25); }
.discord { margin-left: auto; background: #1a1b21; }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blurple); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.45);
}
.cart-link b {
  min-width: 18px; height: 18px; border-radius: 99px; background: #fff; color: #111; font-size: 12px;
  display: grid; place-items: center;
}
.cart-link.pop b { animation: pop .35s ease; }
.cart-link:hover { background: var(--blurple-h); }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 72px; }
h1 { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 18px; max-width: 68ch; line-height: 1.5; }
.kicker { color: #b5bac1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.hero {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: stretch; margin-bottom: 22px;
}
.panel {
  background: radial-gradient(120% 80% at 0% 0%, rgba(88,101,242,.22), transparent 55%), var(--bg-2);
  border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow);
}
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust span, .save, .deal {
  border-radius: 999px; padding: 6px 10px; background: rgba(255, 255, 255, .06); color: var(--text);
  font-size: 12px; font-weight: 700;
}
.deal.xmas, .trust .xmas { background: rgba(218, 55, 60, .16); color: #ffd7da; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .btn, .badd, .ghost {
  border: 1px solid transparent; border-radius: 999px; padding: 8px 12px; background: #1c1d24; color: var(--text); cursor: pointer;
}
.chip[aria-pressed="true"] { background: #fff; color: #111; font-weight: 700; }
.btn.primary, .badd {
  background: var(--blurple); color: #fff; font-weight: 700; border: 0;
  box-shadow: 0 0 18px rgba(88, 101, 242, .4);
}
.btn.primary:hover, .badd:hover { background: var(--blurple-h); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.bcard {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #14151a; border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bcard:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 137, 255, .75);
  box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 24px rgba(88, 101, 242, .28);
}
.bcard-link { display: flex; flex-direction: column; min-height: 100%; color: inherit; }
.btags, .save { position: absolute; z-index: 2; }
.btags { top: 8px; left: 8px; display: flex; gap: 4px; }
.btags span, .save {
  background: rgba(10, 10, 14, .72); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.btags .hot { background: var(--blurple); }
.save { top: 8px; right: 8px; background: rgba(10, 10, 14, .78); color: #fff; }
.bimg {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--c1) 55%, transparent), color-mix(in srgb, var(--c2) 30%, #121318));
  overflow: hidden;
}
.bimg img, .bimg video { width: 100%; height: 100%; display: block; }
.bimg.avatar { position: relative; }
.bimg.avatar .pfp { width: 54%; height: 54%; border-radius: 50%; position: absolute; inset: 23%; object-fit: cover; }
.bimg.avatar .deco { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.bimg.effect, .bimg.frame, .bimg.bundle, .bimg.plate { aspect-ratio: 1; padding: 0; background: #101114; }
.bimg.effect img, .bimg.frame img, .bimg.bundle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bimg.effect, .bimg.frame, .bimg.bundle { position: relative; }
.bimg.plate { display: grid; place-items: center; padding: 22px 14px; }
.bimg.plate img, .bimg.plate video { width: 100%; height: auto; aspect-ratio: 448 / 84; object-fit: cover; border-radius: 10px; }
.shelf { margin-top: 28px; }
.shelf h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 12px;
  overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .bcard { scroll-snap-align: start; }
.rail.tall { grid-auto-columns: 210px; }
.rail.wide { grid-auto-columns: minmax(360px, 46%); }
.rail.plates { grid-auto-columns: minmax(340px, 42%); }
.night {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px;
  align-items: center; min-height: 420px; margin-bottom: 8px; padding: 40px;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(420px 220px at 18% 20%, rgba(88, 101, 242, .28), transparent 70%),
    radial-gradient(280px 180px at 80% 80%, rgba(88, 101, 242, .12), transparent 70%),
    #101114;
}
.night-copy, .profile-card { position: relative; z-index: 1; }
.night-copy h1 { font-size: 64px; max-width: 10ch; }
.night-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-card {
  display: flex; flex-direction: column; gap: 14px; justify-self: end;
  width: min(360px, 100%); padding: 16px; border-radius: 22px;
  background: rgba(16, 17, 22, .82); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); backdrop-filter: blur(10px);
}
.profile-row { display: flex; gap: 14px; align-items: center; }
.profile-row .bimg.avatar { width: 108px; flex: none; }
.profile-row b { display: block; font-size: 18px; }
.cart-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: start; }
.meter { height: 8px; border-radius: 99px; background: #23242b; overflow: hidden; margin: 8px 0 10px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, #5865f2, #f2f3f5); }
.code-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-top: 16px; }
.code-row .field { margin: 0; flex: 1; min-width: 160px; }
.buybox .pay-total { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.pay-go { display: flex; justify-content: center; width: 100%; padding: 14px 16px; }
.line .bimg { width: 64px; flex: none; aspect-ratio: 1; }
.line .bimg.bundle, .line .bimg.plate { width: 120px; }
.line .bimg.effect { width: 52px; aspect-ratio: 3 / 4; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.stage.effect .bimg.effect { aspect-ratio: 3 / 4; max-height: 640px; }
.stage.nameplate .bimg.plate, .stage.bundle .bimg.bundle { aspect-ratio: auto; }
.stage .bimg { width: 100%; }
.sort { position: relative; }
.sort-btn, .sort-menu button {
  border: 0; background: #1c1d24; color: var(--text); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 650;
}
.sort-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 160px;
  display: grid; gap: 4px; padding: 6px; border-radius: 14px; background: #1a1b21;
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow);
}
.sort-menu button { border-radius: 10px; text-align: left; }
.sort-menu button[aria-pressed="true"], .sort-menu button:hover { background: #fff; color: #111; }
.account { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 999px; background: #1a1b21; color: var(--muted); font-weight: 700; font-size: 13px; padding: 0 10px; }
.account.on { padding: 0; background: transparent; }
.account img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.drawer { position: fixed; inset: 0; z-index: 45; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.55); cursor: pointer; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #121318; border-left: 1px solid var(--line); padding: 16px 16px 24px;
  display: flex; flex-direction: column; gap: 12px; animation: sheet .22s ease;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head button, .chat-head button { border: 0; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
#drawer-body { overflow: auto; }
.chat {
  background: #14151a; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 8px;
  box-shadow: var(--shadow); overflow: hidden; transform-origin: bottom right; animation: popin .18s ease;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.chat-head small { display: block; color: var(--faint); font-size: 12px; }
.chat-head button { margin-left: auto; }
.chat-ava { width: 32px; height: 32px; border-radius: 50%; background: var(--blurple); }
.prompts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.prompts button { border: 0; border-radius: 999px; background: #23242c; color: var(--text); padding: 6px 10px; cursor: pointer; font-size: 13px; }
.chat-compose { display: flex; gap: 8px; padding: 0 12px 12px; }
.chat-compose input { flex: 1; border-radius: 999px; border: 0; background: #1a1b21; padding: 10px 12px; }
.chat .fine, .chat .btn { margin: 0 12px 12px; }
@keyframes sheet { from { transform: translateX(16px); opacity: .6; } }
@keyframes popin { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.binfo { padding: 10px 12px 14px; }
.bname { display: block; font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bprice { display: flex; gap: 8px; align-items: baseline; margin-top: 4px; font-variant-numeric: tabular-nums; }
.bprice b { color: #fff; font-size: 15px; }
.bprice s { color: var(--faint); font-size: 12px; }
.badd { position: absolute; left: 10px; right: 10px; bottom: 58px; z-index: 3; opacity: 0; }
.bcard:hover .badd, .bcard:focus-within .badd { opacity: 1; }
.row { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 28px; align-items: start; }
.stage {
  background: radial-gradient(70% 60% at 50% 40%, rgba(88,101,242,.25), transparent 70%), var(--bg-2);
  border-radius: 18px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.on-me { width: 220px; height: 220px; margin: 0 auto; position: relative; }
.on-me .pfp { width: 128px; height: 128px; border-radius: 50%; position: absolute; inset: 46px; object-fit: cover; }
.on-me .deco { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span, .fine { color: var(--muted); font-size: 13px; }
.field input { border-radius: 10px; }
.coins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 16px; }
.coin { display: flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 12px; padding: 10px 4px; }
.coin i { font-style: normal; font-weight: 700; font-size: 16px; }
.coin small { color: var(--faint); font-size: 10px; font-weight: 600; }
.coin[aria-pressed="true"] { background: var(--blurple); color: #fff; }
.coin[aria-pressed="true"] small { color: #fff; }
.field-ico { display: flex; gap: 8px; align-items: center; }
.field-ico svg { width: 18px; height: 18px; flex: none; stroke: #b5bac1; fill: none; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.paybox, .summary {
  display: grid; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.paybox { grid-template-columns: 168px 1fr; }
.qr { width: 160px; height: 160px; background: #fff; border-radius: 8px; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; background: #111; }
.line-main { display: flex; gap: 10px; align-items: center; min-width: 0; }
.status { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hero { grid-template-columns: 1fr; }
.feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.shot { border-radius: 16px; overflow: hidden; background: #14151a; border: 1px solid var(--line); min-height: 180px; }
.shot img { width: 100%; height: 220px; object-fit: cover; }
.dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 35; width: min(320px, calc(100% - 24px));
}
.dock button.launcher {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--blurple); color: #fff; border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 700; cursor: pointer;
}
.dock-panel { background: #14151a; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 8px; box-shadow: var(--shadow); }
.bubble { background: #1e1f22; border-radius: 12px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.bubble.staff { background: #2b2d55; }
.chat-log { max-height: 240px; overflow: auto; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.steps span { color: var(--faint); font-size: 12px; font-weight: 700; }
.steps span.on { color: #fff; }
.warn { background: #3b2426; color: #ffd4d4; border-radius: 10px; padding: 10px 12px; }
.err { color: #ffb4b4; min-height: 1.2em; }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(12px);
  background: #111218; color: var(--text); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  border-radius: 999px; padding: 10px 14px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 40;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.foot .wrap { display: flex; gap: 14px; flex-wrap: wrap; padding: 18px 0 28px; }
.more { margin: 16px auto 0; display: block; }
@keyframes pop { 50% { transform: scale(1.25); } }
@media (hover: none) { .badd { opacity: 1; bottom: 10px; } .binfo { padding-bottom: 52px; } }
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero, .split, .row, .feature, .night, .cart-layout { grid-template-columns: 1fr; }
  .night { min-height: 0; padding: 22px; }
  .night-copy h1 { font-size: 40px; }
  .profile-card { justify-self: stretch; width: auto; }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .rail.wide, .rail.plates { grid-auto-columns: 78%; }
  .drawer-panel { width: 100%; }
  .night-copy h1 { font-size: 40px; }
  .coins { grid-template-columns: 1fr 1fr; }
  .bar { height: auto; flex-wrap: wrap; padding: 10px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .discord { margin-left: 0; }
  h1 { font-size: 32px; }
  .paybox { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bcard, .toast, .cart-link.pop b, .drawer-panel, .chat { transition: none; animation: none; }
}
