/* 通用样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 10px;
    -webkit-text-size-adjust: 100%;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #ff4e4e, #f6d9d4);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* 前台样式 */
.header {
    color: white;
    text-align: center;
    padding: 10px 0;
}

.header h1 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
    line-height: 1.4;
}

.select-btn {
    display: block;
    width: 335px;
    height: 35px;
    line-height: 35px;
    margin: 15px auto;
    background-color: white;
    color: #ff2d2d;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

.number-list {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.number-item {
    width: 48%;
    padding: 8px 5px;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.9rem;
    color: #ff2d2d;
    font-weight: bold;
    text-decoration: none;
}

.number-item:hover {
    background-color: #fff0f0;
}

/* 文章页样式 */
.article-content {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.article-title {
    color: #ff2d2d;
    font-size: 1.1rem;
    margin-top: 0;
}

.article-meta {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.article-text {
    line-height: 1.6;
}

.back-btn {
    display: block;
    width: 100px;
    height: 35px;
    line-height: 35px;
    margin: 15px auto;
    background-color: white;
    color: #ff2d2d;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    padding-bottom: 5px;
}

.footer a {
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 360px) {
    .number-item {
        width: 100%;
    }
    .number-item:nth-last-child(2) {
        border-bottom: 1px dashed #e0e0e0;
    }
}