/* 热榜首页。所有规则限定在本页，来源详情与其他栏目沿用原样式。 */
.news-page .coolwj-page-container > .container { max-width: 1460px; }
.news-home { min-width: 0; color: #20324a; }
.news-home [hidden] { display: none !important; }
.news-home button, .news-home input { font: inherit; }
.news-home button, .news-home a { -webkit-tap-highlight-color: transparent; }
.news-home button { cursor: pointer; }
.news-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px 0 26px; }
.news-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--text-secondary); font-size: 12px; letter-spacing: .04em; }
.news-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ee744d; box-shadow: 0 0 0 4px #fbebe6; }
.news-date { margin-left: 8px; padding-left: 14px; border-left: 1px solid #d7dfe9; letter-spacing: 0; }
.news-hero h1 { margin: 0; color: #162b44; font-size: 32px; font-weight: 750; letter-spacing: -.04em; line-height: 1.3; }
.news-hero h1 > span { margin-left: 20px; font-size: 22px; color: var(--text-secondary); font-weight: 400; letter-spacing: -.03em; }
.news-hero-description { margin: 11px 0 0; font-size: 13px; color: var(--text-secondary); }
.news-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.news-overview { display: flex; gap: 26px; }
.news-overview > div { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.news-overview strong { color: #2b4568; font-size: 25px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.news-overview span { color: var(--text-secondary); font-size: 11px; }
.news-history-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-secondary); }
.news-hotwords { display: flex; gap: 18px; align-items: center; min-height: 56px; padding: 13px 18px; background: #fff; border: 1px solid #e4e9f0; border-radius: 12px; margin-bottom: 26px; }
.news-hotwords-label { display: inline-flex; align-items: center; flex-shrink: 0; gap: 7px; color: #67768a; font-size: 12px; }
.news-hotwords-label .fa { color: #ed805e; font-size: 15px; }
.news-hotwords-list { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; min-width: 0; }
.news-hotwords-list a { padding: 4px 10px; color: #546a87; background: #f4f7fb; border-radius: 5px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.news-hotwords-list a:hover { color: #235dc4; background: #edf3ff; }
.news-hotwords-placeholder { color: #93a0b0; font-size: 12px; }
.news-layout { display: grid; grid-template-columns: 174px minmax(0, 1fr); gap: 28px; align-items: start; }
.news-sidebar { position: sticky; top: 82px; min-width: 0; }
.news-sidebar-label { color: var(--text-secondary); font-size: 11px; letter-spacing: .12em; padding: 0 13px; margin: 0 0 10px; }
.news-home .news-category-nav { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 3px; max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0 5px 12px 0; scrollbar-width: thin; }
.news-home .news-category-nav a, .news-home .news-category-nav button { display: flex; align-items: center; gap: 9px; flex-shrink: 0; width: 100%; min-height: 37px; padding: 8px 12px; border: 1px solid transparent; background: transparent; border-radius: 7px; color: var(--text-secondary); font-size: 13px; text-align: left; line-height: 1.5; }
.news-home .news-category-nav .news-nav-count { margin-left: auto; font-size: 11px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.news-home .news-category-nav .is-active { color: #235dc4; background: #e8effd; font-weight: 600; }
.news-home .news-category-nav .is-active .news-nav-count { color: var(--theme-link, #305ea6); }
.news-home .news-category-nav a:hover, .news-home .news-category-nav button:hover { background: #edf1f6; color: #294e7e; }
.news-home .news-category-nav .news-nav-following { margin-bottom: 8px; }
.news-board { min-width: 0; scroll-margin-top: 80px; }
.news-controls { position: sticky; top: 70px; z-index: 8; display: flex; align-items: center; gap: 18px; padding: 10px 0; background: #f3f5f8; }
.news-search-box { display: flex; flex: 1; align-items: center; gap: 11px; min-width: 0; padding: 0 14px; background: #fff; border: 1px solid #dce4ee; border-radius: 9px; }
.news-search-box:focus-within { border-color: #6f9cdb; box-shadow: 0 0 0 3px rgba(58, 113, 196, .08); }
.news-search-box .fa { color: #97a5b8; font-size: 14px; }
.news-search-box input { width: 100%; min-width: 0; height: 43px; padding: 0; border: 0; outline: 0; background: transparent; color: #30465f; font-size: 13px; }
.news-search-box input:focus-visible { outline: 0; }
.news-search-box input::placeholder { color: #9aa7b7; }
.news-content-filter { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--text-secondary); font-size: 12px; white-space: nowrap; cursor: pointer; min-height: 44px; }
.news-content-filter input { accent-color: #356fca; width: 15px; height: 15px; }
.news-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin-bottom: 5px; }
.news-results-bar p { margin: 0; font-size: 11px; color: var(--text-secondary); }
.news-clear-filters { padding: 5px 0 5px 10px; min-height: 32px; color: #5a7daf; font-size: 11px !important; background: none; border: 0; }
.news-home .news-category { margin: 0 0 25px; scroll-margin-top: 144px; }
.news-home .news-category-header { display: flex; align-items: baseline; gap: 10px; padding: 13px 0 14px; }
.news-home .news-category-header h2 { margin: 0; color: #334963; font-size: 16px; line-height: 1.5; font-weight: 650; }
.news-home .news-category-header > span { font-size: 11px; color: var(--text-secondary); }
.news-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.news-source-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e1e7ef; border-radius: 12px; box-shadow: 0 2px 4px rgba(28, 50, 79, .025); transition: border-color .15s, box-shadow .15s; }
.news-source-card:hover { border-color: #cbd9eb; box-shadow: 0 5px 16px rgba(32, 63, 99, .055); }
.news-source-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 16px 12px 10px 16px; }
.news-source-identity { display: flex; align-items: center; gap: 10px; min-width: 0; color: #2a3e57; }
.news-source-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #f0f2f6; border-radius: 9px; background: #fcfdff; }
.news-source-icon img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.news-source-heading { min-width: 0; }
.news-source-heading h3 { font-size: 15px; line-height: 1.5; font-weight: 650; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 2px; }
.news-source-identity:hover { color: #2563b9; }
.news-source-kind { color: var(--text-secondary); font-size: 11px; line-height: 1.5; }
.news-favorite { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 7px; border: 0; color: #b4bfcd; background: transparent; font-size: 16px !important; }
.news-favorite:hover { color: #dc9a33; background: #fff8eb; }
.news-favorite[aria-pressed="true"] { color: #d99b3a; }
.news-source-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 23px; padding: 0 16px 10px; color: var(--text-secondary); font-size: 11px; font-variant-numeric: tabular-nums; }
.news-source-meta time { white-space: nowrap; }
.news-state { display: inline-flex; align-items: center; gap: 5px; color: var(--text-secondary); }
.news-state > i { width: 5px; height: 5px; background: #7eaf9c; border-radius: 50%; }
.news-state-stale { color: var(--theme-warning, #80541f); }
.news-state-stale > i { background: #d6b071; }
.news-state-unavailable > i { background: #b8c1cf; }
.news-ranking { flex: 1; list-style: none; padding: 0 12px; margin: 0; }
.news-ranking > li { margin: 0; padding: 0; }
.news-ranking > li > a { display: flex; align-items: flex-start; gap: 10px; min-height: 43px; padding: 10px 4px; color: #3d5068; font-size: 14px; line-height: 1.7; border-radius: 6px; }
.news-ranking > li > a:hover { background: #f6f8fc; color: #225ea9; }
.news-rank { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 21px; color: #9cabbc; font-size: 11px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.news-ranking > li:nth-child(1) .news-rank { color: #e87763; background: #fff0eb; border-radius: 4px; }
.news-ranking > li:nth-child(2) .news-rank { color: #de9a4e; }
.news-ranking > li:nth-child(3) .news-rank { color: #c4ad69; }
.news-item-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.news-item-arrow { opacity: 0; color: #8cadd3; margin-top: 4px; }
.news-ranking > li > a:hover .news-item-arrow { opacity: 1; }
.news-source-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; border-top: 1px solid #f0f3f7; margin: 8px 16px 0; font-size: 11px; }
.news-source-footer > a { margin-left: auto; color: var(--theme-link, #3f628e); padding: 12px 0 12px 6px; }
.news-source-footer > a:hover { color: #235dc4; }
.news-source-footer > a > span { padding-left: 6px; }
.news-expand { border: 0; padding: 10px 0; background: none; color: var(--theme-link, #3f628e); font-size: 11px !important; }
.news-expand:hover { color: #376da9; }
.news-ranking > .news-card-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 215px; padding: 24px 8px; color: #a3afbf; text-align: center; }
.news-card-empty > .fa { font-size: 25px; color: #c6cfdb; margin-bottom: 3px; }
.news-card-empty strong { font-weight: 500; font-size: 12px; }
.news-card-empty p { font-size: 11px; line-height: 1.7; margin: 0; }
.news-empty { border: 1px dashed #cfdbea; border-radius: 12px; background: #f8fafd; text-align: center; padding: 54px 20px; margin-top: 18px; }
.news-empty-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; color: #9bb0ca; border-radius: 50%; background: #edf2f9; margin-bottom: 16px; }
.news-empty h2 { font-size: 17px; margin: 0 0 10px; font-weight: 600; color: #4f6683; }
.news-empty p { color: #8a9cb2; font-size: 13px; margin: 0 0 20px; }
.news-empty button { border: 1px solid #d0def0; border-radius: 7px; background: white; color: #4e78ad; min-height: 40px; padding: 8px 18px; font-size: 12px; }
.news-history { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 10px 0 26px; padding: 23px 26px; background: #fff; border: 1px solid #e2e8f1; border-radius: 12px; }
.news-history h2 { font-size: 14px; margin: 0 0 6px; color: #60758e; }
.news-history h2 > .fa { color: #8ca4c0; padding-right: 6px; }
.news-history p { margin: 0; color: var(--text-secondary); font-size: 12px; }
.news-history-days { display: flex; flex-wrap: wrap; gap: 6px; }
.news-history-days a { color: var(--text-secondary); background: #f5f7fb; border-radius: 5px; padding: 7px 10px; font-size: 11px; }
.news-history-days a:hover { color: #235dc4; background: #ecf2fe; }
@media (max-width: 1230px) { .news-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; } .news-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 992px) { .news-page .coolwj-page-container > .container { max-width: 100%; } .news-layout { grid-template-columns: 145px minmax(0,1fr); gap: 16px; } .news-hero { padding-top: 14px; } .news-hero h1 { font-size: 28px; } .news-hero h1 > span { font-size: 18px; } .news-overview { gap: 18px; } }
@media (max-width: 767px) {
    .news-hero { gap: 14px; padding: 12px 0 18px; align-items: flex-start; }
    .news-hero h1 { font-size: 26px; }
    .news-hero h1 > span { display: block; margin: 5px 0 0; font-size: 17px; }
    .news-eyebrow { font-size: 10px; margin-bottom: 10px; }
    .news-date { display: none; }
    .news-hero-description { display: none; }
    .news-hero-side { padding-top: 22px; gap: 13px; }
    .news-overview { gap: 14px; }
    .news-overview > div:last-child { display: none; }
    .news-overview strong { font-size: 22px; }
    .news-overview span { font-size: 9px; white-space: nowrap; }
    .news-history-link { font-size: 10px; gap: 5px; white-space: nowrap; }
    .news-hotwords { padding: 11px 13px; gap: 12px; margin-bottom: 14px; }
    .news-hotwords-label { font-size: 10px; }
    .news-hotwords-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
    .news-hotwords-list a { white-space: nowrap; font-size: 11px; padding: 4px 8px; }
    .news-layout { display: block; }
    .news-sidebar { top: 60px; z-index: 10; margin: 0 -12px 7px; background: #f3f5f8; border-bottom: 1px solid #e1e7ef; }
    .news-sidebar-label { display: none; }
    .news-home .news-category-nav { flex-direction: row; align-items: center; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 8px 12px; gap: 4px; }
    .news-home .news-category-nav a, .news-home .news-category-nav button { width: auto; white-space: nowrap; min-height: 40px; padding: 8px 11px; font-size: 12px; }
    .news-home .news-category-nav .news-nav-following { margin: 0; }
    .news-home .news-category-nav .news-nav-count { font-size: 10px; }
    .news-controls { position: static; padding: 8px 0; gap: 12px; }
    .news-search-box { padding: 0 12px; }
    .news-search-box input { height: 43px; font-size: 12px; }
    .news-content-filter { gap: 5px; font-size: 11px; }
    .news-card-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
    .news-home .news-category-header { padding-top: 13px; }
    .news-source-header { padding-top: 14px; }
    .news-source-heading h3 { font-size: 15px; }
    .news-source-kind { font-size: 11px; }
    .news-favorite { width: 44px; height: 44px; }
    .news-ranking > li > a { font-size: 14px; min-height: 44px; }
    .news-source-meta { font-size: 11px; }
    .news-source-footer { font-size: 12px; }
    .news-expand { font-size: 12px !important; min-height: 44px; }
    .news-board { scroll-margin-top: 125px; }
    .news-history { padding: 20px; display: block; }
    .news-history-days { margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) { .news-home *, .news-home *::before, .news-home *::after { scroll-behavior: auto !important; transition: none !important; } }
