/* ═══════════════════════════════════════════════════════
   334digital // about.css  (about page only, not shared)
   ═══════════════════════════════════════════════════════ */
:root {
  --hot: #ff2d78;
  --cyan: #00ffe7;
  --yellow: #ffe600;
  --purple: #b400ff;
  --mint: #7dffb2;
  --bg: #07000f;
  --ink: #e6fffc;
  --lvl: 0;
  --mono: 'Share Tech Mono', ui-monospace, monospace;
  --pix: 'VT323', ui-monospace, monospace;
  --rainbow: linear-gradient(90deg, #ff2d78, #ff8a3d, #ffe600, #7dffb2, #00ffe7, #6b8cff, #b400ff, #ff2d78);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html.reduce { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--mono); font-size: 17px; line-height: 1.6;
  overflow-x: hidden; min-height: 100vh;
}
::selection { background: var(--hot); color: #000; }
a { color: var(--cyan); }
button { font: inherit; color: inherit; }
kbd, code { font-family: var(--mono); }
:focus-visible { outline: 2px dashed var(--yellow); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #000; padding: 8px 14px; font-family: var(--pix); font-size: 1.2rem;
}
.skip-link:focus { top: 12px; }

/* ─────────── background layers ─────────── */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.18) 2px 3px);
}
#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

/* ─────────── custom cursor: a tiny wand star ─────────── */
#cursor, #cursor-ring { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor #cursor, html.has-cursor #cursor-ring {
  display: block; position: fixed; left: 0; top: 0; pointer-events: none; z-index: 150; will-change: transform;
}
#cursor {
  width: 16px; height: 16px; margin: -8px 0 0 -8px; background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 6px var(--yellow));
}
#cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1.5px dashed rgba(255,45,120,.9); box-shadow: 0 0 12px rgba(255,45,120,.6);
  transition: width .2s, height .2s, margin .2s, border-color .2s, background .2s;
}
#cursor-ring.hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--cyan); background: rgba(0,255,231,.07); }
#cursor-ring.down { width: 22px; height: 22px; margin: -11px 0 0 -11px; }

