/**
 * 前端组件样式 - 熏习15分钟
 * Frontend Component Styles
 * 包含：选择分类、弹窗、加载状态、访问拒绝等通用组件
 */

/* ========================================
   选择分类页面样式
   ======================================== */

.podcast-select-page { 
    padding: 16px; 
    max-width: 600px; 
    margin: 0 auto; 
}

.select-header { 
    text-align: center; 
    margin-bottom: 20px; 
}

.select-header h1 { 
    font-size: 18px; 
    margin-bottom: 6px; 
    color: var(--text-dark); 
}

.select-header p { 
    color: var(--text-light); 
    font-size: 13px; 
    margin: 0; 
}

.select-categories { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

/* 分类卡片 */
.select-category-card {
    background: var(--bg-content);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.select-category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.12);
    transform: translateY(-2px);
}

.select-category-card:active {
    transform: translateY(0);
}

.select-category-card .card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 10px;
}

.select-category-card .category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.select-category-card .category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.select-category-card .category-title {
    flex: 1;
    min-width: 0;
}

.select-category-card .category-title h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

.select-category-card .card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px 12px;
    flex-wrap: wrap;
}

.select-category-card .card-meta > span {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.4;
}

.select-category-card .meta-desc {
    color: var(--text-light);
    background: var(--bg-page);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select-category-card .meta-count {
    color: var(--primary-color);
    background: rgba(139, 115, 85, 0.08);
    font-weight: 500;
}

.select-category-card .meta-mode {
    font-weight: 500;
}

.select-category-card .meta-action {
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(139, 115, 85, 0.08);
}

.select-category-card:hover .meta-action {
    background: var(--primary-color);
    color: #fff;
}

/* ========================================
   等待开始页面
   ======================================== */

.podcast-waiting-page { 
    padding: 32px 20px; 
    text-align: center; 
    max-width: 360px; 
    margin: 0 auto; 
}

.waiting-header .category-icon.large { 
    width: 64px; 
    height: 64px; 
    margin: 0 auto 12px; 
    border-radius: 16px; 
    background: var(--bg-page); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 32px; 
}

.waiting-header .category-icon.large img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 16px; 
}

.waiting-header h1 { 
    font-size: 18px; 
    margin-bottom: 6px; 
}

.waiting-header p { 
    color: var(--text-light); 
    font-size: 13px; 
    margin-bottom: 20px; 
}

.start-listen-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 8px; 
    padding: 10px 20px; 
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); 
    color: #fff; 
    border: none; 
    border-radius: 24px; 
    font-size: 14px;
    font-weight: 600; 
    cursor: pointer; 
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.start-listen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.35);
}

.start-listen-btn:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
}

/* ========================================
   分类页操作区域
   ======================================== */

.podcast-category-header { 
    margin-bottom: 12px; 
}

.category-action-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    color: #fff;
    font-size: 13px;
}

.category-action-box .action-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-action-box .action-info h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.category-action-box .action-info p {
    margin: 0;
    font-size: 11px;
    opacity: 0.85;
}

.category-select-btn, .category-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.category-select-btn:hover, .category-start-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* 当前状态卡片 */

.category-current-status .status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.category-current-status .status-label {
    color: var(--text-light);
}

.category-current-status .status-value {
    font-weight: 500;
    color: var(--text-dark);
}

/* ========================================
   弹窗组件样式
   ======================================== */

.ting-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ting-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.ting-modal-content {
    position: relative;
    background: var(--bg-content);
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: tingModalIn 0.25s ease;
}

@keyframes tingModalIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.ting-modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.ting-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ting-modal-message {
    font-size: 14px;
    color: var(--text-normal);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ting-modal-actions {
    display: flex;
    gap: 12px;
}

.ting-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ting-modal-cancel {
    background: var(--bg-page);
    color: var(--text-normal);
}

.ting-modal-cancel:hover {
    background: var(--bg-tertiary);
}

.ting-modal-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.ting-modal-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ========================================
   加载状态组件
   ======================================== */

.ting-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.ting-loading-content {
    background: rgba(255,255,255,0.95);
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ting-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: tingSpin 0.8s linear infinite;
}

@keyframes tingSpin {
    to { transform: rotate(360deg); }
}

.ting-loading-text {
    font-size: 14px;
    color: var(--text-normal);
}

/* ========================================
   访问拒绝页面
   ======================================== */

.access-denied-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
    text-align: center;
}

