.public-atlas { --atlas-bg:#fff; --atlas-text:#172033; --atlas-muted:#566477; --atlas-border:#dbe1e8; --atlas-soft:#f3f6fa; color:var(--atlas-text); width:min(1440px,100%); margin:0 auto; padding:32px 24px; flex:1; box-sizing:border-box; }
.public-atlas.atlas-dark { --atlas-bg:#172033; --atlas-text:#f1f5f9; --atlas-muted:#b4c1d3; --atlas-border:#3b4b62; --atlas-soft:#243249; }
.public-atlas *, .public-atlas *::before, .public-atlas *::after { box-sizing:border-box; }
.public-atlas [hidden] { display:none!important; }
.atlas-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.atlas-heading h1 { font-size:clamp(28px,3vw,40px); line-height:1.2; font-weight:800; margin:4px 0 10px; color:var(--atlas-text); }
.atlas-heading p { margin:0; color:var(--atlas-muted); font-size:15px; }
.atlas-heading .atlas-eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:1.5px; font-weight:700; }
.public-atlas .atlas-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; border:1px solid var(--atlas-border); background:var(--atlas-bg); color:var(--atlas-text); border-radius:10px; padding:10px 15px; font-family:inherit; font-size:13px; line-height:1.3; font-weight:600; cursor:pointer; text-decoration:none; white-space:nowrap; }
.public-atlas .atlas-button:hover { background:var(--atlas-soft); }
.public-atlas button:focus-visible, .public-atlas a:focus-visible, .public-atlas input:focus-visible, .public-atlas select:focus-visible { outline:3px solid #3b82f6; outline-offset:2px; }
.atlas-toolbar { display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px; background:var(--atlas-bg); border:1px solid var(--atlas-border); border-radius:14px; padding:16px; position:relative; z-index:2; }
.atlas-toolbar label { display:block; color:var(--atlas-muted); font-size:12px; font-weight:600; margin-bottom:6px; }
.atlas-search { flex:1 1 280px; position:relative; min-width:0; }
.atlas-search-field { position:relative; }
.atlas-toolbar input, .atlas-toolbar select { width:100%; height:42px; border:1px solid var(--atlas-border); background:var(--atlas-bg); color:var(--atlas-text); border-radius:8px; padding:8px 12px; font:inherit; font-size:14px; }
.atlas-toolbar input { padding-right:38px; }
.atlas-toolbar input::-webkit-search-cancel-button { display:none; }
.atlas-toolbar input::placeholder { color:var(--atlas-muted); }
.atlas-search-field button { position:absolute; right:2px; top:2px; width:38px; height:38px; background:transparent; color:var(--atlas-muted); border:0; font-size:24px; cursor:pointer; }
.atlas-field { flex:0 1 185px; min-width:150px; }
#atlas-search-dropdown { position:absolute; top:100%; left:0; right:0; margin-top:6px; max-height:320px; overflow:auto; background:var(--atlas-bg); border:1px solid var(--atlas-border); box-shadow:0 12px 30px #0002; border-radius:10px; z-index:10; }
.atlas-result { padding:12px; cursor:pointer; border-bottom:1px solid var(--atlas-border); font-size:13px; }
.atlas-result:hover, .atlas-result[aria-selected="true"] { background:var(--atlas-soft); }
.atlas-result strong, .atlas-result small { display:block; }
.atlas-result small { margin-top:4px; color:var(--atlas-muted); }
.atlas-search-note { padding:10px 12px; font-size:12px; color:var(--atlas-muted); }
.atlas-map-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; align-items:center; padding:16px 2px 12px; font-size:13px; }
.atlas-map-meta p { margin:0; }
.atlas-legend { display:flex; gap:18px; color:var(--atlas-muted); }
.atlas-legend span { display:flex; align-items:center; gap:7px; }
.atlas-legend-dot { display:inline-block; width:10px; height:10px; border-radius:50%; }
.collected { background:#15803d; } .seeking { background:#64748b; }
#frontendAtlasMap { height:65vh; min-height:380px; max-height:820px; width:100%; border:1px solid var(--atlas-border); border-radius:14px; z-index:1; background:#e9eef3; }
.atlas-map-hint { font-size:12px; color:var(--atlas-muted); margin:12px 0 0; }
.atlas-notice { padding:12px 15px; background:var(--atlas-soft); border:1px solid var(--atlas-border); border-radius:10px; color:var(--atlas-text); font-size:13px; margin:0 0 12px; }
.atlas-pin span { display:flex; align-items:center; justify-content:center; width:25px; height:25px; border:3px solid white; border-radius:50% 50% 50% 0; transform:rotate(-45deg); box-shadow:0 2px 5px #0005; color:#fff; }
.atlas-pin b { transform:rotate(45deg); font:700 10px/1 sans-serif; }
.atlas-cluster { display:flex!important; align-items:center; justify-content:center; background:#172554; border:4px solid #bfdbfe; border-radius:50%; color:white; font:700 13px/1 sans-serif; box-shadow:0 2px 5px #0003; }
.atlas-popup { font:13px/1.5 system-ui,sans-serif; color:#172033; min-width:180px; }
.atlas-popup h2 { margin:0 0 5px; font-size:17px; font-weight:750; }
.atlas-popup p { margin:5px 0; }
.atlas-popup .atlas-popup-status { display:inline-block; background:#edf2f7; border-radius:5px; padding:3px 8px; font-size:11px; font-weight:700; }
.atlas-popup .atlas-popup-status.is-collected { background:#dcfce7; color:#166534; }
.atlas-popup a { display:block; margin-top:10px; color:#1d4ed8; font-weight:650; text-decoration:underline; }
.atlas-popup img { display:block; max-width:100%; width:230px; height:145px; object-fit:contain; margin:10px 0; border-radius:6px; background:#f5f6f8; }
@media(max-width:640px) { .public-atlas { padding:20px 12px; } .atlas-heading { align-items:flex-start; gap:14px; flex-direction:column; margin-bottom:18px; } .atlas-toolbar { padding:12px; gap:10px; } .atlas-search { flex-basis:100%; } .atlas-field { flex:1 1 40%; min-width:0; } .atlas-toolbar .atlas-button { flex:1 1 auto; } #frontendAtlasMap { min-height:340px; height:58vh; } }
