#tr #bMap{width:auto;padding:0 10px;border-radius:24px;font-size:14px;font-weight:600}
#worldMap{width:min(880px,calc(100vw - 28px));max-height:92dvh;padding:16px;border:1px solid #dfb97f;border-radius:18px;color:#2d3b36;background:#fff7e8;overflow:auto;touch-action:pan-y;box-sizing:border-box}
#worldMap::backdrop{background:#122a31b8}
.map-header,.map-controls,.map-directions,.map-filters{display:flex;align-items:center;gap:8px}
.map-header,.map-directions{justify-content:space-between}
.map-header h2{margin:0;color:#12595a;font-size:clamp(20px,4vw,28px)}
.map-controls,.map-filters{margin:10px 0;flex-wrap:wrap}
.map-key{font-size:13px;margin-left:auto}
.map-key span:first-child{color:#086466}.map-key span:last-child{color:#a05621;margin-left:8px}
.map-directions{font-size:13px;color:#49605c}
#worldMap button,#worldMap input,#worldMap select{font:inherit;padding:7px 9px;border:1px solid #d3c5ab;border-radius:8px;color:inherit;background:#fffdf6}
#worldMap button{cursor:pointer}
#worldMap button:focus-visible,#worldMap input:focus-visible,#worldMap select:focus-visible{outline:2px solid #167776;outline-offset:2px}
#mapPlot{display:block;width:100%;height:clamp(120px,24vh,220px);border-radius:9px;cursor:crosshair}
#mapSelection{margin-top:8px;font-size:14px;color:#145859}
#mapSearch{flex:1;min-width:min(100%,180px)}
#mapCategory{max-width:100%}
#mapDirectory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:6px;max-height:29dvh;overflow:auto;padding:2px;touch-action:pan-y}
#mapDirectory button,#mapDirectory article{text-align:left;padding:8px;border:1px solid #e5d6b8;border-radius:8px;background:#fffdf6;color:#263d39}
#mapDirectory button[aria-pressed=true]{background:#dcebe0;border-color:#458477}
#mapDirectory small{display:block;color:#48605b;margin-top:3px}
#waypointHint{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:4;pointer-events:none;max-width:90vw;text-align:center;border-radius:14px;padding:6px 12px;background:#fff7e9e8;color:#154d51;font-size:14px;font-weight:600}
@media(max-width:550px){#tr{gap:4px}#tr button{width:32px;height:34px}#tr #bTime{padding:0 6px!important}#tr #bMap{padding:0 6px}#mapDirectory{max-height:34dvh}}
