:root{--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px)}#phone-open{min-height:44px;min-width:44px}.phone-layout #phone-open,.phone-layout #share-first-hint{display:none}.phone-layout{--touch-zone:184px}:is(.phone-layout,.touch-device){--touch-zone:184px}:is(.phone-layout,.touch-device) :is(button,select,input:not([type=checkbox]),summary){min-height:44px}:is(.phone-layout,.touch-device) button{min-width:44px}.phone-layout .landmark-panel a{display:inline-block;min-height:44px;padding:8px 0}:is(.phone-layout,.touch-device) #hud-panels{left:calc(10px + var(--safe-left));top:calc(10px + var(--safe-top));width:min(340px,calc(100vw - var(--safe-left) - var(--safe-right) - var(--hud-right) - 32px));max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - var(--touch-zone) - 20px)}:is(.phone-layout,.touch-device) #hud #side{top:calc(10px + var(--safe-top));right:calc(10px + var(--safe-right));width:auto;max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - var(--touch-zone) - 20px)}:is(.phone-layout,.touch-device):has(#side:not(.collapsed)) #hud-panels{visibility:hidden}.phone-layout #hud[data-minimap]:has(#side:not(.collapsed)){--hud-right:0px}.phone-layout #side:not(.collapsed) #minimap-wrap{display:none}.phone-layout #side:not(.collapsed) #share-open{display:none}.phone-layout #chips{width:min(300px,calc(100vw - var(--safe-left) - var(--safe-right) - 24px))}.phone-layout #side.collapsed #share-open{position:static;min-width:48px;min-height:48px}.phone-layout #side.collapsed #chips-toggle{visibility:hidden;position:absolute}:is(.phone-layout,.touch-device) #touch-stick{left:calc(18px + var(--safe-left));bottom:calc(58px + var(--safe-bottom))}:is(.phone-layout,.touch-device) .touch-actions{right:calc(18px + var(--safe-right));bottom:calc(58px + var(--safe-bottom));gap:12px}:is(.phone-layout,.touch-device) #corner-credit{right:calc(10px + var(--safe-right));bottom:calc(8px + var(--safe-bottom));left:calc(10px + var(--safe-left));max-width:none;flex-wrap:nowrap;gap:8px}:is(.phone-layout,.touch-device) #osm-credit{min-width:0;flex:0 1 auto;white-space:normal;font-size:10px}:is(.phone-layout,.touch-device) #credits>summary{min-width:64px;min-height:44px;display:grid;place-content:center}.phone-layout #credits>.panel{width:min(360px,calc(100vw - var(--safe-left) - var(--safe-right) - 24px));max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 76px)}.phone-layout #credits p{font-size:13px}.phone-layout #credits a{display:inline-block;min-height:44px;padding:10px 0}.phone-layout #hud-restore{top:calc(10px + var(--safe-top));right:calc(10px + var(--safe-right))}.phone-layout .menu-section summary{min-height:44px;display:list-item;padding:12px 4px}.phone-layout #chips :is(.chip,select,input[type=date]){min-height:44px;font-size:16px}.phone-layout #hud-panels .panel-fold{font-size:11px}.phone-layout .landmark-overlay{padding:calc(8px + var(--safe-top)) calc(8px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(8px + var(--safe-left))}.phone-layout .landmark-panel{max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 16px)}.phone-layout .landmark-panel :is(button,summary),.phone-layout .landmark-sources a{min-height:44px}.phone-layout .landmark-sources summary{padding:10px 0}.phone-layout .landmark-sources a{display:inline-block;padding:10px 0}.phone-layout #bigmap{padding:calc(8px + var(--safe-top)) calc(8px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(8px + var(--safe-left))}.phone-layout .bm-panel{max-width:100%;max-height:100%;min-height:0;display:flex;flex-direction:column}.phone-layout .bm-head{flex:none;flex-wrap:wrap;gap:8px}.phone-layout .bm-title{flex:1;font-size:14px}.phone-layout .bm-search{order:3;width:100%}.phone-layout #bigmap-search{width:100%;min-height:44px;font-size:16px}.phone-layout #bigmap-results{max-height:min(230px,36dvh);overflow:auto;overscroll-behavior:contain}.phone-layout #bigmap-results li{min-height:44px;align-items:center}.phone-layout #bigmap-results li b{overflow-wrap:anywhere}.phone-layout #bigmap-results li span{white-space:normal}.phone-layout .bm-zoom{flex:none;flex-wrap:wrap}.phone-layout .bm-zoom button{width:44px;height:44px}.phone-layout .bm-viewport{min-height:0;max-height:100%;max-width:100%}.phone-layout #touch-controls{visibility:visible}.phone-layout:has(#bigmap:not([hidden])) #touch-controls,.phone-layout:has(.landmark-overlay:not([hidden])) #touch-controls,.phone-layout:has(#credits[open]) #touch-controls,.phone-layout.photo-mode #touch-controls{visibility:hidden}@media(min-width:701px){.phone-layout[data-v2-layer]:not([data-v2-layer=""]) #touch-controls{visibility:hidden}}.phone-link-copy{display:flex;flex-direction:column;align-items:stretch;gap:12px}#phone-qr{align-self:center;max-width:100%;height:auto;image-rendering:pixelated}#phone-link{width:100%;min-height:44px;font:16px monospace;background:#101827;color:#fff3dc;padding:8px;border:1px solid #d1b978}#phone-copy{min-height:44px}#phone-link-status{font-size:14px}@media(max-height:500px){.phone-layout{--touch-zone:184px}.phone-layout #hud-panels{flex-flow:row wrap;align-content:flex-start;gap:8px}.phone-layout #hud-panels>.fold-panel[data-folded=true]{min-width:100px}.phone-layout #hud-panels{width:calc(100vw - var(--safe-left) - var(--safe-right) - var(--hud-right) - 32px)}.phone-layout #side.collapsed #minimap-wrap[data-mode=full] #minimap{width:100px;height:100px}.phone-layout .bm-head{flex-wrap:nowrap}.phone-layout .bm-search{order:0;width:45%}.phone-layout .bm-title small{display:none}.phone-layout .landmark-photo img,.phone-layout .photo-placeholder{height:100px}.phone-layout .photo-placeholder{font-size:28px}}:is(.phone-layout,.touch-device) #osm-credit{position:relative}:is(.phone-layout,.touch-device) #osm-credit:after{content:"";position:absolute;inset:-11px 0}@media(max-width:480px){#campus-disclaimer{max-width:calc(100vw - 150px - var(--safe-left) - var(--safe-right))}.touch-device #campus-disclaimer{bottom:calc(100% + 90px)}}body.touch-device{touch-action:manipulation}.touch-device :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){font-size:max(16px,1em)}.ui-v2.phone-upright #dialog{max-height:max(200px,calc(100dvh - 430px - var(--safe-top) - var(--safe-bottom)))}body.phone-player:has(#dialog:not([hidden])) #v2-return-live{visibility:hidden}
