/* =============================================
   全局基础
   ============================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;background:#f5f6f8;color:#2c2c3a;line-height:1.7;overflow-x:hidden;min-width:320px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border:none}
ul,ol{list-style:none}

/* =============================================
   容器
   ============================================= */
.container{width:100%;max-width:1220px;margin:0 auto;padding:0 20px}

/* =============================================
   配色变量
   ============================================= */
:root{
  --red:#c0392b;
  --red-dark:#962d22;
  --red-light:#e74c3c;
  --orange:#e67e22;
  --yellow:#f39c12;
  --bg:#f5f6f8;
  --card-bg:#fff;
  --border:#e8e8ef;
  --text-main:#2c2c3a;
  --text-sub:#666678;
  --text-muted:#999aab;
  --radius:10px;
  --shadow:0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover:0 6px 24px rgba(192,57,43,0.15);
}

/* =============================================
   顶部 Header
   ============================================= */
.site-header{background:linear-gradient(90deg,#1a0a0a 0%,#2d0e0e 50%,#1a0a0a 100%);position:sticky;top:0;z-index:999;box-shadow:0 2px 16px rgba(0,0,0,0.3)}
.header-inner{max-width:1220px;margin:0 auto;padding:0 20px}
.header-top-bar{display:flex;align-items:center;gap:16px;padding:10px 0;min-height:64px;flex-wrap:nowrap}

/* Logo */
.site-logo{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.logo-text{font-size:22px;font-weight:900;color:#fff;letter-spacing:-0.5px;white-space:nowrap;display:flex;align-items:center;gap:6px}
.logo-icon{font-size:24px;flex-shrink:0}

/* 搜索框 */
.header-search{display:flex;align-items:center;flex:1;max-width:360px;margin-left:auto;background:rgba(255,255,255,0.1);border-radius:24px;border:1.5px solid rgba(255,255,255,0.2);overflow:hidden;transition:border-color .2s,background .2s;min-width:0}
.header-search:focus-within{border-color:var(--red-light);background:rgba(255,255,255,0.15)}
.search-input{flex:1;min-width:0;background:transparent;border:none;outline:none;padding:9px 14px;font-size:14px;color:#fff}
.search-input::placeholder{color:rgba(255,255,255,0.45)}
.search-btn{background:var(--red);border:none;padding:9px 14px;cursor:pointer;color:#fff;display:flex;align-items:center;flex-shrink:0;transition:background .2s}
.search-btn:hover{background:var(--red-dark)}

/* 移动菜单按钮 */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;background:transparent;border:none;cursor:pointer;padding:6px;flex-shrink:0}
.nav-toggle span{display:block;width:24px;height:2.5px;background:#fff;border-radius:2px;transition:all .3s}
.nav-toggle.is-active span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.nav-toggle.is-active span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle.is-active span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* 主导航 */
.site-nav{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:2px 0 8px;overflow-x:auto}
.site-nav a{display:inline-block;padding:7px 14px;color:rgba(255,255,255,0.8);font-size:14px;font-weight:500;border-radius:6px;transition:background .2s,color .2s;white-space:nowrap}
.site-nav a:hover,.site-nav a.active{background:var(--red);color:#fff}
.site-nav .nav-home{font-weight:700}

/* 移动端导航 */
@media(max-width:900px){
  .nav-toggle{display:flex}
  .site-nav{display:none;flex-direction:column;align-items:flex-start;padding:8px 0 12px;gap:0;border-top:1px solid rgba(255,255,255,0.1);overflow-x:hidden}
  .site-nav.is-open{display:flex}
  .site-nav a{width:100%;border-radius:6px;padding:10px 14px}
}
@media(max-width:480px){
  .logo-text{font-size:18px}
  .header-search{max-width:none;width:100%}
  .header-top-bar{flex-wrap:wrap}
}

/* =============================================
   热点滚动条
   ============================================= */
.ticker-bar{display:flex;align-items:center;gap:12px;background:#fff;border-radius:8px;padding:9px 16px;margin:16px auto;overflow:hidden;border-left:4px solid var(--red);box-shadow:var(--shadow)}
.ticker-tag{background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:4px;white-space:nowrap;flex-shrink:0}
.ticker-track{flex:1;overflow:hidden;min-width:0}
.ticker-items{display:flex;gap:32px;animation:tickerMove 30s linear infinite;white-space:nowrap}
.ticker-items:hover{animation-play-state:paused}
.ticker-item{font-size:14px;color:var(--text-main);flex-shrink:0;transition:color .2s}
.ticker-item:hover{color:var(--red)}
@keyframes tickerMove{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* =============================================
   首页 Banner
   ============================================= */
.home-banner{background:linear-gradient(135deg,#2d0e0e 0%,#1a0a0a 60%,#3d1515 100%);padding:40px 0 32px;margin-bottom:0}
.banner-inner{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;min-width:0}
.banner-label{display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;font-size:13px;font-weight:700;padding:5px 14px;border-radius:20px;margin-bottom:16px}
.banner-title{font-size:clamp(22px,3vw,36px);font-weight:900;color:#fff;line-height:1.3;margin-bottom:12px;overflow-wrap:anywhere;word-break:break-word}
.banner-sub{font-size:14px;color:rgba(255,255,255,0.6);margin-bottom:24px;line-height:1.6}
.banner-cta{display:inline-block;background:linear-gradient(90deg,var(--red),var(--orange));color:#fff;padding:12px 28px;border-radius:24px;font-size:15px;font-weight:700;transition:opacity .2s,transform .2s;box-shadow:0 4px 16px rgba(192,57,43,0.4)}
.banner-cta:hover{opacity:.9;transform:translateY(-2px)}
.banner-visual{min-width:0;aspect-ratio:16/9;overflow:hidden;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,0.4)}
.banner-img-wrap{display:block;width:100%;height:100%}
.banner-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.banner-img-wrap:hover img{transform:scale(1.03)}

@media(max-width:900px){
  .banner-inner{grid-template-columns:1fr}
  .banner-visual{display:none}
}

/* =============================================
   首页布局
   ============================================= */
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin:28px auto;align-items:start}
.home-main{min-width:0}
.home-sidebar{min-width:0;position:sticky;top:80px}

@media(max-width:1024px){
  .home-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
}
@media(max-width:768px){
  .home-layout{grid-template-columns:1fr;gap:20px}
  .home-sidebar{position:static}
}

/* =============================================
   列表/内容/关于布局
   ============================================= */
.list-layout,.content-layout,.about-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin:28px auto;align-items:start}
.list-main,.content-main,.about-main{min-width:0}
.list-sidebar,.content-sidebar,.about-sidebar{min-width:0;position:sticky;top:80px}

@media(max-width:1024px){
  .list-layout,.content-layout,.about-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
}
@media(max-width:768px){
  .list-layout,.content-layout,.about-layout{grid-template-columns:1fr;gap:20px}
  .list-sidebar,.content-sidebar,.about-sidebar{position:static}
}

/* =============================================
   Section 头部
   ============================================= */
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;min-width:0}
.section-title{font-size:18px;font-weight:800;color:var(--text-main);position:relative;padding-left:12px;min-width:0}
.section-title::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:20px;background:var(--red);border-radius:2px}
.section-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.section-more{font-size:13px;color:var(--red);white-space:nowrap;flex-shrink:0;transition:color .2s}
.section-more:hover{color:var(--red-dark)}

/* =============================================
   卡片网格
   ============================================= */
.card-grid{display:grid;gap:20px;min-width:0}
.card-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:900px){.card-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.card-grid--3{grid-template-columns:1fr}}

/* 卡片 */
.news-card{background:var(--card-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:box-shadow .25s,transform .25s;display:flex;flex-direction:column;min-width:0}
.news-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-3px)}
.card-thumb-link{display:block;aspect-ratio:16/9;overflow:hidden;flex-shrink:0;background:#e0dce0}
.card-thumb{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.news-card:hover .card-thumb{transform:scale(1.05)}
.card-body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.card-cat{display:inline-block;font-size:11px;font-weight:700;color:var(--red);background:#fdf0ee;padding:2px 8px;border-radius:4px;text-transform:uppercase;transition:background .2s;width:fit-content}
.card-cat:hover{background:#fad7d3}
.card-title{font-size:15px;font-weight:700;line-height:1.45;min-width:0}
.card-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--text-main);transition:color .2s}
.card-title a:hover{color:var(--red)}
.card-intro{font-size:13px;color:var(--text-sub);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.6;min-width:0}
.card-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text-muted);margin-top:auto;flex-wrap:wrap;min-width:0}
.card-views{white-space:nowrap}

/* 小卡片 */
.news-card--sm .card-title{font-size:14px}
.news-card--sm .card-body{padding:10px}

/* =============================================
   横向卡片列表（推荐）
   ============================================= */
.card-list-horiz{display:flex;flex-direction:column;gap:16px;min-width:0}
.hcard{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;background:var(--card-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:box-shadow .25s,transform .25s;min-width:0}
.hcard:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.hcard-thumb-link{display:block;aspect-ratio:3/2;overflow:hidden;flex-shrink:0;background:#e0dce0}
.hcard-thumb{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.hcard:hover .hcard-thumb{transform:scale(1.05)}
.hcard-body{padding:14px 14px 14px 0;display:flex;flex-direction:column;gap:6px;min-width:0;overflow:hidden}
.hcard-title{font-size:15px;font-weight:700;min-width:0}
.hcard-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--text-main);transition:color .2s}
.hcard-title a:hover{color:var(--red)}
.hcard-intro{font-size:13px;color:var(--text-sub);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.6;min-width:0}

@media(max-width:540px){
  .hcard{grid-template-columns:1fr}
  .hcard-thumb-link{aspect-ratio:16/9}
  .hcard-body{padding:12px}
}

/* =============================================
   侧栏 Widget
   ============================================= */
.sidebar-widget{background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;margin-bottom:20px;min-width:0;overflow:hidden}
.widget-title{font-size:16px;font-weight:800;color:var(--text-main);margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--border);display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}

/* 排行榜 */
.rank-list{display:flex;flex-direction:column;gap:10px;min-width:0}
.rank-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0}
.rank-num{width:24px;height:24px;border-radius:6px;background:#f0f0f5;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--text-muted);flex-shrink:0;counter-increment:rank}
.rank-list{counter-reset:rank}
.rank-item:nth-child(1) .rank-num{background:var(--red);color:#fff}
.rank-item:nth-child(2) .rank-num{background:var(--orange);color:#fff}
.rank-item:nth-child(3) .rank-num{background:var(--yellow);color:#fff}
.rank-item .rank-num::after{content:counter(rank)}
.rank-title{font-size:13px;color:var(--text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;transition:color .2s}
.rank-title:hover{color:var(--red)}
.rank-views{font-size:11px;color:var(--text-muted);white-space:nowrap;flex-shrink:0}

/* 侧栏新闻列表 */
.side-news-list{display:flex;flex-direction:column;gap:12px;min-width:0}
.side-news-item{min-width:0}
.side-news-link{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.side-news-link img{width:72px;height:54px;object-fit:cover;border-radius:6px;flex-shrink:0;background:#e0dce0}
.side-news-info{display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}
.side-news-title{font-size:13px;color:var(--text-main);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;transition:color .2s;min-width:0}
.side-news-link:hover .side-news-title{color:var(--red)}
.side-news-date{font-size:11px;color:var(--text-muted);white-space:nowrap}

/* =============================================
   文章列表页
   ============================================= */
.list-page-title{font-size:22px;font-weight:800;color:var(--text-main);margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border)}
.article-list{display:flex;flex-direction:column;gap:20px;min-width:0}
.alist-item{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;background:var(--card-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:box-shadow .25s,transform .25s;min-width:0}
.alist-item:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.alist-thumb-link{display:block;aspect-ratio:3/2;overflow:hidden;flex-shrink:0;background:#e0dce0}
.alist-thumb{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.alist-item:hover .alist-thumb{transform:scale(1.05)}
.alist-body{padding:16px 16px 16px 0;display:flex;flex-direction:column;gap:8px;min-width:0;overflow:hidden}
.alist-meta-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--text-muted);min-width:0}
.alist-title{font-size:17px;font-weight:700;min-width:0}
.alist-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--text-main);transition:color .2s}
.alist-title a:hover{color:var(--red)}
.alist-intro{font-size:14px;color:var(--text-sub);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.65;min-width:0}
.alist-readmore{font-size:13px;color:var(--red);font-weight:600;margin-top:auto;transition:color .2s}
.alist-readmore:hover{color:var(--red-dark)}

@media(max-width:640px){
  .alist-item{grid-template-columns:1fr}
  .alist-thumb-link{aspect-ratio:16/9}
  .alist-body{padding:12px}
}

/* =============================================
   面包屑
   ============================================= */
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--text-muted);margin:16px 0;min-width:0;overflow-wrap:anywhere}
.breadcrumb a{color:var(--text-sub);transition:color .2s}
.breadcrumb a:hover{color:var(--red)}
.bc-sep{color:var(--text-muted)}
.bc-current{color:var(--text-main);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}

/* =============================================
   分页
   ============================================= */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:32px 0;min-width:0}
.pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:8px;background:var(--card-bg);color:var(--text-main);font-size:14px;font-weight:600;box-shadow:var(--shadow);border:1.5px solid var(--border);transition:all .2s}
.pagination a:hover,.pagination a.active{background:var(--red);color:#fff;border-color:var(--red)}

/* =============================================
   文章内容页
   ============================================= */
.article-header{margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid var(--border)}
.article-title{font-size:clamp(20px,3.5vw,30px);font-weight:900;color:var(--text-main);line-height:1.35;margin-bottom:14px;overflow-wrap:anywhere;word-break:break-word}
.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--text-muted)}
.article-date{font-size:13px}
.article-views{font-size:13px}

/* 文章正文 */
.article-content{font-size:16px;line-height:1.85;color:var(--text-main);overflow-wrap:anywhere;word-break:break-word;min-width:0}
.article-content h2,.article-content h3,.article-content h4{margin:28px 0 12px;font-weight:700;color:var(--text-main);line-height:1.4}
.article-content h2{font-size:20px;padding-left:12px;border-left:4px solid var(--red)}
.article-content h3{font-size:17px}
.article-content p{margin-bottom:16px}
.article-content img{max-width:100%;height:auto;border-radius:8px;margin:16px auto;display:block}
.article-content a{color:var(--red);text-decoration:underline;overflow-wrap:anywhere;word-break:break-all}
.article-content blockquote{border-left:4px solid var(--red);background:#fdf6f5;margin:20px 0;padding:16px 20px;border-radius:0 8px 8px 0;color:var(--text-sub);font-style:italic}
.article-content ul,.article-content ol{padding-left:24px;margin-bottom:16px}
.article-content ul li{list-style:disc;margin-bottom:6px}
.article-content ol li{list-style:decimal;margin-bottom:6px}
.article-content pre{background:#1e1e2e;color:#e0e0f0;padding:18px 20px;border-radius:8px;overflow-x:auto;font-size:14px;line-height:1.6;margin-bottom:16px;max-width:100%}
.article-content code{background:#f5f0f5;color:#c0392b;padding:2px 6px;border-radius:4px;font-size:14px;word-break:break-all}
.article-content pre code{background:transparent;color:inherit;padding:0;word-break:normal}
.article-content table{width:100%;border-collapse:collapse;margin-bottom:16px;min-width:0;overflow-wrap:anywhere}
.article-content .table-wrap{overflow-x:auto;max-width:100%;margin-bottom:16px}
.article-content th,.article-content td{border:1px solid var(--border);padding:10px 12px;text-align:left;font-size:14px}
.article-content th{background:#f9f0f0;font-weight:700}
.article-content iframe{max-width:100%;border-radius:8px}

/* 相关文章 */
.related-section{margin-top:40px;padding-top:28px;border-top:2px solid var(--border)}

/* =============================================
   搜索结果页
   ============================================= */
.no-result{text-align:center;padding:60px 20px;display:flex;flex-direction:column;align-items:center;gap:16px}
.no-result-icon{font-size:64px}
.no-result-text{font-size:16px;color:var(--text-sub)}
.btn-back-home{display:inline-block;background:var(--red);color:#fff;padding:12px 28px;border-radius:8px;font-weight:600;transition:background .2s}
.btn-back-home:hover{background:var(--red-dark)}

/* 侧栏搜索 */
.widget-search-form{display:flex;flex-direction:column;gap:10px}
.widget-search-input{width:100%;padding:10px 14px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;color:var(--text-main);outline:none;transition:border-color .2s;background:#fafafa}
.widget-search-input:focus{border-color:var(--red)}
.widget-search-btn{width:100%;padding:10px;background:var(--red);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s}
.widget-search-btn:hover{background:var(--red-dark)}

/* =============================================
   关于页
   ============================================= */
.about-title{font-size:26px;font-weight:900;color:var(--text-main);margin-bottom:24px}
.about-hero{display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#2d0e0e,#1a0a0a);border-radius:12px;padding:24px 28px;margin-bottom:28px;color:#fff}
.about-hero-icon{font-size:52px;flex-shrink:0}
.about-domain{font-size:16px;color:rgba(255,255,255,0.6);margin-bottom:4px}
.about-tagline{font-size:20px;font-weight:700}
.about-section{margin-bottom:28px;min-width:0}
.about-section h2{font-size:18px;font-weight:800;color:var(--text-main);margin-bottom:12px;padding-left:10px;border-left:4px solid var(--red)}
.about-section p{font-size:15px;color:var(--text-sub);line-height:1.8;margin-bottom:10px;overflow-wrap:anywhere}
.about-desc{font-size:15px;color:var(--text-sub);line-height:1.8;overflow-wrap:anywhere}
.about-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.contact-card{background:var(--card-bg);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);display:flex;align-items:flex-start;gap:14px;min-width:0;overflow:hidden}
.contact-card-icon{font-size:28px;flex-shrink:0}
.contact-card h2{font-size:14px;font-weight:700;color:var(--text-muted);margin-bottom:6px;border:none;padding:0}
.contact-card p{font-size:14px;color:var(--text-main);overflow-wrap:anywhere;word-break:break-all}

@media(max-width:768px){.about-contact-grid{grid-template-columns:1fr}}
@media(max-width:540px){.about-hero{flex-direction:column;text-align:center}}

/* =============================================
   Footer
   ============================================= */
.site-footer{background:linear-gradient(180deg,#1a0a0a 0%,#0e0606 100%);color:rgba(255,255,255,0.7);margin-top:48px;padding:40px 0 0}
.footer-inner{max-width:1220px;margin:0 auto;padding:0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,0.08)}
.footer-logo{font-size:22px;font-weight:900;color:#fff;margin-bottom:10px}
.footer-desc{font-size:13px;line-height:1.7;color:rgba(255,255,255,0.5);overflow-wrap:anywhere}
.footer-links h3,.footer-contact h3{font-size:14px;font-weight:700;color:#fff;margin-bottom:12px}
.footer-links ul{display:flex;flex-direction:column;gap:8px}
.footer-links a{font-size:13px;color:rgba(255,255,255,0.55);transition:color .2s}
.footer-links a:hover{color:var(--red-light)}
.footer-contact p{font-size:13px;color:rgba(255,255,255,0.55);margin-bottom:8px;display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere;word-break:break-all}
.footer-contact svg{flex-shrink:0;margin-top:3px}
.footer-bottom{text-align:center;padding:18px 0;font-size:12px;color:rgba(255,255,255,0.3)}
.footer-bottom a{color:rgba(255,255,255,0.45);transition:color .2s;text-decoration:underline}
.footer-bottom a:hover{color:var(--red-light)}

@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.footer-grid{grid-template-columns:1fr;gap:24px}}

/* =============================================
   响应式细化
   ============================================= */
@media(max-width:1280px){
  .home-layout,.list-layout,.content-layout,.about-layout{grid-template-columns:minmax(0,1fr) 280px}
}
@media(max-width:1024px){
  .home-layout,.list-layout,.content-layout,.about-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}
}
@media(max-width:768px){
  .home-layout,.list-layout,.content-layout,.about-layout{grid-template-columns:1fr}
  .home-sidebar,.list-sidebar,.content-sidebar,.about-sidebar{position:static}
  .card-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
  .card-grid--3{grid-template-columns:1fr}
  .alist-item{grid-template-columns:1fr}
  .alist-thumb-link{aspect-ratio:16/9}
}
@media(max-width:480px){
  .container{padding:0 14px}
  .about-contact-grid{grid-template-columns:1fr}
  .ticker-bar{padding:8px 12px}
}
@media(max-width:375px){
  .banner-title{font-size:20px}
  .list-page-title{font-size:18px}
}

/* =============================================
   全局防溢出
   ============================================= */
*{min-width:0}
p,h1,h2,h3,h4,h5,h6,span,a,li,td,th,div{overflow-wrap:anywhere;word-break:break-word}

/* =============================================
   滚动条美化（Webkit）
   ============================================= */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:#f0f0f5}
::-webkit-scrollbar-thumb{background:#c8c8d8;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--red)}

/* =============================================
   主内容区
   ============================================= */
.site-main{min-height:60vh;padding-bottom:20px}