* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #000; overflow: hidden; font-family: system-ui, sans-serif; }

.auth-panel {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; padding: 24px; border-radius: 8px; width: 320px;
}
.auth-panel h2 { margin-top: 0; font-size: 18px; }
.auth-panel input {
  display: block; width: 100%; padding: 8px; margin: 8px 0;
  border: 1px solid #ccc; border-radius: 4px;
}
.auth-panel button {
  width: 100%; padding: 10px; background: #0f3460; color: #fff;
  border: none; border-radius: 4px; cursor: pointer; margin-top: 8px;
}
.tip { font-size: 13px; color: #666; margin-top: 8px; }

#stage video { width: 100vw; height: 100vh; object-fit: contain; background: #000; }
#overlay {
  position: fixed; top: 20px; left: 20px; color: #fff; font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8); padding: 8px 16px;
  background: rgba(0,0,0,0.4); border-radius: 8px;
  display: flex; align-items: center; gap: 12px;
}
#enable-audio {
  font-size: 14px; padding: 6px 12px; background: rgba(15,52,96,0.9);
  color: #fff; border: none; border-radius: 4px; cursor: pointer;
}
#enable-audio:disabled { background: rgba(50,50,50,0.9); cursor: default; }

.nav-float { position: fixed; top: 20px; right: 20px; z-index: 10; opacity: 0; transition: opacity 0.2s; }
.nav-float:hover, .nav-float:has(input:checked) { opacity: 1; }
.nav-toggle-input { display: none; }
.nav-toggle-btn {
  display: block; width: 40px; height: 40px; line-height: 40px; text-align: center;
  background: rgba(0,0,0,0.4); color: #fff; border-radius: 8px; cursor: pointer; font-size: 20px;
}
.nav-panel {
  display: none; flex-direction: column; background: rgba(26,26,46,0.9);
  border-radius: 8px; overflow: hidden; margin-top: 8px;
}
.nav-toggle-input:checked ~ .nav-panel { display: flex; }
.nav-item { padding: 12px 20px; color: #ccc; text-decoration: none; }
.nav-item:hover { background: #16213e; color: #fff; }
.nav-item.active { background: #0f3460; color: #fff; }
