/* 1.0.48 navigation: bounded map canvas and independently scrolling results. */
.atlas-190 .atlas-mobile-only{display:none}
.atlas-estate-legend{display:flex;flex-wrap:wrap;gap:4px 12px;flex:0 0 auto;padding-top:5px;font:10px/14px system-ui;color:#bfd1d6}
.atlas-estate-legend span::before{content:'';display:inline-block;width:9px;height:7px;border:1px solid currentColor;margin-right:4px}
.atlas-estate-legend .atlas-land-key{color:#ebcf7b}.atlas-estate-legend .atlas-home-key{color:#efb2d5}.atlas-estate-legend .atlas-owned-key{color:#73edb5}.atlas-estate-legend .atlas-house-key{color:#f1dcc0}
.map-layout.atlas-148{min-height:0;height:100%;grid-template-columns:minmax(0,1fr) 300px;overflow:hidden}
.atlas-148 .atlas{padding:12px;min-height:0;overflow:hidden}
.atlas-148 .atlas-tools{flex:0 0 auto;margin-bottom:8px;gap:5px}
.atlas-148 .atlas-tools button{min-height:32px;padding:6px 8px}
.atlas-148 .atlas-viewport{position:relative;min-height:130px;flex:1;border:1px solid #5d7b83;overflow:hidden;background:#081720}
.atlas-148 canvas#world-map{display:block;width:100%;height:100%;max-height:none;object-fit:fill;box-sizing:border-box;border:0;cursor:grab;touch-action:none;user-select:none}
.atlas-148 canvas#world-map.dragging{cursor:grabbing}.atlas-148 canvas#world-map:focus-visible{outline:2px solid #f3d18d;outline-offset:-3px}
.atlas-zoom-buttons{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;gap:5px}.atlas-zoom-buttons button{width:36px;height:36px;font-size:21px;line-height:20px;padding:3px!important;background:#0c222de8!important}
.atlas-scale{position:absolute;left:10px;bottom:8px;max-width:70%;font:11px system-ui;color:#d0e6e8;background:#091b24d9;padding:4px 7px;pointer-events:none}
.atlas-148 .atlas-status{flex:0 0 auto;min-width:0;font-size:10px;align-items:center;margin:0;gap:5px}.atlas-148 .atlas-status span{flex:1;min-width:0}.atlas-148 .atlas-status input{width:70px;padding:0!important}.atlas-148 .atlas-status label{font-size:9px}
.atlas-waypoint-details{font:11px/1.35 system-ui;color:#ffe0a0;min-height:28px;max-height:60px;overflow:auto;background:#1c2b2d;padding:6px 8px;flex:0 0 auto;overflow-wrap:anywhere}
.atlas-148 .atlas-sidebar{display:flex;flex-direction:column;min-height:0;padding:12px;gap:7px;overflow:hidden}.atlas-148 .atlas-sidebar h2{font-size:18px;margin:0 0 3px}.atlas-search-label{font-size:11px;color:#b9d3d7}.atlas-148 #atlas-search{width:100%;box-sizing:border-box;min-height:36px}.atlas-filters{display:flex;gap:5px}.atlas-filters select{width:50%;font-size:11px!important}.atlas-148 #atlas-result-count{margin:0;font-size:10px;min-height:14px}
#atlas-results{overflow:auto;min-height:75px;flex:1;overscroll-behavior:contain}#atlas-results button{margin:0 0 5px;min-height:56px;padding:8px 9px;font-size:12px;overflow-wrap:anywhere}#atlas-results small{font-size:10px;margin-top:3px}#atlas-results b{font-weight:600}.atlas-empty{padding:10px 2px;font-size:12px!important}
.atlas-route-actions{flex:0 0 auto;border-top:1px solid #45616b;padding-top:5px}.atlas-route-actions>label{display:flex;align-items:center;font-size:10px;gap:7px}.atlas-route-actions input{width:100px!important;padding:5px!important}.atlas-route-actions button{margin:5px 0!important;min-height:30px;font-size:11px!important}.atlas-route-actions>small{font-size:9px;line-height:1.3}.atlas-route-actions button[hidden]{display:none!important}
#world-waypoint{position:fixed;z-index:11;pointer-events:none;color:#ffe3a1;font-family:system-ui,sans-serif;text-shadow:0 1px 3px #000;transform:translate(-50%,-50%)}#world-waypoint[hidden]{display:none!important}.waypoint-diamond{display:block;text-align:center;width:26px;height:26px;line-height:26px;font-size:24px;filter:drop-shadow(0 0 5px #f7d17d99)}.waypoint-edge .waypoint-diamond{transform:rotate(var(--bearing))}.waypoint-travel .waypoint-diamond{font-size:14px;opacity:.7}.waypoint-card{position:absolute;left:50%;top:30px;width:max-content;max-width:min(210px,60vw);padding:5px 8px;background:#10202be6;border:1px solid #d3ba7280;border-radius:4px;text-align:center;box-sizing:border-box;overflow-wrap:anywhere}.waypoint-card strong,.waypoint-card small,.waypoint-distance{display:block}.waypoint-card strong{font-size:11px;font-weight:600}.waypoint-distance{font-size:14px;font-weight:700}.waypoint-card small{font-size:9px;color:#bed2d9}.waypoint-edge .waypoint-card{top:27px}
@media(max-width:800px){.map-layout.atlas-148{grid-template-columns:minmax(0,1fr) 235px}.atlas-148 .atlas{padding:7px}.atlas-148 .atlas-sidebar{padding:8px}.atlas-148 .atlas-tools button{font-size:9px}.atlas-148 .atlas-tools select{max-width:105px;font-size:10px;padding:5px}.atlas-148 .atlas-sidebar h2{font-size:15px}}
@media(max-width:600px){#expedition-window:has(.atlas-148){width:98vw;height:95dvh;max-height:95dvh;top:50%;left:50%}#expedition-window:has(.atlas-148)>header{padding:6px 10px}#expedition-window:has(.atlas-148) header strong{font-size:16px}#expedition-window:has(.atlas-148)>nav{padding:4px 8px}#expedition-window:has(.atlas-148)>footer{padding:5px;font-size:8px}.map-layout.atlas-148{grid-template-columns:1fr;grid-template-rows:minmax(200px,48%) minmax(180px,52%)}.atlas-148 .atlas-sidebar{border-left:0;border-top:1px solid #3f5d65;gap:4px}.atlas-148 .atlas-sidebar h2,.atlas-148 .atlas-search-label{display:none}.atlas-148 .atlas-tools{gap:3px;margin-bottom:4px}.atlas-148 .atlas-tools button{min-height:28px;padding:4px 6px}.atlas-148 .atlas-status{padding:4px 0}.atlas-148 .atlas-waypoint-details{min-height:25px;max-height:39px;padding:3px 6px;font-size:10px}.atlas-148 .atlas-viewport{min-height:80px}.atlas-route-actions{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.atlas-route-actions>small{display:none}.atlas-route-actions button{flex:1}.atlas-route-actions label{width:100%;justify-content:space-between}.atlas-148 #atlas-results{min-height:50px}#atlas-results button{min-height:52px}.atlas-148 #atlas-search{min-height:30px;padding:6px}.atlas-filters select{padding:5px!important}.atlas-zoom-buttons button{width:32px;height:32px}}
@media(max-height:500px) and (min-width:601px){#expedition-window:has(.atlas-148){height:97dvh;top:50%}#expedition-window:has(.atlas-148)>header{padding:4px 10px}#expedition-window:has(.atlas-148) header strong{font-size:16px}#expedition-window:has(.atlas-148)>nav{padding:3px 8px}#expedition-window:has(.atlas-148)>footer{padding:3px 8px}.atlas-148 .atlas-sidebar h2,.atlas-148 .atlas-search-label,.atlas-route-actions>small{display:none}.atlas-148 .atlas-viewport{min-height:85px}.atlas-148 .atlas-sidebar{gap:4px}.atlas-route-actions button{padding:4px;min-height:26px}}

#hud .map-panel[role="button"]{cursor:pointer}#hud .map-panel[role="button"]:focus-visible{outline:2px solid #f3d18d;outline-offset:2px}
