*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;background:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang TC,Microsoft JhengHei,sans-serif;overflow:hidden}#app{position:relative;width:100vw;height:100vh}#stage{position:absolute;top:0;right:0;bottom:0;left:0;background:#000;overflow:hidden}#slide-host{position:absolute;width:960px;height:540px;box-shadow:0 0 40px #0009}#loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#05070f;color:#cfd6e6;font-size:18px;letter-spacing:.05em}#loading-overlay[hidden],#score-toast[hidden]{display:none}#toolbar{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:50;display:flex;align-items:center;gap:16px;padding:8px 16px;background:#0f1220d9;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#toolbar button{min-height:44px;min-width:44px;padding:8px 16px;border:none;border-radius:999px;background:#2563eb;color:#fff;font-size:16px;cursor:pointer}#toolbar button:disabled{background:#364152;cursor:not-allowed;opacity:.6}#toolbar .page-counter{font-variant-numeric:tabular-nums;min-width:4.5em;text-align:center}body[data-role=student] #toolbar{display:none}#score-toast{position:fixed;top:24px;left:50%;transform:translate(-50%);z-index:60;min-width:240px;padding:16px 20px;background:#0a0e1aeb;border:1px solid rgba(255,200,0,.4);border-radius:12px;color:#fff;box-shadow:0 8px 24px #0006}#score-toast[hidden]{display:none}#score-toast .score-toast-title{font-size:14px;color:#ffcf5c;margin-bottom:8px;letter-spacing:.05em}#score-toast ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:16px}#score-toast .rank{color:#8fa2c7;margin-right:6px}#score-toast .pts{float:right;color:#7cffb2}@media (orientation: portrait) and (max-width: 768px){#app:after{content:"提示：橫放體驗更完整";position:fixed;right:8px;bottom:8px;z-index:40;padding:4px 10px;font-size:12px;color:#cfd6e6;background:#0f1220b3;border-radius:999px;pointer-events:none}body[data-role=instructor] #toolbar button{padding:8px 12px;font-size:14px}}.interaction-buzzer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;height:100%;color:#fff;text-align:center}.interaction-buzzer .buzzer-question{margin:0;font-size:22px;line-height:1.5;max-width:90%}.interaction-buzzer .buzzer-buzz-btn{min-width:180px;min-height:64px;padding:12px 32px;font-size:24px;font-weight:700;color:#1a1200;background:linear-gradient(180deg,#ffd54a,#ffb300);border:none;border-radius:999px;cursor:pointer;box-shadow:0 6px #a86e00}.interaction-buzzer .buzzer-buzz-btn:active{transform:translateY(4px);box-shadow:0 2px #a86e00}.interaction-buzzer .buzzer-buzz-btn:disabled{cursor:not-allowed;background:#4b5163;color:#9aa2b4;box-shadow:none}.interaction-buzzer .buzzer-status{min-height:1.4em;margin:0;font-size:16px;color:#ffd54a}.interaction-buzzer .buzzer-options{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.interaction-buzzer .buzzer-options[hidden]{display:none}.interaction-buzzer .buzzer-option-btn{min-width:120px;min-height:48px;padding:10px 20px;font-size:18px;color:#fff;background:#1f2937;border:2px solid #3b465c;border-radius:12px;cursor:pointer}.interaction-buzzer .buzzer-option-btn.is-selected{border-color:#ffd54a;background:#3b3116}.interaction-buzzer .buzzer-option-btn:disabled{cursor:not-allowed;opacity:.7}@media (orientation: landscape) and (max-height: 500px){#app:after{content:none}}
