/* 修改点5：新增菜单头像样式 */
.menu-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s;
}
.menu-avatar:hover {
    transform: scale(1.05);
}

/* 原有样式保持不变... */
:root {
    --bg-1: #667eea;
    --bg-2: #764ba2;
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: rgba(255, 255, 255, 0.95);
    --text-sub: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255,255,255,0.1);
}

.theme-forest {
    --bg-1: #11998e;
    --bg-2: #38ef7d;
    --primary: #11998e;
}
.theme-sunset {
    --bg-1: #fa709a;
    --bg-2: #fee140;
    --primary: #fa709a;
}
.theme-ocean {
    --bg-1: #2c3e50;
    --bg-2: #4ca1af;
    --primary: #2c3e50;
}
.theme-sakura {
    --bg-1: #ff9a9e;
    --bg-2: #fecfef;
    --primary: #ff9a9e;
}
.theme-dark {
    --bg-1: #0f0c29;
    --bg-2: #302b63;
    --primary: #302b63;
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}
.theme-light {
    --bg-1: #f5f7fa;
    --bg-2: #c3cfe2;
    --primary: #667eea;
    --text-main: rgba(50, 50, 50, 0.95);
    --text-sub: rgba(50, 50, 50, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(0,0,0,0.05);
}
.theme-coffee {
    --bg-1: #D1913C;
    --bg-2: #FFD194;
    --primary: #8B4513;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    color: var(--text-main);
}

.bg-gradient {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
    z-index: -1;
    transition: background 0.5s ease;
}

.glass-header, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.app-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

.glass-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px; border-radius: 20px; margin-bottom: 15px;
}
.menu-btn, .avatar {
    font-size: 24px; cursor: pointer; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--card-bg);
    overflow: hidden; flex-shrink: 0;
}
.avatar {
    transition: transform 0.2s ease;
}
.avatar:hover {
    transform: scale(1.05);
}
.avatar img {
    width: 100%; height: 100%; object-fit: cover;
}
.header-content { text-align: center; flex: 1; padding: 0 10px; }
.quote { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.progress-text { font-size: 12px; color: var(--text-sub); }

.control-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; border-radius: 15px; margin-bottom: 15px;
}
.date-nav { display: flex; align-items: center; gap: 8px; }
.date-nav button {
    background: var(--card-bg); border: none; color: var(--text-main);
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
}

.btn-today { width: 30px !important; font-weight: bold; }
.btn-today-active {
    background: var(--primary) !important;
    color: white !important;
}

.view-toggle { display: flex; background: rgba(0,0,0,0.1); border-radius: 10px; padding: 2px; }
.view-btn {
    border: none; background: transparent; color: var(--text-sub);
    padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 12px;
}
.view-btn.active { background: var(--primary); color: white; }

.main-content { flex: 1; overflow-y: auto; padding-bottom: 80px; }
.view-container { height: 100%; }
.hidden { display: none; }

.timeline-container {
    display: flex; min-height: 1440px; border-radius: 15px;
    position: relative; overflow: visible;
}
.timeline {
    width: 60px; border-right: 1px solid var(--glass-border);
    /*padding-top: 10px; */
    flex-shrink: 0;
}
.hour-mark { height: 60px; font-size: 12px; color: var(--text-sub); text-align: center;    border-top: 1px solid var(--glass-border); }
/*.events-area { flex: 1; padding: 10px; position: relative; }*/
.events-area { 
    flex: 1; 
    padding: 10px; 
    position: relative; 
    padding-bottom: 200px; /* 🔴 关键修复：给事件区域本身增加底部内边距 */
    min-height: 1640px; /* 确保总高度足够 */
}

.time-line-now {
    position: absolute; left: 0; right: 0; height: 2px;
    background: #ef4444; z-index: 10; pointer-events: none;
}
.time-line-now::before {
    content: ''; position: absolute; left: -5px; top: -4px;
    width: 10px; height: 10px; background: #ef4444; border-radius: 50%;
}

