:root {
  --navy: #16163f;
  --deep: #0d0d2b;
  --panel: #14143a;
  --pink: #ff3d8b;
  --magenta: #d6259c;
  --orange: #ff8c2e;
  --yellow: #ffd23f;
  --teal: #1fb9b0;
  --cyan: #45e0dc;
  --cream: #fdf3e3;
  --cream-soft: rgba(253, 243, 227, 0.78);
  --line: rgba(253, 243, 227, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--deep);
  color: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
}
.wrap { max-width: 900px; margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(13, 13, 43, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
nav a {
  font-family: 'Bungee', cursive;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--cream-soft);
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
nav a:hover { color: var(--cream); border-color: var(--line); }
nav a.active {
  color: var(--deep);
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink));
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 61, 139, 0.55);
}

/* ---------- Header ---------- */
header {
  text-align: center;
  padding: 54px 20px 40px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(214, 37, 156, 0.35), transparent 70%),
    linear-gradient(180deg, #1a1046 0%, var(--deep) 100%);
  border-bottom: 3px solid var(--pink);
  box-shadow: 0 10px 40px rgba(255, 61, 139, 0.15);
}
.kicker {
  font-family: 'Bungee', cursive;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--navy);
  transform: rotate(-2deg);
  display: inline-block;
}
header h1 {
  font-family: 'Bungee', cursive;
  font-size: clamp(32px, 6vw, 54px);
  margin: 14px 0 8px;
  background: repeating-linear-gradient(180deg, var(--cyan) 0 14%, var(--cream) 14% 18%, var(--yellow) 18% 40%, var(--orange) 40% 62%, var(--pink) 62% 84%, var(--magenta) 84% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(3px 3px 0 var(--navy)) drop-shadow(0 0 22px rgba(255, 61, 139, 0.4));
  transform: skewX(-4deg);
}
.sub {
  font-family: 'Pacifico', cursive;
  font-size: clamp(17px, 3vw, 24px);
  color: var(--cream);
  text-shadow: 0 2px 0 var(--magenta), 0 0 18px rgba(255, 61, 139, 0.5);
  transform: rotate(-1.5deg);
}

/* ---------- Step cards ---------- */
main { padding: 34px 0 60px; }
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 24px;
  margin: 28px 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(69, 224, 220, 0.08);
}
.step-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.step-num {
  font-family: 'Bungee', cursive;
  font-size: 30px;
  line-height: 1;
  color: var(--deep);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-radius: 14px;
  padding: 10px 14px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--magenta), 0 0 22px rgba(255, 140, 46, 0.45);
}
.step:nth-of-type(2) .step-num { background: linear-gradient(135deg, var(--cyan), var(--teal)); box-shadow: 3px 3px 0 var(--pink), 0 0 22px rgba(69, 224, 220, 0.45); transform: rotate(2deg); }
.step:nth-of-type(3) .step-num { background: linear-gradient(135deg, var(--pink), var(--magenta)); box-shadow: 3px 3px 0 var(--yellow), 0 0 22px rgba(255, 61, 139, 0.45); }
.step:nth-of-type(4) .step-num { background: linear-gradient(135deg, var(--orange), var(--pink)); box-shadow: 3px 3px 0 var(--cyan), 0 0 22px rgba(255, 61, 139, 0.45); transform: rotate(2.5deg); }
.step h2 {
  font-family: 'Bungee', cursive;
  font-size: clamp(19px, 3.2vw, 25px);
  color: var(--cream);
  text-shadow: 2px 2px 0 var(--magenta), 0 0 20px rgba(214, 37, 156, 0.4);
}
.step p.blurb { color: var(--cream-soft); font-size: 15px; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Bungee', cursive;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--deep);
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink));
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 0 20px rgba(255, 61, 139, 0.4);
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 30px rgba(255, 61, 139, 0.65); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn.big { font-size: 17px; padding: 16px 34px; }
.btn.ghost {
  background: transparent;
  color: var(--cyan);
  border: 2px solid rgba(69, 224, 220, 0.6);
  box-shadow: 0 0 14px rgba(69, 224, 220, 0.2);
}
.btn.ghost:hover { box-shadow: 0 0 22px rgba(69, 224, 220, 0.45); color: var(--cream); }
.btn.mini { font-size: 12px; padding: 9px 18px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Generator ---------- */
.combo-counter {
  display: inline-block;
  font-family: 'Bungee', cursive;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(69, 224, 220, 0.12);
  border: 1.5px solid rgba(69, 224, 220, 0.5);
  border-radius: 999px;
  padding: 4px 14px;
  transform: rotate(1.5deg);
}
.gen-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px; }
.gen-block {
  position: relative;
  background: rgba(13, 13, 43, 0.65);
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin-top: 14px;
}
.gen-block.style-block { border-left-color: var(--orange); }
.gen-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.gen-label .cap {
  font-family: 'Bungee', cursive;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(69, 224, 220, 0.5);
}
.style-block .gen-label .cap { color: var(--orange); text-shadow: 0 0 10px rgba(255, 140, 46, 0.5); }
.song-sticker {
  font-family: 'Pacifico', cursive;
  font-size: 16px;
  color: var(--deep);
  background: var(--yellow);
  padding: 2px 14px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--pink);
}
.lyrics-text {
  white-space: pre-wrap;
  font-size: 14.5px;
  color: var(--cream-soft);
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
}
.style-text { font-size: 17px; font-weight: 700; color: var(--cream); }