/* ─────────── dock ─────────── */
.dock { position: fixed; right: 12px; bottom: 12px; z-index: 110; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dock-btn {
  font-family: var(--pix); font-size: 1.2rem; letter-spacing: 1px;
  background: rgba(7,0,15,.85); border: 2px solid var(--cyan); color: var(--cyan);
  padding: 6px 12px; min-height: 40px; cursor: pointer;
  box-shadow: 0 0 14px rgba(0,255,231,.35), inset 0 0 10px rgba(0,255,231,.12);
  transition: background .2s, color .2s, box-shadow .2s;
}
.dock-btn b { color: var(--yellow); font-weight: normal; }
.dock-btn[aria-pressed="true"] { border-color: var(--hot); color: var(--hot); box-shadow: 0 0 18px rgba(255,45,120,.5); }
.dock-btn:hover { background: var(--cyan); color: #000; }
.dock-btn:hover b { color: #000; }

/* ─────────── page + header ─────────── */
.page { position: relative; z-index: 10; max-width: 1040px; margin: 0 auto; padding: 0 18px 110px; }
header.top { text-align: center; padding: 48px 0 26px; }
.kicker { margin: 0 0 6px; font-size: .85rem; letter-spacing: 3px; color: rgba(0,255,231,.75); }
.blink { color: var(--yellow); animation: blink 1s steps(1) infinite; display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }
.title {
  font-family: var(--pix); font-weight: normal; margin: 0 auto 18px; line-height: .9;
  font-size: clamp(4rem, 17vw, 10rem); letter-spacing: .06em; color: #fff; position: relative;
}
.title-letters { display: inline-block; }
.ltr {
  display: inline-block; position: relative;
  background: var(--rainbow); background-size: 800% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  background-position: calc(var(--i) * 12%) 0;
  animation: wave 2.4s ease-in-out infinite, shimmer 6s linear infinite;
  animation-delay: calc(var(--i) * -0.15s), calc(var(--i) * -0.3s);
  filter: drop-shadow(0 0 10px rgba(255,45,120,.55)) drop-shadow(0 0 22px rgba(0,255,231,.25));
}
.ltr.sp { width: .35em; }
.ltr.boing { animation: boing .7s cubic-bezier(.3,1.8,.5,1), shimmer 6s linear infinite; }
@keyframes wave { 50% { transform: translateY(-.08em) rotate(-2deg); } }
@keyframes shimmer { to { background-position: calc(var(--i) * 12% + 800%) 0; } }
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(1.5, .6) translateY(.1em); } 60% { transform: scale(.8, 1.4) translateY(-.3em) rotate(8deg); } 100% { transform: none; } }
/* RGB split glitch on the whole title */
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: .55;
  clip-path: inset(0 0 100% 0);
}
.glitch::before { color: var(--hot); transform: translate(-3px, 0); animation: gl1 3.3s infinite steps(1); }
.glitch::after { color: var(--cyan); transform: translate(3px, 0); animation: gl2 2.7s infinite steps(1); }
@keyframes gl1 { 0%, 88% { clip-path: inset(0 0 100% 0); } 90% { clip-path: inset(20% 0 55% 0); } 93% { clip-path: inset(62% 0 12% 0); } 96% { clip-path: inset(40% 0 40% 0); } }
@keyframes gl2 { 0%, 84% { clip-path: inset(0 0 100% 0); } 86% { clip-path: inset(70% 0 5% 0); } 90% { clip-path: inset(10% 0 70% 0); } 94% { clip-path: inset(45% 0 30% 0); } }
nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
nav a {
  font-family: var(--pix); font-size: 1.3rem; letter-spacing: 2px; color: var(--cyan); text-decoration: none;
  border: 1px solid rgba(0,255,231,.45); padding: 4px 12px; background: rgba(7,0,15,.6);
  transition: color .15s, background .15s, box-shadow .15s;
}
nav a:hover, nav a:focus-visible { color: #000; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
nav a.nav-home { color: var(--hot); border-color: var(--hot); }
nav a.nav-home:hover { background: var(--hot); color: #000; box-shadow: 0 0 16px var(--hot); }

/* ─────────── panels ─────────── */
.panel {
  position: relative; margin: 0 0 34px; padding: 22px 24px;
  background: linear-gradient(160deg, rgba(20,0,40,.82), rgba(5,0,12,.86));
  border: 1px solid rgba(180,0,255,.5);
  box-shadow: 0 0 30px rgba(180,0,255,.18), 0 18px 50px rgba(0,0,0,.55);
}
.panel::before, .panel::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; }
.panel::before { left: -2px; top: -2px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); }
.panel::after { right: -2px; bottom: -2px; border-right: 2px solid var(--hot); border-bottom: 2px solid var(--hot); }
.panel-xl { border-color: var(--hot); box-shadow: 0 0 40px rgba(255,45,120,.25), 0 20px 60px rgba(0,0,0,.6); }
.panel h2 {
  font-family: var(--pix); font-weight: normal; font-size: 2rem; letter-spacing: 3px; margin: 0 0 12px;
  color: var(--yellow); text-shadow: 0 0 10px rgba(255,230,0,.6);
}
.panel p { margin: 0 0 12px; }
.note { font-size: .8rem; color: rgba(0,255,231,.55); margin: 12px 0 0 !important; }
html.js .reveal { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.9,.3,1.2); }
html.js .reveal.visible { opacity: 1; transform: none; }
html.reduce .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ─────────── hi there ─────────── */
.about-grid { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: center; }
.avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.avatar-frame { position: relative; }
.avatar {
  width: 132px; height: 132px; border: 2px solid var(--purple); padding: 0; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 0 22px rgba(180,0,255,.5), inset 0 0 20px rgba(180,0,255,.3);
  background: repeating-linear-gradient(45deg, rgba(180,0,255,.16) 0 2px, transparent 2px 8px), var(--bg);
  color: var(--cyan); font-family: var(--mono); font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  animation: avfloat 5s ease-in-out infinite;
}
.avatar::after { /* holo sweep */
  content: ""; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes avfloat { 50% { transform: translateY(-6px) rotate(1deg); } }
.face { display: inline-flex; gap: .12em; text-shadow: 0 0 8px var(--cyan); white-space: pre; }
.eye, .mouth { display: inline-block; transition: transform .12s ease-out; }
.avatar.blinking .eye { transform: scaleY(.1) !important; }
.avatar.bump { animation: bump .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 40% { transform: scale(.88) rotate(-4deg); } }
.shades {
  position: absolute; left: 50%; top: -40%; transform: translateX(-50%); color: #000; background: none;
  font-size: 1.5rem; text-shadow: 0 0 2px #fff; opacity: 0; transition: top .7s cubic-bezier(.3,1.5,.5,1), opacity .2s;
  white-space: nowrap;
}
.avatar.cool .shades { top: 36%; opacity: 1; }
.avatar.cool { border-color: var(--yellow); box-shadow: 0 0 30px rgba(255,230,0,.6); }
.owl { position: absolute; right: -26px; top: -30px; font-size: 2.1rem; display: none; cursor: pointer; animation: owl 3s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255,230,0,.6)); }
html.night .owl, .owl.on { display: block; }
@keyframes owl { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-14deg); } 96% { transform: rotate(10deg); } }
.handle { white-space: nowrap; font-family: var(--pix); font-size: 1.6rem; color: var(--yellow); text-shadow: 0 0 8px var(--yellow); letter-spacing: 3px; }
.status-line { font-size: .82rem; color: rgba(0,255,231,.6); display: flex; align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; }
.status-dot {
  display: inline-block; width: 12px; height: 12px; padding: 0; margin-right: 8px; border: 0; cursor: pointer;
  background: #00ff88; border-radius: 50%; box-shadow: 0 0 6px #00ff88; animation: pulse-dot 2s ease-in-out infinite;
  position: relative;
}
.status-dot::before { content: ""; position: absolute; inset: -12px; } /* bigger touch target */
@keyframes pulse-dot { 50% { box-shadow: 0 0 16px #00ff88, 0 0 2px #00ff88; transform: scale(1.25); } }
.hi-text p { font-size: 1rem; }

/* ─────────── now playing / generator ─────────── */
.now-playing {
  display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 14px 16px;
  border: 1px solid var(--purple); background: rgba(180,0,255,.07);
}
.np-icon {
  font-size: 2.6rem; line-height: 1; background: none; border: 0; padding: 4px; cursor: pointer; flex-shrink: 0;
  display: inline-flex; filter: drop-shadow(0 0 10px rgba(0,255,231,.5));
}
.np-icon span { display: inline-block; animation: spin 4s linear infinite; animation-play-state: paused; }
html.playing .np-icon span { animation-play-state: running; animation-duration: 1.6s; }
.np-icon.fast span { animation-duration: .25s !important; animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.np-text { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: .85rem; line-height: 1.5; }
.np-text strong { color: var(--yellow); font-size: 1.05rem; text-shadow: 0 0 8px rgba(255,230,0,.4); overflow-wrap: anywhere; }
#np-artist { color: var(--hot); }
.np-meta { color: rgba(0,255,231,.7); font-size: .78rem; letter-spacing: 1px; }
.np-onair {
  font-family: var(--pix); font-size: 1.3rem; letter-spacing: 3px; padding: 2px 10px; flex-shrink: 0;
  border: 2px solid rgba(255,45,120,.35); color: rgba(255,45,120,.35);
}
html.playing .np-onair { color: #fff; border-color: var(--hot); background: var(--hot); box-shadow: 0 0 20px var(--hot); animation: blink 1.2s steps(1) infinite; }
.np-marquee { overflow: hidden; white-space: nowrap; margin: 12px 0; border-block: 2px solid var(--cyan); background: rgba(0,255,231,.08); padding: 4px 0; }
.np-track { display: inline-flex; animation: marq 40s linear infinite; font-family: var(--pix); font-size: 1.45rem; letter-spacing: 2px; color: var(--cyan); text-shadow: 0 0 8px rgba(0,255,231,.6); }
.np-track span { padding-right: 1ch; }
@keyframes marq { to { transform: translateX(-50%); } }
.np-marquee:hover .np-track { animation-play-state: paused; }
html.reduce .np-track { animation: none; white-space: normal; display: block; }
html.reduce .np-track span + span { display: none; }
html.reduce .np-marquee { white-space: normal; }
.viz-wrap { position: relative; }
#np-viz { display: block; width: 100%; height: 220px; background: radial-gradient(ellipse at center, #1a0030, #030006 72%); border: 1px solid rgba(0,255,231,.35); }
.np-progress { height: 4px; background: rgba(255,255,255,.07); }
.np-progress span { display: block; height: 100%; width: 0; background: var(--rainbow); box-shadow: 0 0 10px var(--hot); }
.np-time { position: absolute; right: 8px; top: 6px; font-size: .75rem; color: rgba(0,255,231,.6); }
.np-controls { margin-top: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.btn {
  font-family: var(--pix); font-size: 1.35rem; letter-spacing: 2px; cursor: pointer; min-height: 44px;
  padding: 6px 16px; border: 2px solid var(--cyan); background: var(--cyan); color: #000;
  box-shadow: 0 0 14px rgba(0,255,231,.5); transition: background .15s, box-shadow .15s, color .15s;
}
.btn:hover { background: #fff; box-shadow: 0 0 24px rgba(0,255,231,.9); }
.btn[aria-pressed="true"], .btn.on { background: var(--hot); border-color: var(--hot); color: #000; box-shadow: 0 0 22px rgba(255,45,120,.8); }
.btn-alt { background: transparent; color: var(--cyan); }
.btn-alt:hover { background: var(--cyan); color: #000; }
.btn-sm { font-size: 1.15rem; padding: 4px 12px; min-height: 40px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.seed-form { display: flex; align-items: center; gap: 6px; }
.seed-form label { font-size: .8rem; color: rgba(0,255,231,.7); }
.seed-form input {
  width: 8.5em; font-family: var(--pix); font-size: 1.3rem; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(0,0,0,.6); color: var(--yellow); border: 1px solid rgba(0,255,231,.5); padding: 4px 8px; min-height: 40px;
}
.moods { border: 0; margin: 6px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.moods legend { float: left; font-size: .8rem; color: rgba(0,255,231,.7); margin-right: 8px; padding: 0; }
.moods label { position: relative; cursor: pointer; }
.moods input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.moods span {
  display: inline-block; font-family: var(--pix); font-size: 1.2rem; letter-spacing: 1px; padding: 3px 10px; min-height: 36px; line-height: 30px;
  border: 1px solid rgba(255,45,120,.6); color: var(--hot);
}
.moods input:checked + span { background: var(--hot); color: #000; box-shadow: 0 0 14px rgba(255,45,120,.7); }
.moods input:focus-visible + span { outline: 2px dashed var(--yellow); outline-offset: 3px; }
.moods .bside span { border-color: var(--yellow); color: var(--yellow); }
.moods .bside input:checked + span { background: var(--yellow); color: #000; }
.sliders { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 8px; }
.slider { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: rgba(0,255,231,.75); flex: 1 1 180px; }
.slider b { color: var(--yellow); font-weight: normal; }
input[type=range] { width: 100%; accent-color: var(--hot); min-height: 28px; }
.np-orig { margin-top: 16px; font-size: .85rem; line-height: 1.6; padding: 10px 12px; border-left: 3px solid var(--purple); background: rgba(180,0,255,.06); }
.np-orig strong { color: var(--yellow); display: block; }
.np-orig-label { font-size: .72rem; color: rgba(0,255,231,.55); letter-spacing: 2px; text-transform: uppercase; display: block; }

/* ─────────── facts + hidden cat ─────────── */
.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; padding: 0; }
.info-list li { font-size: .95rem; color: rgba(0,255,231,.85); line-height: 1.5; transition: transform .2s, color .2s; }
.info-list li::before { content: '▸ '; color: var(--hot); }
.info-list li:hover { transform: translateX(6px); color: #fff; }
.info-list .label { color: var(--hot); font-size: .82rem; letter-spacing: 1px; }
#facts { overflow: visible; }
.peek-cat {
  position: absolute; right: 26px; bottom: -3px; width: 44px; height: 22px; padding: 0; border: 0; cursor: pointer;
  background: none; overflow: hidden; opacity: .55; transition: opacity .3s, height .3s;
}
.peek-cat svg { position: absolute; left: 0; top: 0; width: 44px; height: auto; transform: translateY(0); }
.peek-cat:hover, .peek-cat:focus-visible { opacity: 1; height: 30px; }
.peek-cat.gone { opacity: 0; pointer-events: none; }

/* ─────────── obsessions ─────────── */
.bars { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
html.js .bar-row.reveal { transform: none; opacity: 1; }
.bar-label { font-size: .85rem; color: rgba(0,255,231,.8); width: 110px; flex-shrink: 0; }
.bar-track { flex: 1; height: 14px; background: rgba(0,255,231,.08); border: 1px solid rgba(0,255,231,.2); position: relative; overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--hot), var(--yellow)); box-shadow: 0 0 8px var(--hot);
  transition: width 1.3s cubic-bezier(.22,1,.36,1); transform-origin: left center;
  transform: scaleX(calc(1 + var(--lvl) * .08)); filter: brightness(calc(1 + var(--lvl) * .9));
}
.bar-row.visible .bar-fill { width: var(--pct); }

/* ─────────── blinkies ─────────── */
.pit-hint { font-size: .85rem; color: rgba(217,255,251,.65); }
.pit {
  position: relative; height: 300px; margin-top: 8px; overflow: hidden; touch-action: pan-y;
  border: 2px dashed rgba(255,230,0,.4);
  background: radial-gradient(ellipse at 50% 120%, rgba(255,45,120,.25), transparent 60%), repeating-linear-gradient(90deg, rgba(0,255,231,.05) 0 1px, transparent 1px 32px), rgba(0,0,0,.35);
}
.pit, #blinky-sky, .pit-hint { user-select: none; -webkit-user-select: none; }
html.dragging, html.dragging * { user-select: none !important; -webkit-user-select: none !important; }
.pit.flash { border-color: var(--hot); }
.pit-count { position: absolute; right: 8px; top: 4px; font-family: var(--pix); font-size: 1.1rem; color: rgba(255,230,0,.6); pointer-events: none; }
.blinkies { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.blinky {
  font-family: var(--pix); font-size: 1.25rem; line-height: 1; letter-spacing: 1px; white-space: nowrap;
  padding: 6px 10px; border: 2px solid; background: rgba(7,0,15,.9); user-select: none; -webkit-user-select: none;
  color: var(--hot); border-color: var(--hot);
}
.blinky:nth-child(even) { color: var(--yellow); border-color: var(--yellow); }
/* physics mode: absolutely positioned, JS writes transform */
.pit.live .blinkies { padding: 0; }
.pit.live .blinky, #blinky-sky .blinky {
  position: absolute; left: 0; top: 0; cursor: grab; touch-action: none; will-change: transform;
  box-shadow: 0 0 10px rgba(255,255,255,.22), inset 0 0 6px rgba(255,255,255,.12);
  animation: rainbow 1.8s steps(1) infinite, flash 0.9s steps(1) infinite;
  animation-delay: calc(var(--d, 0) * -0.23s), calc(var(--d, 0) * -0.13s);
}
.blinky.grab { cursor: grabbing; z-index: 5; }
.blinky .bl-in { display: inline-block; }
.blinky.pop .bl-in { animation: pop .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes pop { 40% { transform: scale(1.35); } }
@keyframes rainbow {
  0% { color: #ff2d78; border-color: #ff2d78; }
  16% { color: #ff8a3d; border-color: #ff8a3d; }
  33% { color: #ffe600; border-color: #ffe600; }
  50% { color: #7dffb2; border-color: #7dffb2; }
  66% { color: #00ffe7; border-color: #00ffe7; }
  83% { color: #b400ff; border-color: #b400ff; }
  100% { color: #ff2d78; border-color: #ff2d78; }
}
@keyframes flash { 50% { background: rgba(255,255,255,.14); } }
.pit.live.crowd .blinky, #blinky-sky.crowd .blinky { animation: rainbow 1.8s steps(1) infinite; animation-delay: calc(var(--d, 0) * -0.23s); } /* big crowds: skip the flash to save repaints */
#blinky-sky { position: fixed; inset: 0; z-index: 85; pointer-events: none; overflow: hidden; }
#blinky-sky .blinky { pointer-events: auto; }
.pit.empty::after { content: "✦ they're out there somewhere ✦"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--pix); font-size: 1.5rem; color: rgba(255,230,0,.5); }
html.reduce .blinky { animation: none !important; }
html.reduce .pit { height: auto; min-height: 0; }
html.reduce .pit-controls .btn { display: none; }
html.reduce .pit-count { display: none; }

/* ─────────── links + footer ─────────── */
.link-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.link-list a {
  color: var(--cyan); text-decoration: none; font-size: .95rem; padding: 4px 0 6px;
  border-bottom: 1px dashed rgba(0,255,231,.3); transition: color .15s, border-color .15s, padding .2s;
}
.link-list a::before { content: '⟶ '; color: var(--hot); }
.link-list a:hover, .link-list a:focus-visible { color: var(--yellow); border-color: var(--yellow); padding-left: 10px; }
.foot { text-align: center; font-size: .85rem; color: rgba(0,255,231,.55); padding: 20px 0 40px; }
.foot p { margin: 8px 0; }
.home-link { font-family: var(--pix); font-size: 1.4rem; letter-spacing: 2px; color: rgba(0,255,231,.7); text-decoration: none; display: inline-block; }
.home-link:hover { color: var(--yellow); }
.secret-hint { font-size: .75rem; color: rgba(255,230,0,.45); }
.secret-hint b { color: rgba(255,230,0,.8); font-weight: normal; }

/* ─────────── secrets layers ─────────── */
#toast {
  position: fixed; left: 50%; top: 16px; z-index: 180; transform: translate(-50%, -150%);
  font-family: var(--pix); font-size: 1.4rem; letter-spacing: 2px; color: #000; background: var(--yellow);
  padding: 6px 16px; box-shadow: 0 0 24px rgba(255,230,0,.8); transition: transform .35s cubic-bezier(.3,1.5,.5,1);
  max-width: calc(100vw - 24px); text-align: center; pointer-events: none; visibility: hidden;
}
#toast.show { transform: translate(-50%, 0); visibility: visible; }
#overdrive { position: fixed; inset: 0; z-index: 97; pointer-events: none; display: none; align-items: center; justify-content: center; flex-direction: column; }
html.overdrive #overdrive { display: flex; }
.od-banner {
  font-family: var(--pix); font-size: clamp(2.6rem, 11vw, 7rem); line-height: 1; text-align: center; padding: 0 10px;
  background: var(--rainbow); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer2 1.5s linear infinite, odpulse .6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 16px rgba(255,45,120,.8));
}
@keyframes shimmer2 { to { background-position: 400% 0; } }
@keyframes odpulse { to { transform: scale(1.08) rotate(-2deg); } }
.od-sub { font-family: var(--pix); font-size: 1.5rem; color: #fff; letter-spacing: 3px; text-shadow: 0 0 10px var(--hot); }
html.overdrive header.top { animation: odwobble 1.2s ease-in-out infinite; }
html.overdrive .panel { animation: roy 1.4s steps(1) infinite; }
html.overdrive .panel h2 { animation: royt 1.4s steps(1) infinite; }
@keyframes odwobble { 25% { transform: rotate(2deg) scale(1.04); } 75% { transform: rotate(-2deg) scale(.97); } }
html.reduce.overdrive header.top { animation: none; }
html.reduce .od-banner { animation: none; }
/* ROYGBIV rainbow mode */
html.roygbiv .panel { animation: roy 3.5s steps(1) infinite; }
html.roygbiv .panel h2 { animation: royt 3.5s steps(1) infinite; }
@keyframes roy { 0% { border-color: #ff0000; } 14% { border-color: #ff7f00; } 28% { border-color: #ffff00; } 43% { border-color: #00ff00; } 57% { border-color: #0000ff; } 71% { border-color: #4b0082; } 85% { border-color: #9400d3; } 100% { border-color: #ff0000; } }
@keyframes royt { 0% { color: #ff4040; } 14% { color: #ff9f30; } 28% { color: #ffff40; } 43% { color: #40ff40; } 57% { color: #6b8cff; } 71% { color: #a060ff; } 85% { color: #d060ff; } 100% { color: #ff4040; } }
html.reduce.roygbiv .panel, html.reduce.roygbiv .panel h2 { animation-duration: 20s; }
/* walking cat */
#cat-walker { position: fixed; left: 0; bottom: 64px; z-index: 96; width: 110px; height: 80px; pointer-events: none; transform: translateX(-120px); display: none; }
#cat-walker.go { display: block; }
#cat-walker svg { width: 110px; height: auto; position: absolute; left: 0; bottom: 0; }
#cat-walker .f2 { visibility: hidden; }
#cat-walker.step .f1 { visibility: hidden; }
#cat-walker.step .f2 { visibility: visible; }
#cat-walker .meow { position: absolute; left: 70px; top: -30px; font-family: var(--pix); font-size: 1.3rem; color: #fff; background: var(--hot); padding: 0 6px; white-space: nowrap; opacity: 0; transition: opacity .2s; }
#cat-walker.talk .meow { opacity: 1; }
/* terminal */
#terminal {
  position: fixed; left: 50%; bottom: 70px; z-index: 170; width: min(680px, calc(100vw - 20px)); max-height: 60vh;
  display: flex; flex-direction: column; transform: translate(-50%, 30px); opacity: 0; visibility: hidden;
  background: rgba(3,0,8,.96); border: 2px solid var(--mint); box-shadow: 0 0 30px rgba(125,255,178,.35);
  transition: transform .25s, opacity .25s, visibility .25s;
}
#terminal.open { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s, opacity .25s, visibility 0s; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(125,255,178,.12); border-bottom: 1px solid rgba(125,255,178,.35); font-size: .78rem; color: rgba(217,255,251,.75); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hot); display: inline-block; flex-shrink: 0; }
.term-bar i:nth-child(2) { background: var(--yellow); }
.term-bar i:nth-child(3) { background: var(--mint); }
.term-bar span { margin-left: 8px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-x { background: none; border: 1px solid rgba(125,255,178,.5); color: var(--mint); cursor: pointer; min-width: 32px; min-height: 28px; }
#term-out { flex: 1; overflow-y: auto; padding: 10px 12px; font-size: .9rem; color: var(--mint); min-height: 120px; }
#term-out div { white-space: pre-wrap; word-break: break-word; }
#term-out .c { color: var(--hot); }
#term-out .y { color: var(--yellow); }
#term-out .d { color: rgba(217,255,251,.5); }
#term-out .kv { display: flex; gap: 12px; }
#term-out .kv span:first-child { color: var(--cyan); min-width: 13ch; }
#term-form { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid rgba(125,255,178,.25); }
#term-form .prompt { color: var(--hot); font-size: .9rem; white-space: nowrap; }
#term-in { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-family: var(--mono); font-size: 16px; caret-color: var(--mint); }

/* ─────────── reduce motion: calm everything down ─────────── */
html.reduce .ltr { animation: none; }
html.reduce .glitch::before, html.reduce .glitch::after { animation: none; display: none; }
html.reduce .avatar, html.reduce .avatar::after, html.reduce .blink, html.reduce .status-dot, html.reduce .owl { animation: none; }
html.reduce .np-icon span { animation: none !important; }
html.reduce.playing .np-onair { animation: none; }
html.reduce .bar-fill { transition: none; transform: none; }

/* ─────────── mobile ─────────── */
@media (max-width: 640px) {
  body { font-size: 16px; }
  header.top { padding: 30px 0 18px; }
  .kicker { font-size: .72rem; letter-spacing: 1px; }
  nav a { font-size: 1.15rem; padding: 3px 9px; }
  .panel { padding: 18px 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .now-playing { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .np-onair { order: -1; margin-left: auto; font-size: 1.1rem; }
  .np-text { flex-basis: 100%; }
  #np-viz { height: 170px; }
  .seed-form { flex: 1 1 100%; }
  .seed-form input { flex: 1; width: auto; min-width: 0; }
  .bar-label { width: 90px; font-size: .78rem; }
  .pit { height: 340px; }
  .dock { right: 8px; bottom: 8px; }
  .dock-btn { font-size: 1.05rem; padding: 4px 9px; }
  .dock .long { display: none; }
  .secret-tip { display: block; }
}
