.script-evaluation-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

/* 指标区域，两列栅格布局，保证有呼吸感 */
.script-eval-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

@media (max-width: 900px) {
    .script-eval-grid {
        grid-template-columns: 1fr;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 18px;
    background-color: #f5f5f5;
    color: #333;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* 左侧菜单栏 */
.sidebar {
    width: 240px;
    background-color: #F2F4F8;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

/* Logo 区域 */
.logo-container {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-width: 120px;
    height: auto;
    display: block;
}

/* 菜单区域 */
.menu {
    flex: 1;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #606266;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 12px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: rgba(71, 119, 255, 0.1);
    color: #4777FF;
}

.menu-item.active {
    background-color: #4777FF;
    color: #ffffff;
    font-weight: 600;
}

/* 图标包装器 */
.menu-icon-wrapper {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 确保没有任何背景色，保持透明 */
    background-color: transparent !important;
    padding: 0;
}

.menu-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 图标保持原色，不进行任何颜色变换 */
    filter: none !important;
    opacity: 1;
}

.menu-text {
    flex: 1;
    white-space: nowrap;
}

/* 左侧菜单底部：版本号与备案号 */
.sidebar-footer {
    padding: 16px 20px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14px;
    color: #909399;
    line-height: 1.5;
}
.sidebar-footer .sidebar-version {
    margin-bottom: 4px;
}
.sidebar-footer .sidebar-icp a {
    color: #909399;
    text-decoration: none;
}
.sidebar-footer .sidebar-icp a:hover {
    color: #4777FF;
}

/* 右侧主内容区 */
.main-content {
    flex: 1;
    background-color: #ffffff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-content::-webkit-scrollbar {
    display: none;
}

.content-wrapper {
    padding: 32px 40px;
    flex: 1;
}

/* 搜索区域 */
.search-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 10px 14px;
    min-height: 44px;
}

.search-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-right: 10px;
    opacity: 0.7;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: #333;
}

.search-input::placeholder {
    color: #bfbfbf;
}

/* 主按钮「生成报告」等：默认 / 悬停 / 按下 / 禁用 */
.btn-generate {
    -webkit-appearance: none;
    appearance: none;
    padding: 10px 18px;
    min-width: 88px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #4a8cff 0%, #2f6aff 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(45, 107, 255, 0.32);
    /* 勿对 background 做 transition：部分浏览器在渐变间插值会发白 */
    transition:
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

.btn-generate:hover:not(:disabled):not(.btn-generate-disabled) {
    background: linear-gradient(180deg, #6ea2ff 0%, #4a80ff 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(45, 107, 255, 0.45);
    transform: translateY(-1px);
}

.btn-generate:active:not(:disabled):not(.btn-generate-disabled) {
    background: linear-gradient(180deg, #2658d4 0%, #1a42b8 100%);
    color: #fff;
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 2px 10px rgba(25, 60, 180, 0.45);
}

.btn-generate:focus-visible {
    outline: 2px solid #7aa3ff;
    outline-offset: 3px;
}

.btn-generate:disabled {
    background: linear-gradient(180deg, #b8bcc4 0%, #9ca2ad 100%);
    box-shadow: none;
    cursor: not-allowed;
    filter: none;
    opacity: 0.88;
}

/* 仅供读屏：视觉上隐藏、保持可聚焦与可标注 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 达人信息识别：主操作区（链接输入 + 生成报告）突出为第一视觉焦点 */
#talent-recognition-panel .talent-generate-card {
    margin-bottom: 28px;
    padding: 22px 22px 20px;
    background: linear-gradient(165deg, #f8faff 0%, #f0f4ff 45%, #ffffff 100%);
    border: 1px solid #d6e0ff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(71, 119, 255, 0.1);
}

#talent-recognition-panel .talent-generate-card-head {
    margin-bottom: 16px;
}

#talent-recognition-panel .talent-generate-card-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36;
    letter-spacing: -0.02em;
}

#talent-recognition-panel .talent-generate-card-desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5c6370;
    max-width: 52em;
}

#talent-recognition-panel .talent-generate-card-desc strong {
    color: #303133;
    font-weight: 600;
}

#talent-recognition-panel .talent-generate-search {
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
}

#talent-recognition-panel .talent-generate-search .talent-generate-search-box {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid #dce3f0;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#talent-recognition-panel .talent-generate-search .talent-generate-search-box:focus-within {
    border-color: #4777ff;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 3px rgba(71, 119, 255, 0.2);
}

#talent-recognition-panel .talent-generate-search .search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.85;
}

#talent-recognition-panel .talent-generate-search .search-input {
    font-size: 17px;
}

#talent-recognition-panel .talent-generate-search .search-input::placeholder {
    color: #9aa3b2;
}

#talent-recognition-panel .talent-generate-search .btn-generate-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px 26px;
    font-size: 19px;
    border-radius: 10px;
    /* 不设置 box-shadow，沿用 .btn-generate 的默认 / :hover / :active */
}

/* 内容创作：主操作区（脚本类型 + 表单 + 生成）与达人信息识别卡片同一套层次 */
#content-production-panel .content-generate-card {
    margin-bottom: 28px;
    padding: 22px 22px 20px;
    background: linear-gradient(165deg, #f8fbfa 0%, #eef6f2 38%, #ffffff 100%);
    border: 1px solid #c5e3d5;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(34, 120, 95, 0.1);
}

#content-production-panel .content-generate-card-head {
    margin-bottom: 16px;
}

#content-production-panel .content-generate-card-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36;
    letter-spacing: -0.02em;
}

#content-production-panel .content-generate-card-desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5c6370;
    max-width: 52em;
}

#content-production-panel .content-generate-card-desc strong {
    color: #303133;
    font-weight: 600;
}

#content-production-panel .content-generate-card-desc-next {
    margin-top: 10px;
}

#content-production-panel .content-generate-type-label {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

/* 与下方搜索框同宽，四列等分；每列为「按钮 + 备注」 */
#content-production-panel .content-generate-type-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 8px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #eef5f1 0%, #e8f0ec 100%);
    border: 2px solid #d4ebe0;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.85);
}

#content-production-panel .content-generate-type-filters .content-type-filter-cell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

#content-production-panel .content-generate-type-filters .content-type-cell-hint {
    margin: 0;
    padding: 9px 8px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    color: #4a5c54;
    text-align: center;
    word-break: break-word;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(200, 229, 214, 0.9);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#content-production-panel .content-generate-type-filters .content-type-filter-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 12px 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #3d5248;
    /* 勿用 background 简写，否则会清掉全局 .active / :hover 的背景图 */
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 2px solid #dce8e2;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* 未选中：明确无底图（选中态由全局 [data-content-tag].active 提供 background-image） */
#content-production-panel .content-generate-type-filters .content-type-filter-item:not(.active) {
    background-image: none;
}

/* 悬停：略浮起；深色垫底避免底图未加载时出现白底+白字 */
#content-production-panel .content-generate-type-filters .content-type-filter-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 120, 95, 0.2);
    border-color: #9ccfb8;
    background-color: #1f6b4e;
    color: #fff;
}

/* 按下：与悬停区分（更贴底、略缩、阴影收） */
#content-production-panel .content-generate-type-filters .content-type-filter-item:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(34, 120, 95, 0.2);
    border-color: #7abf9a;
    background-color: #185a42;
    color: #fff;
}

#content-production-panel .content-generate-type-filters .content-type-filter-item .content-type-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

#content-production-panel .content-generate-type-filters .content-type-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
}

/* 悬停兄弟项时：非悬停格恢复为卡片底（与全局 .content-type-filters:hover 规则配合） */
#content-production-panel .content-generate-type-filters:hover .content-type-filter-item:not(:hover) {
    background-color: #ffffff;
    background-image: none;
    border-color: #dce8e2;
    transform: none;
    filter: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

#content-production-panel .content-generate-type-filters:hover .content-type-filter-item:not(:hover) .content-type-icon {
    filter: none;
    opacity: 0.85;
}

#content-production-panel .content-generate-type-filters:hover .content-type-filter-item:not(:hover) .content-type-text {
    color: #3d5248;
}

#content-production-panel .content-generate-type-filters .content-type-filter-item.active {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 18px rgba(34, 120, 95, 0.22);
}

#content-production-panel .content-generate-type-filters .content-type-filter-item.active:hover {
    box-shadow: 0 8px 22px rgba(34, 120, 95, 0.28);
}

@media (max-width: 640px) {
    #content-production-panel .content-generate-type-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    #content-production-panel .content-generate-type-filters .content-type-filter-item {
        min-height: 48px;
        font-size: 16px;
        padding: 10px 8px;
        gap: 8px;
    }

    #content-production-panel .content-generate-type-filters .content-type-filter-item .content-type-icon {
        width: 22px;
        height: 22px;
    }

    #content-production-panel .content-generate-type-filters .content-type-cell-hint {
        font-size: 15px;
        padding: 7px 5px;
    }
}

#content-production-panel .content-generate-search {
    margin-bottom: 0;
    gap: 18px;
    align-items: stretch;
    width: 100%;
}

