body.room-host .workspace{height:calc(100svh - 72px)}body.room-host #sidebar,body.room-host #walk-panel,body.room-host #readiness-bar,body.room-host .map-actions,body.room-host #selection-bar,body.room-host #dpad{display:none!important}.host-panel{width:290px;padding:24px 20px;gap:15px;overflow:auto}.host-panel h2{font-size:22px;margin:0}.host-code{font:800 32px ui-monospace,monospace;letter-spacing:3px;background:#e9f1df;border:1px solid #c5d6bc;border-radius:12px;padding:16px 6px;text-align:center;user-select:all}.host-panel p{font-size:13px;line-height:1.8;margin:0}.host-panel a{font-weight:700}.host-panel .host-status{padding:12px;background:#f0eddd;border-radius:10px;color:#446344}.host-panel button{font-size:12px}.host-target{border-top:1px solid #dbe2d0;padding-top:15px}.host-target canvas{width:100%;height:130px;object-fit:contain}.host-target strong{display:block;text-align:center;font-size:19px}.host-target small{display:block;text-align:center;margin-top:4px}.town-controller{overflow:hidden;background:#dbe9e0}.driver-top{height:64px;display:flex;align-items:center;gap:12px;padding:10px 20px;background:#fffdf7;position:relative;z-index:3;border-bottom:1px solid #cfdac8}.driver-top a{font:bold 21px Georgia,serif;text-decoration:none;margin-right:auto}.driver-top strong{font:700 17px ui-monospace,monospace;letter-spacing:1px}.driver-top button{font-size:12px}.driver-map{position:relative;height:calc(100svh - 64px)}#driver-canvas{display:block;width:100%;height:100%;touch-action:none}.driver-hud{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.driver-hud>div{background:#fffdf2ee;border:1px solid #fff;border-radius:14px;padding:12px 17px;font-size:13px;box-shadow:0 4px 15px #193b3010}#driver-connection.offline{background:#fff0da;color:#8d5129}.driver-bottom{position:absolute;left:20px;right:20px;bottom:20px;display:flex;justify-content:space-between;align-items:end;gap:10px;pointer-events:none}.driver-bottom p{font-size:11px;line-height:1.8;background:#fffdf3e0;border-radius:10px;padding:10px 14px;margin:0}.driver-bottom button{pointer-events:auto}.driver-pad{right:20px;bottom:85px}.driver-pad button[data-key=w]{grid-area:1/2}.driver-pad button[data-key=a]{grid-area:2/1}.driver-pad button[data-key=s]{grid-area:2/2}.driver-pad button[data-key=d]{grid-area:2/3}.route-overlay{position:fixed;inset:64px 0 0;z-index:5;background:#263e315b;backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;padding:24px}.route-card{width:min(980px,100%);max-height:100%;overflow:auto;background:#fffdf6;border:1px solid #fff;border-radius:24px;padding:30px;box-shadow:0 20px 90px #14302236}.route-card h1{font-size:32px;letter-spacing:-.04em;margin:10px 0 12px}.route-card p{font-size:13px;line-height:1.8;color:#697d64}.destination-choices{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.destination-choices button{padding:8px 5px;min-width:0;background:#f5f6ed;border-color:#dce4d2}.destination-choices button:hover{background:#e3efdc;border-color:#638b5e;transform:translateY(-2px)}.destination-choices img{display:block;width:100%;height:92px;object-fit:contain}.destination-choices strong{display:block;font-size:12px;min-height:30px;line-height:1.3}.destination-choices small{font-size:10px;color:#71816c}.win-card{text-align:center;max-width:460px}.win-card h1{font-size:48px;margin:6px 0 0}.win-star{font-size:45px;color:#d5a340}.win-card img{display:block;max-width:100%;height:170px;object-fit:contain;margin:auto}.win-card button{display:block;width:100%;margin-top:10px}.win-card h2{margin-bottom:10px}#driver-error{color:#b34c34;margin:15px 0 0}
@media(max-width:900px){.destination-choices{grid-template-columns:repeat(4,1fr)}.host-panel{width:230px;padding:20px 15px}.host-code{font-size:27px}}
@media(max-width:720px){body.room-host .workspace{height:calc(100svh - 100px)}.host-panel{width:185px;padding:16px 10px;gap:12px}.host-panel h2{font-size:18px}.host-code{font-size:22px;letter-spacing:1px;padding:14px 5px}.host-panel p{font-size:11px}.host-target canvas{height:100px}.host-target strong{font-size:14px}.driver-top{padding:8px 10px;gap:6px;height:60px}.driver-top a{font-size:16px}.driver-top strong{font-size:14px}.driver-top button{font-size:10px;padding:9px 7px}.driver-map{height:calc(100svh - 60px)}.route-overlay{inset:60px 0 0;padding:12px}.route-card{padding:20px 14px;border-radius:18px}.destination-choices{grid-template-columns:repeat(3,1fr);gap:7px}.destination-choices img{height:75px}.destination-choices strong{font-size:10px}.destination-choices small{font-size:9px}.driver-hud{top:10px;left:10px;right:10px;flex-wrap:wrap;gap:6px}.driver-hud>div{font-size:10px;padding:9px 12px}.driver-bottom{left:10px;right:10px;bottom:12px}.driver-bottom p{font-size:9px;padding:8px}.driver-pad{right:12px;bottom:90px}.route-card h1{font-size:27px}.win-card h1{font-size:40px}}

.destination-choices button.selected{background:#dcefd0;border:3px solid #315e4b;padding:6px 3px;box-shadow:0 0 0 2px #fff inset}.destination-actions{position:sticky;bottom:-30px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fffdf6;padding:16px 0;margin-top:12px;border-top:1px solid #dce4d2}.destination-actions p{margin:0;font-weight:700}.destination-actions button{min-width:135px;font-size:19px;padding:14px 24px}.destination-actions button:disabled{opacity:.55;cursor:wait}@media(max-width:720px){.destination-actions{bottom:-20px;gap:8px}.destination-actions button{min-width:100px;font-size:17px;padding:12px 18px}}

.police-feedback{position:fixed;z-index:70;top:90px;left:50%;transform:translateX(-50%);max-width:min(620px,86vw);padding:13px 20px;border-radius:14px;background:#fff3e8;color:#641d32;border:2px solid #d54b58;box-shadow:0 4px 22px #17253638;text-align:center;font-weight:750;pointer-events:none}.police-feedback[hidden]{display:none}.police-feedback[data-phase=caught]{background:#edf3ff;border-color:#536fa5;color:#243b60}
.destination-actions #destination-connection{font-size:12px;font-weight:400;margin-top:4px}.destination-actions #destination-reconnect{min-width:0;font-size:12px;padding:7px 12px;margin-top:6px}.destination-actions #destination-reconnect[hidden]{display:none}
