html,body{margin:0;padding:0;font-family:-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;background:#0b1026;color:#c8d2e8}
*{box-sizing:border-box}
a{color:#5da2ff;text-decoration:none}
::selection{background:rgba(93,162,255,.4)}
/* ---------- hero ---------- */
.hero{position:relative;padding:64px 32px 42px;text-align:center;
 background:radial-gradient(ellipse at 50% -20%,rgba(43,84,255,.45) 0%,rgba(11,16,38,0) 60%),
 linear-gradient(160deg,#0b1026 0%,#101a3d 55%,#0b1026 100%);
 border-bottom:1px solid rgba(120,150,255,.15)}
.hero h1{margin:0 0 14px;font-size:34px;letter-spacing:6px;color:#eef3ff}
.hero h1 span{background:linear-gradient(90deg,#63b3ff,#7ef7d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{margin:0 auto;max-width:860px;font-size:14px;color:#8fa1c7;line-height:1.9}
.hero .meta{margin-top:22px;font-size:12px;color:#5f719c}
.badges{margin-top:16px}
.badges span{display:inline-block;margin:0 5px;padding:4px 14px;border:1px solid rgba(99,179,255,.35);border-radius:14px;font-size:12px;color:#7ecbff}
/* ---------- layout（自适应加宽） ---------- */
.wrap{width:96%;max-width:1680px;margin:0 auto}
section{padding:36px 0 8px}
/* ---------- 栏头（标题 + 说明） ---------- */
.sec-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid rgba(120,150,255,.1)}
.sec-head .tt{position:relative;padding-left:13px;font-size:17px;font-weight:600;color:#eef3ff;letter-spacing:1px}
.sec-head .tt::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:linear-gradient(180deg,#63b3ff,#41e0c0)}
.sec-head .desc{font-size:12px;color:#5f719c;line-height:1.6}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:14px 0 4px}
.kpi{position:relative;padding:20px 22px;border:1px solid rgba(120,150,255,.18);border-radius:10px;
 background:linear-gradient(150deg,rgba(38,58,130,.35),rgba(20,30,70,.25));overflow:hidden}
.kpi::after{content:'';position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(63,140,255,.25),transparent 70%)}
.kpi .num{font-size:30px;font-weight:700;color:#fff;font-family:Consolas,monospace}
.kpi .num i{font-style:normal;font-size:13px;color:#8fa1c7;margin-left:4px}
.kpi .label{margin-top:6px;font-size:13px;color:#8fa1c7}
.kpi .trend{margin-top:4px;font-size:12px;color:#4cd9a5}
.kpi .trend.down{color:#ff7d7d}
/* ---------- trend：展陈技术发展趋势与预测（年份横轴自 1978 年起、图宽 50% + 成熟度分级设色 + 预测虚线，图内无图例）；
   右侧为逐项技术明细表（颜色 / 技术方向 / 大类 / 技术类型 / 当前普及率 / 主要项目）：
   图与表共用同一固定高度（--tr-h：图 = 520px 画布 + 上下内边距 20px + 边框 2px = 542px），表内部滚动、表头 sticky 吸顶不穿透，
   注释固定在表格下方不随滚动；窄屏（≤960px）上下堆叠时高度放开为自适应 ---------- */
.trend-panel{--tr-h:542px;display:flex;gap:16px;margin:14px 0 6px;align-items:stretch}
.trend-chart-box{width:50%;flex:none;height:var(--tr-h);padding:10px 12px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5)}
#trend-chart{width:100%;height:520px}
.trend-tips{flex:1;min-width:0;height:var(--tr-h);display:flex;flex-direction:column;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5)}
.trend-tips .tt3-scroll{flex:1;min-height:0;overflow:auto}
table.tt3{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
table.tt3 thead th{position:sticky;top:0;background:#16214a;color:#9fb4dd;padding:8px 10px;text-align:left;font-weight:600;z-index:2;white-space:nowrap;
 border-bottom:1px solid rgba(120,150,255,.18)}
table.tt3 thead th:first-child{text-align:center}
table.tt3 thead th.c-r{text-align:right}
table.tt3 td{padding:9px 10px;border-bottom:1px solid rgba(120,150,255,.08);color:#c3cee6;vertical-align:top;line-height:1.55;
 background:rgba(15,23,56,.5)}
table.tt3 td:first-child{width:36px;white-space:nowrap;text-align:center}
table.tt3 td.tn{color:#dfe8ff;font-weight:600;white-space:nowrap}
table.tt3 td.tc{color:#8fa1c7;white-space:nowrap}
table.tt3 td.tm{white-space:nowrap}
table.tt3 td.tv{font-family:Consolas,monospace;color:#ffd66e;text-align:right;white-space:nowrap}
table.tt3 td.to{color:#8fa1c7;font-size:11.5px;line-height:1.55;min-width:110px}
.lg-dot{display:inline-block;width:14px;height:14px;border-radius:50%;box-shadow:0 0 6px rgba(255,255,255,.12);vertical-align:-2px}
.t-mat{display:inline-block;padding:1px 9px;border:1px solid;border-radius:9px;font-size:11px;white-space:nowrap}
.t-mat.m3{color:#4cd9a5;background:rgba(76,217,165,.12);border-color:rgba(76,217,165,.45)}
.t-mat.m2{color:#7ecbff;background:rgba(126,203,255,.12);border-color:rgba(126,203,255,.45)}
.t-mat.m1{color:#ffd66e;background:rgba(255,214,110,.12);border-color:rgba(255,214,110,.45)}
.tt3-note{flex:none;margin:0;padding:10px 14px;font-size:11.5px;color:#5f719c;line-height:1.7;border-top:1px solid rgba(120,150,255,.12)}
/* ---------- vendor/hall 表格基样式（separate + 表头自身底线，sticky 滚动时表头分隔线稳定不消失；
   表头不折行，数字列单元格 nowrap，保证列宽与数据右对齐稳定） ---------- */
.vendor-panel{display:grid;grid-template-columns:1fr 1.5fr;gap:16px;margin:14px 0 6px}
.vendor-chart{padding:14px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:420px}
.vendor-table-wrap{max-height:420px;overflow:auto;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5)}
table.vt{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
table.vt thead th{position:sticky;top:0;background:#16214a;color:#9fb4dd;padding:11px 12px;text-align:left;font-weight:600;z-index:2;white-space:nowrap;
 border-bottom:1px solid rgba(120,150,255,.18)}
table.vt td{padding:10px 12px;border-bottom:1px solid rgba(120,150,255,.08);color:#c3cee6}
table.vt tbody tr:hover{background:rgba(63,140,255,.08);cursor:pointer}
/* 级别分级设色胶囊：颜色由 JS 按层级注入（内联 style：color/background/border-color），基类只负责胶囊形状 */
.tbl-tag{display:inline-block;padding:1px 9px;border:1px solid;border-radius:10px;font-size:11px;white-space:nowrap}
/* ---------- city：年接待热力（地图按年接待五级设色）+ 科技馆TOP20表（排序/馆名/城市/年接待/面积/评级） ---------- */
.city-panel{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin:14px 0 6px}
.city-chart{position:relative;padding:6px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:520px}
.city-chart #city-map{width:100%;height:100%}
.map-legend{position:absolute;left:14px;top:14px;z-index:5;display:flex;flex-direction:column;gap:7px;padding:10px 14px;border-radius:8px;background:rgba(11,16,38,.72);border:1px solid rgba(120,150,255,.22);font-size:12px;color:#9fb4dd;backdrop-filter:blur(2px)}
.map-legend span{display:flex;align-items:center;white-space:nowrap}
.map-legend i{width:10px;height:10px;border-radius:50%;margin-right:8px;flex:none}
.map-legend em{font-style:normal;margin-left:12px;color:#5f719c;font-family:Consolas,monospace}
.city-rank{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:520px;overflow:auto}
.city-rank h4{margin:0;padding:14px 16px;font-size:14px;color:#9fb4dd;border-bottom:1px solid rgba(120,150,255,.12)}
.cr-table-head{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:30px 1fr 58px 74px 64px 46px;gap:0 6px;align-items:center;
 padding:8px 14px;background:#101a3d;color:#5f719c;font-size:11px;border-bottom:1px solid rgba(120,150,255,.12)}
.cr-table-head .r{text-align:right}
.cr-table-head span:first-child{text-align:center}
.cr-row{display:grid;grid-template-columns:30px 1fr 58px 74px 64px 46px;gap:0 6px;align-items:center;margin:0;padding:7px 14px;
 font-size:11.5px;border-bottom:1px dashed rgba(120,150,255,.07)}
.cr-row:last-child{border-bottom:none}
.cr-row:hover{background:rgba(63,140,255,.06)}
.cr-row .ix{font-family:Consolas,monospace;text-align:center}
.cr-row .cn{color:#c3cee6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cr-row .cc{color:#8fa1c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cr-row .vv{text-align:right;font-family:Consolas,monospace;color:#ffd66e}
.cr-row .ar{text-align:right;font-family:Consolas,monospace;color:#9fb4dd}
.cr-row .gr{text-align:right;font-size:10.5px;color:#bfaeff;white-space:nowrap}
/* ---------- news：合并总表（日期 / 类型 / 来源 / 标题 / 简介），日期列加宽不折行；
   标题列定宽不折行（超出省略），点击跳原文或 Bing 搜索；来源列同风格单行省略 ---------- */
.news-table-wrap{max-height:640px;overflow:auto;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);margin-bottom:6px}
table.nt{width:100%;border-collapse:collapse;font-size:12.5px;table-layout:fixed}
table.nt thead th{position:sticky;top:0;background:#16214a;color:#9fb4dd;padding:10px 14px;text-align:left;font-weight:600;z-index:2;white-space:nowrap}
table.nt td{padding:10px 14px;border-top:1px solid rgba(120,150,255,.08);color:#c3cee6;vertical-align:top;line-height:1.6}
table.nt tbody tr:hover{background:rgba(63,140,255,.06)}
table.nt th.c-date,table.nt td.n-date{width:112px;font-family:Consolas,monospace;color:#5f719c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
table.nt td.n-date{font-size:12px;line-height:1.6}
table.nt .c-cat{width:76px}
table.nt .c-src{width:150px;color:#8fa1c7;font-size:12px}
table.nt td.n-src{color:#8fa1c7;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
table.nt .c-title{width:320px}
table.nt td.n-title{color:#dfe8ff;font-weight:600;overflow:hidden}
table.nt td.n-title a{color:#dfe8ff;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
table.nt td.n-title a:hover{color:#7ecbff}
table.nt td.n-sum{color:#8fa1c7;font-size:12px;min-width:220px}
.n-cat{display:inline-block;padding:1px 9px;border:1px solid;border-radius:10px;font-size:11px;white-space:nowrap}
/* ---------- footer ---------- */
footer{margin-top:50px;padding:26px 24px;border-top:1px solid rgba(120,150,255,.12);text-align:center;font-size:12px;color:#5f719c;line-height:2}
footer a{color:#7ecbff;border-bottom:1px dotted rgba(126,203,255,.5)}
footer a:hover{color:#aee0ff;border-bottom-color:#aee0ff}
/* ---------- responsive ---------- */
@media (max-width:960px){
 .kpis{grid-template-columns:repeat(2,1fr)}
 .vendor-panel,.city-panel{grid-template-columns:1fr}
 .trend-panel{flex-direction:column}
 .trend-chart-box{width:100%;height:auto}
 .trend-tips{height:auto}
 .trend-tips .tt3-scroll{max-height:420px}
 .city-chart{height:420px}
 .city-rank{height:auto;max-height:520px}
 #trend-chart{height:400px}
 .hero h1{font-size:24px;letter-spacing:3px}
 .sec-head .tt{font-size:15px}
}
/* scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:rgba(120,150,255,.25);border-radius:4px}
::-webkit-scrollbar-track{background:transparent}