:root {
  --bg: #070A12;
  --bg-deep: #04060B;
  --surface: #0E1322;
  --surface-2: #0A0F1D;
  --line: #1E2740;
  --line-soft: #141B2E;
  --line-strong: #2A3553;
  --grid: #0D1324;
  --text: #F1EEE7;
  --text-2: #D6D3CC;
  --muted: #A3ABBE;
  --dim: #7C859C;
  --amber: #F5B452;
  --amber-ink: #1A1307;
  --amber-soft: rgba(245, 180, 82, 0.14);
  --teal: #5FD6C4;
  --teal-soft: rgba(95, 214, 196, 0.14);
  --coral: #E8957D;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: 56px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #FFD08A; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); font-weight: 400; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.amber { color: var(--amber); }
.teal { color: var(--teal); }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* Ticker */
.ticker { display: flex; align-items: center; justify-content: center; gap: 22px; height: 40px; padding: 0 16px; background: var(--amber); color: var(--amber-ink); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.ticker:hover { color: var(--amber-ink); }
.ticker b { font-weight: 500; }

/* Header */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 88px; padding: 0 var(--pad); border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.nav a { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; color: var(--text); font-size: 14px; }
.nav a[aria-current="page"] { background: var(--line); font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); display: inline-block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-nav { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-size: 14px; font-weight: 600; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.btn-primary:hover { color: var(--amber-ink); background: #FFC36B; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { color: var(--bg); background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); font-weight: 500; }
.btn-ghost:hover { color: var(--text); border-color: #3A4666; }
.btn-block { display: flex; width: 100%; border-radius: 14px; }
.btn:disabled, .btn[aria-disabled="true"] { background: transparent; color: var(--dim); border-color: var(--line); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.wallet-chip { font-family: var(--mono); font-size: 13px; font-weight: 400; background: var(--surface); }
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); display: inline-block; }

/* Chips */
.tier { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; white-space: nowrap; }
.tier-LEGENDARY { background: var(--amber-soft); color: var(--amber); }
.tier-RARE { background: var(--teal-soft); color: var(--teal); }
.tier-COMMON { background: rgba(163, 171, 190, 0.12); color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(14, 19, 34, 0.85); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pill .live-dot { width: 7px; height: 7px; box-shadow: 0 0 0 4px rgba(95, 214, 196, 0.18); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.status-open { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(95, 214, 196, 0.12); color: var(--teal); font-size: 13px; font-weight: 500; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.gridbg { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; }

/* Hero */
.hero { position: relative; min-height: 780px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 30px; max-width: 900px; padding: 72px var(--pad) 140px; }
.hero h1 { display: flex; flex-direction: column; gap: 18px; font-weight: 400; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 9.4vw, 136px); line-height: 0.86; letter-spacing: -0.05em; }
.hero-title em { font-style: normal; color: var(--teal); }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; color: var(--amber); }
.hero-lead { max-width: 500px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-globe { position: absolute; left: calc(50% + 40px); top: -40px; width: 860px; height: 860px; pointer-events: none; }
.hero-claim { position: absolute; z-index: 3; left: calc(50% + 280px); top: 470px; width: 360px; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: rgba(14, 19, 34, 0.94); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.hero-claim .name { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--text); }
.kv { display: flex; flex-direction: column; font-size: 14px; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.kv > div > span:first-child { color: var(--muted); }
.hero-strip { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(7, 10, 18, 0.9); }
.hero-strip > div { display: flex; flex-direction: column; gap: 4px; padding: 22px 28px; }
.hero-strip > div:first-child { padding-left: 0; }
.hero-strip > div + div { border-left: 1px solid var(--line); }
.hero-strip .eyebrow { font-size: 11px; }

/* Sections */
.section { padding: 128px var(--pad) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.04em; }
.section-head p { max-width: 380px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.bento .card { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: 26px; }
.bento h3 { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.bento p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step { font-family: var(--mono); font-size: 13px; color: var(--amber); }
.mini-list { margin-top: auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mini-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 18px; background: var(--surface-2); color: var(--text); }
.mini-list a + a { border-top: 1px solid var(--line); }
.mini-list .serif { font-size: 22px; }
.seat-demo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding: 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; }
.seat-demo .p { grid-row: span 2; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--amber); color: var(--amber-ink); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.seat { height: 36px; border-radius: 10px; border: 1px dashed var(--line-strong); }
.seat.taken { border: 1px solid var(--teal); background: var(--teal-soft); }
.levels { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.levels div { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.levels div:first-child { background: var(--amber-soft); color: var(--amber); font-weight: 500; }
.levels .mono { color: var(--dim); }
.levels div:first-child .mono { color: var(--amber); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiers .card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 26px; }
.tiers .card.legendary { border-color: var(--amber); }
.tiers p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.tiers .price { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }

.race { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 56px; border-radius: 30px; background-image: linear-gradient(#121A2E 1px, transparent 1px), linear-gradient(90deg, #121A2E 1px, transparent 1px); background-size: 48px 48px; }
.race-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.race-copy .h2 { font-size: clamp(36px, 4.4vw, 64px); }
.race-copy p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.queue { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; align-self: start; }
.queue a, .queue div.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 22px; color: var(--text); }
.queue > * + * { border-top: 1px solid var(--line); }
.queue .serif { font-size: 26px; }
.queue .mono { font-size: 13px; color: var(--dim); }
.queue .mono.amber { color: var(--amber); }

.token-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.ticker-word { font-family: var(--display); font-weight: 800; font-size: clamp(112px, 17vw, 240px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--amber); }
.token-side { display: flex; flex-direction: column; gap: 14px; width: 420px; max-width: 100%; padding-bottom: 10px; }
.token-side p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.ca { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.ca .btn { border-radius: 10px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.facts > div { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts strong { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: -0.03em; }
.facts span { font-size: 15px; line-height: 1.5; color: var(--muted); }

.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.roadmap::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line-strong); }
.roadmap > div { position: relative; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.roadmap .node { width: 17px; height: 17px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line-strong); }
.roadmap .now .node { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(245, 180, 82, 0.18); }
.roadmap .next .node { border-color: var(--teal); }
.roadmap .now { color: var(--text); }

/* Footer */
.site-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: 128px; padding: 48px var(--pad) 56px; border-top: 1px solid var(--line); }
.site-footer .legal { max-width: 560px; font-size: 13px; line-height: 1.7; color: var(--dim); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.footer-brand { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.footer-brand span { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }

/* Page heads */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 56px var(--pad) 32px; }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 0.9; letter-spacing: -0.05em; }
.page-head p { max-width: 620px; margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.next-race { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 22px; border: 1px solid var(--amber); border-radius: 16px; background: rgba(245, 180, 82, 0.08); color: var(--text); }
.next-race:hover { color: var(--text); }

/* Explore */
.filters { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--pad) 24px; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.segmented button { height: 44px; padding: 0 18px; border-radius: 10px; border: none; background: transparent; font-size: 14px; color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--line); font-weight: 500; }
.segmented .t-LEGENDARY { color: var(--amber); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.segmented .t-RARE { color: var(--teal); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.segmented .t-COMMON { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--dim); }
.field input, .field select { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: var(--sans); font-size: 15px; }
.field input { width: 280px; }
.field select { width: 200px; }
.field-row { display: flex; align-items: flex-end; gap: 12px; }

.plist { margin: 0 var(--pad); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.prow { display: grid; grid-template-columns: 2.1fr 1.1fr 0.9fr 0.9fr 1.5fr 0.8fr 1.2fr; gap: 16px; align-items: center; min-height: 76px; padding: 0 24px; }
.prow + .prow { border-top: 1px solid var(--line-soft); }
.prow.head { min-height: 48px; background: var(--surface); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.pname { display: flex; flex-direction: column; gap: 2px; color: var(--text); min-width: 0; }
.pname:hover { color: var(--text); }
.pname .serif { font-size: 25px; line-height: 1.1; }
.pname small { font-size: 13px; color: var(--dim); }
.zone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.zone i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.zone-conservative { color: var(--teal); } .zone-conservative i { background: var(--teal); }
.zone-optimistic { color: #9FE3D8; } .zone-optimistic i { background: #9FE3D8; }
.zone-outside { color: var(--dim); } .zone-outside i { background: var(--dim); }
.zone-unknown { color: var(--dim); } .zone-unknown i { border: 1px solid var(--dim); }
.zone sup { margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: rgba(163, 171, 190, 0.12); color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; vertical-align: middle; cursor: help; }
.prow .act { justify-self: end; width: 132px; border-radius: 12px; }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--pad); font-size: 14px; color: var(--dim); }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }

/* Planet */
.planet-head { display: flex; flex-direction: column; gap: 18px; padding: 40px var(--pad) 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--dim); }
.planet-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.planet-title h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7.5vw, 104px); line-height: 0.95; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.planet-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 0 var(--pad); }
.col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel { padding: 26px 28px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 10px; }
.values > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.values > div > span:first-child { color: var(--muted); }
.slot { display: flex; flex-direction: column; gap: 20px; padding: 30px; border-color: var(--amber); box-shadow: 0 30px 80px rgba(245, 180, 82, 0.08); }
.slot.taken { border-color: var(--line); box-shadow: none; }
.slot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.price-box { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--bg); border-radius: 16px; }
.price-box strong { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.price-box strong small { font-size: 18px; color: var(--amber); }
.note { font-size: 13px; line-height: 1.5; color: var(--dim); }
.seats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.seats .seat { height: 44px; }
.history a { font-family: var(--mono); font-size: 13px; }
.history > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.system-svg { width: 100%; height: auto; }

/* New worlds */
.race-page { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; padding: 56px var(--pad) 0; }
.countdown { display: flex; align-items: flex-end; gap: 14px; }
.countdown .unit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown .box { display: flex; align-items: center; justify-content: center; width: 150px; height: 130px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 80px; letter-spacing: -0.04em; }
.countdown .unit:last-child .box { border-color: var(--amber); color: var(--amber); }
.countdown .sep { padding-bottom: 72px; font-family: var(--display); font-size: 56px; color: var(--line-strong); }
.rules > div { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.rules .mono { color: var(--amber); font-size: 13px; }
.race-list { display: flex; flex-direction: column; gap: 24px; padding: 0 var(--pad); }

/* Report */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0 var(--pad) 40px; }
.tiles .card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; }
.tiles span { font-size: 14px; color: var(--dim); }
.tiles strong { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.report-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; padding: 0 var(--pad); }
.rank-row { display: grid; grid-template-columns: 40px 2fr 1fr 1.4fr; gap: 16px; align-items: center; min-height: 60px; border-top: 1px solid var(--line-soft); color: var(--text); font-size: 15px; }
.rank-row:hover { color: var(--text); }
.rank-row .serif { font-size: 24px; }
.rank-head { min-height: 32px; border-top: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.bar { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--line); }
.bar > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: rgba(245, 180, 82, 0.7); }
.leader { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-top: 1px solid var(--line-soft); }

/* Claim dialog */
.sheet-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 6, 11, 0.72); }
.sheet { position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.sheet.accent { border-color: var(--amber); }
.sheet.ok { border-color: var(--teal); }
.sheet h2 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.sheet .close { position: absolute; top: 16px; right: 16px; }
.sheet .grab { display: none; }
.wallet-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 15px; text-align: left; width: 100%; }
.wallet-option:hover { color: var(--text); border-color: var(--line-strong); }
.wallet-option .wallet-id { display: flex; align-items: center; gap: 12px; }
.wallet-option img { border-radius: 6px; }
.wallet-chip.wrong-chain { border-color: var(--coral); color: var(--coral); }
.warn-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--coral); display: inline-block; box-shadow: 0 0 0 4px rgba(232, 149, 125, 0.16); }
.share-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); background-image: linear-gradient(#10172A 1px, transparent 1px), linear-gradient(90deg, #10172A 1px, transparent 1px); background-size: 24px 24px; }
.share-card .serif { font-size: 36px; line-height: 1; }
.spinner { width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--line-strong); border-top-color: var(--amber); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-text { color: var(--coral); font-size: 14px; line-height: 1.5; }
.banner { margin: 24px var(--pad) 0; padding: 16px 20px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--muted); font-size: 14px; }

/* Tablet */
@media (max-width: 1180px) {
  :root { --pad: 32px; }
  .nav a { padding: 0 12px; }
  .hero-globe { left: calc(50% + 10px); }
  .hero-claim { left: auto; right: var(--pad); }
  .prow { grid-template-columns: 2fr 1.1fr 0.9fr 0.9fr 1.3fr 0.7fr 1.1fr; padding: 0 16px; }
}

/* Phone and small tablet */
@media (max-width: 900px) {
  :root { --pad: 16px; --radius: 20px; }
  .ticker { justify-content: flex-start; height: 36px; font-size: 11px; gap: 10px; }
  .site-header { height: 64px; }
  .brand span { font-size: 20px; }
  .brand svg { width: 28px; height: 28px; }
  .nav, .header-actions .buy { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { min-height: 44px; padding: 0 14px; }
  .mobile-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; z-index: 30; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .mobile-nav a { display: flex; align-items: center; min-height: 52px; color: var(--text); font-size: 17px; border-bottom: 1px solid var(--line-soft); }

  .hero { min-height: 0; background-size: 40px 40px; }
  .hero-copy { gap: 20px; padding: 20px 16px 0; }
  .hero-title { font-size: 54px; }
  .hero-sub { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-globe { position: relative; left: 60px; top: 0; width: 400px; height: 400px; margin: -10px 0 -110px; display: block; }
  .hero-claim { position: relative; left: auto; right: auto; top: auto; width: auto; margin: 0 16px; padding: 20px; }
  .hero-ctas { flex-direction: column; padding: 20px 16px 0; }
  .hero-ctas .btn { width: 100%; }
  .hero-strip { position: static; grid-template-columns: 1fr; margin: 24px 16px 0; background: none; }
  .hero-strip > div { flex-direction: row; justify-content: space-between; padding: 14px 0; }
  .hero-strip > div + div { border-left: none; border-top: 1px solid var(--line); }
  .hero-copy .hero-ctas { display: none; }
  .hero .mobile-ctas { display: flex; }

  .section { padding-top: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .h2 { font-size: 44px; }
  .bento, .tiers, .race, .facts, .roadmap, .planet-grid, .race-page, .report-grid { grid-template-columns: 1fr; }
  .bento .card, .tiers .card { padding: 22px; }
  .bento h3 { font-size: 24px; }
  .mini-list { display: none; }
  .seat-demo { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; padding: 0; background: none; border: none; }
  .seat-demo .p { grid-row: auto; height: 30px; border-radius: 7px; }
  .seat-demo .seat { height: 30px; border-radius: 7px; }
  .levels { display: none; }
  .tiers { gap: 12px; }
  .race { gap: 18px; padding: 24px; border-radius: 24px; background-size: 32px 32px; }
  .token-top { flex-direction: column; align-items: stretch; gap: 20px; }
  .ticker-word { font-size: 112px; -webkit-text-stroke-width: 1.2px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: none; }
  .facts > div, .facts > div:first-child { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
  .facts > div + div { border-left: 1px solid var(--line); }
  .facts strong { font-size: 22px; }
  .facts span { font-size: 13px; }
  .roadmap { gap: 22px; padding-left: 22px; border-left: 1px solid var(--line-strong); }
  .roadmap::before, .roadmap .node { display: none; }
  .roadmap > div { font-size: 15px; gap: 6px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 72px; padding: 40px 16px 48px; }

  .page-head { flex-direction: column; align-items: stretch; padding: 28px 16px 20px; }
  .next-race { justify-content: space-between; }
  .filters { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 16px; }
  .segmented { flex-wrap: nowrap; overflow-x: auto; padding: 0; background: none; border: none; border-radius: 0; margin-right: -16px; }
  .segmented button { flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; }
  .field-row { flex-direction: column; align-items: stretch; }
  .field input, .field select { width: 100%; font-size: 16px; }
  .plist { display: flex; flex-direction: column; gap: 10px; border: none; border-radius: 0; margin: 0 16px; }
  .prow.head { display: none; }
  .prow { grid-template-columns: 1fr auto; grid-template-areas: "name tier" "meta act"; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
  .prow + .prow { border-top: 1px solid var(--line); }
  .prow .pname { grid-area: name; }
  .prow .tier { grid-area: tier; align-self: start; justify-self: end; }
  .prow .meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
  .prow .act { grid-area: act; width: 104px; }
  .prow .desk { display: none; }
  .list-foot { flex-direction: column; }

  .planet-head { padding: 20px 16px 24px; gap: 12px; }
  .planet-title { flex-direction: column; align-items: flex-start; }
  .planet-title h1 { font-size: 60px; }
  .planet-grid .slot-col { order: -1; }
  .values { grid-template-columns: 1fr; }
  .panel, .slot { padding: 20px; }
  .h3 { font-size: 28px; }
  .seats { gap: 5px; }
  .seats .seat { height: 34px; border-radius: 8px; }

  .race-page { padding: 28px 16px 0; gap: 24px; }
  .countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .countdown .sep { display: none; }
  .countdown .box { width: 100%; height: 96px; font-size: 44px; border-radius: 18px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles strong { font-size: 32px; }
  .rank-row { grid-template-columns: 28px 1fr auto; }
  .rank-row .bar-cell { display: none; }

  .sheet-backdrop { align-items: flex-end; padding: 0; }
  .sheet { width: 100%; max-height: 92vh; padding: 12px 20px 34px; border-radius: 26px 26px 0 0; border-width: 1px 0 0; }
  .sheet .grab { display: block; align-self: center; width: 40px; height: 4px; border-radius: 999px; background: var(--line-strong); }
}

@media (min-width: 901px) {
  .mobile-only, .header-actions .menu-btn { display: none !important; }
  .prow .meta { display: none; }
}
@media (max-width: 900px) {
  .desk-only { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
