/* ─── Nav Bar ───────────────────────────────────────────────── */
#nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid #1a1a1a;
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ─── Page Panels ──────────────────────────────────────────── */
.page-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding-top: 56px; /* nav bar height */
  overflow-y: auto;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  z-index: 10000;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page-title {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 32px;
}

/* ─── Dashboard Sections ───────────────────────────────────── */
.dash-section {
  margin-bottom: 36px;
}

.dash-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}

.dash-profile-card {
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 20px;
}

.dash-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.dash-profile-row:not(:last-child) {
  border-bottom: 1px solid #1a1a1a;
}

.dash-profile-label {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.5px;
}

.dash-profile-value {
  font-size: 14px;
  color: #fff;
  font-weight: 300;
}

.dash-empty {
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 24px 0;
}

/* ─── Ticket Card ──────────────────────────────────────────── */
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-card {
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticket-card-event {
  font-size: 14px;
  color: #fff;
}

.ticket-card-venue {
  font-size: 12px;
  color: #888;
}

.ticket-card-date {
  font-size: 11px;
  color: #666;
}

.ticket-card-code {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

/* ─── Ticket Redeem ────────────────────────────────────────── */
.ticket-redeem-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ticket-redeem-row .auth-input {
  flex: 1;
  margin-bottom: 0;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ticket-redeem-row .enter-button {
  white-space: nowrap;
}

.redeem-success {
  color: #4CAF50;
  font-size: 13px;
  margin-top: 8px;
}

.redeem-error {
  color: #ff4444;
  font-size: 13px;
  margin-top: 8px;
}

/* ─── Admin Tabs ───────────────────────────────────────────── */
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 24px;
}

.admin-tab {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.admin-tab:hover {
  color: #ffffff;
}

.admin-tab.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* ─── Admin Toolbar ────────────────────────────────────────── */
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-toolbar-title {
  font-size: 13px;
  color: #888;
}

/* ─── Admin Event Card ─────────────────────────────────────── */
.admin-event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-event-card {
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 16px;
}

.admin-event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.admin-event-title {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
}

.event-status-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}

.event-status-badge.draft {
  background: rgba(150, 150, 150, 0.2);
  color: #999;
}

.event-status-badge.scheduled {
  background: rgba(33, 150, 243, 0.2);
  color: #64b5f6;
}

.event-status-badge.live {
  background: rgba(76, 175, 80, 0.2);
  color: #81c784;
}

.event-status-badge.ended {
  background: rgba(150, 150, 150, 0.15);
  color: #777;
}

.admin-event-venue {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.admin-event-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.admin-event-actions {
  display: flex;
  gap: 8px;
}

.admin-event-actions .control-button {
  font-size: 11px;
  padding: 6px 14px;
}

.admin-event-actions .stop-btn {
  background: #553333;
}

.admin-event-actions .stop-btn:hover:not(:disabled) {
  background: #774444;
}

.admin-event-actions .delete-btn {
  background: transparent;
  border: 1px solid #444;
  color: #888;
}

.admin-event-actions .delete-btn:hover:not(:disabled) {
  border-color: #774444;
  color: #cc6666;
}

/* ─── Admin Ticket Table ───────────────────────────────────── */
.admin-ticket-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-ticket-controls select {
  flex: 1;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
}

.admin-ticket-controls select:focus {
  outline: none;
  border-color: #2196F3;
}

.admin-ticket-controls input[type="number"] {
  width: 70px;
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 8px;
  font-size: 13px;
  font-family: inherit;
  text-align: center;
}

.admin-ticket-controls input[type="number"]:focus {
  outline: none;
  border-color: #2196F3;
}

.admin-ticket-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-ticket-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  padding: 8px 12px;
  border-bottom: 1px solid #2a2a2a;
}

.admin-ticket-table td {
  font-size: 13px;
  padding: 10px 12px;
  border-bottom: 1px solid #1a1a1a;
  color: #ccc;
}

.ticket-code {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

.ticket-status-available {
  color: #4CAF50;
}

.ticket-status-redeemed {
  color: #777;
}

.copy-codes-btn {
  background: transparent;
  color: #888;
  border: 1px solid #555;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copy-codes-btn:hover {
  color: #fff;
  border-color: #fff;
}

.admin-ticket-summary {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}

/* ─── Admin Venue List ─────────────────────────────────────── */
.admin-venue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-venue-card {
  border: 1px solid #2a2a2a;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-venue-name {
  font-size: 15px;
  color: #fff;
}

.admin-venue-slug {
  font-size: 12px;
  color: #888;
  font-family: monospace;
}

/* ─── Create Event Modal ───────────────────────────────────── */
.create-event-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.create-event-form .auth-input {
  margin-bottom: 0;
}

.create-event-form select {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 1px solid #666;
  padding: 12px 15px;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.create-event-form select:focus {
  outline: none;
  border-color: #ffffff;
}

.create-event-form select option {
  background: #1a1a1a;
  color: #fff;
}

.create-event-form label {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-event-form label input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .auth-input {
  flex: 1;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  #nav-bar {
    padding: 0 12px;
    height: 48px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .page-panel {
    padding-top: 48px;
  }

  .page-content {
    padding: 24px 16px 60px;
  }

  .admin-ticket-controls {
    flex-direction: column;
  }

  .admin-ticket-controls select {
    min-width: 0;
    width: 100%;
  }
}

/* ─── Recording Indicator ──────────────────────────────────── */
.recording-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(220, 40, 40, 0.15);
  border: 1px solid rgba(220, 40, 40, 0.4);
  border-radius: 8px;
  font-size: 13px;
  color: #ff4444;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4444;
  animation: recording-pulse 1.2s ease-in-out infinite;
}

@keyframes recording-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Record button active state */
.record-btn {
  border-color: rgba(220, 40, 40, 0.4) !important;
  color: #ff6666 !important;
}

.record-btn.recording-active {
  background: rgba(220, 40, 40, 0.2) !important;
  border-color: #ff4444 !important;
  color: #ff4444 !important;
  animation: recording-pulse 1.2s ease-in-out infinite;
}

/* ─── Recording Cards ──────────────────────────────────────── */
.recording-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.recording-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.recording-card-title {
  font-weight: 500;
  color: #e0e0e0;
}

.recording-status-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.recording-status-badge.ready {
  background: rgba(40, 180, 100, 0.15);
  color: #4ade80;
}

.recording-status-badge.processing {
  background: rgba(220, 180, 40, 0.15);
  color: #facc15;
}

.recording-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.play-recording-btn {
  font-size: 12px;
  padding: 4px 12px;
}

/* ─── In-Space Recording Controls ──────────────────────────── */
.recording-section-header {
  cursor: pointer;
  user-select: none;
}

.recording-section-header h4 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.recording-section-toggle {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.recording-section.collapsed .recording-section-toggle {
  transform: rotate(-90deg);
}

.recording-section.collapsed .recording-section-content {
  display: none;
}

.recording-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recording-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ─── Visibility Toggle ───────────────────────────────────── */
.visibility-toggle-btn {
  font-size: 11px;
  padding: 4px 10px;
}

.visibility-toggle-btn.visibility-public {
  border-color: rgba(40, 180, 100, 0.4) !important;
  color: #4ade80 !important;
}

.visibility-toggle-btn.visibility-private {
  border-color: rgba(120, 120, 120, 0.4) !important;
  color: #888 !important;
}

/* ─── Score / Setlist Controls ────────────────────────────── */
.score-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.85em;
  opacity: 0.7;
}
.score-item.active {
  opacity: 1;
  font-weight: bold;
  color: #4ade80;
}
.score-item.played {
  opacity: 0.4;
  text-decoration: line-through;
}
.score-play-btn {
  font-size: 0.75em;
  padding: 2px 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
  border-radius: 3px;
  cursor: pointer;
}
.score-play-btn:hover {
  background: rgba(255,255,255,0.1);
}
#score-record-toggle.recording-active {
  background: #c0392b;
  color: #fff;
  border-color: #e74c3c;
}
#score-record-actions {
  display: flex;
  gap: 4px;
}

/* ─── Lobby Recordings ────────────────────────────────────── */
.lobby-recordings {
  margin-top: 24px;
}

.lobby-recording-list {
  max-width: 420px;
  margin: 0 auto;
}

/* ─── Space Detail Page ───────────────────────────────────── */
.space-detail-back {
  display: inline-block;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.space-detail-back:hover {
  color: #ffffff;
}

.space-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.space-detail-name {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

.space-detail-desc {
  font-size: 14px;
  color: #888;
  margin: 0 0 20px;
  line-height: 1.5;
}

.space-detail-info {
  margin-bottom: 24px;
}

.space-detail-actions {
  margin-bottom: 24px;
}

.space-detail-enter-btn {
  width: 100%;
  max-width: 280px;
}

.space-detail-inactive {
  font-size: 14px;
  color: #666;
  padding: 16px 0;
}

/* ─── User Menu Dropdown ─────────────────────────────────── */
.user-menu-wrapper {
  position: relative;
}

#user-handle {
  cursor: pointer;
  transition: color 0.2s ease;
}

#user-handle:hover {
  color: #ffffff;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 16px;
  z-index: 10002;
  backdrop-filter: blur(10px);
  display: none;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown-section {
  margin-bottom: 16px;
}

.user-dropdown-section:last-child {
  margin-bottom: 0;
}

.user-dropdown-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.user-dropdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
}

.user-dropdown-row .dash-profile-label {
  font-size: 12px;
}

.user-dropdown-row .dash-profile-value {
  font-size: 13px;
}

.user-dropdown-divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 12px 0;
}

.user-dropdown .ticket-redeem-row {
  gap: 8px;
}

.user-dropdown .ticket-redeem-row .auth-input {
  font-size: 12px;
  padding: 8px 10px;
}

.user-dropdown .ticket-redeem-row .enter-button {
  font-size: 11px;
  padding: 8px 12px;
}

.user-dropdown .logout-button {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

/* ─── In-Space Playback List ─────────────────────────────── */
#recording-playback-list { margin-top: 8px; }
#recording-playback-cards .recording-card { padding: 10px; margin-bottom: 8px; }

/* ─── Lobby Hero Card (Now Live) ──────────────────────────── */
.lobby-hero-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: rgba(20, 40, 60, 0.5);
  border: 1px solid rgba(80, 160, 240, 0.2);
}

.lobby-hero-overlay {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.lobby-hero-card .lobby-event-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
}

.lobby-hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6cf;
  margin-bottom: 8px;
}

