#map-demo{--atlas-line:#303b56;--atlas-focus:#81adff;--atlas-muted:#afbdd5;color:#e6ebf7;width:100%;min-width:0}
#map-demo *{box-sizing:border-box}
.atlas-filters{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:14px;margin:0 0 20px}
.atlas-filters label,.atlas-timeline label{display:grid;gap:6px;color:#c2cde2;font:600 .79rem/1.45 system-ui,sans-serif}
.atlas-filters input,.atlas-filters select{border:1px solid #46516c;border-radius:5px;background:#10172a;color:#edf2ff;padding:10px 12px;width:100%;min-width:0;min-height:43px;font:400 .9rem/1.3 system-ui,sans-serif}
.atlas-filters input::placeholder{color:#aab5cb}
.atlas-board{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(210px,1fr);border:1px solid var(--atlas-line);background:#0a1020;border-radius:10px;overflow:hidden}
.atlas-geography{min-width:0;display:flex;flex-direction:column;background:#080e1d}
.atlas-maphead,.atlas-tools,.atlas-dirhead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px}
.atlas-maphead,.atlas-overline{font:600 .65rem/1.5 ui-monospace,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase;color:#b5c3db}
.atlas-maphead span:last-child{color:#b8b2dc}
.atlas-viewport{display:grid;align-content:center;flex:1;min-width:0}
.atlas-svg{display:block;width:100%;height:auto;aspect-ratio:2.4}
.atlas-ocean{fill:#080e1d}
#atlas-grid path{fill:none;stroke:#27314b;stroke-width:.7}
#atlas-grain circle{fill:#667a9b}
.atlas-shore{fill:#202e47;stroke:#647599;stroke-width:.8;stroke-linejoin:round}
.atlas-texture{fill:url(#atlas-grain);opacity:.52}
.atlas-markers g{cursor:pointer}
.atlas-markers .hit{fill:transparent}
.atlas-markers .halo{stroke:#839bb9;stroke-width:.9;fill:#569cd52b}
.atlas-markers .point{fill:#92c9ff;stroke:#0b2138;stroke-width:.75}
.atlas-markers [aria-pressed=true] .halo{fill:#b197ff40;stroke:#d2bcff;stroke-width:1.6}
.atlas-markers [aria-pressed=true] .point{fill:#f2d9ff}
.atlas-tools{flex-wrap:wrap;justify-content:flex-start;border-top:1px solid #232e46;padding:10px 15px;gap:5px}
.atlas-tools button,.atlas-directory button{color:#dce7ff;border:1px solid #455571;background:#101b30;font:inherit;cursor:pointer}
.atlas-tools button{border-radius:4px;min-height:34px;min-width:35px;padding:4px 8px;font-size:.88rem}
.atlas-tools button:disabled{opacity:.45;cursor:default}
.atlas-detail{padding:clamp(16px,2.2vw,32px);border-left:1px solid var(--atlas-line);background:#10172a}
.atlas-detail h3,.atlas-dirhead h3{font-size:clamp(1.3rem,1.9vw,1.85rem);line-height:1.2;color:#f2f4fc;letter-spacing:-.035em;margin:.4rem 0 .8rem}
.atlas-detail p:not(.atlas-overline),.atlas-detail dd,.atlas-credit,.atlas-dirhead p{color:var(--atlas-muted);font-size:.88rem;line-height:1.55}
.atlas-detail dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;border-top:1px solid var(--atlas-line);padding-top:.9rem;margin:1rem 0 0}
.atlas-detail dt{color:#d8e4ff;font:600 .77rem/1.6 system-ui,sans-serif}
.atlas-detail dd{margin:0;font-size:.8rem}
.atlas-timeline{display:flex;align-items:center;gap:20px;margin:16px 0 24px;padding:12px 0}
.atlas-timeline label{display:block;flex-shrink:0}
.atlas-timeline output{color:#eff3ff}
.atlas-timeline input{width:100%;min-width:50px;accent-color:#a99bff}
.atlas-dirhead{padding:0;border-bottom:1px solid var(--atlas-line)}
.atlas-dirhead p{margin:0}
.atlas-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--atlas-line)}
.atlas-directory button{min-width:0;text-align:left;display:grid;align-content:start;gap:5px;border:0;background:#0c1324;padding:16px}
.atlas-directory button[aria-pressed=true]{background:#1b2440;box-shadow:inset 3px 0 #a4a3fc}
.atlas-directory small,.atlas-directory span{font-size:.74rem;color:#afc0db}
.atlas-directory strong{font-weight:600;font-size:.96rem}
.atlas-credit{margin:1rem 0;font-size:.74rem}
#map-demo :focus-visible{outline:2px solid #bdd2ff;outline-offset:-3px}
@media(max-width:850px){.atlas-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-board{grid-template-columns:1fr}.atlas-detail{border-top:1px solid var(--atlas-line);border-left:0}.atlas-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:510px){.atlas-filters{gap:8px}.atlas-filters input,.atlas-filters select{padding:8px;font-size:.8rem}.atlas-maphead{padding:12px}.atlas-tools{padding:9px;gap:4px}.atlas-tools button{min-width:29px}.atlas-directory{grid-template-columns:1fr}.atlas-timeline{align-items:stretch;flex-direction:column;gap:6px}.atlas-dirhead{align-items:baseline}.atlas-geography{padding-top:2px}}
