/* VICE GARAGE: violet night, hot magenta and teal neon, wet road, VHS grain.
   The hero is a neon payout board. The card is a pay slip issued from a garage bay. The nav is a car stereo. */
:root {
  --bg: #0a0414; --band: #0b0416; --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09); --line2: rgba(255, 255, 255, 0.16);
  --text: #f7f0ff; --soft: #d6c8ee; --mute: #a797c4;
  --mag: #ff2e97; --pink: #ff8fd0; --teal: #19f5d8; --sun: #ffc247; --violet: #7b3cff;
  --good: #7dffc0; --bad: #ff8a7a;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --body: "Barlow", system-ui, sans-serif;
  --monof: "Share Tech Mono", ui-monospace, monospace;
  --gut: clamp(18px, 4.2vw, 64px);
  --nav-h: 60px;
  --card-w: min(430px, calc((100svh - var(--nav-h) - 152px) * 5 / 7), 84vw);
  --neon-m: 0 0 6px rgba(255, 46, 151, 0.9), 0 0 22px rgba(255, 46, 151, 0.65), 0 0 54px rgba(255, 46, 151, 0.35);
  --neon-t: 0 0 6px rgba(25, 245, 216, 0.9), 0 0 22px rgba(25, 245, 216, 0.55), 0 0 54px rgba(25, 245, 216, 0.3);
}
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { font: 400 17px/1.55 var(--body); }
.mono, .count { font-family: var(--monof); }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }

