* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus { outline: none !important; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: #f4f6f8; color: #333; line-height: 1.6; font-size: 14px; }
a { text-decoration: none; color: #333; transition: 0.3s; }
a:hover { color: #2962FF; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.mt-20 { margin-top: 20px; }
.mb-30 { margin-bottom: 30px; }
.text-gray { color: #888; font-size: 12px; }
.btn-blue { background: #2962FF; color: #fff; padding: 6px 16px; border-radius: 20px; display: inline-block; font-size: 13px; font-weight: 600; }
.btn-blue:hover { background: #1e40cb; color: #fff; }

header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 999; height: 64px; }
.header-inner { height: 64px; }
.logo img { height: 32px; }
.nav ul li { display: inline-block; margin: 0 18px; }
.nav ul li a { font-weight: 500; font-size: 15px; color: #555; height: 64px; line-height: 64px; display: block; border-bottom: 2px solid transparent; }
.nav ul li.active a, .nav ul li a:hover { color: #2962FF; border-bottom-color: #2962FF; }
.header-icons a { margin-left: 15px; color: #666; font-size: 18px; }

footer { background: #fff; margin-top: 60px; padding: 50px 0 30px; border-top: 1px solid #eaeaea; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { margin-bottom: 15px; font-weight: bold; font-size: 22px; color: #2962FF; }
.footer-col h4 { margin-bottom: 20px; font-size: 15px; font-weight: bold; color: #000; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #666; font-size: 13px; }
.footer-bottom { margin-top: 40px; text-align: center; color: #999; font-size: 12px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.social-links { display: flex; gap: 15px; align-items: center; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #f5f5f5; border-radius: 50%; color: #666; transition: 0.3s; }
.social-links a:hover { background: #2962FF; color: #fff; transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

.main-layout { display: grid; grid-template-columns: 860px 300px; gap: 40px; margin-top: 30px; }
.card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

.topic-hero { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 24px; position: relative; min-height: 340px; overflow: visible !important; }
.slide-item { display: none; width: 100%; gap: 40px; align-items: flex-start; }
.slide-item.active { display: flex !important; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(5px); } to { opacity:1; transform: translateY(0); } }
.hero-left { width: 400px; height: 260px; position: relative; flex-shrink: 0; margin-right: 20px; perspective: 1000px; }
.hero-img-wrapper { position: absolute; top: 0; left: 0; width: 360px; height: 240px; z-index: 20; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.15); background: #fff; border: 4px solid #fff; }
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.stack-layer-1, .stack-layer-2 { position: absolute; width: 360px; height: 240px; background: #fff; border-radius: 12px; border: 1px solid #eaeaea; }
.stack-layer-1 { top: 10px; left: 15px; z-index: 15; transform: rotate(2deg); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.stack-layer-2 { top: 20px; left: 30px; z-index: 10; transform: rotate(4deg); box-shadow: 0 4px 10px rgba(0,0,0,0.03); background: #f9f9f9; }
.hero-right { flex: 1; display: flex; flex-direction: column; position: relative; height: 260px; }
.hero-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.topic-title-lg { font-size: 22px; font-weight: bold; color: #111; line-height: 1.3; }
.topic-time { font-size: 13px; color: #888; background: #f5f5f5; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.hero-desc { color: #666; font-size: 15px; margin-bottom: 15px; line-height: 1.6; height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-list li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 14px; color: #444; }
.hero-list li::before { content: '◆'; color: #2962FF; position: absolute; left: 0; top: 4px; font-size: 8px; }
.slider-controls { position: absolute; bottom: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 20px; }
.slider-btn { cursor: pointer; padding: 4px 8px; font-weight: bold; color: #666; user-select: none; }
.slider-btn:hover { color: #2962FF; }
.slider-count { font-size: 13px; color: #666; font-family: monospace; margin: 0 5px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.02); transition: transform 0.2s; }
.grid-card:hover { transform: translateY(-3px); }
.grid-img { height: 160px; width: 100%; position: relative; overflow: hidden; }
.grid-img img { width: 100%; height: 100%; object-fit: cover; }
.article-badge-sm { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; backdrop-filter: blur(4px); }
.grid-content { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.grid-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #111; line-height: 1.4; }
.grid-desc { font-size: 13px; color: #888; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sidebar-title { font-size: 18px; font-weight: bold; color: #000;}
.sidebar-arrow { font-size: 18px; color: #2962FF; }
.hot-list li { margin-bottom: 15px; border-bottom: 1px solid #f9f9f9; padding-bottom: 10px; }
.hot-list li:last-child { border-bottom: none; }
.hot-list h3 { font-size: 14px; font-weight: 500; line-height: 1.4; margin-bottom: 5px; color: #333; }
.hot-list h3:hover { color: #2962FF; }
.hot-list .meta { font-size: 12px; color: #999; }
.hot-list li a { display: block; color: #333; font-size: 14px; font-weight: 500; line-height: 1.4; }
.hot-list li a:hover { color: #2962FF; }

.sub-box { background: #fff; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.sub-icon img { width: 50px; height: 50px; }
.sub-content { flex: 1; }
.sub-checks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; }
.check-item { font-size: 12px; display: flex; align-items: center; gap: 5px; color: #333; }
.check-item input { accent-color: #2962FF; }
.sub-btn-area { margin-left: 10px; }

.news-row { display: flex; gap: 20px; border-bottom: 1px solid #f0f0f0; padding: 20px 0; }
.news-row-img { width: 220px; height: 130px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.news-row-img img { width: 100%; height: 100%; object-fit: cover; }
.news-row-info { flex: 1; }
.news-row-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; display: block; }
.news-row-desc { color: #666; font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.news-meta { color: #999; font-size: 12px; }
.dede_pages { margin: 40px 0; text-align: center; }
.dede_pages ul li { display: inline-block; margin: 0 3px; }
.dede_pages ul li a { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; color: #666; }
.dede_pages ul li.thisclass { padding: 6px 12px; background: #2962FF; color: #fff; border-radius: 4px; }

.timeline-wrap { position: relative; padding-left: 20px; border-left: 2px solid #eaeaea; margin-left: 10px; }
.flash-item { margin-bottom: 30px; position: relative; padding-left: 20px; }
.flash-dot { width: 12px; height: 12px; background: #2962FF; border-radius: 50%; position: absolute; left: -27px; top: 4px; border: 2px solid #fff; box-shadow: 0 0 0 2px #2962FF; }
.flash-time { color: #2962FF; font-weight: bold; font-size: 13px; margin-bottom: 5px; }
.flash-title { font-weight: bold; font-size: 16px; margin-bottom: 5px; }
.flash-body { color: #555; font-size: 14px; background: #f9f9f9; padding: 12px; border-radius: 6px; }

.article-wrap { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); overflow: hidden; }
.crumb-nav { font-size: 13px; color: #999; margin-bottom: 20px; letter-spacing: 0.5px; }
.crumb-nav a { color: #666; font-weight: 500; }
.crumb-nav a:hover { color: #2962FF; }
.crumb-nav .sep { margin: 0 8px; color: #ddd; }

.detail-header-box { display: block; width: 100%; height: auto !important; margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; position: relative; }
.badge-row { margin-bottom: 15px; display: block; }
.article-badge { display: inline-block; background: #eef2ff; color: #2962FF; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.article-title { font-size: 32px; font-weight: 800; color: #111; line-height: 1.3; margin-top: 0; margin-bottom: 25px; letter-spacing: -0.5px; width: 100%; display: block; clear: both; word-wrap: break-word; overflow-wrap: break-word; }

.article-meta-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding-top: 5px; }
.meta-left { display: flex; align-items: center; gap: 12px; }
.author-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #f5f5f5; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 14px; font-weight: 700; color: #333; }
.publish-time { font-size: 12px; color: #999; }

.share-btn-pill { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #eaeaea; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #555; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.03); cursor: pointer; }
.share-btn-pill:hover { background: #2962FF; color: #fff; border-color: #2962FF; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(41, 98, 255, 0.2); }

.article-lead { background: #f8f9fa; padding: 20px 25px; border-left: 4px solid #2962FF; margin-bottom: 30px; color: #555; font-size: 15px; font-style: italic; border-radius: 0 8px 8px 0; line-height: 1.6; clear: both; display: block; margin-top: 20px; }
.article-content { font-size: 17px; line-height: 1.8; color: #2c3e50; clear: both; display: block; }
.article-content p { margin-bottom: 24px; }
.article-content img { max-width: 100%; height: auto; display: block; margin: 30px auto; border-radius: 8px; }
.article-disclaimer { margin-top: 50px; padding: 25px; background: #fcfcfc; border: 1px dashed #ddd; border-radius: 8px; }
.article-disclaimer h4 { font-size: 14px; text-transform: uppercase; color: #999; margin-bottom: 10px; font-weight: 700; }
.article-disclaimer p { font-size: 12px; color: #aaa; line-height: 1.5; margin: 0; }

.article-nav { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; display: flex; justify-content: space-between; gap: 20px; }
.nav-link { font-size: 14px; color: #666; max-width: 45%; }
.nav-link a { color: #2962FF; font-weight: bold; display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.list-container { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); min-height: 600px; }
.rank-list li { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; border-bottom: 1px solid #f9f9f9; padding-bottom: 12px; }
.rank-list li:last-child { border-bottom: none; }
.rank-num { width: 20px; height: 20px; line-height: 20px; text-align: center; background: #eee; color: #999; border-radius: 4px; font-size: 12px; font-weight: bold; flex-shrink: 0; margin-top: 2px; }
.rank-list li:nth-child(1) .rank-num { background: #ff4d4f; color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: #ff7a45; color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: #ffc53d; color: #fff; }
.rank-title { font-size: 14px; line-height: 1.4; font-weight: 500; color: #333; }
.rank-title:hover { color: #2962FF; }
.lives-container { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    
    .main-layout { display: flex; flex-direction: column; grid-template-columns: 1fr; margin-top: 20px; gap: 20px; }
    .content-left, .content-right { width: 100%; }
    
    .footer-cols { grid-template-columns: 1fr; gap: 30px; }
    .nav ul { display: none; } 
    
    .topic-hero { min-height: auto; padding: 20px; }
    .slide-item { flex-direction: column; gap: 20px; }
    .hero-left { width: 100%; height: auto; margin-right: 0; margin-bottom: 20px; }
    .hero-img-wrapper, .stack-layer-1, .stack-layer-2 { width: 100%; height: 200px; position: relative; top: 0; left: 0; transform: none; }
    .hero-right { height: auto; }
    .topic-grid { grid-template-columns: 1fr; }
    
    .article-wrap { padding: 20px 15px; }
    .article-title { font-size: 24px; margin-bottom: 15px; line-height: 1.4; word-break: break-word; }
    .article-meta-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .meta-right { width: 100%; margin-top: 10px; }
    .share-btn-pill { width: 100%; justify-content: center; }
    .article-content { font-size: 16px; }
    .article-content img { margin: 20px auto; width: 100% !important; height: auto !important; }
    
    .news-row { flex-direction: column; }
    .news-row-img { width: 100%; height: 180px; margin-bottom: 10px; }
}

.hot-list li {
    position: relative;
    padding-left: 16px; 
}

.hot-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px; 
    width: 6px;
    height: 6px;
    background-color: #2962FF;
    border-radius: 1px; 
}

.hot-list li:hover::before {
    background-color: #1e40cb;
    transform: scale(1.2); 
    transition: 0.2s;
}