/* style.css - 完美对齐 & 颜色美化 & ID 适配版 */
*{margin:0;padding:0;box-sizing:border-box}

body {
    font-family: "PingFang SC", "STHeiti", "Microsoft YaHei", sans-serif;
    background: #f4f6f8;
    color: #333;
    line-height: 1.8;
    padding-bottom: 0 !important; 
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 60px 5px; 
    position: relative;
    z-index: 2;
    min-height: auto; 
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 767px) {
    body { background: #fff; }
    .container { 
        padding: 25px 20px 5px;
        box-shadow: none;
    }
    h1 { font-size: 24px !important; line-height: 1.4; }
    .content ol, .content ul { padding-left: 22px !important; }
}

h1 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; }

.info { 
    font-size: 14px; 
    color: #999; 
    margin-bottom: 15px;
    padding-bottom: 12px; 
    border-bottom: 1px solid #eee; 
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: #007bff; }

.content { font-size: 17px; color: #3e3e3e; text-align: justify; flex: 1; }
.content p { margin-bottom: 22px; }
.content strong { color: #000; }

.content h3 { 
    font-size: 20px; 
    font-weight: bold; 
    margin: 35px 0 15px; 
    padding-left: 12px; 
    border-left: 5px solid #007bff; 
    color: #000; 
}

.content ol, .content ul { 
    padding-left: 28px; 
    margin-bottom: 22px; 
}
.content li { 
    line-height: 1.8; 
    margin-bottom: 10px; 
    list-style-position: outside; 
}

.ai-note { 
    text-align: right; 
    font-size: 13px; 
    color: #bbb; 
    margin-top: 15px; 
    font-style: italic;
}

.ad-slot { 
    margin: 8px 0; 
    text-align: center; 
}
.ad-slot img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 0 auto; }

/* ========================================= */
/* --- 关键修改：匹配 JS 中的防屏蔽 ID --- */
/* ========================================= */
.ad-side { display: none; position: fixed; top: 120px; width: 140px; z-index: 1; }

@media screen and (min-width: 1300px) {
    .ad-side { display: block; }
    /* 将 ID 从 #ad-left 改为 #ext-side-left */
    #ext-side-left { left: calc(50% - 500px - 145px); }
    /* 将 ID 从 #ad-right 改为 #ext-side-right (匹配您的 JS 代码) */
    #ext-side-right { right: calc(50% - 500px - 145px); }
}
/* ========================================= */

#ad-float {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 10000; width: 85%; max-width: 450px; pointer-events: none;
}
#ad-float > div { pointer-events: auto; }

.close-btn {
    position: absolute; right: -8px; top: -8px; background: rgba(0,0,0,0.8); color: #fff;
    padding: 4px 10px; border-radius: 20px; font-size: 13px; cursor: pointer; border: 1.5px solid #fff;
    z-index: 10001;
}

.footer { 
    margin-top: 5px; 
    padding: 12px 0;  
    border-top: 1px solid #eee; 
    text-align: center; 
    font-size: 13px; 
    color: #bbb;
}