@font-face{font-family:Cormorant;src:url(./assets/title.woff2) format("woff2");font-style:normal;font-weight:600;font-display:swap}
:root{--paper:#fff0cf;--gold:#ebcd86;--ink:#172827;--muted:#e1d3b9;font-family:Georgia,"Times New Roman",serif;color:var(--paper);background:#172726;color-scheme:dark}
*{box-sizing:border-box}html,body,#game{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid #fff0aa;outline-offset:4px}button:disabled{opacity:.62;cursor:wait}[hidden]{display:none!important}#view{width:100%;height:100%;display:block;outline:none;touch-action:none}
.cover,.overlay{position:absolute;inset:0;display:flex;align-items:center}.cover{background:#182a2c url(./assets/courtyard-key-art.webp) 64% 50%/cover no-repeat;isolation:isolate}.cover:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,25,29,.96),rgba(14,36,37,.89) 23%,rgba(18,32,42,.64) 42%,rgba(23,28,36,.06) 73%),linear-gradient(0deg,#101e2694,transparent 20%)}.cover-copy{width:min(510px,46vw);margin-left:8vw;margin-bottom:1.5vh;text-shadow:0 2px 14px #151a1c88}.series{display:flex;align-items:center;gap:13px;font:600 clamp(12px,1.1vw,16px)/1.3 Georgia,serif;letter-spacing:.20em;text-transform:uppercase;color:#e7c885}.series i{display:inline-block;width:29px;height:1px;background:#bd9a5b}.cover h1,.cover h2,.panel h2{font-family:Cormorant,Georgia,serif;font-weight:600}.cover h1{font-size:clamp(72px,8.6vw,154px);letter-spacing:-.055em;line-height:.94;margin:14px 0 21px;color:#fff0c9}.flourish{display:flex;align-items:center;gap:12px;color:#cda963;max-width:270px;margin:0 0 24px}.flourish:after,.flourish:before{content:"";background:linear-gradient(90deg,#c7a86a,transparent);height:1px;flex:1}.flourish:before{flex:.18;transform:rotate(180deg)}.cover h2{font-size:clamp(31px,3.4vw,55px);line-height:1.03;margin:0 0 14px}.cover p,.panel p{font:16px/1.62 Georgia,serif;color:#efe2ce;max-width:370px;margin:0 0 28px}.gold-button{border:1px solid #e5c589;background:#e6c68a;color:#292b25;box-shadow:inset 0 0 0 3px #d7b779,0 5px 28px #0004;padding:12px 34px;font-weight:bold;letter-spacing:.015em;min-height:45px;border-radius:3px}.gold-button:hover{background:#f9dc9c}.cover small{display:block;font:12px/1.45 system-ui,sans-serif;color:#e0d1b0;margin-top:13px;min-height:18px}.cover small:empty{visibility:hidden}
#hud{position:absolute;inset:0;pointer-events:none}#hud button,.panel button,#stick{pointer-events:auto}.quest-slab,.glass,.near,.controls{background:linear-gradient(120deg,#152927ef,#192b2ad9);box-shadow:0 3px 20px #16182133;border:1px solid #c6aa705e}.quest-slab{position:absolute;top:22px;left:24px;padding:12px 18px 13px;border-left:2px solid #d9b878;border-radius:2px;min-width:226px}.place{font-size:12px;color:#d9bf8c;letter-spacing:.085em}.quest-slab #objective{font-family:Cormorant,Georgia,serif;font-size:25px;line-height:1.12;margin:3px 0 8px}.notes{display:flex;align-items:center;gap:9px}.note{width:24px;height:24px;display:grid;place-items:center;border:1px solid #cfb7836e;border-radius:50%;color:#c8b78e;font:19px/1 Georgia,serif}.note.played{color:#fff0ba;border-color:#e8c47a;background:#d7a54532}.note.now{box-shadow:0 0 13px #f2d89199}.notes:empty{display:none}
.top-actions{position:absolute;right:24px;top:22px;display:flex;gap:7px}.glass,.near{min-height:39px;border-radius:3px;font:14px/1.1 Georgia,serif}.glass{padding:0 11px}.glass:hover,.near:hover{border-color:#ebcd86}.icon{width:39px;padding:0;font-size:18px}.glass kbd{margin-left:5px}kbd{font:600 11px/1.2 system-ui,sans-serif;color:#f3e4be;border:1px solid #bda36c80;border-radius:3px;padding:2px 4px}
.controls{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);white-space:nowrap;display:flex;gap:16px;align-items:center;border-radius:3px;padding:9px 13px;color:#eee5d0;font:12px system-ui,sans-serif}.controls kbd{margin-right:3px}.near{position:absolute;bottom:18%;left:50%;transform:translateX(-50%);white-space:nowrap;padding:9px 14px;display:flex;align-items:center;gap:8px;border-color:#c7a968;color:#ffedc0}.near kbd{background:#e8cd93;color:#2b3029;border:0;padding:4px 7px}.near[hidden]{display:none}#message{position:absolute;left:50%;bottom:9%;transform:translateX(-50%);max-width:80vw;text-align:center;font:600 clamp(17px,1.6vw,25px)/1.25 Cormorant,Georgia,serif;color:#fff5d5;text-shadow:0 1px 3px #000,0 2px 8px #111,0 0 18px #231c26;min-height:1.6em}.overlay{justify-content:center;background:#122123a8;backdrop-filter:blur(5px)}.panel{padding:34px 38px;min-width:min(360px,90%);max-width:min(460px,92%);background:#1c302f;border:1px solid #a68b56;box-shadow:0 20px 65px #0004;text-align:center}.panel .series{justify-content:center;font-size:11px}.panel h2{font-size:45px;line-height:1.06;margin:16px 0}.panel p{margin:0 auto 22px;font-size:15px}.link-button{display:block;margin:16px auto 0;border:0;border-bottom:1px solid #b69d65;background:none;font-size:14px;padding:4px;color:#e3cf9e}
#touch{display:none}#stick,.touch-action button{touch-action:none;user-select:none}
@media(pointer:coarse),(max-width:700px){.controls{display:none}#touch{display:block}#stick{position:absolute;bottom:22px;left:20px;border:1px solid #f3d89c88;background:#12232382;border-radius:50%;width:92px;height:92px;display:grid;place-items:center}#stick b{width:37px;height:37px;background:#e2cf9c92;border-radius:50%}.touch-action{position:absolute;bottom:24px;right:18px;display:flex;align-items:end;gap:8px}.touch-action button{padding:0;border-radius:50%;background:#1b302ada;border:1px solid #c9af79aa;color:#ffeabd;width:48px;height:48px;font:14px Georgia,serif}.touch-action #strike{width:65px;height:65px}.touch-action button[aria-pressed=true]{background:#92743f}.near{bottom:145px}#message{bottom:111px;width:90%}.top-actions{top:12px;right:10px;gap:4px}.quest-slab{top:12px;left:10px;min-width:0;padding:9px 10px}.quest-slab #objective{font-size:19px}.place{font-size:10px}.glass{padding:0 7px}.icon{width:32px}.glass kbd{display:none}.note{width:19px;height:19px;font-size:15px}.glass span{display:none}.top-actions .glass{min-width:32px}.cover-copy{width:min(400px,84vw);margin:0 7vw}.cover:before{background:linear-gradient(90deg,#102a2de8,#15293c65),linear-gradient(0deg,#122328d9,transparent 77%)}.cover h1{font-size:76px}.cover h2{font-size:34px}.cover p{font-size:15px}}
@media(max-height:520px){.cover h1{font-size:66px;margin:5px 0}.flourish{margin:2px 0 9px}.cover h2{font-size:27px}.cover p{margin-bottom:10px;font-size:14px}.cover small{margin:5px 0}.near{bottom:76px}#message{bottom:45px}}

