/* ============================================================
   PC端样式 (仿淘宝/阿里巴巴布局)
   顶部导航 + 左侧栏(收藏夹/实用工具) + 主内容(50行8列) + 右侧栏(消息/客服/反馈/回顶部)
   ============================================================ */

/* ===== 顶部条 ===== */
.top-bar {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    font-size: 12px;
    color: var(--gray-600);
}
.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: var(--gray-600); margin: 0 8px; }
.top-bar a:hover { color: var(--pink-600); }
.top-bar .sep { color: var(--gray-300); }

/* ===== 头部 ===== */
.site-header {
    background: #fff;
    border-bottom: 2px solid var(--pink-500);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--pink-600);
    white-space: nowrap;
}
.site-logo .heart { color: var(--pink-500); }
.site-slogan {
    font-size: 13px;
    color: var(--gray-500);
    border-left: 2px solid var(--pink-300);
    padding-left: 12px;
    line-height: 1.4;
}
.header-search {
    flex: 1;
    max-width: 600px;
}
.search-box {
    display: flex;
    border: 2px solid var(--pink-500);
    border-radius: 4px;
    overflow: hidden;
}
.search-box select {
    border: none;
    border-right: 1px solid var(--gray-200);
    padding: 0 12px;
    background: var(--gray-50);
    color: var(--gray-700);
}
.search-box input {
    flex: 1;
    border: none;
    padding: 8px 12px;
}
.search-box button {
    border: none;
    background: var(--pink-500);
    color: #fff;
    padding: 0 24px;
    cursor: pointer;
    font-size: 14px;
}
.search-box button:hover { background: var(--pink-600); }
.search-hot {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-500);
}
.search-hot a { color: var(--gray-600); margin-right: 12px; }
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== 主导航 ===== */
.main-nav {
    background: var(--pink-500);
    color: #fff;
}
.main-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.main-nav a {
    color: #fff;
    padding: 12px 18px;
    display: inline-block;
    font-size: 15px;
    transition: background .2s;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--pink-600);
    color: #fff;
}
.main-nav .nav-dropdown {
    position: relative;
}
.main-nav .nav-dropdown:hover .dropdown-menu {
    display: block;
}
.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: var(--gray-800);
    min-width: 160px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 100;
    border-radius: 0 0 4px 4px;
}
.main-nav .dropdown-menu a {
    color: var(--gray-800);
    padding: 8px 18px;
    display: block;
    font-size: 13px;
}
.main-nav .dropdown-menu a:hover { background: var(--pink-50); color: var(--pink-600); }

/* ===== 主体布局 ===== */
.main-container {
    max-width: 1400px;
    margin: 16px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 180px 1fr 60px;
    gap: 16px;
}

/* 左侧栏 */
.left-sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 16px;
}
.left-sidebar h3 {
    font-size: 14px;
    color: var(--pink-600);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pink-100);
    margin-bottom: 8px;
}
.left-sidebar ul li {
    padding: 6px 8px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
}
.left-sidebar ul li:hover { background: var(--pink-50); }
.left-sidebar ul li a { color: var(--gray-700); display: block; }
.left-sidebar ul li a:hover { color: var(--pink-600); }

/* 右侧悬浮栏 */
.right-float {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 56px;
    z-index: 50;
}
.right-float a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    color: var(--gray-600);
    font-size: 11px;
    border-bottom: 1px solid var(--gray-100);
    transition: all .2s;
}
.right-float a:last-child { border-bottom: none; }
.right-float a:hover { background: var(--pink-50); color: var(--pink-600); }
.right-float .float-icon { font-size: 18px; margin-bottom: 2px; }

