@import url('https://fonts.googleapis.com/css2?family=Jersey+20&family=Share+Tech+Mono&display=swap');

@font-face {
  font-family: 'AMORIA';
  src: url('https://db.onlinewebfonts.com/t/ab098f036ec93d3adc71db502b4b31cd.woff2') format('woff2'),
       url('https://db.onlinewebfonts.com/t/ab098f036ec93d3adc71db502b4b31cd.woff') format('woff'),
       url('https://db.onlinewebfonts.com/t/ab098f036ec93d3adc71db502b4b31cd.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* ── Core palette: deep midnight blue, NOT black/purple ── */
  --black:     #070b14;          /* midnight blue-black */
  --surface:   #0d1525;          /* rich dark navy panel */
  --surface-2: #111d30;          /* slightly lighter navy */
  --surface-3: #0a1020;          /* deepest panel */

  /* ── Accent colours ── */
  --pink:      #ff22cc;          /* magenta — use sparingly */
  --xp-blue:   #1b64c8;          /* Windows XP Luna royal blue */
  --xp-blue-2: #2d7de0;          /* lighter XP blue highlight */
  --blue:      #2255e0;          /* deep blue for buttons */
  --cyan:      #00d4cc;          /* rich teal */
  --gold:      #f5b820;          /* 80s warm amber */
  --silver:    #b8c8d8;          /* XP chrome silver */

  /* ── Text ── */
  --white:     #e4ecf8;          /* cool-white (not pure) */
  --dim:       #5a6e88;          /* blue-gray muted text */

  /* ── Structural ── */
  --border:    #1c2e48;          /* visible blue border */
  --border-2:  #243652;          /* slightly brighter border */

  /* ── XP chrome ── */
  --xp-green: linear-gradient(180deg, #62c454 0%, #2d8a28 50%, #1a5a14 100%);
  --xp-bar:   linear-gradient(180deg, #1f5dc0 0%, #1249a8 60%, #0a2e7a 100%);
  --xp-title: linear-gradient(90deg, #1249a8 0%, #2572e4 45%, #1249a8 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Jersey 20', system-ui, sans-serif;
  overflow-x: hidden;
  padding-bottom: 48px;
  -webkit-font-smoothing: none;
  font-smooth: never;
  line-height: 1.4;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--cyan);
}

/* Focus-visible ring — keyboard navigation */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

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

button {
  font-family: 'Jersey 20', system-ui, sans-serif;
  -webkit-font-smoothing: none;
  font-smooth: never;
  touch-action: manipulation; /* eliminate 300ms tap delay on iOS/Android */
  -webkit-tap-highlight-color: transparent;
}

/* Global touch optimisation — all interactive elements */
a, button, input, select, textarea, label,
[role="button"], [tabindex] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  font-family: 'Jersey 20', system-ui, sans-serif;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

#taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--xp-bar);
  border-top: 2px solid var(--pink);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s;
}

#taskbar.scrolled {
  border-top-color: var(--cyan);
  box-shadow: 0 -2px 12px rgba(0, 255, 238, 0.25);
}

.ts-start {
  background: var(--xp-green);
  border: 2px outset #dfdfdf;
  border-radius: 4px;
  padding: 4px 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.1s;
  flex-shrink: 0;
}

.ts-start:active {
  border-style: inset;
}

.ts-start:hover {
  filter: brightness(1.1);
}

.ts-start-icon {
  font-size: 16px;
}

.ts-start-label {
  letter-spacing: 1px;
}

.ts-divider {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, #ffffff, #808080);
  flex-shrink: 0;
}

.ts-buttons {
  display: flex;
  gap: 4px;
  flex: 1;
  list-style: none;
  overflow-x: auto;
  max-width: 400px;
}

.ts-button {
  background: linear-gradient(180deg, #dfdfdf, #808080);
  border: 2px outset #dfdfdf;
  padding: 4px 10px;
  color: var(--black);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.1s;
}

.ts-button:hover {
  text-shadow: 0 0 6px var(--pink);
  color: var(--pink);
}

.ts-button:active {
  border-style: inset;
}

.ts-tray {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.ts-tray-item {
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.ts-tray-item:hover {
  color: var(--cyan);
  text-shadow: 0 0 4px var(--cyan);
}

.ts-vault {
  font-weight: bold;
}

.ts-tray-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

#ts-clock {
  color: var(--white);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  min-width: 50px;
  text-align: right;
}

@media (max-width: 768px) {
  .ts-buttons {
    display: none;
  }

  .ts-tray {
    gap: 8px;
  }

  .ts-tray-item {
    font-size: 11px;
  }
}

.start-menu {
  position: fixed;
  bottom: 48px;
  left: 8px;
  width: 280px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--black) 100%);
  border: 2px solid var(--pink);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(255, 0, 204, 0.2);
  z-index: 999;
  display: none;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.start-menu.open {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sm-header {
  background: linear-gradient(90deg, var(--pink), var(--blue));
  padding: 16px 12px;
  border-bottom: 2px solid var(--pink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-logo {
  font-family: 'AMORIA', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 2px;
}

.sm-sub {
  font-size: 10px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sm-nav {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

.sm-link {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-size: 12px;
  transition: all 0.2s;
  cursor: pointer;
  display: block;
  letter-spacing: 1px;
}

.sm-link:hover {
  background: rgba(255, 0, 204, 0.1);
  color: var(--cyan);
  padding-left: 16px;
}

.sm-footer {
  padding: 12px;
  border-top: 2px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
}

.sm-vault-btn {
  display: block;
  background: var(--pink);
  color: var(--black);
  padding: 8px 12px;
  text-align: center;
  font-weight: bold;
  border-radius: 3px;
  transition: all 0.2s;
  font-size: 11px;
  letter-spacing: 1px;
}

.sm-vault-btn:hover {
  background: var(--cyan);
  color: var(--black);
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .start-menu {
    width: 100vw;
    left: 0;
    bottom: 48px;
    border-radius: 0;
  }
}

#nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 48px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

#nav-overlay.open {
  display: block;
}

#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  position: relative;
  background: var(--black);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
}

.hero-title {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -3px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-meta {
  font-size: 10px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
  line-height: 1.6;
  position: absolute;
  bottom: 60px;
  left: 40px;
}

.hero-meta-line {
  display: block;
}

#osc-canvas {
  position: absolute;
  top: 60px;
  right: 40px;
  width: 300px;
  height: 160px;
  background: var(--surface);
  border: 2px solid var(--pink);
  opacity: 0.8;
}

#ld-pad-grid {
  position: absolute;
  bottom: 60px;
  right: 40px;
  display: grid;
  grid-template-columns: repeat(4, 60px);
  gap: 8px;
  opacity: 0.7;
}

.ld-pad {
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 2px solid var(--pink);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.ld-pad:hover {
  background: rgba(255, 0, 204, 0.1);
  box-shadow: 0 0 12px var(--pink);
}

.ld-pad.active {
  background: var(--pink);
  color: var(--black);
}

#ld-steps {
  position: absolute;
  bottom: 140px;
  right: 40px;
  display: flex;
  gap: 4px;
  opacity: 0.6;
}

.ld-step {
  width: 12px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--pink);
}

.ld-step.active {
  background: var(--pink);
}

@media (max-width: 768px) {
  #home {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 120px);
  }

  .hero-meta {
    font-size: 9px;
    bottom: 40px;
    left: 20px;
  }

  #osc-canvas {
    width: 200px;
    height: 100px;
    top: 40px;
    right: 20px;
  }

  #ld-pad-grid,
  #ld-steps {
    display: none;
  }
}

.marquee-container {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
  margin: 40px 0;
}

#marquee-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 30s linear infinite;
  white-space: nowrap;
  font-size: 14px;
  color: var(--pink);
  letter-spacing: 2px;
}

.m-item {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--pink);
  white-space: nowrap;
  user-select: none;
}

.m-sep {
  color: var(--dim);
  opacity: 0.5;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
}

section {
  padding: 80px 40px;
  min-height: auto;
  position: relative;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Anchor scroll offset — prevents content hiding behind browser chrome */
#transmission, #shows, #object, #about, #signal, #contact {
  scroll-margin-top: 20px;
}

.section-label {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-family: 'Share Tech Mono', monospace;
}

.section-title {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(48px, 12vw, 120px);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  color: var(--white);
  letter-spacing: -2px;
}

#transmission {
  background: var(--black);
}

.transmission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transmission-ghost {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(64px, 16vw, 140px);
  font-weight: bold;
  line-height: 0.95;
  -webkit-text-stroke: 2px var(--pink);
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -2px;
}

.data-grid {
  background: var(--surface);
  border: 2px solid var(--pink);
  padding: 24px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  line-height: 2;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.data-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.data-key {
  color: var(--cyan);
  font-weight: bold;
}

.data-value {
  color: var(--white);
}

.data-redacted {
  background: var(--pink);
  color: transparent;
  padding: 2px 8px;
  border-radius: 2px;
}

.glitch-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--pink);
  margin-left: 4px;
  animation: blink 0.6s infinite;
}

@keyframes blink {
  0%, 49%, 100% { opacity: 1; }
  50%, 99% { opacity: 0; }
}

@media (max-width: 768px) {
  #transmission {
    padding: 60px 20px;
  }

  .transmission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .transmission-ghost {
    font-size: clamp(36px, 10vw, 72px);
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .data-key {
    font-size: 10px;
    opacity: 0.7;
  }
}

#shows {
  background: var(--black);
}

.shows-title {
  margin-bottom: 40px;
}

#shows-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.show-row {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-left: 4px solid var(--pink);
  transition: all 0.2s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.show-row > .show-date { flex: 0 0 130px; }
.show-row > .show-city { flex: 0 0 90px; }
.show-row > .show-venue { flex: 1 1 180px; min-width: 0; }
.show-row > .show-actions { flex: 0 0 auto; margin-left: auto; }

.show-row:hover {
  border-left-color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(255, 0, 204, 0.1);
}

.show-date {
  font-size: 11px;
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.show-venue {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 6px;
}

.show-location {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 10px;
}

/* .show-rsvp — replaced by .show-rsvp-btn (rendered by shows.js) */

.shows-footer {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.shows-footer a {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  #shows {
    padding: 60px 20px;
  }

  .show-row {
    padding: 16px;
  }

  /* On mobile, show-actions stays left-aligned rather than being pushed right */
  .show-row > .show-actions {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }

  .show-row > .show-date,
  .show-row > .show-city {
    flex: 0 0 auto;
  }
}

#object {
  background: var(--black);
}

#merch-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.merch-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface), var(--blue) 200%);
  border: 2px dashed var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--dim);
  text-align: center;
  padding: 20px;
}

.merch-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.merch-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--white);
}

.merch-price {
  font-size: 24px;
  color: var(--pink);
  font-weight: bold;
}

.merch-desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

.merch-specs {
  background: var(--surface);
  padding: 16px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
}

.merch-specs-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.merch-specs-line:last-child {
  border-bottom: none;
}

.merch-label {
  color: var(--cyan);
}

.merch-value {
  color: var(--white);
}

.merch-actions {
  display: flex;
  gap: 12px;
}

.merch-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--pink);
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-btn:hover {
  background: var(--pink);
  color: var(--black);
}

.merch-btn.primary {
  background: var(--pink);
  color: var(--black);
}

.merch-btn.primary:hover {
  background: var(--cyan);
}

@media (max-width: 768px) {
  #object {
    padding: 60px 20px;
  }

  #merch-product {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

#about {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-ghost {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(48px, 15vw, 140px);
  font-weight: bold;
  line-height: 0.95;
  -webkit-text-stroke: 2px var(--pink);
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -2px;
  word-break: break-word;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-bio {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white);
}

.about-credentials {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
}

.cred-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cred-row:last-child {
  border-bottom: none;
}

.cred-label {
  color: var(--cyan);
  font-weight: bold;
}

.cred-value {
  color: var(--white);
}

.about-social {
  display: flex;
  gap: 16px;
}

.social-link {
  font-size: 12px;
  font-weight: bold;
  padding: 8px 16px;
  border: 1px solid var(--pink);
  color: var(--white);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--pink);
  color: var(--black);
}

@media (max-width: 768px) {
  #about {
    padding: 60px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-ghost {
    font-size: clamp(32px, 10vw, 72px);
  }
}

#signal {
  background: var(--black);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.signal-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.signal-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-left: 4px solid var(--pink);
}

.signal-stat-label {
  font-size: 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-family: 'Share Tech Mono', monospace;
}

.signal-stat-value {
  font-size: 32px;
  font-weight: bold;
  color: var(--pink);
}

.signal-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

#signal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signal-input {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 16px;
  color: var(--white);
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.signal-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.2);
}

.signal-submit {
  background: var(--pink);
  color: var(--black);
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.signal-submit:hover {
  background: var(--cyan);
}

#signal-success {
  display: none;
  background: var(--surface);
  border: 2px solid var(--cyan);
  padding: 20px;
  text-align: center;
}

#signal-success.active {
  display: block;
}

#signal-success h3 {
  color: var(--cyan);
  margin-bottom: 10px;
  font-size: 14px;
}

@media (max-width: 768px) {
  #signal {
    padding: 60px 20px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

#contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-group-title {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(32px, 8vw, 72px);
  font-weight: bold;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -1px;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.contact-item-icon {
  width: 20px;
  height: 20px;
  border: 1px solid var(--pink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--pink);
  flex-shrink: 0;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#contact-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-label {
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.contact-form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  color: var(--white);
  font-size: 12px;
  outline: none;
  transition: all 0.2s;
}

.contact-form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.2);
}