.access-denied-page .denied-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.access-denied-page h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.access-denied-page p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 280px;
}

.access-denied-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.access-denied-page .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ========================================
   长期熏习完成通知 - 温馨提示
   ======================================== */

.longterm-completion-notice {
    margin-top: 24px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--bg-content) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

.longterm-completion-notice .completion-icon {
    font-size: 32px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.longterm-completion-notice .completion-content {
    flex: 1;
}

.longterm-completion-notice .completion-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-normal);
}

.longterm-completion-notice .completion-content h3::before {
    content: '💡';
    font-size: 14px;
}

.longterm-completion-notice .completion-content p {
    font-size: var(--font-size-sm);
    color: var(--text-normal);
    margin: 0;
    line-height: 1.6;
    transition: color var(--transition-normal);
}

.longterm-completion-notice .completion-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.longterm-completion-notice .completion-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.longterm-completion-notice .completion-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   上周回顾卡片
   ======================================== */

.last-week-review {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.review-icon {
    font-size: 20px;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
}

.review-body {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.review-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.review-category .category-label {
    font-size: 12px;
    opacity: 0.8;
}

.review-category .category-name {
    font-size: 14px;
    font-weight: 500;
}

.review-stats {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}

.review-stats .stat-item {
    text-align: center;
}

.review-stats .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-stats .stat-label {
    font-size: 11px;
    opacity: 0.8;
}

.review-encouragement {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
}

.continue-last-week-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.continue-last-week-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.continue-last-week-btn svg {
    flex-shrink: 0;
}

/* ========================================
   新周欢迎样式
   ======================================== */

.podcast-select-page .select-header h1 {
    font-size: 20px;
    margin-bottom: 8px;
}

.podcast-select-page .select-header p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   完成祝贺动画
   ======================================== */

@keyframes celebrate {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.celebrate-animation {
    animation: celebrate 0.5s ease;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    top: -10px;
    animation: confetti 3s ease-out forwards;
    pointer-events: none;
    z-index: 99999;
}

/* ========================================
   访问拒绝页面样式增强
   ======================================== */

.access-denied-content {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-content);
    border-radius: 16px;
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.access-denied-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.access-denied-content h2 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.access-denied-content p {
    font-size: 14px;
    color: var(--text-normal);
    margin: 0 0 24px;
    line-height: 1.6;
}

.access-denied-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.access-denied-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ========================================
   强制顺序倾听模式样式
   ======================================== */

/* 顺序倾听通知页面 */
.sequential-notifications-page {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.notifications-header {
    text-align: center;
    margin-bottom: 30px;
}

.notifications-header h1 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}

/* 通知卡片 */
.notification-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-content);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.notification-card.revoke {
    border-left: 4px solid #e74c3c;
}

.notification-card.warning {
    border-left: 4px solid #f39c12;
}

.notification-card.completion {
    border-left: 4px solid #27ae60;
}

.notification-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-dark);
}

.notification-content p {
    margin: 0 0 5px;
    color: var(--text-normal);
    font-size: 14px;
    line-height: 1.6;
}

.notification-hint {
    color: #e74c3c !important;
    font-weight: 500;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.notification-dismiss-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
}