/* ---------- Upload ---------- */
.upload-fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 16px 0; }
.field label {
  display: block;
  font-family: 'Bungee', cursive;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--cream);
  background: rgba(13, 13, 43, 0.7);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 14px rgba(69, 224, 220, 0.3); }
.dropzone {
  border: 2.5px dashed rgba(69, 224, 220, 0.5);
  border-radius: 16px;
  background: rgba(13, 13, 43, 0.5);
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--pink);
  background: rgba(255, 61, 139, 0.08);
  box-shadow: 0 0 26px rgba(255, 61, 139, 0.25) inset, 0 0 20px rgba(255, 61, 139, 0.2);
}
.dropzone .dz-icon { font-size: 36px; margin-bottom: 8px; }
.dropzone .dz-main { font-family: 'Bungee', cursive; font-size: 15px; color: var(--cream); }
.dropzone .dz-sub { font-size: 13px; color: var(--cream-soft); margin-top: 6px; }
.dropzone .dz-file {
  font-family: 'Bungee', cursive;
  font-size: 13px;
  color: var(--cyan);
  margin-top: 10px;
  word-break: break-all;
}
.upload-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.upload-msg { font-size: 14.5px; font-weight: 700; }
.upload-msg.error { color: var(--pink); text-shadow: 0 0 12px rgba(255, 61, 139, 0.5); }
.upload-msg.ok { color: var(--cyan); text-shadow: 0 0 12px rgba(69, 224, 220, 0.5); }
.success-panel {
  margin-top: 16px;
  border: 2px solid var(--cyan);
  border-radius: 14px;
  background: rgba(69, 224, 220, 0.1);
  box-shadow: 0 0 30px rgba(69, 224, 220, 0.35);
  padding: 18px 20px;
  text-align: center;
  animation: neonflash 0.9s ease;
}
.success-panel .yay { font-family: 'Bungee', cursive; font-size: 18px; color: var(--cream); text-shadow: 0 0 16px rgba(69, 224, 220, 0.7); }
.success-panel a {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  color: var(--yellow);
  text-shadow: 0 0 14px rgba(255, 210, 63, 0.6);
}
@keyframes neonflash {
  0% { box-shadow: 0 0 0 rgba(69, 224, 220, 0); background: rgba(69, 224, 220, 0.5); }
  100% { box-shadow: 0 0 30px rgba(69, 224, 220, 0.35); background: rgba(69, 224, 220, 0.1); }
}

/* confetti */
.confetti {
  position: fixed;
  top: -14px;
  width: 10px;
  height: 16px;
  z-index: 200;
  pointer-events: none;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }
}

