/* ============================================================================
   ALIEN CPUs — style.css   (SEALED BUILD)

   One stylesheet. Two type families, both vendored (no runtime CDN):
     · Pixelify Sans  — the display face. Bitmap-derived, so it sits with the
                        artwork instead of on top of it.
     · Space Grotesk  — everything else: the reading face at 15-17px, and the
                        same face tracked-out in caps for labels, chips and
                        buttons. It replaced Silkscreen after the first
                        screenshot pass: Silkscreen's capital C closes up at
                        10px and "CHIPS" and "ROBINHOOD CHAIN" both came back
                        reading with an O. A label nobody can read is not
                        characterful, it is broken.

   The colour set is the ARTWORK'S OWN PALETTE, lifted out of the generator's
   manifest.json rather than picked by eye: #4af0ff, #a0ffb0, #b06aff, #ffd24a,
   #ff3a6a, #c0c8d8, #7a8898, on the void the chips are rendered against.

   Motion is deliberately small: one slow phosphor sweep, one flicker on the
   wordmark, and nothing else. Every bit of it is switched off under
   prefers-reduced-motion.
   ========================================================================= */

@font-face { font-family: "Pixelify"; src: url("vendor/pixelify-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Grotesk"; src: url("vendor/spacegrotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Grotesk"; src: url("vendor/spacegrotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Grotesk"; src: url("vendor/spacegrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --void: #06070c;
  --void-2: #090b12;
  --panel: #0d1018;
  --panel-2: #11151f;
  --line: #1c2231;
  --line-2: #2a3345;

  --ink: #c0c8d8;
  --ink-hi: #eaf2ff;
  --muted: #7a8898;

  --cyan: #4af0ff;
  --green: #a0ffb0;
  --green-hot: #46ffa0;
  --violet: #b06aff;
  --gold: #ffd24a;
  --pink: #ff3a6a;

  --display: "Pixelify", "Courier New", monospace;
  --ui: "Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Grotesk", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --pad: 24px;
  --r: 3px;

  --glow-c: 0 0 18px rgba(74, 240, 255, .35);
  --glow-g: 0 0 18px rgba(70, 255, 160, .30);
}

* { box-sizing: border-box; }

/* The UA stylesheet's `[hidden] { display: none }` loses to any class that sets
   `display` — which .btn does, as inline-flex. Every `hidden` on this page
   means hidden. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 16px/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* a faint circuit lattice, drawn with gradients so it costs no request */
  background-image:
    radial-gradient(1100px 620px at 78% -8%, rgba(74, 240, 255, .085), transparent 62%),
    radial-gradient(860px 560px at 8% 12%, rgba(176, 106, 255, .065), transparent 60%),
    linear-gradient(rgba(122, 136, 152, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 136, 152, .045) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed, fixed, scroll, scroll;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* Pixelify Sans is a WORD face on this page, never a number face. Its "2" is
   nearly its "8" below about 30px — "#211" came back from the first screenshot
   pass reading "#811" — so every numeral, at every size, is set in Space
   Grotesk 700 and the two are deliberately mixed. */
.display { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }
.num, .sold-count b, .meter-total b, .meter-stage b, .how > .how-n, .showcase-h, .h2 span {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.k {
  font: 600 11.5px/1.4 var(--ui);
  letter-spacing: .16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0;
}
.k-lead { margin-bottom: 14px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 99;
  background: var(--cyan); color: #04121a; padding: 8px 14px;
  font: 600 11.5px var(--ui); text-decoration: none;
}
.skip:focus { left: 8px; }

/* ------------------------------------------------------------- the CRT skin */

.crt { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.crt-vig {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 52%, rgba(2, 3, 6, .72) 100%);
}
.crt-scan {
  position: absolute; left: 0; right: 0; height: 46vh;
  background: linear-gradient(180deg, transparent, rgba(74, 240, 255, .045) 46%, rgba(160, 255, 176, .06) 52%, transparent);
  animation: sweep 11s linear infinite;
}
@keyframes sweep { from { top: -50vh; } to { top: 110vh; } }

/* ------------------------------------------------------------------- header */

.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 10px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 12, .82);
  backdrop-filter: blur(9px);
}
.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 7px; flex: none; }
.wm-a { font-family: var(--body); font-weight: 700; letter-spacing: .12em; font-size: 17px; color: var(--ink-hi); }
.wm-b { font-family: var(--body); font-weight: 700; letter-spacing: .12em; font-size: 17px; color: var(--cyan); text-shadow: var(--glow-c); animation: flick 7s steps(1) infinite; }
@keyframes flick {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: .35; }
  98% { opacity: 1; }
  98.6% { opacity: .55; }
}

.topnav { margin-left: auto; display: flex; gap: 20px; }
.topnav a {
  font: 600 11.5px/1 var(--ui); letter-spacing: .12em; color: var(--muted);
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent;
}
.topnav a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.topchips { margin: 0; display: flex; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 11.5px/1 var(--ui); letter-spacing: .08em;
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 8px 10px; color: var(--muted); background: var(--panel);
  text-decoration: none; white-space: nowrap;
}
.chip-go { color: var(--ink); border-color: rgba(74, 240, 255, .35); }
.chip-go b { color: var(--green-hot); font-weight: 700; font-variant-numeric: tabular-nums; }
.chip-go:hover { border-color: var(--cyan); box-shadow: var(--glow-c); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.led.on { background: var(--green-hot); box-shadow: 0 0 8px var(--green-hot); }
.led.blink { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
.led.hot { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* --------------------------------------------------------------------- hero */

.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 62px var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 44px; align-items: start;
}
.eyebrow {
  margin: 0 0 18px; font: 600 11.5px/1.5 var(--ui); letter-spacing: .17em; color: var(--cyan);
}
.hero-h1 {
  margin: 0 0 22px;
  font-size: clamp(56px, 9vw, 104px); line-height: .92; color: var(--ink-hi);
  text-shadow: 0 0 46px rgba(74, 240, 255, .22), 2px 2px 0 rgba(176, 106, 255, .42);
}
.lede { margin: 0 0 14px; font-size: 17.5px; color: var(--ink); max-width: 46ch; }
.lede b { color: var(--ink-hi); }
.lede em { font-style: normal; color: var(--green); }
.lede-2 { color: var(--muted); }

.hero-rules { list-style: none; margin: 24px 0 26px; padding: 0; max-width: 46ch; }
.hero-rules li {
  position: relative; padding: 9px 0 9px 26px; font-size: 15px; color: var(--muted);
  border-top: 1px solid var(--line);
}
.hero-rules li:last-child { border-bottom: 1px solid var(--line); }
.hero-rules li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.hero-rules b { color: var(--ink-hi); font-weight: 700; }

.hero-cta { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.showcase {
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel);
  padding: 16px; display: flex; gap: 16px; align-items: center;
}
.showcase .art {
  width: 128px; height: 128px; flex: none; background: #04050a;
  border: 1px solid rgba(176, 106, 255, .45); box-shadow: 0 0 26px rgba(176, 106, 255, .22);
}
.showcase .art img { width: 128px; height: 128px; image-rendering: pixelated; }
.showcase-k { margin: 0 0 6px; font: 600 11px var(--ui); letter-spacing: .1em; color: var(--violet); }
.showcase-h { margin: 0 0 7px; font-size: 16px; color: var(--ink-hi); }
.showcase-p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel-2); color: var(--ink);
  padding: 14px 18px; cursor: pointer; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, color .15s, background .15s;
}
.btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--ink-hi); box-shadow: var(--glow-c); }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn-ghost { background: transparent; }
.btn-small { padding: 9px 13px; font-size: 10px; }

