    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0; /* 去掉顶部 padding */
        background-color: #f5f5f5;
    }
    .nav-header {
        background-color: white;
        padding: 8px 10px;  /* 确保和首页一致 */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .nav-container {
        max-width: none;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 0;
        padding-right: 30px;
    }

    .logo {
        font-size: 1.5em;
        font-weight: bold;
        text-decoration: none;
        background: linear-gradient(90deg, #b23da4, #6262e4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .main-nav {
        display: flex;
        gap: 5px;
        align-items: center;  /* 确保导航项垂直居中 */
    }

    .nav-item {
        color: #333;
        text-decoration: none;
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 6px;
    }

    .nav-item:hover {
        text-decoration: underline;
    }

    .nav-item.active {
        background-color: #f6f0ff;
        color: #7A40FB;
        font-weight: bold;
    }

    .nav-buttons {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .nav-button {
        padding: 8px 15px;
        background-color: transparent;
        color: #000;
        border: none;
        cursor: pointer;
        text-decoration: none;
        font-size: 14px;
    }

    .nav-button:hover {
        text-decoration: underline;
        background-color: transparent;
    }

    .user-stats {
        display: flex;
        flex-direction: column;
        font-size: 14px;
        color: #333;
    }

    .user-dropdown {
        position: relative;
        cursor: pointer;
    }

    .user-info-display {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 6px;
    }

    .lucide-icon {
        width: 24px;
        height: 24px;
        stroke: #333;
    }

    .dropdown-arrow {
        font-size: 12px;
    }

    .dropdown-menu {
        position: absolute;
        top: 40px;
        right: 0;
        background-color: white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border-radius: 6px;
        padding: 4px 0;
        width: 140px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        pointer-events: none;
        z-index: 999;
    }
    .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-item {
        padding: 5px 0px;
        font-size: 14px;
        color: #333;
        text-align: center;
        cursor: pointer;
    }

    .dropdown-item:hover {
        background-color: #f5f5f5;
    }

    /*页面工作区样式*/
    .main-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding-top: 100px; /* 避开 fixed header，适配实际高度 */
    gap: 2rem;
    }


    /*左侧面试记录、充值记录、邀请记录的样式*/
    .content-area {
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    background: white; 
    padding: 1rem;
    flex: 1.5;
    overflow-x: auto;
    }

    .content-wrapper {
    border-radius: 0.5rem;
    }

    /* 表头 */
    .table-header {
    display: grid; /* 取消默认隐藏 */
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    }

    .invite-code {
    display: flex;
    align-items: center;
    gap: 0.3rem; /* 控制 code 和按钮之间的间距，可调整 */
    }
    .btn-outline {
    white-space: nowrap;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;          /* 图标与文字间距 */
    white-space: nowrap;   /* 禁止换行 */
    }

    .table-row.pc {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 1rem;
        padding: 0.75rem 1rem;
        align-items: center;
        font-size: 0.875rem;
        border-bottom: 1px solid #f3f4f6;
        transition: background-color 0.3s;
        cursor: pointer;
        background: linear-gradient(to right, rgba(237, 233, 254, 0.4), transparent);
    }

    .table-row.pc:hover {
        background: linear-gradient(to right, rgba(237, 233, 254, 0.5), transparent);
    }

    /* 行样式（移动端） */
    .table-row.mobile {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s;
    cursor: pointer;
    background: linear-gradient(to right, rgba(237, 233, 254, 0.4), transparent);
    }

    .table-row.mobile:hover {
    background: linear-gradient(to right, rgba(237, 233, 254, 0.5), transparent);
    }

    .row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    }

    .row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 1rem;
    font-size: 0.75rem;
    color: #6b7280;
    }

    .cell-title {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    .text-gradient {
    background: linear-gradient(to right, #6841ea, #3e54fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }

    .tag-level {
    font-size: 10px;
    font-weight: 500;
    background: linear-gradient(to right, #ede9fe, #dbeafe);
    color: #7c3aed;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    }

    .cell {
    color: #6b7280;
    }

    .cell-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    .status-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    }

    .status-label:hover {
    background: #e5e7eb;
    }

    .label {
    color: #9ca3af;
    }

    /* 分页样式 */
    .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    }

    .pagination-info {
    font-size: 0.875rem;
    color: #6b7280;
    }

    .pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    .btn-disabled {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border: none;
    }

    .page-buttons {
    display: flex;
    gap: 0.25rem;
    }

    .btn-page {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #374151;
    border: none;
    }

    .btn-page.active {
    background: #7c3aed;
    color: white;
    }

    /*右侧邀请码、管理简历、积分展示、说明部分的样式*/
    /* 容器布局 */
    .user-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    }

    /* 用户卡片 */
    .user-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    }

    .user-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    }

    .lucide-share {
    width: 14px;
    height: 14px;
    transform: scale(0.6) translateY(-4px);
    transform-origin: center;
    stroke: #7c3aed;
    vertical-align: middle;
    overflow: visible; /* 添加这一行 */
    }

    .avatar {
    font-size: 50px !important;     /* 大小 */
    color: #555;          /* 颜色 */
    margin-right: 5px;   /* 与文字间距 */
    transform: translateY(1px); /* 微调位置 */
    }

    .avatar:hover {
    transform: scale(1.05);
    }

    /* 职位头衔动画 */
    .job-title {
    position: relative;
    }

    .job-name {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #6841ea, #3e54fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s;
    }

    .dream-job:hover .job-name {
    transform: scale(1.05);
    }

    .dream-job:hover .job-glow {
    transform: translateX(100%);
    }

    .job-pulse {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    }

    .dream-job:hover .job-pulse {
    opacity: 1;
    }

    .pulse-effect {
    background: linear-gradient(to right, rgba(216, 180, 254, 0.1), rgba(191, 219, 254, 0.1), rgba(216, 180, 254, 0.1));
    border-radius: 0.75rem;
    width: 100%;
    height: 100%;
    animation: pulse 2s infinite;
    filter: blur(32px);
    }

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

    /* 邀请码区域 */
    .invite-section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    }

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

    .invite-label {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    gap: 0.25rem;
    align-items: center;
    }

    .tooltip-group {
    position: relative;
    margin-top: 5px;
    }

    .tooltip-icon {
    width: 1rem;
    height: 1rem;
    color: #9ca3af;
    cursor: help;
    }

    .tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    background: white;
    color: #374151;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    }

    .tooltip-group:hover .tooltip-text {
    opacity: 1;
    }

    .tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 1rem;
    margin-top: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    }

    /* 复制按钮 */
    .btn-outline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.25rem;
    font-size: 0.875rem;
    color: #7c3aed;
    background-color: #f5f3ff;
    border: 1px solid #ede9fe;
    border-radius: 0.4rem;
    transition: background-color 0.2s, border-color 0.2s;
    }

    .btn-outline:hover {
    background-color: #ede9fe;
    border-color: #ddd6fe;
    }

    .btn-manage {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e9d5ff;
    color: #7c3aed;
    background-color: white;
    transition: background-color 0.3s;
    margin-top: 1rem;
    }

    .btn-manage:hover {
    background-color: #f3e8ff;
    }

    .btn-text {
    padding-top: 1px;
    padding-bottom: 0;
    font-size: 0.875rem;
    }
    /* 面试积分卡片 */
    .interview-balance {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    }

    .balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    }

    .balance-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    }

    .btn-recharge {
    font-size: 0.875rem;
    color: #7c3aed;
    background: none;
    border: none;
    cursor: pointer;
    }

    .btn-recharge:hover {
    color: #6d28d9;
    }
    
    .balance-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    }

    .balance-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    }

    .balance-item.standard {
    background-color: rgba(237, 233, 254, 0.5);
    }

    .balance-item.premium {
    position: relative;
    }

    .item-hover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(104, 65, 234, 0.2), rgba(62, 84, 251, 0.2));
    border-radius: 0.5rem;
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s;
    }

    .balance-item.premium:hover .item-hover-bg {
    opacity: 1;
    }

    .item-content {
    position: relative;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: linear-gradient(to right, rgba(237, 233, 254, 0.5), rgba(219, 234, 254, 0.5));
    border: 1px solid rgba(216, 180, 254, 0.3);
    }

    .item-label {
    font-size: 0.875rem;
    color: #4b5563;
    }

    .item-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #7c3aed;
    }

    .gradient-text {
    background: linear-gradient(to right, #6841ea, #3e54fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }

    /* 高级特权 */
    .vip-features {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    }

    .vip-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
    }

    .feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    }

    .feature-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    }

    .feature-icon {
    width: 1rem;
    height: 1rem;
    background: #f3e8ff;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.125rem;
    }

    .icon-check {
    width: 0.75rem;
    height: 0.75rem;
    color: #7c3aed;
    }

    .feature-text {
    font-size: 0.75rem;
    color: #4b5563;
    line-height: 1.5;
    }

    .btn-upgrade {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(to right, #faf5ff, #eff6ff);
    color: #7c3aed;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    }

    .btn-upgrade:hover {
    background: linear-gradient(to right, #ede9fe, #dbeafe);
    }

    /* PC端默认隐藏菜单*/
    .hamburger-icon {
        display: none; 
    }
    /*移动端适配，媒体查询*/
    @media (max-width: 810px) {
        .main-nav,
        #userStats {
            display: none !important;
        }

        .avatar-icon {
            display: none;
        }

        .hamburger-icon {
            display: inline-block;
            width: 24px;
            height: 24px;
            cursor: pointer;
        }

        .main-layout {
            flex-direction: column-reverse;
            padding-top: 80px;
            gap: 1rem;
        }

        .chat-column.recognition {
            display: block !important;
            order: -1; /* 放到 response 上面 */
            height: 120px; /* 根据需要调整高度 */
            overflow-y: auto;
            padding: 0.5rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.5rem;
            background-color: #fff;
            margin-bottom: 1rem;
        }

        .chat-column.response {
            order: 0;
        }

        .chat-container {
            display: flex;
            flex-direction: column;
        }

    }