.lobby-hero-status .lobby-dot.live {
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.lobby-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

/* ─── Lobby Space Grid ────────────────────────────────────── */
.lobby-space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.lobby-space-owner {
  font-style: italic;
  opacity: 0.6;
}

/* ─── Lobby View All Spaces Button ───────────────────────── */
.lobby-view-all-section {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.lobby-view-all-btn {
  font-size: 12px;
  padding: 8px 20px;
  background: transparent;
  color: #888;
  border: 1px solid #444;
  letter-spacing: 1px;
}

.lobby-view-all-btn:hover {
  color: #ccc;
  border-color: #666;
  background: rgba(255, 255, 255, 0.03);
}

/* ─── Spaces Page ────────────────────────────────────────── */
#spaces-page > .page-content {
  max-width: 1100px;
  width: 100%;
}

.spaces-grid-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-color: rgba(20, 30, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.spaces-grid-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.spaces-grid-card-overlay {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.spaces-empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-size: 14px;
}

.spaces-loading {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-size: 14px;
}

/* ─── Lobby Explainer Banner ──────────────────────────────── */
.lobby-explainer {
  background: rgba(60, 120, 200, 0.1);
  border: 1px solid rgba(80, 160, 240, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lobby-explainer-text {
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
}

.lobby-explainer-dismiss {
  font-size: 11px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #aaa;
  cursor: pointer;
  white-space: nowrap;
}

.lobby-explainer-dismiss:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ─── Lobby Create Space ──────────────────────────────────── */
.lobby-create-section {
  margin-top: 16px;
  margin-bottom: 16px;
}

.lobby-create-space-btn {
  font-size: 12px;
  padding: 10px 20px;
}

/* ─── Onboarding Overlay ──────────────────────────────────── */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: onboarding-fade-in 0.3s ease;
}

.onboarding-overlay.onboarding-fade-out {
  animation: onboarding-fade-out 0.3s ease forwards;
}

@keyframes onboarding-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes onboarding-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.onboarding-content {
  background: rgba(20, 20, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 400px;
  text-align: center;
}

.onboarding-content h3 {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
}

.onboarding-instructions {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.onboarding-instructions li {
  font-size: 13px;
  color: #bbb;
  line-height: 1.8;
  padding: 4px 0;
}

.onboarding-dismiss-btn {
  font-size: 13px;
  padding: 10px 24px;
}

/* ─── Upload Modal ────────────────────────────────────────── */
.upload-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 15000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-modal-content {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 440px;
  width: 90%;
}

.upload-modal-content h3 {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: #fff;
}

.upload-modal-hint {
  font-size: 11px;
  color: #888;
  margin-bottom: 16px;
}

.upload-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.upload-progress-container {
  margin: 12px 0;
}

.upload-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  background: #6cf;
  width: 0;
  transition: width 0.2s ease;
  border-radius: 3px;
}

.upload-progress-text {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  text-align: center;
}

.upload-status {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
}

.upload-error {
  color: #f66;
}

.upload-success {
  color: #6f6;
}

/* ─── Space Edit Form ─────────────────────────────────────── */
.space-edit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.space-edit-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.space-edit-input {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #eee;
  font-size: 13px;
  font-family: inherit;
}

.space-edit-input:focus {
  outline: none;
  border-color: rgba(80, 160, 240, 0.4);
}

.space-edit-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.space-edit-status {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* ─── Space Detail Owner Section ──────────────────────────── */
.space-detail-owner-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.space-detail-pending-notice {
  background: rgba(200, 150, 50, 0.1);
  border: 1px solid rgba(200, 150, 50, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #cc9;
  margin-top: 16px;
}

/* ─── Recording Copy Link Button ──────────────────────────── */
.recording-copy-link-btn {
  font-size: 10px;
  padding: 4px 10px;
}

/* ─── Mic Disabled State ──────────────────────────────────── */
#audioButton.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Mic State Indicator (HUD) ────────────────────────────── */
.mic-indicator {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  transition: background 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.mic-indicator.mic-muted {
  background: rgba(80, 80, 80, 0.6);
  color: #888;
}

.mic-indicator.mic-active {
  background: rgba(40, 160, 80, 0.7);
  color: #fff;
}

.mic-indicator.mic-disabled {
  background: rgba(80, 80, 80, 0.4);
  color: #555;
}

.mic-icon {
  position: relative;
  z-index: 1;
}

.mic-slash {
  position: absolute;
  width: 2px;
  height: 22px;
  background: #f44;
  transform: rotate(45deg);
  display: none;
}

.mic-indicator.mic-muted .mic-slash,
.mic-indicator.mic-disabled .mic-slash {
  display: block;
}

/* ─── Visibility Toggle (recording cards) ─────────────────── */
.visibility-toggle-btn.visibility-public {
  color: #6f6;
  border-color: rgba(100, 255, 100, 0.2);
}

.visibility-toggle-btn.visibility-private {
  color: #888;
  border-color: rgba(255, 255, 255, 0.1);
}
