main{width:min(1100px,calc(100% - 64px),calc((100svh - 285px)*16/9))}.dream-tools{display:flex;align-items:center;gap:15px;margin-top:13px;min-height:36px}.dream-tools span{flex:1;color:#a5aea0;font:italic 12px Georgia,serif}.dream-tools button{font-size:9px;padding:9px 13px}#place-label{position:absolute;top:10px;left:11px;background:#0a161cbd;color:#c5c6ae;padding:4px 7px;font:9px Georgia,serif;letter-spacing:.08em;pointer-events:none}.veil{z-index:3}#dialogue{z-index:2}#prompt{font-size:10px}footer{gap:14px;margin-top:12px}.chapter-nav{flex-wrap:wrap;gap:12px}.chapter-nav a{font-size:8px}.chapter-nav #debug-toggle{margin-left:auto}@media(max-width:650px){main{width:calc(100% - 24px)}.chapter-nav{gap:8px}.chapter-nav a{font-size:7px}.dream-tools{gap:8px}.dream-tools span{font-size:10px}.dream-tools button{padding:7px 9px}footer{gap:8px}.controls span:first-child{font-size:7px}}
.debug-place{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:10px;color:var(--muted)}.debug-place select{background:#101b20;color:var(--ink);border:1px solid #47504a;font:10px Arial,sans-serif;padding:5px 8px;min-width:150px}
#load-status:empty{display:none}
#place-label{left:11px;transform:none}
#dialogue{top:12px;bottom:auto;width:min(90%,620px);padding:11px 16px;font-size:15px;line-height:1.4}#prompt{top:12px;left:50%;transform:translateX(-50%);max-width:85%;white-space:normal;text-align:center}#place-label{top:auto;bottom:9px}.debug-open #dialogue,.debug-open #prompt{top:37px}
@media(max-width:650px){#dialogue{top:8px;font-size:11px;padding:7px 10px}#prompt{top:8px;font-size:9px}.debug-open #dialogue,.debug-open #prompt{top:30px}#place-label{font-size:8px;bottom:6px}}
@media(max-width:650px){.intro-card{padding:8px}.eyebrow{margin:4px 0}h1,h2{font-size:clamp(23px,5vw,30px);margin:5px 0}.invitation{font-size:12px;margin-bottom:8px}.intro-card button{font-size:9px;padding:8px 14px}.instructions{margin:7px 0 0;font-size:8px}.chapter-link{margin-top:8px;font-size:8px}footer{flex-wrap:wrap}.controls{flex-basis:100%}}

#choices{top:12px;bottom:auto;width:min(90%,510px)}.debug-open #choices{top:37px}@media(max-width:650px){#choices{top:8px;padding:6px}#choice-list button{font-size:11px;padding:6px 9px}#leave-conversation{padding:5px 9px}.debug-open #choices{top:30px}}
#choices{max-height:calc(100% - 24px)}.debug-open #choices{max-height:calc(100% - 49px)}

/* Full square stays with the selected object while its line is being read. */
body[data-chapter="3"] .stage .object-selection.dream-selection:not([hidden]){display:block;width:2.1%;height:3.7%;min-width:13px;min-height:13px;border:1.5px solid #f1ddb0;background:#eac98510;opacity:1;box-shadow:0 0 0 1px #101a20b3;filter:drop-shadow(0 1px 2px #050a0e)}
body[data-chapter="3"] .stage:has(>#dialogue:not([hidden])) .object-selection.dream-selection:not([hidden]){display:block}
body[data-chapter="3"] .stage:has(>.veil:not([hidden])) .object-selection.dream-selection{display:none}
body[data-chapter="3"].is-mobile-player #dialogue{bottom:auto}