/* ---------- the night drive behind the page ---------- */
.drive { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(#12062b, #2a0b4a 46%, #0a0414 54%); pointer-events: none; }
.sky {
  --h: max(56.25vw, 100vh);
  position: absolute; left: 50%; top: calc(54vh - 0.722 * var(--h)); height: var(--h); width: calc(var(--h) * 1.7696); max-width: none;
  transform: translateX(-50%);
}
.ground { position: absolute; left: 0; right: 0; top: 54vh; bottom: 0; background: linear-gradient(rgba(20, 6, 44, 0.2), #150733 14%, #0a0414 70%); overflow: hidden; }
.ground .lines {
  position: absolute; left: -60%; right: -60%; top: 0; height: 240%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 46, 151, 0.55) 0 2px, transparent 2px 7%),
    repeating-linear-gradient(0deg, rgba(255, 46, 151, 0.5) 0 2px, transparent 2px 9%);
  transform: perspective(46vh) rotateX(74deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%);
}
html.gl .ground .lines { display: none; }
.drive .scene { position: absolute; }
html:not(.rolling) .drive .scene { display: none; }
.dusk { position: absolute; inset: 0; background: linear-gradient(rgba(10, 4, 20, 0.72), rgba(10, 4, 20, 0.2) 38%, rgba(10, 4, 20, 0.12) 60%, rgba(10, 4, 20, 0.5)); }
.vhs { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.vhs::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px); opacity: 0.26; }
.vhs::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.vhs .track { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(transparent, rgba(255, 255, 255, 0.022) 45%, rgba(255, 255, 255, 0.035) 50%, transparent); transform: translateY(-120px); animation: track 9s linear infinite; }
@keyframes track { to { transform: translateY(110vh); } }
main { position: relative; z-index: 2; }

/* ---------- the car stereo ---------- */
.stereo {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: var(--nav-h); padding: 0 var(--gut);
  background: linear-gradient(#211138, #150a27 55%, #0c0519);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(255, 46, 151, 0.55), 0 6px 14px -10px rgba(0, 0, 0, 0.9);
}
.lcd {
  display: flex; align-items: center; gap: 14px; flex: 1 1 260px; min-width: 0; max-width: 430px; height: 40px; padding: 0 12px;
  border-radius: 6px; background: linear-gradient(#04130f, #071c18); color: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(25, 245, 216, 0.28), inset 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.07);
  font-family: var(--monof); text-shadow: 0 0 8px rgba(25, 245, 216, 0.6);
}
.brand { flex: 0 1 auto; min-width: 0; font-size: 18px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuner { display: flex; flex-direction: column; gap: 4px; flex: 1 1 110px; min-width: 0; }
.station { font-size: 12px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.7; }
html[data-radio="on"] .station { opacity: 1; }
.scale { position: relative; height: 7px; background: repeating-linear-gradient(90deg, rgba(25, 245, 216, 0.55) 0 1px, transparent 1px 8px); opacity: 0.9; }
.scale i { position: absolute; left: 0; top: -2px; width: 100%; height: 11px; transform: translateX(0); will-change: transform; }
.scale i::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--mag); box-shadow: 0 0 8px var(--mag); }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; flex: none; }
.eq i { width: 4px; height: 100%; background: var(--teal); box-shadow: 0 0 6px rgba(25, 245, 216, 0.7); transform: scaleY(0.14); transform-origin: 50% 100%; }
html[data-radio="on"] .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
html[data-radio="on"] .eq i:nth-child(2) { animation-duration: 0.62s; animation-delay: -0.3s; }
html[data-radio="on"] .eq i:nth-child(3) { animation-duration: 0.78s; animation-delay: -0.5s; }
html[data-radio="on"] .eq i:nth-child(4) { animation-duration: 0.54s; animation-delay: -0.1s; }
html[data-radio="on"] .eq i:nth-child(5) { animation-duration: 0.7s; animation-delay: -0.6s; }
@keyframes eq { 0% { transform: scaleY(0.18); } 100% { transform: scaleY(1); } }
.presets { display: flex; gap: 6px; margin-left: auto; }
.presets a {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 5px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(#2c1b49, #1a0e30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6);
  font: italic 800 16px/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--soft);
  transition: color 0.2s, transform 0.12s;
}
.presets a b { font: 400 12px/1 var(--monof); font-style: normal; color: var(--teal); opacity: 0.75; }
.presets a:hover { color: #fff; }
.presets a:active { transform: translateY(1px); }
.presets a.on { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 var(--mag), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 18px -8px var(--mag); }
.presets a.on b { color: var(--mag); opacity: 1; text-shadow: 0 0 8px var(--mag); }
.play {
  display: flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 14px 0 6px; border: 0; border-radius: 999px;
  background: linear-gradient(#2c1b49, #1a0e30); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 46, 151, 0.5);
  font: italic 800 16px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink);
  transition: box-shadow 0.25s, color 0.25s;
}
.play svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--mag); fill: #1a0414; stroke: #1a0414; stroke-width: 3; stroke-linecap: round; box-shadow: 0 0 14px -2px var(--mag); }
.play .i-pause { display: none; fill: none; }
.play .i-play { stroke: none; }
.play[aria-pressed="true"] { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px var(--mag), 0 0 22px -4px var(--mag); }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[aria-pressed="true"] .i-play { display: none; }
.play.hint svg { animation: hint 1.4s ease-in-out infinite; }
@keyframes hint { 50% { opacity: 0.45; } }
.pill {
  flex: none; height: 40px; padding: 0 16px; border: 1px solid rgba(25, 245, 216, 0.6); border-radius: 999px; background: rgba(25, 245, 216, 0.06);
  font: 400 14px var(--monof); letter-spacing: 0.04em; color: var(--teal); white-space: nowrap; transition: background 0.2s, box-shadow 0.2s;
}
.pill:hover { background: rgba(25, 245, 216, 0.14); box-shadow: 0 0 20px -6px var(--teal); }
.pill.connected { border-color: var(--good); color: var(--good); }

/* ---------- hero: the boulevard and the copy; the bay styles serve the pay slip section ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(20px, 3.4vw, 60px); min-height: calc(100svh - var(--nav-h)); padding: 14px var(--gut) 62px; background: var(--bg);
}
.plate { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.plate img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: 50% 74%; will-change: transform; }
.plate::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 4, 20, 0.9) 0%, rgba(10, 4, 20, 0.66) 30%, rgba(10, 4, 20, 0.12) 58%, rgba(10, 4, 20, 0.3) 100%),
    linear-gradient(rgba(10, 4, 20, 0.5), transparent 26%, transparent 70%, rgba(10, 4, 20, 0.86) 100%);
}
.copy { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 22px); min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 400 14px var(--monof); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); text-shadow: 0 0 12px rgba(25, 245, 216, 0.6); }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(25, 245, 216, 0.7); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(25, 245, 216, 0); } }
h1 { font: italic 900 clamp(44px, min(5vw, 11vh), 104px) / 0.84 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
h1 .ln { display: block; overflow: hidden; padding: 0.04em 0.12em 0.05em 0; margin-right: -0.12em; }
h1 .ln > span { display: inline-block; }
h1 .row2 { display: block; white-space: nowrap; }
h1 .ln.inl { display: inline-block; vertical-align: bottom; margin-right: 0; padding-right: 0.06em; }
h1 .neon {
  display: inline-block; margin-left: 0.14em; font: 400 1.08em/0.8 var(--script); letter-spacing: 0; text-transform: none; color: #ffe6f4;
  text-shadow: var(--neon-m); transform: rotate(-5deg) translateY(0.04em); transform-origin: 0 80%;
}
h1 { padding-bottom: 0.14em; }
.lede { max-width: 44ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--soft); text-shadow: 0 2px 14px rgba(10, 4, 20, 0.9); }
.clock { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 18px; row-gap: 6px; max-width: 520px; }
.tag { font: 400 13px var(--monof); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.clock .tag { grid-column: 1 / -1; color: var(--pink); }
.count { font: italic 800 clamp(48px, min(6.4vw, 11.5vh), 104px) / 0.86 var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; color: #eafffb; text-shadow: var(--neon-t); }
.tacho { position: relative; height: 16px; margin-bottom: 0.5em; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 5px, transparent 5px 9px); transform: skewX(-18deg); overflow: hidden; }
.tacho i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--violet) 55%, var(--mag)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s linear; -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px); mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px); }
.clock .status { grid-column: 1 / -1; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.go {
  min-height: 54px; padding: 0 30px; border: 0; border-radius: 8px; background: linear-gradient(#ff6cb8, #ff2e97 55%, #d6147c); color: #1c0416;
  font: italic 900 22px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 40px -14px var(--mag), 0 0 26px -6px var(--mag);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 20px 50px -14px var(--mag), 0 0 40px -4px var(--mag); }
.go:active:not(:disabled) { transform: translateY(0); }
.go:disabled { filter: grayscale(1) brightness(0.55); box-shadow: none; }
.go.connected { background: rgba(125, 255, 192, 0.06); box-shadow: inset 0 0 0 1px var(--good); color: var(--good); font: 400 17px var(--monof); }
.go.share-x { background: transparent; box-shadow: inset 0 0 0 1px var(--teal); color: var(--teal); }
.go.share-x:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--teal), 0 0 30px -8px var(--teal); }
.fine { font-size: 14px; color: var(--mute); max-width: 60ch; }
.hero .fine { flex: 1 1 100%; color: var(--soft); text-shadow: 0 2px 12px rgba(10, 4, 20, 0.9); }
.status { font: 400 15px var(--monof); color: var(--teal); }
.status.err { color: var(--bad); }
.status.ok { color: var(--good); }

.stagecard { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.bay {
  position: relative; width: calc(var(--card-w) + 28px); padding: 30px 14px 14px; border-radius: 12px 12px 3px 3px;
  background: linear-gradient(#1a0d2f, #0c0519); box-shadow: 0 40px 70px -26px #000, inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 18px 30px -18px rgba(255, 46, 151, 0.28);
}
#cardSlot { display: flex; justify-content: center; width: 100%; }
.housing { position: absolute; left: 14px; right: 14px; top: 7px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: linear-gradient(#3a2a59, #1c112f 60%, #2a1c44); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.6); }
.housing span { font: 400 12px/1 var(--monof); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.tube { transition: opacity 0.3s; }
.arch { position: absolute; pointer-events: none; border-bottom: 0 !important; }
.arch.outer { inset: -11px -11px 0; border: 3px solid #ff6cb8; border-radius: 22px 22px 0 0; box-shadow: 0 0 10px var(--mag), 0 0 34px rgba(255, 46, 151, 0.55), inset 0 0 10px var(--mag), inset 0 0 30px rgba(255, 46, 151, 0.35); }
.arch.inner { inset: -24px -24px 0; border: 2px solid #9dfff2; border-radius: 34px 34px 0 0; box-shadow: 0 0 8px var(--teal), 0 0 26px rgba(25, 245, 216, 0.5), inset 0 0 8px var(--teal); }
.curb { position: absolute; left: -40px; right: -40px; bottom: -4px; height: 3px; border-radius: 3px; background: #9dfff2; box-shadow: var(--neon-t); }
.fins { position: absolute; left: -58px; bottom: 26%; display: flex; align-items: flex-end; gap: 9px; height: 62%; pointer-events: none; }
.fins i { width: 4px; border-radius: 4px; background: #ff9ad3; box-shadow: var(--neon-m); }
.fins i:nth-child(1) { height: 62%; }
.fins i:nth-child(2) { height: 100%; }
.fins i:nth-child(3) { height: 80%; background: #9dfff2; box-shadow: var(--neon-t); }
.sign-neon { position: absolute; z-index: 4; right: -30px; top: -26px; font: 400 clamp(34px, 3.3vw, 52px)/1 var(--script); color: #ffe6f4; text-shadow: var(--neon-m); transform: rotate(-8deg); pointer-events: none; white-space: nowrap; }
.bay.dark .tube:not(.lit) { opacity: 0.1; }
.tube.lit { animation: strike 0.75s steps(1, end) both; }
@keyframes strike { 0% { opacity: 0.1; } 8% { opacity: 1; } 15% { opacity: 0.16; } 24% { opacity: 0.9; } 31% { opacity: 0.2; } 46% { opacity: 1; } 55% { opacity: 0.55; } 63%, 100% { opacity: 1; } }
.doorway { position: absolute; z-index: 3; left: 14px; right: 14px; top: 30px; bottom: 14px; overflow: hidden; border-radius: 4.4% / 3.15%; pointer-events: none; }
.door {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(-103%);
  background:
    linear-gradient(90deg, rgba(255, 46, 151, 0.2), transparent 30%, transparent 70%, rgba(25, 245, 216, 0.16)),
    repeating-linear-gradient(180deg, #33214f 0 2px, #1e1233 2px 13px, #0b0516 13px 16px);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7); will-change: transform;
}
.bay.dark .door { transform: none; }
.door span { max-width: 80%; font: italic 800 clamp(18px, 1.9vw, 26px)/1.1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, 0.26); }
.door i { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(#0a0414, #000); box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.18); }
.door i::after { content: ""; position: absolute; left: 50%; top: -9px; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: linear-gradient(#b9a9d6, #5c4a80); }
.beams { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; }
.beams::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 110%;
  background:
    radial-gradient(ellipse 20% 26% at 30% 56%, rgba(255, 252, 232, 0.98), rgba(255, 226, 160, 0.42) 46%, transparent 72%),
    radial-gradient(ellipse 20% 26% at 72% 56%, rgba(255, 252, 232, 0.98), rgba(255, 226, 160, 0.42) 46%, transparent 72%),
    linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.2) 30%, rgba(255, 240, 200, 0.2) 72%, transparent);
}
.cardnote { position: relative; z-index: 2; font: 400 13px var(--monof); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); text-align: center; text-shadow: 0 2px 10px #000; }
html[data-card="live"] .cardnote { color: var(--good); }

/* the slip as a lit object: magenta from the left, teal from the right, foil that follows the tilt */
.hc.vice::before { content: ""; position: absolute; inset: 8% -10% -2%; border-radius: 50%; background: radial-gradient(closest-side at 30% 50%, rgba(255, 46, 151, 0.7), transparent), radial-gradient(closest-side at 72% 50%, rgba(25, 245, 216, 0.5), transparent); filter: blur(44px); opacity: 0.7; transform: translateZ(-1px); }
.hc.vice .hc-rot { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 34px 60px -26px #000, -20px 0 54px -24px rgba(255, 46, 151, 0.9), 20px 0 54px -24px rgba(25, 245, 216, 0.8); }
.hc.vice .hc-foil {
  background-image:
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0 7px, rgba(255, 255, 255, 0.16) 7px 8px),
    linear-gradient(104deg, #ff2e97 0%, #7b3cff 16%, #19f5d8 34%, #ffe66d 50%, #ff2e97 66%, #19f5d8 84%, #7b3cff 100%);
  background-size: 100% 100%, 300% 300%;
  background-position: 0 0, var(--mx) var(--my);
  mix-blend-mode: color-dodge;
  opacity: calc(0.1 + var(--hyp) * 0.26);
  filter: saturate(1.2);
}
.hc.vice .hc-rot::after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 95.55%; height: 2.75%; border-radius: 5px; pointer-events: none;
  background: linear-gradient(100deg, #ff2e97, #ffe66d, #19f5d8, #b98cff, #ff2e97, #19f5d8, #ffe66d, #ff2e97);
  background-size: 420% 100%; background-position: var(--mx) 0; mix-blend-mode: hard-light; opacity: calc(0.42 + var(--hyp) * 0.4);
}
.hc.vice .hc-glare { background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255, 226, 246, 0.72) 0%, rgba(140, 240, 255, 0.14) 28%, rgba(8, 0, 26, 0.46) 95%); }

