:root{color-scheme:dark;font:14px/1.5 system-ui,sans-serif;background:#142631;color:#f0e8d6}*{box-sizing:border-box}html,body{margin:0;overflow:hidden;width:100%;height:100%}button,textarea{font:inherit}button{cursor:pointer;color:inherit;background:#172a31d9;border:1px solid #ead3a333;border-radius:8px;padding:11px 16px;min-height:44px;backdrop-filter:blur(14px)}button:hover{background:#314348}button:active{transform:translateY(1px)}button:focus-visible,textarea:focus-visible{outline:2px solid #e5c488;outline-offset:3px}[hidden]{display:none!important}#game{position:fixed;inset:0;outline:none}canvas{display:block;image-rendering:pixelated;touch-action:none}header{position:fixed;inset:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;padding:26px 32px;background:linear-gradient(#0e202ac9,transparent);pointer-events:none}header button{pointer-events:auto}.brand{font:22px Georgia,serif}.place{display:block;font-size:12px;color:#d2d4c5;margin-top:4px}#arrival{position:fixed;left:6vw;bottom:12vh;max-width:400px;padding:28px;background:#11252aec;border:1px solid #d7c18b33;border-radius:14px;box-shadow:0 18px 60px #0004}#arrival>span,.chat-head>span{font-size:11px;letter-spacing:.16em;color:#d7c18b}h1{font:36px/1.15 Georgia,serif;font-weight:400;margin:16px 0}p{color:#c8d0c9}#arrival small{display:block;margin-top:16px;color:#9bafa9}#begin{background:#dac28e;color:#1a2725;width:100%;margin-top:12px;display:flex;justify-content:space-between}#destination{position:fixed;top:100px;left:32px;font-size:12px;background:#152b34bb;padding:8px 12px;border-radius:6px;max-width:calc(100% - 64px)}#talk{position:fixed;bottom:104px;left:50%;transform:translateX(-50%);background:#ead09b;color:#172a31;font-weight:600;white-space:nowrap;box-shadow:0 8px 24px #0005}kbd{margin-left:16px;font:12px system-ui;border:1px solid #172a3144;border-radius:4px;padding:2px 5px}#route{position:fixed;right:30px;bottom:60px}footer{position:fixed;bottom:16px;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;color:#c8d0c9;font-size:12px}footer button{border:0;background:transparent;font-size:12px;padding:6px;min-height:28px}.dpad{display:none;position:fixed;left:16px;bottom:54px;text-align:center;touch-action:none}.dpad button{width:44px;padding:0;margin:2px}.dpad>button{margin-left:50px;margin-right:50px}dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;border:0;margin:0;padding:0;background:#121e24;color:inherit;overflow:hidden}dialog::backdrop{background:#111}.room-art{position:absolute;inset:0;background-image:url('shop.webp');background-size:200% 100%;background-position:right center}.room-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111b2010,#111b20c9 55%,#111b20eb)}.conversation-top{position:absolute;top:0;left:0;right:0;padding:24px 32px;display:flex;align-items:center;justify-content:space-between}.chat{position:absolute;top:100px;bottom:24px;right:4vw;width:min(580px,55vw);display:flex;flex-direction:column;min-height:0}.chat-head h1{font-size:28px;margin:10px 0}.chat-head p{font-size:12px;margin:0 0 18px}#messages{flex:1;overflow:auto;min-height:50px;padding:10px 4px 16px;scrollbar-width:none}#messages::-webkit-scrollbar{display:none}.message{font-size:16px;line-height:1.7;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}.message small{display:block;font-size:11px;letter-spacing:.04em;color:#ceb888;margin-bottom:5px}.message.user{padding:12px 16px;background:#ffffff0c;border-radius:10px;margin-left:30px}#suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}#suggestions button{font-size:12px;padding:8px 10px}form{display:flex;align-items:flex-end;gap:10px;background:#11242add;border:1px solid #ddcca14d;border-radius:12px;padding:10px}textarea{width:100%;resize:none;max-height:150px;border:0;background:none;color:#f0e8d6;padding:8px;outline:none;font-size:16px}#send{border-radius:50%;background:#d8c38f;color:#192b2e;min-width:44px;font-size:20px;padding:4px}.disclosure{font-size:11px;margin:10px 0;color:#b0beb7}.chat-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:11px}.chat-actions button{font-size:11px;padding:4px 0;min-height:28px;border:0;background:none;text-decoration:underline;text-underline-offset:4px}#notice{color:#e5c488}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#142631;z-index:5} @media(pointer:coarse){.dpad{display:block}footer>span{display:none}#route{bottom:64px;right:16px;font-size:12px}#talk{bottom:166px}}@media(max-width:650px){header{padding:20px}.place{font-size:11px}header button{font-size:12px;padding:8px 10px}#destination{left:20px;top:86px;max-width:calc(100% - 40px)}#arrival{left:20px;right:20px;bottom:12vh;max-width:none;padding:24px}#arrival h1{font-size:30px}footer{left:20px;right:20px;font-size:10px}.conversation-top{padding:16px 20px}.conversation-top button{font-size:12px}.chat{top:90px;bottom:max(16px,env(safe-area-inset-bottom));left:20px;right:20px;width:auto}.chat-head h1{font-size:26px}.room-art{background-size:auto 100%;opacity:.5}.room-shade{background:#10212aa8}.message{font-size:16px}.chat-head>span{display:none}#suggestions{gap:6px;margin:4px 0 10px}#suggestions button{min-height:36px}.chat-actions{gap:12px}.disclosure{font-size:10px}#route{font-size:12px;right:20px}#talk{font-size:13px}}

#kept{font-size:12px;margin-top:10px;max-height:120px;overflow:auto}#kept summary{cursor:pointer;min-height:28px}#notes>div{display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff20;padding:8px 0}#notes p{margin:0;flex:1;overflow-wrap:anywhere}#notes button{font-size:11px;padding:5px 9px;min-height:32px}

#conversation.compact .chat-head,#conversation.compact #suggestions,#conversation.compact #kept{display:none}#conversation.compact .chat{top:75px}#conversation.compact .chat-actions{display:none}@media(max-height:520px){.chat-head,#suggestions,#kept{display:none}.chat{top:75px}.chat-actions{display:none}}

/* A quiet lens falloff keeps the lit street central without blurring the walkable art. */
#game::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 48% 43%,transparent 30%,rgba(9,19,32,.18) 70%,rgba(7,14,25,.52) 100%);}

#game::after{display:none}header{padding:28px 36px}.place{letter-spacing:.12em;text-transform:uppercase;font-size:10px;color:#cbbf9f;margin-top:7px}#destination{background:#14283380;border:1px solid #ffffff0a;backdrop-filter:blur(14px)}#talk{border-radius:30px;box-shadow:0 5px 30px #e8bb5820}#route{background:#152933b3;border-radius:24px}dialog[open]{animation:arrival .45s ease-out}@keyframes arrival{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:none}}@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}}@media(max-width:650px){header{padding:20px}.dpad{bottom:90px}#route{bottom:48px}#talk{bottom:165px}#destination{font-size:11px;max-width:calc(100% - 40px)}}
