/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 会员控制按钮样式 */
.member-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.member-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.member-btn.register {
    background-color: #4CAF50;
}

.member-btn.register:hover {
    background-color: #45a049;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
    color: #333;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
}

.modal h2 {
    margin-bottom: 20px;
    color: #667eea;
    text-align: center;
}

.modal .form-group {
    margin-bottom: 15px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal .form-group.remember-me label {
    display: inline-block;
    white-space: nowrap;
    margin-bottom: 0;
    font-weight: normal;
}

.modal .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.remember-me {
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.remember-me input {
    width: auto;
    margin-left: auto;
    vertical-align: middle;
}

.remember-me label {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
    vertical-align: middle;
    font-size: 16px;
}

.modal .remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.modal .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal .submit-btn:hover {
    background-color: #5a6fd8;
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.modal-footer a {
    color: #667eea;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* 会员信息样式 */
.member-detail {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.member-detail p {
    margin-bottom: 10px;
    font-size: 16px;
}

.member-detail span {
    font-weight: bold;
    color: #667eea;
}

/* 支付模态框样式 */
.payment-info {
    margin: 20px 0;
}

.payment-info p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.payment-qrcode {
    margin: 25px 0;
    text-align: center;
}

.payment-qrcode h3 {
    margin-bottom: 10px;
    color: #336699;
    font-size: 16px;
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 5px;
    overflow: hidden;
}

.qrcode-placeholder img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-instructions {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.cancel-btn {
    background-color: #fff;
    color: #336699;
    border: 1px solid #336699;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.cancel-btn:hover {
    background-color: #f0f8ff;
}

/* 订阅计划样式 */
.subscription-plans {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.subscription-plan {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.subscription-plan.popular {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.plan-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.plan-price {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.plan-price small {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.plan-features li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.subscribe-btn {
    padding: 10px 20px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #5a6fd8;
}

.subscribe-btn.active {
    background-color: #4CAF50;
}

.subscribe-btn.active:hover {
    background-color: #45a049;
}

.task-priority {
    display: none;
}

.task-priority h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.priority-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.priority-item {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

.priority-item p {
    margin: 5px 0 0 0;
    font-size: 13px;
}

.priority-a {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.priority-b {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.priority-c {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
}

.priority-d {
    background-color: #f5f5f5;
    border-left: 4px solid #9e9e9e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* 数据概览模块样式 */
.data-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.data-overview-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* 图表容器样式 */
.chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.chart-container h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.chart-wrapper {
    background: white;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    height: 250px;
    overflow: hidden;
}

#completionTrendChart {
    width: 100% !important;
    height: 100% !important;
}

/* 数据卡片样式 */
.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.data-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.data-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.data-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

/* 分段数据样式 */
.segmented-data {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.segment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 16px;
}

.segment-header input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.segment-header label {
    cursor: pointer;
}

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

.segment-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.segment-label {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.segment-value {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

/* 数据更新区域样式 */
.data-update {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.update-info {
    font-size: 14px;
    opacity: 0.8;
}

.refresh-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 时间管理界面样式 */
.time-management {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.time-management h2 {
    color: #1890ff;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.time-management-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 今日时间安排样式 */
.today-schedule {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-height: 600px;
    overflow-y: auto;
}

.today-schedule h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-header {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    padding: 12px 10px;
    background: #fafafa;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.schedule-item input[type="text"] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.schedule-item input[type="number"] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

/* 时间统计样式 */
.time-stats {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    max-height: 600px;
    overflow-y: auto;
}

.time-stats h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.time-stats .chart-container {
    height: 300px;
    margin-bottom: 20px;
    background: #fafafa;
    border-radius: 8px;
    padding: 15px;
}

.stats-summary {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background: #f0f5ff;
    border-radius: 8px;
    font-weight: 500;
    color: #1890ff;
}

/* ========================================
   客服反馈模块样式 - 右下角悬浮按钮
   ======================================== */

/* 悬浮触发按钮 */
.feedback-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-trigger:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.6);
}

.feedback-trigger:active {
    transform: scale(0.95);
}

.feedback-icon {
    font-size: 26px;
    z-index: 1;
}

/* 呼吸动效 */
.feedback-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation: feedbackPulse 2s ease-in-out infinite;
    opacity: 0;
    z-index: 0;
}

@keyframes feedbackPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 反馈弹窗 - 右下角固定，无遮罩 */
.feedback-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    max-height: 480px;
    z-index: 10002;
    /* 无背景遮罩，不影响页面其他区域 */
}

.feedback-modal.show {
    display: block !important;
}

/* 反馈弹窗容器 - 精致紧凑 */
.feedback-container {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    width: 100%;
    max-height: 480px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: feedbackSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes feedbackSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 弹窗头部 */
.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
}

.feedback-header h3 {
    margin: 0;
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.feedback-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* 弹窗主体 - 紧凑布局 */
.feedback-body {
    padding: 16px;
}

.feedback-field {
    margin-bottom: 14px;
}

.feedback-field label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.feedback-field select,
.feedback-field input,
.feedback-field textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.feedback-field select:focus,
.feedback-field input:focus,
.feedback-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.feedback-field select option {
    background: #5a67d8;
    color: white;
}

.feedback-field textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 120px;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* 提交按钮 */
.feedback-submit {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feedback-submit:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feedback-submit:active {
    transform: translateY(0);
}

/* 弹窗底部 */
.feedback-footer {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    border-radius: 0 0 16px 16px;
}

.feedback-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.feedback-footer strong {
    color: #ffd700;
}

/* 响应式适配 */
@media (max-width: 480px) {
    .feedback-trigger {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .feedback-icon {
        font-size: 22px;
    }

    .feedback-modal {
        bottom: 85px;
        right: 15px;
        left: 15px;
        width: auto;
        max-height: 70vh;
    }

    .feedback-container {
        max-height: 70vh;
    }

    .feedback-header {
        padding: 12px 14px;
    }

    .feedback-body {
        padding: 14px;
    }

    .feedback-field textarea {
        min-height: 60px;
    }
}

/* 任务类型颜色 */
.task-type-english {
    background-color: #1890ff;
    color: white;
}

.task-type-ai {
    background-color: #722ed1;
    color: white;
}

.task-type-python {
    background-color: #faad14;
    color: white;
}

.task-type-marketing {
    background-color: #f5222d;
    color: white;
}

.task-type-relax {
    background-color: #52c41a;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .data-overview {
        padding: 20px;
    }
    
    .data-cards {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .data-value {
        font-size: 24px;
    }
    
    .segment-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-wrapper {
        height: 250px;
    }
    
    .time-management-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .schedule-header,
    .schedule-item {
        grid-template-columns: 100px 1fr 70px;
        font-size: 13px;
    }
    
    .time-stats .chart-container {
        height: 250px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 卡片和内容区域样式 */
.content-area {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.content-area:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background-color: #1890ff;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 2em;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.2;
}

header p {
    font-size: 1em;
    opacity: 0.9;
}

/* 主内容区样式 */
main {
    padding: 20px;
}

/* 标签切换样式 */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
    min-width: 120px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: #e8e8e8;
    color: #1890ff;
}

.tab-btn.active {
    background: white;
    color: #1890ff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1890ff;
}

/* 响应式标题 */
@media (max-width: 768px) {
    .section-titles h2 {
        font-size: 18px;
        line-height: 1.4;
    }
}

/* 标签内容样式 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

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

.tab-content h2 {
    margin-bottom: 30px;
    color: #1890ff;
    font-size: 2em;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    resize: vertical;
    background-color: #fff;
    min-height: 48px;
    touch-action: manipulation;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

/* 输入框placeholder样式 */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* 表单验证状态 */
.form-group input.error,
.form-group textarea.error {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(245, 34, 45, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #52c41a;
    box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.1);
}

/* 表单验证提示 */
.form-error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.form-error::before {
    content: '⚠️';
    margin-right: 5px;
    font-size: 14px;
}

/* 进度条样式 */
.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#goal-progress {
    flex: 1;
    margin-right: 15px;
    height: 8px;
    border-radius: 4px;
    background: #e8e8e8;
    outline: none;
    -webkit-appearance: none;
}

#goal-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1890ff;
    cursor: pointer;
}

#progress-value {
    font-weight: 600;
    color: #1890ff;
    min-width: 45px;
    text-align: right;
}

/* 标准进度条 */
.progress-bar {
    width: 100%;
    height: 24px;
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1890ff 0%, #096dd9 100%);
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* 进度条动画效果 */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

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

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

/* 按钮样式 */
button {
    padding: 12px 24px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 44px;
    touch-action: manipulation;
}

button:hover {
    background-color: #096dd9;
    box-shadow: 0 4px 8px rgba(24, 144, 255, 0.3);
}

button:active {
    transform: translateY(1px);
    box-shadow: none;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 提交按钮样式 */
.submit-btn {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-height: 50px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 144, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 辅助按钮 */
.secondary-button {
    background-color: #6c757d;
}

.secondary-button:hover {
    background-color: #5a6268;
}

/* 危险按钮 */
.danger-button {
    background-color: #ff4d4f;
}

.danger-button:hover {
    background-color: #cf1322;
}

/* 按钮组 */
.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    flex: 1;
}

/* 四象限样式 */
.quadrants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-bottom: 20px;
}

.quadrant {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 优先级提醒样式调整 */
.task-priority {
    grid-column: 1 / -1;
    margin: 20px 0;
    padding: 20px;
    background: #e6f7ff;
    border-radius: 12px;
    border: 1px solid #91d5ff;
}

/* 确保四象限按A、B上排，C、D下排排列 */
.important-urgent {
    grid-column: 1;
    grid-row: 1;
}

.important-not-urgent {
    grid-column: 2;
    grid-row: 1;
}

.not-important-urgent {
    grid-column: 1;
    grid-row: 2;
}

.not-important-not-urgent {
    grid-column: 2;
    grid-row: 2;
}

.quadrant:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quadrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.important-urgent::before {
    background: #ff4d4f;
}

.important-not-urgent::before {
    background: #52c41a;
}

.not-important-urgent::before {
    background: #faad14;
}

.not-important-not-urgent::before {
    background: #8c8c8c;
}

.quadrant h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
    font-size: 18px;
}

.important-urgent h3 {
    color: #ff4d4f;
}

.important-not-urgent h3 {
    color: #52c41a;
}

.not-important-urgent h3 {
    color: #faad14;
}

.not-important-not-urgent h3 {
    color: #8c8c8c;
}

/* 任务项样式 */
.task-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.task-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.task-item input,
.task-item textarea {
    margin-bottom: 10px;
}

.task-item:last-child {
    margin-bottom: 0;
}

/* 任务按钮组 */
.task-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-end;
}

/* 求助对象行样式 */
.task-help-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.task-help-row .task-help {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.add-task-btn,
.remove-task-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.add-task-btn:hover {
    background: #389e0d;
    transform: scale(1.1);
}

.remove-task-btn:hover {
    background: #cf1322;
    transform: scale(1.1);
}

.add-task-btn {
    background: #52c41a;
    color: white;
}

.remove-task-btn {
    background: #ff4d4f;
    color: white;
}

.add-task-btn:hover {
    background: #389e0d;
}

.remove-task-btn:hover {
    background: #cf1322;
}

/* 历史记录样式 */
.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#history-filter {
    padding: 10px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 16px;
}

#clear-history {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#clear-history:hover {
    background: #cf1322;
}

#history-list {
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #1890ff;
}

.history-item:hover {
    background: #e6f7ff;
    transform: translateX(5px);
}

.history-item-date {
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 5px;
}

.history-item-brief {
    color: #666;
    font-size: 14px;
}

/* 历史详情弹窗样式 */
.history-detail {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

#detail-content {
    margin: 20px 0;
}

#close-detail {
    background: #8c8c8c;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#close-detail:hover {
    background: #595959;
}

/* 智能建议样式 */
.advice-generator {
    text-align: center;
    margin-bottom: 30px;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    max-width: 400px;
    word-wrap: break-word;
}

.notification.show {
    right: 20px;
}

.notification-success {
    background-color: #52c41a;
}

.notification-error {
    background-color: #f5222d;
}

.notification-warning {
    background-color: #faad14;
}

.notification-info {
    background-color: #1890ff;
}

/* 响应式通知 */
@media (max-width: 768px) {
    .notification {
        right: -100%;
        left: 20px;
        right: 20px;
        min-width: auto;
    }
    
    .notification.show {
        right: 20px;
    }
}

.advice-btn {
    background: linear-gradient(135deg, #722ed1 0%, #591cbf 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.advice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(114, 46, 209, 0.3);
}

.advice-result {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 0.6s ease;
}

.advice-result h3 {
    color: #389e0d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advice-result h3::before,
.advice-result h3::after {
    content: '✨';
    margin: 0 15px;
    font-size: 18px;
    animation: twinkle 2s infinite;
}

.advice-content {
    line-height: 1.8;
    color: #555;
}

.advice-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #52c41a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advice-item:last-child {
    margin-bottom: 0;
}

.advice-item h4 {
    color: #389e0d;
    margin-bottom: 10px;
    font-size: 16px;
}

/* 新增动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* 底部样式 */
footer {
    background: #f5f5f5;
    text-align: center;
    padding: 30px;
    color: #8c8c8c;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 5px;
        font-size: 14px;
    }

    .container {
        border-radius: 8px;
        overflow: hidden;
    }

    header {
        padding: 20px 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    main {
        padding: 15px;
    }

    .quadrants {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quadrant {
        padding: 15px;
        margin-bottom: 15px;
    }

    .task-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .task-item input,
    .task-item textarea {
        font-size: 14px;
        padding: 10px;
    }

    .history-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .history-detail {
        width: 95%;
        padding: 15px;
        margin: 5px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 10px 8px;
        width: 25%;
    }

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

    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .advice-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .tab-content {
        padding: 15px;
    }

    .tab-content h2 {
        font-size: 1.6em;
    }

    .data-overview {
        padding: 20px 15px;
    }

    .content-area {
        padding: 15px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        font-size: 12px;
        padding: 8px 5px;
    }

    header h1 {
        font-size: 1.6em;
    }

    .tab-content h2 {
        font-size: 1.4em;
    }

    .advice-result {
        padding: 20px 15px;
    }

    .advice-item {
        padding: 12px;
    }

    .chart-container {
        padding: 15px;
    }

    .chart-wrapper {
        padding: 15px;
    }

    .stats-summary {
        flex-direction: column;
        gap: 10px;
    }

    .notification {
        padding: 15px;
        font-size: 14px;
    }

    .schedule-header,
    .schedule-item {
        grid-template-columns: 80px 1fr 60px;
        font-size: 12px;
    }

    .schedule-item input[type="text"],
    .schedule-item input[type="number"] {
        padding: 5px 7px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        font-size: 13px;
        padding: 10px 8px;
        width: 25%;
    }

    .tab-content h2 {
        font-size: 1.5em;
    }

    .submit-btn,
    .advice-btn {
        width: 100%;
    }

    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group textarea,
    .form-group select {
        font-size: 14px;
        padding: 10px;
    }

    .history-detail {
        width: 95%;
        padding: 15px;
    }
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

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

/* ========================================
   数据洞察看板样式 - 人生资产报告
   ======================================== */

/* 看板容器 */
.data-insight-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

/* 看板头部 */
.insight-header {
    text-align: center;
    margin-bottom: 24px;
}

.insight-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.insight-subtitle {
    font-size: 14px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

/* 月份选择器 */
.insight-month-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.insight-month-selector label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.insight-month-selector input[type="month"] {
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insight-month-selector input[type="month"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
}

.insight-month-selector input[type="month"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.insight-month-selector .refresh-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insight-month-selector .refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 图表区域 */
.insight-charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.insight-chart-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.insight-chart-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.insight-chart-card .chart-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.echarts-container {
    width: 100%;
    height: 280px;
    min-height: 280px;
}

/* 洞察卡片 */
.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.insight-card.primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.insight-card.primary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.insight-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.insight-content h5 {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.insight-content p {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .data-insight-panel {
        padding: 16px;
        margin-bottom: 16px;
    }

    .insight-header h3 {
        font-size: 20px;
    }

    .insight-charts {
        grid-template-columns: 1fr;
    }

    .echarts-container {
        height: 240px;
        min-height: 240px;
    }

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

    .insight-card {
        padding: 14px;
    }

    .insight-icon {
        font-size: 24px;
    }

    .insight-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .data-insight-panel {
        padding: 12px;
        border-radius: 12px;
    }

    .insight-header h3 {
        font-size: 18px;
    }

    .insight-month-selector {
        flex-direction: column;
        gap: 10px;
    }

    .insight-month-selector input[type="month"],
    .insight-month-selector .refresh-btn {
        width: 100%;
    }

    .insight-cards {
        grid-template-columns: 1fr;
    }

    .echarts-container {
        height: 220px;
        min-height: 220px;
    }
}

/* ========================================
   时间统计详情样式
   ======================================== */

/* 历史列表卡片中的时间统计摘要 */
.history-item-stats {
    font-size: 12px;
    color: #1890ff;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #e8e8e8;
}

/* 历史详情中的时间统计区块 */
.time-stats-section {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f7ff 100%);
    border-radius: 8px;
    padding: 16px;
    margin: 10px 0;
}

.time-stats-section h4 {
    color: #1890ff;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.time-stats-section h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #1890ff;
    margin-right: 8px;
    border-radius: 2px;
}

.time-stats-overview {
    margin-bottom: 12px;
}

.time-stats-overview p {
    margin: 6px 0;
    font-size: 14px;
}

.time-stats-overview .highlight {
    color: #52c41a;
    font-weight: 600;
}

.time-stats-overview .highlight-value {
    color: #1890ff;
    font-weight: 700;
    font-size: 15px;
}

.time-stats-items {
    margin-top: 12px;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.stats-list li {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid rgba(24, 144, 255, 0.2);
}

.stats-item-name {
    color: #333;
    font-weight: 500;
}

.stats-item-time {
    color: #1890ff;
    font-weight: 600;
}

.stats-item-percent {
    color: #8c8c8c;
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .stats-list {
        grid-template-columns: 1fr;
    }

    .time-stats-section {
        padding: 12px;
    }
}

/* ========================================
   历史详情卡片化布局样式
   ======================================== */

/* 详情头部区域 */
.detail-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    color: white;
}

.detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.date-icon {
    font-size: 18px;
}

.date-text {
    font-size: 18px;
    font-weight: 600;
}

.detail-completion {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.completion-label {
    opacity: 0.9;
}

.completion-value {
    font-size: 24px;
    font-weight: 700;
    color: #52c41a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.completion-desc {
    opacity: 0.85;
    font-size: 13px;
}

/* 详情卡片Grid布局 */
.detail-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.detail-card {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f7ff 100%);
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 144, 255, 0.15);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.detail-card h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(24, 144, 255, 0.3);
}

.detail-card .card-icon {
    font-size: 14px;
}

.detail-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    white-space: pre-wrap;
    margin: 0;
}

/* 卡片颜色区分 */
.card-strengths h4 {
    color: #52c41a;
}

.card-weaknesses h4 {
    color: #ff4d4f;
}

.card-improvements h4 {
    color: #1890ff;
}

.card-todos h4 {
    color: #722ed1;
}

/* 响应式：移动端单列显示 */
@media (max-width: 600px) {
    .detail-cards-grid {
        grid-template-columns: 1fr;
    }

    .detail-header-section {
        padding: 12px 16px;
    }

    .date-text {
        font-size: 16px;
    }

    .completion-value {
        font-size: 20px;
    }

    .detail-card {
        padding: 12px 14px;
    }
}

/* ========================================
   支付弹窗高颜值样式 (z-index: 10001)
   优先级最高，确保覆盖所有其他弹窗
   ======================================== */

/* 支付弹窗遮罩层 - z-index: 10000 */
.payment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000 !important;
    justify-content: center;
    align-items: center;
    animation: paymentFadeIn 0.3s ease;
}

.payment-modal-overlay.show {
    display: flex !important;
}

@keyframes paymentFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 支付弹窗容器 - z-index: 10001 */
.payment-modal-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 0;
    width: 420px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10001 !important;
    animation: paymentSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes paymentSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 关闭按钮 */
.payment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.payment-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 头部样式 */
.payment-modal-header {
    text-align: center;
    padding: 40px 30px 20px;
    color: white;
}

.payment-header-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: paymentBounce 2s infinite;
}

@keyframes paymentBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.payment-header-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.payment-header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* 价格区域 */
.payment-price-section {
    text-align: center;
    padding: 0 30px 25px;
    color: white;
}

.payment-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.payment-currency {
    font-size: 24px;
    font-weight: 600;
}

.payment-amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.payment-period {
    font-size: 16px;
    opacity: 0.8;
}

.payment-original-price {
    font-size: 14px;
    text-decoration: line-through;
    opacity: 0.6;
    margin-top: 8px;
}

/* 收款码区域 */
.payment-qrcode-section {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 25px;
}

/* Tab 切换 */
.payment-qrcode-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tab {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

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

.payment-tab .tab-icon {
    font-size: 16px;
}

/* 收款码内容 */
.payment-qrcode-content {
    position: relative;
}

.payment-qrcode-item {
    display: none;
    text-align: center;
    animation: paymentFadeIn 0.3s ease;
}

.payment-qrcode-item.active {
    display: block;
}

.qrcode-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    padding: 10px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #f0f0f0;
}

.qrcode-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 强制禁用所有可能影响扫描的效果 */
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.qrcode-tip {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* 操作按钮区域 */
.payment-actions-section {
    padding: 20px 25px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-confirm-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
}

.payment-confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(82, 196, 26, 0.5);
}

.payment-confirm-btn:active {
    transform: translateY(0);
}

.payment-confirm-btn .btn-icon {
    font-size: 20px;
}

.payment-cancel-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-cancel-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

/* 信任背书 */
.payment-trust-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 25px 25px;
    background: white;
    border-radius: 0 0 24px 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

.trust-icon {
    font-size: 16px;
}

/* 响应式适配 */
@media (max-width: 480px) {
    .payment-modal-container {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }

    .payment-modal-overlay {
        align-items: flex-end;
    }

    .payment-modal-header {
        padding: 30px 20px 15px;
    }

    .payment-header-icon {
        font-size: 36px;
    }

    .payment-header-title {
        font-size: 22px;
    }

    .payment-amount {
        font-size: 42px;
    }

    .payment-qrcode-section {
        padding: 20px;
    }

    .qrcode-wrapper {
        width: 180px;
        height: 180px;
    }

    .payment-qrcode-tabs {
        flex-direction: column;
    }

    .payment-trust-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ========================================
   VIP会员中心 - 高级商业质感 (深蓝蓝紫渐变)
   ======================================== */

/* VIP中心模态框容器 - 深邃星空背景 */
.vip-center-modal {
    max-width: 900px !important;
    width: 95% !important;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(15, 12, 41, 0.8), 0 0 40px rgba(48, 43, 99, 0.4);
}

/* VIP中心头部 - 深蓝渐变 */
.vip-center-header {
    text-align: center;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, rgba(48, 43, 99, 0.8) 0%, rgba(36, 36, 62, 0.9) 100%);
    position: relative;
}

/* 3天试用徽章 - 微光效果 */
.trial-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 180, 0, 0.9) 100%);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a2e;
    animation: trialGlow 2s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
}

@keyframes trialGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.7); }
}

.vip-header-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.vip-center-header h2 {
    color: white !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vip-header-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

/* 用户信息区 - 毛玻璃卡片 */
.vip-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a80ff 0%, #b496ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(138, 128, 255, 0.4);
}

.vip-user-details {
    flex: 1;
}

.vip-user-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.vip-user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 8px 0;
}

.vip-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 12px;
}

.badge-icon {
    font-size: 14px;
}

.badge-expiry {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   三卡片订阅计划布局 - 呼吸感设计
   ======================================== */

.vip-plans-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: transparent !important;
    flex-wrap: wrap;
}

/* 订阅卡片基础样式 - 白色半透明毛玻璃 */
.vip-plan-card {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vip-plan-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 50px rgba(48, 43, 99, 0.5);
}

/* 月付版 - 淡紫色调 */
.vip-plan-monthly {
    box-shadow: 0 10px 40px rgba(138, 128, 255, 0.2);
}

.vip-plan-monthly:hover {
    border-color: rgba(138, 128, 255, 0.5);
}

/* 年付版 - 推荐 - 金色边框 */
.vip-plan-yearly {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.vip-plan-yearly:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.3);
}

/* 永久版 - 深金色调 */
.vip-plan-lifetime {
    border: 1px solid rgba(255, 180, 0, 0.4);
    box-shadow: 0 10px 40px rgba(255, 180, 0, 0.15);
}

.vip-plan-lifetime:hover {
    border-color: rgba(255, 180, 0, 0.6);
}

/* 推荐标签 */
.vip-plan-badge {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 0 0 12px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-popular {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.badge-value {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
}

/* 卡片内容 */
.vip-plan-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 15px 0 20px;
}

.vip-plan-price {
    margin-bottom: 20px;
}

.vip-price-amount {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.vip-plan-yearly .vip-price-amount {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-plan-lifetime .vip-price-amount {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-price-currency {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    vertical-align: super;
}

.vip-price-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.vip-price-original {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-top: 5px;
}

/* 功能列表 */
.vip-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.vip-plan-features li {
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-plan-features li::before {
    content: '✓';
    color: #52c41a;
    font-weight: 700;
    font-size: 14px;
}

/* 订阅按钮 */
.vip-subscribe-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vip-plan-monthly .vip-subscribe-btn {
    background: linear-gradient(135deg, #8a80ff 0%, #6c63ff 100%);
    color: white;
}

.vip-plan-yearly .vip-subscribe-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.vip-plan-lifetime .vip-subscribe-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
}

.vip-subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 已订阅状态 */
.vip-subscribe-btn.subscribed {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%) !important;
    color: white !important;
    border: none !important;
    cursor: default;
}

/* 信任背书 */
.vip-trust-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   锁定状态 - 高斯模糊遮罩
   ======================================== */

/* 试用过期锁定状态 */
.app-locked .container {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.app-locked #member-center-modal {
    filter: none !important;
    pointer-events: auto !important;
}

.vip-lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(8px);
}

/* 试用倒计时提示条 */
.trial-countdown-banner {
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.2) 0%, rgba(255, 100, 0, 0.2) 100%);
    border: 1px solid rgba(255, 180, 0, 0.4);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 0 30px 20px 30px;
    text-align: center;
    animation: bannerPulse 2s ease-in-out infinite;
}

.trial-countdown-banner p {
    margin: 0;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
}

.trial-countdown-banner .countdown-time {
    color: #ff6b6b;
    font-weight: 700;
}

@keyframes bannerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ========================================
   VIP支付弹窗 (z-index: 20000)
   ======================================== */

.vip-payment-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 20000 !important;
    justify-content: center;
    align-items: center;
    animation: vipFadeIn 0.3s ease;
}

.vip-payment-overlay.show {
    display: flex !important;
}

@keyframes vipFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vip-payment-container {
    background: linear-gradient(180deg, rgba(138, 128, 255, 0.2) 0%, rgba(180, 150, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 0;
    width: 400px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(138, 128, 255, 0.5);
    position: relative;
    z-index: 20001 !important;
    animation: vipSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes vipSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vip-payment-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20002;
}

.vip-payment-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.vip-payment-header {
    text-align: center;
    padding: 35px 30px 20px;
    background: linear-gradient(135deg, rgba(138, 128, 255, 0.3) 0%, rgba(180, 150, 255, 0.2) 100%);
}

.vip-payment-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vip-payment-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.vip-payment-plan-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.vip-payment-price {
    text-align: center;
    padding: 20px;
}

.vip-payment-price .price-currency {
    font-size: 24px;
    color: #ffd700;
    vertical-align: super;
}

.vip-payment-price .price-amount {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.vip-payment-price .price-period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* 支付方式选择 */
.vip-payment-methods {
    display: flex;
    gap: 12px;
    padding: 0 25px;
    margin-bottom: 20px;
}

.vip-method-btn {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vip-method-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.vip-method-btn.active {
    background: linear-gradient(135deg, #8a80ff 0%, #b496ff 100%);
    border-color: transparent;
}

.method-icon {
    font-size: 18px;
}

/* 收款码展示 */
.vip-qrcode-display {
    padding: 0 25px;
    margin-bottom: 20px;
}

.vip-qrcode-item {
    display: none;
    text-align: center;
    animation: vipFadeIn 0.3s ease;
}

.vip-qrcode-item.active {
    display: block;
}

.qrcode-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    padding: 10px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 二维码图片 - 确保100%清晰可扫描 */
.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 强制禁用所有可能影响扫描的效果 */
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.qrcode-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 解锁按钮 */
.vip-unlock-btn {
    width: calc(100% - 50px);
    margin: 0 25px 15px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
}

.vip-unlock-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(82, 196, 26, 0.5);
}

.unlock-icon {
    font-size: 22px;
}

.vip-payment-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 25px 25px;
    margin: 0;
}

/* ========================================
   VIP中心响应式设计
   ======================================== */

@media (max-width: 768px) {
    .vip-center-modal {
        max-width: 100% !important;
        border-radius: 16px !important;
    }

    .vip-plans-container {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .vip-plan-card {
        max-width: 100%;
        min-width: auto;
    }

    .vip-plan-yearly {
        transform: scale(1);
        order: -1;
    }

    .vip-plan-yearly:hover {
        transform: translateY(-10px) scale(1);
    }

    .vip-user-info {
        flex-direction: column;
        text-align: center;
    }

    .vip-user-details {
        text-align: center;
    }

    .vip-trust-footer {
        flex-direction: column;
        gap: 12px;
    }

    .vip-payment-methods {
        flex-direction: column;
    }

    .qrcode-frame {
        width: 180px;
        height: 180px;
    }

    .trial-badge {
        position: static;
        margin-top: 15px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .vip-center-header {
        padding: 20px 15px 15px;
    }

    .vip-header-icon {
        font-size: 36px;
    }

    .vip-center-header h2 {
        font-size: 22px;
    }

    .vip-price-amount {
        font-size: 36px;
    }

    .vip-plan-card {
        padding: 20px 18px;
    }

    .vip-payment-container {
        border-radius: 20px 20px 0 0;
    }

    .vip-payment-overlay {
        align-items: flex-end;
    }
}

/* ========================================
   复盘挑战赛样式 - 高吸引力版
   ======================================== */

/* 导航标签NEW角标 */
.challenge-tab {
    position: relative;
}

.tab-badge-new {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    animation: newBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

@keyframes newBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 顶部公告横幅 */
.challenge-banner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.banner-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    animation: glowFloat 4s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.banner-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.banner-icon {
    font-size: 56px;
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    75% { transform: translateY(-4px) rotate(5deg); }
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    margin: 0 0 8px 0;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.banner-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 170, 0, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.reward-tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.reward-amount {
    font-size: 24px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* 资格状态横幅 */
.eligibility-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.eligibility-banner.eligible {
    background: linear-gradient(135deg, rgba(82, 196, 26, 0.15) 0%, rgba(82, 196, 26, 0.05) 100%);
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.eligibility-banner.warning {
    background: linear-gradient(135deg, rgba(250, 173, 20, 0.15) 0%, rgba(250, 173, 20, 0.05) 100%);
    border: 1px solid rgba(250, 173, 20, 0.3);
}

.eligibility-banner.locked {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.status-icon {
    font-size: 28px;
}

.status-text {
    flex: 1;
}

.status-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.eligibility-banner.eligible .status-text strong { color: #52c41a; }
.eligibility-banner.warning .status-text strong { color: #faad14; }
.eligibility-banner.locked .status-text strong { color: #667eea; }

.status-text span {
    font-size: 13px;
    color: #666;
}

.upgrade-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 仪表盘区域 */
.challenge-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* 进度环卡片 */
.progress-ring-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ring-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 24px;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.ring-progress {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-days {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ring-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.ring-badge {
    margin-top: 12px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.ring-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ring-stat {
    text-align: center;
}

.ring-stat .stat-num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.ring-stat.highlight .stat-num {
    color: #ffd700;
}

.ring-stat .stat-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* 奖励卡片 */
.reward-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.reward-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.reward-header .reward-icon {
    font-size: 32px;
}

.reward-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.reward-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reward-hint {
    font-size: 16px;
    color: #666;
    margin: 0 0 12px 0;
}

.reward-hint strong {
    color: #667eea;
    font-size: 20px;
}

.reward-countdown {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.reward-countdown .highlight-num {
    font-size: 36px;
    font-weight: 800;
    color: #ff6b6b;
}

.reward-success {
    text-align: center;
    padding: 20px;
}

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

.reward-success p {
    font-size: 20px;
    font-weight: 600;
    color: #52c41a;
    margin: 0 0 8px 0;
}

.reward-success .success-hint {
    font-size: 14px;
    color: #666;
}

.reward-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.action-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.action-btn.secondary {
    background: #f5f5f5;
    color: #333;
}

.action-btn.secondary:hover {
    background: #e8e8e8;
}

/* 挑战规则 V2 */
.challenge-rules-v2 {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.challenge-rules-v2 h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
}

.challenge-rules-v2 h3 .icon {
    font-size: 20px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rule-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f8f9ff;
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.rule-card.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.rule-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-card.highlight .rule-num {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    font-size: 18px;
}

.rule-info h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.rule-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.rule-info strong {
    color: #667eea;
}

.rule-card.highlight .rule-info strong {
    color: #d97706;
}

/* 荣誉榜 V2 */
.hall-of-fame-v2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

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

.fame-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 18px;
    color: white;
}

.fame-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 170, 0, 0.1) 100%);
    border-radius: 20px;
    font-size: 12px;
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.fame-scroll-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.fame-scroll-container::-webkit-scrollbar {
    width: 4px;
}

.fame-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

.fame-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.fame-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.fame-card.top {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 170, 0, 0.08) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.fame-rank {
    font-size: 28px;
}

.fame-info {
    flex: 1;
}

.fame-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.fame-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.fame-reward {
    text-align: right;
}

.fame-reward .reward-text {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.fame-reward .reward-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
}

.fame-tip {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 客服联系 */
.service-contact {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-label {
    font-size: 14px;
    color: #666;
}

.contact-wechat {
    font-size: 16px;
    font-weight: 600;
    color: #52c41a;
}

/* 喜报弹窗 */
.challenge-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 25000;
    justify-content: center;
    align-items: center;
}

.challenge-modal-overlay.show {
    display: flex !important;
}

.challenge-modal-container {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    width: 420px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.challenge-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.challenge-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.challenge-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 170, 0, 0.1) 100%);
}

.challenge-modal-header .trophy {
    font-size: 64px;
    animation: trophyBounce 2s ease-in-out infinite;
}

.challenge-modal-header .fireworks {
    font-size: 36px;
    animation: fireworksFloat 1.5s ease-in-out infinite alternate;
}

@keyframes fireworksFloat {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-10px) rotate(15deg); }
}

.challenge-modal-body {
    padding: 24px 30px 30px;
    text-align: center;
    color: white;
}

.challenge-modal-body h2 {
    margin: 0 0 16px 0;
    font-size: 26px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 18px;
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text span {
    color: #ffd700;
    font-weight: 700;
    font-size: 22px;
}

.reward-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.reward-info .reward-icon {
    font-size: 36px;
}

.reward-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #ffd700;
}

.reward-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.challenge-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

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

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

.service-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.service-hint strong {
    color: #ffd700;
}

/* 数据概览高亮效果 */
.data-overview.highlight {
    animation: highlightPulse 2s ease-in-out;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.5);
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.3); }
}

/* 响应式 */
@media (max-width: 1024px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .challenge-dashboard {
        grid-template-columns: 1fr;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-icon {
        font-size: 48px;
    }

    .banner-reward {
        width: 100%;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .ring-container {
        width: 240px;
        height: 240px;
    }

    .ring-days {
        font-size: 48px;
    }

    .eligibility-banner {
        flex-direction: column;
        text-align: center;
    }

    .upgrade-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .challenge-modal-container {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .challenge-modal-overlay {
        align-items: flex-end;
    }

    .tab-badge-new {
        top: -6px;
        right: -6px;
        font-size: 8px;
        padding: 2px 4px;
    }

    .ring-stats {
        flex-direction: column;
        gap: 16px;
    }

    .reward-actions {
        flex-direction: column;
    }
}

/* ========================================
   自定义标签与色彩管理系统样式
   ======================================== */

/* 管理标签按钮 */
.manage-tags-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.manage-tags-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 时间统计头部布局 */
.time-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.time-stats-header h3 {
    margin: 0;
}

/* 任务选择器包装器 */
.task-selector-wrapper {
    position: relative;
    width: 100%;
}

/* 任务输入容器 - 新版 */
.task-input-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.task-input-container .task-input {
    flex: 1;
    padding: 10px 40px 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.task-input-container .task-input::placeholder {
    color: #999;
}

/* 下拉按钮 */
.tag-dropdown-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border: 1px solid #d9d9d9;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-dropdown-btn:hover {
    background: #e0e0e0;
    color: #333;
}

/* 下拉菜单 */
.tag-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    padding: 6px;
}

.tag-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
}

.tag-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tag-dropdown-item .tag-name {
    color: white;
    font-size: 14px;
}

/* 标签选择下拉框 */
.task-tag-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.task-tag-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.task-tag-select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

/* 自定义输入框 */
.task-custom-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #667eea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

/* 标签管理器遮罩层 */
.tag-manager-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.tag-manager-overlay.closing {
    animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* 标签管理器容器 */
.tag-manager-container {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}

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

/* 标签管理器头部 */
.tag-manager-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-manager-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.tag-manager-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tag-manager-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 标签管理器主体 */
.tag-manager-body {
    padding: 24px;
    max-height: calc(85vh - 160px);
    overflow-y: auto;
}

/* 添加标签区域 */
.tag-add-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.tag-add-section h4 {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.tag-add-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tag-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    transition: all 0.2s ease;
}

.tag-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.1);
}

.tag-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 调色盘 */
.color-palette {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: white;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 添加按钮 */
.tag-add-btn {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.tag-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(82, 196, 26, 0.4);
}

.tag-add-btn span {
    font-size: 18px;
    font-weight: bold;
}

/* 现有标签列表 */
.tag-list-section h4 {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

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

.tag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* 颜色指示器 */
.tag-color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 标签名称输入 */
.tag-name-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

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

/* 颜色选择器 */
.tag-color-picker {
    display: flex;
    gap: 6px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.color-dot:hover {
    opacity: 1;
    transform: scale(1.1);
}

.color-dot.active {
    border-color: white;
    opacity: 1;
    transform: scale(1.15);
}

/* 删除按钮 */
.tag-delete-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.tag-delete-btn:hover {
    background: rgba(245, 34, 45, 0.2);
    opacity: 1;
}

/* 标签管理器底部 */
.tag-manager-footer {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-tip {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.tag-done-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-done-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .tag-manager-container {
        width: 95%;
        max-height: 90vh;
    }

    .tag-manager-body {
        padding: 16px;
    }

    .tag-item {
        flex-wrap: wrap;
    }

    .tag-color-picker {
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .tag-manager-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .time-stats-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ========================================
   标签编辑弹窗样式
   ======================================== */

/* 可点击的标签项 */
.tag-item.clickable {
    cursor: pointer;
}

.tag-item.clickable:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateX(4px);
}

.tag-display-name {
    flex: 1;
    color: white;
    font-size: 15px;
}

.tag-edit-icon {
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 14px;
}

.tag-item.clickable:hover .tag-edit-icon {
    opacity: 0.7;
}

.tag-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: normal;
    margin-left: 8px;
}

/* 编辑弹窗遮罩 */
.tag-edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.15s ease;
}

.tag-edit-overlay.closing {
    animation: fadeOut 0.15s ease forwards;
}

/* 编辑弹窗容器 */
.tag-edit-container {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 14px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.2s ease;
    overflow: hidden;
}

/* 编辑弹窗头部 */
.tag-edit-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-edit-header h4 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.tag-edit-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.tag-edit-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 编辑弹窗主体 */
.tag-edit-body {
    padding: 20px;
}

.edit-field {
    margin-bottom: 18px;
}

.edit-field label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
}

.edit-field .tag-input {
    width: 100%;
    box-sizing: border-box;
}

.edit-colors {
    padding-top: 4px;
}

/* 预览区域 */
.tag-edit-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 16px;
}

.tag-edit-preview span:first-child {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.preview-tag {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* 编辑弹窗底部 */
.tag-edit-footer {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-cancel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tag-save-btn {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}