/* ---------- the payout board: one neon sign per reward token (two, or three) ---------- */
.live-only { display: none !important; }
html[data-card="live"] .live-only { display: flex !important; }
.lookup { max-width: 520px; }
.lookup .field { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: linear-gradient(#04130f, #071c18); box-shadow: inset 0 0 0 1px rgba(25, 245, 216, 0.42), inset 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 30px -12px var(--teal); transition: box-shadow 0.2s; }
.lookup .field:focus-within { box-shadow: inset 0 0 0 1.5px var(--teal), inset 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 34px -8px var(--teal); }
.lookup input[type="text"] { flex: 1 1 0; width: auto; min-width: 0; min-height: 46px; padding: 0 12px; border: 0; background: transparent; color: #eafffb; font: 400 16px var(--monof); text-overflow: ellipsis; }
.lookup input[type="text"]::placeholder { color: rgba(25, 245, 216, 0.6); }
.lookup input[type="text"]:focus { outline: none; }
.lookup .go { flex: none; min-height: 46px; padding: 0 24px; font-size: 20px; }
.lookup .fine { margin-top: 8px; }
.lookup .status { margin-top: 6px; }
.clear { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--line2); color: var(--soft); font: 400 14px var(--monof); letter-spacing: 0.08em; text-transform: uppercase; }
.clear:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--pink); }
.lookup.small { max-width: none; }
.sliplink { align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--good); color: var(--good); font: 400 15px var(--monof); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.payboard { position: relative; display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 16px); min-width: 0; }
.boardtag { display: flex; align-items: center; gap: 16px; }
.boardtag span { font: 400 clamp(26px, 2.5vw, 38px)/1.1 var(--script); color: #ffe0f1; text-shadow: var(--neon-m); transform: rotate(-3deg); }
.boardtag i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mag), var(--teal), transparent); box-shadow: 0 0 12px rgba(255, 46, 151, 0.6); }
.signs { display: grid; grid-template-columns: repeat(var(--k, 2), minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 20px); }
@media (min-width: 861px) { /* two signs: larger, so the board is as full as with three */
  .signs[data-n="2"] { gap: clamp(12px, 1.8vw, 28px); }
  .signs[data-n="2"] .ring { width: clamp(64px, min(9vw, 19vh), 150px); }
  .signs[data-n="2"] .sym { font-size: min(clamp(26px, min(3.4vw, 7vh), 54px), calc(94cqw / (var(--sn) * 0.5))); }
  .signs[data-n="2"] .amt { font-size: min(clamp(42px, min(6.6vw, 13.2vh), 116px), calc(92cqw / (var(--n) * 0.53))); }
  .signs[data-n="2"] .nm, .signs[data-n="2"] .lbl { font-size: 14px; }
}
.sign {
  --c: var(--mag); container-type: inline-size; position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(3px, 0.8vh, 8px); min-width: 0;
  padding: clamp(14px, 4.4vh, 54px) 12px clamp(12px, 3.6vh, 44px); border: 0; border-radius: 18px; text-align: center; color: var(--text);
  background: linear-gradient(rgba(20, 9, 40, 0.86), rgba(8, 3, 18, 0.93)); box-shadow: 0 30px 50px -28px #000; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sign:hover { transform: translateY(-4px); }
.sign::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: opacity 0.3s;
  border: 2.5px solid color-mix(in srgb, var(--c) 62%, #fff);
  box-shadow: 0 0 10px var(--c), 0 0 36px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--c) 80%, transparent), inset 0 0 44px color-mix(in srgb, var(--c) 22%, transparent);
}
.sign::after { content: ""; position: absolute; left: 10%; right: 10%; top: calc(100% + 6px); height: 54px; pointer-events: none; background: linear-gradient(color-mix(in srgb, var(--c) 60%, transparent), transparent); filter: blur(9px); opacity: 0.55; }
.signs.dark .sign:not(.lit)::before { opacity: 0.12; }
.signs.dark .sign:not(.lit)::after { opacity: 0.08; }
.sign.lit::before { animation: strike 0.75s steps(1, end) both; }
.ring { position: relative; flex: none; display: grid; place-items: center; width: clamp(58px, min(7vw, 15.5vh), 116px); aspect-ratio: 1; border-radius: 50%; background: #170b2b; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 70%, #fff), 0 0 24px var(--c); }
.ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ring b { font: italic 800 clamp(15px, 1.5vw, 22px)/1 var(--display); text-transform: uppercase; }
.ring::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; pointer-events: none; }
.signs.pulse .ring::after, .sign.again .ring::after { animation: wave 1.3s ease-out; }
.signs.pulse .sign::before { animation: strike 0.75s steps(1, end); }
.signs.pulse .sign:nth-child(2) .ring::after, .signs.pulse .sign:nth-child(2)::before { animation-delay: 0.16s; }
.signs.pulse .sign:nth-child(3) .ring::after, .signs.pulse .sign:nth-child(3)::before { animation-delay: 0.32s; }
@keyframes wave { 0% { opacity: 0.95; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.sym { --sn: 6; margin-top: clamp(2px, 0.8vh, 8px); max-width: 100%; font: italic 900 min(clamp(24px, min(2.7vw, 5.8vh), 42px), calc(94cqw / (var(--sn) * 0.5)))/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm { max-width: 100%; min-height: 1.3em; font: 400 13px/1.3 var(--monof); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sign .amt { --n: 4; display: flex; justify-content: center; margin: clamp(2px, 1vh, 10px) 0 0; font: italic 900 min(clamp(38px, min(5.4vw, 11vh), 92px), calc(92cqw / (var(--n) * 0.53)))/1 var(--display); font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--c) 34%, #fff); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--c) 75%, transparent)); white-space: nowrap; }
.od { display: inline-block; height: 1em; overflow: hidden; padding: 0 0.07em 0 0.02em; margin-right: -0.05em; }
.od > span { display: flex; flex-direction: column; transition: transform 1.3s cubic-bezier(0.16, 0.9, 0.2, 1); will-change: transform; }
.od i { display: block; height: 1em; line-height: 1em; font-style: inherit; }
.och { display: inline-block; height: 1em; line-height: 1em; }
.lbl { font: 400 13px var(--monof); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.last { min-height: 1.4em; font: 400 14px/1.4 var(--monof); color: var(--good); }
.sweep { position: absolute; inset: -6% 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; overflow: visible; }
.sweep::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 16% 30% at 34% 52%, rgba(255, 252, 232, 0.9), rgba(255, 226, 160, 0.36) 46%, transparent 72%), radial-gradient(ellipse 16% 30% at 66% 52%, rgba(255, 252, 232, 0.9), rgba(255, 226, 160, 0.36) 46%, transparent 72%);
}
.tape { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 var(--gut); background: linear-gradient(rgba(10, 4, 20, 0.3), rgba(10, 4, 20, 0.92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09); }
.tape .tag { flex: none; color: var(--pink); }
.tape-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tape-run { display: flex; width: max-content; animation: tape 44s linear infinite; }
.tape-run:hover, html.hero-off .tape-run, .tape.still .tape-run { animation-play-state: paused; }
.tape .rows { flex: none; flex-direction: row; gap: 36px; padding-right: 36px; }
.tape .frow { flex: none; gap: 8px; padding: 0; border: 0; white-space: nowrap; }
.tape .frow .mono { font-size: 15px; }
.tape .amt { margin-left: 0; color: var(--good); }
.tape .empty { padding: 0; white-space: nowrap; }
.tape.still .tape-view { -webkit-mask-image: none; mask-image: none; }
.tape.still #feedLoop { display: none; }
@keyframes tape { to { transform: translateX(-50%); } }
#socials { flex: none; }
#socials:empty { display: none; }
#socials .socials { display: flex; gap: 8px; margin: 0; padding: 0; }
#socials .social { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(25, 245, 216, 0.07); box-shadow: inset 0 0 0 1px rgba(25, 245, 216, 0.55); color: var(--teal); font: 400 13px var(--monof); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: box-shadow 0.2s, color 0.2s; }
#socials .social:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--teal), 0 0 18px -4px var(--teal); }

/* ---------- the pay slip, issued after a wallet connects ---------- */
.mine { padding-top: clamp(48px, 8vh, 90px); padding-bottom: clamp(40px, 7vh, 80px); overflow: clip; }
.slipgrid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(48px, 8vw, 130px); padding-left: clamp(46px, 5vw, 80px); }
.slipgrid > .stagecard { position: sticky; top: calc(var(--nav-h) + 34px); }
.breakdown { display: flex; flex-direction: column; min-width: 0; }
.breakdown .head { margin-bottom: clamp(14px, 2.6vh, 28px); }
.breakdown h2 { font-size: clamp(40px, min(5.4vw, 10.5vh), 96px); }
.tiles:empty, .stats.small:empty { display: none; }
.hrow { gap: 12px; }
.hrow .when { flex: 0 0 auto; min-width: 9.5ch; color: var(--mute); }
.hrow .what { color: #fff; }
.hrow .usd { margin-left: auto; color: var(--teal); white-space: nowrap; }
.hrow .tx { flex: none; padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--soft); text-decoration: none; font-size: 13px; }
.hrow .tx:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--teal); }
#history { max-height: 360px; overflow-y: auto; }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(56px, 10vh, 120px) var(--gut); }
.band, .guide, .board { background: radial-gradient(64vw 520px at 10% 0%, rgba(255, 46, 151, 0.11), transparent 62%), radial-gradient(56vw 520px at 94% 100%, rgba(25, 245, 216, 0.075), transparent 62%), var(--band); }
.band::before, .guide::before, .board::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 46, 151, 0.7) 22%, rgba(25, 245, 216, 0.7) 78%, transparent); }
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: clamp(24px, 4.5vh, 48px); }
.kicker, .guide .kicker, .board .kicker {
  font: 400 clamp(26px, 2.5vw, 38px)/1.1 var(--script); letter-spacing: 0; text-transform: none; color: #ffe0f1; text-shadow: var(--neon-m);
  transform: rotate(-3deg); transform-origin: 0 100%; padding: 0 0.3em 0.1em 0;
}
h2 { font: italic 900 clamp(42px, min(6.6vw, 12.5vh), 118px) / 0.88 var(--display); text-transform: uppercase; text-wrap: balance; }
.ln { display: block; overflow: hidden; padding: 0.04em 0.14em 0.06em 0; margin-right: -0.14em; }
.ln > span { display: block; }
h3 { font: italic 800 clamp(24px, 2.1vw, 32px) / 1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.sub { max-width: 58ch; margin-top: 12px; color: var(--soft); }

/* live numbers: a window onto the road */
.window { background: transparent; }
.numbers { display: flex; flex-direction: column; gap: 18px; padding-top: clamp(70px, 17vh, 170px); padding-bottom: clamp(70px, 17vh, 170px); }
.numbers::after, .event::after, .foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(var(--band), transparent); pointer-events: none; }
.numbers .kicker { align-self: flex-start; }
.event { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3vh, 28px); padding-top: clamp(80px, 17vh, 180px); padding-bottom: clamp(80px, 17vh, 180px); text-align: center; }
.event .head { align-items: center; margin-bottom: 0; }
.event h2 { text-shadow: 0 6px 50px rgba(10, 4, 20, 0.85); }
.event .ln { overflow: visible; }
.event .sub { margin: 0; max-width: 60ch; padding: 12px 20px; border-radius: 12px; background: rgba(10, 4, 20, 0.74); color: var(--text); }
.buy { padding-top: clamp(44px, 8vh, 90px); padding-bottom: clamp(44px, 8vh, 90px); }
.buygrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.buy .head { margin-bottom: clamp(10px, 2vh, 18px); }
.buy .sub { margin: 0; }
.buybox { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 0; }
.buybox .go { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 0 34px; font-size: clamp(26px, 2.6vw, 36px); text-decoration: none; text-align: center; }
.buybox .go:disabled { filter: none; background: rgba(255, 255, 255, 0.04); color: var(--soft); box-shadow: inset 0 0 0 1px var(--line2); cursor: default; }
.buybox .ca { background: var(--panel); }
.buybox .ca .tag { font: 400 13px var(--monof); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
#cardGuide .ca { display: none; } /* the Buy section carries the address and its Copy button */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 2.6vh, 28px) clamp(14px, 1.8vw, 26px); min-width: 0; border-radius: 10px; background: rgba(10, 4, 20, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 2px 0 var(--mag), 0 20px 50px -24px #000; }
.stat:nth-child(even) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 2px 0 var(--teal), 0 20px 50px -24px #000; }
.stat .big { font: italic 900 clamp(38px, min(5.6vw, 10.5vh), 96px) / 0.86 var(--display); font-variant-numeric: tabular-nums; }
.stats.small { gap: 8px; }
.stats.small .stat { padding: 14px 12px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.stats.small .big { font-size: clamp(26px, 2.7vw, 42px); }

/* how it pays: the steps as gears */
.gears { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.gears li { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(18px, 2.2vw, 32px); border-radius: 12px; background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.gears .n { font: italic 900 clamp(110px, 13vw, 210px) / 0.74 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 143, 208, 0.75); margin: 0 0 -0.06em -0.04em; filter: drop-shadow(0 0 14px rgba(255, 46, 151, 0.55)); }
.gears li:nth-child(2) .n { -webkit-text-stroke-color: rgba(157, 255, 242, 0.8); filter: drop-shadow(0 0 14px rgba(25, 245, 216, 0.5)); }
.gears li:nth-child(3) .n { -webkit-text-stroke-color: rgba(255, 214, 130, 0.85); filter: drop-shadow(0 0 14px rgba(255, 194, 71, 0.5)); }
.gear { display: block; margin-bottom: 6px; font: 400 13px var(--monof); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.gears h3 { font-size: clamp(28px, 2.8vw, 44px); margin-bottom: 8px; text-wrap: balance; }
.gears p { color: var(--soft); }
.chip { align-self: flex-start; margin-top: auto; padding: 7px 14px; border: 1px solid var(--c); border-radius: 999px; color: var(--c); font: 400 13px var(--monof); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 24px -8px var(--c); }
.lane { position: relative; display: block; height: 4px; margin-top: clamp(26px, 5vh, 54px); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 34px, transparent 34px 68px); }
.lane i { position: absolute; left: 0; top: -9px; width: 120px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 250, 225, 0.95), rgba(255, 220, 150, 0.35) 55%, transparent); transform: translateX(-140px); will-change: transform; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.panel { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(18px, 2.4vw, 34px); border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 0 var(--mag); }
.two > .panel:nth-child(2) { box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 0 var(--teal); }
.panel p { color: var(--soft); }
.rows { display: flex; flex-direction: column; }
.trow, .frow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; min-width: 0; }
.trow:last-child, .frow:last-child { border-bottom: 0; }
.trow .mono, .frow .mono { font-size: 16px; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.amt { margin-left: auto; white-space: nowrap; color: #fff; }
.mint, .l { color: var(--mute); font-size: 14px; }
.empty { color: var(--mute); padding: 8px 0; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 10px; min-width: 0; box-shadow: inset 0 0 0 1px var(--line2); }
.tile.best { box-shadow: inset 0 0 0 1px rgba(125, 255, 192, 0.6), inset 0 0 40px -18px var(--good); }
.tile.worst { box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.6), inset 0 0 40px -18px var(--bad); }
.tile .name { font: italic 900 clamp(28px, 3vw, 46px) / 1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.pnl { font-size: 17px; }
.ok { color: var(--good); } .err { color: var(--bad); }
.received { font-size: 16px; color: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.compare { order: 9; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.compare .rows .frow { justify-content: space-between; }
.status.share-x, .share-x { margin-top: 0; }

.slot { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px dashed var(--line2); border-radius: 10px; overflow-wrap: anywhere; font-size: 14px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: flex; flex-direction: column; gap: 4px; min-height: 68px; padding: 12px 14px; text-align: left; border: 1px solid var(--line2); border-radius: 10px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.opt:hover { border-color: var(--tok); transform: translateY(-1px); }
.opt .name { font: italic 800 22px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.opt[aria-pressed="true"] { border-color: var(--tok); background: color-mix(in srgb, var(--tok) 16%, transparent); box-shadow: 0 0 30px -10px var(--tok); }
input[type="text"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 8px; background: rgba(0, 0, 0, 0.35); font: 400 15px var(--monof); }
input[type="text"]::placeholder { color: #7c6d99; }
input[type="text"]:focus { outline: none; border-color: var(--teal); }

.utils { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.perks:has(#utils:empty) { display: none; }
.util { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.2vw, 30px); border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.util::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--mag), var(--teal)); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.util:hover::after { transform: scaleY(1); }
.util .num { font: 400 13px var(--monof); color: var(--teal); letter-spacing: 0.14em; }
.util svg { width: 34px; height: 34px; fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 46, 151, 0.7)); }
.util .name { font: italic 800 26px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.util .l { font-size: 15px; color: var(--soft); }

.foot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(110px, 24vh, 240px) var(--gut) 48px; text-align: center; }
.foot .script { font: 400 clamp(32px, 4.4vw, 68px)/1 var(--script); color: #ffe6f4; text-shadow: var(--neon-m); transform: rotate(-4deg); margin-bottom: -0.2em; }
.foot .big { font: italic 900 clamp(54px, min(11.5vw, 23vh), 230px) / 0.82 var(--display); text-transform: uppercase; text-shadow: 0 6px 50px rgba(10, 4, 20, 0.85), 0 2px 0 rgba(10, 4, 20, 0.4); }
.foot .cta { flex-direction: column; justify-content: center; margin-top: 10px; }
.foot .cta .fine { padding: 6px 14px; border-radius: 999px; background: rgba(10, 4, 20, 0.72); }
.foot .fine { color: var(--soft); text-shadow: 0 2px 12px rgba(10, 4, 20, 0.95); }
.skins { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(30px, 8vh, 90px); }
.skins a { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(10, 4, 20, 0.7); font: 400 13px var(--monof); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--soft); }
.skins a.on { border-color: var(--mag); color: var(--pink); }

/* ---------- short desktop screens (1280 x 610 and similar) ---------- */
@media (min-width: 861px) and (max-height: 740px) {
  :root { --nav-h: 54px; }
  .lcd { height: 36px; }
  .presets a, .play, .pill { height: 36px; }
  .hero { padding-top: 8px; padding-bottom: 50px; }
  .mine { padding-top: 46px; padding-bottom: 30px; }
  .lede { font-size: 16px; line-height: 1.42; }
  .copy { gap: 9px; }
  .hero .cta { gap: 8px 14px; }
  .clock .status { font-size: 14px; line-height: 1.3; }
  .go { min-height: 48px; font-size: 20px; }
  .cardnote { font-size: 12px; }
  .sign-neon { top: -20px; font-size: 36px; }
  .foot { gap: 14px; padding-top: 64px; padding-bottom: 22px; }
  .foot .big { font-size: min(7vw, 18vh); white-space: nowrap; }
  .foot .script { font-size: 44px; }
  .skins { margin-top: 12px; }
}
@media (max-width: 1180px) {
  .presets a span { font-size: 0; }
  .presets a span::after { content: attr(data-s); font-size: 15px; }
  .presets a { padding: 0 10px; gap: 6px; }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 112px; --card-w: min(330px, 78vw); }
  .stereo { flex-wrap: wrap; gap: 8px; padding: 8px 14px; align-content: center; }
  .lcd { flex: 1 1 120px; height: 44px; gap: 10px; padding: 0 10px; }
  .tuner { display: none; }
  .eq { margin-left: auto; }
  .brand { font-size: 16px; }
  .play { padding: 0 8px; height: 44px; }
  .play span { display: none; }
  .pill { height: 44px; padding: 0 12px; font-size: 13px; }
  .presets { order: 5; flex: 1 0 100%; margin: 0; gap: 5px; }
  .presets a { flex: 1 1 0; justify-content: center; height: 44px; padding: 0; gap: 4px; }
  .presets a span::after { font-size: 14px; }
  .presets a b { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 0; min-height: 0; }
  .plate img { object-position: 62% 60%; }
  .plate::after { background: linear-gradient(rgba(10, 4, 20, 0.82), rgba(10, 4, 20, 0.62) 40%, rgba(10, 4, 20, 0.2) 66%, rgba(10, 4, 20, 0.9)); }
  h1 { font-size: clamp(54px, 17vw, 92px); }
  h1 .row2 { white-space: normal; }
  .count { font-size: clamp(58px, 18vw, 92px); }
  .fins { display: none; }
  .signs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sign { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ring sym" "ring nm" "ring amt" "ring lbl" "ring last"; justify-items: start; align-items: center; column-gap: 16px; row-gap: 2px; padding: 16px 18px; text-align: left; }
  .sign::after { display: none; }
  .ring { grid-area: ring; width: 78px; }
  .sym { grid-area: sym; margin: 0; font-size: min(28px, calc(62cqw / (var(--sn) * 0.5))); }
  .nm { grid-area: nm; }
  .sign .amt { grid-area: amt; justify-content: flex-start; margin: 2px 0; font-size: min(52px, calc(62cqw / (var(--n) * 0.53))); }
  .lbl { grid-area: lbl; }
  .last { grid-area: last; }
  .tape { position: relative; margin: 0 calc(-1 * var(--gut)); }
  .slipgrid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; padding-left: 0; }
  .buygrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .slipgrid > .stagecard { position: static; margin-top: 16px; }
  .breakdown { width: 100%; }
  .sign-neon { right: -6px; font-size: 38px; }
  .curb { left: -18px; right: -18px; }
  .numbers { padding-top: 90px; padding-bottom: 90px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stats.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gears { grid-template-columns: minmax(0, 1fr); }
  .gears .n { font-size: 120px; }
  .two, .tiles, .opts { grid-template-columns: minmax(0, 1fr); }
  .utils { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .util { padding: 16px 14px; }
  .util .name { font-size: 22px; }
  .foot { padding-top: 130px; }
}

/* shared guide, board, token address and wallet picker (core/guide.css) in this look's colours */
:root {
  --g-gut: var(--gut); --g-text: var(--text); --g-mute: var(--soft); --g-acc: var(--mag); --g-accfg: #1c0416; --g-kicker: #ffe0f1;
  --g-display: var(--display); --g-body: var(--body); --g-mono: var(--monof); --g-weight: 900; --g-style: italic; --g-upper: uppercase; --g-radius: 10px;
  --g-item-bg: var(--panel); --g-item-text: var(--text); --g-item-mute: var(--soft); --g-item-acc: var(--teal); --g-item-border: 1px solid var(--line2);
  --g-rule: var(--line); --g-pick-bg: #150a27; --g-pick-text: var(--text); --g-pick-mute: var(--soft);
}
.guide .tag, .guide .num, .board-head { font-size: 13px; }
.guide-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.guide .kicker, .board .kicker { font-size: clamp(26px, 2.5vw, 38px); }
.guide-item .name, .board-panel h3 { font-weight: 800; }
.ca { box-shadow: inset 0 2px 0 var(--teal); }
.ca-view { border-color: var(--line2); }
.board-row.me { box-shadow: inset 2px 0 0 var(--mag); }
.picker-box { box-shadow: 0 0 0 1px var(--mag), 0 0 60px -10px var(--mag); }

/* touch screens: every tap target at least 44 px */
@media (max-width: 860px), (pointer: coarse) {
  .board-row .who, .hrow .tx, .skins a { display: inline-flex; align-items: center; min-height: 44px; }
  .ca-copy, .ca-view { min-height: 44px; }
  #socials .social { height: 44px; }
  .presets a, .play, .pill { min-height: 44px; }
}
/* short and wide (a phone on its side): the stereo scrolls away instead of covering the page */
@media (max-height: 480px) {
  .stereo { position: relative; }
  html { scroll-padding-top: 8px; }
  .hero { min-height: 0; }
  h1 { font-size: clamp(40px, 20vh, 80px); }
  .count { font-size: clamp(44px, 17vh, 72px); }
}

/* the coin's full name above the Buy button */
.buybox .coin { margin: 0 0 12px; font: 400 13px/1.3 "Share Tech Mono", ui-monospace, monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); overflow-wrap: anywhere; }
