/* ============================================================
   TEMP-05 · 体育新闻编辑部模板 · Sports News Editorial
   风格：纸白亮底 + 深墨蓝主色 + 新闻红强调 + 麦金辅助
   纯 HTML5/CSS3，无 MIP 依赖；交互均为渐进增强
   ============================================================ */
:root {
    --paper: #f6f7fb;
    --paper-2: #eef1f8;
    --card: #ffffff;
    --ink: #0b1a3a;
    --ink-2: #17274d;
    --muted: #5b6b8a;
    --line: rgba(11, 26, 58, 0.10);
    --line-2: rgba(11, 26, 58, 0.18);
    --press: #d4213a;
    --press-2: #a3162a;
    --gold: #d4a017;
    --gold-2: #f0b52a;
    --live: #d4213a;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(11, 26, 58, 0.08);
    --shadow-hover: 0 14px 34px rgba(11, 26, 58, 0.14);
    --grad-press: linear-gradient(135deg, #d4213a, #a3162a);
    --grad-gold: linear-gradient(135deg, #f0b52a, #d4a017);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.2s, opacity 0.2s, transform 0.2s; }
a:hover { color: var(--press); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 12px; font-weight: 700; color: var(--ink); }
p { margin: 0 0 12px; color: var(--ink-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1240px, 92%); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 顶部 BREAKING 条 ---------- */
.breaking-bar {
    background: var(--ink);
    color: #dbe3f4;
    font-size: 0.82rem;
    border-bottom: 3px solid var(--press);
}
.breaking-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.breaking-bar .brk-tag { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; font-weight: 700; letter-spacing: 1px; }
.breaking-bar .brk-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--press); box-shadow: 0 0 8px var(--press); animation: pulse 1.4s infinite; }
.breaking-bar .brk-text { color: #a8b6d3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; padding: 0 14px; }
@keyframes pulse { 50% { opacity: 0.35; } }
.breaking-bar .bar-links a { color: #a8b6d3; margin-left: 14px; }
.breaking-bar .bar-links a:hover { color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 800; letter-spacing: 0.6px; }
.brand:hover { color: var(--ink); }
.brand .brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--grad-press); color: #fff; font-size: 0.86rem; font-weight: 900; letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(212, 33, 58, 0.35);
}
.brand .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-sub { display: block; font-size: 0.66rem; font-weight: 500; color: var(--muted); letter-spacing: 3.5px; margin-top: 2px; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
    display: block; padding: 10px 15px; border-radius: 8px;
    color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.main-nav a:hover { color: var(--press); background: var(--paper-2); }
.main-nav li.active a { color: var(--press); background: var(--paper-2); font-weight: 700; }
.main-nav li.active a:hover { color: var(--press); }
.header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px;
}
.header-cta:hover { color: #fff; background: var(--press); }
.header-cta i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
.nav-close { display: none; background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    padding: 34px 0 12px;
    background: linear-gradient(180deg, #ffffff 0%, var(--paper) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.hero-main { min-height: 400px; position: relative; }
.hero-kicker {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    background: var(--grad-press); color: #fff; font-weight: 700; font-size: 0.75rem; letter-spacing: 2.5px;
    margin-bottom: 12px;
}
.hero-card {
    display: block; position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); background: var(--card);
    transition: transform 0.4s, box-shadow 0.4s;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hc-mask {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
    background: linear-gradient(180deg, rgba(11,26,58,0) 0%, rgba(11,26,58,0.85) 65%, rgba(11,26,58,0.95) 100%);
    color: #fff;
}
.hc-cat {
    display: inline-block; padding: 3px 10px; border-radius: 4px;
    background: var(--press); color: #fff; font-size: 0.72rem; letter-spacing: 2px; font-weight: 700;
    margin-bottom: 8px;
}
.hc-mask h1 { color: #fff; font-size: 1.6rem; line-height: 1.35; margin: 0 0 6px; font-weight: 800; }
.hc-mask p { color: #d3dcef; margin: 0 0 10px; font-size: 0.92rem; line-height: 1.6; }
.hc-meta { display: flex; gap: 16px; color: #a8b6d3; font-size: 0.78rem; }
.hero-mosaic {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
    min-height: 400px;
}
.hero-mosaic a {
    position: relative; display: block; border-radius: var(--radius); overflow: hidden;
    background: var(--card); box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.hero-mosaic a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.msk-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 14px 12px;
    background: linear-gradient(180deg, rgba(11,26,58,0) 0%, rgba(11,26,58,0.85) 70%);
    color: #fff; font-weight: 600; font-size: 0.86rem; line-height: 1.4;
}

/* ---------- Ticker 跑马灯 ---------- */
.ticker {
    background: var(--ink); color: #dbe3f4; padding: 10px 0; margin-top: 26px;
    overflow: hidden; border-top: 3px solid var(--press); border-bottom: 3px solid var(--press);
}
.ticker-track { display: flex; gap: 34px; white-space: nowrap; animation: scroll 40s linear infinite; padding: 0 20px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.tk-item a { color: #dbe3f4; }
.tk-item a:hover { color: var(--gold-2); }
.tk-live { color: var(--press); font-weight: 800; letter-spacing: 1px; font-size: 0.78rem; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- 通用 Section ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper-2); }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.section-title h2 { font-size: 1.5rem; margin: 0 0 4px; letter-spacing: 0.5px; }
.section-title h2::before { content: ""; display: inline-block; width: 6px; height: 20px; background: var(--press); vertical-align: -3px; margin-right: 10px; border-radius: 2px; }
.section-title .sub { color: var(--muted); margin: 0; font-size: 0.86rem; }
.section-title .more { color: var(--press); font-weight: 700; font-size: 0.88rem; padding: 6px 14px; border: 1px solid var(--press); border-radius: 999px; white-space: nowrap; }
.section-title .more:hover { background: var(--press); color: #fff; }

/* ---------- 实时赛况 ---------- */
.score-strip { padding: 28px 0; background: var(--ink); color: #dbe3f4; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.sc-head h2 { color: #fff; font-size: 1.15rem; margin: 0; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.sc-head .dot { width: 10px; height: 10px; background: var(--press); border-radius: 50%; box-shadow: 0 0 8px var(--press); animation: pulse 1.4s infinite; }
.sc-hint { color: #7f8db0; font-size: 0.78rem; }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sc-item {
    display: block; padding: 14px; border-radius: 10px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); color: #dbe3f4; transition: background 0.3s;
}
.sc-item:hover { background: rgba(255,255,255,0.10); color: #fff; }
.sc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sc-league { color: #a8b6d3; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; }
.sc-state { padding: 2px 8px; border-radius: 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 1px; }
.sc-state-live { background: var(--press); color: #fff; animation: pulse 1.4s infinite; }
.sc-state-ft { background: rgba(255,255,255,0.15); color: #dbe3f4; }
.sc-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.sc-row:last-of-type { border-bottom: 0; }
.sc-side { color: #a8b6d3; font-size: 0.82rem; }
.sc-num { color: #fff; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-title { margin-top: 10px; color: #dbe3f4; font-size: 0.85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-item time { color: #7f8db0; font-size: 0.72rem; margin-top: 4px; display: block; }

/* ---------- 栏目矩阵 Feature Cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card .thumb { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.feature-card:hover .thumb img { transform: scale(1.05); }
.fc-no {
    position: absolute; left: 12px; top: 12px; padding: 4px 10px;
    background: var(--ink); color: var(--gold-2); border-radius: 4px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 2px;
}
.fc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.fc-body h3 { font-size: 1.15rem; margin: 0 0 8px; }
.fc-body h3 a { color: var(--ink); }
.fc-body h3 a:hover { color: var(--press); }
.fc-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0 0 12px; flex: 1; }
.fc-link { color: var(--press); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.5px; }

/* ---------- 战报时间线 ---------- */
.tl-wrap { position: relative; padding-left: 0; }
.tl-wrap::before {
    content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 2px; background: var(--line);
}
.tl-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 14px 0; }
.tl-time { text-align: right; color: var(--ink); }
.tl-time b { display: block; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }
.tl-time em { display: block; color: var(--muted); font-size: 0.75rem; font-style: normal; margin-top: 2px; }
.tl-dot {
    position: absolute; left: 84px; top: 22px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--press); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--press);
}
.tl-body { padding-left: 8px; }
.tl-body h3 { font-size: 1.05rem; margin: 0 0 6px; }
.tl-body h3 a { color: var(--ink); }
.tl-body h3 a:hover { color: var(--press); }
.tl-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0 0 6px; }
.tl-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); font-size: 0.72rem; font-weight: 600; }

/* ---------- 双列布局 & 侧栏 ---------- */
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.widget { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.widget h3 { font-size: 1.05rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--press); letter-spacing: 0.5px; }
.widget-panel { background: var(--card); border: 0; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.news-lines li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.news-lines li:last-child { border-bottom: 0; }
.news-lines .no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: var(--paper-2); color: var(--muted); font-size: 0.72rem; font-weight: 800; }
.news-lines li:nth-child(-n+3) .no { background: var(--grad-press); color: #fff; }
.news-lines .t { color: var(--ink); font-size: 0.92rem; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-lines .t a { color: inherit; }
.news-lines .t a:hover { color: var(--press); }
.news-lines time { color: var(--muted); font-size: 0.75rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
    color: var(--ink-2); background: var(--paper-2); font-size: 0.82rem; line-height: 1.4;
    transition: all 0.2s;
}
.tag-cloud a:hover { background: var(--press); color: #fff; border-color: var(--press); }

.widget-cta { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #dbe3f4; }
.widget-cta h3 { color: #fff; border-bottom-color: var(--gold-2); }
.widget-cta p { color: #a8b6d3; margin: 0 0 14px; font-size: 0.86rem; }
.btn-ghost {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--gold-2); color: var(--gold-2); font-weight: 700; font-size: 0.82rem;
}
.btn-ghost:hover { background: var(--gold-2); color: var(--ink); }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-item {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; display: block; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .cat-chip {
    position: absolute; left: 12px; top: 12px; padding: 3px 10px;
    background: var(--grad-press); color: #fff; border-radius: 4px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
}
.news-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.02rem; margin: 0 0 6px; line-height: 1.4; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--press); }
.news-body p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin: 0 0 10px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.76rem; }
.news-meta .nm-hot { color: var(--press); font-weight: 700; }

/* ---------- CTA ---------- */
.cta-banner {
    display: flex; justify-content: space-between; align-items: center; gap: 22px;
    padding: 26px 30px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, var(--press-2) 100%);
    color: #fff; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.cta-banner p { color: #d3dcef; margin: 0; font-size: 0.9rem; }
.btn-gold {
    display: inline-block; padding: 12px 26px; border-radius: 999px;
    background: var(--grad-gold); color: var(--ink); font-weight: 800; letter-spacing: 1px; font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.4);
}
.btn-gold:hover { color: var(--ink); transform: translateY(-2px); }

/* ---------- 内页 ---------- */
.breadcrumb { padding: 12px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--press); }
.breadcrumb li + li::before { content: "/"; color: var(--line-2); margin: 0 4px 0 8px; }

.article-wrap { background: var(--card); padding: 30px 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-wrap.no-data { padding: 30px; text-align: center; color: var(--muted); }
.article-eyebrow { margin-bottom: 6px; }
.cat-chip-inline {
    display: inline-block; padding: 3px 10px; background: var(--grad-press); color: #fff;
    border-radius: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
}
.article-title { font-size: 1.9rem; line-height: 1.35; margin: 0 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 0.82rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.article-meta a { color: var(--muted); }
.article-meta a:hover { color: var(--press); }
.article-cover { margin: 0 0 22px; }
.article-cover img { width: 100%; border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; }
.article-cover figcaption { color: var(--muted); font-size: 0.8rem; margin-top: 8px; text-align: center; }
.article-content { font-size: 1.02rem; line-height: 1.9; color: var(--ink-2); }
.article-content h2 { margin: 26px 0 12px; font-size: 1.3rem; color: var(--ink); padding-left: 12px; border-left: 4px solid var(--press); }
.article-content h3 { margin: 22px 0 10px; font-size: 1.12rem; color: var(--ink); }
.article-content img { border-radius: 8px; margin: 14px 0; }
.article-content p { margin: 0 0 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote { border-left: 4px solid var(--gold); background: var(--paper-2); padding: 12px 16px; margin: 14px 0; color: var(--ink-2); border-radius: 6px; }
.article-content a { color: var(--press); text-decoration: underline; }
.article-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-content th { background: var(--paper-2); }

.article-tags { padding: 14px 0; border-top: 1px dashed var(--line); margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags strong { color: var(--muted); font-weight: 600; font-size: 0.85rem; margin-right: 4px; }
.article-tags a {
    padding: 3px 12px; border-radius: 999px; background: var(--paper-2);
    color: var(--ink-2); font-size: 0.82rem; border: 1px solid var(--line);
}
.article-tags a:hover { background: var(--press); color: #fff; border-color: var(--press); }

.updown { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); margin-top: 18px; }
.updown a { padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 0.88rem; line-height: 1.5; display: block; transition: border-color 0.2s; }
.updown a:hover { border-color: var(--press); color: var(--press); }
.ud-label { display: inline-block; color: var(--muted); font-size: 0.75rem; margin-right: 6px; letter-spacing: 1px; }

.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.gallery-grid a { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3/2; background: var(--paper-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.g-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 8px;
    background: linear-gradient(180deg, rgba(11,26,58,0) 0%, rgba(11,26,58,0.85) 80%);
    color: #fff; font-size: 0.78rem; line-height: 1.4;
}

.pagebar { padding: 26px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagebar .pagination, .pagebar ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagebar a, .pagebar span {
    display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 6px;
    color: var(--ink-2); font-size: 0.88rem; background: var(--card);
}
.pagebar a:hover { border-color: var(--press); color: var(--press); }
.pagebar .active, .pagebar .current { background: var(--press); color: #fff; border-color: var(--press); }

.no-data { padding: 30px; color: var(--muted); text-align: center; background: var(--card); border-radius: var(--radius); }

/* ---------- 搜索表单 ---------- */
.search-form { display: flex; gap: 10px; margin: 18px 0 26px; flex-wrap: wrap; }
.search-form input[type="text"] { flex: 1; min-width: 220px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.95rem; color: var(--ink); }
.search-form input[type="text"]:focus { outline: none; border-color: var(--press); box-shadow: 0 0 0 3px rgba(212, 33, 58, 0.14); }
.search-form input[type="submit"] { padding: 12px 26px; border: 0; border-radius: 999px; background: var(--grad-press); color: #fff; font-weight: 800; letter-spacing: 1.5px; cursor: pointer; }
.search-form input[type="submit"]:hover { transform: translateY(-2px); }

/* ---------- 404 ---------- */
.error-404 { padding: 100px 0; text-align: center; }
.error-404 .code { font-size: 6rem; font-weight: 900; color: var(--press); letter-spacing: 4px; line-height: 1; text-shadow: 0 4px 0 rgba(212,33,58,0.15); }
.error-404 h2 { font-size: 1.4rem; margin: 18px 0 8px; }
.error-404 p { color: var(--muted); margin: 0 0 24px; }
.error-404 a {
    display: inline-block; padding: 12px 28px; border-radius: 999px;
    background: var(--grad-press); color: #fff; font-weight: 800; letter-spacing: 1.5px;
    box-shadow: 0 4px 14px rgba(212, 33, 58, 0.35);
}
.error-404 a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink); color: #a8b6d3; padding: 48px 0 0; margin-top: 60px;
    border-top: 3px solid var(--press);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.fb-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.fb-logo i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--grad-press); color: #fff; font-style: normal; font-weight: 900; font-size: 0.8rem;
}
.footer-brand p { color: #7f8db0; font-size: 0.85rem; margin: 0 0 8px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; letter-spacing: 1px; }
.site-footer ul li { padding: 4px 0; }
.site-footer a { color: #a8b6d3; font-size: 0.86rem; }
.site-footer a:hover { color: var(--gold-2); }
.friend-link { margin-top: 26px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,0.08); color: #7f8db0; font-size: 0.82rem; }
.friend-link a { margin: 0 6px; }
.footer-bottom { padding: 20px 0 26px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; color: #7f8db0; font-size: 0.82rem; }
.footer-bottom a { color: #7f8db0; }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; font-weight: 800; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; z-index: 80;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--press); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main { min-height: 340px; }
    .hero-mosaic { min-height: auto; }
    .sc-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .layout-2col { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .related-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    body { font-size: 15px; }
    .section { padding: 40px 0; }
    .section-title { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section-title h2 { font-size: 1.25rem; }
    .nav-toggle { display: block; order: 3; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: 82%; max-width: 320px;
        background: var(--ink); padding: 60px 20px 20px; z-index: 100;
        transform: translateX(100%); transition: transform 0.3s;
    }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { color: #dbe3f4; padding: 12px 14px; font-size: 1rem; }
    .main-nav a:hover, .main-nav li.active a { background: rgba(212,33,58,0.2); color: #fff; }
    .nav-close { display: block; position: absolute; top: 16px; right: 20px; }
    .header-cta { display: none; }
    .hero-mosaic { grid-template-columns: 1fr 1fr; }
    .hc-mask h1 { font-size: 1.25rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .related-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .breaking-bar .brk-text { display: none; }
    .breaking-bar .container { justify-content: center; }
    .article-title { font-size: 1.5rem; }
    .article-wrap { padding: 22px 18px; }
    .error-404 { padding: 60px 0; }
    .error-404 .code { font-size: 4.5rem; }
    .tl-wrap::before { left: 68px; }
    .tl-item { grid-template-columns: 68px 1fr; gap: 14px; }
    .tl-dot { left: 62px; }
}

/* ---------- 打印 ---------- */
@media print {
    .breaking-bar, .site-header, .site-footer, .back-to-top, .ticker, .nav-toggle, .sidebar, .updown, .cta-banner { display: none !important; }
    body { background: #fff; color: #000; }
    .article-wrap { box-shadow: none; }
}
