@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');
:root{--cream:#fff9ec;--green:#65742e;--dark:#243b30;--muted:#d2d9c3}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#b9d3d6;color:var(--cream);font:14px 'DM Sans',Arial,sans-serif}button,a,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e3ad66;outline-offset:4px}[hidden]{display:none!important}#world{display:block;width:100%;height:100%;outline:none;touch-action:none;background:linear-gradient(#afcbd5,#e7eddd 72%,#9aaa7e)}.vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 150px #1b302327;background:linear-gradient(#172e2822,transparent 23%,transparent 75%,#14281c55)}.hud-brand{position:fixed;top:max(24px,env(safe-area-inset-top));left:28px;display:flex;gap:11px;align-items:center;pointer-events:none}.hud-brand img{width:47px;height:47px;border-radius:11px;box-shadow:0 5px 20px #0002}.hud-brand b{font:600 21px Outfit,Arial;letter-spacing:-.5px;text-shadow:0 2px 8px #18302699}.hud-brand span{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.hud-right{position:fixed;right:25px;top:max(25px,env(safe-area-inset-top));display:flex;gap:8px;align-items:center}.hud-right button,.wallet{background:#23382cce;backdrop-filter:blur(12px);color:var(--cream);border:1px solid #ffffff29;border-radius:9px;min-height:42px;padding:10px 14px;font-size:11px}.wallet{padding:8px 15px;min-width:100px;text-align:right}.wallet small{display:block;font-size:7px;letter-spacing:1.5px;color:var(--muted)}.wallet b{font-size:14px;display:block;margin-top:3px}#objective{position:fixed;left:28px;top:104px;width:260px;background:#23382cce;backdrop-filter:blur(12px);border:1px solid #ffffff24;border-radius:12px;padding:18px}#objective small{font-size:8px;letter-spacing:1.5px;color:#d5dfb4}#objective strong{display:block;font:500 20px/1.25 Outfit,Arial;margin-top:10px}#objective p{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 0}#crosshair{position:fixed;left:50%;top:50%;width:19px;height:19px;transform:translate(-50%,-50%);display:grid;place-items:center;border:1px solid #ffffff44;border-radius:50%;pointer-events:none}#crosshair i{width:4px;height:4px;border-radius:50%;background:#fff7df;box-shadow:0 1px 4px #0008}#crosshair.target{border-color:#e7edbd}#target-label{position:fixed;top:calc(50% - 49px);left:50%;transform:translateX(-50%);padding:8px 12px;background:#24392dd9;border:1px solid #ffffff28;border-radius:7px;font-size:10px;letter-spacing:.5px;white-space:nowrap;pointer-events:none}#interact{position:fixed;top:59%;left:50%;transform:translateX(-50%);background:#faf5e8ed;border:0;border-radius:9px;padding:9px 13px;display:flex;gap:10px;align-items:center;color:#3d502f;box-shadow:0 5px 25px #0002}#interact span{width:28px;height:28px;border:1px solid #7b8968;border-radius:5px;display:grid;place-items:center;font-size:11px}#interact b{font-size:12px;font-weight:600}#location{position:fixed;left:28px;bottom:68px;font-size:9px;letter-spacing:1.8px;text-shadow:0 2px 6px #0008}#desktop-help{position:fixed;bottom:21px;left:28px;right:28px;font-size:10px;color:#e9eddd;word-spacing:5px;text-shadow:0 2px 7px #0008;margin:0}#desktop-help b{font-weight:500;color:#fffce9;margin-right:3px}#toast{position:fixed;left:50%;top:22px;transform:translateX(-50%);padding:12px 18px;background:#fffae9;color:#465837;box-shadow:0 8px 30px #0002;border-radius:9px;max-width:calc(100% - 40px);font-size:12px;line-height:1.5;z-index:50;text-align:center}.overlay{position:fixed;inset:0;background:#132a246b;backdrop-filter:blur(6px);display:grid;place-items:center;padding:24px;z-index:20;overflow:auto}.modal{position:relative;width:min(390px,100%);background:var(--cream);color:#493b28;border-radius:20px;padding:30px;box-shadow:0 25px 100px #00160d44}.modal h2{font:500 34px/1.1 Outfit,Arial;letter-spacing:-1px;margin:12px 0 18px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#778345;font-weight:600;margin:0}.primary,.secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:47px;border-radius:9px;padding:13px 16px;text-decoration:none;font-size:12px;margin-top:9px;text-align:center}.primary{background:var(--green);color:var(--cream);border:1px solid var(--green);font-weight:600}.primary:hover{background:#536426}.secondary{background:transparent;border:1px solid #dfd9c6;color:#67733b}.fine{color:#8a816b;font-size:10px;line-height:1.8;margin:18px 0 0}.muted{font-size:12px;line-height:1.8;color:#827762}.close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#867d66;font-size:25px;width:35px;height:35px}.start-panel{width:min(530px,100%);text-align:center}.start-panel h1{font:500 clamp(38px,5vw,62px)/1.04 Outfit,Arial;letter-spacing:-2px;margin:22px 0;color:#fff9eb}.start-panel>.eyebrow{color:#e1e8c9}.start-panel>p:not(.eyebrow){font-size:13px;color:#e0e7d7;line-height:1.9;margin-bottom:25px}.start-panel>.primary{max-width:260px;margin:0 auto;background:#e4ebbc;color:#35492d;border:0}.start-panel small{display:block;margin-top:16px;color:#cfd8c2;font-size:10px}.start-panel a{display:block;color:#edf0d9;font-size:10px;margin-top:25px}#start{background:#1831268a}#touch-controls{display:none}.map-modal{width:min(430px,100%)}.fields{display:flex;gap:10px;margin:20px 0}.fields label{font-size:10px;display:grid;gap:6px;flex:1}.fields select{font-size:13px;padding:10px;background:#f5f0e4;border:1px solid #ded8c2;color:#51432e;border-radius:7px;width:100%}#room-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}#room-grid button{font:12px Outfit,Arial;padding:10px 4px;background:#f4efdf;color:#5a6337;border:1px solid #e0dbc7;border-radius:7px;min-height:40px}#room-grid button.own{color:#fff9e9;background:var(--green);border-color:var(--green)}.room-specs{display:flex;gap:7px;margin:18px 0}.room-specs span{font-size:10px;padding:5px 8px;border-radius:5px;background:#ecebd8;color:#79814a}.price{font:500 31px Outfit,Arial;color:#65742e}.price small{font:11px 'DM Sans',Arial}.room-modal .fine{margin-bottom:20px}#rent-error{font-size:11px;color:#9a4c2b;line-height:1.6}#interior-actions{position:fixed;right:25px;bottom:65px;display:flex;gap:9px}#interior-actions button,#interior-actions a{padding:11px 14px;border:1px solid #ffffff44;border-radius:8px;color:#fff9e9;background:#24382cdd;font-size:11px;text-decoration:none}#loading{z-index:30}.modal p{line-height:1.7}body.interior #world{background:#e6dec9}
@media(pointer:coarse){#touch-controls{display:block;position:fixed;inset:0;pointer-events:none}#joystick{position:absolute;left:25px;bottom:40px;width:105px;height:105px;border:1px solid #fff6;border-radius:50%;background:#20392c44;pointer-events:auto;touch-action:none}#stick{position:absolute;left:32px;top:32px;width:39px;height:39px;border:1px solid #fff8;border-radius:50%;background:#fffbe66b}.touch-buttons{position:absolute;right:24px;bottom:35px;display:flex;gap:9px;align-items:flex-end;pointer-events:auto}.touch-buttons button{border:1px solid #fff7;border-radius:50%;width:66px;height:66px;background:#e9edcedd;color:#344c2d;font-size:23px;touch-action:none}.touch-buttons button small{font-size:8px;display:block;margin-top:2px}#sprint{width:47px;height:47px;font-size:17px;background:#253c30b3;color:#f5f5de}#sprint[aria-pressed=true]{background:#73833d}#touch-controls>span{position:absolute;right:25px;bottom:15px;font-size:8px;color:#f1f4df}#desktop-help{display:none}#location{bottom:165px}#interior-actions{bottom:157px}#interact{top:57%}#interact span{display:none}}
@media(max-width:650px){.hud-brand{left:17px;top:max(17px,env(safe-area-inset-top));gap:8px}.hud-brand img{width:38px;height:38px}.hud-brand b{font-size:15px}.hud-brand span{font-size:6px;letter-spacing:1.3px}.hud-right{right:15px;top:max(17px,env(safe-area-inset-top));gap:5px}.hud-right button{font-size:9px;padding:8px 10px;min-height:37px}.wallet{padding:6px 10px;min-width:73px;min-height:37px}.wallet b{font-size:12px}.wallet small{font-size:6px}#objective{top:80px;left:17px;width:218px;padding:14px}#objective strong{font-size:17px;margin-top:7px}#objective p{font-size:10px}#objective small{font-size:7px;letter-spacing:1px}#location{left:18px;font-size:8px}#desktop-help{left:18px;font-size:8px;word-spacing:1px}#toast{top:200px;font-size:11px;width:max-content}.start-panel h1{font-size:43px}.start-panel>p:not(.eyebrow){font-size:12px}.modal{padding:26px}.modal h2{font-size:29px}.overlay{padding:19px}#interior-actions{right:16px}#interior-actions button,#interior-actions a{font-size:10px;padding:10px 12px}#target-label{font-size:9px}#interact b{font-size:11px}}
@media(max-height:560px){#objective{top:82px;padding:12px}#objective p{display:none}.hud-brand img{width:38px;height:38px}.start-panel h1{font-size:35px;margin:15px 0}.start-panel>p:not(.eyebrow){margin-bottom:16px;font-size:11px}.start-panel>a{margin-top:16px}.modal{padding:22px}.modal h2{font-size:28px;margin:10px 0 14px}.fine{margin-top:12px}.primary,.secondary{min-height:40px;padding:10px 13px}.overlay{padding:15px}.map-modal{max-height:94vh;overflow:auto}.map-modal .fields{margin:12px 0}#room-grid button{min-height:31px;padding:7px 4px}}
