/* PVE — a dark raid HUD. Space Grotesk / JetBrains Mono, raid red and loot gold. */
:root {
  --bg: #08080c; --bg2: #121219; --card: #0f0f15; --ink: #ededf2; --ink2: #b9b9c6; --dim: #7c7c8c; --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .13);
  --accent: #ff4d2e; --accent2: #ffb020; --accentbg: rgba(255, 77, 46, .12); --good: #3ee58f; --goodbg: rgba(62, 229, 143, .12); --bad: #ff6b6b;
  --r: 18px; --r2: 12px; --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -30px rgba(0, 0, 0, .9);
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --serif: 'Space Grotesk', sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
em { font-style: normal; color: var(--accent); }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.dim { color: var(--dim); }
.hidden { display: none !important; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.wrap.wide { width: min(1320px, 100% - 40px); }
.wrap.narrow { width: min(780px, 100% - 40px); }
::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------ top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; height: 68px; padding: 0 24px; transition: background .35s, box-shadow .35s, height .35s; }
.top.scrolled { background: rgba(8, 8, 12, .72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.brand .logo { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: 99px; font-size: 14.5px; color: var(--ink2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.nav a.on { background: var(--accentbg); color: var(--accent); }
.act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ib { width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); display: grid; place-items: center; transition: transform .2s; }
.ib:hover { transform: translateY(-1px); }
.ib svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ib.x svg { fill: currentColor; stroke: none; width: 14px; }
.ca { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 5px 0 13px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: 12.5px; }
.ca .k { font-family: var(--mono); color: var(--dim); }
.ca .v { font-family: var(--mono); }
.ca .cp { border: 0; background: var(--bg2); border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.burger { display: none; }
.walmenu { position: absolute; right: 24px; top: 62px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; display: none; min-width: 190px; }
.walmenu.on { display: grid; }
.walmenu a, .walmenu button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font-size: 14px; }
.walmenu a:hover, .walmenu button:hover { background: var(--bg2); }
.dot { width: 7px; height: 7px; border-radius: 9px; background: var(--good); box-shadow: 0 0 0 3px var(--goodbg); display: inline-block; margin-right: 8px; }

/* ------------------------------------------------------------ buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .2s; }
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pill.solid { background: var(--ink); color: #08080c; border-color: var(--ink); }
.pill.blue { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255, 77, 46, .4), 0 10px 34px -10px rgba(255, 77, 46, .8); }
.pill.lg { height: 54px; padding: 0 26px; font-size: 16px; }
.pill:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.pill .arr { transition: transform .3s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.chip { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: 13.5px; font-weight: 500; }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg2); border-radius: 99px; }
.tabs button { border: 0; background: none; height: 36px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--dim); }
.tabs button.on { background: #1d1d27; color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }

/* ------------------------------------------------------------ type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink2); }
.eyebrow b { background: var(--accent); color: #fff; border-radius: 99px; padding: 2px 8px; font-size: 11px; letter-spacing: .04em; }
.h-hero { font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -.045em; font-weight: 700; text-transform: uppercase; margin: 22px 0 0; }
.h-hero em { color: var(--accent); font-size: 1.04em; }
.h-sec { font-size: clamp(34px, 4.4vw, 60px); line-height: .98; letter-spacing: -.04em; font-weight: 700; text-transform: uppercase; margin: 0; }
.h-sec em { color: var(--accent); }
.h-page { font-size: clamp(40px, 5.6vw, 76px); line-height: .96; letter-spacing: -.045em; font-weight: 700; text-transform: uppercase; margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink2); max-width: 560px; }
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* words rising one after the other */
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rise .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.rise.go .w > span { transform: none; }
.fade-in { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 26px; }
.card.dark { background: linear-gradient(160deg, #1a0d0b, #0f0f15 60%); color: var(--ink); border-color: rgba(255, 77, 46, .25); }
.card.dark .dim, .card.dark .label { color: rgba(255, 255, 255, .55); }
.glow { position: relative; overflow: hidden; }
.glow::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 77, 46, .1), transparent 60%); border-radius: inherit; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv > div:last-child { border-bottom: 0; }
.kv > div > span:first-child { color: var(--dim); }
.card.dark .kv > div { border-color: rgba(255, 255, 255, .1); }
.stat .v { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.stat .k { color: var(--dim); font-size: 13.5px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--bg2); color: var(--ink2); white-space: nowrap; }
.badge.blue { background: var(--accentbg); color: var(--accent); }
.badge.good { background: var(--goodbg); color: var(--good); }
.av { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #2a1410, #16161f); flex: none; display: block; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.lg { width: 64px; height: 64px; border-radius: 18px; }
.av.xl { width: 96px; height: 96px; border-radius: 26px; }
.ring .bg { stroke: var(--line2); }
.ring .fg { stroke: var(--accent); transition: stroke-dashoffset .6s var(--ease); }
.card.dark .ring .bg { stroke: rgba(255, 255, 255, .12); }

/* ------------------------------------------------------------ hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 110px 0 60px; }
.hero .ctas { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.hero .mini { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero .mini .v { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.hero .mini .k { font-size: 13px; color: var(--dim); }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: end; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .halo { fill: url(#halo); }
.orbit .track { fill: none; stroke: var(--line2); stroke-dasharray: 2 7; }
.orbit .spoke { stroke: rgba(46, 91, 255, .28); stroke-width: 1.4; }
.orbit .node circle.b { fill: #fff; stroke: var(--line2); }
.orbit .node text { font: 600 12px var(--sans); fill: var(--ink); text-anchor: middle; }
.orbit .node text.s { font: 500 10px var(--mono); fill: var(--dim); }
.orbit .root circle.b { fill: var(--ink); }
.orbit .root text { fill: #fff; font: 600 20px var(--sans); letter-spacing: -.02em; }
.orbit .root text.s { fill: rgba(255, 255, 255, .6); font: 500 11px var(--mono); }
.orbit .pkt { fill: var(--accent); }
.orbit .fee { fill: var(--good); }
.orbit .tag { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 13px; }
.orbit .tag b { display: block; font-size: 20px; letter-spacing: -.03em; }

/* ------------------------------------------------------------ the pinned story */
.story { position: relative; }
.story .stage { height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.story .ssteps { position: relative; min-height: 330px; }
.story .st { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.story .st.on { opacity: 1; transform: none; pointer-events: auto; }
.story .st .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.story .st h3 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1; letter-spacing: -.045em; font-weight: 600; margin: 14px 0 18px; }
.story .st p { font-size: 18px; color: var(--ink2); max-width: 440px; margin: 0; }
.story .prog { display: flex; gap: 6px; margin-top: 26px; }
.story .prog i { width: 26px; height: 4px; border-radius: 4px; background: var(--line2); transition: background .4s, width .4s; }
.story .prog i.on { background: var(--accent); width: 46px; }
.board { position: relative; aspect-ratio: 1.08; border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(13, 13, 16, .35); overflow: hidden; }
.board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.board .grid line { stroke: var(--line); }
.board .px { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.board .area { fill: url(#area); }
.board .hud { position: absolute; left: 22px; top: 20px; right: 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.board .hud .pr { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.board .hud .chg { color: var(--good); font-weight: 600; font-size: 14px; }
.board .lockbar { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.board .lockbar .t { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.board .lockbar .bar { height: 10px; border-radius: 10px; background: var(--bg2); overflow: hidden; }
.board .lockbar .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 10px; }
.board .chips { position: absolute; right: 22px; top: 86px; display: grid; gap: 8px; justify-items: end; }
.board .chips span { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(30px) scale(.9); transition: all .6s var(--ease); }
.board .chips span.on { opacity: 1; transform: none; }
.board .chips span i { width: 22px; height: 22px; border-radius: 99px; background: var(--accentbg); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--accent); }
.board .flow { position: absolute; left: 22px; bottom: 74px; display: flex; gap: 8px; align-items: center; font-size: 13px; opacity: 0; transition: opacity .5s; }
.board .flow.on { opacity: 1; }
.board .flow b { color: var(--good); }

/* ------------------------------------------------------------ sections */
.sec { padding: clamp(90px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 46px; }
.sec-head p { margin: 0; color: var(--ink2); font-size: 17px; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.formula .op { align-self: center; font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--dim); }
.formula .card { padding: 26px; }
.formula .card .big { font-size: 42px; font-weight: 600; letter-spacing: -.04em; margin: 18px 0 6px; }
.formula .card p { margin: 0; color: var(--dim); font-size: 14.5px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .card { padding: 34px; min-height: 330px; display: flex; flex-direction: column; }
.duo h3 { font-size: 34px; letter-spacing: -.04em; line-height: 1.02; margin: 16px 0 14px; font-weight: 600; }
.duo ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.duo li { display: flex; gap: 10px; font-size: 15px; }
.duo li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 99px; background: var(--accentbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.card.dark li::before { background-color: rgba(255, 255, 255, .12); }

/* root cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rootc { padding: 20px; display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s; }
.rootc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(13, 13, 16, .3); }
.rootc .hd { display: flex; align-items: center; gap: 12px; }
.rootc .hd b { font-size: 17px; letter-spacing: -.02em; }
.rootc .mc { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.rootc .lk { display: grid; gap: 7px; }
.rootc .lk .t { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }
.meter { height: 8px; border-radius: 8px; background: var(--bg2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 0; transition: width 1.2s var(--ease); }
.rootc .ft { display: flex; gap: 8px; flex-wrap: wrap; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12.5px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: rgba(255, 77, 46, .05); }
.tbl .r { text-align: right; }
.tbl .who { display: flex; align-items: center; gap: 12px; }
.tbl .who b { display: block; letter-spacing: -.01em; }
.tbl .who span { font-size: 12.5px; color: var(--dim); }
.tbl .rank { font-family: var(--mono); color: var(--dim); width: 36px; }
.sharebar { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.sharebar .meter { width: 90px; height: 6px; }
.tscroll { overflow-x: auto; }

/* feed */
.feed { display: grid; }
.feed a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.feed a:last-child { border-bottom: 0; }
.feed .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--goodbg); color: var(--good); flex: none; font-weight: 700; }
.feed .ic.b { background: var(--accentbg); color: var(--accent); }
.feed .tx b { display: block; font-size: 15px; }
.feed .tx span { font-size: 13px; color: var(--dim); }
.feed .t { margin-left: auto; font-size: 13px; color: var(--dim); font-family: var(--mono); }
.empty { padding: 40px 20px; text-align: center; color: var(--dim); font-size: 15px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(46px, 7vw, 96px); background: #0f0f15; border: 1px solid rgba(255, 77, 46, .25); color: #fff; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 180deg at 70% 60%, rgba(255, 77, 46, 0), rgba(255, 77, 46, .5), rgba(255, 176, 32, .2), rgba(255, 77, 46, 0)); filter: blur(60px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta h2 { font-size: clamp(40px, 6vw, 86px); letter-spacing: -.05em; line-height: .96; margin: 0 0 22px; font-weight: 600; max-width: 860px; }
.cta h2 em { color: var(--accent2); }
.cta p { color: rgba(255, 255, 255, .7); max-width: 520px; font-size: 18px; margin: 0 0 32px; }
.cta .pill { border-color: rgba(255, 255, 255, .2); }
.cta .pill:not(.blue) { background: rgba(255, 255, 255, .08); color: #fff; }

/* ------------------------------------------------------------ pages */
.page { padding-top: 110px; min-height: 100vh; }
.page-head { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: end; padding: 30px 0 38px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.page-head .lede { margin: 0; }
.row2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.sticky { position: sticky; top: 84px; }
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats4 .card { padding: 20px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

/* coin header */
.coinhead { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 0 30px; }
.coinhead h1 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.045em; line-height: 1; font-weight: 600; }
.coinhead .sub { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.coinhead .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.splitbar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; background: var(--bg2); }
.splitbar i { display: block; height: 100%; }
.splitbar i:first-child { background: var(--accent); }
.splitbar i:last-child { background: var(--ink); opacity: .15; }

/* forms */
.launch-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 18px; align-items: start; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: 14px; font-weight: 600; }
.field > span em { font-family: var(--sans); font-style: normal; font-weight: 400; color: var(--dim); margin-left: 6px; }
.inp { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); padding: 0 16px; font: inherit; color: inherit; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea.inp { height: 96px; padding: 14px 16px; resize: vertical; }
.inp:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accentbg); background: #0b0b10; }
.inrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1.5px dashed var(--line2); border-radius: 18px; cursor: pointer; margin-bottom: 20px; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--accent); background: var(--accentbg); }
.drop input { display: none; }
.drop .pv { width: 72px; height: 72px; border-radius: 18px; background: var(--bg2); display: grid; place-items: center; overflow: hidden; flex: none; }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.drop .pv svg { width: 26px; fill: none; stroke: var(--dim); stroke-width: 1.6; }
.drop b { display: block; }
.drop span { font-size: 13.5px; color: var(--dim); }
.range { display: grid; gap: 10px; }
.range .top2 { display: flex; justify-content: space-between; align-items: baseline; }
.range .top2 b { font-size: 26px; letter-spacing: -.03em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--bg2) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 99px; background: var(--accent); border: 1px solid var(--line2); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 99px; background: var(--accent); border: 1px solid var(--line2); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; }
.buyrow { display: flex; gap: 8px; flex-wrap: wrap; }
.msg { color: var(--bad); font-size: 14px; min-height: 0; margin: 12px 0 0; }
.msg:empty { display: none; }
.steps { display: grid; gap: 10px; margin-top: 18px; }
.steps > div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); }
.steps i { width: 18px; height: 18px; border-radius: 99px; border: 2px solid var(--line2); flex: none; }
.steps .on { color: var(--ink); }
.steps .on i { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps .ok { color: var(--ink); }
.steps .ok i { background: var(--good); border-color: var(--good); }
.steps .bad { color: var(--bad); }
.steps .bad i { background: var(--bad); border-color: var(--bad); }
.done { margin-top: 20px; padding: 20px; border-radius: 18px; background: var(--goodbg); display: grid; gap: 8px; }
.done b { font-size: 18px; }
.done .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.picker { display: grid; gap: 8px; max-height: 280px; overflow: auto; padding: 2px; }
.picker button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 14px; background: var(--card); text-align: left; transition: border-color .2s, box-shadow .2s; }
.picker button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accentbg); }
.picker button .av { width: 32px; height: 32px; border-radius: 10px; }
.picker button span { font-size: 12.5px; color: var(--dim); }
.picker button .m { margin-left: auto; text-align: right; }

/* doc */
.doc h2 { font-size: 30px; letter-spacing: -.035em; margin: 56px 0 12px; font-weight: 600; }
.doc p, .doc li { color: var(--ink2); font-size: 17px; line-height: 1.7; }
.doc code { font-family: var(--mono); font-size: .88em; background: var(--bg2); padding: 2px 6px; border-radius: 6px; }
.doc .math { font-family: var(--mono); font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; overflow-x: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--dim); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; }

/* ------------------------------------------------------------ overlays */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #08080c; padding: 12px 18px; border-radius: 99px; font-size: 14px; opacity: 0; transition: all .35s var(--ease); z-index: 90; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.palette { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); display: none; padding: 12vh 20px 0; }
.palette.on { display: block; }
.palette .in { max-width: 620px; margin: 0 auto; background: var(--card); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35); overflow: hidden; }
.palette label { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); }
.palette label svg { width: 19px; fill: none; stroke: var(--dim); stroke-width: 1.8; }
.palette input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; background: none; color: inherit; }
.palette kbd { font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; }
.palette .res { max-height: 50vh; overflow: auto; padding: 6px; }
.palette .res a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; }
.palette .res a.k, .palette .res a:hover { background: var(--bg2); }
.palette .res .e { padding: 26px; text-align: center; color: var(--dim); }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 100px 24px 30px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-100%); transition: transform .55s var(--ease); }
.sheet.on { transform: none; }
.sheet .big { font-size: 40px; font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; padding: 6px 0; }
.sheet .big.on { color: var(--accent); }
.sheet .row { margin-top: auto; display: flex; gap: 8px; }
.wpick { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.wpick.on { opacity: 1; }
.wpick-in { width: min(420px, 100%); background: var(--card); border-radius: 26px; padding: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .4); }
.wpick h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
.wpick p { margin: 0 0 18px; color: var(--dim); font-size: 14.5px; }
.wpick .list { display: grid; gap: 8px; }
.wpick .list button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); font-weight: 600; text-align: left; }
.wpick .list button:hover { border-color: var(--accent); }
.wpick .list button img { width: 28px; height: 28px; border-radius: 8px; }
.wpick .list button.wait { opacity: .6; }
.wpick .nw { font-size: 14.5px; color: var(--ink2); }
.wpick .nw a { color: var(--accent); font-weight: 600; }
.wstatus { margin: 14px 0 0 !important; font-size: 13.5px !important; }
.wstatus.bad { color: var(--bad) !important; }
.offline-note { display: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 176, 32, .08); color: var(--accent2); font-size: 14px; border: 1px solid rgba(255, 176, 32, .25); }
.desk-off .offline-note { display: block; }

