:root{--ink:#273a32;--green:#2e6654;--light:#f5f4ee;--muted:#748079;--border:#dde2d9;--orange:#b96735;--blue:#477c9b;--favorite:#ec4899}*{box-sizing:border-box}body{margin:0;background:var(--light);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dfaa60;outline-offset:3px}button{border:1px solid var(--border);background:#fff;border-radius:9px;padding:9px 12px}a{color:var(--green)}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--border);background:#faf9f4;gap:15px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:21px;font-weight:650;letter-spacing:-.6px}.brand em{font-style:normal;font-weight:400;color:var(--muted);margin-left:8px}.brand-icon{display:grid;place-items:center;background:var(--green);color:var(--light);width:38px;height:38px;border-radius:13px;font-size:30px}.header-right{display:flex;align-items:center;gap:16px}.private-label{font-size:12px;color:var(--muted)}.segmented{display:flex;border:1px solid var(--border);border-radius:10px;padding:3px;background:#ebece5}.segmented button{background:none;border:0;font-size:12px;padding:7px 12px;border-radius:7px}.segmented button.active{background:#fff;box-shadow:0 1px 3px #0000000d;color:var(--green);font-weight:700}.icon-btn{width:32px;height:32px;border-radius:50%;padding:0;display:grid;place-items:center}main{display:grid;grid-template-columns:minmax(0,1fr) 390px;height:calc(100dvh - 76px)}.map-wrap{position:relative;min-width:0;overflow:hidden}#map{width:100%;height:100%;background:#e6ece8}.map-top{position:absolute;left:22px;right:22px;top:20px;z-index:700;pointer-events:none;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.map-title{background:#faf9f3ee;padding:14px 18px;border-radius:13px;box-shadow:0 5px 20px #283b3010}.map-title strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:21px;margin-top:5px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted)}.map-actions{pointer-events:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:260px}.map-actions button{box-shadow:0 3px 12px #0000000a;background:#faf9f4ef;font-size:12px}.map-legend{position:absolute;left:22px;top:104px;z-index:700;display:flex;gap:14px;padding:8px 11px;background:#faf9f3ed;border-radius:8px;font-size:10px;color:#56645d}.map-legend span{display:flex;align-items:center;gap:5px}.line{width:17px;height:3px;background:var(--green);display:block}.dot{width:7px;height:7px;border-radius:50%;background:var(--orange);display:block}.weather-dot{background:var(--blue)}.position-dock{position:absolute;z-index:750;bottom:25px;left:50%;transform:translateX(-50%);width:min(530px,calc(100% - 44px));padding:17px 22px;background:#faf9f4f5;border:1px solid #fff;border-radius:18px;box-shadow:0 8px 35px #213b3020;backdrop-filter:blur(8px)}.dock-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.dock-heading strong{display:block;font-size:18px;font-weight:600;letter-spacing:-.5px;margin-top:4px}.position-dock p{font-size:11px;color:var(--muted);margin:8px 0 10px}.text-btn{border:0;background:none;color:var(--green);padding:5px;font-size:11px}.slider-line{display:flex;align-items:center;gap:12px}.slider-line button{border:0;border-radius:50%;width:28px;height:28px;background:#e7ebe2;padding:0;font-size:18px}.slider-line input{width:100%;accent-color:var(--green);cursor:ew-resize;min-width:0}.dock-bottom{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:7px}.leaflet-control-zoom{margin-top:158px!important}.leaflet-bar{border:0!important;box-shadow:0 3px 14px #0002!important}.leaflet-control-attribution{font-size:9px!important}.leaflet-popup-content-wrapper{border-radius:13px;color:var(--ink)}.leaflet-popup-content{margin:14px 18px;font-size:12px;line-height:1.5}.leaflet-popup-content h3{margin:0 0 5px;font-size:14px}.stay-pin{background:none;border:0}.pin-price{position:relative;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 10px;background:#fff;border:1.5px solid var(--orange);color:#894d2c;border-radius:14px;font-size:11px;font-weight:700;box-shadow:0 3px 10px #0002;transform:translateX(-50%)}.pin-price:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);width:7px;height:7px;background:#fff;border-right:1.5px solid var(--orange);border-bottom:1.5px solid var(--orange);transform:rotate(45deg)}.stay-pin.selected .pin-price{background:var(--orange);color:#fff}.stay-pin.selected .pin-price:after{background:var(--orange)}.rider-icon{background:none;border:0}.rider{width:44px;height:44px;display:grid;place-items:center;border:0;background:none;border-radius:50%;box-shadow:0 0 0 5px #2e665422,0 3px 12px #153b3545;cursor:grab}.rider:active{cursor:grabbing}.forecast-pin{border:0;background:none}.forecast-tag{display:inline-flex;flex-direction:column;gap:2px;white-space:nowrap;background:#fff;border:1px solid #a5bcc8;border-radius:10px;padding:6px 9px;box-shadow:0 3px 12px #0002;font-size:10px;color:#315a72}.forecast-tag .day{font-size:9px;font-weight:700;letter-spacing:.3px}.forecast-tag .wind-row{display:flex;gap:5px;align-items:center;font-size:10px}.wind-arrow{display:inline-block;transform-origin:center;font-size:17px;line-height:18px;color:var(--blue)}.city-label{font-size:10px;color:#3b4c43;background:#f8f9f0b8;border-radius:4px;padding:2px 4px;white-space:nowrap}.leaflet-tooltip.city-label{border:0;box-shadow:none}.leaflet-tooltip.city-label:before{display:none}aside{border-left:1px solid var(--border);overflow-y:auto;background:var(--light)}.tabs{position:sticky;top:0;z-index:10;display:flex;background:#f5f4eef7;backdrop-filter:blur(8px);border-bottom:1px solid var(--border);padding:0 20px}.tabs button{width:50%;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:18px 0;font-size:12px;color:var(--muted)}.tabs button.active{color:var(--green);border-color:var(--green);font-weight:700}.tabs span{font-size:10px;background:#e4e8dd;padding:2px 5px;border-radius:5px;margin-left:3px}aside section{padding:23px 21px}.panel-intro h1{font-family:Georgia,serif;font-size:27px;line-height:1.15;font-weight:400;margin:8px 0 10px;letter-spacing:-.7px}.panel-intro p{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:18px}.booking-controls{display:grid;grid-template-columns:1fr 110px;gap:10px}.booking-controls label{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.booking-controls input,.booking-controls select{width:100%;background:#fff;border:1px solid var(--border);border-radius:8px;padding:9px;color:var(--ink);font-size:12px;min-width:0}.filter-row{margin:12px 0 18px;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.filter-row label{font-size:10px;display:flex;align-items:center;gap:3px;color:var(--muted)}.filter-row input{accent-color:var(--green)}.filter-row select{font-size:10px;border:0;color:var(--muted);background:transparent;padding:0}.stay-card{border:1px solid var(--border);background:#fff;border-radius:15px;overflow:hidden;margin-bottom:15px;transition:box-shadow .2s,border-color .2s}.stay-card.selected{border-color:var(--orange);box-shadow:0 3px 18px #8c572018}.photo-button{display:block;position:relative;width:100%;padding:0;border:0;border-radius:0;height:148px;background:#dbe2d7;overflow:hidden}.photo-button img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.photo-button:hover img{transform:scale(1.025)}.photo-caption{position:absolute;bottom:9px;left:12px;font-size:9px;color:#fff;background:#20382bbd;border-radius:5px;padding:4px 6px;max-width:90%}.card-body{padding:14px 15px}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.card-heading h2{font-family:Georgia,serif;font-weight:400;font-size:20px;line-height:1.15;margin:0 0 5px;letter-spacing:-.4px}.place-name{color:var(--muted);font-size:10px}.number{font-size:10px;color:var(--orange);background:#f8eee6;padding:5px 7px;border-radius:50%;flex-shrink:0}.description{font-size:11px;line-height:1.6;color:#65716a;margin:11px 0}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:11px}.tag{font-size:9px;padding:4px 6px;background:#eff2eb;border-radius:5px;color:#59705f}.room-select{font-size:11px;width:100%;padding:7px 8px;background:#f8f8f4;border:1px solid var(--border);border-radius:7px;margin-bottom:12px}.prices{display:flex;align-items:baseline;gap:6px}.price-main{font-size:23px;letter-spacing:-.7px;font-weight:600}.price-unit{font-size:10px;color:var(--muted)}.price-extra{font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}.budget-note{color:var(--orange);font-size:9px;margin-top:5px}.distance{display:flex;align-items:baseline;justify-content:space-between;gap:5px;border-top:1px solid #edf0e8;margin-top:12px;padding-top:10px;font-size:11px;color:var(--green)}.distance strong{font-size:18px;font-weight:600}.detour{color:var(--muted);font-size:10px}.card-links{display:flex;gap:8px;align-items:center;margin-top:12px}.card-links a{text-decoration:none;font-size:10px;padding:7px 9px;border:1px solid var(--border);border-radius:7px}.card-links a.primary{color:#fff;background:var(--green);border-color:var(--green)}.card-links button{margin-left:auto;border:0;background:transparent;font-size:10px;padding:4px;color:var(--muted)}.small{font-size:10px;color:var(--muted);line-height:1.6}.panel-foot{margin:18px 0 6px}.source-link{font-size:10px;text-decoration:none}.weather-tools{display:flex;align-items:center;justify-content:space-between;gap:8px}.weather-explain{margin:11px 0 17px}.weather-card{border:1px solid var(--border);border-radius:13px;padding:15px;margin-bottom:12px;background:#fff}.weather-card-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.weather-card-header h2{font-size:15px;margin:0 0 4px}.weather-card-header p{font-size:10px;margin:0;color:var(--muted)}.distance-badge{font-size:10px;color:var(--blue);background:#edf3f5;border-radius:6px;padding:5px}.weather-period{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.weather-period>div{padding:10px;background:#f6f8f5;border-radius:9px;min-width:0}.period-label{font-size:9px;font-weight:700;letter-spacing:.5px;color:var(--muted);margin-bottom:7px}.temp{font-size:17px;letter-spacing:-.5px;margin-bottom:5px}.rain-row{font-size:11px;color:var(--blue);margin-bottom:4px}.rain-note{font-size:9px;color:var(--muted);margin-bottom:8px}.wind-details{font-size:10px;line-height:1.5;display:flex;align-items:center;gap:4px}.wind-description{font-size:9px;color:var(--muted);margin-top:4px}.weather-loading{font-size:11px;line-height:1.5;color:var(--muted);padding:18px 0}.empty-state{padding:25px 10px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}#map-message{position:absolute;bottom:195px;left:22px;z-index:700;font-size:11px;max-width:300px;background:#faf9f4f0;border-radius:8px;padding:10px;display:none}dialog{width:min(590px,calc(100% - 32px));border:0;border-radius:20px;padding:0;color:var(--ink);box-shadow:0 20px 80px #0004;background:#faf9f4;max-height:85dvh}dialog::backdrop{background:#183e2f66;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;padding:19px 24px;border-bottom:1px solid var(--border)}.dialog-top h2{font-family:Georgia,serif;font-weight:400;margin:0;font-size:26px}.dialog-body{padding:5px 24px 25px;overflow-y:auto;max-height:65dvh}.dialog-body h3{font-size:13px;margin-top:22px}.dialog-body p,.dialog-body a{font-size:11px;line-height:1.7}.dialog-body p{color:#68766d}
@media(min-width:1450px){main{grid-template-columns:minmax(0,1fr) 420px}aside section{padding:26px}header{padding:0 32px}.photo-button{height:175px}}@media(max-width:1050px){main{grid-template-columns:minmax(0,1fr) 350px}.map-top{display:block}.map-actions{margin-top:8px;max-width:none;justify-content:flex-start}.map-title{display:inline-block}.map-legend{top:141px}.leaflet-control-zoom{margin-top:180px!important}.map-title strong{font-size:18px}}@media(max-width:720px){header{height:62px;padding:0 13px}.brand{font-size:16px;gap:7px}.brand em{margin-left:4px}.brand-icon{width:29px;height:29px;border-radius:10px;font-size:24px}.private-label{display:none}.header-right{gap:6px}.currencies button{padding:6px 8px;font-size:10px}main{display:flex;flex-direction:column;height:auto}.map-wrap{height:61dvh;min-height:385px}.map-top{top:12px;left:12px;right:12px}.map-title{padding:10px 12px}.map-title strong{font-size:18px}.map-title .eyebrow{font-size:8px}.map-actions button{padding:7px 10px;font-size:10px}.map-legend{left:12px;top:123px;font-size:9px;gap:10px}.position-dock{bottom:20px;width:calc(100% - 24px);padding:12px 15px;border-radius:14px}.dock-heading strong{font-size:15px}.dock-heading .eyebrow{font-size:9px}.position-dock p{font-size:10px;margin:7px 0}.leaflet-control-zoom{margin-top:157px!important}.leaflet-control-attribution{font-size:7px!important}aside{border-left:0;overflow:visible}.tabs{position:sticky;top:0}.tabs button{padding:16px 0}aside section{padding:20px 16px}.panel-intro h1{font-size:26px}.photo-button{height:195px}.stay-card{margin-bottom:18px}.card-body{padding:16px}.card-heading h2{font-size:23px}.description{font-size:12px}.forecast-tag{padding:4px 6px;font-size:9px}.forecast-tag .wind-row{font-size:9px}.pin-price{font-size:10px;padding:6px 8px}#map-message{bottom:170px;left:12px}.booking-controls{grid-template-columns:1fr 1fr}.weather-period>div{padding:13px}.weather-period{gap:10px}.weather-card{padding:17px}.dialog-top{padding:18px}.dialog-body{padding:4px 18px 20px}}

.map-actions button.tracking{background:var(--green);color:#fff;border-color:var(--green)}
@media(max-width:720px){.map-legend{top:148px}.leaflet-control-zoom{margin-top:181px!important}.map-wrap{min-height:420px}}

@media(max-width:720px){.map-wrap{min-height:480px}}

.header-menu,.sheet-heading,.mobile-panel-launcher{display:none}
.overlay-toolbar{display:flex;align-items:flex-start;gap:7px;pointer-events:auto}
.map-tools{position:relative}.map-tools summary,#toggle-overlays{list-style:none;background:#faf9f4f5;border:1px solid var(--border);border-radius:9px;padding:9px 11px;font-size:12px;cursor:pointer;box-shadow:0 3px 14px #00000010}.map-tools summary::-webkit-details-marker{display:none}.map-tools .map-actions{position:absolute;right:0;top:42px;width:200px;max-width:200px;display:grid;grid-template-columns:1fr;background:#faf9f4;padding:8px;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px #0002;margin:0}.map-tools:not([open]) .map-actions{display:none}.map-actions button{min-height:36px;font-size:12px}.map-legend{display:none}
.position-dock{width:min(350px,calc(100% - 24px));padding:0;bottom:22px}.position-dock>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:12px 16px;font-size:14px}.position-dock>summary::-webkit-details-marker{display:none}.position-dock>summary strong{font-size:14px;font-weight:600}.dock-chevron{margin-left:auto}.position-dock[open] .dock-chevron{transform:rotate(180deg)}.route-controls-body{padding:0 16px 14px}.route-controls-body .dock-heading{align-items:center}.route-controls-body p{font-size:11px;line-height:1.4}.popup-details{font-size:12px;margin-top:7px;padding:7px 9px;color:var(--green);background:#f0f4ec}.leaflet-popup-content{margin:12px 15px;line-height:1.5}.leaflet-popup-content h3{font-size:15px;font-weight:600;margin-bottom:5px}
.overlays-hidden .map-tools,.overlays-hidden .position-dock,.overlays-hidden .map-title,.overlays-hidden .map-legend{display:none}.map-tools:not([open]) .map-actions{pointer-events:none}
@media(max-width:720px){
 body{overflow:hidden}header{height:58px;padding:0 10px;gap:8px}.brand{font-size:16px;gap:6px}.brand-icon{width:27px;height:27px;font-size:22px}.brand em{display:none}.header-right{gap:6px}.currencies button{font-size:11px;padding:7px 7px}.header-menu{display:inline-flex;align-items:center;min-height:34px;padding:7px 9px;font-size:12px;white-space:nowrap;background:var(--green);color:#fff;border-color:var(--green)}.icon-btn{width:30px;height:30px}
 main{display:block;height:calc(100dvh - 58px);position:relative}.map-wrap{height:100%;min-height:0}.map-top{left:auto;right:10px;top:10px;display:block}.map-title{display:none}.map-tools summary,#toggle-overlays{font-size:11px;padding:8px 9px;min-height:34px}.overlay-toolbar{gap:6px}.map-tools .map-actions{width:170px;max-width:170px;top:40px;gap:5px}.map-actions button{font-size:12px;padding:8px;min-height:36px}.map-legend{display:none}.leaflet-control-zoom{margin-top:10px!important}.leaflet-control-zoom a{width:30px!important;height:30px!important;line-height:30px!important}.leaflet-control-attribution{font-size:9px!important}.position-dock{bottom:calc(25px + env(safe-area-inset-bottom));width:auto;min-width:215px;max-width:calc(100% - 24px);border-radius:12px}.position-dock>summary{padding:10px 13px;font-size:13px;white-space:nowrap}.position-dock>summary strong{font-size:13px}.position-dock[open]{width:calc(100% - 24px);max-width:350px}.route-controls-body{padding:0 14px 12px}.route-controls-body .eyebrow{font-size:9px}.route-controls-body .text-btn{font-size:11px}.route-controls-body p{font-size:11px}.slider-line button{width:28px;height:28px;font-size:18px}.dock-bottom{font-size:10px}
 #details-panel{position:absolute;z-index:1100;inset:auto 0 0;height:min(76dvh,calc(100% - 12px));overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--border);border-bottom:0;border-radius:18px 18px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 35px #203d3029;transform:translateY(105%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s}.panel-open #details-panel{transform:translateY(0);visibility:visible;pointer-events:auto}.sheet-heading{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:12;height:50px;background:var(--light);padding:10px 16px;border-bottom:1px solid var(--border);font-size:13px;font-weight:600}.sheet-heading button{font-size:12px;min-height:32px;padding:7px 10px}.tabs{top:50px}.tabs button{font-size:13px;padding:14px 0}aside section{padding:18px 16px}
 .compact-pin .pin-price{font-size:12px;width:26px;height:26px;padding:0;background:#fff;border-width:2px;border-radius:50%}.compact-pin .pin-price:after{display:none}.compact-weather{flex-direction:row;align-items:center;gap:5px;padding:5px 7px;border-radius:14px;font-size:11px}.compact-weather .day{font-size:10px;letter-spacing:0}.compact-weather .wind-row{display:none}.leaflet-popup-content{font-size:12px}.leaflet-popup-content h3{font-size:14px}.leaflet-popup-content-wrapper{max-width:265px}#map-message{bottom:85px;font-size:11px}
}
@media(max-width:340px){.brand>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){#details-panel{transition:none}}

/* Compact foliage layer and third panel tab. */
.tabs button{flex:1;width:auto}.tabs{gap:10px}
#toggle-fall{background:#faf9f4f5;padding:9px 11px;font-size:12px;box-shadow:0 3px 14px #00000010;white-space:nowrap}#toggle-fall[aria-pressed="true"]{color:#9a4e27;background:#fff2e5;border-color:#d9b393}
.fall-pin{background:none;border:0}.fall-pin>span{display:grid;place-items:center;width:28px;height:28px;background:#fff7eb;border:1.5px solid #bf7849;border-radius:50%;font-size:16px;box-shadow:0 2px 6px #0002}
.fall-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px}.fall-controls label{display:flex;gap:5px;align-items:center}.fall-controls input{accent-color:#ad6231}.fall-controls select{border:1px solid var(--border);border-radius:7px;background:#fff;padding:7px;font-size:11px;max-width:55%}
.fall-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:15px;margin-top:12px;scroll-margin-top:110px}.fall-card-heading{display:flex;align-items:flex-start;gap:9px;justify-content:space-between}.fall-card h2{font-family:Georgia,serif;font-size:20px;font-weight:400;line-height:1.2;margin:0 0 5px}.fall-card-heading button{flex-shrink:0;font-size:10px;padding:5px 7px;color:var(--green)}.fall-peak{display:flex;align-items:center;gap:10px;background:#fbf1e7;border-radius:8px;padding:10px;margin:12px 0 8px}.fall-peak span{font-size:10px;color:#9b643d;white-space:nowrap}.fall-peak strong{font-size:16px;font-weight:600;color:#8e4824}.fall-basis{font-size:9px;color:#7a6958}.fall-basis.published{color:var(--green)}.fall-distance{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--border);padding-top:11px;font-size:10px;color:var(--muted)}.fall-distance strong{font-size:12px;color:var(--green);font-weight:600}.fall-card .card-links{flex-wrap:wrap;gap:5px}.fall-card .card-links a{padding:6px 7px}
@media(max-width:720px){#toggle-fall{padding:8px 9px;font-size:11px;min-height:34px}.tabs{gap:8px;padding:0 16px}.tabs button{font-size:12px}.fall-card h2{font-size:21px}.fall-card .description{font-size:12px}.fall-card{scroll-margin-top:110px}.fall-peak strong{font-size:16px}}

.pin-price{max-width:110px}.maplibregl-canvas-container{pointer-events:none}.price-main{font-size:21px}.price-unit{flex-shrink:0}.prices{flex-wrap:wrap}.maplibregl-map{font:inherit}

/* A clear touring cyclist, with a compact GPS control in the marker dock. */
.rider{background:none}
#live-location{flex-shrink:0;min-height:36px;padding:7px 9px;font-size:11px;white-space:nowrap;border-color:#c9d9ce;background:#f0f5ee;color:var(--green)}#live-location.tracking{background:var(--green);border-color:var(--green);color:#fff}

/* Passport booths use small red squares, with a separate cluster layer. */
.stamp-pin,.stamp-cluster{background:none;border:0}.stamp-pin>span{display:grid;place-items:center;width:26px;height:26px;border:2px solid #fff;border-radius:7px;background:#e52420;color:white;font-size:11px;font-weight:700;box-shadow:0 2px 7px #0003}.stamp-pin.extra>span{background:#fff;color:#963b3f;border-color:#e52420;font-size:8px}.stamp-cluster>span{display:flex;flex-direction:column;align-items:center;justify-content:center;width:38px;height:38px;background:#e52420;color:white;border:2px solid white;border-radius:9px;box-shadow:0 2px 8px #0003}.stamp-cluster strong{font-size:14px;line-height:16px}.stamp-cluster small{font-size:8px;line-height:10px}#toggle-stamps[aria-pressed="true"]{color:#963b3f;background:#f9eeee;border-color:#d9b2b2}
.stamp-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:16px}.stamp-controls label{display:flex;align-items:center;gap:5px}.stamp-controls input{accent-color:#e52420}.stamp-controls select{border:1px solid var(--border);border-radius:7px;background:#fff;padding:7px;font-size:11px;max-width:52%}.stamp-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:13px;margin-bottom:10px;scroll-margin-top:110px}.stamp-card-heading{display:flex;align-items:flex-start;gap:9px}.stamp-card-heading>div{flex:1;min-width:0}.stamp-card h2{font-size:15px;line-height:1.25;margin:0 0 4px;font-weight:600}.stamp-card-heading button{font-size:10px;white-space:nowrap;padding:5px 7px;color:var(--green)}.stamp-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#e52420;color:#fff;border-radius:7px;font-weight:700;font-size:11px}.stamp-number.extra{background:#f9eeee;color:#963b3f;font-size:8px}.stamp-distance{font-size:11px;line-height:1.5;color:var(--green);margin:12px 0 6px}.stamp-card .card-links{margin-top:9px;flex-wrap:wrap}.stamp-popup-kind{font-size:10px;font-weight:600;color:#963b3f}
@media(max-width:720px){.tabs{gap:5px;padding:0 12px}.tabs button{font-size:12px}.stamp-card h2{font-size:15px}.stamp-card .description{font-size:11px}}

/* Individual stamp dots stay separate at every scale. */
.stamp-pin.stamp-dot>span,.stamp-pin.stamp-dot.extra>span{width:8px;height:8px;margin:2px;border:1px solid white;border-radius:50%;background:#e52420;box-shadow:0 1px 3px #0005;font-size:0}.stamp-pin:not(.stamp-dot)>span{background:#e52420;color:#fff;border:2px solid white;font-size:10px}.stamp-pin:not(.stamp-dot).extra>span{font-size:9px}
.route-select-row{display:flex;align-items:center;gap:9px;margin:9px 0}.route-select-row label{font-size:11px;color:var(--muted);flex-shrink:0}.route-select-row select{min-width:0;flex:1;font-size:12px;padding:7px 8px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--green)}.return-main{padding:4px 0 8px!important}.route-tag{font-size:10px;color:var(--muted);margin:5px 0}.dock-bottom{gap:7px}.dock-bottom>span:nth-child(2){text-align:center}.dock-bottom>span:last-child{text-align:right}.dock-bottom>span{min-width:0}

/* Convenience stores form a quiet layer beneath passport booths and the rider. */
.store-pin{background:none;border:0}.store-pin>span{display:flex;align-items:center;justify-content:center;width:32px;height:24px;background:var(--store-color);border:1.5px solid #fff;border-radius:6px;box-shadow:0 1px 5px #0003;font-size:9px;font-weight:700;color:#fff}.store-pin.store-dot>span{width:8px;height:8px;border-radius:50%;margin:1px;font-size:0}#toggle-stores[aria-pressed="true"]{background:#eaf4f4;color:#326671;border-color:#b8d5d9}.store-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.store-controls label{font-size:11px;display:flex;gap:5px;flex-wrap:wrap;align-items:center}.store-controls select,.store-controls input[type="search"]{width:100%;font-size:12px;background:#fff;border:1px solid var(--border);border-radius:7px;padding:9px;min-width:0}.store-controls input[type="checkbox"]{accent-color:#427c88}.store-card{padding:13px;background:#fff;border:1px solid var(--border);border-radius:12px;margin:10px 0;scroll-margin-top:110px}.store-card.selected{border-color:#427c88}.store-card-heading{display:flex;gap:9px;align-items:flex-start}.store-card-heading>div{flex:1;min-width:0}.store-card h2{font-size:14px;line-height:1.3;margin:0 0 4px;overflow-wrap:anywhere}.store-card-heading button{flex-shrink:0;font-size:10px;padding:6px 8px}.store-badge{font-size:9px;font-weight:700;flex-shrink:0;color:#fff;background:var(--store-color);border-radius:5px;padding:5px 6px;max-width:55px}.store-native,.store-source{font-size:10px;line-height:1.4;color:var(--muted)}.store-distance{display:flex;flex-direction:column;gap:4px;font-size:11px;margin:10px 0;color:#326671}.store-distance span{font-size:10px;color:var(--muted)}.store-card .card-links{flex-wrap:wrap;gap:5px}.store-card .card-links a{font-size:10px;padding:6px 8px}.store-card .small{overflow-wrap:anywhere}.store-search-label{align-self:end}#more-stores{padding:10px 0}#stores-tab span{font-size:9px;color:var(--muted)}
@media(max-width:720px){.tabs{overflow-x:auto;gap:0;scrollbar-width:thin}.tabs button{min-width:65px;flex:1 0 auto;padding:13px 8px;font-size:11px}#stores-tab span{display:none}.store-card h2{font-size:14px}.store-controls{gap:10px}.store-card{scroll-margin-top:105px}}

.store-wide{grid-column:1/-1}

/* Individual amenities remain visible without numeric clusters. */
.stay-pin.stay-dot>span{display:block;width:8px;height:8px;margin:2px;background:var(--orange);border:1px solid white;border-radius:50%;box-shadow:0 1px 4px #0004}.stay-pin.stay-dot.selected>span{box-shadow:0 0 0 3px #b9673540,0 1px 4px #0004}
.toilet-pin{background:none;border:0}.toilet-pin>span{display:grid;place-items:center;width:26px;height:24px;background:#1359dd;color:white;border:1.5px solid white;border-radius:6px;font-size:9px;font-weight:700;box-shadow:0 1px 5px #0003}.toilet-pin.toilet-dot>span{width:8px;height:8px;margin:1px;border-radius:50%;font-size:0}#toggle-toilets[aria-pressed="true"]{color:#1359dd;background:#eef0f9;border-color:#c7cde5}.toilet-card.selected{border-color:#1359dd}#more-toilets{padding:10px 0}#toilets-tab span{font-size:9px;color:var(--muted)}
.tabs{overflow-x:auto;scrollbar-width:thin}.tabs button{flex:0 0 auto;min-width:54px;white-space:nowrap;padding-left:4px;padding-right:4px}

.service-pin{background:none;border:0}.service-pin>span{display:grid;place-items:center;width:26px;height:24px;background:var(--service-color);color:white;border:1.5px solid white;border-radius:6px;font-size:13px;font-weight:700;box-shadow:0 1px 5px #0003}.service-pin.service-dot>span{width:8px;height:8px;margin:1px;border-radius:50%;font-size:0}#toggle-water[aria-pressed="true"]{background:#e9f5fa;color:#00bcd4;border-color:#bddce8}#toggle-bikes[aria-pressed="true"]{background:#eef1f1;color:#111111;border-color:#cad3d3}.service-card.selected{border-color:#00bcd4}#more-services{padding:10px 0}.weather-distance-controls{margin-top:8px;grid-template-columns:1fr 1fr}
.essentials-strip{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;margin:8px 0 14px}.essential-chip{flex:1;min-width:0;text-align:left;border:0;border-radius:8px;padding:6px;background:#fff;color:var(--green)}.essential-chip>span{display:block;font-size:9px;font-weight:600;color:var(--muted);margin-bottom:3px}.essential-chip>strong{display:block;font-size:11px;font-weight:650;line-height:1.2}.essential-chip.water{border-top:2px solid #00bcd4}.essential-chip.store{border-top:2px solid #427c88}.essential-chip.toilet{border-top:2px solid #1359dd}.essential-chip.bike{border-top:2px solid #111111}.essential-chip:disabled{cursor:default;background:#f4f5f1}.essential-chip:disabled>strong{font-size:9px;font-weight:400;color:var(--muted)}.overlays-hidden .essentials-strip{display:none}
.elevation-range-label{display:flex;align-items:center;gap:10px;font-size:12px}.elevation-range-label select{margin-left:auto;border:1px solid var(--border);background:white;border-radius:7px;padding:9px;font-size:12px}.elevation-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.elevation-stats>div{border:1px solid var(--border);background:white;border-radius:10px;padding:11px}.elevation-stats span,.elevation-stats small{display:block;font-size:10px;color:var(--muted)}.elevation-stats strong{display:block;font-size:18px;font-weight:600;color:var(--green);margin-top:5px}.elevation-chart{background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px 0;cursor:crosshair}.elevation-chart svg{display:block;width:100%;height:auto}.elevation-chart text{font-size:11px;fill:#748079}#elevation-cursor{width:100%;accent-color:var(--blue);margin-top:10px}#elevation-climbs h2{font-size:14px;margin-top:20px}.elevation-climb{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;padding:12px;background:#fff;border:1px solid var(--border);border-radius:9px;margin:7px 0;font-size:11px}.elevation-climb small{flex-basis:100%;color:var(--muted)}
@media(max-width:720px){.essentials-strip{gap:7px}.essential-chip{padding:6px 5px}.essential-chip>strong{font-size:10px}.tabs button{min-width:58px}.tabs{gap:8px}.elevation-stats strong{font-size:19px}}

/* Category colors and map-layer controls. */
.map-tools .map-actions{max-height:min(65dvh,480px);overflow-y:auto;overscroll-behavior:contain}
#toggle-stays[aria-pressed="true"]{background:#fff2e5;color:#9a4e27;border-color:#d9b393}
#toggle-stores[aria-pressed="true"]{background:#fbedf5;color:#a3256d;border-color:#e6b9d1}.essential-chip.store{border-top-color:#159447}.store-card.selected:not(.toilet-card):not(.service-card){border-color:#159447}

.dock-next-stops{padding-top:3px}.route-controls-body{max-height:min(65dvh,470px);overflow-y:auto;overscroll-behavior:contain}.position-dock:not([open]) .route-controls-body{display:none}.dock-next-stops .essential-chip{min-height:45px;padding:8px 10px}.dock-next-stops .essential-chip>strong{font-size:12px}

/* Strong, consistent colors for every point category. */
:root{--stay-color:#f2c500;--store-color:#159447;--water-color:#00bcd4;--toilet-color:#1359dd;--bike-color:#111111;--stamp-color:#e52420;--fall-color:#e58b2a}
.stay-pin .pin-price,.stay-pin.selected .pin-price{background:var(--stay-color);color:#27220a;border-color:#fff;box-shadow:0 0 0 1px #5b4d19,0 3px 10px #0002}.stay-pin .pin-price:after,.stay-pin.selected .pin-price:after{background:var(--stay-color);border-color:#5b4d19}.stay-pin.stay-dot>span{background:var(--stay-color);border-color:#51440b;box-shadow:0 0 0 1px #fff,0 1px 4px #0004}.stay-pin.stay-dot.selected>span{box-shadow:0 0 0 1px #fff,0 0 0 4px #f2c50060}.stay-card.selected{border-color:#b39800}.stay-card .number{background:#fff4aa;color:#51440b}
.service-pin.service-water>span{color:#08262d}.fall-pin>span{background:#fff7eb;border-color:#bf7849;color:#9a4e27}
.map-actions #toggle-stays{--layer-color:var(--stay-color)}.map-actions #toggle-stores{--layer-color:var(--store-color)}.map-actions #toggle-water{--layer-color:var(--water-color)}.map-actions #toggle-toilets{--layer-color:var(--toilet-color)}.map-actions #toggle-bikes{--layer-color:var(--bike-color)}.map-actions #toggle-stamps{--layer-color:var(--stamp-color)}.map-actions #toggle-fall{--layer-color:var(--fall-color)}
.map-actions button[aria-pressed]::before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;background:var(--layer-color);border:1px solid #fff;outline:1px solid #0003;border-radius:50%;vertical-align:middle}.map-actions button[aria-pressed="false"]::before{opacity:.35}
#map-tools .map-actions button[aria-pressed="true"]{background:#fff;color:#273a32;border-color:var(--layer-color)}

.map-legend .dot:not(.weather-dot){background:var(--stay-color)}

.currency-select{max-width:130px;min-height:36px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--green);padding:7px 9px;font-size:12px;cursor:pointer}@media(max-width:720px){.currency-select{max-width:108px;min-height:34px;padding:7px 6px;font-size:11px}}

.brand-icon{background:none;overflow:hidden;flex-shrink:0;border-radius:0}.brand-icon svg{display:block;width:100%;height:100%}.map-top{display:flex;justify-content:flex-end}

.rider img{display:block;width:44px;height:44px;pointer-events:none;user-select:none;-webkit-user-drag:none}

.rider{transform:scale(var(--rider-scale,1));transform-origin:center;transition:transform .16s ease-out}
@media(prefers-reduced-motion:reduce){.rider{transition:none}}

.fall-pin.fall-dot>span{width:10px;height:10px;background:#ed7c1a;border:1px solid #fff;border-radius:50%;font-size:0;box-shadow:0 1px 3px #0003}

/* Attractions: one category with independently selectable views and discoveries. */
:root{--vista-color:#167d8d;--poi-color:#714ac7}
.attraction-layer-group{width:100%;border:1px solid var(--border);border-radius:10px;padding:5px;background:#faf9f4}.attraction-layer-group>button{width:100%;text-align:left;--layer-color:var(--poi-color)}.attraction-layer-children{display:grid;grid-template-columns:1fr;gap:4px;margin:5px 0 0 10px}.attraction-layer-children button{text-align:left!important;font-size:11px!important;white-space:normal!important}
.map-actions #toggle-attraction-vista{--layer-color:var(--vista-color)}.map-actions #toggle-attraction-poi{--layer-color:var(--poi-color)}#toggle-attractions[aria-pressed="mixed"]{border-color:var(--poi-color)}
.attraction-pin{background:none;border:0;--attraction-color:var(--poi-color)}.attraction-pin.attraction-vista{--attraction-color:var(--vista-color)}.attraction-pin>span{display:grid;place-items:center;width:28px;height:28px;border:1.5px solid #fff;border-radius:50%;background:var(--attraction-color);color:#fff;box-shadow:0 1px 6px #0003}.attraction-pin svg{width:20px;height:20px}.attraction-pin.attraction-dot>span{width:8px;height:8px;margin:1px;border-radius:50%;box-shadow:0 1px 3px #0003}
.attraction-subcategories{display:flex;flex-direction:column;gap:9px;padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px}.attraction-subcategories label{display:flex;align-items:center;gap:7px;font-size:12px;cursor:pointer;min-height:25px}.attraction-subcategories label>span:last-child{margin-left:auto;font-size:11px;color:var(--muted)}.attraction-subcategories input{accent-color:var(--poi-color)}.attraction-subcategories label:first-child input{accent-color:var(--vista-color)}.attraction-key{font-size:18px;width:20px;text-align:center}.attraction-key.vista{color:var(--vista-color)}.attraction-key.poi{color:var(--poi-color)}
.attraction-controls{display:grid;grid-template-columns:1fr;gap:10px;margin:14px 0}.attraction-controls label{display:flex;align-items:center;gap:10px;font-size:11px}.attraction-controls input,.attraction-controls select{min-width:0;flex:1;width:100%;border:1px solid var(--border);border-radius:8px;background:#fff;padding:9px;font-size:12px}
.attraction-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:14px;margin:12px 0;scroll-margin-top:110px}.attraction-card.selected{border-color:var(--attraction-color)}.attraction-card-heading{display:flex;gap:9px;align-items:flex-start}.attraction-card-heading>div{flex:1;min-width:0}.attraction-card-heading button{flex-shrink:0;padding:6px 8px;font-size:10px}.attraction-card h2{font-family:Georgia,serif;font-size:20px;font-weight:400;line-height:1.2;margin:4px 0 6px;overflow-wrap:anywhere}.attraction-badge{display:grid;place-items:center;background:var(--attraction-color);color:#fff;border-radius:50%;width:28px;height:28px;font-size:18px;flex-shrink:0}.attraction-kind,.attraction-popup-kind{font-size:10px;font-weight:600;color:var(--attraction-color)}.attraction-native{font-size:11px;line-height:1.5;color:var(--muted);margin:5px 0}.attraction-distance{display:flex;flex-direction:column;gap:5px;margin-top:12px;padding-top:10px;border-top:1px solid var(--border);font-size:10px;color:var(--muted)}.attraction-distance strong{color:var(--green);font-size:12px;font-weight:600}.attraction-note{padding:9px 10px;background:#fbf5e9;border-radius:8px;line-height:1.5}.attraction-event{padding:9px 10px;background:#f0f4ec;border-radius:8px;line-height:1.5}.attraction-card .card-links{flex-wrap:wrap;gap:5px}.attraction-card .card-links a{padding:6px 8px;font-size:11px}.attraction-card .description{font-size:12px;line-height:1.6}.attraction-card .tag{font-size:10px}.attraction-card .text-btn{font-size:12px;padding:9px 0}#attractions-tab span{font-size:10px;color:var(--muted)}
@media(max-width:720px){.attraction-subcategories label{min-height:30px}.attraction-card h2{font-size:21px}.attraction-layer-group{padding:4px}.attraction-card .description{font-size:13px}.attraction-card{scroll-margin-top:110px}}

.select-all-layers{display:flex;align-items:center;gap:9px;padding:10px 8px;margin-bottom:3px;border-bottom:1px solid var(--border);font-size:12px;font-weight:600;cursor:pointer;min-height:40px}.select-all-layers input{width:17px;height:17px;margin:0;accent-color:var(--green)}.map-actions #toggle-weather{--layer-color:#638ab5}
.actual-rider-icon{pointer-events:none!important}.actual-rider{width:44px;height:44px;opacity:1;border-radius:50%;box-shadow:0 0 0 5px #2e665422,0 3px 12px #153b3545;transform:scale(var(--rider-scale,1));transform-origin:center}.actual-rider img{display:block;width:44px;height:44px;pointer-events:none;user-select:none;-webkit-user-drag:none}
.rider-separated .rider{box-shadow:none}.rider-separated .rider img{width:34px;height:34px;opacity:.6}

/* Match the menu Hide button for every Leaflet pop-up. */
.leaflet-popup-content-wrapper{padding-top:42px}
.leaflet-popup-content{min-width:170px}
.leaflet-container a.leaflet-popup-close-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:32px;height:32px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--ink);font-family:inherit;font-size:12px;font-weight:400;line-height:16px;text-decoration:none}
.leaflet-container a.leaflet-popup-close-button{top:8px;right:10px;width:auto;font-family:inherit;font-size:12px;line-height:16px}
.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{background:#eaf0e8;color:var(--green)}
.point-distance{font-size:14px}.point-distance strong{font-size:20px;color:var(--green)}
.point-add-place{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:12px;border-color:var(--green);background:var(--green);color:#fff;font-size:13px}

.menu-settings{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:var(--light);border-bottom:1px solid var(--border)}.menu-settings label{font-size:12px;font-weight:600}.menu-settings .currency-select{min-width:118px;max-width:140px;min-height:38px;font-size:12px}@media(max-width:720px){.menu-settings{padding:10px 16px}.menu-settings .currency-select{min-height:40px}}

/* The header keeps location available while the map and menus are collapsed. */
#live-location.header-location{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0;border-radius:9px;font-size:0;box-shadow:none}
#live-location.header-location svg{display:block;pointer-events:none}
#live-location.locating{border-style:dashed;background:#e7eee5;color:var(--green)}
.menu-information{padding:0 20px 12px;border-bottom:1px solid var(--border)}
.menu-information button{display:flex;align-items:center;width:100%;min-height:38px;padding:8px 10px;text-align:left;font-size:12px;background:#faf9f4;color:var(--green)}
@media(max-width:720px){.menu-information{padding:0 16px 10px}.header-right{gap:7px}}

.screen-awake-control{margin:10px 0;padding:9px 0;border-top:1px solid var(--border)}.screen-awake-control label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4}.screen-awake-control input{accent-color:var(--green)}.screen-awake-control #screen-awake-status{margin:4px 0 0;font-size:10px;color:var(--muted)}

#stay-detail-heading:not([hidden]){display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}#stay-detail-heading .text-btn{font-size:12px;padding:8px 0}.stay-detail-open>.panel-intro,.stay-detail-open>.filter-row,.stay-detail-open>.panel-foot{display:none}.stay-detail-open>.booking-controls{margin-bottom:16px}
.place-edits{margin-top:12px;border-top:1px solid var(--border);padding-top:9px}.place-edits:empty{display:none}.place-notes{font-size:12px;line-height:1.5}.place-notes p,.edit-note{white-space:pre-wrap;overflow-wrap:anywhere}.place-notes small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.place-edit-actions{display:flex;gap:8px;flex-wrap:wrap}.place-edit-actions button{font-size:12px;min-height:40px}.place-edit-actions button:last-child{color:#a84230}.edit-history-tools{display:flex;justify-content:space-between;gap:12px}.custom-places-control{display:flex;gap:8px;align-items:center;font-size:12px;margin:16px 0}.edit-entry{padding:16px;background:white;border:1px solid var(--border);border-radius:12px;margin:12px 0}.edit-entry-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px}.edit-entry time{color:var(--muted);font-size:10px}.edit-entry h2{font-size:17px;margin:10px 0 5px}.edit-note{font-size:12px;line-height:1.6}#place-editor{max-height:90dvh;overflow-y:auto}#place-editor form{margin:0}.place-editor-body{padding:5px 22px 24px}.place-editor-body>label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:12px}.place-editor-body>label[hidden]{display:none}.place-editor-body input,.place-editor-body select,.place-editor-body textarea{font:inherit;font-size:16px;width:100%;padding:11px;border:1px solid var(--border);border-radius:8px;background:white;color:var(--ink)}.place-editor-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.place-editor-buttons button{min-height:44px}#place-editor-save{background:var(--green);color:white}#place-editor-error{font-size:12px;color:#a84230;line-height:1.5}#place-editor-context{font-size:14px;overflow-wrap:anywhere}button:disabled{opacity:.55;cursor:default}.leaflet-popup-content .place-notes{max-height:220px;overflow-y:auto}
/* Header actions share one row: location, map tools, then menu. */
header{position:relative;z-index:1300}.header-right{flex-wrap:nowrap;flex-shrink:0;align-items:center}.header-right .map-tools{flex:0 0 auto}.header-right .map-tools summary{white-space:nowrap;box-shadow:none;display:flex;align-items:center;min-height:36px}.header-right .map-tools .map-actions{top:calc(100% + 7px);max-height:min(65dvh,480px)}
@media(max-width:720px){.header-right{gap:6px}.header-right .map-tools summary{padding:8px 9px;font-size:12px;min-height:36px}.header-menu{min-height:36px}.header-right .map-tools .map-actions{width:190px;max-width:min(240px,calc(100vw - 20px))}}

/* Approved textured river seal; use the original artwork at every display size. */
.brand-icon img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}

/* The Menu button controls the details panel on desktop as well as mobile. */
.header-menu{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;font-size:12px;white-space:nowrap;background:var(--green);color:white;border-color:var(--green)}
.edit-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.edit-undo{min-height:36px;padding:7px 12px;font-size:12px;color:var(--green)}
.edit-state{font-size:11px;color:var(--muted);margin:9px 0 0}.edit-undone{border-style:dashed}
#place-editor{max-height:calc(100dvh - 24px);overflow-y:auto}
@media(min-width:721px){
 main{position:relative;grid-template-columns:minmax(0,1fr)}
 #details-panel{display:none;position:absolute;inset:0 0 0 auto;width:var(--desktop-menu-width,390px);max-width:100%;min-width:0;z-index:1200;box-shadow:-8px 0 28px #203d3029}
 .panel-open #details-panel{display:block}
 .sheet-heading{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:12;min-height:50px;background:var(--light);padding:10px 16px;border-bottom:1px solid var(--border);font-size:13px;font-weight:600}
 .sheet-heading button{font-size:12px;min-height:32px;padding:7px 10px}
 #details-panel .sheet-heading{height:54px}
 #details-panel .tabs{top:54px}
 #map .leaflet-control-zoom{margin:0 18px 70px 0!important}
}
@media(min-width:721px) and (max-width:1050px){:root{--desktop-menu-width:350px}}
@media(min-width:1450px){:root{--desktop-menu-width:420px}}
@media(max-width:720px){
 .brand-icon{width:36px;height:36px}
 .brand-icon img{width:115%;height:115%;max-width:none}
 .header-location,.header-right .map-tools summary,.header-menu{height:36px;min-height:36px}
}

/* Centre the whole seal without letting an oversized grid item clip its bottom. */
@media(max-width:720px){
 html{height:100%;overflow:hidden}
 body{height:100dvh;overflow:hidden}
 header{position:fixed;inset:var(--visible-top,0px) 0 auto;height:58px;display:grid;grid-template-columns:auto 1fr;align-items:center;padding:10px 10px 11px}
 header .brand,header .header-right{align-self:center}
 header .header-right{justify-self:end}
 main{position:fixed;inset:calc(var(--visible-top,0px) + 58px) 0 auto;height:calc(var(--visible-height,100dvh) - 58px);min-height:0}
 .brand-icon{position:relative;width:36px;height:36px;overflow:visible}
 .brand-icon img{position:absolute;left:50%;top:50%;width:115%;height:115%;max-width:none;transform:translate(-50%,-47.5%)}
 #map .leaflet-control-zoom{margin-left:10px;margin-top:10px!important}
 #map .leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:36px!important}
}

/* Collapsible layer choices, with independent layer toggles and disclosure buttons. */
.layer-accordion{border:0;border-radius:0;padding:0;background:transparent;width:100%;min-width:0}
.layer-accordion-heading{display:flex;align-items:stretch;gap:2px}.layer-accordion-heading>button:first-child{flex:1;min-width:0;text-align:left}.layer-accordion-heading .layer-expand{flex:0 0 24px;width:24px;padding:0;min-width:24px;border-color:transparent;background:transparent;display:grid;place-items:center}
.layer-accordion-body{margin:6px 2px 2px;padding:8px 4px 2px;border-top:1px solid var(--border)}.layer-accordion-body[hidden]{display:none!important}.layer-accordion-body label{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.layer-accordion-body select{display:block;width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);padding:8px;font:inherit;font-size:12px}.layer-accordion-body p{font-size:10px;line-height:1.4;color:var(--muted);margin:7px 0 2px}
.attraction-layer-group .layer-accordion-heading>button:first-child{--layer-color:var(--poi-color)}.attraction-layer-children{margin-left:0;padding-left:0;padding-right:0}.stays-layer-group .layer-accordion-heading>button:first-child{--layer-color:var(--stay-color)}
.filter-row>label{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:1;min-width:0}.filter-row select{min-height:40px;max-width:100%;padding:8px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--ink);font-size:12px}.filter-row>select{align-self:flex-end;min-width:0;flex:1}.filter-row>label select{width:100%}#stay-results{margin:0 0 14px}.stay-detail-open #stay-results{display:none}

/* Every layer uses the same left gutter, including expanded attraction rows. */
#map-tools .map-actions button[aria-pressed]{display:flex;align-items:center;justify-content:flex-start;text-align:left;padding-left:8px;padding-right:8px;gap:7px}
#map-tools .map-actions button[aria-pressed]::before{flex:0 0 10px;margin-right:0}

/* Nested categories and shared chevrons use the same vertical centre as labels. */
#attraction-layer-choices{padding-left:10px}
.chevron-icon{display:block;flex:0 0 18px;width:18px;height:18px;overflow:visible;transform-origin:center;transition:transform .15s}
.chevron-icon path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#map-tools>summary{display:flex;align-items:center;gap:5px;line-height:1.25}
#map-tools[open]>summary>.chevron-icon,.layer-expand[aria-expanded="true"]>.chevron-icon{transform:rotate(180deg)}
.position-dock>summary>.dock-chevron{align-self:center}

/* Shared favourite lists follow the existing map controls and touch sizes. */
.map-actions #toggle-favorites{--layer-color:var(--favorite)}
#favorite-layer-choices{padding-left:10px}
.favorite-map-choice{display:flex;align-items:center;gap:8px;min-height:36px;font-size:12px;cursor:pointer}
.favorite-map-choice input{flex:0 0 auto;accent-color:var(--favorite)}
.favorite-map-choice span{flex:1;overflow-wrap:anywhere}.favorite-map-choice small{color:var(--muted)}
.map-actions #favorite-browse{font-size:11px;min-height:36px;padding:4px 0}.map-actions #favorite-browse::before{display:none}
.favorite-list-card{border:1px solid var(--border);border-radius:12px;background:white;margin:14px 0;overflow:hidden}
.favorite-list-card>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;padding:16px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}
.favorite-list-card>summary::-webkit-details-marker{display:none}.favorite-list-card>summary>span{min-width:0}.favorite-list-card>summary small{font-weight:400;color:var(--muted);margin-left:8px}
.favorite-list-card[open]>summary>.chevron-icon{transform:rotate(180deg)}
.favorite-list-body{padding:0 16px 16px}.favorite-entry{border-top:1px solid var(--border);padding:14px 0}.favorite-entry h2{font-size:16px;margin:0 0 8px;overflow-wrap:anywhere}
.favorite-note,.favorite-popup-entry p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
.favorite-list-body button,.favorite-popup-entry button,.favorite-place-action{min-height:36px;font-size:12px}
.favorite-place-action{width:100%;margin:8px 0;color:#2e6654!important;background:#f1f6ef;border:1px solid #cbdccf;border-radius:8px;padding:7px 10px}
.favorite-popup-entry{border-top:1px solid var(--border);padding:12px 0}.favorite-popup-entry strong{display:block;overflow-wrap:anywhere}.favorite-popup-entry small{color:var(--muted);font-size:11px}
.favorite-pin>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--favorite);color:#fff;border:2px solid white;box-shadow:0 2px 8px #0004;font-size:19px;line-height:1}.favorite-pin.compact>span{width:16px;height:16px;font-size:10px;border-width:1.5px}
#favorite-editor{max-height:90dvh;overflow-y:auto}#favorite-editor form{margin:0}#favorite-editor-error{color:#a84230;font-size:12px;white-space:pre-wrap}#favorite-editor-existing{margin-bottom:12px;min-height:36px}

#favorite-editor [hidden]{display:none!important}
#favorite-layer-choices .favorite-map-choice{display:flex;align-items:center;font-size:12px}

/* Short menu headings remain on one line, including narrow phone panels. */
#details-panel .panel-intro{container-type:inline-size}
#details-panel .panel-intro h1{font-size:clamp(20px,8cqi,27px);line-height:1.2;white-space:nowrap;margin:0 0 10px}

/* Use the Map Tools chevron and a centred label for every Hide control. */
#hide-panel,.leaflet-container a.leaflet-popup-close-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:32px;height:32px;padding:6px 10px;line-height:16px;font-weight:400;white-space:nowrap}
#hide-panel>span,.leaflet-container a.leaflet-popup-close-button>span{display:block;line-height:16px}

/* Pop-ups cover zoom controls (1000) and the ride-distance dock (750). */
#map>.leaflet-popup-pane{z-index:1100;cursor:auto}
#map.leaflet-fade-anim>.leaflet-popup-pane .leaflet-popup{opacity:1}

/* Keep the Hide row outside the scrolling body of every map pop-up. */
#map .leaflet-popup-content{max-height:var(--popup-content-height,calc(var(--visible-height,100dvh) - 200px));min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
#map .leaflet-popup-content .place-notes{max-height:none;overflow:visible}

/* Desktop has room for all layer controls without a scrollable dropdown. */
@media(min-width:721px){
 .header-right .map-tools .map-actions{width:420px;max-width:calc(100vw - 48px);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;max-height:none;overflow:visible}
 .header-right .map-tools .select-all-layers{grid-column:1 / -1}
}

/* Wrap whole link buttons onto new rows instead of squeezing their labels. */
.card-links{flex-wrap:wrap;min-width:0}
.card-links>a{max-width:100%}
.card-links a[href*="map.naver.com"],.card-links a[href*="google.com/maps"],.attraction-links>a{flex-shrink:0;white-space:nowrap}
.card-links .contact-row{flex:0 0 100%;min-width:0;display:flex;flex-wrap:wrap}
.card-links .contact-row a{max-width:100%;overflow-wrap:anywhere}
.card-links .phone-number{white-space:nowrap}

/* Fit the three short visitor links together at normal phone widths. */
.leaflet-popup-content .attraction-links{gap:5px}
.leaflet-popup-content .attraction-links>a{padding:6px 5px;font-size:10px}

/* Shared settings and search stay in normal menu flow; opening them never resizes the map. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.menu-settings{justify-content:flex-end;gap:8px}.menu-settings select{min-width:0;max-width:50%;min-height:36px;border:1px solid var(--border);border-radius:9px;padding:7px 9px;background:#fff;color:var(--green);font-size:12px}
.menu-search{padding:0 20px 12px;border-bottom:1px solid var(--border)}.search-input-row{display:flex;gap:7px}.search-input-row input{min-width:0;flex:1;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:white;color:var(--ink);font-size:13px}.search-input-row button{font-size:12px}
#map-search-results{padding-top:4px}#search-result-list{display:grid;gap:6px;max-height:min(48dvh,420px);overflow-y:auto;overscroll-behavior:contain}.search-result{display:flex;flex-direction:column;gap:4px;text-align:left;padding:11px 12px;min-height:60px;border-radius:10px;background:#fff}.search-result-name{font-size:14px;font-weight:650;overflow-wrap:anywhere}.search-native,.search-result-meta{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.search-result-distance{font-size:11px;color:var(--green)}#search-naver{display:inline-block;margin-top:12px;font-size:12px}#search-more{width:100%;margin-top:7px;font-size:12px}.search-scope{font-size:10px;line-height:1.5}
.build-section{border:1px solid var(--border);border-radius:12px;margin:0 0 14px;background:#faf9f4;overflow:hidden}.build-section>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;font-weight:600;font-size:13px;padding:13px}.build-section>summary::-webkit-details-marker{display:none}.build-section[open]>summary .chevron-icon{transform:rotate(180deg)}.build-section-body{padding:0 12px 12px}.build-sources h3{font-size:13px;margin:18px 0 7px}.build-sources p,.build-sources a{font-size:11px;line-height:1.65}.build-sources p{color:var(--muted)}.build-section .edit-history-tools{flex-wrap:wrap}.build-section .edit-entry{overflow-wrap:anywhere}
html[lang="ko"] body{word-break:keep-all;overflow-wrap:anywhere}html[lang="ko"] .brand{letter-spacing:0}html[lang="ko"] .tabs button{white-space:nowrap}html[lang="ko"] .attraction-native{font-size:10px}
@media(max-width:720px){.menu-search{padding:0 16px 10px}.search-input-row input{font-size:16px}.menu-settings select{font-size:13px}}

html[lang="en"] .attraction-english,html[lang="ko"] .attraction-original{display:none}

/* Neutral trail advisories remain legible against roads and imagery. */
.trail-note-pin{background:none;border:0}.trail-note-pin>span,.trail-note-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#303833;border:1.5px solid #78847d;font-size:21px;font-weight:800;line-height:1;box-shadow:0 2px 7px #0004}.trail-note-pin.compact>span{width:18px;height:18px;font-size:14px}
#toggle-trail[aria-pressed="true"]{background:#fff;color:#303833;border-color:#78847d}
.trail-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.trail-controls label{display:flex;gap:5px;align-items:center}.trail-controls button{font-size:12px}.trail-note-card{padding:14px;border:1px solid var(--border);border-radius:12px;background:white;margin-top:12px}.trail-note-heading{display:flex;align-items:center;gap:9px}.trail-note-heading h2{flex:1;min-width:0;margin:0;font-size:15px;overflow-wrap:anywhere}.trail-note-heading button{font-size:11px;flex-shrink:0}.trail-note-symbol{flex-shrink:0}.trail-note-body{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}

#map-tools .map-actions #toggle-trail{--layer-color:#78847d}#map-tools .map-actions #toggle-trail::before{content:'!';display:grid;place-items:center;background:white;color:#303833;border:1px solid #78847d;outline:0;font-size:9px;font-weight:800;line-height:1}
