/* sol2k
   .md is also MiniDisc. The page is a year-2000 MD deck at night: one
   translucent disc, one glowing display, chrome where a logo would be.
   Everything outside the deck stays dark and quiet so the deck can be loud. */

@font-face {
  font-family: "Anybody";
  src: url("fonts/Anybody-Roman.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anybody";
  src: url("fonts/Anybody-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("fonts/Doto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #070a22;
  --abyss: #03051a;
  --ice: #e8edff;
  --soft: #cfd7f7;
  --haze: #9da8d6;
  --line: rgb(157 168 214 / 0.2);
  --vfd: #63f5e3;
  --lime: #b9ff3d;
  --pink: #ff58c6;
  --blue: #7d8cff;
  --rec: #ff3d57;

  /* Each venue is a disc of its own colour: the lime render, turned. */
  --venue: var(--lime);
  --hue: 0deg;

  --sans: "Anybody", "Eurostile", "Trebuchet MS", system-ui, sans-serif;
  --dots: "Doto", "Courier New", monospace;
  --mono: "Lucida Console", "DejaVu Sans Mono", Consolas, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

[data-venue="meteora"] {
  --venue: var(--pink);
  --hue: 238deg;
}
[data-venue="raydium"] {
  --venue: var(--blue);
  --hue: 150deg;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  /* The launch ring and the tilting deck may reach past the edge; never scroll sideways for them. */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  -webkit-text-size-adjust: 100%;
  background: var(--abyss);
}

body {
  position: relative;
  overflow-x: clip;
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(62rem 36rem at 80% 6%, rgb(99 245 227 / 0.14), transparent 62%),
    radial-gradient(44rem 30rem at 4% 0%, rgb(255 88 198 / 0.11), transparent 60%),
    linear-gradient(180deg, #0b1038 0%, var(--night) 40rem, var(--abyss) 100%) no-repeat;
}

/* A field of tech dots behind the hero, fading out below it. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 56rem;
  background: radial-gradient(rgb(157 168 214 / 0.2) 1px, transparent 1.6px) 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}

/* Two slow lights drifting behind everything. */
body::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60rem;
  background:
    radial-gradient(26rem 18rem at 50% 50%, rgb(125 140 255 / 0.16), transparent 70%) 12% 25% / 60rem 44rem no-repeat,
    radial-gradient(22rem 16rem at 50% 50%, rgb(255 88 198 / 0.1), transparent 70%) 78% 60% / 52rem 40rem no-repeat;
  /* Moving the pictures, not the box, so the page never grows sideways. */
  animation: drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  to {
    background-position: 30% 5%, 58% 85%;
  }
}
body > * {
  position: relative;
  z-index: 1;
}
#burst {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

::selection {
  background: var(--vfd);
  color: var(--abyss);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--vfd);
}

:focus-visible {
  outline: 2px solid var(--vfd);
  outline-offset: 3px;
  border-radius: 4px;
}

code,
pre {
  font-family: var(--mono);
  font-size: 0.88em;
}
p code,
li code,
dd code,
td code {
  color: var(--vfd);
  background: rgb(99 245 227 / 0.09);
  padding: 0.1em 0.38em;
  border-radius: 5px;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.defs {
  position: absolute;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  background: var(--lime);
  color: var(--abyss);
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.skip:focus {
  top: 0.75rem;
}

.wrap {
  position: relative;
  width: min(100% - 2 * var(--gutter), 78rem);
  margin-inline: auto;
}

main > section + section {
  margin-top: clamp(5rem, 10vw, 8rem);
}

/* Chrome: a sky, a hard horizon, a floor. Each line of text gets its own. */
.chrome {
  color: #dfe8ff;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dbe7ff 24%,
    #8fa4dc 45%,
    #232d63 51%,
    #7c92d2 57%,
    #ecf2ff 80%,
    #aebde8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  filter: drop-shadow(0 2px 0 rgb(3 5 26 / 0.9)) drop-shadow(0 0 26px rgb(99 245 227 / 0.28));
}
/* A highlight crosses the headline's chrome once as the page opens. */
h1 .chrome {
  background:
    linear-gradient(105deg, transparent 42%, rgb(255 255 255 / 0.95) 50%, transparent 58%) 220% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #ffffff 0%, #dbe7ff 24%, #8fa4dc 45%, #232d63 51%, #7c92d2 57%, #ecf2ff 80%, #aebde8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 1.5s cubic-bezier(0.3, 0, 0.2, 1) 0.5s both;
}
@keyframes sheen {
  from {
    background-position: 220% 0, 0 0;
  }
  to {
    background-position: -120% 0, 0 0;
  }
}

/* Masthead */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}
.wordmark {
  font: italic 900 1.5rem/1.1 var(--sans);
  font-stretch: 150%;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 0.15em 0.1em;
}
.masthead nav {
  display: flex;
  gap: 0.15rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(58 69 128 / 0.5), rgb(27 33 68 / 0.5));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14);
  font-size: 0.9375rem;
  font-weight: 600;
}
.masthead nav a {
  text-decoration: none;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
}
.masthead nav a:hover {
  color: var(--abyss);
  background: var(--vfd);
}

/* Type */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 900;
  font-style: italic;
  font-stretch: 126%;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem);
  font-weight: 800;
  font-stretch: 130%;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
/* The four-point sparkle is the period's punctuation; it marks each section. */
h2::before {
  content: "";
  flex: none;
  width: 0.62em;
  height: 0.62em;
  background: var(--vfd);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.8 11.1 12 12-7.2.9-11.1 4.8-12 12-.9-7.2-4.8-11.1-12-12 7.2-.9 11.1-4.8 12-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.8 11.1 12 12-7.2.9-11.1 4.8-12 12-.9-7.2-4.8-11.1-12-12 7.2-.9 11.1-4.8 12-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 8px var(--vfd));
}

h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.25;
}

.intro {
  max-width: 40rem;
  margin-top: 1.1rem;
  color: var(--soft);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}
.pitch {
  position: relative;
}

.spark {
  position: absolute;
  fill: #f2f6ff;
  filter: drop-shadow(0 0 10px var(--vfd));
  pointer-events: none;
}
.spark-a {
  width: 2.1rem;
  height: 2.1rem;
  left: -0.4rem;
  top: -3rem;
}
.spark-b {
  width: 1.1rem;
  height: 1.1rem;
  left: 3rem;
  top: -1.4rem;
  fill: var(--pink);
  filter: drop-shadow(0 0 8px var(--pink));
}

