/* NO.53 — LoMOS / 天机 TexOracle 卡片化专用样式（仅表现层，依赖 loomos-theme.css 令牌） */

/* ===== 通用小工具（仅用于替换原模板中的静态行内样式） ===== */
.u-flex{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.u-flex-8{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.u-mt-8{margin-top:8px}
.u-mt-10{margin-top:10px}
.u-mt-12{margin-top:12px}
.u-mt-16{margin-top:16px}
.u-ml-auto{margin-left:auto}
.u-my-8{margin:8px 0}
.u-mb-8{margin-bottom:8px}
.u-mb-10{margin-bottom:10px}
.u-mb-12{margin-bottom:12px}
.u-m-0{margin:0}
.u-mt-4{margin-top:4px}
.u-ml-8{margin-left:8px}
.u-ml-10{margin-left:10px}
.u-text-11{font-size:11px}
.u-text-12{font-size:12px}
.u-text-13{font-size:13px}
.u-muted-12{font-size:12px;color:var(--muted)}
.u-block{display:block}
.is-hidden{display:none}

/* ================= 天机 · 预测中心 ================= */
.prediction-page :where(label){display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.prediction-page :where(select){padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:14px}
.prediction-page :where(button){background:var(--brand);color:#fff;border:0;border-radius:6px;padding:9px 22px;font-size:14px;cursor:pointer}
.prediction-page :where(button:disabled){opacity:.6}
.prediction-page .radio-group{display:inline-flex;gap:14px;margin:0 16px}
.prediction-page .radio-group label{display:inline-flex;align-items:center;gap:6px;font-weight:400}
.prediction-page .row{display:flex;gap:16px;flex-wrap:wrap}
.prediction-page .col{flex:1;min-width:340px}
.prediction-page .col-wide{flex:2}
.prediction-page .u-m-0{margin:0}
.prediction-page .u-m-0.u-ml-8{margin:0 0 0 8px}
.prediction-page option.opt-disabled{color:#9ca3af}
#chart_price{height:340px;width:100%}
#chart_weights,#chart_shap{height:280px;width:100%}
#chart_trace{height:240px;width:100%}
.prediction-page :where(.up,.down,.flat){font-weight:600}
/* 多空概率条：涨红 #f5222d / 震荡灰 #bfbfbf / 跌绿 #52c41a（跌禁用天蓝） */
.prediction-page .pbar-wrap{min-width:150px;width:100%;max-width:200px}
.prediction-page .pbar{display:flex;width:100%;height:18px;border-radius:9px;overflow:hidden;background:#f0f0f0;font-size:10px;color:#fff;font-weight:600}
.prediction-page .pbar .seg{display:flex;align-items:center;justify-content:center;white-space:nowrap;min-width:0;transition:width .3s}
.prediction-page .pbar .seg.up{background:var(--up)}
.prediction-page .pbar .seg.flat{background:var(--flat)}
.prediction-page .pbar .seg.down{background:var(--down)}
.prediction-page .pbar.watch{opacity:.5;filter:grayscale(.7)}
.prediction-page .pbar-tag{font-size:10px;color:var(--muted);margin-top:2px;white-space:nowrap}
.prediction-page .pbar-tag.watch{color:var(--muted);font-weight:600}
.prediction-page .hist-wrap{overflow-x:auto}
.prediction-page .hist-list{max-height:360px;overflow-y:auto}
.prediction-page .hist-disclaimer{font-size:12px;color:#b45309;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:6px 10px;margin-bottom:8px}
.prediction-page .hist-list.hist-dim thead th{color:#94a3b8}
.prediction-page .hist-list .hist-unpublished td{color:#94a3b8!important}
.prediction-page .hist-list .hist-unpublished .pbar{filter:grayscale(1);opacity:.5}
.prediction-page .hist-list .hist-unpublished .pbar-tag{color:#cbd5e1}
.prediction-page .kpi{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.prediction-page .kpi .box{flex:1;min-width:120px;background:#f0f6ff;border-radius:8px;padding:10px 12px;text-align:center}
.prediction-page .kpi .v{font-size:20px;font-weight:600;color:var(--brand)}
.prediction-page .kpi .k{font-size:12px;color:var(--muted);margin-top:2px}
.prediction-page .extreme{background:#fff7ed;border:1px solid #fdba74;border-radius:6px;padding:8px 12px;font-size:13px;color:#c2410c;margin-top:10px}
/* V5.7 A3: PTA 现货/期货双 Tab */
.prediction-page .pta-tabs{display:none;margin-top:10px;align-items:center;gap:6px}
.prediction-page .pta-tabs .label{font-weight:600;font-size:14px;color:var(--brand);margin-right:6px}
.prediction-page .pta-tab{background:#fff;border:1px solid var(--line);color:#6b7280;padding:6px 18px;border-radius:6px;cursor:pointer;font-size:13px;transition:all .2s}
.prediction-page .pta-tab:hover{border-color:var(--brand);color:var(--brand)}
.prediction-page .pta-tab.active{background:var(--brand);color:#fff;border-color:var(--brand);font-weight:600}
/* V5.7 B3: 多厂商报价对比表 */
.prediction-page #factory_quotes_box{margin-top:12px}
.prediction-page #factory_quotes_box .fq-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:10px;flex-wrap:wrap}
.prediction-page #factory_quotes_box .fq-prod-switch{display:inline-flex;gap:4px;background:#f0f6ff;border-radius:8px;padding:3px}
.prediction-page #factory_quotes_box .fq-prod-btn{background:transparent;border:0;color:#6b7280;padding:5px 14px;border-radius:6px;cursor:pointer;font-size:12px}
.prediction-page #factory_quotes_box .fq-prod-btn.active{background:var(--brand);color:#fff;font-weight:600}
.prediction-page #factory_quotes_box .fq-source-tag{font-size:11px;color:var(--muted);background:#f9fafb;border:1px solid var(--line);padding:2px 8px;border-radius:999px}
.prediction-page #factory_quotes_box table{font-size:12px;min-width:0}
.prediction-page #factory_quotes_box th,.prediction-page #factory_quotes_box td{text-align:right}
.prediction-page #factory_quotes_box th:first-child,.prediction-page #factory_quotes_box td:first-child{text-align:left}
.prediction-page #factory_quotes_box .fq-row-avg{background:#eff6ff;font-weight:600}
.prediction-page #factory_quotes_box .fq-row-wavg{background:#fef3c7;font-weight:600}
.prediction-page #factory_quotes_box .fq-empty{color:var(--muted);font-size:13px;padding:12px;text-align:center}
.prediction-page #factory_quotes_box .fq-anchor-line{margin-top:6px;font-size:11px;color:var(--muted)}
.prediction-page #home-news-strip .hn-card{flex:0 0 260px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;text-decoration:none;display:block;transition:transform .15s ease,box-shadow .15s ease}
.prediction-page #home-news-strip .hn-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(30,111,255,.15);border-color:#93c5fd}
.prediction-page #home-news-strip .hn-cat{font-size:10px;font-weight:600;color:#1e6fff;background:#eef4ff;border-radius:999px;padding:1px 8px;display:inline-block}
.prediction-page #home-news-strip .hn-title{font-size:13px;font-weight:600;color:#0f172a;margin:6px 0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.prediction-page #home-news-strip .hn-meta{font-size:11px;color:var(--muted)}
.prediction-page #home-news-strip .hn-macro{flex:0 0 100%;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:2px 2px 0;border-top:1px dashed var(--line);margin-top:2px}
.prediction-page #home-news-strip .hn-macro-label{font-size:11px;font-weight:600;color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:999px;padding:1px 8px;white-space:nowrap}
.prediction-page #home-news-strip .hn-macro-item{font-size:11px;color:var(--muted);text-decoration:none;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prediction-page #home-news-strip .hn-macro-item:hover{color:#1e6fff}
.prediction-page #home-source-box .sq-group{margin-bottom:14px}
.prediction-page #home-source-box .sq-gtitle{font-size:12px;font-weight:600;color:#475569;margin:0 0 6px 2px}
.prediction-page #home-source-box .sq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.prediction-page #home-source-box .sq-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.prediction-page #home-source-box .sq-card.off{background:#f8fafc}
.prediction-page #home-source-box .sq-pname{font-size:12px;font-weight:600;color:#334155;margin-bottom:5px}
.prediction-page #home-source-box .sq-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:11px;padding:2px 0;border-top:1px dashed #f1f5f9}
.prediction-page #home-source-box .sq-src{color:#64748b;font-weight:600}
.prediction-page #home-source-box .sq-val{color:#0f172a;font-weight:600;font-variant-numeric:tabular-nums}
.prediction-page #home-source-box .sq-unit{color:var(--muted);font-weight:400}
.prediction-page #home-source-box .sq-time{color:var(--muted)}
.prediction-page #home-source-box .sq-link{color:#1e6fff;text-decoration:none}
.prediction-page #home-source-box .sq-na{font-size:11px;color:var(--muted)}
.prediction-page #fb_bar .fb-btn{padding:3px 10px;margin-left:4px;border:1px solid var(--line);background:#fff;border-radius:999px;cursor:pointer;font-size:12px}
.prediction-page #fb_bar .fb-btn:hover{border-color:var(--brand);color:var(--brand)}
.prediction-page #fb_bar .fb-btn.active{background:var(--brand);color:#fff;border-color:var(--brand)}
/* 问天机快捷对话 */
.prediction-page #tj-chat-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;margin-bottom:16px}
.prediction-page #tj-chat-log{max-height:260px;overflow-y:auto;font-size:13px;line-height:1.6;margin-bottom:10px}
.prediction-page .tj-quick-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.prediction-page .tj-quick{height:44px;padding:0 12px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534;font-size:13px;cursor:pointer}
.prediction-page .tj-chat-input-row{display:flex;gap:8px}
.prediction-page #tj-chat-input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px}
.prediction-page #tj-chat-send{height:44px;padding:0 18px;border:none;border-radius:8px;background:#2d6a4f;color:#fff;font-size:15px;cursor:pointer}
.prediction-page #tj-chat-disclaimer{font-size:11px;color:#94a3b8;margin-top:6px}
.prediction-page .card-sub{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.prediction-page .spot-loading{padding:8px}
.prediction-page .alert-demo{background:#fffbeb;border:1px solid #fcd34d;color:#92400e;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:16px}
.prediction-page .alert-demo i{margin-right:6px}
.prediction-page .ctl-predict{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.prediction-page .th-prob{min-width:160px}
.prediction-page .cell-ok{color:#16a34a;font-weight:600}
.prediction-page .tag-green{background:#ecfdf5;color:#047857;font-weight:400}
.prediction-page .news-link{font-size:12px;font-weight:400;margin-left:8px;color:var(--brand);text-decoration:none}
.prediction-page .news-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.prediction-page .weekend-notice{display:none;margin-top:6px;padding:6px 10px;background:#fff7ed;color:#9a3412;border-radius:6px;font-size:12px}
.prediction-page .mode-badge{display:none;margin-left:10px;font-size:12px;font-weight:600;padding:3px 12px;border-radius:999px;vertical-align:middle}
.prediction-page .fb-bar{display:none;margin-top:10px;padding:8px 10px;border:1px dashed var(--line);border-radius:8px;font-size:12px}
.prediction-page .fb-bar .fb-label{font-weight:600}
.prediction-page .fb-bar .fb-price{width:130px;margin-left:10px;padding:3px 6px;border:1px solid var(--line);border-radius:6px}
.prediction-page .fb-bar .fb-msg{margin-left:8px}
.prediction-page .rt-bar{display:none;margin-top:12px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fafcff;font-size:13px;line-height:1.9}
.prediction-page .model-transparency{font-size:13px}
.prediction-page .tag-plain{background:#fff7ed;color:#9a3412;font-weight:400}
.prediction-page .tag-soft{font-weight:400}
.prediction-page .tag-no-model{display:none;background:#f3f4f6;color:#6b7280;padding:4px 10px}
.prediction-page .model-panel-head{margin:4px 0 10px;font-size:12px}
.prediction-page .chart-caption{margin:4px 0 8px}
.prediction-page .crosscheck-tags{font-weight:400}
@media(max-width:760px){
  .prediction-page .pbar-wrap{min-width:110px;max-width:140px}
  .prediction-page .hist-wrap table{font-size:12px}
}

/* ================= 天机 · 引擎详情 ================= */
.engine-page #chart_shap{height:420px;width:100%}
.engine-page #chart_calib{height:260px;width:100%}
.engine-page .kpi{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}
.engine-page .kpi .box{flex:1;min-width:140px;background:#f0f6ff;border-radius:8px;padding:10px 12px;text-align:center}
.engine-page .kpi .v{font-size:19px;font-weight:600;color:var(--brand)}
.engine-page .kpi .k{font-size:12px;color:var(--muted);margin-top:2px}
.engine-page .arch{display:flex;gap:8px;flex-wrap:wrap;align-items:stretch}
.engine-page .arch .stage{flex:1;min-width:150px;background:#f0f6ff;border:1px solid #dbeafe;border-radius:8px;padding:10px 12px}
.engine-page .arch .stage b{display:block;color:var(--brand);font-size:13px;margin-bottom:6px}
.engine-page .arch .stage ul{margin:0;padding-left:16px;font-size:12px;color:#374151;line-height:1.7}
.engine-page .arch .arrow{align-self:center;color:var(--brand);font-size:18px;font-weight:600}
.engine-page .factors8{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.engine-page .factors8 .fc{background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:12px}
.engine-page .factors8 .fc b{color:var(--brand);display:block;margin-bottom:4px;font-size:13px}
.engine-page .badge{display:inline-block;border:0;border-radius:999px;padding:2px 10px;font-size:12px}
.engine-page .b-pass{background:#dcfce7;color:var(--ok)}
.engine-page .b-fail{background:#fee2e2;color:var(--err)}
.engine-page .b-watch{background:#fef9c3;color:#a16207}
.engine-page .sec{margin-top:18px;border-top:1px dashed var(--line);padding-top:12px}
.engine-page .sec h3{font-size:14px;color:#334155;margin:0 0 8px}
.engine-page #bt_body .sec{overflow-x:auto}
.engine-page #bt_body table{min-width:680px}
.engine-page #bt_horizon_tabs button{margin-right:8px}
.engine-page .chart-300{height:300px}
.engine-page .chart-170{height:170px;margin-top:8px}
.engine-page .btn-export{background:#0ea5e9}
.engine-page .filter-label{font-weight:600;font-size:14px;margin:0}
option.opt-disabled{color:#9ca3af}

/* ================= 天机 · 模型运维 ================= */
.model-ops-page #chart_acc,.model-ops-page #chart_weights{height:320px;width:100%}
.model-ops-page .badge{display:inline-block;border:0;border-radius:999px;padding:2px 10px;font-size:12px}
.model-ops-page .st-champion{background:#dcfce7;color:var(--ok)}
.model-ops-page .st-candidate{background:#dbeafe;color:var(--brand)}
.model-ops-page .st-archived{background:#f1f5f9;color:var(--muted)}
.model-ops-page .st-rolled_back{background:#fee2e2;color:var(--err)}
.model-ops-page .lv-警告{background:#fef9c3;color:#a16207}
.model-ops-page .lv-漂移{background:#fee2e2;color:var(--err)}
.model-ops-page .rb{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.model-ops-page .scroll{max-height:360px;overflow-y:auto}
.model-ops-page tr.row-champion{background:#f0fdf4;box-shadow:inset 3px 0 0 var(--ok)}
.model-ops-page .btn-mini{padding:3px 10px;font-size:12px;border-radius:5px;background:var(--brand)}
.model-ops-page .win-a{color:var(--ok);font-weight:600}
.model-ops-page .win-b{color:var(--err);font-weight:600}
.model-ops-page .pass-yes{color:var(--ok);font-weight:600}
.model-ops-page .pass-no{color:var(--err);font-weight:600}
.model-ops-page .modal-mask{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;z-index:50;overflow-y:auto;padding:30px 12px}
.model-ops-page .modal-mask.open{display:block}
.model-ops-page .modal{background:#fff;max-width:1080px;margin:0 auto;border-radius:12px;padding:22px 26px}
.model-ops-page .modal h3{margin:0 0 4px;font-size:18px;color:var(--brand)}
.model-ops-page .modal .close{float:right;background:transparent;color:var(--muted);font-size:20px;padding:0 6px}
.model-ops-page .sub{font-size:13px;color:var(--muted);margin-bottom:14px}
.model-ops-page .split-cards{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}
.model-ops-page .split-card{flex:1;min-width:200px;border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:#f8fafc}
.model-ops-page .split-card h4{margin:0 0 8px;font-size:13px;color:var(--brand)}
.model-ops-page .split-card .kv{display:flex;justify-content:space-between;font-size:13px;padding:2px 0}
.model-ops-page .fi-chart{height:360px;width:100%}
.model-ops-page .bt-chart{height:300px;width:100%}
.model-ops-page .gate-ok{color:var(--ok)}
.model-ops-page .gate-fail{color:var(--err)}
.model-ops-page table.tight th,.model-ops-page table.tight td{padding:6px 8px;font-size:12px}
.model-ops-page .cmp-col-a{background:#eff6ff}
.model-ops-page .cmp-col-b{background:#fef2f2}
.model-ops-page .scroll-220{max-height:220px}
.model-ops-page .scroll-240{max-height:240px}
.model-ops-page .scroll-280{max-height:280px}
.model-ops-page .scroll-340{max-height:340px}
.model-ops-page .card h3{margin:0;font-size:16px}
.model-ops-page .shadow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.model-ops-page .shadow-scroll{overflow-x:auto}
.model-ops-page .shadow-head .sub{margin-bottom:0}
.model-ops-page .filter-label{font-weight:600;font-size:13px;margin:0}
.model-ops-page .flex-1-input{flex:1;min-width:200px}
.model-ops-page .th-34{width:34px}
.model-ops-page .modal-h4{font-size:14px;margin:14px 0 6px}
.model-ops-page .modal-h4-16{font-size:14px;margin:16px 0 6px}
.model-ops-page .modal-h4-10{font-size:14px;margin:10px 0 6px}

/* ================= 天机 · 国际事件 ================= */
.events-page .timeline{position:relative;padding-left:22px}
.events-page .timeline::before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:#dbeafe}
.events-page .tl-item{position:relative;margin-bottom:16px}
.events-page .tl-item::before{content:"";position:absolute;left:-21px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--brand);border:2px solid #fff;box-shadow:0 0 0 2px #dbeafe}
.events-page .tl-item .t{font-weight:600;font-size:14px}
.events-page .badge{display:inline-block;border:0;border-radius:999px;padding:2px 10px;font-size:12px;margin-left:6px}
.events-page .lc-爆发{background:#fee2e2;color:var(--err)}
.events-page .lc-发酵{background:#fef9c3;color:#a16207}
.events-page .lc-消退{background:#f1f5f9;color:var(--muted)}
.events-page .mag-high{background:#fee2e2;color:var(--err)}
.events-page .mag-mid{background:#fef9c3;color:#a16207}
.events-page .mag-low{background:#f1f5f9;color:var(--muted)}
.events-page .analog{background:#f0f6ff;border:1px dashed #bfdbfe;border-radius:8px;padding:8px 12px;font-size:12px;margin-top:8px}
.events-page .chain{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0}
.events-page .chain .node{background:#f0f6ff;border:1px solid #dbeafe;border-radius:8px;padding:8px 12px;text-align:center;min-width:96px}
.events-page .chain .node b{display:block;font-size:13px;color:var(--brand)}
.events-page .chain .node span{font-size:11px;color:var(--muted)}
.events-page .chain .arrow{color:var(--brand);font-weight:600;font-size:15px}
.events-page .chain-title{margin:14px 0 4px;font-size:14px}
.events-page .search-row{display:flex;gap:8px;flex-wrap:wrap}
.events-page .search-row input{flex:1;min-width:240px}
.events-page .rag-result{margin-top:12px}

/* ================= 天机 · 资讯中心 ================= */
.news-page main{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px}
.news-page .card{padding:16px 18px;margin-bottom:14px}
.news-page .card h2{display:flex;justify-content:space-between;align-items:center}
.news-page .card h2 .count{font-size:12px;color:var(--muted);font-weight:normal}
.news-page .news-item{padding:8px 0;border-bottom:1px solid var(--line)}
.news-page .news-item:last-child{border-bottom:0}
.news-page .news-item .title{font-weight:600;font-size:14px;color:#111;text-decoration:none}
.news-page .news-item .title:hover{color:var(--brand)}
.news-page .news-item .meta{color:var(--muted);font-size:12px;margin-top:3px}
.news-page .news-item .summary{color:#444;font-size:13px;margin-top:4px;line-height:1.5}
.news-page .event-item{padding:6px 0;border-bottom:1px solid var(--line)}
.news-page .filter-bar{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.news-page .filter-bar button{padding:4px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;font-size:12px}
.news-page .filter-bar button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.news-page .refresh-note{font-size:12px;color:var(--muted);padding:6px;background:#f0f9ff;border-radius:6px;margin-bottom:10px}
.news-page .event-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.news-page .event-card{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fafbfc}
.news-page .event-card .ev-title{font-size:13px;font-weight:600;line-height:1.3;color:#111}
.news-page .event-card .ev-meta{font-size:11px;color:var(--muted);margin-top:4px}
.news-page .event-card .ev-change{font-size:12px;font-weight:600;margin-top:4px}
.news-page .event-card a{color:var(--brand);text-decoration:none;font-size:11px}
.news-page .link-list{margin:0;padding:0;list-style:none}
.news-page .link-list li{padding:5px 0;border-bottom:1px solid var(--line);font-size:13px}
.news-page .link-list li:last-child{border-bottom:0}
.news-page .link-list a{color:#111;text-decoration:none}
.news-page .link-list a:hover{color:var(--brand)}
.news-page .link-list .meta{font-size:11px;color:var(--muted)}
.news-page .panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.news-page .panel-grid .stat{padding:8px;background:#f0f9ff;border-radius:6px;text-align:center}
.news-page .panel-grid .stat .num{font-size:18px;font-weight:600;color:var(--brand)}
.news-page .panel-grid .stat .lbl{font-size:11px;color:var(--muted)}
.news-page .tl-day{font-size:12px;font-weight:600;color:var(--muted);margin:12px 0 2px}
.news-page .tl-day:first-child{margin-top:0}
.news-page .tag-textile{background:#eef2ff;color:var(--brand)}
.news-page .tag-macro{background:#fef3c7;color:#b45309}
.news-page .tag-policy{background:#dcfce7;color:#15803d}
.news-page .tag-fx{background:#fae8ff;color:#a21caf}
.news-page .crawl-rows{font-size:11px;color:#374151;max-height:180px;overflow:auto}
.news-page .crawl-rows .row{display:flex;justify-content:space-between;gap:8px;padding:2px 0;border-bottom:1px dashed var(--line)}
.news-page .dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}
.news-page .dot-ok{background:var(--ok)}
.news-page .dot-empty{background:var(--flat)}
.news-page .dot-blocked{background:#f59e0b}
.news-page .dot-fail{background:var(--err)}
.news-page .crawl-summary{font-size:12px;margin-bottom:6px}
.news-page .collect-btn{padding:3px 12px;border:1px solid var(--brand);border-radius:12px;background:#fff;color:var(--brand);font-size:12px;cursor:pointer;font-weight:normal}
.news-page .collect-btn:hover{background:var(--brand);color:#fff}
.news-page .collect-btn:disabled{opacity:.5;cursor:not-allowed}
.news-page .collect-note{font-size:12px;min-height:16px;margin-bottom:4px}
.news-page .event-badge{background:#fff7ed;color:#d97706;border:1px solid #fed7aa}
.news-page .fx-rate-box{font-size:11px;margin-bottom:8px}
.news-page .event-link-title{font-weight:600;font-size:13px}
.news-page .event-link-meta{font-size:12px}
.news-page .health-badge{display:none;cursor:pointer;font-size:11px;padding:2px 8px;border-radius:10px;vertical-align:middle}
@media(max-width:768px){.news-page main{grid-template-columns:1fr}}

/* ================= LoMOS · 行业数据大屏 ================= */
.loomos-dashboard{
  --bg:#060d1f;--panel:rgba(16,42,88,.55);--line:rgba(64,140,255,.25);
  --text:#dbe8ff;--muted:#7f9bd0;--brand:#3ea0ff;
  --up:#ff5a54;--down:#16c784;--flat:#f5a623;
  width:100%;height:100vh;min-height:100vh;overflow:hidden;background:var(--bg);
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:var(--text);
}
.loomos-dashboard h1,.loomos-dashboard h2,.loomos-dashboard h3,.loomos-dashboard p{margin:0;padding:0}
.loomos-dashboard #viewport{position:fixed;inset:0;overflow:hidden}
.loomos-dashboard #viewport *{box-sizing:border-box}
.loomos-dashboard #screen{width:1920px;height:1080px;position:absolute;left:50%;top:50%;transform-origin:center center;padding:22px 30px 26px;background:radial-gradient(1200px 600px at 50% -10%,#10306e 0%,#060d1f 60%);display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.loomos-dashboard header{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:0;background:transparent;border:0;box-shadow:none;color:var(--text)}
.loomos-dashboard header h1{font-size:38px;font-weight:600;letter-spacing:6px;background:linear-gradient(180deg,#fff,#7cc0ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.loomos-dashboard .h-meta{display:flex;align-items:center;gap:22px;font-size:18px;color:var(--muted)}
.loomos-dashboard .h-meta .clock{font-size:26px;color:#cfe4ff;font-variant-numeric:tabular-nums}
.loomos-dashboard .fs-btn{background:var(--panel);border:1px solid var(--line);color:var(--text);padding:8px 16px;border-radius:6px;font-size:15px;cursor:pointer;min-height:0;box-shadow:none}
.loomos-dashboard .fs-btn:hover{border-color:var(--brand);color:#fff;background:var(--panel);box-shadow:none}
.loomos-dashboard .layout{flex:1;display:grid;grid-template-rows:1fr 1.15fr;gap:18px;min-height:0}
.loomos-dashboard .row2{display:grid;grid-template-columns:0.9fr 1.25fr 1.35fr;gap:18px;min-height:0}
.loomos-dashboard .panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px 20px;display:flex;flex-direction:column;min-height:0;position:relative;overflow:hidden}
.loomos-dashboard .panel h2{font-size:20px;color:#a9d0ff;font-weight:600;margin-bottom:14px;flex:0 0 auto;border-left:4px solid var(--brand);padding-left:10px}
.loomos-dashboard .top-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;min-height:0}
.loomos-dashboard .price-grid{flex:1;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:14px}
.loomos-dashboard .price-card{background:linear-gradient(160deg,rgba(30,80,170,.35),rgba(10,25,60,.35));border:1px solid var(--line);border-radius:8px;padding:14px 18px;display:flex;flex-direction:column;justify-content:center}
.loomos-dashboard .price-card .name{font-size:19px;color:#b9d4ff}
.loomos-dashboard .price-card .price{font-size:34px;font-weight:600;margin:6px 0;font-variant-numeric:tabular-nums}
.loomos-dashboard .price-card .pct{font-size:18px;font-weight:600}
.loomos-dashboard .price-card .meta{font-size:12px;color:var(--muted);margin-top:4px}
.loomos-dashboard .movers{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;min-height:0}
.loomos-dashboard .mover-col h3{font-size:16px;margin-bottom:8px}
.loomos-dashboard .mover-row{display:flex;justify-content:space-between;font-size:16px;padding:5px 8px;border-bottom:1px dashed rgba(64,140,255,.15);font-variant-numeric:tabular-nums}
.loomos-dashboard .mover-row .nm{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loomos-dashboard .stat-grid{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.loomos-dashboard .stat-box{background:rgba(30,80,170,.22);border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.loomos-dashboard .stat-box .num{font-size:32px;font-weight:600;color:#8fc2ff;font-variant-numeric:tabular-nums}
.loomos-dashboard .stat-box .lb{font-size:14px;color:var(--muted)}
.loomos-dashboard .news-viewport{flex:1;overflow:hidden;position:relative}
.loomos-dashboard .news-track{position:absolute;left:0;right:0;top:0}
.loomos-dashboard .news-item{padding:10px 6px;border-bottom:1px dashed rgba(64,140,255,.18);font-size:16px;display:flex;gap:10px;align-items:baseline}
.loomos-dashboard .news-item .date{color:var(--brand);font-size:13px;flex:0 0 46px;font-variant-numeric:tabular-nums}
.loomos-dashboard .news-item .src{color:var(--muted);font-size:12px;flex:0 0 auto;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loomos-dashboard .news-item .tt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loomos-dashboard .matrix{flex:1;display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;gap:8px;min-height:0}
.loomos-dashboard .cell{border:1px solid var(--line);border-radius:6px;background:rgba(30,80,170,.2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px}
.loomos-dashboard .cell .pn{font-size:13px;color:#b9d4ff;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loomos-dashboard .cell .pv{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.loomos-dashboard .cell .cv{font-size:11px;color:var(--muted)}
.loomos-dashboard .cell.none{background:rgba(20,35,70,.35)}
.loomos-dashboard .cell.none .pv{font-size:12px;font-weight:400;color:var(--muted)}
.loomos-dashboard .cell.up{border-color:rgba(255,90,84,.5);background:rgba(255,90,84,.10);color:var(--up)}
.loomos-dashboard .cell.down{border-color:rgba(22,199,132,.5);background:rgba(22,199,132,.10);color:var(--down)}
.loomos-dashboard .cell.flat{border-color:rgba(245,166,35,.45);background:rgba(245,166,35,.10);color:var(--flat)}
.loomos-dashboard .empty-tip{color:var(--muted);font-size:15px;padding:18px 4px}
.loomos-dashboard .up{color:var(--up)}
.loomos-dashboard .down{color:var(--down)}
.loomos-dashboard .flat{color:var(--flat)}

/* ================= 数据健康告警条（视觉统一，逻辑与变量不动） ================= */
.data-alert-banner{display:none;position:sticky;top:0;z-index:999;width:100%;background:#d97706;color:#fff;padding:8px 16px;font-size:13px;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.data-alert-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.data-alert-items{flex:1;min-width:200px}
.data-alert-btn{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:6px;padding:3px 12px;font-size:12px;cursor:pointer}
.data-alert-item{margin-right:14px}
.data-suppressed-box,.data-disclosure-box{display:none;width:100%;font-size:12px}
.data-suppressed-box{background:#fffbeb;color:#92400e;border-bottom:1px solid #fde68a}
.data-disclosure-box{background:#f8fafc;color:#475569;border-bottom:1px solid #e2e8f0}
.data-suppressed-box>summary,.data-disclosure-box>summary{max-width:1200px;margin:0 auto;padding:6px 16px;cursor:pointer}
.data-suppressed-box>ul,.data-disclosure-box>ul{max-width:1200px;margin:0 auto;padding:4px 16px 10px 34px}
.data-suppressed-item{margin:3px 0}
.data-unsnooze-btn{background:#d97706;color:#fff;border:0;border-radius:5px;padding:2px 10px;font-size:11px;cursor:pointer}
/* 响应式：品种下拉在窄屏不撑破布局（桌面无影响） */
#product{max-width:100%}
