/* ========== 全局变量 & 重置 ========== */
:root {
    --primary-green: #6B8E5A;
    --dark-green: #4A633D;
    --light-green: #8BA87C;
    --bg-cream: #F5F1E8;
    --bg-white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #E5E0D5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --sidebar-width: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ========== 顶部标题栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.back-btn, .menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.back-btn:hover, .menu-btn:hover {
    background: var(--bg-cream);
}

.header-title h1 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.header-url {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    text-align: center;
    margin-top: -2px;
}

/* ========== 主容器 ========== */
.app-container {
    display: flex;
    padding-top: 52px;
    min-height: calc(100vh - 52px);
}

/* ========== 左侧导航栏 ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    left: 0;
    top: 52px;
    bottom: 0;
    z-index: 900;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
    gap: 4px;
}

.nav-item:hover {
    background: rgba(107, 142, 90, 0.08);
}

.nav-item.active {
    background: var(--primary-green);
    color: white;
}

.nav-item.active .nav-text {
    color: white;
}

.nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-item.active .nav-icon {
    background: rgba(255,255,255,0.2);
}

.nav-text {
    font-size: 11px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    background: #E74C3C;
    color: white;
    font-size: 10px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav-badge.show {
    display: flex;
}

/* ========== 主内容区 ========== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 16px;
    max-width: calc(100% - var(--sidebar-width));
    overflow-y: auto;
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== 页面头部卡片 ========== */
.page-header {
    margin-bottom: 16px;
}

.greeting-card {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: var(--radius-lg);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.greeting-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.gk-avatar {
    background: rgba(255,255,255,0.3);
}

.greeting-info {
    flex: 1;
}

.greeting-info h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.greeting-info p {
    font-size: 13px;
    opacity: 0.9;
}

.date-display {
    font-size: 13px !important;
    opacity: 0.85 !important;
    margin: 4px 0 !important;
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
    overflow: hidden;
    max-width: 150px;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

.reset-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.reset-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* ========== 任务区域 ========== */
.task-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

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

.section-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.add-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--dark-green);
}

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

/* ========== 任务卡片 ========== */
.task-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 14px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.2s;
}

.task-card.completed {
    border-left-color: var(--light-green);
    opacity: 0.75;
}

.task-card.completed .task-title {
    text-decoration: line-through;
    color: var(--text-gray);
}

.task-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.task-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--light-green);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s;
    padding: 0;
}

.task-check:hover {
    border-color: var(--primary-green);
    background: rgba(107, 142, 90, 0.1);
}