#content-production-panel .content-generate-search .content-search-box {
    width: 100%;
    max-width: 100%;
}

#content-production-panel .content-generate-search .search-input-wrapper {
    width: 100%;
    max-width: 100%;
}

#content-production-panel .content-generate-search .content-generate-input-shell {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid #dce8e2;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#content-production-panel .content-generate-search .content-generate-input-shell:focus-within {
    border-color: #2d9d6b;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 3px rgba(45, 157, 107, 0.18);
}

#content-production-panel .content-generate-search .search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.85;
}

#content-production-panel .content-generate-search .search-input {
    font-size: 17px;
}

#content-production-panel .content-generate-search .search-input::placeholder {
    color: #9aa3b2;
}

#content-production-panel .content-generate-search .btn-generate-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px 26px;
    font-size: 19px;
    border-radius: 10px;
    /* 不设置 box-shadow，沿用 .btn-generate 的默认 / :hover / :active */
}

#content-production-panel .content-generate-search .input-label {
    font-size: 18px;
    font-weight: 600;
}

.history-header {
    display: flex;
    align-items: center;
    margin: 12px 0 8px;
}

.history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #303133;
    font-weight: 600;
}

.history-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.history-empty {
    color: #909399;
    font-size: 16px;
    margin: 0;
}

.history-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    margin-bottom: 4px;
}

/* 「查看全部报告 / 查看全部脚本」：次要入口加强可见性（列表下方易被忽略） */
.history-see-all-btn {
    width: 100%;
    max-width: 360px;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 600;
    border-width: 2px;
    border-color: #4777ff;
    color: #3a65e6;
    background: linear-gradient(180deg, #fafcff 0%, #eef3ff 100%);
    box-shadow: 0 2px 10px rgba(71, 119, 255, 0.14);
}

.history-see-all-btn:hover {
    border-color: #356ae0;
    color: #ffffff;
    background: linear-gradient(180deg, #5c8bff 0%, #4777ff 100%);
    box-shadow: 0 4px 16px rgba(71, 119, 255, 0.3);
}

.history-see-all-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(71, 119, 255, 0.22);
}

.history-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.history-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 报告详情页面样式 */
.report-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
}

.btn-back {
    padding: 8px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #ffffff;
    color: #606266;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    border-color: #c0c4cc;
    color: #303133;
    background: #f5f7fa;
}

.btn-export-report {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #4777FF;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-export-report:hover {
    background: #3a65e6;
}

.report-status-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-status-label {
    font-size: 16px;
    color: #606266;
}

.report-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 14px;
    color: #fff;
}

.report-status-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.report-progress-section {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #67c23a 0%, #85ce61 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.report-detail-content {
    margin-top: 16px;
}

/* 报告详情：顶部标签条（置顶 + 分段控件，便于发现「达人信息 / 报告 / 评论」） */
.report-detail-tab-strip {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: -4px -4px 12px;
    padding: 10px 8px 8px;
    background: #f6f7f8;
    border-radius: 8px;
    border: 1px solid #e8eaed;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.report-detail-tab-strip .report-detail-segment-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 5px;
    background: #e4e7ec;
    border-radius: 10px;
    border-bottom: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.report-detail-tab-strip .report-detail-segment-nav::-webkit-scrollbar {
    height: 4px;
}

.report-detail-tab-strip .report-detail-segment-nav .sample-tab-item {
    flex: 1 1 0;
    min-width: 88px;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    border-radius: 8px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.report-detail-tab-strip .report-detail-segment-nav .sample-tab-item:hover {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.75);
}

.report-detail-tab-strip .report-detail-segment-nav .sample-tab-item.active {
    color: #fff;
    font-weight: 600;
    background: #4777ff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(71, 119, 255, 0.35);
}

.report-detail-tab-strip .report-detail-segment-nav .sample-tab-item.active::after {
    display: none;
}

.report-detail-tab-hint {
    margin: 8px 6px 0;
    font-size: 14px;
    line-height: 1.45;
    color: #909399;
}

.report-detail-tab-panels {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.btn-outline {
    padding: 10px 18px;
    min-width: 140px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    background: #ffffff;
    color: #606266;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: #c0c4cc;
    color: #303133;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.section-divider {
    height: 1px;
    background: #ececec;
    margin: 16px 0 20px;
}

.sample-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sample-wrapper {
    background: #f6f7f8;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sample-header {
    font-size: 18px;
    color: #303133;
    font-weight: 600;
}

.sample-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    color: #303133;
    font-size: 15px;
    min-height: 80px;
}

.sample-detail {
    background: #f6f7f8;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    color: #303133;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sample-hero {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sample-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    background: #fff;
}

.sample-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sample-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sample-name {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

.sample-id {
    font-size: 14px;
    color: #409eff;
    cursor: default;
}

.sample-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #606266;
}

.sample-signature {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.sample-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    background: #eef2ff;
    color: #5c6bc0;
    border: 1px solid #e0e7ff;
}

.sample-tabs {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sample-tab-nav {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #ececec;
}

.sample-tab-item {
    padding: 8px 4px;
    cursor: pointer;
    font-size: 16px;
    color: #606266;
    position: relative;
}

.sample-tab-item.active {
    color: #303133;
    font-weight: 600;
}

.sample-tab-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #4777FF;
}

.sample-tab-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sample-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sample-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.badge {
    background: #ffedd5;
    color: #d97706;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 14px;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.video-chip {
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #409eff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-chip:hover {
    background: #ecf5ff;
}

.carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: #dcdfe6;
    border-radius: 3px;
}

.carousel-card {
    min-width: 180px;
    max-width: 180px;
    background: #ffffff;
    border: 1px solid #ebeef5;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.carousel-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.carousel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    align-self: center;
    border: 1px solid #e5e7eb;
}

.carousel-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    text-align: center;
}

.carousel-meta {
    font-size: 14px;
    color: #606266;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.carousel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.carousel-tag {
    font-size: 12px;
    color: #409eff;
    background: #ecf5ff;
    border: 1px solid #d9ecff;
    border-radius: 10px;
    padding: 2px 6px;
}

.carousel-controls {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.carousel-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.carousel-btn:hover {
    border-color: #c0c4cc;
}

.report-markdown {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    padding: 12px;
    line-height: 1.6;
    color: #303133;
    white-space: pre-wrap;
}

.rating-display {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 20px;
    color: #f7ba2a;
}

.rating-text {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.rating-comment {
    font-size: 15px;
    color: #303133;
}

/* 报告评论输入区域 */
.rating-input-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rating-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-label {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
    min-width: 80px;
}

.rating-zero-btn {
    padding: 6px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #fff;
    color: #606266;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
}

.rating-zero-btn:hover {
    border-color: #c0c4cc;
    background: #f5f7fa;
}

.rating-zero-btn.active {
    border-color: #4777FF;
    background: #ecf5ff;
    color: #4777FF;
}

.rating-stars-input {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star-input {
    font-size: 27px;
    color: #dcdfe6;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.star-input:hover {
    color: #f7ba2a;
}

.star-input.active {
    color: #f7ba2a;
}

.rating-value-text {
    font-size: 16px;
    color: #606266;
    font-weight: 500;
}

.comment-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-label {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 16px;
    color: #303133;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.comment-textarea:focus {
    outline: none;
    border-color: #4777FF;
}

.comment-submit-group {
    display: flex;
    justify-content: flex-end;
}

/* 脚本评估提交按钮居中并与上方留出间距 */
.script-eval-submit-group {
    justify-content: center;
    margin-top: 16px;
}

.btn-submit-comment {
    padding: 10px 24px;
    background: linear-gradient(180deg, #3c84ff 0%, #2d6bff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 107, 255, 0.28);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-submit-comment:hover {
    box-shadow: 0 6px 16px rgba(45, 107, 255, 0.32);
}

.btn-submit-comment:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(45, 107, 255, 0.2);
}

.btn-submit-comment:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
    box-shadow: none;
}

.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.preview-dialog {
    width: 80%;
    height: 80%;
    background: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.preview-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 25px;
    color: #606266;
    cursor: pointer;
    z-index: 2;
}

.preview-dialog iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.history-card {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    flex: 1 1 calc((100% - 32px) / 3);
    min-width: 260px;
}

.history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.history-title-text {
    font-size: 17px;
    font-weight: 600;
    color: #303133;
}

.history-progress {
    font-size: 16px;
    color: #606266;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 14px;
    color: #fff;
}

.status-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.status-running {
    background: #fbbf24;
}

.status-success {
    background: #34d399;
}

.status-failed {
    background: #f87171;
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: #909399;
}

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

.history-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.history-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ebeef5;
}

.history-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-nickname {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.history-id {
    font-size: 14px;
    color: #909399;
}

.page-title {
    font-size: 27px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 32px;
    display: block;
}

/* 当显示内容运营标签页时，隐藏普通标题 */
.content-tabs:not([style*="display: none"]) ~ .page-title {
    display: none;
}

/* 内容运营标签页导航 */
.content-tabs {
    margin-bottom: 32px;
}

.content-tabs-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-tabs-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.content-tabs-title {
    font-size: 25px;
    font-weight: 600;
    color: #1D1D1F;
    margin-right: 24px;
    flex-shrink: 0;
}

.content-tabs-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.tab-item {
    font-size: 22px;
    color: #4F4F50;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.tab-item:hover {
    color: #3A68FF;
}

.tab-item.active {
    color: #3A68FF;
    font-weight: 600;
}

.development-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px dashed #dcdfe6;
}

.development-notice p {
    font-size: 18px;
    color: #909399;
    text-align: center;
}

/* 用户登录区域（右上角） */
.user-header {
    position: absolute;
    top: 20px;
    right: 40px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    position: relative;
}

.user-info:hover {
    background-color: #f5f5f5;
}

/* 用户下拉菜单 */
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 320px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e7ed;
    z-index: 1100;
    padding: 16px;
    flex-direction: column;
    gap: 12px;
}