/* ---------------- 日视图卡片美化（修复版） ---------------- */
.todo-card {
    position: absolute;
    border-radius: 16px;
    padding: 3px 3px 30px 36px;; /* 左边距稍微缩小 */
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
}

.todo-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

/* 优先级颜色主题 */
.todo-card.priority-high {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.9));
    border-color: rgba(254, 202, 202, 0.4);
}

.todo-card.priority-medium {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.95), rgba(217, 119, 6, 0.9));
    border-color: rgba(253, 230, 138, 0.4);
}

.todo-card.priority-low {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.9));
    border-color: rgba(187, 247, 208, 0.4);
}

/* 完成状态 */
.todo-card.completed {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.8), rgba(75, 85, 99, 0.8));
    border-color: rgba(209, 213, 219, 0.2);
    opacity: 0.7;
    z-index: 1;
}

.todo-card.completed .todo-title {
    text-decoration: line-through;
    opacity: 0.8;
}

/* 🔴 修复3：已完成的卡片，圆圈里的勾一直显示 */
.todo-card.completed .quick-complete-btn .check-icon {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* 🔴 修复2：缩小圆形按钮尺寸 */
.quick-complete-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; /* 从 30px 改为 26px */
    height: 22px; /* 从 30px 改为 26px */
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.quick-complete-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.quick-complete-btn .check-icon {
    color: white;
    font-size: 16px; /* 稍微缩小字体 */
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.quick-complete-btn:hover .check-icon {
    opacity: 0.7;
    transform: scale(1);
}

/* 加载状态 */
.quick-complete-btn.loading {
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}
.quick-complete-btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* 成功状态 */
.quick-complete-btn.success {
    background: rgba(34, 197, 94, 0.9);
    border-color: rgba(34, 197, 94, 1);
}
.quick-complete-btn.success .check-icon {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* 内容区域布局 */
.todo-main-content {
    height: 100%;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    /* 🔴 修复1：移除 pointer-events: none，恢复点击 */
}

.todo-title-row {
display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0px;
    line-height: 14px;
}

.todo-title {
    font-weight: 700;
    font-size: 14px;
    color: white;
    line-height: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.todo-time-badge {
    font-size: 11px;
    font-weight: 600;
    background: rgba(0,0,0,0.15);
    padding: 3px 8px;
    border-radius: 20px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    flex-shrink: 0;
}

.todo-subjects {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin-bottom: 2px;
}

.todo-content-text {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.todo-cross-tag {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 10px;
    opacity: 0.8;
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.priority-high { background: linear-gradient(135deg, #f87171, #ef4444); }
.priority-medium { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.priority-low { background: linear-gradient(135deg, #34d399, #10b981); }
.todo-content-text {
    font-size: 10px; opacity: 0.8; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.month-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border-radius: 15px; margin-bottom: 15px;
}
.calendar-grid {
    border-radius: 15px; padding: 15px;
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px;
}
.calendar-header { text-align: center; font-weight: bold; font-size: 12px; color: var(--text-sub); margin-bottom: 10px; }
.calendar-day {
    aspect-ratio: 1; display: flex; flex-direction: column; align-items: center;
    border-radius: 10px; padding: 5px; cursor: pointer; font-size: 14px;
    position: relative; transition: background 0.2s;
}
.calendar-day.today { font-weight: bold; border: 1px dashed var(--text-main); }
.calendar-day.selected { border: 1px solid var(--text-main); }
.calendar-day.has-todo { background-color: rgba(255, 255, 255, 0.25); }
.calendar-day.all-done { background-color: rgba(255, 255, 255, 0.4); }
.perfect-star {
    position: absolute; top: 2px; right: 4px;
    font-size: 10px; color: #fbbf24;
    text-shadow: 0 0 2px rgba(0,0,0,0.1);
}
.day-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; }

.glass-footer {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 520px;
    display: flex; justify-content: space-around; padding: 15px; border-radius: 20px;
}
.stat-item { text-align: center; }
.stat-label { display: block; font-size: 12px; color: var(--text-sub); }
.stat-value { font-size: 20px; font-weight: bold; }
.divider { width: 1px; background: var(--glass-border); }

.fab-btn {
    position: fixed; bottom: 100px; right: 30px;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); color: white; border: none;
    font-size: 30px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center;
    z-index: 100; padding: 20px;
}
.modal-content {
    width: 100%; max-width: 400px; max-height: 90vh;
    overflow-y: auto; border-radius: 20px; padding: 20px;
    animation: slideUp 0.3s ease-out;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-btn { background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; }
input[type="text"], textarea, input[type="datetime-local"] {
    width: 100%; padding: 10px; border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg); color: var(--text-main); outline: none;
}
.preset-tags { display: flex; gap: 5px; margin-bottom: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; background: var(--card-bg); padding: 4px 8px; border-radius: 10px; cursor: pointer; }
.subjects-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.subject-chip {
    text-align: center; padding: 8px 0; background: var(--card-bg);
    border-radius: 10px; font-size: 12px; cursor: pointer; border: 1px solid transparent;
}
.subject-chip.active { background: var(--primary); color: white; border-color: white; }
.submit-btn {
    width: 100%; padding: 15px; background: var(--primary);
    color: white; border: none; border-radius: 15px;
    font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 10px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.action-row {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.action-btn:active {
    transform: scale(0.98);
}

.btn-complete {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-edit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-manage-repeat {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}
/* 响应式适配 */
@media (max-width: 480px) {
    .action-btn {
        padding: 16px 12px;
        font-size: 15px;
    }
}

.side-menu-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 200;
    display: none; opacity: 0; transition: opacity 0.3s;
}
.side-menu {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
    background: rgba(30, 30, 50, 0.95); backdrop-filter: blur(20px);
    z-index: 201; padding: 20px; transition: left 0.3s ease;
    color: white;
}
.side-menu.open { left: 0; }
.side-menu-overlay.open { display: block; opacity: 1; }
.menu-item {
    padding: 15px; border-radius: 10px; margin-bottom: 10px;
    cursor: pointer; background: rgba(255,255,255,0.05);
}
.menu-item:hover { background: rgba(255,255,255,0.15); }

.stats-modal-content { max-width: 450px; }
.stats-highlight {
    display: flex; align-items: center; gap: 15px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.2));
    padding: 20px; border-radius: 15px; margin-bottom: 20px;
}
.highlight-icon { font-size: 40px; }
.highlight-title { font-weight: bold; font-size: 18px; margin-bottom: 5px; }
.highlight-desc { font-size: 14px; color: var(--text-sub); }
.stats-cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px;
}
.stat-card {
    background: var(--card-bg); padding: 15px; border-radius: 12px; text-align: center;
}
.stat-card-num { font-size: 24px; font-weight: bold; color: #fbbf24; }
.stat-card-label { font-size: 12px; color: var(--text-sub); margin-top: 5px; }
.stats-report {
    background: var(--card-bg); padding: 15px; border-radius: 12px;
}
.report-title { font-weight: bold; margin-bottom: 10px; }
.report-content { font-size: 14px; line-height: 1.6; color: var(--text-sub); }

.badges-modal-content { max-width: 500px; }
.badges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.badge-card {
    text-align: center; padding: 15px 10px; border-radius: 15px;
    background: var(--card-bg); transition: all 0.2s;
}
.badge-card.unlocked { border: 1px solid var(--glass-border); }
.badge-card.locked { opacity: 0.4; filter: grayscale(100%); }
.badge-card-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.badge-card-name { font-size: 13px; font-weight: bold; }
.badge-card-count { font-size: 12px; color: #fbbf24; margin-top: 4px; }
.badge-card-how {
    font-size: 10px;
    color: var(--text-sub);
    margin-top: 6px;
    line-height: 1.2;
}

.skins-modal-content { max-width: 450px; }
.skins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.skin-card {
    border-radius: 15px; padding: 15px; cursor: pointer;
    border: 2px solid transparent; position: relative; overflow: hidden;
    background: var(--card-bg);
}
.skin-preview { height: 80px; border-radius: 10px; margin-bottom: 10px; }
.skin-name { font-weight: bold; font-size: 14px; }
.skin-price { font-size: 12px; color: #fbbf24; margin-top: 5px; }
.skin-card.selected { border-color: var(--text-main); }
.skin-card.selected::after {
    content: '✓ 使用中'; position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.5); color: white; padding: 2px 8px; border-radius: 10px; font-size: 12px;
}

.points-popup {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8); color: white;
    padding: 20px 40px; border-radius: 20px; text-align: center;
    z-index: 300; display: none;
}
.points-popup.show { display: block; animation: popIn 0.5s ease-out; }
.points-num { font-size: 40px; font-weight: bold; color: #fbbf24; display: block; }

.badge-popup {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); z-index: 400;
    display: none; align-items: center; justify-content: center; flex-direction: column;
}
.badge-content { text-align: center; animation: badgeDrop 0.6s ease-out; color: white; }
.badge-icon { font-size: 100px; display: block; margin-bottom: 20px; animation: bounce 1s infinite; }
.badge-title { font-size: 30px; font-weight: bold; }
.badge-desc { color: #ccc; margin-top: 10px; }
.badge-close-btn {
    margin-top: 30px; padding: 10px 30px;
    background: var(--primary); border: none; color: white;
    border-radius: 20px; font-size: 16px; cursor: pointer;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 
    0% { transform: translate(-50%, -50%) scale(0); } 
    50% { transform: translate(-50%, -50%) scale(1.2); } 
    100% { transform: translate(-50%, -50%) scale(1); } 
}
@keyframes badgeDrop { from { transform: translateY(-100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.celebration-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(34,197,94,0.3) 0%, transparent 70%);
    pointer-events: none; opacity: 0; z-index: 99;
    display: flex; align-items: center; justify-content: center; font-size: 100px;
}
/* 科目统计样式 */
.subject-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.subject-stat-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.subject-name {
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.stat-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(59, 130, 246, 0.2);
    transition: width 0.3s;
}
.stat-info {
    font-size: 12px;
    color: var(--text-sub);
    position: relative;
    z-index: 1;
}

/* 学习目标样式 */
.goal-progress-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.goal-progress-card.achieved {
    border: 2px solid #22c55e;
}
.goal-label {
    font-weight: bold;
    margin-bottom: 8px;
}
.goal-bar {
    height: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}
.goal-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s;
}
.goal-info {
    font-size: 12px;
    color: var(--text-sub);
}
/* 替换之前的 .form-select 样式 */
.form-select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg); /* 使用皮肤变量 */
    color: var(--text-main);     /* 使用皮肤变量 */
    outline: none;
    cursor: pointer;
}
.form-select option {
    background: #2c3e50; /* 下拉选项保持深色，确保兼容性 */
    color: white;
}
/* 时间选择器一行布局 */
.time-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.time-input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-main);
    outline: none;
}
.time-separator {
    font-weight: bold;
    color: var(--text-main);
}
/* 学习目标优化样式 */
.goal-section {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 12px;
}
.goal-section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}
.goal-input-group {
    margin-bottom: 12px;
}
.goal-input-group.half {
    flex: 1;
}
.goal-input-row {
    display: flex;
    gap: 15px;
}
.goal-input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: var(--text-sub);
}
.goal-input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.1);
    color: var(--text-main);
    outline: none;
}
.goal-progress-container {
    margin-top: 15px;
}
.goal-progress-bar {
    height: 12px;
    background: rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}
.goal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 6px;
}
.goal-progress-fill.achieved {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.goal-progress-text {
    font-size: 13px;
    color: var(--text-sub);
    text-align: center;
}
/* 奖励动画优化 */
.reward-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
}
.reward-container {
    position: relative;
    text-align: center;
}
.confetti-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
}
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiFall 1.5s ease-out forwards;
}
.reward-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(251,191,36,0.9), rgba(245,158,11,0.9));
    padding: 40px 60px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: rewardPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.reward-icon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: bounce 0.8s infinite;
}
.reward-points {
    font-size: 50px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}
