.presentation-stage{--stage-gap-x:clamp(8px, 2vw, 40px);--stage-gap-y:clamp(8px, 3.5dvh, 40px);--stage-pad-x:clamp(20px, 4.5vw, 80px);--stage-pad-y:clamp(20px, 4.5dvh, 56px);--stage-measure:1120px;--frame-line:#4f6249;--frame-accent:var(--green);--frame-surface:#0f1a21;--frame-bar:#132023;--frame-rule:#2a3834;--frame-shadow:0 0 0 1px #02070c, 0 30px 90px #0009}.presentation-dialog.presentation-stage{box-sizing:border-box;width:auto;max-width:none;height:auto;max-height:none;margin:calc(var(--stage-gap-y) + env(safe-area-inset-top,0px)) calc(var(--stage-gap-x) + env(safe-area-inset-right,0px)) calc(var(--stage-gap-y) + env(safe-area-inset-bottom,0px)) calc(var(--stage-gap-x) + env(safe-area-inset-left,0px));padding:0;inset:0;overflow:visible}html:has(.presentation-stage[open]){overflow:hidden}.presentation-stage[open]{flex-direction:column;display:flex}.presentation-stage button:focus-visible{outline-offset:2px}.presentation-stage>.stage-header{z-index:3;background:var(--frame-bar);border-bottom:1px solid var(--frame-rule);flex-wrap:nowrap;flex:none;gap:2px;min-height:44px;padding:4px 18px 4px 20px;position:relative}.stage-identity{min-width:0;font:11px/1.2 var(--mono);letter-spacing:1.6px;text-transform:uppercase;white-space:nowrap;color:var(--frame-accent);align-items:center;gap:10px;margin:0 auto 0 0;padding-right:8px;display:flex}.stage-identity:before{content:"";background:var(--frame-accent);flex:none;width:6px;height:6px}.stage-identity>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.stage-identity>span:first-child{flex:none}.stage-identity-detail{color:#8fa197}.stage-identity-detail:before{content:"/";color:#4d5e55;margin-right:10px}.presentation-stage .stage-header .presentation-tools{flex-wrap:nowrap;gap:2px;margin-left:0}.presentation-stage .stage-header .presentation-tool .icon-button,.presentation-stage .stage-close{color:#dfe7da;background:0 0;border:1px solid #0000;width:34px;height:34px;padding:6px}.presentation-stage .stage-close{flex:none;font-size:22px}.presentation-stage .stage-header .presentation-tool .icon-button:hover,.presentation-stage .stage-close:hover{color:var(--gold);background:#eef3e714}.presentation-stage .stage-header .presentation-tool .icon-button[aria-pressed=true],.presentation-stage .stage-header .presentation-tool .icon-button[aria-expanded=true]{color:#eef3e7;background:#3c5333;border-color:#c8df9d}.presentation-stage .stage-header .text-button{white-space:nowrap;min-height:34px;padding:0 10px;font-size:12px}.presentation-stage>.stage-body{overscroll-behavior:contain;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden auto}.presentation-stage>.stage-body>*{flex:1 0 auto;min-width:0}.presentation-stage>.stage-body>.dialog-content{padding:var(--stage-pad-y) max(var(--stage-pad-x), calc((100% - var(--stage-measure)) / 2));flex-direction:column;justify-content:center;display:flex}.presentation-stage[data-reveal=steps]>.stage-body>.dialog-content{padding-top:max(var(--stage-pad-y), 6dvh);justify-content:flex-start}.presentation-stage>.stage-body>.dialog-content>*{margin-top:0;margin-bottom:0}.presentation-stage>.stage-body>.dialog-content>*+*{margin-top:clamp(14px,2.4dvh,26px)}.presentation-stage>.stage-body>.dialog-content>.eyebrow+h2{margin-top:8px}.presentation-stage>.stage-body>.dialog-content>.scene-body+.scene-body{margin-top:.75em}.presentation-stage .dialog-content h2{font-size:calc(clamp(28px, 12px + 3.1vmin, 56px) * var(--scene-text-scale,1));letter-spacing:-.03em}.presentation-stage [data-text-size] .eyebrow{font-size:calc(clamp(10px, 6px + .45vmin, 13px) * var(--scene-text-scale,1))}.presentation-stage .scene-body{font-size:calc(clamp(15px, 8px + 1.1vmin, 22px) * var(--scene-text-scale,1));line-height:1.75}.presentation-stage [data-presentation-object]>.scene-body{max-width:68ch}.presentation-stage .scene-figure{--image-height:min(46dvh, 560px);min-height:0}.presentation-stage .scene-items{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px 32px;display:grid}.presentation-stage .scene-items h3{font-size:calc(clamp(14px, 6px + 1vmin, 20px) * var(--scene-text-scale,1))}.presentation-stage .scene-items p{font-size:calc(clamp(13px, 5px + .95vmin, 18px) * var(--scene-text-scale,1))}.presentation-stage .npc-dialogue{min-height:0;padding:var(--stage-pad-y) var(--stage-pad-x);grid-template-columns:auto minmax(0,760px);place-content:center;gap:clamp(20px,3vw,48px)}.presentation-stage .npc-dialogue-portrait{aspect-ratio:88/116;width:clamp(96px,26vmin,300px);height:auto;padding:12% 16%}.presentation-stage .npc-portrait{width:100%;height:100%}.presentation-stage .npc-dialogue-speaker{font-size:calc(clamp(24px, 8px + 3vmin, 48px) * var(--scene-text-scale,1));margin:0 0 .5em}.presentation-stage .npc-dialogue-message{padding-left:clamp(14px,1.6vw,24px)}.presentation-stage .npc-dialogue-message .scene-body{font-size:calc(clamp(18px, 8px + 2.2vmin, 36px) * var(--scene-text-scale,1));line-height:1.5}.presentation-stage .question-result-prompt{font-size:calc(clamp(15px, 8px + 1.2vmin, 24px) * var(--scene-text-scale,1))}.presentation-stage .question-feedback .question-help,.presentation-stage.question-feedback .question-help{font-size:calc(clamp(13px, 6px + .9vmin, 17px) * var(--scene-text-scale,1))}.presentation-stage .question-explanation h3{font-size:calc(clamp(12px, 6px + .8vmin, 16px) * var(--scene-text-scale,1))}.presentation-stage.question-focus{--stage-measure:1440px}.presentation-stage .reveal-theatre{padding:var(--stage-pad-y) var(--stage-pad-x);flex-direction:column;justify-content:center;display:flex}.presentation-stage .reveal-intro h2,.presentation-stage .wheel-intro h2{font-size:calc(clamp(26px, 10px + 3vmin, 52px) * var(--scene-text-scale,1))}.presentation-stage .reveal-intro p,.presentation-stage .reveal-description,.presentation-stage .wheel-intro>p{max-width:68ch;font-size:calc(clamp(14px, 7px + 1vmin, 20px) * var(--scene-text-scale,1))}.presentation-stage .reveal-result h3{font-size:calc(clamp(34px, 12px + 4.6vmin, 76px) * var(--scene-text-scale,1))}@media (min-height:860px) and (min-width:1100px){.presentation-stage .spotlight-stage,.presentation-stage .podium-stage{zoom:1.4}}.presentation-stage .reveal-subtitle{font-size:calc(clamp(16px, 8px + 1.2vmin, 24px) * var(--scene-text-scale,1))}.presentation-stage .wheel-theatre{padding:clamp(16px, 3dvh, 40px) var(--stage-pad-x);flex-direction:column;justify-content:center;display:flex}.presentation-stage .wheel-stage{width:100%;max-width:1320px;margin-inline:auto}.presentation-stage .wheel-instrument .wheel-graphic{width:min(100%, max(220px, calc(100dvh - 2 * var(--stage-gap-y) - 350px)))}.presentation-stage .wheel-spin>span{font-size:18px;line-height:1}.presentation-stage>.dialog-footer{z-index:2;background:var(--frame-bar);border-top:1px solid var(--frame-rule);flex:none;gap:12px;min-height:52px;padding:6px 18px 6px 20px;position:relative}.presentation-stage>.dialog-footer>span{font:11px/1.4 var(--mono);letter-spacing:1.4px;color:#a9b8af}.presentation-stage .content-progress-actions,.presentation-stage .reveal-actions{gap:8px}.presentation-stage .dialog-footer .button{gap:10px;min-height:40px;padding:8px 16px;font-size:13px}.presentation-stage .dialog-footer .text-button{min-height:40px;padding:0 10px;font-size:12px}.presentation-stage .dialog-footer .button:disabled{opacity:.38;box-shadow:none;transform:none}.presentation-stage[data-frame]{color:var(--text);background:var(--frame-surface);border:1px solid var(--frame-line);box-shadow:var(--frame-shadow)}.presentation-stage[data-frame=minimal]:after{--mark:12px;--weight:2px;content:"";z-index:6;pointer-events:none;background:linear-gradient(var(--frame-accent) 0 0) top left / var(--mark) var(--weight), linear-gradient(var(--frame-accent) 0 0) top left / var(--weight) var(--mark), linear-gradient(var(--frame-accent) 0 0) top right / var(--mark) var(--weight), linear-gradient(var(--frame-accent) 0 0) top right / var(--weight) var(--mark), linear-gradient(var(--frame-accent) 0 0) bottom left / var(--mark) var(--weight), linear-gradient(var(--frame-accent) 0 0) bottom left / var(--weight) var(--mark), linear-gradient(var(--frame-accent) 0 0) bottom right / var(--mark) var(--weight), linear-gradient(var(--frame-accent) 0 0) bottom right / var(--weight) var(--mark);opacity:.85;background-repeat:no-repeat;position:absolute;inset:3px}.presentation-stage[data-frame=terminal]{--frame-line:#3a6347;--frame-accent:#8edc8a;--frame-surface:#0c1613;--frame-bar:#0f1c17;--frame-rule:#22402e}.presentation-stage[data-frame=terminal]:after{--long:10px;--weight:2px;content:"";z-index:6;pointer-events:none;background:linear-gradient(var(--frame-accent) 0 0) left top / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) left top / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) left 14px top 0 / 3px var(--weight), linear-gradient(var(--frame-accent) 0 0) right top / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) right top / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) right 14px top 0 / 3px var(--weight), linear-gradient(var(--frame-accent) 0 0) left bottom / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) left bottom / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) left 0 bottom 14px / var(--weight) 3px, linear-gradient(var(--frame-accent) 0 0) right bottom / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) right bottom / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) right 0 bottom 14px / var(--weight) 3px;opacity:.8;background-repeat:no-repeat;position:absolute;inset:3px}.presentation-stage[data-frame=terminal] .stage-identity:before{width:7px;height:7px;box-shadow:inset 0 0 0 1px var(--frame-accent);background:0 0}.presentation-stage[data-frame=terminal] .stage-identity-detail{color:#86a98c}.presentation-stage[data-frame=terminal]>.dialog-footer>span{color:#93b59a}.presentation-stage[data-frame=classic]{--frame-line:#8b6d45;--frame-accent:#dcb878;--frame-surface:#15120f;--frame-bar:#1b1712;--frame-rule:#3e3223;--frame-shadow:0 0 0 1px #050302, 0 30px 90px #000a}.presentation-stage[data-frame=classic]:before{content:"";z-index:6;pointer-events:none;border:1px solid #8b6d4573;position:absolute;inset:3px}.presentation-stage[data-frame=classic]:after{content:"";z-index:6;pointer-events:none;background:linear-gradient(var(--frame-accent) 0 0) left top / 5px 5px, linear-gradient(var(--frame-accent) 0 0) right top / 5px 5px, linear-gradient(var(--frame-accent) 0 0) left bottom / 5px 5px, linear-gradient(var(--frame-accent) 0 0) right bottom / 5px 5px;opacity:.9;background-repeat:no-repeat;position:absolute;inset:1px}.presentation-stage[data-frame=classic] .stage-identity{letter-spacing:.14em;font:13px/1.2 Georgia,Times New Roman,serif}.presentation-stage[data-frame=classic] .stage-identity:before{width:5px;height:5px;transform:rotate(45deg)}.presentation-stage[data-frame=classic] .stage-identity-detail{color:#b9a78b}.presentation-stage[data-frame=classic] .stage-identity-detail:before{color:#6d5a40}.presentation-stage[data-frame=classic]>.dialog-footer>span{color:#c2b195}.presentation-stage[data-frame=arcade]{--frame-line:#6b5fd6;--frame-accent:#ffd166;--frame-surface:#120f24;--frame-bar:#19153a;--frame-rule:#352d6e;--frame-shadow:0 0 0 1px #05030f, 4px 4px 0 #6b5fd659, 0 30px 90px #000a}.presentation-stage[data-frame=arcade]:after{--long:14px;--weight:3px;content:"";z-index:6;pointer-events:none;background:linear-gradient(var(--frame-accent) 0 0) left top / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) left top / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) left 5px top 5px / var(--weight) var(--weight), linear-gradient(var(--frame-accent) 0 0) right top / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) right top / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) right 5px top 5px / var(--weight) var(--weight), linear-gradient(var(--frame-accent) 0 0) left bottom / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) left bottom / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) left 5px bottom 5px / var(--weight) var(--weight), linear-gradient(var(--frame-accent) 0 0) right bottom / var(--long) var(--weight), linear-gradient(var(--frame-accent) 0 0) right bottom / var(--weight) var(--long), linear-gradient(var(--frame-accent) 0 0) right 5px bottom 5px / var(--weight) var(--weight);background-repeat:no-repeat;position:absolute;inset:3px}.presentation-stage[data-frame=arcade] .stage-identity:before{margin-right:18px;box-shadow:9px 0 #5ec8f2,18px 0 #f2668b}.presentation-stage[data-frame=arcade] .stage-identity-detail{color:#b5aee8}.presentation-stage[data-frame=arcade]>.dialog-footer>span{color:#c4bdf0}.presentation-stage[data-frame=terminal] .scene-figure{background:#08100d}.presentation-stage[data-frame=classic] .scene-figure{background:#100d0a}.presentation-stage[data-frame=arcade] .scene-figure{background:#0c0a1b}.presentation-stage.reveal-dialog,.presentation-stage.wheel-dialog{--frame-line:#e8c57d55;--frame-accent:#e8c57d;--frame-surface:#101b22;--frame-rule:#e8c57d24;--frame-shadow:0 0 0 7px #e8c57d08, 0 35px 120px #000b}.presentation-stage.question-feedback[data-outcome=correct]{--frame-accent:#77dfa2}.presentation-stage.question-feedback[data-outcome=incorrect]{--frame-accent:#ff8f9e}@media (max-width:640px),(max-height:480px){.presentation-stage{--stage-gap-x:8px;--stage-gap-y:8px;--stage-pad-x:18px;--stage-pad-y:18px}}@media (max-height:480px){.presentation-stage>.stage-header{min-height:40px}.presentation-stage>.dialog-footer{min-height:48px}}@media (max-width:640px){.presentation-stage>.stage-header{padding:4px 16px 4px 18px}.presentation-stage>.dialog-footer{flex-wrap:wrap;justify-content:flex-end;row-gap:6px;padding:6px 16px 6px 18px}.presentation-stage .dialog-footer .button{padding:8px 12px;font-size:12px}.presentation-stage .stage-button-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.presentation-stage .button:has(>.stage-button-label){min-width:44px}.presentation-stage.reveal-dialog>.dialog-footer,.presentation-stage.wheel-dialog>.dialog-footer{flex-direction:row;align-items:center}.presentation-stage .npc-dialogue{grid-template-columns:80px minmax(0,1fr);gap:16px}.presentation-stage .npc-dialogue-portrait{width:80px;padding:10px 12px}}@media (pointer:coarse){.presentation-stage .stage-header .presentation-tool .icon-button,.presentation-stage .stage-close{width:40px;height:40px}.presentation-stage .stage-header .text-button{min-height:40px}.presentation-stage .dialog-footer .button,.presentation-stage .dialog-footer .text-button{min-height:44px}}