/* the one loud button left on the page: the marketplace */
.btn-main {
  width: 100%; padding: 17px 18px; font-size: 13px; margin-top: 14px;
  background: linear-gradient(180deg, rgba(70, 255, 160, .16), rgba(70, 255, 160, .05));
  border-color: rgba(70, 255, 160, .5); color: var(--green);
}
.btn-main:hover { border-color: var(--green-hot); color: #eafff2; box-shadow: var(--glow-g); }

.btn-second {
  width: 100%; padding: 13px 18px; margin-top: 9px;
  background: transparent; border-color: var(--line-2); color: var(--muted);
}
.btn-second:hover { border-color: var(--cyan); color: var(--cyan); }

.btn.off { opacity: .5; cursor: default; pointer-events: none; }

/* ------------------------------------------------------- the sold-out card
   It stands exactly where the panel that sold the collection used to stand,
   because that is where the eye lands — and the honest thing to put in the
   loudest slot on the page is that there is nothing left to buy here. */

.sold {
  position: relative;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(74, 240, 255, .05), transparent 34%),
    var(--panel);
  padding: 20px 20px 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(74, 240, 255, .05);
}
/* corner brackets — the one ornament the page allows itself */
.sold::before, .sold::after {
  content: ""; position: absolute; width: 13px; height: 13px; border: 1px solid var(--cyan); opacity: .65;
}
.sold::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sold::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.sold-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.k-sold { letter-spacing: .22em; }
.sold-count { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.sold-count b { font-size: 25px; color: var(--green-hot); text-shadow: var(--glow-g); }
.sold-count span { font: 600 11px var(--ui); letter-spacing: .06em; color: var(--muted); }
/* "—" set in a bitmap face is a solid bar, and a solid bar beside a unit reads
   as a number. Unknown values drop back to the body face and the muted ink. */
.unknown { font-family: var(--body) !important; font-weight: 500; color: var(--muted) !important; text-shadow: none !important; }

.sold-bar { height: 4px; background: #131826; border-radius: 2px; margin: 12px 0 14px; overflow: hidden; }
.sold-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--green-hot)); transition: width .5s ease; }

