#treasure-map{background:linear-gradient(135deg,#533d26,#2e2317);border:3px double #c4a36b;padding:14px;box-shadow:0 12px 28px #0007}#treasure-map #map{background:#d9c39a;border:5px double #77512e;border-radius:3px;box-shadow:0 0 0 1px #d5b47a,inset 0 0 25px #66451f66}.t84-heading h2{font-family:Georgia,serif;font-style:italic;color:#f8e6b8}.t84-heading small{letter-spacing:.2em}.exp-map-paper{position:relative}.exp-map-paper:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:500;border-radius:3px;box-shadow:inset 0 0 36px #60401e66;background:url('expedition-paper.svg');opacity:.36;mix-blend-mode:multiply}.exp-map-paper #map:not(.exp-modern) .leaflet-tile-pane{filter:sepia(.78) saturate(.64) contrast(.94) brightness(1.02)}.exp-map-paper:has(.exp-modern):after{display:none}.exp-map-paper .leaflet-control-attribution{background:#fff8e5;color:#352819}.exp-map-paper .leaflet-control-attribution a{color:#493018}.exp-map-paper .leaflet-control-zoom a{background:#f5e5be;color:#493018;border-color:#97734a}.exp-map-paper .leaflet-tooltip{background:#f5e5be;color:#382719;border:1px solid #9d7544;font: bold 13px Georgia,serif}.exp-compass{position:absolute;right:12px;bottom:30px;width:78px;height:78px;z-index:501;pointer-events:none;filter:drop-shadow(0 2px 2px #573a2577)}.exp-map-paper:has(.t84-empty) .exp-compass{display:none}.exp-map-paper:has(.exp-modern) .exp-compass{display:none}.exp-map-paper:has(.t84-empty):after{display:none}.t84-pin.pending{background:radial-gradient(circle at 32% 25%,#f0dfb5,#b99b67);color:#49351d;border-color:#67451e}.t84-pin.earned{background:radial-gradient(circle at 30% 20%,#fff0af,#b48639 65%,#68421d);border-color:#fff0b1}.exp-map-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0;color:#f6e4be;font:13px system-ui}.exp-map-switch button{min-height:44px}.exp-map-switch button[aria-pressed=true]{background:#e5c98c;color:#392617;border-color:#e5c98c}.exp-map-note{color:#f3e3bf;font:12px/1.5 system-ui;margin:8px 0}.exp-map-paper .leaflet-control-layers{background:#f8eaca;color:#382719}.exp-map-paper .leaflet-control-layers label{color:#382719}.exp-map-paper .leaflet-control-layers input{accent-color:#75421f}@media(max-width:700px){#treasure-map{padding:9px}.exp-compass{width:60px;height:60px}}@media(prefers-reduced-motion:reduce){.exp-map-paper *{animation:none!important}}
#treasure-map{overflow:hidden;background:radial-gradient(ellipse at 40% 0,#644a2b,#35261a 80%)}
.ns-atlas-engraving,.ns-atlas-colophon{display:block;width:100%;height:auto;border:1px solid #946e3d}
.ns-atlas-engraving{margin:0 0 .55rem}
.ns-atlas-colophon{margin:.3rem 0 .5rem}
#treasure-map #map{height:clamp(480px,68vh,740px);background:#e6d2a5}
.exp-map-paper:after{opacity:.18}
.t84-marker .t84-pin{width:28px;height:28px;font-size:18px;border-width:1.5px}
.exp-compass{right:13px;top:15px;bottom:auto;width:65px;height:65px}
.exp-map-switch{flex-wrap:nowrap}
.exp-map-switch button{font-size:.85rem;white-space:nowrap;padding:.4rem .65rem}
#treasure-map h2{color:#ffe9b8}
@media(max-width:700px){
 #treasure-map #map{height:clamp(380px,58svh,565px)}
 #treasure-map .t84-heading h2{font-size:1.36rem}
 .t84-marker .t84-pin{width:28px;height:28px;font-size:16px}
 .exp-compass{width:44px;height:44px;right:6px;top:6px}
 .exp-map-switch{gap:.25rem}
 .exp-map-switch button{font-size:.78rem;padding:.3rem .45rem;flex:1}
}
.atlas-cluster span{display:grid;place-items:center;width:35px;height:35px;border:2px solid #75522e;border-radius:50%;box-shadow:0 2px 6px #34220b80;color:#422b15;background:radial-gradient(circle at 32% 25%,#f4e5bb,#c5a267);font:700 15px Georgia,serif}
.atlas-cluster:focus-visible{outline:3px solid #493018;outline-offset:3px}
@media(max-width:700px){html,body{max-width:100%;overflow-x:clip}#treasure-map,#treasure-map *{min-width:0}.t84-controls button{min-width:0}.t84-controls{gap:4px}.exp-map-switch button{white-space:normal}}
@media(max-width:700px){#treasure-map{align-self:stretch;width:auto;max-width:calc(100% - 16px)}}

/* Keep the engraving crisp while leaving a 44px keyboard and touch target. */
.ns-medal-marker{display:grid!important;place-items:center;background:none;border:none;cursor:pointer}
.ns-medal-face{display:block;position:relative;width:35px;height:35px;line-height:1;filter:drop-shadow(0 2px 1px #3f28177d);pointer-events:none}
.ns-medal-face svg{display:block;width:100%;height:100%;overflow:visible}
.ns-medal-outline{stroke-width:1.7;stroke-linejoin:round}
.ns-medal-face.is-visited .ns-medal-outline{stroke:#8c5c1c;stroke-width:2.4}
.ns-medal-marker:hover .ns-medal-face,.ns-medal-marker:focus-visible .ns-medal-face{filter:drop-shadow(0 2px 1px #302214a0) drop-shadow(0 0 2px #fae7ac)}
.ns-medal-marker:focus-visible,.atlas-cluster:focus-visible{outline:2px solid #352413;outline-offset:-2px;border-radius:8px}
.ns-medal-state{position:absolute;width:13px;height:13px;display:grid;place-items:center;border-radius:50%;font:800 10px/1 system-ui;border:1px solid #4f341a;color:#281b12;background:#efcd79;box-shadow:0 1px 2px #32231388}
.ns-medal-visit{bottom:-1px;right:-2px}
.ns-medal-favorite{top:-1px;right:-2px}
.atlas-cluster{display:grid!important;place-items:center}
.exp-map-paper:after{opacity:.13}
@media(max-width:700px){.ns-medal-face{width:33px;height:33px}}