.reward-text {
    font-size: 18px;
    color: white;
    font-weight: 500;
}

@keyframes rewardPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(300px) rotate(720deg); opacity: 0; }
}
/* ---------------- 炫酷徽章获得动画 ---------------- */
.badge-reward-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 600;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.badge-reward-container {
    position: relative;
    text-align: center;
    animation: badgePopIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.badge-shine {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251,191,36,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: shinePulse 2s ease-in-out infinite;
    pointer-events: none;
}

.badge-reward-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(145deg, rgba(30,41,59,0.95), rgba(15,23,42,0.95));
    border: 2px solid rgba(251,191,36,0.4);
    padding: 50px 60px;
    border-radius: 30px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 60px rgba(251,191,36,0.15);
}

.badge-reward-icon {
    font-size: 80px;
    margin-bottom: 15px;
    display: inline-block;
    animation: badgeBounce 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(251,191,36,0.6));
}

.badge-reward-title {
    font-size: 20px;
    color: #fbbf24;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.badge-reward-name {
    font-size: 28px;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
}

.badge-reward-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.badge-reward-count {
    display: inline-block;
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(251,191,36,0.3);
}

.badge-reward-btn {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #1f2937;
    border: none;
    padding: 14px 50px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 30px rgba(251,191,36,0.3);
}

