
  .news-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    margin-bottom: 14px;
  }
  .news-head {
    display: flex; align-items: center; gap: .7rem;
    padding: .85rem 1.1rem;
    cursor: pointer; user-select: none;
    background: var(--surface2);
    transition: background .15s;
    position: sticky; top: 66px; z-index: 40;
    border-radius: var(--radius);
  }
  .news-box.open .news-head { border-radius: var(--radius) var(--radius) 0 0; }
  .news-icon {
    width: 20px; height: 20px; color: var(--gold); flex-shrink: 0;
  }
  @media (max-width: 900px) {
    .news-head { top: 54px; }
  }
  .news-head:hover { background: var(--surface3); }
  .news-head .news-caret {
    width: 13px; height: 13px; color: var(--muted);
    transition: transform .2s; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    order: 99; margin-left: auto;
  }
  .news-caret svg { width: 100%; height: 100%; display: block; }
  .news-box.open .news-head .news-caret { transform: rotate(90deg); }
  /* When the loading spinner is showing, it owns the right-alignment; caret sits beside it */
  .news-head:has(#newsHeadSpin:not([hidden])) .news-caret { margin-left: 0; }
  .news-head-spin {
    width: 13px; height: 13px; flex-shrink: 0; order: 98; margin-left: auto;
    border: 2px solid var(--border); border-top-color: var(--gold);
    border-radius: 50%; animation: newsSpin .7s linear infinite;
    margin-right: .5rem;
  }
  .news-head-spin[hidden] { display: none; }
  .news-head .news-title {
    font-size: .92rem; font-weight: 800; letter-spacing: .01em; color: var(--text);
  }
  .news-head .news-title .news-dot { color: var(--gold); }
  .news-head .news-sub {
    font-size: .64rem; color: var(--muted); margin-left: auto; text-align: right;
    letter-spacing: .02em;
  }
  .news-body { display: none; padding: .9rem 1.1rem 1.1rem; }
  .news-box.open .news-body { display: block; }
  .news-flat { padding: .9rem 1.1rem 1.1rem; }

  /* Tabs */
  .news-tabsrow {
    display: flex; align-items: center; gap: 10px; margin-bottom: .8rem;
  }
  .news-tabs {
    display: flex; gap: 16px; overflow-x: auto; flex: 1; min-width: 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: .4rem;
  }
  .news-tabs::-webkit-scrollbar { display: none; }
  .news-sources-btn {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); background: var(--surface2);
    color: var(--muted); cursor: pointer; padding: 0; font-family: inherit;
    transition: background .15s, color .15s;
  }
  .news-sources-btn:hover { background: var(--surface3); color: var(--text); }
  .news-sources-btn svg { width: 16px; height: 16px; }
  /* Sources popup */
  .news-sources-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(15,20,30,.5); backdrop-filter: blur(2px);
    display: none; align-items: center; justify-content: center; padding: 3vh 4vw;
  }
  .news-sources-overlay.open { display: flex; }
  .news-sources-box {
    width: 100%; max-width: 440px; max-height: 80vh;
    background: var(--surface, #fff); border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  }
  .news-sources-head {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); background: var(--surface2);
  }
  .news-sources-title { font-size: .85rem; font-weight: 800; color: var(--text); }
  .news-sources-list { overflow-y: auto; padding: 0; display: flex; flex-direction: column; }
  .src-tabs {
    display: flex; gap: 6px; overflow-x: auto; padding: .6rem .9rem;
    border-bottom: 1px solid var(--border); position: sticky; top: 0;
    background: var(--surface, #fff); z-index: 2;
    scrollbar-width: none; flex-shrink: 0;
  }
  .src-tabs::-webkit-scrollbar { display: none; }
  .src-tab {
    flex-shrink: 0; padding: .3rem .6rem; border-radius: 7px; cursor: pointer;
    font-size: .72rem; font-weight: 600; font-family: inherit; white-space: nowrap;
    border: 1px solid var(--border); background: var(--surface2); color: var(--muted);
    transition: background .15s, color .15s, border-color .15s;
  }
  .src-tab:hover { color: var(--text); }
  .src-tab.active { background: var(--gold); color: #fff; border-color: var(--gold); }
  .src-tab-n { opacity: .7; font-weight: 700; margin-left: 2px; }
  .src-tab.active .src-tab-n { opacity: .85; }
  .src-rows { overflow-y: auto; padding: .3rem 0; }
  .src-row {
    display: flex; align-items: center; gap: .7rem; padding: .6rem 1.1rem;
    text-decoration: none; color: inherit; border-bottom: 1px solid var(--line-soft);
  }
  .src-row:last-child { border-bottom: none; }
  .src-row:hover { background: var(--surface2); }
  .src-info { flex: 1; min-width: 0; }
  .src-name { font-size: .8rem; font-weight: 600; color: var(--text); }
  .src-host { font-size: .66rem; color: var(--muted); margin-top: 1px; }
  .src-badge {
    flex-shrink: 0; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px;
    font-size: .66rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  }
  .src-ok { background: rgba(22,163,74,.15); color: #16a34a; }
  .src-none { background: var(--surface3); color: var(--muted); }
  .news-tab {
    flex: 0 0 auto; padding: .3rem .1rem; font-size: .75rem; font-weight: 600;
    color: var(--muted); white-space: nowrap; border: none; outline: none;
    -webkit-appearance: none; appearance: none;
    background: none; cursor: pointer; transition: color .15s;
    font-family: inherit; box-shadow: none;
  }
  .news-tab:hover { color: var(--text); }
  .news-tab.active { color: var(--gold); font-weight: 700; }

  /* Toolbar */
  .news-toolbar {
    display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; flex-wrap: wrap;
  }
  .news-btn-brief {
    padding: .4rem .8rem; font-size: .72rem; font-weight: 700; border-radius: 8px;
    background: var(--gold); color: #fff; border: none; cursor: pointer; font-family: inherit;
  }
  .news-btn-brief:disabled { opacity: .6; cursor: default; }
  .news-btn-ghost {
    padding: .4rem .7rem; font-size: .72rem; font-weight: 600; border-radius: 8px;
    background: none; color: var(--muted); border: 1px solid var(--border); cursor: pointer;
    font-family: inherit;
  }
  .news-btn-ghost:hover { color: var(--text); border-color: var(--border-hi); }
  .news-status { font-size: .64rem; color: var(--muted); margin-left: auto; }
  .news-spin {
    display: inline-block; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff; border-radius: 50%; animation: newsSpin .7s linear infinite;
    vertical-align: -1px; margin-right: 4px;
  }
  @keyframes newsSpin { to { transform: rotate(360deg); } }

  .news-notice {
    font-size: .68rem; color: var(--muted); background: var(--surface2);
    border: 1px solid var(--border); border-radius: 8px; padding: .6rem .8rem; margin-bottom: .8rem;
    line-height: 1.5;
  }

  /* Desk (AI brief note) */
  .news-desk {
    border-left: 3px solid var(--gold); background: var(--surface2);
    padding: .6rem .8rem; border-radius: 0 8px 8px 0; margin-bottom: .8rem;
  }
  .news-desk-label {
    font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .3rem;
  }
  .news-desk-text { font-size: .74rem; color: var(--text); line-height: 1.55; }

  /* List */
  .news-day-label {
    font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .5rem;
  }
  .news-row {
    display: block; padding: .6rem 0; border-bottom: 1px solid var(--line-soft);
    text-decoration: none; color: inherit; cursor: pointer;
  }
  .news-row:last-child { border-bottom: none; }
  .news-row.ranked { background: linear-gradient(90deg, var(--surface2), transparent); padding-left: .6rem; border-radius: 6px; }
  .news-row-meta {
    display: flex; align-items: center; gap: .4rem; font-size: .65rem; color: var(--muted);
    margin-top: .25rem; font-weight: 400;
  }
  .news-rank { color: var(--gold); font-weight: 600; }
  .news-src { color: var(--muted); font-weight: 400; }
  .news-row-title { font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.4; }
  .news-row:hover .news-row-title { color: var(--gold); }
  @media (max-width: 600px) {
    .news-row-title { font-size: .95rem; line-height: 1.45; }
    .news-row-desc { font-size: .78rem; }
  }
  .news-row-desc { font-size: .68rem; color: var(--muted); margin-top: .2rem; line-height: 1.45; }
  .news-row-why { font-size: .68rem; color: var(--ink-dim, var(--muted)); margin-top: .25rem; line-height: 1.45; }
  .news-row-why b { color: var(--gold); font-weight: 700; }
  .news-empty { font-size: .72rem; color: var(--muted); padding: 1rem 0; text-align: center; }
  .news-empty .news-big { font-weight: 700; color: var(--text); margin-bottom: .3rem; }
  .news-foot { font-size: .58rem; color: var(--muted); margin-top: .8rem; text-align: right; }
  .news-pager {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 4px; margin-top: 1rem;
  }
  .news-page {
    min-width: 30px; height: 30px; padding: 0 .4rem;
    font-size: .72rem; font-weight: 600; font-family: inherit;
    color: var(--muted); background: var(--surface2);
    border: 1px solid var(--border); border-radius: 6px; cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
  }
  .news-page:hover:not(:disabled) { background: var(--surface3); color: var(--text); }
  .news-page.active { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
  .news-page:disabled { opacity: .4; cursor: default; }
  .news-page-nav { font-size: .9rem; line-height: 1; }

  /* Article reader popup */
  .news-reader-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15,20,30,.55); backdrop-filter: blur(3px);
    display: none; align-items: center; justify-content: center; padding: 2vh 0;
  }
  .news-reader-overlay.open { display: flex; }
  .news-reader {
    width: 92%; max-width: 760px; height: 90vh;
    background: var(--surface, #fff); border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.3);
  }
  .news-reader-head {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: 1rem 1.1rem; border-bottom: 1px solid var(--border, #e2e8f0);
    background: var(--surface2, #f1f3f7); flex-shrink: 0;
  }
  .news-reader-heads { flex: 1; min-width: 0; }
  .news-reader-title { font-size: 1rem; font-weight: 800; color: var(--text, #1a1a17); line-height: 1.35; }
  .news-reader-meta { font-size: .7rem; color: var(--muted, #64748b); margin-top: .25rem; }
  .news-reader-open, .news-reader-close {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .95rem; text-decoration: none; cursor: pointer;
    border: 1px solid var(--border, #e2e8f0); background: var(--surface, #fff);
    color: var(--text, #1a1a17); font-family: inherit;
  }
  .news-reader-open:hover, .news-reader-close:hover { background: var(--surface3, #dde6f3); }
  .news-reader-body {
    flex: 1; overflow-y: auto; padding: 1.3rem 1.4rem 2rem;
    font-size: .92rem; line-height: 1.65; color: var(--text, #1a1a17);
    -webkit-overflow-scrolling: touch;
  }
  .news-reader-body p { margin: 0 0 1rem; }
  .reader-img { width: 100%; border-radius: 10px; margin-bottom: 1.2rem; display: block; }
  .reader-loading, .reader-err { text-align: center; color: var(--muted, #64748b); padding: 2rem 1rem; font-size: .85rem; }
  .reader-err a { color: var(--gold, #1e40af); font-weight: 600; }
  @media (max-width: 600px) {
    .news-reader { width: 94%; height: 90vh; }
    .news-reader-body { font-size: 1rem; line-height: 1.7; }
    .news-reader-title { font-size: 1.05rem; }
  }