/* ------------------------------------------------------------ footer */
.foot { margin-top: 120px; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot p { color: var(--dim); font-size: 14.5px; max-width: 380px; margin: 0 0 12px; }
.foot h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.foot .cols a { display: block; padding: 5px 0; font-size: 15px; }
.foot .cols a:hover { color: var(--accent); }
.foot .giant { font-size: clamp(110px, 30vw, 460px); font-weight: 700; letter-spacing: -.06em; background: linear-gradient(180deg, #ededf2 20%, rgba(237,237,242,0) 105%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: .8; margin: 70px 0 30px; white-space: nowrap; }
.foot .giant em { font-style: normal; background: linear-gradient(180deg, var(--accent) 20%, rgba(255,77,46,0) 105%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot .fine { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--dim); flex-wrap: wrap; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .ca { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .orbit { justify-self: center; max-width: 520px; }
  .story .stage { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .story .ssteps { min-height: 240px; }
  .board { aspect-ratio: 1.25; }
  .sec-head, .page-head { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .row2, .launch-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .stats4 { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .top { padding: 0 16px; gap: 10px; }
  .top .pill.solid { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .ib.search, .ib.x { display: none; }
  .wrap, .wrap.wide, .wrap.narrow { width: calc(100% - 32px); }
  .hero .mini { gap: 22px; }
  .formula { grid-template-columns: 1fr; }
  .formula .op { justify-self: center; font-size: 34px; margin: -6px 0; }
  .duo, .grid3 { grid-template-columns: 1fr; }
  .story .st h3 { font-size: 34px; }
  .story .st p { font-size: 16px; }
  .board { aspect-ratio: 1; }
  .board .hud .pr { font-size: 26px; }
  .coinhead { grid-template-columns: auto 1fr; }
  .coinhead .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .inrow { grid-template-columns: 1fr; }
  .tbl th, .tbl td { padding: 12px 8px; }
  .hide-sm { display: none; }
  .foot .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ PVE: the HUD */
body { background: radial-gradient(1200px 600px at 80% -10%, rgba(255, 77, 46, .12), transparent 60%), var(--bg); background-attachment: fixed; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.brand { font-weight: 700; letter-spacing: .02em; font-size: 20px; }
.brand .logo { color: var(--ink); }
.label { color: var(--accent2); opacity: .85; }
.badge.blue { background: var(--accentbg); color: var(--accent); }
.eyebrow { background: rgba(255, 77, 46, .08); border-color: rgba(255, 77, 46, .25); color: var(--ink2); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.card { backdrop-filter: blur(6px); }
.hud-corners { position: relative; }
.hud-corners::before, .hud-corners::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); pointer-events: none; }
.hud-corners::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--r); }
.hud-corners::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--r); }

.pve-hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 110px 0 60px; }
.pve-hero .ctas { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.boss { padding: 26px; border-radius: 24px; position: relative; overflow: hidden; }
.boss .bt { display: flex; justify-content: space-between; align-items: center; }
.boss .nm { font-size: 32px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; margin: 10px 0 2px; }
.boss .lv { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.hp { margin: 22px 0 8px; height: 26px; border-radius: 8px; background: #1a1a22; border: 1px solid rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.hp i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #b3200b, var(--accent) 60%, #ff7a4d); box-shadow: 0 0 24px rgba(255, 77, 46, .6); transition: width 1.4s var(--ease); }
.hp i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, .25) 22px 24px); }
.hp b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.hp .ghost { background: rgba(255, 176, 32, .5); box-shadow: none; transition: width 2.6s var(--ease) .6s; }
.boss .hpk { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }
.boss .party { margin-top: 22px; display: grid; gap: 8px; }
.boss .pl { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; }
.boss .pl .bar { height: 5px; border-radius: 5px; background: #1a1a22; overflow: hidden; margin-top: 6px; }
.boss .pl .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); width: 0; transition: width 1.2s var(--ease); }
.boss .pl .dmg { font-family: var(--mono); color: var(--accent2); font-size: 13px; }
.dmgfx { position: absolute; font-family: var(--mono); font-weight: 700; color: var(--accent2); font-size: 18px; text-shadow: 0 0 12px rgba(255, 176, 32, .6); pointer-events: none; animation: dmg 1.6s var(--ease) forwards; }
@keyframes dmg { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 15% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-46px); } }
.scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 0, rgba(255, 77, 46, .06) 50%, transparent 100%); height: 30%; animation: scan 4s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(400%); } }