.lede {
  max-width: 33rem;
  margin-top: 1.6rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: #d5dcfa;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* A gel button: the lit, wet-looking plastic every gadget of the era had. */
.gel {
  position: relative;
  display: inline-block;
  padding: 0.8rem 2.1rem;
  border-radius: 999px;
  color: #0c1a00;
  font-weight: 800;
  font-stretch: 125%;
  text-decoration: none;
  background: linear-gradient(180deg, #e9ffb0 0%, var(--lime) 46%, #7fd200 54%, #aef22e 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    inset 0 -4px 8px rgb(20 70 0 / 0.35),
    0 0 0 1px #0c1a00,
    0 10px 28px -8px rgb(185 255 61 / 0.6);
}
.gel::before {
  content: "";
  position: absolute;
  inset: 3px 12px 54% 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.05));
  pointer-events: none;
}
.gel:hover {
  color: #0c1a00;
  filter: brightness(1.08);
}
.gel:active {
  translate: 0 1px;
}
.plain {
  font-weight: 600;
}

/* The rig: deck on top, the file docked under it, like stacked separates. */

.rig {
  /* Set from the pointer. Only the disc and the light on the glass follow
     them; the controls stay put so they are easy to hit and to read. */
  --rx: 0;
  --ry: 0;
  --tilt: 0;
  display: grid;
  gap: 0.75rem;
  justify-self: end;
  width: 100%;
  max-width: 44rem;
}

.deck {
  padding: 0.8rem 1rem 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.16), transparent 16%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.028) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2c3569 0%, #161b3d 58%, #0e1230 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    inset 0 -2px 0 rgb(0 0 0 / 0.55),
    0 0 0 1px #03051a,
    0 34px 60px -24px rgb(0 0 0 / 0.85),
    0 0 90px -20px rgb(99 245 227 / 0.3);
}

.deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

