/* ========================================
   墩墩会员体系 - 深科技蓝主题样式
   主色: #0A1628 (深科技蓝)
   辅助: #1A2A4A, #0D2137
   强调: #3B82F6 (蓝), #8B5CF6 (紫), #F59E0B (金), #10B981 (绿)
   ======================================== */

:root {
    --bg-primary: #0A1628;
    --bg-secondary: #0D2137;
    --bg-card: #112240;
    --bg-card-hover: #1A2A4A;
    --bg-input: #0D2137;
    --border-color: #1E3A5F;
    --border-focus: #3B82F6;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --accent-gold: #F59E0B;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-pink: #EC4899;
    --gradient-blue: linear-gradient(135deg, #3B82F6, #1D4ED8);
    --gradient-purple: linear-gradient(135deg, #8B5CF6, #6D28D9);
    --gradient-gold: linear-gradient(135deg, #F59E0B, #D97706);
    --gradient-green: linear-gradient(135deg, #10B981, #059669);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ============ 通用布局 ============ */
.page-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

.page-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ 顶部导航 ============ */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav .nav-back {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.top-nav .nav-back:hover {
    background: var(--accent-blue);
}

.top-nav .nav-title {
    font-size: 18px;
    font-weight: 600;
}

.top-nav .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav .nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ============ 底部导航 ============ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
    z-index: 100;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    background: none;
    font-size: 10px;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
    color: var(--accent-blue);
}

.bottom-nav .nav-item .nav-icon {
    font-size: 22px;
    line-height: 1;
}

/* ============ 卡片 ============ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-blue);
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-purple {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============ 输入框 ============ */
.form-group {
    margin-bottom: 20px;
}

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============ 会员等级徽章 ============ */
.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.level-badge.lv0 {
    background: rgba(100, 116, 139, 0.2);
    color: #94A3B8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.level-badge.lv1 {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.level-badge.lv2 {
    background: rgba(139, 92, 246, 0.2);
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.level-badge.lv3 {
    background: rgba(245, 158, 11, 0.2);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.creator-badge.c0 {
    background: rgba(100, 116, 139, 0.2);
    color: #94A3B8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.creator-badge.c1 {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.creator-badge.c2 {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.creator-badge.c3 {
    background: rgba(245, 158, 11, 0.2);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ============ 会员卡片 ============ */
.member-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.member-card.lv0 {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: rgba(100, 116, 139, 0.3);
}

.member-card.lv1 {
    background: linear-gradient(135deg, #1E3A5F 0%, #0D2137 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.member-card.lv2 {
    background: linear-gradient(135deg, #2D1B69 0%, #1A0F3C 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.member-card.lv3 {
    background: linear-gradient(135deg, #78350F 0%, #451A03 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.member-card .card-shine {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============ 会员中心首页 ============ */
.member-header {
    text-align: center;
    padding: 32px 20px 24px;
}

.member-header .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-blue);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border: 3px solid rgba(59, 130, 246, 0.4);
}

.member-header .username {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-header .badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 数据统计行 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.stat-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-item .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-item .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 功能网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-primary);
}

.feature-item:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.feature-item .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-item .feature-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* ============ VIP升级页 ============ */
.vip-plans {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vip-plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.vip-plan-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.vip-plan-card.recommended {
    border-color: var(--accent-purple);
}

.vip-plan-card.recommended::after {
    content: '推荐';
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--gradient-purple);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 32px;
    transform: rotate(45deg);
}

.vip-plan-card .plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vip-plan-card .plan-name {
    font-size: 18px;
    font-weight: 700;
}

.vip-plan-card .plan-price {
    font-size: 24px;
    font-weight: 700;
}

.vip-plan-card .plan-price .period {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.vip-plan-card .plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vip-plan-card .plan-features li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-plan-card .plan-features li .check {
    color: var(--accent-green);
    font-size: 16px;
}

/* ============ 登录/注册页 ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.auth-form {
    width: 100%;
    max-width: 360px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

/* ============ 创作者中心 ============ */
.creator-dashboard {
    padding: 0 20px 100px;
}

.dashboard-header {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-title {
    font-size: 22px;
    font-weight: 700;
}

/* 收益概览卡片 */
.revenue-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.revenue-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.revenue-card .revenue-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.revenue-card .revenue-value {
    font-size: 20px;
    font-weight: 700;
}

.revenue-card .revenue-change {
    font-size: 12px;
    margin-top: 4px;
}

.revenue-card .revenue-change.up {
    color: var(--accent-green);
}

.revenue-card .revenue-change.down {
    color: var(--accent-red);
}

/* 图表容器 */
.chart-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.chart-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(180deg, rgba(59,130,246,0.1) 0%, transparent 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 6px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-blue);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: height 0.5s ease;
}

/* 列表 */
.list-section {
    margin-bottom: 24px;
}

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

.list-title {
    font-size: 16px;
    font-weight: 600;
}

.list-more {
    font-size: 13px;
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.list-item:hover {
    border-color: var(--accent-blue);
}

.list-item .item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.list-item .item-info {
    flex: 1;
    min-width: 0;
}

.list-item .item-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item .item-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.list-item .item-value {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

/* 提现 */
.withdraw-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    text-align: center;
}

.withdraw-balance {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.withdraw-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ Tab切换 ============ */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 20px;
}

.tab-item {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
}

.tab-item.active {
    background: var(--accent-blue);
    color: white;
}

/* ============ 弹窗/Modal ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-close {
    float: right;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ============ Toast提示 ============ */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    z-index: 300;
    opacity: 0;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: var(--accent-green);
}

.toast.error {
    border-color: var(--accent-red);
}

/* ============ 空状态 ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state .empty-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============ 加载动画 ============ */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ 响应式 ============ */
@media (min-width: 768px) {
    .page-container {
        max-width: 480px;
    }
    
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .revenue-overview {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 374px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ 动画 ============ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

.animate-fadeIn {
    animation: fadeIn 0.4s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

/* 页面底部间距（为底部导航留空） */
.page-content {
    padding-bottom: 80px;
}

/* ============ 宽屏创作者中心 ============ */
.creator-wide .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.creator-wide .sidebar-nav {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 16px 0;
}

.creator-wide .sidebar-nav .sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-size: 14px;
    text-align: left;
}

.creator-wide .sidebar-nav .sidebar-item:hover,
.creator-wide .sidebar-nav .sidebar-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
}

/* 创作者中心移动端导航 */
.creator-mobile-nav {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px 16px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
}

.creator-mobile-nav .mobile-nav-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.creator-mobile-nav .mobile-nav-item.active,
.creator-mobile-nav .mobile-nav-item:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

@media (max-width: 768px) {
    .creator-wide .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .creator-wide .sidebar-nav {
        display: none;
    }
    
    .creator-mobile-nav {
        display: flex;
    }
}

/* 智能体管理卡片 */
.agent-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.agent-card .agent-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.agent-card .agent-info {
    flex: 1;
    min-width: 0;
}

.agent-card .agent-name {
    font-size: 14px;
    font-weight: 600;
}

.agent-card .agent-stats {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.agent-card .agent-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.agent-card .agent-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* 开关 */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-switch.active {
    background: var(--accent-green);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}

.toggle-switch.active::after {
    left: 22px;
}

/* 订单列表 */
.order-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.order-item .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-item .order-id {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item .order-status {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.order-item .order-status.completed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.order-item .order-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
}

.order-item .order-product {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.order-item .order-time {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item .order-amount {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}