.sold-say {
  margin: 0; border: 1px solid var(--line);
  background: var(--void-2); padding: 12px 13px;
  font-size: 14.5px; line-height: 1.5; color: var(--ink);
}
.sold-say b { color: var(--ink-hi); }

.sold-foot {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font: 600 10.5px/1.6 var(--ui); letter-spacing: .07em; color: #5d6a7a;
}

/* -------------------------------------------------------------------- bands */

.band { border-top: 1px solid var(--line); }
.band-in { max-width: var(--wrap); margin: 0 auto; padding: 54px var(--pad); }
.h2 {
  margin: 0 0 18px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; color: var(--ink-hi);
  font-family: var(--display); font-weight: 700;
}
.h2 span { color: var(--cyan); }
.band-say { margin: 0 0 26px; max-width: 62ch; color: var(--muted); font-size: 16px; }
.band-say b { color: var(--ink); }
.band-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.band-head .h2 { margin-bottom: 10px; }

/* ------------------------------------------------------------- the 5 states */

.band-strip { background: linear-gradient(180deg, rgba(74, 240, 255, .04), transparent 60%); }
.strip {
  list-style: none; margin: 22px 0 18px; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.strip li { text-align: center; }
.strip .art {
  position: relative; margin: 0 auto 10px; width: 128px; height: 128px;
  border: 1px solid var(--line-2); background: #04050a;
}
.strip .art img { width: 128px; height: 128px; image-rendering: pixelated; }
.strip li[data-i="4"] .art { border-color: rgba(176, 106, 255, .55); box-shadow: 0 0 22px rgba(176, 106, 255, .28); }
.strip .arrow {
  position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  color: var(--line-2); font-size: 13px;
}
.strip .nm { margin: 0; font: 600 11px var(--ui); letter-spacing: .07em; color: var(--ink-hi); }
.strip .th { margin: 5px 0 0; font: 600 10.5px/1.5 var(--ui); letter-spacing: .05em; color: var(--cyan); }
.strip .sy { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.strip-say { margin: 0; max-width: 68ch; color: var(--muted); }
.br-d { display: inline; }

/* ------------------------------------------------------------- how it works */

.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.how {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); padding: 22px 22px 20px;
}
.how > .how-n {
  position: absolute; top: 8px; right: 20px; margin: 0;
  font-size: 58px; line-height: 1; color: rgba(74, 240, 255, .14);
}
.how-h { margin: 0 0 10px; font: 600 13px var(--ui); letter-spacing: .07em; color: var(--cyan); }
.how p { margin: 0 0 9px; font-size: 15.5px; color: var(--ink); max-width: 44ch; }
.how p b { color: var(--ink-hi); }
.how-small { font-size: 13px !important; color: var(--muted) !important; }

/* ---------------------------------------------------------------- flywheel */

.band-mileage { background: linear-gradient(180deg, rgba(176, 106, 255, .05), transparent 55%); }
.fly { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; }
.fly-loop { list-style: none; margin: 0; padding: 0; }
.fly-loop li {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel); padding: 13px 15px; margin-bottom: 26px;
}
.fly-loop li:last-child { margin-bottom: 0; border-color: rgba(176, 106, 255, .5); }
.fly-loop li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -20px; width: 1px; height: 14px;
  background: linear-gradient(var(--line-2), var(--cyan));
}
.fly-loop b { display: block; font-size: 17px; color: var(--cyan); }
.fly-loop li:last-child b { color: var(--violet); }
.fly-loop span { font-size: 13px; color: var(--muted); }

