/* 任务打卡样式 - task-checkin.css */

/* 满屏弹窗样式 */
.task-checkin-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 10000;
    flex-direction: column;
    overflow: hidden;
}

.task-checkin-modal.active {
    display: flex;
}

/* 头部区域 */
.task-checkin-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* 标题与描述包装 */
.task-checkin-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.task-checkin-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-checkin-title span:first-child {
    font-size: 32px;
}

/* 描述文字 */
.task-checkin-desc {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 关闭按钮 */
.task-checkin-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-checkin-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

/* 任务信息栏 - 重新设计 */
.task-checkin-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
}

/* 任务标签区域 */
.task-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.task-tab {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-tab:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.task-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* 任务积分徽章 */
.task-points-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* 右侧操作区：统计、合并按钮、计时器 */
.task-checkin-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* 统计徽章组 */
.task-checkin-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-badge-tc {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.stat-badge-tc.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-badge-tc.remaining {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* 批量操作按钮组 */
.batch-actions-group {
    display: flex;
    gap: 8px;
}

/* 多选模式操作按钮 */
.multi-select-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 合并后的批量按钮 */
.batch-toggle-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

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

.batch-toggle-btn.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.batch-toggle-btn.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.batch-toggle-btn.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.batch-toggle-btn.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.batch-toggle-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.batch-toggle-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.batch-toggle-btn.btn-reset {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.batch-toggle-btn.btn-reset:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* 倒计时 */
.timer-section {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
}

.timer-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.timer-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    min-width: 70px;
    text-align: center;
}

.timer-display.warning {
    color: #ef4444;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 进度条 */
.progress-section {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.progress-bar-tc {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-tc-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar-tc-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 学生网格 */
.task-checkin-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.student-grid-tc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .student-grid-tc {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .student-grid-tc {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* 学生卡片 */
.student-card-tc {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.student-card-tc:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.student-card-tc.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, white 100%);
}

/* 多选模式样式 */
.student-card-tc.multi-mode {
    cursor: default;
}

.student-card-tc.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, white 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* 选择框 */
.select-box-tc {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.select-box-tc:hover {
    border-color: #667eea;
}

.select-box-tc.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

/* 宠物头像 */
.pet-avatar-tc {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.student-card-tc:hover .pet-avatar-tc {
    transform: scale(1.05);
}

.student-card-tc.completed .pet-avatar-tc {
    border-color: #10b981;
}

.student-card-tc.selected .pet-avatar-tc {
    border-color: #667eea;
}

@media (max-width: 768px) {
    .pet-avatar-tc {
        width: 60px;
        height: 60px;
    }
}

/* 学生信息 */
.student-info-tc {
    text-align: center;
    width: 100%;
}

.student-name-tc {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-score-tc {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 新增：宠物名字样式 */
.pet-name-tc {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .pet-name-tc {
        font-size: 11px;
    }
}

/* 完成印章 */
.stamp-tc {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-weight: 800;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0) rotate(-15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stamp-tc.visible {
    opacity: 1;
    transform: scale(1) rotate(-15deg);
}

.stamp-inner-tc {
    border: 1px dashed #10b981;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 设置按钮 */
.settings-btn-tc {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn-tc:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* 设置面板 */
.settings-panel-tc {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    overflow-y: auto;
}

.settings-panel-tc.open {
    right: 0;
}

@media (max-width: 480px) {
    .settings-panel-tc {
        width: 100%;
        right: -100%;
    }
}

.settings-header-tc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.settings-title-tc {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
}

.settings-close-tc {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.settings-close-tc:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* 设置表单 */
.settings-section {
    margin-bottom: 24px;
}

.settings-label {
    display: block;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.settings-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
}

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

.settings-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s;
}

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

/* 任务列表编辑器 */
.task-list-editor {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-item-editor {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.task-name-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.task-name-input:focus {
    outline: none;
    border-color: #667eea;
}

.task-points-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.task-points-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.task-points-input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    color: #059669;
    transition: all 0.3s;
}

.task-points-input:focus {
    outline: none;
    border-color: #10b981;
}

.task-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.task-delete-btn:hover {
    background: #ef4444;
    color: white;
}

/* 音效开关 */
.sound-toggle-tc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.sound-toggle-tc:hover {
    background: #f3f4f6;
}

.sound-toggle-tc.active {
    background: #ecfdf5;
    border: 1px solid #10b981;
}

/* 分值预设 */
.score-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.score-preset-btn {
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.score-preset-btn:hover {
    border-color: #667eea;
    background: #f5f3ff;
}

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

.score-preset-btn.positive {
    color: #059669;
    border-color: #a7f3d0;
}

.score-preset-btn.positive.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* 按钮样式 */
.btn-tc {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-tc-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.btn-tc-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-tc-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-tc-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-tc-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-tc-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-tc-secondary:hover {
    background: #e5e7eb;
}

/* 升级弹窗 */
.levelup-modal-tc {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10003;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.levelup-modal-tc.active {
    display: flex;
}

.levelup-content-tc {
    text-align: center;
    animation: levelUpPop 0.6s ease-out;
    padding: 20px;
}

@keyframes levelUpPop {
    0% { transform: scale(0) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.levelup-title-tc {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
}

.levelup-pet-tc {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 20px auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(255, 215, 0, 0.4));
    animation: petFloat 1s ease-in-out infinite;
}

@keyframes petFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.levelup-info-tc {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.levelup-btn-tc {
    padding: 14px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.levelup-btn-tc:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.6);
}

/* ========== 移动端重新布局 ========== */
@media (max-width: 768px) {
    .task-checkin-header {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .task-checkin-title-wrapper {
        gap: 10px;
        width: 100%;
    }

    .task-checkin-title {
        font-size: 20px;
    }
    .task-checkin-title span:first-child {
        font-size: 26px;
    }

    /* 修改：隐藏描述文字 */
    .task-checkin-desc {
        display: none;
    }

    .task-checkin-close {
        width: 40px;
        height: 40px;
        font-size: 22px;
        position: absolute;
        top: 12px;
        right: 16px;
    }

    .task-checkin-info {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        gap: 12px;
    }

    .task-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        margin-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }

    .task-tab {
        padding: 6px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .task-points-badge {
        display: none; /* 移动端隐藏积分徽章节省空间 */
    }

    .task-checkin-actions {
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    .task-checkin-stats {
        order: 1;
    }

    .batch-actions-group {
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .multi-select-actions {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .multi-select-actions .batch-toggle-btn {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1;
        min-width: 70px;
    }

    .batch-toggle-btn {
        order: 2;
        flex: 1;
        min-width: 100px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .timer-section {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        background: rgba(255,255,255,0.05);
        border-radius: 40px;
    }

    .timer-display {
        font-size: 18px;
        min-width: 65px;
    }

    .progress-section {
        padding: 8px 16px;
    }

    .task-checkin-body {
        padding: 16px;
    }

    .stat-badge-tc {
        padding: 4px 10px;
        font-size: 12px;
    }

    .settings-btn-tc {
        width: 48px;
        height: 48px;
        font-size: 20px;
        bottom: 16px;
        right: 16px;
    }

    .levelup-title-tc {
        font-size: 32px;
    }

    .levelup-pet-tc {
        width: 150px;
        height: 150px;
    }

    .levelup-info-tc {
        font-size: 16px;
    }

    .pet-name-tc {
        font-size: 11px;
    }
    
    /* 移动端设置面板 */
    .settings-panel-tc {
        width: 100%;
        right: -100%;
        padding: 16px;
    }
    
    .task-item-editor {
        flex-wrap: wrap;
    }
    
    .task-points-wrapper {
        margin-left: auto;
    }
    
    .select-box-tc {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* 滚动条样式 */
.task-checkin-body::-webkit-scrollbar {
    width: 6px;
}

.task-checkin-body::-webkit-scrollbar-track {
    background: transparent;
}

.task-checkin-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.task-checkin-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.settings-panel-tc::-webkit-scrollbar {
    width: 6px;
}

.settings-panel-tc::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