.user-dropdown.user-dropdown-open {
    display: flex;
}

.user-dropdown-divider {
    height: 0;
    border: none;
    border-top: 1px solid #e4e7ed;
    margin: 0;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f2f4f8;
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e4e7ed;
    cursor: pointer;
    flex-shrink: 0;
}

.user-dropdown-avatar:hover {
    border-color: #4777FF;
}

.user-dropdown-names {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.user-dropdown-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.user-dropdown-nickname {
    font-size: 17px;
    font-weight: 600;
    color: #303133;
    min-width: 0;
}

.user-dropdown-device-count {
    font-size: 14px;
    color: #909399;
    flex-shrink: 0;
}

.user-dropdown-expire {
    font-size: 14px;
    color: #909399;
}

/* 非会员：保持原样，灰色文字无背景 */
.user-dropdown-equity {
    font-size: 15px;
    color: #909399;
}

/* 运营版会员：黄底白字，背景紧贴文字，文字居中，左右8px、上下5px */
.user-dropdown-equity--operation {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e6a23c 0%, #d48806 100%);
    color: #fff;
    font-weight: 500;
    text-align: center;
    width: fit-content;
}

/* 企业版会员：红底白字 */
.user-dropdown-equity--enterprise {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e64545 0%, #c45656 100%);
    color: #fff;
    font-weight: 500;
    text-align: center;
    width: fit-content;
}

/* 品牌版会员：蓝底白字 */
.user-dropdown-equity--brand {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #409eff 0%, #337ecc 100%);
    color: #fff;
    font-weight: 500;
    text-align: center;
    width: fit-content;
}

.user-dropdown-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 16px;
    color: #303133;
    background: #f2f4f8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-dropdown-btn:hover {
    background: #e8eaef;
    color: #4777FF;
}

.user-dropdown-logout {
    color: #f56c6c;
    background: #fef0f0;
}

.user-dropdown-logout:hover {
    background: #fde2e2;
    color: #f56c6c;
}

.user-dropdown-btn-small {
    padding: 6px 12px;
    font-size: 15px;
    margin-top: 8px;
}

.user-dropdown-wallet {
    padding: 10px 0;
}

.user-dropdown-wallet-label {
    font-size: 16px;
    color: #606266;
}

.user-dropdown-invoice {
    padding-top: 12px;
    text-align: center;
}

.user-dropdown-invoice-text {
    font-size: 15px;
    color: #909399;
    margin-bottom: 8px;
}

.user-dropdown-invoice-qrcode {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e4e7ed;
}

.username {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.login-status {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.login-status:hover {
    background-color: #f5f5f5;
}

.not-logged-in {
    font-size: 16px;
    color: #909399;
}

/* 头像大图预览 */
.avatar-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    cursor: pointer;
}

.avatar-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
}

.avatar-preview-img {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    pointer-events: none;
}

.avatar-preview-hint {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* 权益信息对话框（与主页风格一致） */
.equity-info-modal .equity-info-content {
    max-width: 520px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e7ed;
    padding: 0;
    overflow: hidden;
}

.equity-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #F2F4F8 0%, #ffffff 100%);
    border-bottom: 3px solid #4777FF;
}

.equity-info-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin: 0;
}

.equity-info-modal .close-btn {
    font-size: 27px;
    color: #909399;
}

.equity-info-modal .close-btn:hover {
    color: #4777FF;
}

.equity-info-body {
    padding: 20px 24px;
    max-height: 60vh;
    overflow-y: auto;
    background: #ffffff;
}

.equity-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #F2F4F8;
    border-radius: 8px;
    gap: 16px;
    transition: background-color 0.2s ease;
}

.equity-info-row:hover {
    background: rgba(71, 119, 255, 0.08);
}

.equity-info-row:last-child {
    margin-bottom: 0;
}

.equity-info-label {
    font-size: 16px;
    color: #606266;
    flex-shrink: 0;
}

.equity-info-value {
    font-size: 16px;
    color: #303133;
    font-weight: 600;
    text-align: right;
    color: #4777FF;
}

.equity-info-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e4e7ed;
    background: #ffffff;
    text-align: right;
}

.equity-info-close-btn {
    padding: 10px 24px;
    font-size: 16px;
    color: #ffffff;
    background: #4777FF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.equity-info-close-btn:hover {
    background: #3c6ae6;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 报告导出结果对话框 */
.export-result-modal .export-result-content {
    max-width: 420px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}
.export-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e7ed;
}
.export-result-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #303133;
}
.export-result-modal .close-btn {
    font-size: 27px;
    color: #909399;
    cursor: pointer;
}
.export-result-modal .close-btn:hover {
    color: #4777FF;
}
.export-result-body {
    padding: 20px;
}
.export-result-message {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #606266;
    line-height: 1.5;
}
.export-result-link {
    display: inline-block;
    font-size: 16px;
    color: #4777FF;
    word-break: break-all;
}
.export-result-link:hover {
    text-decoration: underline;
}
.export-result-footer {
    padding: 12px 20px 20px;
    text-align: right;
}

/* 购买续费对话框 */
.purchase-modal .purchase-modal-content {
    max-width: 560px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e7ed;
    padding: 0;
    overflow: hidden;
}

.purchase-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f2f4f8 0%, #ffffff 100%);
    border-bottom: 1px solid #e4e7ed;
}

.purchase-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    margin: 0;
    flex: 1;
    text-align: center;
}

.purchase-back-btn {
    border: none;
    background: transparent;
    color: #606266;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
}

.purchase-back-btn:hover {
    color: #4777FF;
}

.purchase-modal-body {
    padding: 16px 20px 20px;
    max-height: 65vh;
    overflow-y: auto;
    background: #ffffff;
}

.purchase-entry-view {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 会员商品与增值商品之间间距：第一个按钮下方留出空隙 */
.purchase-entry-view .purchase-entry-btn:first-child {
    margin-bottom: 16px;
}

.purchase-entry-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #dcdfe6;
    background: #f5f7fa;
    font-size: 17px;
    color: #303133;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-entry-btn:hover {
    background: #ecf5ff;
    border-color: #4777FF;
    box-shadow: 0 4px 12px rgba(71, 119, 255, 0.15);
}

.purchase-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f5f7fa;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-product-item:hover {
    background: #ecf5ff;
    box-shadow: 0 4px 12px rgba(71, 119, 255, 0.12);
}

.purchase-product-name {
    font-size: 16px;
    color: #303133;
    flex: 1;
    margin-right: 12px;
}

.purchase-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #f56c6c;
    white-space: nowrap;
}

.purchase-detail-section {
    margin-bottom: 16px;
}

.purchase-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 8px;
}

.purchase-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #f5f7fa;
    border-radius: 6px;
    gap: 12px;
}

.purchase-detail-label {
    font-size: 15px;
    color: #606266;
    flex-shrink: 0;
}

.purchase-detail-value {
    font-size: 15px;
    color: #303133;
    font-weight: 500;
    text-align: right;
}

.purchase-detail-description {
    font-size: 15px;
    color: #606266;
    line-height: 1.6;
    padding: 10px 10px;
    background: #f5f7fa;
    border-radius: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.purchase-auto-renew-wrap {
    margin-bottom: 4px;
}

.purchase-auto-renew-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #606266;
    cursor: pointer;
    user-select: none;
}

.purchase-auto-renew-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.purchase-detail-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.purchase-pay-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-pay-btn-alipay {
    background: linear-gradient(135deg, #409eff 0%, #337ecc 100%);
    color: #ffffff;
}

.purchase-pay-btn-alipay:hover {
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.35);
}

.purchase-pay-btn-wallet {
    background: #f5f7fa;
    color: #303133;
    border: 1px solid #dcdfe6;
}

.purchase-pay-btn-wallet:hover {
    background: #ecf5ff;
    border-color: #4777FF;
}

/* 钱包充值对话框 */
.wallet-recharge-modal .wallet-recharge-content {
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e4e7ed;
    padding: 0;
    overflow: hidden;
}

.wallet-recharge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f2f4f8 0%, #ffffff 100%);
    border-bottom: 1px solid #e4e7ed;
}

.wallet-recharge-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin: 0;
}

.wallet-recharge-body {
    padding: 20px;
    background: #ffffff;
}