.notification-dismiss-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 顺序倾听选择页面 */
.sequential-select-page {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.sequential-select-page .select-header {
    text-align: center;
    margin-bottom: 30px;
}

.sequential-select-page .select-header h1 {
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.sequential-select-page .select-header p {
    color: var(--text-light);
    margin: 0;
}

/* 已完成分类列表 */
.completed-categories {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.completed-categories h3 {
    font-size: 14px;
    color: #27ae60;
    margin: 0 0 10px;
}

.completed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.completed-item {
    background: var(--bg-content);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    gap: 8px;
    color: var(--text-normal);
}

.item-date {
    color: var(--text-light);
}

/* 下一个分类卡片 */
.next-category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.card-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-info {
    flex: 1;
}

.card-code {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.card-title {
    font-size: 24px;
    margin: 0 0 8px;
}

.card-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 10px;
    line-height: 1.5;
}

.card-meta {
    font-size: 14px;
}

.start-category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.start-category-btn:active {
    transform: scale(0.98);
}

/* 进度概览 */
.progress-overview {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.overview-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.overview-label {
    color: var(--text-light);
}

.overview-value {
    font-weight: 600;
    color: var(--text-dark);
}

.overview-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.overview-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.5s;
}

/* 顺序倾听进度页面 */
.sequential-progress-page {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.progress-header {
    text-align: center;
    margin-bottom: 30px;
}

.progress-header h1 {
    font-size: 24px;
    margin: 0 0 8px;
    color: var(--text-dark);
}

.progress-header p {
    color: var(--text-light);
    margin: 0;
}

/* 当前文章卡片 */
.current-article-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.article-number {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.article-title {
    font-size: 22px;
    margin: 0 0 20px;
}

.article-progress {
    margin-bottom: 20px;
}

.article-progress .progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.article-progress .progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
}

.article-progress .progress-text {
    font-size: 14px;
    opacity: 0.9;
}

.continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: #fff;
    color: #667eea;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s;
}

.continue-btn:active {
    transform: scale(0.98);
}

/* 未完成警告 */
.incomplete-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 10px;
    color: #856404;
}

.warning-icon {
    font-size: 20px;
}

.warning-text {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

.warning-hint {
    font-size: 13px;
    color: #dc3545;
    font-weight: 500;
}

/* 学习提示 */
.learning-tips {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.learning-tips h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.learning-tips ul {
    margin: 0;
    padding-left: 20px;
}

.learning-tips li {
    margin-bottom: 8px;
    color: var(--text-normal);
    font-size: 14px;
    line-height: 1.6;
}

/* 顺序倾听完成页面 */
.sequential-completed-page {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
}

.completed-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.sequential-completed-page h1 {
    font-size: 32px;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.sequential-completed-page .completed-header p {
    color: var(--text-light);
    margin: 0;
}

.completed-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    border-radius: 12px;
    color: #fff;
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.completed-message {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.completed-message p {
    margin: 0;
    color: var(--text-normal);
}

/* ========================================
   移动端适配 - 顺序倾听模式
   ======================================== */

@media (max-width: 768px) {
    .sequential-notifications-page,
    .sequential-select-page,
    .sequential-progress-page {
        padding: 15px;
        margin: 20px auto;
    }
    
    .notification-card {
        padding: 15px;
    }
    
    .notification-icon {
        font-size: 24px;
    }
    
    .card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .current-article-card {
        padding: 20px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .sequential-completed-page {
        padding: 30px 15px;
    }
    
    .completed-icon {
        font-size: 60px;
    }
    
    .completed-stats {
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px 20px;
    }
    
    .stat-card .stat-value {
        font-size: 28px;
    }
    
    .incomplete-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .warning-text {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .sequential-select-page .select-header h1 {
        font-size: 22px;
    }
    
    .next-category-card {
        padding: 20px;
    }
    
    .card-badge {
        position: static;
        margin-bottom: 15px;
    }
    
    .completed-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-card {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .stat-card .stat-value {
        font-size: 24px;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .notification-card {
        background: var(--bg-content);
    }
    
    .completed-item {
        background: var(--bg-secondary);
    }
    
    .progress-overview,
    .learning-tips,
    .completed-message {
        background: var(--bg-secondary);
    }
    
    .incomplete-warning {
        background: rgba(255, 193, 7, 0.15);
    }
}