/* ===== 海景Banner(仅首页) ===== */
.sea-banner {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #87ceeb 0%, #ffd1dc 50%, #ffb6c1 100%);
    border-radius: var(--radius);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.sea-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.3));
    animation: wave 4s ease-in-out infinite;
}
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.sea-banner .banner-content { position: relative; z-index: 2; }
.sea-banner h2 { font-size: 36px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.sea-banner p { font-size: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ===== 内容区块 ===== */
.content-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pink-100);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 18px;
    color: var(--pink-600);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-header h2 .icon { color: var(--pink-500); }
.section-header .more { font-size: 13px; color: var(--gray-500); }
.section-header .more:hover { color: var(--pink-600); }

/* ===== 相亲卡片网格 (50行8列) ===== */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.profile-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .2s;
    cursor: pointer;
}
.profile-card:hover {
    border-color: var(--pink-300);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.profile-card .card-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: var(--pink-50);
    position: relative;
    overflow: hidden;
}
.profile-card .card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-card .card-avatar .avatar-mask {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 11px;
}
.profile-card .card-info {
    padding: 8px;
}
.profile-card .card-code {
    font-size: 12px;
    color: var(--pink-600);
    font-weight: bold;
    margin-bottom: 2px;
}
.profile-card .card-meta {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
}
.profile-card .card-meta .age { color: var(--pink-500); }
.profile-card .card-tags {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.profile-card .card-tags .tag { font-size: 10px; padding: 1px 4px; }
.profile-card .card-like {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(255,255,255,.9);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    color: var(--pink-600);
}
.profile-card .rich-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* 富豪区(45行) */
.rich-section .profile-grid {
    grid-template-columns: repeat(8, 1fr);
}

/* ===== 详情页 ===== */
.profile-detail {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.profile-detail .detail-header {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}
.profile-detail .detail-avatar {
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--pink-50);
    flex-shrink: 0;
}
.profile-detail .detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-detail .detail-info { flex: 1; }
.profile-detail .detail-info h1 {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 8px;
}
.profile-detail .detail-info .code {
    color: var(--pink-600);
    font-weight: bold;
    margin-bottom: 12px;
}
.profile-detail .detail-info .meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
    margin-top: 12px;
}
.profile-detail .detail-info .meta-item {
    font-size: 13px;
    color: var(--gray-600);
}
.profile-detail .detail-info .meta-item strong { color: var(--gray-800); }
.profile-detail .detail-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.profile-section {
    margin-top: 24px;
}
.profile-section h3 {
    font-size: 16px;
    color: var(--pink-600);
    border-left: 4px solid var(--pink-500);
    padding-left: 8px;
    margin-bottom: 12px;
}
.profile-section .content {
    color: var(--gray-700);
    line-height: 1.8;
    padding: 12px;
    background: var(--pink-50);
    border-radius: var(--radius);
}

