/* ============================================================
   xk001 星空体育企业模板 · 自实现样式（无外部依赖）
   参照 www.xinbaoaf.com 视觉规范（已去除全覆盖弹层广告）
   ============================================================ */
:root {
    --xk-deep: #1e3c72;
    --xk-blue: #2a5298;
    --xk-primary: #0d6efd;
    --xk-ink: #212529;
    --xk-muted: #6c757d;
    --xk-line: #dee2e6;
    --xk-bg: #f5f7fb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--xk-ink); background: #fff; line-height: 1.6; font-size: 16px;
}
a { color: var(--xk-ink); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--xk-primary); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.35; font-weight: 700; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
strong { font-weight: 700; }

/* ============ 顶部导航（白色吸顶） ============ */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .96); box-shadow: 0 2px 12px rgba(0, 20, 50, .07);
    backdrop-filter: blur(8px);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 72px; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { max-height: 52px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-register {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--xk-primary); color: #fff; font-weight: 700; font-size: .95rem;
    padding: 9px 22px; border-radius: 8px; box-shadow: 0 4px 12px rgba(13, 110, 253, .3);
    transition: all .3s ease;
}
.btn-register:hover { background: #0b5ed7; color: #fff; transform: translateY(-1px); }
.main-nav { display: none; width: 100%; padding-bottom: 14px; }
.main-nav.open { display: block; }
.main-nav > ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav li { position: relative; }
.main-nav li > a {
    display: block; padding: 10px 16px; border-radius: 8px;
    font-size: .98rem; font-weight: 600; color: #3b4a5f;
}
.main-nav li > a:hover { background: #eef4ff; color: var(--xk-primary); }
.main-nav li.active > a { color: var(--xk-primary); background: #e7f0ff; }
.main-nav .dropdown {
    display: none; position: absolute; left: 0; top: 100%; min-width: 160px;
    background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 20, 50, .12);
    padding: 6px; z-index: 20;
}
.main-nav li:hover > .dropdown { display: block; }
.main-nav .dropdown li a { font-size: .9rem; font-weight: 500; padding: 8px 12px; }
.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 36px; padding: 6px 8px; background: transparent;
    border: 1px solid var(--xk-line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #33415c; border-radius: 2px; transition: all .3s ease; }
.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; min-height: 78px; }
    .main-nav { display: block; width: auto; padding-bottom: 0; flex: 1; }
    .main-nav > ul { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .nav-toggle { display: none; }
}

/* ============ Hero（深蓝渐变 + 波浪） ============ */
.sec-hero {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue));
    padding: 80px 0 130px;
}
.sec-hero h1 { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.sec-hero .hero-lead { font-size: 17px; max-width: 800px; margin: 0 auto 30px; line-height: 1.8; opacity: .92; }
.sec-hero .hero-lead strong { color: #ffd45e; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.btn-hero {
    background: #fff; color: var(--xk-deep); padding: 12px 26px; border-radius: 30px;
    font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15); transition: all .3s ease;
}
.btn-hero:hover { background: var(--xk-blue); color: #fff; transform: translateY(-2px); }
.wave-animation { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; overflow: hidden; z-index: 0; pointer-events: none; }
.wave-animation svg { width: 100%; height: 100%; display: block; }
.wave-animation path { fill: #ffffff; opacity: 1; }
@keyframes waveMove { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-25%); } }
.wave-animation svg { animation: waveMove 6s ease-in-out infinite; }

/* ============ 关于品牌（深色双图文） ============ */
.sec-about { background: linear-gradient(135deg, #1b1f3b, #0a0d22); color: #fff; padding: 72px 0; }
.about-head { text-align: center; margin-bottom: 48px; }
.about-head h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.about-head p { opacity: .72; max-width: 780px; margin: 0 auto; }
.about-card {
    display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px; padding: 28px; margin-bottom: 28px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .2); transition: all .3s ease;
}
.about-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(255, 255, 255, .08); }
.about-media { flex: 1 1 380px; min-width: 260px; }
.about-media img { width: 100%; border-radius: 16px; display: block; }
.about-text { flex: 1 1 380px; }
.about-text h4 { font-size: 21px; margin-bottom: 14px; }
.about-text p { opacity: .75; line-height: 1.85; }
.about-card.reverse { flex-direction: row-reverse; }
@media (max-width: 767px) {
    .about-card, .about-card.reverse { flex-direction: column; text-align: center; padding: 20px; }
}

