body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden; /* 防止水平滚动 */
}

.container {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 40px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.article-meta {
    text-align: center;
    color: #999;
    margin-bottom: 40px;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

pre {
    font-size: 16px;
    color: #333;
    line-height: 36px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 20px;
    white-space: pre-wrap; /* 保证长文本换行 */
    word-wrap: break-word; /* 防止长单词溢出 */
    overflow-wrap: break-word; /* 防止长单词溢出 */
}

.article-content {
    line-height: 1.6;
    font-size: 1.1em;
    color: #555;
    text-align: center; /* 水平居中 */
}

.article-content p {
    margin-bottom: 20px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: #007BFF;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.bottom-box {
    border: 3px solid #c1e202;
    padding: 5px;
    width: 90%;
    margin: 20px auto;
}

.bottom-text {
    background: #c1e202;
    color: #333;
    font-size: 16px;
    padding: 3px 6px;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

.bottom-img {
    width: 58%;
    border-radius: 25px;
}

.t1 {
    font-size: 24px;
    font-weight: bold;
}

.t2 {
    font-size: 22px;
    font-weight: bold;
}

.t3 {
    font-size: 20px;
    font-weight: bold;
}

.t4 {
    font-size: 18px;
    font-weight: bold;
}

.t5 {
    font-size: 16px;
    font-weight: bold;
}

/* 手机端样式 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin-top: 20px;
        padding: 10px;
    }

    pre {
        font-size: 14px;
        line-height: 28px;
        padding: 0 10px;
        white-space: pre-wrap; /* 保证长文本换行 */
        word-wrap: break-word; /* 防止长单词溢出 */
        overflow-wrap: break-word; /* 防止长单词溢出 */
    }

    .article-content {
        font-size: 1em;
    }

    .bottom-box {
        width: 100%;
        padding: 10px;
    }

    .bottom-img {
        width: 100%;
        border-radius: 8px;
    }

    .bottom-text {
        font-size: 14px;
        padding: 5px;
    }
}