.mobile-chrome,.sheet-header,.sheet-footer,.sheet-backdrop{display:none}#controls-view{display:none}
@media(max-width:820px), (max-width:1100px) and (max-height:540px){
 html:has(body.mobile-map),body.mobile-map{height:100%;overflow:hidden;overscroll-behavior:none}body.mobile-map header{display:none}body.mobile-map main{display:block;padding:0;margin:0;height:100dvh}
 body.mobile-map #landscape{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;border:0;border-radius:0;touch-action:none}
 .mobile-chrome{display:contents}.mobile-chrome svg{width:22px;height:22px;flex-shrink:0}.mobile-mapbar{position:absolute;z-index:8;left:14px;right:14px;top:calc(12px + env(safe-area-inset-top));height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#16382feb;border:1px solid #7f9c7b88;box-shadow:0 6px 24px #10271f33;border-radius:18px;padding:8px 10px 8px 16px;backdrop-filter:blur(16px)}
 .mobile-brand{text-decoration:none;font:28px/.95 Georgia,serif;letter-spacing:-.045em;color:#fff3d5}.mobile-brand span{display:block;font:11px/1.6 system-ui;letter-spacing:.055em;color:#b9d1bd}.mobile-search{height:40px;display:flex;align-items:center;gap:8px;border:0;background:#d8e9bd;color:#18392d;border-radius:12px;font-size:14px;padding:0 12px}
 body.mobile-map .tools{top:calc(88px + env(safe-area-inset-top));left:auto;right:14px;width:44px;display:flex;flex-direction:column;gap:6px}body.mobile-map .tools button{width:44px;min-height:44px;border-radius:13px;background:#173a31ed;border-color:#8ca78199;font-size:23px;box-shadow:0 3px 12px #0b221c22}body.mobile-map .tools #nearby-map-expand{width:auto;position:fixed;right:70px;top:calc(88px + env(safe-area-inset-top));font-size:13px;white-space:nowrap}
 .mobile-view{position:absolute;top:calc(192px + env(safe-area-inset-top));right:14px;z-index:8;width:44px;height:44px;display:grid;place-items:center;padding:0;border-radius:13px;background:#173a31ed;border-color:#8ca78199;box-shadow:0 3px 12px #0b221c22}
 .mobile-dock{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));left:18px;right:18px;z-index:10;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:6px;background:#173a31f5;border:1px solid #88a58088;border-radius:23px;box-shadow:0 8px 28px #071f1655;backdrop-filter:blur(16px)}
 .mobile-dock button{display:flex;align-items:center;justify-content:center;gap:7px;height:48px;padding:5px;font-size:14px;border:0;background:none;border-radius:17px;color:#e7f1d6}.mobile-dock button:first-child{background:#d8e9bd;color:#173b2e}.mobile-dock small{display:inline-grid;place-items:center;background:#d8e9bd;color:#173b2e;border-radius:50%;min-width:18px;height:18px;font:600 11px system-ui}
 .mobile-credits{position:absolute;z-index:7;bottom:calc(82px + env(safe-area-inset-bottom));left:12px;right:12px;font:10px/1.5 system-ui;text-align:center;color:#f2f4dc;text-shadow:0 1px 3px #06261b;background:#16362c99;border-radius:8px;pointer-events:auto}.mobile-credits a{color:inherit}.mobile-credits button{border:0;background:none;padding:2px 5px;text-decoration:underline;font:inherit;color:inherit}
 #active-map-layers{position:absolute;z-index:8;left:14px;right:14px;bottom:calc(110px + env(safe-area-inset-bottom));display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:100%;pointer-events:auto}#active-map-layers:empty{display:none}#active-map-layers button{flex:0 0 auto;border-radius:20px;padding:7px 12px;background:#e0edc8;color:#173b2e;font-size:13px;max-width:210px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-height:36px}
 body.mobile-map #map-controls{display:flex;flex-direction:column;position:fixed;z-index:60;left:0;right:0;bottom:0;width:100%;height:min(78dvh,710px);max-height:calc(100dvh - 36px - env(safe-area-inset-top));padding:0;border:1px solid #7d9c7d;border-bottom:0;border-radius:27px 27px 0 0;background:#17382ffb;box-shadow:0 -15px 55px #041b1450;transform:translateY(105%);visibility:hidden;transition:transform .22s ease,visibility .22s;overflow:hidden}
 body.mobile-map.controls-open #map-controls{transform:translateY(0);visibility:visible}body.mobile-map .sheet-header{display:block;flex-shrink:0;padding:0 18px;background:#193b31}.sheet-handle{display:grid;place-items:center;width:100%;height:25px;padding:0;background:none;border:0;touch-action:pan-x}.sheet-handle span{width:38px;height:4px;background:#a1b69a;border-radius:5px}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:12px;touch-action:pan-x}.sheet-heading h2{font:29px/1.1 Georgia,serif;margin:0;color:#f5efd5}.sheet-close{width:40px;height:40px;padding:0;border-radius:50%;font-size:25px;background:#294d3f;border-color:#6d8f73}
 .sheet-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:0 0 12px}.sheet-tabs button{border:0;border-radius:11px;font-size:14px;min-height:42px;padding:6px;background:#274b3e;color:#d9e5d3}.sheet-tabs button[aria-selected="true"]{background:#d8e9bd;color:#173b2e}
 .sheet-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:18px 20px 12px;scroll-padding-top:18px;touch-action:pan-y}.sheet-scroll>section{min-width:0}.sheet-scroll p,.sheet-scroll label,.sheet-scroll summary{font-size:14px}.sheet-scroll label[for],.sheet-scroll legend{font-size:15px}.sheet-scroll input,.sheet-scroll select{font-size:16px;min-height:46px}.sheet-scroll input[type=checkbox]{min-height:20px;width:20px;height:20px;accent-color:#d8e9bd}.sheet-scroll button{min-height:44px}.sheet-scroll .transport-controls summary{padding:8px 0;font-size:17px;font-weight:600}.sheet-scroll .nearby-box h2{font-size:25px}
 body.mobile-map .sheet-footer{display:block;padding:10px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #52715c;background:#193b31}.sheet-footer button{width:100%;min-height:48px;background:#d8e9bd;border:0;color:#173b2e;font-weight:600;border-radius:15px}
 .sheet-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:50;border:0;border-radius:0;background:#061f1640;padding:0;cursor:default}
 #controls-view:not([hidden]){display:block}#view-tools{display:grid;gap:10px}#view-tools>button{min-height:44px;text-align:left}#view-tools>label{display:flex;align-items:center;gap:10px;padding:8px 0}#controls-view #weather-chip,#controls-view .mapnote{position:static;max-width:none;pointer-events:auto;padding:12px;font-size:13px;margin:10px 0}#controls-view #weather-chip a{font-size:12px}#controls-view h3{font-size:16px;margin:0 0 12px}#controls-view h3:not(:first-child){margin-top:24px}
 body.mobile-map .place-panel{position:fixed;z-index:30;top:auto;left:9px;right:9px;bottom:calc(88px + env(safe-area-inset-bottom));width:auto;height:min(49dvh,420px);max-height:60dvh;border-radius:22px;background:#16392ff7;box-shadow:0 8px 35px #071b1460}.place-panel-header h2{font-size:17px}.place-panel-body{font-size:14px}body.mobile-map .place-panel-header button{min-height:40px}body.mobile-map #map-feedback{bottom:calc(112px + env(safe-area-inset-bottom));left:14px;right:70px;font-size:12px;max-height:80px;overflow:auto}body.mobile-map.has-map-layers #map-feedback{bottom:calc(157px + env(safe-area-inset-bottom))}
 body.mobile-map .area-arrival{bottom:calc(108px + env(safe-area-inset-bottom));left:14px;right:14px;max-width:none;padding:7px 11px;font-size:12px;justify-content:space-between}body.mobile-map.has-map-layers .area-arrival{bottom:calc(155px + env(safe-area-inset-bottom))}body.mobile-map:has(.place-panel:not([hidden])) .area-arrival,body.mobile-map:has(.place-panel:not([hidden])) #map-feedback,body.mobile-map:has(.place-panel:not([hidden])) #active-map-layers{display:none}
 @media(prefers-reduced-motion:reduce){body.mobile-map #map-controls{transition:none}}
}

@media(max-width:820px), (max-width:1100px) and (max-height:540px){body.mobile-map:has(#map-feedback:not([hidden])) .area-arrival{display:none}}

@media(max-width:820px), (max-width:1100px) and (max-height:540px){body.mobile-map #city-status,body.mobile-map #nature-status{display:none}}

@media(max-width:820px), (max-width:1100px) and (max-height:540px){.mobile-dock button{position:relative;min-width:0}.mobile-dock small{position:absolute;top:2px;right:7px}.mobile-dock span{white-space:nowrap}}
