* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0f1115; color: #eef0f4; font: 18px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
#bar { position: fixed; top: 0; left: 0; right: 0; display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: #161a21; border-bottom: 1px solid #262c36; font-size: 14px; z-index: 2; }
#bar .spacer { flex: 1; }
#bar button { background: #232a35; color: inherit; border: 1px solid #333c4a; border-radius: 6px; padding: 5px 10px; font: inherit; cursor: pointer; }
#bar button:disabled { opacity: .4; cursor: default; }
#bar button.on { background: #7a2630; border-color: #a33542; }
#status { color: #9aa4b2; }
#stage { position: absolute; top: 48px; bottom: 120px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; padding: 3vh 6vw; }
#slide { width: 100%; max-width: 1200px; }
#slide h1 { font-size: 3.2em; line-height: 1.1; margin: 0 0 .5em; }
#slide h2 { font-size: 2em; margin: .2em 0 .4em; color: #c9d1dc; }
#slide p, #slide li { font-size: 1.6em; }
#slide ul { padding-left: 1.2em; }
#notes { position: fixed; bottom: 120px; left: 12px; right: 12px; max-height: 30vh; overflow: auto; padding: 10px 14px; background: #1b2029; border: 1px solid #2b3240; border-radius: 8px; font-size: 15px; color: #c4ccd8; white-space: pre-wrap; }
#captions { position: fixed; bottom: 0; left: 0; right: 0; height: 120px; overflow: hidden; padding: 8px 14px; background: #12151b; border-top: 1px solid #262c36; font-size: 15px; }
#captions .u { color: #8fc1ff; }
#captions .a { color: #d6dbe3; }
#log { position: fixed; top: 56px; right: 12px; width: 320px; max-height: 40vh; overflow: auto; padding: 8px 12px; background: #1b2029; border: 1px solid #2b3240; border-radius: 8px; font-size: 13px; }
#log h2 { font-size: 13px; margin: 0 0 4px; color: #9aa4b2; }
.center { text-align: center; margin-top: 30vh; }
