    /* 基础重置和暗黑背景 */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0b0f1a; color: #e5e7eb; line-height: 1.6; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* 顶部导航 */
    .top-nav {
        position: sticky; top: 0; z-index: 100;
        background: rgba(11,15,26,0.85); backdrop-filter: blur(12px);
        border-bottom: 1px solid #1f2937;
        padding: 0 40px; height: 56px;
        display: flex; align-items: center; justify-content: space-between;
    }
    .top-nav .brand { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
    .top-nav .brand span { background: linear-gradient(135deg, #6366f1, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .top-nav .nav-links { display: flex; gap: 28px; font-size: 14px; color: #9ca3af; }
    .top-nav .nav-links a:hover { color: #e5e7eb; }
    .top-nav .nav-right { display: flex; gap: 16px; font-size: 14px; align-items: center; }
    .top-nav .nav-right a.btn-login { color: #9ca3af; }
    .top-nav .nav-right a.btn-signup { background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; padding: 6px 18px; border-radius: 6px; font-weight: 500; }

/* ================== Global Reset & Dark Theme ================== */
* { box-sizing: border-box; }
body { 
    background-color: #0a0a12 !important; 
    color: #f0eef5 !important; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; padding: 0; line-height: 1.9;
    text-align: left !important; 
}
a { color: #e2dff0; text-decoration: none; transition: color 0.2s; }
a:hover { color: #8b5cf6; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { color: #ffffff; margin: 0; text-align: left !important; }

/* Topbar & Header Fix */
body > div:first-of-type, body > p:first-of-type {
    background: #12121e; color: #a8a3b8; font-size: 13px; padding: 8px 40px; border-bottom: 1px solid #1e1e30; text-align: right !important;
}
.main-container { max-width: 100% !important; padding: 0 !important; }
.main-container > .header, .main-container > header, .main-container > #header {
    display: flex !important; align-items: center !important; justify-content: space-between !important; 
    padding: 20px 40px !important; margin-bottom: 30px !important; border-bottom: 1px solid #1e1e30 !important;
    width: 100% !important; max-width: 100% !important;
}

/* 内容区域限制宽度，保证正文居中 */
.content-container { max-width: 1600px; margin: 0 auto; display: flex; gap: 30px; align-items: flex-start; padding: 0 40px 40px; }
.mainbox-left-column { flex: 1; min-width: 0; }
.mainbox-right-column { width: 340px; flex-shrink: 0; }

/* ================== 左侧：正文卡片 ================== */
.article-card { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 40px; margin-bottom: 30px; }
.article-header { margin-bottom: 30px; border-bottom: 1px solid #1e1e30; padding-bottom: 20px; text-align: left !important; }
.article-title { font-size: 32px; font-weight: 700; line-height: 1.3; margin-bottom: 15px; color: #fff; text-align: left !important; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: #6b6880; text-align: left !important; }

/* ================== 正文排版 ================== */
.article-content { 
    font-size: 16px; 
    color: #d1d5db; 
    line-height: 2; 
    word-break: break-word;
    margin: 0;
    text-align: left !important; 
}
.article-content p { margin-top: 0; margin-bottom: 20px; text-align: left !important; }
.article-content br { display: none !important; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; display: block; }
.article-content h3 { font-size: 22px; margin: 30px 0 15px; color: #fff; text-align: left !important; }

/* ================== 🌟 广告位通用样式 ================== */
.ad-box {
    background: #0a0a12;
    border: 1px dashed rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 1. 正文环绕广告位 */
.ad-float {
    float: left;
    margin: 0 30px 20px 0; 
    width: 400px;          
    height: 280px;         
    max-width: 100%;       
    border-radius: 12px;
    border: 1px dashed rgba(139, 92, 246, 0.4); 
    background: #0a0a12;
    padding: 12px;         
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-float img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0; border-radius: 6px; }
.article-content h3, .article-content p:last-child { clear: both; }

/* 2. 正文底部横幅 */
.ad-bottom { width: 100%; height: 90px; margin-top: 30px; margin-bottom: 0; }

/* 3. 侧边栏广告 */
.ad-sidebar { width: 100%; height: 250px; margin-top: 24px; margin-bottom: 24px; }

/* ================== 左侧底部：推荐资讯 ================== */
.related-news { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 24px 30px; }
.related-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.related-header h3 { font-size: 18px; font-weight: 600; color: #fff; border-left: 4px solid #8b5cf6; padding-left: 12px; line-height: 1.2; margin: 0; }
.more-link { font-size: 13px; color: #a8a3b8; transition: color 0.2s; }
.more-link:hover { color: #8b5cf6; }
.related-list { display: flex; flex-direction: column; gap: 0; }
.related-list li { padding: 14px 0; border-bottom: 1px dashed #1e1e30; }
.related-list li:last-child { border-bottom: none; padding-bottom: 0; }
.related-list li:first-child { padding-top: 0; }
.related-list li a { font-size: 15px; color: #e2dff0; font-weight: 500; display: flex; align-items: flex-start; gap: 10px; transition: color 0.2s; }
.related-list li a::before { content: "•"; color: #8b5cf6; font-size: 20px; line-height: 1; margin-top: 1px; }
.related-list li a:hover { color: #8b5cf6; }

/* ================== 右侧：侧边栏 ================== */
.subcate { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.subcate h3 { font-size: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid #8b5cf6; text-align: left !important; display: block !important; }
.scatelist { display: flex; flex-wrap: wrap; gap: 10px; }
.scatelist li a { display: inline-block; padding: 6px 14px; background: #1e1e2e; border-radius: 20px; font-size: 13px; color: #a8a3b8; }
.scatelist li a:hover { background: #8b5cf6; color: #fff; }

.bestart, .bestweb { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.bestart h3, .bestweb h3 { font-size: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid #8b5cf6; text-align: left !important; display: block !important; }

/* Recommended News */
.artlist_b { display: flex; flex-direction: column; gap: 0; }
.artlist_b li { padding: 12px 0; border-bottom: 1px dashed #1e1e30; display: flex; align-items: flex-start; gap: 10px; text-align: left !important; }
.artlist_b li:last-child { border-bottom: none; padding-bottom: 0; }
.artlist_b li:first-child { padding-top: 0; }
.artlist_b li::before { content: "•"; color: #8b5cf6; font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.artlist_b li a { font-size: 14px; color: #e2dff0; display: block; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; text-align: left !important; }
.artlist_b li a:hover { color: #8b5cf6; }

/* Featured Websites */
.weblist_b { display: flex; flex-direction: column; gap: 16px; }
.weblist_b li { background: #0a0a12; border: 1px solid #1e1e30; border-radius: 12px; transition: border-color 0.2s; overflow: hidden; }
.weblist_b li:hover { border-color: #8b5cf6; }
.web-link-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 16px; text-decoration: none; width: 100%; text-align: left !important; }
.web-left-group { display: flex; align-items: center; gap: 16px; min-width: 0; }
.web-left-group img { display: block; width: 80px; height: 60px; flex-shrink: 0; background: #12121e; border-radius: 8px; object-fit: cover; border: 1px solid #1e1e30; }
.web-title { font-size: 16px; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left !important; }
.fake-btn { display: inline-flex; align-items: center; justify-content: center; color: #8b5cf6; font-size: 13px; padding: 6px 16px; background: rgba(139,92,246,0.1); border-radius: 6px; transition: background 0.2s, color 0.2s; flex-shrink: 0; margin-left: 12px; }
.weblist_b li:hover .fake-btn { background: #8b5cf6; color: #fff; }

/* ================== 底部错位暴力修复 ================== */
.content-container::after, .listbox::after, .clearfix::after { content: ""; display: table; clear: both; }
.main-container > .footer, .main-container > footer, .main-container > #footer, .footer-container {
    clear: both !important; display: block !important; width: 100% !important; float: none !important;
    text-align: left !important; margin-top: 40px !important; padding: 30px 0 !important; 
    border-top: 1px solid #1e1e30 !important; color: #6b6880 !important; font-size: 14px !important;
}
.main-container > .footer *, .main-container > footer * { text-align: left !important; }
.main-container > .footer .footer-links, .main-container > footer .footer-links {
    display: flex !important; justify-content: flex-end !important; align-items: flex-start !important;
    gap: 80px !important; float: none !important;
}
.main-container > .footer h3, .main-container > footer h3, .main-container > .footer .footer-title {
    display: block !important; float: none !important; text-align: left !important; margin: 0 0 20px 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-container > .header { padding: 20px !important; }
    .content-container { padding: 0 20px 20px; flex-direction: column; }
    .mainbox-right-column { width: 100%; }
    .article-card { padding: 24px; }
    .article-title { font-size: 24px; }
    .ad-float { float: none; margin: 20px auto; max-width: 100%; width: 100%; }
}