* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}
body {
    background: #f5f8ff;
    color: #333;
    min-height: 100vh;
    padding-bottom: 70px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
}
/* 标题样式 */
.title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #165DFF;
    margin: 20px 0;
}
/* 按钮通用样式-精美渐变，无圆角不杂乱 */
.btn {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(90deg, #165DFF, #4080FF);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    margin: 15px 0;
}
.btn:hover {
    opacity: 0.9;
}
.btn-gray {
    background: #e5e7eb;
    color: #666;
}
/* 输入框样式-简洁无边框阴影 */
.input-box {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    margin: 10px 0;
    outline: none;
}
.input-box:focus {
    border-color: #165DFF;
}
/* 卡片容器-核心美化，无杂乱边框阴影 */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(22,93,255,0.08);
    margin: 10px 0;
}
/* 底部导航栏-固定底部，精美简洁，核心导航 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 999;
}
.footer-nav a {
    color: #666;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
}
.footer-nav a.active {
    color: #165DFF;
}
/* 答题页样式
/* 答题页样式 */
.question {
    font-size: 24px;
    text-align: center;
    margin: 30px 0;
    font-weight: 500;
}
.time-box {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 16px;
    color: #666;
}
.time-danger {
    color: #ff4d4f;
    font-weight: 700;
}
.progress {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin: 20px 0;
}
.progress-bar {
    height: 100%;
    background: #165DFF;
    border-radius: 4px;
}
/* 排行榜/个人信息样式 */
.item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.item .info {
    flex: 1;
}
.item .name {
    font-size: 16px;
    font-weight: 500;
}
.item .score {
    font-size: 14px;
    color: #666;
}
/* 成绩页错题样式 */
.error-ques {
    color: #ff4d4f;
    margin: 10px 0;
    padding: 8px;
    background: #fff2f0;
    border-radius: 4px;
}
/* 适配移动端 */
@media (max-width: 768px) {
    .question {
        font-size: 20px;
    }
    .title {
        font-size: 20px;
    }
}
/* 版权标识-冰镇科技 */
.copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 30px;
}