/* Panel legends are small capitals because that is how hardware is lettered. */
.legend,
.lamp,
.flag,
.readout dt,
.key-hint,
.file-tip {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 700;
  font-stretch: 140%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legend {
  color: var(--haze);
  white-space: nowrap;
}
.legend b {
  color: var(--ice);
  font-weight: 900;
}

.lamps {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lamp {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: var(--haze);
}
.lamp::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a3158;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0.6);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
.lamp-power::before {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
.rig:is([data-state="running"], [data-state="passed"], [data-state="launched"]) .lamp-sim::before {
  background: var(--vfd);
  box-shadow: 0 0 8px var(--vfd);
}
.rig:is([data-state="passed"], [data-state="launched"]) .lamp-armed::before {
  background: var(--rec);
  box-shadow: 0 0 8px var(--rec);
}

.deck-face {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

/* The well the disc sits in. */
.well {
  position: relative;
  perspective: 900px;
  display: grid;
  place-items: center;
  padding: 0.9rem;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 50% 0%, #0c1034 0%, #03051a 70%);
  box-shadow:
    inset 0 3px 10px rgb(0 0 0 / 0.85),
    inset 0 0 0 1px rgb(0 0 0 / 0.7),
    0 1px 0 rgb(255 255 255 / 0.12);
}

.disc,
.mini {
  position: relative;
  container-type: inline-size;
  width: 100%;
}
.disc {
  rotate: -3deg;
  transform: rotateX(calc(var(--ry) * -15deg)) rotateY(calc(var(--rx) * 17deg)) translateZ(34px);
}
.disc-body {
  position: relative;
  /* The disc drops into the well as the page opens. */
  animation: disc-in 1.05s cubic-bezier(0.2, 1.25, 0.35, 1) 0.2s both;
}
@keyframes disc-in {
  from {
    opacity: 0;
    translate: 0 -70%;
    rotate: -26deg;
    scale: 1.2;
  }
  35% {
    opacity: 1;
  }
}
.disc-body.is-nod {
  animation: nod 0.55s ease-out;
}
@keyframes nod {
  40% {
    scale: 1.06;
    rotate: 2deg;
  }
}
.disc-body.is-flying {
  animation: fly 1.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fly {
  45% {
    transform: rotateY(520deg) scale(1.22) translateZ(70px);
  }
  to {
    transform: rotateY(720deg);
  }
}
.disc img,
.mini img {
  display: block;
  width: 100%;
  height: auto;
  filter: hue-rotate(var(--hue)) drop-shadow(calc(var(--rx, 0) * -16px) calc(12px + var(--ry, 0) * -12px) 18px rgb(0 0 0 / 0.6));
  transition: filter 0.5s ease;
}

/* Holographic foil: a rainbow sheet and a glare that slide across the
   cartridge as it tilts, the way a real disc catches the light. */
.holo {
  position: absolute;
  inset: 0;
  -webkit-mask: url("assets/minidisc.webp") center / 100% 100% no-repeat;
  mask: url("assets/minidisc.webp") center / 100% 100% no-repeat;
  background:
    radial-gradient(circle at calc(50% + var(--rx, 0) * 42%) calc(42% + var(--ry, 0) * 42%), rgb(255 255 255 / 0.75), transparent 36%),
    repeating-linear-gradient(calc(118deg + var(--rx, 0) * 34deg), #ff5ad1 0%, #ffe45c 10%, #5cffb1 20%, #5cc8ff 30%, #b98cff 40%, #ff5ad1 50%);
  background-size: 100% 100%, 240% 240%;
  background-position: 0 0, calc(50% + var(--rx, 0) * 70%) calc(50% + var(--ry, 0) * 70%);
  mix-blend-mode: color-dodge;
  opacity: calc(0.16 + var(--tilt, 0) * 0.46);
  pointer-events: none;
}

/* A ring that leaves the disc when something happens to it. */
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px solid var(--venue);
  box-shadow:
    0 0 24px var(--venue),
    inset 0 0 24px var(--venue);
  opacity: 0;
  pointer-events: none;
}
.ring.is-pulse {
  animation: ring 0.9s ease-out;
}
.ring.is-blast {
  animation: ring 1.2s ease-out;
  --reach: 5.5;
}
@keyframes ring {
  from {
    opacity: 0.95;
    scale: 0.5;
  }
  to {
    opacity: 0;
    scale: var(--reach, 2.2);
  }
}

/* A streak of light that turns on the platter while the deck is working. */
.shimmer {
  position: absolute;
  inset: 0;
  clip-path: url(#over-platter);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.shimmer::before {
  content: "";
  position: absolute;
  left: 49.2%;
  top: 48.1%;
  width: 87%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgb(255 255 255 / 0.7) 14deg,
    transparent 42deg,
    transparent 118deg,
    rgb(170 255 248 / 0.55) 136deg,
    transparent 166deg,
    transparent 238deg,
    rgb(255 200 250 / 0.55) 256deg,
    transparent 288deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 40%);
  mask-image: radial-gradient(circle, transparent 38%, #000 40%);
  mix-blend-mode: screen;
  animation: spin var(--spin, 1s) linear infinite;
  animation-play-state: paused;
}
.rig[data-state="running"] .shimmer {
  opacity: 1;
  --spin: 0.75s;
}
.rig[data-state="passed"] .shimmer {
  opacity: 0.75;
  --spin: 5s;
}
.rig[data-state="launched"] .shimmer {
  opacity: 1;
  --spin: 2s;
}
.rig:not([data-state="idle"]) .shimmer::before {
  animation-play-state: running;
}
@keyframes spin {
  to {
    rotate: 1turn;
  }
}

/* What is printed on the disc's label comes from the file. */
.disc-label {
  position: absolute;
  left: 8.9%;
  top: 7.2%;
  width: 82.3%;
  height: 25.4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4cqw 0 6.5cqw;
  color: #0a0f2e;
  overflow: hidden;
  border-left: 2.6cqw solid var(--venue);
  border-radius: 1.2cqw;
  transition: border-color 0.5s ease;
}
.disc-symbol {
  font: italic 900 1em/1 var(--sans);
  font-stretch: 122%;
  font-size: min(11.5cqw, 76cqw / var(--chars, 5));
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.disc-name {
  margin-top: 0.9cqw;
  font: 600 4.4cqw/1.15 var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.disc-file {
  position: absolute;
  right: 2.6cqw;
  top: 2.2cqw;
  font: 800 2.9cqw/1 var(--sans);
  font-stretch: 130%;
  letter-spacing: 0.06em;
  color: #5d6690;
}

/* The display: a vacuum-fluorescent tube behind smoked glass. */
.glass {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.9rem 1rem 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  color: var(--vfd);
  font-family: var(--dots);
  font-weight: 800;
  text-shadow:
    0 0 6px rgb(99 245 227 / 0.8),
    0 0 18px rgb(99 245 227 / 0.4);
  background:
    radial-gradient(rgb(99 245 227 / 0.07) 0.6px, transparent 1px) 0 0 / 4px 4px,
    linear-gradient(180deg, #06181a, #020a0d);
  box-shadow:
    inset 0 2px 12px rgb(0 0 0 / 0.9),
    inset 0 0 0 1px rgb(0 0 0 / 0.8),
    0 1px 0 rgb(255 255 255 / 0.12);
}
.glass > * {
  transition: opacity 0.35s ease;
}
.rig[data-boot="off"] .glass > * {
  opacity: 0;
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgb(255 255 255 / 0.1) 0 22%, transparent 22.4%);
  translate: calc(var(--rx) * 14%) 0;
  scale: 1.4 1;
  pointer-events: none;
}
.glass dl,
.glass dd,
.glass ul {
  margin: 0;
  padding: 0;
}

/* Annunciators sit above the readout, as they do on a real tube. */
.vfd-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.vfd-symbol {
  font-size: min(2.6rem, 150cqw / var(--chars, 5));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
}

.flags {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}
.flag {
  padding: 0.25em 0.55em;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.16;
  text-shadow: none;
  transition: opacity 0.2s;
}
.flag-dry {
  opacity: 1;
  box-shadow: 0 0 10px rgb(99 245 227 / 0.35);
}
.flag-live {
  color: var(--rec);
}
.rig[data-state="launched"] .flag-dry {
  opacity: 0.16;
  box-shadow: none;
}
.rig[data-state="launched"] .flag-live {
  opacity: 1;
  box-shadow: 0 0 12px rgb(255 61 87 / 0.6);
}

.vfd-title {
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.3;
}
.vfd-title p {
  display: inline-block;
}
/* A title too long for the tube scrolls to its end and back, like a car stereo. */
.vfd-title.is-long p {
  animation: marquee 9s ease-in-out infinite alternate;
}
@keyframes marquee {
  0%,
  14% {
    translate: 0 0;
  }
  86%,
  100% {
    translate: calc(var(--strip, 100%) - 100%) 0;
  }
}

.readout {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 0.75rem;
}
.readout dt {
  margin-bottom: 0.2rem;
  opacity: 0.6;
  text-shadow: none;
  white-space: nowrap;
}
.readout dd {
  font-size: min(1rem, 4.5cqw);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

/* The bonding curve, drawn the way a deck draws a spectrum. */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 3.9rem;
}
.bars i {
  flex: 1 1 0;
  height: calc(var(--h, 0) * 1%);
  min-height: 3px;
  background: repeating-linear-gradient(to top, var(--vfd) 0 3px, transparent 3px 5px);
  filter: drop-shadow(0 0 4px rgb(99 245 227 / 0.7));
  transition: height 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
  transition-delay: calc(var(--i) * 22ms);
}
.rig[data-state="running"] .bars i {
  transition-duration: 0.12s;
  transition-delay: 0s;
}
.axis {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font: 700 min(0.5625rem, 2.6cqw) / 1.2 var(--sans);
  font-stretch: 130%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: none;
  opacity: 0.6;
  white-space: nowrap;
}

.vfd-status {
  min-height: 4.25em;
  padding-top: 0.55rem;
  border-top: 1px dashed rgb(99 245 227 / 0.3);
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.22;
}
.rig[data-state="launched"] .vfd-status {
  color: #ff8d9d;
  text-shadow: 0 0 8px rgb(255 61 87 / 0.7);
}

/* Transport keys */

.deck-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.8rem;
  margin-top: 0.9rem;
}
.key {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.62rem 1.35rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #0a0f2e;
  font: 800 0.9375rem/1 var(--sans);
  font-stretch: 125%;
  background: linear-gradient(180deg, #f6f9ff 0%, #bcc8ea 46%, #7c8abd 54%, #cdd7f4 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a,
    0 3px 0 #03051a,
    0 8px 16px rgb(0 0 0 / 0.5);
}
.key:hover:not(:disabled) {
  filter: brightness(1.08);
}
.key:active:not(:disabled) {
  translate: 0 2px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a,
    0 1px 0 #03051a;
}
.key-play .glyph {
  border-left: 0.72em solid currentColor;
  border-block: 0.44em solid transparent;
}
.key-rec .glyph {
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  background: currentColor;
}
.key-rec:disabled {
  cursor: not-allowed;
  color: #59628f;
  background: linear-gradient(180deg, #2c3463, #1a1f45);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 0 0 1px #03051a,
    0 3px 0 #03051a;
}
.key-rec:not(:disabled) {
  color: #fff;
  background: linear-gradient(180deg, #ff9aa8 0%, var(--rec) 46%, #c40f2c 54%, #ff5a70 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.7),
    0 0 0 1px #03051a,
    0 3px 0 #03051a,
    0 0 26px rgb(255 61 87 / 0.65);
}
.key-hint {
  color: var(--haze);
}

/* The file, docked under the deck. */

.file {
  border-radius: 16px;
  overflow: hidden;
  font: 400 0.9375rem/1.85 var(--mono);
  background: var(--abyss);
  box-shadow:
    0 0 0 1px rgb(157 168 214 / 0.28),
    0 24px 40px -24px rgb(0 0 0 / 0.8);
}
.file-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1rem;
  font: 800 0.875rem/1.4 var(--sans);
  font-stretch: 120%;
  background: linear-gradient(180deg, #3a4580, #1e2550);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.file-tip {
  color: var(--lime);
}
.file-body {
  padding: 0.75rem 1rem 0.9rem;
}
.file-body fieldset {
  margin: 0;
}

.fence,
.k,
.c,
.dim {
  color: #7f8abb;
}
.row {
  display: flex;
  align-items: baseline;
  gap: 1ch;
  min-width: 0;
}
.written {
  color: var(--lime);
}
.written .k,
.written .c {
  color: inherit;
  opacity: 0.75;
}

.file input[type="text"],
.file input[type="number"],
.file textarea {
  font: inherit;
  color: var(--ice);
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  caret-color: var(--vfd);
  background: transparent linear-gradient(to right, #7f8abb 1px, transparent 1px) repeat-x 0 calc(100% - 0.28em) / 4px 1px;
}
.file input[type="text"] {
  flex: 1 1 auto;
  width: 100%;
}
.file input[type="number"] {
  width: 6ch;
  -moz-appearance: textfield;
}
.file input[type="number"]::-webkit-inner-spin-button {
  display: none;
}
.file input:focus-visible,
.file textarea:focus-visible {
  outline: none;
  background-image: linear-gradient(var(--vfd), var(--vfd));
  background-size: 100% 2px;
}
.file textarea {
  display: block;
  width: 100%;
  resize: none;
  line-height: 1.55;
  margin-top: 0.2rem;
  background-image: none;
  field-sizing: content;
  min-height: 3.1em;
}
.file textarea:focus-visible {
  background-image: none;
  box-shadow: -0.6rem 0 0 -0.45rem var(--vfd);
}

.pick {
  border: 0;
  padding: 0;
  min-width: 0;
  flex-wrap: wrap;
}
.pick legend {
  float: left;
  padding: 0;
  margin-right: 1ch;
}
.pick label {
  cursor: pointer;
}
.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pick span {
  color: #7f8abb;
  padding: 0.12em 0.5em;
  border-radius: 999px;
}
.pick label:hover span {
  color: var(--ice);
}
.pick input:checked + span {
  color: var(--abyss);
  font-weight: 700;
  background: var(--venue);
  box-shadow: 0 0 14px -2px var(--venue);
}
.pick input:focus-visible + span {
  outline: 2px solid var(--vfd);
  outline-offset: 2px;
}

.wire {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  color: var(--haze);
  overflow-wrap: anywhere;
}

/* Track list: an ordered list, because the order is the point. */

.tracks {
  list-style: none;
  counter-reset: track;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 52rem;
}
.tracks li {
  counter-increment: track;
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.tracks li:last-child {
  border-bottom: 1px solid var(--line);
}
.tracks li::before {
  content: counter(track, decimal-leading-zero);
  grid-row: span 3;
  font: 900 1.9rem/1 var(--dots);
  color: var(--vfd);
  text-shadow: 0 0 10px rgb(99 245 227 / 0.6);
}
.tracks li > * {
  grid-column: 2;
  min-width: 0;
}
.tracks p {
  margin-top: 0.3rem;
  max-width: 40rem;
  color: var(--soft);
}
.tracks q {
  quotes: none;
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--vfd);
}

.term {
  margin: 0;
  padding: 1rem 1.2rem;
  color: #c9fff7;
  font-size: 0.8125rem;
  line-height: 1.65;
  overflow-x: auto;
  border-radius: 12px;
  background: linear-gradient(180deg, #051416, #020a0d);
  box-shadow:
    inset 0 0 0 1px rgb(99 245 227 / 0.22),
    inset 0 0 40px rgb(99 245 227 / 0.05);
}
.term code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 1em;
}
.tracks .term {
  margin-top: 0.9rem;
}

/* Venues: three discs */

.venues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 5.5rem;
}
.venues + .intro {
  margin-top: 2rem;
}
.venue {
  position: relative;
  padding: 6.25rem 1.5rem 1.6rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgb(58 69 128 / 0.42), rgb(20 25 56 / 0.5));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    inset 0 0 0 1px rgb(157 168 214 / 0.16),
    0 -2px 0 0 var(--venue),
    0 -18px 40px -22px var(--venue);
}
.venue {
  --rx: 0;
  --ry: 0;
  --tilt: 0;
  perspective: 700px;
}
.mini {
  position: absolute;
  left: 1.25rem;
  top: -4.25rem;
  width: 8.75rem;
  rotate: -7deg;
  transform: rotateX(calc(var(--ry) * -22deg)) rotateY(calc(var(--rx) * 26deg)) translateZ(calc(var(--tilt) * 26px)) scale(calc(1 + var(--tilt) * 0.12));
}
.venue[data-venue="meteora"] .mini {
  rotate: 6deg;
}
.venue[data-venue="raydium"] .mini {
  rotate: -4deg;
}
.mini .disc-symbol {
  font-size: 9.6cqw;
}
.mini .disc-name {
  font-size: 5cqw;
}
.tagline {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--venue);
}
.venue ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.venue li {
  position: relative;
  padding-left: 1.3rem;
  margin-top: 0.5rem;
  font-size: 0.9875rem;
  color: #d5dcfa;
}
.venue li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--venue);
  box-shadow: 0 0 8px var(--venue);
}
.needs {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--haze);
}

/* After launch: what you say, and what runs */

.asks {
  max-width: 52rem;
  margin: 2rem 0 0;
}
.asks div {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 0.4rem 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.asks div:last-child {
  border-bottom: 1px solid var(--line);
}
.asks dt {
  font-size: 1.1875rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 112%;
  line-height: 1.3;
  color: var(--vfd);
}
.asks dd {
  margin: 0;
  color: var(--soft);
}

/* Tools */

.tools {
  width: 100%;
  max-width: 60rem;
  border-collapse: collapse;
  margin-top: 1.75rem;
}
.tools + .tools {
  margin-top: 3rem;
}
.tools caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.35rem;
  font-size: 1.1875rem;
  font-weight: 800;
  font-stretch: 118%;
}
.tools th,
.tools td {
  text-align: left;
  vertical-align: baseline;
  padding: 0.8rem 1.5rem 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.tools thead th {
  font-size: 0.8125rem;
  font-weight: 700;
  font-stretch: 125%;
  color: var(--haze);
  border-bottom-color: rgb(157 168 214 / 0.45);
}
.tools tbody th {
  width: 15.5rem;
  font-weight: 400;
  white-space: nowrap;
}
.tools tbody th code {
  background: none;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--vfd);
}
.tools td {
  color: #d5dcfa;
}
.tools td:last-child,
.tools thead th:last-child {
  width: 8.5rem;
  white-space: nowrap;
  padding-right: 0;
}

.led {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.9375rem;
  color: var(--haze);
}
.led::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3158;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0.6);
}
.led-hot {
  color: var(--ice);
}
.led-hot::before {
  background: var(--rec);
  box-shadow: 0 0 9px var(--rec);
}

/* Safety: a front panel with its switches already set */

.panel {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0.85rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.12), transparent 14%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.028) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2c3569, #141938);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 0 0 1px #03051a,
    0 30px 50px -28px rgb(0 0 0 / 0.85);
}
.panel li {
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b0f30, #060920);
  box-shadow: inset 0 2px 8px rgb(0 0 0 / 0.7);
}
.panel h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}
.state {
  font: 900 1.25rem/1 var(--dots);
  color: var(--vfd);
  text-shadow: 0 0 8px rgb(99 245 227 / 0.6);
  white-space: nowrap;
}
.panel p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #c5cef2;
}
.switch {
  position: relative;
  display: block;
  width: 3.4rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #050719;
  box-shadow:
    inset 0 2px 5px rgb(0 0 0 / 0.9),
    0 1px 0 rgb(255 255 255 / 0.14);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(1.7rem - 6px);
  height: calc(1.7rem - 6px);
  border-radius: 50%;
  background: linear-gradient(180deg, #f6f9ff, #8f9cc9);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.6);
}
.switch.is-on {
  background: linear-gradient(180deg, #5c8a00, var(--lime));
  box-shadow:
    inset 0 2px 5px rgb(0 0 0 / 0.5),
    0 0 16px -2px var(--lime);
}
.switch.is-on::after {
  left: auto;
  right: 3px;
}
.dial {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  font: 900 1.05rem/1.15 var(--dots);
  color: var(--vfd);
  text-shadow: 0 0 8px rgb(99 245 227 / 0.7);
  background: linear-gradient(180deg, #06181a, #020a0d);
  box-shadow:
    inset 0 2px 6px rgb(0 0 0 / 0.9),
    0 1px 0 rgb(255 255 255 / 0.14);
}
.caveat {
  margin-top: 2rem;
}

/* Connect */

.snippet {
  position: relative;
  max-width: 48rem;
  margin-top: 1.25rem;
}
.snippet-name {
  margin-bottom: 0.45rem;
  font-weight: 800;
  font-stretch: 118%;
}
.snippet .term {
  padding-right: 5.5rem;
}
.copy {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.4rem 0.85rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #0a0f2e;
  font: 800 0.75rem/1 var(--sans);
  font-stretch: 120%;
  background: linear-gradient(180deg, #f6f9ff 0%, #bcc8ea 46%, #7c8abd 54%, #cdd7f4 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a;
}
.copy:hover {
  filter: brightness(1.1);
}
.tabs {
  display: inline-flex;
  gap: 0.2rem;
  margin: 2.25rem 0 0.75rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(27 33 68 / 0.6);
}
.tabs button {
  padding: 0.4rem 1.05rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--haze);
  font: 700 0.9375rem/1.3 var(--sans);
  background: none;
}
.tabs button:hover {
  color: var(--ice);
}
.tabs button[aria-selected="true"] {
  color: var(--abyss);
  background: var(--vfd);
  box-shadow: 0 0 16px -2px var(--vfd);
}
.snippet[role="tabpanel"],
[role="tabpanel"] > .snippet {
  margin-top: 0;
}
#connect [role="tabpanel"] + .intro {
  margin-top: 1.5rem;
}
.address .term {
  font-size: clamp(0.875rem, 3.6vw, 1.0625rem);
  color: var(--vfd);
}
[role="tabpanel"] > .clicks {
  max-width: 48rem;
}
@media (max-width: 52rem) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 22px;
  }
}
@media (max-width: 34rem) {
  .tabs {
    grid-template-columns: 1fr 1fr;
  }
  /* A one-line command wraps here, with Copy underneath it instead of on top. */
  .snippet .term.command {
    padding-right: 1.2rem;
    padding-bottom: 3rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}
.clicks {
  margin: 0;
  padding: 1.1rem 1.25rem 1.1rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(3 5 26 / 0.55);
}
.clicks li {
  padding-left: 0.35rem;
}
.clicks li + li {
  margin-top: 0.45rem;
}
.clicks li::marker {
  color: var(--vfd);
  font-weight: 800;
}
.aside {
  max-width: 44rem;
  margin-top: 0.9rem;
  color: var(--haze);
  font-size: 0.9375rem;
}

/* Colophon */

.colophon {
  margin-top: clamp(5rem, 10vw, 8rem);
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--haze);
}
.colophon p {
  max-width: 44rem;
  margin-bottom: 0.55rem;
}

