:root{font-family:system-ui,sans-serif;color:#142d3e;background:#eef3ef}*{box-sizing:border-box}body{margin:0}main{max-width:1600px;margin:auto;padding:20px}header{padding:10px 0 14px}h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.05;margin:8px 0}h2{font-size:1.1rem;margin:10px 0}.eyebrow{letter-spacing:.16em;font-size:.8rem;font-weight:700;color:#39756d}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px}aside,section{min-width:0;background:#fff;border:1px solid #d6e1d9;border-radius:16px;padding:14px}button,input,select,a{font:inherit}button,select{cursor:pointer;border:1px solid #c8d7d1;border-radius:8px;background:#f1f5f3;color:inherit;padding:10px;min-height:44px}button[aria-pressed=true]{background:#163e48;color:#fff}input{width:100%;padding:12px;border:1px solid #c8d7d1;border-radius:8px}.shops{display:flex;flex-direction:column;gap:5px;max-height:680px;overflow:auto;margin-top:10px}.shops button{text-align:left}.shops small{display:block;font-size:.75rem;margin-top:4px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.viewport{height:clamp(360px,58vh,740px);background:#d9e8eb;border-radius:12px;overflow:hidden;position:relative}.start{display:grid;align-content:center;justify-items:center;min-height:380px;background:#e1ece5;border-radius:12px;padding:20px;text-align:center}.details{display:grid;grid-template-columns:1fr minmax(180px,36%);gap:16px;margin-top:10px}.map{width:100%;height:auto;border:1px solid #ccd5cf;border-radius:8px}.map rect{cursor:pointer}.muted{font-size:.8rem;color:#536871}.review{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}.scene-status{font-size:.84rem;color:#536871}a{color:#126b68}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e3a642;outline-offset:2px}@media(max-width:760px){main{padding:10px}.layout{grid-template-columns:1fr}.shops{max-height:190px}.details{grid-template-columns:1fr}.viewport{height:52vh;min-height:300px}}.viewport canvas{touch-action:none}.touch-hud{position:absolute;inset:auto 12px 12px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none;gap:10px;z-index:2}.stick{pointer-events:auto;touch-action:none;width:106px;height:106px;border:2px solid #ffffffaa;border-radius:50%;background:#15314399;display:grid;place-items:center}.stick span{width:42px;height:42px;background:#fffc;border-radius:50%;pointer-events:none}.touch-actions{display:grid;grid-template-columns:repeat(2,minmax(44px,1fr));gap:6px;pointer-events:auto;touch-action:none}.touch-actions button{background:#173c4cdd;color:#fff;border:1px solid #ffffff88;min-width:44px;touch-action:none}.touch-actions button:disabled{opacity:.4}@media(pointer:fine){.touch-hud{opacity:.85}}@media(max-width:500px){.touch-hud{inset:auto 8px 8px}.stick{width:90px;height:90px}.touch-actions button{font-size:12px;padding:6px}}.game-shell{position:fixed;inset:0;max-width:none;margin:0;padding:0;background:#17282d;color:#fff;overflow:hidden;isolation:isolate;overscroll-behavior:none}.game-shell .viewport{position:absolute;inset:0;height:100%;min-height:0;border-radius:0;z-index:0}.game-shell .review{position:absolute;z-index:2;top:calc(env(safe-area-inset-top,0px) + 68px);left:calc(env(safe-area-inset-left,0px) + 12px);margin:0;display:grid;gap:4px;max-width:calc(100% - 24px);font-size:12px;pointer-events:none;text-shadow:0 1px 4px #000}.game-shell .review span{background:#142729b5;padding:5px 8px;border-radius:5px;max-width:max-content}.game-shell .scene-status{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 150px);left:12px;color:#fff;background:#142729b5;padding:6px 9px;border-radius:5px;font-size:11px;max-width:calc(100% - 24px);pointer-events:none}.game-top{position:absolute;top:calc(env(safe-area-inset-top,0px) + 10px);left:calc(env(safe-area-inset-left,0px) + 10px);right:calc(env(safe-area-inset-right,0px) + 10px);z-index:4;display:flex;align-items:center;gap:8px}.game-brand{font-size:16px;font-weight:800;letter-spacing:.12em;text-shadow:0 1px 4px #111;margin-right:auto}.game-brand small{display:block;font-size:9px;letter-spacing:.13em}.game-top button,.game-panel button,.game-panel select{background:#182b32e8;color:#fff;border:1px solid #78918b;border-radius:9px}.game-shell .touch-hud{left:calc(env(safe-area-inset-left,0px) + 18px);right:calc(env(safe-area-inset-right,0px) + 18px);bottom:calc(env(safe-area-inset-bottom,0px) + 18px)}.game-shell .stick{width:clamp(88px,20vw,130px);height:clamp(88px,20vw,130px)}.game-shell .touch-actions button{border-radius:50%;width:58px;height:58px;min-height:44px;padding:5px;font-size:11px}.game-pause{position:absolute;inset:0;z-index:3;background:#101b20aa;display:grid;place-items:center;padding:70px 16px 20px;overflow:auto}.game-panel{width:min(100%,340px);display:grid;gap:12px;background:#14272eed;padding:20px;border:1px solid #657c7a;border-radius:18px}.game-panel label{display:flex;align-items:center;justify-content:space-between;gap:6px}.game-panel h2{font-size:1.5rem}.game-loading{display:grid;place-items:center;height:100%}.game-shell [role=alert]{padding:80px 20px}.game-shell .game-panel .eyebrow{color:#a6d5c7}@media(pointer:coarse){.desktop-help{display:none}}@media(max-width:550px){.game-shell .desktop-help{display:none}.game-brand{font-size:13px}.game-top button{padding:7px;font-size:12px}.game-shell .scene-status{font-size:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 205px)}.game-shell .touch-actions button{width:49px;height:49px}.game-shell .touch-hud{bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}}@media(max-height:440px)and (orientation:landscape){.game-shell .scene-status{display:none}.game-shell .touch-actions{grid-template-columns:repeat(3,1fr)}.game-shell .review{top:60px}.game-shell .game-panel{gap:6px;padding:12px}}.vehicle-console{position:absolute;right:12px;top:120px;z-index:2;max-width:min(300px,80vw);display:grid;justify-items:end;gap:6px}.vehicle-console button,.vehicle-panel{background:#18353aee;color:#fff;border:1px solid #92a9a2}.vehicle-panel{padding:10px;border-radius:10px;display:grid;gap:8px}.vehicle-quick{display:flex;flex-wrap:wrap;gap:5px}.vehicle-panel form{display:flex;gap:4px}.vehicle-panel input{min-width:0}.vehicle-panel small{line-height:1.35}@media(max-height:440px){.vehicle-console{top:60px}}.vehicle-horn{position:absolute;right:14px;bottom:175px;z-index:2;background:#173c4cdd;color:#fff;border:1px solid #ffffff88;border-radius:50%;min-width:50px;min-height:50px}@media(max-height:440px){.vehicle-horn{bottom:118px}}.visit-loading{position:absolute;z-index:2;inset:0;display:grid;place-content:center;gap:12px;background:#14262d99;text-align:center}.visit-loading button,.visit-exit{background:#183e47;color:#fff;border:1px solid #92c5bd;border-radius:9px;padding:12px;min-height:44px}.visit-exit{position:absolute;right:16px;bottom:calc(env(safe-area-inset-bottom,0px) + 190px);z-index:2}.shop-computer{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;background:#12252f;color:#fff;padding:12px;gap:8px}.shop-computer header{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:0}.shop-computer header strong{margin-right:auto}.shop-computer a,.shop-computer button{color:#fff;background:#254b59;border:1px solid #7699a2;border-radius:8px;padding:10px;min-height:44px}.shop-computer p{font-size:12px;margin:0}.shop-computer iframe{flex:1;width:100%;min-height:0;border:0;background:#fff}.environment-controls,.environment-audio{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.environment-controls button,.environment-audio button{font-size:.75rem;padding:.35rem .55rem;min-height:36px}.environment-audio label{display:flex;align-items:center;gap:.3rem;font-size:.72rem}.environment-audio input[type=range]{width:68px}.environment-controls small{font-variant-numeric:tabular-nums}.environment-audio small{color:#f3bb76}@media(pointer:coarse){.environment-controls button,.environment-audio button{min-height:44px}.environment-audio input[type=range]{width:52px}}.nav-hud{position:absolute;left:12px;top:112px;z-index:2;max-width:min(280px,44vw);color:#fff}.nav-hud button,.nav-dialog select,.nav-dialog input{min-height:44px;background:#18353aee;color:#fff;border:1px solid #91a9a2;border-radius:8px;padding:8px}.nav-mini{margin-top:6px;background:#18353aee;border-radius:9px;padding:6px;width:138px}.nav-mini svg,.nav-dialog svg{display:block;width:100%;height:auto}.nav-mini small{font-size:10px}.nav-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:min(94vw,460px);max-height:88dvh;overflow:auto;display:grid;gap:8px;background:#14272e;color:#fff;border:1px solid #91a9a2;border-radius:14px;padding:12px}.nav-dialog svg{max-height:26dvh}.nav-dialog h2{font-size:1.05rem;margin:0}.nav-row{display:flex;gap:8px;align-items:center;justify-content:space-between}.nav-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:22dvh;overflow:auto}.nav-list button[aria-pressed=true]{background:#3e796f}.nav-dialog p{margin:0;font-size:.85rem}@media(max-height:440px){.nav-hud{top:65px}.nav-mini{width:90px}.nav-dialog{grid-template-columns:1fr 1fr}.nav-dialog svg{max-height:40dvh}.nav-list{max-height:38dvh}}@media(max-width:550px){.nav-mini{width:100px}.nav-hud{top:150px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}.privacy-footer{max-width:1100px;margin:16px auto;padding:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.consent{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.consent small{max-width:620px}.consent button{min-height:44px}.game-shell+.privacy-footer{position:fixed;z-index:5;bottom:0;right:0;display:none}body:has(.game-shell) .privacy-footer{display:none}.game-shell .review .environment-controls,.game-shell .review .environment-audio{pointer-events:auto}.game-shell .review{max-width:min(64vw,550px)}.game-shell .nav-hud{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 158px);left:12px}.game-shell .scene-status{display:none}.game-panel .consent{font-size:.75rem}.game-panel .consent button{width:100%}.context-error{position:absolute;z-index:7;top:40%;left:10%;right:10%;padding:16px;background:#24343f;color:#fff;border:1px solid #fff;border-radius:10px}.game-shell .context-error{padding:16px}@media(max-height:440px)and (orientation:landscape){.game-shell .nav-hud{inset:auto 12px 140px auto}.game-shell .nav-mini,.game-shell .review .game-metrics{display:none}.game-shell .review{max-width:53vw}.game-shell .environment-audio{max-width:42vw}}@media(max-width:550px){.game-shell .review{max-width:70vw}.game-shell .nav-mini{display:none}.game-shell .nav-hud{bottom:calc(env(safe-area-inset-bottom,0px) + 152px)}}.owner-panel{max-width:1000px;margin:0 auto;padding:clamp(16px,4vw,40px)}.owner-login{display:grid;gap:14px;max-width:420px;margin:24px 0}.owner-login label,.owner-panel>label{display:grid;gap:6px}.owner-login input,.owner-panel input{min-width:0;width:100%;box-sizing:border-box}.owner-panel button{min-height:44px}.owner-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.owner-metrics section{padding:16px;border:1px solid #8295a088;border-radius:8px;display:grid;gap:4px}.owner-metrics strong{font-size:1.8rem}.owner-table{overflow:auto;max-width:100%;margin:14px 0}.owner-table table{border-collapse:collapse;width:100%;text-align:left}.owner-table td,.owner-table th{padding:10px;border-bottom:1px solid #8295a066}.owner-table tbody th{font-weight:500}.owner-table td{text-align:right;font-variant-numeric:tabular-nums}.game-shell .review button,.game-shell .review select{background:#173844;color:#fff;border:1px solid #91b7bf;min-height:34px;text-shadow:none}.game-shell .review button[aria-pressed=true]{background:#30766d;color:#fff;border-color:#a9e6ce}.game-shell .review button:disabled{opacity:.55;color:#dbe4e6}.game-shell .review .environment-audio label{background:#16343ee8;color:#fff;padding:4px;border-radius:5px}.game-shell .shop-actions{position:absolute;z-index:3;top:68px;right:12px;max-width:min(310px,43vw);display:grid;gap:6px;background:#142d39ed;color:#fff;border:1px solid #86a9b4;border-radius:12px;padding:12px;pointer-events:auto}.shop-actions strong{font-size:1.1rem}.shop-actions small{font-size:.76rem;color:#d3e5e8}.shop-actions button{background:#236c78;color:#fff;border:1px solid #8ec8ce}.shop-actions .shop-leave{background:#793c35;border-color:#e0ac9f}.camera-pad{display:grid;grid-template-columns:repeat(3,44px);gap:4px;pointer-events:auto;align-self:flex-end;touch-action:none}.camera-pad button{background:#173844e8;color:#fff;border:1px solid #9ab8bf;padding:3px;min-height:44px;touch-action:none}.camera-pad button:first-child{grid-column:2}.camera-pad button:nth-child(2){grid-column:1}.camera-pad button:nth-child(4){grid-column:3}.touch-hud .camera-pad button:disabled{opacity:.45}.city-map-overlay{position:fixed;inset:0;z-index:1000;background:#071a23b8;display:grid;place-items:center;padding:12px;overscroll-behavior:contain;color:#fff}.city-map-popup{width:min(1120px,96vw);max-height:94dvh;overflow:auto;background:#132d38;color:#fff;border:1px solid #8db1b9;border-radius:16px;padding:16px;box-shadow:0 20px 80px #0008}.city-map-popup header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 0 12px}.city-map-popup h2{font-size:1.3rem;margin:0 0 4px}.city-map-popup small{color:#c6dce1}.city-map-popup button,.city-map-popup input,.city-map-popup select{background:#203f4c;color:#fff;border:1px solid #83a5af;border-radius:8px;padding:8px;min-height:44px}.city-map-popup input::placeholder{color:#c4d2d7}.city-map-popup button[aria-pressed=true]{background:#397c73;color:#fff}.city-map-popup button:disabled{opacity:.45;cursor:not-allowed}.city-map-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:16px}.city-map-left,.city-map-directory{min-width:0;display:grid;gap:8px;align-content:start}.city-map-scroll{overflow:auto;max-height:56dvh;background:#233e3f;border-radius:8px;touch-action:pan-x pan-y}.city-map-scroll svg{display:block;height:auto;min-width:100%}.city-map-tools{display:flex;gap:6px}.city-map-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;text-transform:capitalize}.city-map-legend span{display:flex;align-items:center;gap:4px}.city-map-legend i{width:12px;height:12px;border-radius:3px}.city-map-list{display:grid;gap:4px;max-height:42dvh;overflow:auto}.city-map-list button{text-align:left}.city-map-directory select{min-width:0;flex:1}@media(max-width:700px){.city-map-body{grid-template-columns:1fr}.city-map-scroll{max-height:40dvh}.city-map-list{max-height:24dvh}.game-shell .shop-actions{top:65px;right:8px;max-width:43vw;padding:7px}.shop-actions button{padding:5px;font-size:12px}.camera-pad{grid-template-columns:repeat(3,34px);gap:2px}.camera-pad button{min-height:44px;width:34px;padding:2px}.game-shell .review{max-width:53vw}.game-shell .review .desktop-help{display:none}}@media(max-height:440px){.city-map-popup{padding:8px}.city-map-body{grid-template-columns:minmax(0,1fr) minmax(200px,1fr)}.city-map-scroll{max-height:58dvh}.city-map-list{max-height:24dvh}.game-shell .shop-actions{top:54px}.shop-actions small:last-child{display:none}}
