/* === Embodied AI Frontier — 布局系统 === */

/* ===== 三栏布局（Phase 4 改版） ===== */
.layout {
    display: grid;
    grid-template-columns: var(--left-nav-width) 1fr var(--right-panel-width);
    height: 100vh;
    overflow: hidden;
    max-width: var(--layout-max);
    margin: 0 auto;
}

/* ===== LEFT NAV ===== */
.left-nav {
    position: relative;               /* 🔴 z-index 30 需定位才生效（2026-08-14 修复：static 时 z-index 无效，目录卷轴 z15 反而盖住左栏） */
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 30;
    overflow-y: auto;
    padding: 0;
}
.left-nav::-webkit-scrollbar { width: 0; }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px 18px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.brand-line1 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.brand-line2 { font-size: 15px; font-weight: 800; letter-spacing: 0.18em; color: var(--text-primary); }
.brand:hover .brand-line1,
.brand:hover .brand-line2 { color: var(--accent); }

.nav-section { padding: 0 8px; flex-shrink: 0; }
.nav-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted);
    padding: 14px 12px 6px;
}
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all 0.12s;
    text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
[data-theme="light"] .nav-item:hover { background: rgba(0,0,0,0.04); }
.nav-item.active { color: var(--accent); background: rgba(0,212,255,0.08); font-weight: 600; }
[data-theme="light"] .nav-item.active { background: rgba(0,212,255,0.06); }
.nav-icon { font-size: 15px; width: 20px; text-align: center; opacity: 0.6; flex-shrink: 0; }
.nav-item.active .nav-icon { opacity: 1; }
.nav-spacer { flex: 1; min-height: 8px; }

.nav-bottom {
    flex-shrink: 0;
    padding: 8px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 4px;
}
.lang-toggle {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.lang-toggle[data-hidden="true"] { display: none; }
.lang-opt {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    transition: all 0.12s;
    border: none;
    font-family: inherit;
    cursor: pointer;
}
.lang-opt.active { color: var(--accent); background: rgba(0,212,255,0.1); }
.lang-opt:not(.active):hover { color: var(--text-secondary); }

/* 左栏底部：账号入口（会员模块 M0，X 风格圆形头像 + 文字；提高 40px 不贴底） */
.nav-bottom { margin-bottom: 40px; }
.nav-account {
    display: flex;
    align-items: flex-end;   /* 🔴 2026-08-15 CEO：头像与文字底部对齐 */
    gap: 10px;
    margin: 0;               /* 🔴 2026-08-15 CEO：去掉偏上偏移——nav-bottom 上下 padding 对称 → 垂直居中于分隔框中纬线 */
    padding: 4px 6px;
    border: none;              /* 🔴 2026-08-15 CEO：去模块框容器，只留 头像+会员中心 */
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.12s;
}
.nav-account:hover { background: rgba(255,255,255,0.04); }
.nav-account.active { background: rgba(0,212,255,0.06); }
.nav-account-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700;
}
.nav-account-avatar.guest {
    background: rgba(255,255,255,0.06);
    border: 1px dashed var(--border-subtle);
    color: var(--text-muted);
}
.nav-account-avatar.member {
    background: rgba(0,212,255,0.14);
    border: 1px solid rgba(0,212,255,0.4);
    color: var(--accent);
}
/* 会员中心主文字（2026-08-15 CEO：邮件名删除，标题醒目） */
.nav-account-label {
    font-size: 14px; font-weight: 700; color: var(--text-primary);
    white-space: nowrap;
}

/* ===== CENTER FEED ===== */
.center-feed {
    overflow-y: auto;
    height: 100vh;
    border-right: 1px solid var(--border-subtle);
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}
.center-feed::-webkit-scrollbar { width: 4px; }
.center-feed::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 4px; }

.center-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
[data-theme="light"] .center-header {
    background: rgba(236, 238, 242, 0.88);
}
.center-header-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; flex-shrink: 0; }
.header-spacer { flex: 1; }

.search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: 200px;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    transition: all 0.12s;
    cursor: text;
}
.search-bar:hover { border-color: rgba(0,212,255,0.2); }
.search-bar:focus-within { border-color: rgba(0,212,255,0.3); background: rgba(255,255,255,0.06); }
[data-theme="light"] .search-bar:focus-within { background: rgba(0,0,0,0.03); }
.search-bar input {
    background: none; border: none; outline: none;
    color: var(--text-primary); font-size: 13px;
    font-family: inherit; flex: 1; min-width: 0;
}
.search-bar input::placeholder { color: var(--text-muted); font-size: 12px; }
.search-bar-icon { font-size: 14px; flex-shrink: 0; opacity: 0.5; }

/* Featured Carousel */
.fc-wrap {
    position: relative;
    margin: 20px;
}
.fc-slide {
    display: none;
    position: relative;
}
.fc-slide.fc-active {
    display: block;
}

/* 图片区域：作为箭头定位容器 */
.fc-img-area {
    position: relative;
}

/* Arrows - 固定在图片左右，垂直居中，hover才显 */
.fc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    font-size: 40px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: opacity 0.25s, color 0.15s;
    user-select: none;
    padding: 12px 10px;
    line-height: 1;
    text-shadow: 0 0 16px rgba(0,212,255,0.5), 0 2px 8px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
}
.fc-slide.fc-active .fc-arrow {
    display: block;
}
.fc-wrap:hover .fc-arrow {
    opacity: 1;
    pointer-events: auto;
}
.fc-arrow-prev { left: 4px; }
.fc-arrow-next { right: 4px; }
.fc-arrow:hover {
    color: #fff;
    text-shadow: 0 0 24px rgba(0,212,255,0.7), 0 2px 8px rgba(0,0,0,0.4);
}