.wallet-recharge-hint {
    font-size: 16px;
    color: #606266;
    margin: 0 0 16px 0;
}

.wallet-recharge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.wallet-recharge-amount-btn {
    padding: 14px 12px;
    border-radius: 8px;
    border: 1px solid #dcdfe6;
    background: #f5f7fa;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.wallet-recharge-amount-btn:hover {
    background: #ecf5ff;
    border-color: #4777FF;
}

.wallet-recharge-amount-btn.selected {
    background: #ecf5ff;
    border-color: #4777FF;
    box-shadow: 0 0 0 2px rgba(71, 119, 255, 0.2);
}

.wallet-recharge-amount-btn .amount-num {
    font-size: 20px;
    font-weight: 600;
    color: #f56c6c;
    display: block;
}

.wallet-recharge-amount-btn .amount-unit {
    font-size: 16px;
    color: #f56c6c;
}

.wallet-recharge-pay-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, #409eff 0%, #337ecc 100%);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.wallet-recharge-pay-btn:hover {
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.35);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e4e7ed;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #303133;
    margin: 0;
}

.close-btn {
    font-size: 32px;
    color: #909399;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #303133;
}

.auth-form {
    padding: 0 24px 24px;
}

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

.form-group label {
    display: block;
    font-size: 16px;
    color: #606266;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 16px;
    color: #303133;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #4777FF;
}

.verification-group {
    display: flex;
    gap: 12px;
}

.verification-group input {
    flex: 1;
}

.send-code-btn {
    padding: 12px 20px;
    background-color: #4777FF;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.send-code-btn:hover {
    background-color: #3a68ff;
}

.send-code-btn:disabled {
    background-color: #c0c4cc;
    cursor: not-allowed;
}

.recaptcha-form-group,
.recaptcha-inline {
    margin-top: 8px;
}

.portrait-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.portrait-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #dcdfe6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.portrait-preview:hover {
    border-color: #4777FF;
}

.portrait-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-placeholder {
    color: #909399;
    font-size: 16px;
    text-align: center;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #4777FF;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a68ff;
}

.btn-primary:disabled {
    background-color: #c0c4cc;
    cursor: not-allowed;
}

.btn-link {
    background: none;
    border: none;
    color: #4777FF;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    padding: 8px;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #3a68ff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .content-wrapper {
        padding: 24px 20px;
    }
    
    .user-header {
        right: 20px;
        top: 16px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* Toast 提示样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 500px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-message {
    flex: 1;
    font-size: 16px;
    color: #303133;
    line-height: 1.5;
}

.toast-close {
    cursor: pointer;
    color: #909399;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #303133;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.fade-out {
    animation: toastSlideOut 0.3s ease-in forwards;
}

/* Toast 类型样式 */
.toast-success {
    border-left: 4px solid #67c23a;
    background: #f0f9ff;
}

.toast-error {
    border-left: 4px solid #f56c6c;
    background: #fef0f0;
}

.toast-info {
    border-left: 4px solid #409eff;
    background: #ecf5ff;
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 查看全部报告样式 */
.all-reports-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.all-reports-search-section {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}

.all-reports-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    padding: 0 12px;
}

.all-reports-search-box .search-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.all-reports-search-box .search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 16px;
    color: #303133;
}

.all-reports-search-box .search-input::placeholder {
    color: #909399;
}

.btn-search {
    padding: 12px 24px;
    background: linear-gradient(180deg, #3c84ff 0%, #2d6bff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 107, 255, 0.28);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    white-space: nowrap;
}

.btn-search:hover {
    box-shadow: 0 6px 16px rgba(45, 107, 255, 0.32);
}

.btn-search:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(45, 107, 255, 0.2);
}

.all-reports-sort-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 16px;
    color: #606266;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    border-color: #c0c4cc;
    background: #f5f7fa;
}

.sort-btn.active {
    border-color: #4777FF;
    background: #ecf5ff;
    color: #4777FF;
}

.sort-arrow {
    font-size: 14px;
    color: inherit;
}

.all-reports-count {
    margin-left: auto;
    font-size: 16px;
    color: #606266;
}

.all-reports-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.all-reports-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 16px;
    color: #606266;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: #c0c4cc;
    background: #f5f7fa;
}

.pagination-btn.active {
    background: #4777FF;
    border-color: #4777FF;
    color: #fff;
}

.pagination-btn.disabled {
    color: #c0c4cc;
    cursor: not-allowed;
    background: #f5f7fa;
}

.pagination-ellipsis {
    padding: 0 4px;
    color: #909399;
    font-size: 16px;
}

@media (max-width: 1200px) {
    .all-reports-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .all-reports-list {
        grid-template-columns: 1fr;
    }
    
    .all-reports-search-section {
        flex-direction: column;
    }
    
    .all-reports-search-box {
        width: 100%;
    }
    
    .btn-search {
        width: 100%;
    }
}

/* 加载遮罩层样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    pointer-events: auto;
    cursor: wait;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #4777FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

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

/* ========== 内容创作相关样式 ========== */

/* 内容创作页顶部：脚本类型筛选（四个选项） */
.content-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}
.content-type-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 16px;
    color: #606266;
    background: #F2F2F2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.content-type-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}
.content-type-text {
    white-space: nowrap;
}
/* 未选中状态：图标保持原色（图标文件本身应该是浅色的） */
.content-type-filter-item .content-type-icon {
    opacity: 0.8;
}
/* 选中状态：使用背景图片，图标和文字为白色（仅在无hover时显示） */
.content-type-filter-item.active {
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}
.content-type-filter-item.active .content-type-icon {
    filter: brightness(0) invert(1);
    opacity: 1;
}
.content-type-filter-item.active .content-type-text {
    color: #fff;
}
/* 当容器内有任何元素hover时，所有非hover的元素（包括active）都显示非选中状态 */
.content-type-filters:hover .content-type-filter-item:not(:hover) {
    color: #606266;
    background: #F2F2F2;
    background-image: none;
    border: none;
}
.content-type-filters:hover .content-type-filter-item:not(:hover) .content-type-icon {
    filter: none;
    opacity: 0.8;
}
.content-type-filters:hover .content-type-filter-item:not(:hover) .content-type-text {
    color: #606266;
}
/* 悬停状态：使用背景图片，图标和文字为白色（优先级最高） */
.content-type-filter-item:hover {
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}
.content-type-filter-item:hover .content-type-icon {
    filter: brightness(0) invert(1);
    opacity: 1;
}
.content-type-filter-item:hover .content-type-text {
    color: #fff;
}
/* 带货短视频选中样式 */
.content-type-filter-item[data-content-tag="1"].active {
    background-image: url('/imgs/content_produce_product_select_background.png');
}
/* 带货短视频悬停样式 */
.content-type-filter-item[data-content-tag="1"]:hover {
    background-image: url('/imgs/content_produce_product_select_background.png');
}
/* 人设短视频选中样式 */
.content-type-filter-item[data-content-tag="2"].active {
    background-image: url('/imgs/content_produce_product_personal_background.png');
}
/* 人设短视频悬停样式 */
.content-type-filter-item[data-content-tag="2"]:hover {
    background-image: url('/imgs/content_produce_product_personal_background.png');
}
/* 引流短视频选中样式 */
.content-type-filter-item[data-content-tag="3"].active {
    background-image: url('/imgs/content_produce_live_select_background.png');
}
/* 引流短视频悬停样式 */
.content-type-filter-item[data-content-tag="3"]:hover {
    background-image: url('/imgs/content_produce_live_select_background.png');
}
/* 种草短视频选中样式 */
.content-type-filter-item[data-content-tag="4"].active {
    background-image: url('/imgs/content_produce_recommendation_select_background.png');
}
/* 种草短视频悬停样式 */
.content-type-filter-item[data-content-tag="4"]:hover {
    background-image: url('/imgs/content_produce_recommendation_select_background.png');
}

/* 脚本列表项右下角：脚本类型标签（根据 content_tag） */
#content-history-list .history-card,
#all-scripts-list .history-card {
    position: relative;
}
.content-script-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 14px;
    color: #909399;
    background: #f4f4f5;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 输入框标签和必填标记 */
.input-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    margin-bottom: 8px;
}

.required-mark {
    color: #f56c6c;
    margin-right: 4px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 内容创作历史列表样式 */
.history-item {
    background: #ffffff;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #c0c4cc;
}

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

.history-item-title {
    font-size: 16px;
    color: #303133;
    font-weight: 500;
}

.history-item-status {
    display: flex;
    gap: 8px;
}

.history-item-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-label {
    font-size: 14px;
    color: #606266;
    min-width: 100px;
}

.progress-bar-mini {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #67c23a 0%, #85ce61 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #606266;
    min-width: 40px;
    text-align: right;
}

.history-item-time {
    font-size: 14px;
    color: #909399;
    margin-bottom: 8px;
}

.btn-view-detail {
    padding: 6px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    background: #ffffff;
    color: #606266;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-detail:hover {
    border-color: #4777FF;
    color: #4777FF;
    background: #f0f4ff;
}

/* 双进度显示样式 - 一行显示 */
#content-report-progress-section {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
}