/* ---------- Radio / boombox ---------- */
.boombox {
  position: relative;
  margin: 52px auto 0;
  max-width: 680px;
  background: linear-gradient(180deg, #2fd4c8 0%, var(--teal) 48%, #0e8d86 100%);
  border: 2px solid #0a6d68;
  border-radius: 20px;
  padding: 14px 22px 20px;
  box-shadow:
    0 0 44px rgba(69, 224, 220, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.55),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.boombox.playing { animation: bb-bounce 0.62s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bb-bounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  22% { transform: translateY(-7px) rotate(-0.35deg); }
  48% { transform: translateY(0) scale(1.012, 0.985); }
  62% { transform: translateY(-2px); }
  75% { transform: translateY(0) scale(1, 1); }
}

/* handle */
.bb-handle { position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 60%; height: 40px; }
.bb-handle::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 15px;
  border-radius: 8px;
  background: linear-gradient(180deg, #3c3c5e, #0f0f28);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(253, 243, 227, 0.3);
}
.bb-handle::after {
  content: '';
  position: absolute;
  top: 6px; bottom: -8px; left: 0; right: 0;
  background:
    linear-gradient(90deg, #34345a, #101028) left / 15px 100% no-repeat,
    linear-gradient(90deg, #34345a, #101028) right / 15px 100% no-repeat;
  border-radius: 4px;
}

/* top row of knobs + cassette keys */
.bb-topbar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; }
.knob {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #40406a, #0b0b22);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.knob.big { width: 32px; height: 32px; }
.keys { display: flex; gap: 4px; }
.keys i {
  width: 26px; height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, #eef, #9a9ab8 65%, #7c7c9a);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.keys i.rec { background: linear-gradient(180deg, #ff7d7d, #c22525 65%, #8f1414); }
.bb-brand {
  margin-left: auto;
  font-family: 'Bungee', cursive;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--navy);
  text-shadow: 1px 1px 0 rgba(253, 243, 227, 0.5);
}

/* tuning dial band */
.bb-dialband {
  position: relative;
  background: #08081c;
  border: 2px solid rgba(253, 243, 227, 0.22);
  border-radius: 9px;
  padding: 6px 14px 9px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.9);
}
.dial-scale {
  display: flex;
  justify-content: space-between;
  font-family: 'Bungee', cursive;
  font-size: 10px;
  color: var(--yellow);
  text-shadow: 0 0 7px rgba(255, 210, 63, 0.55);
}
.dial-scale .mhz { color: var(--cyan); }
.dial-ticks {
  height: 7px;
  margin-top: 4px;
  background: repeating-linear-gradient(90deg, rgba(253, 243, 227, 0.45) 0 1px, transparent 1px 11px);
}
.dial-needle {
  position: absolute;
  top: 3px; bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 61, 139, 0.95);
  animation: dial-drift 9s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.boombox.playing .dial-needle { animation-play-state: running; }
@keyframes dial-drift { from { left: 12%; } to { left: 88%; } }

.bb-body { display: grid; grid-template-columns: 1fr minmax(220px, 290px) 1fr; gap: 18px; align-items: center; }

/* speakers: dark mesh, chrome ring, deep cone */
.speaker {
  aspect-ratio: 1;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  background-color: #0a0a20;
  background-image: radial-gradient(rgba(69, 224, 220, 0.28) 1px, transparent 1.6px);
  background-size: 7px 7px;
  border: 6px solid #0c817a;
  box-shadow:
    0 0 0 3px rgba(253, 243, 227, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.45),
    inset 0 0 36px rgba(0, 0, 0, 0.9);
}
.speaker::before {
  content: '';
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  border: 3px solid rgba(253, 243, 227, 0.28);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.65);
}
.speaker::after {
  content: '';
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, var(--magenta), #3c0c32 72%);
  border: 3px solid rgba(255, 210, 63, 0.5);
  box-shadow: 0 0 18px rgba(214, 37, 156, 0.65);
}
.boombox.playing .speaker { animation: thump 0.62s ease-in-out infinite; }
@keyframes thump {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.03); }
}

