.atlas-app-dock{display:none}.atlas-app-dock[hidden]{display:none!important}
/* JUJUBUR V1.3.103 — mobile-only responsiveness and native-feeling touch feedback. */
@media (max-width:767px), (max-width:1024px) and (max-height:500px) and (pointer:coarse){
 body.jj-phone-page :is(button,a,[role="button"],summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform .17s cubic-bezier(.2,.8,.2,1),background-color .18s ease,border-color .18s ease,color .18s ease;}
 body.jj-phone-page :is(button,a,[role="button"],summary).jj-pressing{transform:scale(.966);}
 body.jj-phone-page :is(button,a,[role="button"],summary):focus-visible{outline:2px solid #e6bd83;outline-offset:3px;}
 body.jj-phone-page :is(input,textarea,select){scroll-margin-block:110px;}
 body.jj-page-atlas .modal-cover{align-items:flex-end;padding:0;}
 body.jj-page-atlas .modal-cover>.modal{width:100%;max-height:min(90dvh,940px)!important;border-radius:23px 23px 0 0;margin:0!important;border-bottom:0;box-shadow:0 -18px 75px #0008;animation:jjSheetEnter .25s cubic-bezier(.2,.8,.2,1) both;}
 body.jj-page-atlas .modal-cover>.modal .modal-head{position:relative;padding-top:27px;}
 body.jj-page-atlas .modal-cover>.modal .modal-head:before{content:'';position:absolute;width:34px;height:4px;top:10px;left:calc(50% - 17px);border-radius:99px;background:rgba(222,220,211,.35);}
 body.jj-page-atlas .modal-cover>.modal .modal-footer{padding-bottom:max(16px,env(safe-area-inset-bottom,0px));}
 body.jj-page-atlas .atlas-app-dock{display:flex;position:absolute;bottom:max(9px,env(safe-area-inset-bottom,0px));left:9px;right:9px;z-index:785;max-width:480px;margin:0 auto;align-items:center;justify-content:space-around;gap:3px;padding:7px 8px;background:rgba(16,20,24,.94);border:1px solid rgba(211,173,118,.28);border-radius:19px;box-shadow:0 12px 39px rgba(0,0,0,.36);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
 body.jj-page-atlas .atlas-app-dock button{border:0;background:transparent;color:#e6d7c5;border-radius:13px;min-height:47px;flex:1;display:flex;gap:3px;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:500;}
 body.jj-page-atlas .atlas-app-dock button span{font-size:20px;line-height:1.1;}
 body.jj-page-atlas .atlas-app-dock button[aria-pressed="true"]{background:rgba(223,179,119,.16);color:#f4cc8e;}
 body.jj-page-atlas .atlas-app-dock button[hidden]{display:none;}
 body.jj-page-atlas #atlasMobileCreateButton:not([hidden]){bottom:calc(81px + env(safe-area-inset-bottom,0px));}
 body.jj-page-atlas .map-shell .leaflet-bottom.leaflet-right{bottom:77px;}
 body.jj-page-atlas .map-shell .leaflet-control-scale{margin-bottom:99px!important;}
 body.jj-page-atlas .map-shell .map-display-panel:not([hidden]),body.jj-page-atlas .atlas-basemap-menu:not([hidden]){border-radius:15px;box-shadow:0 18px 45px #0008;}
 body.jj-page-atlas .sidebar.open{will-change:transform;}
 body.jj-page-atlas .sidebar{transition:transform .25s cubic-bezier(.2,.8,.2,1)!important;}
 body.jj-page-atlas .jj-offline-cover:not([hidden]){position:fixed;inset:0;z-index:4000;display:flex;align-items:flex-end;justify-content:center;background:rgba(4,6,10,.7);backdrop-filter:blur(5px);}
 body.jj-page-atlas .jj-offline-dialog{width:100%;max-height:91dvh;overflow:auto;background:#151a20;color:#f2ede5;padding:27px 22px max(25px,env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;border:1px solid rgba(213,173,119,.4);animation:jjSheetEnter .25s cubic-bezier(.2,.8,.2,1) both;}
 body.jj-page-atlas .jj-offline-dialog h2{font:400 29px/1.2 'Instrument Serif','Songti SC',serif;margin:8px 0 12px;}
 body.jj-page-atlas .jj-offline-dialog p{font-size:12px;line-height:1.9;color:#bdb5a9;}
 body.jj-page-atlas .jj-offline-dialog input{width:100%;font-size:16px;background:#111418;color:#fff;border:1px solid #645744;border-radius:9px;padding:13px 14px;margin:10px 0 18px;}
 body.jj-page-atlas .jj-offline-buttons{display:flex;gap:10px;flex-wrap:wrap;}
 body.jj-page-atlas .jj-offline-buttons button,body.jj-page-atlas .jj-offline-buttons a{flex:1;min-width:100px;min-height:45px;display:grid;place-items:center;background:#302e2a;color:#f4e6d0;border:1px solid #74644b;border-radius:11px;text-decoration:none;font-size:12px;}
 body.jj-page-atlas .jj-offline-buttons button:first-child{background:#d5b183;color:#1b1b1b;border-color:#d5b183;font-weight:650;}
 body.jj-page-atlas.theme-light .atlas-app-dock{background:rgba(255,251,244,.95);border-color:#ccbda8;box-shadow:0 10px 32px #33221338;}
 body.jj-page-atlas.theme-light .atlas-app-dock button{color:#4a3c2f;}
}
@keyframes jjSheetEnter{from{opacity:.72;transform:translate3d(0,20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media (prefers-reduced-motion:reduce){.jj-pressing{transform:none!important}.jj-offline-dialog,.modal-cover>.modal{animation:none!important}body.jj-phone-page :is(button,a,[role="button"]){transition:none!important}}
@media (max-width:767px), (max-width:1024px) and (max-height:500px) and (pointer:coarse){
 /* The bottom dock owns basemap switching. Keep remaining map tools compact and visible. */
 body.jj-page-atlas .map-toolbar{top:77px!important;bottom:auto!important;height:auto!important;right:10px!important;gap:6px;flex-direction:column;}
 body.jj-page-atlas .map-toolbar>.floatbtn{font-size:10px!important;padding:9px 10px!important;min-height:35px;border-radius:10px;}
 body.jj-page-atlas #basemapModeBtn{display:none!important;}
 body.jj-page-atlas #atlasBasemapPicker{width:0;height:0;position:static;}
 body.jj-page-atlas #basemapModeMenu:not([hidden]){position:fixed!important;top:auto!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;left:10px!important;right:10px!important;width:auto!important;max-width:500px!important;margin:auto!important;max-height:62dvh;overflow:auto;border-radius:18px!important;z-index:1500!important;}
 body.jj-page-atlas .map-toplabel{max-width:min(185px,calc(100vw - 164px))!important;}
}