/* Dots */
.fc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: -4px;
    padding-bottom: 8px;
}
.fc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.2s;
}
.fc-dot:hover {
    background: rgba(255,255,255,0.2);
}
.fc-dot-active {
    background: var(--accent) !important;
    width: 20px;
    border-radius: 3px;
}

/* Featured Banner (single slide) */
.featured-banner {
    margin: 20px 20px 24px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(123,97,255,0.02));
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.featured-banner:hover { border-color: rgba(0,212,255,0.18); transform: translateY(-1px); }
.fb-img {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0e2a3a, #1a1040);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    border-radius: 14px;  /* 精选大框圆角（CEO 2026-08-16） */
}
.fb-img-icon { font-size: 52px; opacity: 0.12; position: absolute; }
.fb-img-tag {
    position: absolute; top: 12px; left: 12px;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(232,184,75,0.14); color: #e8b84b;  /* 金色精选徽章（CEO 2026-08-06） */
}
.fb-body { padding: 18px 22px 20px; }
.fb-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #5fc79a; margin-bottom: 6px; }
.fb-title { font-size: 21px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; }
.fb-summary { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; }
.fb-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-muted); }
.fb-cta { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 4px; }

/* Section Header (freezes at top:53px) */
.section-header-wrap {
    position: sticky;
    top: 53px;
    z-index: 15;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
[data-theme="light"] .section-header-wrap {
    background: rgba(236, 238, 242, 0.92);
}
.section-title { font-size: 15px; font-weight: 700; }
.section-count { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: 8px; }
.section-link { font-size: 12px; color: rgba(0,212,255,0.4); cursor: pointer; transition: color 0.12s; text-decoration: none; }
.section-link:hover { color: var(--accent); }

/* Card Grid (2-column) */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px 20px 8px;
}

.art-card {
    display: flex; flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    color: inherit;
    min-height: 280px;
}
.art-card:hover { border-color: var(--text-muted); background: var(--bg-card-hover); transform: translateY(-1px); }

