/* ============================================================
   mv001 烈焰绯红体育企业模板 style.css
   设计语言：石墨深炭底 + 绯红主色 + 香槟金高亮 + 圆角卡片
   ============================================================ */
:root {
    --deep: #12141d;
    --dark: #1c2133;
    --purple: #d92332;
    --purple-light: #ff4655;
    --violet: #b81c2b;
    --gold: #e8b64c;
    --gold-bright: #f7cf6f;
    --crimson: #d92332;
    --crimson-soft: #ff6b78;
    --text: #24222a;
    --text-light: #ffd9dc;
    --muted: #827c88;
    --bg-light: #faf3f3;
    --bg-white: #ffffff;
    --border: #f0dfe0;
    --radius: 14px;
    --shadow-sm: 0 2px 8px rgba(18, 20, 29, .06);
    --shadow: 0 8px 24px rgba(18, 20, 29, .1);
    --shadow-lg: 0 16px 48px rgba(217, 35, 50, .15);
}
* { 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: var(--bg-white); overflow-x: hidden;
}
a { color: var(--purple); text-decoration: none; transition: color .3s; }
a:hover { color: var(--violet); }
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; }
.small { font-size: .88rem; }

/* ================= 顶部导航 ================= */
.site-header {
    background: linear-gradient(135deg, var(--deep) 0%, var(--dark) 100%);
    position: sticky; top: 0; z-index: 1030;
    box-shadow: 0 2px 20px rgba(13, 2, 33, .4);
}
.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; background: linear-gradient(90deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-register {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--deep); font-weight: 600; font-size: .9rem;
    padding: 8px 18px; border-radius: 8px; transition: .3s;
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212, 168, 67, .4); color: var(--deep); }
.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: rgba(255,255,255,.85); 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(--gold-bright); background: rgba(217, 35, 50, .18);
}
.main-nav .dropdown { display: none; background: #231824; border-radius: 8px; padding: 6px; margin-top: 4px; }
.main-nav li:hover .dropdown { display: block; }
.main-nav .dropdown a { color: rgba(255,255,255,.7); font-size: .9rem; padding: 6px 12px; display: block; border-radius: 6px; }
.main-nav .dropdown a:hover { color: var(--gold-bright); background: rgba(217, 35, 50, .12); }
.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,.3); 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 ================= */
.sec-hero {
    background: linear-gradient(135deg, var(--deep) 0%, var(--dark) 40%, #3a1020 100%);
    padding: 80px 0 60px; position: relative; overflow: hidden;
}
.sec-hero::before {
    content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(217, 35, 50, .14) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(239, 68, 68, .15); border: 1px solid rgba(239, 68, 68, .3);
    padding: 4px 12px; border-radius: 999px; font-size: .8rem; color: var(--crimson-soft);
    margin-bottom: 16px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--crimson-soft); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }
.hero-text h1 { font-size: 36px; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.hero-text h1 strong { color: var(--gold-bright); }
.hero-slogan { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 12px; font-weight: 500; }
.hero-lead { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 8px; }
.hero-sub-lead { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; }
.hero-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.hero-highlights li { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: rgba(255,255,255,.8); }
.hero-highlights .hi { color: var(--gold); font-size: 1rem; }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 28px;
    padding: 14px 20px; background: rgba(255,255,255,.05); border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
}
.hero-stats .hs-item { text-align: center; }
.hero-stats .hs-num { font-size: 1.3rem; font-weight: 700; color: var(--gold-bright); }
.hero-stats .hs-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: #fff; padding: 13px 30px; font-weight: 700; border-radius: 12px;
    font-size: 16px; transition: .3s; border: none;
}
.btn-hero:hover { background: linear-gradient(135deg, var(--violet), var(--purple-light)); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217, 35, 50, .45); }
.hero-media { text-align: center; position: relative; }
.hero-media img { max-height: 420px; width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(217, 35, 50, .28); }
.hero-live {
    position: absolute; top: 16px; right: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(220, 38, 38, .9); color: #fff; padding: 5px 12px;
    border-radius: 8px; font-size: .78rem; font-weight: 600;
}
.hero-live .ldot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: pulse 1.2s infinite; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } .hero-media { margin-top: 0; } }
@media (max-width: 767px) { .sec-hero { padding: 50px 0 44px; } .hero-text h1 { font-size: 26px; } .hero-highlights { grid-template-columns: 1fr 1fr; } }

/* ================= 通用 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; color: var(--text); }
.sec-head p { color: var(--muted); max-width: 700px; margin: 0 auto; font-size: .95rem; }

/* ================= 功能区 services-grid ================= */
.sec-services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 28px 24px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: .3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--gold)); opacity: 0; transition: .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.svc-icon {
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    background: linear-gradient(135deg, rgba(217,35,50,.1), rgba(232,182,76,.12));
    color: var(--purple);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.svc-link { font-size: .88rem; color: var(--purple); font-weight: 600; }
.svc-link::after { content: " →"; }
.svc-link:hover { color: var(--violet); }

/* ================= 资讯文章区 news-grid ================= */
.sec-news { background: var(--bg-white); }
.news-wrapper { display: grid; grid-template-columns: 1fr; gap: 20px; }
.news-card {
    display: flex; flex-direction: column; background: var(--bg-light);
    min-height: 160px; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-img-wrap { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; background: #fbe4e6; }
.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.3rem 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: var(--text); }
.news-body h3 a:hover { color: var(--purple); }
.news-excerpt { font-size: .85rem; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.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(--purple); }
.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; }
}