/* Three 88×31 buttons, the footer furniture of every site of the time. */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.badge {
  display: grid;
  place-items: center;
  width: 88px;
  height: 31px;
  font: 600 0.625rem/1 var(--sans);
  font-stretch: 110%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid;
  border-color: rgb(255 255 255 / 0.55) rgb(0 0 0 / 0.6) rgb(0 0 0 / 0.6) rgb(255 255 255 / 0.55);
}
.badge b {
  font-weight: 900;
}
.badge-a {
  color: var(--abyss);
  background: linear-gradient(180deg, #a8fff4, var(--vfd));
}
.badge-b {
  color: var(--abyss);
  background: linear-gradient(180deg, #e9ffb0, var(--lime));
}
.badge-c {
  color: #fff;
  background: linear-gradient(180deg, #ff8fd8, #d12a98);
}

/* Narrower screens */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding-top: 3.75rem;
  }
  .rig {
    justify-self: start;
  }
  .panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .venues {
    grid-template-columns: minmax(0, 1fr);
    gap: 5.5rem;
    max-width: 40rem;
  }
}

@media (max-width: 760px) {
  .masthead nav {
    display: none;
  }
  .asks div {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The table becomes a list of tools, one per block. */
  .tools thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .tools,
  .tools tbody,
  .tools tr,
  .tools th,
  .tools td,
  .tools caption {
    display: block;
  }
  .tools tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .tools th,
  .tools td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .tools tbody th,
  .tools td:last-child {
    width: auto;
  }
  .tools td:last-child {
    margin-top: 0.35rem;
  }
}

@media (max-width: 560px) {
  .deck-face {
    grid-template-columns: minmax(0, 1fr);
  }
  .well {
    padding: 1rem 22%;
  }
  .panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .tracks li {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }
  .tracks li::before {
    font-size: 1.5rem;
  }
  .lamps {
    gap: 0.7rem;
  }
  .lamp-power {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shimmer::before,
  .vfd-title.is-long p,
  .disc-body,
  .disc-body.is-nod,
  .disc-body.is-flying,
  .ring,
  h1 .chrome,
  body::after {
    animation: none;
  }
  .bars i,
  .disc img,
  .mini img {
    transition: none;
  }
}

/* ==========================================================================
   More Y2K: the things a site and a gadget of the year 2000 were covered in.
   Chrome objects, a sticker, a stick remote, an instant
   message window, playlist windows, hit counters, and a sparkle trail.
   ========================================================================== */

::selection {
  color: #fff;
  background: #d12a98;
}

/* An Aqua scrollbar where the browser lets a page draw one. */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-track {
  background: repeating-linear-gradient(0deg, #0b0f2e 0 2px, #070a22 2px 4px);
}
::-webkit-scrollbar-thumb {
  border: 3px solid #070a22;
  border-radius: 999px;
  background: linear-gradient(90deg, #e6edff, #8194ee 45%, #4856b6 55%, #a3b2ff);
}
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: #8194ee #070a22;
  }
}

/* Chrome objects, rendered once and floated around the page. */

.chrome-obj {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: brightness(1.14) saturate(1.1) drop-shadow(0 18px 26px rgb(0 0 0 / 0.55)) drop-shadow(0 0 26px rgb(99 245 227 / 0.24));
  animation: bob 7s ease-in-out infinite alternate;
}
@keyframes bob {
  from {
    translate: 0 -6px;
    rotate: -4deg;
  }
  to {
    translate: 0 8px;
    rotate: 5deg;
  }
}
.hero-star {
  width: 4.75rem;
  left: -1.3rem;
  top: -5rem;
}
.spark-b {
  left: 3.7rem;
  top: -1.7rem;
}

/* A price-tag burst stuck on the corner of the deck. */

.rig {
  position: relative;
}
/* The lamps move over so the sticker does not sit on them. */
.deck-top {
  padding-right: 4.2rem;
}
.sticker {
  position: absolute;
  z-index: 3;
  top: -2.4rem;
  right: -1.7rem;
  display: grid;
  place-items: center;
  width: 6.9rem;
  aspect-ratio: 1;
  margin: 0;
  rotate: 13deg;
  filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.55));
  pointer-events: none;
}
.sticker::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50.00% 0.00%, 58.29% 8.32%, 69.13% 3.81%, 73.61% 14.66%, 85.36% 14.64%, 85.34% 26.39%, 96.19% 30.87%, 91.68% 41.71%, 100.00% 50.00%, 91.68% 58.29%, 96.19% 69.13%, 85.34% 73.61%, 85.36% 85.36%, 73.61% 85.34%, 69.13% 96.19%, 58.29% 91.68%, 50.00% 100.00%, 41.71% 91.68%, 30.87% 96.19%, 26.39% 85.34%, 14.64% 85.36%, 14.66% 73.61%, 3.81% 69.13%, 8.32% 58.29%, 0.00% 50.00%, 8.32% 41.71%, 3.81% 30.87%, 14.66% 26.39%, 14.64% 14.64%, 26.39% 14.66%, 30.87% 3.81%, 41.71% 8.32%);
  background:
    linear-gradient(125deg, rgb(255 255 255 / 0.55) 0%, transparent 38%),
    radial-gradient(circle at 34% 26%, #ffd3f0 0%, #ff58c6 40%, #b9167f 100%);
}
.sticker::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1.5px dashed rgb(255 255 255 / 0.6);
  border-radius: 50%;
}
.sticker span {
  position: relative;
  font: italic 900 0.8125rem/1.02 var(--sans);
  font-stretch: 125%;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 0 #7a0b56;
}
.kana {
  margin-left: 0.7em;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* The steps, with a stick remote that follows them. */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 52rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.tracks li::before {
  transition: color 0.2s, text-shadow 0.2s;
}
.tracks li.is-playing::before {
  color: var(--lime);
  text-shadow: 0 0 12px rgb(185 255 61 / 0.75);
}
.remote {
  position: sticky;
  top: 5.5rem;
  justify-self: center;
  width: 12.5rem;
  margin-top: 6.5rem;
}
.remote-coin {
  z-index: 2;
  width: 8.25rem;
  right: -3.2rem;
  top: -4.9rem;
  animation-duration: 9s;
}
/* Translucent lime plastic, the colour of the disc. */
.remote-body {
  position: relative;
  padding: 3rem 1rem 1.1rem;
  border-radius: 3.2rem 3.2rem 2rem 2rem;
  background:
    linear-gradient(112deg, rgb(255 255 255 / 0.5) 0%, transparent 17% 72%, rgb(255 255 255 / 0.16) 100%),
    radial-gradient(120% 60% at 50% 0%, rgb(233 255 176 / 0.5), transparent 70%),
    linear-gradient(180deg, rgb(200 255 90 / 0.86), rgb(112 196 8 / 0.8));
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.7),
    inset 0 -10px 22px rgb(20 70 0 / 0.45),
    inset 0 0 0 1px rgb(210 255 120 / 0.5),
    0 26px 44px -18px rgb(0 0 0 / 0.8),
    0 0 60px -14px rgb(185 255 61 / 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.remote-loop {
  position: absolute;
  left: 50%;
  top: 0.8rem;
  width: 1.45rem;
  height: 1.45rem;
  translate: -50% 0;
  border-radius: 50%;
  background: #03051a;
  box-shadow:
    0 0 0 3px #c5d0f0,
    0 0 0 4px #03051a,
    inset 0 2px 3px rgb(0 0 0 / 0.9);
}
.remote-lcd {
  padding: 0.7rem 0.75rem 0.75rem;
  border-radius: 10px;
  color: var(--vfd);
  font-family: var(--dots);
  text-shadow: 0 0 8px rgb(99 245 227 / 0.6);
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.28) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #06181a, #020a0d);
  box-shadow:
    inset 0 2px 6px rgb(0 0 0 / 0.9),
    0 1px 0 rgb(255 255 255 / 0.5);
}
.remote-lcd p {
  margin: 0;
}
.lcd-top {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  font-size: 0.75rem;
  font-weight: 800;
}
.lcd-top b {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}
.lcd-title {
  min-height: 2.5em;
  margin-top: 0.4rem !important;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
}
.lcd-segs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-top: 0.55rem !important;
}
.lcd-segs i {
  height: 6px;
  border-radius: 1px;
  background: rgb(99 245 227 / 0.16);
}
.lcd-segs i.is-on {
  background: var(--vfd);
  box-shadow: 0 0 8px var(--vfd);
}
.remote-keys {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.95rem;
}
.remote-keys button {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #c6d1f2 44%, #7f8dc2 56%, #d6defa 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a,
    0 3px 0 #03051a,
    0 7px 10px rgb(0 0 0 / 0.45);
}
.remote-keys button:hover {
  filter: brightness(1.08);
}
.remote-keys button:active {
  translate: 0 2px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a,
    0 1px 0 #03051a;
}
.remote-keys button:disabled {
  cursor: default;
  filter: none;
  opacity: 0.5;
}
.remote-keys button:focus-visible {
  outline: 2px solid #03051a;
  outline-offset: 3px;
}
.remote-keys svg {
  width: 1.15rem;
  fill: #0a0f2e;
}
.remote-mold {
  margin: 0.9rem 0 0;
  text-align: center;
  font: 800 0.625rem/1 var(--sans);
  font-stretch: 125%;
  letter-spacing: 0.14em;
  color: rgb(12 26 0 / 0.72);
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.4);
}
.remote-mold span {
  font-family: system-ui, sans-serif;
  letter-spacing: 0.06em;
}

