/* Map workspace: same palette and typography, more room for the map itself. */
.map-page{max-width:1600px;padding-top:18px}.map-page .page-meta{margin-bottom:12px}.map-page.view-enter{animation:none}
.atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px;padding:4px 0 12px;border-bottom:1px solid var(--line)}
.atlas-heading .eyebrow{font-size:10px;margin-bottom:6px}.atlas-heading h1{font-size:32px;line-height:1.35}.atlas-heading p{font-size:12px;color:var(--muted);margin-top:6px}.atlas-totals{display:flex;align-items:baseline;gap:7px;white-space:nowrap;font-size:12px;color:var(--muted)}.atlas-totals strong{font-family:var(--serif);font-size:21px;color:var(--green);font-weight:500}.atlas-totals>span{margin:0 5px}
.map-page .map-layout{grid-template-columns:1fr;gap:15px}.map-page .map-panel{isolation:isolate}.map-page .map-topbar{padding:10px 12px;gap:14px;flex-wrap:wrap;background:#faf9ef;border-bottom:1px solid var(--line)}
.map-jumps{display:flex;gap:8px;flex:1;justify-content:flex-end;min-width:0}.map-page .map-topbar select{max-width:225px;min-height:40px;padding:8px 11px}.map-top-actions{display:flex;gap:7px}.map-text-control,.map-icon-control{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;min-width:44px;border:1px solid var(--line);border-radius:7px;background:#fffdf4;color:var(--green);font-size:12px;padding:8px 10px}.map-text-control .icon,.map-icon-control .icon{width:19px;height:19px}
.map-page .map-stage{position:relative;min-height:0}.map-page .map-canvas{height:clamp(420px,calc(100svh - 300px),750px);width:100%;background:#e5efec;touch-action:none;z-index:0}
.map-page .leaflet-container{font-family:var(--sans);outline-offset:-3px}.map-page .leaflet-container:focus-visible{outline:3px solid #a68b4e}.map-page .atlas-land{overflow:visible}.atlas-land .land{fill:#cfdcbc;stroke:#f9f9eb;stroke-width:.8}.atlas-land .land.collected{fill:#a1bb98}.atlas-land .land.active-country{fill:#87a685}
.map-page .map-zoom{left:14px;top:14px;bottom:auto;z-index:800}.map-page .map-zoom button{width:44px;height:44px}.map-page .map-zoom button:disabled{opacity:.35;cursor:default}.map-page .map-zoom .icon{width:19px;height:19px}.map-page #map-scale{display:block;padding:5px 0;text-align:center;font-size:9px;background:#f8f7ed;color:var(--muted);border-top:1px solid var(--line)}
.map-names{position:absolute;right:14px;top:14px;z-index:800;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:#fffdf4ee;color:var(--green);font-size:11px;box-shadow:var(--shadow)}
.mug-map-marker{border:0;background:none;display:grid;place-items:center;outline-offset:0}.mug-map-marker>span{width:11px;height:11px;border:2px solid #fffcf0;border-radius:50%;background:#78957f;box-shadow:0 1px 4px #244c3e55}.mug-map-marker.is-owned>span{background:var(--green)}.mug-map-marker.is-wanted>span{background:#bf885b}.mug-map-marker.is-selected>span{background:#b5814e;box-shadow:0 0 0 5px #b5814e25}.mug-map-marker.is-cluster>span{display:grid;place-items:center;width:30px;height:30px;background:#e9efdf;color:#315b43;border:2px solid #fffcef;box-shadow:0 1px 6px #244c3e35;font:600 12px var(--sans)}.mug-map-marker.is-cluster.is-owned>span{background:#b6caaa}.mug-map-marker:focus-visible{outline:3px solid #b28c4c;border-radius:50%}
.mug-map-label.leaflet-tooltip{border:0;border-radius:3px;background:#fffcefbc;box-shadow:none;color:#35523e;font:11px var(--sans);padding:2px 5px;line-height:18px}.mug-map-label.leaflet-tooltip:before{display:none}.mug-map-popup .leaflet-popup-content-wrapper{background:#fffcf2;color:var(--green);border:1px solid #ced8c5;border-radius:12px;box-shadow:0 8px 28px #2c4c3426}.mug-map-popup .leaflet-popup-tip{background:#fffcf2}.mug-map-popup .leaflet-popup-content{margin:20px 17px}.map-popup-card{display:flex;gap:12px;align-items:center}.map-popup-card img{object-fit:contain;flex:none}.map-popup-card h2{font:20px var(--serif);margin:0 0 5px}.map-popup-card p{font-size:10px;margin:0 0 10px;color:var(--muted)}.map-popup-card .text-link{font-size:11px}.map-place-list{display:grid;gap:6px}.map-place-list button{text-align:left;min-height:38px;padding:7px;border-bottom:1px solid var(--line)}
.map-page .leaflet-control-attribution{font-size:9px;background:#fffcefbc;color:#77826e}.map-page .leaflet-control-attribution a{color:#50715a}.map-page .map-legend{gap:15px;flex-wrap:wrap;padding:10px 14px}.map-page #map-place-count{font-weight:500;color:var(--green);margin-left:auto}.map-gesture-hint{color:var(--muted);font-size:10px}.map-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:800;padding:14px 18px;max-width:75%;background:#fffdefed;border:1px solid var(--line);border-radius:9px;pointer-events:none;font-size:12px;text-align:center}.map-empty[hidden]{display:none}.map-error{padding:30px;font-size:13px}
.map-page .destination-card{display:grid;grid-template-columns:90px minmax(120px,1fr) auto;column-gap:20px;padding:12px 22px;align-items:center}.map-page .destination-card:before{display:none}.map-page .destination-card .mug-art{grid-column:1;grid-row:1/4;height:92px;margin:0}.map-page .destination-card .mug-art img{width:90px;height:90px}.map-page .destination-heading{grid-column:2;grid-row:1}.map-page .destination-heading>.icon{display:none}.map-page .destination-card .series-caption{grid-column:2;grid-row:2;text-align:left;margin:2px 0 0}.map-page .destination-card .card-actions{grid-column:3;grid-row:1/3;min-width:200px}.map-page .destination-card>.text-link{grid-column:3;grid-row:3;margin:0;font-size:11px}.map-page .destination-card h2{font-size:23px}
body.map-expanded{overflow:hidden}.map-page .map-panel.is-expanded{position:fixed;inset:12px;z-index:100;display:flex;flex-direction:column;box-shadow:0 0 0 20px #f7f5ed}.map-panel.is-expanded .map-stage{flex:1;display:flex;min-height:0}.map-panel.is-expanded .map-canvas{height:100%;flex:1}.map-panel.is-expanded .map-topbar,.map-panel.is-expanded .map-legend{flex:none}
@media(max-width:780px){.map-page{padding:16px 12px 35px}.atlas-heading{align-items:flex-start;gap:9px;flex-direction:column;padding:0 5px 12px;margin-bottom:12px}.atlas-heading h1{font-size:25px}.atlas-heading .eyebrow{font-size:9px}.atlas-heading p{display:none}.atlas-totals{font-size:10px;gap:5px}.atlas-totals strong{font-size:16px}.atlas-totals>span{margin:0 3px}.map-page .map-topbar{display:grid;grid-template-columns:1fr auto;gap:8px;padding:9px}.map-page .map-topbar .segmented{justify-self:start}.map-page .map-topbar .segmented button{padding:8px 10px;min-height:34px}.map-jumps{grid-column:1/-1;grid-row:2;justify-content:stretch}.map-page .map-topbar select{width:100%;max-width:none;min-width:0;font-size:11px;min-height:40px}.map-jumps #map-region{flex:0 1 40%}.map-jumps #map-place{flex:1}.map-top-actions{grid-row:1;grid-column:2;gap:5px}.map-text-control{font-size:10px;padding:6px}.map-text-control .icon{display:none}.map-icon-control{padding:6px}.map-page .map-canvas{height:clamp(400px,calc(100svh - 260px),650px)}.map-page .map-zoom{top:10px;left:10px}.map-names{top:10px;right:10px}.map-page .map-legend{gap:10px;font-size:9px}.map-gesture-hint{flex-basis:100%;text-align:center;font-size:9px}.map-page .destination-card{grid-template-columns:85px minmax(0,1fr);padding:13px;column-gap:13px}.map-page .destination-card .card-actions{grid-column:2;grid-row:3;min-width:0;margin-top:8px}.map-page .destination-card>.text-link{grid-column:2;grid-row:4;justify-content:flex-start;margin-top:7px;font-size:10px}.map-page .destination-card .mug-art{grid-row:1/5}.map-page .destination-card h2{font-size:20px}.map-page .map-panel.is-expanded{inset:7px;border-radius:10px}.map-panel.is-expanded .map-gesture-hint{display:none}}
