@font-face {
  font-family: Barlow;
  src: url("/assets/barlow-condensed-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: DM Mono;
  src: url("/assets/dm-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #0a0c0b;
  --paper: #e9ebe3;
  --muted: #a1a69e;
  --mint: #00efad;
  --line: #30342f;
  --gutter: clamp(22px, 4.4vw, 80px);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Manrope, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 6px;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
img,
svg {
  display: block;
  max-width: 100%;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
}
.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1600px;
  margin-inline: auto;
}
.mono {
  font-family:
    DM Mono,
    monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.065em;
}
.mint {
  color: var(--mint);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  padding: 15px 20px;
  font-size: 12px;
  font-weight: 700;
  min-height: 50px;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button-mint {
  color: var(--ink);
  background: var(--mint);
}
.button-mint:hover {
  background: var(--paper);
  transform: translateY(-2px);
}
.button span {
  font-size: 22px;
  line-height: 1;
}
/* The Void: burners orbiting the singularity (src/void.js). */
.void-hero {
  position: relative;
}
.void-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: url("/assets/black-hole.webp") center/cover no-repeat;
}
#void-hole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s;
}
.void-stage[data-webgl="ready"] {
  background: var(--ink);
}
.void-stage[data-webgl="ready"] #void-hole {
  opacity: 1;
}
.void-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(#0a0c0bcc, transparent 22%, transparent 78%, var(--ink)),
    linear-gradient(90deg, #0a0c0b99, transparent 16%, transparent 84%, #0a0c0b99);
}
.void-trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen; /* wakes glow on top of the disk instead of covering it */
}
.void-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.void-stage:not([data-webgl="ready"]) .void-orbits,
.void-stage:not([data-webgl="ready"]) .void-trails {
  display: none;
}
/* An orb: a hit area (padding makes small ones tappable) around a point of light.
   Emissive like the disk, not a lit solid: hot core, coloured bloom, added to the scene with screen blending. */
