/* ================================================================
   AXIOM · css/pages/news.css — 由 news.php 内联 <style> 搬移而来（v4.0.0 单源化）
   加载方式: 对应 PHP 页 $pageCss 按页加载（原内联块零 PHP 插值，安全搬移）
   ================================================================ */

/* ================================================================
   News / Dev Log Page · 极夜璀璨风格
   ================================================================ */

.news-page {
    padding: 40px 0 80px;
    position: relative;
}

/* ===== Hero ===== */
.news-hero {
    position: relative;
    text-align: center;
    padding: 64px 24px 44px;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid rgba(245, 179, 66, 0.15);
    background:
        linear-gradient(180deg, rgba(10, 8, 20, 0.85) 0%, rgba(5, 4, 12, 0.95) 100%);
}
.news-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}
.hero-glow-gold {
    width: 450px; height: 450px;
    top: -180px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245, 179, 66, 0.25) 0%, transparent 70%);
}
.hero-glow-purple {
    width: 350px; height: 350px;
    bottom: -120px; left: 15%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
}
.hero-glow-blue {
    width: 300px; height: 300px;
    bottom: -80px; right: 10%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}
.news-hero-content { position: relative; z-index: 2; }
.news-hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: rgba(245, 179, 66, 0.7);
    text-transform: uppercase;
    font-weight: 600;
}
.mark-diamond {
    color: #F5B342;
    font-size: 0.55rem;
    filter: drop-shadow(0 0 6px rgba(245, 179, 66, 0.6));
}
.news-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #FFE89E 0%, #F5B342 30%, #FFD700 50%, #F5B342 70%, #D4A847 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 16px rgba(245, 179, 66, 0.25));
    font-family: var(--font-heading, inherit);
}
.news-hero-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 2px;
    opacity: 0.75;
}
.news-hero-divider {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}
.divider-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 179, 66, 0.4), transparent);
}
.divider-ornament {
    color: #F5B342;
    font-size: 0.8rem;
    filter: drop-shadow(0 0 8px rgba(245, 179, 66, 0.5));
}

/* ===== Tabs ===== */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.news-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}
.news-tab-btn:hover {
    color: #fff;
    background: rgba(245, 179, 66, 0.06);
    border-color: rgba(245, 179, 66, 0.2);
}
.news-tab-btn.active {
    color: #1a1204;
    background: linear-gradient(135deg, #FFE89E 0%, #F5B342 50%, #D4A847 100%);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 179, 66, 0.3);
}
.tab-icon { font-size: 0.9rem; }

/* ================================================================
   T260926-04 2026-09-26 标签栏类型色「幽灵胶囊」（与导航「注册」胶囊同语言）：
   非激活标签 = 透明底 + 同色描边 + 同色字 —— 全部=金 / 开发者日志=天蓝 / 版本更新=绿 / 制作人信件=紫；
   hover 同色淡底 + 描边提亮；选中态（.active）仍为金色实心胶囊（上方规则）。
   ================================================================ */
.news-tab-btn.tab-all:not(.active) {
    background: transparent;
    color: var(--gold, #f5b342);
    border-color: rgba(245, 179, 66, 0.45);
}
.news-tab-btn.tab-devlog:not(.active) {
    background: transparent;
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
}
.news-tab-btn.tab-patch:not(.active) {
    background: transparent;
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.45);
}
.news-tab-btn.tab-letter:not(.active) {
    background: transparent;
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.45);
}
.news-tab-btn.tab-all:not(.active):hover {
    background: rgba(245, 179, 66, 0.1);
    border-color: rgba(245, 179, 66, 0.8);
}
.news-tab-btn.tab-devlog:not(.active):hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.8);
    color: #7dd3fc;
}
.news-tab-btn.tab-patch:not(.active):hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.8);
    color: #86efac;
}
.news-tab-btn.tab-letter:not(.active):hover {
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.8);
    color: #d8b4fe;
}

/* ===== News List ===== */
/* T260926-01 2026-09-26 条目去外框线（无边框编年体）：列表改 gap:0，条目之间改用发丝分隔线 */
.news-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ===== News Card ===== */
/* T260926-01 2026-09-26 去外框线：玻璃盒子 + 1px 金框 + 上浮 hover ⇒ 透明底 + 发丝分隔 + 类型色淡染。
   用户口径：「每个日志就单独的板块就行，把外面的外框线去除，不好看 拘束了」。
   分隔线用站点令牌 var(--divider)：深色为主题中性灰、亮色（羊皮纸）为浅暖灰，两端都可读。 */