/* ===== 表单页 ===== */
.form-page {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-page h1 {
    text-align: center;
    color: var(--pink-600);
    margin-bottom: 24px;
}
.form-page .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ===== 个人中心 ===== */
.user-center {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    max-width: 1400px;
    margin: 16px auto;
    padding: 0 20px;
}
.user-sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    height: fit-content;
}
.user-sidebar .user-info {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
}
.user-sidebar .user-info .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background: var(--pink-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-600);
    font-size: 24px;
}
.user-sidebar .user-info .name { font-weight: bold; color: var(--gray-800); }
.user-sidebar .user-info .code { font-size: 12px; color: var(--pink-600); }
.user-sidebar ul li a {
    display: block;
    padding: 10px 12px;
    color: var(--gray-700);
    border-radius: 4px;
    font-size: 14px;
}
.user-sidebar ul li a:hover, .user-sidebar ul li a.active {
    background: var(--pink-50);
    color: var(--pink-600);
}
.user-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.user-content h2 {
    font-size: 18px;
    color: var(--pink-600);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

/* ===== 表格 ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
}
.data-table th {
    background: var(--pink-50);
    color: var(--pink-700);
    font-weight: 500;
}
.data-table tr:hover { background: var(--pink-50); }

/* ===== AI匹配结果 ===== */
.ai-match-result {
    background: linear-gradient(135deg, var(--pink-50), #fff);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--pink-200);
}
.ai-match-result .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.ai-match-result .match-code {
    font-weight: bold;
    color: var(--pink-600);
    font-size: 16px;
}
.ai-match-result .match-score {
    background: var(--pink-500);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.ai-match-result .match-info {
    color: var(--gray-700);
    font-size: 13px;
    margin-bottom: 8px;
}
.ai-match-result .match-reason {
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--gray-600);
    font-size: 13px;
    border-left: 3px solid var(--pink-400);
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--gray-800);
    color: var(--gray-400);
    padding: 32px 20px 16px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-col ul li {
    margin-bottom: 6px;
    font-size: 12px;
}
.footer-col ul li a { color: var(--gray-400); }
.footer-col ul li a:hover { color: var(--pink-300); }
.footer-bottom {
    max-width: 1400px;
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    font-size: 12px;
}

/* ===== 消息列表 ===== */
.message-item {
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 12px;
}
.message-item.unread { background: var(--pink-50); }
.message-item .msg-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pink-100);
    color: var(--pink-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.message-item .msg-content { flex: 1; }
.message-item .msg-title { font-weight: 500; color: var(--gray-800); }
.message-item .msg-body { color: var(--gray-600); font-size: 13px; margin-top: 4px; }
.message-item .msg-time { color: var(--gray-400); font-size: 12px; }

/* ===== 模态框 ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal h3 {
    color: var(--pink-600);
    margin-bottom: 16px;
}
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ===== 海景Banner(仅首页) ===== */
.ocean-banner {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #ff6fa3 70%, #ffc1d8 100%);
    background-image: linear-gradient(135deg, rgba(102,126,234,.7) 0%, rgba(118,75,162,.5) 30%, rgba(255,111,163,.4) 70%, rgba(255,193,216,.3) 100%),
        url('/assets/images/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.ocean-overlay { z-index: 1; }
.ocean-overlay h1 { font-size: 42px; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ocean-overlay p { font-size: 18px; margin-bottom: 24px; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.ocean-search { max-width: 600px; margin: 0 auto; }
.ocean-search-form {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.ocean-search-form select {
    border: none;
    padding: 0 16px;
    background: var(--pink-50);
    color: var(--pink-700);
    border-right: 1px solid var(--gray-200);
    cursor: pointer;
}
.ocean-search-form input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
}
.ocean-search-form button {
    background: var(--pink-500);
    color: #fff;
    border: none;
    padding: 0 32px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}
.ocean-search-form button:hover { background: var(--pink-600); }

/* ===== 主容器(左+中+右) ===== */
.main-container {
    max-width: 1400px;
    margin: 16px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
}

/* 左侧栏 */
.left-sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 12px;
    height: fit-content;
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow);
}
.left-sidebar h3 {
    font-size: 14px;
    color: var(--pink-600);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pink-100);
    margin-bottom: 8px;
}
.left-sidebar ul li {
    padding: 6px 8px;
    border-radius: 4px;
}
.left-sidebar ul li a {
    display: block;
    color: var(--gray-700);
    font-size: 13px;
}
.left-sidebar ul li:hover { background: var(--pink-50); }
.left-sidebar ul li:hover a { color: var(--pink-600); }

/* 主内容 */
.main-content { min-width: 0; }

/* 资料分区 */
.profile-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pink-100);
}
.section-header h2 {
    font-size: 18px;
    color: var(--gray-800);
}
.section-header .section-sub {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: normal;
}
.section-header .more {
    font-size: 13px;
    color: var(--pink-600);
}

/* 50行8列网格 */
.profile-grid {
    display: grid;
    gap: 12px;
}
.grid-8 { grid-template-columns: repeat(8, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 相亲卡片 */
.profile-card {
    display: block;
    background: var(--pink-50);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .2s;
    border: 1px solid transparent;
}
.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--pink-200);
}
.card-avatar {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--pink-100);
    overflow: hidden;
}
.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-avatar .avatar-mask {
    width: 100%;
    height: 100%;
    border-radius: 0;
}
.rich-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 2;
}
.card-like {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    z-index: 2;
}
.card-info { padding: 8px; }
.card-code {
    font-size: 13px;
    font-weight: bold;
    color: var(--pink-600);
    margin-bottom: 4px;
}
.card-meta {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-meta .age { color: var(--pink-600); font-weight: 500; }
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.tag {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    background: var(--gray-100);
    color: var(--gray-600);
}
.tag-green { background: #f6ffed; color: var(--green); border: 1px solid #b7eb8f; }

/* 右侧悬浮栏 */
.right-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
}
.right-float .float-item {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pink-600);
    font-size: 11px;
    transition: all .2s;
}
.right-float .float-item:hover {
    background: var(--pink-500);
    color: #fff;
}
.right-float .float-icon { font-size: 20px; margin-bottom: 2px; }