.void-orb {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  pointer-events: auto;
  text-decoration: none;
  will-change: transform, opacity;
  mix-blend-mode: screen;
  /* Default orbs: mint-white, the disk's own colour. Podium tiers are hotter or cooler stars. */
  --core: #f4fffb;
  --tint: #9fe8d2;
}
.void-orb i {
  display: block;
  /* Twice the burn size: the outer half is bloom, so the bright core keeps the burn-to-size scale. */
  width: calc(var(--d) * 2);
  height: calc(var(--d) * 2);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff 0,
    var(--core) 12%,
    color-mix(in srgb, var(--tint) 85%, transparent) 22%,
    color-mix(in srgb, var(--tint) 25%, transparent) 42%,
    transparent 70%
  );
}
.void-orb[data-tier="1"] {
  --core: #fff6d8;
  --tint: #ffc45a;
}
.void-orb[data-tier="2"] {
  --core: #f2f7ff;
  --tint: #a9c4ff;
}
.void-orb[data-tier="3"] {
  --core: #ffe9d6;
  --tint: #ff9a52;
}
/* #1 twinkles: a slow flare of its bloom. */
.void-orb[data-tier="1"] i {
  animation: corona 3.2s ease-in-out infinite;
}
@keyframes corona {
  50% {
    transform: scale(1.25);
  }
}
/* The message card: hidden until the orb is hovered or tapped, then floats above it. */
.orb-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  translate: -50% 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: min(30ch, 80vw);
  padding: 14px 18px 12px;
  border: 1px solid #e9fff74d;
  background: #0a0c0be6;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px #0a0c0b;
}
.void-orb[data-open] .orb-card {
  display: flex;
}
.void-orb[data-tier="1"] .orb-card {
  border-color: #ffc94a99;
}
.void-orb[data-tier="2"] .orb-card {
  border-color: #dbe8ff80;
}
.void-orb[data-tier="3"] .orb-card {
  border-color: #ff9d5a80;
}
.orb-card b {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.orb-card small {
  font-family: DM Mono, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}
/* While one orb is open the rest dim, so its message can be read in peace. */
.void-stage[data-focus] .void-orb:not([data-open]) {
  opacity: 0.15 !important;
}
.void-hud,
.void-hud-bottom {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  pointer-events: none;
}
.void-hud a,
.void-hud-bottom a {
  pointer-events: auto;
}
.void-hud {
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.void-hud h1 {
  font-family: Barlow, Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.void-hud .mint {
  text-shadow: 0 0 60px #00efad60;
}
.void-hud p {
  color: var(--muted);
  font-size: 10px;
}
.void-hud-bottom {
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.void-hud-bottom p {
  color: var(--mint);
  font-size: 11px;
}
.void-board {
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 900px;
}
.void-board h2 {
  color: var(--mint);
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 18px;
}
.void-board .void-warning {
  margin-top: 28px;
}
.void-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: void;
}
.void-list li {
  counter-increment: void;
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.void-list li::before {
  content: counter(void, decimal-leading-zero);
  grid-row: span 2;
  font-family: DM Mono, monospace;
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.void-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--paper);
}
.void-list .mono {
  color: var(--mint);
  font-size: 11px;
}
.void-list q {
  grid-column: 2 / -1;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.void-list li[data-rank="1"] q {
  color: #fff;
}
.void-list .void-empty {
  display: block;
  color: var(--muted);
}
.void-list .void-empty::before {
  content: none;
}
.burn-back {
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
.burn-back:hover {
  color: var(--mint);
}
.void-warning {
  color: #ff8a6b;
  font-size: 10px;
}
/* /burn: wallet-connected burn form over a full-screen black hole (src/burn.js). */
.burn-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 40px var(--gutter);
}
.burn-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  margin: 0;
  background: url("/assets/black-hole.webp") center/cover no-repeat;
}
.burn-stage[data-webgl="ready"] {
  background: var(--ink);
}
#burn-hole {
  width: 100%;
  height: 100%;
  display: block;
}
.burn-card {
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: #0a0c0bd9;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.burn-card h1 {
  font-family: Barlow, Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.burn-card > p {
  color: var(--muted);
  font-size: 14px;
}
#burn-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#burn-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
#burn-form label .mono {
  color: var(--mint);
  font-size: 10px;
}
#burn-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-family: DM Mono, monospace;
  font-size: 15px;
}
#burn-form input:focus {
  border-color: var(--mint);
}
.burn-amount {
  display: flex;
  gap: 8px;
}
.burn-max,
.burn-disconnect {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: none;
  color: var(--mint);
  font-size: 10px;
  cursor: pointer;
}
.burn-max:hover,
.burn-disconnect:hover {
  border-color: var(--mint);
}
.burn-account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 14px;
  border: 1px solid #00efad55;
  color: var(--paper);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.burn-account .burn-disconnect {
  border: 0;
  color: var(--muted);
}
#burn-form .burn-confirm {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.burn-confirm input {
  margin-top: 3px;
  accent-color: var(--mint);
}
.burn-submit {
  width: 100%;
}
.burn-submit:disabled {
  opacity: 0.5;
  cursor: progress;
}
.burn-status {
  min-height: 1.6em;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.burn-status[data-tone="error"] {
  color: #ff8a6b;
}
.burn-status[data-tone="done"] {
  color: var(--mint);
}
.burn-status a {
  color: var(--paper);
}
/* The message spaghettifies into the hole at the centre of the screen. */
.burn-flyer {
  position: fixed;
  z-index: 10;
  translate: -50% -50%;
  white-space: nowrap;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  text-shadow:
    0 0 8px #fff,
    0 0 26px #ffe3a8,
    0 0 60px #00efad;
  pointer-events: none;
  animation: swallow 2.6s cubic-bezier(0.55, 0, 0.8, 0.4) forwards;
}
@keyframes swallow {
  60% {
    filter: blur(1px);
  }
  to {
    left: 50vw;
    top: 42vh; /* hole.js centres the hole 58% up from the bottom */
    transform: rotate(-200deg) scale(2.6, 0.04);
    filter: blur(6px);
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .orb-card b {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .button {
    border: 1px solid ButtonText;
  }
  .mint {
    color: CanvasText;
  }
}