/* ============ 核心板块（浅紫蓝渐变、图文交替卡） ============ */
.sec-dept { background: linear-gradient(to bottom, #b1afff, #bbe9ff); padding: 56px 0 30px; color: #222; }
.sec-dept .section-title { text-align: center; font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.sec-dept .section-subtitle { text-align: center; font-size: 16px; color: #556; margin-bottom: 40px; }
.dept-item {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    background: #fff; border-radius: 16px; box-shadow: 0 8px 16px rgba(0, 20, 50, .06);
    padding: 36px; margin-bottom: 36px; transition: all .3s ease;
}
.dept-item:hover { box-shadow: 0 12px 28px rgba(0, 20, 50, .1); transform: translateY(-3px); }
.dept-text { flex: 1; }
.dept-text h3 { font-size: 23px; font-weight: 700; margin-bottom: 14px; color: #2c3e50; }
.dept-text p { font-size: 16px; color: #445; line-height: 1.8; }
.dept-img { flex: 0 0 340px; }
.dept-img img { width: 100%; height: auto; border-radius: 12px; object-fit: cover; }
.dept-item:nth-child(even) { flex-direction: row-reverse; }
@media (max-width: 767px) {
    .dept-item, .dept-item:nth-child(even) { flex-direction: column; text-align: center; padding: 24px; }
    .dept-img { flex: 1 1 100%; width: 100%; }
}

/* ============ 数据安全 ============ */
.sec-security { background: linear-gradient(to right, #16222a, #3a6073); color: #fff; padding: 8px 0; }
.security-wrapper { background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px); border-radius: 16px; margin: 32px 0; padding: 44px 8px; }
.security-grid { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.security-text { flex: 1 1 420px; }
.security-text h2 { font-size: 27px; margin-bottom: 16px; }
.security-text > p { opacity: .85; margin-bottom: 20px; line-height: 1.8; }
.security-list li { margin-bottom: 12px; font-size: 1rem; opacity: .92; }
.security-visual { flex: 1 1 260px; text-align: center; }
.security-badge {
    width: 140px; height: 140px; margin: 0 auto; border-radius: 50%;
    background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .3);
    display: flex; align-items: center; justify-content: center; font-size: 52px;
}
.security-note { margin-top: 14px; font-size: .85rem; opacity: .65; }

/* ============ 精选推荐（浅蓝底新闻卡） ============ */
.sec-news { background-color: #e8f9ff; padding: 64px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 27px; color: var(--xk-ink); margin-bottom: 8px; }
.sec-head p { color: var(--xk-muted); font-size: .92rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
    background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05); transition: box-shadow .3s, transform .3s; height: 100%;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
.news-img-wrap { display: block; height: 185px; overflow: hidden; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 14px; }
.news-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.5; }
.news-body h3 a { color: var(--xk-ink); }
.news-body h3 a:hover { color: var(--xk-primary); }
.news-excerpt { color: var(--xk-muted); font-size: .86rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-foot { display: flex; justify-content: space-between; align-items: center; }
.news-date { color: var(--xk-muted); font-size: .82rem; }
.news-more {
    font-size: .82rem; color: #b06d00; border: 1px solid #ffc107; border-radius: 6px;
    padding: 4px 12px; transition: all .25s ease;
}
.news-more:hover { background: #ffc107; color: #212529; }

/* ============ 用户口碑（暖色渐变横滑） ============ */
.sec-judge { background: linear-gradient(135deg, #ffe8cd, #ffedf3); padding: 64px 0; }
.sec-judge .sec-head h2 { font-size: 27px; }
.judge-row { display: flex; overflow-x: auto; gap: 18px; padding-bottom: 14px; -ms-overflow-style: none; scrollbar-width: thin; }
.judge-row::-webkit-scrollbar { height: 8px; }
.judge-row::-webkit-scrollbar-thumb { background: #d5c3b6; border-radius: 4px; }
.judge-card {
    flex: 0 0 300px; background: #fff; border-radius: 16px; padding: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05); transition: all .3s ease;
}
.judge-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.judge-user { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.judge-avatar {
    width: 50px; height: 50px; border-radius: 50%; flex: 0 0 50px; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.15rem; border: 2px solid #dee2e6;
}
.judge-avatar.av1 { background: linear-gradient(135deg, #4facfe, #00c6ff); }
.judge-avatar.av2 { background: linear-gradient(135deg, #f78ca0, #f9748f); }
.judge-avatar.av3 { background: linear-gradient(135deg, #667eea, #764ba2); }
.judge-avatar.av4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.judge-avatar.av5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.judge-user h6 { font-size: .95rem; margin-bottom: 2px; }
.judge-stars { color: #ffc107; font-size: .85rem; letter-spacing: 2px; }
.judge-card > p { color: #667; font-size: .9rem; line-height: 1.75; }

/* ============ App 下载 ============ */
.sec-app { background: linear-gradient(to bottom right, #b4d6cd, #ffda76); padding: 64px 0; }
.download-card {
    max-width: 860px; margin: 0 auto; background: #fff; border-radius: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08); padding: 48px 36px; text-align: center;
}
.download-card h2 { font-size: 26px; margin-bottom: 12px; }
.download-desc { color: var(--xk-muted); max-width: 640px; margin: 0 auto 26px; line-height: 1.8; }
.download-media { margin-bottom: 26px; }
.download-media img { width: min(430px, 82%); border-radius: 18px; }
.download-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-download {
    background: linear-gradient(90deg, #4e7bff, #2a53ff); color: #fff; border: none;
    font-weight: 600; padding: 12px 28px; border-radius: 999px; transition: all .3s ease;
}
.btn-download:hover { background: linear-gradient(90deg, #2a53ff, #4e7bff); color: #fff; transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12); }
.btn-ghost { border: 1px solid #212529; color: #212529; font-weight: 600; padding: 12px 28px; border-radius: 999px; transition: all .25s ease; }
.btn-ghost:hover { background: #000; color: #fff; }
@media (max-width: 575px) { .download-card { padding: 30px 18px; } .download-card h2 { font-size: 21px; } }

/* ============ 页脚（紫蓝渐变四卡） ============ */
#site-footer { background: linear-gradient(to right, #1c1f3f, #3d0b40); color: #fff; padding: 52px 0 22px; }
.partner-strip { margin-bottom: 36px; text-align: center; }
.partner-title {
    display: inline-block; font-size: .9rem; letter-spacing: 2px; color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 18px; margin-bottom: 20px;
}
.partner-logos { display: flex; flex-wrap: nowrap; justify-content: center; justify-content: safe center; align-items: center; gap: 14px; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.partner-logos::-webkit-scrollbar { display: none; }
.partner-logos img { flex: 0 0 auto; height: 38px; width: auto; border-radius: 8px; opacity: .92; transition: all .3s ease; background: transparent; }
.partner-logos img:hover { transform: translateY(-3px); opacity: 1; }
@media (max-width: 767px) { .partner-logos { justify-content: flex-start; gap: 10px; } .partner-logos img { height: 30px; } }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-card {
    background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 18px;
    height: 100%; box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.footer-card h6 { font-size: 1rem; margin-bottom: 12px; color: #7fd3ff; }
.footer-card:nth-child(2) h6 { color: #ffc107; }
.footer-card:nth-child(3) h6 { color: #6be3a2; }
.footer-card:nth-child(4) h6 { color: #9db6ff; }
.footer-card p { font-size: .82rem; color: rgba(255, 255, 255, .55); line-height: 1.8; }
.footer-card li { font-size: .84rem; color: rgba(255, 255, 255, .6); margin-bottom: 9px; line-height: 1.6; }
.footer-card li a { color: rgba(255, 255, 255, .6); }
.footer-card li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 18px; margin-top: 10px; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ============================================================
   以下为内页（栏目 / 详情 / 单页 / 标签 / 搜索 / 404）
   ============================================================ */
.site-main { min-height: 55vh; }
.mipcms-main, .sec-list, .sec-article { background: var(--xk-bg); }
.sec-list, .sec-article { padding: 30px 0 56px; }

/* 面包屑 */
.breadcrumb-nav { padding: 4px 0 16px; font-size: .88rem; color: var(--xk-muted); }
.breadcrumb-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumb-nav a { color: var(--xk-muted); }
.breadcrumb-nav a:hover { color: var(--xk-primary); }
.breadcrumb-nav li + li::before { content: "»"; margin: 0 6px; color: #adb5bd; }

/* 栏目横滑导航 */
.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 {
    flex: 0 0 auto; padding: 8px 20px; border-radius: 999px; font-size: .92rem;
    background: #fff; border: 1px solid var(--xk-line); color: #475569; transition: all .25s ease;
}
.nav-scroll a:hover { border-color: var(--xk-blue); color: var(--xk-blue); }
.nav-scroll a.on { background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue)); border-color: transparent; color: #fff; font-weight: 600; }

/* 栏目卡片网格 */
.list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 991px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .list-grid { grid-template-columns: 1fr; } }
.list-card {
    background: #fff; border-radius: 14px; overflow: hidden; display: block;
    box-shadow: 0 4px 14px rgba(0, 20, 50, .05); transition: box-shadow .3s, transform .3s;
}
.list-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 20, 50, .1); }
.list-card .thumb { display: block; height: 168px; overflow: hidden; }
.list-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.list-card:hover .thumb img { transform: scale(1.06); }
.list-card .info { padding: 14px 16px 16px; }
.list-card .info h3 {
    font-size: .95rem; line-height: 1.5; margin-bottom: 10px; color: var(--xk-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-card .meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--xk-muted); }

/* 横向列表行（block/article-list） */
.list-rows { display: flex; flex-direction: column; gap: 16px; }
.list-row {
    background: #fff; border-radius: 14px; overflow: hidden; display: flex; gap: 18px;
    padding: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); transition: box-shadow .3s, transform .3s;
}
.list-row:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 20, 50, .1); }
.list-row .thumb { flex: 0 0 200px; height: 130px; overflow: hidden; border-radius: 10px; }
.list-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-row .info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.list-row .info h4 { font-size: 1.02rem; line-height: 1.5; }
.list-row .info h4 a { color: var(--xk-ink); }
.list-row .info h4 a:hover { color: var(--xk-primary); }
.list-row .desc { color: var(--xk-muted); font-size: .86rem; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-row .meta { display: flex; gap: 18px; font-size: .8rem; color: var(--xk-muted); }
@media (max-width: 575px) {
    .list-row { flex-direction: column; }
    .list-row .thumb { flex: none; width: 100%; height: 160px; }
}

/* 分页 */
.pagination-wrap { margin-top: 30px; }
.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: inline-block; min-width: 38px; text-align: center; padding: 8px 12px;
    border: 1px solid var(--xk-line); border-radius: 8px; background: #fff;
    font-size: .9rem; color: #475569; transition: all .25s ease;
}
.pagination-wrap a:hover { border-color: var(--xk-blue); color: var(--xk-blue); }
.pagination-wrap .active a, .pagination-wrap .active, .pagination-wrap span.current {
    background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue)); border-color: transparent; color: #fff; font-weight: 600;
}

/* 文章详情 */
.article-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .88rem; color: var(--xk-muted); }
.article-topbar a { color: var(--xk-muted); }
.article-topbar a:hover { color: var(--xk-primary); }
.detail-time { color: var(--xk-muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@media (min-width: 992px) { .article-layout { grid-template-columns: 1fr 2fr; gap: 26px; } }
.article-head-card { background: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); }
@media (min-width: 992px) { .article-head-card { margin-bottom: 0; position: sticky; top: 96px; } }
.article-head-card h1 { font-size: 1.45rem; line-height: 1.5; word-break: break-all; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .84rem; color: var(--xk-muted); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-tags a {
    font-size: .8rem; color: var(--xk-blue); background: #eaf1ff;
    border-radius: 999px; padding: 4px 14px; transition: all .25s ease;
}
.detail-tags a:hover { background: var(--xk-blue); color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nav-cell { background: #f6f9ff; border: 1px solid #e3ecfa; border-radius: 10px; padding: 12px 16px; }
.nav-cell p { font-size: .78rem; color: var(--xk-muted); margin-bottom: 4px; }
.nav-cell a { font-size: .88rem; color: var(--xk-ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.nav-cell a:hover { color: var(--xk-primary); }
@media (max-width: 575px) { .article-nav { grid-template-columns: 1fr; } }
.article-body-card { background: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); }
.article-body { line-height: 1.95; font-size: 16px; color: #333; word-break: break-word; }
.article-body p { margin-bottom: 1em; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { margin: 1.2em 0 .6em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1em; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote { border-left: 4px solid var(--xk-blue); background: #f4f8ff; padding: 12px 18px; margin: 1em 0; border-radius: 0 10px 10px 0; color: #556; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.article-body table th, .article-body table td { border: 1px solid var(--xk-line); padding: 8px 12px; font-size: .9rem; }

/* 相关推荐 */
.related-section { margin-top: 22px; }
.related-section h3 { font-size: 1.1rem; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.related-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); padding-bottom: 12px; }
.related-card .thumb { display: block; height: 130px; overflow: hidden; }
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .thumb img { transform: scale(1.06); }
.related-card h4 { font-size: .88rem; line-height: 1.5; padding: 10px 12px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .date { font-size: .76rem; color: var(--xk-muted); padding: 0 12px; }

/* 侧栏 widget */
.widget { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); margin-bottom: 20px; overflow: hidden; }
.widget-title { font-size: 1rem; font-weight: 700; padding: 16px 20px; border-bottom: 1px solid #eef2f7; position: relative; }
.widget-title::before { content: ""; display: inline-block; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--xk-deep), var(--xk-blue)); margin-right: 9px; vertical-align: -2px; }
.widget-body { padding: 16px 20px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { font-size: .82rem; color: #5b6b82; background: #f1f5fa; border: 1px solid transparent; border-radius: 999px; padding: 5px 14px; transition: all .25s ease; }
.tag-cloud a:hover { color: var(--xk-blue); border-color: var(--xk-blue); background: #eaf1ff; }

/* 单页 */
.page-single { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); padding: 34px 36px; }
.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; border-radius: 2px; background: linear-gradient(90deg, var(--xk-deep), var(--xk-blue)); margin: 12px auto 0; }
@media (max-width: 575px) { .page-single { padding: 22px 16px; } }

/* 标签详情头 */
.tag-detail-header { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue)); color: #fff; border-radius: 16px; padding: 24px 28px; margin-bottom: 22px; }
.tag-icon {
    width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .15);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800;
}
.tag-info h2 { font-size: 1.25rem; margin-bottom: 4px; }
.tag-info p { font-size: .85rem; opacity: .78; }

/* 搜索 */
.search-section { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); padding: 26px 28px; margin-bottom: 22px; }
.search-section h2 { font-size: 1.15rem; margin-bottom: 16px; }
.search-form { display: flex; gap: 10px; }
.search-form input[type="text"] {
    flex: 1; min-width: 0; border: 1px solid var(--xk-line); border-radius: 10px;
    padding: 11px 16px; font-size: .95rem; outline: none; transition: border .25s ease;
}
.search-form input[type="text"]:focus { border-color: var(--xk-blue); }
.search-form input[type="submit"] {
    border: none; border-radius: 10px; padding: 11px 26px; font-size: .95rem; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue)); cursor: pointer;
}
.empty-tip { background: #fff; border-radius: 16px; padding: 46px 20px; text-align: center; color: var(--xk-muted); }
.empty-emoji { font-size: 2.4rem; margin-bottom: 10px; }

/* 自定义页 */
.diy-page { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); padding: 34px 36px; margin: 26px 0; }
.diy-page h1 { font-size: 1.6rem; margin-bottom: 20px; }

/* 图集页导航 */
.img-page-nav { text-align: center; padding: 20px 0; }
.img-page-nav ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.img-page-nav ul li a, .img-page-nav ul li span {
    display: block; padding: 8px 14px; font-size: 14px; border-radius: 10px;
    border: 1px solid var(--xk-line); color: #475569; background: #fff; transition: all .25s ease;
}
.img-page-nav ul li a:hover { border-color: var(--xk-blue); color: var(--xk-blue); }
.img-page-nav ul li.active a, .img-page-nav ul li.active span { background: #212529; border-color: #212529; color: #ffc107; }

/* 回到顶部 */
#backTop {
    display: none; position: fixed; right: 18px; bottom: 60px; z-index: 1040;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--xk-deep), var(--xk-blue)); color: #fff;
    font-size: 1.1rem; box-shadow: 0 6px 18px rgba(30, 60, 114, .35);
}
#backTop:hover { transform: translateY(-2px); }

/* 评论 hook 容器兼容 */
#comments { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 20, 50, .05); padding: 26px 28px; margin-top: 22px; }