/* Venue cards pick up the pinstripes of the period's windows. */
.venue {
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgb(58 69 128 / 0.42), rgb(20 25 56 / 0.5));
}

/* After launch: an instant message window. You on the right, the agent on the left. */

.im-stage {
  position: relative;
  margin-top: 2rem;
}
.im {
  max-width: 46rem;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(58 69 128 / 0.42), rgb(20 25 56 / 0.55));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 0 0 1px rgb(157 168 214 / 0.24),
    0 30px 50px -28px #000;
}
.im-bar,
.window .tools caption {
  color: #0a0f2e;
  font-size: 0.9375rem;
  font-weight: 800;
  font-stretch: 118%;
  background: repeating-linear-gradient(0deg, transparent 0 1px, rgb(10 15 46 / 0.08) 1px 2px), linear-gradient(180deg, #f6f9ff 0%, #bcc8ea 47%, #8f9dce 53%, #cdd7f4 100%);
  box-shadow: inset 0 -1px 0 rgb(3 5 26 / 0.5);
}
.im-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
}
.dots {
  display: inline-flex;
  gap: 0.35rem;
}
.dots i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb3bd, #ff3d57 60%, #a80f26);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.8),
    0 0 0 1px rgb(3 5 26 / 0.55);
}
.dots i:nth-child(2) {
  background: radial-gradient(circle at 35% 30%, #fff0bd, #ffbf2e 60%, #a86d00);
}
.dots i:nth-child(3) {
  background: radial-gradient(circle at 35% 30%, #dcffb8, #6ddc2e 60%, #2c7a00);
}
.im-on {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-left: auto;
  font-weight: 700;
}
.im-on::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2fd04a;
  box-shadow:
    0 0 0 1px #0a5a1b,
    0 0 8px #2fd04a;
}
.im .asks {
  display: grid;
  gap: 1.1rem;
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.1rem 1.4rem;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.028) 0 1px, transparent 1px 4px);
}
.im .asks div {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0;
  border: 0;
}
.im .asks dt,
.im .asks dd {
  position: relative;
  max-width: 84%;
  padding: 0.65rem 1.05rem 0.72rem;
  border-radius: 18px;
}
.im .asks dt {
  justify-self: end;
  border-bottom-right-radius: 5px;
  color: #0c1a00;
  font-size: 1.0625rem;
  font-style: normal;
  background: linear-gradient(180deg, #e9ffb0 0%, var(--lime) 46%, #86d800 54%, #aef22e 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    inset 0 -3px 6px rgb(20 70 0 / 0.3),
    0 0 0 1px #0c1a00;
}
.im .asks dt::before {
  content: "";
  position: absolute;
  inset: 2px 10px 55% 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.05));
  pointer-events: none;
}
.im .asks dd {
  justify-self: start;
  border-bottom-left-radius: 5px;
  color: var(--ice);
  background: linear-gradient(180deg, rgb(74 88 160 / 0.75), rgb(30 37 84 / 0.85));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.25),
    0 0 0 1px rgb(157 168 214 / 0.3);
}
.after-star {
  width: 12.5rem;
  right: 7%;
  top: 14%;
  rotate: 12deg;
  animation-duration: 10s;
}

