@font-face{font-family:Host;src:url('../../../lightsheet/dist/fonts/host-grotesk-light.ttf');font-weight:300}*{box-sizing:border-box}body{margin:0;background:#000;color:#e4e4e4;font-family:Host,Arial,sans-serif;font-weight:300}main{height:440vh}.stage{position:fixed;inset:0;overflow:hidden}canvas{width:100%;height:70%;display:block}.copy{position:absolute;inset:0;pointer-events:none}.passage{position:absolute;left:50%;bottom:6vh;transform:translateX(-50%);width:min(900px,86vw);margin:0;font-size:clamp(19px,1.8vw,27px);line-height:1.42;opacity:0;visibility:hidden}.passage.active{visibility:visible}.intro{bottom:50%;transform:translate(-50%,50%);width:min(900px,82vw);font-size:clamp(26px,3vw,44px);line-height:1.28;text-align:center}@media(max-width:700px){canvas{height:55%}.passage{font-size:18px;bottom:5vh}.intro{font-size:27px;bottom:50%}}@media(max-height:500px){canvas{height:60%}.passage{font-size:16px;bottom:3vh}.intro{font-size:25px}}.reader main,.no-js main{height:auto}.reader .stage,.no-js .stage{position:relative;overflow:visible;padding:40px 24px}.reader canvas,.no-js canvas{display:none}.reader .copy,.no-js .copy{position:static}.reader .passage,.no-js .passage{position:static;transform:none;width:min(760px,100%);margin:0 auto 32px;opacity:1!important;visibility:visible;font-size:22px;text-align:left}
/* Companion camera shares the same stage and clock. */
#overhead{height:25%;width:100%}#perspective{height:45%;width:100%}@media(max-width:700px){#overhead{height:20%}#perspective{height:35%}}@media(max-height:500px){#overhead{height:22%}#perspective{height:38%}}

/* Main camera retains its original large viewport; the companion is an inset. */
#perspective{height:70%;width:100%}#overhead{position:absolute;right:2vw;top:2vh;width:24vw;max-width:330px;height:18vh;max-height:180px;z-index:2;pointer-events:none;background:#000} @media(max-width:700px){#perspective{height:55%}#overhead{width:34vw;height:13vh;right:2vw;top:1vh}}@media(max-height:500px){#perspective{height:60%}#overhead{height:19vh;width:24vw}}

main{height:590vh}#perspective{height:100%}.stage .intro{font-size:clamp(16px,1.75vw,23px);width:min(625px,76vw);line-height:1.32}.stage .passage:not(.intro){font-size:clamp(16px,1.46vw,22px)}.reader .stage .intro,.no-js .stage .intro{font-size:22px;width:min(760px,100%)}

main{height:975vh}

.framing-panel{position:fixed;z-index:5;top:12px;left:16px;padding:8px 12px;border:1px solid #444;border-radius:6px;background:#151515;color:#eee;font-size:14px}.framing-panel summary{cursor:pointer}.framing-panel label{display:grid;grid-template-columns:70px 125px 36px;align-items:center;gap:8px;margin:9px 0}.framing-panel input{accent-color:#aaa}.framing-panel button{background:#292929;color:inherit;border:1px solid #666;border-radius:3px;padding:4px 8px}.reader .framing-panel,.no-js .framing-panel{display:none}