.contact-form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
  color: var(--white);
  font-size: 12px;
  min-height: 120px;
  outline: none;
  resize: vertical;
  transition: all 0.2s;
  font-family: 'Jersey 20', system-ui, sans-serif;
}

.contact-form-textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.2);
}

.contact-submit {
  background: var(--pink);
  color: var(--black);
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-submit:hover {
  background: var(--cyan);
}

#contact-success {
  display: none;
  background: var(--surface);
  border: 2px solid var(--cyan);
  padding: 20px;
  text-align: center;
}

#contact-success.active {
  display: block;
}

@media (max-width: 768px) {
  #contact {
    padding: 60px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-group-title {
    font-size: clamp(24px, 6vw, 48px);
  }
}

footer {
  background: var(--black);
  border-top: 2px solid var(--pink);
  padding: 40px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  font-size: 11px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: 'AMORIA', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: var(--pink);
  letter-spacing: 1px;
}

.footer-info {
  color: var(--dim);
  line-height: 1.6;
}

.footer-info strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

.xp-window {
  position: fixed;
  background: linear-gradient(180deg, #c0c0c0 0%, #dfdfdf 100%);
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  box-shadow: 1px 1px 0 0 #ffffff inset, 1px 1px 0 0 #000000;
  min-width: min(300px, calc(100vw - 24px));
  z-index: 2000;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  width: auto;
}

.xp-titlebar {
  background: linear-gradient(90deg, #0a006e, #ff00cc 50%, #0a006e);
  border-bottom: 2px solid var(--pink);
  padding: 2px 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
}

.xp-icon {
  width: 16px;
  height: 16px;
  background: white;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.xp-title {
  color: white;
  font-size: 11px;
  font-weight: bold;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xp-controls {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.xp-ctrl {
  width: 16px;
  height: 14px;
  background: linear-gradient(180deg, #dfdfdf, #808080);
  border: 1px outset #dfdfdf;
  color: #000;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.1s;
}

.xp-ctrl:active {
  border-style: inset;
}

.xp-close {
  background: linear-gradient(180deg, #ff6b6b, #c41e1e);
  color: white;
  border-color: #ff6b6b #8b0000 #8b0000 #ff6b6b;
}

.xp-body {
  background: #c0c0c0;
  padding: 8px;
  overflow-y: auto;
  flex: 1;
  font-size: 11px;
  color: #000;
}

.xp-body input,
.xp-body textarea,
.xp-body select {
  background: white;
  border: 1px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  padding: 2px 4px;
  font-size: 11px;
  font-family: 'Jersey 20', system-ui, sans-serif;
}

.xp-body label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.xp-button {
  background: linear-gradient(180deg, #dfdfdf, #808080);
  border: 1px outset #dfdfdf;
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 4px;
  transition: all 0.1s;
}

.xp-button:hover {
  filter: brightness(1.05);
}

.xp-button:active {
  border-style: inset;
}

#modal-overlay,
#rsvp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  display: none;
  align-items: center;
  justify-content: center;
}

#modal-overlay.open,
#rsvp-overlay.open {
  display: flex;
}

#modal-form-wrap,
#modal-buynow-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#modal-form-wrap input,
#modal-buynow-wrap input {
  width: 100%;
  padding: 6px 8px;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-form-group label {
  font-weight: bold;
  font-size: 11px;
}

#captcha-question {
  background: #e0e0e0;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #999;
  font-weight: bold;
  font-size: 12px;
}

.captcha-controls {
  display: flex;
  gap: 8px;
}

.captcha-refresh {
  padding: 4px 8px;
  font-size: 10px;
  background: #0a006e;
  color: white;
  border: 1px outset #0a006e;
  cursor: pointer;
}

#modal-success {
  display: none;
  text-align: center;
}

#modal-success.active {
  display: block;
}

#modal-success h3 {
  color: #008800;
  margin-bottom: 8px;
  font-size: 13px;
}

#modal-success-sub {
  color: #666;
  font-size: 10px;
  line-height: 1.4;
}

#rsvp-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#rsvp-form-wrap input {
  width: 100%;
  padding: 6px 8px;
}

#rsvp-success {
  display: none;
  text-align: center;
}

#rsvp-success.active {
  display: block;
}

#cookie-notice {
  position: fixed;
  bottom: 48px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--pink);
  padding: 16px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 800;
  font-size: 12px;
  max-height: 80px;
}

#cookie-notice.visible {
  display: flex;
}

.cookie-text {
  color: var(--white);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  border: 1px solid var(--pink);
  background: transparent;
  color: var(--white);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.cookie-btn:hover {
  background: var(--pink);
  color: var(--black);
}

.cookie-btn.accept {
  background: var(--pink);
  color: var(--black);
}

@media (max-width: 768px) {
  #cookie-notice {
    flex-direction: column;
    padding: 12px;
    max-height: none;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

#vault-header {
  padding: 60px 40px;
  background: var(--black);
  position: relative;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.vault-eyebrow {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Share Tech Mono', monospace;
}

.vault-title {
  font-family: 'AMORIA', sans-serif;
  font-size: clamp(64px, 16vw, 160px);
  font-weight: bold;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 30px;
}

.vault-decorations {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  gap: 30px;
}

.vault-deco-item {
  width: 100px;
  height: 100px;
  border: 2px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: 0.6;
}

#vault-cd {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #ff00cc, #0044ff);
  animation: spin-cd 8s linear infinite;
}

@keyframes spin-cd {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.vault-error-dialog {
  position: absolute;
  bottom: 60px;
  left: 40px;
  width: 280px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  font-size: 11px;
  z-index: 10;
  opacity: 0.7;
}

.vault-error-title {
  background: linear-gradient(90deg, #0a006e, #ff00cc);
  color: white;
  padding: 2px 4px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vault-error-close {
  width: 14px;
  height: 12px;
  background: linear-gradient(180deg, #dfdfdf, #808080);
  border: 1px outset;
  cursor: pointer;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-error-body {
  padding: 8px;
  background: #c0c0c0;
  text-align: center;
}

@media (max-width: 768px) {
  #vault-header {
    padding: 40px 20px;
  }

  .vault-decorations {
    position: static;
    margin-top: 30px;
    justify-content: center;
    gap: 20px;
  }

  .vault-deco-item {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  #vault-cd {
    width: 70px;
    height: 70px;
  }

  .vault-error-dialog {
    position: static;
    width: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   BEAT STORE — vault.html
═══════════════════════════════════════════════════════ */

.beats-container {
  padding: 40px;
  background: var(--black);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

#beats-header {
  display: grid;
  grid-template-columns: 36px 1fr 70px 50px 55px 120px 110px 180px;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--pink);
  font-size: 10px;
  font-weight: bold;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Share Tech Mono', monospace;
  margin-bottom: 0;
}

.beat-header-col {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#beats-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--black);
}

.beat-row {
  display: grid;
  grid-template-columns: 36px 1fr 70px 50px 55px 120px 110px 180px;
  gap: 10px;
  padding: 10px 14px;
  background: var(--black);
  border: 1px solid var(--border);
  border-top: none;
  align-items: center;
  transition: background 0.15s;
}

.beat-row:hover {
  background: rgba(255, 0, 204, 0.04);
}

/* ── Column: Number ── */
.b-num {
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: bold;
}

/* ── Column: Name/Tags (hidden on desktop, show on mobile) ── */
.b-meta {
  display: none;
}

/* ── Column: Name ── */
.b-name {
  min-width: 0;
  overflow: hidden;
}

.b-title {
  font-weight: bold;
  color: var(--white);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.b-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.b-tag {
  background: rgba(255, 0, 204, 0.12);
  color: var(--pink);
  font-size: 9px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 0, 204, 0.4);
  border-radius: 2px;
  white-space: nowrap;
}

.b-tag.license {
  background: rgba(0, 68, 255, 0.15);
  color: var(--blue);
  border-color: rgba(0, 68, 255, 0.4);
}

.b-vault-badge {
  font-size: 8px;
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.b-format-badge {
  font-size: 9px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
}

.b-fmt-preview { color: var(--blue); }
.b-fmt-sep     { margin: 0 4px; }
.b-fmt-deliver { color: var(--dim); }

/* ── Columns: BPM / Key / Dur ── */
.b-col-bpm,
.b-col-key,
.b-col-dur {
  color: var(--white);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b-col-bpm { color: var(--cyan); }

/* ── Column: Bid ── */
.b-bid {
  min-width: 0;
}

.b-bid-amount {
  color: var(--pink);
  font-weight: bold;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  margin-bottom: 2px;
}

.b-bid-count {
  font-size: 9px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
}

/* ── Column: Progress / Timer ── */
.b-progress {
  min-width: 0;
}

.b-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 4px;
  overflow: hidden;
}

.b-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border-radius: 2px;
  transition: width 1s linear;
}

.b-progress-fill.urgent { background: linear-gradient(90deg, #ff4444, var(--pink)); }

.b-progress-time {
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
}

.b-progress-time.urgent { color: #ff4444; animation: blink 1s infinite; }

/* ── Column: Actions ── */
.b-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.b-play-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.15s;
  font-family: 'Jersey 20', sans-serif;
  white-space: nowrap;
}

.b-play-btn:hover { background: #0055ff; }

.bid-btn {
  background: var(--pink);
  color: var(--black);
  border: none;
  padding: 4px 8px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.15s;
  font-family: 'Jersey 20', sans-serif;
  white-space: nowrap;
}

.bid-btn:hover { background: #ff33dd; }

.buynow-btn {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 4px 8px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: all 0.15s;
  font-family: 'Jersey 20', sans-serif;
  white-space: nowrap;
}

.buynow-btn:hover {
  background: var(--cyan);
  color: var(--black);
}

.bid-acquired {
  font-size: 10px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Admin remove list ── */
.remove-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.remove-item:last-child { border-bottom: none; }

.remove-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.remove-item-name {
  color: var(--white);
  font-weight: bold;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-item-meta {
  color: var(--dim);
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
}

.remove-item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.edit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 4px 10px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.15s;
  font-family: 'Jersey 20', sans-serif;
}

.edit-btn:hover { background: #0055ff; }

.remove-btn {
  background: #c41e1e;
  color: var(--white);
  border: none;
  padding: 4px 10px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.15s;
  font-family: 'Jersey 20', sans-serif;
}

.remove-btn:hover { background: #ff4444; }

@media (max-width: 768px) {
  .beats-container {
    padding: 16px;
  }

  #beats-header {
    display: none;
  }

  .beat-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 14px;
    gap: 6px;
    border: 1px solid var(--border);
    border-top: none;
  }

  .b-meta {
    display: block;
    color: var(--dim);
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
  }

  .b-meta-item { color: var(--white); }
  .b-meta-sep  { margin: 0 4px; color: var(--dim); }
  .b-meta-unit { color: var(--dim); font-size: 9px; }

  .b-col-bpm,
  .b-col-key,
  .b-col-dur,
  .b-progress {
    display: none;
  }

  .b-bid-amount { font-size: 15px; }
  .b-actions    { flex-wrap: nowrap; }
}

/* ═══════════════════════════════════════════════════════
   SHOWS — index.html (JS-rendered classes)
═══════════════════════════════════════════════════════ */

.show-city {
  font-size: 14px;
  font-weight: bold;
  color: var(--cyan);
  margin-bottom: 4px;
}

.show-note {
  font-size: 11px;
  color: var(--dim);
  font-style: italic;
}

.show-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.show-ticket-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.15s;
  text-decoration: none;
  font-family: 'Jersey 20', sans-serif;
}

.show-ticket-btn:hover { background: #0055ff; color: var(--white); }

.show-ticket-tba {
  font-size: 11px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
}

.show-rsvp-btn {
  background: transparent;
  color: var(--pink);
  border: 1px solid var(--pink);
  padding: 6px 14px;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 2px;
  transition: all 0.15s;
  font-family: 'Jersey 20', sans-serif;
}

.show-rsvp-btn:hover {
  background: var(--pink);
  color: var(--black);
}

/* ═══════════════════════════════════════════════════════
   MERCH — index.html (JS-rendered classes)
═══════════════════════════════════════════════════════ */

.merch-img-col {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 68, 255, 0.15) 100%);
  border: 2px dashed var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.merch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merch-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 20px;
  font-family: 'Share Tech Mono', monospace;
}

.merch-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.merch-sku {
  font-size: 10px;
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.merch-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-run {
  font-size: 11px;
  color: var(--pink);
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
}

.merch-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.merch-size-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dim);
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.15s;
  font-family: 'Jersey 20', sans-serif;
  letter-spacing: 1px;
}

.merch-size-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.merch-size-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--black);
}

.merch-size-err {
  font-size: 11px;
  color: #ff4444;
  min-height: 16px;
  font-family: 'Share Tech Mono', monospace;
}

.merch-cta-btn {
  background: var(--pink);
  color: var(--black);
  border: none;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Jersey 20', sans-serif;
  align-self: flex-start;
}

.merch-cta-btn:hover { background: var(--cyan); }

.merch-footnote {
  font-size: 11px;
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
}

.merch-footnote a { color: var(--pink); }
.merch-footnote a:hover { color: var(--cyan); }

.merch-size-err {
  min-height: 18px;
  font-size: 11px;
  color: var(--pink);
  font-family: 'Share Tech Mono', monospace;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .merch-info-col { gap: 12px; }
  .merch-name { font-size: 18px; }
  .merch-cta-btn { align-self: stretch; text-align: center; }
}

#console-tray {
  position: fixed;
  bottom: 48px;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--surface), var(--black));
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  padding: 16px 20px;
  display: none;
  z-index: 900;
  max-height: 260px;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

#console-tray.open {
  display: block;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.console-title {
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.console-close {
  background: transparent;
  border: 1px solid var(--pink);
  color: var(--pink);
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.console-close:hover {
  background: var(--pink);
  color: var(--black);
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.console-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.console-info-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
}

.console-info-label {
  color: var(--cyan);
  font-weight: bold;
}

.console-info-value {
  color: var(--white);
}

#console-status-text {
  color: var(--pink);
  font-size: 12px;
  font-weight: bold;
}

.console-led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4444;
  display: inline-block;
  margin-left: 6px;
  animation: pulse 0.6s infinite;
}

.console-led.on {
  background: #00ff00;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.console-visualizers {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  height: 80px;    /* explicit height so tray total is predictable */
}

.console-visualizer {
  flex: 1;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 4px;
}

.console-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--pink), var(--blue));
  border-radius: 1px;
  opacity: 0.7;
}

/* ── Progress / seek / volume row ── */
.console-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 0;
  width: 100%;
  flex-shrink: 0;
  /* Span both columns of the 2-col desktop grid */
  grid-column: 1 / -1;
}

