/* 视频页面左右布局 */
.video-page-container {
    display: flex;
    gap: 24px;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.video-create-left {
    flex: 1 1 50%;
    max-width: 50%;
    overflow-y: auto;
    padding-right: 12px;
    min-width: 0;
}

.video-create-left::-webkit-scrollbar {
    width: 6px;
}

.video-create-left::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.video-create-left::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.video-create-left::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.video-list-right {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 0;
}

.video-list-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
}

.video-list-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.video-list-header .action-btn-small {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
}

.video-list-header .action-btn-small:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-list-header .action-btn-small svg {
    width: 16px;
    height: 16px;
}

.video-list-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.video-list-scroll::-webkit-scrollbar {
    width: 8px;
}

.video-list-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.video-list-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.video-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.video-list-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.video-create-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.prompt-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
}

.prompt-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(93, 51, 254, 0.1);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.char-count {
    color: #6b7280;
    font-size: 13px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn-small {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 6px;
    background-color: #f3f4f6;
    color: #6b7280;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn-small:hover {
    background-color: #e5e7eb;
    color: #374151;
}

.mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.mode-option {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.mode-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(93, 51, 254, 0.05);
}

.mode-option.active {
    border-color: var(--primary-color);
    background: var(--main-gradient-active);
}

.mode-option-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.mode-option-desc {
    font-size: 12px;
    color: #6b7280;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(93, 51, 254, 0.02);
}

.upload-area.has-image {
    padding: 0;
    border: none;
    background: transparent;
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #9ca3af;
}

.upload-text {
    color: #6b7280;
    font-size: 14px;
}

.preview-image-wrapper {
    position: relative;
    display: inline-block;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.remove-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-image-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.duration-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.duration-options-stacked .option-item {
    min-height: 96px;
}

.ratio-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ratio-options-compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.option-item {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.option-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(93, 51, 254, 0.05);
}

.option-item.active {
    border-color: var(--primary-color);
    background: var(--main-gradient);
    color: white;
}

.duration-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.duration-option-top {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.duration-option-bottom {
    font-size: 13px;
    color: #6b7280;
}

.duration-option-power {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.option-item.active .duration-option-top,
.option-item.active .duration-option-bottom,
.option-item.active .duration-option-power {
    color: #fff;
}

.ratio-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.ratio-preview {
    border: 2px solid currentColor;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.ratio-vertical {
    width: 38px;
    height: 68px;
}

.ratio-horizontal {
    width: 68px;
    height: 38px;
}

.ratio-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.ratio-name {
    font-size: 13px;
    color: #6b7280;
}

.ratio-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.option-item.active .ratio-name,
.option-item.active .ratio-value {
    color: #fff;
}

.create-button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    background: var(--main-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(93, 51, 254, 0.3);
}

.create-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(93, 51, 254, 0.4);
}

.create-button:active {
    transform: translateY(0);
}

.create-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.video-list {
    display: grid;
    gap: 20px;
}

/* 视频卡片样式 */
.video-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.card-row {
    margin-bottom: 20px;
}

.card-row:last-child {
    margin-bottom: 0;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-center-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-center-start {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flex-center-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.task-id {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.status-tag.status-creating {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.status-tag.status-success {
    background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
}

/* =========================
   推广中心（团队）页面样式
   ========================= */
.team-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.team-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.team-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.team-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.team-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.team-sidebar-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-sidebar-balance {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color, #5d33fe);
    background: #f5f3ff;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.team-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-invite-card {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-invite-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-invite-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(93, 51, 254, 0.12);
    color: var(--primary-color, #5d33fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.team-invite-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.team-invite-subtitle {
    font-size: 13px;
    color: #6b7280;
}

.team-invite-desc {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.8;
}

.team-invite-link {
    display: flex;
    gap: 12px;
}

.team-invite-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
}

.team-invite-input:focus {
    outline: none;
    border-color: var(--primary-color, #5d33fe);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(93, 51, 254, 0.1);
}

.team-invite-copy-btn {
    border: none;
    border-radius: 12px;
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    color: #fff;
    font-weight: 600;
    padding: 0 18px;
    font-size: 13px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-invite-copy-btn:hover {
    box-shadow: 0 10px 20px rgba(93, 51, 254, 0.25);
    transform: translateY(-1px);
}

.team-summary-card {
    width: 100%;
    border-radius: 16px;
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    padding: 28px 32px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(93, 51, 254, 0.2);
}

.team-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.team-summary-item {
    text-align: center;
}

.team-summary-value {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-summary-label {
    font-size: 14px;
    opacity: 0.9;
}

.team-reward-tip {
    padding: 18px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(93, 51, 254, 0.1);
    color: #4b5563;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.team-tab-panel {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.team-reward-btn {
    color: var(--primary-color, #5d33fe);
    text-decoration: underline;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.team-tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.team-tab-btn {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d9dbe9;
    background: #fff;
    padding: 10px 18px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-tab-btn.active {
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(93, 51, 254, 0.2);
}

.team-panel {
    display: none;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f3f4f6;
    margin-bottom: 20px;
}

.team-panel.active {
    display: block;
}

.team-user-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #f1f2f6;
}

.team-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f7f7fb;
}

.team-user-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-user-name {
    font-weight: 600;
    color: #111827;
    max-width: 240px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.team-user-meta .team-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.team-tag.vip {
    background: linear-gradient(90deg, #f7b500, #ffdd80);
    color: #5a3e00;
}

.team-tag.default {
    background: #f3f4f6;
    color: #4b5563;
}

.team-user-rebate {
    text-align: right;
}

.team-user-rebate .amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color, #5d33fe);
}

.team-user-rebate .label {
    font-size: 12px;
    color: #9ca3af;
}

.team-empty {
    text-align: center;
    padding: 40px 0;
    color: #94a3b8;
    font-size: 14px;
}

.team-empty img {
    width: 140px;
    margin-bottom: 12px;
}

.team-loadmore {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f2f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-loadmore-btn {
    padding: 10px 32px;
    border-radius: 999px;
    border: 1px solid var(--primary-color, #5d33fe);
    background: #fff;
    color: var(--primary-color, #5d33fe);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-loadmore-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.team-loadmore-btn:hover:not(:disabled) {
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    color: #fff;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.25);
}

.team-loadmore-status {
    font-size: 13px;
    color: #6b7280;
}

.team-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f2f6;
}

.team-page-info {
    color: #6b7280;
    font-size: 13px;
}

.team-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color, #5d33fe);
    color: var(--primary-color, #5d33fe);
}

.team-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.team-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.team-page-number:hover {
    color: var(--primary-color, #5d33fe);
}

.team-page-number.active {
    background: var(--primary-color, #5d33fe);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.team-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

.team-withdraw-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-withdraw-card {
    border: 1px solid #f1f2f6;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-withdraw-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.team-withdraw-info {
    display: flex;
    gap: 12px;
}

.team-withdraw-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.team-withdraw-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-withdraw-no {
    font-size: 13px;
    color: #6b7280;
}

.team-withdraw-money {
    text-align: right;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color, #5d33fe);
}

.team-withdraw-time {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.team-withdraw-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.team-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.team-tag.info { background: #3b82f6; }
.team-tag.success { background: #22c55e; }
.team-tag.warning { background: #f59e0b; }
.team-tag.danger { background: #ef4444; }
.team-tag.gray { background: #94a3b8; }

.team-withdraw-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
}

.team-accept-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #52c41a 0%, #237804 100%);
    color: #fff;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.team-action-btn {
    width: 100%;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.team-action-btn.outline {
    border-color: #e5e7eb;
    background: #fff;
}

.team-action-btn.gradient {
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    color: #fff;
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.35);
}

.team-action-btn:hover {
    transform: translateY(-2px);
}

.team-action-title {
    font-size: 16px;
    font-weight: 700;
}

.team-action-subtitle {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
}

.team-modal,
.team-invite-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.team-modal.show,
.team-invite-modal.show {
    display: flex;
}

.team-modal-dialog {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.team-modal-dialog.small {
    max-width: 360px;
}

.team-modal-header {
    padding: 20px 24px;
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-modal-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
}

.team-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #374151;
}

.team-modal-footer {
    padding: 0 24px 24px;
}

.team-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-field label {
    font-size: 14px;
    color: #6b7280;
}

.team-input {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

.team-tip-row {
    font-size: 12px;
    color: #9ca3af;
}

.team-balance-info {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-mini-btn {
    border: none;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.team-submit-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 12px;
    background: var(--main-gradient, linear-gradient(135deg, #5d33fe 0%, #8c54ff 100%));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.team-upload-box {
    position: relative;
    border: 1px dashed #cbd5f5;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.team-upload-placeholder {
    cursor: pointer;
    color: #9ca3af;
}

.team-upload-box img {
    display: none;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto;
}

.team-upload-box.has-image img {
    display: block;
}

.team-upload-box.has-image .team-upload-placeholder {
    display: none;
}

.team-upload-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    display: none;
    cursor: pointer;
}

.team-upload-box.has-image .team-upload-remove {
    display: block;
}

.team-invite-modal {
    align-items: flex-end;
}

.team-invite-panel {
    width: 100%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.2);
}

.team-invite-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-invite-title {
    font-size: 20px;
    font-weight: 700;
}

.team-invite-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.team-invite-options {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.team-invite-option {
    flex: 1;
    border: none;
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.team-invite-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.team-invite-icon.gradient-green {
    background: linear-gradient(135deg, #5ad025, #07c160);
}

.team-invite-icon.gradient-blue {
    background: linear-gradient(135deg, #3bb9e9, #2c65f7);
}

.team-invite-cancel {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 16px;
    background: #f1f5f9;
    cursor: pointer;
    font-weight: 600;
}

.status-tag.status-failed {
    background: linear-gradient(90deg, #ff4d4f 0%, #ff7875 100%);
}

.view-reason-btn {
    background: linear-gradient(90deg, #faad14 0%, #ffc53d 100%);
    cursor: pointer;
    user-select: none;
}

.view-reason-btn:hover {
    opacity: 0.9;
}

/* 提示词行 */
.prompt-row {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.prompt-cover {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: #e5e7eb;
    flex-shrink: 0;
    object-fit: cover;
    cursor: pointer;
}

.prompt-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prompt-content {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    cursor: pointer;
}

.prompt-content.prompt-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.toggle-btn {
    font-size: 13px;
    color: #5D33FE;
    text-align: right;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}

.toggle-btn:hover {
    opacity: 0.8;
}

/* 信息行 */
.info-row {
    padding: 16px;
    background: linear-gradient(135deg, rgba(93, 51, 254, 0.05) 0%, rgba(15, 221, 246, 0.05) 100%);
    border-radius: 12px;
}

.info-left {
    display: flex;
    gap: 24px;
}

.info-item {
    font-size: 13px;
    color: #6b7280;
}

.info-right {
    display: flex;
    align-items: center;
}

.score-text {
    font-size: 13px;
    font-weight: 600;
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 时间行 */
.time-row {
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
}

.time-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.time-label {
    font-size: 12px;
    color: #9ca3af;
}

.time-value {
    font-size: 13px;
    color: #6b7280;
}

/* 操作按钮行 */
.action-row {
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-weight: 500;
}

.action-btn:hover {
    transform: scale(0.95);
}

.action-btn .btn-icon {
    font-size: 14px;
    font-weight: bold;
}

.play-btn {
    background: var(--main-gradient);
    color: #fff;
}

.download-btn {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--main-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: transparent;
    -webkit-background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
}

.download-btn span {
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sequel-btn {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #ff6b6b 0%, #ffa500 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.sequel-btn span {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vip-card {
    background: transparent;
    border-radius: 16px;
    padding: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: none;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.vip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.vip-card.selected {
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--main-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 8px 30px rgba(93, 51, 254, 0.25);
    transform: scale(1.05);
}

.vip-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.vip-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-price-unit {
    font-size: 16px;
    margin-right: 4px;
}

.vip-features {
    list-style: none;
}

.vip-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.vip-features li {
    color: #666;
}

.vip-features li::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
    color: #5D33FE;
}

.score-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.score-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(93, 51, 254, 0.1);
}

.score-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(93, 51, 254, 0.12) 0%, transparent 70%);
    transform: rotate(45deg);
}

.score-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.score-card.selected {
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--main-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 8px 30px rgba(93, 51, 254, 0.25);
    transform: scale(1.05);
}

.score-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.score-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--main-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-price-unit {
    font-size: 16px;
    margin-right: 4px;
}

.score-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.score-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #666;
}

.score-features li::before {
    content: '⚡';
    margin-right: 8px;
    font-weight: bold;
    color: #5D33FE;
}

.vip-action-btn {
    width: 140px !important;
    height: 60px !important;
    flex: none !important;
}

@media (max-width: 768px) {
    .video-create-container {
        padding: 16px;
    }

    .section-card {
        padding: 16px;
    }

    .mode-options {
        grid-template-columns: 1fr;
    }

    .duration-options,
    .ratio-options {
        flex-direction: column;
    }

    .option-item {
        min-width: auto;
    }
}

.prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-modal.hidden {
    display: none;
}

.prompt-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.prompt-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.prompt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.prompt-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.prompt-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.prompt-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.prompt-cat-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.prompt-cat-tab {
    padding: 8px 16px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.prompt-cat-tab:hover {
    background: #e5e7eb;
}

.prompt-cat-tab.active {
    background: var(--main-gradient);
    color: white;
}

.prompt-list {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    align-content: start;
}

.prompt-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-card:hover {
    border-color: var(--primary-color);
    background: rgba(93, 51, 254, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 51, 254, 0.15);
}

.prompt-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.prompt-card-content {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.7);
    z-index: 1100;
    backdrop-filter: blur(2px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 420px;
    max-width: calc(100% - 32px);
    padding: 32px 32px 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
    animation: modal-pop 0.25s ease-out;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(93, 51, 254, 0.12);
    color: #5D33FE;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.modal-message {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.modal-button {
    min-width: 140px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #5D33FE, #8B5CF6);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(93, 51, 254, 0.35);
}

.modal-button:active {
    transform: translateY(0);
    box-shadow: none;
}

@keyframes modal-pop {
    from {
        transform: translateY(8px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.create-character-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 4px 24px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #5D33FE;
    box-shadow: 0 0 0 2px rgba(93, 51, 254, 0.15);
    background: white;
}

.rechoose-btn {
    border: none;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.video-upload-box {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    min-height: 220px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.video-upload-box:hover {
    border-color: #5D33FE;
    background: rgba(93, 51, 254, 0.04);
}

.video-upload-placeholder {
    text-align: center;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon-large {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(93, 51, 254, 0.1);
    color: #5D33FE;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-text {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
}

.upload-tips {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #9ca3af;
}

.tip-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tip-text::before {
    content: '•';
    color: #d1d5db;
}

.video-preview {
    width: 100%;
    border-radius: 12px;
    background: black;
    max-height: 320px;
}

.form-tip {
    font-size: 13px;
    color: #9ca3af;
}

.range-value-text {
    font-size: 13px;
    color: #6b7280;
}

.range-inputs-container {
    display: flex;
    gap: 16px;
}

.range-input-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.range-input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.range-input:focus {
    outline: none;
    border-color: #5D33FE;
    box-shadow: 0 0 0 2px rgba(93, 51, 254, 0.1);
    background: white;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.primary-btn {
    min-width: 140px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #5D33FE, #8B5CF6);
    box-shadow: 0 12px 20px -10px rgba(93, 51, 254, 0.6);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 25px -12px rgba(93, 51, 254, 0.65);
}

.primary-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 8px 15px -8px rgba(93, 51, 254, 0.6);
}

.primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.prompt-empty {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
    font-size: 14px;
}

.video-type-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.video-type-tab {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-type-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.video-type-tab.active {
    border-color: var(--primary-color);
    background: var(--main-gradient);
    color: white;
}

.video-type-desc {
    margin-top: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.resolution-tip {
    margin-top: 12px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* 角色选择弹窗样式 */
.character-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 16px 16px 0 0;
}

.character-tab {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: #f3f4f6;
    color: #666;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.character-tab:hover {
    background: #e5e7eb;
}

.character-tab.active {
    background: var(--main-gradient);
    color: #fff;
    font-weight: 600;
}

.character-list-container {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 24px;
    align-content: start;
}

.character-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.character-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.15);
}

.character-headimg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
}

.character-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.character-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.character-username {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.character-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 12px;
    color: #9ca3af;
    font-size: 14px;
}

.character-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.character-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.character-empty-text {
    font-size: 14px;
    color: #9ca3af;
}

.character-status {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #9ca3af;
}

.mode-radio-options {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.radio-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f8;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.radio-item:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.radio-item.active {
    background: transparent;
    border-color: var(--primary-color);
}

.radio-item-full {
    width: 100%;
}

.radio-item-half {
    flex: 1;
    width: calc(50% - 6px);
}

.radio-item-third {
    flex: 1;
}

.radio-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d0d0d8;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.radio-item.active .radio-icon {
    border-color: var(--primary-color);
}

.radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--main-gradient);
}

.radio-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.radio-item.active .radio-label {
    color: var(--primary-color);
}

.mode-desc-text {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(93, 51, 254, 0.05);
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 续集弹窗样式 */
.sequel-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sequel-modal-content {
    width: 90%;
    max-width: 700px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sequel-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: var(--main-gradient);
    color: white;
}

.sequel-modal-title {
    font-size: 20px;
    font-weight: bold;
}

.sequel-close-btn {
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s;
    border-radius: 50%;
}

.sequel-close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.sequel-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.sequel-section {
    margin-bottom: 24px;
}

.sequel-section:last-child {
    margin-bottom: 0;
}

.sequel-label {
    font-size: 14px;
    font-weight: bold;
    color: #374151;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid;
    border-image: var(--main-gradient) 1;
}

.sequel-prompt-box {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    word-break: break-all;
    white-space: pre-wrap;
    border: 1px solid #e5e7eb;
    max-height: 150px;
    overflow-y: auto;
}

.write-prompt-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    background: white;
    border: 2px solid;
    border-image: var(--main-gradient) 1;
    cursor: pointer;
    transition: all 0.3s;
    color: #5D33FE;
    font-weight: 500;
    white-space: nowrap;
}

.write-prompt-btn:hover {
    transform: scale(0.95);
}

.sequel-textarea {
    width: 100%;
    min-height: 120px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    box-sizing: border-box;
    transition: all 0.3s;
    resize: vertical;
    font-family: inherit;
}

.sequel-textarea:focus {
    outline: none;
    border-color: #5D33FE;
    background: #fff;
}

.sequel-count {
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.sequel-upload-box {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    height: 200px;
    overflow: hidden;
    margin-top: 12px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.sequel-upload-box:hover {
    border-color: #5D33FE;
    background: rgba(93, 51, 254, 0.02);
}

.sequel-upload-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sequel-upload-icon {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 300;
}

.sequel-upload-text {
    font-size: 14px;
    color: #9ca3af;
}

.sequel-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sequel-upload-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #6366f1;
    text-align: left;
}

.sequel-upload-footer {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sequel-upload-tip {
    flex: 1;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.5;
}

.sequel-history-btn {
    border: none;
    outline: none;
    background: var(--main-gradient);
    color: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.sequel-history-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
}

.sequel-history-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10002;
}

.sequel-history-content {
    background: #fff;
    width: min(720px, 90vw);
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
}

.sequel-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.sequel-history-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.sequel-history-close {
    border: none;
    background: transparent;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sequel-history-close:hover {
    color: #475569;
}

.sequel-history-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
}

.sequel-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}

.sequel-history-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    background: #f9fafb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sequel-history-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.18);
}

.sequel-history-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sequel-history-empty,
.sequel-history-status {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin-top: 16px;
}

.sequel-history-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.history-loadmore-btn {
    border: none;
    outline: none;
    padding: 8px 20px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.history-loadmore-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.history-loadmore-btn:not(:disabled):hover {
    background: #e0e7ff;
}
.sequel-duration-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sequel-duration-item {
    flex: 1;
    min-width: 100px;
    padding: 14px 24px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 14px;
    color: #374151;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.sequel-duration-item:hover {
    transform: scale(0.95);
}

.sequel-duration-item.active {
    background: var(--main-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(93, 51, 254, 0.3);
    font-weight: bold;
}

.sequel-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.sequel-cancel-btn,
.sequel-submit-btn {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.sequel-cancel-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.sequel-cancel-btn:hover {
    background: #f9fafb;
    transform: scale(0.97);
}

.sequel-submit-btn {
    background: var(--main-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.3);
}

.sequel-submit-btn:hover {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(93, 51, 254, 0.2);
}

/* 视频播放弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-container video {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    display: block;
    background: #000;
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.image-preview-modal {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.image-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: min(1200px, 90vw);
    max-height: min(850px, 90vh);
    background: rgba(15, 23, 42, 0.92);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
}

.image-preview-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.my-images-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.my-images-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
}

.my-images-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.my-images-title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.my-images-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.my-images-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.my-images-btn.primary {
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(93, 51, 254, 0.25);
}

.my-images-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(93, 51, 254, 0.35);
}

.my-images-btn.ghost {
    background: transparent;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: #374151;
}

.my-images-btn.ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-images-panel {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 221, 246, 0.06);
    position: relative;
    min-height: 320px;
}

.my-images-loading {
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
    z-index: 2;
}

.my-images-loading .loading-spinner-small {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.my-images-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
    transition: opacity 0.2s ease;
}

.my-images-grid.loading {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 1600px) {
    .my-images-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    .my-images-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .my-images-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .my-images-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.my-image-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(15, 221, 246, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(17, 24, 39, 0.08);
}

.my-image-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: 3 / 4;
}

.my-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.my-image-card:hover .my-image-thumb img {
    transform: scale(1.05);
}

.my-image-quick-actions {
    position: absolute;
    inset: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.my-image-card:hover .my-image-quick-actions {
    opacity: 1;
    pointer-events: auto;
}

.my-image-action-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.my-image-action-btn:hover {
    background: white;
    color: var(--primary-color);
}

.my-image-action-btn.ghost {
    background: rgba(17, 24, 39, 0.75);
    color: white;
}

.my-image-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.my-image-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
}

.my-image-id {
    font-weight: 600;
    color: #111827;
}

.my-image-delete-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.my-image-delete-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    transform: translateY(-1px);
}

.my-image-delete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.my-image-delete-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.my-images-empty {
    text-align: center;
    color: #6b7280;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.my-images-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(93, 51, 254, 0.08);
    color: #5D33FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.my-images-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.my-images-empty-desc {
    margin: 0;
}

.my-images-footer {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-images-total {
    font-weight: 600;
    color: #111827;
}

.my-images-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-images-page-info {
    color: #6b7280;
    font-size: 13px;
}

.my-images-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-images-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-images-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.my-images-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-images-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.my-images-page-number:hover {
    color: var(--primary-color);
}

.my-images-page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.my-images-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* ==================== 角色列表页面样式 ==================== */
.my-characters-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.my-characters-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
}

.my-characters-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.my-characters-title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.my-characters-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.my-characters-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.my-characters-btn.primary {
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(93, 51, 254, 0.25);
}

.my-characters-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(93, 51, 254, 0.35);
}

.my-characters-btn.ghost {
    background: transparent;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: #374151;
}

.my-characters-btn.ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-characters-panel {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 221, 246, 0.06);
    position: relative;
    min-height: 320px;
}

.my-characters-loading {
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
    z-index: 2;
}

.my-characters-loading .loading-spinner-small {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.my-characters-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
    transition: opacity 0.2s ease;
}

.my-characters-grid.loading {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 1600px) {
    .my-characters-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1280px) {
    .my-characters-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .my-characters-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .my-characters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.my-character-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(15, 221, 246, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-character-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(17, 24, 39, 0.08);
}

.my-character-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: 1;
}

.my-character-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.my-character-card:hover .my-character-thumb img {
    transform: scale(1.05);
}

.my-character-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.my-character-name-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.my-character-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.my-character-username {
    font-size: 13px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-character-delete-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.my-character-delete-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    transform: translateY(-1px);
}

.my-character-delete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.my-character-delete-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.my-characters-empty {
    text-align: center;
    color: #6b7280;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.my-characters-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(93, 51, 254, 0.08);
    color: #5D33FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.my-characters-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.my-characters-empty-desc {
    margin: 0;
}

.my-characters-footer {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-characters-total {
    font-weight: 600;
    color: #111827;
}

.my-characters-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-characters-page-info {
    color: #6b7280;
    font-size: 13px;
}

.my-characters-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-characters-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-characters-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.my-characters-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-characters-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.my-characters-page-number:hover {
    color: var(--primary-color);
}

.my-characters-page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.my-characters-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* ==================== 订单列表页面样式 ==================== */
.my-orders-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.my-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-orders-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.my-orders-title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.my-orders-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.my-orders-tab-container {
    background: transparent;
    border-radius: 12px;
    padding: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
}

.my-orders-tab-list {
    display: flex;
    position: relative;
}

.my-orders-tab-btn {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.my-orders-tab-btn.active {
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    box-shadow: 0 4px 12px rgba(93, 51, 254, 0.3);
}

.my-orders-tab-btn.active .my-orders-tab-text {
    color: white;
    font-weight: 600;
}

.my-orders-tab-text {
    font-size: 14px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.my-orders-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    border-radius: 8px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.my-orders-panel {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 221, 246, 0.06);
    position: relative;
    min-height: 320px;
}

.my-orders-panel.active {
    display: block;
}

.my-orders-loading {
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
    z-index: 2;
}

.my-orders-loading .loading-spinner-small {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.my-orders-empty {
    text-align: center;
    color: #6b7280;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.my-orders-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(93, 51, 254, 0.08);
    color: #5D33FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.my-orders-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.my-orders-empty-desc {
    margin: 0;
}

.my-orders-list {
    display: grid;
    gap: 16px;
}

.my-orders-list.hidden {
    display: none;
}

.order-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 221, 246, 0.12);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.order-no {
    display: flex;
    align-items: center;
    flex: 1;
}

.order-no-label {
    font-size: 14px;
    color: #6b7280;
    margin-right: 8px;
}

.order-no-value {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

.order-status {
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.order-status.paid {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #10b981;
}

.order-status.unpaid {
    background: linear-gradient(135deg, #fed7c3 0%, #fbb6ce 100%);
    color: #f59e0b;
}

.order-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-name {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    margin-right: 16px;
}

.order-price {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    white-space: nowrap;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.order-type {
    display: flex;
    align-items: center;
}

.type-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.type-tag.payment {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #5D33FE;
}

.type-tag.cardkey {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #f59e0b;
}

.order-time {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.my-orders-footer {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-orders-total {
    font-weight: 600;
    color: #111827;
}

.my-orders-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-orders-page-info {
    color: #6b7280;
    font-size: 13px;
}

.my-orders-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-orders-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-orders-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.my-orders-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-orders-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.my-orders-page-number:hover {
    color: var(--primary-color);
}

.my-orders-page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.my-orders-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* ==================== 视频列表页面样式 ==================== */
.my-videos-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.my-videos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-videos-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.my-videos-title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.my-videos-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.my-videos-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.my-videos-btn.primary {
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(93, 51, 254, 0.25);
}

.my-videos-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(93, 51, 254, 0.35);
}

.my-videos-btn.ghost {
    background: transparent;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: #374151;
}

.my-videos-btn.ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-videos-panel {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 221, 246, 0.06);
    position: relative;
    min-height: 320px;
}

.my-videos-loading {
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
    z-index: 2;
}

.my-videos-loading .loading-spinner-small {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.my-videos-empty {
    text-align: center;
    color: #6b7280;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.my-videos-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(93, 51, 254, 0.08);
    color: #5D33FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.my-videos-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.my-videos-empty-desc {
    margin: 0;
}

.my-videos-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-videos-list.loading {
    opacity: 0.4;
    pointer-events: none;
}

.my-videos-footer {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-videos-total {
    font-weight: 600;
    color: #111827;
}

.my-videos-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-videos-page-info {
    color: #6b7280;
    font-size: 13px;
}

.my-videos-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-videos-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-videos-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.my-videos-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-videos-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.my-videos-page-number:hover {
    color: var(--primary-color);
}

.my-videos-page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.my-videos-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* ==================== 推广中心页面样式 ==================== */
.my-team-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-right: calc((100vw - 256px - 48px) / 3 + 24px);
}

@media (max-width: 1400px) {
    .my-team-page {
        padding-right: 0;
    }
}

.my-team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-team-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.my-team-title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.my-team-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.my-team-tab-container {
    background: transparent;
    border-radius: 12px;
    padding: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
}

.my-team-tab-list {
    display: flex;
    position: relative;
}

.my-team-tab-btn {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 120px;
}

.my-team-tab-btn.active {
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    box-shadow: 0 4px 12px rgba(93, 51, 254, 0.3);
}

.my-team-tab-btn.active .my-team-tab-text {
    color: white;
    font-weight: 600;
}

.my-team-tab-text {
    font-size: 14px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.my-team-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(33.333% - 2.67px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    border-radius: 8px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.my-team-summary {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
}

.my-team-summary-card {
    background: linear-gradient(135deg, rgba(93, 51, 254, 0.05) 0%, rgba(15, 221, 246, 0.05) 100%);
    border-radius: 12px;
    padding: 24px;
}

.my-team-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.my-team-summary-item {
    text-align: center;
}

.my-team-summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #5D33FE;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.my-team-summary-label {
    font-size: 14px;
    color: #6b7280;
}

.my-team-panel {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 221, 246, 0.06);
    position: relative;
    min-height: 320px;
}

.my-team-panel.active {
    display: block;
}

.my-team-loading {
    position: absolute;
    inset: 24px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 500;
    z-index: 2;
}

.my-team-loading .loading-spinner-small {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.my-team-empty {
    text-align: center;
    color: #6b7280;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.my-team-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(93, 51, 254, 0.08);
    color: #5D33FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 12px;
}

.my-team-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.my-team-empty-desc {
    margin: 0;
}

.my-team-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-team-list.hidden {
    display: none;
}

.my-team-footer {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(15, 221, 246, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.my-team-total {
    font-weight: 600;
    color: #111827;
}

.my-team-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.my-team-page-info {
    color: #6b7280;
    font-size: 13px;
}

.my-team-page-btn {
    border: 1px solid rgba(17, 24, 39, 0.15);
    background: transparent;
    color: #111827;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-team-page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.my-team-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.my-team-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-team-page-number {
    min-width: 36px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.my-team-page-number:hover {
    color: var(--primary-color);
}

.my-team-page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(93, 51, 254, 0.2);
}

.my-team-page-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* 侧边栏样式 */
.my-team-sidebar {
    position: fixed;
    top: 88px;
    right: 24px;
    width: calc((100vw - 256px - 48px) / 3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    z-index: 10;
}

.my-team-sidebar::-webkit-scrollbar {
    width: 6px;
}

.my-team-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.my-team-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.my-team-sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 1400px) {
    .my-team-sidebar {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-height: none;
    }
    
    .my-team-page {
        padding-right: 0;
    }
}

.my-team-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 221, 246, 0.08);
}

.my-team-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.my-team-sidebar-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.my-team-sidebar-balance {
    font-size: 14px;
    color: #111827;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(93, 51, 254, 0.05);
    border-radius: 8px;
}

.my-team-sidebar-balance span {
    font-weight: 700;
    color: #5D33FE;
    font-size: 18px;
}

.my-team-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-team-action-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.my-team-action-btn:hover {
    border-color: var(--primary-color);
    background: rgba(93, 51, 254, 0.05);
}

.my-team-action-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.my-team-action-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.my-team-invite-card {
    background: linear-gradient(135deg, rgba(93, 51, 254, 0.05) 0%, rgba(15, 221, 246, 0.05) 100%);
}

.my-team-invite-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.my-team-invite-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.my-team-invite-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.my-team-invite-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.my-team-invite-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.my-team-invite-link {
    display: flex;
    gap: 8px;
}

.my-team-invite-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
    font-size: 13px;
    background: white;
}

.my-team-invite-copy-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #5D33FE 0%, #0FDDF6 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-team-invite-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(93, 51, 254, 0.3);
}

/* 顶部 LOGO */
.app-logo-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 保留原有的team卡片样式 */
.team-user-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(15, 221, 246, 0.12);
    transition: all 0.3s ease;
}

.team-user-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.team-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.team-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.team-user-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.team-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.team-tag.vip {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #5D33FE;
}

.team-tag.default {
    background: #f3f4f6;
    color: #6b7280;
}

.team-user-rebate {
    text-align: right;
}

.team-user-rebate .amount {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 4px;
}

.team-user-rebate .label {
    font-size: 12px;
    color: #6b7280;
}

/* 提现记录卡片样式 */
.team-withdraw-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(15, 221, 246, 0.12);
    transition: all 0.3s ease;
}

.team-withdraw-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}