/* Sempiternal: obsidian dark, the wordmark's purple and cyan, gold for anything to do with buying. */
@font-face {
  font-family: "Pixelify Sans";
  src: url("/static/fonts/pixelify.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #06040b;
  --bg-2: #0b0714;
  --panel: #110b1e;
  --panel-2: #181029;
  --panel-3: #22163a;
  --line: rgb(255 255 255 / .07);
  --line-2: rgb(255 255 255 / .14);
  --text: #f4eeff;
  --muted: #a99cc8;
  --dim: #6e6390;
  --purple: #b026ff;
  --purple-2: #7a1fd6;
  --violet: #c77dff;
  --cyan: #58f0ff;
  --gold: #ffc83d;
  --gold-2: #f0a81b;
  --green: #4ade80;
  --red: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgb(0 0 0 / .5);
  --display: "Pixelify Sans", ui-monospace, monospace;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--cyan); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .45em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); }
strong { font-weight: 700; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--purple); color: #fff; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }
.eyebrow {
  font-family: var(--display); font-size: .95rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--cyan); margin: 0 0 .5em; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.eyebrow.center { display: flex; justify-content: center; }
.grad { background: linear-gradient(90deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Minecraft colour codes */
.mc-0 { color: #000; } .mc-1 { color: #0000aa; } .mc-2 { color: #00aa00; } .mc-3 { color: #00aaaa; }
.mc-4 { color: #aa0000; } .mc-5 { color: #c23bc2; } .mc-6 { color: #ffaa00; } .mc-7 { color: #aaaaaa; }
.mc-8 { color: #6b6b6b; } .mc-9 { color: #5555ff; } .mc-a { color: #55ff55; } .mc-b { color: #55ffff; }
.mc-c { color: #ff5555; } .mc-d { color: #ff55ff; } .mc-e { color: #ffff55; } .mc-f { color: #fff; }

/* tiers */
.tier-bronze { --tier: #ffaa00; --tier-ink: #1c1200; }
.tier-celestial { --tier: #55ffff; --tier-ink: #002a2a; }
.tier-hellforged { --tier: #ff5555; --tier-ink: #2a0606; }
.tier-omega { --tier: #ff55ff; --tier-ink: #2a062a; }
.tier-obsidian { --tier: #b026ff; --tier-ink: #fff; }

/* ---------- buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 700 .96rem var(--body); letter-spacing: .01em; cursor: pointer; color: var(--text);
  transition: transform .08s, background-color .15s, border-color .15s, box-shadow .15s, filter .15s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #c252ff, var(--purple-2)); color: #fff; box-shadow: 0 8px 26px rgb(176 38 255 / .35), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn-primary:hover { box-shadow: 0 12px 32px rgb(176 38 255 / .5), inset 0 1px 0 rgb(255 255 255 / .25); color: #fff; }
.btn-gold { background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold-2)); color: #2a1600; box-shadow: 0 8px 26px rgb(255 200 61 / .3), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn-gold:hover { color: #2a1600; box-shadow: 0 12px 34px rgb(255 200 61 / .45), inset 0 1px 0 rgb(255 255 255 / .5); filter: brightness(1.04); }
.btn-ghost { background: rgb(255 255 255 / .04); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--violet); background: rgb(255 255 255 / .07); }
.btn-tier { background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 85%, #fff), var(--tier)); color: var(--tier-ink); box-shadow: 0 8px 26px color-mix(in srgb, var(--tier) 35%, transparent); }
.btn-tier:hover { color: var(--tier-ink); filter: brightness(1.06); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; }
.btn-ip code { font-weight: 700; font-family: var(--body); opacity: .95; }
.btn-sep { width: 1px; align-self: stretch; margin: 12px 2px; background: rgb(255 255 255 / .35); }
.btn-primary::after, .btn-gold::after, .btn-tier::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-130%); transition: transform .6s; }
.btn:hover::after { transform: translateX(130%); }
.btn[disabled]::after { display: none; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 6px 6px 12px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: .92rem; cursor: pointer; vertical-align: middle;
}
.chip:hover { border-color: var(--purple); }
.chip-label { color: var(--muted); font-size: .8rem; }
.chip code { font-weight: 700; overflow-wrap: anywhere; }
.chip-act { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--panel-3); color: var(--violet); padding: 4px 10px; border-radius: 999px; }
.chip.copied .chip-act { color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--panel-2); border: 1px solid var(--line-2); }
.tag { display: inline-flex; font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.tag-green { color: var(--green); background: rgb(74 222 128 / .12); }
.tag-gold { color: var(--gold); background: rgb(255 200 61 / .12); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgb(74 222 128 / .2); flex: none; animation: pulse 2.4s infinite; }
.dot-off { background: var(--red); box-shadow: 0 0 0 3px rgb(248 113 113 / .2); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgb(74 222 128 / 0); } }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgb(6 4 11 / .7);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); background: rgb(6 4 11 / .9); }
.top-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { filter: drop-shadow(0 0 10px rgb(176 38 255 / .5)); }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-size: .62rem; letter-spacing: .3em; color: var(--cyan); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgb(255 255 255 / .05); }
.nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--purple); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font: 700 .88rem var(--body);
}
.live-pill:hover { border-color: var(--green); color: var(--text); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--purple); color: var(--text); }
.menu-btn { display: none; }

/* ---------- sky (hero backgrounds) ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sky .glow {
  position: absolute; inset: -20% -10% 0;
  background:
    radial-gradient(45% 55% at 50% 30%, rgb(176 38 255 / .36), transparent 70%),
    radial-gradient(30% 35% at 18% 65%, rgb(88 240 255 / .12), transparent 70%),
    radial-gradient(30% 40% at 85% 40%, rgb(122 31 214 / .32), transparent 70%);
}
.sky .stars {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 140px 90px, #e6ccff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 260px 160px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90px 210px, #b8f6ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 210px 40px, #fff 50%, transparent 51%);
  background-size: 300px 260px;
  opacity: .5;
  animation: drift 120s linear infinite;
}
.sky .stars.s2 { background-size: 420px 380px; opacity: .3; animation-duration: 200s; animation-direction: reverse; }
@keyframes drift { to { transform: translate(300px, 260px); } }
.sky::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- home hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(90px, 11vw, 140px); isolation: isolate; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero .sky { z-index: -2; }
.hero-dragon {
  position: absolute; z-index: -1; right: max(-120px, calc(50% - 860px)); top: 54%; width: min(560px, 42vw);
  transform: translate(var(--px, 0px), calc(-50% + var(--py, 0px))); opacity: .5; pointer-events: none;
  filter: drop-shadow(0 0 70px rgb(176 38 255 / .55)) saturate(1.1);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.hero-dragon img { width: 100%; height: auto; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px;
  font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: var(--text);
  background: rgb(17 11 30 / .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
}
.hero-badge i { width: 4px; height: 4px; background: var(--dim); border-radius: 50%; }
.wordmark { width: min(680px, 100%); height: auto; filter: drop-shadow(0 10px 40px rgb(176 38 255 / .45)); animation: float 6s ease-in-out infinite; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 600px; margin: 20px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }
.hero-actions.left { justify-content: flex-start; margin-bottom: 0; }
.devices { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.devices li { display: inline-flex; align-items: center; gap: 6px; }
.devices .icon { color: var(--dim); }
.status-line { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: .95rem; }
.status-item { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- live band ---------- */
.live { position: relative; z-index: 2; display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 14px; margin-top: -64px; }
.live-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: var(--radius); color: var(--text);
  background: rgb(17 11 30 / .88); backdrop-filter: blur(12px); border: 1px solid var(--line-2);
  transition: border-color .15s, transform .15s;
}
.live-link:hover { border-color: var(--purple); transform: translateY(-2px); color: var(--text); }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: .85rem; }
.live-label .icon { color: var(--violet); }
.pill-live { padding: 3px 10px; font-size: .8rem; }
.live-main { display: flex; align-items: center; gap: 18px; }
.live-number { font-family: var(--display); font-size: 3.2rem; line-height: 1; background: linear-gradient(180deg, #fff, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2ch; }
.live-chart { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spark { width: 100%; height: 52px; display: block; }
.live-peak { font-size: .8rem; color: var(--dim); }
.live-peak b { color: var(--cyan); }
.heads-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.heads-row a { display: block; }
.heads-row .more { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--panel-3); font-size: .75rem; font-weight: 800; color: var(--muted); }
.live-person { display: flex; align-items: center; gap: 12px; flex: 1; }
.live-person strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.live-person .muted { display: block; font-size: .88rem; }
.live-more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--violet); margin-top: auto; }
.live-store { background: linear-gradient(180deg, rgb(255 200 61 / .1), rgb(17 11 30 / .9)); }
.live-store .live-label .icon { color: var(--gold); }
.live-store .live-more { color: var(--gold); }
.head { image-rendering: pixelated; border-radius: 6px; background: var(--panel-3); flex: none; }
.head-md { width: 48px; height: 48px; border-radius: 10px; }
.head-lg { width: 64px; height: 64px; border-radius: 12px; }
.head-xl { width: 112px; height: 112px; border-radius: 20px; box-shadow: 0 20px 50px rgb(0 0 0 / .5), 0 0 0 3px var(--line-2); }

@keyframes ticker { to { transform: translateX(-50%); } }  /* still used by the store's recent purchases */

/* ---------- sections & cards ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-text { margin: 12px 0 0; max-width: 620px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: start; }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel), rgb(11 7 20 / .9));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.empty { color: var(--muted); padding: 16px 0; margin: 0; }

/* features */
.features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.feature { --accent: var(--purple); transition: border-color .15s, transform .15s, box-shadow .15s; overflow: hidden; }
.feature-1 { --accent: #ff5577; } .feature-2 { --accent: #fbbf24; } .feature-3 { --accent: #b026ff; }
.feature-4 { --accent: #58f0ff; } .feature-5 { --accent: #4ade80; } .feature-6 { --accent: #7c8cff; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0; transition: opacity .2s; }
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 12%, transparent); }
.feature:hover::before { opacity: 1; }
.feature p { color: var(--muted); margin: 0; position: relative; }
.feature h3 { position: relative; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; background: linear-gradient(135deg, rgb(176 38 255 / .25), rgb(88 240 255 / .12)); color: var(--cyan); border: 1px solid var(--line-2); flex: none; }
.feature-icon .icon { width: 22px; height: 22px; }
.feature .feature-icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.feature-bg { position: absolute; right: -18px; bottom: -18px; width: 130px; height: 130px; color: var(--accent); opacity: .07; transform: rotate(-12deg); transition: opacity .2s, transform .3s; pointer-events: none; }
.feature:hover .feature-bg { opacity: .14; transform: rotate(-4deg) scale(1.05); }

/* ---------- leaderboards ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); flex-wrap: wrap; }
.tab { border: 0; background: none; color: var(--muted); font: 600 .9rem var(--body); padding: 8px 16px; border-radius: 10px; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: linear-gradient(180deg, #c252ff, var(--purple-2)); color: #fff; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; max-width: 760px; margin: 0 auto 18px; }
.podium-spot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; color: var(--text); }
.podium-spot:hover { color: var(--text); }
.podium-spot:hover .head { transform: translateY(-3px); }
.podium-spot .head { transition: transform .15s; }
.podium-name { font-size: 1rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-value { color: var(--muted); font-size: .9rem; }
.podium-step {
  width: 100%; margin-top: 10px; border-radius: 14px 14px 0 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 2.6rem; color: rgb(255 255 255 / .85);
  background: linear-gradient(180deg, var(--panel-3), var(--panel)); border: 1px solid var(--line-2); border-bottom: 0;
}
.place-1 .podium-step { height: 150px; background: linear-gradient(180deg, rgb(176 38 255 / .5), var(--panel)); color: var(--cyan); box-shadow: 0 0 40px rgb(176 38 255 / .25); }
.place-2 .podium-step { height: 112px; }
.place-3 .podium-step { height: 86px; }
.place-1 .head { box-shadow: 0 0 0 3px var(--gold), 0 0 24px rgb(255 200 61 / .4); }
.place-2 .head { box-shadow: 0 0 0 3px #cbd5e1; }
.place-3 .head { box-shadow: 0 0 0 3px #d08a4f; }
.crown { color: var(--gold); margin-bottom: -6px; filter: drop-shadow(0 0 10px rgb(255 200 61 / .6)); animation: float 3s ease-in-out infinite; }
.crown .icon { width: 30px; height: 30px; }
.board-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 8px; }
.board-list li a { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: border-color .15s, background-color .15s; }
.board-list li a:hover { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
.board-list .rank { font-family: var(--display); color: var(--dim); width: 24px; font-size: 1.1rem; text-align: center; }
.board-list .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.board-list .val { margin-left: auto; color: var(--cyan); font-weight: 700; white-space: nowrap; }
.board-list.compact { gap: 4px; }
.board-list.compact li a { padding: 7px 12px; background: transparent; border-color: transparent; gap: 10px; font-size: .94rem; }
.board-list.compact li a:hover { background: var(--panel-2); }
.board-list .top-1 .rank { color: var(--gold); } .board-list .top-2 .rank { color: #cbd5e1; } .board-list .top-3 .rank { color: #d08a4f; }
.boards-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); max-width: 520px; flex: 1; }
.search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgb(176 38 255 / .25); }
.search-icon { color: var(--dim); }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: 600 1rem var(--body); outline: none; }
.search input::placeholder { color: var(--dim); }
.search-hero { max-width: 460px; width: 100%; }
.search-center { margin: 24px auto 0; }
.boards-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: start; }
.board-card { padding: 20px; }
.board-title { font-size: 1.4rem; }
.page-hero-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- tier ladder (home) ---------- */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.rung {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 12px 0; overflow: hidden;
  border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 10%, var(--panel)), var(--panel)); border: 1px solid var(--line); color: var(--text);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.rung:hover { transform: translateY(-4px); border-color: var(--tier); color: var(--text); box-shadow: 0 20px 50px color-mix(in srgb, var(--tier) 18%, transparent); }
.rung img { width: 120px; height: 120px; border-radius: 16px; border: 1px solid var(--line-2); }
.rung-name { font-family: var(--display); font-size: 1.5rem; color: var(--tier); margin-top: 6px; }
.rung-price { font-family: var(--display); font-size: 1.3rem; }
.rung-price small { color: var(--muted); font-size: .85rem; }
.rung-perk { color: var(--muted); font-size: .82rem; }
.rung-bar { width: 100%; margin-top: 14px; background: linear-gradient(180deg, var(--tier), color-mix(in srgb, var(--tier) 30%, transparent)); opacity: .7; }
.rung:nth-child(1) .rung-bar { height: 10px; } .rung:nth-child(2) .rung-bar { height: 18px; } .rung:nth-child(3) .rung-bar { height: 26px; }
.rung:nth-child(4) .rung-bar { height: 34px; } .rung:nth-child(5) .rung-bar { height: 42px; }
.rung-pick { border-color: var(--gold); box-shadow: 0 0 0 1px rgb(255 200 61 / .4), 0 18px 50px rgb(255 200 61 / .1); }
.rung-tag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #ffe08a, var(--gold)); color: #2a1600; font-family: var(--display); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 10px; border-radius: 6px; }
.rung-pick { padding-top: 34px; }

/* ---------- join & FAQ ---------- */
.join-mini p { margin-bottom: 14px; }
.join-mini h3 { font-size: 1.6rem; }
.join-card h2 { font-size: 1.5rem; margin: 0; }
.join-title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.join-title .feature-icon { margin: 0; }
.steps { margin: 0 0 12px; padding-left: 1.4em; display: grid; gap: 12px; }
.steps li::marker { color: var(--violet); font-family: var(--display); font-weight: 700; }
.banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(90deg, rgb(88 101 242 / .18), var(--panel)); border: 1px solid var(--line-2); }
.banner p { margin: 0; flex: 1; min-width: 220px; }
.banner .feature-icon { margin: 0; color: #a5b4fc; }
.faq-wrap h3 { font-size: 1.6rem; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--violet); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(56px, 8vw, 90px) 0; background: radial-gradient(60% 100% at 50% 100%, rgb(176 38 255 / .28), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; max-width: 620px; }
.cta-inner .hero-actions { margin: 0; }

/* ---------- page heroes ---------- */
.page-hero { position: relative; padding: clamp(48px, 8vw, 84px) 0 clamp(36px, 6vw, 56px); isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .sky { z-index: -1; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero.tall { padding: clamp(80px, 12vw, 140px) 0; border-bottom: 0; }
.page-hero.tall .hero-actions { justify-content: center; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: left; }
.how strong { display: block; }
.how small { color: var(--muted); }
.how-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; font-family: var(--display); font-size: 1.3rem; background: linear-gradient(180deg, #c252ff, var(--purple-2)); color: #fff; }
.how-vertical { grid-template-columns: 1fr; max-width: 520px; margin: 28px auto 0; }

/* ---------- profile ---------- */
.profile-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.profile-id { flex: 1; min-width: 240px; }
.profile-id h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .2em; overflow-wrap: anywhere; }
.profile-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; color: var(--muted); }
.chat-preview.inline { display: inline-flex; padding: 6px 12px; font-size: 1rem; }
.seen { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.seen-on { color: var(--green); }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rank-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.rank-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: .9rem; }
.rank-badge .icon { color: var(--violet); }
.rank-best { border-color: var(--gold); background: rgb(255 200 61 / .1); }
.rank-best .icon { color: var(--gold); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { position: relative; padding: 18px 18px 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.tile strong { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; background: linear-gradient(180deg, #fff, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile span:last-child { color: var(--muted); font-size: .85rem; }
.tile-icon { position: absolute; right: 12px; top: 12px; color: var(--purple); opacity: .5; }
.tile-icon .icon { width: 22px; height: 22px; }
.profile-grid { align-items: stretch; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.profile-store { background: linear-gradient(180deg, rgb(255 200 61 / .08), var(--panel)); display: flex; flex-direction: column; }
.profile-store .btn { align-self: flex-start; margin-top: auto; }

/* ---------- store hero & proof ---------- */
.store-hero { overflow: hidden; }
.store-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.store-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero-checks { list-style: none; margin: 18px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text); font-weight: 600; font-size: .95rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--green); }
.notice { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgb(255 200 61 / .1); border: 1px solid rgb(255 200 61 / .35); color: var(--gold); font-weight: 600; }
.showcase { position: relative; height: 360px; transform: translate(var(--px, 0px), var(--py, 0px)); }
.show { position: absolute; width: 220px; height: 220px; border-radius: 22px; object-fit: cover; border: 2px solid rgb(255 255 255 / .12); background: #07040c; box-shadow: 0 24px 60px rgb(0 0 0 / .55), 0 0 60px color-mix(in srgb, var(--tier, var(--purple)) 30%, transparent); }
.show-1 { left: 0; top: 90px; transform: rotate(-9deg); animation: bob1 7s ease-in-out infinite; }
.show-2 { left: 50%; margin-left: -125px; top: 0; z-index: 2; width: 250px; height: 250px; transform: rotate(3deg); animation: bob2 6s ease-in-out infinite; }
.show-3 { right: 0; top: 114px; transform: rotate(10deg); animation: bob3 8s ease-in-out infinite; }
@keyframes bob1 { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(-7deg) translateY(-10px); } }
@keyframes bob2 { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(1deg) translateY(-14px); } }
@keyframes bob3 { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(12deg) translateY(-8px); } }

.proof { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.proof-facts { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted); font-size: .92rem; }
.proof-facts li { display: inline-flex; align-items: center; gap: 8px; }
.proof-facts .icon { color: var(--gold); }
.proof-facts b { color: var(--text); }
.recent { overflow: hidden; border-top: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.recent-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.recent:hover .recent-track { animation-play-state: paused; }
.recent-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; white-space: nowrap; font-size: .88rem; color: var(--muted); }
.recent-item b { color: var(--text); }
.recent-item i { font-style: normal; color: var(--dim); }
.recent-item .head { width: 22px; height: 22px; border-radius: 5px; }

/* ---------- my perks lookup ---------- */
.lookup { margin-top: 28px; display: grid; gap: 12px; }
.lookup-form { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(90deg, rgb(176 38 255 / .14), var(--panel)); border: 1px solid var(--line-2); }
.lookup-text { display: flex; flex-direction: column; gap: 2px; min-width: 240px; flex: 1; }
.lookup-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup-fields input { min-width: 240px; padding: 0 14px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 600 1rem var(--body); }
.lookup-fields input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(176 38 255 / .3); }
.lookup-result { padding: 18px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lookup-result .head { width: 56px; height: 56px; border-radius: 12px; }
.lookup-result .lookup-body { flex: 1; min-width: 240px; }
.lookup-result h3 { margin: 0 0 4px; font-size: 1.3rem; }
.lookup-result p { margin: 0; color: var(--muted); }
.lookup-result .btn { flex: none; }
.lookup-result.is-error { border-color: rgb(248 113 113 / .5); }

/* ---------- category bar ---------- */
.cat-bar { position: sticky; top: 72px; z-index: 20; margin-top: 28px; padding: 10px 0; background: rgb(6 4 11 / .85); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.cat-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-inner::-webkit-scrollbar { display: none; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); white-space: nowrap; }
.chip-link:hover, .chip-link.active { color: #fff; border-color: var(--purple); background: var(--panel-3); }

/* ---------- bundle plans ---------- */
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: stretch; }
.plan {
  --tier: var(--purple); --tier-ink: #fff;
  position: relative; display: flex; flex-direction: column; flex: 0 1 calc((100% - 72px) / 5); min-width: min(100%, 222px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 14%, var(--panel)) 0%, var(--panel) 40%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-top: 3px solid var(--tier); border-radius: var(--radius);
  transition: transform .2s ease-out, box-shadow .2s, border-color .2s;
}
.plan:hover { border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier), 0 28px 70px color-mix(in srgb, var(--tier) 22%, transparent); }
.plan-hot { border-color: var(--gold); box-shadow: 0 0 0 1px rgb(255 200 61 / .45), 0 26px 70px rgb(255 200 61 / .14); z-index: 1; }
.plan-hot:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 30px 80px rgb(255 200 61 / .22); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 4; white-space: nowrap;
  background: linear-gradient(180deg, #ffe08a, var(--gold)); color: #2a1600;
  font-family: var(--display); font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgb(255 200 61 / .3);
}
.ribbon-sm { font-size: .78rem; padding: 2px 10px; }
.plan-art { position: relative; height: 210px; overflow: hidden; border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; background: #07040c; }
.plan-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.plan:hover .plan-art img { transform: scale(1.06); }
.plan-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, color-mix(in srgb, var(--tier) 12%, var(--panel))); pointer-events: none; }
.shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .22) 50%, transparent 65%); transform: translateX(-130%); }
.plan:hover .shine, .pack:hover .shine { transform: translateX(130%); transition: transform .9s ease; }
.plan-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 20px; flex: 1; }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 8px; flex-wrap: wrap; }
.tier-name { color: var(--tier); font-size: 1.75rem; margin: 0; }
.tier-rank { font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tier); opacity: .75; white-space: nowrap; }
.plan-tag { margin: -8px 0 0; color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.price-row { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); flex-wrap: wrap; }
.price-big { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.price-unit { color: var(--muted); font-size: 1rem; }
.price-was { color: var(--dim); font-size: 1.1rem; }
.price-soon { font-size: 1.5rem; color: var(--muted); }
.price-day { margin: -8px 0 0; color: var(--muted); font-size: .85rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.perks li { display: flex; gap: 9px; align-items: flex-start; }
.perks .icon { color: var(--green); margin-top: 4px; }
.perks strong { color: var(--text); }
.haul { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--tier) 10%, transparent); border: 1px solid color-mix(in srgb, var(--tier) 28%, transparent); font-size: .88rem; }
.haul-label { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--tier); }
.haul-items { color: var(--muted); }
.haul-items b { color: var(--text); font-size: 1rem; }
.haul-items i { font-style: normal; color: var(--dim); padding: 0 4px; }
.haul-worth { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.haul-worth b { color: var(--gold); }
.chat-preview {
  font-family: var(--display); font-size: 1.05rem; padding: 10px 14px; border-radius: 8px;
  background: rgb(0 0 0 / .45); border: 1px solid rgb(255 255 255 / .06);
  text-shadow: 2px 2px 0 rgb(0 0 0 / .55); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.plan .btn-block { margin-top: auto; }
.disclose { margin: 0; color: var(--dim); font-size: .76rem; line-height: 1.45; }

/* compare */
.compare { margin-top: 40px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); padding: 22px; }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.compare-head h3, .compare-head p { margin: 0; }
.compare-scroll { overflow-x: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { text-align: left; color: var(--muted); font-weight: 600; }
.compare thead th { vertical-align: bottom; }
.compare thead img { width: 56px; height: 56px; border-radius: 12px; margin: 0 auto 6px; border: 1px solid var(--line-2); }
.compare thead .tier-name { font-size: 1.15rem; color: var(--tier); }
.compare td { font-weight: 700; }
.compare td small { color: var(--muted); font-weight: 600; }
.compare .col-hot { background: rgb(255 200 61 / .06); }
.compare thead .col-hot { border-top: 2px solid var(--gold); border-radius: 10px 10px 0 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: rgb(255 255 255 / .025); }
.compare tbody tr:hover td.col-hot { background: rgb(255 200 61 / .1); }
.compare-cta td { padding-top: 16px; }

/* picker */
.picker { margin-top: 40px; }
.picker-title { text-align: center; margin-bottom: 18px; }
.picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pick { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pick:nth-child(2) { border-color: rgb(255 200 61 / .4); background: linear-gradient(180deg, rgb(255 200 61 / .08), var(--panel)); }
.pick-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(176 38 255 / .15); color: var(--violet); }
.pick:nth-child(2) .pick-icon { background: rgb(255 200 61 / .15); color: var(--gold); }
.pick strong { font-family: var(--display); font-size: 1.25rem; }
.pick p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.pick-go { font-weight: 800; font-size: .95rem; }
.pick-go a { font-weight: 800; }

/* ---------- token packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pack {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: visible;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  transition: transform .2s ease-out, box-shadow .2s, border-color .2s;
}
.pack:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pack-ribbon { border-color: rgb(255 200 61 / .55); box-shadow: 0 0 0 1px rgb(255 200 61 / .35), 0 18px 50px rgb(255 200 61 / .1); }
.pack-art { position: relative; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; aspect-ratio: 16 / 10; background: #07040c; }
.pack-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pack:hover .pack-art img { transform: scale(1.06); }
.pack-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.pack-body h3 { margin: 0; font-size: 1.4rem; }
.pack .tokens { margin: -4px 0 0; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pack .tokens strong { color: var(--gold); font-size: 1.35rem; font-family: var(--display); }
.coin { display: inline-block; width: 14px; height: 14px; background: radial-gradient(circle at 35% 35%, #fff3b0, #ffc83d 45%, #b45309); border-radius: 50%; box-shadow: 0 0 10px rgb(255 200 61 / .6); }
.pack-tags { display: flex; gap: 6px; min-height: 22px; flex-wrap: wrap; }
.pack .price-big { font-size: 2.1rem; }
.unit { margin: -8px 0 0; color: var(--muted); font-size: .85rem; }
.meter { height: 6px; border-radius: 999px; background: rgb(255 255 255 / .06); overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; }
.w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-75 { width: 75%; }
.w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }
.pack .btn-block { margin-top: auto; }
.tokens-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.tokens-note .feature-icon { margin: 0; color: var(--gold); background: rgb(255 200 61 / .12); border-color: rgb(255 200 61 / .3); }
.tokens-note p { margin: 4px 0 0; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.promise { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.promise strong { font-family: var(--display); font-size: 1.15rem; }
.promise p { margin: 0; color: var(--muted); font-size: .9rem; }
.promise-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgb(74 222 128 / .12); color: var(--green); margin-bottom: 6px; }

/* pixel corners on the product cards */
.plan::after, .pack::after, .live-card::after, .tile::after {
  content: ""; position: absolute; inset: 6px; pointer-events: none; opacity: .5; z-index: 3;
  background:
    linear-gradient(var(--corner, var(--violet)) 0 0) top left / 5px 5px no-repeat,
    linear-gradient(var(--corner, var(--violet)) 0 0) top right / 5px 5px no-repeat,
    linear-gradient(var(--corner, var(--violet)) 0 0) bottom left / 5px 5px no-repeat,
    linear-gradient(var(--corner, var(--violet)) 0 0) bottom right / 5px 5px no-repeat;
}
.plan { --corner: var(--tier); }
.plan-hot, .pack-ribbon { --corner: var(--gold); }

/* ---------- checkout dialog ---------- */
.modal { border: 1px solid var(--line-2); border-radius: 22px; padding: 0; background: var(--panel); color: var(--text); width: min(500px, 100% - 32px); box-shadow: var(--shadow), 0 0 90px rgb(176 38 255 / .2); }
.modal::backdrop { background: rgb(4 2 8 / .78); backdrop-filter: blur(5px); }
.modal-body { padding: 26px; display: grid; gap: 10px; position: relative; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.modal-x:hover { color: var(--text); border-color: var(--violet); }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; padding-right: 40px; }
.modal-head h2 { margin: 0; font-size: 1.7rem; line-height: 1.1; }
.modal-kind { margin: 0 0 2px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--cyan); }
.modal-thumb { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line-2); flex: none; }
.gets { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 6px; border-radius: 12px; background: rgb(0 0 0 / .3); border: 1px solid var(--line); font-size: .92rem; }
.gets li { display: flex; gap: 8px; align-items: flex-start; }
.gets li::before { content: "✓"; color: var(--green); font-weight: 800; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.qty button:hover { background: var(--panel-3); }
.qty output { min-width: 40px; text-align: center; font-weight: 800; font-family: var(--display); font-size: 1.2rem; }
.modal label { font-weight: 700; margin-top: 6px; }
.modal input {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 600 1rem var(--body);
}
.modal input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(176 38 255 / .3); }
.modal p { margin: 0; }
.hint, .fine { color: var(--muted); font-size: .84rem; }
.fine { color: var(--dim); line-height: 1.45; }
.coupon summary { cursor: pointer; list-style: none; color: var(--violet); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon input { margin-top: 8px; text-transform: uppercase; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; font-weight: 600; }
.total strong { font-family: var(--display); font-size: 1.8rem; }
.renew { color: var(--muted); font-size: .84rem; }
.error { color: #fca5a5; font-weight: 600; font-size: .92rem; }
.gift-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgb(255 200 61 / .1); border: 1px solid rgb(255 200 61 / .3); color: var(--gold); font-size: .88rem; font-weight: 600; }

.prose { color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.terms h3 { color: var(--text); margin-top: 1.4em; font-size: 1.2rem; }
.terms h3:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 24px; color: var(--muted); font-size: .92rem; margin-top: auto; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
.foot h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 12px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { margin: 12px 0 14px; max-width: 320px; }
.foot-note { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--dim); display: grid; gap: 6px; }
.foot-note p { margin: 0; }
.foot-note a { color: var(--muted); }

/* ---------- motion ---------- */
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal.in { transition: opacity .7s ease, transform .7s ease; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt].reveal.in { transition: opacity .7s ease, transform .2s ease-out, box-shadow .2s, border-color .2s; }
.plan:hover, .pack:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }

/* ---------- responsive ---------- */
@media (min-width: 1200px) {
  .plan-hot { transform: translateY(-12px) scale(1.03); }
  .plan-hot:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-16px) scale(1.03); }
}
@media (max-width: 1199px) {
  .plan { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 1020px) {
  .live { grid-template-columns: 1fr 1fr; }
  .live-card:first-child { grid-column: 1 / -1; }
  .store-hero-grid { grid-template-columns: 1fr; }
  .showcase { height: 260px; max-width: 480px; width: 100%; margin: 0 auto; }
  .show { width: 160px; height: 160px; }
  .show-2 { width: 185px; height: 185px; margin-left: -92px; }
  .hero-dragon { right: 50%; transform: translate(50%, -50%); width: 560px; opacity: .14; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px;
    padding: 10px 16px 16px; background: rgb(6 4 11 / .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .top-inner { position: relative; }
  .brand { margin-right: auto; }
  .how { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .plan { flex-basis: calc((100% - 18px) / 2); }
  .cat-bar { top: 72px; }
}
@media (max-width: 600px) {
  .live { grid-template-columns: 1fr; margin-top: -40px; }
  .live-pill { display: none; }
  .top-store span { display: none; }
  .top-store { width: 40px; padding: 0; }
  .brand-text { font-size: 1.1rem; }
  .plan { flex-basis: 100%; }
  .packs { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rung:last-child { grid-column: 1 / -1; }
  .promises { grid-template-columns: 1fr; }
  .podium { gap: 8px; }
  .podium-step { font-size: 2rem; }
  .place-1 .podium-step { height: 120px; }
  .place-2 .podium-step { height: 92px; }
  .place-3 .podium-step { height: 70px; }
  .head-lg { width: 52px; height: 52px; }
  .head-xl { width: 88px; height: 88px; }
  .btn-ip code { font-size: .9rem; }
  .card { padding: 20px; }
  .hero-actions .btn-lg { flex: 1 1 100%; }
  .lookup-fields, .lookup-fields input { width: 100%; }
  .lookup-fields .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- staff applications ---------- */
.apply-form { display: grid; gap: 20px; }
.apply-card { display: grid; gap: 18px; }
.apply-card h2 { margin: 0; font-size: 1.5rem; }
.apply-card > p { margin: -8px 0 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; line-height: 1.4; }
.field .hint { margin: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 500 1rem/1.5 var(--body);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(176 38 255 / .3); }
.apply-form > .hint, .apply-form > .error { margin: 0; }
.apply-form > .btn { justify-self: start; }
.apply-done { display: grid; gap: 12px; justify-items: start; }
.apply-done h2 { margin: 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Numbers in the clean body font, bold and evenly spaced (2026-11-11: the pixel font made
   counts, prices and ranks hard to read). Headings and labels keep the pixel font. */
:root { --num: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.live-number, .podium-step, .board-list .rank, .rung-price, .steps li::marker, .how-n,
.tile strong, .price-row, .pick strong, .pack .tokens strong, .qty output, .total strong {
  font-family: var(--num);
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.01em;
}
.board-list .val, .podium-value { font-variant-numeric: tabular-nums lining-nums; }