.art-cover {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.art-cover-icon { font-size: 30px; opacity: 0.15; }
.art-cover-hasimg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    pointer-events: none;
}
.art-cover-tag {
    position: absolute; top: 10px; left: 10px;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px; border-radius: 4px;
}
.tag-industry { background: rgba(0,212,255,0.1); color: var(--accent); }
.tag-research { background: rgba(123,97,255,0.1); color: #a78bfa; }
.tag-funding { background: rgba(255,107,53,0.1); color: #ff6b35; }
.tag-deep { background: rgba(95,199,154,0.1); color: #5fc79a; }
.tag-special { background: rgba(211,178,106,0.1); color: #d3b26a; }
.tag-policy2 { background: rgba(100,116,139,0.1); color: #94a3b8; }  /* 区别于 layout.css 已有 .tag-policy */

.art-body { padding: 12px 14px 8px; flex: 1; }  /* 🔴 2026-08-15：去 flex column——art-dek 的 -webkit-box 在 flex item 上被 blockify，line-clamp 失效 */
.art-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.art-dek { font-size: 12px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; }
.art-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.art-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,0.03); color: var(--text-muted); }
.art-time { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; }

.load-more { padding: 16px 20px 32px; text-align: center; }
.load-more-btn {
    padding: 10px 36px; border-radius: 10px;
    border: 1px solid var(--border-card);
    background: transparent; color: var(--text-secondary);
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all 0.12s; font-family: inherit;
}
.load-more-btn:hover { border-color: rgba(0,212,255,0.25); color: var(--accent); background: rgba(0,212,255,0.03); }

/* ===== RIGHT PANEL ===== */
.right-panel {
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
    overflow-anchor: none;  /* 🔴 v7：禁 scroll anchoring——折叠组展开时内容高度突变，浏览器自动调 scrollTop 会跳变（向上滚动漏风帧来源） */
}
.right-panel::-webkit-scrollbar { width: 4px; }
.right-panel::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 4px; }

.rp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
[data-theme="light"] .rp-header {
    background: rgba(236, 238, 242, 0.88);
}
.rp-header-left { display: flex; align-items: center; gap: 8px; }
.rp-title { font-size: 16px; font-weight: 800; }
.live-indicator {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 500; color: var(--text-muted);
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #5fc79a; animation: pulse 2s infinite; display: inline-block; }
.rp-date { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* Trends */
.trends-box {
    margin: 14px 16px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-card);
}
.trends-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.trends-title { font-size: 13px; font-weight: 700; }
.trend-ellipsis {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    flex: 1; min-width: 0;
}
.trend-row {
    text-decoration: none; color: inherit;
    display: flex; align-items: center; gap: 10px; padding: 6px 0;
    cursor: pointer; border-radius: 8px; transition: background 0.1s;
}
.trend-row:hover { background: rgba(255,255,255,0.02); }
.trend-rank { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: rgba(255,255,255,0.03); color: var(--text-muted); flex-shrink: 0; }
.r1 { background: rgba(216,106,82,0.18); color: #d86a52; }
.r2 { background: rgba(209,138,94,0.18); color: #d18a5e; }
.r3 { background: rgba(211,178,106,0.18); color: #d3b26a; }
.trend-label { font-size: 12.5px; color: var(--text-secondary); }
.trend-vol { margin-left: auto; font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

/* Right panel timeline — clean compact format */
.tl-section { margin: 0 16px 20px; }

/* 快讯右栏可折叠日期栏（CEO 2026-08-09 确认：默认全展开、点击折叠；醒目=层次非彩色）
   替代废弃的 .tl-date-label/.tl-date-sticky（三日折叠/冻结 v1-v7 方案已废） */
details.tl-day-group { margin-bottom: 6px; }
/* 第一个日期栏与 rp-header 留间距（CEO 2026-08-09 微调：不要紧贴头部框） */
.tl-section .tl-day-group:first-child { margin-top: 12px; }
.tl-day {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer; user-select: none;
    list-style: none;
    transition: background 0.1s, border-color 0.1s;
}
.tl-day::-webkit-details-marker { display: none; }
.tl-day:hover { background: rgba(255,255,255,0.085); border-color: #2c3e5e; }
.day-arrow {
    font-size: 12px; line-height: 1;
    color: var(--text-secondary);
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    transition: transform 0.15s ease, color 0.1s, background 0.1s;
}
details[open] .day-arrow { transform: rotate(90deg); }
.tl-day:hover .day-arrow { color: var(--text-primary); background: rgba(255,255,255,0.14); }
.day-text { font-size: 12.5px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.02em; }
.day-count {
    margin-left: auto; flex-shrink: 0;
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.07);
    border-radius: 10px; padding: 1px 7px;
}
.tl-day-body { padding: 2px 2px 0; }

/* New item format: time | tag source score / title */
.tln-item {
    display: flex; gap: 8px;
    padding: 7px 4px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer; border-radius: 6px;
    transition: background 0.1s;
    text-decoration: none; color: inherit;
}
.tln-item:hover { background: rgba(255,255,255,0.015); }
/* 时间线缩略图（X 推文快讯图文/视频封面；CEO 2026-08-12） */
.tln-thumb {
    width: 52px; height: 52px; border-radius: 8px;
    overflow: hidden; flex-shrink: 0; margin-left: auto;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.tln-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-theme="light"] .tln-thumb {
    border-color: rgba(15,23,42,0.12);
    background: rgba(15,23,42,0.03);
}
.tln-current {
    border-left: 2px solid var(--accent);
    background: rgba(0,212,255,0.03);
}
.tln-item:visited .tln-title { opacity: 0.35; }

.tln-time {
    font-size: 11px; color: var(--text-muted);
    font-family: var(--font-mono);
    min-width: 32px; padding-top: 3px; flex-shrink: 0; line-height: 1.3;
}
/* 专题文章右栏：时间列显示完整日期 YYYY-MM-DD（CEO 2026-08-03）；
   快讯右栏两天时间线：显示「8月8日 22:39」（CEO 2026-08-09 两天方案） */
.tln-time-date { min-width: 92px; font-size: 10.5px; }
/* 专题文章右栏：列表与头部固定框留间距（CEO 2026-08-03 反馈「贴得太紧」——
   快讯页有日期标签自带 padding-top，专题列表无首元素 → 需显式 margin） */
.tl-section-topic { margin-top: 12px; }
.tln-body { flex: 1; min-width: 0; }
.tln-top {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 3px; line-height: 1.3;
    flex-wrap: nowrap;
}

/* Pill tag with border ring (圈包裹) */
.tln-pill {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1px 7px; border-radius: 20px;
    border: 1px solid var(--border-card);
    background: transparent;
    color: var(--text-muted);
    flex-shrink: 0; line-height: 1.5;
}
.tln-pill-industry { border-color: rgba(0,212,255,0.3); color: var(--accent); }
.tln-pill-research { border-color: rgba(123,97,255,0.3); color: #a78bfa; }
.tln-pill-funding { border-color: rgba(255,107,53,0.3); color: #ff6b35; }
.tln-pill-deep { border-color: rgba(95,199,154,0.3); color: #5fc79a; }
.tln-pill-policy { border-color: rgba(100,116,139,0.3); color: #94a3b8; }
.tln-pill-tech { border-color: rgba(124,58,237,0.3); color: #a78bfa; }
.tln-pill-news { border-color: rgba(14,116,144,0.3); color: #22d3ee; }

.tln-source {
    font-size: 10px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    flex-shrink: 1; min-width: 0;
}
.tln-score {
    margin-left: auto; flex-shrink: 0;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    color: var(--text-muted);
}
.tln-high { color: #5fc79a; }
.tln-mid { color: #d3b26a; }

.tln-title {
    font-size: 12px; line-height: 1.4;
    color: var(--text-secondary);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    min-height: calc(12px * 1.4 * 2);
    max-height: calc(12px * 1.4 * 2);  /* 🔴 2026-08-15：flex item blockify 兜底截断 */
}

/* Trending ellipsis */
.tl-high { color: #5fc79a; }
.tl-mid { color: #d3b26a; }

/* ═══ 右栏 v3.0 式样（CEO 2026-08-06 首页 demo 通过）═══ */
/* 日报标题行：日期（改动1） */
.trends-date { font-size: 11px; color: var(--text-secondary); font-weight: 500; }
/* 日报框底部更新提示（改动1b：从标题行移框底，中英文不挤） */
.trends-foot {
    margin-top: 8px; padding-top: 7px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 10px; color: var(--text-muted); font-weight: 400;
}
/* 热门快讯卡：与日报卡同款（改动2 v2——CEO 要求大小/设计语言/位置与日报对齐） */
.hot-news-label {
    margin: 14px 16px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-card);
    display: flex; align-items: center; gap: 8px;
}
.hot-news-label .hn-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.hot-news-label .hn-sub { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-left: auto; }
/* 快讯条目热度徽章排头（改动3：替代 .tln-time 时间列） */
.tln-hot {
    min-width: 46px; padding: 1px 4px; margin-top: 1px;
    flex-shrink: 0; line-height: 1.4; height: fit-content;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    text-align: center; border-radius: 5px;
}
/* 热度徽章：榜首强调 + 其余低调（CEO 2026-08-06 方案A——热度排序列表不再用 5 档分级色，
   排序本身已传达热度；列表页时间序仍用 hot-tier-* 分级） */
.th-top { color: var(--accent); background: rgba(0,212,255,0.12); }
.th-base { color: var(--text-secondary); background: rgba(255,255,255,0.05); }
/* 移动端折叠面板适配（与 mob-rp-body 内同款） */
.mob-rp-body .trends-foot { margin-left: 12px; margin-right: 12px; }
.mob-rp-body .hot-news-label { margin: 10px 12px; padding: 12px 14px; }

/* ===== Responsive — 三栏折叠 ===== */
@media (max-width: 1100px) {
    .layout { grid-template-columns: 52px 1fr 280px; }
    .brand-line1, .brand-line2, .nav-label, .nav-item span:not(.nav-icon), .search-bar { display: none; }
    .nav-item { justify-content: center; padding: 10px 0; }
    .brand { justify-content: center; padding: 20px 0; }
    .lang-toggle { flex-direction: column; }
    .lang-opt { padding: 6px 0; font-size: 11px; }
}
@media (max-width: 768px) {
    .layout { grid-template-columns: 1fr; }
    .left-nav { display: none; }
    .right-panel { display: none; }
}

/* === 容器 === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === 页面骨架 === */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: var(--space-sm) 0 var(--space-lg);
}

/* === 导航栏 === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.85);
}

.nav-brand {
    font-weight: 700;
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: opacity 0.2s;
}

.nav-brand:hover {
    color: var(--accent);
}

.nav-brand svg {
    transition: transform 0.4s ease;
}

.nav-brand:hover svg {
    transform: rotate(-15deg);
}

.nav-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    transform: scale(1.1);
}

.theme-indicator::after {
    content: "🌙";
    font-size: 16px;
}

[data-theme="light"] .theme-indicator::after {
    content: "☀️";
}

.nav-lang a {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    padding: 4px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-lang a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

/* === 底部 === */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-xl) 0;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* === Slim Hero（小互风格） === */
.hero-slim {
    padding: var(--space-md) 0 var(--space-sm);
}

.hero-eyebrow {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-slim-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.hero-slim-title .em {
    color: var(--accent);
}

.hero-slim-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* === Slim Hero（小互风格） === */
.hero {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
}
...
*/

/* === 首页精选 === */
.featured-section {
    margin-bottom: var(--space-2xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.section-link {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.section-link:hover {
    color: var(--accent);
}

/* === 头条精选大卡片 === */
.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.featured-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.featured-card-img {
    width: 100%;
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
}

.featured-card-body {
    padding: var(--space-xl);
}

.featured-card-meta {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.featured-card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.featured-card-title a {
    color: var(--text-primary);
}

.featured-card-title a:hover {
    color: var(--accent);
}

.featured-card-summary {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === 文章卡片网格 === */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

.card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-muted);
}

.card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.card-source {
    color: var(--text-secondary);
}

.card-verified {
    color: var(--accent);
    font-size: 12px;
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.card-title a {
    color: var(--text-primary);
}

.card-title a:hover {
    color: var(--p-accent);
}

.card-summary {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

/* === 标签（pill） === */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag:hover {
    border-color: var(--text-muted);
}

.tag-launch {
    border-color: var(--tag-launch);
    color: var(--tag-launch);
}

.tag-tech {
    border-color: var(--tag-tech);
    color: var(--tag-tech);
}

.tag-research {
    border-color: var(--tag-research);
    color: var(--tag-research);
}

.tag-industry {
    border-color: var(--tag-industry);
    color: var(--tag-industry);
}

.tag-deep {
    border-color: var(--tag-deep);
    color: var(--tag-deep);
}

.tag-policy {
    border-color: var(--tag-policy);
    color: var(--tag-policy);
}

.tag-funding {
    border-color: var(--tag-funding);
    color: var(--tag-funding);
}

.tag-combat {
    border-color: var(--tag-combat);
    color: var(--tag-combat);
}

/* === 评分 === */
.score {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.score-high {
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
}

.score-mid {
    color: #ffab40;
    background: rgba(255, 171, 64, 0.1);
}

.score-low {
    color: var(--text-muted);
    background: var(--bg-secondary);
}

/* === 时间线 === */
.timeline-section {
    margin-bottom: var(--space-2xl);
}

.timeline-scroll {
    max-height: 165px;
    overflow-y: auto;
    padding-right: var(--space-sm);
}

.timeline-scroll::-webkit-scrollbar {
    width: 4px;
}
.timeline-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.timeline-scroll::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

/* ── 首页快讯 三栏时间轴（flex居中 + 断开竖线）── */
.timeline-scroll .tl-item {
    align-items: center;
}
.timeline-scroll .tl-item-time {
    padding-top: 0;
}
.timeline-scroll .tl-item-track {
    align-self: stretch;
}
.timeline-scroll .tl-item-dot {
    margin-top: auto;
    margin-bottom: auto;
}
/* 上段竖线 — 从track顶部到dot上方留间隙 */
.timeline-scroll .tl-item-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: calc(50% + 7px);
    width: 2px;
    transform: translateX(-50%);
    background: var(--border-subtle);
}
/* 下段竖线 — 从dot下方到track底部留间隙 */
.timeline-scroll .tl-item-track::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% + 7px);
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: var(--border-subtle);
}
/* 首个item不露出上段竖线 */
.timeline-scroll .tl-item:first-child .tl-item-track::before {
    display: none;
}
.tl-item-title-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tl-item-title-wrap a {
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
}
.tl-item-title-wrap a:visited {
    color: var(--text-muted);
}
.tl-item-title-wrap a:hover {
    color: var(--accent);
}

/* 热度等级配色（游戏装备风格） */
.hot-tier-1 { color: var(--text-muted); background: var(--bg-secondary); }
.hot-tier-2 { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.hot-tier-3 { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }
.hot-tier-4 { color: #c084fc; background: rgba(192, 132, 252, 0.1); }
.hot-tier-5 { color: #f87171; background: rgba(248, 113, 113, 0.15); }

.hot-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 快讯页热度标签靠右 */
.tl-card-meta .hot-badge {
    margin-left: auto;
}

/* 今日快讯标题后的小字日期 */
.section-title-date {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 8px;
}

/* === 分页 === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: var(--space-lg) 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
    transition: all 0.15s;
}

.page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-link.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.page-link.prev,
.page-link.next {
    font-size: 18px;
    font-weight: 600;
}

/* === 加载更多（快讯页，CEO 2026-08-05）=== */
.load-more {
    min-width: 140px;
    height: 40px;
    padding: 0 28px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

.load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.06);
}

.load-more.load-more-loading {
    opacity: 0.6;
    pointer-events: none;
}

.load-more-end {
    padding: var(--space-md) 0;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
}

/* === 文字工具类 === */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ===================================================================
   MOBILE LAYOUT (<640px) — Clean, compact design
   =================================================================== */
#mobilePanel { display: none; }
.mob-bar { display: none; }
.mob-overlay { display: none; }
.mob-drawer { display: none; }

@media (max-width: 640px) {


/* ===== Layout ===== */
.layout {
    grid-template-columns: 1fr;
    height: 100vh;
    padding-top: 48px;
}
.left-nav { display: none; }
.right-panel { display: none; }
.center-feed {
    height: calc(100vh - 48px);
    border-right: none;
}

/* ===== Top Bar ===== */
.mob-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 48px;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex; align-items: center; padding: 0 4px 0 0;
}
[data-theme="light"] .mob-bar {
    background: rgba(236, 238, 242, 0.92);
}
.mob-ham {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: none; border: none; color: var(--text-primary);
    font-size: 20px; cursor: pointer; flex-shrink: 0;
}
.mob-logo {
    display: flex; align-items: center; gap: 7px;
    color: var(--text-primary); text-decoration: none;
    font-size: 14px; font-weight: 700; flex: 1; min-width: 0;
}
.mob-logo span {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Drawer ===== */
.mob-overlay {
    display: block; /* 覆盖全局 display:none（2026-07-31 修复：此前移动端 overlay/drawer 永不可见） */
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 90;
    visibility: hidden; pointer-events: none;
}
.mob-overlay.open { visibility: visible; pointer-events: auto; }
.mob-drawer {
    display: block; /* 覆盖全局 display:none（2026-07-31 修复） */
    position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
    background: var(--bg-primary); z-index: 95;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    visibility: hidden;
}
.mob-drawer.open { transform: translateX(0); visibility: visible; }

/* ===== Drawer inner (standalone structure) ===== */
.mob-drawer-inner {
    display: flex; flex-direction: column;
    min-height: 100%;
    padding: 16px 12px 24px;
}
.mob-drawer-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px 18px;
    color: var(--text-primary); text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 12px;
}
.mob-drawer-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.mob-drawer-brand-line1 { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.mob-drawer-brand-line2 {
    font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
    color: var(--text-muted); text-transform: uppercase;
}
.mob-drawer-section { margin-bottom: 14px; }
.mob-drawer-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-muted);
    padding: 0 10px 6px;
}
.mob-drawer-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 10px; border-radius: 8px;
    color: var(--text-secondary); text-decoration: none;
    font-size: 14px; font-weight: 500;
}
.mob-drawer-item:active { background: rgba(255,255,255,0.04); }
.mob-drawer-item.active { color: var(--accent); background: rgba(0,212,255,0.08); }
.mob-drawer-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.mob-drawer-bottom {
    margin-top: auto; padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

/* ===== Center Header ===== */
.center-header { padding: 10px 12px 8px; }
.center-header-title { font-size: 14px; }
.search-bar { display: flex; width: auto; flex: 1; max-width: none; }
.section-header-wrap { top: 0; padding: 10px 12px 8px; }
.section-title { font-size: 13px; }

/* ===== Featured — single card, no carousel ===== */
.fc-wrap { margin: 0; }
.fc-slide { display: none; }
.fc-slide.fc-active { display: block; }
.fc-arrow { display: none !important; }
.fc-dots { display: none; }
.featured-banner { margin: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--border-subtle); }
.fb-img { aspect-ratio: 16/10; border-radius: 12px; }
.fb-img-tag { top: 10px; left: 10px; font-size: 9px; }
.fb-body { padding: 12px 12px 14px; }
.fb-cat { font-size: 9px; margin-bottom: 4px; }
.fb-title { font-size: 17px; }
.fb-summary { font-size: 12px; -webkit-line-clamp: 2; }
.fb-meta { font-size: 11px; }
.fb-cta { font-size: 11px; }

/* ===== Card Grid — horizontal compact layout ===== */
.card-grid {
    display: flex; flex-direction: column;
    padding: 0; gap: 0;
}
.art-card {
    flex-direction: row;
    min-height: auto; border-radius: 0; border: none;
    border-bottom: 1px solid var(--border-subtle);
    background: transparent;
}
.art-card:hover { background: rgba(255,255,255,0.02); }
.art-cover {
    width: 80px; min-width: 80px; aspect-ratio: auto; height: 80px;
    border-radius: 0;
}
.art-cover-icon { font-size: 20px; }
.art-cover-tag { top: 4px; left: 4px; font-size: 7px; padding: 1px 5px; }
.art-body {
    padding: 10px 12px; flex: 1; min-width: 0; justify-content: center;
}
.art-title { font-size: 13px; font-weight: 600; }
.art-dek { display: none; }
.art-foot { padding: 0 12px 10px; display: none; }

/* ===== Mobile Panel: Flash Briefs ===== */
#mobilePanel {
    display: block;
    border-top: 1px solid var(--border-subtle);
}
.mob-rp-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; font-size: 13px; font-weight: 700;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    color: var(--text-primary);
}
.mob-rp-arrow {
    font-size: 11px; color: var(--text-muted);
    transition: transform 0.18s ease;
}
.mob-rp-arrow.flip { transform: rotate(180deg); }
.mob-rp-body { display: block; }
.mob-rp-body.collapsed { display: none; }
.mob-rp-body .trends-box { margin: 10px 12px; padding: 12px 14px; }
.mob-rp-body .tl-section { margin: 0 12px 12px; }
.mob-rp-body .rp-header { display: none; }

/* ===== List Cards ===== */
.list-card { flex-direction: column; gap: 0; }
.list-card-img-wrap { width: 100%; min-width: auto; height: 160px; }
.list-card-body { padding: 10px 12px; }
.list-card-title { font-size: 16px; }

/* ===== Containers ===== */
.container { padding: 0 12px; }
.listing-title { font-size: 20px; }
.tl-page-title { font-size: 20px; }
.tl-tags { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 4px; padding: 0 4px; }
.tl-tag { white-space: nowrap; font-size: 10px; padding: 4px 10px; }

/* ===== Load More ===== */
.load-more { padding: 10px 12px 20px; }
.load-more-btn { width: 100%; padding: 12px; }


    /* ——— Top bar search input ——— */
    .mob-search-bar {
        flex: 1; min-width: 0;
        display: flex; align-items: center;
    }
    .mob-search-bar input {
        width: 100%;
        background: rgba(255,255,255,0.06);
        border: 1px solid var(--border-subtle);
        border-radius: 8px;
        color: var(--text-primary);
        font-size: 13px;
        font-family: inherit;
        padding: 6px 10px;
        outline: none;
    }
    .mob-search-bar input::placeholder { color: var(--text-muted); font-size: 12px; }

    /* ——— Hide desktop search in center-header ——— */
    .center-header .search-bar { display: none; }

    /* ——— Flash Briefs spacing ——— */
    #mobilePanel { margin-top: 32px; }

    /* ——— Center-header adjustments ——— */
    .center-header { padding: 10px 12px 8px; }
    .center-header-title { font-size: 14px; }

}

/* === 日报页（阶段0 v2：AIHOT 同款分区制 + 可折叠每日列表） ===
   2026-08-03 子页面模板统一：padding 顶部 0（表头框与右栏 rp-header 顶部对齐），左右 20px 保留 */
.daily-page { padding: 0 20px; }

/* 日报页：旧报纸风报头类（daily-masthead/daily-eyebrow/daily-title 等）已随
   2026-08-03 CEO 子页面模板统一移除——表头改用全局 .subpage-* 类 + .tl-header 容器 */



/* 分区制 */
.daily-section { margin-bottom: 34px; }
.daily-section-header { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.daily-section-no { font-family: var(--font-mono); color: var(--accent); font-size: 15px; font-weight: 600; }
.daily-section-title { font-size: 20px; margin: 0; }
.daily-section-subtitle { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.daily-section-count { margin-left: auto; font-size: 13px; color: var(--text-secondary); white-space: nowrap; }
.daily-section-count strong { color: var(--accent); }
.daily-section-articles { display: flex; flex-direction: column; gap: 14px; }

/* 条目 */
.daily-article { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 10px; padding: 16px 18px; transition: border-color .15s; }
.daily-article:hover { border-color: var(--accent-secondary); }
.daily-article--lead { border-left: 3px solid var(--accent); }
.daily-article-title { font-size: 17px; margin: 0 0 6px; line-height: 1.45; }
.daily-article-title a { color: inherit; text-decoration: none; }
.daily-article-title a:hover { color: var(--accent); }
.daily-article-source { display: flex; gap: 10px; font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.daily-src { color: var(--accent-secondary); }
.daily-article-time { color: var(--text-muted); }
.daily-article-summary { font-size: 14px; color: var(--text-secondary); margin: 0 0 8px; line-height: 1.6; }
.daily-article-reason { font-size: 12.5px; color: var(--text-muted); border-left: 2px solid var(--border-subtle); padding-left: 10px; margin-top: 8px; }
.daily-reason-label { color: var(--accent); }

/* 今日导读（置顶：报头下，卡片式） */
.daily-summary { margin: 24px 0 34px; padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 12px; }
.daily-summary-heading { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.daily-summary-title { font-size: 21px; margin-bottom: 12px; line-height: 1.35; }
.daily-summary .article-content { font-size: 14.5px; line-height: 1.75; }

/* 右栏：每日日报列表（按钮式，当前期高亮停留提示——tln-current 同款逻辑） */
.daily-archive { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 0; }
.daily-arch-btn { display: block; padding: 9px 12px; font-size: 13px; font-family: var(--font-mono);
    color: var(--text-secondary); border: 1px solid var(--border-card); border-radius: 6px;
    background: var(--bg-card); text-decoration: none; text-align: left; }
.daily-arch-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--accent-secondary); }
.daily-arch-btn-active { border-left: 2px solid var(--accent); background: rgba(0, 212, 255, 0.03); color: var(--text-primary); }
.rp-empty { padding: 14px 4px; font-size: 13px; color: var(--text-secondary); }

/* 移动端：报头紧凑 + 期切换换行 */
@media (max-width: 640px) {
    .daily-page { padding: 16px 14px; }
    .daily-title { font-size: 23px; }
    .daily-article { padding: 12px 14px; }
    .daily-section-header { flex-wrap: wrap; }
}

/* ═══════════ 专题聚合页（Special Topics · 2026-08-02 阶段1） ═══════════ */
/* 设计定稿：Demo v3.1 —— 中栏横向专题框（固定）+ 右栏文章列表（点击切换）+ 中栏正文阅读 */

/* ── 中栏横向专题框 ── */
.special-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.special-card {
    display: flex; align-items: stretch;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
}
.special-card:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); transform: translateY(-1px); }
.special-card.active { border-color: rgba(0,212,255,0.45); background: rgba(0,212,255,0.03); }
.special-card.active::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--accent); border-radius: 3px 0 0 3px;
}
.special-img { width: 168px; min-width: 168px; min-height: 150px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.special-img-icon { font-size: 42px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35)); }
.special-img-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.45); color: rgba(255,255,255,0.85); letter-spacing: 0.5px; }
.special-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; }
.special-title { font-size: 17px; font-weight: 700; letter-spacing: 0.2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.special-title-en { font-size: 11px; color: var(--text-muted, rgba(255,255,255,0.35)); font-family: var(--font-mono, monospace); letter-spacing: 1px; font-weight: 400; }
.special-desc { font-size: 13px; color: var(--text-secondary, rgba(255,255,255,0.62)); line-height: 1.65; margin-top: 8px; flex: 1; }
.special-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--text-muted, rgba(255,255,255,0.35)); }
.special-meta .count { color: var(--accent); font-family: var(--font-mono, monospace); }
.special-arrow { font-size: 13px; color: var(--text-muted, rgba(255,255,255,0.35)); margin-left: auto; transition: transform 0.2s, color 0.2s; }
.special-card:hover .special-arrow { color: var(--accent); }

/* ═══ 专题内页（special_topic.html，CEO 2026-08-03 定稿：无图信息卡） ═══ */
.pt-list { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 40px; }
.pt-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color .15s, transform .15s;
}
.pt-card:hover { border-color: var(--accent-secondary); transform: translateY(-1px); }
.pt-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pt-pill { font-size: 10px; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.5px; background: rgba(47,125,87,0.22); color: #5ecf96; border: 1px solid rgba(47,125,87,0.35); }
/* 🔴 政策级别 pill（阶段2.5 CEO 定稿：全国政策/地方政策）——次级标签，与 pt-pill 同排 */
.pt-level { font-size: 10px; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.5px; }
.pt-level-national-policy { background: rgba(94,207,150,0.15); color: #7fe0b0; border: 1px solid rgba(94,207,150,0.4); }
.pt-level-local-policy { background: rgba(96,165,250,0.14); color: #7cb8f8; border: 1px solid rgba(96,165,250,0.38); }
.pt-source { font-size: 12px; color: var(--text-secondary); }
.pt-date { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.pt-doc { font-size: 11.5px; color: rgba(94,207,150,0.85); font-family: var(--font-mono); background: rgba(47,125,87,0.12); border: 1px solid rgba(47,125,87,0.25); padding: 2px 8px; border-radius: 6px; }
.pt-title { font-size: 19px; font-weight: 700; line-height: 1.4; margin: 10px 0 6px; }
.pt-card:hover .pt-title { color: var(--accent); }
.pt-summary { font-size: 14px; color: var(--text-secondary); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: 47.6px; }  /* 🔴 2026-08-15：flex item blockify 兜底截断 */
.pt-foot { margin-top: 12px; font-size: 12.5px; color: var(--accent); font-weight: 500; }
.pt-foot .arr { transition: transform .15s; display: inline-block; }
.pt-card:hover .arr { transform: translateX(3px); }
.pt-empty {
    border: 1px dashed var(--border-card); border-radius: 12px;
    padding: 48px 20px; text-align: center;
    color: var(--text-muted); font-size: 13px; line-height: 1.8;
}

/* ── 右栏「专题导读」（SSR 分区折叠：每专题一个 details，top5 点击排行）──
   2026-08-03 CEO：分区名称加框包裹（对齐 .daily-arch-btn 按钮式风格） */
.sg-item { }
.sg-summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 10px 6px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary, #e8edf5);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    background: var(--bg-card, rgba(255,255,255,0.04));
    transition: background 0.15s, border-color 0.15s;
}
.sg-summary::-webkit-details-marker { display: none; }
.sg-summary:hover { background: var(--bg-card-hover, rgba(255,255,255,0.07)); border-color: var(--accent-secondary); }
.sg-item[open] .sg-summary { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.04); }
.sg-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sg-count { font-size: 11px; font-family: var(--font-mono, monospace); color: var(--text-muted, rgba(255,255,255,0.35)); }
.sg-arrow { margin-left: auto; font-size: 12px; color: var(--text-muted, rgba(255,255,255,0.35)); transition: transform 0.2s, color 0.2s; }
.sg-item[open] .sg-arrow { transform: rotate(180deg); color: var(--accent); }
.sg-body { display: flex; flex-direction: column; padding: 0 10px 8px; }
.sg-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    margin: 0 0 6px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.sg-link:hover { background: rgba(255,255,255,0.025); border-color: rgba(255,255,255,0.05); }
.sg-link.current { background: rgba(0,212,255,0.04); border-color: rgba(0,212,255,0.25); }
.sg-rank {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 6px;
    background: var(--bg-card, rgba(255,255,255,0.04));
    border: 1px solid var(--border-card);
    font-size: 11px;
    font-family: var(--font-mono, monospace);
    color: var(--text-secondary, rgba(255,255,255,0.62));
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-link.current .sg-rank { color: var(--accent); border-color: rgba(0,212,255,0.4); }
.sg-link-main { flex: 1; min-width: 0; }
.sg-link-title { display: block; font-size: 13px; line-height: 1.5; color: var(--text-primary, #e8edf5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-link.current .sg-link-title { color: var(--accent); }
.sg-link-meta { display: block; margin-top: 4px; font-size: 11px; color: var(--text-muted, rgba(255,255,255,0.35)); font-family: var(--font-mono, monospace); }
.sg-note { margin: 4px 10px 0; padding: 10px 12px; font-size: 11.5px; color: var(--text-muted); border: 1px dashed var(--border-card); border-radius: 8px; }

/* ── 文章正文视图（中栏） ── */
.article-view { display: none; }
.article-view.visible { display: block; animation: splFadeIn 0.18s ease; }
@keyframes splFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* ── 文章正文视图（中栏，式样对齐通用文章页 article.css）──
   旧自定义类 art-head/art-topline/art-pill/art-title/art-meta 已随
   2026-08-02 CEO 指令移除——正文视图改用标准 .article-page/.art-header
   结构（article.css 定义）。仅保留专题特有：文号样式。 */
.art-header-doc {
    color: rgba(94, 207, 150, 0.85);
    font-family: var(--font-mono, monospace);
    font-size: 12px;
}
.art-body-note {
    font-size: 12px; color: var(--text-muted, rgba(255,255,255,0.35));
    padding: 10px 14px; border: 1px dashed var(--border-card);
    border-radius: 8px; margin-bottom: 16px;
}

/* ── 右栏专题文章列表（覆盖本页 right_content）──
   条目式样对齐通用文章页右栏（tln-item）：圆角 + 留空 + hover 提亮 */
.rp-list { padding: 8px 0 20px; }
.rp-item {
    display: block;
    padding: 10px 12px;
    margin: 0 10px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer; position: relative;
}
.rp-item:hover { background: rgba(255,255,255,0.025); border-color: rgba(255,255,255,0.05); }
.rp-item.current {
    background: rgba(0,212,255,0.05);
    border-color: rgba(0,212,255,0.18);
}
.rp-item.current::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 3px; background: var(--accent); border-radius: 2px; }
.rp-item.current .rp-item-title { color: var(--accent); }
.rp-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rp-pill { font-size: 10px; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.5px; }
.rp-pill-policy { background: rgba(47,125,87,0.22); color: #5ecf96; border: 1px solid rgba(47,125,87,0.35); }
.rp-pill-arena { background: rgba(190,58,58,0.2); color: #e58a8a; border: 1px solid rgba(190,58,58,0.35); }
.rp-source { font-size: 11px; color: var(--text-muted, rgba(255,255,255,0.35)); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rp-item-title { font-size: 13.5px; line-height: 1.55; color: var(--text-primary, #e8edf5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-item-foot { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 11px; color: var(--text-muted, rgba(255,255,255,0.35)); font-family: var(--font-mono, monospace); }
.rp-empty { padding: 48px 20px; text-align: center; color: var(--text-muted, rgba(255,255,255,0.35)); font-size: 13px; }

/* ── 移动端 ≤900px：右栏折叠到下方（与全站一致） ── */
@media (max-width: 900px) {
    .special-img { width: 110px; min-width: 110px; min-height: 120px; }
}