#content-report-progress-section .progress-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
    text-align: left;
    align-items: flex-start;
}

#content-report-progress-section .progress-item .progress-label {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #303133;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

#content-report-progress-section .progress-item .progress-bar-container {
    width: 100%;
}

#content-report-progress-section .progress-item .report-status-badge {
    align-self: flex-start;
}

/* 热点分析结果样式 - 表格风格 */
.hot-topics-tables-container {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.hot-topics-table-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hot-topics-table-title {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 12px;
    text-align: center;
}

.hot-topics-table {
    width: 100%;
}

.hot-topics-table-content {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    overflow: hidden;
}

.hot-topics-table-content thead {
    background: #f5f7fa;
}

.hot-topics-table-content th {
    padding: 12px 16px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    border-bottom: 1px solid #e4e7ed;
}

.hot-topics-table-content tbody tr {
    border-bottom: 1px solid #f0f2f5;
    transition: background-color 0.2s ease;
}

.hot-topics-table-content tbody tr:hover {
    background: #f9fafb;
}

.hot-topics-table-content tbody tr:last-child {
    border-bottom: none;
}

.hot-topics-table-content td {
    padding: 12px 16px;
    font-size: 16px;
    color: #303133;
}

.hot-topics-table-content .col-rank {
    width: 80px;
    text-align: center;
}

.hot-topics-table-content .col-name {
    min-width: 200px;
    font-weight: 500;
}

.hot-topics-table-content .col-index {
    width: 120px;
    text-align: right;
    color: #606266;
}

.hot-topics-table-content .col-trend {
    width: 120px;
    text-align: center;
    font-weight: 600;
}

.medal-icon {
    font-size: 22px;
    display: inline-block;
}

.rank-number {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #606266;
}

.col-trend.trend-up {
    color: #f56c6c;
}

.col-trend.trend-down {
    color: #409eff;
}

.col-trend.trend-stable {
    color: #909399;
}

/* 商品信息样式 */
.product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 宽高比 */
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e4e7ed;
    transition: all 0.2s ease;
}

.product-image-wrapper:hover {
    border-color: #4777FF;
    box-shadow: 0 2px 8px rgba(71, 119, 255, 0.2);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.product-info-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-top: 12px;
}

.product-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.product-info-item strong {
    color: #606266;
    min-width: 80px;
}

.product-info-item span {
    color: #303133;
    flex: 1;
}

/* 短视频脚本样式 */
.video-script-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

/* 脚本文案与脚本块之间增加间隔 */
#report-detail-copy-writer {
    margin-bottom: 16px;
}

.script-part {
    background: #f9fafb;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.script-part:hover {
    border-color: #c0c4cc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.script-part-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e7ed;
}

.script-time {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #4777FF;
    color: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.script-content {
    font-size: 16px;
    color: #303133;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* 新格式表格样式 */
.script-part-new-format {
    padding: 0;
    overflow-x: auto;
}

.script-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.script-table thead {
    background: #f5f7fa;
}

.script-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #303133;
    border-bottom: 2px solid #e4e7ed;
    white-space: nowrap;
}

.script-table td {
    padding: 12px;
    border-bottom: 1px solid #e4e7ed;
    color: #606266;
    line-height: 1.6;
    vertical-align: top;
    word-wrap: break-word;
}

.script-table tbody tr:hover {
    background: #f9fafb;
}

/* 表格列宽优化 */
.script-table th:nth-child(1),
.script-table td:nth-child(1) {
    width: 80px;
    min-width: 80px;
}

.script-table th:nth-child(2),
.script-table td:nth-child(2) {
    width: 150px;
    min-width: 150px;
}

.script-table th:nth-child(3),
.script-table td:nth-child(3) {
    width: 200px;
    min-width: 200px;
}

.script-table th:nth-child(4),
.script-table td:nth-child(4) {
    width: 180px;
    min-width: 180px;
}

.script-table th:nth-child(5),
.script-table td:nth-child(5) {
    width: 150px;
    min-width: 150px;
}

.script-table th:nth-child(6),
.script-table td:nth-child(6) {
    width: 150px;
    min-width: 150px;
}

.script-table th:nth-child(7),
.script-table td:nth-child(7) {
    width: 200px;
    min-width: 200px;
}

/* 样例视频列样式 */
.sample-video-cell {
    width: 250px;
    min-width: 250px;
    vertical-align: middle !important;
}

.video-progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.progress-pie-chart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.progress-pie {
    display: block;
}

.progress-pie-bg {
    transition: stroke 0.3s ease;
}

.progress-pie-fill {
    transition: stroke-dashoffset 0.3s ease, stroke 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #606266;
    font-weight: 500;
    min-width: 35px;
}

.sample-video-wrapper {
    width: 100%;
    max-width: 240px;
    margin-top: 8px;
    position: relative;
}

.sample-video {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 4px;
    background: #000;
    cursor: pointer;
    display: block;
}

.sample-video-more-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 46px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #f9fafb;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.sample-video-more-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.sample-video-preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2100;
}

.sample-video-preview-dialog {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.35);
    max-width: 720px;
    width: 90%;
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
}

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

.sample-video-preview-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.sample-video-preview-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
}

.sample-video-preview-close:hover {
    color: #111827;
}

.sample-video-preview-body {
    padding: 8px 0 12px;
}

.sample-video-preview-body video {
    width: 100%;
    max-height: 420px;
    border-radius: 8px;
    background: #000;
}

.sample-video-preview-footer {
    display: flex;
    justify-content: flex-end;
}

.sample-video:hover {
    opacity: 0.9;
}

.video-placeholder {
    color: #909399;
    font-size: 14px;
    font-style: italic;
}

/* 样例视频整体状态和进度样式 */
.video-generate-overall-status {
    margin-top: 20px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
}

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

.overall-status-label {
    font-size: 16px;
    color: #606266;
    font-weight: 500;
}

.overall-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.overall-status-badge.status-success {
    background: #f0f9ff;
    color: #67c23a;
    border: 1px solid #b3e19d;
}

.overall-status-badge.status-failed {
    background: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fbc4c4;
}

.overall-status-badge.status-processing {
    background: #ecf5ff;
    color: #409eff;
    border: 1px solid #b3d8ff;
}

.overall-status-badge.status-unknown {
    background: #f4f4f5;
    color: #909399;
    border: 1px solid #d3d4d6;
}

.overall-progress-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overall-progress-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #606266;
    min-width: 120px;
}

.overall-progress-text {
    font-weight: 600;
    color: #303133;
}

.overall-progress-bar-container {
    flex: 1;
    height: 8px;
    background: #e4e7ed;
    border-radius: 4px;
    overflow: hidden;
}

.overall-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #409eff 0%, #67c23a 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.overall-progress-pie-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 按钮禁用状态样式 */
.btn-generate-disabled {
    background: #c0c4cc !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-generate-disabled:hover {
    background: #c0c4cc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 视频生成确认对话框样式 */
.video-generate-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.video-generate-dialog {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    animation: dialogFadeIn 0.3s ease-out;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-generate-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e4e7ed;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-generate-dialog-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.video-generate-dialog-close {
    background: none;
    border: none;
    font-size: 27px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.video-generate-dialog-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-generate-dialog-body {
    padding: 32px 24px;
    text-align: center;
}

.video-generate-dialog-icon {
    font-size: 72px;
    margin-bottom: 16px;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.video-generate-dialog-message {
    font-size: 18px;
    color: #303133;
    line-height: 1.8;
    margin: 0 0 24px 0;
    white-space: pre-line;
}

.video-generate-dialog-note {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
    text-align: left;
}

.video-generate-dialog-note p {
    margin: 8px 0;
    font-size: 15px;
    color: #606266;
    line-height: 1.6;
}

.video-generate-dialog-note p:first-child {
    margin-top: 0;
}

.video-generate-dialog-note p:last-child {
    margin-bottom: 0;
}

.video-generate-dialog-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e4e7ed;
    justify-content: flex-end;
}

.btn-dialog-cancel,
.btn-dialog-confirm {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    min-width: 100px;
}

.btn-dialog-cancel {
    background: #f5f7fa;
    color: #606266;
}

.btn-dialog-cancel:hover {
    background: #e4e7ed;
    color: #303133;
}

.btn-dialog-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

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

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

/* Kling 人物参考图上传对话框 */
.kling-upload-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(4px);
}

.kling-upload-dialog {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    animation: dialogFadeIn 0.3s ease-out;
}

.kling-upload-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e7ed;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kling-upload-dialog-title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
}

.kling-upload-dialog-close {
    background: none;
    border: none;
    font-size: 25px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.kling-upload-dialog-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.kling-upload-dialog-body {
    padding: 20px;
}

.kling-upload-hint {
    font-size: 15px;
    color: #606266;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.kling-upload-dropzone {
    border: 2px dashed #c0c4cc;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.kling-upload-dropzone:hover,
.kling-upload-dropzone.drag-over {
    border-color: #667eea;
    background: #f0f2ff;
}

.kling-upload-dropzone-empty {
    flex-direction: column;
    color: #909399;
    font-size: 16px;
}

.kling-upload-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e4e7ed;
    color: #909399;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background 0.2s, color 0.2s;
}

.kling-upload-dropzone:hover .kling-upload-plus,
.kling-upload-dropzone.drag-over .kling-upload-plus {
    background: #667eea;
    color: #fff;
}

.kling-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.kling-upload-preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e4e7ed;
}

.kling-upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kling-upload-preview-item-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.kling-upload-preview-item-remove:hover {
    background: #f56c6c;
}

.kling-upload-dialog-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e4e7ed;
    justify-content: flex-end;
}

