.gather-atlas{margin:30px 0 32px;scroll-margin-top:24px}
.gather-atlas-title h3{font-family:var(--display);font-size:34px;margin:12px 0}
.gather-atlas-title p{color:var(--muted);font-size:14px;max-width:750px;line-height:1.8}
.gather-map-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px;margin-top:24px;background:#172126;border:1px solid var(--line);border-radius:12px 12px 0 0}
.gather-map-controls label{display:block;min-width:0;color:var(--muted);font-size:12px;font-weight:600}
.gather-map-controls select{display:block;margin-top:8px;width:100%;min-height:46px;border:1px solid #7c8b8e;border-radius:6px;background:#0f171b;color:var(--cream);font:inherit;font-size:14px;padding:10px 34px 10px 12px}
.gather-map-controls select:focus-visible,.gather-atlas button:focus-visible,.gather-atlas summary:focus-visible,.gather-map-link:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.gather-map-card{background:var(--panel);border:1px solid var(--line);padding:22px;border-radius:8px;margin:15px 0}
.gather-map-card>summary{cursor:pointer;font-family:var(--display);font-size:27px;color:var(--cream)}
.gather-map-card>summary span{display:block;font-family:var(--body);font-size:12px;color:var(--muted);margin-top:6px;line-height:1.7}
.gather-atlas.is-ready .gather-map-card{border-top:0;border-radius:0 0 12px 12px;margin:0}
.gather-atlas.is-ready .gather-map-card>summary{display:none}
.gather-map-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 18px}
.gather-map-heading h4{font-family:var(--display);font-size:30px;line-height:1.2;margin:0}
.gather-map-enlarge,.gather-map-close{border:1px solid #8b7045;border-radius:7px;padding:10px 16px;background:#e4b75e12;color:var(--gold-light);font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.gather-map-card figure,.gather-map-dialog figure{margin:0}
.gather-map-canvas{position:relative;overflow:hidden;border:1px solid #ab8b54;border-radius:7px;line-height:0;background:#483718}
.gather-map-canvas img{width:100%;height:auto;display:block}
.gather-map-points{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gather-map-points circle{fill:currentColor;stroke:#101519;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:crosshair}
.gather-map-points circle:hover,.gather-map-points .gather-point-selected{stroke:white;stroke-width:2.5;r:7}
.gather-color-0{color:#14e2fa}.gather-color-1{color:#ff6adb}.gather-color-2{color:#c4fc38}.gather-color-3{color:#ffe562}.gather-color-4{color:#fff}.gather-color-5{color:#ff916a}
.gather-map-legend{display:flex;flex-wrap:wrap;gap:12px 22px;list-style:none;padding:0;margin:18px 0 10px}
.gather-map-legend li{display:flex;align-items:center;gap:9px;font-size:13px}
.gather-map-legend li>span:last-child{color:var(--cream)}
.gather-map-key{display:inline-block;width:10px;height:10px;border-radius:50%;background:currentColor;box-shadow:0 0 0 1px #071519,0 0 0 2px currentColor;flex-shrink:0}
.gather-map-card figcaption p,.gather-map-dialog figcaption p{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0}
.gather-map-readout{padding:12px 15px;background:#0e171a;border-radius:7px;color:var(--gold-light);font-size:12px;line-height:1.8;min-height:46px;margin:16px 0 12px}
.gather-coordinates{color:var(--muted);font-size:12px;margin-top:15px;border-top:1px solid var(--line);padding-top:14px}
.gather-coordinates>summary{cursor:pointer;width:fit-content;line-height:1.8}.gather-coordinates>div{max-height:260px;overflow:auto;overscroll-behavior:contain}
.gather-coordinate-group h5{font-size:13px;color:var(--cream);margin:18px 0 12px}
.gather-coordinate-group ol{padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:7px 12px;line-height:1.8}
.gather-map-link{display:inline-block;color:var(--gold-light);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:4px;margin-top:10px}
.gather-table th .gather-map-link{display:block;width:fit-content;font-size:11px}
.gather-map-dialog{width:min(1300px,96vw);max-width:96vw;max-height:94vh;max-height:94dvh;padding:0;background:#111c20;color:var(--cream);border:1px solid #8b7045;border-radius:12px}
.gather-map-dialog::backdrop{background:#000d}
.gather-map-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;background:#172126;border-bottom:1px solid var(--line);font-size:14px}
.gather-map-dialog-content{padding:20px}.gather-map-dialog-content .gather-map-canvas{min-width:700px}
.gather-map-dialog-content figure{overflow-x:auto}.gather-map-dialog-content figcaption{min-width:0}
.gather-map-pan-hint{display:none;color:var(--muted);font-size:12px;padding:0 13px;line-height:1.7}
.gather-atlas [hidden]{display:none!important}
@media(max-width:760px){
 .gather-atlas-title h3{font-size:29px}.gather-map-controls{grid-template-columns:1fr;gap:16px;padding:18px}
 .gather-map-card{padding:15px}.gather-map-heading{gap:12px;align-items:flex-start}.gather-map-heading h4{font-size:25px}
 .gather-map-enlarge{font-size:11px;padding:8px 10px;white-space:nowrap}
 .gather-map-points circle{r:7;stroke-width:1}
 .gather-map-legend{gap:10px 18px}.gather-map-legend li{font-size:12px}
 .gather-map-dialog-bar{padding:13px;font-size:12px;align-items:flex-start}.gather-map-close{white-space:nowrap;padding:8px 10px}
 .gather-map-dialog-content{padding:12px}.gather-map-dialog-content .gather-map-canvas{min-width:780px}
 .gather-map-pan-hint{display:block}
 .gather-map-dialog-content .gather-map-points circle{r:8}
}
@media print{.gather-map-controls,.gather-map-enlarge,.gather-map-readout,.gather-coordinates,.gather-map-link{display:none!important}.gather-map-card{break-inside:avoid}.gather-map-legend li>span:last-child,.gather-map-card figcaption p{color:#222}}