/* Tools: three playlist windows. */

.window {
  max-width: 60rem;
  margin-top: 1.75rem;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(40 49 100 / 0.5), rgb(14 18 46 / 0.7));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 0 0 1px rgb(157 168 214 / 0.26),
    0 30px 50px -30px #000;
}
.window + .window {
  margin-top: 2rem;
}
.window .tools {
  max-width: none;
  margin: 0;
}
.window .tools caption {
  padding: 0.55rem 1rem;
}
.window .tools caption::before {
  content: "";
  display: inline-block;
  width: 2.95rem;
  height: 0.74rem;
  margin-right: 0.8rem;
  vertical-align: -0.04em;
  background:
    radial-gradient(circle at 0.37rem 50%, #ff3d57 0 0.33rem, rgb(3 5 26 / 0.6) 0.34rem 0.38rem, transparent 0.39rem),
    radial-gradient(circle at 1.47rem 50%, #ffbf2e 0 0.33rem, rgb(3 5 26 / 0.6) 0.34rem 0.38rem, transparent 0.39rem),
    radial-gradient(circle at 2.57rem 50%, #6ddc2e 0 0.33rem, rgb(3 5 26 / 0.6) 0.34rem 0.38rem, transparent 0.39rem);
}
.window .tools th,
.window .tools td {
  padding: 0.75rem 1.25rem 0.75rem 1rem;
}
.window .tools td:last-child,
.window .tools thead th:last-child {
  padding-right: 1rem;
}
.window .tools thead th {
  color: var(--soft);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02));
}
.window .tools tbody tr:nth-child(even) {
  background: rgb(255 255 255 / 0.03);
}
.window .tools tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}
/* The row under the pointer takes the blue of a selected track. */
.window .tools tbody tr:hover {
  background: linear-gradient(180deg, rgb(104 150 255 / 0.55), rgb(52 84 214 / 0.55));
}
.window .tools tbody tr:hover :is(td, th code, .led) {
  color: #fff;
}
#tools::before,
#tools::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
/* A soap bubble and the coin, in the margin the tables leave. */
#tools::before {
  right: 5.5rem;
  top: 11.5rem;
  width: 6.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 27%, rgb(255 255 255 / 0.9) 0 4%, rgb(255 255 255 / 0.16) 11%, transparent 26%),
    radial-gradient(circle at 70% 76%, rgb(255 88 198 / 0.4), transparent 46%),
    radial-gradient(circle, transparent 54%, rgb(99 245 227 / 0.4) 74%, rgb(125 140 255 / 0.25) 100%);
  box-shadow: inset 0 0 22px rgb(255 255 255 / 0.14);
}
#tools::after {
  right: -1rem;
  top: 19rem;
  width: 11rem;
  aspect-ratio: 1;
  rotate: 14deg;
  background: url("assets/chrome-coin.webp") center / contain no-repeat;
  filter: brightness(1.1) drop-shadow(0 18px 26px rgb(0 0 0 / 0.55)) drop-shadow(0 0 26px rgb(125 140 255 / 0.3));
}