/* 脚本详情页：Nanobanana 生成的人物参考图（脚本表格下方、样例视频整体状态上方） */
.kling-refer-image-section {
    margin-top: 20px;
    margin-bottom: 16px;
}

.kling-refer-image-label {
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    margin-bottom: 8px;
}

.kling-refer-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e4e7ed;
    background: #fafafa;
    display: inline-block;
}

.kling-refer-image-wrap.kling-refer-image-clickable {
    cursor: pointer;
}

.kling-refer-image-wrap.kling-refer-image-clickable:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.kling-refer-image-wrap.kling-refer-image-pending {
    padding: 24px 32px;
}

.kling-refer-image {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    vertical-align: middle;
}

.kling-refer-image-placeholder {
    font-size: 15px;
    color: #909399;
}

.empty-tip {
    color: #909399;
    font-size: 16px;
    text-align: center;
    padding: 40px 0;
    margin: 0;
}

/* 内容创作面板的搜索区域样式（纵向布局） */
.content-search-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.content-search-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-search-box .input-label {
    margin-bottom: 0;
}

/* 内容创作历史脚本的进度显示样式 */
.content-history-progress-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.content-history-progress-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.content-history-progress-label {
    font-size: 14px;
    color: #606266;
}

.content-history-progress-text {
    font-size: 14px;
    color: #606266;
    font-weight: 500;
}

/* 图片查看器模态框样式 */
.image-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.image-viewer-close:hover {
    color: #4777FF;
    transform: scale(1.1);
}

.image-viewer-img-wrap {
    position: relative;
    line-height: 0;
}

.image-viewer-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-viewer-image.has-magnifier {
    cursor: zoom-in;
}

/* 大图放大镜：跟随鼠标，显示局部放大区域 */
.image-viewer-magnifier {
    position: fixed;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 10002;
    background-repeat: no-repeat;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.image-viewer-magnifier.is-visible {
    opacity: 1;
    visibility: visible;
}

.content-history-status-badge {
    margin-top: 2px;
}

.content-history-status-badge .status-badge {
    font-size: 12px;
    padding: 2px 8px;
}

.content-history-status-badge .status-badge img {
    width: 14px;
    height: 14px;
}

/* 内容创作历史卡片头部样式 */
.content-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.content-history-avatar-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.content-history-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e4e7ed;
    flex-shrink: 0;
}

.content-history-talent-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.content-history-talent-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-history-talent-id {
    font-size: 14px;
    color: #606266;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-history-product-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e4e7ed;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.content-history-product-image:hover {
    border-color: #4777FF;
    box-shadow: 0 2px 8px rgba(71, 119, 255, 0.2);
}

/* ========== 首页相关样式 ========== */
/* 首页整体滚动容器：粉白背景 + 纵向翻页（PPT 式切屏，参考巨量星图） */
.home-content {
    padding: 0;
    margin: -32px -40px;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fa 30%, #ffe8ef 100%);
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-content::-webkit-scrollbar {
    display: none;
}

/* 首页右侧滚动节点：表示当前第几屏，仅首页显示 */
.home-scroll-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
}

.home-scroll-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d4d9;
    transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.home-scroll-indicator-dot.active {
    background: #5eb8ff;
    width: 10px;
    height: 14px;
    border-radius: 50%;
}

/* 第一屏：占满一屏，三行网格，视频区水平+垂直居中 */
.home-screen-1.home-content-grid {
    position: relative;
    padding: 20px 0 0;
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    box-sizing: border-box;
}

