/* One dark bottom bar; one shared exploration model for desktop and phone. */
:root{color-scheme:dark;--text:#eceee0;--surface:#112d21;--raised:#203e30;--gold:#dec48a;--muted:#b5c4b4;--line:#d4d8be26;--dock-bottom:max(18px,env(safe-area-inset-bottom))}
*{box-sizing:border-box}html,body,#map-content,.map-layout{height:100%;width:100%;margin:0;padding:0;overflow:hidden}body{background:#19372a;color:var(--text);font:400 16px/1.6 var(--font-body);font-synthesis:none}.map-layout{position:relative}button{font:500 15px/1.4 var(--font-body);color:inherit;border:0;background:none;cursor:pointer;min-height:44px;touch-action:manipulation}button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}h1,h2,p{margin:0}.visually-hidden,#status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#map{position:absolute;inset:0;width:100%;height:100%;background:#19372a}.leaflet-container{font-family:var(--font-body)}.leaflet-control-zoom{display:none}
.map-node{display:flex;align-items:center;justify-content:center;background:none;border:0}.map-node>span{position:relative;display:block;flex:none;width:10px;height:10px;border:2px solid #f5f1e6;border-radius:50%;background:#f5f1e6;box-shadow:0 0 0 1.5px #213f2c,0 2px 5px #17302180;transition:background .18s,transform .18s;pointer-events:none}.map-node:not(.hero).is-highlighted>span{width:14px;height:14px;background:var(--highlight,#f5f1e6);border:2px solid #fff9e9}.map-node:hover>span,.map-node:focus-visible>span,.map-node.is-open>span{transform:scale(1.2)}.map-node.hero>span{width:15px;height:15px;background:#b59352;border:2px solid #fff1bf;box-shadow:0 0 0 1.5px #5c4a27,0 2px 6px #12301e99}.node-ring{position:absolute;inset:-7px;border:2px solid #f5f1e6;border-radius:50%;opacity:0;pointer-events:none;box-shadow:0 0 0 1px #17372c75}.map-node.hero .node-ring{border-color:#e7d0a0}.map-node:focus-visible{outline:2px solid #fff3c4;border-radius:50%;outline-offset:1px}.leaflet-tooltip{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:6px;box-shadow:0 4px 18px #0003;font:500 14px/1.4 var(--font-body);padding:9px 12px;white-space:normal;width:max-content;max-width:210px}.leaflet-tooltip-top:before{border-top-color:var(--surface)}.leaflet-tooltip-left:before{border-left-color:var(--surface)}.leaflet-tooltip-right:before{border-right-color:var(--surface)}.leaflet-tooltip-bottom:before{border-bottom-color:var(--surface)}
.map-dock{position:absolute;z-index:850;left:50%;bottom:var(--dock-bottom);transform:translateX(-50%);width:340px;max-width:calc(100% - 32px);background:var(--surface);border:1px solid #c7d7b319;border-radius:17px;box-shadow:0 8px 30px #0003;padding:9px 10px}.dock-actions{display:flex;align-items:center;justify-content:space-between;gap:2px}.dock-actions>button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:9px;padding:10px 12px;white-space:nowrap}.dock-actions>button:hover{background:var(--raised)}.dock-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}.dock-actions #category-toggle{flex:1}.dock-actions #category-toggle[aria-expanded=true]{background:var(--raised)}.dock-actions #category-toggle.has-selection svg{color:var(--gold)}.dock-actions #full{color:var(--muted)}.dock-actions #enter-palmer{color:var(--gold);flex:1}
.category-panel{position:absolute;left:-1px;right:-1px;bottom:calc(100% + 10px);background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 35px #0004;padding:22px 22px 12px;max-height:calc(100dvh - 175px);overflow-y:auto;scrollbar-color:#657c64 var(--surface)}.category-heading{padding:0 4px 16px}.category-heading .eyebrow{font-size:11px;text-transform:uppercase;color:var(--gold);letter-spacing:.1em}.category-heading h2{font:500 28px/1.12 var(--font-display);margin-top:7px}.category-controls{display:flex;flex-direction:column}.category-card{display:flex;align-items:center;text-align:left;gap:14px;width:100%;min-height:74px;padding:12px 5px;border-top:1px solid var(--line)}.category-card>img{width:36px;height:36px;object-fit:contain;flex:none;padding:4px;opacity:.9}.category-card>span{display:flex;flex:1;flex-direction:column;gap:4px}.category-card strong{font-weight:500;font-size:16px}.category-card small{font:400 13px/1.4 var(--font-body);color:var(--muted)}.category-card i{width:7px;height:7px;border:1px solid #738773;border-radius:50%;flex:none}.category-card[aria-pressed=true] i{background:var(--gold);border-color:var(--gold);box-shadow:0 0 0 3px #dec48a1c}.category-card[aria-pressed=true] strong{color:var(--gold)}.category-card:hover{background:var(--raised)}
.infrastructure-pane{opacity:0;visibility:hidden;transition:opacity .25s;pointer-events:none!important}.infrastructure-pane.is-visible{opacity:1;visibility:visible}.atmosphere{position:absolute;inset:0;z-index:410;pointer-events:none;overflow:hidden;contain:strict}.cloud{position:absolute;width:85vw;height:50vh;background:url('cloud.svg') center/100% 100% no-repeat;opacity:.12;animation:cloud-drift 125s linear infinite alternate;will-change:transform}.cloud-one{left:-48%;top:-20%}.cloud-two{right:-48%;bottom:-20%;animation-direction:alternate-reverse;animation-duration:155s}body[data-active=false] .map-dock{visibility:hidden}body[data-active=false] .leaflet-tooltip,body[data-active=false] .leaflet-marker-pane{visibility:hidden}body[data-active=false] .cloud{animation-play-state:paused}
@keyframes cloud-drift{from{transform:translate3d(-5%,0,0) rotate(-6deg)}to{transform:translate3d(25%,12%,0) rotate(7deg)}}
@media(max-width:600px){.leaflet-tooltip{max-width:175px}.map-dock{width:340px;padding:7px 6px}.dock-actions>button{padding:10px 9px;gap:8px;font-size:14px}.dock-actions svg{width:19px;height:19px}.category-panel{padding:20px 20px 10px}.category-heading h2{font-size:26px}.category-card{min-height:72px}.cloud{width:140vw;height:55vh}.cloud-one{left:-100%}.cloud-two{right:-100%}}
@media(max-width:370px){.dock-actions>button{padding:10px 8px;gap:7px}.dock-actions svg{width:18px;height:18px}}
@media(max-height:520px){.category-panel{max-height:calc(100dvh - 110px)}.category-heading{padding-bottom:10px}.category-heading h2{font-size:24px}.category-card{min-height:58px;padding:8px 5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.cloud{will-change:auto}}

/* Place shortcuts sit with the same bottom bar, leaving the map free to explore. */
.place-shortcuts{position:absolute;left:-1px;right:-1px;bottom:calc(100% + 8px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.place-shortcuts :is(button,a){min-width:0;min-height:54px;padding:8px 5px;border:1px solid #c7d7b329;border-radius:10px;background:#112d21f5;box-shadow:0 4px 15px #0002;font-size:12px;line-height:1.3;text-align:center;overflow-wrap:normal;transition:background .2s,border-color .2s}
.place-shortcuts :is(button,a):before{content:'';display:block;width:6px;height:6px;margin:0 auto 5px;border:1px solid #f4efdc;border-radius:50%;background:var(--place-color)}
.place-shortcuts :is(button,a)[aria-pressed=true]{background:color-mix(in srgb,var(--place-color) 23%,#112d21);border-color:var(--place-color)}
.place-shortcuts :is(button,a):hover{background:var(--raised)}
.categories-open .place-shortcuts{visibility:hidden}
.map-node[data-place=infra-hospital].is-highlighted>span{background:#9a7b8c80;border-color:#d9c9d5;box-shadow:0 0 0 1.5px #5e3a5a}
.map-node[data-place=infra-hospital] .node-ring{border-color:#c5a8c0}
.camera-transition{position:absolute;inset:0;z-index:460;pointer-events:none;opacity:0;background:radial-gradient(ellipse at center,transparent 30%,#102b2429 100%);transition:opacity .25s}
.camera-transition>span{position:absolute;left:50%;bottom:158px;width:44px;height:1px;background:linear-gradient(90deg,transparent,#d6bd82,transparent);transform:translateX(-50%) scaleX(.3);opacity:0}
.camera-moving .camera-transition{opacity:1}.camera-moving .camera-transition>span{animation:camera-trace 1.05s ease-in-out}
.camera-moving .navigation-route{visibility:hidden}
@keyframes camera-trace{0%,100%{opacity:0;transform:translateX(-50%) scaleX(.3)}40%,65%{opacity:.9;transform:translateX(-50%) scaleX(1)}}

/* Compact destination controls share the node's color without covering the geography. */
.map-dock{width:380px;padding:5px 6px;border-radius:13px}
.dock-actions{gap:5px}.dock-actions>button{min-height:44px;padding:8px 10px}
.dock-actions #category-toggle{justify-content:flex-start;gap:8px;min-width:0;white-space:normal;text-align:left;line-height:1.15}
#category-label{font-size:13px}.dock-actions #full{flex:none;width:44px;margin-inline:2px;color:var(--gold)}
.dock-actions #enter-palmer{flex:none;border-left:1px solid #dec48a42;border-radius:0;padding-left:17px;margin-left:1px;font-size:14px}
.place-shortcuts{gap:5px;bottom:calc(100% + 7px)}
.place-shortcuts :is(button,a){min-height:44px;padding:5px 7px;font-size:12px;border-radius:8px;border:1px solid color-mix(in srgb,var(--place-color) 85%,#112d21);background:color-mix(in srgb,var(--place-color) 38%,#112d21c9);text-shadow:0 1px 4px #0009;box-shadow:0 3px 10px #0002}
.place-shortcuts :is(button,a):before{content:none}
.place-shortcuts :is(button,a)[aria-pressed=true]{border-color:#f1e4c9;background:color-mix(in srgb,var(--place-color) 66%,#112d21e8);box-shadow:0 0 0 1px #f1e4c94d}
.place-shortcuts :is(button,a):hover{background:color-mix(in srgb,var(--place-color) 58%,#112d21)}
.place-shortcuts[data-category=golf]{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d6bd8277 transparent;padding-bottom:3px}
.place-shortcuts[data-category=golf] :is(button,a){flex:0 0 auto;max-width:125px;white-space:nowrap}
.has-place .leaflet-tooltip{display:none}
@media(min-width:800px){.map-dock{width:440px}.place-shortcuts[data-category=golf]{left:-165px;right:-165px;justify-content:center}.place-shortcuts[data-category=golf] :is(button,a){flex:1}.dock-actions #category-toggle{justify-content:center}#category-label{font-size:14px}}
@media(max-width:350px){.dock-actions>button{padding-inline:5px}.dock-actions #enter-palmer{padding-left:10px;font-size:13px}.dock-actions #category-toggle svg{display:none}.map-dock{max-width:calc(100% - 24px)}.place-shortcuts :is(button,a){font-size:11px;padding-inline:3px}}

#enter-palmer.at-detail-limit{box-shadow:inset 0 0 0 1px #c9ad70;border-radius:6px;background:#c9ad701a}

.place-shortcuts :is(button,a)[data-location=infra-hospital],.place-shortcuts :is(button,a)[data-location=infra-hospital]:hover,.place-shortcuts :is(button,a)[data-location=infra-hospital][aria-pressed=true]{background:#9A7B8Cd9;border:2px solid #5E3A5A}.place-shortcuts :is(button,a)[data-location=infra-hospital][aria-pressed=true]{box-shadow:0 0 0 1px #9A7B8C}

.place-shortcuts :is(button,a)[data-location=infra-hospital][aria-pressed=true]{border-color:#f1e4c9;box-shadow:0 0 0 1px #f1e4c94d}

/* Palmer is always findable: its mark sits inside the node, which grows when the
   camera pulls back and shrinks when close; an edge bubble appears when out of view. */
.map-node.hero>span{width:var(--palmer-size,24px);height:var(--palmer-size,24px);border:2px solid #d9b25f;background:#112d21 url('palmer-mark-gold.svg') center/58% no-repeat;box-shadow:0 0 0 1.5px #3d3019,0 2px 6px #12301e99;transition:transform .18s,width .25s,height .25s,box-shadow .25s}
.palmer-far .map-node.hero>span{border-width:2.5px;box-shadow:0 0 0 1.5px #3d3019,0 0 0 6px #e7d0a02e,0 0 22px 7px #f3d99a59}
.palmer-near .map-node.hero>span{border-width:1.5px}
.palmer-compass{position:absolute;z-index:840;left:0;top:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:0;padding:0;border:1px solid #d9b25fcc;border-radius:50%;background:#112d21eb;box-shadow:0 4px 14px #0004;transform:translate(-50%,-50%);transition:opacity .2s}
.palmer-compass:after{content:'';position:absolute;inset:-4px}
.palmer-compass>img{height:22px;width:21.3px}
.camera-moving .palmer-compass,.categories-open .palmer-compass,body[data-active=false] .palmer-compass{opacity:0;pointer-events:none}
/* Node pulse runs on the compositor; script only marks which rings pulse. */
@keyframes node-pulse{0%{opacity:0;transform:scale(1)}15%{opacity:.75}80%{opacity:0;transform:scale(2.05)}100%{opacity:0;transform:scale(2.05)}}
.pulses .node-ring[data-pulsing=true]{animation:node-pulse 2.7s linear infinite}
body[data-active=false] .node-ring{animation-play-state:paused}

/* Desktop nodes read at desktop distance. */
@media(min-width:901px){.map-node>span{width:12px;height:12px}.map-node:not(.hero).is-highlighted>span{width:17px;height:17px}}

/* Scrolling shortcut row: no scrollbar line; a soft fade shows there is more. */
.place-shortcuts[data-category=golf]{scrollbar-width:none;padding-bottom:0;scroll-snap-type:x proximity}
.place-shortcuts[data-category=golf]::-webkit-scrollbar{display:none}
.place-shortcuts[data-category=golf] :is(button,a){scroll-snap-align:start}
.place-shortcuts.more-right{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent)}
.place-shortcuts.more-left{-webkit-mask-image:linear-gradient(90deg,transparent,#000 48px);mask-image:linear-gradient(90deg,transparent,#000 48px)}
.place-shortcuts.more-left.more-right{-webkit-mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent)}

/* Bottom bar: Step Inside (quiet, left) and Explore (primary, right, under the
   thumb), each centred. Same order on every device. */
.dock-actions{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:6px}
.dock-actions>button{justify-content:center;min-width:0}
.dock-actions #enter-palmer{border:0;border-radius:9px;padding:8px 10px;margin:0;font-size:14px}
.dock-actions #category-toggle{justify-content:center;text-align:center;border:1px solid #dec48a59;border-radius:10px;background:#dec48a0d}
.dock-actions #category-toggle:hover,.dock-actions #category-toggle[aria-expanded=true]{background:var(--raised)}
.dock-actions #category-toggle svg{color:var(--gold)}

/* Phones: while a place card is open its buttons fade out; the card uses their
   space and steps through the category with its own � � controls. */
.place-shortcuts{transition:opacity .2s}
.phone-layout.has-place .place-shortcuts{opacity:0;visibility:hidden;pointer-events:none}

/* Removed 30 Sep: the gold flight line read as a glitch above the phone place buttons. */
.camera-transition>span{display:none}
/* During a compositor flight, hover labels stay out of the way. */
.is-flying .leaflet-tooltip{opacity:0!important}
/* Desktop golf row: each button fits its full name (no clipping); the row stays
   centred on the bar and scrolls with soft edges only if the window is narrow. */
@media(min-width:800px){
 .place-shortcuts[data-category=golf]{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 48px);justify-content:flex-start}
 .place-shortcuts[data-category=golf] :is(button,a){flex:0 0 auto;max-width:none;padding-inline:14px}
}
/* The Explore panel heading is gold (Erwin, 11 November 2026). */
.category-heading h2{color:var(--gold)}

/* Destination links retain the existing shortcut appearance and open the same card. */
.place-shortcuts a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:inherit;font-family:inherit;font-weight:500;text-decoration:none;cursor:pointer;touch-action:manipulation}
.place-shortcuts a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