.fly-rules { margin: 0; }
.fly-rules > div { border-top: 1px solid var(--line); padding: 15px 0; }
.fly-rules > div:last-child { border-bottom: 1px solid var(--line); }
.fly-rules dt { font: 600 12px var(--ui); letter-spacing: .05em; color: var(--ink-hi); margin-bottom: 6px; }
.fly-rules dd { margin: 0; font-size: 15px; color: var(--muted); max-width: 62ch; }

/* ------------------------------------------------------------------- meter */

.band-meter { background: linear-gradient(180deg, rgba(255, 210, 74, .045), transparent 55%); }
.meterbox {
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel);
  padding: 24px 26px 20px;
}
.meter-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.meter-total { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.meter-total b { font-size: 46px; line-height: 1; color: var(--gold); text-shadow: 0 0 22px rgba(255, 210, 74, .35); }
.meter-total span { font: 600 11px var(--ui); letter-spacing: .1em; color: var(--muted); }
.meter-stage { margin: 0; display: flex; align-items: baseline; gap: 8px; font: 600 11px var(--ui); letter-spacing: .1em; color: var(--muted); }
.meter-stage b { font-size: 24px; color: var(--ink-hi); }

.meter-track {
  position: relative; height: 16px; border: 1px solid var(--line); border-radius: 2px; margin: 26px 0 0;
  background:
    repeating-linear-gradient(135deg, rgba(122, 136, 152, .07) 0 2px, transparent 2px 8px),
    #0a0d15;
}
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: linear-gradient(90deg, rgba(255, 210, 74, .55), var(--gold)); transition: width .6s ease; }
.meter-marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.meter-marks li { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--line-2); }
.meter-marks li.done { background: var(--gold); box-shadow: 0 0 8px rgba(255, 210, 74, .6); }
.meter-marks li span {
  position: absolute; top: 22px; left: 0; transform: translateX(-50%);
  font: 600 10.5px var(--ui); letter-spacing: .05em; color: var(--muted); white-space: nowrap;
}
.meter-marks li.done span { color: var(--gold); }
/* the five published marks, spelled out — the bar alone does not say what a
   stage IS, and a dormant bar says nothing at all */
.stages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stages li {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--void-2);
  padding: 10px 12px;
}
.stages li.done { border-color: rgba(255, 210, 74, .55); background: rgba(255, 210, 74, .06); }
.stages li.next { border-color: rgba(74, 240, 255, .45); }
.stages .s-k { display: block; font: 600 11px var(--ui); letter-spacing: .1em; color: var(--muted); }
.stages li.done .s-k { color: var(--gold); }
.stages li.next .s-k { color: var(--cyan); }
.stages .s-v { display: block; margin-top: 4px; font-weight: 700; font-size: 15px; color: var(--ink-hi); font-variant-numeric: tabular-nums; }