.news-card {
    display: flex;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 22px 0;
    transition: background 0.3s ease;
    position: relative;
}
/* 相邻条目之间的发丝分隔线（替代原外框线） */
.news-card + .news-card {
    border-top: 1px solid var(--divider);
}
.news-card:hover {
    transform: none;
    box-shadow: none;
}
/* hover 按类型轻染（devlog 天蓝 / patch 绿 / letter 紫） */
.news-card.cat-devlog:hover {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.055), rgba(14, 165, 233, 0) 72%);
}
.news-card.cat-patch:hover {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.055), rgba(34, 197, 94, 0) 72%);
}
.news-card.cat-letter:hover {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.055), rgba(168, 85, 247, 0) 72%);
}

/* T260926-01 2026-09-26 去框后左栏（日期块）随内边距同步收口 */
.news-card-left {
    flex-shrink: 0;
    width: 96px;
    padding: 2px 16px 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.news-date-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.news-date-day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #FFE89E, #F5B342);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading, inherit);
}
.news-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.news-date-year {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 2px;
}

/* v18.7 2026-09-10 新增 卡片头部「分享」标签（v18.8 起放徽章同行右对齐；配色：devlog 金 / patch 绿 / letter 紫） */
.news-share-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 3px 12px 3px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
    color: var(--gold, #f5b342);
    border: 1px solid rgba(245, 179, 66, 0.4);
    background: linear-gradient(135deg, rgba(245, 179, 66, 0.12), rgba(245, 179, 66, 0.03));
    transition: all 0.25s ease;
}
.news-share-tag .news-share-ic {
    font-size: 0.72rem;
    line-height: 1;
}
.news-share-tag:hover {
    box-shadow: 0 0 14px rgba(245, 179, 66, 0.35);
    transform: translateY(-1px);
}
/* T260926-04 2026-09-26 分享标签按类型配色：devlog 由基态金色改为其主题色天蓝（patch 绿 / letter 紫原有） */
.news-share-tag.cat-devlog {
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.03));
}
.news-share-tag.cat-devlog:hover {
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.35);
}
.news-share-tag.cat-patch {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.4);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(74, 222, 128, 0.03));
}
.news-share-tag.cat-patch:hover {
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
}
.news-share-tag.cat-letter {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.4);
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.12), rgba(192, 132, 252, 0.03));
}
.news-share-tag.cat-letter:hover {
    box-shadow: 0 0 14px rgba(192, 132, 252, 0.35);
}

.news-card-divider {
    flex-shrink: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(245, 179, 66, 0.14) 18%, rgba(245, 179, 66, 0.14) 82%, transparent 100%);
}