/* 第二屏：主标题 + 4 模块 1x4 一排，占满一屏；内容过多时屏内可滚动 */
.home-screen-2 {
    min-height: 100vh;
    height: 100vh;
    padding: clamp(32px, 5vh, 48px) clamp(24px, 4vw, 48px) clamp(32px, 5vh, 48px);
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.home-screen-2-title {
    text-align: center;
    font-size: clamp(25px, 1.35vw + 0.5rem, 40px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 clamp(32px, 5vh, 56px);
    letter-spacing: -0.02em;
    width: 100%;
    opacity: 0;
}

.home-screen-2.is-visible .home-screen-2-title {
    animation: home-second-title-pop-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.home-screen-2-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 32px);
    max-width: min(1400px, 96vw);
    width: 100%;
    margin: 0 auto;
}

.home-module {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 24px);
    padding-bottom: clamp(28px, 4vw, 48px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    opacity: 0;
}

.home-screen-2.is-visible .home-module {
    animation: home-second-pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-screen-2.is-visible .home-screen-2-modules .home-module:nth-child(1) { animation-delay: 0.12s; }
.home-screen-2.is-visible .home-screen-2-modules .home-module:nth-child(2) { animation-delay: 0.2s; }
.home-screen-2.is-visible .home-screen-2-modules .home-module:nth-child(3) { animation-delay: 0.28s; }
.home-screen-2.is-visible .home-screen-2-modules .home-module:nth-child(4) { animation-delay: 0.36s; }

/* 第二屏主标题：先弹出 */
@keyframes home-second-title-pop-in {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes home-second-pop-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-module-title {
    font-size: clamp(19px, 0.95vw + 0.5rem, 25px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.home-module-subtitle {
    font-size: clamp(17px, 0.9vw + 0.5rem, 21px);
    color: #3a3a3a;
    line-height: 1.55;
    margin: 0;
}

.home-module-images {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-top: 8px;
    position: relative;
}

.home-module-images img {
    flex: 0 1 55%;
    width: 55%;
    min-width: 0;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.home-module-images img:first-child {
    z-index: 2;
    transform: translateY(clamp(-12px, -1.5vh, -20px));
}

.home-module-images img:last-child {
    z-index: 1;
    margin-left: clamp(-80px, -18%, -140px);
    transform: translateY(clamp(12px, 1.5vh, 20px));
}

.home-module-images img:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.home-module-images img:first-child:hover {
    transform: translateY(clamp(-12px, -1.5vh, -20px)) scale(1.02);
}

.home-module-images img:last-child:hover {
    transform: translateY(clamp(12px, 1.5vh, 20px)) scale(1.02);
}

@media (max-width: 1024px) {
    .home-screen-2-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-screen-2-modules {
        grid-template-columns: 1fr;
    }
}

/* 第三屏：深紫→粉紫渐变背景 + 点状纹理 + 主标题 + 三模块 1x3 玻璃拟态 */
.home-screen-3 {
    min-height: 100vh;
    height: 100vh;
    padding: clamp(32px, 5vh, 48px) clamp(24px, 4vw, 48px);
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1a0030;
    background-image:
        radial-gradient(ellipse 100% 85% at 85% 95%, rgba(224, 0, 176, 0.45) 0%, rgba(138, 43, 226, 0.25) 35%, transparent 65%),
        radial-gradient(ellipse 70% 60% at 15% 15%, rgba(44, 0, 64, 0.9) 0%, transparent 55%),
        linear-gradient(155deg, #2C0040 0%, #1f0038 25%, #2a0048 50%, #3d0060 75%, #4a0070 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    overflow-y: auto;
}

.home-screen-3-title {
    text-align: center;
    font-size: clamp(25px, 1.35vw + 0.5rem, 40px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin: 0 0 clamp(40px, 6vh, 64px);
    letter-spacing: -0.02em;
    width: 100%;
    opacity: 0;
}

.home-screen-3.is-visible .home-screen-3-title {
    animation: home-third-title-pop-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.home-screen-3-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
    max-width: min(1100px, 92vw);
    width: 100%;
    margin: 0 auto;
}

/* 玻璃拟态：半透明 + 背景模糊 + 边缘高光（悬停放大在内层，避免被入场动画 transform 覆盖） */
.home-screen-3-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
}

.home-screen-3-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 1.5vw, 20px);
    transition: transform 0.3s ease;
}

.home-screen-3-card:hover .home-screen-3-card-inner {
    transform: scale(1.12);
}

.home-screen-3.is-visible .home-screen-3-card {
    animation: home-third-pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-screen-3.is-visible .home-screen-3-modules .home-screen-3-card:nth-child(1) { animation-delay: 0.1s; }
.home-screen-3.is-visible .home-screen-3-modules .home-screen-3-card:nth-child(2) { animation-delay: 0.2s; }
.home-screen-3.is-visible .home-screen-3-modules .home-screen-3-card:nth-child(3) { animation-delay: 0.3s; }

/* 模块内层级：大标题最大加粗 → 副标题 → 主标题最小 */
.home-screen-3-big {
    font-size: clamp(40px, 4vw, 63px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    margin: 0;
}

.home-screen-3-subtitle {
    font-size: clamp(17px, 0.95vw + 0.4rem, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.home-screen-3-main {
    font-size: clamp(20px, 1.15vw + 0.6rem, 27px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin: 0;
}

@keyframes home-third-title-pop-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes home-third-pop-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 900px) {
    .home-screen-3-modules {
        grid-template-columns: 1fr;
    }
}

/* 第四屏：背景同第三屏 + 主标题 + 六模块 2x3，每模块不同过渡色 + 玻璃拟态 + 悬停放大 */
.home-screen-4 {
    min-height: 100vh;
    height: 100vh;
    padding: clamp(32px, 5vh, 48px) clamp(24px, 4vw, 48px);
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1a0030;
    background-image:
        radial-gradient(ellipse 100% 85% at 85% 95%, rgba(224, 0, 176, 0.45) 0%, rgba(138, 43, 226, 0.25) 35%, transparent 65%),
        radial-gradient(ellipse 70% 60% at 15% 15%, rgba(44, 0, 64, 0.9) 0%, transparent 55%),
        linear-gradient(155deg, #2C0040 0%, #1f0038 25%, #2a0048 50%, #3d0060 75%, #4a0070 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    overflow-y: auto;
}

.home-screen-4-title {
    text-align: center;
    font-size: clamp(25px, 1.35vw + 0.5rem, 40px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin: 0 0 clamp(40px, 6vh, 64px);
    letter-spacing: -0.02em;
    width: 100%;
    opacity: 0;
}

.home-screen-4.is-visible .home-screen-4-title {
    animation: home-fourth-title-pop-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.home-screen-4-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: clamp(16px, 2.5vw, 24px);
    max-width: min(1100px, 92vw);
    width: 100%;
    margin: 0 auto;
}

.home-screen-4-card {
    border-radius: 16px;
    padding: clamp(20px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
}

/* 六个模块不同过渡色 */
.home-screen-4-card:nth-child(1) { background: linear-gradient(135deg, rgba(59, 130, 246, 0.32), rgba(34, 211, 238, 0.28)); }
.home-screen-4-card:nth-child(2) { background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(236, 72, 153, 0.28)); }
.home-screen-4-card:nth-child(3) { background: linear-gradient(135deg, rgba(249, 115, 22, 0.32), rgba(245, 158, 11, 0.28)); }
.home-screen-4-card:nth-child(4) { background: linear-gradient(135deg, rgba(34, 197, 94, 0.32), rgba(20, 184, 166, 0.28)); }
.home-screen-4-card:nth-child(5) { background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.28)); }
.home-screen-4-card:nth-child(6) { background: linear-gradient(135deg, rgba(244, 63, 94, 0.32), rgba(225, 29, 72, 0.28)); }

.home-screen-4-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(10px, 1.2vw, 16px);
    transition: transform 0.3s ease;
}

.home-screen-4-card:hover .home-screen-4-card-inner {
    transform: scale(1.12);
}

.home-screen-4.is-visible .home-screen-4-card {
    animation: home-fourth-pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(1) { animation-delay: 0.06s; }
.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(2) { animation-delay: 0.12s; }
.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(3) { animation-delay: 0.18s; }
.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(4) { animation-delay: 0.24s; }
.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(5) { animation-delay: 0.3s; }
.home-screen-4.is-visible .home-screen-4-modules .home-screen-4-card:nth-child(6) { animation-delay: 0.36s; }

/* 模块内层级：大标题 > 主标题 > 副标题 */
.home-screen-4-big {
    font-size: clamp(36px, 3.5vw, 54px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1;
    margin: 0;
}

.home-screen-4-main {
    font-size: clamp(19px, 1.05vw + 0.5rem, 25px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin: 0;
}

.home-screen-4-subtitle {
    font-size: clamp(15px, 0.8vw + 0.35rem, 17px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

@keyframes home-fourth-title-pop-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes home-fourth-pop-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 900px) {
    .home-screen-4-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .home-screen-4-modules {
        grid-template-columns: 1fr;
    }
}

/* 第五屏：仅主标题，粉白背景同第一屏，主标题垂直水平居中、黑色加粗、响应式字号 */
.home-screen-5 {
    min-height: 100vh;
    height: 100vh;
    padding: clamp(24px, 4vw, 48px);
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fa 30%, #ffe8ef 100%);
    overflow-y: auto;
}

.home-screen-5-title {
    margin: 0;
    text-align: center;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    letter-spacing: -0.02em;
    max-width: min(900px, 92vw);
    font-size: clamp(22px, 2.2vw + 0.9rem, 40px);
}

.home-screen-5-title .home-screen-5-char {
    display: inline;
    opacity: 0;
    animation: fifth-char-in 0.35s ease forwards;
}

.home-screen-5-title.home-screen-5-title-reset .home-screen-5-char {
    opacity: 0;
    animation: none;
}

.home-screen-5-title.home-screen-5-title-animate .home-screen-5-char {
    animation: fifth-char-in 0.35s ease forwards;
}

@keyframes fifth-char-in {
    from {
        opacity: 0;
        transform: translateY(0.15em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-hero-top {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 40px);
    min-height: 0;
}

.home-video-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(1400px, 92vw);
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
    box-sizing: border-box;
}

.home-video-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 clamp(20px, 3vw, 40px) clamp(32px, 4vh, 48px);
    min-height: 0;
}

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(16px, 2vw, 24px);
    padding-bottom: clamp(12px, 2.5vh, 24px);
    box-sizing: border-box;
}

.home-hero-title {
    font-size: clamp(25px, 1.35vw + 0.5rem, 40px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 clamp(8px, 1.2vh, 16px);
    letter-spacing: -0.02em;
}

.home-hero-title .line1,
.home-hero-title .line2 {
    display: block;
}

.home-hero-subtitle {
    font-size: clamp(16px, 0.75vw + 0.4rem, 22px);
    color: #3a3a3a;
    line-height: 1.6;
    margin: 0;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .home-hero-subtitle { white-space: normal; }
}

/* 首次下滑后主/副标题动画：先淡出再淡入 */
.home-hero .home-hero-title,
.home-hero .home-hero-subtitle {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-hero.home-hero-animating-out .home-hero-title,
.home-hero.home-hero-animating-out .home-hero-subtitle {
    opacity: 0;
    transform: translateY(-8px);
}

.home-hero.home-hero-scrolled .home-hero-title,
.home-hero.home-hero-scrolled .home-hero-subtitle {
    animation: home-hero-text-in 0.5s ease forwards;
}

@keyframes home-hero-text-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 向上滑动恢复时，主/副标题淡入 */
.home-hero.home-hero-restored .home-hero-title,
.home-hero.home-hero-restored .home-hero-subtitle {
    animation: home-hero-text-in 0.5s ease forwards;
}


/* 首页视频展示区：整体随视口缩放，下方留空避免遮挡「好内容就是好生意」 */
.home-video-carousel {
    position: relative;
    width: 100%;
    height: clamp(360px, 20vw, 520px);
    max-height: 55vh;
    overflow: visible;
    margin-bottom: clamp(32px, 5vh, 64px);
}

.home-video-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-video-carousel-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(220px, 13.2vw, 336px);
    height: clamp(293px, 17.6vw, 448px);
    margin-left: clamp(-110px, -6.6vw, -168px);
    margin-top: clamp(-147px, -8.8vw, -224px);
    transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    z-index: 1;
    pointer-events: none;
    transform-origin: center center;
}

.home-video-carousel-item.center {
    z-index: 10;
    pointer-events: auto;
}

.home-video-carousel-item.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.home-video-carousel-item .carousel-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: clamp(10px, 1vw, 16px);
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.home-video-carousel-item.center .carousel-item-inner {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.home-video-carousel-item.center:hover .carousel-item-inner {
    transform: scale(1.3);
}

.home-video-carousel-item:not(.center) .carousel-item-inner {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.home-video-carousel-item .carousel-item-inner video,
.home-video-carousel-item .carousel-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-video-carousel-item .carousel-item-inner img {
    pointer-events: none;
}

.home-video-carousel-item .carousel-item-inner video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.home-video-carousel-item .carousel-item-inner .carousel-item-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-video-carousel-empty {
    text-align: center;
    color: #909399;
    padding: 48px 24px;
    font-size: 17px;
}

/* 视频区域下方标语：与视频区保留间隔，避免被轮播遮挡 */
.home-tagline-below-video {
    text-align: center;
    font-size: clamp(18px, 0.9vw + 0.4rem, 25px);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    margin-top: 0;
    padding: 0 clamp(16px, 2vw, 24px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, max-height 0.45s ease, padding 0.45s ease, transform 0.45s ease;
}

.home-tagline-below-video.is-visible {
    max-height: clamp(80px, 12vh, 120px);
    margin-top: clamp(16px, 2vh, 24px);
    padding: clamp(20px, 3vh, 32px) clamp(16px, 2vw, 24px) clamp(16px, 2.5vh, 24px);
    opacity: 1;
    transform: translateY(0);
}

/* 首页底部提示：滑动了解更多，在「好内容就是好生意」下方且有间隔 */
.home-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1vh, 8px);
    margin-top: clamp(24px, 4vh, 48px);
    margin-bottom: clamp(20px, 3vh, 32px);
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.55);
    font-size: clamp(14px, 0.7vw + 0.3rem, 16px);
    pointer-events: none;
}

.home-scroll-hint-text {
    letter-spacing: 0.02em;
}

.home-scroll-hint-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    animation: home-scroll-hint-bounce 2s ease-in-out infinite;
}

@keyframes home-scroll-hint-bounce {
    0%, 100% { transform: rotate(45deg) translateY(-2px); }
    50% { transform: rotate(45deg) translateY(4px); }
}

/* 视频弹窗：带声音、进度条 */
.home-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.home-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.home-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.home-video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.home-video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
}

.home-video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.home-video-modal-video {
    display: block;
    width: 100%;
    max-height: 80vh;
    vertical-align: top;
}

.welcome-section {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.welcome-section h2 {
    font-size: 36px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 16px;
}

.welcome-section p {
    font-size: 18px;
    color: #606266;
}

.quick-access {
    margin-top: 40px;
}

.quick-access h3 {
    font-size: 22px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 24px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.quick-access-item {
    background: #ffffff;
    border: 1px solid #e4e7ed;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-access-item:hover {
    border-color: #4777FF;
    box-shadow: 0 4px 12px rgba(71, 119, 255, 0.15);
    transform: translateY(-2px);
}

.quick-access-icon {
    font-size: 54px;
    margin-bottom: 16px;
}

.quick-access-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 8px;
}

.quick-access-desc {
    font-size: 16px;
    color: #909399;
    line-height: 1.5;
}

/* 个人中心弹窗 */
.personal-center-modal .personal-center-content {
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.personal-center-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #ebeef5;
    flex-shrink: 0;
}

.personal-center-back-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    color: #606266;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.personal-center-back-btn:hover {
    border-color: #4777FF;
    color: #4777FF;
}

.personal-center-title {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin: 0;
}

.personal-center-body {
    padding: 24px 20px;
    overflow-y: auto;
    flex: 1;
}

.personal-center-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.personal-center-menu-item {
    padding: 14px 18px;
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 17px;
    color: #303133;
    cursor: pointer;
    transition: all 0.2s ease;
}

.personal-center-menu-item:hover {
    background: rgba(71, 119, 255, 0.08);
    border-color: #4777FF;
    color: #4777FF;
}

/* 个人中心弹窗内个人信息编辑表单 */
.personal-center-profile-view .profile-form .form-group {
    margin-bottom: 20px;
}

.personal-center-profile-view .form-label {
    display: block;
    font-size: 16px;
    color: #606266;
    margin-bottom: 8px;
    font-weight: 500;
}

.personal-center-profile-view .form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 16px;
    color: #303133;
}

.personal-center-profile-view .form-input:focus {
    outline: none;
    border-color: #4777FF;
}

.personal-center-profile-view .form-hint {
    font-size: 15px;
    color: #909399;
    margin-bottom: 12px;
}

/* 个人中心弹窗内头像编辑区域 */
.pc-avatar-edit-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px;
    background: linear-gradient(145deg, #f8f9fc 0%, #f0f2f8 100%);
    border: 1px solid #e8eaef;
    border-radius: 14px;
}

.pc-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(71, 119, 255, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-avatar-wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(71, 119, 255, 0.22);
}

.pc-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    border-radius: 50%;
}

.pc-avatar-wrap:hover::after {
    background: rgba(0, 0, 0, 0.35);
}

.pc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pc-avatar-view-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.pc-avatar-wrap:hover .pc-avatar-view-hint {
    opacity: 1;
}

.pc-avatar-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.pc-avatar-desc {
    font-size: 15px;
    color: #909399;
    margin: 0;
    line-height: 1.5;
}

.pc-avatar-change-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    color: #4777FF;
    border: 1px solid #4777FF;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.pc-avatar-change-btn:hover {
    background: rgba(71, 119, 255, 0.08);
    border-color: #3a68ff;
    color: #3a68ff;
}

.pc-avatar-change-icon {
    font-size: 18px;
}

.personal-center-profile-view .phone-display-row {
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    color: #303133;
}

.personal-center-profile-view .phone-verify-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.personal-center-profile-view .phone-verify-label {
    flex: 0 0 100px;
    font-size: 16px;
    color: #606266;
}

.personal-center-profile-view .form-input-inline {
    flex: 1;
    min-width: 100px;
}

.personal-center-profile-view .btn-send-code {
    padding: 10px 16px;
    background-color: #4777FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

.personal-center-profile-view .btn-send-code:hover {
    background-color: #3a68ff;
}

.personal-center-profile-view .btn-send-code:disabled {
    background-color: #c0c4cc;
    cursor: not-allowed;
}

.personal-center-profile-view .form-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #ebeef5;
}

/* 达人信息报告生成统计视图 */
.personal-center-report-view {
    display: none;
    position: relative;
}

/* 统计页加载遮罩（报告/脚本统计内使用） */
.pc-stats-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: auto;
    cursor: wait;
    border-radius: 0 0 12px 12px;
}

.pc-stats-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pc-stats-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e4e7ed;
    border-top-color: #4777FF;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.pc-stats-loading-text {
    color: #606266;
    font-size: 16px;
}

.pc-report-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pc-report-card {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f5ff 100%);
    border: 1px solid #e0e7ff;
}

.pc-report-card-label {
    font-size: 15px;
    color: #909399;
    margin-bottom: 8px;
}

.pc-report-card-value {
    font-size: 25px;
    font-weight: 600;
    color: #303133;
}

.pc-report-chart-section {
    padding: 18px 20px 12px;
    border-radius: 12px;
    border: 1px solid #e8eaef;
    background: #fff;
}

.pc-report-chart-title {
    font-size: 17px;
    font-weight: 500;
    color: #303133;
    margin-bottom: 8px;
}

.pc-report-date-tip {
    font-size: 14px;
    color: #909399;
    margin-bottom: 6px;
}

.pc-report-chart-legend {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #606266;
    margin-bottom: 8px;
}

.pc-report-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pc-report-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pc-report-legend-total {
    background: #4777FF;
}

.pc-report-legend-success {
    background: #67C23A;
}

#pc-report-chart,
#pc-report-chart-total,
#pc-report-chart-success {
    width: 100%;
    max-width: 100%;
    display: block;
    background: #fafbfc;
    border-radius: 8px;
}

.pc-report-chart-empty {
    margin-top: 8px;
    font-size: 15px;
    color: #909399;
    text-align: center;
}

/* 内容创作脚本生成统计视图 */
.personal-center-script-view {
    display: none;
    position: relative;
}

.pc-script-date-tips {
    margin-bottom: 12px;
}

.pc-script-date-tip {
    font-size: 14px;
    color: #909399;
    margin-bottom: 6px;
}

.pc-script-section-divider {
    height: 1px;
    background: #e4e7ed;
    margin: 14px 0 16px 0;
}

.pc-report-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.pc-report-card-head .pc-report-card-label {
    margin-bottom: 0;
}

.pc-report-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pc-report-chart-head .pc-report-chart-title {
    margin-bottom: 0;
}

.pc-script-tag-select-inline {
    padding: 4px 8px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    color: #303133;
    background: #fff;
    min-width: 72px;
}

.pc-script-tag-select-inline:focus {
    outline: none;
    border-color: #4777FF;
}

.pc-script-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-script-summary .pc-report-card {
    min-width: 160px;
    flex: 1;
}

#pc-script-chart-total,
#pc-script-chart-success,
#pc-video-chart-total,
#pc-video-chart-success {
    width: 100%;
    max-width: 100%;
    display: block;
    background: #fafbfc;
    border-radius: 8px;
}

/* 个人中心 - 导出记录列表（达人报告 / 内容脚本） */
.personal-center-export-view {
    display: none;
    height: 100%;
    min-height: 320px;
}
.personal-center-export-view .pc-export-list-wrap {
    height: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 4px;
}
.personal-center-export-view .pc-export-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.personal-center-export-view .pc-export-item {
    padding: 12px 14px;
    border-bottom: 1px solid #ebeef5;
    cursor: pointer;
    transition: background 0.15s;
}
.personal-center-export-view .pc-export-item:hover {
    background: #f5f7fa;
}
.personal-center-export-view .pc-export-item .pc-export-row {
    font-size: 15px;
    color: #606266;
    line-height: 1.5;
    margin-bottom: 4px;
}
.personal-center-export-view .pc-export-item .pc-export-row:last-child {
    margin-bottom: 0;
}
.personal-center-export-view .pc-export-item .pc-export-row .label {
    color: #909399;
    margin-right: 6px;
}
.personal-center-export-view .pc-export-loading,
.personal-center-export-view .pc-export-nomore,
.personal-center-export-view .pc-export-empty {
    text-align: center;
    padding: 16px;
    font-size: 15px;
    color: #909399;
}
