@font-face{font-family:'Barlow Condensed';src:url('./assets/fonts/barlow-condensed-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./assets/fonts/barlow-condensed-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('./assets/fonts/barlow-condensed-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sans-sc-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sans-sc-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sans-sc-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sans-sc-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sans-sc-800.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
:root{font-family:'Noto Sans SC',-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;color:#eff8ff;background:#03132a;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1060px;background:radial-gradient(ellipse 80% 70% at 52% 30%,#07325f 0%,#041d3c 49%,#031328 100%);overflow-x:hidden}button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,a:focus-visible,.district:focus-visible{outline:2px solid #84ecff;outline-offset:3px}.hidden{display:none!important}.ambient{position:fixed;pointer-events:none;z-index:0;border-radius:50%;filter:blur(110px);opacity:.22}.ambient-a{width:650px;height:650px;background:#017bfc;top:-340px;left:30%}.ambient-b{width:420px;height:420px;background:#008aee;bottom:-300px;right:-100px}.shell{position:relative;z-index:1;max-width:1900px;margin:auto;padding:0 15px}.topbar{height:99px;position:relative;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1064a9;box-shadow:0 7px 25px #00499c55;overflow:hidden}.topbar:after{content:'';position:absolute;bottom:0;left:3%;width:95%;height:1px;background:linear-gradient(90deg,transparent,#4fd5ff,transparent);box-shadow:0 0 14px #55ceff}.brand{display:flex;align-items:center;gap:20px;z-index:2;padding-left:22px}.brand h1{font-size:29px;margin:0 0 4px;letter-spacing:.05em;text-shadow:0 0 18px #5aa4ff77;font-weight:800}.brand p{font:600 11px 'Barlow Condensed',sans-serif;margin:0;letter-spacing:.5px;color:#c2d7ec}.brand-mark{position:relative;width:51px;height:51px;transform:rotate(45deg);filter:drop-shadow(0 0 11px #078aff)}.brand-mark i{position:absolute;width:23px;height:23px;background:linear-gradient(135deg,#84d9ff,#0572ed);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.brand-mark i:nth-child(1){left:1px;top:1px}.brand-mark i:nth-child(2){right:1px;top:1px;background:linear-gradient(135deg,#0f97ff,#003eac)}.brand-mark i:nth-child(3){left:1px;bottom:1px;background:linear-gradient(135deg,#38c8ff,#0066ed)}.brand-mark i:nth-child(4){right:1px;bottom:1px;background:linear-gradient(135deg,#1978ff,#16b4f7)}.topbar-right{z-index:3;display:flex;flex-direction:column;align-items:flex-end;gap:7px;padding-right:13px}.topline{font-size:15px;letter-spacing:3px;color:#76dbff;text-shadow:0 0 9px #27bcff}.topline b{font-weight:400;color:#18aaf5}.select-box{height:39px;min-width:177px;display:flex;align-items:center;gap:9px;border:1px solid #1676d0;background:#021a3cbb;border-radius:5px;padding:0 12px;box-shadow:inset 0 0 18px #0063b633}.select-icon{color:#b8e8ff;font-size:20px}.select-caret{color:#addcff}.select-box select,.network-select{appearance:none;border:0;background:transparent;color:#f4fbff;outline:none;cursor:pointer}.select-box select{flex:1;font-size:15px}.select-box option,.network-select option{background:#08274a;color:white}.skyline{position:absolute;width:36%;height:75px;right:0;bottom:-3px;color:#057fe8;opacity:.7;filter:drop-shadow(0 0 8px #077cff);z-index:1}.dashboard-grid{display:grid;grid-template-columns:30% 40% 30%;gap:11px;padding-right:22px;margin-top:14px;height:648px}.left-stack{min-height:0;display:grid;grid-template-rows:340px 297px;gap:11px}.panel{position:relative;border:1px solid #078dea;border-radius:7px;background:linear-gradient(115deg,#06284d 0%,#052141 54%,#072d55 100%);box-shadow:inset 0 0 35px #006dc01e,0 0 18px #008af014;overflow:hidden}.panel:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent,#1ad2ff27,transparent);height:1px;top:0}.panel-head{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:10px}.panel h2{font-size:20px;margin:0;white-space:nowrap;letter-spacing:.02em}.panel h2 span{color:#e3ebff}.segmented{display:flex;align-items:center;border:1px solid #0b5eab;border-radius:4px;overflow:hidden;flex-shrink:0}.segmented button{height:36px;padding:0 16px;background:#072345;border:0;color:#d5e6fd;font-size:13px;font-weight:600;white-space:nowrap}.segmented button.active{color:#fff;background:linear-gradient(130deg,#006bdb,#23aeff);box-shadow:0 0 12px #1684ffb8}.year-rail{display:flex;gap:5px;padding:0 17px 4px;overflow:auto;scrollbar-width:thin;scrollbar-color:#1477b4 transparent}.year-rail button{flex:none;border:1px solid #14619b;color:#a8d7f2;background:#072a4e;border-radius:3px;padding:3px 7px;font:600 11px 'Barlow Condensed',sans-serif}.year-rail button.active{color:#fff;border-color:#51d7ff;background:#136fc3;box-shadow:0 0 8px #00b7ff}.word-cloud{height:227px;position:relative;margin:1px 11px 0;overflow:hidden}.cloud-word{position:absolute;border:0;background:none;font-weight:800;white-space:nowrap;line-height:1;text-shadow:0 0 10px currentColor;transition:transform .25s,filter .25s}.cloud-word:hover{transform:scale(1.12);filter:brightness(1.35)}.micro-note{font-size:10px;color:#7eafd3;padding:0 17px;letter-spacing:.03em}.ticker-label{font-size:12px;color:#84dfff;padding:1px 18px 12px}.pulse{width:7px;height:7px;display:inline-block;background:#42eafc;border-radius:50%;margin-right:8px;box-shadow:0 0 10px #42eafc}.ticker-window{height:220px;overflow:hidden;margin:0 15px 8px;mask-image:linear-gradient(transparent,#000 8%,#000 90%,transparent)}.ticker-track{animation:marquee 35s linear infinite}.ticker-window:hover .ticker-track,.ticker-window:focus-within .ticker-track{animation-play-state:paused}@keyframes marquee{to{transform:translateY(-50%)}}.ticker-item{display:block;padding:9px 8px;border-bottom:1px solid #18577a83;color:#e5f4ff;text-decoration:none;font-size:12px;line-height:1.5}.ticker-item:hover{background:#0b4773}.ticker-item span{display:block;color:#57bbef;font:600 11px 'Barlow Condensed',sans-serif;margin-bottom:3px}.structure-content{display:grid;grid-template-columns:51% 49%;height:211px;align-items:center;padding-right:13px}.donut-wrap{position:relative;height:207px}.donut-wrap>div:first-child{width:100%;height:100%}.donut-center{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.donut-center strong{display:block;font:700 33px 'Barlow Condensed',sans-serif}.donut-center span{font-size:12px}.legend-list{display:flex;flex-direction:column;gap:11px;padding-left:4px}.legend-item{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#f0f7ff;background:none;border:0;text-align:left;font-size:12px;padding:0}.legend-item:hover{color:#77ddff}.legend-item .legend-name{display:flex;align-items:center;gap:8px;white-space:nowrap}.legend-dot{width:12px;height:12px;border-radius:50%;box-shadow:0 0 10px currentColor;flex:none}.legend-item b{font:600 15px 'Barlow Condensed',sans-serif}.structure-note{margin-top:2px}.map-head{height:65px}.map-head h2{font-size:20px}.section-subtitle{font-size:11px;color:#87b9d7;margin-top:4px}.help{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;background:#177eef;border:0;border-radius:50%;color:#001f43;font-weight:900;font-size:12px;vertical-align:3px;box-shadow:0 0 11px #088aff}.small-badge{border:1px solid #1b74b9;border-radius:4px;padding:5px 13px;white-space:nowrap;font-size:12px;background:#05254a}.map-tabs{display:flex;height:37px;margin:0 17px;border:1px solid #0a518c;border-radius:4px;overflow:hidden}.map-tabs button{flex:1;border:0;border-right:1px solid #0a518c;background:#07264a;color:#bcd7ec;font-size:11px;white-space:nowrap;padding:0 2px}.map-tabs button:last-child{border:0}.map-tabs button.active{background:linear-gradient(120deg,#0076ec,#23baff);color:#fff;font-weight:700;box-shadow:0 0 12px #089aff}.map-canvas{position:relative;height:calc(100% - 149px);margin:7px 15px 0;background:radial-gradient(ellipse at 53% 52%,#0a4778 0%,#06284f 47%,#041e3e 90%);border:1px solid #104d7b;border-radius:5px;overflow:hidden}.map-canvas:before{content:'';position:absolute;inset:0;opacity:.2;background-image:linear-gradient(#1e6a9e 1px,transparent 1px),linear-gradient(90deg,#1e6a9e 1px,transparent 1px);background-size:37px 37px;mask-image:radial-gradient(circle at 50% 50%,#000,transparent 73%)}#districtMap{width:100%;height:100%;position:relative;z-index:1;filter:drop-shadow(0 0 11px #31b9fa88)}.district{stroke:#86d7fc;stroke-width:.9;stroke-opacity:.7;cursor:pointer;transition:fill .15s,stroke-width .15s}.district:hover,.district:focus{fill:#ffd474!important;stroke:#fff;stroke-width:2}.district.dimmed{opacity:.15}.province-switch{position:absolute;left:13px;top:13px;z-index:4;display:flex;flex-direction:column;gap:6px}.province-switch button{min-width:70px;padding:7px 11px;border:1px solid #1374b9;border-radius:3px;color:#e7f5ff;background:#063057d9;font-size:12px;text-align:left}.province-switch button.active,.province-switch button:hover{background:#1478bf;box-shadow:0 0 11px #11afff}.map-label{position:absolute;z-index:2;font-weight:800;text-shadow:0 1px 4px #00111f,0 0 7px #ffffffa8;pointer-events:none}.map-label-bj{left:44%;top:34%;font-size:17px}.map-label-tj{left:61%;top:50%;font-size:16px}.map-label-hb{left:43%;top:69%;font-size:18px}.map-scale{position:absolute;z-index:2;bottom:13px;left:15px;border-bottom:2px solid white;width:125px;display:flex;justify-content:space-between;font:10px 'Barlow Condensed',sans-serif}.north{position:absolute;top:10px;right:16px;z-index:2;font:12px 'Barlow Condensed',sans-serif;display:flex;flex-direction:column;align-items:center}.north span{color:#8de8ff}.map-legend{position:absolute;z-index:2;bottom:12px;right:13px;width:95px;padding:10px;background:#052347e8;border:1px solid #195e91;border-radius:3px;font-size:10px}.map-legend b{display:block;margin-bottom:7px;white-space:nowrap}.map-legend div{margin:4px 0;display:flex;gap:8px;align-items:center;white-space:nowrap}.map-legend i{width:15px;height:13px;display:inline-block;border-radius:2px}.map-footer,.network-footer{height:39px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;color:#a8ccdf;font-size:11px}.map-footer strong{color:#65dfff}.text-link{border:0;background:none;color:#91cbf4;font-size:12px;white-space:nowrap}.text-link:hover{text-decoration:underline;color:white}.panel-network .panel-head{height:65px}.network-select{border:1px solid #1969a8;background:#08254b;border-radius:4px;padding:6px 9px;min-width:82px;font-size:12px}.network-body{height:calc(100% - 105px);position:relative}.network-body:before{content:'';position:absolute;inset:8% 12%;background:radial-gradient(circle,#0c54903d,transparent 58%);pointer-events:none}.network-body:after{content:'';position:absolute;left:12%;right:23%;top:11%;bottom:8%;border-radius:50%;border:1px solid #0e5b944d;transform:rotate(-15deg);pointer-events:none}.network-body #networkChart{width:100%;height:100%;position:relative;z-index:1}.network-legend{position:absolute;right:13px;top:65px;z-index:3;display:flex;flex-direction:column;gap:10px;font-size:11px;color:#d5e8f5;pointer-events:none}.network-legend span{display:flex;align-items:center;gap:8px}.network-legend i{display:inline-block;background:var(--c);width:11px;height:11px;border-radius:50%;box-shadow:0 0 9px var(--c)}.network-footer{border-top:1px solid #0d537d}.trend-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;padding-right:22px;margin-top:11px;height:187px}.trend-card{padding:0 16px}.trend-head{display:flex;justify-content:space-between;align-items:center;height:43px}.trend-head h2{font-size:16px}.trend-inner{display:grid;grid-template-columns:24% 76%;height:110px}.trend-value{display:flex;flex-direction:column;justify-content:flex-start}.trend-value strong{font:700 36px 'Barlow Condensed',sans-serif;letter-spacing:1px;line-height:1.1}.trend-value span{font-size:11px;color:#c6e5f7}.trend-value em{font-style:normal;color:#ff615d;font:700 17px 'Barlow Condensed',sans-serif;margin-top:3px}.trend-value em.negative{color:#5ce1c7}.trend-value small{color:#8bb7d3;font-size:10px}.trend-chart{width:100%;height:110px}.trend-source{font-size:10px;color:#8dacc5;margin:5px 0}.footer{height:45px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:12px;color:#b7d7ed}.footer b{font-weight:400;color:#5da6d1;margin:0 5px}.floating-tooltip{position:fixed;z-index:15;pointer-events:none;background:#041a32e8;border:1px solid #49caff;border-radius:5px;box-shadow:0 0 20px #008dff66;color:#fff;padding:8px 11px;font-size:12px;max-width:220px}.drawer-backdrop{position:fixed;inset:0;background:#00101dc2;z-index:25}.drawer{position:fixed;z-index:26;top:0;right:0;bottom:0;width:min(560px,92vw);background:linear-gradient(125deg,#092f58,#04172d);border-left:1px solid #2eb8ee;box-shadow:-25px 0 70px #0009;transform:translateX(105%);transition:transform .3s ease;display:flex;flex-direction:column}.drawer.open{transform:translateX(0)}.drawer-top{display:flex;justify-content:space-between;gap:20px;align-items:start;padding:28px 27px 20px;border-bottom:1px solid #18547c}.drawer-top small{color:#5fe0ff;font-size:11px;letter-spacing:2px}.drawer-top h2{font-size:23px;margin:7px 0 0;line-height:1.45}.drawer-top button{border:1px solid #1768a1;background:#072644;color:white;border-radius:5px;font-size:26px;line-height:30px;width:35px;height:35px}.drawer-content{overflow:auto;padding:22px 27px 40px}.detail-lead{color:#b8d5e7;font-size:13px;line-height:1.8;margin:0 0 20px}.stat-row{display:flex;gap:10px;flex-wrap:wrap;margin:13px 0 22px}.stat-pill{background:#0c4166;border:1px solid #1e82bd;border-radius:4px;padding:9px 12px;font-size:12px}.stat-pill strong{color:#6fe5ff;font:700 20px 'Barlow Condensed',sans-serif;margin-right:5px}.drawer h3{font-size:15px;color:#62d9ff;border-bottom:1px solid #1b638e;padding-bottom:9px;margin:24px 0 13px}.partner-list{display:flex;flex-wrap:wrap;gap:8px}.partner-list button{border:1px solid #1b70a7;background:#0b3152;border-radius:4px;color:#d9f1ff;padding:6px 9px;font-size:12px}.partner-list button:hover{background:#147cb6}.story{padding:12px 0;border-bottom:1px solid #215175}.story a{color:#fff;text-decoration:none;font-size:13px;line-height:1.6}.story a:hover{color:#66e4ff;text-decoration:underline}.story small{display:block;color:#8cbbd5;margin-top:6px;font-size:11px}.story p{font-size:12px;line-height:1.6;color:#bad5e2;margin:5px 0 0}.detail-chart{height:280px;margin:17px 0}.detail-select{background:#082f50;color:#fff;border:1px solid #248cc6;border-radius:4px;padding:6px 10px}.warning-note{border-left:3px solid #f6bc4b;background:#674b1738;padding:9px 12px;color:#ffdc9d;font-size:12px;line-height:1.7}.detail-table{width:100%;border-collapse:collapse;font-size:12px}.detail-table td,.detail-table th{padding:8px 5px;border-bottom:1px solid #1d4e71;text-align:left}.detail-table th{color:#71cfea}.empty-state{color:#95b6cb;padding:22px 0;font-size:13px}@media(max-width:1250px){.brand h1{font-size:24px}.brand p{font-size:9px}.dashboard-grid{grid-template-columns:30% 41% 29%}.panel h2{font-size:17px}.segmented button{padding:0 8px;font-size:11px}.map-head h2{font-size:17px}.trend-head h2{font-size:14px}.network-legend{right:6px;font-size:10px}.network-footer{font-size:10px}.network-footer .text-link{font-size:10px}}@media(max-width:900px){body{min-width:0}.shell{padding:0 10px}.topbar{height:93px}.brand{padding-left:5px;gap:12px}.brand h1{font-size:19px}.brand p{font-size:8px}.brand-mark{width:40px;height:40px}.brand-mark i{width:18px;height:18px}.topline,.skyline{display:none}.dashboard-grid{height:auto;grid-template-columns:1fr;padding-right:0}.left-stack{grid-template-columns:1fr 1fr;grid-template-rows:300px}.panel-hotspots,.panel-structure{height:300px}.word-cloud{height:188px}.structure-content{height:194px}.panel-map{height:590px}.panel-network{height:560px}.trend-grid{height:auto;grid-template-columns:1fr;padding-right:0}.trend-card{height:187px}.footer{height:auto;padding:17px 8px;gap:8px;flex-wrap:wrap}}@media(max-width:620px){.brand h1{font-size:15px}.brand p{display:none}.topbar-right{padding-right:0}.select-box{min-width:110px;padding:0 5px}.select-box select{font-size:11px}.left-stack{grid-template-columns:1fr;grid-template-rows:315px 290px}.panel-hotspots,.panel-structure{height:auto}.panel-head{padding:0 12px}.panel h2{font-size:17px}.map-tabs{overflow-x:auto}.map-tabs button{flex:none;padding:0 11px}.panel-map{height:560px}.network-legend{top:45px}.footer{font-size:10px}}
/* Per-panel year controls and recognizable Beijing skyline. */
.topbar-right{padding-right:16px;align-self:flex-start;padding-top:20px}.skyline{width:38%;height:90px;right:7px;bottom:-2px;opacity:.8}.sky-temple,.sky-cctv,.sky-zun{filter:drop-shadow(0 0 4px #008dff)}
.year-picker{height:34px;display:flex;align-items:center;gap:9px;padding:0 17px;color:#8bc9e9;font-size:11px}.year-picker select,.compact-year{appearance:none;color:#f0faff;border:1px solid #187bb8;border-radius:4px;background:#0a3159 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%238bdfff' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center;padding:5px 23px 5px 10px;font-size:12px;cursor:pointer;outline:none;min-width:83px}.year-picker select:focus,.compact-year:focus{box-shadow:0 0 10px #0dbdff}.year-picker select option,.compact-year option{background:#08274a;color:#fff}.structure-controls{display:flex;align-items:center;gap:7px}.structure-controls .segmented button{padding:0 11px}.structure-controls .compact-year{min-width:69px;padding-left:6px;font-size:11px}.word-cloud{height:229px}.network-svg{height:100%;width:100%;position:relative;z-index:1}.network-edge{stroke:#35b7e7;stroke-opacity:.24;fill:none;pointer-events:none}.network-edge.cueb-edge{stroke:#7adfff;stroke-opacity:.48}.network-node{cursor:pointer;outline:none}.network-node circle{stroke:#defaff;stroke-width:1.4;filter:drop-shadow(0 0 8px var(--node-color));transition:r .2s,filter .2s}.network-node:hover circle,.network-node:focus circle{stroke:#fff;stroke-width:2.4;filter:drop-shadow(0 0 13px #fff)}.network-label{fill:#e5f4ff;font-size:10px;font-weight:600;paint-order:stroke;stroke:#031c38;stroke-width:3px;pointer-events:none}.network-label.cueb-label{fill:#fff;font-size:11px;font-weight:800}.network-legend{background:#052244b8;border-radius:3px;padding:5px 3px}.trend-card .trend-value em{white-space:nowrap;font-size:15px}
@media(max-width:1250px){.structure-controls .segmented button{padding:0 6px}.structure-controls .compact-year{min-width:65px}.structure-controls{gap:4px}}
@media(max-width:900px){.topbar-right{display:none}.structure-controls .segmented button{padding:0 7px}}
.panel-hotspots .ticker-window{height:185px}
/* Animated, consistent year pickers across dashboard panels. */
.skyline{width:44%;height:112px;right:7px;bottom:-12px;opacity:.95;object-fit:contain;filter:drop-shadow(0 0 7px #148dec)}
.skyline{width:37%;height:79px;right:8px;bottom:-2px;opacity:.82;filter:drop-shadow(0 0 4px #148dec)}
.cloud-word{transform:rotate(var(--word-rotation,0deg));transform-origin:center center;transition:transform .22s,filter .22s}
.cloud-word:hover{transform:rotate(var(--word-rotation,0deg)) scale(1.08)}
.year-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.year-trigger{display:inline-flex;align-items:center;gap:7px;min-width:84px;height:29px;padding:0 8px;border:1px solid #1e78b4;background:linear-gradient(145deg,#0c406e,#082c54);border-radius:5px;color:#e7f8ff;font-size:11px;white-space:nowrap;box-shadow:inset 0 1px 7px #1787d22b,0 0 8px #008afe20;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.year-trigger:hover,.year-trigger.open{border-color:#66d8ff;background:linear-gradient(145deg,#1766a3,#0b3b6d);box-shadow:0 0 12px #17aeff66}.year-trigger.open{transform:translateY(-1px)}.year-trigger-icon{font-size:13px;color:#76ddff}.year-trigger-value{flex:1;text-align:center}.year-trigger-arrow{font-size:16px;line-height:1;color:#98d8ff;transition:transform .25s}.year-trigger.open .year-trigger-arrow{transform:rotate(180deg)}.year-picker .year-trigger{min-width:88px}.structure-controls .year-trigger{min-width:67px;height:30px;padding:0 5px;gap:4px}.map-head .year-trigger,.panel-network .year-trigger{height:33px;min-width:77px}
.year-popover{position:fixed;z-index:60;width:240px;padding:11px;border:1px solid #4fcfff;border-radius:9px;background:linear-gradient(140deg,#104274f5,#05294ef7 58%,#061c3df9);box-shadow:0 16px 45px #00101bd9,inset 0 0 18px #077cdc3c,0 0 18px #078fea7a;opacity:0;transform:translateY(-10px) scale(.94);transform-origin:top right;pointer-events:none;transition:opacity .22s ease,transform .3s cubic-bezier(.16,1.35,.3,1)}.year-popover.open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.year-popover-title{display:flex;justify-content:space-between;align-items:center;padding:0 4px 9px;border-bottom:1px solid #2c82b7;color:#eaf8ff;font-size:13px;font-weight:700}.year-popover-title small{font-size:10px;color:#7fc3e6;font-weight:400}.year-popover-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:10px;max-height:238px;overflow:auto}.year-popover-grid button{border:1px solid #1e638e;border-radius:4px;background:#0a365e;color:#c5e7f5;font-size:11px;padding:7px 2px;transition:all .16s}.year-popover-grid button:hover{color:#fff;border-color:#63d8ff;background:#176da5;transform:translateY(-2px);box-shadow:0 4px 10px #006fca70}.year-popover-grid button[aria-selected="true"]{color:#fff;border-color:#83e9ff;background:linear-gradient(135deg,#0979c9,#1aa8ea);box-shadow:0 0 10px #20aafa88}
.metric-pill{border:1px solid #2fa9dd;background:#0b4773;color:#89e8ff;border-radius:3px;padding:4px 7px;font-size:10px;font-weight:700;white-space:nowrap;max-width:48%;overflow:hidden;text-overflow:ellipsis;box-shadow:0 0 8px #0e9cec55}.trend-card[data-metric="development"] .trend-head h2,.trend-card[data-metric="synergy"] .trend-head h2{font-size:15px}.region-key{white-space:nowrap}.region-key i{display:inline-block;width:7px;height:7px;background:var(--c);border-radius:50%;box-shadow:0 0 6px var(--c);margin:0 3px 0 4px}
@media(max-width:900px){.skyline{display:none}}
.cloud-word{padding:1px 2px;transition:filter .2s,scale .2s}.cloud-word:hover{transform:rotate(var(--word-rotation,0deg));scale:1.10;z-index:4}
.metric-pill{display:inline-flex;align-items:center;gap:5px;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}
.metric-pill:hover,.metric-pill.open{border-color:#8ceaff;background:#11659a;box-shadow:0 0 12px #36c6ff88}
.metric-pill.locked{border-color:#69d7f2;color:#e1faff;background:#0d5d8c;box-shadow:0 0 10px #27b9ea65,inset 0 0 7px #34bafc25}
.metric-pill>span:first-child{overflow:hidden;text-overflow:ellipsis}
.metric-caret{font-size:14px;line-height:1;flex:none}
.metric-popover{width:246px}
.metric-popover-list{display:grid;gap:5px;padding-top:10px}
.metric-popover-list button{border:1px solid #1e638e;border-radius:4px;background:#0a365e;color:#c5e7f5;font-size:11px;text-align:left;padding:7px 10px;transition:background .16s,border-color .16s,transform .16s}
.metric-popover-list button:hover{color:#fff;border-color:#63d8ff;background:#176da5;transform:translateX(2px)}
.metric-popover-list button[aria-selected="true"]{color:#fff;border-color:#83e9ff;background:linear-gradient(135deg,#0979c9,#1aa8ea)}
.word-cloud{-webkit-mask-image:radial-gradient(ellipse 72% 86% at 50% 50%,#000 42%,#000e 60%,#0009 78%,#0003 98%,transparent 118%);mask-image:radial-gradient(ellipse 72% 86% at 50% 50%,#000 42%,#000e 60%,#0009 78%,#0003 98%,transparent 118%)}
.network-body{overflow:hidden}
.network-body #networkChart{cursor:grab;touch-action:none;user-select:none}
.network-body #networkChart.dragging,.network-body #networkChart.dragging *{cursor:grabbing!important}
.network-svg{transform:translate(var(--pan-x,0px),var(--pan-y,0px)) scale(var(--network-zoom,1.2));transform-origin:42% 50%;transition:transform .25s ease}
.dragging .network-svg{transition:none}
.network-zoom{position:absolute;z-index:6;left:13px;bottom:12px;display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #2b7ab2;border-radius:6px;background:#06264be8;box-shadow:0 4px 18px #001222ad;color:#d5f4ff;font:700 10px 'Barlow Condensed',sans-serif}
.network-zoom button{border:0;border-radius:3px;background:#124a74;color:#aff0ff;width:19px;height:19px;line-height:1;font-size:15px;padding:0}
.network-zoom button:hover{background:#168ad2;color:#fff}
.network-zoom input{width:72px;height:3px;accent-color:#45c7fa;cursor:pointer}
.network-zoom span{min-width:29px;text-align:right}
.network-label.cueb-label{fill:#e5f4ff;font-size:10px;font-weight:600;filter:none}
.network-label-link{stroke:#91d9f2;stroke-width:.9;stroke-opacity:.65;pointer-events:none}
@media(prefers-reduced-motion:reduce){.network-svg{transition:none}}
.dashboard-grid,.trend-grid{grid-template-columns:minmax(0,30fr) minmax(0,40fr) minmax(0,30fr);padding-right:0}
@media(max-width:1250px){.dashboard-grid,.trend-grid{grid-template-columns:minmax(0,30fr) minmax(0,41fr) minmax(0,29fr)}}
@media(max-width:900px){.dashboard-grid,.trend-grid{grid-template-columns:1fr}}
/* The two desktop rows share the same tracks, and visual elements scale with the viewport. */
body{min-width:0}
.brand h1{font-size:clamp(19px,2.02vw,32px)}
.brand-mark{width:clamp(36px,3.55vw,54px);height:clamp(36px,3.55vw,54px);flex:none}
.brand-mark i{width:45%;height:45%}
.panel-head h2{font-size:clamp(16px,1.38vw,22px)}
.trend-head h2,.trend-card[data-metric="development"] .trend-head h2,.trend-card[data-metric="synergy"] .trend-head h2{font-size:clamp(13px,1.05vw,17px)}
.trend-value strong{font-size:clamp(27px,2.5vw,40px)}
.year-trigger,.map-tabs button,.legend-item,.network-legend,.map-footer,.network-footer{font-size:clamp(10px,.79vw,13px)}
.help{width:clamp(15px,1.2vw,20px);height:clamp(15px,1.2vw,20px);font-size:clamp(10px,.82vw,13px)}
.legend-dot,.network-legend i{width:clamp(9px,.84vw,13px);height:clamp(9px,.84vw,13px)}
.map-label-bj,.map-label-tj,.map-label-hb{font-size:clamp(14px,1.25vw,20px)}
.skyline{width:clamp(310px,37%,620px);height:clamp(60px,5.5vw,92px)}
.map-world{position:absolute;inset:0;z-index:1;transform:translate(var(--map-pan-x,0px),var(--map-pan-y,0px)) scale(var(--map-zoom,1));transform-origin:50% 50%;transition:transform .22s ease;cursor:grab;touch-action:none;user-select:none}
.map-world.dragging,.map-world.dragging *{cursor:grabbing!important;transition:none}
.map-world #districtMap{display:block}
.map-world .map-label{z-index:2}
.map-canvas .province-switch{z-index:5}
.map-canvas .map-legend,.map-canvas .north,.map-canvas .map-scale{z-index:4}
.map-scale{bottom:47px;display:block;transition:width .22s ease}
.map-scale span{position:absolute;bottom:3px;transform:translateX(-50%);white-space:nowrap}
.map-scale span:nth-child(1){left:0}.map-scale span:nth-child(2){left:25%}.map-scale span:nth-child(3){left:50%}.map-scale span:nth-child(4){left:100%}
.map-zoom{position:absolute;z-index:6;left:13px;bottom:10px;display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #2b7ab2;border-radius:6px;background:#06264be8;box-shadow:0 4px 18px #001222ad;color:#d5f4ff;font:700 10px 'Barlow Condensed',sans-serif}
.map-zoom button{border:0;border-radius:3px;background:#124a74;color:#aff0ff;width:clamp(19px,1.45vw,24px);height:clamp(19px,1.45vw,24px);line-height:1;font-size:clamp(15px,1.15vw,19px);padding:0}
.map-zoom button:hover{background:#168ad2;color:#fff}
.map-zoom input{width:clamp(60px,5vw,86px);height:3px;accent-color:#45c7fa;cursor:pointer}
.map-zoom span{min-width:29px;text-align:right}
.landmark-area.tongzhou{stroke:#ffc95c;stroke-width:2.4;stroke-opacity:1;filter:drop-shadow(0 0 4px #ffbd41)}
.landmark-area.xiongan{stroke:#ff806e;stroke-width:2.2;stroke-opacity:1;filter:drop-shadow(0 0 4px #ff705e)}
.map-landmark{cursor:pointer;outline:none;filter:drop-shadow(0 0 9px currentColor)}
.map-landmark.tongzhou{color:#ffb42f}.map-landmark.xiongan{color:#fb685a}
.map-landmark .landmark-halo{fill:currentColor;opacity:.24}
.map-landmark .landmark-pin,.map-landmark .landmark-badge{fill:currentColor;stroke:#fff9;stroke-width:1.5}
.map-landmark .landmark-dot{fill:white}
.map-landmark text{fill:#082442;font-size:24px;font-weight:800;stroke:none;pointer-events:none}
.map-landmark:hover .landmark-halo,.map-landmark:focus .landmark-halo{opacity:.5}
.map-landmark.dimmed{opacity:.25}
.map-world .map-label,.map-landmark,.network-label,.network-node{transition:opacity .16s ease}
.map-world .edge-hidden,.network-svg .edge-hidden{opacity:0!important;pointer-events:none!important}
@media(max-width:1100px){.dashboard-grid,.trend-grid{grid-template-columns:minmax(0,1fr);height:auto}.left-stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:315px}.panel-hotspots,.panel-structure{height:315px}.panel-map{height:590px}.panel-network{height:560px}.trend-card{height:187px}.skyline{display:none}.shell{padding:0 10px}.brand h1{font-size:clamp(18px,2.3vw,26px)}.panel-head h2{font-size:clamp(16px,1.8vw,20px)}}
@media(max-width:760px){.left-stack{grid-template-columns:1fr;grid-template-rows:315px 300px}.panel-hotspots,.panel-structure{height:auto}.topbar{height:86px}.topline{display:none}.brand h1{font-size:clamp(15px,3.5vw,22px)}.brand p{font-size:8px}.panel-head h2{font-size:clamp(16px,3vw,19px)}.trend-head h2,.trend-card[data-metric="development"] .trend-head h2,.trend-card[data-metric="synergy"] .trend-head h2{font-size:clamp(13px,2.7vw,16px)}}
@media(max-width:480px){.panel-map{height:540px}.panel-network{height:540px}.map-legend{right:6px;bottom:9px}.map-zoom{left:6px;bottom:7px}.map-scale{bottom:47px}.map-label-bj,.map-label-tj,.map-label-hb{font-size:13px}.network-legend{font-size:9px}.brand-mark{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.map-world{transition:none}}
.skyline{width:clamp(480px,46%,790px);height:clamp(78px,6.8vw,108px);right:0;bottom:-2px;opacity:.88;filter:drop-shadow(0 0 5px #1099eb)}
@media(max-width:1100px){.skyline{display:none}}

/* Keep the complete desktop dashboard within one viewport. */
@media(min-width:1101px) and (min-height:650px){
  body{overflow-y:hidden}
  .shell{height:100dvh;display:flex;flex-direction:column}
  .topbar{height:clamp(70px,8.5vh,94px);flex:none}
  .skyline{height:100%}
  main{display:flex;flex:1;min-height:0;flex-direction:column}
  .dashboard-grid{height:auto;min-height:0;flex:1;gap:8px;margin-top:8px}
  .left-stack{grid-template-rows:minmax(0,53fr) minmax(0,47fr);gap:8px}
  .panel-head{height:48px}
  .map-head,.panel-network .panel-head{height:55px}
  .map-tabs{height:32px}
  .map-canvas{height:calc(100% - 162px);margin-top:5px}
  .network-body{height:calc(100% - 124px)}
  #cloudPanel,#latestPanel{height:calc(100% - 48px);display:flex;flex-direction:column;min-height:0}
  .year-picker{height:30px;flex:none}
  .word-cloud,.panel-hotspots .ticker-window{height:auto;min-height:0;flex:1}
  .ticker-label{padding-bottom:5px}
  .structure-content{height:calc(100% - 66px);min-height:0}
  .donut-wrap{height:100%;min-height:0}
  .legend-list{gap:6px}
  .trend-grid{height:clamp(145px,20vh,180px);gap:8px;margin-top:8px;flex:none}
  .trend-head{height:clamp(34px,4.5vh,42px)}
  .trend-inner{height:calc(100% - 61px)}
  .trend-chart{height:100%}
  .footer{height:clamp(28px,3.6vh,40px);flex:none}
}

/* Period controls and paired-region view. */
.topbar-right{padding-top:7px;gap:4px}
.global-period-trigger{min-width:115px;height:27px;border:1px solid #39aee8;border-radius:5px;background:#073764d9;color:#e9faff;font-size:11px;font-weight:700;box-shadow:0 0 12px #128be866}
.global-period-trigger:hover{background:#12609c}
.global-period-popover{position:fixed;top:67px;right:17px;z-index:70;width:238px;display:grid;gap:9px;padding:13px;border:1px solid #58d3ff;border-radius:9px;background:linear-gradient(140deg,#104274f7,#061c3df9);box-shadow:0 16px 45px #00101bd9,0 0 18px #078fea7a}
.global-period-popover:not(.hidden){animation:period-pop .22s ease-out both}
@keyframes period-pop{from{opacity:0;transform:translateY(-7px) scale(.96)}to{opacity:1;transform:none}}
.global-period-popover label{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#d8f2ff;font-size:12px}
.global-period-popover select{width:135px;height:30px;border:1px solid #2781b9;border-radius:4px;background:#082d53;color:#fff;padding:0 7px}
.global-period-popover button{height:31px;border:1px solid #42c8f4;border-radius:4px;background:#147cc1;color:#fff;font-size:12px;font-weight:700}
.month-select{appearance:none;min-width:69px;height:29px;padding:0 6px;border:1px solid #2477ad;border-radius:5px;background:#0a3159;color:#e8f8ff;font-size:11px;cursor:pointer}
.month-select:disabled,.global-period-popover select:disabled{opacity:.5;cursor:not-allowed}
.year-picker{gap:6px}
.year-picker .month-select{min-width:67px;padding:0 6px}
.structure-period{height:30px;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:0 13px}
.structure-content{height:calc(100% - 84px)}
.structure-content.bar-mode{display:block;padding:0 8px}
.structure-content.bar-mode .donut-wrap{height:100%;width:100%}
.structure-content.bar-mode .donut-center,.structure-content.bar-mode .legend-list{display:none}
.panel-period{display:flex;align-items:center;gap:5px;flex:none}
.panel-period .month-select{min-width:65px}
.map-head{gap:7px}
.map-head h2{font-size:clamp(13px,1.15vw,19px)}
.map-head .text-link{padding:0;font-size:11px}
.map-canvas{height:calc(100% - 140px)}
.panel-network .panel-head{padding:0 10px;gap:5px}
.panel-network .panel-head h2{font-size:clamp(13px,1.12vw,19px)}
.network-region-filter{height:34px;display:flex;align-items:center;gap:4px;padding:0 10px;border-bottom:1px solid #0c527d}
.network-region-filter select{min-width:0;flex:1;height:25px;padding:0 4px;border:1px solid #207bad;border-radius:4px;background:#092e52;color:#e6f7ff;font-size:11px}
.network-region-filter>span:nth-child(2){color:#6fd5ff;font-size:11px}
.network-result-count{min-width:36px;color:#9cdef6;text-align:right;font:700 12px 'Barlow Condensed',sans-serif;white-space:nowrap}
.network-body{height:calc(100% - 129px)}
.network-list-button{position:absolute;z-index:6;left:12px;top:9px;padding:5px 8px;border:1px solid #39a5dc;border-radius:4px;background:#063c69dc;color:#dff7ff;font-size:11px}
.network-list-button:hover{background:#1678b5}
.network-empty{position:absolute;inset:25% 12%;display:flex;align-items:center;justify-content:center;text-align:center;color:#a8d6e8;font-size:13px}
.trend-card[data-metric="activity"] .trend-inner{height:calc(100% - 49px)}
.trend-card[data-metric="activity"] .trend-chart{height:100%}
@media(min-width:1101px) and (min-height:650px){
  .structure-content{height:calc(100% - 78px)}
  .map-canvas{height:calc(100% - 122px)}
  .network-body{height:calc(100% - 119px)}
}
@media(max-width:1100px){.global-period-popover{top:82px}.topbar-right{display:flex}}
@media(max-width:760px){.topbar-right{padding-top:8px}.topline{display:none}.global-period-popover{top:72px}.network-region-filter{padding:0 7px}}
.panel-search{height:30px;display:flex;align-items:center;gap:5px;padding:2px 10px;border-bottom:1px solid #0c527d}
.panel-search input{min-width:0;flex:1;height:24px;padding:0 8px;border:1px solid #2674a6;border-radius:4px;background:#092849;color:#eafaff;font:11px 'Noto Sans SC',sans-serif;outline:none}
.panel-search input::placeholder{color:#91b9d2}
.panel-search input:focus{border-color:#61d6ff;box-shadow:0 0 8px #1ca9ec77}
.panel-search button{height:24px;border:1px solid #2788bc;border-radius:4px;background:#0b4979;color:#e8faff;font-size:11px;padding:0 8px;white-space:nowrap}
.panel-search button:hover{background:#1878af}
.panel-search button:last-child{width:25px;padding:0;font-size:16px;line-height:18px}
.map-label.hover-hidden,.map-landmark.hover-hidden .landmark-badge,.map-landmark.hover-hidden text{opacity:0!important;transition:opacity .12s ease}

/* One shared beat for the hotspot and structure views; content layers crossfade in place. */
.panel-hotspots{--hot-head:54px}
.panel-hotspots .hot-content{position:absolute;top:var(--hot-head);right:0;bottom:0;left:0;width:100%;height:auto!important;display:flex;flex-direction:column;min-height:0}
.panel-hotspots .word-cloud,.panel-hotspots .ticker-window{height:auto;min-height:0;flex:1}
.hot-content.hot-enter{z-index:2;animation:hot-enter .78s cubic-bezier(.2,.75,.2,1) both}
.hot-content.hot-exit{z-index:1;pointer-events:none;animation:hot-exit .78s cubic-bezier(.4,0,.6,1) both}
.panel-hotspots.hot-transition:after{content:'';position:absolute;top:var(--hot-head);bottom:0;left:-45%;width:42%;z-index:3;pointer-events:none;background:linear-gradient(90deg,transparent,#54dbff12 30%,#b3f5ff31 51%,#54dbff12 70%,transparent);filter:blur(12px);animation:hot-sweep .8s ease-out both}
.structure-content.structure-switching{animation:structure-reveal .68s cubic-bezier(.18,.7,.2,1) both}
@keyframes hot-enter{from{opacity:0;transform:translateY(11px) scale(.975);filter:blur(8px) brightness(1.15)}to{opacity:1;transform:none;filter:blur(0) brightness(1)}}
@keyframes hot-exit{from{opacity:1;transform:none;filter:blur(0)}to{opacity:0;transform:translateY(-7px) scale(1.02);filter:blur(6px)}}
@keyframes hot-sweep{from{left:-45%;opacity:0}35%{opacity:.85}to{left:110%;opacity:0}}
@keyframes structure-reveal{from{opacity:.45;transform:translateY(5px) scale(.985);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@media(min-width:1101px) and (min-height:650px){.panel-hotspots{--hot-head:48px}}
@media(prefers-reduced-motion:reduce){.hot-content.hot-enter,.hot-content.hot-exit,.panel-hotspots.hot-transition:after,.structure-content.structure-switching{animation:none!important}}
.word-event{padding:13px 0;border-bottom:1px solid #205679}
.word-event strong{display:block;color:#eefaff;font-size:13px;line-height:1.65}
.word-event small{display:block;color:#8fc3d9;font-size:11px;line-height:1.6;margin:5px 0}
.word-event-links{display:flex;flex-direction:column;gap:5px}
.word-event-links a{color:#70dbff;font-size:12px;line-height:1.5;text-decoration:none}
.word-event-links a:hover{text-decoration:underline;color:#fff}
.word-event-links span{color:#8caec2;font-size:11px}