/* ===== 表单通用 ===== */
.form-page {
    max-width: 480px;
    margin: 40px auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-page h1 {
    text-align: center;
    color: var(--pink-600);
    margin-bottom: 24px;
    font-size: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-700);
    font-size: 14px;
}
.form-group label .required { color: var(--red); }
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color .2s;
}
.form-control:focus { border-color: var(--pink-500); }
.form-row {
    display: flex;
    gap: 8px;
}
.form-row .form-control { flex: 1; }
.btn-send-code {
    white-space: nowrap;
    padding: 10px 16px;
    background: var(--pink-100);
    color: var(--pink-600);
    border: 1px solid var(--pink-200);
    border-radius: var(--radius);
    cursor: pointer;
}
.btn-send-code:disabled { color: var(--gray-400); background: var(--gray-100); }
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; padding: 12px; }
.form-tip {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}
.form-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: var(--red);
    padding: 8px 12px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px;
}
.form-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: var(--green);
    padding: 8px 12px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px;
}
.agreement-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* ===== 个人中心 ===== */
.pc-page {
    max-width: 1200px;
    margin: 16px auto;
    padding: 0 20px;
}
.pc-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.pc-card h2 {
    font-size: 18px;
    color: var(--pink-600);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pink-100);
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table th, .info-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
    font-size: 14px;
}
.info-table th {
    width: 140px;
    color: var(--gray-500);
    font-weight: normal;
    background: var(--gray-50);
}
.info-table td { color: var(--gray-800); }
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.status-pending { background: #fff7e6; color: var(--orange); }
.status-pass { background: #f6ffed; color: var(--green); }
.status-fail { background: #fff2f0; color: var(--red); }

/* ===== 资料详情页 ===== */
.profile-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}
.profile-detail .detail-avatar {
    width: 320px;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--pink-100);
}
.profile-detail .detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-detail .detail-info h1 {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 8px;
}
.profile-detail .detail-code {
    font-size: 16px;
    color: var(--pink-600);
    font-weight: bold;
    margin-bottom: 16px;
}
.profile-detail .detail-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--pink-50);
    border-radius: var(--radius);
}
.profile-detail .detail-stats .stat-item .num {
    font-size: 20px;
    color: var(--pink-600);
    font-weight: bold;
}
.profile-detail .detail-stats .stat-item .label {
    font-size: 12px;
    color: var(--gray-500);
}
.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* ===== AI匹配结果 ===== */
.ai-match-result {
    background: linear-gradient(135deg, var(--pink-50), #fff);
    border: 1px solid var(--pink-200);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}
.ai-match-result .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.ai-match-result .match-code {
    font-size: 16px;
    font-weight: bold;
    color: var(--pink-600);
}
.ai-match-result .match-score {
    background: var(--pink-500);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
}
.ai-match-result .match-info {
    color: var(--gray-700);
    margin-bottom: 8px;
}
.ai-match-result .match-reason {
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    color: var(--gray-600);
    font-size: 13px;
    border-left: 3px solid var(--pink-400);
}

/* ===== 搜索筛选 ===== */
.filter-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.filter-row:last-child { margin-bottom: 0; }
.filter-row .filter-label {
    font-size: 13px;
    color: var(--gray-500);
    width: 60px;
}
.filter-row .filter-opt {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
}
.filter-row .filter-opt:hover { background: var(--pink-50); }
.filter-row .filter-opt.active {
    background: var(--pink-500);
    color: #fff;
}
