/* ============================================================
   黑金体育门户模板 style.css （参照 recksmobili.com 风格自实现）
   设计语言：深色导航 + 黄色高亮 + 浅蓝渐变 Hero + 圆角卡片
   ============================================================ */
:root {
    --dark: #212529;
    --darker: #141522;
    --navy: #1d3557;
    --yellow: #ffc107;
    --yellow-dark: #e0a800;
    --blue: #417fff;
    --blue-dark: #2f65d4;
    --primary: #0d6efd;
    --success: #198754;
    --warning: #ffc107;
    --info: #0dcaf0;
    --danger: #dc3545;
    --text: #212529;
    --muted: #6c757d;
    --bg-light: #f8f9fa;
    --border: #dee2e6;
    --radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--text);
    background: #fff; overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-danger { color: var(--danger) !important; }

/* ================= 顶部导航 header-2 ================= */
.site-header {
    background: var(--dark);
    position: sticky; top: 0; z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 68px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand-text { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-register {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--yellow); color: #212529; font-weight: 500; font-size: .9rem;
    padding: 7px 16px; border-radius: 8px; transition: .3s;
}
.btn-register:hover { background: var(--yellow-dark); color: #fff; box-shadow: 0 2px 6px rgba(255, 193, 7, .4); }
.main-nav { order: 3; width: 100%; display: none; }
.main-nav.open { display: block; }
.main-nav ul { display: flex; flex-direction: column; padding: 8px 0 14px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
    display: block; color: #fff; margin: 2px 0; padding: 8px 12px;
    border-radius: 6px; font-size: .98rem; transition: .3s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a {
    color: var(--yellow); background: rgba(255, 255, 255, .1);
}
.main-nav .dropdown { display: none; background: #2b3035; border-radius: 8px; padding: 6px; margin-top: 4px; }
.main-nav li:hover .dropdown { display: block; }
.main-nav .dropdown a { color: #ced4da; font-size: .9rem; padding: 6px 12px; display: block; border-radius: 6px; }
.main-nav .dropdown a:hover { color: var(--yellow); background: rgba(255, 255, 255, .08); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 38px; padding: 8px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 992px) {
    .nav-bar { flex-wrap: nowrap; }
    .main-nav { order: 2; width: auto; display: block !important; }
    .main-nav ul { flex-direction: row; align-items: center; padding: 0; }
    .main-nav > ul > li { margin: 0 6px; }
    .main-nav > ul > li > a { margin: 0; padding: 6px 10px; }
    .main-nav .dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 160px; display: none; box-shadow: var(--shadow); }
    .nav-toggle { display: none; }
}

/* ================= Hero hero-5 ================= */
.sec-hero { background: linear-gradient(to bottom, #e0efff, #fff); padding: 90px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.sec-hero h1 { font-size: 38px; color: #1a1a1a; margin-bottom: 14px; }
.hero-slogan { font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.hero-desc { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 24px; }
.btn-hero5 {
    display: inline-block; background: var(--blue); color: #fff;
    padding: 12px 26px; font-weight: 700; border-radius: 10px; font-size: 16px; transition: .3s;
}
.btn-hero5:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(65, 127, 255, .35); }
.hero-media { text-align: center; }
.hero-media img { max-height: 400px; border-radius: 16px; box-shadow: 0 16px 40px rgba(31, 63, 128, .18); }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } .hero-media { margin-top: 0; } }
@media (max-width: 767px) { .sec-hero { padding: 56px 0 48px; } .sec-hero h1 { font-size: 28px; } }

/* ================= 通用 section ================= */
section { padding: 64px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 760px; margin: 0 auto; }

/* ================= 公司简介 about-14 ================= */
.sec-about { background: #fff; }
.sec-about h2 { text-align: center; color: var(--primary); margin-bottom: 26px; font-size: 28px; }
.about-text { max-width: 900px; margin: 0 auto; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-media { margin-top: 40px; }
.about-media img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* ================= 数据快照 stats-5 ================= */
.sec-stats { background: var(--bg-light); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; padding-top: 1rem; }
.stats-item {
    display: flex; align-items: center; gap: 1.25rem;
    background: #fff; padding: 1.5rem; border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05); transition: .3s;
}
.stats-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.stats-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #f1f3f5; border-radius: 50%; font-size: 22px;
}
.stats-data h5 { font-size: 1rem; margin-bottom: 2px; }
.stats-data .num { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.stats-data small { color: var(--muted); }

/* ================= 安全流程 security-7 ================= */
.sec-security { background: linear-gradient(to bottom, #fdfdfd, #e6ecf3); }
.security-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.security-visual img { width: 100%; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.sec-security h2 { font-size: 28px; font-weight: 700; margin-bottom: 22px; color: #212529; }
.security-step {
    display: flex; align-items: flex-start; gap: 15px;
    background: #fff; padding: 15px 20px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05); transition: .3s; margin-bottom: 16px;
}
.security-step:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, .08); }
.step-icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.step-icon.bg-primary { background: var(--primary); }
.step-icon.bg-success { background: var(--success); }
.step-icon.bg-warning { background: var(--warning); color: #212529; }
.step-icon.bg-danger { background: var(--danger); }
.security-step h5 { margin-bottom: 4px; font-size: 1.05rem; }
.security-step p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (min-width: 768px) { .security-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 版本更新 update-11 ================= */
.sec-update { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.sec-update h2 { color: #fff; text-align: center; margin-bottom: 10px; font-size: 28px; }
.sec-update .sec-sub { color: rgba(255, 255, 255, .85); text-align: center; margin-bottom: 34px; }
.accordion-item { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); border: none; }
.accordion-toggle { display: block; cursor: pointer; }
.accordion-title {
    padding: 1.15rem 1.5rem; font-weight: 600; color: var(--navy); background: #f8f9fa;
    display: flex; align-items: center; gap: 8px; transition: .3s; position: relative;
}
.accordion-toggle:hover .accordion-title { background: #eef2f7; }
.accordion-title::after {
    content: "+"; position: absolute; right: 1.5rem; font-size: 20px; color: var(--primary); transition: .3s;
}
.accordion-item.open .accordion-title { background: #e3f2fd; color: var(--primary); }
.accordion-item.open .accordion-title::after { content: "-"; }
.accordion-body { display: none; padding: 1rem 1.5rem 1.2rem; font-size: .95rem; color: #333; background: #fff; }
.accordion-item.open .accordion-body { display: block; }
.accordion-body li { line-height: 1.7; margin-bottom: .4rem; padding-left: 1.2rem; position: relative; }
.accordion-body li::before { content: "•"; color: var(--primary); position: absolute; left: 0; }

/* ================= 品牌使命 mission-3 ================= */
.sec-mission { background: linear-gradient(to right, #111827, #1f2937); position: relative; overflow: hidden; }
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.mission-media img { width: 100%; border-radius: 14px; box-shadow: 0 14px 36px rgba(0, 0, 0, .35); }
.sec-mission h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.sec-mission h2 .flag { color: var(--yellow); margin-right: 8px; }
.sec-mission p { font-size: 1rem; color: #ccc; line-height: 1.8; margin-bottom: 16px; }
.mission-list li { margin-bottom: 1rem; font-size: 1rem; color: #ddd; display: flex; align-items: flex-start; line-height: 1.6; }
.mission-list .mi { font-size: 1.1rem; min-width: 26px; color: var(--info); }
.mission-list strong { color: #fff; }
@media (min-width: 992px) { .mission-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 推荐热讯 news-3 ================= */
.sec-news { background: var(--bg-light); }
.news-wrapper { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.news-card {
    display: flex; flex-direction: column;
    background: #f8f9fa; min-height: 160px;
    border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.news-img-wrap { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; background: #e9ecef; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-body { padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.news-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-body h3 a { color: #212529; }
.news-body h3 a:hover { color: var(--primary); }
.news-excerpt { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.news-foot { display: flex; justify-content: space-between; align-items: center; }
.news-foot time { font-size: .82rem; color: var(--muted); }
.news-more { font-size: .85rem; font-weight: 600; color: var(--primary); }
.news-more::after { content: " ›"; }
@media (min-width: 768px) {
    .news-card { flex-direction: row; }
    .news-img-wrap { width: 240px; min-height: 160px; max-height: 180px; height: auto; }
}

/* ================= App CTA app-14 ================= */
.sec-appcta { background: linear-gradient(135deg, #1e1f34, #141522); color: #fff; }
.appcta-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.rating-box {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(0, 0, 0, .4); border-radius: 999px; padding: 8px 16px; margin-bottom: 18px;
}
.rating-box .stars { color: var(--warning); letter-spacing: 2px; }
.rating-box .rating-txt { font-size: .85rem; }
.rating-box .rating-txt span { color: rgba(255, 255, 255, .55); }
.sec-appcta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.sec-appcta .appcta-desc { color: rgba(255, 255, 255, .65); margin-bottom: 18px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.app-badges span {
    font-size: .85rem; padding: .35rem .8rem; border-radius: 999px;
    background: rgba(255, 255, 255, .25); color: #fff; border: 1px solid rgba(255, 255, 255, .5);
}
.btn-glass {
    display: inline-block; background: rgba(255, 255, 255, .15); color: #fff;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
    padding: 10px 26px; font-weight: 600; transition: .3s; backdrop-filter: blur(4px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .25); color: #fff; transform: translateY(-2px); }
.btn-outline-light5 {
    display: inline-block; background: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px;
    padding: 10px 26px; font-weight: 600; transition: .3s; margin-left: 12px;
}
.btn-outline-light5:hover { background: #fff; color: #141522; }
.appcta-media img { width: 100%; border-radius: 18px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
@media (min-width: 992px) { .appcta-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 页脚 footer-10 ================= */
.site-footer {
    background: linear-gradient(rgba(0, 0, 0, .88), rgba(0, 0, 0, .88)), #10151c;
    background-size: cover; background-position: center;
    color: #f8f9fa; padding: 56px 0 16px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid #495057; }
.site-footer h6 { color: #fff; text-transform: uppercase; font-size: .98rem; margin-bottom: 16px; letter-spacing: .5px; }
.site-footer h6 .fi { margin-right: 6px; }
.site-footer .flist { font-size: .88rem; }
.site-footer .flist li { margin-bottom: 10px; color: rgba(255, 255, 255, .5); }
.site-footer .flist a { color: rgba(255, 255, 255, .5); }
.site-footer .flist a:hover { color: var(--yellow); }
.footer-brand-col { text-align: left; }
.footer-brand-col img { height: 48px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand-col p { font-size: .82rem; color: rgba(255, 255, 255, .5); margin-bottom: 6px; line-height: 1.8; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
    padding-top: 20px; font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: rgba(255, 255, 255, .5); }
.footer-links a:hover { color: var(--yellow); }
.footer-friends { padding-top: 16px; font-size: .8rem; color: rgba(255, 255, 255, .4); }
.footer-friends ul { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-friends .friends-label { color: rgba(255, 255, 255, .65); }
.footer-friends a { color: rgba(255, 255, 255, .45); }
.footer-friends a:hover { color: var(--yellow); }
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand-col { text-align: right; }
}

/* ================= 面包屑 ================= */
.breadcrumb-nav { padding: 16px 0 4px; font-size: .9rem; color: var(--muted); }
.breadcrumb-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb-nav li { display: flex; align-items: center; gap: 6px; }
.breadcrumb-nav a { color: var(--muted); }
.breadcrumb-nav a:hover { color: var(--primary); text-decoration: underline; }
.page-top-space { padding-top: 36px; padding-bottom: 56px; background: var(--bg-light); }
.page-top-space.white { background: #fff; }

/* ================= 列表页 list-13 ================= */
.sec-list { background: #fff; padding: 40px 0 64px; }
.nav-scroll { display: flex; overflow-x: auto; gap: 10px; margin-bottom: 24px; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a, .nav-scroll span.badge-pill {
    flex-shrink: 0; display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-size: .88rem; text-decoration: none; border: 1px solid var(--border);
    background: #fff; color: #212529; transition: .3s;
}
.nav-scroll a:hover, .nav-scroll .badge-pill.on {
    background: var(--dark); border-color: var(--dark); color: var(--yellow);
}
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.list-card {
    display: block; background: var(--bg-light); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; height: 100%;
    box-shadow: var(--shadow-sm); transition: .3s; color: var(--text);
}
.list-card:hover { transform: translateY(-4px); box-shadow: 0 0 12px rgba(0, 0, 0, .1); }
.list-card .thumb { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #e9ecef; }
.list-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.list-card:hover .thumb img { transform: scale(1.05); }
.list-card .info { padding: 14px 16px 16px; }
.list-card h3 { font-size: 1rem; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; }
.list-empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* 纵向列表（block/article-list） */
.list-rows { display: grid; gap: 18px; }
.list-row {
    display: flex; gap: 18px; background: var(--bg-light); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden; transition: .3s;
}
.list-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.list-row .thumb { width: 220px; flex-shrink: 0; position: relative; padding-top: 0; min-height: 150px; background: #e9ecef; }
.list-row .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list-row .info { padding: 16px 18px 16px 0; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.list-row h4 { font-size: 1.02rem; }
.list-row h4 a { color: var(--text); }
.list-row h4 a:hover { color: var(--primary); }
.list-row .desc { font-size: .85rem; color: var(--muted); margin: 8px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list-row .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; }
@media (max-width: 576px) { .list-row { flex-direction: column; } .list-row .thumb { width: 100%; padding-top: 56.25%; } .list-row .info { padding: 14px 16px 16px; } }

/* ================= 文章详情 article-8 ================= */
.sec-article { background: var(--bg-light); padding: 40px 0 64px; }
.article-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .88rem; color: var(--muted); }
.article-topbar a { color: var(--muted); }
.article-topbar a:hover { color: var(--primary); text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.article-head-card { background: #fff; padding: 26px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.article-head-card h1 { font-size: 1.3rem; line-height: 1.45; word-break: break-all; }
.article-head-card .detail-meta { margin-top: 14px; font-size: .82rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.article-body-card { background: #fff; padding: 30px 34px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.article-body { line-height: 1.9; font-size: 16px; color: #333; word-break: break-word; }
.article-body p { margin-bottom: 1rem; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.5rem 0 1rem; }
.article-body img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: .75rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.article-body blockquote { background: #f8f9fa; padding: .8rem 1.2rem; color: #555; margin: 1.5rem 0; border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.article-body table th, .article-body table td { border: 1px solid var(--border); padding: 8px 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.detail-tags a { background: #eef2f7; color: #495057; font-size: .8rem; padding: 4px 12px; border-radius: 999px; transition: .3s; }
.detail-tags a:hover { background: var(--primary); color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.article-nav .nav-cell { background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-sm); font-size: .9rem; }
.article-nav .nav-cell.next { text-align: right; }
.article-nav .nav-cell p { color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.article-nav .nav-cell a { color: var(--text); }
.article-nav .nav-cell a:hover { color: var(--primary); }
@media (max-width: 767px) { .article-nav { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .article-layout { grid-template-columns: 1fr 2fr; } }
.related-section { margin-top: 26px; background: #fff; border-radius: 12px; padding: 24px 26px; box-shadow: var(--shadow-sm); }
.related-section h3 { font-size: 1.1rem; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related-card .thumb { display: block; border-radius: 10px; overflow: hidden; padding-top: 56.25%; position: relative; background: #e9ecef; }
.related-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.related-card:hover .thumb img { transform: scale(1.05); }
.related-card h4 { font-size: .9rem; margin: 10px 0 4px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card h4 a { color: var(--text); }
.related-card h4 a:hover { color: var(--primary); }
.related-card .date { font-size: .78rem; color: var(--muted); }

/* ================= 侧边栏 widget ================= */
.widget { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 22px; overflow: hidden; }
.widget-title { font-size: 1.05rem; font-weight: 700; padding: 16px 20px; border-bottom: 1px solid var(--border); position: relative; }
.widget-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--yellow); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.widget-body { padding: 16px 20px; }
.hot-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eee; }
.hot-list li:last-child { border-bottom: 0; }
.hot-num {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    background: #eef2f7; color: var(--muted); font-size: .8rem; font-weight: 700;
}
.hot-list li:nth-child(1) .hot-num { background: var(--danger); color: #fff; }
.hot-list li:nth-child(2) .hot-num { background: #fd7e14; color: #fff; }
.hot-list li:nth-child(3) .hot-num { background: var(--warning); color: #212529; }
.hot-main a { color: var(--text); font-size: .92rem; display: block; line-height: 1.45; }
.hot-main a:hover { color: var(--primary); }
.item-date { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.plain-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.plain-list li:last-child { border-bottom: 0; }
.plain-list a { font-size: .92rem; color: var(--text); display: block; line-height: 1.45; }
.plain-list a:hover { color: var(--primary); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #f1f3f5; color: #495057; font-size: .82rem; padding: 5px 14px; border-radius: 999px; transition: .3s; }
.tag-cloud a:hover { background: var(--primary); color: #fff; }
.widget-side { display: none; }
@media (min-width: 992px) { .widget-side { display: block; } }

/* ================= 通用两栏内容布局 ================= */
.content-wrapper { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; padding: 26px 0 60px; }
@media (min-width: 992px) { .content-wrapper { grid-template-columns: minmax(0, 1fr) 320px; } }
.content-wrapper .main-content { min-width: 0; }
.content-wrapper .main-content > .widget:first-child { margin-top: 0; }
.page-section-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 24px 26px; }
.page-section-card > h3.cat-title { font-size: 1.15rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.page-section-card > h3.cat-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--yellow); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }

/* ================= 单页 articlePage ================= */
.page-single { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 34px 36px 44px; margin: 24px 0 60px; }
.page-single-head { text-align: center; margin-bottom: 26px; }
.page-single-head h1 { font-size: 1.6rem; }
.page-single-line { display: block; width: 56px; height: 4px; background: var(--yellow); border-radius: 2px; margin: 14px auto 0; }
.page-single .article-body, .page-single .detail-body { max-width: 860px; margin: 0 auto; }

/* ================= 分页 ================= */
.pagination-wrap { margin-top: 28px; }
.pagination-wrap .pagination, .pagination-wrap ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.pagination-wrap a, .pagination-wrap span {
    display: block; padding: 8px 14px; font-size: 14px; border-radius: 10px;
    border: 1px solid var(--border); color: #475569; background: #fff; transition: .3s;
}
.pagination-wrap a:hover { border-color: var(--blue); color: var(--blue); }
.pagination-wrap .active a, .pagination-wrap .active, .pagination-wrap span.current {
    background: var(--dark); border-color: var(--dark); color: var(--yellow);
}

/* ================= 搜索 / so ================= */
.search-section { padding: 44px 0 10px; text-align: center; }
.search-section h2 { font-size: 1.4rem; margin-bottom: 18px; }
.search-form { display: flex; max-width: 560px; margin: 0 auto 20px; }
.search-form input[type="text"] {
    flex-grow: 1; border: 1px solid var(--border); border-right: 0; border-radius: 10px 0 0 10px;
    padding: 12px 16px; font-size: 15px; outline: none;
}
.search-form input[type="text"]:focus { border-color: var(--blue); }
.search-form input[type="submit"] {
    border: 0; border-radius: 0 10px 10px 0; background: var(--dark); color: var(--yellow);
    font-weight: 700; padding: 12px 26px; cursor: pointer;
}
.empty-tip { padding: 56px 0; text-align: center; color: var(--muted); }
.empty-emoji { font-size: 44px; margin-bottom: 12px; }

/* ================= 标签页头 ================= */
.tag-detail-header { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 22px 26px; margin-bottom: 22px; }
.tag-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--dark); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; }
.tag-info h2 { font-size: 1.25rem; }
.tag-info p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ================= 回到顶部 ================= */
#backTop {
    position: fixed; right: 18px; bottom: 26px; z-index: 1040;
    width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--dark); color: var(--yellow); font-size: 18px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25); display: none; align-items: center; justify-content: center;
    transition: .3s;
}
#backTop:hover { transform: translateY(-3px); }

/* ================= 自定义页 diy ================= */
.diy-page { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 34px 36px; margin: 24px 0 60px; }
.diy-page h1 { font-size: 1.5rem; margin-bottom: 18px; }

/* ================= 杂项 ================= */
::selection { background: var(--yellow); color: #212529; }
.mip-fixed { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