.news-card-body {
    flex: 1;
    padding: 2px 8px;
    min-width: 0;
}
/* v18.8 2026-09-10 卡片头部改 flex：分类徽章居左、「分享」标签 margin-left:auto 推到右端同行对齐 */
.news-card-header {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: monospace;
}
.news-badge.cat-devlog {
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.news-badge.cat-patch {
    background: rgba(52, 199, 89, 0.1);
    color: #4ade80;
    border: 1px solid rgba(52, 199, 89, 0.2);
}
.news-badge.cat-letter {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* 卡片左侧色条（按分类） */
/* T260926-01 2026-09-26 导条按条目分段（上下内缩 14px + 圆角），避免相邻条目连成一条变色长线 */
.news-card.cat-devlog::after,
.news-card.cat-patch::after,
.news-card.cat-letter::after {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 3px;
    border-radius: 3px;
}
.news-card.cat-devlog::after {
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}
.news-card.cat-patch::after {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.news-card.cat-letter::after {
    background: linear-gradient(180deg, #a855f7, #7c3aed);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    /* T260926-01 2026-09-26 去外框线后条目直接落在页面底色上，标题改走 --text-white 令牌
       （深色=near-white / 亮色羊皮纸=深墨色），避免亮色模式下白字压浅底 */
    color: var(--text-white, #fff);
    margin: 0 0 12px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}
.news-card-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.85;
    white-space: pre-wrap;
}
.news-card-content br { display: none; }

/* T260927-02 2026-09-27 开发者日志落款（AXIOM STUDIO + 日期行）单独成块、右对齐；
   本容器已 display:none 掉 br，靠 pre-wrap 的换行生效，故 span 内直接放原文换行即可 */
.news-card-content .news-sign {
    display: block;
    text-align: right;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* ================================================================
   T260926-01 2026-09-26 全部标签「归档视图」组件（信息条 / 摘要 / 脚注行 / 分页器）
   设计口径：高级内敛的编年体归档 —— 金色只做点缀，类型色只做导条/徽章/hover 轻染
   ================================================================ */
/* 归档信息条：归档标识 + 总数 / 当前页（等宽字 + 金色点缀） */
.news-archive-bar {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px 14px;
    border-bottom: 1px solid rgba(245, 179, 66, 0.14);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.news-archive-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 179, 66, 0.85);
}
.news-archive-label .mark-diamond { font-size: 0.5rem; }
.news-archive-meta b { color: var(--gold, #f5b342); font-weight: 700; }

/* 归档摘要（两行）+ 脚注行（日期 + 阅读全文） */
.news-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0 0 12px;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
/* T260926-04 2026-09-26 「阅读全文」改精美胶囊标签（随条目主题色；hover 同色淡底 + 描边提亮）
   T260927-03 2026-09-27 去掉右箭头及其 hover 位移规则（用户原话：「我想把这个标签的 右箭头去掉」） */
.news-card-read {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0;
    /* T260927-03 2026-09-27 「阅读全文」胶囊整备（去箭头后重定尺寸）；T260927-04 2026-09-27 定档折中：
       font-size 0.66rem（≈10.6px）+ padding 2.4px 11px、字距 0.6px
       演进：原始 0.72rem / 3px 14px → v37.7 缩 60%（0.43rem）→ 保底 0.6rem → 用户拍板折中 0.66rem */
    padding: 2.4px 11px;
    border-radius: 100px;
    border: 1px solid rgba(245, 179, 66, 0.45);
    color: var(--gold, #f5b342);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.7;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.news-card.cat-devlog .news-card-read {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
}
.news-card.cat-patch .news-card-read {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.45);
}
.news-card.cat-letter .news-card-read {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.45);
}
.news-card.cat-devlog:hover .news-card-read {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.8);
}
.news-card.cat-patch:hover .news-card-read {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.8);
}
.news-card.cat-letter:hover .news-card-read {
    background: rgba(192, 132, 252, 0.12);
    border-color: rgba(192, 132, 252, 0.8);
}

/* T260927-03 2026-09-27 标题可点击（跳独立分享页）：去掉链接下划线 + 颜色随 `.news-card-title` 原样式，
   hover 仅轻微提亮（仍不加下划线）；特异性 0,2,0 ＞ 全局 `a` / `a:hover`，不受书写顺序影响 */
.news-card-title .news-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.25s ease;
}
.news-card-title .news-card-title-link:hover,
.news-card-title .news-card-title-link:focus {
    text-decoration: none;
    opacity: 0.85;
}

/* 分页器（当前页 = 金色渐变胶囊，与标签栏 active 同款；边框走 --border-color 令牌，亮暗两态都可读） */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    transition: all 0.25s ease;
}
.news-pagination a:hover {
    color: #fff;
    border-color: rgba(245, 179, 66, 0.35);
    background: rgba(245, 179, 66, 0.06);
}
.news-pagination .is-current {
    color: #1a1204;
    background: linear-gradient(135deg, #FFE89E 0%, #F5B342 50%, #D4A847 100%);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 179, 66, 0.3);
}
.news-pagination .is-disabled { opacity: 0.35; cursor: default; }
.news-pagination .news-page-gap {
    border: none;
    background: none;
    min-width: 22px;
    padding: 0;
}

/* ===== Empty State ===== */
.news-empty {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(22, 18, 38, 0.6) 0%, rgba(12, 10, 22, 0.8) 100%);
    border: 1px solid rgba(245, 179, 66, 0.1);
    backdrop-filter: blur(16px);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.6; }
.empty-title {
    font-family: monospace;
    color: #F5B342;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.empty-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .news-page { padding: 24px 0 60px; }

    .news-hero {
        padding: 44px 20px 32px;
        border-radius: 18px;
        margin-bottom: 24px;
    }
    .news-hero-title {
        font-size: 2rem;
        letter-spacing: 6px;
    }
    .news-hero-sub { font-size: 0.85rem; letter-spacing: 1px; }
    .news-hero-mark { font-size: 0.55rem; letter-spacing: 3px; }
    .divider-line { width: 60px; }

    .news-tabs {
        gap: 6px;
        margin-bottom: 28px;
    }
    .news-tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* T260926-01 2026-09-26 去框后改 gap:0（条目间用发丝线分隔，不靠间距） */
    .news-list { gap: 0; }

    .news-card {
        flex-direction: column;
        border-radius: 14px;
    }
    .news-card::after {
        left: 0; top: 0; right: 0; bottom: auto;
        width: 100%; height: 3px;
        background: linear-gradient(90deg, transparent, rgba(245, 179, 66, 0.5), transparent) !important;
        box-shadow: none !important;
    }
    .news-card.cat-devlog::after {
        background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.6), transparent) !important;
    }
    .news-card.cat-patch::after {
        background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.6), transparent) !important;
    }
    .news-card.cat-letter::after {
        background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), transparent) !important;
    }

    .news-card-left {
        width: 100%;
        padding: 18px 20px 12px;
        flex-direction: row;
        justify-content: flex-start;
    }
    .news-date-block {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    .news-date-day { font-size: 1.5rem; }
    .news-date-month { margin-top: 0; }
    .news-date-year { margin-top: 0; }

    .news-card-divider {
        width: calc(100% - 40px);
        height: 1px;
        margin: 0 auto;
        background: linear-gradient(90deg, transparent 0%, rgba(245, 179, 66, 0.15) 20%, rgba(245, 179, 66, 0.15) 80%, transparent 100%);
    }

    .news-card-body { padding: 16px 20px 20px; }
    .news-card-title { font-size: 1.05rem; }
    .news-card-content { font-size: 0.85rem; line-height: 1.75; }

    /* T260926-01 2026-09-26 去框后窄屏收口 + 归档条 / 分页器窄屏尺寸 */
    .news-archive-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        letter-spacing: 1.5px;
    }
    .news-card { padding: 18px 0; }
    .news-card-left { padding: 0 0 10px 0; }
    .news-card-body { padding: 0; }
    .news-card-excerpt { font-size: 0.85rem; }
    .news-card-meta { flex-wrap: wrap; gap: 10px; }
    .news-card-read { margin-left: 0; }
    .news-pagination { gap: 6px; margin-top: 32px; }
    .news-pagination a,
    .news-pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 12px;
        font-size: 0.75rem;
    }
}

