/* The map is an application viewport, not an article or a gallery. */
body.map-page{height:100svh;min-height:100svh;overflow:hidden}.map-page>.section-main{height:calc(100svh - var(--site-header-height));min-height:0;max-width:none;width:100%;margin:0;padding:0;flex:none}.map-page #section-content{height:100%}.map-page>.site-footer,.map-page>.back-to-top{display:none}.leonida-app{position:relative;width:100%;height:100%;isolation:isolate;overflow:hidden;background:#2c67a4}.leonida-canvas{position:absolute;inset:0;z-index:0;background:#2c67a4;font:inherit}.leonida-canvas .leaflet-tile{filter:none}.leonida-sidebar{position:absolute;z-index:600;left:18px;top:18px;bottom:35px;width:310px;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:26px 22px 20px;border-radius:22px;border:1px solid #f4d3e321;background:#111425;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 15px 40px #09162538;transition:translate .24s ease,opacity .2s ease;scrollbar-gutter:stable}.map-sidebar-intro h1,.world-map-panel>h1,.leonida-sidebar>.map-my-intro h2{margin:0;color:#fff3d9;font-size:31px;line-height:1.2;font-weight:550;letter-spacing:-.7px}.map-sidebar-intro>p,.world-map-panel>.world-intro,.leonida-sidebar>.map-my-intro>p{font-size:12px;color:#c1a6b8;line-height:1.5;margin:7px 0 21px}.map-search{display:flex;align-items:center;gap:10px;flex:none;background:#ffffff08;border:1px solid #d6bac51c;padding:12px 13px;border-radius:13px}.map-search svg{color:#eab9cc;width:17px;height:17px;flex:none}.map-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:#f8e6ed}.map-search input::placeholder{color:#b0a6bb}.map-search:focus-within{border-color:#e8b9cc77}.map-filter-section{margin:23px 0 0}.map-filter-section h2{font-size:12px;font-weight:500;color:#bba5b9;margin:0 0 11px}.map-region-filters{display:flex;flex-wrap:wrap;gap:7px}.map-region-filters button{font-size:11px;line-height:1.4;color:#ccc4d5;background:#ffffff06;padding:7px 10px;border-radius:9px;min-height:30px;transition:background .18s,color .18s}.map-region-filters button[aria-pressed=true]{background:#e8b9cc;color:#231b2b}.map-category-filters{display:grid;grid-template-columns:1fr 1fr;gap:5px 7px}.map-category-filters button{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:9px 8px;color:#d5ccdc;font-size:12px;border-radius:8px;text-align:left;transition:background .18s}.map-category-filters small{font-size:10px;color:#a698b2;font-variant-numeric:tabular-nums}.map-category-filters button[aria-pressed=true]{background:#e8b9cc15;color:#ffdce7}.map-category-filters button[aria-pressed=true] small{color:#e8b9cc}.map-category-filters button:hover,.map-region-filters button:hover{background:#e8b9cc20}.map-region-filters button[aria-pressed=true]:hover{background:#f3c9d9}.map-results-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 10px;flex:none}.map-results-heading p{font-size:12px;color:#a9a3b9;margin:0}.map-results-heading button{font-size:10px;color:#e8b9cc}.map-results{display:grid;gap:3px}.map-result{display:block;width:100%;text-align:left;padding:10px 8px;border-radius:10px;transition:background .18s}.map-result:hover,.map-result:focus-visible{background:#e8b9cc0e}.map-result strong{display:block;font-weight:450;font-size:14px;line-height:1.4;color:#eee4e8}.map-result span{display:block;font-size:11px;color:#a79eb6;line-height:1.5;margin-top:3px}.map-no-results{font-size:13px;color:#b9b0c6;line-height:1.7}.map-sidebar-note{font-size:10px;color:#a49bb3;line-height:1.7;margin:22px 5px 0}#map-more{padding:12px;font-size:12px;color:#e8b9cc;margin-top:10px;flex:none}#map-more[hidden],#map-clear[hidden]{display:none}.map-sidebar-toggle{position:absolute;top:22px;left:340px;z-index:601;display:flex;align-items:center;gap:6px;min-height:40px;padding:10px 12px;border-radius:12px;background:rgba(15,18,34,.92);color:#eac4d5;box-shadow:0 3px 15px #10233225;transition:left .24s}.map-sidebar-toggle span{display:none}.map-sidebar-toggle svg{height:18px;width:18px}.is-sidebar-collapsed .leonida-sidebar{translate:calc(-100% - 30px) 0;opacity:0;visibility:hidden;pointer-events:none}.is-sidebar-collapsed .map-sidebar-toggle{left:20px}.is-sidebar-collapsed .map-sidebar-toggle span{display:block;font-size:12px}.is-sidebar-collapsed .map-sidebar-toggle svg{rotate:180deg}.leonida-controls{position:absolute;z-index:500;right:22px;bottom:48px;display:flex;flex-direction:column;gap:7px}.leonida-controls button{display:grid;place-items:center;width:43px;height:43px;min-height:43px;border-radius:12px;background:rgba(15,18,34,.93);color:#f4dbe2;box-shadow:0 5px 15px #10233225;font-size:24px;line-height:1}.leonida-controls svg{width:21px;height:21px}.leonida-controls button:hover{background:#29243a}.leonida-canvas .leaflet-control-attribution{font-size:10px;line-height:1.7;background:#101422d9;color:#d4c9d7;backdrop-filter:blur(9px);padding:5px 10px;border-radius:9px 0 0 0;max-width:calc(100vw - 20px);margin:0}.leonida-canvas .leaflet-control-attribution a{color:#f0c0d0}.leonida-marker{background:none;border:0}.leonida-marker>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#191b2b;color:#f5d6dc;box-shadow:0 1px 5px #091a3160;border:1px solid #ffe2e14d;transition:scale .16s,background .16s}.leonida-marker:hover>span,.leonida-marker:focus-visible>span{scale:1.15;background:#6a3e59}.leonida-marker svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.leonida-marker.outdoors>span{background:#243b3c;color:#dce5ce}.leonida-marker.transport>span{background:#293149;color:#d5dff2}.leonida-cluster{display:grid;place-items:center;background:#171d2de8;color:#ffe1e9;border:1px solid #f2d0dd70;border-radius:12px;box-shadow:0 3px 12px #0612283b;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums;transition:background .2s}.leonida-cluster:hover{background:#794c66}.leonida-canvas .leaflet-popup-content-wrapper{border-radius:17px;background:rgba(16,19,34,.97);color:#eee2ea;box-shadow:0 12px 35px #06132955;padding:0;overflow:hidden}.leonida-canvas .leaflet-popup-tip{background:#101322}.leonida-canvas .leaflet-popup-content{margin:0;width:250px!important}.leonida-canvas a.leaflet-popup-close-button{right:8px;top:8px;width:27px;height:27px;border-radius:50%;background:#101322aa;color:#eac4d5;font:22px/26px Arial}.map-place-card{padding:22px 21px 17px;font-family:Arial,sans-serif}.map-place-card>img{display:block;width:calc(100% + 42px);height:118px;object-fit:cover;margin:-22px -21px 18px}.map-place-card>small{font-size:10px;color:#dcadc2}.map-place-card>h2{font-size:21px;font-weight:500;line-height:1.2;letter-spacing:-.3px;color:#fff0d3;margin:10px 20px 8px 0}.map-place-card>p{font-size:12px;line-height:1.6;color:#b6a9c1;margin:0 0 12px}.map-evidence{display:block;font-size:10px;color:#bbaabd;line-height:1.5}.map-place-card>div{display:flex;gap:18px;align-items:center;margin-top:16px}.map-place-card a,.map-place-card button{color:#f0bfd0;font-size:12px;font-family:inherit}.map-share-status:empty{display:none}.map-place-card .map-share-status{margin:10px 0 0}.map-share-status input{width:100%;font-size:11px;color:#eee;background:#ffffff0a;border:0;border-radius:5px;padding:7px}.map-load-status{position:absolute;z-index:800;left:50%;top:50%;translate:-50% -50%;background:#12182be8;color:#edd0df;padding:16px 22px;border-radius:15px;font-size:14px;display:flex;align-items:center;gap:15px;box-shadow:0 6px 25px #06132922}.map-load-status[hidden]{display:none}.map-load-status button{font-size:12px;color:#fff0d7;text-decoration:underline}.map-load-status.is-error{max-width:300px;font-size:12px;line-height:1.6}.leonida-app button:focus-visible,.leonida-app a:focus-visible{outline:2px solid #f3c6d7;outline-offset:3px}
@media(max-width:760px){.leonida-sidebar{top:auto;bottom:35px;left:12px;right:12px;width:auto;max-height:min(70svh,580px);padding:22px;border-radius:22px;box-shadow:0 0 0 200vmax #08112138}.map-sidebar-toggle,.is-sidebar-collapsed .map-sidebar-toggle{left:14px;top:14px;min-height:43px;gap:8px;padding:10px 14px}.map-sidebar-toggle span{display:block;font-size:13px}.map-sidebar-toggle svg{rotate:-90deg}.is-sidebar-collapsed .map-sidebar-toggle svg{rotate:90deg}.is-sidebar-collapsed .leonida-sidebar{translate:0 40px}.map-sidebar-intro h1,.world-map-panel>h1,.leonida-sidebar>.map-my-intro h2{font-size:28px}.map-sidebar-intro>p,.world-map-panel>.world-intro,.leonida-sidebar>.map-my-intro>p{margin-bottom:15px}.map-filter-section{margin-top:19px}.map-search{padding:13px}.map-search input{font-size:16px}.map-region-filters button{font-size:12px;min-height:36px}.map-category-filters button{font-size:13px;min-height:38px}.map-result{padding:12px 8px;min-height:48px}.leonida-controls{right:14px;bottom:54px;gap:8px}.leonida-controls button{width:44px;height:44px}.leonida-canvas .leaflet-control-attribution{font-size:9px;padding:4px 7px;max-width:100vw}.map-page .persistent-music-player{z-index:700}.map-load-status{left:50%;max-width:80vw;white-space:nowrap;font-size:12px}.map-load-status.is-error{white-space:normal}}
@media(prefers-reduced-motion:reduce){.leonida-sidebar,.map-sidebar-toggle,.leonida-marker>span,.leonida-cluster,.map-result,.map-category-filters button,.map-region-filters button{transition:none}}

.map-page .return-link{display:none}

/* Local personal places stay separate from the community landmark browser. */
.map-personal-tabs{display:flex;gap:5px;background:#ffffff06;border-radius:12px;padding:4px;margin:-4px 0 20px;flex:none}.map-personal-tabs button{flex:1;min-height:35px;border-radius:9px;color:#c1b3c9;font-size:12px;transition:background .2s,color .2s}.map-personal-tabs button[aria-pressed=true]{background:#e8b9cc1b;color:#ffe1ec}.map-personal-tabs span{font-size:10px;margin-left:5px;color:#d1a5bb}.map-my-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}.map-my-intro p{font-size:11px;color:#b5a5bc;margin:0}.map-my-intro button{font-size:12px;color:#e8b9cc;padding:7px 9px;border-radius:8px;background:#e8b9cc0c}.map-my-group{margin:24px 0 0}.map-my-group h2{display:flex;justify-content:space-between;color:#d8bbc9;font-size:12px;font-weight:500;margin:0 0 10px}.map-my-group h2 span{font-variant-numeric:tabular-nums;font-size:10px;color:#aa96b2}.map-my-row{display:flex;align-items:center;gap:5px;padding:3px 0}.map-my-row .map-result{flex:1;min-width:0}.map-my-row .map-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.map-my-edit,.map-my-remove{flex:none;display:grid;place-items:center;min-height:34px;min-width:29px;color:#c9a7be;font-size:10px;border-radius:8px}.map-my-remove svg{width:15px;height:15px}.map-my-edit:hover,.map-my-remove:hover{background:#e8b9cc14}.map-my-empty,.map-personal-status{font-size:11px;color:#a99bb4;line-height:1.7;margin:14px 5px}.map-personal-status:empty{display:none}.map-add-personal{position:absolute;top:22px;right:22px;z-index:500;border-radius:12px;padding:11px 16px;min-height:40px;font-size:12px;color:#f2d3df;background:#111829ed;box-shadow:0 3px 15px #10233225}.map-add-personal:hover{background:#312638}.is-placing-pin .map-add-personal{display:none}.map-pin-placement{position:absolute;left:50%;top:22px;translate:-50% 0;z-index:800;display:flex;align-items:center;gap:16px;max-width:calc(100% - 24px);padding:13px 18px;border:1px solid #e8b9cc24;border-radius:15px;box-shadow:0 8px 25px #06162933;background:#10182aef;backdrop-filter:blur(16px);color:#e6c5d6;font-size:12px}.map-pin-placement button{color:#ffe4ed;font-size:11px;white-space:nowrap;padding:6px;border-radius:7px}.map-pin-placement button:hover{background:#e8b9cc10}.is-placing-pin .leonida-canvas{cursor:crosshair}.map-pin-editor{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:900;width:min(370px,calc(100% - 28px));padding:24px;border-radius:22px;background:rgba(15,19,35,.96);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);border:1px solid #e8b9cc29;color:#eee2e8;box-shadow:0 22px 70px #07142465;animation:pin-editor-in .18s ease-out}.map-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.map-editor-heading h2{font-size:22px;color:#fff0d8;line-height:1.3;font-weight:500;letter-spacing:-.4px;margin:0}.map-editor-heading button{color:#e8b9cc;font-size:24px;width:30px;height:32px;border-radius:50%}.map-pin-location{font-size:10px;color:#a695b2;margin:9px 0 23px;font-variant-numeric:tabular-nums}.map-pin-editor label{display:block;color:#d1bdcf;font-size:12px;margin:18px 0 0}.map-pin-editor label span{font-size:10px;color:#968aa5;margin-left:5px}.map-pin-editor input,.map-pin-editor textarea{display:block;resize:vertical;width:100%;padding:12px 13px;margin:8px 0 0;min-height:43px;background:#ffffff08;border:1px solid #e8b9cc21;border-radius:11px;color:#f5e7ef;font:inherit;font-size:14px;line-height:1.5;outline:none}.map-pin-editor input:focus,.map-pin-editor textarea:focus{border-color:#e8b9cc85}.map-pin-editor textarea{min-height:86px;max-height:220px}.map-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin-top:20px}.map-editor-actions button{min-height:40px;padding:10px 15px;border-radius:11px;font-size:12px;color:#d2b9cd}.map-editor-actions button[type=submit]{background:#e8b9cc;color:#201b2b}.map-editor-actions button[type=submit]:hover{background:#f1c9da}.map-pin-error{font-size:11px;color:#f0b5c5;line-height:1.6;margin:12px 0 0}.map-pin-error:empty{display:none}.map-pin-editor[hidden],.map-pin-placement[hidden],#map-explore-view[hidden],#map-my-places[hidden]{display:none}.map-personal-toast{position:absolute;bottom:27px;left:50%;translate:-50% 0;z-index:950;max-width:calc(100% - 120px);padding:12px 18px;border-radius:13px;background:#11182aee;color:#eed5e0;box-shadow:0 6px 24px #10233235;font-size:12px;line-height:1.5;pointer-events:none;margin:0}.map-personal-toast:empty{display:none}.map-personal-card .map-pin-note-copy{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.map-place-card>div{flex-wrap:wrap;gap:12px 16px}.map-place-card [data-map-save][aria-pressed=true]{color:#ffe5a9}.leonida-personal-marker{background:none;border:0}.leonida-personal-marker svg{width:26px;height:32px;filter:drop-shadow(0 2px 5px #10203250);transition:translate .18s}.leonida-personal-marker:hover svg,.leonida-personal-marker:focus-visible svg{translate:0 -3px}.map-place-card [data-confirm-delete]{color:#ffd3da}.map-place-card>div>span{font-size:11px;flex-basis:100%;color:#bca9c4}
@keyframes pin-editor-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.map-personal-tabs button{font-size:13px;min-height:39px}.map-add-personal{top:14px;right:14px;min-height:43px;padding:11px 15px}.map-pin-placement{top:14px;display:grid;grid-template-columns:1fr auto;gap:8px 10px;padding:13px 16px;width:calc(100% - 28px)}.map-pin-placement>span{grid-column:1/-1;font-size:13px}.map-pin-placement button{font-size:12px;min-height:35px;padding:7px 0;text-align:left}.map-pin-placement button:last-child{text-align:right}.is-placing-pin .map-sidebar-toggle{visibility:hidden}.map-pin-editor{position:fixed;top:auto;bottom:max(12px,env(safe-area-inset-bottom));left:50%;translate:-50% 0;width:calc(100% - 24px);max-height:calc(100dvh - 95px);overflow:auto;padding:23px}.map-pin-editor input,.map-pin-editor textarea{font-size:16px}.map-editor-actions button{min-height:43px}.map-personal-toast{bottom:34px;max-width:calc(100% - 28px);width:max-content;font-size:12px}.map-my-edit,.map-my-remove{min-height:42px;min-width:34px}.map-my-row .map-result span{max-width:200px}}
@media(prefers-reduced-motion:reduce){.map-pin-editor{animation:none}.map-personal-tabs button,.leonida-personal-marker svg{transition:none}}

/* Map-only floating navigation. The canvas continues behind the glass. */
body.map-page{--map-header-top:14px;--map-header-height:68px;--map-ui-top:calc(var(--map-header-top) + var(--map-header-height) + 14px)}
body.map-page::before{display:none}
.map-page>.section-main{position:fixed;inset:0;height:100svh;min-height:0;margin:0;padding:0}
.map-page .leonida-sidebar{top:var(--map-ui-top)}
.map-page .map-sidebar-toggle,.map-page .is-sidebar-collapsed .map-sidebar-toggle,.map-page .map-add-personal,.map-page .map-pin-placement{top:var(--map-ui-top)}
@media(max-width:1100px){}
@media(max-width:760px){body.map-page{--map-header-top:max(10px,env(safe-area-inset-top));--map-header-height:64px}.map-page .leonida-sidebar{top:auto;max-height:min(70svh,calc(100svh - var(--map-ui-top) - 64px),580px)}.map-page .map-pin-editor{max-height:calc(100dvh - var(--map-ui-top) - 20px)}}
@media(max-width:360px){}
/* Explore stays compact; real data subtypes live behind one disclosure. */
.map-category-filters{display:flex;gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#bd91ad66 transparent}.map-category-filters button{flex:none;padding:9px 12px;min-height:38px}.map-category-filters button small{display:none}.map-more-filters{margin:10px 0 12px}.map-more-filters>summary{display:flex;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;padding:10px 0;color:#e8bfd3;font-size:13px}.map-more-filters>summary::-webkit-details-marker{display:none}.map-more-filters summary>span{font-size:11px;color:#c5a7bf;text-align:right}.map-filter-disclosure{padding:0 0 10px}.map-filter-disclosure .map-filter-section{margin-top:13px}.map-subtype-filters,.map-filter-disclosure .map-region-filters{display:flex;gap:4px;flex-wrap:wrap}.map-subtype-filters{max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bd91ad66 transparent;overscroll-behavior:contain}.map-subtype-filters button{font-size:12px;min-height:36px;padding:8px 10px;border-radius:9px;color:#cdb4d0}.map-subtype-filters button[aria-pressed=true]{background:#e8b9cc24;color:#f1d4e1}.leonida-sidebar>.map-sidebar-toggle{position:static;align-self:flex-start;flex:none;width:40px;height:40px;min-height:40px;padding:10px;margin:0 0 12px;z-index:8}.leonida-sidebar>.map-sidebar-toggle span{display:none}.map-place-card .world-popup-links{margin:8px 0}.map-place-card .world-popup-links p{font-size:12px!important;margin:0 0 6px!important;color:#bea6c4}.map-place-card .world-popup-links>a,.map-place-card>div>a,.map-place-card>div>button,.map-place-card>.map-feedback{display:inline-grid;place-items:center;min-width:36px;min-height:36px;padding:7px 10px;border-radius:10px;background:#e8b9cc16;color:#e8bfd5;font-size:18px;margin-right:6px}.map-place-card>.map-feedback{position:absolute;right:12px;top:12px;background:#171625b8;font-size:16px}.map-place-card>p{font-size:12px;margin:8px 0}.map-place-card h2{font-size:21px;margin:7px 0}.map-place-card>img{height:110px;object-fit:cover}.map-place-card .map-evidence{font-size:11px}

.map-place-card svg{width:18px;height:18px;display:block}

/* My places is a local collection, separate from the public map catalogue. */
.is-my-places .map-sidebar-intro,.is-my-places>.map-add-personal{display:none}#map-my-places [hidden],.map-pin-editor [hidden]{display:none!important}
.map-personal-tabs button[aria-pressed=true]{background:#e8b9cc27;color:#fff0f5;box-shadow:inset 0 0 0 1px #e8b9cc18}
.map-my-intro{display:block;margin:2px 0 17px}.map-my-intro h2{font-size:25px;letter-spacing:-.5px;font-weight:500;line-height:1.25;color:#fff3d9;margin:0 0 7px}.map-my-intro p{font-size:12px;color:#b9a8c2;line-height:1.5;margin:0}
.map-my-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:17px}.map-my-toolbar .map-my-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:42px;padding:10px 13px;border-radius:11px;background:#e8b9cc;color:#291d31;font-size:13px}.map-my-toolbar .map-my-add svg{width:17px;height:17px}
.map-my-action{display:inline-grid;place-items:center;flex:none;width:40px;height:42px;min-height:42px;padding:0;border-radius:10px;background:transparent;color:#d8b5cc}.map-my-action svg{width:17px;height:17px}.map-my-toolbar>.map-my-action{background:#e8b9cc0a;border:1px solid #e8b9cc20}
.map-my-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 22px}.map-my-filters{display:flex;gap:1px;min-width:0}.map-my-filters button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 7px;min-height:40px;color:#bba6c1;border-radius:8px;font-size:11px;white-space:nowrap}.map-my-filters button[aria-pressed=true]{background:#e8b9cc1c;color:#f7dce9}.map-my-filters span{font-size:10px;color:#aa90b1;font-variant-numeric:tabular-nums}
.map-my-sort{display:block;min-width:0}.map-my-sort select{width:70px;max-width:100%;min-height:40px;padding:7px 3px;background:transparent;color:#c9b3ce;border:0;border-radius:7px;font:inherit;font-size:11px;cursor:pointer;color-scheme:dark}
.map-my-group{margin:25px 0 0}.map-my-group>h3{display:flex;align-items:center;gap:12px;margin:0 0 5px;font-size:15px;font-weight:500;color:#ecd5e4;line-height:1.4}.map-my-group>h3>span{margin-left:auto;font-size:11px;color:#ac93b6;font-variant-numeric:tabular-nums}.map-my-group-intro{font-size:11px;line-height:1.6;color:#9f8dab;margin:0 0 12px}
.map-my-row{display:grid;grid-template-columns:19px minmax(0,1fr);align-items:start;gap:0 9px;padding:13px 12px 5px;margin:0 0 9px;background:#e8b9cc05;border:1px solid #e8b9cc17;border-radius:12px}.map-my-pin-icon{display:block;color:#c6a2bc;padding-top:3px}.map-my-pin-icon svg{width:18px;height:20px}.map-my-copy{min-width:0}.map-my-copy>.map-result{display:block;width:100%;text-align:left;padding:0;margin:0;min-height:0;background:transparent;border-radius:4px}.map-my-copy strong{display:block;font-size:14px;font-weight:500;line-height:1.5;color:#f1dfe9;white-space:normal;overflow-wrap:anywhere}.map-my-row .map-result span{display:-webkit-box;max-width:none;font-size:12px;line-height:1.6;color:#bca7c5;white-space:normal;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere;margin-top:4px}.map-my-local-note{font-size:12px;color:#bda7c4;line-height:1.6;overflow-wrap:anywhere;margin:6px 0 0}.map-my-meta{display:flex;gap:3px 9px;flex-wrap:wrap;margin:7px 0 0;font-size:10px;color:#9f8baa;line-height:1.6}.map-my-meta>span{color:#c3a2bb}.map-my-meta time{white-space:normal}.map-my-actions{grid-column:2;display:flex;justify-content:flex-end;gap:3px;margin-top:6px}.map-my-actions .map-my-action{width:36px;height:40px;min-height:40px;color:#baa0b6}.map-my-actions .map-my-action svg{width:16px;height:16px}
.map-my-empty{padding:13px 0 4px;margin:0}.map-my-empty p{font-size:12px;line-height:1.7;color:#aa97b5;margin:0 0 6px}.map-my-empty button{font-size:12px;color:#e5bad0;min-height:40px;padding:8px 0}
.map-my-confirm{padding:14px;background:#e8b9cc0c;border:1px solid #e8b9cc29;border-radius:12px;margin:0 0 18px}.map-my-confirm p{font-size:12px;color:#d6bfce;line-height:1.7;margin:0 0 12px}.map-my-confirm button{min-height:40px;font-size:12px;padding:9px 14px;border-radius:9px;color:#dcc4d6}.map-my-confirm [data-my-confirm]{background:#e8b9cc;color:#291e31;margin-right:6px}
.map-pin-editor select{display:block;width:100%;min-height:44px;padding:10px 12px;margin-top:8px;border:1px solid #e8b9cc25;border-radius:11px;background:#ffffff08;color:#f0dce8;font:inherit;font-size:14px;color-scheme:dark}.map-pin-editor input[readonly]{color:#b59ebc}.map-pin-editor label>small{display:block;font-size:11px;line-height:1.6;color:#a48cae;margin-top:6px}
#map-my-places button:focus-visible,#map-my-places select:focus-visible,.map-pin-editor select:focus-visible{outline:2px solid #e8b9cc;outline-offset:2px}
@media(hover:hover) and (pointer:fine){.map-my-action:hover{background:#e8b9cc12;color:#f7d9e8}.map-my-toolbar .map-my-add:hover{background:#f3c9dc}.map-my-copy>.map-result:hover{background:transparent}.map-my-copy>.map-result:hover strong{color:#fff0e6}}
@media(max-width:760px){.map-my-actions .map-my-action,.map-my-action{width:44px;height:44px;min-height:44px}.map-my-sort select{min-height:44px}.map-my-filters button{min-height:44px}.map-my-controls{gap:5px}.map-my-sort select{width:74px}.map-pin-editor select{font-size:16px}}
@media(max-width:360px){.map-my-filters button{padding:8px 5px;gap:4px}.map-my-sort select{width:65px}.map-my-row{padding:12px 10px 3px;gap:0 7px}}

/* Keep the scroll gutter clear of the panel's rounded corners. */
.leonida-sidebar{scrollbar-color:#88627f transparent}
@supports selector(::-webkit-scrollbar){
.leonida-sidebar{scrollbar-width:auto;scrollbar-color:auto}
.leonida-sidebar::-webkit-scrollbar{width:7px;background:transparent}
.leonida-sidebar::-webkit-scrollbar-track{background:transparent;margin-block:16px}
.leonida-sidebar::-webkit-scrollbar-thumb{background:#88627f;border:0;border-radius:10px}
.leonida-sidebar::-webkit-scrollbar-thumb:hover{background:#be8baa}
.leonida-sidebar::-webkit-scrollbar-corner{background:transparent}
}

/* Place actions follow the task order; reporting stays clear of Close. */
.map-place-card>.map-place-actions{display:flex;align-items:center;gap:8px;margin:16px 0 0}
.map-place-card>.map-place-actions>a,.map-place-card>.map-place-actions>button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;margin:0;border-radius:10px;font-size:13px;line-height:1.3;background:#e8b9cc16;color:#e8bfd5}
.map-place-card>.map-place-actions>[data-map-save]{order:-1;flex:1;width:auto;padding:0 12px;font-weight:500}
.map-place-card>.map-place-actions>[data-map-save][aria-pressed=true]{background:#e8b9cc2a;color:#ffe1ec}
.map-place-card>.map-feedback{position:static;display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:40px;margin:14px 0 0;padding:10px 0 0;border-top:1px solid #e8b9cc18;border-radius:0;background:transparent;color:#bda9bc;font-size:11px;line-height:1.4}
.map-place-card>.map-feedback svg{width:15px;height:15px;flex:none}
.map-place-card>.map-feedback:hover,.map-place-card>.map-feedback:focus-visible{color:#ffe1ec}
.map-place-card>.map-share-status:empty{display:none}
.map-place-card>.route-popup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 0}
.map-place-card>.route-popup-actions>button{width:100%;min-width:0;min-height:40px;margin:0;padding:8px!important;font-size:11px!important;line-height:1.4;border-radius:9px}
.map-place-card>.route-popup-actions>[data-route-action=stop]{grid-column:1/-1}

/* Collapsing the panel always leaves a readable way back to Places. */
.map-page .leonida-app>.map-sidebar-toggle{display:flex;align-items:center;gap:9px;min-height:44px;padding:11px 15px;border-radius:12px;background:#111425;color:#f2d3df;box-shadow:0 4px 16px #07132633;z-index:650}
.map-page .leonida-app>.map-sidebar-toggle:hover{background:#29243a}
.map-page .leonida-app>.map-sidebar-toggle span{display:block;font-size:13px}
.leonida-controls:has(.route-fit-control:not([hidden])) #map-fit{display:none}

/* All three map views put their title before the shared view tabs. */
.leonida-sidebar>.map-my-intro{display:none;margin:0;flex:none}
.is-my-places .leonida-sidebar>.map-my-intro{display:block}
.is-real-world .leonida-sidebar>.map-my-intro{display:none}

.map-coordinate-control{margin:0 0 5px 12px!important}.map-coordinate-control button{display:block;min-height:32px;padding:7px 10px;border:1px solid #eed3df24;border-radius:9px;background:#111425eb;color:#e6c5d7;font:11px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums;cursor:copy;user-select:text}.map-coordinate-control button:focus-visible{outline:2px solid #e8b9cc;outline-offset:3px}.map-place-card .map-place-coordinates{font-size:11px;font-variant-numeric:tabular-nums;color:#d5bfd4;margin:9px 0}.map-page .leaflet-bottom.leaflet-left{z-index:590}@media(max-width:760px){.map-coordinate-control button{font-size:10px;min-height:36px}.map-coordinate-control{margin-left:8px!important}}

body.map-page{--map-header-top:0px;--map-header-height:var(--site-header-height);--map-ui-top:calc(var(--site-header-height) + 14px)}