.console-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  min-width: 30px;
  white-space: nowrap;
  line-height: 1;
}

.console-seek-track {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.console-seek-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--cyan);
  border-radius: 2px;
  transition: width 0.08s linear;
}

.console-seek-track:hover .console-seek-fill {
  background: var(--pink);
}

.console-vol-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.console-vol-label {
  font-size: 11px;
  line-height: 1;
  opacity: 0.6;
}

#console-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid var(--border);
  outline: none;
}

#console-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 4px rgba(0, 212, 204, 0.5);
}

#console-vol::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

#console-vol:hover::-webkit-slider-thumb { background: var(--pink); }
#console-vol:hover::-moz-range-thumb     { background: var(--pink); }

@media (max-width: 768px) {
  #console-tray {
    padding: 12px;
    max-height: 150px;
  }

  .console-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .console-visualizers {
    height: 60px;
  }
}

#admin-auth-box {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  padding: 12px;
  z-index: 950;
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 200px;
}

#admin-auth-box.open {
  display: flex;
}

#admin-pw {
  padding: 4px 6px;
  border: 1px solid #999;
  width: 100%;
  font-size: 11px;
}

#pw-err {
  color: #c41e1e;
  font-size: 10px;
  font-weight: bold;
}

#admin-panel {
  display: none;
  padding: 40px;
  background: var(--black);
  border-top: 2px solid var(--pink);
  margin-top: 40px;
}

#admin-panel.open {
  display: block;
}

#admin-edit-panel {
  display: none;
}

#admin-edit-panel.open {
  display: block;
}

.admin-section {
  margin-bottom: 40px;
}

.admin-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--pink);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  padding: 20px;
  border: 1px solid var(--border);
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-label {
  font-size: 11px;
  color: var(--cyan);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-form-input {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 12px;
  font-size: 12px;
  outline: none;
  transition: all 0.2s;
}

.admin-form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 8px rgba(255, 0, 204, 0.2);
}

.admin-btn {
  background: var(--pink);
  color: var(--black);
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.admin-btn:hover {
  background: var(--cyan);
}

#admin-remove-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-beat-row {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-beat-info {
  flex: 1;
}

.admin-beat-name {
  color: var(--white);
  font-weight: bold;
  font-size: 12px;
}

.admin-beat-id {
  color: var(--dim);
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
}

.admin-remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 4px 12px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}

.admin-remove-btn:hover {
  background: #ff6b6b;
}

/* Firebase status badge in admin panel */
.admin-fb-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 12px;
}

.admin-fb-ok {
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.admin-fb-off {
  color: var(--dim);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  #admin-panel {
    padding: 20px;
  }

  #admin-auth-box {
    width: 160px;
    padding: 10px;
  }
}

/* b-bpm / b-key / b-dur — modifier classes used alongside .b-col-* and inside .b-meta */
.b-bpm { color: var(--cyan); }
.b-key { color: var(--white); }
.b-dur { color: var(--white); }

/* ═══════════════════════════════════════════════════════
   ADMIN AUTH BOX — XP-window restyle
═══════════════════════════════════════════════════════ */

#admin-auth-box {
  position: fixed;
  bottom: 62px;
  right: 16px;
  z-index: 1100;
  width: 240px;
  background: linear-gradient(180deg, #c0c0c0 0%, #dfdfdf 100%);
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  box-shadow: 1px 1px 0 0 #ffffff inset, 2px 2px 8px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
}

.admin-auth-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 10px 12px;
}

.admin-auth-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.admin-auth-dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--pink);
  animation: admin-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes admin-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.admin-auth-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--pink);
  letter-spacing: 0.08em;
}

.admin-login-btn {
  background: linear-gradient(180deg, #1249a8 0%, #0a2e7a 100%) !important;
  border-color: #2572e4 #0a1a4a #0a1a4a #2572e4 !important;
  color: white !important;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.1em;
}

.admin-login-btn:hover { filter: brightness(1.2) !important; }
.admin-login-btn:disabled {
  background: linear-gradient(180deg, #555, #333) !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* error / lockout messages */
.pw-err {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  margin-top: 6px;
  min-height: 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

.pw-err-deny { color: #c41e1e; }
.pw-err-lock { color: var(--pink); font-weight: bold; }
.pw-err-warn { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════
   ADMIN PANEL HEADER — redesigned
═══════════════════════════════════════════════════════ */

.admin-panel-header {
  margin-bottom: 48px;
  border: 1px solid var(--border-2);
}

.admin-panel-titlebar {
  background: linear-gradient(90deg, #0a006e 0%, var(--pink) 50%, #0a006e 100%);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.admin-panel-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.admin-panel-title {
  color: white;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
  font-family: 'Share Tech Mono', monospace;
}

.admin-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.admin-logout-btn {
  background: linear-gradient(180deg, #c41e1e, #8b0000);
  border: 1px outset #ff6b6b;
  color: white;
  font-size: 10px;
  padding: 2px 10px;
  cursor: pointer;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.06em;
  transition: filter 0.15s;
}

.admin-logout-btn:hover { filter: brightness(1.2); }

.admin-panel-session-info {
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.admin-session-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--cyan);
  flex-shrink: 0;
}

/* Edit button in beat list */
.admin-edit-btn {
  background: linear-gradient(180deg, #1249a8, #0a2e7a) !important;
  color: white !important;
}

.admin-edit-btn:hover {
  background: linear-gradient(180deg, #2572e4, #1249a8) !important;
}

/* License select dropdown — dark theme */
.admin-form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2300d4cc'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  padding-right: 28px !important;
}

/* ═══════════════════════════════════════════════════════
   UTILITY — error flash, hit animation, step-sequencer
═══════════════════════════════════════════════════════ */

/* .err — applied to form inputs on validation failure */
.err,
input.err,
textarea.err {
  border-color: var(--pink) !important;
  background: rgba(255, 0, 204, 0.08) !important;
  animation: err-shake 0.3s ease;
}

@keyframes err-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}

/* .play-err — play button audio load error */
.play-err {
  color: var(--pink) !important;
  border-color: var(--pink) !important;
  animation: err-shake 0.3s ease;
}

/* .hit — launchpad pad press flash */
.ld-pad.hit {
  background: var(--pink) !important;
  color: var(--black) !important;
  transform: scale(0.9);
  transition: transform 0.05s, background 0.05s;
}

/* .queued / .active — step sequencer LED states */
#ld-steps .queued {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

#ld-steps .queued.active {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

/* ═══════════════════════════════════════════════════════
   VISIONARY RELEASE TEASER / COUNTDOWN
═══════════════════════════════════════════════════════ */

.visionary-teaser {
  margin-top: 60px;
  padding: 32px 36px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink);
  background: rgba(255,0,204,0.03);
  position: relative;
  overflow: hidden;
}

.visionary-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(255,0,204,0.015) 3px,
    rgba(255,0,204,0.015) 4px
  );
  pointer-events: none;
}

.vt-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pink);
  margin-bottom: 24px;
  opacity: 0.7;
}

.vt-display {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.vt-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vt-num {
  font-family: 'Jersey 20', cursive;
  font-size: 64px;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,0,204,0.5);
  min-width: 80px;
  text-align: center;
  /* TBA state — redacted colour */
  color: rgba(255,0,204,0.4);
  letter-spacing: 4px;
}

.vt-num.live {
  color: var(--white);
  animation: vt-pulse 2s ease-in-out infinite;
}

@keyframes vt-pulse {
  0%, 100% { text-shadow: 0 0 12px rgba(255,0,204,0.4); }
  50%       { text-shadow: 0 0 28px rgba(255,0,204,0.8), 0 0 50px rgba(255,0,204,0.3); }
}

.vt-unit-label {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.vt-sep {
  font-family: 'Jersey 20', cursive;
  font-size: 56px;
  color: rgba(255,0,204,0.3);
  line-height: 1;
  padding-bottom: 18px;
  user-select: none;
}

.vt-status {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.25);
  animation: vt-status-blink 3.5s ease-in-out infinite;
}

@keyframes vt-status-blink {
  0%, 85%, 100% { opacity: 1; }
  90%           { opacity: 0.15; }
}

/* Glitch flash on the whole teaser block */
.visionary-teaser.glitch-flash {
  animation: vt-glitch 0.12s steps(1) forwards;
}

@keyframes vt-glitch {
  0%   { transform: translate(0); filter: none; }
  20%  { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
  40%  { transform: translate(2px, -1px); }
  60%  { transform: translate(-1px, 0); filter: hue-rotate(-45deg); }
  100% { transform: translate(0); filter: none; }
}

/* Mobile */
@media (max-width: 600px) {
  .vt-num  { font-size: 42px; min-width: 52px; }
  .vt-sep  { font-size: 36px; padding-bottom: 12px; }
  .visionary-teaser { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   VISUAL SYSTEM — V2  ·  CRT · GRAIN · GLITCH · CURSOR · REVEALS
   ════════════════════════════════════════════════════════════ */

/* ── CRT SCANLINES ── */
#crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9988;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.045) 2px,
    rgba(0, 0, 0, 0.045) 4px
  );
  mix-blend-mode: multiply;
}

/* ── FILM GRAIN ── */
body::after {
  content: '';
  position: fixed;
  inset: -200px;
  width: calc(100% + 400px);
  height: calc(100% + 400px);
  pointer-events: none;
  z-index: 9987;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  animation: grain-shift 0.22s steps(1) infinite;
}

@keyframes grain-shift {
  0%   { background-position: 0 0; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: 20% 25%; }
  50%  { background-position: -25% 10%; }
  60%  { background-position: 15% 5%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 25% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0 0; }
}

/* ── HERO DOT GRID — subtle overlay on top of Bliss background ── */
#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 0, 204, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;  /* behind all content */
  opacity: 0.5;
}

/* Ensure hero meta + canvas + pad grid are above the ::after overlay */
.hero-meta   { z-index: 5; }
#osc-canvas  { z-index: 5; }
#ld-pad-grid { z-index: 5; }
#ld-steps    { z-index: 5; }
.hero-y2k-deco { z-index: 4; }

/* ── HERO AMBIENT RADIAL GLOW ── */
.hero-ambient {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(255, 0, 204, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: ambient-pulse 6s ease-in-out infinite;
}

@keyframes ambient-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1.2; transform: scale(1.05); }
}

/* ── HERO TITLE RGB-SPLIT GLITCH ── */
@keyframes hero-glitch-loop {
  0%, 78%, 100% { transform: none; text-shadow: none; }
  79%   { transform: translate(-3px, 0); text-shadow:  3px 0 var(--pink), -3px 0 var(--cyan); }
  79.5% { transform: translate( 3px, 0); text-shadow: -3px 0 var(--blue),  3px 0 var(--pink); }
  80%   { transform: translate(-1px, 1px); text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink); }
  80.5% { transform: none; text-shadow: none; }
  81%   { transform: translate(2px, -1px); text-shadow: -2px 0 var(--pink), 2px 0 var(--cyan); }
  81.5% { transform: none; text-shadow: none; }
  92%   { transform: none; text-shadow: none; }
  92.5% { transform: translate(4px, 0); text-shadow: -4px 0 var(--cyan), 4px 0 var(--pink); }
  93%   { transform: none; text-shadow: none; }
}

.hero-title {
  animation: hero-glitch-loop 9s infinite;
  will-change: transform;
}

/* ── VAULT TITLE GLITCH (same pattern, slower) ── */
.vault-title {
  animation: hero-glitch-loop 13s infinite;
  will-change: transform;
}

/* ── MARQUEE EDGE FADE ── */
.marquee-container {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  border-top: 1px solid rgba(255, 0, 204, 0.25);
  border-bottom: 1px solid rgba(255, 0, 204, 0.25);
  margin: 32px 0;
}

