:root{color-scheme:light;--ink:#193d38;--muted:#61736b;--paper:#f4f0e5;--gold:#b7653c;--line:#d6d8ca;--green:#28594d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 ui-sans-serif,system-ui,-apple-system,sans-serif}header{max-width:1510px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:1px solid var(--line)}a{color:inherit}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;letter-spacing:3px;font-size:18px;font-weight:750}.brand small{display:block;letter-spacing:.3px;font-weight:400;font-size:11px;color:var(--muted);margin-top:3px}.mark{background:var(--green);color:#f4d8a7;border-radius:32px 32px 6px 6px;padding:5px 14px;font:30px Georgia,serif}main{max-width:1510px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;padding:28px 32px}.play{min-width:0}.ledger{display:flex;justify-content:space-between;gap:15px;padding:0 4px 22px}.ledger small{display:block;font-size:9px;letter-spacing:1.2px;color:var(--muted)}strong{font-weight:650}.ledger strong{font-size:22px;font-family:Georgia,serif}.viewport{position:relative;border:1px solid #becbbd;border-radius:12px;overflow:hidden;background:#cfdfcd}canvas{width:100%;height:505px;display:block;touch-action:pan-y;cursor:crosshair}.viewport-note{position:absolute;bottom:10px;left:14px;right:14px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;pointer-events:none;color:#4c6757}.camera,.timebar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:12px 0}.camera{border-bottom:1px solid var(--line)}.camera label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.camera input[type=range]{width:120px}.camera input[type=number]{width:55px}.timebar{margin-bottom:4px}.timebar label{font-size:12px}#saved{margin-left:auto;font-size:10px;color:var(--muted)}button,select,input{font:inherit;color:var(--ink);border:1px solid #bdc7b9;border-radius:6px;background:#fbfaf5;padding:9px 11px}button{cursor:pointer;font-size:12px;font-weight:650;min-height:38px;transition:background .15s}button:hover{background:#e6ecdf}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #ba7444;outline-offset:2px}.primary,#pause[aria-pressed=false]{background:var(--green);color:ivory;border-color:var(--green)}.primary{width:100%;margin-top:12px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--gold);font-weight:750}h1{font:39px/1.08 Georgia,serif;letter-spacing:-1.4px;margin:12px 0 15px}h2{font:21px/1.2 Georgia,serif;margin:0 0 15px}h3{font:20px Georgia,serif}.intro{font-size:12px;color:var(--muted);margin:0 0 20px}.goal{background:#e4e9dc;border-left:3px solid #76926c;padding:13px 15px;font-size:12px;margin-bottom:18px}.goal b{display:block;margin-bottom:4px}.goal small{font-size:10px;color:var(--muted)}.card{padding:19px 0;border-top:1px solid var(--line)}label{display:block;font-size:11px;color:var(--muted)}.card select{width:100%;margin-top:5px}.help{font-size:11px;color:var(--muted);margin:8px 0 12px;min-height:34px}.inputs{display:flex;gap:10px}.inputs label{width:50%}.inputs input{width:100%;margin-top:4px}.hint{font-size:10px;color:var(--muted);margin:10px 0 0}#inspect{font-size:12px}#notice{padding:15px 17px;background:#ebe5d7;border-radius:8px;font-size:12px;min-height:62px}#notice.error{background:#f1d8ca}#prompts>div{background:#f8ddb5;padding:18px;border-radius:8px;margin-top:12px}#prompts button{margin:5px}#journal{font-size:11px;color:var(--muted);max-height:210px;overflow:auto}summary{cursor:pointer;font:18px Georgia,serif;margin-bottom:15px}footer{font-size:10px;color:var(--muted);padding:8px 0}footer span{display:block;margin-top:7px}dialog{max-width:620px;max-height:85vh;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);padding:30px;line-height:1.7;font-size:13px}dialog::backdrop{background:#153d35a6}dialog h2{font-size:32px;margin-top:10px}.close{float:right}li{margin-bottom:13px}#liftActions button,#roomActions button{margin:5px 0}#liftActions input{width:70px;margin:5px}#cinemaActions button{margin:5px 0}@media(max-width:950px){main{grid-template-columns:minmax(0,1fr) 280px;gap:20px;padding:22px 20px}header{padding:20px}.ledger strong{font-size:18px}.ledger small{font-size:8px}h1{font-size:34px}canvas{height:460px}.camera input[type=range]{width:80px}}@media(max-width:700px){header{padding:16px}.brand{font-size:14px;letter-spacing:2px}.brand small{font-size:9px}main{display:flex;flex-direction:column;padding:18px 14px;gap:25px}.ledger{gap:5px;padding-bottom:14px}.ledger strong{font-size:18px}.ledger small{font-size:7px;letter-spacing:.6px}canvas{height:390px}.camera{gap:6px}.camera input[type=range]{width:90px}.camera label{font-size:10px}.camera button{padding:7px}.timebar{gap:6px}.timebar select{padding:8px 4px;width:86px}#saved{width:100%;margin:0}.intro{max-width:390px}h1{font-size:36px}.card{padding:18px 0}.card select,input,button{min-height:42px}dialog{padding:22px}#notice{min-height:50px}.play{width:100%}}
