.district-map { position:relative; isolation:isolate; width:100%; height:100%; overflow:hidden; }
.district-geography,.district-artwork,.district-pins,.district-surface { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.district-map--pick { cursor:crosshair; background:#111b36; }
.district-map--pick .district-town { font-size:11px; }
.district-surface canvas { display:block; background:transparent; }
.district-surface [class^="l7-"] { background-color:transparent; }
.district-area { stroke:#59d8ff80; stroke-width:.8; }
.district-land { stroke-width:1.3; }
.district-neighbors { fill:#21467b44; stroke:#6597c035; stroke-width:.7; }
.district-town { fill:#eaf9ff; font:600 12px system-ui,"Microsoft YaHei",sans-serif; paint-order:stroke; stroke:#102652; stroke-width:2.5px; stroke-linejoin:round; }
.district-leader { stroke:#b7eeff90; stroke-width:.7px; }
.district-edge { fill:none; stroke-linecap:round; animation:district-orbit 9s linear infinite; }
.district-edge--halo { stroke:#29ebfb; opacity:.18; stroke-width:7; stroke-dasharray:.09 .91; }
.district-edge--tail { stroke:#74f5ff; opacity:.7; stroke-width:2.2; stroke-dasharray:.055 .945; }
.district-edge--head { stroke:#e8ffff; stroke-width:2.6; stroke-dasharray:.012 .988; }
@keyframes district-orbit { to { stroke-dashoffset:-1; } }
.district-pin { --dot:8px; position:absolute; display:grid; place-items:center; width:calc(var(--dot) + 5px); height:calc(var(--dot) + 5px); transform:translate(-50%,-50%); padding:0; border:0; border-radius:50%; background:none; pointer-events:auto; cursor:pointer; }
.district-pin:hover,.district-pin:focus-visible,.district-pin[aria-pressed=true] { z-index:2; outline:1px solid #eaf9ff; outline-offset:2px; }
.district-pin--hq { --dot:18px; z-index:1; }
.district-pin--business { --dot:12px; }
.district-pin--street { --dot:11px; }
.district-pin-core { width:var(--dot); height:var(--dot); border-radius:50%; background:var(--pin); box-shadow:0 0 8px var(--pin); }
.district-pin--station .district-pin-core { width:12px; height:12px; background:radial-gradient(circle,#a8ffdc 0%,var(--pin) 48%,transparent 100%); box-shadow:none; }
.district-pin--business i,.district-pin--street i { box-shadow:inset 0 0 0 2px #eaf9ff8c,0 0 9px var(--pin); }
.district-pin--hq i { clip-path:polygon(50% 0,64% 33%,100% 37%,73% 62%,80% 100%,50% 80%,20% 100%,27% 62%,0 37%,36% 33%); }
.district-pin--hq::before { content:""; position:absolute; inset:0; border-radius:50%; border:1px solid var(--pin); animation:district-pulse 2.7s ease-out infinite; }
@keyframes district-pulse { from { transform:scale(.8); opacity:.84; } to { transform:scale(1.55); opacity:0; } }
.district-map--still .district-edge,.district-map--still .district-pin--hq::before { animation:none; }
.district-map--still .district-edge { display:none; }
.district-map--paused .district-edge,.district-map--paused .district-pin--hq::before { animation-play-state:paused !important; }
.district-tooltip { position:absolute; z-index:4; pointer-events:none; width:max-content; max-width:min(246px,calc(100% - 16px)); padding:10px 12px; border:1px solid #56cef4a8; border-radius:6px; background:#101b3cf2; box-shadow:0 6px 24px #070d23bb; color:#effaff; font:13px/1.5 system-ui,sans-serif; overflow-wrap:anywhere; }
.district-tooltip strong,.district-tooltip small { display:block; }
.district-tooltip small { color:#b1d3ef; font-variant-numeric:tabular-nums; }
.district-badge { display:block; font-size:12px; }
.district-address { margin:3px 0; }
.district-description { margin:3px 0; color:#b9cbe0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; white-space:pre-line; }
.district-picked { fill:#ecfaff; stroke:#116288; stroke-width:2px; }
.district-picked-cross { fill:none; stroke:#19e4ff; stroke-width:1.3px; }
.district-status { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:#cceaff; pointer-events:none; }
.district-surface { z-index:0; }
.district-artwork { z-index:1; }
.district-pins { z-index:2; contain:layout style; }
.district-legend { z-index:3; }