/* ── SECTION BACKGROUND COLOUR VARIATION ── */
#shows    { background: linear-gradient(180deg, #000000 0%, #00000a 100%); }
#about    { background: linear-gradient(180deg, #000000 0%, #030008 100%); }
#signal   { background: linear-gradient(180deg, #030008 0%, #000008 100%); }
#contact  { background: linear-gradient(180deg, #000008 0%, #000000 100%); }

/* ── SECTION DIVIDER GLOW LINES ── */
#shows,
#object,
#about,
#signal,
#contact {
  border-top: 1px solid var(--border);
  position: relative;
}

#shows::before,
#object::before,
#about::before,
#signal::before,
#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0.3;
  pointer-events: none;
}

/* ── SECTION REVEAL FADE-UP ── */
.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger child reveals */
.section-reveal:nth-child(2) { transition-delay: 0.08s; }
.section-reveal:nth-child(3) { transition-delay: 0.16s; }
.section-reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── TRANSMISSION GHOST SUBTLE DRIFT ── */
@keyframes ghost-drift {
  0%, 100% { transform: none; }
  33%       { transform: translate(2px, -1px); }
  66%       { transform: translate(-2px, 1px); }
}

.transmission-ghost {
  animation: ghost-drift 12s ease-in-out infinite;
}

/* ── DATA GRID HOVER GLOW ── */
.data-grid:hover {
  box-shadow: 0 0 40px rgba(255, 0, 204, 0.08), 0 0 80px rgba(0, 68, 255, 0.04);
  transition: box-shadow 0.4s ease;
}

/* ── SIGNAL SECTION AMBIENT ── */
#signal::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 255, 238, 0.04) 0%, transparent 70%);
  pointer-events: none;
  transform: translateY(-50%);
}

/* ── ABOUT GHOST TEXT GLOW ── */
.about-ghost {
  text-shadow: 0 0 60px rgba(255, 0, 204, 0.12);
  transition: text-shadow 0.4s;
}

.about-ghost:hover {
  text-shadow: 0 0 80px rgba(255, 0, 204, 0.25);
}

/* ── ENHANCED SHOW ROW ── */
.show-row:hover {
  transform: translateX(4px);
  transition: transform 0.2s ease, border-left-color 0.2s, box-shadow 0.2s;
}

/* ── SOCIAL LINK GLITCH HOVER ── */
.social-link:hover {
  animation: err-shake 0.25s ease;
}

/* ── OSC CANVAS GLOW ── */
#osc-canvas {
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.2), 0 0 40px rgba(255, 0, 204, 0.08);
  transition: box-shadow 0.4s;
}

#osc-canvas:hover {
  box-shadow: 0 0 30px rgba(255, 0, 204, 0.35), 0 0 60px rgba(255, 0, 204, 0.15);
}

/* ── FOOTER GLOW PULSE ── */
footer {
  border-top: 2px solid var(--pink);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  animation: footer-shimmer 4s ease-in-out infinite;
}

@keyframes footer-shimmer {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── CUSTOM CURSOR (non-touch only) ── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [onclick], label, select, .ld-pad,
  .ts-start, .ts-tray-item, .merch-size-btn,
  .b-play-btn, .bid-btn, .buynow-btn, .social-link {
    cursor: none;
  }
}

#cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: background 0.15s, box-shadow 0.15s, transform 0.08s;
  box-shadow: 0 0 8px var(--pink), 0 0 18px rgba(255, 0, 204, 0.5);
  mix-blend-mode: screen;
}

#cursor-dot.hovering {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 24px rgba(0, 255, 238, 0.5);
  transform: translate(-50%, -50%) scale(1.6);
}

#cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 0, 204, 0.55);
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, opacity 0.22s;
  will-change: left, top;
}

#cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--cyan);
}

/* ── BEAT ROW HOVER LEFT-BORDER INDICATOR ── */
.beat-row {
  border-left: 3px solid transparent;
  transition: background 0.15s, border-left-color 0.15s;
}

.beat-row:hover {
  background: rgba(255, 0, 204, 0.03);
  border-left-color: var(--pink);
}

/* ── PLAY BUTTON PULSE WHEN ACTIVE ── */
.b-play-btn.playing {
  background: var(--pink);
  animation: play-pulse 1.2s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--pink); }
  50%       { box-shadow: 0 0 16px var(--pink), 0 0 30px rgba(255,0,204,0.3); }
}

/* ── VAULT HEADER AMBIENT ── */
#vault-header {
  position: relative;
  overflow: hidden;
}

#vault-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255, 0, 204, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(0, 68, 255, 0.04) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg, transparent, transparent 2px,
      rgba(255, 0, 204, 0.012) 2px, rgba(255, 0, 204, 0.012) 4px
    );
  pointer-events: none;
  z-index: 0;
}

#vault-header > * { position: relative; z-index: 1; }

/* ── SIGNAL INPUT GLOW ON FOCUS ── */
.signal-input:focus,
.contact-form-input:focus,
.contact-form-textarea:focus,
.admin-form-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255, 0, 204, 0.12), 0 0 16px rgba(255, 0, 204, 0.08);
}

/* ── SUBMIT BUTTON SHIMMER ── */
.signal-submit,
.contact-submit,
.admin-btn {
  position: relative;
  overflow: hidden;
}

.signal-submit::after,
.contact-submit::after,
.admin-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.signal-submit:hover::after,
.contact-submit:hover::after,
.admin-btn:hover::after {
  left: 150%;
}

/* ── SECTION LABEL LEFT-TICK ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--pink);
  flex-shrink: 0;
}

/* ── CRED ROW HOVER ── */
.cred-row {
  transition: background 0.15s;
}

.cred-row:hover {
  background: rgba(255, 0, 204, 0.04);
}

/* ── SIGNAL STAT VALUE GLOW ── */
.signal-stat-value {
  text-shadow: 0 0 20px rgba(255, 0, 204, 0.4);
}

/* ── CONTACT ICON BORDER GLOW ── */
.contact-item:hover .contact-item-icon {
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.4);
  border-color: var(--cyan);
  color: var(--cyan);
  transition: all 0.2s;
}

/* ── TASKBAR OPEN GLOW ── */
.ts-start:focus-visible,
.ts-start:hover {
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.3);
}

/* ── TAG HOVER ── */
.b-tag:hover {
  background: rgba(255, 0, 204, 0.2);
}

/* ── VAULT CD SPIN GLOW ── */
#vault-cd {
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.3), 0 0 40px rgba(0, 68, 255, 0.2);
}

/* ── MOBILE REFINEMENTS ── */
@media (max-width: 768px) {
  .hero-ambient { width: 300px; height: 300px; bottom: -60px; left: -40px; }

  /* Bigger tap targets */
  .sm-link { padding: 14px 12px; }
  .ts-tray-item { padding: 4px 6px; min-height: 44px; display: flex; align-items: center; }
  .signal-submit,
  .contact-submit { padding: 16px 24px; font-size: 14px; }
  .social-link { padding: 12px 20px; }

  /* Hero grid less dense on mobile */
  #home { background-size: 24px 24px, 100% 100%; }

  /* Transmission ghost better on mobile */
  .transmission-ghost {
    -webkit-text-stroke-width: 1px;
    font-size: clamp(32px, 12vw, 80px);
  }

  /* Marquee smaller text on mobile */
  #marquee-track { font-size: 12px; }

  /* Better section label on mobile */
  .section-label { font-size: 10px; }

  /* Signal stats side-by-side row on mobile */
  .signal-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .signal-stats h2.section-title { grid-column: 1; }

  /* Footer tighter */
  footer { padding: 24px 20px 24px; }

  /* CRT less intense on mobile (perf) */
  #crt-overlay { opacity: 0.6; }

  /* Grain off on mobile (perf) */
  body::after { display: none; }
}

/* ── ULTRA-WIDE ── */
@media (min-width: 1400px) {
  .transmission-ghost { font-size: min(16vw, 160px); }
  .about-ghost { font-size: min(15vw, 150px); }
}

/* ── REDUCED MOTION ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .vault-title,
  .transmission-ghost,
  .hero-ambient,
  .section-reveal,
  .glitch-flash,
  body::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #crt-overlay { display: none; }
}

/* ── PERFORMANCE HINTS ── */
.hero-title,
.vault-title,
#cursor-dot,
#cursor-ring,
.hero-ambient,
.transmission-ghost,
#marquee-track {
  will-change: transform;
}

/* ════════════════════════════════════════════════════════════════
   VISUAL OVERHAUL V3 — XP / 80s REVIVAL
   Replace the purple-black void with midnight blue depth,
   XP chrome silver, and warm 80s colour accents.
   ════════════════════════════════════════════════════════════ */

/* ─── BASE ─── */
body {
  background: var(--black);   /* midnight blue, not pure black */
  color: var(--white);
}

/* scroll-progress bar: XP blue gradient */
#scroll-progress {
  background: linear-gradient(90deg, var(--xp-blue), var(--cyan));
}

/* ─── TASKBAR — proper Luna blue ─── */
#taskbar {
  background: var(--xp-bar);
  border-top: 2px solid #3a7de4;
  box-shadow: 0 -1px 0 #0a2e7a, 0 -3px 12px rgba(18, 73, 168, 0.5);
}
#taskbar.scrolled {
  border-top-color: var(--cyan);
  box-shadow: 0 -2px 12px rgba(0, 212, 204, 0.25);
}

/* ─── START MENU — XP Luna ─── */
.start-menu {
  background: linear-gradient(160deg, #0d1a35 0%, #081020 100%);
  border: 2px solid #2560b8;
  box-shadow: 4px 0 20px rgba(18, 73, 168, 0.4), 0 4px 16px rgba(0,0,0,0.6);
}
.sm-header {
  background: var(--xp-title);
  border-bottom: 2px solid #1b4da8;
}
.sm-link:hover {
  background: rgba(27, 100, 200, 0.2);
  color: var(--white);
  padding-left: 16px;
}
.sm-vault-btn {
  background: linear-gradient(180deg, #2d7de0, #1249a8);
  border: 1px outset #3a8af0;
  color: var(--white);
  border-radius: 4px;
}
.sm-vault-btn:hover {
  background: linear-gradient(180deg, #3a8af0, #1b64c8);
  color: var(--white);
}

/* ─── SECTIONS — break the pure-black monotony ─── */
/* #home background handled by V7 XP Bliss block — removing conflicting override */

#transmission {
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(27,100,200,0.08) 0%, transparent 100%),
    #070c18;
}

#shows {
  background: #08101f;
}

#object {
  background:
    radial-gradient(ellipse 50% 60% at 20% 30%, rgba(0,212,204,0.06) 0%, transparent 100%),
    #060c1a;
}

#about {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(27,100,200,0.09) 0%, transparent 100%),
    #080e1c;
}

#signal {
  background: #070c18;
}

#contact {
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(245,184,32,0.04) 0%, transparent 100%),
    #080e1c;
}

footer {
  background: #06090f;
  border-top: 1px solid var(--border-2);
}

/* ─── SECTION SEPARATORS — strip of colour between sections ─── */
.marquee-container {
  background: #06090f;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#marquee-track {
  color: var(--cyan);        /* teal instead of all-pink */
}

/* ─── HERO ─── */
#osc-canvas {
  background: var(--surface);
  border-color: var(--xp-blue);
  box-shadow: 0 0 20px rgba(27,100,200,0.3);
}
.ld-pad {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--silver);
}
.ld-pad:hover {
  background: rgba(27,100,200,0.15);
  box-shadow: 0 0 10px rgba(27,100,200,0.4);
  border-color: var(--xp-blue);
}
.ld-pad.active {
  background: var(--xp-blue);
  border-color: var(--xp-blue-2);
  color: var(--white);
}
.ld-step {
  background: var(--surface);
  border-color: var(--border);
}
.ld-step.active {
  background: var(--xp-blue);
}

/* ─── DATA PANELS — XP window chrome ─── */
.data-grid {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: relative;
}
/* Blue XP title bar grafted onto data-grid */
.data-grid::before {
  content: '◈  TRANSMISSION DATA';
  display: block;
  position: relative;
  margin: -0px;
  background: var(--xp-title);
  color: var(--white);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 5px 10px;
  border: 1px solid var(--border-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  margin-top: 0;
}

.data-key   { color: var(--cyan); }
.data-row   { border-bottom-color: var(--border); }

/* ─── SHOW ROWS ─── */
.show-row {
  background: var(--surface);
  border-color: var(--border);
  border-left-color: var(--xp-blue);
  transition: all 0.2s;
}
.show-row:hover {
  border-left-color: var(--cyan);
  background: var(--surface-2);
  box-shadow: inset 0 0 14px rgba(27,100,200,0.12), 4px 0 0 var(--cyan);
}
.show-date  { color: var(--cyan); }
.shows-footer { border-top-color: var(--border); }

/* ─── SIGNAL STATS — XP panels ─── */
.signal-stat {
  background: var(--surface);
  border-color: var(--border);
  border-left-color: var(--xp-blue);
  position: relative;
  overflow: hidden;
}
.signal-stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--xp-blue-2), transparent);
  opacity: 0.5;
}
.signal-stat-label { color: var(--cyan); }
.signal-stat-value { color: var(--xp-blue-2); }

/* ─── FORM INPUTS ─── */
.signal-input,
.contact-form-input,
.contact-form-textarea {
  background: var(--surface-3);
  border-color: var(--border);
  color: var(--white);
}
.signal-input:focus,
.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: var(--xp-blue);
  box-shadow: 0 0 10px rgba(27,100,200,0.25);
}

