#loading{padding:24px;background:#e6ede7;overflow:auto}#loading .splash-card{display:grid;grid-template-columns:1.15fr 1fr;width:min(1060px,100%);overflow:hidden;border-radius:24px;background:#fbfdfb;box-shadow:0 24px 80px #183d4026;text-align:left}#loading .splash-photo{width:100%;height:100%;min-height:420px;object-fit:cover}#loading .splash-copy{padding:40px;align-self:center}#loading h1{font-size:36px;line-height:1.3;margin:16px 0}#loading h1 span{display:block;font-size:22px;font-weight:400;margin-top:8px}#loading p{line-height:1.65;font-size:16px}#loading .splash-eyebrow{font-size:13px;letter-spacing:.12em;color:#357769}#loading .splash-credit{font-size:12px;color:#6e8379}#loading .loading-line{width:100%;margin:20px 0}#enter-atlas{background:#254b43;color:white;padding:14px 18px;border-radius:10px;width:100%;font-size:16px}#enter-atlas[hidden]{display:none}.subway-launch{padding:10px 14px;border-radius:10px;font-size:14px;white-space:nowrap}
#subway-dialog{width:min(1440px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;padding:0;overflow:hidden;background:#f9fcfa;color:#254b43}#subway-dialog[open]{display:flex;flex-direction:column}.subway-header{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #d9e5de;gap:12px}.subway-header h2{font-size:22px;margin:0}.subway-header button{min-width:44px;min-height:44px;font-size:25px}.subway-body{display:grid;grid-template-columns:320px 1fr;min-height:0;flex:1}.subway-sidebar{overflow:auto;padding:20px;border-right:1px solid #d9e5de}.subway-sidebar label{display:block;font-size:14px;margin:12px 0 6px}.subway-sidebar input,.subway-sidebar select{width:100%;min-height:44px;padding:10px;border:1px solid #a5bcb2;border-radius:8px;font:inherit;background:white;color:#254b43}.subway-sidebar input:focus-visible{outline:3px solid #28776c}.subway-actions{display:flex;gap:8px;margin:14px 0}.subway-actions button{border-radius:8px;min-height:44px;padding:10px 14px;background:#254b43;color:#fff}.subway-actions button:disabled{opacity:.5}.subway-actions button.secondary{background:#e3ede8;color:#254b43}.subway-sidebar p{font-size:14px;line-height:1.6}.subway-sidebar .subway-note{font-size:13px;color:#526c62}.subway-leg{border-left:5px solid var(--line-color);padding:8px 12px;margin:14px 0;background:#edf3ef;border-radius:0 8px 8px 0}.subway-leg strong{display:block;margin-bottom:8px}.subway-leg details{margin-top:8px;font-size:14px;line-height:1.7}.subway-map-wrap{display:flex;flex-direction:column;min-width:0;min-height:0}.subway-map-controls{display:flex;gap:6px;align-items:center;padding:8px 12px;flex-wrap:wrap;border-bottom:1px solid #d9e5de}.subway-map-controls button{padding:8px 12px;min-height:40px;background:#e3ede8;border-radius:6px}.subway-map-controls span{font-size:13px}.subway-map{width:100%;flex:1;min-height:180px;touch-action:none;background:#f4f8f5;cursor:grab}.subway-map:active{cursor:grabbing}.subway-map text{paint-order:stroke;stroke:#f4f8f5;stroke-width:3;stroke-linejoin:round;fill:#24483f;pointer-events:none}.subway-map .station{cursor:pointer}.subway-map .station:focus{outline:none;stroke:#101f1b;stroke-width:4}.subway-legend{display:flex;flex-wrap:wrap;gap:6px;padding:10px;max-height:116px;overflow:auto;border-top:1px solid #d9e5de}.subway-legend button{font-size:13px;padding:7px 9px;border-radius:6px;border:1px solid #c7d7ce;background:white}.subway-legend button[aria-pressed=true]{outline:2px solid #254b43}.subway-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;background:var(--line-color)}
@media(max-width:650px){#loading{padding:14px}#loading .splash-card{grid-template-columns:1fr;max-width:440px}#loading .splash-photo{height:26dvh;min-height:130px}#loading .splash-copy{padding:20px}#loading h1{font-size:27px;margin:10px 0}#loading h1 span{font-size:18px}#loading p{font-size:14px;margin:8px 0}.subway-launch{padding:8px;font-size:12px}#subway-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.subway-header{padding:8px 14px}.subway-header h2{font-size:18px}.subway-body{display:flex;flex-direction:column;overflow:auto}.subway-sidebar{flex:none;max-height:45dvh;padding:12px 16px;border-right:0;border-bottom:1px solid #d9e5de}.subway-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.subway-map-wrap{flex:1;min-height:48dvh}.subway-legend{max-height:82px}.subway-actions{margin:8px 0}}
@media(prefers-reduced-motion:reduce){#loading{transition:none}}

/* v2.5: search stays in Seoul Explore; dialog is reserved for the map. */
#subway-panel{padding:0 0 16px;border:0;overflow:auto;max-height:none;min-height:0}#subway-panel[hidden]{display:none}#subway-panel .subway-launch{width:100%;min-height:44px;background:#e3ede8;border-radius:8px;margin:0 0 12px}#subway-panel .subway-form-fields{display:block}#subway-panel .subway-note{font-size:13px}#subway-dialog .subway-body{grid-template-columns:1fr}#subway-dialog .subway-map-wrap{height:100%;min-height:0}.explore-tabs button{min-width:0;flex:1}

.explore-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}

#loading .splash-copy{text-align:center}#loading .splash-maker{text-align:right;margin:24px 0 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:#526c62}
#subway-map-labels{position:fixed;inset:0;pointer-events:none;z-index:2;overflow:hidden}.subway-station-label{position:absolute;left:0;top:0;white-space:nowrap;font-size:12px;line-height:1.3;padding:2px 4px;color:#183f36;background:#fffffff0;border-left:3px solid var(--line-color);border-radius:3px;box-shadow:0 1px 4px #173f3320;will-change:transform}.subway-endpoint-label{position:absolute;left:0;top:0;white-space:nowrap;background:#146a51;color:white;border:2px solid white;border-radius:8px;padding:7px 10px;font-size:14px;font-weight:700;box-shadow:0 3px 12px #102e3b44;z-index:3}.subway-endpoint-label.arrival{background:#b83a4c}#subway-map-labels [hidden]{display:none}

/* v2.7: transparent station names with compact line-colored station dots. */
.subway-station-label{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;color:#183f36;text-shadow:0 1px 2px #ffffffb3}.subway-station-label::before{content:"";position:absolute;left:-8px;top:50%;transform:translate(-50%,-50%);width:5px;height:5px;border:1px solid var(--line-color);border-radius:50%;background:var(--line-color)}body[data-time="night"] .subway-station-label{color:#e9fff5;text-shadow:0 1px 2px #10251e}#subway-map-labels[hidden]{display:none}#subway-visibility{margin:6px 0 12px;width:100%;min-height:44px}

.subway-map text{stroke:none}

.subway-route-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.subway-endpoint-label{border:3px solid #fff;outline:2px solid #173e4b;font-size:15px}.subway-stop-list{list-style:none;margin:12px 0 4px;padding:0 0 0 10px}.subway-stop-list li{position:relative;border-left:3px solid var(--line-color);padding:0 0 18px 18px;min-height:32px;line-height:1.6}.subway-stop-list li:last-child{border-left-color:transparent;padding-bottom:0}.subway-stop-list li::before{content:"";position:absolute;left:-6px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--line-color);border:1px solid white}

.subway-route-stop{font-size:14px;font-weight:700;z-index:2;text-shadow:0 1px 2px #ffffff,0 -1px 2px #ffffff}.subway-route-stop::before{display:none}body[data-time="night"] .subway-route-stop{text-shadow:0 1px 2px #10251e,0 -1px 2px #10251e}

/* v3.0: single horizontal settings row; scrolls horizontally on small screens. */
#environment-panel{position:fixed;top:16px;left:320px;right:20px;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;padding:6px;border-radius:12px;overflow-x:auto;max-width:none;z-index:25}#environment-panel .language-switch{position:static;flex:0 0 140px;min-width:140px;max-width:none;box-shadow:none;background:none;border:0;padding:0}#environment-panel .environment-controls{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;min-width:max-content}#environment-panel .time-switch{display:flex;flex-wrap:nowrap;box-shadow:none}#environment-panel .time-switch button{white-space:nowrap;min-width:48px;font-size:14px}#environment-panel .season-control{display:flex;flex-direction:row;white-space:nowrap;max-width:none;box-shadow:none}#environment-panel .season-control select{width:auto;max-width:none;min-height:42px}#environment-panel #info{flex:0 0 42px;min-width:42px}#environment-panel label{font-size:14px}.subway-eta{font-size:18px!important;font-weight:700;color:#173e4b!important}
@media(max-width:1000px){#environment-panel{left:12px;right:12px;top:88px}.explore{top:158px;max-height:calc(100dvh - 210px)}}@media(max-width:650px){#environment-panel{top:84px}.explore{top:auto;max-height:calc(100dvh - 240px)}}

.trail-map-label{position:fixed;z-index:18;pointer-events:auto;transform:translate(-50%,-100%);padding:8px 14px;border:2px solid #fff;border-radius:9px;background:#075b45;color:#fff;font-size:14px;font-weight:800;box-shadow:0 2px 8px #0006;min-height:40px;white-space:nowrap}.trail-map-label.finish{background:#a21e39}.trail-map-label[hidden]{display:none}#find-trail:disabled{opacity:.5;cursor:default}

.explore-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.explore-tabs button{min-height:40px;white-space:normal;overflow-wrap:anywhere}#bus-panel{padding-bottom:14px}.bus-form{display:grid;gap:7px}.bus-form input,#bus-line,#bus-visibility{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--glass);color:var(--ink);font:inherit;font-size:14px;padding:9px}.bus-form label,#bus-panel>label{display:block;font-size:14px;margin-top:10px}.bus-result{font-size:14px;line-height:1.6}.bus-result h3{font-size:16px}.bus-result details{margin:12px 0}.bus-result summary{cursor:pointer;overflow-wrap:anywhere}.bus-note,.bus-source{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.bus-map-labels{position:fixed;inset:0;pointer-events:none;z-index:3}.bus-route-lines{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.bus-stop-marker{position:absolute;left:0;top:0;font-size:13px;font-weight:700;white-space:nowrap;padding:2px 4px;color:#153f35;text-shadow:0 0 3px #fff,0 0 3px #fff;background:transparent;pointer-events:auto}.bus-stop-marker:before{content:'';display:inline-block;width:7px;height:7px;background:#297d56;border:1px solid white;border-radius:50%;margin-right:4px}.bus-start,.bus-finish{padding:8px 12px;border:2px solid white;border-radius:9px;background:#075b45;color:white;text-shadow:none;font-size:14px}.bus-finish{background:#a21e39}.bus-stop-marker[hidden]{display:none}body[data-time="night"] .bus-stop-marker:not(.bus-start):not(.bus-finish){color:#fff;text-shadow:0 0 3px #122c31}

#bus-panel>details{font-size:14px;line-height:1.6;margin:12px 0}#bus-panel>details>summary{cursor:pointer}

.bus-line-stops{font-size:14px;line-height:1.65}.bus-line-stops h3{font-size:15px;overflow-wrap:anywhere}.bus-board,.bus-alight,.bus-transfer-instruction{padding:10px;border-left:4px solid #075b45;border-radius:6px;background:#075b4510;overflow-wrap:anywhere}.bus-alight{border-color:#a21e39}.bus-transfer-instruction{border-color:#963f0c;background:#e9a55b20;font-weight:700}.bus-transfer{background:#963f0c;color:#fff;text-shadow:none;padding:8px 12px;border:2px solid white;border-radius:9px;font-size:14px}

/* Bus view keeps departure/arrival stop names clear of city place labels. */
#labels[data-explore="bus"] .map-label{display:none!important}
/* v3.6 apartment contract overlays */
.property-control{display:flex;align-items:center;gap:7px;flex-shrink:0;white-space:nowrap;font-size:12px;padding:4px 8px;border-left:1px solid #cad3d5}.property-control select{border:1px solid #b9c9cb;border-radius:7px;background:#fff;color:#163d40;padding:6px;font:inherit}.property-labels{position:fixed;inset:0;pointer-events:none;z-index:3;overflow:hidden}.property-label{position:absolute;left:0;top:0;pointer-events:auto;display:flex;flex-direction:column;gap:3px;max-width:245px;padding:7px 9px;border:1px solid #92adaf;border-radius:9px;background:rgba(255,255,255,.97);color:#153b3e;box-shadow:0 3px 12px #142e3e26;font:11px/1.35 sans-serif;text-align:left;cursor:pointer}.property-label strong{max-width:225px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.property-label .sales{color:#18489a}.property-label .jeonse{color:#8b275e}.property-label:after{content:'';position:absolute;bottom:-5px;left:50%;width:7px;height:7px;border-radius:50%;background:#123e40;border:2px solid white}.property-label:focus-visible{outline:3px solid #195ca8;outline-offset:3px}.property-status{position:fixed;right:16px;bottom:108px;z-index:5;max-width:min(430px,calc(100vw - 32px));padding:9px 12px;border:1px solid #bacbcb;border-radius:10px;background:#fffffff2;color:#234448;font:12px/1.5 sans-serif;box-shadow:0 3px 15px #0001}.property-status button{margin-left:8px;color:#174f86;background:transparent;border:0;text-decoration:underline;cursor:pointer}.property-dialog{width:min(800px,calc(100vw - 32px));max-height:80vh;overflow:auto;padding:24px;color:#163e42;background:#fafdfc;border:1px solid #bacaca;border-radius:16px}.property-dialog .dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.property-dialog .dialog-top button{font-size:25px;background:transparent;border:0;cursor:pointer}.property-dialog h2{font-size:22px}.property-dialog h3{font-size:16px;margin-top:24px}.property-table-wrap{overflow:auto}.property-dialog table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.property-dialog th,.property-dialog td{padding:10px 8px;text-align:left;border-bottom:1px solid #d9e4e3}.property-note,.property-location-note{font-size:13px;line-height:1.7;color:#465d60}.property-dialog a{font-size:13px;color:#185994}.property-label[hidden],.property-labels[hidden],.property-status[hidden]{display:none!important}
#housing-search{padding:0 0 14px;border-bottom:1px solid #ccdbd7;margin-bottom:12px}#housing-search form{display:grid;grid-template-columns:1fr auto;gap:8px}#housing-search label{grid-column:1/-1;font-size:14px;font-weight:700}#housing-search input{width:100%;min-width:0;padding:10px;border:1px solid #aebfbb;border-radius:8px;font-size:14px}#housing-search button{font-size:14px;cursor:pointer;border-radius:8px;padding:9px;border:1px solid #bbcec9;background:#edf5f1;color:#19453e}.housing-note{font-size:12px;line-height:1.6;color:#526b65}.housing-results{max-height:210px;overflow:auto;display:grid;gap:6px}.housing-results button{display:flex;flex-direction:column;gap:4px;text-align:left}.housing-results span,.housing-results small{font-size:12px}.housing-detail{font-size:14px;line-height:1.5}.housing-detail:empty{display:none}.housing-detail h4{margin-bottom:4px}.housing-marker{position:fixed;left:0;top:0;z-index:6;max-width:min(340px,85vw);background:#173f50;color:#fff;border:3px solid #fff;border-radius:10px;padding:10px;font-size:14px;box-shadow:0 4px 20px #0003}.housing-marker[hidden]{display:none}
.housing-source{display:block;font-size:12px;color:#235c73;margin-top:5px}
.bus-stop-options{max-height:310px;overflow:auto;border:1px solid #acc6be;border-radius:10px;background:#f8fcfa;padding:8px;margin-bottom:12px}.bus-stop-options[hidden]{display:none}.bus-stop-options .bus-stop-option{display:block;width:100%;white-space:normal;text-align:left;font-size:14px;line-height:1.5;margin:5px 0;padding:10px;border:1px solid #cadbd6;border-radius:7px;background:white;color:#20433e}.bus-stop-options>button{margin:4px;padding:8px}.bus-stop-options p{font-size:13px}#lodging-panel{padding:10px 0 16px}#lodging-panel h3{font-size:16px}#lodging-panel label{display:flex;align-items:center;gap:7px;font-size:14px}#lodging-panel select{width:100%;margin:10px 0;padding:8px;font-size:14px}#lodging-panel p,#lodging-panel a{font-size:12px;line-height:1.6}.lodging-marker{position:fixed;left:0;top:0;z-index:3;border:2px solid white;border-radius:7px;background:#744a85;color:white;padding:6px 8px;font-size:12px;max-width:180px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;box-shadow:0 2px 7px #0003;cursor:pointer}.lodging-marker[hidden]{display:none}
.housing-pager{display:flex;gap:8px;margin:8px 0}.housing-pager button{flex:1}.housing-pager[hidden],.housing-results[hidden]{display:none}.housing-pager button:disabled{opacity:.45;cursor:default}.explore-tabs{margin-bottom:14px}
#labels .map-label:not(.water-label){background:#753b92;color:#fff;border-color:#fff}#labels .map-label:not(.water-label).selected{background:#56216f;color:#fff}#labels .map-pin{background:#753b92;border-color:#fff}#places .place{color:#753b92}.lodging-marker{background:#fff;color:#176244;border-color:#91b9a5;font-weight:700}.stay-photo{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:10px;margin:12px 0 5px}#lodging-panel .stay-phone{display:block;font-size:18px;font-weight:700;color:#176244;margin-bottom:8px}#lodging-panel a{display:block;margin:5px 0}#lodging-panel strong{color:#176244}

#labels .map-pin{background:transparent}
#labels .map-pin::after,body[data-time="night"] #labels .map-pin::after{background:#753b92;border-color:#fff}
#labels .map-pin:hover::after,#labels .map-pin.selected::after{box-shadow:0 0 0 4px #753b9235,0 1px 5px #56216f66}

.housing-combo{display:flex;min-width:0;border:1px solid #9cafaa;border-radius:8px;background:#fff;overflow:hidden}.housing-combo:focus-within{outline:2px solid #28776c;outline-offset:2px}#housing-search .housing-combo input{border:0;border-radius:0;outline:0;background:transparent}#housing-search .housing-combo button{border:0;border-left:1px solid #cedcd7;border-radius:0;min-width:40px;font-size:20px;background:#fff}.housing-results[hidden]{display:none}.housing-results [aria-selected="true"]{background:#d5e9e1!important;border-color:#28776c!important}.housing-marker{text-align:left;min-width:220px;line-height:1.5}.housing-marker>strong{display:block;font-size:16px;margin-bottom:8px}.housing-price{display:flex;flex-direction:column;border-top:1px solid #ffffff40;padding-top:6px;margin-top:6px}.housing-price>span{font-size:12px;color:#d4e8f0}.housing-price>b{font-size:15px;white-space:normal}

/* Keep the top menu hidden until the splash has fully closed. */
#atlas-interface[inert] #environment-panel,#atlas-interface[inert] #environment-panel *{visibility:hidden!important;pointer-events:none!important}

.lodging-map-card{position:fixed;right:22px;top:156px;z-index:15;width:300px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 290px);overflow:auto;background:#fff;color:#176244;border:1px solid #91b9a5;border-radius:14px;padding:18px;box-shadow:0 8px 30px #143c4033;text-align:left}.lodging-map-card[hidden]{display:none}.lodging-map-card>strong{display:block;padding-right:26px;font-size:18px;line-height:1.4}.lodging-map-card p{font-size:13px;line-height:1.5;margin:7px 0}.lodging-map-card a{display:block;color:#176244;font-size:12px;line-height:1.5;margin:5px 0}.lodging-map-card .stay-phone{font-size:20px;font-weight:700}.lodging-map-card .stay-close{position:absolute;right:9px;top:7px;width:36px;height:36px;font-size:26px;color:#176244;background:white;border:0;border-radius:8px;cursor:pointer}.lodging-map-card .stay-photo{margin-top:10px}.lodging-map-card a:focus-visible,.stay-close:focus-visible{outline:2px solid #176244;outline-offset:2px}@media(max-width:650px){.lodging-map-card{top:auto;bottom:calc(140px + env(safe-area-inset-bottom));right:14px;left:14px;width:auto;max-height:calc(100dvh - 280px);padding:14px}.lodging-map-card .stay-photo{max-height:150px;width:100%;object-fit:cover}}

/* Reserve a separate right-hand lane for zoom and compass controls. */
.lodging-map-card{right:100px;max-width:calc(100vw - 114px)}@media(max-width:650px){.lodging-map-card{left:14px;right:84px;max-width:calc(100vw - 98px)}}

#tourism-landmarks{padding:0 0 16px;border-bottom:1px solid #ccdbd7;margin-bottom:12px}#tourism-landmarks h3{font-size:15px}#tourism-landmarks input,#tourism-landmarks select{width:100%;padding:10px;margin:5px 0;font-size:14px;background:#fff;color:#56216f;border:1px solid #bba0c8;border-radius:8px}#tourism-landmarks p,#tourism-landmarks a{font-size:13px;line-height:1.5}#tourism-landmarks a{color:#753b92}.tourism-marker{position:fixed;left:0;top:0;z-index:3;background:#753b92;color:#fff;border:2px solid #fff;border-radius:8px;padding:6px 9px;font-size:13px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.tourism-marker[hidden]{display:none}

.property-label{width:280px;max-width:calc(100vw - 28px);max-height:280px;overflow:auto;padding:14px;background:#fbfdfb;border:1px solid #b9cdc5;color:#19453e;font:14px/1.5 sans-serif;gap:6px}.property-label strong{font-size:16px;max-width:100%;color:#19453e}.property-card-address{font-size:12px;color:#526b65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.property-card-section{display:flex;flex-direction:column;border-top:1px solid #d5e1db;padding-top:7px;gap:3px}.property-card-heading{font-weight:700;font-size:14px}.property-card-price{font-size:17px;font-weight:700}.property-card-record,.property-card-fx{font-size:12px;line-height:1.5;color:#526b65}.property-label .sales,.property-label .jeonse{color:#19453e}.property-card-fx{border-top:1px solid #d5e1db;padding-top:6px}.housing-detail>a{display:block;margin:8px 0;color:#176244;font-size:12px}

.property-label{max-height:min(280px,calc(100dvh - 290px))}

.housing-fx{display:block;font-size:12px;line-height:1.5;margin-top:8px;color:#d4e8f0}

/* v4.7 heritage, museums, galleries and historic places */
#labels .map-label:not(.water-label),#labels .map-label:not(.water-label).selected,.tourism-marker{background:#fff;color:#176244;border-color:#91b9a5;box-shadow:0 3px 12px #143c4026}
#labels .map-label:not(.water-label).selected,.tourism-marker:focus-visible{border:2px solid #176244}
#labels .map-label:not(.water-label)::before,#labels .map-label:not(.water-label)::after{background:#176244}
#labels .map-pin{background:transparent}#labels .map-pin::after{background:#176244;border-color:#fff}
#places .place,#tourism-landmarks input,#tourism-landmarks select,#tourism-landmarks a{color:#176244}#tourism-landmarks input,#tourism-landmarks select{border-color:#91b9a5}
.place-map-card .stay-photo[hidden]{display:none}.place-map-card{overscroll-behavior:contain}.tourism-marker:hover{border-color:#176244;background:#f2faf5}

/* Search sections retain the v4.8 ordering. */
#places-panel>.explore-search-section{flex:none;margin:0 0 14px;padding:14px 10px;border:1px solid var(--line);border-radius:10px;background:var(--glass)}
#places-panel>.explore-search-section h3{font-size:16px;margin:0 0 12px}#housing-search form>label{font-size:16px;line-height:1.5;margin-bottom:8px}
#housing-search form{grid-template-columns:minmax(0,1fr)}#housing-search .housing-combo{grid-column:1/-1}
.place-visibility{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.5;margin-bottom:8px}#tourism-landmarks .place-visibility input{width:auto;margin:0;flex:none}
@media(max-width:650px){#places-panel>.explore-search-section{padding:12px 10px}}

/* v5.0: all classic overview labels, wide mouse-friendly scrollbars. */
#explore .explore-panel,#explore .housing-results,#explore .bus-stop-options{scrollbar-width:auto;scrollbar-color:#397b68 #e5eee9;scrollbar-gutter:stable;overscroll-behavior:contain}
#explore .explore-panel{padding-right:8px;overflow-y:scroll}
#explore ::-webkit-scrollbar{width:18px;height:18px}#explore ::-webkit-scrollbar-track{background:#e5eee9;border-radius:10px}#explore ::-webkit-scrollbar-thumb{background:#397b68;border:3px solid #e5eee9;border-radius:10px;min-height:52px}#explore ::-webkit-scrollbar-thumb:hover{background:#245c4c}#explore ::-webkit-scrollbar-thumb:active{background:#163f33}
@supports selector(::-webkit-scrollbar){#explore .explore-panel,#explore .housing-results,#explore .bus-stop-options{scrollbar-color:auto}}

/* v5.1: transparent landmark names anchored to their geographic points. */
#labels .map-label:not(.water-label),#labels .map-label:not(.water-label).selected{background:transparent;border:0;box-shadow:none;backdrop-filter:none;color:#176244;font-weight:700;padding:5px 7px 8px;transform:translate(-50%,-100%);text-shadow:0 1px 2px #fff,0 -1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff}
#labels .map-label:not(.water-label)::before{display:none}#labels .map-label:not(.water-label)::after{content:"";position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);width:6px;height:6px;border-radius:50%;background:#176244}
#labels .map-label:not(.water-label).selected{color:#104535;text-decoration:underline;text-underline-offset:3px}
body[data-time="night"] #labels .map-label:not(.water-label){color:#c4f7db;text-shadow:0 1px 2px #173c32,0 -1px 2px #173c32,1px 0 2px #173c32,-1px 0 2px #173c32}

/* v5.2: identical housing and price cards, and focused tourism search. */
.property-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #b9cdc5;border-radius:10px;background:#fbfdfb;color:#19453e;font:14px/1.5 sans-serif;text-align:left;box-sizing:border-box}
.property-card .property-card-name{display:block;font-size:16px;font-weight:700;white-space:normal;overflow:visible;margin:0;color:#19453e}
.property-card .property-card-address{font-size:13px;color:#526b65}
.property-card .property-card-section{display:flex;flex-direction:column;gap:3px;border-top:1px solid #d5e1db;padding-top:7px;color:#19453e}
.property-card .property-card-price{font-size:17px;color:#19453e}
.property-card .property-card-heading{font-size:14px;color:#19453e}
.property-card .property-card-record,.property-card .property-card-fx{font-size:12px;color:#526b65;line-height:1.5}
.housing-marker.property-card{width:280px;max-width:calc(100vw - 28px);max-height:min(400px,60dvh);overflow:auto}
.housing-detail.property-card:empty{display:none}
body[data-place-scope="tourism"] #labels,body[data-place-scope="tourism"] .lodging-marker,body[data-place-scope="tourism"] .lodging-map-card:not(.place-map-card),body[data-place-scope="tourism"] .housing-marker,body[data-place-scope="tourism"] .property-labels,body[data-place-scope="tourism"] .property-status{display:none!important}

/* v5.3: right-side controls show only the direction arrow and zoom buttons. */
#location-card{display:none!important}
.map-controls .compass{min-height:44px;justify-content:center}

/* v5.4: horizontal map panning beside the existing direction and zoom controls. */
.pan-control{display:flex;border-radius:9px;overflow:hidden}
.pan-control button{width:44px;height:44px;font-size:23px;line-height:1}
.pan-control button+button{border-left:1px solid var(--line)}
.pan-control button:hover{background:#28776c14}
.pan-control button:active{background:#28776c28}
.pan-control button:focus-visible{outline-offset:-4px}