.task-check.checked {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.task-content-area {
    flex: 1;
    min-width: 0;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.task-title {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    margin-right: 10px;
}

.task-actions {
    display: flex;
    gap: 6px;
}

.task-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.task-action-btn:hover {
    background: rgba(107,142,90,0.15);
}

.task-action-btn.delete:hover {
    background: rgba(231,76,60,0.15);
    color: #E74C3C;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.task-progress-bar {
    height: 4px;
    background: #E5E5E5;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.task-progress-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 2px;
    transition: width 0.3s;
}

.task-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--border-color);
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.status-badge.pending {
    background: #FFF3E0;
    color: #E65100;
}

.status-badge.completed {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-badge.overdue {
    background: #FFEBEE;
    color: #C62828;
}

/* 截止时间醒目条 */
.task-deadline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 6px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: #F1F8F2;
    color: #2E7D32;
    border: 1px solid #D7EAD9;
}

.task-deadline .dl-icon { font-size: 14px; }
.task-deadline .dl-label { font-size: 11px; opacity: 0.8; }
.task-deadline .dl-time { font-weight: 700; letter-spacing: 0.3px; }
.task-deadline .dl-hint {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    background: rgba(0,0,0,0.06);
}

.task-deadline.normal { background: #F1F8F2; color: #2E7D32; border-color: #D7EAD9; }
.task-deadline.soon { background: #FFF8E1; color: #F57F17; border-color: #FFE082; }
.task-deadline.today { background: #FFF3E0; color: #E65100; border-color: #FFCC80; }
.task-deadline.overdue { background: #FFEBEE; color: #C62828; border-color: #FFCDD2; }
.task-deadline.overdue .dl-hint { background: #C62828; color: #fff; }
.task-deadline.today .dl-hint { background: #E65100; color: #fff; }
.task-deadline.soon .dl-hint { background: #F57F17; color: #fff; }

.task-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.done-time { font-size: 11px; color: #2E7D32; }

.task-progress-text {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ========== 考公板块 ========== */
.gongkao-card {
    background: linear-gradient(135deg, #5D7A9E, #3D566E);
}

.gongkao-subjects {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}

.gongkao-subjects h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.subject-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
}

.subject-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.subject-card.selected {
    background: linear-gradient(135deg, rgba(107,142,90,0.1), rgba(107,142,90,0.05));
    border-color: var(--primary-green);
}

.subject-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.subject-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.subject-card p {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.subject-tags {
    font-size: 10px;
    color: var(--text-light);
    display: block;
    line-height: 1.4;
}

/* 学习资源区 */
.learning-resources {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}

.resources-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.resources-header h3 {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
}

.platform-tabs {
    display: flex;
    gap: 6px;
}

.tab-btn {
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-gray);
}

.tab-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.refresh-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: var(--bg-cream);
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 资源卡片（通用） */
.resource-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    gap: 12px;
    transition: all 0.2s;
}

.resource-card:hover {
    box-shadow: var(--shadow-sm);
}

.resource-thumb {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #ddd, #bbb);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
}

.resource-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-cover-link {
    width: 120px;
    height: 80px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e8f0fe, #c5d9fc);
}
.resource-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.resource-cover-link:hover .resource-cover { transform: scale(1.06); }

.resource-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.platform-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.platform-tag.bilibili { background: #00A1D6; color: white; }
.platform-tag.douyin { background: #000000; color: white; }
.platform-tag.xiaohongshu { background: #FF2442; color: white; }
.platform-tag.rmrb { background: #E74C3C; color: white; }

/* ===== 公考搜索：多平台直达搜索按钮 ===== */
.search-sub {
    font-size: 13px;
    color: var(--text-gray);
    margin: 4px 0 10px;
}
.platform-search-box {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #FFF7F0, #FFEFE6);
    border-radius: var(--radius-md);
    border: 1px solid #FFD9C2;
}
.ps-title {
    font-size: 13px;
    font-weight: 600;
    color: #E8590C;
    margin-bottom: 12px;
}
.ps-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ps-btn {
    border: none;
    border-radius: 12px;
    padding: 13px 8px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}
.ps-btn:active { transform: scale(0.96); }
.ps-btn.bili { background: #00A1D6; }
.ps-btn.dy { background: #000000; }
.ps-btn.xhs { background: #FF2442; }
.ps-btn.rmrb { background: #E74C3C; }

.category-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(107,142,90,0.12);
    color: var(--primary-green);
    border-radius: 4px;
    font-size: 11px;
}

.resource-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.resource-stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.resource-link {
    margin-top: auto;
    align-self: flex-start;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.link-btn:hover {
    background: var(--dark-green);
}

/* ========== 热点二创板块 ========== */
.hot-header-card {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.hot-header-card h2 {
    font-size: 17px;
    font-weight: 700;
}

.hot-header-card p {
    font-size: 12px;
    opacity: 0.85;
}

.hot-filters {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.hot-tip {
    font-size: 12px;
    color: var(--text-gray);
    background: #FFF8E1;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

/* 热点卡片（增强版） */
.hot-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.25s;
}

.hot-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.hot-rank {
    position: absolute;
    top: -8px;
    left: 16px;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.hot-card:nth-child(1) .hot-rank { background: #E74C3C; }
.hot-card:nth-child(2) .hot-rank { background: #F39C12; }
.hot-card:nth-child(3) .hot-rank { background: #27AE60; }

.hot-card-header {
    margin-bottom: 10px;
    padding-top: 6px;
}

.hot-cover-link {
    display: block;
    margin: -16px -16px 12px;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3e0, #fde0b4);
}
.hot-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hot-cover-link:hover .hot-cover { transform: scale(1.04); }
.hot-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hot-ph-icon {
    font-size: 52px;
    opacity: 0.85;
}
.hot-ph-icon.xiaohongshu { filter: drop-shadow(0 2px 6px rgba(255,70,70,0.35)); }
.hot-ph-icon.douyin { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }

.hot-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.hot-platform-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hot-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.hot-meta .likes {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #E74C3C;
}

.hot-meta .collects {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F39C12;
}

.hot-author {
    font-size: 12px;
    color: var(--text-light);
}

/* 分析标签 */
.analysis-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.analysis-tag {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}

.analysis-label {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.analysis-label.why { background: #E8F5E9; color: #2E7D32; }
.analysis-label.learn { background: #E3F2FD; color: #1565C0; }
.analysis-label.note { background: #FFF3E0; color: #E65100; }

.analysis-content {
    color: var(--text-gray);
    line-height: 1.5;
}

.hot-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.action-btn {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn.primary {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.action-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.action-btn.primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    color: white;
}

/* ========== 公考搜索框 ========== */
.gk-search-box {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.gk-search-box input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.gk-search-box input:focus { border-color: #5D7A9E; }
.gk-search-btn {
    padding: 9px 18px;
    background: #5D7A9E;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* ========== 化妆搜索框 ========== */
.makeup-search-box {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.makeup-search-box input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
}
.makeup-search-box input:focus { border-color: #D4859B; }
.makeup-search-btn {
    padding: 8px 16px;
    background: #D4859B;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
.search-header-card {
    background: linear-gradient(135deg, #5D7A9E, #3D566E);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: white;
    box-shadow: var(--shadow-md);
}

.search-header-card h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.search-header-card p {
    font-size: 12px;
    opacity: 0.85;
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--primary-green);
}

.search-btn {
    padding: 10px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--dark-green);
}

.search-platforms {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 0 4px;
}

.platform-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
}

.platform-check input {
    accent-color: var(--primary-green);
}

.search-results {
    margin-top: 16px;
}

.search-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.placeholder-hint {
    font-size: 12px;
    margin-top: 8px;
}

/* ========== 化妆教程板块 ========== */
.makeup-header-card {
    background: linear-gradient(135deg, #D4859B, #B56B82);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: white;
    box-shadow: var(--shadow-md);
}

.makeup-header-card h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.makeup-header-card p {
    font-size: 12px;
    opacity: 0.85;
}

.makeup-filters {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}

.makeup-filters .filter-tabs {
    margin-bottom: 8px;
}

.makeup-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

/* 化妆教程卡片 */
.makeup-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}

.makeup-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.makeup-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #F5D5E0, #E8B4C8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.makeup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.makeup-cover { transition: transform 0.3s; }
.makeup-thumb:hover .makeup-cover { transform: scale(1.05); }

/* 无封面平台（抖音/小红书）的渐变封面占位，视觉等同视频来源卡片 */
.makeup-cover-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s;
}
.makeup-thumb:hover .makeup-cover-ph { transform: scale(1.05); }
.makeup-cover-ph.bilibili { background: linear-gradient(135deg, #fb7299, #ff9ec3); }
.makeup-cover-ph.xiaohongshu { background: linear-gradient(135deg, #ff2e4d, #ff7a93); }
.makeup-cover-ph.douyin { background: linear-gradient(135deg, #161823, #3a3f55); }
.makeup-cover-ph .mcp-icon { font-size: 38px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.3)); }
.makeup-cover-ph .mcp-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-left: 2px;
}

.makeup-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.makeup-body {
    padding: 14px;
}

.makeup-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.makeup-blogger {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.blogger-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4859B, #B56B82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.blogger-name {
    font-size: 12px;
    color: var(--text-gray);
}

.makeup-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.makeup-footer {
    display: flex;
    gap: 8px;
}

.makeup-link-btn {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #D4859B;
    background: transparent;
    color: #B56B82;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.makeup-link-btn:hover {
    background: #D4859B;
    color: white;
}

.makeup-link-btn.primary {
    background: #D4859B;
    color: white;
    border-color: #D4859B;
}

.makeup-link-btn.primary:hover {
    background: #B56B82;
    border-color: #B56B82;
}

/* ========== 弹窗 ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-cream);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

#task-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cancel-btn, .submit-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-btn {
    background: var(--bg-cream);
    color: var(--text-gray);
}

.submit-btn {
    background: var(--primary-green);
    color: white;
}

.submit-btn:hover {
    background: var(--dark-green);
}

/* ========== 浮动按钮 ========== */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 800;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(107,142,90,0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-btn:hover {
    transform: scale(1.08);
}

.fab-btn.open {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 64px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.fab-menu.show {
    display: flex;
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-white);
    border: none;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    animation: fabItemIn 0.2s ease backwards;
}

.fab-item:nth-child(1) { animation-delay: 0s; }
.fab-item:nth-child(2) { animation-delay: 0.05s; }
.fab-item:nth-child(3) { animation-delay: 0.1s; }

@keyframes fabItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fab-item:hover {
    background: var(--primary-green);
    color: white;
}

.fab-item span {
    font-size: 16px;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 14px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .nav-text {
        font-size: 10px;
        max-width: 54px;
    }

    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .main-content {
        margin-left: 60px;
        max-width: calc(100% - 60px);
        padding: 12px;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .makeup-list {
        grid-template-columns: 1fr;
    }

    .greeting-card {
        padding: 16px;
        flex-wrap: wrap;
    }

    .reset-btn {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .resource-card {
        flex-direction: column;
    }

    .resource-thumb {
        width: 100%;
        height: 140px;
    }

    .hot-card-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-title h1 {
        font-size: 15px;
    }

    .greeting-info h2 {
        font-size: 16px;
    }

    .subject-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .subject-card {
        padding: 10px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .platform-tabs {
        flex-wrap: wrap;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .fab-container {
        bottom: 16px;
        right: 16px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ========== 小说推荐板块 ========== */
.novel-header-card {
    background: linear-gradient(135deg, #E8743B, #C2410C);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: white;
    box-shadow: var(--shadow-md);
}
.novel-header-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.novel-header-card p { font-size: 12px; opacity: 0.9; }

.novel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
}
.novel-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    flex: 1;
}
.novel-cats::-webkit-scrollbar { height: 0; }
.novel-cat-btn {
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-color);
    border-radius: 14px;
    padding: 6px 13px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.novel-cat-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    font-weight: 600;
}
.read-toggle-btn {
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: #C2410C;
    border-radius: 14px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}
.read-toggle-btn.active {
    background: #C2410C;
    color: white;
    border-color: #C2410C;
}
.novel-toolbar-btns {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}
/* 个性化开关：开启态用绿色强调“为你推荐” */
#personal-toggle.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.novel-hint {
    font-size: 12px;
    color: var(--text-light);
    margin: 14px 2px 10px;
}

.novel-list { margin-top: 4px; }
.novel-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    border-left: 4px solid #E8743B;
}
.novel-card.read { opacity: 0.55; border-left-color: #bbb; }
.novel-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.novel-name { font-size: 15px; font-weight: 700; color: var(--text-color); }
.novel-new-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6a3d, #ff3d6e);
    border-radius: 6px;
    padding: 1px 6px;
    margin-right: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}
.novel-heat { font-size: 12px; color: #E8743B; font-weight: 600; white-space: nowrap; }
.novel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.novel-tag {
    font-size: 11px;
    background: #FFF1E8;
    color: #C2410C;
    border-radius: 8px;
    padding: 2px 8px;
}
.novel-intro {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}
.novel-card-actions { display: flex; gap: 10px; }
.novel-card-actions .action-btn { flex: 1; }

.action-btn.ghost {
    background: #FFF1E8;
    color: #C2410C;
}

/* ========== 小说详情弹窗 ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.modal-overlay.show {
    display: flex;
    animation: modalFade 0.2s ease;
}
@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 360px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 22px 20px 20px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.25s ease;
}
@keyframes modalPop {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.modal-close:active { color: #666; }
.modal-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-color);
    padding-right: 28px;
    margin-bottom: 10px;
}
.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.modal-heat {
    font-size: 13px;
    color: #E8743B;
    font-weight: 600;
    margin-bottom: 14px;
}
.modal-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}
.modal-detail {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
    white-space: pre-wrap;
}
.modal-go-btn {
    width: 100%;
    flex: none;
}

/* 小说详情：男女主姓名 */
.modal-leads {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
}
.modal-lead {
    font-size: 13px;
    color: #444;
    background: #FFF1E8;
    border-radius: 8px;
    padding: 5px 10px;
}
.modal-lead b {
    color: #C2410C;
    margin-right: 2px;
}

/* ========== 我的加入计划（与任务分开的独立区块） ========== */
.collection-section {
    margin-top: 16px;
}
.collection-count {
    background: #FFE0B2;
    color: #E65100;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 10px;
}
.collection-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    border-left: 4px solid #E8743B;
    display: flex;
    align-items: center;
    gap: 10px;
}
.collection-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(232,116,59,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.collection-info {
    flex: 1;
    min-width: 0;
}
.collection-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.collection-meta {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}
.collection-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}
.collection-btn.open {
    color: var(--primary-green);
    border-color: var(--primary-green);
}
.collection-btn.open:hover {
    background: var(--primary-green);
    color: #fff;
}
.collection-btn.remove {
    color: #C62828;
    border-color: #FFCDD2;
    width: 34px;
    padding: 6px 0;
}
.collection-btn.remove:hover {
    background: #C62828;
    color: #fff;
    border-color: #C62828;
}

/* 小说卡片：不感兴趣按钮 */
.novel-dismiss {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    font-size: 13px;
    color: #b0a89e;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
}
.novel-dismiss:hover {
    background: rgba(231,76,60,0.15);
    color: #C62828;
}

/* ========== Toast 轻提示 ========== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%) translateY(10px);
    background: rgba(45,45,45,0.92);
    color: #fff;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 13px;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    max-width: 80%;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== B站视频页内播放弹窗 ========== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.82);
    padding: 16px;
}
.video-modal-box {
    position: relative;
    width: 100%;
    max-width: 880px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255,255,255,0.32); }

/* B站视频：非 iOS 右上角小跳转链接（不遮挡视频控制条） */
.video-corner-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    font-size: 12px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
}
.video-corner-link:hover { background: rgba(0,0,0,0.7); }


/* ========== 词语辨析：外框标识状态 ========== */
.wg-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 2;
}
.wg-badge.weak { background: #FFE0B2; color: #E65100; }
.wg-badge.done { background: #C8E6C9; color: #2E7D32; }

.word-group-card {
    position: relative;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.word-group-card.remembered {
    border-left-color: #4CAF50;
    background: #F1F8F1;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.35), var(--shadow-sm);
}
.word-group-card.not-remembered {
    border-left-color: #FF9800;
    background: #FFF6EC;
    box-shadow: 0 0 0 2px rgba(255,152,0,0.3), var(--shadow-sm);
}

.word-progress {
    height: 8px;
    background: #E8EAF6;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 14px;
}
.word-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5C6BC0, #3949AB);
    border-radius: 6px;
    transition: width 0.4s ease;
}
