/* DUI Terminal — shared terminal-inspired design layer.
   Original design, not a copy of any vendor UI. */

body.terminal {
  --bg: #07090d;
  --panel: #0d1117;
  --panel2: #111722;
  --line: #263140;
  --line-soft: #1e2936;
  --text: #eaf5ff;
  --text2: #cfe4ff;
  --muted: #a8c6e8;
  --amber: #f2a900;
  --cyan: #4cc9f0;
  --green: #16c784;
  --red: #ef5350;
  --violet: #8b7bf0;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: var(--bg);
  /* 亮色文字 + 抗锯齿，避免白字黑底发糊 */
  color: var(--text);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: .01em;
  padding-bottom: 24px;
}

body.terminal input,
body.terminal select,
body.terminal textarea { color: var(--text); }
body.terminal select option { background: var(--panel); color: var(--text); }

body.terminal ::-webkit-scrollbar { width: 8px; height: 8px; }
body.terminal ::-webkit-scrollbar-track { background: #080b10; }
body.terminal ::-webkit-scrollbar-thumb { background: #222b38; }
body.terminal ::-webkit-scrollbar-thumb:hover { background: #2e3a4a; }

/* ---------- command bar ---------- */
.term-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 24px));
  background: #05070a;
  border-bottom: 1px solid var(--line);
}
.term-brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.8px;
  color: var(--amber);
  white-space: nowrap;
}
.term-brand span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.4px;
  margin-left: 7px;
}
.term-cmd { flex: 1; max-width: 520px; min-width: 140px; }
.term-cmd input {
  width: 100%;
  height: 28px;
  padding: 0 10px;
  background: #0a0e14;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
}
.term-cmd input:focus { border-color: var(--amber); box-shadow: 0 0 0 1px rgba(242,169,0,.25); }
.term-cmd input::placeholder { color: #4f5a69; }
.term-links { display: flex; gap: 14px; margin-left: auto; }
.term-links a {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}
.term-links a:hover { color: var(--amber); }
.term-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- ticker strip ---------- */
.term-ticker {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-left: max(24px, calc((100vw - 1440px) / 2 + 24px));
  background: #080b10;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.term-ticker::-webkit-scrollbar { display: none; }
.term-ticker .ti {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 14px;
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
}
.term-ticker .ti .n { font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }
.term-ticker .ti .v { font-family: var(--mono); font-size: 12px; color: var(--text); font-weight: 600; }
.term-ticker .ti .d { font-family: var(--mono); font-size: 10.5px; }
.term-ticker .ti .u { font-size: 9.5px; color: #556170; }

/* ---------- status bar ---------- */
.term-status {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 22px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2 + 24px));
  background: #05070a;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2px;
  color: #5d6877;
  white-space: nowrap;
  overflow: hidden;
}
.term-status .on { color: var(--green); }
.term-status .sp { margin-left: auto; }

/* ---------- panels / density ---------- */
body.terminal .panel,
body.terminal .chart-card,
body.terminal .card {
  background: linear-gradient(180deg, #0e131a, #0b0f14);
  border: 1px solid var(--line);
  border-radius: 2px;
}
body.terminal .panel { padding: 10px 12px; }
body.terminal .panel h3 {
  font-size: 10.5px;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #8b96a6;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 8px;
}
body.terminal .panel h3 .note { letter-spacing: 0; text-transform: none; }
body.terminal .panel h3 .more { color: var(--cyan); }

body.terminal .kpi {
  background: linear-gradient(180deg, #0e131a, #0b0f14);
  border: 1px solid var(--line);
  border-top: 2px solid #26303d;
  border-radius: 2px;
  padding: 8px 11px;
}
body.terminal .kpi .k {
  font-size: 9.5px;
  letter-spacing: .9px;
  text-transform: uppercase;
}
body.terminal .kpi .v { font-size: 18px; }
body.terminal .kpi .d { font-size: 10.5px; }

body.terminal .tabs {
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 6px;
  gap: 4px;
}
body.terminal .tabs span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .4px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0a0e14;
  color: var(--text2);
}
body.terminal .tabs span:hover { color: var(--amber); border-color: #4a3a16; }
body.terminal .tabs span.on {
  color: #0a0d12;
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 700;
}

body.terminal .item { padding: 6px 0; }
body.terminal .item .t { font-size: 12.5px; line-height: 1.4; }
body.terminal .item .m { font-size: 10.5px; }
body.terminal .badge {
  font-size: 9.5px;
  border-radius: 2px;
  padding: 0 5px;
  font-family: var(--mono);
}

body.terminal table { border-collapse: collapse; }
body.terminal th, body.terminal td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
}
body.terminal th {
  position: sticky;
  top: 0;
  background: #0b0f14;
  color: #7d8898;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  z-index: 1;
}
body.terminal tr:hover td { background: #121922; }

body.terminal .chip {
  font-family: var(--mono);
  font-size: 10px;
  border-radius: 2px;
  padding: 1px 7px;
  color: var(--cyan);
  background: #0c1a24;
  border-color: #173447;
}

body.terminal .chart-card { padding: 10px 12px 6px; }
body.terminal .chart-card .nm {
  font-size: 10.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #8b96a6;
}
body.terminal .chart-card .lv { font-family: var(--mono); font-size: 15px; }
body.terminal .chart-card .meta { font-size: 10px; }

body.terminal .card { padding: 12px 14px; }
body.terminal .card .n { font-size: 13px; letter-spacing: .2px; }
body.terminal .card .d { font-size: 11.5px; }
body.terminal .card .m span { border-radius: 2px; font-family: var(--mono); font-size: 10px; }

body.terminal .foot { color: #46505e; font-size: 10.5px; }

/* security header (company page) */
body.terminal .top {
  position: static;
  background: #080b10;
  border-bottom: 1px solid var(--line);
  padding: 9px 16px;
  gap: 14px;
}
body.terminal .top .brand { display: none; }
body.terminal .ticker b { font-size: 18px; }
body.terminal .ticker .code { font-size: 13px; }
body.terminal .px .v { font-size: 20px; }

@media (max-width: 760px) {
  .term-bar { height: auto; flex-wrap: wrap; padding: 7px 10px; gap: 8px; }
  .term-cmd { order: 3; flex-basis: 100%; max-width: none; }
  .term-links { gap: 10px; }
  .term-meta { display: none; }
}

/* ---------- light-page variable aliases ---------- */
body.terminal {
  --card: #0d1117;
  --surface: #0d1117;
  --soft: #111722;
  --ink: #dbe3ee;
  --ink-2: #a7b2c2;
  --text-2: #a7b2c2;
  --text-secondary: #a7b2c2;
  --border: #1b2330;
  --accent: #4cc9f0;
  --accent-soft: #0c1a24;
  --teal: #16c784;
  --teal-soft: #0f2a1e;
}

/* ---------- homepage ---------- */
body.terminal .term-home-bar .user-area { margin-left: auto; display: flex; align-items: center; }
body.terminal .term-home-bar .user-area > a {
  /* 顶部导航在黑色背景上必须可读；不要用 --muted(#6b7787) */
  color: #e0ecff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .2px;
}
body.terminal .term-home-bar .user-area > a:hover { color: var(--amber) !important; }
body.terminal .container { max-width: 1440px; margin: 0 auto; padding: 0 24px 40px; }

body.terminal .search-section { padding: 12px 0 4px; }
body.terminal .search-wrap { max-width: 980px; min-width: 0; margin: 0 auto; }
body.terminal .search-input {
  padding: 9px 14px 9px 38px;
  font-size: 13px;
  border-radius: 2px;
  /* 常亮：不再等 focus 才看得见 */
  background: #141d28;
  border-color: #3a4b5f;
  color: #ffffff;
  font-family: var(--mono);
}
body.terminal .search-input::placeholder { color: #93a2b5; opacity: 1; }
body.terminal .search-input:focus {
  background: #182432;
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(242,169,0,.25);
}
body.terminal .search-icon { left: 12px; color: var(--text2); }
body.terminal .search-dropdown-v2 {
  background: #0d1117;
  border-color: var(--line);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}

body.terminal .home-card {
  background: linear-gradient(180deg,#0e131a,#0b0f14);
  border-color: var(--line);
  border-radius: 2px;
  padding: 14px;
}
body.terminal .home-card:hover {
  box-shadow: none;
  transform: none;
  border-color: #2a3543;
}
body.terminal .home-card h3 { color: var(--text); font-size: 13px; letter-spacing: .3px; }
body.terminal .home-card h3 .more { color: var(--cyan); }
body.terminal .home-sub {
  color: #8b96a6;
  font-size: 10.5px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
body.terminal .home-list li {
  border-bottom-color: var(--line-soft);
  color: var(--text2);
  font-size: 12px;
}
body.terminal .home-list li.muted { color: var(--muted); }
body.terminal .home-list .meta { color: var(--muted); }
body.terminal .home-note { color: var(--muted); font-size: 11px; }

body.terminal .chain-card {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
  font-size: 11.5px;
  padding: 7px 7px 7px 20px;
}
body.terminal .chain-card:hover { border-color: var(--amber); color: var(--amber); }
body.terminal .mini-stats div {
  background: #0b0f14;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
body.terminal .mini-stats b { color: var(--amber); font-family: var(--mono); }
body.terminal .mini-stats span { color: var(--muted); }

body.terminal .ticker-bar {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
}
body.terminal .ticker-name { color: var(--text2); }
body.terminal .ticker-time { color: var(--muted); }
body.terminal .ticker-more { color: var(--cyan); }
body.terminal .ticker-val { color: var(--text); }

body.terminal .tag.bull { background: #2a1518; color: #ff8a80; }
body.terminal .tag.bear { background: #0f2a1e; color: #5ee0a0; }
body.terminal .tag.tier-pub { background: #0f2a1e; color: #5ee0a0; }
body.terminal .tag.tier-login { background: #0c1a2e; color: #7fb4ff; }
body.terminal .tag.tier-svc { background: #2a2110; color: var(--amber); }

body.terminal .time-btn {
  background: #0b0f14;
  border-color: var(--line);
  color: var(--text2);
  border-radius: 2px;
}
body.terminal .time-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: #0a0d12;
}
body.terminal .user-btn {
  background: #0b0f14;
  border-color: var(--line);
  color: var(--text2);
  border-radius: 2px;
}
body.terminal #auth-btn { background: var(--amber); color: #0a0d12; border-radius: 2px; }

body.terminal .modal-panel,
body.terminal .modal-box {
  background: #0d1117;
  border-color: var(--line);
  color: var(--text);
}
body.terminal .modal-textarea {
  background: #0a0e14;
  border-color: var(--line);
  color: var(--text);
}
body.terminal .modal-btn.cancel { background: #161d27; color: var(--text2); }
body.terminal .modal-btn.submit { background: var(--amber); color: #0a0d12; }
body.terminal .modal-panel input,
body.terminal .modal-box input,
body.terminal .modal-panel select,
body.terminal .modal-box select {
  background: #0a0e14;
  border-color: var(--line);
  color: var(--text);
}
body.terminal .title { color: var(--text); }
body.terminal .subtitle { color: var(--muted); }

/* ---------- search ---------- */
body.terminal .top {
  background: #05070a;
  border-color: var(--line);
  backdrop-filter: none;
}
body.terminal .sbox {
  background: #0a0e14;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .sbox:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(242,169,0,.25);
}
body.terminal .sbox input { font-family: var(--mono); font-size: 13px; }
body.terminal .mode { background: #0b0f14; border-radius: 2px; }
body.terminal .mode span { border-radius: 2px; }
body.terminal .mode span.on {
  background: var(--amber);
  color: #0a0d12;
  box-shadow: none;
}
body.terminal .tabs { background: #07090d; border-color: var(--line); }
body.terminal .tab.active { color: var(--amber); border-color: var(--amber); }
body.terminal .result { border-bottom-color: var(--line-soft); }
body.terminal .result h3 a { color: var(--text); }
body.terminal .result h3 a:hover { color: var(--amber); }
body.terminal .result .snip em { background: #3a2c0a; color: var(--amber); }
body.terminal .kv {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .kv.up { background: #2a1518; border-color: #4d2225; color: #ff8a80; }
body.terminal .kv.down { background: #0f2a1e; border-color: #1d4d3a; color: #5ee0a0; }
body.terminal .tag {
  background: #0f2a1e;
  border-color: #1d4d3a;
  color: #5ee0a0;
  border-radius: 2px;
}
body.terminal .src {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .src:hover { border-color: #2a3543; box-shadow: none; }
body.terminal .src.hl { border-color: var(--amber); background: #0e131a; }
body.terminal .gbtn {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .gbtn.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #0a0d12;
}
body.terminal .logo .c1,
body.terminal .logo .c2,
body.terminal .logo .c3 { color: var(--amber); }

/* ---------- financials ---------- */
body.terminal .top {
  background: #05070a;
  border-color: var(--line);
  backdrop-filter: none;
}
body.terminal .top .brand { color: var(--amber); }
body.terminal .top .term-cmd { max-width: 380px; }
body.terminal .seg {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .seg span { border-radius: 2px; }
body.terminal .seg span.on { background: var(--amber); color: #0a0d12; }
body.terminal .chart-panel,
body.terminal .table-panel,
body.terminal .kpi {
  background: linear-gradient(180deg,#0e131a,#0b0f14);
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .chart-head h3,
body.terminal .table-head h3 { color: #8b96a6; letter-spacing: .8px; text-transform: uppercase; font-size: 10.5px; }
body.terminal .note { color: var(--muted); }

/* ---------- dataset view ---------- */
body.terminal { color: var(--text); }
body.terminal .header {
  background: #05070a;
  border-color: var(--line);
  padding: 8px 16px;
}
body.terminal .header .ds-name { font-size: 14px; letter-spacing: .3px; }
body.terminal .back { color: var(--cyan); font-size: 12px; }
body.terminal .meta {
  background: #0d1117;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
}
body.terminal .meta b { color: var(--text); }
body.terminal .tab {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
  font-size: 12px;
}
body.terminal .tab.active { background: var(--amber); border-color: var(--amber); color: #0a0d12; }
body.terminal .panel {
  background: #0d1117;
  border-color: var(--line);
  border-radius: 2px;
}
body.terminal .note, body.terminal .filebar { color: var(--muted); }
body.terminal select {
  background: #0a0e14;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text);
}
body.terminal .authwall {
  background: #0d1117;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
}
body.terminal .schema-tag { background: #111722; border: 1px solid var(--line); border-radius: 2px; color: var(--text2); }
body.terminal .badge { border-radius: 2px; font-family: var(--mono); }
body.terminal th { background: #0b0f14; color: #7d8898; }

/* keep headings readable on dark surfaces */
body.terminal .title {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}

/* ---------- homepage secondary surfaces / modals ---------- */
body.terminal .chart-tab,
body.terminal .info-btn,
body.terminal .return-metrics .metric,
body.terminal .lvl-btn,
body.terminal .ma-btn,
body.terminal .depth-card,
body.terminal .news-item,
body.terminal .user-comment-chip,
body.terminal .prediction-header,
body.terminal .frequency-tab,
body.terminal .user-dropdown,
body.terminal .qr-box,
body.terminal .stat-card,
body.terminal .ic-price-card,
body.terminal .support-window,
body.terminal .share-panel,
body.terminal .share-card-preview,
body.terminal .share-card-llm,
body.terminal .share-card-footer {
  background: #0d1117;
  border-color: var(--line);
  color: var(--text2);
}
body.terminal .action-btn:hover,
body.terminal .share-option:hover,
body.terminal .user-dropdown-item:hover,
body.terminal .share-close:hover { background: #121922; }
body.terminal .user-dropdown-item { color: var(--text2); }
body.terminal .support-msg.staff { background: #111722; color: var(--text2); }
body.terminal .ic-table th { background: #0b0f14; color: #7d8898; }
body.terminal .ic-table td { border-bottom-color: var(--line-soft); }
body.terminal .form-group input,
body.terminal .form-group select,
body.terminal .form-group textarea {
  background: #0a0e14;
  border-color: var(--line);
  color: var(--text);
}
body.terminal .btn-secondary { background: #161d27; color: var(--text2); }
body.terminal #tos-scroll-content h1,
body.terminal #tos-scroll-content h2,
body.terminal #tos-scroll-content h3 { color: var(--text); }
body.terminal #tos-scroll-content .highlight { background: #111722; border-left-color: var(--amber); }

/* ---------- 评论与访谈 ---------- */
.interview-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.interview-item:last-child { border-bottom: 0; }
.it-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}
.it-meta {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}
.it-sum {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
  line-height: 1.6;
}
.it-body {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.75;
  margin-top: 8px;
  white-space: pre-wrap;
}
.it-more { font-size: 11px; color: var(--cyan); margin-top: 5px; }

/* ---------- search AI answer ---------- */
body.terminal .answer {
  background: linear-gradient(180deg, #0e131a, #0b0f14);
  border-color: var(--line);
  border-radius: 2px;
  box-shadow: none;
}
body.terminal .answer .ahead .badge {
  background: linear-gradient(135deg, #f2a900, #c98c00);
  color: #0a0d12;
  border-radius: 2px;
}
body.terminal .answer .atext { color: var(--text); }
body.terminal .answer .atext strong { color: #ffffff; font-weight: 700; }
body.terminal .answer .aerr { color: #ff8a80; }
body.terminal .cite {
  background: #0c1a24;
  color: var(--cyan);
  border-radius: 2px;
}
body.terminal .cite:hover { background: var(--cyan); color: #0a0d12; }
body.terminal .cursor { background: var(--amber); }
body.terminal .chip {
  background: #0b0f14;
  border-color: var(--line);
  border-radius: 2px;
  color: var(--text2);
}
body.terminal .chip:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: #0e131a;
}

/* ---------- 首页新闻 tab：长文列表 ---------- */
.lf-card {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.lf-card:last-child { border-bottom: 0; }
.lf-card:hover .lf-title { color: var(--amber); }
.lf-meta { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.lf-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5; }
.lf-sum { font-size: 12px; color: var(--text2); line-height: 1.65; margin-top: 4px; }
.lf-more { font-size: 11px; color: var(--cyan); margin-top: 5px; }

/* ---------- 首页新闻 tab：终端式首页 ---------- */
.nf-wrap { padding-bottom: 8px; }
.nf-head {
  font-size: 10.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #8b96a6;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin: 18px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.nf-head .note { font-size: 9.5px; color: var(--muted); letter-spacing: 0; text-transform: none; }
.nf-focus { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; }
.nf-card {
  background: linear-gradient(180deg, #0e131a, #0b0f14);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.nf-card:hover { border-color: #2a3543; }
.nf-tags { display: flex; gap: 5px; margin-bottom: 6px; }
.nf-tag {
  font-size: 9.5px;
  color: var(--amber);
  border: 1px solid #4a3a16;
  border-radius: 2px;
  padding: 0 5px;
}
.nf-title { font-size: 16px; font-weight: 650; color: var(--text); line-height: 1.45; }
.nf-card:not(:first-child) .nf-title { font-size: 13px; }
.nf-meta { font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.nf-sum { font-size: 11.5px; color: var(--text2); line-height: 1.6; margin-top: 6px; }
.nf-more { font-size: 10.5px; color: var(--cyan); margin-top: 6px; }
.nf-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.nf-wire-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.nf-time { font-family: var(--mono); font-size: 10.5px; color: var(--text2);
  font-weight: 600; flex: none; min-width: 74px; }
.nf-wire-title { font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.nf-wire-item:hover .nf-wire-title { color: var(--amber); }
.nf-wire-tag { font-size: 9px; color: var(--muted); margin-left: auto; flex: none; }
.nf-long-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.nf-long-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.45; }
.nf-long-item:hover .nf-long-title { color: var(--amber); }
@media (max-width: 900px) {
  .nf-focus { grid-template-columns: 1fr; }
  .nf-cols { grid-template-columns: 1fr; }
}


/* 未登录：背后内容模糊且不可操作，登录框保持清晰 */
body.auth-locked { overflow: hidden; }
body.auth-locked .term-bar,
body.auth-locked .container,
body.auth-locked .term-status,
body.auth-locked .support-fab,
body.auth-locked .support-window {
  filter: blur(7px);
  opacity: .45;
  pointer-events: none;
  user-select: none;
}

body.auth-locked #dui-lang-switch { display: none !important; }

body.auth-locked .support-fab,
body.auth-locked .support-window { display: none !important; }