/* Signal/contact submit buttons */
.signal-submit,
.contact-submit {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
  border: 1px outset #3a8af0;
  color: var(--white);
}
.signal-submit:hover,
.contact-submit:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
  color: var(--white);
}

/* ─── ABOUT CREDENTIALS PANEL ─── */
.about-credentials {
  background: var(--surface);
  border-color: var(--border);
}
.cred-label    { color: var(--cyan); }
.cred-row      { border-bottom-color: var(--border); }

/* ─── SOCIAL LINKS ─── */
.social-link {
  border-color: var(--border-2);
  color: var(--silver);
}
.social-link:hover {
  background: var(--xp-blue);
  border-color: var(--xp-blue);
  color: var(--white);
}

/* ─── MERCH ─── */
.merch-specs {
  background: var(--surface);
  border-color: var(--border);
}
.merch-specs-line { border-bottom-color: var(--border); }
.merch-label      { color: var(--cyan); }

.merch-img-col {
  background: linear-gradient(135deg, var(--surface), rgba(27,100,200,0.12) 100%);
  border-color: var(--border-2);
  border-style: dashed;
}
.merch-price { color: var(--gold); }   /* gold instead of pink for price */
.merch-run   { color: var(--cyan); }

.merch-btn {
  border-color: var(--border-2);
  color: var(--silver);
}
.merch-btn:hover {
  background: var(--xp-blue);
  border-color: var(--xp-blue);
  color: var(--white);
}
.merch-btn.primary {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
  border-color: var(--xp-blue);
  color: var(--white);
}
.merch-btn.primary:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
}

.merch-size-btn {
  border-color: var(--border);
  color: var(--dim);
}
.merch-size-btn:hover {
  border-color: var(--xp-blue);
  color: var(--xp-blue-2);
}
.merch-size-btn.active {
  background: var(--xp-blue);
  border-color: var(--xp-blue);
  color: var(--white);
}

/* ─── BEAT STORE ─── */
.beats-container { background: var(--black); }

#beats-header {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-bottom: 2px solid var(--xp-blue);
}
.beat-header-col,
#beats-header { color: var(--cyan); }

.beat-row {
  background: var(--black);
  border-color: var(--border);
}
.beat-row:hover {
  background: rgba(27,100,200,0.06);
}

.b-tag {
  background: rgba(27,100,200,0.12);
  color: var(--xp-blue-2);
  border-color: rgba(27,100,200,0.35);
}
.b-tag.license {
  background: rgba(0,212,204,0.10);
  color: var(--cyan);
  border-color: rgba(0,212,204,0.3);
}
.b-bid-amount { color: var(--gold); }   /* gold for prices */
.b-progress-fill {
  background: linear-gradient(90deg, var(--xp-blue), var(--cyan));
}
.b-play-btn {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
  border: 1px outset #3a8af0;
}
.b-play-btn:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
}
.bid-btn {
  background: linear-gradient(180deg, #ff44dd, var(--pink));
  border: 1px outset #ff66ee;
  color: var(--black);
}
.bid-btn:hover {
  background: linear-gradient(180deg, #ff66ee, #ff44dd);
}
.buynow-btn {
  color: var(--cyan);
  border-color: rgba(0,212,204,0.5);
}
.buynow-btn:hover {
  background: var(--cyan);
  color: #060c14;
}

/* ─── XP WINDOW CHROME (modals) ─── */
.xp-titlebar {
  background: var(--xp-title);
  border-bottom: 1px solid #1249a8;
}
.captcha-refresh {
  background: var(--xp-blue);
  border-color: var(--xp-blue);
}

/* ─── VAULT PAGE ─── */
#vault-header { background: var(--black); }
#vault-cd {
  background: conic-gradient(from 0deg, #ff22cc, #1b64c8, #00d4cc, #ff22cc);
  box-shadow: 0 0 30px rgba(27,100,200,0.4);
}
.vault-deco-item {
  border-color: var(--border-2);
  color: var(--silver);
}
.vault-error-title {
  background: var(--xp-title);
}

/* ─── GHOST TEXT — outline colour: teal instead of pink ─── */
.transmission-ghost {
  -webkit-text-stroke-color: var(--xp-blue-2);
}
.about-ghost {
  -webkit-text-stroke-color: var(--cyan);
}

/* ─── SECTION LABEL / SECTION TITLE ─── */
.section-label { color: var(--dim); }
.footer-logo   { color: var(--xp-blue-2); }

/* ─── LINKS ─── */
a          { color: var(--xp-blue-2); }
a:hover    { color: var(--cyan); }

/* ─── CONTACT ITEM ICONS ─── */
.contact-item-icon {
  border-color: var(--border-2);
  color: var(--cyan);
}

/* ─── COOKIE NOTICE ─── */
#cookie-notice {
  background: var(--surface);
  border-top-color: var(--xp-blue);
}
.cookie-btn { border-color: var(--border-2); }
.cookie-btn.accept {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
  border-color: var(--xp-blue);
  color: var(--white);
}
.cookie-btn.accept:hover { background: var(--xp-blue-2); color: var(--white); }

/* ─── SIGNAL SUCCESS / CONTACT SUCCESS ─── */
#signal-success  { background: var(--surface); border-color: var(--xp-blue); }
#contact-success { background: var(--surface); border-color: var(--cyan); }
#signal-success h3 { color: var(--cyan); }

/* ─── HERO AMBIENT — XP blue glow ─── */
.hero-ambient {
  background: radial-gradient(
    ellipse,
    rgba(27,100,200,0.09) 0%,
    rgba(255,34,204,0.04) 50%,
    transparent 70%
  );
}

/* ─── SECTION DIVIDER LINES — replace invisible #1a001a borders ─── */
.shows-footer     { border-top-color: var(--border); }
.sm-footer        { border-top-color: var(--border); }
.sm-link          { border-bottom-color: var(--border); }
.merch-specs-line { border-bottom-color: var(--border); }
.data-row         { border-bottom-color: var(--border); }
.cred-row         { border-bottom-color: var(--border); }
.remove-item      { border-bottom-color: var(--border); }

/* ─── SHOW BUTTONS ─── */
.show-ticket-btn {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
  border: 1px outset #3a8af0;
}
.show-ticket-btn:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
  color: var(--white);
}
.show-rsvp-btn {
  border-color: rgba(0,212,204,0.4);
  color: var(--cyan);
}
.show-rsvp-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #060c14;
}

/* ─── GLITCH CURSOR BLINKER ─── */
.glitch-cursor { background: var(--cyan); }

/* ─── CRT OVERLAY — slightly cooler tint ─── */
#crt-overlay {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 10, 30, 0.05) 2px,
    rgba(0, 10, 30, 0.05) 4px
  );
}

/* ─── SECTION HEADING GHOST COLOUR — context aware ─── */
#home .hero-title {
  /* keep white — hero is fine */
}

/* ─── ABOUT GHOST — cyan outline ─── */
.about-ghost {
  -webkit-text-stroke: 2px var(--cyan);
}

/* ─── FOOTER LINKS ─── */
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--xp-blue-2); }
.footer-info    { color: var(--dim); }

/* ─── BEAT STORE header cols ─── */
.b-col-bpm { color: var(--xp-blue-2); }
.b-num     { color: var(--cyan); }

/* ─── SHOW CITY tag ─── */
.show-city { color: var(--xp-blue-2); }

/* ─── EDIT / REMOVE admin btns ─── */
.edit-btn {
  background: linear-gradient(180deg, var(--xp-blue-2), var(--xp-blue));
}
.edit-btn:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
}

/* ─── CONSOLE (admin overlay) ─── */
.console-header { border-bottom-color: var(--border); }
.console-close  { border-color: var(--border-2); color: var(--cyan); }
.console-close:hover { background: var(--xp-blue); border-color: var(--xp-blue); color: var(--white); }
.console-info-label { color: var(--cyan); }
#console-status-text { color: var(--xp-blue-2); }

/* ─── VISIONARY TEASER ─── */
.visionary-year { color: var(--gold); }

/* ─── MOBILE OVERRIDES ─── */
@media (max-width: 768px) {
  /* data-grid header label cleaner on mobile */
  .data-grid::before { font-size: 8px; padding: 4px 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   V4 — REALISTIC CD · XP ICONS · CYBERSIGILISM · Y2K AESTHETIC
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── REALISTIC COMPACT DISC ──────────────────────────────────────────── */
#vault-cd {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none !important;
  animation: spin-cd 12s linear infinite;
  background:
    /* L1 — structural rings: hole → label → inner shiny ring → transparent */
    radial-gradient(circle at 50% 50%,
      #070b14            0%,
      #070b14            9.5%,  /* spindle hole */
      #445566            10%,
      #7a8fa0            12%,   /* spindle metal ring */
      #070b14            12.5%,
      #0a1020            28.5%, /* dark label area */
      rgba(200,220,245,0.95) 29%,
      rgba(135,162,195,0.60) 31.5%, /* inner shiny ring */
      transparent        32%   /* expose iridescence */
    ),
    /* L2 — iridescent rainbow conic (rotates with disc) */
    conic-gradient(
      rgba(255, 75,110,0.62)   0deg,
      rgba(255,190, 50,0.56)  50deg,
      rgba( 80,240,120,0.52) 110deg,
      rgba( 45,200,255,0.62) 170deg,
      rgba(125, 45,255,0.60) 235deg,
      rgba(255, 55,200,0.62) 295deg,
      rgba(255, 75,110,0.62) 360deg
    ),
    /* L3 — silver metallic base with highlight */
    radial-gradient(ellipse at 36% 26%,
      #f4f8ff  0%,
      #dce8f5 16%,
      #a8bdd2 42%,
      #7890a8 72%,
      #5c7088 100%
    );
  box-shadow:
    0 0 0 1.5px rgba(105,135,165,0.9),
    0 5px 22px rgba(75,140,255,0.55),
    0 0 55px rgba(255,45,155,0.22),
    inset 0 2px 8px rgba(255,255,255,0.22);
}

@media (max-width: 768px) {
  #vault-cd { width: 80px; height: 80px; }
}

/* ─── XP FOLDER ICON (pure CSS) ────────────────────────────────────────── */
.xp-folder-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
}
.xp-folder-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  color: var(--silver);
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0.8;
}
.xp-folder {
  width: 64px;
  height: 50px;
  position: relative;
}
.xp-folder::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 42%;
  height: 42%;
  background: linear-gradient(180deg, #f8d260 0%, #d89a18 100%);
  border-radius: 3px 6px 0 0;
  border: 1px solid #b07810;
  border-bottom: none;
  transform: translateY(1px);
}
.xp-folder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, #f8cf44 0%, #e4a812 45%, #c88808 100%);
  border-radius: 1px 6px 5px 5px;
  border: 1px solid #b07810;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 1px 0 0 rgba(255,255,255,0.3),
    0 2px 6px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .xp-folder { width: 46px; height: 36px; }
}

/* ─── CYBER SIGIL (Y2K geometric sigil) ─────────────────────────────── */
.cyber-sigil-wrap {
  width: 76px;
  height: 76px;
  opacity: 0.55;
  filter: drop-shadow(0 0 7px var(--cyan));
  animation: sigil-pulse 3.5s ease-in-out infinite;
  cursor: default;
}
.cyber-sigil-wrap svg {
  width: 100%;
  height: 100%;
}
@keyframes sigil-pulse {
  0%, 100% { opacity: 0.42; filter: drop-shadow(0 0 5px var(--cyan)); }
  50%       { opacity: 0.72; filter: drop-shadow(0 0 15px var(--cyan)) drop-shadow(0 0 6px var(--xp-blue-2)); }
}

@media (max-width: 768px) {
  .cyber-sigil-wrap { width: 52px; height: 52px; }
}

/* ─── Y2K HOLOGRAPHIC BADGE ─────────────────────────────────────────── */
.y2k-holo-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(
    hsl(  0,92%,66%),
    hsl( 38,96%,62%),
    hsl( 78,90%,58%),
    hsl(138,86%,55%),
    hsl(188,96%,60%),
    hsl(228,92%,68%),
    hsl(268,90%,64%),
    hsl(308,95%,62%),
    hsl(360,92%,66%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(0,0,0,0.8);
  text-align: center;
  line-height: 1.3;
  padding: 8px;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow:
    0 0 18px rgba(255,210,50,0.50),
    0 0 38px rgba(255,90,200,0.28),
    inset 0 0 8px rgba(255,255,255,0.2);
  animation: holo-hue 7s linear infinite;
  cursor: default;
}
@keyframes holo-hue {
  0%   { filter: hue-rotate(0deg) brightness(1.05); }
  100% { filter: hue-rotate(360deg) brightness(1.05); }
}

@media (max-width: 768px) {
  .y2k-holo-badge { width: 48px; height: 48px; font-size: 7px; }
}

/* ─── XP WINDOW BADGE (hero decoration) ─────────────────────────────── */
.xp-win-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(180deg, #2468cc 0%, #1249a8 60%, #0a2e7a 100%);
  border: 1px solid #4a8af4;
  border-radius: 3px;
  padding: 5px 10px 5px 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow:
    1px 1px 0 #08247a,
    inset 0 1px 0 rgba(255,255,255,0.28);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0.82;
}
.xp-win-badge::before {
  content: '⊞';
  font-size: 11px;
  opacity: 0.9;
}

/* ─── HERO Y2K FLOATING DECORATIONS ─────────────────────────────────── */
.hero-y2k-deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: y2k-float 5s ease-in-out infinite;
}
.hero-y2k-deco.top-right  { top: 18%;  right: 4%; animation-delay: 0s; }
.hero-y2k-deco.mid-left   { top: 52%;  left: 3%;  animation-delay: -2s; }
@keyframes y2k-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .hero-y2k-deco { display: none; }
}