/* ================= 图片橱窗 gallery ================= */
.sec-gallery { background: var(--bg-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.gallery-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-card .g-thumb { position: relative; width: 100%; padding-top: 66%; overflow: hidden; background: #fbe4e6; }
.gallery-card .g-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover .g-thumb img { transform: scale(1.07); }
.gallery-card .g-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 29, .82) 100%);
    color: #fff;
}
.gallery-card .g-cap h3 { font-size: 1rem; color: #fff; margin-bottom: 2px; }
.gallery-card .g-cap p { font-size: .8rem; color: rgba(255,255,255,.7); margin: 0; }
.gallery-card .g-tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: linear-gradient(135deg, var(--crimson), var(--purple-light));
    color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}

/* ================= 数据条 metrics-band ================= */
.sec-metrics { background: linear-gradient(135deg, var(--dark) 0%, #3a1020 100%); padding: 40px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.metric-item { text-align: center; padding: 20px; }
.metric-num { font-size: 2.2rem; font-weight: 800; color: var(--gold-bright); line-height: 1.2; }
.metric-label { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ================= 品牌使命/关于 mission ================= */
.sec-mission { background: var(--bg-white); }
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.mission-media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.mission-text h2 { font-size: 26px; color: var(--text); margin-bottom: 14px; }
.mission-text h2 .accent { color: var(--purple); }
.mission-text p { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.mission-list { margin-top: 18px; }
.mission-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .93rem; color: var(--text); line-height: 1.6; }
.mission-list .mi { color: var(--purple); font-size: 1.1rem; flex-shrink: 0; }
.mission-list strong { color: var(--purple); }
@media (min-width: 992px) { .mission-grid { grid-template-columns: 1fr 1fr; } }

/* ================= 页脚 footer ================= */
.site-footer {
    background: linear-gradient(135deg, var(--deep) 0%, var(--dark) 50%, #26101c 100%);
    color: rgba(255,255,255,.75); padding: 56px 0 16px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h6 { color: var(--gold-bright); text-transform: uppercase; font-size: .95rem; 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(--gold-bright); }
.footer-brand-col img { height: 48px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand-col p { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 6px; line-height: 1.8; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
    padding-top: 20px; font-size: .82rem; color: rgba(255,255,255,.4); text-align: center;
}
.footer-bottom > div { width: 100%; text-align: center; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold-bright); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

/* ================= 面包屑 ================= */
.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(--purple); }

/* ================= 列表页 ================= */
.sec-list { background: var(--bg-white); 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 {
    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: var(--text); transition: .3s;
}
.nav-scroll a:hover, .nav-scroll a.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.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: var(--radius); overflow: hidden; height: 100%;
    box-shadow: var(--shadow-sm); transition: .3s; color: var(--text);
}
.list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.list-card .thumb { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #fbe4e6; }
.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); }

/* 纵向列表行 */
.list-rows { display: grid; gap: 18px; }
.list-row {
    display: flex; gap: 18px; background: var(--bg-light); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: .3s;
}
.list-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.list-row .thumb { width: 220px; flex-shrink: 0; min-height: 150px; background: #fbe4e6; position: relative; }
.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(--purple); }
.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%; min-height: 0; } .list-row .info { padding: 14px 16px 16px; } }

/* ================= 文章详情 ================= */
.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(--purple); }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.article-head-card { background: #fff; padding: 26px; border-radius: var(--radius); 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: var(--radius); 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: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.article-body blockquote { background: var(--bg-light); padding: .8rem 1.2rem; color: #555; margin: 1.5rem 0; border-left: 4px solid var(--purple); border-radius: 0 10px 10px 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 th, .article-body 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: var(--bg-light); color: var(--muted); font-size: .8rem; padding: 4px 12px; border-radius: 999px; transition: .3s; }
.detail-tags a:hover { background: var(--purple); color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.article-nav .nav-cell { background: #fff; border-radius: var(--radius); 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(--purple); }
@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: var(--radius); 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: #fbe4e6; }
.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(--purple); }
.related-card .date { font-size: .78rem; color: var(--muted); }

/* ================= 侧边栏 widget ================= */
.widget { background: #fff; border-radius: var(--radius); 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(--gold); 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: var(--bg-light); color: var(--muted); font-size: .8rem; font-weight: 700; }
.hot-list li:nth-child(1) .hot-num { background: var(--crimson); color: #fff; }
.hot-list li:nth-child(2) .hot-num { background: #f97316; color: #fff; }
.hot-list li:nth-child(3) .hot-num { background: var(--gold); color: var(--deep); }
.hot-main a { color: var(--text); font-size: .92rem; display: block; line-height: 1.45; }
.hot-main a:hover { color: var(--purple); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--bg-light); color: var(--muted); font-size: .82rem; padding: 5px 14px; border-radius: 999px; transition: .3s; }
.tag-cloud a:hover { background: var(--purple); color: #fff; }
.widget-side { display: none; }
@media (min-width: 992px) { .widget-side { display: block; } }

/* ================= 单页 ================= */
.page-single { background: #fff; border-radius: var(--radius); 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: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 2px; margin: 14px auto 0; }
.page-single .article-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(--purple); color: var(--purple); }
.pagination-wrap .active a, .pagination-wrap .active, .pagination-wrap span.current { background: var(--purple); border-color: var(--purple); color: #fff; }

/* ================= 搜索 ================= */
.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(--purple); }
.search-form input[type="submit"] { border: 0; border-radius: 0 10px 10px 0; background: var(--purple); color: #fff; 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: var(--radius); 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(--purple); color: #fff; 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(--purple); color: #fff; font-size: 18px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(217, 35, 50, .35); display: none; align-items: center; justify-content: center;
    transition: .3s;
}
#backTop:hover { transform: translateY(-3px); background: var(--violet); }

/* ================= 自定义页 diy ================= */
.diy-page { background: #fff; border-radius: var(--radius); 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(--purple); color: #fff; }
.mip-fixed { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
