.cr-map{--cr-bg:#161222;--cr-panel:#201a30;--cr-line:#403653;--cr-text:#fff5ff;--cr-sub:#c9bbd9;--cr-hot:#ff84b1;display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:1px;border:1px solid var(--cr-line);border-radius:20px;overflow:hidden;color:var(--cr-text);background:var(--cr-line)}
.cr-map [hidden]{display:none!important}
.cr-map-top,.cr-map-help{grid-column:1/-1;padding:14px 18px;background:var(--cr-bg)}
.cr-map-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:2px solid transparent;border-image:linear-gradient(90deg,#ff8bb2,#885cff,#54d5f7) 1}
.cr-map-brand{margin-right:auto;display:grid;line-height:1.15}
.cr-map-brand strong{font-size:1.28rem}
.cr-map-brand small{margin-top:4px;color:var(--cr-sub)}
.cr-map-top label,.cr-map-switches label{display:inline-flex;align-items:center;gap:6px;font-size:.84rem}
.cr-map input[type=checkbox]{accent-color:#d96ed5;width:16px;height:16px;margin:0;flex:none}
.cr-map-tools,.cr-map-view{height:clamp(470px,74vh,880px);min-width:0;box-sizing:border-box}
.cr-map-view{background:#2c66a5;z-index:0}
.cr-map-tools{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);gap:12px;padding:15px 12px 0 15px;background:var(--cr-panel)}
.cr-map-search{display:grid;gap:6px;font-size:.85rem;font-weight:650}
.cr-map-search input{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--cr-line);background:var(--cr-bg);color:var(--cr-text);padding:10px 12px;border-radius:11px;font:inherit}
.cr-map-search input::placeholder{color:var(--cr-sub)}
.cr-map-actions,.cr-map-switches{display:flex;flex-wrap:wrap;gap:8px 10px}
.cr-map-actions button{flex:1}
.cr-map-top button,.cr-map-actions button,.cr-map-card button{padding:7px 10px;border:1px solid var(--cr-line);border-radius:9px;background:#312542;color:var(--cr-text);cursor:pointer;font:inherit;font-size:.84rem}
.cr-map button:hover,.cr-map-result:hover{background:#49355d}
.cr-map button:disabled{opacity:.35;cursor:default}
.cr-map :focus-visible{outline:2px solid var(--cr-hot);outline-offset:2px}
.cr-map-tools [role=status]{margin:0;color:var(--cr-sub);font-size:.78rem}
.cr-map-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-color:#755b90 var(--cr-panel);padding:0 5px 12px 0}
.cr-map-scroll ul{list-style:none;margin:0;padding:0}
.cr-map-recommend{padding:8px 0 10px}
.cr-map-recommend h3{font-size:.88rem;margin:0 0 7px}
.cr-map-filter-group{position:relative;border-top:1px solid var(--cr-line);padding:8px 0}
.cr-map-filter-group summary,.cr-map-help summary{cursor:pointer;font-weight:650}
.cr-map-filter-group summary{font-size:.82rem;color:#e3ceff;padding:5px 38px 5px 0}
.cr-map-group-head{position:absolute;right:2px;top:11px}
.cr-map .cr-map-group-toggle{position:relative;width:30px;height:17px;display:block;border:1px solid #a18eb2;border-radius:20px;background:#2a223a;cursor:pointer}
.cr-map-group-toggle::before{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#e3d5ec;transition:transform .2s}
.cr-map .cr-map-group-toggle[aria-pressed=true]{background:#a53eb2}
.cr-map-group-toggle[aria-pressed=true]::before{transform:translateX(12px)}
.cr-map-group-toggle[data-partial=true]::before{transform:translateX(6px)}
.cr-map-category-row{display:grid;grid-template-columns:minmax(0,1fr) 25px;align-items:center;gap:2px;border-radius:8px}
.cr-map-category-row:hover{background:#30243f}
.cr-map label.cr-map-category{display:grid;grid-template-columns:auto auto 1fr auto;gap:6px;align-items:center;padding:6px 3px;min-width:0;cursor:pointer;font-size:.83rem}
.cr-map-category small{color:var(--cr-sub);font-variant-numeric:tabular-nums}
.cr-map-category-jump{display:grid;place-items:center;width:25px;height:27px;padding:0;border:0;border-radius:6px;color:#eadcff;background:transparent;cursor:pointer}
.cr-map-category-jump svg,.cr-map-result>svg{width:15px;height:15px}
.cr-map-result{display:flex;align-items:center;gap:8px;width:100%;padding:5px 7px;margin:0 0 4px;border:1px solid #463752;border-radius:9px;color:var(--cr-text);background:#292035;cursor:pointer;text-align:left;font:inherit;font-size:.82rem}
.cr-map-result>svg{margin-left:auto;flex:none}
.cr-map-badge{display:grid;place-items:center;width:22px;height:22px;flex:none;box-sizing:border-box;border-radius:7px;background:#292035;background:color-mix(in srgb,var(--cr-pin,#795495) 58%,#1d1129);color:white;border:1px solid #ffffff63}
.cr-map-badge svg{width:14px;height:14px;pointer-events:none}
.cr-map-pin>.cr-map-badge{width:30px;height:30px;border:1.5px solid #fff;border-radius:10px;box-shadow:0 2px 8px #151021c4}
.cr-map-pin>.cr-map-badge svg{width:17px;height:17px}
.cr-map-found>.cr-map-badge{opacity:.58}
.cr-map-active>.cr-map-badge{opacity:1;animation:cr-map-pulse 480ms cubic-bezier(.25,.7,.3,1.1) both;outline:2px solid #ffe3f3;outline-offset:2px}
@keyframes cr-map-pulse{0%{transform:scale(.82)}55%{transform:scale(1.35)}100%{transform:scale(1.12)}}
.cr-map-popup .leaflet-popup-content-wrapper,.cr-map-popup .leaflet-popup-tip{background:var(--cr-bg);color:var(--cr-text)}
.cr-map-popup .leaflet-popup-content-wrapper{animation:cr-map-popup-enter 230ms ease-out both}
@keyframes cr-map-popup-enter{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.cr-map-card header,.cr-map-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cr-map-card p{margin:9px 0}
.cr-map-card a{color:#ffa8d2}
.cr-map-card button[aria-pressed=true]{border-color:var(--cr-hot)}
.cr-map-closed .cr-map-tools{display:none}
.cr-map-closed .cr-map-view{grid-column:1/-1}
.cr-map-help p{margin:8px 0}
@media(max-width:680px){.cr-map{grid-template-columns:1fr}.cr-map-top{padding:11px}.cr-map-brand{width:100%}.cr-map-tools{height:auto;max-height:315px;padding:10px 10px 0;gap:7px}.cr-map-view{height:55vh;min-height:330px}.cr-map-scroll{max-height:170px}}
@media(prefers-reduced-motion:reduce){.cr-map-active>.cr-map-badge,.cr-map-popup .leaflet-popup-content-wrapper{animation:none}.cr-map-group-toggle::before{transition:none}}
