/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    /* 移动端优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 防止移动端点击延迟 */
    touch-action: manipulation;
    /* 防止文本选择（在需要的地方单独开启） */
    -webkit-tap-highlight-color: transparent;
    /* 移动端滚动优化 */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 15px; /* 添加间距，防止元素挤压 */
    flex-wrap: nowrap; /* 防止换行 */
}

.logo {
    flex-shrink: 0; /* 防止logo被压缩 */
    min-width: 0; /* 允许内容收缩 */
}

.logo h1 {
    color: #4a5568;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap; /* 防止标题换行 */
}

.logo p {
    color: #718096;
    font-size: 0.9rem;
}

.nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* 防止导航按钮被压缩 */
    flex-wrap: nowrap; /* 防止按钮换行 */
}

.nav-btn {
    padding: 10px 20px;
    border: none;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    /* 移动端触摸优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px; /* 最小触摸目标尺寸 */
    min-width: 44px;
    white-space: nowrap; /* 防止按钮文字换行 */
    flex-shrink: 0; /* 防止按钮被压缩 */
}

.nav-btn:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 用户信息区域 */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    padding-left: 20px;
    border-left: 1px solid #e2e8f0;
    flex-shrink: 0; /* 防止被压缩 */
    min-width: 0; /* 允许子元素收缩 */
}

.current-user {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border: 2px solid #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    max-width: 200px; /* 限制最大宽度 */
    min-width: 120px; /* 设置最小宽度 */
    overflow: hidden;
    flex-shrink: 1; /* 允许收缩 */
}

.current-user:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #d4e0ff 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.current-user:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* 登录状态下的样式 */
.current-user.logged-in {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.current-user.logged-in:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
}

/* 添加用户图标 */
.current-user.logged-in::before {
    content: '👤 ';
    margin-right: 5px;
    flex-shrink: 0;
}

/* 用户名文本样式 - 可以截断 */
.current-user .username-text {
    display: inline-block;
    max-width: 120px; /* 限制用户名最大宽度 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* VIP标识样式优化 - 始终显示，不被截断 */
.current-user .vip-badge-inline {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.login-btn {
    padding: 8px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0; /* 防止登录按钮被压缩 */
}

.login-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 主要内容区域 */
.main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* 搜索区域 - 固定定位优化 */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: sticky;
    top: 100px;
    z-index: 90;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* 搜索区域左侧（搜索框和筛选） */
.search-section-left {
    flex: 1;
    min-width: 0; /* 允许flex子元素收缩 */
}

/* 搜索区域右侧（播放器） */
.search-section .audio-player-container {
    flex-shrink: 0;
    width: 320px;
    margin-bottom: 0;
    padding: 15px;
}

/* 搜索区域内播放器的紧凑样式 */
.search-section .audio-player {
    gap: 12px;
}

.search-section .player-controls {
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
}

.search-section .player-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    flex-shrink: 0;
}

.search-section .player-btn-main {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.search-section .player-title {
    font-size: 1rem;
}

.search-section .player-status {
    font-size: 0.85rem;
}

/* 通用隐藏类 */
.hidden {
    display: none !important;
    visibility: hidden !important;
}

/* 玩学天地页面隐藏搜索区域 */
.search-section.hidden {
    display: none;
}

.search-box {
    display: flex;
    margin-bottom: 20px;
    max-width: 550px;
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    padding-right: 90px; /* 为按钮留出空间 */
}

.search-box input:focus {
    border-color: #667eea;
}

.search-box button {
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    position: absolute;
    right: 45px;
    top: 0;
    height: 100%;
}

.search-box button:hover {
    transform: scale(1.05);
}

/* 清空按钮样式 */
#clearBtn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#clearBtn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

/* 搜索结果信息样式 */
.search-result-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    margin-bottom: 15px;
    max-width: 100%;
}

#searchResultCount {
    font-weight: 700;
    font-size: 1.5rem;
}

#searchResultText {
    font-size: 1rem;
}

/* 关键词高亮样式 */
.poetry-card mark {
    background: #ffd700;
    color: #2d3748;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

/* 学期筛选按钮 */
.semester-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.semester-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.semester-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.semester-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

/* 标签页内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 诗词网格 */
.poetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* 锁定状态的诗词卡片 */
.poetry-card-locked {
    position: relative;
    opacity: 0.7;
    filter: grayscale(0.3);
    cursor: not-allowed !important;
}

.poetry-card-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1;
}

.poetry-card-locked .lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}

.poetry-card-locked .lock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.poetry-card-locked:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* 学习列表锁定项 */
.learning-item-locked {
    opacity: 0.6;
    cursor: not-allowed !important;
    position: relative;
}

.learning-item-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    z-index: 1;
}

.learning-item-locked:hover {
    background: #f7fafc !important;
    transform: none !important;
}

.poetry-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.poetry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.poetry-card .grade-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.poetry-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.poetry-card .author {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.poetry-card .content {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.poetry-card .preview {
    color: #a0aec0;
    font-size: 0.85rem;
    font-style: italic;
}

/* 学习模式样式 */
/* 学习模式上下布局 */
.learning-welcome-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.learning-list-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.learning-list-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.learning-list {
    max-height: 500px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.learning-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.learning-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.learning-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.learning-item.learning-item-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.welcome-message {
    text-align: center;
    padding: 30px 20px;
}

.welcome-message h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 15px;
}

.welcome-message p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.learning-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature .icon {
    font-size: 2rem;
}

.feature span:last-child {
    color: #4a5568;
    font-weight: 500;
}

/* 玩学天地样式 */
.practice-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


.practice-header {
    text-align: center;
    margin-bottom: 30px;
}

.practice-header h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 10px;
}

.practice-header p {
    color: #718096;
    font-size: 1.1rem;
}

.practice-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.practice-card {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* 移动端触摸优化 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 140px; /* 确保足够的触摸区域 */
}

.practice-card:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.practice-card .card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.practice-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.practice-card p {
    color: #718096;
    font-size: 0.95rem;
}

.practice-area {
    background: #f7fafc;
    border-radius: 15px;
    padding: 30px;
    min-height: 300px;
}

.practice-welcome {
    text-align: center;
    padding: 50px 20px;
}

.practice-welcome h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.practice-welcome p {
    color: #718096;
    font-size: 1rem;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

/* 学习模态框样式 */
.learning-modal-content {
    max-width: 900px;
    max-height: 85vh;
}

.learning-content {
    padding: 20px 0;
}

.poetry-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.poetry-header h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 10px;
}

.poetry-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    color: #718096;
    font-size: 0.95rem;
}

.poetry-meta span {
    padding: 4px 12px;
    background: #f7fafc;
    border-radius: 15px;
}