/* ─── VAULT DECO ITEM — no border on CD ─────────────────────────────── */
#vault-cd.vault-deco-item {
  border: none !important;
}

/* ─── VAULT DECO ITEM — XP blue border for non-CD items ─────────────── */
.vault-deco-item:not(#vault-cd) {
  border-color: var(--border-2);
  background: rgba(10,16,32,0.5);
}

/* ─── ADDITIONAL XP/Y2K: Section corner sigils ───────────────────────── */
.section-label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-corner-sigil {
  width: 32px;
  height: 32px;
  opacity: 0.3;
  filter: drop-shadow(0 0 4px var(--xp-blue-2));
  flex-shrink: 0;
}

/* ─── Y2K PIXEL STAR DECORATIONS ────────────────────────────────────── */
.y2k-star {
  display: inline-block;
  color: var(--gold);
  font-size: 16px;
  animation: star-twinkle 2s ease-in-out infinite;
  text-shadow: 0 0 8px var(--gold);
}
.y2k-star:nth-child(2) { animation-delay: -0.7s; color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
.y2k-star:nth-child(3) { animation-delay: -1.4s; }
@keyframes star-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* ─── VIEWPORT UNITS FIX for iOS safari ──────────────────────────────── */
@supports (height: 100dvh) {
  #home { min-height: 100dvh; }
}

/* ─── MARQUEE — XP blue accent borders ──────────────────────────────── */
.marquee-container {
  border-top-color:    var(--xp-blue);
  border-bottom-color: var(--xp-blue);
}

/* ─── VAULT DECORATIONS — horizontal scroll on tiny screens ─────────── */
@media (max-width: 480px) {
  .vault-decorations {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 100%;
  }
  .vault-deco-item {
    width: 64px;
    height: 64px;
  }
}

/* ─── SAFE AREA PADDING (iPhone notch / home bar) ────────────────────── */
@supports (padding: max(0px)) {
  body {
    padding-left:  max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }
  #taskbar {
    padding-left:  max(16px, calc(env(safe-area-inset-left) + 8px));
    padding-right: max(16px, calc(env(safe-area-inset-right) + 8px));
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   V5 — BRAND VOICE · PHOTO WINDOW · AUDIO EMBED · ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── SCREEN-READER ONLY UTILITY ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── VISIBLE FOCUS RINGS for keyboard users ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan) !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}

/* ─── ARTIST PHOTO — XP window chrome ───────────────────────────────── */
.about-photo-window {
  width: 200px;
  flex-shrink: 0;
  border: 1px solid #4a8af4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    2px 3px 0 rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.about-photo-titlebar {
  background: linear-gradient(90deg, #1249a8 0%, #2572e4 45%, #1249a8 100%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: #fff;
  letter-spacing: 0.3px;
  user-select: none;
}
.about-photo-icon { font-size: 10px; flex-shrink: 0; }
.about-photo-title { flex: 1; }
.about-photo-titlebar .xp-controls {
  display: flex;
  gap: 3px;
  pointer-events: none;
}
.about-photo-titlebar .xp-ctrl {
  background: linear-gradient(180deg, #5a9af0, #1b5ac0);
  border: 1px solid #0a2e7a;
  border-radius: 2px;
  width: 14px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #fff;
  line-height: 1;
}
.about-photo-titlebar .xp-close {
  background: linear-gradient(180deg, #e05050, #a01010);
  border-color: #700;
}
.about-photo-body {
  background: #050a14;
  line-height: 0;
}
.about-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.88);
  transition: filter 0.4s ease;
}
.about-photo-img:hover {
  filter: contrast(1.1) saturate(1.15) hue-rotate(8deg);
}

@media (min-width: 640px) {
  .about-photo-window {
    float: right;
    margin: 0 0 16px 24px;
  }
}
@media (max-width: 639px) {
  .about-photo-window {
    width: 140px;
    margin: 0 auto 20px;
    float: none;
    display: block;
  }
}

/* ─── SOUNDCLOUD / AUDIO EMBED ───────────────────────────────────────── */
.about-audio {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  clear: both;
}
.about-audio-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-audio-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.about-sc-embed {
  display: block;
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 3px;
  background: var(--surface);
  box-shadow:
    0 0 20px rgba(27,100,200,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.about-sc-embed:hover { opacity: 1; }

/* ─── ABOUT CONTENT: clear float after photo ────────────────────────── */
.about-social { clear: both; }
.about-credentials { clear: both; }

/* ─── HERO CTA ROW — 3 audience entry points ────────────────────────── */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid var(--xp-blue);
  background: linear-gradient(180deg, var(--xp-blue-2) 0%, var(--xp-blue) 60%, #0f3a9a 100%);
  color: #fff;
  box-shadow:
    0 2px 0 #08267a,
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 18px rgba(27,100,200,0.35);
  transition: all 0.15s ease;
  white-space: nowrap;
  min-height: 44px; /* WCAG 2.5.5 touch target */
}
.hero-cta-pill:hover {
  background: linear-gradient(180deg, #4a9af8, var(--xp-blue-2));
  box-shadow:
    0 2px 0 #08267a,
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 0 28px rgba(45,125,224,0.55);
  color: #fff;
  transform: translateY(-1px);
}
.hero-cta-pill:active { transform: translateY(0); }
.hero-cta-secondary {
  background: transparent;
  border-color: rgba(27,100,200,0.5);
  color: var(--silver);
  box-shadow: none;
}
.hero-cta-secondary:hover {
  background: rgba(27,100,200,0.15);
  border-color: var(--xp-blue-2);
  color: var(--white);
  box-shadow: 0 0 18px rgba(27,100,200,0.25);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .hero-cta-row { gap: 8px; }
  .hero-cta-pill { font-size: 10px; padding: 8px 14px; }
}


/* ═══════════════════════════════════════════════════════
   V6 — MOBILE TOUCH FIXES & LAYOUT POLISH
   Ensures all interactive elements are tappable on mobile
═══════════════════════════════════════════════════════ */

/* ── Minimum 44×44px touch targets for all beat action buttons ── */
.b-play-btn,
.bid-btn,
.buynow-btn {
  min-height: 40px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Nav links need tap room ── */
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ── Taskbar / start button ── */
.ts-start,
.ts-tray-item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── Vault: admin panel inputs + buttons ── */
.admin-input,
.admin-select,
.admin-submit,
.admin-sec-btn,
.edit-btn,
.remove-btn {
  min-height: 38px;
}

/* ── Modal bid input row ── */
.bid-input-wrap input,
.bid-submit-btn {
  min-height: 44px;
}

/* ── Mobile (≤ 768px): ensure .b-actions stacks and buttons are full-width ── */
@media (max-width: 480px) {
  .b-actions {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
  }
  .b-play-btn,
  .bid-btn,
  .buynow-btn {
    flex: 1 1 auto;
    min-height: 44px;
    font-size: 12px;
    padding: 8px 12px;
  }
  /* Beat row gets more breathing room */
  .beat-row {
    padding: 16px 12px;
  }
  /* Nav links slightly larger on small screens */
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 13px;
  }
  /* Vault header title doesn't overflow */
  .vault-hero-title {
    font-size: clamp(28px, 10vw, 52px);
  }
  /* Hero title clamp */
  .hero-name {
    font-size: clamp(36px, 14vw, 80px);
  }
  /* Decorations smaller on mobile */
  .vault-decorations {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .vault-deco-item {
    width: 72px;
    height: 72px;
  }
}

/* ── Prevent iOS from auto-zooming on form input focus ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important; /* forces iOS to not zoom */
  }
}

/* ── Safe-area padding for bottom taskbar on iPhone X+ ── */
#taskbar {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Vault decorations responsive fix ── */
@media (max-width: 600px) {
  .vault-decorations {
    gap: 10px;
    padding: 12px;
  }
  #vault-cd {
    width: 80px;
    height: 80px;
  }
}

/* ═══════════════════════════════════════════════════════
   V7 — XP BLISS BACKGROUND + KNIGHT RIDER KITT CAR
═══════════════════════════════════════════════════════ */

/* ── XP Bliss hero background (darkened for readability) ── */
#home {
  background:
    /* Dark readability overlay */
    linear-gradient(180deg,
      rgba(2,5,16,0.80) 0%,
      rgba(2,5,16,0.60) 40%,
      rgba(2,5,16,0.70) 65%,
      rgba(2,5,16,0.88) 100%
    ),
    /* Cloud puff 1 */
    radial-gradient(ellipse 22% 14% at 22% 28%, rgba(255,255,255,0.55) 0%, rgba(200,230,255,0.18) 45%, transparent 100%),
    /* Cloud puff 2 */
    radial-gradient(ellipse 18% 11% at 64% 20%, rgba(255,255,255,0.50) 0%, rgba(200,230,255,0.14) 45%, transparent 100%),
    /* Cloud puff 3 */
    radial-gradient(ellipse 13% 8% at 84% 30%, rgba(255,255,255,0.40) 0%, transparent 100%),
    /* Rolling green hills */
    radial-gradient(ellipse 200% 60% at 50% 112%, #3a8020 0%, #1d5210 38%, transparent 55%),
    radial-gradient(ellipse 130% 38% at 85% 105%, #2a6a14 0%, transparent 50%),
    /* Sky + grass gradient — XP Bliss palette */
    linear-gradient(180deg,
      #05122a 0%,
      #0c2b6a 18%,
      #1a5ab5 42%,
      #3a88d8 58%,
      #5caeea 66%,
      #5ab82c 69%,   /* grass horizon line */
      #2e7016 82%,
      #193e0a 100%
    );
  overflow: hidden; /* keep KITT inside section */
}

/* ── KITT / Knight Rider easter egg ── */
.kitt-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.kitt-svg {
  position: absolute;
  bottom: 12px;
  width: 300px;
  opacity: 0.82;
  filter:
    drop-shadow(0 2px 16px rgba(220,0,0,0.45))
    drop-shadow(0 4px 32px rgba(0,0,0,0.7));
  animation: kitt-drive 30s linear infinite;
}

@keyframes kitt-drive {
  0%   { left: -320px; }
  100% { left: calc(100% + 40px); }
}

.kitt-led {
  animation: kitt-scan 0.65s ease-in-out infinite alternate;
}

@keyframes kitt-scan {
  from { fill: #ff1a00; filter: drop-shadow(0 0 4px #ff2200); opacity: 1; }
  to   { fill: #ff6600; filter: drop-shadow(0 0 8px #ff4400); opacity: 0.75; }
}

/* ── Bliss dot-grid pattern still shows through, update it ── */
#home[style] {}

/* ── Mobile: smaller KITT ── */
@media (max-width: 600px) {
  .kitt-svg {
    width: 200px;
    bottom: 8px;
  }
}

/* ═══════════════════════════════════════════════════════
   V8 — VISUAL OVERHAUL · GLOW · TEXTURE · DEPTH · POLISH
   Every improvement is additive — no breaking changes.
═══════════════════════════════════════════════════════ */

/* ── 1. Hero title — ambient neon luminescence ────────────────────────── */
/* The glitch animation already exists; this adds a resting-state glow */
.hero-title {
  text-shadow:
    0 0 60px  rgba(255,255,255,0.20),
    0 0 120px rgba(27,100,200,0.18),
    0 0 240px rgba(255,34,204,0.08);
}

/* ── 2. Viewport edge vignette — adds depth / focus center ───────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9984;
  background: radial-gradient(
    ellipse 110% 110% at 50% 50%,
    transparent 40%,
    rgba(0,0,0,0.40) 100%
  );
}

/* ── 3. CRT overlay — slightly more visible phosphor tint ────────────── */
#crt-overlay {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,8,28,0.07) 2px,
    rgba(0,8,28,0.07) 4px
  );
}

/* ── 4. Film grain — a touch more visible ────────────────────────────── */
body::after { opacity: 0.042; }

/* ── 5. Beat row — tactile XP-blue left-border accent on hover ───────── */
.beat-row {
  border-left: 3px solid transparent;
  transition: background 0.15s, border-left-color 0.15s, box-shadow 0.15s;
}
.beat-row:hover {
  background: rgba(27,100,200,0.07);
  border-left-color: var(--xp-blue);
  box-shadow: inset 4px 0 16px rgba(27,100,200,0.12);
}
/* First beat row (highest-priced) gets a subtle gold highlight */
#beats-list .beat-row:first-child {
  border-top: 1px solid rgba(245,184,32,0.20);
  background: rgba(245,184,32,0.015);
}
#beats-list .beat-row:first-child:hover {
  background: rgba(245,184,32,0.03);
  border-left-color: var(--gold);
}

/* ── 6. Beats list header — full XP titlebar treatment ───────────────── */
#beats-header {
  background: var(--xp-bar);
  color: var(--silver);
  border-color: var(--xp-blue);
  box-shadow: 0 2px 24px rgba(27,100,200,0.30);
  letter-spacing: 1.5px;
}

