*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#F7F8FA;color:#333;font-size:14px;line-height:1.6;overflow-x:hidden}
a{text-decoration:none;color:inherit;transition:all .2s}
img{max-width:100%;height:auto;display:block;border:0;object-fit:cover}
ul,ol{list-style:none}
.wrap{width:1200px;max-width:94%;margin:0 auto;position:relative;z-index:2}

/* 顶部快讯滚动条 */
.top-flash{background:#222;color:#FF7A00;height:36px;line-height:36px;font-size:13px;overflow:hidden}
.top-flash .wrap{display:flex;justify-content:space-between;align-items:center}
.flash-text{display:flex;gap:20px;white-space:nowrap;animation:scrollText 20s linear infinite}
@keyframes scrollText{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.flash-text span::before{content:"🔥";margin-right:4px}

/* 导航栏 */
.header{background:#FFF;box-shadow:0 2px 10px rgba(0,0,0,.05);position:sticky;top:0;z-index:999}
.header .wrap{display:flex;align-items:center;height:70px;justify-content:space-between}
.logo{font-size:24px;font-weight:900;color:#111;display:flex;align-items:center;gap:8px}
.logo span{color:#FF7A00;font-size:12px;background:#FFF0E5;padding:2px 8px;border-radius:4px}
.nav-wrap{flex:1;margin:0 30px;overflow:hidden;white-space:nowrap}
.nav{display:flex;gap:24px}
.nav li a{font-size:15px;font-weight:700;color:#555}
.nav li a:hover,.nav li a.on{color:#FF7A00}
.header-right{display:flex;gap:12px}
.btn-login{color:#111;font-weight:700;padding:8px 16px;border-radius:20px}
.btn-login:hover{background:#F7F8FA}
.btn-reg{background:#FF7A00;color:#FFF;font-weight:700;padding:8px 20px;border-radius:20px;box-shadow:0 4px 10px rgba(255,122,0,.3)}
.btn-reg:hover{background:#E06B00;transform:translateY(-1px)}

/* 首屏焦点图 + 快讯 */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:24px auto}
.hero-main{position:relative;height:360px;border-radius:16px;overflow:hidden}
.hero-main img{width:100%;height:100%;transition:transform .5s}
.hero-main:hover img{transform:scale(1.03)}
.hero-main-info{position:absolute;bottom:0;left:0;width:100%;padding:30px;background:linear-gradient(0deg,rgba(0,0,0,.9),transparent);color:#FFF}
.hero-main-info h1{font-size:28px;font-weight:900;line-height:1.3;margin-bottom:8px}
.hero-main-info p{font-size:14px;color:#DDD;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

.hero-side{display:flex;flex-direction:column;gap:20px}
.hero-side-item{flex:1;background:#FFF;border-radius:16px;overflow:hidden;display:flex;gap:16px;padding:16px;box-shadow:0 4px 15px rgba(0,0,0,.03);transition:all .2s}
.hero-side-item:hover{transform:translateX(5px)}
.hero-side-item img{width:120px;height:100px;border-radius:10px;flex-shrink:0}
.hs-info h3{font-size:16px;font-weight:800;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hs-info span{font-size:12px;color:#FF7A00;background:#FFF0E5;padding:2px 8px;border-radius:4px;font-weight:700}

/* 板块通用 */
.section{margin:40px 0}
.sec-hd{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px;border-bottom:2px solid #EAEAEA;padding-bottom:12px}
.sec-hd h2{font-size:24px;font-weight:900;color:#111;display:flex;align-items:center;gap:10px}
.sec-hd h2::before{content:"";display:block;width:6px;height:24px;background:#FF7A00;border-radius:3px}
.sec-hd a{font-size:14px;color:#888;font-weight:700}
.sec-hd a:hover{color:#FF7A00}

/* 网格卡片 */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#FFF;border-radius:16px;overflow:hidden;transition:all .3s;box-shadow:0 4px 15px rgba(0,0,0,.03);display:flex;flex-direction:column}
.card:hover{transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,.08)}
.card-img{height:180px;position:relative;display:block}
.card-img img{width:100%;height:100%}
.card-img .tag{position:absolute;top:10px;left:10px;background:#FF7A00;color:#FFF;font-size:12px;font-weight:700;padding:4px 10px;border-radius:6px}
.card-info{padding:16px;flex:1;display:flex;flex-direction:column}
.card-info h3{font-size:16px;font-weight:800;color:#222;line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-info h3 a:hover{color:#FF7A00}
.card-info p{font-size:13px;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1;margin-bottom:12px}
.card-meta{display:flex;justify-content:space-between;font-size:12px;color:#AAA;border-top:1px dashed #EAEAEA;padding-top:12px}

/* 精选榜单流 */
.rank-list-box{background:#FFF;border-radius:16px;padding:20px;box-shadow:0 4px 15px rgba(0,0,0,.03)}
.rank-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #F0F0F0}
.rank-item:last-child{border:0;padding-bottom:0}
.rank-num{width:24px;height:24px;background:#EAEAEA;color:#666;font-weight:900;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rank-item:nth-child(1) .rank-num{background:#FF3B30;color:#FFF}
.rank-item:nth-child(2) .rank-num{background:#FF9500;color:#FFF}
.rank-item:nth-child(3) .rank-num{background:#FFCC00;color:#FFF}
.rank-item img{width:100px;height:75px;border-radius:8px;flex-shrink:0}
.ri-info h4{font-size:15px;font-weight:800;margin-bottom:6px}
.ri-info p{font-size:13px;color:#888;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

/* 底部 */
.footer{background:#FFF;border-top:1px solid #EAEAEA;padding:40px 0;text-align:center;margin-top:50px}
.footer-links a{color:#888;margin:0 12px;font-size:14px;font-weight:600}
.footer-links a:hover{color:#FF7A00}
.footer p{margin-top:16px;font-size:12px;color:#AAA}

/* 文章页与列表页 */
.article-card{background:#FFF;border-radius:16px;padding:50px;box-shadow:0 4px 20px rgba(0,0,0,.03);margin-top:30px}
.article-hd{text-align:center;border-bottom:1px solid #EAEAEA;padding-bottom:24px;margin-bottom:30px}
.article-hd h1{font-size:32px;font-weight:900;color:#111;line-height:1.4;margin-bottom:16px}
.article-meta{font-size:13px;color:#888;display:flex;justify-content:center;gap:20px}
.article-body{font-size:16px;line-height:1.9;color:#333}
.article-body p{margin-bottom:24px}
.article-body img{border-radius:12px;margin:30px 0;width:100%}
.article-body h2,.article-body h3{color:#111;margin:36px 0 20px;font-weight:900;border-left:4px solid #FF7A00;padding-left:12px}
.rel-box{margin-top:40px;border-top:1px solid #EAEAEA;padding-top:30px}
.rel-box h3{font-size:20px;font-weight:900;margin-bottom:20px}
.rel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.rel-item{display:flex;gap:16px;background:#F7F8FA;padding:12px;border-radius:12px;transition:all .3s}
.rel-item:hover{background:#FFF0E5}
.rel-item img{width:100px;height:75px;border-radius:8px;flex-shrink:0}
.rel-item h4{font-size:14px;font-weight:700;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:1024px){
  .hero{grid-template-columns:1fr}
  .hero-side{flex-direction:row}
  .hero-side-item{flex-direction:column}
  .hero-side-item img{width:100%;height:120px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .header .wrap{height:auto;flex-wrap:wrap;padding:12px 0;gap:12px}
  .nav-wrap{margin:0;width:100%;order:3}
  .nav{overflow-x:auto;justify-content:flex-start;padding-bottom:5px}
  .grid-4,.grid-3,.rel-grid{grid-template-columns:1fr}
  .hero-side{flex-direction:column}
  .hero-side-item{flex-direction:row}
  .hero-side-item img{width:100px;height:80px}
  .article-card{padding:24px}
}