.poetry-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.original-text-section {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.section-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.section-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.section-content {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 移除折叠功能，所有内容默认展开 */

.text-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1rem;
    white-space: pre-line;
}

.notes-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.note-word {
    font-weight: bold;
    color: #2d3748;
    font-size: 1.1rem;
    margin-right: 10px;
}

.note-pinyin {
    color: #718096;
    font-size: 0.9rem;
    font-style: italic;
    margin-right: 10px;
}

.note-explanation {
    color: #4a5568;
    margin-top: 8px;
    line-height: 1.6;
}

.learning-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.action-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.action-btn-secondary {
    background: linear-gradient(135deg, #718096, #4a5568);
}

.action-btn-secondary:hover {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    box-shadow: 0 6px 16px rgba(113, 128, 150, 0.4);
}

.poetry-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 底部样式 */
.footer {
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.footer p {
    color: #718096;
    font-size: 0.9rem;
}

/* 响应式设计 - 移动端适配 */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .poetry-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .practice-types {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .learning-container {
        gap: 20px;
    }
    
    .learning-sidebar {
        min-width: 250px;
    }
}

/* 手机设备 (768px 及以下) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 头部导航优化 */
    .header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .logo p {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 80px;
    }
    
    /* 移动端用户信息区域 */
    .user-info {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding-left: 0;
        padding-top: 10px;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        gap: 10px;
        flex-wrap: wrap; /* 允许换行 */
    }
    
    .current-user {
        font-size: 0.85rem;
        padding: 8px 16px;
        max-width: 100%;
        min-width: 120px;
        text-align: center;
        flex: 1 1 auto; /* 允许伸缩 */
    }
    
    .current-user .username-text {
        max-width: 100px; /* 移动端进一步限制 */
    }
    
    .login-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    /* 搜索区域优化 - 移动端固定定位 */
    .search-section {
        padding: 15px;
        margin-bottom: 15px;
        position: sticky;
        top: 85px;
        z-index: 90;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 15px;
    }
    
    /* 移动端播放器容器 */
    .search-section .audio-player-container {
        width: 100%;
        padding: 15px;
    }
    
    .search-box {
        flex-direction: row;
        max-width: 100%;
        margin-bottom: 15px;
        position: relative;
        width: 100%;
    }
    
    .search-box input {
        border-radius: 25px;
        padding: 12px 80px 12px 18px; /* 为按钮留出空间 */
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .search-box input::placeholder {
        font-size: 13px; /* 占位符字体 */
    }
    
    .search-box button {
        border-radius: 25px;
        padding: 12px 18px;
        font-size: 0.9rem;
        width: auto;
        position: static;
        height: auto;
    }
    
    #searchBtn {
        position: absolute;
        right: 45px;
        top: 0;
        height: 100%;
    }
    
    #clearBtn {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 40px;
    }
    
    .search-result-info {
        max-width: 100%;
        padding: 8px 15px;
        margin-bottom: 12px;
    }
    
    #searchResultCount {
        font-size: 1.3rem;
    }
    
    #searchResultText {
        font-size: 0.9rem;
    }
    
    .filter-tabs {
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 60px;
    }
    
    .semester-tabs {
        gap: 8px;
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .semester-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 60px;
    }
    
    /* 诗词网格优化 */
    .poetry-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .poetry-card {
        padding: 15px;
    }
    
    .poetry-card h3 {
        font-size: 1.2rem;
    }
    
    .poetry-card .content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* 学习模式优化 */
    .learning-welcome-section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .learning-list-section {
        padding: 15px;
    }
    
    .learning-list-section h3 {
        font-size: 1.1rem;
    }
    
    .learning-list {
        max-height: 400px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .welcome-message {
        padding: 20px 15px;
    }
    
    .welcome-message h2 {
        font-size: 1.6rem;
    }
    
    .welcome-message p {
        font-size: 1rem;
    }
    
    .learning-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature .icon {
        font-size: 1.8rem;
    }
    
    /* 玩学天地优化 */
    .practice-container {
        padding: 20px;
    }
    
    .practice-header h2 {
        font-size: 1.6rem;
    }
    
    .practice-header p {
        font-size: 1rem;
    }
    
    .practice-types {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .practice-card {
        padding: 20px;
    }
    
    .practice-card .card-icon {
        font-size: 2.5rem;
    }
    
    .practice-card h3 {
        font-size: 1.2rem;
    }
    
    .practice-card p {
        font-size: 0.9rem;
    }
    
    .practice-area {
        padding: 20px;
    }
    
    .practice-welcome {
        padding: 30px 15px;
    }
    
    .practice-welcome h3 {
        font-size: 1.3rem;
    }
    
    /* 模态框优化 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .learning-modal-content {
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .poetry-header h2 {
        font-size: 1.6rem;
    }
    
    .poetry-meta {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .section-header {
        padding: 12px 15px;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .section-content {
        padding: 15px;
    }
    
    .text-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .note-item {
        padding: 12px;
    }
    
    .note-word {
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .poetry-actions {
        gap: 10px;
    }
    
    .poetry-actions .action-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .close {
        font-size: 24px;
        padding: 10px 15px;
    }
    
    /* 底部优化 */
    .footer {
        padding: 15px 0;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
}

/* 小屏手机设备 (480px 及以下) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* 头部进一步优化 */
    .header .container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    .nav {
        gap: 6px;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    /* 小屏用户信息区域 */
    .user-info {
        gap: 8px;
        padding-top: 8px;
    }
    
    .current-user {
        font-size: 0.8rem;
        padding: 8px 12px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .current-user .username-text {
        max-width: 100px;
    }
    
    .login-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    /* 搜索区域进一步优化 - 小屏移动端 */
    .search-section {
        padding: 12px;
        margin-bottom: 12px;
        position: sticky;
        top: 80px;
        z-index: 90;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .search-box input {
        padding: 10px 70px 10px 15px;
        font-size: 16px;
    }
    
    .search-box button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    #searchResultCount {
        font-size: 1.1rem;
    }
    
    #searchResultText {
        font-size: 0.85rem;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: 50px;
    }
    
    .semester-tabs {
        gap: 6px;
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .semester-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: 50px;
    }
    
    /* 诗词卡片进一步优化 */
    .poetry-card {
        padding: 12px;
    }
    
    .poetry-card h3 {
        font-size: 1.1rem;
    }
    
    .poetry-card .author {
        font-size: 0.85rem;
    }
    
    .poetry-card .content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .poetry-card .preview {
        font-size: 0.8rem;
    }
    
    /* 学习模式进一步优化 */
    .learning-welcome-section {
        padding: 15px 10px;
        margin-bottom: 10px;
    }
    
    .learning-list-section {
        padding: 12px;
    }
    
    .learning-list-section h3 {
        font-size: 1rem;
    }
    
    .learning-list {
        max-height: 350px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .learning-item {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .welcome-message {
        padding: 20px 10px;
    }
    
    .welcome-message h2 {
        font-size: 1.4rem;
    }
    
    .welcome-message p {
        font-size: 0.95rem;
    }
    
    .feature .icon {
        font-size: 1.6rem;
    }
    
    /* 玩学天地进一步优化 */
    .practice-container {
        padding: 15px;
    }
    
    .practice-header h2 {
        font-size: 1.4rem;
    }
    
    .practice-header p {
        font-size: 0.95rem;
    }
    
    .practice-card {
        padding: 15px;
    }
    
    .practice-card .card-icon {
        font-size: 2.2rem;
    }
    
    .practice-card h3 {
        font-size: 1.1rem;
    }
    
    .practice-card p {
        font-size: 0.85rem;
    }
    
    .practice-area {
        padding: 15px;
    }
    
    .practice-welcome {
        padding: 20px 10px;
    }
    
    .practice-welcome h3 {
        font-size: 1.2rem;
    }
    
    .practice-welcome p {
        font-size: 0.9rem;
    }
    
    /* 模态框进一步优化 */
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .learning-modal-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .poetry-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .poetry-header h2 {
        font-size: 1.4rem;
    }
    
    .poetry-meta {
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .poetry-meta span {
        padding: 3px 8px;
    }
    
    .section-header {
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    
    .section-header h3 {
        font-size: 1rem;
    }
    
    .section-content {
        padding: 12px;
    }
    
    .text-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .note-item {
        padding: 10px;
    }
    
    .note-word {
        font-size: 0.95rem;
    }
    
    .note-pinyin {
        font-size: 0.85rem;
    }
    
    .note-explanation {
        font-size: 0.9rem;
        margin-top: 6px;
    }
    
    .action-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .poetry-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .poetry-actions .action-btn {
        width: 100%;
        min-width: auto;
    }
    
    .learning-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .close {
        font-size: 20px;
        padding: 8px 12px;
    }
}

/* 超小屏设备 (360px 及以下) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        min-width: 60px;
    }
    
    /* 搜索区域 - 超小屏幕 */
    .search-section {
        padding: 10px;
        margin-bottom: 10px;
        position: sticky;
        top: 70px;
        z-index: 90;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .filter-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        min-width: 45px;
    }
    
    .poetry-card {
        padding: 10px;
    }
    
    .poetry-card h3 {
        font-size: 1rem;
    }
    
    .poetry-card .content {
        font-size: 0.85rem;
    }
    
    .practice-card {
        padding: 12px;
    }
    
    .practice-card .card-icon {
        font-size: 2rem;
    }
    
    .practice-card h3 {
        font-size: 1rem;
    }
    
    .practice-card p {
        font-size: 0.8rem;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .header .container {
        flex-direction: row;
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    .nav {
        gap: 6px;
    }
    
    .nav-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* 搜索区域 - 横屏优化 */
    .search-section {
        padding: 12px 15px;
        position: sticky;
        top: 70px;
        z-index: 90;
    }
    
    .learning-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .poetry-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .practice-types {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果，增强触摸体验 */
    .poetry-card:hover {
        transform: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border-color: transparent;
    }
    
    .poetry-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    
    .nav-btn:hover {
        background: #e2e8f0;
        transform: none;
    }
    
    .nav-btn:active {
        transform: scale(0.95);
    }
    
    .filter-btn:hover {
        border-color: #e2e8f0;
        color: #4a5568;
    }
    
    .filter-btn:active {
        transform: scale(0.95);
    }
    
    .practice-card:hover {
        background: #f7fafc;
        border-color: transparent;
        transform: none;
        box-shadow: none;
    }
    
    .practice-card:active {
        background: white;
        border-color: #667eea;
        transform: scale(0.98);
    }
    
    .learning-item:hover {
        background: #f7fafc;
        border-left-color: transparent;
    }
    
    .learning-item:active {
        background: #edf2f7;
        border-left-color: #667eea;
    }
    
    .search-box button:hover {
        transform: none;
    }
    
    .search-box button:active {
        transform: scale(0.95);
    }
    
    .close:hover {
        color: #aaa;
    }
    
    .close:active {
        color: #333;
        transform: scale(0.9);
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .poetry-card {
        border-width: 0.5px;
    }
    
    .filter-btn {
        border-width: 1px;
    }
    
    .practice-card {
        border-width: 1px;
    }
}

/* 触摸设备通用优化 */
@media (pointer: coarse) {
    /* 确保触摸目标至少44px（符合移动端最佳实践） */
    .nav-btn,
    .filter-btn,
    .semester-btn,
    .search-box button,
    .close,
    .login-btn,
    .btn-primary,
    .btn-secondary,
    .btn-vip {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 增加诗词卡片的触摸区域 */
    .poetry-card {
        min-height: 120px;
        padding: 20px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 增加练习卡片的触摸区域 */
    .practice-card {
        min-height: 140px;
        padding: 25px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 增加学习列表项的触摸区域 */
    .learning-item {
        min-height: 50px;
        padding: 15px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 优化输入框 */
    .search-box input,
    .form-input {
        min-height: 44px;
        font-size: 16px; /* 防止iOS缩放 */
        touch-action: manipulation;
    }
    
    /* 优化模态框按钮 */
    .modal-content button {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* 防止双击缩放（针对可交互元素，不应用全局） */
button,
a,
.poetry-card,
.practice-card,
.learning-item,
.filter-btn,
.semester-btn,
.nav-btn,
.search-box button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 文本选择区域保持默认行为 */
input,
textarea,
[contenteditable="true"],
p,
span,
div[role="textbox"] {
    touch-action: auto;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.1);
}

/* 优化滚动性能 */
.poetry-grid,
.learning-list,
.modal-content {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 防止文本选择（在触摸设备上） */
.poetry-card,
.practice-card,
.nav-btn,
.filter-btn,
.semester-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 保持输入框可选择 */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poetry-card {
    animation: fadeIn 0.5s ease;
}

.poetry-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.poetry-card:nth-child(even) {
    animation-delay: 0.2s;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 成功/错误提示 */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==================== 用户功能样式 ==================== */

/* 用户模态框 */
.user-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.user-profile-container {
    padding: 20px;
}

.user-profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.user-profile-header h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* 用户信息区域 */
.user-info-section {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

/* 用户信息布局：左右分布 */
.user-info-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .user-info-layout {
        flex-direction: column;
    }
    
    .vip-upgrade-section {
        width: 100%;
    }
}

/* VIP升级区域 */
.vip-upgrade-section {
    flex: 1;
    min-width: 300px;
}

.vip-status-display {
    margin-bottom: 20px;
}

.vip-status-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.vip-icon {
    font-size: 2.5rem;
}

.vip-info {
    flex: 1;
}

.vip-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.vip-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

.vip-upgrade-area {
    padding: 25px;
    background: linear-gradient(135deg, #fef7e0 0%, #f5e6d3 100%);
    border-radius: 15px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.vip-upgrade-area h3 {
    color: #b8860b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.vip-benefits-list {
    margin-bottom: 25px;
}

.vip-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text {
    color: #2d3748;
    font-size: 0.95rem;
    flex: 1;
}

.vip-price-display {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.price-label {
    color: #718096;
    font-size: 1rem;
    margin-right: 8px;
}

.price-amount {
    color: #d4af37;
    font-size: 2rem;
    font-weight: 700;
}

.btn-vip-upgrade {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-vip-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-vip-upgrade:active {
    transform: translateY(0);
}

/* VIP升级按钮（用户功能区） */
.vip-upgrade-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    margin-right: 10px;
    flex-shrink: 0; /* 防止VIP按钮被压缩 */
}

.vip-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.vip-upgrade-btn:active {
    transform: translateY(0);
}

.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 4rem;
    color: white;
}

.btn-upload-avatar {
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-upload-avatar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 用户详情 */
.user-details {
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.detail-item label {
    min-width: 80px;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

.readonly-text {
    color: #2d3748;
    font-size: 0.95rem;
    font-weight: 400;
    flex: 1;
}

.bind-btn {
    padding: 6px 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.bind-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.bind-btn:active {
    transform: translateY(0);
}

/* 学习进度区域 */
.learning-progress-section {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
}

.learning-progress-section h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* 功能卡片容器 */
.function-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* 功能卡片 */
.function-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.function-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.function-card-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.function-card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    flex-shrink: 0;
}

.function-card-text {
    flex: 1;
}

.function-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.function-card-desc {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

.function-card-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.function-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.function-card-btn:active {
    transform: scale(0.98);
}

/* 按钮内的文本和锁图标样式 */
.function-card-btn .btn-text {
    display: inline-block;
}

.function-card-btn .lock-icon {
    font-size: 0.9rem;
    color: #f59e0b;
    vertical-align: middle;
    display: inline-block;
}

/* 功能卡片锁定状态 - 保持卡片的浮动效果 */
.function-card-locked {
    /* 移除opacity和cursor限制，保持卡片的独立和浮动效果 */
    position: relative;
}

.function-card-locked:hover {
    /* 保持hover效果 */
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.function-card-btn-locked {
    background: linear-gradient(135deg, #cbd5e0, #a0aec0) !important;
    color: #718096 !important;
    /* 保持可点击状态，但视觉上显示锁定 */
}

.function-card-btn-locked:hover {
    /* 保持hover效果，但颜色稍深 */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(160, 174, 192, 0.4);
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
    flex-shrink: 0;
}

.stat-label {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.stat-value {
    display: inline-block;
    color: #667eea;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-unit {
    display: inline-block;
    color: #718096;
    font-size: 1rem;
    font-weight: 400;
    margin-left: 4px;
    vertical-align: baseline;
}

/* 学习进度列表 */
.progress-list {
    max-height: 400px;
    overflow-y: auto;
}

.progress-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.progress-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-title {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.progress-badge.mastered {
    background: #d4edda;
    color: #155724;
}

.progress-badge.learning {
    background: #fff3cd;
    color: #856404;
}

.progress-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-time {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-top: 8px;
}

.progress-practice-types {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.practice-type-label {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.practice-type-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e6f3ff;
    color: #0066cc;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.practice-type-more {
    color: #718096;
    font-size: 0.8rem;
}

.progress-wrong-count {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    font-size: 0.85rem;
    font-weight: 500;
}

.wrong-count-icon {
    font-size: 1rem;
}

.empty-message {
    text-align: center;
    color: #a0aec0;
    padding: 40px 20px;
    font-size: 1rem;
}

/* 学习报告样式 */
.report-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.report-section h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.report-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.overview-item {
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
}

.overview-label {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.overview-value {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.overview-unit {
    color: #718096;
    font-size: 0.9rem;
    margin-top: 4px;
}

.grade-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.grade-stat-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.grade-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.grade-stat-title {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.grade-stat-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 8px;
}

.trend-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.trend-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
    min-width: 150px;
}

.trend-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.trend-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.trend-unit {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 4px;
}

.weak-points {
    max-height: 300px;
    overflow-y: auto;
}

.weak-point-item {
    padding: 12px;
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    border-radius: 8px;
    margin-bottom: 10px;
}

.weak-point-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.weak-point-title {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.weak-point-score {
    color: #fc8181;
    font-size: 0.9rem;
    font-weight: 600;
}

.weak-point-details {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
}

/* 薄弱点分析标签页 */
.weakness-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.weakness-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.weakness-tab:hover {
    color: #667eea;
}

.weakness-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.weakness-tab .tab-icon {
    font-size: 1.1rem;
}

.weakness-content {
    margin-top: 15px;
}

.weakness-tab-content {
    display: none;
}

.weakness-tab-content.active {
    display: block;
}

/* 薄弱年级样式 */
.weak-grade-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #f59e0b;
}

.weak-grade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.weak-grade-title {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.weak-grade-rate {
    color: #f59e0b;
    font-size: 1rem;
    font-weight: 600;
}

.weak-grade-details {
    font-size: 0.9rem;
    color: #718096;
}

/* 按诗词统计样式 */
.poetry-stats-container {
    max-height: 400px;
    overflow-y: auto;
}

.poetry-stat-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

.poetry-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.poetry-stat-title {
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.poetry-stat-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-mastered {
    background: #d1fae5;
    color: #065f46;
}

.badge-learning {
    background: #dbeafe;
    color: #1e40af;
}

.poetry-stat-details {
    font-size: 0.9rem;
    color: #718096;
}

/* 时间统计和图表容器 */
.time-stats-container {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    min-height: 300px;
}

.progress-trends-container {
    padding: 15px;
}

.trend-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.trend-chart-item {
    background: #f7fafc;
    border-radius: 10px;
    padding: 15px;
    min-height: 250px;
}

.trend-chart-item h5 {
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
}

.report-loading {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1rem;
}

.report-data {
    display: block;
}

/* 复习推荐样式 */
.review-content {
    display: none;
}

.review-loading {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1rem;
}

.review-data {
    display: block;
}

/* 统计卡片容器 */
.review-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.review-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.review-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.review-stat-card.stat-unmastered {
    border-left-color: #fc8181;
    background: linear-gradient(135deg, #fff5f5 0%, white 100%);
}

.review-stat-card.stat-low-score {
    border-left-color: #f6ad55;
    background: linear-gradient(135deg, #fffaf0 0%, white 100%);
}

.review-stat-card.stat-long-time {
    border-left-color: #90cdf4;
    background: linear-gradient(135deg, #ebf8ff 0%, white 100%);
}

.stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 4px;
}

/* 标签页样式 */
.review-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.review-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    top: 2px;
}

.review-tab:hover {
    color: #667eea;
}

.review-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    font-size: 0.95rem;
}

.review-tab-content {
    display: none;
}

.review-tab-content.active {
    display: block;
}

/* 工具栏样式 */
.review-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-filter-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-filter-select:hover {
    border-color: #667eea;
}

.review-filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.review-summary-text {
    color: #718096;
    font-size: 0.95rem;
}

.review-summary-text span {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-list {
    max-height: 500px;
    overflow-y: auto;
}

.review-item {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-item.priority-high {
    border-left: 4px solid #fc8181;
    background: linear-gradient(to right, #fff5f5, white);
}

.review-item.priority-urgent {
    border-left: 4px solid #e53e3e;
    background: linear-gradient(to right, #fed7d7, white);
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(229, 62, 62, 0);
    }
}

.review-item.priority-medium {
    border-left: 4px solid #f6ad55;
    background: linear-gradient(to right, #fffaf0, white);
}

.review-item.priority-low {
    border-left: 4px solid #90cdf4;
    background: linear-gradient(to right, #ebf8ff, white);
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-item-title-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-item-title {
    color: #2d3748;
    font-size: 1.15rem;
    font-weight: 600;
}

.review-item-score {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 5px 12px;
    background: #ebf8ff;
    border-radius: 20px;
}

.mastered-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #d4edda;
    color: #155724;
}

.not-mastered-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fff3cd;
    color: #856404;
}

.review-priority-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.review-priority-badge.priority-high {
    background: #fc8181;
    color: white;
}

.review-priority-badge.priority-medium {
    background: #f6ad55;
    color: white;
}

.review-priority-badge.priority-low {
    background: #90cdf4;
    color: #2d3748;
}

.review-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-item-reason {
    margin-top: 10px;
    padding: 10px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.9rem;
}

.reason-label {
    color: #4a5568;
    font-weight: 600;
    margin-right: 8px;
}

.reason-text {
    color: #667eea;
    font-weight: 500;
}

.review-item-time {
    margin-top: 10px;
    color: #a0aec0;
    font-size: 0.85rem;
}

.review-item-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-action-btn {
    padding: 6px 16px;
    border: 1px solid #667eea;
    border-radius: 6px;
    background: white;
    color: #667eea;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-action-btn:hover {
    background: #667eea;
    color: white;
}

.review-action-btn.primary {
    background: #667eea;
    color: white;
}

.review-action-btn.primary:hover {
    background: #5568d3;
}

/* 薄弱点分析样式 */
.weakness-analysis {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.weakness-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.weakness-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.weakness-section-title .icon {
    font-size: 1.5rem;
}

.weakness-grade-card {
    background: #f7fafc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.weakness-grade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.weakness-grade-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.weakness-grade-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #718096;
}

.weakness-grade-stats span {
    color: #667eea;
    font-weight: 600;
}

.weakness-recommendation {
    background: #ebf8ff;
    border-radius: 6px;
    padding: 10px 15px;
    color: #2c5282;
    font-size: 0.9rem;
    margin-top: 10px;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1rem;
}

/* ==================== 模拟考试模态框样式 ==================== */
.exam-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.exam-modal-body {
    padding: 30px;
}

.exam-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.exam-modal-header h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 10px;
}

.exam-modal-desc {
    color: #718096;
    font-size: 1rem;
}

.exam-section {
    min-height: 400px;
}

/* 考试准备界面 */
.exam-prepare-content {
    max-width: 600px;
    margin: 0 auto;
}

.exam-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.exam-info-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.exam-info-list {
    list-style: none;
    padding: 0;
}

.exam-info-list li {
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.exam-type-distribution {
    margin: 8px 0 0 20px;
    padding: 0;
    list-style: none;
}

.exam-type-distribution li {
    margin: 4px 0;
    padding: 4px 0;
    color: white;
    font-size: 0.9rem;
}

.exam-grade-selector {
    margin-bottom: 25px;
    text-align: center;
}

.exam-grade-selector label {
    display: block;
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 600;
}

.exam-grade-select {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    width: 200px;
}

.exam-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.exam-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.exam-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.exam-btn.secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.exam-btn.secondary:hover {
    background: #cbd5e0;
}

/* 考试进行界面 */
.exam-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.exam-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.timer-icon {
    font-size: 1.5rem;
}

.exam-progress {
    font-size: 1rem;
    color: #718096;
    font-weight: 600;
}

.exam-submit-btn {
    padding: 10px 20px;
    background: #fc8181;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-submit-btn:hover {
    background: #f56565;
    transform: translateY(-2px);
}

.exam-content {
    min-height: 400px;
    margin-bottom: 20px;
}

.exam-question {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

.exam-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.question-type-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.question-number {
    color: #718096;
    font-size: 0.95rem;
}

.exam-question-content {
    padding: 15px 0;
}

.exam-poetry-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.exam-poetry-info h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.exam-poetry-info p {
    color: #718096;
    font-size: 0.95rem;
}

.exam-question-text {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
}

.exam-displayed-verse {
    font-size: 1.2rem;
    color: #2d3748;
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 填空题样式 */
.exam-fill-blank-area {
    margin-top: 20px;
}

.exam-fill-blank-line {
    text-align: center;
    font-size: 1.3rem;
    line-height: 2.5;
    margin-bottom: 10px;
}

.exam-blank-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    margin: 0 2px;
}

.exam-blank-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 选择题样式 */
.exam-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exam-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-option:hover {
    background: #edf2f7;
    border-color: #667eea;
}

.exam-option input[type="radio"],
.exam-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.exam-option input[type="radio"]:checked + span,
.exam-option input[type="checkbox"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

/* 诗句拼图样式 */
.exam-puzzle-area {
    margin-top: 20px;
}

.exam-puzzle-words {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.exam-puzzle-word {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-puzzle-word:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.exam-puzzle-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    min-height: 60px;
    padding: 15px;
    background: #edf2f7;
    border-radius: 8px;
    border: 2px dashed #cbd5e0;
}

.exam-puzzle-slot {
    width: 50px;
    height: 50px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 字词配对样式 */
.exam-matching-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.exam-matching-words,
.exam-matching-meanings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exam-matching-item {
    padding: 15px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-matching-item:hover {
    background: #edf2f7;
    border-color: #667eea;
}

/* 找字游戏样式 */
.exam-word-search-area {
    margin-top: 20px;
}

.exam-word-search-line {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2.5;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.exam-word-search-char {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.exam-word-search-char:hover {
    background: #edf2f7;
}

.exam-word-search-char.selected {
    background: #667eea;
    color: white;
}

/* 考试导航 */
.exam-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.exam-nav-btn {
    padding: 12px 25px;
    background: #e2e8f0;
    color: #2d3748;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-nav-btn:hover:not(:disabled) {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.exam-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 考试结果样式 */
.exam-result-content {
    max-width: 700px;
    margin: 0 auto;
}

.exam-result-summary {
    text-align: center;
    margin-bottom: 30px;
}

.exam-result-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-total {
    font-size: 1.2rem;
    opacity: 0.9;
}

.score-info {
    text-align: center;
}

.score-info p {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.exam-result-analysis {
    margin-bottom: 30px;
}

.exam-result-analysis h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.exam-type-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-type-stat {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.exam-type-stat.high {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

.exam-type-stat.medium {
    background: #fffaf0;
    border-left: 4px solid #ed8936;
}

.exam-type-stat.low {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
}

.type-name {
    color: #2d3748;
    font-weight: 600;
}

.type-accuracy {
    color: #718096;
    font-weight: 600;
}

/* 改进建议样式 */
.exam-suggestions {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.exam-suggestions h3 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: white;
    border-radius: 8px;
    color: #1e40af;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
}

.suggestions-list li:before {
    content: "💡";
    position: absolute;
    left: 12px;
    top: 10px;
}

.exam-wrong-questions,
.exam-review-questions {
    margin-top: 30px;
}

.exam-wrong-questions h3,
.exam-review-questions h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* 考核详情样式 */
.exam-review-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.exam-review-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exam-review-item.correct {
    border-left: 4px solid #48bb78;
}

.exam-review-item.wrong {
    border-left: 4px solid #fc8181;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.review-question-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
}

.review-question-type {
    color: #667eea;
    font-size: 0.9rem;
    background: white;
    padding: 4px 12px;
    border-radius: 12px;
}

.review-question-status {
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.review-question-status.correct {
    color: #22543d;
    background: #c6f6d5;
}

.review-question-status.wrong {
    color: #c53030;
    background: #fed7d7;
}

.review-item-content {
    padding: 20px;
}

/* 题目内容样式 */
.review-question-content {
    margin-bottom: 20px;
}

.review-poetry-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-poetry-info h4 {
    margin: 0 0 5px 0;
    color: #1e40af;
    font-size: 1.2rem;
}

.review-poetry-info p {
    margin: 0;
    color: #3b82f6;
    font-size: 0.95rem;
}

.review-displayed-verse {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: center;
    font-weight: 500;
}

.review-question-text {
    font-size: 1rem;
    color: #2d3748;
    margin: 15px 0;
    font-weight: 600;
}

/* 填空题样式 */
.review-fill-blank-area {
    margin: 15px 0;
}

.review-fill-blank-line {
    font-size: 1.1rem;
    line-height: 2;
    margin: 8px 0;
    text-align: center;
}

.review-blank-placeholder {
    display: inline-block;
    min-width: 30px;
    padding: 2px 8px;
    background: #fff5f5;
    border: 2px dashed #fc8181;
    border-radius: 4px;
    color: #c53030;
    font-weight: 600;
    margin: 0 2px;
}

/* 选项样式 */
.review-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.review-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.review-option.correct-option {
    background: #f0fff4;
    border-color: #48bb78;
}

.review-option .option-label {
    font-weight: 700;
    color: #667eea;
    margin-right: 10px;
    min-width: 25px;
}

.review-option .correct-mark {
    margin-left: auto;
    color: #22543d;
    font-weight: 700;
    font-size: 1.2rem;
}

/* 诗句拼图样式 */
.review-puzzle-area {
    margin: 15px 0;
}

.review-puzzle-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.review-puzzle-word {
    display: inline-block;
    padding: 8px 12px;
    background: white;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
}

.review-puzzle-answer {
    margin-top: 15px;
    padding: 12px;
    background: #f0fff4;
    border-left: 4px solid #48bb78;
    border-radius: 6px;
    color: #22543d;
    font-weight: 600;
}

/* 字词配对样式 */
.review-matching-questions {
    margin: 15px 0;
}

.review-matching-question-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.review-matching-question-item p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2d3748;
}

/* 找字游戏样式 */
.review-word-search-area {
    margin: 15px 0;
}

.review-word-search-line {
    font-size: 1.2rem;
    line-height: 2;
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-word-search-char {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 2px;
    cursor: default;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.review-word-search-char.target-char {
    background: #f0fff4;
    border: 2px solid #48bb78;
    color: #22543d;
    font-weight: 700;
}

.review-word-search-answer {
    padding: 12px;
    background: #f0fff4;
    border-left: 4px solid #48bb78;
    border-radius: 6px;
    color: #22543d;
    font-weight: 600;
}

/* 答案对比区域 */
.review-answer-section {
    margin-top: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.review-user-answer,
.review-correct-answer {
    margin: 10px 0;
    padding: 12px;
    border-radius: 6px;
}

.review-user-answer {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
}

.review-user-answer strong {
    color: #c53030;
    margin-right: 10px;
}

.user-answer-display {
    color: #2d3748;
    font-weight: 500;
}

.user-answer-display.wrong-answer {
    color: #c53030;
    font-weight: 600;
}

.review-correct-answer {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

.review-correct-answer strong {
    color: #22543d;
    margin-right: 10px;
}

.correct-answer-display {
    color: #22543d;
    font-weight: 600;
}

.exam-wrong-item {
    padding: 18px;
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.exam-wrong-item:hover {
    box-shadow: 0 2px 8px rgba(252, 129, 129, 0.2);
    transform: translateX(4px);
}

.wrong-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fed7d7;
}

.wrong-question-number {
    font-weight: 700;
    color: #c53030;
    font-size: 1.1rem;
}

.wrong-question-type {
    color: #e53e3e;
    font-size: 0.9rem;
    background: white;
    padding: 4px 12px;
    border-radius: 12px;
}

.wrong-item-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wrong-poetry-info {
    margin: 0;
    color: #2d3748;
    font-size: 1rem;
}

.wrong-answer-comparison {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wrong-user-answer,
.wrong-correct-answer {
    margin: 0;
    padding: 10px;
    border-radius: 6px;
}

.wrong-user-answer {
    background: #fff5f5;
}

.wrong-correct-answer {
    background: #f0fff4;
}

.user-answer-text {
    color: #c53030;
    font-weight: 600;
}

.correct-answer-text {
    color: #22543d;
    font-weight: 600;
}

.exam-wrong-item p {
    margin: 5px 0;
    color: #2d3748;
}

/* 考试记录列表样式 */
.exam-records-content {
    max-height: 500px;
    overflow-y: auto;
    margin: 20px 0;
}

.exam-records-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exam-record-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-record-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.exam-record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.exam-record-date {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.exam-record-grade {
    font-size: 0.9rem;
    color: #667eea;
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 12px;
}

.exam-record-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.exam-record-stats span {
    font-size: 0.95rem;
    color: #718096;
}

.exam-record-score {
    color: #667eea !important;
    font-weight: 600;
}

.exam-record-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.full-score-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.exam-record-count {
    font-size: 0.9rem;
    color: #718096;
}

/* 所有题目详情样式 */
.exam-all-questions {
    margin-top: 30px;
}

.exam-all-questions h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.exam-question-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.exam-question-item.correct {
    border-left: 4px solid #48bb78;
    background: #f0fff4;
}

.exam-question-item.wrong {
    border-left: 4px solid #fc8181;
    background: #fff5f5;
}

.exam-question-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 10px;
}

.question-number {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.question-type {
    font-size: 0.9rem;
    color: #667eea;
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 12px;
}

.question-status {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.question-status.correct {
    color: #38a169;
    background: #c6f6d5;
}

.question-status.wrong {
    color: #e53e3e;
    background: #fed7d7;
}

.exam-question-item-content {
    padding: 15px;
}

.question-poetry {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #2d3748;
}

.question-answer,
.question-correct-answer {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.question-answer {
    background: #f7fafc;
}

.question-correct-answer {
    background: #f0fff4;
}

.question-answer strong,
.question-correct-answer strong {
    color: #2d3748;
    margin-right: 8px;
}

.user-answer {
    color: #4a5568;
    font-weight: 500;
}

.user-answer.wrong-answer {
    color: #c53030;
    font-weight: 600;
}

.correct-answer {
    color: #22543d;
    font-weight: 600;
}

.correct-answer {
    color: #38a169;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .exam-modal-content {
        width: 95%;
        max-width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .exam-modal-body {
        padding: 20px;
    }
    
    .exam-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .exam-header-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .exam-timer,
    .exam-progress {
        text-align: center;
    }
    
    .exam-matching-area {
        grid-template-columns: 1fr;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
}

/* 学习相关模态框样式 */
.learning-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.learning-modal-body {
    padding: 30px;
}

.learning-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.learning-modal-header h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.learning-modal-desc {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

/* 模态框中的进度列表 */
#progressListModal {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

/* 模态框中的报告和复习内容 */
#reportDataModal,
#reviewDataModal {
    max-height: 60vh;
    overflow-y: auto;
}

#reportDataModal .report-section {
    margin-bottom: 20px;
}

#reviewListModal {
    max-height: 50vh;
    overflow-y: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .function-cards-container {
        gap: 12px;
    }
    
    .function-card {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }
    
    .function-card-info {
        width: 100%;
    }
    
    .function-card-btn {
        width: 100%;
    }
    
    .learning-modal-content {
        width: 95%;
        max-width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .learning-modal-body {
        padding: 20px;
    }
    
    .learning-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .report-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grade-stats {
        grid-template-columns: 1fr;
    }
    
    .trend-stats {
        flex-direction: column;
        align-items: stretch;
    }
    
    .trend-item {
        width: 100%;
    }
    
    .avatar-preview {
        width: 100px;
        height: 100px;
    }
    
    .avatar-placeholder {
        font-size: 3rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-item label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .form-input {
        width: 100%;
    }
    
    /* 用户信息布局：移动端垂直排列 */
    .user-info-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .avatar-section {
        width: 100%;
    }
    
    .user-details {
        width: 100%;
    }
    
    .progress-stats {
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
    }
    
    .stat-item {
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-unit {
        font-size: 0.9rem;
    }
    
    .progress-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==================== 练习次数显示 ==================== */
.practice-count-display {
    margin-top: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.practice-count-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.practice-count-info.guest {
    flex-direction: column;
    gap: 8px;
}

.count-label {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.count-value {
    color: #667eea;
    font-size: 1rem;
    font-weight: 700;
}

.count-remaining {
    color: #48bb78;
    font-size: 0.9rem;
    font-weight: 500;
}

.count-tip {
    color: #718096;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 5px;
}

/* ==================== VIP升级模态框 ==================== */
.vip-upgrade-modal-content {
    max-width: 500px;
    background: #fef7e0;
    border-radius: 20px;
}

/* ==================== 关于乐园模态框样式 ==================== */

.about-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-content {
    padding: 30px;
    color: #333;
    background: white;
    border-radius: 15px;
    margin: 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

.about-header h2 {
    color: #667eea;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.about-intro {
    background: #f0f4ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.about-intro p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2d3748;
}

.about-sections {
    margin-bottom: 30px;
}

.about-section {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-section:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.section-icon {
    font-size: 2rem;
    line-height: 1;
}

.section-header h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    color: #4a5568;
    font-size: 1.05rem;
}

.section-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.section-list li.highlight {
    background: #fff5e6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 4px solid #ffa500;
    color: #d97706;
    font-size: 1.1rem;
}

.about-advantages {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.advantages-title {
    text-align: center;
    color: #667eea;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.check-icon {
    font-size: 1.5rem;
    color: #48bb78;
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-item div {
    flex: 1;
}

.advantage-item strong {
    display: block;
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.advantage-item p {
    margin: 0;
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-device {
    padding: 25px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 30px;
}

.device-title {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.device-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.device-feature-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.device-feature-item:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.device-feature-item div {
    flex: 1;
}

.device-feature-item strong {
    display: block;
    color: #2d3748;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.device-feature-item p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-device p {
    margin: 0;
    color: #4a5568;
    font-size: 1.1rem;
}

.highlight-section {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b5 100%);
    border: 2px solid #ffa500;
}

.highlight-section .section-header h3 {
    color: #d97706;
}

.new-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.new-feature-category {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.new-feature-category h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
}

.new-feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-feature-category ul li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.slogan {
    color: #667eea;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .about-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .about-content {
        padding: 20px;
        margin: 10px;
    }
    
    .about-header h2 {
        font-size: 1.5rem;
    }
    
    .about-intro {
        padding: 15px;
    }
    
    .about-intro p {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 20px;
    }
    
    .section-header h3 {
        font-size: 1.2rem;
    }
    
    .section-list li {
        font-size: 1rem;
        padding: 10px 0;
        padding-left: 25px;
    }
    
    .about-advantages {
        padding: 20px;
    }
    
    .advantages-title {
        font-size: 1.3rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advantage-item {
        padding: 15px;
    }
    
    .about-device {
        padding: 20px;
    }
    
    .device-title {
        font-size: 1.3rem;
    }
    
    .device-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .device-feature-item {
        padding: 15px;
    }
    
    .new-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .new-feature-category {
        padding: 15px;
    }
    
    .highlight-section {
        padding: 20px;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 15px;
        margin: 5px;
    }
    
    .about-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
}

.vip-upgrade-modal-container {
    padding: 40px 30px;
    text-align: center;
}

.vip-upgrade-title {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.vip-benefits-list-modal {
    margin-bottom: 25px;
}

.vip-benefit-item-modal {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-icon-modal {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-text-modal {
    color: #2d3748;
    font-size: 1rem;
    flex: 1;
    line-height: 1.5;
}

.benefit-text-modal strong {
    color: #1a202c;
    font-weight: 600;
}

.vip-price-display-modal {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-label-modal {
    color: #718096;
    font-size: 1rem;
    margin-right: 8px;
}

.price-amount-modal {
    color: #d4af37;
    font-size: 2.5rem;
    font-weight: 700;
}

.btn-vip-pay {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-vip-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-vip-pay:active {
    transform: translateY(0);
}

/* ==================== 支付成功模态框 ==================== */
.payment-success-content {
    max-width: 500px;
    text-align: center;
    background: linear-gradient(135deg, #fef7e0 0%, #fff9e6 100%);
    border-radius: 20px;
}

.payment-success-container {
    padding: 40px 30px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}

.success-title {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.success-message {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.success-main-text {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.vip-highlight {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.success-sub-text {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    font-size: 1.2rem;
    font-weight: 600;
}

.vip-badge-icon {
    font-size: 1.5rem;
}

.vip-badge-text {
    letter-spacing: 1px;
}

.success-actions {
    margin-top: 20px;
}

.btn-success {
    padding: 15px 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    min-height: 50px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-success:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .payment-success-container {
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 4rem;
    }
    
    .success-title {
        font-size: 1.6rem;
    }
    
    .success-main-text {
        font-size: 1.1rem;
    }
    
    .vip-highlight {
        font-size: 1.2rem;
    }
    
    .success-sub-text {
        font-size: 1rem;
    }
    
    .success-vip-badge {
        padding: 10px 25px;
        font-size: 1.1rem;
    }
    
    .btn-success {
        width: 100%;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* ==================== 注册提示模态框 ==================== */
.register-prompt-content {
    max-width: 500px;
    text-align: center;
}

.register-prompt-container {
    padding: 30px;
}

.prompt-icon {
    font-size: 4rem;
}

/* 提交试卷确认模态框样式 */
.submit-confirm-modal-content {
    max-width: 500px;
    background-color: white;
    margin: 10% auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.submit-confirm-modal-body {
    padding: 0;
}

.submit-confirm-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 30px 30px 20px;
    text-align: center;
    color: white;
}

.submit-confirm-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.submit-confirm-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.submit-confirm-content {
    padding: 30px;
    text-align: center;
}

.submit-confirm-message {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.submit-confirm-warning {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.submit-confirm-warning p {
    margin: 8px 0;
    color: #c53030;
    font-size: 0.95rem;
    line-height: 1.6;
}

.submit-confirm-stats {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.submit-stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stats-label {
    color: #4a5568;
    font-weight: 600;
    font-size: 1rem;
}

.stats-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
}

.stats-value.answered {
    color: #22543d;
}

.stats-value.unanswered {
    color: #c53030;
}

.submit-confirm-actions {
    display: flex;
    gap: 15px;
    padding: 20px 30px 30px;
    justify-content: center;
}

.submit-confirm-btn {
    flex: 1;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.submit-confirm-btn.cancel-btn {
    background: #e2e8f0;
    color: #4a5568;
}

.submit-confirm-btn.cancel-btn:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-confirm-btn.confirm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.submit-confirm-btn.confirm-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.submit-confirm-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .submit-confirm-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .submit-confirm-header {
        padding: 25px 20px 15px;
    }
    
    .submit-confirm-icon {
        font-size: 3rem;
    }
    
    .submit-confirm-header h2 {
        font-size: 1.3rem;
    }
    
    .submit-confirm-content {
        padding: 20px;
    }
    
    .submit-confirm-actions {
        flex-direction: column;
        padding: 15px 20px 20px;
    }
    
    .submit-confirm-btn {
        width: 100%;
    }
}
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.register-prompt-container h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.prompt-message {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.count-text {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.remaining-text {
    color: #e53e3e;
    font-size: 1rem;
    font-weight: 500;
}

.prompt-benefits {
    text-align: left;
    background: #edf2f7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.prompt-benefits h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.prompt-benefits ul {
    list-style: none;
    padding: 0;
}

.prompt-benefits li {
    color: #4a5568;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.prompt-benefits li:last-child {
    border-bottom: none;
}

/* 解锁步骤样式 */
.unlock-step {
    background: #edf2f7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.unlock-step.vip-step {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.vip-step .step-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.step-header h3 {
    color: #2d3748;
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.unlock-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unlock-step ul li {
    color: #4a5568;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

.unlock-step ul li:last-child {
    border-bottom: none;
}

.unlock-step .vip-price {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d97706;
}

/* 解锁步骤响应式优化 */
@media (max-width: 768px) {
    .unlock-step {
        padding: 15px;
    }
    
    .step-header {
        flex-wrap: wrap;
    }
    
    .step-header h3 {
        font-size: 1.1rem;
    }
    
    .unlock-step .vip-price {
        font-size: 1.3rem;
    }
}

/* VIP会员提示区域 */
.prompt-vip-section {
    background: linear-gradient(135deg, #f6e05e 0%, #fbbf24 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.prompt-vip-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: vipShine 3s infinite;
}

@keyframes vipShine {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #744210;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(116, 66, 16, 0.3);
    animation: vipPulse 2s infinite;
}

@keyframes vipPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.prompt-vip-section h3 {
    color: #744210;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.vip-price {
    color: #c05621;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(116, 66, 16, 0.2);
}

.vip-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.vip-benefits li {
    color: #744210;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(116, 66, 16, 0.2);
}

.vip-benefits li:last-child {
    border-bottom: none;
}

.vip-benefits li strong {
    color: #c05621;
}

.prompt-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.btn-vip {
    padding: 14px 35px;
    background: linear-gradient(135deg, #f6e05e, #fbbf24);
    color: #744210;
    border: 2px solid #f59e0b;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
    order: -1; /* 放在最前面 */
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.7);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    padding: 12px 30px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .practice-count-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .register-prompt-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .register-prompt-container {
        padding: 20px;
    }
    
    .prompt-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-vip {
        width: 100%;
    }
    
    .prompt-vip-section {
        padding: 20px;
    }
    
    .vip-price {
        font-size: 1.5rem;
    }
}

/* ==================== 播放器样式 ==================== */
.audio-player-container {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 在搜索区域内的播放器容器样式 */
.search-section .audio-player-container {
    margin-bottom: 0;
    padding: 15px;
    width: 320px;
}

.audio-player {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-lock-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.player-lock-overlay.hidden {
    display: none;
}

.player-lock-overlay .lock-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.player-lock-overlay .lock-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.player-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.player-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.player-btn:active {
    transform: translateY(0);
}

.player-btn-main {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.player-btn.active {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.player-info {
    text-align: center;
}

.player-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.player-status {
    font-size: 0.9rem;
    color: #718096;
}

/* 播放列表模态框样式 */
.playlist-modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.playlist-container {
    padding: 20px;
}

.playlist-container h2 {
    margin-bottom: 20px;
    color: #4a5568;
}

/* ==================== 绑定模态框样式 ==================== */

.bind-modal-content {
    max-width: 480px !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bind-modal-body {
    padding: 0;
}

/* 绑定模态框头部 */
.bind-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.bind-icon-wrapper {
    margin-bottom: 15px;
}

.bind-icon {
    font-size: 4rem;
    display: inline-block;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bind-modal-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bind-modal-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* 绑定表单 */
.bind-form {
    padding: 30px;
    background: white;
}

.bind-form-group {
    margin-bottom: 24px;
}

.bind-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.1rem;
}

.bind-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f7fafc;
    color: #2d3748;
}

.bind-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.bind-input::placeholder {
    color: #a0aec0;
}

.input-hint {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #718096;
    padding-left: 2px;
}

/* 验证码输入组 */
.bind-code-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.bind-code-input {
    flex: 1;
    min-width: 0;
}

.bind-send-code-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.bind-send-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bind-send-code-btn:active:not(:disabled) {
    transform: translateY(0);
}

.bind-send-code-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

/* 倒计时 */
.bind-countdown {
    color: #667eea;
    font-size: 0.85rem;
    margin-top: 8px;
    padding-left: 2px;
    font-weight: 500;
    min-height: 20px;
}

/* 提交按钮 */
.bind-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.bind-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.bind-submit-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.bind-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.bind-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.bind-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* 错误和成功消息 */
.bind-error-message {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    color: #c53030;
    padding: 14px 18px;
    border-radius: 12px;
    margin: 0 30px 20px;
    font-size: 0.9rem;
    border-left: 4px solid #c53030;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.bind-error-message::before {
    content: '⚠️';
    font-size: 1.2rem;
}

.bind-success-message {
    background: linear-gradient(135deg, #efe 0%, #dfd 100%);
    color: #2f855a;
    padding: 14px 18px;
    border-radius: 12px;
    margin: 0 30px 20px;
    font-size: 0.9rem;
    border-left: 4px solid #2f855a;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.bind-success-message::before {
    content: '✅';
    font-size: 1.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 关闭按钮优化 */
.bind-modal-content .close {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bind-modal-content .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .bind-modal-content {
        max-width: 95% !important;
        margin: 10% auto;
    }
    
    .bind-modal-header {
        padding: 30px 20px 25px;
    }
    
    .bind-icon {
        font-size: 3rem;
    }
    
    .bind-modal-title {
        font-size: 1.5rem;
    }
    
    .bind-modal-desc {
        font-size: 0.85rem;
    }
    
    .bind-form {
        padding: 25px 20px;
    }
    
    .bind-code-group {
        flex-direction: column;
    }
    
    .bind-send-code-btn {
        width: 100%;
    }
    
    .bind-error-message,
    .bind-success-message {
        margin: 0 20px 15px;
        padding: 12px 15px;
    }
}

.playlist-header {
    margin-bottom: 20px;
}

.btn-add-collection {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.btn-add-collection:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.playlist-collections {
    margin-bottom: 20px;
}

.collection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.collection-item:hover {
    background: #edf2f7;
}

.collection-item-name {
    font-weight: 500;
    color: #4a5568;
    flex: 1;
}

.collection-item-remove {
    background: #fc8181;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.collection-item-remove:hover {
    background: #f56565;
    transform: translateY(-1px);
}

.playlist-audios {
    max-height: 300px;
    overflow-y: auto;
}

.playlist-audio-item {
    padding: 10px 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-audio-item:hover {
    background: #edf2f7;
}

.playlist-audio-item.playing {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
}

.playlist-audio-item-title {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 3px;
}

.playlist-audio-item-info {
    font-size: 0.85rem;
    color: #718096;
}

/* 音频合集选择模态框样式 */
.collection-select-modal-content {
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
}

.collection-select-container {
    padding: 20px;
}

.collection-select-container h2 {
    margin-bottom: 20px;
    color: #4a5568;
}

.collection-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.collection-option {
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.collection-option:hover {
    background: #edf2f7;
    border-color: #667eea;
}

.collection-option-name {
    font-weight: 500;
    color: #4a5568;
    font-size: 1rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .audio-player-container {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* 移动端搜索区域内的播放器 */
    .search-section .audio-player-container {
        width: 100%;
        padding: 15px;
        margin-bottom: 0;
    }
    
    .player-controls {
        gap: 8px;
    }
    
    .player-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .player-btn-main {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .playlist-modal-content,
    .collection-select-modal-content {
        width: 95%;
        max-height: 85vh;
    }
}

/* ==================== 播放器提示模态框 ==================== */
.player-tip-modal-content {
    max-width: 400px;
    text-align: center;
}

.player-tip-container {
    padding: 30px;
}

.player-tip-container .tip-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.player-tip-container .tip-title {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.player-tip-container .tip-message {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

.player-tip-container .tip-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.player-tip-container .tip-actions .btn-primary {
    min-width: 100px;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.player-tip-container .tip-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.player-tip-container .tip-actions .btn-primary:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .player-tip-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .player-tip-container {
        padding: 20px;
    }
    
    .player-tip-container .tip-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .player-tip-container .tip-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .player-tip-container .tip-message {
        padding: 15px;
        font-size: 0.95rem;
    }
}

/* ==================== 错题本样式 ==================== */
.wrong-questions-loading {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 1rem;
}

.wrong-questions-data {
    display: block;
}

/* 错题本统计卡片 */
.wrong-questions-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.wrong-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wrong-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wrong-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.wrong-stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 错题本筛选 */
.wrong-questions-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #667eea;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 错题列表 */
.wrong-questions-list {
    max-height: 600px;
    overflow-y: auto;
}

.wrong-question-item {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.wrong-question-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.wrong-question-item.wrong-question-due {
    border-left: 4px solid #e53e3e;
    background: linear-gradient(to right, #fed7d7, white);
    animation: pulse-urgent 2s infinite;
}

.wrong-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.wrong-question-title-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wrong-question-title {
    color: #2d3748;
    font-size: 1.15rem;
    font-weight: 600;
}

.wrong-question-type {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #ebf8ff;
    color: #667eea;
}

.due-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e53e3e;
    color: white;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.wrong-question-error-count {
    color: #e53e3e;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 12px;
    background: #fed7d7;
    border-radius: 20px;
}

.wrong-question-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.wrong-question-time {
    margin-top: 10px;
    color: #a0aec0;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wrong-question-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wrong-question-action-btn {
    padding: 6px 16px;
    border: 1px solid #667eea;
    border-radius: 6px;
    background: white;
    color: #667eea;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wrong-question-action-btn:hover {
    background: #667eea;
    color: white;
}

.wrong-question-action-btn.primary {
    background: #667eea;
    color: white;
}

.wrong-question-action-btn.primary:hover {
    background: #5568d3;
}

.wrong-question-action-btn.danger {
    border-color: #e53e3e;
    color: #e53e3e;
}

.wrong-question-action-btn.danger:hover {
    background: #e53e3e;
    color: white;
}

/* ==================== 全局加载屏幕样式 ==================== */
.global-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.global-loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 500px;
    width: 90%;
}

.loading-welcome {
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease-out;
}

.welcome-text {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-animation-container {
    margin: 40px 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.progress-bar-container {
    width: 100%;
    padding: 20px 0;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 15px;
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.progress-goose {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    transition: left 0.3s ease-out;
    z-index: 10;
    animation: gooseBounce 0.6s ease-in-out infinite;
}

.goose-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.loading-tips {
    margin-top: 30px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.tip-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* 动画定义 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gooseBounce {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-text {
        font-size: 1.5rem;
    }
    
    .progress-goose {
        width: 50px;
        height: 50px;
    }
    
    .tip-text {
        font-size: 0.9rem;
    }
}

/* ==================== 首次访问通知模态框 ==================== */
.welcome-notification-content {
    max-width: 600px;
    text-align: center;
    background: linear-gradient(135deg, #fff9e6 0%, #fef7e0 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.welcome-notification-container {
    padding: 40px 30px;
}

.notification-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}

.notification-title {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.notification-message {
    text-align: left;
    margin-bottom: 30px;
}

.notification-main-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.notification-main-text strong {
    font-size: 1.3rem;
    display: block;
    margin-top: 8px;
}

.vip-benefits-intro {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vip-benefits-intro h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.vip-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vip-benefits-list li {
    color: #4a5568;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.6;
    /* 移除 flex 布局，使用正常的文本流显示，确保内容完整显示 */
    display: block;
    white-space: normal;
    word-wrap: break-word;
}

.vip-benefits-list li:last-child {
    border-bottom: none;
}

.vip-benefits-list li strong {
    color: #2d3748;
    font-weight: 600;
}

.notification-sub-text {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-top: 20px;
    font-weight: 500;
}

.notification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.notification-actions .btn-primary {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    min-height: 50px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.notification-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.notification-actions .btn-primary:active {
    transform: translateY(0);
}

.notification-actions .btn-secondary {
    padding: 15px 40px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.notification-actions .btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-actions .btn-secondary:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .welcome-notification-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .welcome-notification-container {
        padding: 30px 20px;
    }
    
    .notification-icon {
        font-size: 4rem;
    }
    
    .notification-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .notification-main-text {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .notification-main-text strong {
        font-size: 1.2rem;
    }
    
    .vip-benefits-intro {
        padding: 20px 15px;
    }
    
    .vip-benefits-intro h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .vip-benefits-list li {
        font-size: 0.95rem;
        padding: 10px 0;
    }
    
    .notification-sub-text {
        font-size: 1rem;
    }
    
    .notification-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .notification-actions .btn-primary,
    .notification-actions .btn-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }
}
