/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 统计面板 */
.stats-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #495057;
}

/* 练习区域 */
.exercise-area {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.text-display {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.completed-text {
    color: #28a745;
    font-weight: 600;
}

.current-char {
    background: #007bff;
    color: white;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
    animation: pulse 1.5s infinite;
}

.remaining-text {
    color: #6c757d;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 输入区域 */
.input-area {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.typing-input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border: 3px solid #e9ecef;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.typing-input:focus {
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.typing-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 按钮样式 */
.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 键盘提示 */
.keyboard-hint {
    text-align: center;
    padding: 1rem;
    background: #e7f3ff;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.keyboard-hint p {
    margin: 0;
    color: #0056b3;
    font-weight: 500;
}

/* 级别选择页面样式 */
.level-selection {
    margin-bottom: 2rem;
}

.level-selection h2 {
    text-align: center;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.level-card.beginner {
    border-top: 4px solid #28a745;
}

.level-card.intermediate {
    border-top: 4px solid #ffc107;
}

.level-card.advanced {
    border-top: 4px solid #dc3545;
}

.level-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.level-card h2 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.level-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.level-features {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.level-features li {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* 统计概览 */
.stats-overview {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.stats-overview h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-overview {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: #6c757d;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

.footer-nav {
    margin-top: 1rem;
}

.footer-nav a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-nav a:hover {
    color: white;
}

/* 难度级别标识 */
.difficulty-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
}

.difficulty-beginner {
    background: #d4edda;
    color: #155724;
}

.difficulty-intermediate {
    background: #fff3cd;
    color: #856404;
}

.difficulty-advanced {
    background: #f8d7da;
    color: #721c24;
}

/* 练习页面导航 */
.practice-nav {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
}

.practice-nav a {
    color: #007bff;
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 500;
}

.practice-nav a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        min-height: calc(100vh - 20px);
        border-radius: 15px;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .stats-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .exercise-area {
        padding: 1.5rem;
    }
    
    .text-display {
        font-size: 1.2rem;
        padding: 1rem;
        min-height: 100px;
    }
    
    .input-area {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .typing-input {
        min-width: 100%;
        font-size: 1.1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-panel {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .text-display {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

/* 错误状态 */
.error {
    color: #dc3545 !important;
    text-decoration: line-through;
}

/* 成功状态 */
.success {
    color: #28a745 !important;
}

/* 加载动画 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 无障碍支持 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 练习类型选择样式 */
.type-selection {
    margin-bottom: 2rem;
}

.type-selection h2 {
    text-align: center;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.type-card.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.type-card.english {
    border-top: 4px solid #007bff;
}

.type-card.chinese {
    border-top: 4px solid #28a745;
}

.type-card.numbers {
    border-top: 4px solid #ffc107;
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.type-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.type-stats {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
}

/* 难度级别选择样式 */
.level-selection h2 {
    text-align: center;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level-actions {
    margin-top: 1.5rem;
}

.level-actions .btn {
    width: 100%;
}

/* 开始练习区域 */
.start-practice-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.practice-selection h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.selection-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selection-info p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #495057;
}

.selection-info #selectedType {
    color: #007bff;
    font-weight: 600;
}

.selection-info #selectedLevel {
    color: #28a745;
    font-weight: 600;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ba87e);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .level-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .type-card {
        padding: 1.5rem;
    }
    
    .type-icon {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* 设置页面样式 */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.settings-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.setting-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item label {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.setting-item select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    border-color: #007bff;
}

.setting-item textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.setting-item textarea:focus {
    border-color: #007bff;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #007bff;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-actions .btn {
    min-width: 120px;
}

.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.preview-section h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.preview-area {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.preview-stats span {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 设置页面响应式设计 */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .settings-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .preview-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 设置页面样式 */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.settings-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.setting-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item label {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.setting-item select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    border-color: #007bff;
}

.setting-item textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.setting-item textarea:focus {
    border-color: #007bff;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #007bff;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-actions .btn {
    min-width: 120px;
}

.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.preview-section h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.preview-area {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.preview-stats span {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 设置页面响应式设计 */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .settings-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .preview-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 练习类型选择样式 */
.type-selection {
    margin-bottom: 2rem;
}

.type-selection h2 {
    text-align: center;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.type-card.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.type-card.english {
    border-top: 4px solid #007bff;
}

.type-card.chinese {
    border-top: 4px solid #28a745;
}

.type-card.numbers {
    border-top: 4px solid #ffc107;
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.type-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.type-stats {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
}

/* 难度级别选择样式 */
.level-selection h2 {
    text-align: center;
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level-actions {
    margin-top: 1.5rem;
}

.level-actions .btn {
    width: 100%;
}

/* 开始练习区域 */
.start-practice-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.practice-selection h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.selection-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selection-info p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #495057;
}

.selection-info #selectedType {
    color: #007bff;
    font-weight: 600;
}

.selection-info #selectedLevel {
    color: #28a745;
    font-weight: 600;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ba87e);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .level-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .type-card {
        padding: 1.5rem;
    }
    
    .type-icon {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* 设置页面样式 */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.settings-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.setting-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item label {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.setting-item select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    border-color: #007bff;
}

.setting-item textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.setting-item textarea:focus {
    border-color: #007bff;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #007bff;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-actions .btn {
    min-width: 120px;
}

.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.preview-section h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.preview-area {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.preview-stats span {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 设置页面响应式设计 */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .settings-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .preview-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 设置页面样式 */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.settings-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.setting-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item label {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.setting-item input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.setting-item select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    border-color: #007bff;
}

.setting-item textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #495057;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.setting-item textarea:focus {
    border-color: #007bff;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #007bff;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-actions .btn {
    min-width: 120px;
}

.preview-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.preview-section h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.preview-area {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.preview-stats span {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 设置页面响应式设计 */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .settings-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .preview-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}

/* 分页练习页面样式 */
.tips-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid #e9ecef;
}

.tips-section h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.tip-card h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.common-characters, .common-symbols {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.common-characters h2, .common-symbols h2 {
    color: #495057;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.characters-grid, .symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.character-group, .symbol-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.character-group h3, .symbol-group h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.character-group p, .symbol-group p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid, .symbols-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .character-group, .symbol-group {
        padding: 1rem;
    }
}