@font-face{font-family:Parlor;src:url('assets/Palatino-Roman.otf') format('opentype');font-display:swap}@font-face{font-family:Parlor;src:url('assets/Palatino-Italic.otf') format('opentype');font-style:italic;font-display:swap}
:root{color-scheme:dark;--ink:#1b1510;--paper:#dfcba7;--muted:#aa987d;--accent:#d1b481;--line:#c5ae7d36;--safe:env(safe-area-inset-bottom,0px);--light:.55;--flame:1;--serif:Parlor,'Palatino Linotype',Georgia,serif;--ui:Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--ink);color:var(--paper)}body{font-family:var(--serif);overflow:hidden}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button svg{width:20px;height:20px;flex:none;pointer-events:none}button>*{pointer-events:none}button:disabled{cursor:default;opacity:.3}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}:is(button,a)[data-modal-return]:focus{outline:none}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.theater{height:100dvh;width:100%;position:fixed;inset:0;isolation:isolate;overflow:hidden;outline:none}.tabletop{position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 48% 40%,#6a4a30a6,transparent 65%),repeating-linear-gradient(91deg,#21170e25 0 2px,#33241700 2px 6px,#160d0914 6px 8px),repeating-linear-gradient(89.6deg,#402b1b 0,#332216 18%,#25190f 18.1%,#4a3020 18.3%,#392619 39%);box-shadow:inset 0 0 160px 40px #100b08}.tabletop:after{content:"";position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 36% 140%,transparent 0 10px,#120b060e 11px 12px,transparent 13px 28px);opacity:.65}.candle-light{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 13% 28%,#e8ba6c65,transparent 44%),radial-gradient(ellipse at 87% 36%,#e8ba6c54,transparent 42%);opacity:var(--light);mix-blend-mode:screen}.room-shadow{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 50% 43%,transparent 30%,#110b0655 75%,#110b06b3);box-shadow:inset 0 -100px 120px #100c09a3}
.scene-frame{position:absolute;z-index:3;inset:100px 0 150px;display:flex;align-items:center;justify-content:center;transition:opacity 1.8s}.board-wrap{position:relative;width:min(76vw,calc((100dvh - 280px)*1.6129),1040px);aspect-ratio:1000/620;flex:none;filter:drop-shadow(0 14px 26px #0906049c);color:#3a2919;user-select:none;-webkit-user-select:none}.board{display:block;width:100%;height:100%;overflow:visible;touch-action:none}.board-border{opacity:.75}.ornaments{opacity:.65}.board-byline{font:15px var(--serif);letter-spacing:6px;fill:currentColor;opacity:.75}.board-title{font:43px var(--serif);letter-spacing:5px;fill:currentColor}.title-rule{opacity:.65}.board-print{transition:opacity .8s;opacity:1}.board-print .board-key{cursor:pointer;outline:none}.board-key text{fill:currentColor;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.board-key .key-target{fill:transparent;stroke:transparent;rx:20}.board-key:hover .key-target,.board-key:focus-visible .key-target{fill:#482b1310;stroke:#3b29195c;stroke-width:1}.board-key:focus-visible{outline:none}.board-key:focus-visible text{font-weight:bold}.celestial{fill:currentColor;opacity:.75}.board-subtitle{font:12px var(--serif);letter-spacing:4px;fill:currentColor;opacity:.6}.board-imprint{font:11px var(--serif);letter-spacing:3.5px;fill:currentColor;opacity:.65}.section-label{font:11px var(--serif);letter-spacing:4px;fill:currentColor;opacity:.65;text-transform:uppercase}.planchette{pointer-events:none;will-change:transform;transition:opacity .8s}.board-mode .planchette{pointer-events:all;cursor:grab}.board-mode .planchette.dragging{cursor:grabbing}.lyric-ink{fill:#342113;font-family:var(--serif);font-size:40px}.lyric-word{transition:opacity .18s;opacity:0}.lyric-word.revealed{opacity:1}.lyric-word.current{fill:#160d06}.lyric-ink.spell{font-size:57px;letter-spacing:4px}.lyric-ink.belt{font-size:42px}.theater.has-lyric .board-print{opacity:0;pointer-events:none}.theater.has-lyric .board-title{opacity:.27;transition:opacity 1s}.theater.idle .board-print{opacity:.16;pointer-events:none}.theater.idle .planchette{opacity:0}.theater.board-mode .board-print{opacity:1}.gesture-surface{position:absolute;inset:28% 10% 27%;z-index:4;touch-action:none;cursor:crosshair}.ritual-guide{pointer-events:none;opacity:.9;transition:opacity .7s}.ritual-guide path{fill:none;stroke:#3a2919;stroke-width:1.7;stroke-dasharray:3 7;stroke-linecap:round}.ritual-guide #ritual-trail{stroke-width:3;stroke-dasharray:none;stroke:#362619}.ritual{position:absolute;left:0;right:0;top:66%;text-align:center;z-index:5;color:#3a2919}.ritual p{margin:0;font:italic clamp(13px,1.4vw,18px) var(--serif)}.ritual-progress{display:flex;gap:9px;justify-content:center;margin:13px 0 4px}.ritual-progress i{width:5px;height:5px;border:1px solid currentColor;border-radius:50%}.ritual-progress i.done{background:currentColor;box-shadow:0 0 7px #3a291930}.ritual .text-button{font-size:9px;letter-spacing:.12em;opacity:.7;min-height:36px}.ritual .text-button:hover{opacity:1;color:#160d06}.ritual .text-button span{margin-left:8px}
.candle{position:absolute;z-index:1;pointer-events:none;width:clamp(58px,7.3vw,106px);aspect-ratio:1}.candle-left{left:6.2%;top:7%;transform:rotate(-17deg)}.candle-right{right:5.8%;top:23%;transform:rotate(16deg);scale:.83}.saucer{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 48% 45%,#715330 52%,#241b105c 55%,#725633 62%,#a7875066 63%,#3e2c1c 68%,#140e09 70%);box-shadow:12px 18px 20px #0009,inset 1px 1px 4px #c2a46d4d}.wax{position:absolute;inset:19%;border-radius:48% 51% 46% 49%;background:radial-gradient(circle at 48% 45%,#91714a 3%,#b59560 10%,#e3c995 21%,#e1c692 47%,#cdb583 52%,#efdab0 54%,#d9c18e 66%,#a18150 69%);box-shadow:3px 5px 7px #23170e93,inset 1px 2px 3px #f2dfb7}.wax:after{content:"";position:absolute;width:13%;height:27%;left:21%;bottom:-7%;border-radius:40% 50% 48% 50%;background:#d9c18e;transform:rotate(23deg)}.wick{position:absolute;width:4%;height:12%;left:48%;top:40%;background:#2a160b;transform:rotate(17deg);border-radius:40%}.flame{position:absolute;width:15%;height:25%;left:43%;top:34%;border-radius:60% 40% 55% 45%;background:radial-gradient(ellipse at 50% 60%,#fff7d7 20%,#ffe6ac 40%,#efb965bb 68%,#b76b1c10);box-shadow:0 0 12px 3px #f9d1867d,0 0 35px 11px #e7ae506b,0 0 85px 30px #df9d442d;transform:scale(var(--flame));animation:candle-sway 4.3s ease-in-out infinite alternate;mix-blend-mode:screen}.candle-right .flame{animation-duration:3.7s;animation-delay:-2.1s}@keyframes candle-sway{0%,100%{rotate:-8deg;scale:1 .95;opacity:.8}30%{rotate:4deg;scale:.9 1.05;opacity:1}70%{rotate:-3deg;scale:1.05 1.02;opacity:.9}}
.scene-actions{position:absolute;left:0;right:0;top:calc(100% + 6px);text-align:center}.scene-actions .text-button{font:italic 12px var(--serif);letter-spacing:.04em;color:#cdb58f}.scene-actions span{display:inline-block;margin-left:8px;color:#8d785c}.board-console{position:absolute;left:20%;right:20%;top:100%;text-align:center}.board-console p{margin:0;color:#c9b492;font:italic 13px/1.4 var(--serif)}.board-console .board-hint{font:9px var(--ui);letter-spacing:.05em;opacity:.55;margin-top:5px}.spelling{display:flex;justify-content:center;align-items:center;gap:14px;min-height:30px}.spelling output{font-size:18px;letter-spacing:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70vw}.spelling button{color:var(--muted);font:20px var(--serif);min-width:32px;min-height:32px}.board-mode .scene-frame{bottom:212px}.board-mode .scene-actions{top:calc(100% + 65px)}.board-mode .board-wrap{width:min(76vw,calc((100dvh - 342px)*1.6129),1040px)}
/* These controls retain the JUMP SCARE! player positions, sizes, and ordering. */
.topbar{position:absolute;z-index:20;top:max(env(safe-area-inset-top),14px);left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#cbb997}.text-button{padding:10px 0;min-height:42px;font:10px/1.2 var(--ui);letter-spacing:.12em;white-space:nowrap;transition:color .2s;text-transform:uppercase;text-decoration:none}.text-button:hover{color:#f2dfb7}.eject-button,.lyrics-button{display:flex;align-items:center;gap:9px}.eject-button svg,.lyrics-button svg{width:12px;height:12px;flex:none}.band-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;border-radius:50%}.band-logo #band-symbol{display:block;width:43px;height:43px;transform-origin:center;opacity:.7;filter:sepia(1) saturate(.6);will-change:transform}.band-logo:hover #band-symbol{opacity:1}.transport{position:absolute;z-index:25;bottom:calc(14px + var(--safe));left:22px;right:22px}.transport-meta{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;justify-content:space-between;gap:12px;height:36px;font:9px var(--ui);letter-spacing:.08em}.transport-meta #play-state{color:var(--accent);width:auto;max-width:100%;min-width:0;justify-self:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transport-meta #timecode{font-variant-numeric:tabular-nums;color:#cbbb9b;justify-self:center;white-space:nowrap}.transport-meta #timecode span{color:#a9936c}.transport-options{display:flex;align-items:center;justify-content:flex-end;justify-self:end;gap:8px;min-width:0}.tape-notes-button svg{width:21px;height:21px}.transport-options .mode-button{width:36px;height:36px;padding:0;flex:none;border-radius:50%;transition:color .2s,background .2s}.karaoke-button svg{width:21px;height:21px;transform:scaleX(-1)}.lyrics-toggle-button svg{width:21px;height:21px}.mode-button[aria-pressed="true"]{color:var(--paper);background:#ccb18019;box-shadow:inset 0 0 0 1px #baa37488}.mode-button:disabled,.tape-notes-button:disabled{opacity:.3;cursor:default;background:none;box-shadow:none}.seek-wrap{position:relative;height:27px;display:flex;align-items:center;touch-action:none;user-select:none;-webkit-user-select:none}.seek{position:relative;z-index:2;display:block;width:100%;height:27px;appearance:none;background:transparent;cursor:pointer;margin:0;touch-action:none}.seek::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--accent) var(--played,0%),#d2bc8f36 var(--played,0%))}.seek::-moz-range-track{height:2px;background:#d2bc8f36}.seek::-moz-range-progress{height:2px;background:var(--accent)}.seek::-webkit-slider-thumb{appearance:none;width:9px;height:9px;border:0;background:var(--paper);border-radius:50%;margin-top:-3.5px}.seek::-moz-range-thumb{width:9px;height:9px;background:var(--paper);border:0;border-radius:50%}.chapter-marks{position:absolute;left:0;right:0;height:2px;z-index:3;pointer-events:none}.chapter-marks i{position:absolute;width:1px;height:5px;top:-1.5px;background:#d3bc8e65}.transport-buttons{display:flex;align-items:center;justify-content:space-between;gap:10px}.transport-left,.transport-right{display:flex;gap:4px;align-items:center}.icon-button{width:40px;height:42px;display:inline-grid;place-items:center;color:#cbb996b3;transition:color .2s,background .2s}.icon-button:hover{color:var(--paper);background:#ccb17c0d}.play-button{color:var(--paper);width:45px}.play-button svg{width:22px;height:22px}.next-button{transform:rotate(180deg)}.volume-control{position:relative;display:flex;z-index:4}.volume-popover{position:absolute;z-index:1;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;padding:12px 7px;width:44px;touch-action:none;user-select:none;-webkit-user-select:none;background:#211a13;box-shadow:0 6px 24px #000a;border-radius:6px}#mute[aria-expanded="true"]{color:var(--accent)}.volume-range{appearance:none;-webkit-appearance:none;accent-color:var(--accent);background:transparent;cursor:pointer;padding:0;margin:0}#player-volume{writing-mode:vertical-lr;direction:rtl;width:30px;height:128px;touch-action:none}.volume-range::-webkit-slider-runnable-track{width:3px;height:100%;border:0;border-radius:2px;background:linear-gradient(to top,var(--accent) var(--volume,100%),#ffffff38 var(--volume,100%))}.volume-range::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-left:-4.5px;border:0;border-radius:50%;background:var(--accent)}.volume-range::-moz-range-track{width:3px;height:100%;background:#d2bc8f36}.volume-range::-moz-range-progress{width:3px;background:var(--accent)}.volume-range::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:var(--accent)}
.panel-dialog{color:var(--paper);background:#241b14;border:1px solid var(--line);padding:28px;width:min(660px,calc(100vw - 28px));max-height:calc(100dvh - 44px);overscroll-behavior:contain;box-shadow:0 24px 140px #000b;border-radius:0}.panel-dialog::backdrop{background:#161009c9;backdrop-filter:blur(9px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dialog-header h2{font:28px/1.4 var(--serif);letter-spacing:2px;margin:6px 0;font-weight:400}.eyebrow{font:9px var(--ui);letter-spacing:.2em;color:var(--muted)}.dialog-hint{font:italic 13px/1.6 var(--serif);color:var(--muted);margin:12px 0 25px}.transcript h3{font:10px var(--ui);letter-spacing:.17em;text-transform:uppercase;color:var(--muted);margin:28px 0 12px}.transcript button{display:block;width:100%;text-align:left;font:17px/1.6 var(--serif);padding:8px 5px;border-bottom:1px solid #d5bf8f0d;color:#cdbc9e}.transcript button.current{color:#f2dfb7;background:#bfa4740f}.transcript button:hover{background:#bfa4740d}.panel-dialog.notes-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:max(72px,env(safe-area-inset-top)) 24px max(72px,env(safe-area-inset-bottom));border:0;box-shadow:none;overflow:auto;background:transparent}.notes-dialog::backdrop{background:#21180fe8;backdrop-filter:blur(2px)}.notes-dialog>.close-dialog{position:fixed;top:max(18px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));z-index:2;width:44px;height:44px;border:1px solid var(--line);border-radius:50%}.notes-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(8px,1.6svh,16px);width:min(336px,100%);margin:auto;align-items:start;transform:translateY(-2.2svh)}.note-row{min-width:0;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;text-align:center}.note-heading{position:relative;display:flex;align-items:center;gap:7px;min-height:22px;font:10px var(--ui);letter-spacing:.15em}.note-info{display:grid;place-items:center;padding:0;width:22px;height:22px;opacity:.7}.note-info svg{width:14px;height:14px}.note-help{position:absolute;z-index:5;width:240px;bottom:100%;left:50%;transform:translateX(-50%);font:13px/1.5 var(--serif);letter-spacing:0;background:#36291d;padding:14px;border:1px solid var(--line);box-shadow:0 8px 24px #0005}.motion-options{position:relative;isolation:isolate;width:min(232px,100%);height:48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;border:1px solid #cfb48642;border-radius:6px;padding:4px;background:#120d0880;touch-action:pan-y;user-select:none;font:12px/1.2 var(--ui);letter-spacing:.08em}.motion-options span{padding:10px 0;opacity:.45}.motion-options[data-mode="full"] span:last-child,.motion-options[data-mode="on"] span:last-child,.motion-options[data-mode="quiet"] span:first-child,.motion-options[data-mode="off"] span:first-child{opacity:1;background:#c3a57720;border-radius:3px}.offset-control{display:grid;grid-template-columns:40px 104px 40px;align-items:center;justify-content:center;gap:10px;min-height:48px}.offset-control .icon-button{width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:6px}.offset-control output{display:grid;place-items:center;width:104px;height:46px;border:1px solid var(--line);border-radius:6px;background:#120d0880;font:16px var(--ui);font-variant-numeric:tabular-nums}.note-row[data-disabled="true"] .motion-options{opacity:.35}
.credits-visualizer{position:absolute;inset:0;z-index:6;mix-blend-mode:screen;pointer-events:none}.credits-visualizer canvas{width:100%;height:100%;display:block}.end-card{position:absolute;inset:0;z-index:12;pointer-events:none;text-align:center;opacity:0;transition:opacity 4s}.credits-mode .end-card{opacity:1}.credits-mode .scene-frame{opacity:.1;pointer-events:none}.credits-mode .topbar .band-logo{visibility:hidden}.end-logo-frame{position:absolute;left:50%;top:40%;width:min(44vw,24svh,210px);aspect-ratio:1;transform:translate(-50%,-50%);color:#d5be95;opacity:.9}.end-logo{width:100%;height:100%;filter:drop-shadow(0 0 28px #c4a16b4d)}.end-actions{position:absolute;left:20px;right:20px;top:calc(40% + min(22vw,12svh,105px) + 16px);bottom:calc(130px + var(--safe));display:grid;grid-template-rows:minmax(32px,1fr) minmax(32px,1fr) auto;justify-items:center;gap:6px;pointer-events:auto}.credits-title{font:22px var(--serif);letter-spacing:3px;margin:0;align-self:center}.credits-line{font:italic 15px var(--serif);color:var(--muted);margin:0}.end-links{display:flex;align-items:baseline;justify-content:center;gap:22px;white-space:nowrap}.end-links .text-button{font-size:10px}.status-message{position:fixed;z-index:100;left:50%;bottom:calc(125px + var(--safe));transform:translateX(-50%);max-width:calc(100vw - 44px);width:max-content;text-align:center;text-wrap:balance;background:none;border:0;box-shadow:none;color:var(--paper);font:700 16.5px/1.35 TalkingBoard,Georgia,serif;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 2px 4px #000b;padding:0;pointer-events:none}@media(max-width:699px){.status-message{font-size:15px}}.no-script{position:fixed;inset:30%;background:var(--ink);padding:20px;z-index:100}.quiet .flame{animation:none}.quiet .lyric-word,.quiet .board-print{transition:none}.quiet .planchette{will-change:auto}.quiet .candle-light{opacity:.5!important}
#theater:is([data-phase="song"],[data-phase="outro"]) .topbar,#theater:is([data-phase="song"],[data-phase="outro"]) .transport,#theater:is([data-phase="song"],[data-phase="outro"]) .end-actions{opacity:1;transition:opacity .3s}#theater:is([data-phase="song"],[data-phase="outro"]).controls-idle .topbar,#theater:is([data-phase="song"],[data-phase="outro"]).controls-idle .transport,#theater:is([data-phase="song"],[data-phase="outro"]).controls-idle .end-actions{opacity:0;pointer-events:none}#theater:is([data-phase="song"],[data-phase="outro"]).controls-idle{cursor:none}
@media(min-width:700px) and (min-height:600px){.transport{left:7%;right:7%;bottom:24px}.topbar{left:7%;right:7%;top:22px}.band-logo #band-symbol{width:46px;height:46px}}
@media(max-width:699px) and (orientation:portrait){.scene-frame{inset:100px 0 220px}.board-wrap{width:94vw;max-width:none;aspect-ratio:1000/900}.board{height:100%;width:100%}.candle-left{top:0;left:4%;width:63px}.candle-right{top:12%;right:4%;width:64px}.scene-actions{top:calc(100% + 18px)}.board-mode .scene-frame{bottom:270px}.board-mode .board-wrap{width:94vw}.board-console{left:8%;right:8%;top:calc(100% + 10px)}.board-mode .scene-actions{top:calc(100% + 110px)}.ritual{top:70%}.ritual p{font-size:14px}.ritual .text-button{font-size:9px}.gesture-surface{inset:30% 8% 35%}.room-shadow{background:radial-gradient(ellipse at 50% 42%,transparent 34%,#110b0655 85%)}.board-console .board-hint{font-size:9px}.end-actions .credits-title{font-size:18px}.band-logo #band-symbol{width:36px;height:36px}}
@media(max-width:419px){.transport-meta{column-gap:6px}.transport-options{gap:2px}.transport-options .mode-button{width:32px;height:32px}}
@media(max-width:359px){.transport-options{gap:1px}.transport-options .mode-button{width:28px;height:28px}.transport-meta #timecode{font-size:8px}.dialog-header h2{font-size:22px}}
@media(orientation:landscape) and (max-height:599px){.topbar{top:5px;left:22px;right:22px}.band-logo{width:44px;height:44px}.band-logo #band-symbol{width:30px;height:30px}.transport{bottom:calc(5px + var(--safe));left:24px;right:24px}.transport-meta{height:28px}.transport-buttons .icon-button{height:34px}.seek-wrap,.seek{height:22px}.scene-frame{inset:52px 0 112px}.board-wrap{width:min(65vw,calc((100dvh - 172px)*1.613))}.candle-left{left:14%;width:55px}.candle-right{right:14%;width:55px}.scene-actions{top:calc(100% - 6px)}.scene-actions .text-button{font-size:9px;min-height:25px;padding:5px}.ritual p{font-size:10px}.ritual-progress{margin:6px 0}.ritual .text-button{font-size:7px;min-height:20px;padding:4px}.board-mode .scene-frame{bottom:170px}.board-mode .board-wrap{width:min(65vw,calc((100dvh - 225px)*1.613))}.board-mode .scene-actions{top:calc(100% + 55px)}.board-console{top:100%;left:10%;right:10%}.board-console p{font-size:10px}.board-console .board-hint{display:none}.spelling output{font-size:14px}.end-logo-frame{top:29%;width:24svh}.end-actions{top:calc(41% + 7px);bottom:94px;gap:3px}.credits-title{font-size:16px}.credits-line{font-size:11px}.end-links .text-button{font-size:9px;min-height:24px}.notes-controls{gap:4px;transform:none}.notes-dialog .note-row{padding:4px}.panel-dialog.notes-dialog{padding-top:38px}.motion-options{height:38px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.flame{animation:none}}
/* Leave a clear touch lane above the unchanged transport. */
@media(min-width:700px) and (min-height:600px){.scene-frame{bottom:190px}.board-wrap{width:min(76vw,calc((100dvh - 320px)*1.6129),1040px)}.board-mode .scene-frame{bottom:250px}.board-mode .board-wrap{width:min(76vw,calc((100dvh - 380px)*1.6129),1040px)}}
@media(max-width:699px) and (orientation:portrait){.board-mode .scene-frame{bottom:320px}}
@media(orientation:landscape) and (max-height:599px){.scene-frame{bottom:139px}.board-wrap{width:min(65vw,calc((100dvh - 198px)*1.613))}.board-mode .scene-frame{bottom:205px}.board-mode .board-wrap{width:min(65vw,calc((100dvh - 260px)*1.613))}}
.release-links{display:flex;align-items:center;justify-content:center;gap:14.4px}.release-links-large{margin:0;align-self:center}.service-link{display:inline-grid;place-items:center;width:42px;height:42px;color:var(--paper);text-decoration:none}.service-link svg{width:31px;height:31px;fill:currentColor}.service-link[aria-disabled="true"]{opacity:.28;cursor:default}.service-link:hover:not([aria-disabled="true"]){color:#f3dfb5}.end-actions{grid-template-rows:minmax(42px,1fr) minmax(46px,1fr) auto;gap:10px}.replay-button{align-self:center;display:flex;align-items:center;gap:12px;min-width:150px;justify-content:center;height:46px;border:1px solid var(--line);font:11px var(--ui);letter-spacing:.12em}.replay-button svg{width:18px;height:18px}.download-option{display:flex;justify-content:space-between;align-items:center;padding:19px 0;border-bottom:1px solid var(--line);gap:20px}.download-option h3{margin:0;font:11px var(--ui);letter-spacing:.12em}.download-option p{font:12px/1.4 var(--serif);color:var(--muted);max-width:210px}.download-formats{display:flex;gap:12px}.download-format{display:flex;flex-direction:column;align-items:center;font:12px var(--ui);text-decoration:none;padding:12px 8px;color:var(--paper)}.download-format small{font:9px var(--ui);margin-top:7px;white-space:nowrap}.download-format[aria-disabled="true"]{opacity:.35}.download-format:not([aria-disabled="true"]){border-bottom:1px solid var(--accent)}
@media(orientation:landscape) and (max-height:599px){.end-actions{grid-template-rows:minmax(32px,1fr) minmax(34px,1fr) auto;gap:3px}.release-links-large{gap:11px}.service-link{width:32px;height:32px}.service-link svg{width:26px;height:26px}.replay-button{height:34px;font-size:10px}}

/* Light washes across the paper as well as the table; never blocks input. */
.candle-light{z-index:4}.room-shadow{z-index:5}