/* ================================================================
   T260926-01 2026-09-26 亮色（皇室羊皮纸）适配 —— 去外框线后条目直接落在浅色底上，
   原先「坐在深色玻璃卡上」的硬编码色需转深色系，否则标题/日期大数字/徽章对比度不足。
   能走令牌的走令牌（--text-white / --gold），类型色与金色渐变这类硬编码色在本块定点转深。
   ================================================================ */
/* ⚠️ 坑：`background` 简写会把 `background-clip` 一并重置为 border-box（Blink 下 -webkit-background-clip 与之同属性）
   ⇒ 本覆盖只换渐变时必须**重述裁剪**，否则日期大数字会被整块填成色块（实测踩到，见 2026.09.26 技术文档） */
.light-mode .news-date-day {
    background: linear-gradient(135deg, #B08227, #8A5F1A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.light-mode .news-archive-label {
    color: var(--gold, #8a5f1a);
}
.light-mode .news-badge.cat-devlog {
    color: #0369a1;
    border-color: rgba(3, 105, 161, 0.35);
    background: rgba(14, 165, 233, 0.12);
}
.light-mode .news-badge.cat-patch {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.35);
    background: rgba(34, 197, 94, 0.12);
}
.light-mode .news-badge.cat-letter {
    color: #7e22ce;
    border-color: rgba(126, 34, 206, 0.35);
    background: rgba(168, 85, 247, 0.12);
}
.light-mode .news-share-tag.cat-patch {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.4);
}
.light-mode .news-share-tag.cat-letter {
    color: #7e22ce;
    border-color: rgba(126, 34, 206, 0.4);
}
.light-mode .news-pagination a:hover {
    color: var(--text-white, #1c1a17);
}
/* T260926-04 2026-09-26 类型色元素（标签栏 / 分享标签 / 阅读全文）的亮色定点适配：转深色系保持 AA */
.light-mode .news-tab-btn.tab-devlog:not(.active) {
    color: #0369a1;
    border-color: rgba(3, 105, 161, 0.4);
}
.light-mode .news-tab-btn.tab-patch:not(.active) {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.4);
}
.light-mode .news-tab-btn.tab-letter:not(.active) {
    color: #7e22ce;
    border-color: rgba(126, 34, 206, 0.4);
}
.light-mode .news-share-tag.cat-devlog {
    color: #0369a1;
    border-color: rgba(3, 105, 161, 0.4);
}
.light-mode .news-card.cat-devlog .news-card-read {
    color: #0369a1;
    border-color: rgba(3, 105, 161, 0.4);
}
.light-mode .news-card.cat-patch .news-card-read {
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.4);
}
.light-mode .news-card.cat-letter .news-card-read {
    color: #7e22ce;
    border-color: rgba(126, 34, 206, 0.4);
}