/* center deck panel */
.bb-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  background: linear-gradient(180deg, #1a1a48, #0d0d2e);
  border: 2px solid rgba(253, 243, 227, 0.2);
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: inset 0 1px 0 rgba(253, 243, 227, 0.1), 0 5px 14px rgba(0, 0, 0, 0.4);
}

/* cassette window */
.cassette {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, #23234f, #0a0a24);
  border: 2px solid rgba(69, 224, 220, 0.32);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
}
.reel {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 3px solid rgba(253, 243, 227, 0.4);
  background:
    radial-gradient(circle, #0a0a20 0 28%, transparent 28%),
    repeating-conic-gradient(#33336a 0 30deg, #0b0b24 30deg 60deg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.boombox.playing .reel { animation: reel-spin 1.6s linear infinite; }
@keyframes reel-spin { to { transform: rotate(360deg); } }
.tape-label {
  font-family: 'Bungee', cursive;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--cream-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* LED marquee */
.led {
  width: 100%;
  background: #050514;
  border: 2px solid rgba(31, 185, 176, 0.6);
  border-radius: 10px;
  padding: 8px 10px;
  overflow: hidden;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.9), 0 0 14px rgba(31, 185, 176, 0.35);
}
.led-text {
  font-family: 'Bungee', cursive;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(69, 224, 220, 0.9), 0 0 20px rgba(69, 224, 220, 0.5);
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: marquee 12s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* VU meter */
.vu { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.vu span {
  width: 8px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--pink), var(--orange), var(--yellow), var(--cyan));
  height: 12%;
  transition: height 0.2s ease;
  box-shadow: 0 0 8px rgba(255, 61, 139, 0.5);
  animation: vu-bounce 0.9s ease-in-out infinite;
  animation-play-state: paused;
}
.boombox.playing .vu span { animation-play-state: running; }
.vu span:nth-child(1) { animation-delay: 0s; }
.vu span:nth-child(2) { animation-delay: 0.15s; }
.vu span:nth-child(3) { animation-delay: 0.3s; }
.vu span:nth-child(4) { animation-delay: 0.45s; }
.vu span:nth-child(5) { animation-delay: 0.6s; }
.vu span:nth-child(6) { animation-delay: 0.75s; }
.vu span:nth-child(7) { animation-delay: 0.22s; }
@keyframes vu-bounce {
  0%, 100% { height: 15%; }
  30% { height: 95%; }
  55% { height: 40%; }
  75% { height: 70%; }
}

/* transport: chunky chrome cassette-deck keys */
.transport { display: flex; align-items: stretch; gap: 6px; width: 100%; }
.tbtn {
  flex: 1;
  min-width: 44px;
  height: 46px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #f0f0fa, #a6a6c2 62%, #86869f);
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #50506a, 0 6px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.tbtn:hover { filter: brightness(1.08); }
.tbtn:active { transform: translateY(3px); box-shadow: 0 1px 0 #50506a, 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.75); }
.tbtn.play {
  flex: 1.5;
  font-size: 20px;
  background: linear-gradient(180deg, var(--yellow), var(--orange) 62%, #cf6a10);
  box-shadow: 0 4px 0 #8a3d05, 0 6px 12px rgba(255, 140, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tbtn.play:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a3d05, 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.tbtn.shuffle { font-size: 14px; }
.tbtn.shuffle.on {
  background: linear-gradient(180deg, #8df2ec, var(--cyan) 62%, #109690);
  box-shadow: 0 4px 0 #0a6d68, 0 6px 12px rgba(69, 224, 220, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.bb-seek { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--cream-soft); }
.bb-seek input[type='range'] { flex: 1; accent-color: var(--pink); cursor: pointer; }

/* ---------- Track list ---------- */
.tracklist-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 40px 0 14px; }
.tracklist-head h2 {
  font-family: 'Bungee', cursive;
  font-size: clamp(19px, 3.2vw, 25px);
  color: var(--cream);
  text-shadow: 2px 2px 0 var(--magenta), 0 0 20px rgba(214, 37, 156, 0.4);
}
.tracklist { display: grid; gap: 10px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.track {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  padding: 12px 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.track:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(69, 224, 220, 0.12); }
.track.current {
  border-color: rgba(255, 61, 139, 0.7);
  border-left-color: var(--pink);
  background: linear-gradient(90deg, rgba(255, 61, 139, 0.14), var(--panel) 60%);
  box-shadow: 0 0 22px rgba(255, 61, 139, 0.3);
}
.track .t-play {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(69, 224, 220, 0.5);
  background: rgba(13, 13, 43, 0.8);
  color: var(--cream);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.track .t-play:hover { border-color: var(--pink); box-shadow: 0 0 12px rgba(255, 61, 139, 0.5); }
.track .t-info { min-width: 0; flex: 1; }
.track .t-title { font-weight: 700; font-size: 15.5px; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .t-by { font-size: 13px; color: var(--cream-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .t-meta { flex: none; text-align: right; font-size: 12.5px; color: var(--cream-soft); }
.track .t-meta .t-dur { font-family: 'Bungee', cursive; font-size: 11px; color: var(--cyan); }
.track .t-eq { flex: none; display: none; align-items: flex-end; gap: 2.5px; height: 16px; }
.track.current .t-eq { display: flex; }
.track .t-eq i {
  width: 3.5px;
  background: var(--pink);
  border-radius: 2px;
  height: 30%;
  animation: vu-bounce 0.8s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 61, 139, 0.8);
}
.track .t-eq i:nth-child(2) { animation-delay: 0.2s; }
.track .t-eq i:nth-child(3) { animation-delay: 0.4s; }
.track.current.paused .t-eq i { animation-play-state: paused; }

/* admin */
.admin-key {
  flex: none;
  font-size: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: rgba(13, 13, 43, 0.7);
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.15s ease;
}
.admin-key:hover { opacity: 1; border-color: rgba(69, 224, 220, 0.5); }
.admin-key.on {
  opacity: 1;
  border-color: var(--yellow);
  box-shadow: 0 0 14px rgba(255, 210, 63, 0.5);
}
.admin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.admin-bar[hidden] { display: none; }
.admin-bar label {
  font-family: 'Bungee', cursive;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.admin-bar input {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--cream);
  background: rgba(13, 13, 43, 0.7);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  outline: none;
}
.admin-bar input:focus { border-color: var(--yellow); box-shadow: 0 0 12px rgba(255, 210, 63, 0.3); }
.admin-msg { font-size: 13.5px; font-weight: 700; color: var(--pink); }
.track .t-del {
  flex: none;
  width: 34px;
  height: 34px;
  font-size: 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 61, 139, 0.45);
  background: rgba(255, 61, 139, 0.1);
  cursor: pointer;
  transition: all 0.12s ease;
}
.track .t-del:hover {
  background: rgba(255, 61, 139, 0.3);
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 61, 139, 0.5);
}

.empty-state {
  text-align: center;
  padding: 44px 20px;
  border: 2px dashed rgba(69, 224, 220, 0.4);
  border-radius: 16px;
  color: var(--cream-soft);
}
.empty-state .big {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: var(--cream);
  text-shadow: 0 2px 0 var(--magenta), 0 0 18px rgba(255, 61, 139, 0.5);
  margin-bottom: 10px;
}
.empty-state a { color: var(--cyan); font-weight: 700; }

footer {
  text-align: center;
  padding: 30px 20px 44px;
  border-top: 3px solid var(--cyan);
  color: var(--cream-soft);
  font-size: 13.5px;
  box-shadow: 0 -8px 30px rgba(69, 224, 220, 0.1);
}
footer .mono {
  font-family: 'Bungee', cursive;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .upload-fields { grid-template-columns: 1fr; }
  .bb-body { grid-template-columns: 1fr; }
  .speaker { max-width: 130px; }
  .bb-body .speaker.right { display: none; }
  .boombox { padding: 12px 14px 16px; margin-top: 46px; }
  .bb-handle { width: 70%; top: -34px; }
  .bb-topbar .keys { display: none; }
  .track .t-meta { font-size: 11px; }
}
