:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #060608; color: #e8e8ea; font: 14px/1.4 system-ui, sans-serif; }
#app { display: flex; flex-direction: column; height: 100vh; }
nav { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid #ffffff1a; }
nav .brand { letter-spacing: 0.12em; }
nav a { color: #b8b8c0; text-decoration: none; }
nav a.active, nav a:hover { color: #fff; }
.pill { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #ffffff14; margin-left: auto; }
.pill.ok { background: #1d5c2e; }
.pill.bad { background: #7a2430; }
main { flex: 1; min-height: 0; overflow: auto; }
.card { max-width: 560px; margin: 32px auto; padding: 20px; border: 1px solid #ffffff1a; border-radius: 12px; background: #0c0c10; }
.card h1 { margin: 0 0 8px; font-size: 20px; }
.card p { color: #b8b8c0; }
.row { display: flex; gap: 8px; margin-top: 12px; }
input[type="text"] { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid #ffffff2a; background: #060608; color: #fff; }
button { padding: 8px 14px; border-radius: 8px; border: 1px solid #ffffff2a; background: #1a1a22; color: #fff; cursor: pointer; }
button:hover { background: #262630; }
button.primary { background: #4a3aff; border-color: #4a3aff; }
button:disabled { opacity: 0.45; cursor: default; }
ul.plain { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
ul.plain li { padding: 8px 10px; border-radius: 8px; background: #ffffff0d; display: flex; gap: 8px; align-items: center; }
ul.plain li button { margin-left: auto; padding: 4px 10px; font-size: 12px; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #5c4a1d; }
.notice { padding: 10px 12px; border-radius: 8px; background: #7a243033; border: 1px solid #7a2430; margin-top: 12px; font-size: 13px; }
.notice.ok { background: #1d5c2e33; border-color: #1d5c2e; }
.gap { height: 12px; }
#stage { position: relative; background: #000; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
#stage .video-js { width: 100%; height: 100%; }
#idle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #888; pointer-events: none; }
#idle[hidden] { display: none; }
.roomwrap { display: flex; flex-direction: column; height: 100%; }
.roomhead { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #ffffff1a; }
.roomhead .pill { margin-left: 0; }
.roommain { flex: 1; display: flex; min-height: 0; }
.roommain #stage { flex: 1; border-radius: 0; aspect-ratio: auto; min-width: 0; }
.qside { width: 280px; border-left: 1px solid #ffffff1a; padding: 10px 12px; overflow-y: auto; }
.qside h2 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #888; }
.qside h2 button { float: right; font-size: 11px; background: #ffffff14; color: #e8e8ea; border: 0; border-radius: 6px; padding: 2px 8px; cursor: pointer; }
#queue { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
#queue li { padding: 6px 8px; border-radius: 8px; background: #ffffff0d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#queue li.current { outline: 1px solid #7c5cff; }
#queue li.skipped { opacity: 0.55; text-decoration: line-through; }
#closed { margin-top: 12px; padding: 8px; border-radius: 8px; background: #7a2430; }
