* { box-sizing: border-box; }
html, body, #club-shell, #webgl-mount {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #04050a;
  color: #f8fafc;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
#webgl-mount { position: relative; }

#labels-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.visitor-label-wrap {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  will-change: transform;
}

.speech-bubble {
  pointer-events: auto;
  cursor: pointer;
  background: #0a0f1d;
  border: 1px solid rgba(34, 211, 238, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.name-tag {
  background: rgba(9, 13, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.name-tag.vip {
  background: rgba(18, 13, 29, 0.92);
  border-color: rgba(168, 85, 247, 0.45);
  color: #d8b4fe;
}

.name-tag.self {
  pointer-events: auto;
  cursor: pointer;
  background: #06b6d4;
  color: #04101a;
  border-color: #a5f3fc;
}

.hud-top, .hud-bottom {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hud-top { top: 0; }
.hud-bottom { bottom: 0; }

.hud-pill, .hud-actions, .cam-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-pill, .cam-bar {
  background: rgba(7, 11, 21, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 12px;
}

.cam-bar {
  padding: 5px 8px;
  overflow-x: auto;
  max-width: 100%;
}
.cam-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.cam-btn:hover { color: #fff; }
.cam-btn.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(34, 211, 238, 0.45);
  color: #a5f3fc;
}

.hud-logo { height: 28px; width: auto; }
.hud-sep { width: 1px; height: 20px; background: rgba(255,255,255,.15); }
.hud-count strong { color: #22d3ee; font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }

.hud-btn, .hud-cta {
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7, 11, 21, 0.92);
  color: #e2e8f0;
  padding: 9px 13px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hud-btn:hover { border-color: rgba(34, 211, 238, 0.45); color: #fff; }

.hud-cta {
  background: #06b6d4;
  color: #020617;
  border-color: #67e8f9;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.hud-cta.magenta {
  background: #c026d3;
  color: #fff;
  border-color: #f0abfc;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  display: inline-block;
}

.hide-lg { display: none; }
@media (min-width: 1024px) { .hide-lg { display: inline-flex; } }
@media (max-width: 640px) {
  .hide-xs, .hide-sm { display: none; }
  .cam-bar { order: -1; width: 100%; justify-content: center; }
  .hud-btn, .hud-cta { padding: 8px 10px; font-size: 11px; }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop[hidden] { display: none; }

.modal-card {
  width: 100%;
  max-width: 420px;
  background: #0b101d;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 16px;
  padding: 22px;
}
.modal-card.wide { max-width: 580px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal-card h2 { margin: 0; font-family: "Chakra Petch", sans-serif; font-size: 18px; color: #fff; text-transform: uppercase; }
.modal-card p { font-size: 13px; color: #cbd5e1; line-height: 1.5; }
.modal-card label { display: block; font-size: 11px; text-transform: uppercase; color: #67e8f9; margin: 12px 0 4px; }
.modal-card input, .modal-card select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: #050811;
  color: #fff;
}
.modal-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.bio-photo { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.tagline { color: #fbbf24 !important; font-weight: 700; }
.contact-box { margin-top: 12px; padding: 12px; border-radius: 10px; background: #060a14; border: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.discog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.discog-card { background: #060a14; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; overflow: hidden; text-align: center; padding-bottom: 6px; }
.discog-card img { width: 100%; height: 74px; object-fit: cover; display: block; margin-bottom: 4px; }
.discog-card span { font-size: 11px; font-weight: 600; color: #e2e8f0; }

.playlist-list { display: grid; gap: 8px; max-height: 55vh; overflow-y: auto; }
.playlist-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: #060a14; border: 1px solid rgba(255,255,255,0.1);
}
.playlist-row.active { background: rgba(6,182,212,0.12); border-color: rgba(34,211,238,0.45); }
.playlist-row.off { opacity: 0.45; }
