/* 地图内容、操作区各自留出空间，适应不同比例的中控面板。 */
.drill-map { position:absolute; inset:0; pointer-events:none; }
.drill-map[hidden] { display:none; }
.story-map-copy { left:4%; top:5%; bottom:68px; width:30%; overflow:auto; pointer-events:auto; }
.story-map-copy h3 { font-size:clamp(16px,2.4cqw,26px); }
.story-map-copy .story-overline { line-height:1.15; }
.story-map-copy h3 { margin-top:5px; line-height:1.15; }
.story-map-copy .story-desc { margin-top:4px; line-height:1.3; }
.story-map-copy .story-map-total { margin:8px 0 6px; }
.story-map-list { width:95%; gap:2px; }
.story-map-list li { padding:3px 0; }
.drill-nav { position:absolute; z-index:3; top:2%; right:2%; left:35%; display:flex; justify-content:flex-end; gap:3px; pointer-events:auto; }
.drill-nav button { min-width:0; padding:4px 5px; border:1px solid #276982; border-radius:3px; background:#06243be8; color:#86b9c8; font:inherit; font-size:clamp(8px,1.1cqw,11px); white-space:nowrap; cursor:pointer; }
.drill-nav button[aria-current=true],.drill-nav button:hover { color:#e3fcff; background:#0b5772; border-color:#58d2ec; }
.drill-nav button:focus-visible,.drill-target:focus-visible { outline:2px solid #c2faff; outline-offset:2px; }
.drill-svg { position:absolute; left:34%; right:0; top:12%; width:65%; height:calc(88% - 52px); overflow:hidden; pointer-events:auto; transform-origin:center; }
.drill-region { fill:#0a3654; stroke:#4895b2; stroke-width:1; vector-effect:non-scaling-stroke; transition:fill .15s; }
.drill-region:nth-of-type(even) { fill:#0b405c; }
.drill-target,.drill-target:nth-of-type(even) { fill:#10617d; stroke:#9aeafb; stroke-width:1.6; cursor:pointer; }
.drill-target:hover,.drill-target:focus { fill:#1c91a6; stroke:#fff; stroke-width:2.5; }
.drill-label { fill:#e4fcff; font-size:25px; font-weight:700; paint-order:stroke; stroke:#052139; stroke-width:6px; pointer-events:none; }
.drill-network { pointer-events:none; }
.network-line { fill:none; stroke:#52b9d4; stroke-width:1; opacity:.36; vector-effect:non-scaling-stroke; }
.network-line.is-sample { stroke:#85e9ff; stroke-width:1.5; opacity:.78; }
.network-flight { fill:none; stroke:#d3fbff; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:3 260; vector-effect:non-scaling-stroke; animation:network-fly 4.5s linear infinite; }
.network-node { fill:#8bbecf; opacity:.8; }
.network-node.is-sample { fill:#b7f5ff; stroke:#24acc9; stroke-width:3; }
.network-hub { fill:#e3fcff; stroke:#37c9e5; stroke-width:5; }
.chengdu-network .network-line { opacity:.48; stroke-width:1; }
.chengdu-network .network-flight { stroke-dasharray:2 98; }
@keyframes network-fly { from { stroke-dashoffset:0; } to { stroke-dashoffset:-263; } }
.drill-footer { position:absolute; left:4%; right:3%; bottom:2%; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; pointer-events:none; }
.drill-meta { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:2px; color:#8bb9c6; font-size:clamp(9px,1.1cqw,11px); line-height:1.25; }
.drill-summary { color:#c3eef4; font-weight:600; font-size:clamp(10px,1.25cqw,13px); line-height:1.25; }
.drill-summary strong { color:#8af1fb; font-size:1.18em; }
.drill-provenance { display:flex; flex-wrap:wrap; column-gap:8px; row-gap:1px; color:#83aebc; }
.drill-source { max-width:100%; overflow-wrap:anywhere; }
.drill-source { pointer-events:auto; }
.drill-source a { color:#9bdde8; }
#map-controls { position:static; flex:0 0 auto; pointer-events:auto; }
@media (max-width:700px) { .drill-nav { left:32%; gap:2px; } .drill-nav button { padding:3px; font-size:8px; } .story-map-copy { width:31%; } }
@media (prefers-reduced-motion:reduce) { .network-flight { animation:none; } .drill-region { transition:none; } }

/* 内容仍可滚轮、触控和键盘滚动，隐藏突兀的系统滚动条。 */
.story-map-copy { scrollbar-width:none; -ms-overflow-style:none; overscroll-behavior:contain; }
.story-map-copy::-webkit-scrollbar { display:none; width:0; height:0; }
.story-map-copy:focus-visible { outline:1px solid #55cae0; outline-offset:3px; }
.school-marker,.village-points { pointer-events:none; }
.school-ring { fill:#ffca5d20; stroke:#ffcf70; stroke-width:2; vector-effect:non-scaling-stroke; }
.school-dot { fill:#fff5cf; stroke:#ffc15b; stroke-width:3; vector-effect:non-scaling-stroke; }
.school-label,.school-detail,.village-label,.village-detail { paint-order:stroke; stroke:#031b32; stroke-linejoin:round; stroke-width:6px; }
.school-label { fill:#ffe4a6; font-size:26px; font-weight:800; letter-spacing:1px; }
.school-detail { fill:#fff2d1; font-size:18px; font-weight:600; }
.village-dot { fill:#94e4ef; stroke:#06334c; stroke-width:2; vector-effect:non-scaling-stroke; }
.village-label { fill:#b7eff5; font-size:20px; font-weight:600; }
.village-detail { fill:#90c6d4; font-size:15px; }

/* Short screens keep the four city rows visible above the fixed summary. */
@media (max-height:820px) {
  .story-map-copy { top:4%; }
  .story-map-copy .story-overline { font-size:9px; letter-spacing:.08em; }
  .story-map-copy h3 { font-size:clamp(14px,2.2cqw,20px); margin-top:3px; }
  .story-map-copy .story-desc { font-size:10px; margin-top:3px; }
  .story-map-copy .story-map-total { font-size:clamp(23px,4cqw,36px); margin:5px 0 3px; }
  .story-map-list { gap:0; }
  .story-map-list li { padding:1px 0; font-size:10px; line-height:1.2; }
}

/* 校园图片保留原始比例，用完整中央区域展示，不额外添加背景动画。 */
.drill-nav { left:2%; }
.school-marker.is-drillable { pointer-events:all; cursor:pointer; }
.school-hit-area { fill:transparent; }
.school-marker.is-drillable:hover .school-ring,.school-marker.is-drillable:focus .school-ring { stroke:#fff5d2; stroke-width:4; }
.campus-active .story-map-copy { display:none; }
.campus-active .drill-svg { left:2%; width:96%; top:12%; height:calc(88% - 50px); }
.campus-active .drill-provenance > span:first-child { display:none; }
.campus-sovo { pointer-events:none; }
.campus-target-ring { fill:#46dbfa1f; stroke:#a6f6ff; stroke-width:3.5; }
.campus-target-dot { fill:#e1ffff; }
.campus-callout-line { fill:none; stroke:#74dff3; stroke-width:2.5; }
.campus-callout-bg { fill:#031f38ef; stroke:#48c6e8; stroke-width:1.5; }
.campus-callout-title { fill:#c3faff; font-size:22px; font-weight:800; letter-spacing:1px; }
.campus-callout-detail { fill:#d7f5ff; font-size:16px; font-weight:600; }
@media (max-width:700px) { .drill-nav { left:1%; right:1%; } .drill-nav button { padding:3px 2px; font-size:8px; } }
#map-markers[hidden] { display:none !important; }

/* 校园楼宇分布：光圈只标记位置，统一强度，不表示统计热度。 */
.campus-layer-toggle { position:absolute; z-index:4; left:2%; top:2%; padding:4px 7px; border:1px solid #42a8c7; border-radius:3px; background:#05263eea; color:#c1ecf7; font:inherit; font-size:clamp(8px,1.1cqw,11px); cursor:pointer; pointer-events:auto; }
.campus-layer-toggle[hidden] { display:none; }
.campus-layer-toggle[aria-pressed=true] { background:#0b5873; border-color:#77e7fb; color:#efffff; }
.campus-layer-toggle:focus-visible,.campus-building:focus-visible { outline:2px solid #d8fbff; outline-offset:2px; }
.campus-building { cursor:pointer; }
.campus-building-glow { fill:url(#campus-location-glow); pointer-events:none; }
.campus-building-hit { fill:transparent; pointer-events:all; }
.campus-building-dot { fill:#9ef6ff; stroke:#087ca2; stroke-width:3; vector-effect:non-scaling-stroke; pointer-events:none; }
.campus-building.is-selected .campus-building-dot,.campus-building:hover .campus-building-dot,.campus-building:focus .campus-building-dot { fill:#fff; stroke:#32dbf8; stroke-width:5; }
.campus-building-name { fill:#d4f9ff; font-size:17px; font-weight:800; paint-order:stroke; stroke:#031a30; stroke-width:5px; stroke-linejoin:round; pointer-events:none; }
.campus-info-line { fill:none; stroke:#8feeff; stroke-width:2; stroke-linejoin:round; opacity:.78; pointer-events:none; }
.campus-detail { position:absolute; z-index:2; left:2%; top:18%; width:30%; max-height:65%; overflow:auto; box-sizing:border-box; padding:clamp(6px,1.3cqw,14px); border:1px solid #4bc8e6; border-radius:4px; background:#032038ee; color:#edfaff; line-height:1.35; pointer-events:auto; }
.campus-detail[hidden] { display:none; }
.campus-detail strong { display:block; color:#82efff; font-size:clamp(11px,1.75cqw,20px); }
.campus-detail p { margin:4px 0; font-size:clamp(10px,1.45cqw,16px); overflow-wrap:anywhere; }
.campus-detail small { display:block; margin-top:5px; color:#8ebdca; font-size:clamp(9px,1.05cqw,12px); }

/* B5 到学院楼宇的关联线，只表达连接；光点沿线缓慢流动。 */
.campus-network { pointer-events:none; }
.campus-network-line { fill:none; stroke:#5ad8f6; stroke-width:1; opacity:.62; vector-effect:non-scaling-stroke; }
.campus-network-flow { fill:none; stroke:#ecffff; stroke-width:2; stroke-linecap:round; stroke-dasharray:2 98; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 2px #4fe6ff); animation:campus-flow 4.5s linear infinite; }
@keyframes campus-flow { from { stroke-dashoffset:0; } to { stroke-dashoffset:100; } }
@media (prefers-reduced-motion:reduce) { .campus-network-flow { display:none; animation:none; } }

/* 地图层级过渡：逐层聚焦时短暂出现的路径提示。 */
.map-journey { position:absolute; z-index:5; left:50%; top:39%; transform:translateX(-50%); opacity:0; pointer-events:none; padding:7px 13px; border:1px solid #55d9ed88; border-radius:3px; background:linear-gradient(100deg,#031c32ef,#0a5063e8,#031c32ef); color:#e3fcff; font-size:clamp(11px,1.55cqw,20px); font-weight:700; letter-spacing:.08em; white-space:nowrap; text-shadow:0 0 9px #5beaff; box-shadow:0 0 18px #2acee04a; }