.badge-reward-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(251,191,36,0.4);
}

@keyframes badgePopIn {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

@keyframes shinePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
/* ---------------- 重复待办管理样式 ---------------- */
.btn-manage-repeat {
    background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
}

.repeat-manage-content {
    max-width: 480px;
}

.repeat-info {
    text-align: center;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.repeat-info-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 5px;
}

.repeat-info-count {
    font-size: 14px;
    color: #818cf8;
}

.repeat-mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mode-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.mode-tab.active {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
}

.mode-panel {
    margin-bottom: 20px;
}

.keep-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.keep-input-row .goal-input {
    flex: 1;
}

.keep-suffix {
    font-weight: bold;
    color: var(--text-main);
    white-space: nowrap;
}

.mode-hint {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 8px;
}

.repeat-options {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #6366f1;
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-main);
}

.repeat-delete-preview {
    padding: 15px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    color: #fca5a5;
    font-weight: 500;
}

.btn-danger {
    background: linear-gradient(90deg, #ef4444, #dc2626) !important;
}
/* ---------------- 设置弹窗样式 ---------------- */
.settings-modal-content {
    max-width: 480px;
}

.settings-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.settings-desc {
    font-size: 12px;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.preset-manager, .subjects-manager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 40px;
}

.manage-tag {
    background: var(--card-bg);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    border: 1px dashed rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.manage-tag:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #fca5a5;
}

.manage-tag::after {
    content: ' ✕';
    font-size: 10px;
    opacity: 0.7;
}

.add-preset-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.add-preset-row .goal-input {
    flex: 1;
    margin: 0;
}

/* ========== 修改点：目标管理选项卡+新样式（适配皮肤变量） ========== */
/* 选项卡容器 */
.goal-tabs {
  display: flex;
  border-bottom: 1px solid var(--primary);
  margin-bottom: 15px;
}

/* 选项卡按钮 */
.goal-tab {
  padding: 8px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color, #333);
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease;
}

.goal-tab.active {
  color: var(--primary);
  font-weight: bold;
}

.goal-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* 目标类型表单容器 */
.goal-form-panel {
  display: none;
}

.goal-form-panel.active {
  display: block;
}

/* 输入项说明文本 */
.input-desc {
  font-size: 12px;
  color: var(--text-secondary, #666);
  margin-top: 5px;
  line-height: 1.4;
}

/* 目标类型选项容器 */
.goal-type-group {
  margin-bottom: 15px;
}

/* 动态表单项容器 */
.dynamic-form-item {
  margin-bottom: 15px;
}

/* 奖励下拉框样式 */
.reward-select, .goal-type-select, .preset-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--bg-1);
  color: var(--text-color);
  margin-top: 5px;
}

