/* Shared navigation and map presentation; each region retains its own palette. */
[data-guide-skin="osaka"]{--guide-color:#215e53;--guide-tint:#eaf3ee;--guide-edge:#d6e1d9}
[data-guide-skin="beppu"]{--guide-color:#754838;--guide-tint:#f7ede6;--guide-edge:#e9dcd3}
[data-guide-skin="bangkok"]{--guide-color:#263c68;--guide-tint:#edf2fa;--guide-edge:#d9e2ef}
[data-guide-skin="pattaya"]{--guide-color:#1464a0;--guide-tint:#ebf4fb;--guide-edge:#d4e3f0}
[data-guide-skin] nav :is(a[aria-current="page"],button[aria-selected="true"]){
 color:var(--guide-color);background:var(--guide-tint);border-radius:8px;
 box-shadow:inset 0 -3px var(--guide-color);font-weight:750
}
[data-guide-skin] nav :is(a,button):focus-visible,.guide-map-list-toggle:focus-visible,.guide-map-picker select:focus-visible{outline:3px solid var(--guide-color);outline-offset:2px}
[data-guide-skin] :is(.travel-essentials,.guide-prep-card,.place-card,.golf-card,.course-card,.restaurant-card,.hotel.card){border-radius:12px}
[data-guide-skin] :is(.map-selection,.map-place-preview,.golf-route-info,.route-summary,#destination-detail):not([hidden]){
 border-color:var(--guide-edge);border-radius:12px
}
[data-guide-skin] :is(#local-map,#tour-map,#golf-map,#food-local-map,#explore-map,#golf-course-map,.guide-map).leaflet-container{
 border-radius:10px;background:#edf1ed;isolation:isolate
}
.guide-map-picker{display:grid;gap:6px;margin:12px 0 14px;min-width:0;color:var(--guide-color);font-weight:700}
.guide-map-picker select{display:block;width:100%;min-height:48px;margin:0;padding:8px 12px;border:1px solid var(--guide-edge);border-radius:8px;background:#fff;color:#222;font:inherit;font-weight:500;min-width:0}
.guide-map-list-toggle{display:none}
[data-guide-skin="bangkok"] .explore-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.95fr)}
[data-guide-skin="bangkok"] .explore-grid>.map-column{order:0}
[data-guide-skin="bangkok"] .explore-grid>.map-sidebar{order:2}
[data-guide-skin="osaka"] #food-selected-preview{scroll-margin-top:100px}
@media(max-width:800px){
 [data-guide-skin="bangkok"] .explore-grid{display:flex;flex-direction:column;gap:12px}
 [data-guide-skin="bangkok"] .explore-grid>.guide-map-list-toggle{order:1}
 .guide-map-list-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:10px 14px;background:#fff;border:1px solid var(--guide-edge);border-radius:8px;color:var(--guide-color);text-align:left;font:inherit;font-weight:700;cursor:pointer}
 .guide-map-list-toggle::after{content:"＋";font-size:18px}.guide-map-list-toggle[aria-expanded="true"]::after{content:"−"}
 [data-guide-skin] .guide-map-list-closed{display:none!important}
 [data-guide-skin] :is(#local-map,#tour-map,#golf-map,#food-local-map,#explore-map,#golf-course-map,.guide-map).leaflet-container{
  height:clamp(245px,44svh,340px);min-height:0
 }
 [data-guide-skin="osaka"] #map-panel{height:auto;min-height:0}
 [data-guide-skin="bangkok"] #explore-map{flex:none}
 [data-guide-skin] :is(.food-filters,.map-filters,.filter-row,.tour-map-views) button{min-height:44px}
}

[data-guide-skin="bangkok"] .explorer-body>.nearby-origin{display:none}
@media(max-width:800px){
 [data-guide-skin="bangkok"] .explorer-body>.filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-guide-skin="bangkok"] .explorer-body>.filter-row>button{grid-column:auto;min-width:0;white-space:normal}
}

/* Keep the full marker hit area while reducing the footprint on the golf map. */
#golf-course-map .golf-map-marker{display:grid;place-items:center}
#golf-course-map .golf-map-marker .map-pin{width:23px;min-width:0;height:23px;font-size:11px;box-shadow:0 1px 3px #14264040}
#golf-course-map .golf-map-marker .hotel-pin{width:26px;height:21px;border-radius:5px}
#golf-course-map .golf-map-marker .map-pin.is-active{outline:2px solid #f8b36c;transform:none}
#golf-course-map .course-map-label{font:600 12px/1.3 system-ui,sans-serif;min-width:0;padding:3px 6px;border-radius:4px;box-shadow:0 1px 4px #18294020}