.meter-next { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.meter-next b { color: var(--ink-hi); }

/* ------------------------------------------------------------- chip grids */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 14px; margin-top: 22px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  padding: 12px; text-align: center; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: rgba(74, 240, 255, .45); transform: translateY(-2px); }
.card-art {
  position: relative; width: 128px; height: 128px; margin: 0 auto 10px;
  background: #04050a; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.card-art img { width: 128px; height: 128px; image-rendering: pixelated; }
.card-art.empty::after {
  content: "NO ART HOST"; font: 600 10px var(--ui); letter-spacing: .08em; color: #39424f;
}
.card-id { margin: 0; font: 600 12px var(--ui); color: var(--ink-hi); }
.card-state { margin: 6px 0 0; font: 600 10.5px var(--ui); letter-spacing: .07em; color: var(--cyan); }
.card-mile { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.card-tier {
  display: inline-block; margin-top: 8px; padding: 3px 7px;
  font: 600 10px var(--ui); letter-spacing: .09em; border: 1px solid var(--line-2); color: var(--muted);
}
.card-tier.t-R { color: var(--cyan); border-color: rgba(74, 240, 255, .4); }
.card-tier.t-L { color: var(--violet); border-color: rgba(176, 106, 255, .5); }
.card-tier.t-U { color: var(--green); border-color: rgba(160, 255, 176, .3); }

.band-leg { background: linear-gradient(180deg, rgba(176, 106, 255, .05), transparent 55%); }
.grid-leg .card-name { margin: 7px 0 0; font: 600 11.5px var(--ui); letter-spacing: .05em; color: var(--violet); }
.grid-leg .card-traits { margin: 7px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }

/* ----------------------------------------------------------------- evolved
   Live off the chain, so it is tinted green — the one colour on this page that
   already means "the chain answered" (the LED, the minted counter, the OK
   state dot). Everything else here is the existing card system unchanged. */

.band-evolved { background: linear-gradient(180deg, rgba(70, 255, 160, .045), transparent 55%); }
.evo-sum { margin-bottom: 6px; max-width: 78ch; color: var(--ink); font-variant-numeric: tabular-nums; }
.evo-when {
  margin: 0 0 4px; font: 600 10.5px var(--ui); letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums;
  min-height: 15px;   /* reserved, so the grid does not jump when it fills in */
}
.evo-more { margin: 18px 0 0; }
.grid-evo { margin-top: 18px; }
.grid-evo .card-state { color: var(--green-hot); }

/* the named ten, as a live strip rather than a second gallery of them */
.evo-ten { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.tenrow {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px;
}
.ten { text-align: center; }
.ten-art {
  position: relative; width: 64px; height: 64px; margin: 0 auto 8px;
  background: #04050a; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ten-art img { width: 64px; height: 64px; image-rendering: pixelated; }
.ten-art.empty::after { content: "—"; color: #39424f; font-size: 12px; }
.ten-nm { margin: 0; font: 600 10px/1.3 var(--ui); letter-spacing: .04em; color: var(--violet); }
.ten-st { margin: 4px 0 0; font: 600 9.5px var(--ui); letter-spacing: .06em; color: var(--green-hot); }
.ten-mi { margin: 3px 0 0; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* the ladder legend, set like the mint panel's rule line */
.evo-ladder {
  margin: 30px 0 0; font: 600 11.5px/1.8 var(--ui); letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.evo-ladder b { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; }
.evo-ladder .sep { margin: 0 7px; color: var(--line-2); }
.evo-ladder .rung { white-space: nowrap; }

/* ------------------------------------------------------------------ rarity */

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.slot { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 16px 16px 10px; }
.slot h3 { margin: 0 0 12px; font: 600 11.5px var(--ui); letter-spacing: .08em; color: var(--cyan); }
.slot ol { list-style: none; margin: 0; padding: 0; }
.slot li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.slot li + li { border-top: 1px solid rgba(28, 34, 49, .7); }
.slot .v { color: var(--ink); }
.slot .p { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.slot .rail { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(74, 240, 255, .28); }

/* ---------------------------------------------------------------- honesty */

.band-honest { background: linear-gradient(180deg, rgba(255, 58, 106, .04), transparent 55%); }
.honest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.honest li {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); padding: 16px 18px; font-size: 15px; color: var(--muted);
}
.honest b { display: block; margin-bottom: 5px; color: var(--ink-hi); font-weight: 700; }

/* ----------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--line); background: var(--void-2); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--pad) 44px; }
.foot-brand { margin: 0 0 14px; font-size: 22px; color: var(--ink-hi); }
.foot-links { margin: 0 0 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.foot-link {
  font: 600 11px var(--ui); letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 9px 12px; text-decoration: none;
}
a.foot-link:hover { color: var(--cyan); border-color: var(--cyan); }
.foot-link.off { opacity: .5; }
.foot-small { margin: 0; font-size: 12.5px; line-height: 1.7; color: #5d6a7a; max-width: 82ch; }

.noscript { padding: 20px var(--pad); color: var(--gold); font-size: 14px; }

/* ================================================================ RESPONSIVE */

@media (max-width: 1040px) {
  .topnav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .fly { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  :root { --pad: 16px; }
  /* The sold-out card and the showcase must be visible without scrolling on a
     phone, so the hero's children become grid items in their own right and the
     card is ordered up between the first paragraph and the rest of the copy. */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 34px; }
  .hero-copy { display: contents; }
  .eyebrow { order: 1; margin-bottom: 12px; }
  .hero-h1 { order: 2; margin-bottom: 16px; }
  .lede { order: 3; margin-bottom: 20px; }
  .hero-side { order: 4; margin-bottom: 26px; }
  .showcase { padding: 12px; gap: 12px; }
  .lede-2 { order: 5; }
  .hero-rules { order: 6; margin-top: 18px; }
  .hero-cta { order: 7; }

  .band-in { padding: 46px var(--pad); }
  .howto, .honest { grid-template-columns: 1fr; }
  .fly { grid-template-columns: 1fr; gap: 26px; }
  .slots { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .br-d { display: none; }
  .meter-total b { font-size: 38px; }
}

@media (max-width: 620px) {
  .strip { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .strip .art, .strip .art img { width: 100%; height: auto; aspect-ratio: 1; max-width: 64px; }
  .strip .art { max-width: 64px; }
  .strip .sy { display: none; }
  .strip .nm { font-size: 8px; letter-spacing: 0; }
  .strip .th { font-size: 8px; }
  .strip .arrow { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-art, .card-art img { width: 100%; height: auto; aspect-ratio: 1; max-width: 128px; }
  .card { padding: 10px; }
  .ten-art, .ten-art img { width: 100%; height: auto; aspect-ratio: 1; max-width: 64px; }
  .ten-nm { font-size: 8.5px; letter-spacing: 0; }
  .ten-st { font-size: 8px; }
  .ten-mi { font-size: 9px; }
  .evo-ladder { font-size: 10.5px; }
  .evo-ladder .sep { margin: 0 4px; }
  .hero-h1 { font-size: clamp(48px, 15vw, 72px); }
  .wm-a, .wm-b { font-size: 16px; }
  .chip { padding: 7px 8px; font-size: 9px; }
  .meter-marks li span { font-size: 8px; }
  .meterbox { padding: 18px 16px 16px; }
}

/* the network chip is what pushed the document past 390 in the first phone
   run — the footer carries the same line, so below a phone it goes. */
@media (max-width: 700px) {
  .topchips .chip-net { display: none; }
}

/* ============================================================ REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .crt-scan { display: none; }
  .wm-b, .led.blink { animation: none; }
  .card:hover { transform: none; }
  * { transition-duration: .01ms !important; }
}

/* A placeholder must not look like a value. At display sizes an em-dash is a
   long solid bar, so wherever a number is still unknown it is also smaller. */
.meter-total b.unknown { font-size: 24px; }
.meter-stage b.unknown { font-size: 15px; }
.sold-count b.unknown { font-size: 16px; }