.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vs .card { padding: 34px; min-height: 380px; display: flex; flex-direction: column; }
.vs .mid { align-self: center; font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--dim); }
.vs h3 { font-size: 46px; letter-spacing: -.03em; margin: 14px 0 12px; text-transform: uppercase; }
.vs .pvp h3 { color: var(--dim); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.vs ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 12px; }
.vs li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink2); }
.vs .pvp li::before { content: '✕'; color: var(--bad); font-weight: 700; }
.vs .pve li::before { content: '◆'; color: var(--accent2); }
.vs .pvp { opacity: .55; filter: saturate(.3); }

.levels { overflow: hidden; }
.levels .track { display: flex; gap: 18px; padding: 0 max(20px, calc((100vw - 1320px) / 2)); width: max-content; }
.levels .lvl { width: min(520px, 82vw); min-height: 440px; padding: 34px; display: flex; flex-direction: column; border-radius: 26px; }
.levels .lvl .n { font-family: var(--mono); font-size: 13px; color: var(--accent2); }
.levels .lvl h3 { font-size: 44px; letter-spacing: -.03em; line-height: 1; margin: 16px 0 14px; text-transform: uppercase; }
.levels .lvl p { color: var(--ink2); font-size: 17px; margin: 0; }
.levels .lvl .art { margin-top: auto; height: 150px; border-radius: 16px; background: #0b0b10; border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.xp { height: 14px; border-radius: 6px; background: #1a1a22; overflow: hidden; border: 1px solid var(--line); }
.xp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); box-shadow: 0 0 16px rgba(255, 176, 32, .5); }
@media (max-width: 1080px) {
  .pve-hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .vs { grid-template-columns: 1fr; }
  .vs .mid { justify-self: center; }
}
@media (max-width: 720px) {
  .vs h3, .levels .lvl h3 { font-size: 34px; }
  .levels .lvl { min-height: 400px; padding: 26px; }
  .boss .nm { font-size: 26px; }
}

/* the mobile sheet: hidden for real when closed, scrollable when taller than the screen */
.sheet { overflow-y: auto; visibility: hidden; transition: transform .55s var(--ease), visibility 0s linear .55s; }
.sheet.on { visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
html.sheet-on, html.sheet-on body { overflow: hidden; }