/* ── 7. Section dividers — more luminous ─────────────────────────────── */
#shows::before,
#object::before,
#about::before,
#signal::before,
#contact::before {
  opacity: 0.7;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--xp-blue) 28%,
    var(--pink)   50%,
    var(--xp-blue) 72%,
    transparent 100%
  );
  filter: blur(0.5px);
}

/* ── 8. Transmission ghost text — slow pulse ─────────────────────────── */
.transmission-ghost {
  animation:
    hero-glitch-loop 14s infinite,
    ghost-pulse 7s ease-in-out infinite;
}
@keyframes ghost-pulse {
  0%, 100% { opacity: 0.88; -webkit-text-stroke-color: rgba(255,34,204,0.45); }
  50%       { opacity: 1.0;  -webkit-text-stroke-color: rgba(255,34,204,0.90); }
}

/* ── 9. About ghost — same pulse ─────────────────────────────────────── */
.about-ghost {
  animation: ghost-pulse 8s ease-in-out infinite;
  animation-delay: -3s;
}

/* ── 10. Section label — terminal prompt prefix ──────────────────────── */
.section-label::before {
  content: '> ';
  color: var(--xp-blue-2);
  opacity: 0.7;
  font-family: 'Share Tech Mono', monospace;
}

/* ── 11. Section title — very subtle glow ────────────────────────────── */
.section-title {
  text-shadow:
    0 0 50px rgba(255,255,255,0.08),
    0 0 100px rgba(27,100,200,0.06);
}

/* ── 12. Hero meta — terminal comment prefix ─────────────────────────── */
.hero-meta-line::before {
  content: '// ';
  color: var(--xp-blue-2);
  opacity: 0.55;
  font-family: 'Share Tech Mono', monospace;
}

/* ── 13. Marquee — XP-blue accent borders, muted silver text ─────────── */
.marquee-container {
  background: linear-gradient(90deg,
    rgba(27,100,200,0.10) 0%,
    transparent 12%,
    transparent 88%,
    rgba(27,100,200,0.10) 100%
  );
  border-top-color:    rgba(27,100,200,0.45);
  border-bottom-color: rgba(27,100,200,0.45);
}
#marquee-track span { color: var(--silver); }

/* ── 14. Vault CD — add a luminous iridescent glow ring ─────────────── */
#vault-cd {
  box-shadow:
    0 0 28px rgba(100,180,255,0.35),
    0 0 56px rgba(100,180,255,0.18),
    0 0 4px  rgba(255,255,255,0.55);
  filter: brightness(1.04) contrast(1.03) saturate(1.05);
}

/* ── 15. XP folder icon — glow on hover ─────────────────────────────── */
.xp-folder-wrap:hover .xp-folder::before,
.xp-folder-wrap:hover .xp-folder::after {
  filter: brightness(1.3) drop-shadow(0 0 6px rgba(255,192,0,0.5));
}

/* ── 16. Y2K holographic badge — brighter ───────────────────────────── */
.y2k-holo-badge {
  box-shadow:
    0 0 20px rgba(255,255,255,0.25),
    inset 0 0 12px rgba(255,255,255,0.08);
  font-weight: bold;
}

/* ── 17. Bid button — depth shadow ───────────────────────────────────── */
.bid-btn {
  box-shadow:
    0 2px 0 rgba(0,0,0,0.5),
    0 0 14px rgba(255,34,204,0.18);
}
.bid-btn:hover {
  box-shadow:
    0 2px 0 rgba(0,0,0,0.5),
    0 0 24px rgba(255,34,204,0.35);
}

/* ── 18. Play button — XP depth ──────────────────────────────────────── */
.b-play-btn {
  box-shadow:
    0 2px 0 rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ── 19. Data grid — subtle inner glow ───────────────────────────────── */
.data-grid {
  box-shadow:
    0 0 0 1px var(--border-2),
    0 8px 32px rgba(0,0,0,0.45),
    inset 0 0 40px rgba(27,100,200,0.04);
}

/* ── 20. OSC canvas — XP chrome border with glow ─────────────────────── */
#osc-canvas {
  box-shadow:
    0 0 24px rgba(27,100,200,0.30),
    0 0 48px rgba(27,100,200,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  border-width: 2px;
  border-style: solid;
  border-color: var(--xp-blue);
  border-top-color: var(--xp-blue-2);
}

/* ── 21. Contact / signal form inputs — XP-style focus glow ──────────── */
.signal-input:focus,
.contact-form-input:focus {
  border-color: var(--xp-blue-2);
  box-shadow:
    0 0 0 2px rgba(27,100,200,0.20),
    0 0 16px rgba(27,100,200,0.15);
  outline: none;
}

/* ── 22. Section reveal — fade+lift (more pronounced) ────────────────── */
.section-reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,0.61,0.36,1);
}
.section-reveal.hidden  { opacity: 0; transform: translateY(28px); }
.section-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 23. Beat title hover — subtle glow ──────────────────────────────── */
.beat-row:hover .b-title {
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* ── 24. Reduce motion — respect user preference ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .transmission-ghost,
  .about-ghost,
  .hero-title,
  .vault-title,
  .kitt-svg,
  .kitt-led,
  #vault-cd { animation: none; }
}

/* ── 25. Mobile: vignette less aggressive on small screens ───────────── */
@media (max-width: 480px) {
  body::before { opacity: 0.6; }
}

/* ── Status dot — blinking green pulse ──────────────────────────────── */
.hero-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22dd66;
  box-shadow: 0 0 6px #22dd66, 0 0 12px #22dd66;
  margin: 0 3px;
  animation: status-pulse 2.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px #22dd66, 0 0 12px #22dd66; }
  50%       { opacity: 0.5; transform: scale(0.8); box-shadow: 0 0 3px #22dd66; }
}

/* ── Oscilloscope XP window chrome ──────────────────────────────────── */
.osc-window {
  position: absolute;
  top: 60px;
  right: 40px;
  z-index: 5;
  border: 1px solid var(--xp-blue);
  box-shadow:
    0 0 24px rgba(27,100,200,0.30),
    0 0 48px rgba(27,100,200,0.12),
    2px 2px 0 rgba(0,0,0,0.5);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}
.osc-titlebar {
  background: linear-gradient(90deg, #1249a8 0%, #2572e4 50%, #1249a8 100%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  color: #fff;
  letter-spacing: 0.3px;
  user-select: none;
  min-height: 20px;
}
.osc-icon  { font-size: 9px; flex-shrink: 0; opacity: 0.8; }
.osc-title { flex: 1; font-size: 7.5px; letter-spacing: 0.4px; opacity: 0.9; }
.osc-controls {
  display: flex;
  gap: 2px;
  pointer-events: none;
}
.osc-ctrl {
  background: linear-gradient(180deg, #5a9af0, #1b5ac0);
  border: 1px solid #0a2e7a;
  border-radius: 2px;
  width: 13px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  color: #fff;
  line-height: 1;
}
.osc-close { background: linear-gradient(180deg, #e05050, #a01010); border-color: #700; }

/* Position the canvas inside the window frame */
.osc-window #osc-canvas {
  position: static;
  display: block;
  width: 300px;
  height: 160px;
  border: none;
  box-shadow: none;
  margin: 0;
}

/* Mobile: shrink osc window */
@media (max-width: 768px) {
  .osc-window {
    top: 40px;
    right: 20px;
  }
  .osc-window #osc-canvas {
    width: 200px;
    height: 100px;
  }
}
@media (max-width: 480px) {
  .osc-window { display: none; }
}

/* ── Vault LIVE dot indicator ────────────────────────────────────────── */
.vault-live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22dd66;
  box-shadow: 0 0 5px #22dd66, 0 0 10px #22dd66;
  margin: 0 4px 0 8px;
  animation: status-pulse 2s ease-in-out infinite;
  vertical-align: middle;
}
.vault-live-label {
  color: #22dd66;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  vertical-align: middle;
  animation: status-pulse 2s ease-in-out infinite;
}

/* ── Vault eyebrow — slightly brighter ──────────────────────────────── */
.vault-eyebrow {
  color: var(--xp-blue-2);
  letter-spacing: 2.5px;
}

/* ── Vault title glow ────────────────────────────────────────────────── */
.vault-title {
  text-shadow:
    0 0 60px rgba(255,255,255,0.18),
    0 0 120px rgba(27,100,200,0.14),
    0 0 200px rgba(255,34,204,0.07);
}

/* ── Beat row: FEATURED badge on first child ─────────────────────────── */
#beats-list .beat-row:first-child .b-title::after {
  content: ' TOP';
  font-size: 8px;
  font-family: 'Share Tech Mono', monospace;
  color: var(--gold);
  letter-spacing: 1px;
  opacity: 0.7;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Vault header background — richer dark atmosphere ───────────────── */
#vault-header {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(27,100,200,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(255,34,204,0.04) 0%, transparent 60%),
    var(--black);
}

/* ── Beats container subtle scanline texture ─────────────────────────── */
.beats-container {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(27,100,200,0.012) 3px,
      rgba(27,100,200,0.012) 6px
    ),
    var(--black);
}

/* ── About bio — better typography ──────────────────────────────────── */
.about-bio p {
  line-height: 1.75;
  color: rgba(228,236,248,0.88);
  font-size: 14px;
}
.about-bio p em,
.about-bio p strong {
  color: var(--white);
}

/* ── Cred rows — improved XP-blue hover ─────────────────────────────── */
.cred-row:hover {
  background: rgba(27,100,200,0.07);
  padding-left: 6px;
}
.cred-row {
  transition: background 0.15s, padding-left 0.15s;
}

/* ── Signal stat values — more dramatic count-up effect ─────────────── */
.signal-stat-value {
  text-shadow:
    0 0 20px rgba(255,34,204,0.5),
    0 0 40px rgba(255,34,204,0.25);
  color: var(--pink);
}

/* ── Social links — glow on hover ───────────────────────────────────── */
.social-link:hover {
  box-shadow:
    0 0 18px rgba(27,100,200,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  border-color: var(--xp-blue-2);
}

/* ── Signal form — XP panel feel ────────────────────────────────────── */
.signal-form-wrap {
  box-shadow:
    0 0 40px rgba(27,100,200,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* ── Footer — subtle top glow ───────────────────────────────────────── */
footer {
  border-top-color: rgba(27,100,200,0.30);
  box-shadow: 0 -1px 40px rgba(27,100,200,0.08);
}

/* ── VT status label — pulsing glow ─────────────────────────────────── */
#vt-status {
  animation: status-pulse 3s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════════════
   ██████╗  ███████╗ █████╗ ████████╗     ███████╗████████╗ ██████╗ ██████╗ ███████╗
   ██╔══██╗ ██╔════╝██╔══██╗╚══██╔══╝     ██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝
   ██████╔╝ █████╗  ███████║   ██║        ███████╗   ██║   ██║   ██║██████╔╝█████╗
   ██╔══██╗ ██╔══╝  ██╔══██║   ██║        ╚════██║   ██║   ██║   ██║██╔══██╗██╔══╝
   ██████╔╝ ███████╗██║  ██║   ██║        ███████║   ██║   ╚██████╔╝██║  ██║███████╗
   — RECENTLY SOLD TICKER ────────────────────────────────────────────── */

#sold-ticker {
  display: none; /* shown by initSoldTicker() when sold beats exist */
  height: 30px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-2);
  border-left: 3px solid var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
  align-items: center;
}

.sold-ticker-label {
  flex-shrink: 0;
  background: var(--cyan);
  color: var(--black);
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.16em;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.sold-ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

#sold-ticker-inner {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker-scroll 24s linear infinite;
  will-change: transform;
}

#sold-ticker-inner:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sold-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  white-space: nowrap;
}

.sold-badge {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.12em;
  font-weight: bold;
  background: rgba(0,212,204,0.1);
  border: 1px solid var(--cyan);
  padding: 1px 5px;
}

.sold-name  { color: var(--silver); }
.sold-price { color: var(--gold); font-size: 11px; }

.sold-ticker-sep {
  color: var(--border-2);
  font-size: 8px;
  padding: 0 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   VAULT FILTER BAR — search · filter chips · sort
═══════════════════════════════════════════════════════════════════════ */

#vault-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.vf-search-wrap {
  position: relative;
  flex: 1;
  min-width: 140px;
}

.vf-search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--dim);
  pointer-events: none;
}

#vf-search {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 6px 8px 6px 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#vf-search:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 6px rgba(0,212,204,0.2);
}

#vf-search::placeholder { color: var(--dim); }

.vf-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.vf-chip {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.vf-chip:hover            { border-color: var(--cyan); color: var(--cyan); }
.vf-chip.active           { background: var(--cyan); border-color: var(--cyan); color: var(--black); font-weight: bold; }

#vf-sort {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--silver);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  padding: 4px 22px 4px 8px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%2300d4cc'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  transition: border-color 0.2s;
}

#vf-sort:focus { border-color: var(--cyan); }
#vf-sort option { background: var(--black); color: var(--white); }

#vf-count {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

/* Empty state */
#beats-empty {
  display: none;
  padding: 48px 20px;
  text-align: center;
}

#beats-empty.show { display: block; }

.beats-empty-title {
  font-family: 'Jersey 20', system-ui, sans-serif;
  font-size: 20px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.beats-empty-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--border-2);
  margin-top: 8px;
  letter-spacing: 0.06em;
}

/* info button on beat rows */
.b-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dim);
  font-size: 10px;
  cursor: pointer;
  margin-left: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
  vertical-align: middle;
  font-family: 'Share Tech Mono', monospace;
  line-height: 1;
}