/* Connect: gel tabs and a planet. */

.tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, #d2fff8 0%, var(--vfd) 46%, #2fc9b6 54%, #86f8ea 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 0 0 1px #03051a,
    0 0 16px -2px var(--vfd);
}
.masthead nav a:hover {
  background: linear-gradient(180deg, #d2fff8 0%, var(--vfd) 46%, #2fc9b6 54%, #86f8ea 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9);
}
/* Which network the server is on, read from the server itself. */
.net {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  max-width: 48rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--soft);
}
.net::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  translate: 0 -1px;
  background: #ffbf2e;
  box-shadow: 0 0 9px #ffbf2e;
}
.net[data-network="mainnet-beta"]::before {
  background: var(--lime);
  box-shadow: 0 0 9px var(--lime);
}
.connect-planet {
  width: 17rem;
  right: 1.5%;
  top: 2.5rem;
  rotate: -8deg;
  animation-duration: 11s;
}

/* Footer: hit counters, more buttons, and the name in chrome. */

.odometers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 0 0 1.75rem;
}
.odometers div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.4rem;
}
.odometers dt {
  font-size: 0.75rem;
  font-weight: 700;
  font-stretch: 118%;
  color: var(--haze);
}
.odometers dd {
  display: flex;
  gap: 2px;
  width: max-content;
  margin: 0;
  padding: 3px;
  border-radius: 5px;
  background: linear-gradient(180deg, #cdd7f4, #7c8abd);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px #03051a;
}
.odometers i {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.9rem;
  border-radius: 2px;
  font: 900 1.25rem/1 var(--dots);
  color: #f4f7ff;
  background: linear-gradient(180deg, #000 0%, #1b2046 48%, #000 52%, #14183a 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.badge-d {
  color: var(--abyss);
  background: linear-gradient(180deg, #f6f9ff, #9fb0e0);
}
.badge-e {
  color: #fff;
  background: linear-gradient(180deg, #9fb0ff, #3b4bc4);
}
.colophon .bigmark {
  max-width: none;
  margin: 2.75rem 0 0;
  padding: 0 0.08em 0.14em;
  font: italic 900 min(16.5vw, 14rem) / 0.92 var(--sans);
  font-stretch: 150%;
  letter-spacing: -0.03em;
  white-space: nowrap;
  user-select: none;
}

/* The sparkle trail a pointer left behind on every home page of the time. */

.twinkle {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  width: var(--size, 14px);
  height: var(--size, 14px);
  pointer-events: none;
  background: var(--tint, #fff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.8 11.1 12 12-7.2.9-11.1 4.8-12 12-.9-7.2-4.8-11.1-12-12 7.2-.9 11.1-4.8 12-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.8 11.1 12 12-7.2.9-11.1 4.8-12 12-.9-7.2-4.8-11.1-12-12 7.2-.9 11.1-4.8 12-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 5px var(--tint, #fff));
  animation: twinkle 0.75s ease-out forwards;
}
@keyframes twinkle {
  from {
    opacity: 1;
    transform: translate(var(--x), var(--y)) scale(1) rotate(0deg);
  }
  to {
    opacity: 0;
    transform: translate(var(--x), calc(var(--y) + 26px)) scale(0.2) rotate(140deg);
  }
}

@media (max-width: 1240px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .remote,
  #tools::before,
  #tools::after {
    display: none;
  }
}
@media (max-width: 1080px) {
  .after-star,
  .connect-planet {
    display: none;
  }
  .sticker {
    right: -1.2rem;
  }
}
@media (max-width: 760px) {
  .window .tools th,
  .window .tools td {
    padding: 0;
  }
  .window .tools tr {
    padding: 0.85rem 1rem;
  }
  .window .tools tbody tr:last-child {
    border-bottom: 0;
  }
  .im .asks dt,
  .im .asks dd {
    max-width: 94%;
  }
}
@media (max-width: 560px) {
  .deck-top {
    padding-right: 3.4rem;
  }
  .sticker {
    top: -3.4rem;
    right: -0.2rem;
    width: 4.9rem;
  }
  .sticker span {
    font-size: 0.625rem;
  }
  .hero-star {
    width: 3.9rem;
    top: -4.2rem;
    left: -0.6rem;
  }
  .kana {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chrome-obj {
    animation: none;
  }
  .tracks li::before {
    transition: none;
  }
}