/* 适配皮肤的表单样式 */
.goal-input {
  /*width: 100%;*/
  /*padding: 8px 10px;*/
  /*border: 1px solid var(--primary);*/
  /*border-radius: 4px;*/
  /*background: var(--bg-1);*/
  /*color: var(--text-color);*/
  /*margin-top: 5px;*/
  
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-main);
    outline: none;
}

/* 进度展示优化 */
.goal-progress-wrap {
  margin: 15px 0;
  padding: 10px;
  border-radius: 4px;
  background: rgba(var(--primary-rgb), 0.1);
}

.goal-progress-text {
  margin-bottom: 5px;
  font-size: 14px;
}

.goal-progress-bar {
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.goal-progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.goal-progress-fill.achieved {
  background: #22c55e;
}
/* ---------------- 修改点：我的目标选项卡样式 ---------------- */
.goals-tab-nav {
    display: flex;
    background: rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.goals-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    color: var(--text-sub);
}

.goals-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.goals-tab-panel {
    animation: fadeIn 0.3s ease-out;
}

.form-hint {
    font-size: 11px;
    color: var(--text-sub);
    font-weight: normal;
    margin-left: 4px;
}

.combo-input-group {
    display: flex;
    gap: 8px;
}

.combo-input-group .goal-input {
    flex: 2;
    margin: 0;
}

.combo-input-group .combo-select {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goal-form-section {
    margin-bottom: 20px;
}

/* ---------------- 修改点：月视图连续打卡样式 ---------------- */
.calendar-day {
    position: relative;
    z-index: 1;
}

/* 连续打卡的中间状态（左右都连接） */
.calendar-day.streak-middle {
    border-radius: 0 !important;
    margin-left: -1px;
    margin-right: -1px;
}

/* 连续打卡的开始（只连右边） */
.calendar-day.streak-start {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-right: -1px;
}

/* 连续打卡的结束（只连左边） */
.calendar-day.streak-end {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: -1px;
}

/* 完美打卡的特殊连接样式（稍微亮一点） */
.calendar-day.all-done.streak-middle,
.calendar-day.all-done.streak-start,
.calendar-day.all-done.streak-end {
    background-color: rgba(255, 255, 255, 0.5) !important; /* 完美打卡背景更亮 */
}

/* 普通打卡的连接背景 */
.calendar-day.has-todo.streak-middle,
.calendar-day.has-todo.streak-start,
.calendar-day.has-todo.streak-end {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* 确保在皮肤切换下，深色模式也能看清 */
.theme-dark .calendar-day.has-todo.streak-middle,
.theme-dark .calendar-day.has-todo.streak-start,
.theme-dark .calendar-day.has-todo.streak-end {
    background-color: rgba(255, 255, 255, 0.25) !important;
}
.theme-dark .calendar-day.all-done.streak-middle,
.theme-dark .calendar-day.all-done.streak-start,
.theme-dark .calendar-day.all-done.streak-end {
    background-color: rgba(255, 255, 255, 0.45) !important;
}

.theme-light .calendar-day.has-todo.streak-middle,
.theme-light .calendar-day.has-todo.streak-start,
.theme-light .calendar-day.has-todo.streak-end {
    background-color: rgba(0, 0, 0, 0.08) !important;
}
.theme-light .calendar-day.all-done.streak-middle,
.theme-light .calendar-day.all-done.streak-start,
.theme-light .calendar-day.all-done.streak-end {
    background-color: rgba(0, 0, 0, 0.12) !important;
}
/* ---------------- 新手引导样式 ---------------- */
/* ---------------- 新手引导样式 - 全隔离不冲突 ---------------- */
/* 核心遮罩层 */
.guide-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999990;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.2s ease;
    overflow: hidden;
}

/* 隐藏状态 - 不用display:none，避免动画失效 */
.guide-mask.guide-hide {
    opacity: 0;
    pointer-events: none;
}

.guide-page.guide-hide {
    display: none !important;
}

/* 高亮镂空框 - 核心：用box-shadow实现遮罩，只高亮目标区域 */
.guide-highlight {
    position: fixed;
    z-index: 999991;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 2px solid var(--primary, #667eea);
}

/* 引导卡片 - 固定层级，永远在最上面 */
.guide-card {
    position: fixed;
    z-index: 999999;
    width: 340px;
    max-width: 90vw;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 深色主题适配 */
.theme-dark .guide-card {
    background: #1e1e2e;
}
.theme-dark .guide-step-title,
.theme-dark .guide-welcome-title {
    color: #fff !important;
}
.theme-dark .guide-step-desc,
.theme-dark .guide-welcome-desc {
    color: #ccc !important;
}

/* 欢迎页样式 */
.guide-welcome-icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 12px;
}

.guide-welcome-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.guide-welcome-desc {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* 分步引导样式 */
.guide-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.guide-step-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* 按钮组 */
.guide-btn-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.guide-step-btns {
    justify-content: space-between;
}

.guide-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.guide-btn-main {
    background: var(--primary, #667eea);
    color: #fff;
}

.guide-btn-main:hover {
    filter: brightness(1.1);
}

.guide-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    flex: 0 0 auto;
}

.theme-dark .guide-btn-secondary {
    background: #374151;
    color: #f3f4f6;
}

.guide-btn-skip {
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.theme-dark .guide-btn-skip {
    border-color: #4b5563;
    color: #9ca3af;
}

/* 高亮元素的层级提升 */
.guide-target {
    position: relative;
    z-index: 999992 !important;
}
/* ---------------- 帮助与反馈样式 ---------------- */
.help-tab-nav {
    display: flex;
    background: rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.help-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    color: var(--text-sub);
}

.help-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.help-tab-panel {
    flex: 1;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

/* FAQ搜索框 */
.faq-search-box {
    margin-bottom: 15px;
}

/* FAQ列表样式 */
.faq-item {
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.2s;
}

.theme-dark .faq-item {
    background: rgba(255,255,255,0.05);
}

.faq-item-header {
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

.faq-item-header .faq-icon {
    transition: transform 0.2s;
    color: var(--primary);
}

.faq-item.active .faq-item-header .faq-icon {
    transform: rotate(180deg);
}

.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item-content {
    max-height: 500px;
}

.faq-item-answer {
    padding: 0 16px 14px 16px;
    color: var(--text-sub);
    font-size: 13px;
    line-height: 1.6;
}

/* 反馈表单样式 */
#feedbackForm .form-group {
    margin-bottom: 18px;
}

#feedbackForm textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.hidden {
    display: none !important;
}

/* ---------------- 课程表样式 ---------------- */
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.course-week-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-nav-btn {
    background: rgba(0,0,0,0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.2s;
}

.course-nav-btn:hover {
    background: var(--primary);
    color: white;
}

#courseWeekDisplay {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    min-width: 80px;
    text-align: center;
}

.add-course-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.add-course-btn:hover {
    filter: brightness(1.1);
}

.course-table-container {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
}

.course-table {
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr);
    gap: 2px;
    min-width: 700px;
}

.course-cell {
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    padding: 8px 5px;
    text-align: center;
    font-size: 12px;
    min-height: 60px;
    position: relative;
}

.theme-dark .course-cell {
    background: rgba(255,255,255,0.08);
}

.course-cell.header {
    background: var(--primary);
    color: white;
    font-weight: 700;
    min-height: auto;
    padding: 12px 5px;
}

.course-item {
    position: absolute;
    left: 2px;
    right: 2px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.course-item:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.course-item-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.course-item-info {
    font-size: 10px;
    opacity: 0.9;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

#courseView.hidden {
    display: none !important;
}

/* 节次配置样式 */
.section-config-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
    margin-bottom: 8px;
}
.theme-dark .section-config-item {
    background: rgba(255,255,255,0.05);
}
.section-config-input {
    flex: 1;
}
.section-config-del {
    background: #ff4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}
/* 今日列高亮 */
.course-cell.header.today-column {
    background: var(--primary) !important;
    color: white;
    font-weight: bold;
}
.course-cell.today-column {
    background: rgba(var(--primary-rgb), 0.1) !important;
}
/* 今日课程卡片样式 */
.course-item.today {
    border: 2px solid #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}