.b-info-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,204,0.08);
}

/* Clickable beat title */
.b-title-link {
  cursor: pointer;
  transition: color 0.15s;
}
.b-title-link:hover { color: var(--cyan); text-decoration: underline; text-decoration-style: dotted; }

.b-title-row {
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   BEAT DETAIL MODAL
═══════════════════════════════════════════════════════════════════════ */

#beat-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

#beat-detail-overlay.open { display: flex; }

.bd-window {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  box-shadow: 1px 1px 0 0 #ffffff inset, 0 8px 32px rgba(0,0,0,0.9);
  width: min(580px, calc(100vw - 24px));
  max-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bd-titlebar {
  background: linear-gradient(90deg, #0a006e 0%, #cc00aa 50%, #0a006e 100%);
  border-bottom: 2px solid var(--pink);
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  flex-shrink: 0;
}

.bd-icon { font-size: 11px; flex-shrink: 0; }

.bd-title-text {
  color: white;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bd-body {
  flex: 1;
  overflow-y: auto;
  background: var(--black);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.bd-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border-2);
  padding: 18px 18px 14px;
}

.bd-beat-title {
  font-family: 'Jersey 20', system-ui, sans-serif;
  font-size: clamp(22px, 6vw, 40px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 10px;
  word-break: break-word;
}

.bd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}

.bd-tag {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  padding: 2px 7px;
  letter-spacing: 0.1em;
}

/* Waveform pseudo-visualizer */
.bd-waveform {
  height: 44px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  overflow: hidden;
}

.bd-wave-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--pink), var(--xp-blue));
  border-radius: 1px 1px 0 0;
  opacity: 0.55;
  animation: wave-bounce var(--dur, 0.6s) ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: bottom;
}

@keyframes wave-bounce {
  0%   { transform: scaleY(0.18); }
  100% { transform: scaleY(1.0); }
}

/* Stats row */
.bd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.bd-stat {
  padding: 10px 8px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.bd-stat:last-child { border-right: none; }

.bd-stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 7px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bd-stat-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.bd-stat-value.cyan { color: var(--cyan); }
.bd-stat-value.gold { color: var(--gold); }

/* License + price row */
.bd-license-section {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bd-license-name {
  font-family: 'Jersey 20', system-ui, sans-serif;
  font-size: 18px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bd-license-desc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  margin-top: 3px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.bd-price-block { text-align: right; flex-shrink: 0; }

.bd-price-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bd-price-value {
  font-family: 'Jersey 20', system-ui, sans-serif;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.bd-price-current {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--cyan);
  margin-top: 2px;
}

/* Timer */
.bd-timer-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}

.bd-timer-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.bd-timer-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
  min-width: 80px;
}

.bd-timer-track {
  flex: 1;
  height: 3px;
  background: var(--border);
  overflow: hidden;
}

.bd-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--xp-blue), var(--cyan), var(--pink));
  transition: width 1s linear;
}

/* Action buttons */
.bd-actions {
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  background: var(--surface);
}

.bd-btn {
  flex: 1;
  padding: 10px 14px;
  font-family: 'Jersey 20', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px outset #dfdfdf;
  transition: filter 0.1s;
  text-align: center;
  text-transform: uppercase;
}

.bd-btn:active    { border-style: inset; }
.bd-btn:disabled  { opacity: 0.4; cursor: not-allowed; }

.bd-btn-bid {
  background: linear-gradient(180deg, #1b64c8 0%, #0a2e7a 100%);
  color: white;
  border-color: #2d7de0 #0a1a4a #0a1a4a #2d7de0;
}
.bd-btn-bid:hover:not(:disabled) { filter: brightness(1.15); }

.bd-btn-buy {
  background: var(--xp-green);
  color: white;
  border-color: #62c454 #1a5a14 #1a5a14 #62c454;
}
.bd-btn-buy:hover { filter: brightness(1.1); }

.bd-btn-play {
  flex: 0 0 52px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  color: var(--cyan);
  border-color: #444 #111 #111 #444;
  font-size: 18px;
  padding: 10px 0;
}
.bd-btn-play:hover { filter: brightness(1.25); }

/* Terms note */
.bd-terms-note {
  padding: 8px 18px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  color: var(--dim);
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.bd-terms-note a { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════════════════════ */

#toast-stack {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3500;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  pointer-events: none;
  width: min(380px, calc(100vw - 32px));
}

.toast {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--cyan);
  padding: 9px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--white);
  letter-spacing: 0.06em;
  animation: toast-in 0.25s ease both;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.7);
}

.toast.toast-success { border-left-color: var(--cyan); }
.toast.toast-error   { border-left-color: var(--pink); }
.toast.toast-warn    { border-left-color: var(--gold); }

.toast-icon { flex-shrink: 0; font-size: 12px; }

@keyframes toast-in  { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@keyframes toast-out { from { opacity:1; } to { opacity:0; transform:translateY(-8px); } }

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — BEAT ROW CARD LAYOUT  (< 640px)
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 639px) {
  /* Hide desktop column headers */
  #beats-header { display: none !important; }

  /* Stack each beat row as a card */
  .beat-row {
    display: block !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--border-2);
    border-left: 3px solid transparent;
    transition: border-left-color 0.2s;
  }
  .beat-row:hover { border-left-color: var(--pink); }

  /* Hide number column on mobile */
  .beat-row > .b-num { display: none !important; }

  /* Name section — full width */
  .beat-row > .b-name {
    padding: 12px 14px 8px;
    border-bottom: 1px solid var(--border);
  }

  /* Meta row — shown on mobile */
  .beat-row > .b-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 7px 14px;
    font-size: 11px;
    border-bottom: 1px solid var(--border);
  }

  /* Hide the separate column cells on mobile — meta covers them */
  .beat-row > .b-col-bpm,
  .beat-row > .b-col-key,
  .beat-row > .b-col-dur { display: none !important; }

  /* Bid section */
  .beat-row > .b-bid {
    padding: 7px 14px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }

  /* Timer */
  .beat-row > .b-progress {
    padding: 6px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .beat-row > .b-progress .b-progress-bar { width: 100%; }

  /* Actions — bigger tap targets */
  .beat-row > .b-actions {
    padding: 10px 14px;
    display: flex !important;
    gap: 8px;
  }

  .beat-row > .b-actions .b-play-btn,
  .beat-row > .b-actions .bid-btn,
  .beat-row > .b-actions .buynow-btn {
    flex: 1;
    height: 44px;
    font-size: 14px;
    min-width: 0;
  }

  /* Filter bar wraps nicely */
  #vault-filter-bar {
    padding: 8px 10px;
    gap: 6px;
  }

  .vf-search-wrap { min-width: 100%; order: -1; }
  .vf-chips       { order: 1; }
  #vf-sort, #vf-count { order: 2; }

  /* Admin auth box — full-width bottom sheet on mobile */
  #admin-auth-box {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100% !important;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
  }

  /* Beat detail modal — full-screen on mobile */
  .bd-window {
    width: 100vw !important;
    max-height: 90dvh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    align-self: flex-end;
  }

  #beat-detail-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .bd-stats { grid-template-columns: repeat(2, 1fr); }
  .bd-stat:nth-child(2n) { border-right: none; }
  .bd-stat:nth-child(3),
  .bd-stat:nth-child(4) { border-top: 1px solid var(--border); }

  /* Sold ticker — smaller text on mobile */
  .sold-ticker-item  { padding: 0 12px; }
  .sold-ticker-label { padding: 0 7px; font-size: 7px; }

  /* XP bid modal — larger on small screens */
  .xp-window {
    width: calc(100vw - 16px) !important;
    max-height: 88dvh;
  }

  /* Vault decorations hidden on mobile — too cramped */
  .vault-decorations { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — CONSOLE TRAY (AUDIO PLAYER)
═══════════════════════════════════════════════════════════════════════ */

/* Allow canvases to shrink below their default 300px intrinsic width */
#console-reel-canvas,
#console-vu-canvas {
  min-width: 0;
  display: block;
  height: 80px;   /* explicit desktop height — overridden to 100px at ≤480px */
}

@media (max-width: 768px) {
  #console-tray {
    /* More room for stacked info + visualizer layout */
    max-height: 240px;
    bottom: 48px;
    padding: 10px 14px 12px;
  }

  .console-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .console-title { font-size: 9px; }

  .console-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Info lines compact on mobile */
  .console-info { gap: 4px; }
  .console-info-line { font-size: 10px; }

  /* Visualizer row fills full width, appropriate height */
  .console-visualizers {
    width: 100%;
    height: 80px;
    gap: 8px;
  }

  /* Reel canvas fills available space; VU meter fixed narrow strip */
  #console-reel-canvas {
    flex: 1 1 0;
    height: 80px;
    width: 100%;
  }

  #console-vu-canvas {
    flex: 0 0 56px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  #console-tray {
    padding: 8px 12px 10px;
    max-height: 200px;
  }

  /* On very small screens show only the visualizer, hide info text */
  .console-info { display: none; }

  .console-body {
    gap: 0;
  }

  .console-visualizers {
    height: 100px;
  }

  #console-reel-canvas {
    height: 100px;
  }

  #console-vu-canvas {
    flex: 0 0 48px;
    height: 100px;
  }

  /* Slim down progress row; hide vol on very narrow screens */
  .console-progress-wrap {
    gap: 5px;
    padding: 4px 0 0;
  }

  .console-vol-wrap { display: none; }

  #console-vol { width: 48px; }

  .console-seek-track { height: 8px; } /* fatter touch target */
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — HERO + VAULT HEADER
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  /* Error dialog is purely decorative — hide on small screens */
  .vault-error-dialog { display: none; }

  /* Tighter hero padding */
  #vault-header { padding: 28px 16px 24px; }

  /* Title slightly tighter tracking on narrow screens */
  .vault-title { letter-spacing: -1px; margin-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — ADMIN PANEL + BADGE
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 639px) {
  /* Admin control panel header — wrap at narrow widths */
  .admin-cp-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Firebase badge — shrink text so it doesn't overflow */
  #admin-fb-badge {
    font-size: 9px !important;
    padding: 3px 7px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  /* Beat action buttons — bigger tap target, text readable */
  .beat-row > .b-actions .b-play-btn,
  .beat-row > .b-actions .bid-btn,
  .beat-row > .b-actions .buynow-btn {
    height: 48px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  /* Bid amount prominent on mobile */
  .b-bid-amount {
    font-size: 20px;
  }

  /* Search bar full width on small screens */
  #vf-search { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   CROSS-BROWSER FIXES
═══════════════════════════════════════════════════════════════════════ */

/* font-smooth is non-standard — only -webkit- version works */
body, button, input, textarea, select {
  -webkit-font-smoothing: antialiased; /* Chrome/Safari: subpixel → grayscale */
  -moz-osx-font-smoothing: grayscale;  /* Firefox on macOS */
}

/* will-change hints for GPU compositing on frequently animated elements */
#sold-ticker-inner,
.bd-wave-bar,
#scroll-progress,
.b-progress-fill {
  will-change: transform;
}

/* Safari: fix 100vh on mobile (doesn't account for browser chrome) */
@supports (height: 100dvh) {
  #beat-detail-overlay .bd-window { max-height: 90dvh; }
  .xp-window                      { max-height: 85dvh; }
}

/* Firefox: text-stroke fallback — use text-shadow instead */
@-moz-document url-prefix() {
  .ghost-title, [class*="ghost"] {
    text-shadow: 0 0 0 transparent;
  }
}

/* Prevent double-tap zoom on iOS for all interactive elements */
a, button, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* Focus-visible ring — ensure it shows on all browsers */
:focus-visible {
  outline: 2px solid var(--cyan) !important;
  outline-offset: 2px !important;
}

/* Scrollbar styling — Chrome/Edge/Safari */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--dim); }

/* ══════════════════════════════════════════════════════
   SIGNAL VERIFIED STRIP — About section
   ══════════════════════════════════════════════════ */
.signal-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 212, 204, 0.22);
  background: rgba(0, 212, 204, 0.04);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.sv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0, 212, 204, 0.4);
  flex-shrink: 0;
  animation: sv-pulse 2.2s ease-in-out infinite;
}
@keyframes sv-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0, 212, 204, 0.4); }
  50%       { opacity: 0.4; box-shadow: none; }
}

/* ══════════════════════════════════════════════════════
   HERO META RADIO LINE
   ══════════════════════════════════════════════════ */
.hero-meta-radio {
  color: var(--cyan) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
}

/* ══════════════════════════════════════════════════════
   PRODUCERS SECTION — #producers
   ══════════════════════════════════════════════════ */
#producers {
  padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.producers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.producers-ghost {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 0, 204, 0.08);
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.producers-title {
  margin-bottom: 20px;
}
.producers-body {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--dim);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}
.producers-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.prod-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.prod-btn-primary {
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(0, 212, 204, 0.35);
}
.prod-btn-primary:hover {
  background: #00f5f0;
  box-shadow: 0 0 28px rgba(0, 212, 204, 0.6);
}
.prod-btn-secondary {
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--border-2);
}
.prod-btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.producers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prod-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border: 1px solid var(--border-2);
  color: var(--dim);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, color 0.15s;
}
.prod-tag:hover {
  border-color: var(--pink);
  color: var(--pink);
}
@media (max-width: 768px) {
  .producers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .producers-ghost { display: none; }
}

