        body {
            background: var(--st-bg-secondary);
            min-height: 100vh;
            padding-top: 64px;
        }

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

        .profile-header {
            background: white;
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 30px;
            align-items: flex-start;
            position: relative;
        }
        
        .profile-main-content {
            display: flex;
            gap: 30px;
            align-items: flex-start;
            flex: 1;
        }

        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 48px;
            flex-shrink: 0;
        }

        .profile-info {
            flex: 1;
        }

        .profile-name {
            font-size: 32px;
            font-weight: 700;
            color: #333;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .level-badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 15px;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #333;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
        }

        .profile-points {
            color: var(--st-primary-500);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 600;
        }

        .profile-points i {
            color: #ffd700;
        }

        .profile-email {
            color: #666;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .profile-bio {
            color: #999;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .profile-actions {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        /* 个人信息栏内的统计行 */
        .profile-stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }
        
        .profile-stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .profile-stat-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
        }
        
        .profile-stat-icon {
            font-size: 24px;
            color: var(--st-primary-500);
            margin-bottom: 8px;
        }
        
        .profile-stat-value {
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }
        
        .profile-stat-label {
            color: #999;
            font-size: 12px;
            text-align: center;
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            color: white;
        }

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

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

        .btn-secondary:hover {
            background: #e0e0e0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .stat-icon {
            font-size: 36px;
            color: var(--st-primary-500);
            margin-bottom: 15px;
        }

        .stat-value {
            font-size: 32px;
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
        }

        .stat-label {
            color: #999;
            font-size: 14px;
        }

        .content-section {
            background: white;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
        }

        .section-title {
            font-size: 24px;
            font-weight: 700;
            color: #333;
        }

        .stories-list {
            display: grid;
            gap: 20px;
        }

        .story-item {
            display: flex;
            gap: 20px;
            padding: 20px;
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .story-item:hover {
            border-color: var(--st-primary-500);
            transform: translateX(5px);
        }

        .story-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            flex-shrink: 0;
        }

        .story-details {
            flex: 1;
        }

        .story-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .story-meta {
            display: flex;
            gap: 20px;
            color: #999;
            font-size: 14px;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .empty-state i {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .empty-state p {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #999;
        }

        .loading i {
            font-size: 48px;
            animation: spin 1s linear infinite;
        }

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

        .request-item {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 20px;
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .request-item.pending {
            border-left: 4px solid #ffa726;
        }

        .request-item.approved {
            border-left: 4px solid #4caf50;
            background: #f1f8f4;
        }

        .request-item.rejected {
            border-left: 4px solid #f44336;
            background: #fff5f5;
        }

        .request-info {
            flex: 1;
        }

        .request-story {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .request-message {
            color: #666;
            font-size: 14px;
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .request-meta {
            display: flex;
            gap: 15px;
            color: #999;
            font-size: 13px;
        }

        .request-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .status-pending {
            background: #fff3e0;
            color: #ff9800;
        }

        .status-approved {
            background: #e8f5e9;
            color: #4caf50;
        }

        .status-rejected {
            background: #ffebee;
            color: #f44336;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .profile-header {
                flex-direction: column;
                text-align: center;
            }

            .profile-name {
                font-size: 24px;
            }

            .profile-actions {
                flex-direction: column;
                width: 100%;
            }

            .btn {
                width: 100%;
            }

            .story-item {
                flex-direction: column;
            }
        }

        /* 协作故事和追更故事的视觉区分 */
        .icon-collaborated {
            background: linear-gradient(135deg, var(--st-primary-500) 0%, var(--st-primary-700) 100%) !important;
        }

        .icon-followed {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
        }

        .story-badge {
            display: inline-block;
            padding: 3px 10px;
            font-size: 12px;
            border-radius: 12px;
            margin-left: 10px;
            font-weight: 600;
            vertical-align: middle;
        }

        .badge-collaborated {
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            color: white;
        }

        .badge-followed {
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
        }

        /* 通知徽章样式 */
        .notification-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff4444;
            color: white;
            border-radius: 10px;
            padding: 2px 6px;
            font-size: 11px;
            font-weight: bold;
            min-width: 18px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* 两栏布局 */
        .two-column-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .two-column-section .column-item {
            margin-bottom: 0;
        }

        /* 紧凑列表样式 */
        .compact-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .compact-list::-webkit-scrollbar {
            width: 6px;
        }

        .compact-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .compact-list::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }

        .compact-list::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

        /* 查看全部按钮 */
        .view-more-btn {
            background: transparent;
            border: 1px solid var(--st-primary-500);
            color: var(--st-primary-500);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-more-btn:hover {
            background: var(--st-primary-500);
            color: white;
        }

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

        /* 响应式布局 */
        @media (max-width: 768px) {
            .two-column-section {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .two-column-section .column-item {
                margin-bottom: 30px;
            }

            .compact-list {
                max-height: 300px;
            }
        }
        
        /* 弹窗动画 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 签到日历样式 */
        .checkin-stats {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .checkin-stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 14px;
        }

        .checkin-stat-item i {
            color: #ff9800;
        }

        .checkin-stat-item strong {
            color: var(--st-primary-500);
            font-size: 18px;
        }
        
        /* 紧凑版签到框（完整功能） */
        .compact-checkin-widget {
            width: 340px;
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }
        
        .compact-checkin-header {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #333;
        }
        
        .compact-checkin-header i {
            color: var(--st-primary-500);
        }
        
        .compact-checkin-header strong {
            color: var(--st-primary-500);
        }
        
        .compact-checkin-btn {
            width: 100%;
            padding: 10px;
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            border: none;
            color: white;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            margin-bottom: 10px;
        }
        
        .compact-checkin-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .compact-checkin-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        .compact-checkin-btn small {
            font-size: 11px;
            opacity: 0.9;
        }
        
        .compact-checkin-message {
            margin-bottom: 10px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            font-size: 12px;
            text-align: center;
            display: none;
        }
        
        .compact-checkin-message.show {
            display: block;
        }
        
        .compact-checkin-message.success {
            background: #e8f5e9;
            color: #4caf50;
        }
        
        .compact-checkin-message.error {
            background: #ffebee;
            color: #f44336;
        }
        
        .compact-checkin-message.info {
            background: #e3f2fd;
            color: #2196f3;
        }
        
        /* 紧凑版日历 */
        .compact-calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .compact-calendar-nav-btn {
            background: transparent;
            border: 1px solid var(--st-primary-500);
            color: var(--st-primary-500);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        
        .compact-calendar-nav-btn:hover {
            background: var(--st-primary-500);
            color: white;
        }
        
        .compact-calendar-month {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .compact-calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }
        
        .compact-calendar-day-header {
            text-align: center;
            padding: 6px 0;
            font-weight: 600;
            color: #999;
            font-size: 11px;
        }
        
        .compact-calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            background: #f8f9fa;
        }
        
        .compact-calendar-day.other-month {
            color: #ccc;
            background: transparent;
        }
        
        .compact-calendar-day.today {
            background: #e3f2fd;
            color: #2196f3;
            box-shadow: 0 0 0 2px #2196f3;
        }
        
        .compact-calendar-day.checked {
            background: linear-gradient(135deg, #4caf50, #66bb6a);
            color: white;
        }
        
        .compact-calendar-day.makeup {
            background: linear-gradient(135deg, #ff9800, #ffa726);
            color: white;
        }
        
        .compact-calendar-day.checked::after {
            content: '✓';
            position: absolute;
            bottom: 1px;
            right: 2px;
            font-size: 8px;
        }
        
        .compact-calendar-day.can-makeup {
            border: 2px dashed #ff9800;
            color: #ff9800;
            background: #fff3e0;
        }
        
        .compact-calendar-day.can-makeup:hover {
            background: #ff9800;
            color: white;
            transform: scale(1.1);
        }

        .checkin-container {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .checkin-action {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 15px;
        }

        .checkin-btn {
            padding: 15px 40px;
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
        }

        .checkin-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
        }

        .checkin-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            box-shadow: none;
        }

        .checkin-btn i {
            font-size: 24px;
        }

        .checkin-btn small {
            font-size: 12px;
            opacity: 0.9;
        }

        .checkin-message {
            flex: 1;
            padding: 15px;
            border-radius: 10px;
            font-size: 14px;
            display: none;
        }

        .checkin-message.success {
            display: block;
            background: #e8f5e9;
            color: #4caf50;
            border-left: 4px solid #4caf50;
        }

        .checkin-message.error {
            display: block;
            background: #ffebee;
            color: #f44336;
            border-left: 4px solid #f44336;
        }

        .checkin-message.info {
            display: block;
            background: #e3f2fd;
            color: #2196f3;
            border-left: 4px solid #2196f3;
        }

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

        .calendar-nav-btn {
            background: transparent;
            border: 2px solid var(--st-primary-500);
            color: var(--st-primary-500);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .calendar-month {
            font-size: 20px;
            font-weight: 700;
            color: #333;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .calendar-day-header {
            text-align: center;
            padding: 10px;
            font-weight: 600;
            color: #999;
            font-size: 14px;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .calendar-day.other-month {
            color: #ccc;
        }

        .calendar-day.today {
            background: #e3f2fd;
            color: #2196f3;
            box-shadow: 0 0 0 2px #2196f3;
        }

        .calendar-day.checked {
            background: linear-gradient(135deg, #4caf50, #66bb6a);
            color: white;
        }

        .calendar-day.makeup {
            background: linear-gradient(135deg, #ff9800, #ffa726);
            color: white;
        }

        .calendar-day.checked::after {
            content: '✓';
            position: absolute;
            bottom: 2px;
            right: 2px;
            font-size: 10px;
        }

        .calendar-day.can-makeup {
            border: 2px dashed #ff9800;
            color: #ff9800;
        }

        .calendar-day.can-makeup:hover {
            background: #fff3e0;
        }

        .checkin-summary {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 15px;
        }

        .summary-item {
            text-align: center;
        }

        .summary-value {
            font-size: 32px;
            font-weight: 700;
            color: var(--st-primary-500);
            margin-bottom: 5px;
        }

        .summary-label {
            color: #999;
            font-size: 14px;
        }

        /* AI 使用统计样式 */
        .ai-usage-container {
            padding: 20px;
        }

        .ai-usage-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .ai-usage-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            border: 2px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .ai-usage-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
            border-color: var(--st-primary-500);
        }

        .ai-usage-card.continuation {
            background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
            border-color: #2196f3;
        }

        .ai-usage-card.polish {
            background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
            border-color: #9c27b0;
        }

        .ai-usage-card.illustration {
            background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
            border-color: #ff9800;
        }

        .ai-usage-card.points {
            background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
            border-color: #4caf50;
        }

        .ai-usage-icon {
            font-size: 36px;
            margin-bottom: 15px;
        }

        .ai-usage-value {
            font-size: 32px;
            font-weight: 700;
            color: #333;
            margin-bottom: 8px;
        }

        .ai-usage-label {
            color: #999;
            font-size: 14px;
            font-weight: 600;
        }

        .ai-usage-detail {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e0e0e0;
            font-size: 13px;
            color: #666;
        }

        .ai-usage-history {
            margin-top: 20px;
        }

        .ai-usage-history h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ai-history-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .ai-history-item {
            display: flex;
            align-items: flex-start;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
        }

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

        .ai-history-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--st-primary-500), var(--st-primary-700));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .ai-history-details {
            flex: 1;
        }

        .ai-history-title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }

        .ai-history-meta {
            display: flex;
            gap: 15px;
            font-size: 12px;
            color: #999;
        }

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

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }

        .empty-state i {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.3;
        }

        @media (max-width: 768px) {
            .checkin-stats {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .checkin-action {
                flex-direction: column;
            }

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

            .calendar-day {
                font-size: 12px;
            }

            .ai-usage-summary {
                grid-template-columns: 1fr;
            }
        }
