/* ============================================================
   Global Linker — 全站样式
   设计规范：国际化极简商务风
   主色 #0F3460 · 辅助 #1E90FF · 背景 #FFFFFF/#F8F9FA · 文字 #212529
   ============================================================ */

:root {
  --primary: #0F3460;
  --accent: #1E90FF;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text: #212529;
  --text-muted: #6C757D;
  --border: #E9ECEF;
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #DC2626;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(15, 52, 96, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 52, 96, 0.12);
  --shadow-lg: 0 14px 40px rgba(15, 52, 96, 0.18);
}

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

/* hidden 属性优先级低于 class 里的 display:flex/grid，需要显式兜底 */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main 自身也是 .container（margin:0 auto），在 body 的 flex 列布局中
   auto margin 会令交叉轴 stretch 失效、宽度收缩为 fit-content，
   必须显式 width:100% 让内部的 .container 正确居中限宽 */
main { flex: 1; width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 页脚上方留白：main 同时带 .container 类，`.container{padding:0 24px}`（0,1,0）
   的优先级高于 `main`（0,0,1），会把 main 的 padding-bottom 重置为 0，
   导致每页最后一个按钮/卡片紧贴页脚。这里用 main#app 提高优先级并留足呼吸空间。 */
main#app { padding: 0 24px 88px; }
/* 详情页 / 表单页最后一块内容常有 margin-top 的紧凑布局，再兜一层底部间距 */
.page > *:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- Header ---------------- */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
/* 深色 footer 中的 logo 需要浅色衬底，因为品牌图为黑字透明底 */
.logo-img-light {
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  height: 40px;
}
@media (max-width: 640px) {
  .logo-img { height: 36px; max-width: 200px; }
  .logo-img-light { height: 32px; padding: 6px 10px; }
  main#app { padding-bottom: 64px; }
}
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color 0.15s; position: relative; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a.active { color: var(--primary); }
.main-nav > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-auth { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.2s; }

/* 用户下拉菜单 */
.user-menu { position: relative; }
.user-menu .avatar-btn {
  display: flex; align-items: center; gap: 8px; background: none; border: none;
  font-weight: 600; font-size: 14px; padding: 6px; border-radius: 999px; transition: background 0.15s;
  white-space: nowrap;
}
.user-menu .avatar-btn .hide-sm {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 140px;
}
.user-menu .avatar-btn:hover { background: var(--bg); }
/* 防御：头像按钮内的图片必须受尺寸约束（防止用户上传大图后撑破导航栏） */
.user-menu .avatar-btn img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.avatar.lg { width: 84px; height: 84px; font-size: 32px; border-radius: 22px; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 236px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; display: none; z-index: 200;
}
.user-menu.open .dropdown { display: block; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  color: var(--text); background: none; border: none; text-align: left; transition: background 0.15s;
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg); }
.dropdown .badge-pending { background: var(--danger); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.dropdown hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all 0.18s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #124580; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #1877CE; transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: #FEF2F2; color: var(--danger); border-color: #FECACA; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------------- 通用组件 ---------------- */
.page { animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform 0.2s, box-shadow 0.2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: #EEF4FB; color: var(--primary);
}
.badge.opc { background: #0F3460; color: #fff; }
.badge.opc::before { content: "✓"; font-size: 10px; }
.badge.green { background: #ECFDF3; color: var(--success); }
.badge.orange { background: #FFF7E8; color: var(--warning); }
.badge.red { background: #FEF2F2; color: var(--danger); }
.badge.blue { background: #EAF4FF; color: var(--accent); }

.page-hero { padding: 56px 0 36px; text-align: center; }
.page-hero h1 { font-size: 40px; letter-spacing: -1px; line-height: 1.2; margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

.section { margin: 44px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 24px; letter-spacing: -0.5px; }
.section-head .more { color: var(--accent); font-weight: 600; font-size: 14px; }

/* 表单 */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group label .opt { color: var(--text-muted); font-weight: 400; font-size: 12px; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--surface); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12.5px; color: var(--text-muted); }
.form-error { font-size: 13px; color: var(--danger); min-height: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.form-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-check a { color: var(--accent); font-weight: 600; }
fieldset.form-group { border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px; }
fieldset.form-group legend { font-size: 14px; font-weight: 600; padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border: 1.5px solid var(--border); border-radius: 999px; font-size: 13.5px;
  cursor: pointer; transition: all 0.15s; user-select: none;
}
.check-chip:hover { border-color: var(--accent); }
.check-chip.on { background: #EAF4FF; border-color: var(--accent); color: var(--primary); font-weight: 600; }

/* Tabs（个人中心 / 后台） */
.tabs {
  display: flex; flex-wrap: wrap; gap: 6px; row-gap: 0;
  border-bottom: 2px solid var(--border); margin-bottom: 28px;
  overflow-x: auto; min-width: 0; max-width: 100%;
}
.tab {
  padding: 11px 18px; font-size: 15px; font-weight: 600; color: var(--text-muted);
  border: none; background: none; border-bottom: 2.5px solid transparent; margin-bottom: -2px;
  transition: all 0.15s; white-space: nowrap;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--accent); }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 14px; color: var(--text-muted); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.4px; border-bottom: 1.5px solid var(--border);
}
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.12s; }
.table tbody tr:hover { background: #FAFBFD; }

/* 状态徽标 */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status.pending { color: var(--warning); } .status.pending::before { background: var(--warning); }
.status.approve { color: var(--success); } .status.approve::before { background: var(--success); }
.status.reject { color: var(--danger); } .status.reject::before { background: var(--danger); }

/* Toast 提示 */
#toast-container { position: fixed; top: 80px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 280px; max-width: 380px; padding: 14px 18px; border-radius: 12px;
  background: var(--primary); color: #fff; font-size: 14.5px; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: slideIn 0.3s ease;
  display: flex; gap: 10px; align-items: flex-start;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fadeUp 0.2s ease; backdrop-filter: blur(3px);
}
.modal {
  background: var(--surface); border-radius: 16px; max-width: 520px; width: 100%;
  padding: 28px; box-shadow: var(--shadow-lg); max-height: 86vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 10px; font-size: 19px; }
.modal p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; }

/* 加载状态 */
.page-loading { display: flex; justify-content: center; padding: 120px 0; }
.spinner {
  width: 36px; height: 36px; border: 3.5px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-mask { position: relative; pointer-events: none; opacity: 0.55; }

.empty {
  text-align: center; padding: 64px 20px; color: var(--text-muted);
}
.empty .icon { font-size: 44px; margin-bottom: 12px; }
.empty h3 { color: var(--text); margin-bottom: 6px; }

/* ---------------- Footer ---------------- */
#site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.85); margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding: 48px 24px 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-desc { font-size: 13.5px; margin-top: 14px; opacity: 0.75; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 4px; letter-spacing: 0.3px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 13px; opacity: 0.65; }
/* 页脚法定备案号（ICP / 公安联网备案）—— 服务端按 .env 注入，未配置时不渲染 */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; text-align: center; }
.footer-legal-link { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.footer-legal-link:hover { border-bottom-color: currentColor; }

/* ============================================================
   页面级样式
   ============================================================ */

/* ---- 首页 Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, #123A6E 55%, #0C2A50 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.35), transparent 65%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 46px; line-height: 1.15; letter-spacing: -1.2px; max-width: 640px; margin-bottom: 18px; }
.hero h1 .hl { color: #7DB8FF; }
/* .nb：品牌名等不可拆行片段（配合 i18n 中 home.heroTitle 使用） */
.hero h1 .nb { white-space: nowrap; }
.hero p { font-size: 18px; opacity: 0.85; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-accent { background: var(--accent); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* 数据统计条 */
.stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: -48px auto 0; position: relative; z-index: 2; }
.stat-card {
  background: var(--surface); border-radius: 16px; padding: 26px;
  text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .num { font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.stat-card .label { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

/* 首页特性区 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; }
.feature .f-icon {
  width: 46px; height: 46px; border-radius: 12px; background: #EAF4FF;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-muted); }

/* ---- 项目卡片 ---- */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* 长单词 / URL 不撑破卡片网格（min-content 兜底） */
.projects-grid *, .ch-grid *, .mk-col-grid * { min-width: 0; }
.pc-summary, .pc-top h3, .ch-card-excerpt, .ch-card-title, .pc-meta .badge { overflow-wrap: anywhere; }
.project-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.project-card .pc-top { display: flex; align-items: center; gap: 10px; }
.project-card h3 { font-size: 16.5px; letter-spacing: -0.2px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-card .pc-summary {
  color: var(--text-muted); font-size: 13.8px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px;
}
.pc-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pc-meta .badge { font-size: 11.5px; padding: 2px 9px; }
.pc-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-muted); margin-top: auto; padding-top: 6px; }
.pc-owner { display: flex; align-items: center; gap: 7px; }
.pc-owner .avatar { width: 22px; height: 22px; font-size: 10px; }

/* ---- 项目广场筛选栏 ---- */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 16px; margin-bottom: 26px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.filter-bar .form-control { width: auto; min-width: 160px; padding: 9px 12px; font-size: 14px; }
.filter-bar .search-input { flex: 1; min-width: 220px; }
.filter-result { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination button {
  min-width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text);
  transition: all 0.15s; padding: 0 10px;
}
.pagination button:hover:not([disabled]) { border-color: var(--accent); color: var(--accent); }
.pagination button.cur { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination button[disabled] { opacity: 0.45; cursor: default; }
.pagination .page-info { font-size: 13.5px; color: var(--text-muted); margin: 0 6px; }

/* ---- 项目详情 ---- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.detail-main { padding: 32px; }
.detail-main .rich { margin-top: 22px; font-size: 15px; line-height: 1.75; }
.detail-main .rich p { margin-bottom: 12px; }
.detail-main .rich h2 { font-size: 19px; margin: 26px 0 10px; }
.detail-main .rich ul { padding-left: 22px; margin-bottom: 12px; }
.detail-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.detail-sec h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.detail-sec p { color: var(--text-muted); font-size: 14.5px; }

/* ---- 详情页海报 / 长图 ---- */
.detail-cover { margin: 20px 0 4px; text-align: center; }
.detail-cover img {
  display: block; margin: 0 auto; max-width: 100%; width: auto;
  border-radius: var(--radius); box-shadow: 0 4px 18px rgba(0,0,0,.10);
}
/* ---- 富文本正文（海报长图 / 图文详情）---- */
.rich-body { margin-top: 4px; font-size: 15px; line-height: 1.8; color: var(--text); word-break: break-word; }
.rich-body p { margin-bottom: 12px; }
.rich-body h2 { font-size: 18px; margin: 24px 0 10px; }
.rich-body h3 { font-size: 16px; margin: 20px 0 8px; }
.rich-body ul, .rich-body ol { padding-left: 22px; margin-bottom: 12px; }
.rich-body li { margin-bottom: 4px; }
.rich-body a { color: var(--accent); text-decoration: underline; }
.rich-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; display: block; }
.rich-body blockquote {
  border-left: 3px solid var(--border); padding: 6px 14px; margin: 12px 0;
  color: var(--text-muted); background: var(--bg-soft, rgba(127,127,127,.06)); border-radius: 0 8px 8px 0;
}
.rich-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.rich-body th, .rich-body td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.detail-side .card { padding: 24px; }
.detail-side h4 { font-size: 15px; margin-bottom: 14px; }
.side-stat { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; }
.side-stat .k { color: var(--text-muted); }
.owner-card { display: flex; gap: 14px; align-items: center; padding: 16px; margin-top: 16px; border-radius: 12px; background: var(--bg); transition: background 0.15s; }
.owner-card:hover { background: #EEF4FB; }
.owner-card .oc-name { font-weight: 700; font-size: 15px; }
.owner-card .oc-title { font-size: 12.5px; color: var(--text-muted); }

/* ---- 个人主页 ---- */
.profile-head {
  display: flex; gap: 24px; align-items: flex-start; padding: 36px;
  background: linear-gradient(135deg, var(--primary), #1E4A80); color: #fff; border-radius: 16px;
}
.profile-head .p-info h1 { font-size: 26px; margin-bottom: 4px; }
.profile-head .p-title { opacity: 0.85; font-size: 15px; margin-bottom: 8px; }
.profile-head .p-meta { font-size: 13px; opacity: 0.7; display: flex; gap: 16px; flex-wrap: wrap; }
.profile-body { display: grid; grid-template-columns: 300px 1fr; gap: 26px; margin-top: 26px; align-items: start; }
.profile-side .card { padding: 24px; }
.profile-side h4 { margin: 18px 0 8px; font-size: 14.5px; }
.profile-side h4:first-child { margin-top: 0; }
.profile-side p { font-size: 14px; color: var(--text-muted); }
.social-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13.5px; margin: 0 12px 8px 0; font-weight: 600; }
.social-links a:hover { text-decoration: underline; }

/* ---- 认证页（登录/注册） ---- */
.auth-wrap { max-width: 440px; margin: 60px auto; }
.auth-card { padding: 36px; }
.auth-card h1 { font-size: 25px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-alt a { color: var(--accent); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--text-muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* 登录方式切换（邮箱 / 手机号） */
.auth-tabs {
  display: flex; gap: 4px; margin-bottom: 22px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 4px;
}
.auth-tab {
  flex: 1; padding: 9px 12px; border: none; border-radius: 7px;
  background: transparent; color: var(--text-muted);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.auth-tab:hover { color: var(--primary); }
.auth-tab.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }

/* 验证码输入 + 发送按钮 */
.sms-row { display: flex; gap: 10px; align-items: stretch; }
.sms-row .form-control { flex: 1; min-width: 0; letter-spacing: 2px; }
.sms-row .btn { flex: 0 0 auto; white-space: nowrap; padding: 0 16px; }
.legal-note { font-size: 12.5px; color: var(--text-muted); text-align: center; margin-top: 14px; }
.legal-note a { color: var(--accent); }

/* ---- 个人中心 ---- */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-top: 32px; }
.dash-side { padding: 20px; position: sticky; top: 88px; }
.dash-side .ds-user { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 14px; text-align: center; }
.dash-side .ds-user .name { font-weight: 700; font-size: 16px; margin-top: 8px; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text); transition: all 0.15s;
}
.dash-nav a:hover { background: var(--bg); }
.dash-nav a.active { background: #EAF4FF; color: var(--primary); font-weight: 700; }
.dash-nav .badge-pending { background: var(--danger); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; margin-left: auto; }
.dash-main { min-width: 0; }
.dash-main .card { padding: 28px; }
.dash-main h2 { font-size: 21px; margin-bottom: 4px; }
.dash-main .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

/* 我的好友（互相关注） */
.fr-wrap { padding: 26px 28px; }
.fr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fr-head h2 { margin-bottom: 4px; }
.fr-head .sub { margin-bottom: 0; }
.fr-total { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; padding-top: 6px; }
.fr-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fr-stat {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 16px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-family: inherit; cursor: pointer; transition: all 0.15s;
}
.fr-stat b { font-size: 16px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.fr-stat i { font-style: normal; font-size: 13px; color: var(--text-muted); }
.fr-stat:hover { border-color: var(--accent); }
.fr-stat.active { background: var(--primary); border-color: var(--primary); }
.fr-stat.active b, .fr-stat.active i { color: #fff; }
.fr-list { display: flex; flex-direction: column; gap: 10px; }
.fr-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fr-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.fr-ava { flex-shrink: 0; display: block; }
.fr-ava .avatar { width: 46px; height: 46px; }
.fr-body { flex: 1; min-width: 0; }
.fr-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fr-name { font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; }
.fr-name:hover { color: var(--primary); }
.fr-meta {
  margin: 3px 0 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fr-since { display: inline-block; margin-top: 4px; font-size: 11.5px; color: var(--text-muted); }
.fr-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fr-mutual-tag {
  font-size: 12px; font-weight: 700; color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.fr-loading { padding: 24px 0; text-align: center; color: var(--text-muted); font-size: 13px; }
.fr-more { display: flex; justify-content: center; margin-top: 14px; }
.fr-empty-cta { display: flex; justify-content: center; margin-top: 10px; }
@media (max-width: 720px) {
  .fr-wrap { padding: 20px 18px; }
  .fr-card { flex-wrap: wrap; align-items: flex-start; }
  .fr-acts { width: 100%; justify-content: flex-start; padding-left: 60px; }
  .fr-meta { white-space: normal; }
  .fr-head { flex-direction: column; gap: 4px; }
}

/* 通知 */
.notif-item { display: flex; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-item .n-icon {
  width: 40px; height: 40px; border-radius: 12px; background: #EAF4FF;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.notif-item .n-title { font-weight: 600; font-size: 14.5px; }
.notif-item .n-body { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.notif-item .n-time { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.notif-item.unread { background: #F5FAFF; border-radius: 10px; }

/* 我的项目管理行 */
.proj-row { display: flex; gap: 16px; align-items: center; padding: 18px 6px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.proj-row:last-child { border-bottom: none; }
.proj-row .pr-info { flex: 1; min-width: 200px; }
.proj-row .pr-name { font-weight: 700; font-size: 15.5px; }
.proj-row .pr-sub { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.proj-row .pr-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 富文本编辑器 */
.rte-toolbar {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  padding: 10px; border: 1.5px solid var(--border); border-bottom: none;
  border-radius: 10px 10px 0 0; background: var(--bg);
}
/* 图标按钮：固定方形尺寸，仅放符号 */
.rte-toolbar button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 32px; padding: 0 9px; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 7px;
  background: var(--surface); font-size: 14px; line-height: 1;
  color: var(--text); transition: all 0.15s; white-space: nowrap;
}
/* 带文字的按钮（如「插入图片」）自适应宽度，不与图标按钮抢位 */
.rte-toolbar button.wide { padding: 0 12px; gap: 6px; font-size: 13px; font-weight: 600; }
.rte-toolbar button:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.rte-toolbar .rte-sep { width: 1px; height: 20px; background: var(--border); margin: 0 3px; flex: 0 0 auto; }
.rte {
  min-height: 200px; max-height: 420px; overflow-y: auto; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 0 0 10px 10px;
  font-size: 15px; line-height: 1.7; background: var(--surface);
}
.rte:focus { outline: none; border-color: var(--accent); }
.rte:empty::before { content: attr(data-placeholder); color: var(--text-muted); }

/* OPC 申请状态卡 */
.status-hero { padding: 40px 30px; text-align: center; }
.status-hero .s-icon { font-size: 52px; margin-bottom: 14px; }
.status-hero h2 { margin-bottom: 8px; }
.status-hero p { color: var(--text-muted); font-size: 14.5px; }
.status-hero .apply-no {
  display: inline-block; margin-top: 14px; padding: 8px 18px; background: var(--bg);
  border-radius: 999px; font-family: monospace; font-size: 14px; font-weight: 700; color: var(--primary);
}
.reject-note {
  margin-top: 18px; padding: 14px 18px; background: #FEF2F2; border: 1px solid #FECACA;
  color: #991B1B; border-radius: 10px; font-size: 14px; text-align: left;
}

/* 后台 */
.admin-layout { margin-top: 32px; }
.admin-overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.ov-card { padding: 20px; text-align: center; }
.ov-card .num { font-size: 26px; font-weight: 800; color: var(--primary); }
.ov-card .label { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* 文章页（关于/协议/社群） */
.doc-page { max-width: 760px; margin: 48px auto; padding: 44px; }
.doc-page h1 { font-size: 30px; margin-bottom: 22px; }
.doc-page h2 { font-size: 19px; margin: 30px 0 10px; }
.doc-page p, .doc-page li { font-size: 15px; color: #3D4650; line-height: 1.8; }
.doc-page ul { padding-left: 22px; margin: 10px 0; }
.doc-page .muted { color: var(--text-muted); font-size: 13.5px; margin-top: 34px; }

/* 社群介绍 */
.community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.community-card { padding: 26px; }
.community-card .f-icon { font-size: 30px; margin-bottom: 12px; }
.community-card h3 { margin-bottom: 8px; font-size: 17px; }
.community-card p { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   移动端自适应
   ============================================================ */
@media (max-width: 900px) {
  .projects-grid, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout, .profile-body, .dash-layout { grid-template-columns: 1fr; }
  .admin-overview { grid-template-columns: repeat(2, 1fr); }
  .dash-side { position: static; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav a { padding: 8px 12px; font-size: 13.5px; }
}
/* 导航分级压缩：保证所有链接永远单行 */
@media (max-width: 1180px) {
  .main-nav { gap: 12px; }
  .main-nav > a, .nav-drop-btn { font-size: 14px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1024px) {
  .main-nav { gap: 9px; }
  .main-nav > a, .nav-drop-btn { font-size: 13px; }
  .nav-drop-btn { gap: 3px; }
  .nav-auth { gap: 8px; margin-left: 4px; }
  .nav-auth .btn { padding: 7px 12px; }
  .logo-img { max-width: 170px; height: 38px; }
}
/* 中屏及以下收起为汉堡菜单（8 个导航项 + 登录态时单行放不下） */
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .header-inner { height: 58px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); flex-direction: column; align-items: stretch;
    padding: 14px 24px 20px; gap: 4px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav > a { padding: 11px 4px; font-size: 15.5px; }
  .main-nav > a.active::after { display: none; }
  .nav-auth { margin: 10px 0 0; flex-direction: column; align-items: stretch; gap: 10px; }
}
@media (max-width: 640px) {
  .header-inner { height: 58px; }
  .hero { padding: 56px 0 84px; }
  .hero h1 { font-size: 25px; letter-spacing: -0.6px; }
  .hero p { font-size: 15.5px; }
  .stats-bar { grid-template-columns: 1fr; gap: 12px; margin-top: -36px; }
  .stat-card { padding: 18px; }
  .stat-card .num { font-size: 24px; }
  .projects-grid, .features, .form-row, .community-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 36px 0 24px; }
  .profile-head { flex-direction: column; padding: 26px; }
  .doc-page { padding: 26px; margin: 24px auto; }
  .doc-page h1 { font-size: 24px; }
  .form-row { gap: 18px; }
  .filter-bar .form-control { width: 100%; }
  .auth-wrap { margin: 28px auto; }
  .auth-card { padding: 26px; }
  #toast-container { left: 16px; right: 16px; top: 72px; }
  .toast { max-width: none; }
}

/* ============================ 个人资料 · 头像上传 ============================ */
.pf-avatar-box { position: relative; flex: 0 0 auto; width: 84px; height: 84px; }
.pf-avatar-box .avatar { width: 84px; height: 84px; }
.pf-avatar-preview {
  position: absolute; inset: 0; width: 84px !important; height: 84px !important;
  object-fit: cover; border-radius: 22px;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.35);
  z-index: 1; pointer-events: none;
}

/* ============================ 语言切换器（右上角 中/EN） ============================ */.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.2;
}
.lang-switch button:hover { color: var(--primary); }
.lang-switch button.active {
  background: var(--primary);
  color: #fff;
}
.lang-switch button + button { border-left: 1px solid var(--border); }

/* ============================ OPC 综合评分面板 ============================ */
.score-total {
  font-size: 20px;
  font-weight: 800;
  color: #1e7e34;
  letter-spacing: 0.5px;
}
.score-total.fail { color: #c0392b; }
.score-warn {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fdf0ec;
  color: #c0392b;
  font-size: 13px;
  border: 1px solid #f5c9bf;
}
.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
  margin: 0;
}

/* ============================ AI 预评分与评价报告面板 ============================ */
.ai-panel {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.ai-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #F1F5FB 0%, #F7FAFF 100%);
  border-bottom: 1px solid var(--border);
}
.ai-title { font-weight: 700; font-size: 14.5px; color: var(--primary); }
.ai-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.6; }
.ai-score-box { text-align: right; white-space: nowrap; }
.ai-score { font-size: 30px; font-weight: 800; line-height: 1.05; color: var(--success); }
.ai-score.bad { color: var(--danger); }
.ai-score span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.ai-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 2px;
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.ai-tag.ok { background: #ECFDF3; border-color: #BBE9CC; color: var(--success); }
.ai-tag.warn { background: #FFF7E8; border-color: #F5E2B8; color: #B7791F; }
.ai-tag.bad { background: #FEF2F2; border-color: #F6D2CE; color: var(--danger); }
.ai-dim { padding: 12px 16px 0; }
.ai-dim-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; }
.ai-dim-w { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.ai-dim-s { font-size: 17px; font-weight: 800; color: var(--accent); }
.ai-dim-s.ok { color: var(--success); }
.ai-dim-s.bad { color: var(--danger); }
.ai-dim-c { font-size: 12.5px; color: var(--text-muted); line-height: 1.75; margin-top: 3px; }
.ai-sec { padding: 12px 16px 0; }
.ai-sec-t { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.ai-sec-t.ok { color: var(--success); }
.ai-sec-t.bad { color: var(--danger); }
.ai-sec-c { font-size: 13px; color: var(--text); line-height: 1.85; margin-top: 4px; white-space: pre-wrap; }
.ai-sec-box { margin: 14px 16px 0; padding: 12px 14px; background: var(--bg); border-radius: 8px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ai-list { margin: 6px 0 0 0; padding-left: 18px; list-style: disc; }
.ai-list li { font-size: 12.5px; color: var(--text); line-height: 1.75; margin-bottom: 4px; }
.ai-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.ai-note { font-size: 12px; color: var(--text-muted); line-height: 1.6; flex: 1; min-width: 220px; }
.ai-prefill {
  font-size: 12.5px;
  color: #B7791F;
  background: #FFF7E8;
  border: 1px solid #F5E2B8;
  border-radius: 8px;
  padding: 7px 11px;
  margin-bottom: 12px;
}
@media (max-width: 720px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-head { flex-direction: column; }
  .ai-score-box { text-align: left; }
}

/* ============================================================================
   身份角色徽章（管理员 / OPC 会员 / 普通会员）
   ============================================================================ */
.badge.role-admin { background: #0F3460; color: #fff; }
.badge.role-opc { background: #EAF4FF; color: #0B6BCB; border: 1px solid #C9E2FB; }
.badge.role-opc::before { content: "✓"; font-size: 10px; margin-right: 1px; }
.badge.role-member { background: #F1F3F5; color: #495057; border: 1px solid #E3E6E9; }
.badge.gray { background: #F1F3F5; color: #6C757D; border: 1px solid #E3E6E9; }
.dropdown .dropdown-role {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px;
  font-size: 11.5px; color: var(--text-muted); border-bottom: 1px solid var(--border); margin-bottom: 4px;
  white-space: nowrap; flex-wrap: nowrap;
}
.dropdown .dropdown-role span { overflow: hidden; text-overflow: ellipsis; }
.dropdown a.dropdown-admin { font-weight: 700; color: var(--primary); }
.ds-role-hint, .p-role-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.publisher-badge { vertical-align: middle; margin-left: 8px; }

/* ============================================================================
   通用：提示条 / 分段标签 / 卡片网格 / 返回链接
   ============================================================================ */
.info-note {
  font-size: 13px; color: #0B6BCB; background: #EAF4FF; border: 1px solid #C9E2FB;
  border-radius: 10px; padding: 10px 13px; margin: 4px 0 14px; line-height: 1.7;
}
.info-note a { text-decoration: underline; }
.table-note { font-size: 12.5px; color: var(--text-muted); padding: 12px 14px 4px; line-height: 1.7; }
.pre-line { white-space: pre-line; }
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.community-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 44px 0 20px; }
.back-link { display: inline-block; font-size: 13.5px; color: var(--accent); margin-bottom: 14px; }

.seg-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.seg-tabs .seg {
  font: inherit; font-size: 13.5px; cursor: pointer; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  transition: all .18s;
}
.seg-tabs .seg:hover { border-color: var(--accent); color: var(--accent); }
.seg-tabs .seg.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.seg-tabs .seg-count { opacity: .72; font-size: 12px; margin-left: 3px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   活动卡片 / 活动详情
   ============================================================================ */
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-card .ec-cover {
  position: relative; height: 118px; background: linear-gradient(135deg, #0F3460 0%, #1E90FF 100%);
  background-size: cover; background-position: center; display: flex; align-items: flex-start;
  justify-content: space-between; padding: 12px;
}
.ec-mode {
  font-size: 11.5px; background: rgba(255,255,255,.92); color: var(--primary);
  border-radius: 999px; padding: 3px 10px; font-weight: 600;
}
.event-card .ec-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card h3 { font-size: 16.5px; line-height: 1.4; }
.ec-summary { font-size: 13px; color: var(--text-muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ec-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.ec-progress, .ev-progress { height: 5px; background: var(--border); border-radius: 999px; overflow: hidden; }
.ec-progress > span, .ev-progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.ec-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; font-size: 12.5px; color: var(--text-muted); }

.ev-hero-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 18px 0 4px; }
.ev-info { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.ev-info .k { font-size: 12px; color: var(--text-muted); }
.signup-card h4 { margin-bottom: 12px; }
.seats-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; margin-bottom: 10px; flex-wrap: wrap; }
.signup-card .ev-progress { margin-bottom: 16px; }
.signup-hint { font-size: 13px; color: var(--text-muted); margin: 6px 0 12px; line-height: 1.7; }
.signup-done {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #ECFDF3;
  border: 1px solid #BBE9CC; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 12px;
}
.signup-done .sd-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; }
.signup-done .sd-meta { width: 100%; font-size: 12.5px; color: var(--text-muted); }
.signup-edit { margin-bottom: 12px; }
.signup-edit > summary { cursor: pointer; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.signup-closed {
  font-size: 13.5px; color: var(--warning); background: #FFF7E8; border: 1px solid #F5E2B8;
  border-radius: 10px; padding: 10px 13px; margin-bottom: 14px; text-align: center;
}
@media (max-width: 720px) { .ev-info-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   课程卡片 / 课程详情（免费 / 收费明确标注）
   ============================================================================ */
.course-card { display: flex; flex-direction: column; overflow: hidden; }
.course-card .cc-cover {
  position: relative; height: 96px; background: linear-gradient(135deg, #103C6E 0%, #2B7FD4 100%);
  background-size: cover; background-position: center; display: flex; align-items: flex-start; padding: 12px;
}
.cc-cat { font-size: 11.5px; background: rgba(255,255,255,.92); color: var(--primary); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.course-card .cc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card h3 { font-size: 16.5px; line-height: 1.4; }
.cc-summary { font-size: 13px; color: var(--text-muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-price { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto;
  padding-top: 8px; font-size: 12.5px; color: var(--text-muted); }

.price-badge {
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; border-radius: 6px; padding: 3px 9px;
  text-transform: uppercase;
}
.price-badge.free { background: #ECFDF3; color: #15803D; border: 1px solid #BBE9CC; }
.price-badge.paid { background: #FFF1F0; color: #C2410C; border: 1px solid #FBD5C9; }
.price-amount { font-size: 16px; font-weight: 800; color: var(--primary); }

.cd-hero { border-radius: 12px; padding: 20px 22px; margin-bottom: 6px; }
.cd-hero.is-free { background: linear-gradient(135deg, #F0FDF4 0%, #F7FFFB 100%); border: 1px solid #D5EFE1; }
.cd-hero.is-paid { background: linear-gradient(135deg, #FFF7F3 0%, #FFFBF9 100%); border: 1px solid #F7DFD2; }
.cd-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.cd-price-amount { font-size: 26px; font-weight: 800; color: #C2410C; }
.cd-price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.cd-price-note { width: 100%; font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }
.purchase-box { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.pb-label { font-size: 12.5px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pb-note { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

/* ============================================================================
   登录页：管理入口
   ============================================================================ */
.auth-notice {
  font-size: 13px; color: #0B6BCB; background: #EAF4FF; border: 1px solid #C9E2FB;
  border-radius: 10px; padding: 10px 13px; margin: 6px 0 16px; line-height: 1.7;
}
.admin-entry {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.admin-entry a { font-size: 13.5px; font-weight: 700; color: var(--primary); }
.admin-entry span { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================================
   后台：当前登录身份 / 双语字段块
   ============================================================================ */
.admin-who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.bi-block { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 2px; margin-bottom: 14px; background: var(--bg); }
.bi-label { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.bi-block .form-row { gap: 14px; }

/* ============================================================
   OPC 社区专页
   ============================================================ */
.opc-page { padding-top: 0; }

.opc-hero {
  background: linear-gradient(150deg, #0F3460 0%, #143d73 55%, #1E90FF 140%);
  color: #fff; padding: 64px 0 52px; margin-bottom: 40px;
}
.opc-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28); margin-bottom: 14px;
}
.opc-hero h1 { font-size: 40px; letter-spacing: -1px; margin-bottom: 10px; }
.opc-tagline { font-size: 17px; opacity: .92; margin-bottom: 8px; }
.opc-lead { font-size: 15px; opacity: .8; max-width: 780px; line-height: 1.8; }
.opc-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.opc-stat {
  flex: 1 1 180px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(4px);
}
.opc-stat .n { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.opc-stat .l { font-size: 13px; opacity: .82; margin-top: 2px; }

.opc-block { margin-bottom: 48px; }
.opc-block > h2 { font-size: 24px; letter-spacing: -0.5px; margin-bottom: 16px; }
.opc-text { font-size: 15.5px; line-height: 1.85; color: var(--text-muted); max-width: 860px; }

.opc-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.opc-partner { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.opc-partner-cover {
  position: relative; height: 176px; background: linear-gradient(140deg, #0F3460, #1E90FF);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.opc-partner-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opc-partner-icon { position: absolute; font-size: 34px; opacity: .9; }
.opc-partner-cover:not(.is-empty) .opc-partner-icon { display: none; }
.opc-partner-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.opc-partner-body h3 { font-size: 17.5px; letter-spacing: -0.3px; }
.opc-partner-host { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.opc-partner-body p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.opc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.opc-tags .badge { font-size: 11.5px; }

.opc-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.opc-service { padding: 22px 20px; }
.opc-service h3 { font-size: 15.5px; margin: 10px 0 6px; }
.opc-service p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

.opc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; margin-top: 18px; }
.opc-photo { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.opc-photo img { width: 100%; height: 190px; object-fit: cover; display: block; }
.opc-empty { font-size: 13.5px; color: var(--text-muted); padding: 14px 0; }

.opc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  flex-wrap: wrap; padding: 28px 30px; margin-bottom: 24px;
}
.opc-cta h3 { font-size: 20px; margin-bottom: 6px; }
.opc-cta p { font-size: 14px; color: var(--text-muted); }
.opc-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .opc-hero { padding: 44px 0 36px; }
  .opc-hero h1 { font-size: 30px; }
  .opc-tagline { font-size: 15px; }
  .opc-block > h2 { font-size: 20px; }
  .opc-cta { padding: 22px 20px; }
  .opc-cta-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* OPC 合作卡「了解详情」提示 */
.opc-more { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }
.opc-partner:hover .opc-more { text-decoration: underline; }
.opc-modal { animation: opcPop .18s ease-out; }
@keyframes opcPop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- 表单操作区：统一按钮尺寸与间距 ---- */
.form-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
}
.form-actions .btn { min-width: 132px; }
.form-actions .btn-ghost { min-width: 108px; }
@media (max-width: 560px) {
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ---- 表单内上传/选择按钮：与输入框同高对齐 ---- */
.input-with-btn { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.input-with-btn .form-control { flex: 1 1 220px; min-width: 0; }
.input-with-btn .btn {
  flex: 0 0 auto; height: auto; min-width: 104px;
  padding: 10px 16px; font-size: 14px; border-radius: 10px;
}
@media (max-width: 560px) {
  .input-with-btn { flex-wrap: wrap; }
  .input-with-btn .form-control { flex: 1 1 100%; }
  .input-with-btn .btn { flex: 1 1 100%; }
}

/* ============================================================
   需求市场（Demand Market）
   ============================================================ */

/* 顶部操作条 */
.ch-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ch-login-hint { font-size: 13.5px; color: var(--text-muted); }

/* Hero：标题 + 操作按钮 + 一行轻量统计 */
/* 需求市场专用宽容器（比全站 1120px 更宽敞）：由路由在 body 上加 page-ch-wide */
body.page-ch-wide > main.container,
body.page-ch-wide #app.container { max-width: 1380px; }
.ch-wide { max-width: 1380px; }
.ch-hero { padding-bottom: 20px; text-align: left; }
.ch-hero-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.ch-hero-text h1 { margin-bottom: 10px; }
.ch-hero-text p { margin: 0; }
.ch-stats-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border);
}
.ch-stat { display: flex; align-items: baseline; gap: 7px; }
.ch-stat b { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--primary); }
.ch-stat i { font-style: normal; font-size: 12.5px; color: var(--text-muted); }
.ch-stat-buy b { color: #1D6FD0; }
.ch-stat-sell b { color: #15803D; }
.ch-stat-sep { width: 1px; height: 16px; background: var(--border); }

/* 结果区标题 */
.ch-result-head { margin-top: 6px; margin-bottom: 16px; }
.ch-result-head h2 { font-size: 19px; }
.ch-result-total { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* 空态下的引导按钮 */
.ch-empty-cta { display: flex; justify-content: center; margin-top: 18px; }

/* 类型分段控件（唯一入口，替代旧「板块卡 + tab 栏」的重复设计） */
.ch-seg {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 5px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--border); margin-bottom: 20px;
}
.ch-seg-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border: none; border-radius: 999px;
  background: transparent; color: var(--text-muted);
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.16s; white-space: nowrap;
}
.ch-seg-btn:hover { color: var(--text); }
.ch-seg-btn em {
  font-style: normal; font-size: 11.5px; font-weight: 800;
  padding: 1px 7px; border-radius: 999px;
  background: var(--surface); color: var(--text-muted);
}
.ch-seg-btn.active {
  background: var(--surface); color: var(--primary);
  box-shadow: 0 1px 4px rgba(15,23,42,.10);
}
.ch-seg-btn.seg-buy.active { color: #1D6FD0; }
.ch-seg-btn.seg-sell.active { color: #15803D; }
.ch-seg-hint {
  margin-left: auto; padding-right: 14px;
  font-size: 12.5px; color: var(--text-muted);
}

/* 卡片网格 */
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.ch-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.ch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ch-card-cover { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.ch-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.ch-card:hover .ch-card-cover img { transform: scale(1.05); }
.ch-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 18px 0; }
.ch-card-title {
  font-size: 16.5px; font-weight: 700; line-height: 1.45; margin: 10px 18px 0;
  color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ch-card-excerpt {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin: 8px 18px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ch-card .pc-meta { padding: 0 18px; margin-top: 10px; }
/* 卡片内公司·行业行：补齐水平边距，与其他子元素对齐（此前顶边贴边溢出） */
.ch-card .exp-time {
  margin: 4px 18px 0;
  overflow-wrap: anywhere;
}
.ch-card-foot {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 12px 18px 16px; margin-top: auto;
  font-size: 12.5px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px;
}
.ch-card-foot .dot { color: var(--border); }
.ch-views { margin-left: auto; white-space: nowrap; }

/* 类型徽标 */
.ch-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.6;
}
.ch-badge.ch-buy { background: #EAF4FF; color: #1D6FD0; }
.ch-badge.ch-sell { background: #ECFDF3; color: #15803D; }

/* 详情页 */
.ch-detail-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ch-byline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted); margin-bottom: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.ch-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 18px 0 22px; }
.ch-images img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); cursor: zoom-in; }
.ch-contact {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: #EAF4FF; color: #1D6FD0; font-size: 14px; font-weight: 600;
}
.ch-contact a { color: inherit; text-decoration: underline; }

/* 发布表单：类型选择器 */
.ch-type-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ch-type-opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 10px; border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--surface); cursor: pointer; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--text-muted); transition: all 0.15s;
}
.ch-type-opt .ico { font-size: 22px; line-height: 1; }
.ch-type-opt:hover { border-color: var(--accent); }
.ch-type-opt.on { border-color: var(--accent); background: #EAF4FF; color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12); }
.ch-type-opt input { display: none; }

/* 发布表单：图片列表 */
.ch-img-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ch-img-item { position: relative; width: 104px; height: 104px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.ch-img-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-img-item button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0;
  border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff;
  font-size: 13px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ch-img-item button:hover { background: var(--danger); }

@media (max-width: 680px) {
  .ch-grid { grid-template-columns: 1fr; }
  .ch-type-picker { grid-template-columns: 1fr; }
  .ch-hero { padding-top: 36px; }
  .ch-hero-inner { flex-direction: column; }
  .ch-actions { width: 100%; }
  .ch-actions .btn { flex: 1 1 auto; justify-content: center; }
  .ch-stats-row { gap: 12px; }
  .ch-seg { border-radius: 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ch-seg::-webkit-scrollbar { display: none; }
  .ch-seg-btn { flex: 0 0 auto; justify-content: center; padding: 9px 12px; font-size: 13px; }
  .ch-seg-hint { display: none; }
  .ch-images img { height: 132px; }
  /* 分页：只留箭头，紧凑不溢出 */
  .pagination { gap: 6px; margin-top: 26px; }
  .pagination button { min-width: 32px; height: 32px; font-size: 13px; padding: 0 6px; border-radius: 8px; }
  .pagination .pg-txt { display: none; }
  .pagination .pg-arrow { font-size: 17px; font-weight: 700; line-height: 1; }
  /* 详情徽标行：窄屏瘦身，避免挤压 */
  .pc-meta .badge { font-size: 11.5px; padding: 3px 8px; gap: 4px; }
  .pc-meta { gap: 6px; }
}

/* ============================================================
   签证政策（Visa Policy）
   ============================================================ */

/* 复用的通用板块容器（签证块 / 结果块共用） */
.in-block { margin: 40px 0; }
.in-block:first-child { margin-top: 8px; }
.in-note { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.in-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.in-meta a { color: var(--accent); }
.in-lead {
  font-size: 16px; line-height: 1.75; color: var(--text);
  padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  background: #EAF4FF; margin-bottom: 22px;
}

/* ---------------- 查询面板 ---------------- */
.vs-panel { padding: 26px 28px; }
.vs-route-picker {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
}
.vs-route-col { flex: 1 1 220px; min-width: 180px; }
.vs-route-label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.3px; margin-bottom: 7px; text-transform: uppercase;
}
.vs-route-col .form-control { width: 100%; }
.vs-route-arrow {
  flex: 0 0 auto; align-self: flex-end; padding-bottom: 11px;
  font-size: 20px; color: var(--accent); font-weight: 700;
}
.vs-go { flex: 0 0 auto; padding: 11px 30px; }

/* 下拉数字含义提示 + 查询加载态 */
.vs-picker-hint {
  margin: 12px 0 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.6;
}
.vs-loading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 48px 20px; color: var(--text-muted); font-size: 14px;
}
.vs-loading .spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--border); border-top-color: var(--accent);
  animation: vs-spin 0.7s linear infinite;
}
@keyframes vs-spin { to { transform: rotate(360deg); } }

.vs-filters {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border);
}
.vs-filters .form-control { flex: 0 1 210px; min-width: 150px; }
.vs-filters .search-input { flex: 1 1 240px; }

/* 当前查询摘要 */
.vs-active-query {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; font-size: 13px; color: var(--text-muted);
}
.vs-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px;
  background: #EAF4FF; border: 1px solid #C9E2FB; color: #0B6BCB;
  font-size: 13px; font-weight: 500;
}
.vs-chip b { font-weight: 800; color: var(--primary); }

/* ---------------- 中国公民免签专区 ---------------- */
.vs-cn-block {
  padding: 24px 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, #FFF8F8 0%, #FFFDFB 100%);
  border: 1px solid #FBD9D5; box-shadow: var(--shadow-sm);
}
.vs-cn-block .section-head h2 { font-size: 21px; }
.vs-cn-count { font-size: 13px; font-weight: 700; color: #C0392B; }
.vs-cn-group { margin-top: 16px; }
.vs-cn-group + .vs-cn-group { margin-top: 14px; }
.vs-cn-group-label {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 9px;
}
.vs-chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-country-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  background: #fff; border: 1px solid #F0C9C4; color: var(--text);
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.vs-country-chip i {
  font-style: normal; font-size: 11.5px; font-weight: 700;
  color: #C0392B; background: #FDECEA; padding: 1px 7px; border-radius: 999px;
}
.vs-country-chip:hover {
  transform: translateY(-1px); border-color: #E59A92;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.14);
}

/* ---------------- 结果网格 ---------------- */
.vs-total { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.vs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}

/* 政策卡片 */
.vc-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; color: inherit; }
.vc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vc-stay {
  margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.vc-route {
  font-size: 15.5px; font-weight: 700; color: var(--primary); line-height: 1.45;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.vc-route b { font-weight: 800; }
.vc-route i { font-style: normal; color: var(--accent); }
.vc-title { font-size: 15.5px; font-weight: 700; line-height: 1.45; letter-spacing: -0.2px; }
.vc-summary {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}
.vc-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-pending {
  flex: 0 0 auto; font-weight: 700; color: var(--warning);
  background: #FFF7E8; border: 1px solid #FDE3B0; padding: 2px 9px; border-radius: 999px;
}
.vc-verified { flex: 0 0 auto; font-weight: 700; color: var(--success); }
.vc-card:hover .vc-title { color: var(--accent); }

/* ---------------- 入境类型徽标 ---------------- */
.vt-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.5;
}
.vt-free { background: #ECFDF3; color: #15803D; border: 1px solid #BBF7D0; }
.vt-voa { background: #EAF4FF; color: #0B6BCB; border: 1px solid #C9E2FB; }
.vt-evisa { background: #F3EEFF; color: #6D28D9; border: 1px solid #DDD1FB; }
.vt-req { background: #FFF7E8; color: #B45309; border: 1px solid #FDE3B0; }
.vt-ban { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* 详情：路线节点 */
.vs-detail-route {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); margin-bottom: 16px;
}
.vs-route-node { display: flex; flex-direction: column; gap: 2px; }
.vs-route-node small { font-size: 11.5px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.3px; }
.vs-route-node b { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }
.vs-route-sep { font-size: 18px; color: var(--accent); font-weight: 700; }
.vs-detail-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 待校验提示条 */
.vs-warn {
  font-size: 13px; line-height: 1.65; color: #92400E;
  background: #FFFBEB; border: 1px solid #FDE68A; border-left: 3px solid var(--warning);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 20px;
}

/* 免责声明 */
.vs-disclaimer {
  font-size: 12.5px; line-height: 1.7; color: var(--text-muted);
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 14px 18px; margin-top: 28px;
}

/* 来华签证业务报价（页首醒目区块） */
.vs-price-block .section-head { margin-bottom: 14px; }
.vs-price-card { padding: 0; overflow: hidden; }
.vp-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px; padding: 18px 20px 16px;
}
.vp-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 14px 12px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
}
.vp-code {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 7px; align-self: flex-start;
  font-weight: 800; font-size: 12.5px; letter-spacing: 0.4px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 6px; font-variant-numeric: tabular-nums;
}
.vp-name { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.vp-amount {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1.25;
}
.vp-amount.vp-tbd { font-size: 18px; color: var(--text-muted); }
.vp-unit { font-size: 11.5px; color: var(--text-muted); }
.vp-fine { border-top: 1px dashed var(--border); background: var(--surface); padding: 16px 20px 18px; }
.vp-fine-warn {
  font-size: 13px; line-height: 1.75; font-weight: 600; color: var(--text);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 10px 14px; margin: 0;
}
.vp-fine-list {
  margin: 10px 0 0; padding-left: 18px; font-size: 12.5px;
  line-height: 1.8; color: var(--text-muted);
}
.vp-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.vp-cta-hint { font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 900px) {
  .vp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 14px 12px; }
  .vp-item { padding: 12px; }
  .vp-amount { font-size: 20px; }
  .vp-fine { padding: 14px; }
}

/* ---------------- 首页签证入口卡片 ---------------- */
.vs-home-panel { padding: 24px 26px; }
.vs-home-lead { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.vs-home-stat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: #EAF4FF; border: 1px solid #C9E2FB; padding: 4px 12px; border-radius: 999px;
}
.vs-home-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.vs-home-chips {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px dashed var(--border);
}
.vs-home-chips-label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin-right: 2px; }
.vs-home-chips .vs-country-chip { font-size: 12.5px; padding: 4px 11px; }
.vs-home-chips .vs-chip-more {
  font-size: 12.5px; font-weight: 700; color: var(--accent); cursor: pointer;
  padding: 4px 6px; background: none; border: none;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 680px) {
  .vs-panel { padding: 18px 16px; }
  .vs-route-picker { flex-direction: column; align-items: stretch; gap: 12px; }
  /* 关键：父容器变纵向后，子项的 flex-basis 220px 会变成 220px 高度，撑出大段空白 */
  .vs-route-col { flex: 0 0 auto; min-width: 0; }
  .vs-route-arrow { align-self: center; padding: 0; transform: rotate(90deg); }
  .vs-go { width: 100%; }
  .vs-filters { flex-direction: column; align-items: stretch; }
  .vs-filters .form-control, .vs-filters .search-input { flex: 1 1 auto; width: 100%; }
  .vs-cn-block { padding: 18px 16px; }
  .vs-grid { grid-template-columns: 1fr; }
  .vc-stay { margin-left: 0; }
  .vs-detail-route { gap: 10px; padding: 14px 16px; }
  .vs-route-node b { font-size: 16px; }
  .vs-home-panel { padding: 18px 16px; }
  .vs-home-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   社交互动（关注 / 点赞 / 评论）
   ============================================================ */

/* ---- 用户主页：社交统计条 + 关注按钮 ---- */
.profile-head { position: relative; }
.p-actions { margin-left: auto; align-self: center; flex: 0 0 auto; }
.sc-follow-btn { min-width: 108px; justify-content: center; }
.up-social-bar {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.usb-item { display: flex; align-items: baseline; gap: 6px; }
.usb-item b { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; color: var(--primary); }
.usb-item i { font-style: normal; font-size: 12.5px; color: var(--text-muted); }
.usb-influence b { color: var(--accent); }
.usb-influence { cursor: help; }
/* 用户主页 hero 为深色底，统计条文字需提亮 */
.profile-head .usb-item b { color: #fff; }
.profile-head .usb-item i { color: rgba(255,255,255,.75); }
.profile-head .usb-influence b { color: #FFD166; }
.profile-head .up-social-bar { border-top-color: rgba(255,255,255,.22); }
.profile-head .p-actions .btn-primary { background: #fff; color: var(--primary); }
.profile-head .p-actions .btn-primary:hover { background: #EDF3FB; }
.profile-head .p-actions .btn-ghost { color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.45); }

/* ---- 内容页操作条（点赞 / 评论计数） ---- */
.content-acts {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.like-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 700; font-family: inherit; color: var(--text-muted);
  cursor: pointer; transition: all 0.16s;
}
.like-btn:hover { border-color: #F5A0B4; color: #E0446B; transform: translateY(-1px); }
.like-btn.on { border-color: #F5A0B4; background: #FFF0F4; color: #E0446B; }
.like-btn:disabled { opacity: .6; cursor: default; transform: none; }
.like-btn .lb-ico { font-size: 15px; line-height: 1; }
.ca-stat { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.ca-stat b { color: var(--text); font-weight: 800; }

/* ---- 评论区 ---- */
.cm-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px;
}
.cm-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.cm-head h3 { font-size: 17px; letter-spacing: -0.3px; }
.cm-count { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }

.cm-compose { margin-bottom: 22px; }
.cm-compose-row { display: flex; gap: 12px; align-items: flex-start; }
.cm-compose-row .avatar { flex: 0 0 auto; }
.cm-input {
  flex: 1; resize: vertical; min-height: 62px;
  font-family: inherit; font-size: 14px; line-height: 1.6;
}
.cm-compose-act {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; margin-top: 10px;
}
.cm-replying {
  margin-right: auto; font-size: 12.5px; color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.cm-cancel-reply {
  border: none; background: var(--bg); color: var(--text-muted);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  font-size: 11px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
}
.cm-login-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 12px;
  background: var(--bg); border: 1px dashed var(--border);
  font-size: 14px; color: var(--text-muted);
}

.cm-list { display: flex; flex-direction: column; gap: 4px; }
.cm-loading { display: flex; justify-content: center; padding: 24px; }
.cm-loading .spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--border); border-top-color: var(--accent);
  animation: vs-spin 0.7s linear infinite;
}
.cm-empty { text-align: center; color: var(--text-muted); font-size: 13.5px; padding: 24px 0; }

.cm-item { display: flex; gap: 12px; padding: 15px 0; }
.cm-item + .cm-item { border-top: 1px solid var(--border); }
.cm-avatar { flex: 0 0 auto; text-decoration: none; }
.cm-main { flex: 1; min-width: 0; }
.cm-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px;
}
.cm-name { font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }
.cm-name:hover { color: var(--accent); }
.cm-time { font-size: 12px; color: var(--text-muted); }
.cm-body { font-size: 14px; line-height: 1.72; color: var(--text); word-break: break-word; }
.cm-acts { display: flex; gap: 14px; margin-top: 7px; }
.cm-reply, .cm-del {
  border: none; background: none; padding: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 600; font-family: inherit; color: var(--text-muted);
}
.cm-reply:hover { color: var(--accent); }
.cm-del:hover { color: var(--danger); }
.cm-replies {
  margin-left: 44px; padding-left: 14px; border-left: 2px solid var(--border);
}
.cm-replies .cm-item { padding: 12px 0; }
.cm-replies .cm-item:first-child { padding-top: 8px; }

@media (max-width: 680px) {
  .cm-section { padding: 20px 18px; }
  .cm-replies { margin-left: 20px; padding-left: 10px; }
  .p-actions { width: 100%; margin-top: 14px; }
  .sc-follow-btn { width: 100%; }
  .up-social-bar { gap: 16px; }
}

/* ============================================================
   OPC 申请表单 v2（必填问题分组 + 引导语）
   ============================================================ */
.form-lead {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  font-size: 13.5px; line-height: 1.75; color: var(--text-muted);
}
.form-sec-title {
  margin: 26px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
  font-size: 15px; font-weight: 700; color: var(--text);
}
.form-sec-title:first-child { margin-top: 0; }

/* ============================================================
   页脚微信矩阵二维码（客服 / 公众号 / 视频号）
   ============================================================ */
.footer-qr-row { display: flex; gap: 20px; margin-top: 18px; }
.footer-qr { text-align: center; cursor: pointer; border: none; background: none; padding: 0; font: inherit; }
.footer-qr img {
  width: 76px; height: 76px; border-radius: 10px; background: #fff; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25); transition: transform 0.15s, border-color 0.15s; display: block;
}
.footer-qr:hover img { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.55); }
.footer-qr span { display: block; margin-top: 7px; font-size: 11.5px; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }

/* ============================================================
   关于我们 — 品牌故事
   ============================================================ */
.brand-story {
  margin: 40px 0 8px; padding: 30px 34px 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 5%, transparent), transparent 70%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
}
.brand-story h2 { margin-top: 0; }
.brand-story p { margin-bottom: 14px; }
.brand-story p:last-of-type { margin-bottom: 0; }
.brand-story-quote {
  margin: 22px 0 0; padding: 16px 0 2px; border-top: 1px solid var(--border);
  font-size: 17px; font-weight: 700; color: var(--primary); letter-spacing: 0.2px;
}
@media (max-width: 640px) {
  .brand-story { padding: 22px 20px 24px; margin-top: 30px; }
  .brand-story-quote { font-size: 15.5px; }
}

/* ============================================================
   V1.5 关系层：连接 + 私信（M1）
   ============================================================ */
.conn-line { font-size: 13.5px; margin-bottom: 8px; line-height: 1.6; }
.conn-line strong { color: var(--text); }

/* ---- 活动同场参与者 ---- */
.att-list { display: flex; flex-direction: column; gap: 6px; }
.att-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
}
.att-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.att-name { font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; }
.att-name:hover { color: var(--accent); }
.att-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 私信布局 ---- */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 18px; min-height: 560px; }
.msg-side { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.msg-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
}
.msg-side-head h3 { margin: 0; font-size: 16px; }
.msg-conv-list { flex: 1; overflow-y: auto; }
.msg-conv { display: flex; gap: 12px; padding: 13px 16px; text-decoration: none; border-bottom: 1px solid var(--border); align-items: center; }
.msg-conv:hover { background: var(--bg); }
.msg-conv.active { background: color-mix(in srgb, var(--accent) 8%, transparent); border-left: 3px solid var(--accent); padding-left: 13px; }
.msg-conv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.msg-conv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msg-conv-name { font-weight: 600; font-size: 14px; color: var(--text); }
.msg-conv-time { font-size: 11.5px; color: var(--text-muted); flex-shrink: 0; }
.msg-conv-last { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-conv-empty { padding: 40px 20px; text-align: center; font-size: 13px; color: var(--text-muted); }

.msg-chat { display: flex; flex-direction: column; overflow: hidden; }
.msg-empty { margin: auto; text-align: center; color: var(--text-muted); padding: 40px; }
.msg-empty .icon { font-size: 40px; margin-bottom: 10px; }
.msg-empty h3 { color: var(--text); margin-bottom: 6px; }
.msg-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.msg-chat-peer { display: flex; flex-direction: column; }
.msg-chat-peer a { font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.msg-chat-peer span { font-size: 12px; color: var(--text-muted); }
.msg-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.msg-item { display: flex; flex-direction: column; max-width: 72%; }
.msg-item.mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble {
  padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6;
  background: var(--surface); border: 1px solid var(--border); word-break: break-word;
}
.msg-item.mine .msg-bubble { background: var(--primary); color: #fff; border-color: var(--primary); }
.msg-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.msg-none { margin: auto; color: var(--text-muted); font-size: 13.5px; }
.msg-input-row { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--border); align-items: flex-end; }
.msg-input-row textarea { flex: 1; resize: none; min-height: 42px; }

@media (max-width: 860px) {
  .msg-layout { grid-template-columns: 1fr; min-height: auto; }
  .msg-side { max-height: 320px; }
  .msg-chat { min-height: 480px; }
}

/* ============================================================
   主导航：企业服务下拉（桌面悬停 / 移动端手风琴）
   ============================================================ */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 15px; font-weight: 500;
  color: var(--text-muted); white-space: nowrap; transition: color 0.15s;
}
.nav-drop:hover .nav-drop-btn, .nav-drop.open .nav-drop-btn, .nav-drop.active .nav-drop-btn { color: var(--primary); }
.nav-drop .caret {
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform 0.18s;
}
.nav-drop.open .caret, .nav-drop:hover .caret { transform: rotate(-135deg); margin-top: 2px; }

.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 320px; padding: 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 120;
}
/* 悬停桥接：避免鼠标从按钮移动到菜单的间隙菜单消失 */
.nav-drop-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 10px;
  text-decoration: none; transition: background 0.14s;
}
.nav-drop-menu a:hover { background: var(--bg); }
/* 中窄屏：最右侧下拉面板改为右对齐，防止超出视口被裁切 */
@media (max-width: 1279px) {
  #nav-startup.nav-drop .nav-drop-menu {
    left: auto; right: -12px; transform: translateY(-6px);
  }
  #nav-startup.nav-drop:hover .nav-drop-menu,
  #nav-startup.nav-drop.open .nav-drop-menu {
    transform: translateY(0);
  }
}

/* 当前所在板块（项目市场下拉内的子项高亮） */
.nav-drop-menu a.current { background: var(--bg); box-shadow: inset 2px 0 0 var(--accent); }
.nav-drop-menu a.current .ndm-title { color: var(--primary); }
.ndm-title { font-size: 14.5px; font-weight: 600; color: var(--text); }
.nav-drop-menu a:hover .ndm-title { color: var(--primary); }
.ndm-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.nav-drop-menu .ndm-all {
  margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px;
  font-size: 13px; font-weight: 600; color: var(--accent); flex-direction: row; align-items: center;
}

@media (max-width: 920px) {
  /* 移动端：下拉改为内联手风琴，与其它导航项同一视觉层级 */
  .nav-drop { display: block; }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 11px 4px; font-size: 15.5px; }
  .nav-drop .caret { margin-right: 4px; }
  .nav-drop-menu {
    position: static; transform: none; min-width: 0; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: none; box-shadow: none; background: var(--bg); border-radius: 10px;
    padding: 4px 6px; margin: 0 0 6px; display: none;
  }
  .nav-drop-menu::before { display: none; }
  .nav-drop.open .nav-drop-menu { display: block; transform: none; }
  .nav-drop-menu a { padding: 9px 12px; }
  .ndm-title { font-size: 14.5px; }
  .ndm-desc { font-size: 12px; }
  .nav-drop-menu .ndm-all { border-top: none; margin-top: 0; }
}

/* ============================================================
   企业服务页
   ============================================================ */
.es-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.es-nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: 0.15s;
}
.es-nav a:hover { color: var(--primary); border-color: var(--primary); background: var(--bg); }

.es-block { margin-bottom: 34px; scroll-margin-top: 84px; }
.es-block-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.es-ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.es-block-head h2 { margin: 0 0 4px; font-size: 21px; }
.es-block-head p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.es-card { padding: 24px 26px; }
.es-sub { font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: var(--text); }
.es-sub:first-child { margin-top: 0; }
.es-list { list-style: none; display: grid; gap: 8px; }
.es-list li {
  position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--text);
}
.es-list li::before {
  content: ''; position: absolute; left: 3px; top: 10px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}
.es-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.es-table th, .es-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.es-table th { font-size: 12.5px; font-weight: 700; color: var(--text-muted); background: var(--bg); white-space: nowrap; }
.es-table td:first-child { font-weight: 600; white-space: nowrap; }
.es-table tr:last-child td { border-bottom: none; }
.es-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 10px; }
/* 容器窄于 620px 时表格保持可读宽度、横向滚动，而不是把单元格挤成竖排 */
.es-scroll .es-table { min-width: 620px; }

.es-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding: 18px 20px; border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 7%, transparent), transparent);
  border: 1px solid var(--border); border-left: 3px solid var(--primary);
}
.es-cta p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.es-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .es-card { padding: 18px; }
  .es-block-head h2 { font-size: 19px; }
  .es-cta { flex-direction: column; align-items: stretch; }
  .es-cta-actions .btn { flex: 1; justify-content: center; }
  /* 锚点胶囊一行横滑，避免折成三行 */
  .es-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .es-nav::-webkit-scrollbar { display: none; }
  .es-nav a { flex: 0 0 auto; }
}

/* 企业服务：重点能力列表（GEO / 达人合作 / 活动落地）用左侧强调条区分 */
.es-list-accent li::before {
  content: ''; position: absolute; left: 2px; top: 7px; bottom: 7px; width: 3px;
  border-radius: 2px; background: var(--primary);
}
.es-list-accent li { padding-left: 22px; }

/* ---- V1.10 结构化资料（一句话定位 / 语言能力 / 技能 / 意向 / 经历 / 教育） ---- */
.profile-head .p-headline { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 2px 0 6px; opacity: 0.95; }
.profile-head .up-chips { margin: 10px 0 6px; }
.profile-head .up-chip { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.up-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.up-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px;
  background: #EEF4FB; color: var(--primary); border: 1px solid var(--border); }
.up-chip.chip-open { background: #E7F6EC; color: #15803D; border-color: #BBE5C8; }
.up-chip.chip-skill { background: var(--surface); color: var(--text); }
.up-cap-label { font-size: 12px; color: var(--text-muted); margin: 12px 0 6px; }

/* 编辑表单：可重复行 */
.pf-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.pf-row > .form-control { flex: 1 1 140px; min-width: 120px; }
.pf-row .pf-row-del { flex: 0 0 auto; color: var(--text-muted); }
.pf-block { padding: 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; background: var(--bg); }
.pf-block .pf-row:last-child { margin-bottom: 0; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pf-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font-size: 13px; cursor: pointer; transition: all 0.15s; }
.pf-chip:hover { border-color: var(--accent); color: var(--accent); }
.pf-chip.active { background: #E7F0FB; border-color: var(--accent); color: var(--primary); font-weight: 500; }

/* 经历时间线 */
.exp-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.exp-item { display: flex; gap: 14px; padding: 12px 0; }
.exp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: 0 0 auto; }
.exp-body { flex: 1; }
.exp-role { font-size: 15px; font-weight: 500; }
.exp-co { color: var(--text-muted); font-weight: 400; }
.exp-time { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.exp-desc { font-size: 13.5px; color: var(--text-muted); margin-top: 6px; line-height: 1.6; }

/* 资料完成度 */
.up-completion .up-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin: 10px 0 6px; }
.up-completion .up-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.up-completion .up-bar-num { font-size: 13px; font-weight: 500; color: var(--primary); margin-bottom: 6px; }

/* ---- V1.11 语言维度徽标（项目 / 需求 / 职位共用） ---- */
.badge.lang-badge { background: #F1F6EE; color: #3F6B47; border: 1px solid #D6E4D0; font-weight: 500; }

/* ---- V1.13 项目市场：二级板块（采购需求 / 供给能力） ---- */
.mk-sides { display: flex; flex-wrap: wrap; gap: 10px; margin: -4px 0 18px; }
.mk-side {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  font-size: 14px; font-weight: 500; transition: all 0.15s;
}
.mk-side em { font-style: normal; font-size: 12px; opacity: 0.65; }
.mk-side:hover { border-color: var(--accent); color: var(--accent); }
.mk-side.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mk-side.active em { opacity: 0.8; }

/* ---- V1.14 项目市场首页：两个板块入口 / 精选 / 对比 ---- */
.mk-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 6px 0 8px; }
.mk-entry {
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden; border: 1px solid var(--border);
}
.mk-entry::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--accent); opacity: 0.85;
}
.mk-entry-proc::after { background: #15803D; }
.mk-entry-top { display: flex; align-items: center; justify-content: space-between; }
.mk-entry-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 21px; background: var(--bg); border: 1px solid var(--border);
}
.mk-entry-count { font-size: 12.5px; color: var(--text-muted); }
.mk-entry-count b { font-size: 22px; color: var(--primary); letter-spacing: -0.5px; margin-right: 2px; }
.mk-entry h2 { font-size: 20px; letter-spacing: -0.3px; margin: 2px 0 0; }
.mk-entry p { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.mk-entry-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-entry-go { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.mk-entry:hover .mk-entry-go { text-decoration: underline; }

.mk-feat { margin-top: 44px; }
.mk-feat-note { font-size: 13px; color: var(--text-muted); margin: 4px 0 0; }
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mk-col { min-width: 0; }
.mk-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mk-col-title { font-size: 13.5px; padding: 5px 12px; }
.mk-col-grid { grid-template-columns: 1fr; }

.mk-cmp { padding: 0; overflow: hidden; margin-top: 16px; }
.mk-cmp-row {
  display: grid; grid-template-columns: 140px 1fr 1fr; gap: 16px;
  padding: 15px 22px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.65;
}
.mk-cmp-row:last-child { border-bottom: none; }
.mk-cmp-head { background: var(--bg); font-weight: 700; font-size: 13.5px; color: var(--primary); }
.mk-cmp-k { color: var(--text-muted); font-weight: 600; font-size: 13px; }

.mk-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 6px 0 22px; }
.mk-why { padding: 20px 22px; }
.mk-why-icon { font-size: 20px; }
.mk-why h4 { font-size: 15px; margin: 8px 0 6px; }
.mk-why p { font-size: 13.5px; line-height: 1.7; color: var(--text-muted); margin: 0; }

.mk-hint-line {
  font-size: 13px; color: var(--text-muted); line-height: 1.7;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 12px 16px; margin: 22px 0 0;
}
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 4px; }
.mk-step {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13.5px; line-height: 1.55; color: var(--text);
}
.mk-step b {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 13px;
}
.mk-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  margin: 48px 0 8px; padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--primary), #2b3a55); color: #fff;
}
.mk-cta-band h3 { font-size: 19px; margin: 0 0 6px; color: #fff; }
.mk-cta-band p { margin: 0; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); max-width: 560px; }
.mk-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.mk-cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

@media (max-width: 1024px) {
  .mk-entry-grid, .mk-split, .mk-why-grid, .mk-steps { grid-template-columns: 1fr; }
  .mk-cmp-row { grid-template-columns: 104px 1fr 1fr; gap: 10px; padding: 13px 16px; font-size: 13px; }
}
@media (max-width: 640px) {
  .mk-entry { padding: 20px 18px 18px; }
  .mk-cta-band { padding: 22px 20px; }
  .mk-cmp-row { grid-template-columns: 1fr; gap: 4px; }
  .mk-cmp-head { display: none; }
  .mk-cmp-row span:not(.mk-cmp-k)::before { content: "· "; color: var(--text-muted); }
}

/* ---- 招聘：平台统一发布提示 ---- */
.jb-post-hint { font-size: 13px; color: var(--text-muted); max-width: 260px; text-align: right; line-height: 1.55; }

/* ---- V1.13 创业社群 ---- */
.su-body { padding-bottom: 8px; }

.su-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.su-value {
  padding: 24px 22px 20px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.su-value-ico { font-size: 26px; line-height: 1; margin-bottom: 14px; }
.su-value h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -0.2px; }
.su-value p { font-size: 13.5px; line-height: 1.75; color: var(--text-muted); flex: 1; }
.su-value-more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }

.su-flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.su-flow li {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border); font-size: 13.5px; line-height: 1.5;
}
.su-flow b {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.su-inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 20px; padding: 16px 18px; border-radius: 12px;
  background: var(--bg); border: 1px dashed var(--border);
}
.su-inline-cta > span { font-size: 13.5px; color: var(--text-muted); }
.su-inline-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.su-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.su-cap-item { padding: 22px 24px; }
.su-cap-ico { font-size: 22px; line-height: 1; }
.su-cap-item h3 { font-size: 15.5px; margin: 10px 0 6px; }
.su-cap-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.su-cap-flow { margin-top: 18px; }

.su-land-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.su-land { padding: 24px 22px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.su-land-ico { font-size: 24px; line-height: 1; margin-bottom: 12px; }
.su-land h3 { font-size: 16px; margin-bottom: 8px; }
.su-land p { font-size: 13.5px; line-height: 1.75; color: var(--text-muted); flex: 1; }

.su-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.su-ev { padding: 22px 22px 20px; }
.su-ev-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px;
  color: var(--accent); background: #EAF4FF; padding: 3px 9px; border-radius: 999px;
}
.su-ev h3 { font-size: 16px; margin: 10px 0 6px; }
.su-ev p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.su-ev-cta { margin-top: 18px; }

.su-partner-title { margin: 26px 0 12px; }

.su-final {
  margin: 10px 0 4px; padding: 44px 28px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, #0F3460, #1E90FF); color: #fff;
}
.su-final h2 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.4px; }
.su-final p { color: rgba(255, 255, 255, 0.84); font-size: 14.5px; max-width: 560px; margin: 0 auto 22px; line-height: 1.7; }
.su-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.su-final .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.su-final .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

@media (max-width: 1024px) {
  .su-values, .su-flow { grid-template-columns: repeat(2, 1fr); }
  .su-land-grid, .su-ev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .su-values, .su-flow, .su-cap-grid, .su-land-grid, .su-ev-grid { grid-template-columns: 1fr; }
  .su-final { padding: 32px 20px; }
  .su-final h2 { font-size: 20px; }
  .jb-post-hint { text-align: left; max-width: none; }
}

/* ============================================================
   V1.15 个人公开主页（LinkedIn 式三栏：封面 / 标签 / 动态）
   ============================================================ */
.uph-page { padding-top: 18px; }
.uph-wrap { max-width: 1200px; }

/* ---- 封面 ---- */
.uph-cover {
  position: relative; height: 166px; overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(118deg, #0B2745 0%, var(--primary) 46%, #1B5C9E 100%);
}
.uph-cover-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 240px at 84% 8%, rgba(30,144,255,.48), transparent 62%),
    radial-gradient(380px 200px at 10% 98%, rgba(255,255,255,.10), transparent 60%),
    repeating-linear-gradient(114deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px);
}
.uph-cover-actions { position: absolute; top: 14px; right: 16px; z-index: 2; }
.uph-cover-actions .btn {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(6px);
}
.uph-cover-actions .btn:hover { background: rgba(255,255,255,.26); color: #fff; }

/* ---- 头部卡 ---- */
.uph-head {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  padding: 0 28px 22px; margin-bottom: 20px;
  border-radius: 0 0 16px 16px; border-top: none;
}
.uph-avatar-wrap { margin-top: -46px; flex: 0 0 auto; }
.uph-head .uph-avatar {
  border: 4px solid var(--surface); border-radius: 24px;
  box-shadow: var(--shadow-md); background: var(--surface);
}
.uph-head-main { flex: 1; min-width: 0; padding-top: 14px; }
.uph-name {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 25px; line-height: 1.25; letter-spacing: -0.6px;
}
.uph-headline { font-size: 15px; line-height: 1.55; margin-top: 6px; }
.uph-sub { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.uph-sub:empty { display: none; }
.uph-meta {
  display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap;
  margin-top: 8px; font-size: 12.5px; color: var(--text-muted);
}
.uph-head-acts { flex: 0 0 auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.uph-btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.uph-follow.on { color: var(--success); border-color: #BBE5C8; background: #ECFDF3; }

/* ---- 标签 ---- */
.uph-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.uph-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; line-height: 1.6;
  background: var(--bg); color: var(--text-muted); border: 1px solid var(--border);
}
.uph-tag i { font-style: normal; font-size: 12px; }
.uph-tag.t-ind { background: #FFF7E8; color: #B45309; border-color: #F6E3C0; }
.uph-tag.t-edu { background: #EEF2FF; color: #4338CA; border-color: #DDE3FB; }
.uph-tag.t-loc { background: #ECFDF3; color: #15803D; border-color: #CDEEDB; }
.uph-tag.t-skill { background: var(--surface); color: var(--text); }
.uph-tag.t-cus { background: #EAF4FF; color: #1668C4; border-color: #D3E7FB; }
.uph-tag.t-more { border-style: dashed; background: transparent; }
.uph-tag.t-add {
  border-style: dashed; border-color: var(--accent); color: var(--accent); background: transparent;
}
.uph-head-main .uph-tags { margin-top: 12px; }

/* ---- 三栏 ---- */
.uph-grid {
  display: grid; grid-template-columns: 268px minmax(0, 1fr) 300px;
  gap: 20px; align-items: start;
}
.uph-left, .uph-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.uph-main { min-width: 0; }

/* ---- 卡片通用 ---- */
.uph-card { padding: 20px; }
.uph-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
}
.uph-card-head h3 { font-size: 15px; letter-spacing: -0.2px; }
.uph-card-link { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.uph-card-link:hover { text-decoration: underline; }
.uph-muted { font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.uph-bio { font-size: 14px; line-height: 1.78; overflow-wrap: anywhere; }
.uph-kv { margin-top: 14px; }
.uph-kv > span {
  display: block; margin-bottom: 5px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.3px; text-transform: uppercase; color: var(--text-muted);
}
.uph-kv p { font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; }
.uph-rolehint {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border);
  font-size: 12.5px; line-height: 1.6; color: var(--text-muted);
}
.uph-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.uph-socials a { font-size: 13px; font-weight: 600; color: var(--accent); }
.uph-open-tags .up-chip { font-size: 12px; padding: 2px 9px; }
.uph-completion .up-bar { margin: 4px 0 10px; }
.uph-completion .uph-muted { margin-bottom: 12px; }
.uph-pct { font-size: 13px; font-weight: 800; color: var(--accent); }

/* ---- 发布框 ---- */
.uph-composer { padding: 16px 20px 14px; margin-bottom: 18px; }
.uph-comp-top { display: flex; gap: 12px; align-items: flex-start; }
.uph-comp-input {
  flex: 1; min-width: 0; min-height: 54px; resize: vertical;
  padding: 6px 0; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 14.5px; line-height: 1.7; color: var(--text);
}
.uph-comp-input::placeholder { color: var(--text-muted); }
.uph-comp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border);
}
.uph-comp-hint { font-size: 12px; color: var(--text-muted); }
.uph-comp-right { display: flex; align-items: center; gap: 12px; }
.uph-count { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.uph-count.warn { color: var(--warning); font-weight: 700; }

/* ---- 分区标题 ---- */
.uph-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin: 26px 2px 12px;
}
.uph-composer + .uph-section-head { margin-top: 0; }
.uph-section-head h2 { font-size: 19px; letter-spacing: -0.4px; }
.uph-count-label { font-size: 12.5px; color: var(--text-muted); }

/* ---- 动态流 ---- */
.uph-feed { display: flex; flex-direction: column; gap: 14px; }
.uph-post { padding: 18px 20px; }
.uph-post-head { display: flex; gap: 12px; align-items: flex-start; }
.uph-post-who { flex: 1; min-width: 0; }
.uph-post-name {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 14px; font-weight: 700; line-height: 1.4;
}
.uph-post-sub { margin-top: 2px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uph-post-meta { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; color: var(--text-muted); }
.uph-post-del {
  padding: 2px 5px; border: none; border-radius: 6px; background: transparent;
  font-size: 13px; line-height: 1; cursor: pointer; opacity: 0.45; transition: all .15s;
}
.uph-post-del:hover { opacity: 1; background: #FEF2F2; }
.uph-post-body { margin-top: 12px; font-size: 14.5px; line-height: 1.82; overflow-wrap: anywhere; }
.uph-post-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.uph-like {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: all .15s;
}
.uph-like:hover { border-color: #F5A0B4; color: #E0446B; }
.uph-like.on { background: #FFF0F4; border-color: #F5A0B4; color: #E0446B; }
.uph-like[disabled] { opacity: .6; cursor: default; }
.uph-like b { font-weight: 800; }
.uph-like b:empty { display: none; }
.uph-empty {
  padding: 34px 22px; text-align: center;
  background: var(--surface); border: 1px dashed var(--border); border-radius: 14px;
}
.uph-empty-ico { font-size: 26px; line-height: 1; }
.uph-empty b { display: block; margin: 10px 0 4px; font-size: 15px; }
.uph-empty p { font-size: 13px; line-height: 1.7; color: var(--text-muted); }
.uph-more-wrap { display: flex; justify-content: center; margin-top: 14px; }

/* ---- 工作经历 ---- */
.uph-exp { padding: 6px 20px; }
.uph-exp-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.uph-exp-item:last-child { border-bottom: none; }
.uph-exp-badge {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #1E4A80);
  color: #fff; font-size: 16px; font-weight: 800;
}
.uph-exp-body { min-width: 0; }
.uph-exp-role { font-size: 14.5px; font-weight: 700; }
.uph-exp-co { margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.uph-exp-co span { opacity: .85; }
.uph-exp-body .uph-muted { margin-top: 6px; }

/* ---- 右栏：标签 / 教育 / 数据 ---- */
.uph-taggroup + .uph-taggroup { margin-top: 14px; }
.uph-taglabel {
  margin-bottom: 7px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.3px; text-transform: uppercase; color: var(--text-muted);
}
.uph-edu { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.uph-edu:last-child { padding-bottom: 0; border-bottom: none; }
.uph-edu-ico {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; background: var(--bg);
}
.uph-edu-school { font-size: 14px; font-weight: 700; }
.uph-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uph-stat { padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.uph-stat b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--primary); }
.uph-stat i { font-style: normal; font-size: 11.5px; color: var(--text-muted); }

/* ---- TA 的项目（中栏窄列：单列紧凑卡，复用 project-card 结构） ---- */
.uph-projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.uph-projects *, .uph-projects .pc-meta * { min-width: 0; }
.uph-projects .project-card { padding: 16px 18px; gap: 8px; }
.uph-projects .project-card h3 { font-size: 15.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uph-projects .pc-summary { font-size: 13px; min-height: 0; }
.uph-projects .pc-meta { gap: 6px; }
/* 主页上下文里 owner 与本人重复展示，收掉只留时间 */
.uph-projects .pc-owner { display: none; }
.uph-projects .pc-footer { justify-content: flex-end; padding-top: 2px; }
@media (max-width: 1040px) {
  /* 中栏恢复通栏后允许双列，避免卡片被拉得过宽 */
  .uph-projects { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
}

/* ---- 响应式 ---- */
@media (max-width: 1160px) {
  .uph-grid { grid-template-columns: 236px minmax(0, 1fr) 268px; gap: 16px; }
}
@media (max-width: 1040px) {
  .uph-grid { grid-template-columns: minmax(0, 1fr); }
  .uph-left, .uph-right { flex-direction: row; flex-wrap: wrap; }
  .uph-left > .card, .uph-right > .card { flex: 1 1 300px; }
  .uph-left > .uph-completion { flex: 1 1 100%; }
}
@media (max-width: 720px) {
  .uph-page { padding-top: 0; }
  .uph-cover { height: 126px; border-radius: 12px 12px 0 0; }
  .uph-head { flex-direction: column; gap: 12px; padding: 0 18px 18px; }
  .uph-avatar-wrap { margin-top: -38px; }
  .uph-head .uph-avatar { width: 76px; height: 76px; font-size: 28px; border-radius: 20px; }
  .uph-head-main { padding-top: 0; }
  .uph-name { font-size: 21px; }
  .uph-head-acts { width: 100%; padding-top: 0; flex-direction: row; flex-wrap: wrap; }
  .uph-head-acts .btn { flex: 1 1 auto; justify-content: center; }
  .uph-left, .uph-right { flex-direction: column; }
  .uph-post { padding: 16px; }
  .uph-post-body { font-size: 14px; }
  .uph-comp-hint { display: none; }
  .uph-cover-actions { top: 10px; right: 10px; }
}

/* ============================================================
   V1.18 招聘双身份 / 岗位标签 / EOR 服务
   ============================================================ */

/* ---- 岗位标签 chips ---- */
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-card .pc-tags { margin: 8px 18px 0; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--text-muted); background: var(--bg); border: 1px solid var(--border);
  font-family: inherit; line-height: 1.7; white-space: nowrap;
}
button.tag-chip { cursor: pointer; transition: all .15s; }
button.tag-chip:hover { border-color: var(--accent); color: var(--primary); }
.tag-chip i { font-style: normal; font-size: 10.5px; opacity: .6; }
.tag-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.tag-chip.on i { opacity: .8; }
.tag-chip.more { cursor: default; border-style: dashed; }
.jb-tagbar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: -6px 0 16px; }
.jb-tagbar-label { font-size: 12.5px; color: var(--text-muted); font-weight: 700; margin-right: 2px; }
.seg-count { font-size: 11.5px; font-weight: 700; opacity: .55; }

/* ---- EOR 服务页 ---- */
.eor-hero {
  padding: 66px 0 58px; margin-bottom: 8px;
  background: linear-gradient(120deg, #0B2745 0%, var(--primary) 55%, #1B5C9E 100%);
  color: #fff;
}
.eor-hero h1 { font-size: 34px; letter-spacing: -0.8px; line-height: 1.25; }
.eor-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .4px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
}
.eor-lead { font-size: 15.5px; line-height: 1.75; max-width: 760px; margin-top: 14px; color: rgba(255,255,255,.9); }
.eor-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }
.eor-hero .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.eor-section { padding-top: 44px; }
.eor-two { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.eor-section h2, .eor-sec-head h2 { font-size: 23px; letter-spacing: -0.4px; }
.eor-section p { font-size: 14.5px; line-height: 1.8; color: var(--text-muted); margin-top: 10px; }
.eor-list { margin: 14px 0 0; padding-left: 20px; }
.eor-list li { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.eor-note { padding: 22px 24px; }
.eor-note h3 { font-size: 15px; margin-bottom: 6px; }
.eor-note p { margin-top: 0; font-size: 13.5px; }
.eor-sec-head { margin-bottom: 18px; }
.eor-sec-head p { margin-top: 6px; }
.eor-use { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.eor-use-item { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.eor-use-item b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.eor-use-item span { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.eor-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.eor-step { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.eor-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; margin-bottom: 10px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 800;
}
.eor-step b { display: block; font-size: 14.5px; }
.eor-step p { font-size: 13px; margin-top: 6px; line-height: 1.7; }
.eor-cover { display: flex; justify-content: space-between; gap: 24px; padding: 28px 30px; flex-wrap: wrap; }
.eor-regions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.eor-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap;
  margin: 48px 0 64px; padding: 30px 34px; border-radius: 18px;
  background: linear-gradient(120deg, #EAF4FF, #F7FBFF); border: 1px solid #D3E7FB;
}
.eor-cta h2 { font-size: 21px; }
.eor-cta p { margin-top: 6px; }

/* ---- 企业招聘中心 ---- */
.emp-page { margin-top: 24px; }
.emp-wide { max-width: 1080px; }
.emp-narrow { max-width: 760px; }
.emp-head { display: flex; gap: 18px; align-items: center; padding: 22px 24px; flex-wrap: wrap; }
.emp-logo {
  width: 64px; height: 64px; border-radius: 16px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #1B5C9E); color: #fff;
  font-size: 26px; font-weight: 800;
}
.emp-head-main { flex: 1; min-width: 200px; }
.emp-head-main h1 { font-size: 22px; letter-spacing: -0.4px; }
.emp-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
  padding: 2px 9px; border-radius: 999px; margin-bottom: 6px;
  background: #EAF4FF; color: #1668C4; border: 1px solid #D3E7FB;
}
.emp-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.emp-meta a { color: var(--accent); }
.emp-head-acts { flex: 0 0 auto; }
.emp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.emp-stat { padding: 16px 18px; }
.emp-stat b { display: block; font-size: 23px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.emp-stat span { font-size: 12.5px; color: var(--text-muted); }
.emp-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.emp-tab {
  border: none; background: none; padding: 10px 14px; margin-bottom: -1px;
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent; transition: color .15s;
}
.emp-tab:hover { color: var(--text); }
.emp-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.emp-jobs { display: flex; flex-direction: column; gap: 12px; }
.emp-job { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; padding: 18px 20px; }
.emp-job-main { flex: 1; min-width: 240px; }
.emp-job-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.emp-job h3 { font-size: 16.5px; letter-spacing: -0.2px; overflow-wrap: anywhere; }
.emp-job-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }
.emp-job-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.emp-job-acts .emp-del { color: var(--danger); }
.emp-panel { padding: 24px; }
.emp-sub { font-size: 13.5px; color: var(--text-muted); margin: 6px 0 18px; }
.emp-apps-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.emp-app-list { display: flex; flex-direction: column; gap: 12px; }
.emp-app { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 12px; flex-wrap: wrap; }
.emp-app-main { flex: 1; min-width: 200px; }
.emp-app-name { font-weight: 700; color: var(--text); }
.emp-app-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.emp-app-note { font-size: 13px; margin: 8px 0 4px; overflow-wrap: anywhere; }
.emp-app-meta { font-size: 12px; color: var(--text-muted); }
.emp-app-status { max-width: 150px; }
.emp-empty { font-size: 13.5px; color: var(--text-muted); padding: 10px 0; }
.emp-upgrade { padding: 36px 30px; text-align: center; }
.emp-up-ico { font-size: 34px; }
.emp-upgrade h1 { font-size: 23px; margin-top: 10px; letter-spacing: -0.4px; }
.emp-up-desc { font-size: 14px; color: var(--text-muted); max-width: 580px; margin: 8px auto 20px; line-height: 1.75; }
.emp-up-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; text-align: left; margin-bottom: 24px; }
.emp-up-grid div { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.emp-up-grid b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.emp-up-grid span { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.emp-form { text-align: left; max-width: 640px; margin: 0 auto; }

@media (max-width: 900px) {
  .eor-two { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .eor-hero { padding: 48px 0 42px; }
  .eor-hero h1 { font-size: 27px; }
}
@media (max-width: 720px) {
  .emp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emp-head { padding: 18px; }
  .emp-head-main h1 { font-size: 19px; }
  .emp-head-acts { width: 100%; }
  .emp-head-acts .btn { width: 100%; justify-content: center; }
  .emp-upgrade { padding: 26px 18px; }
  .eor-cta { padding: 22px; }
  .eor-cta .ch-actions { width: 100%; }
}

/* 个人中心侧栏：招聘入口分隔 */
.dash-nav-sep { height: 1px; background: var(--border); margin: 10px 0; }

/* ---- 个人中心：我的求职（已投递岗位） ---- */
.app-wrap { padding: 26px 28px; }
.app-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 14px; }
.app-row {
  display: flex; gap: 14px; align-items: flex-start; justify-content: space-between;
  padding: 14px 2px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.app-row:last-child { border-bottom: none; }
.app-row .exp-role { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.app-row .exp-time { margin-top: 3px; }
@media (max-width: 720px) { .app-wrap { padding: 20px 16px; } }

/* ============================================================
   V1.20 首页/创业社群 Banner · 全站排版可读性
   ============================================================ */

/* ---- 首页 hero：全球跨境人才职业发展社区 ---- */
.hero-talent { padding: 76px 0 84px; }
.hero-kicker {
  display: inline-block; margin-bottom: 16px; padding: 5px 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px;
}
.hero-talent h1 { max-width: 780px; font-size: 48px; line-height: 1.18; }
.hero-talent p { max-width: 660px; line-height: 1.78; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-quick a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.18s, transform 0.18s, color 0.18s;
}
.hero-quick a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; transform: translateY(-1px); }

/* ---- 创业社群：承接原首页大 Banner ---- */
.su-hero { padding: 82px 0 70px; }
.su-hero h1 { max-width: 880px; font-size: 46px; line-height: 1.18; }
.su-hero p { max-width: 780px; line-height: 1.78; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 42px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hs-item b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.15; }
.hs-item i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.su-body { padding-top: 24px; }
.su-body .es-nav { margin-top: 6px; }

/* ---- 板块标题：主标题 + 一句说明 ---- */
.section-head .sh-text { min-width: 0; }
.section-head .sh-text h2 { font-size: 24px; letter-spacing: -0.5px; }
.section-head .sh-text p {
  margin-top: 7px; font-size: 14.5px; line-height: 1.7;
  color: var(--text-muted); max-width: 760px;
}
.home-group-label { margin: 24px 0 12px; font-size: 15px; font-weight: 700; }
.home-group-label:first-of-type { margin-top: 4px; }

/* ---- 阅读舒适度：正文与小字整体上调一档 ---- */
body { font-size: 16px; line-height: 1.7; }
p { line-height: 1.75; }

/* 徽章：11.5–12 → 12.5–13 */
.badge { font-size: 13px; padding: 4px 11px; }
.pc-meta { gap: 8px; }
.pc-meta .badge { font-size: 12.5px; padding: 3px 10px; }
.opc-tags .badge { font-size: 12.5px; }

/* 职位标签：明确放大（用户反馈） */
.tag-chip { font-size: 13.5px; padding: 4px 12px; gap: 5px; line-height: 1.6; }
.tag-chip i { font-size: 12px; }
.ch-card .pc-tags .tag-chip { font-size: 12.5px; padding: 3px 10px; }
.jb-tagbar-label { font-size: 13.5px; }
.seg-count { font-size: 12.5px; }

/* 卡片正文 */
.ch-card-title { font-size: 17px; line-height: 1.5; }
.ch-card-excerpt { font-size: 14.5px; line-height: 1.72; }
.ch-card-foot { font-size: 13.5px; }
.ch-card .exp-time { font-size: 13.5px; line-height: 1.62; }
.project-card h3 { font-size: 17px; }
.project-card .pc-summary { font-size: 14.5px; line-height: 1.72; min-height: 50px; }
.pc-footer { font-size: 13.5px; }

/* 列表 / 经历 / 详情正文 */
.exp-role { font-size: 15.5px; }
.exp-time { font-size: 13.5px; line-height: 1.6; }
.exp-desc { font-size: 14.5px; line-height: 1.72; }
.form-hint { font-size: 13.5px; line-height: 1.6; }
.form-check { font-size: 14.5px; }
.filter-bar .form-control { font-size: 14.5px; }
.filter-result { font-size: 14.5px; }
.table.table { font-size: 14.5px; }
.table th { font-size: 13px; }
.table-note { font-size: 13.5px; }

/* 首页特性 / 数据卡 */
.feature p { font-size: 14.5px; line-height: 1.75; }
.stat-card .label { font-size: 14px; }
.ch-stat i { font-size: 13.5px; }

/* 页脚可读性 */
.footer-desc, .footer-col a, .footer-col h4 { font-size: 14px; }

@media (max-width: 980px) {
  .hero-talent h1, .su-hero h1 { font-size: 36px; }
  .su-hero { padding: 60px 0 52px; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 720px) {
  .hero-talent { padding: 52px 0 58px; }
  .hero-talent h1, .su-hero h1 { font-size: 28px; letter-spacing: -0.7px; }
  .hero-quick { margin-top: 24px; gap: 8px; }
  .hero-quick a { font-size: 13px; padding: 8px 13px; }
  .hs-item b { font-size: 24px; }
  .section-head .sh-text h2 { font-size: 21px; }
  .section-head .sh-text p { font-size: 13.5px; }
}

/* ============================================================
   V1.21 管理后台数据看板（/admin/analytics）+ 岗位页数据精选
   纯 CSS 图表：横向条 / 环形 / 分组柱，无第三方依赖
   ============================================================ */
.an-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.an-head h2 { font-size: 22px; letter-spacing: -0.3px; }
.an-head p { font-size: 14px; color: var(--text-muted); margin-top: 5px; max-width: 720px; }
.an-tools { display: flex; align-items: center; gap: 10px; }
.an-stamp { font-size: 13px; color: var(--text-muted); }

/* KPI */
.an-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.an-kpi .k { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.an-kpi .k .n { font-size: 27px; font-weight: 800; color: var(--primary); line-height: 1.15; letter-spacing: -0.5px; }
.an-kpi .k .l { font-size: 13.5px; color: var(--text-muted); margin-top: 3px; }
.an-kpi .k .s { font-size: 12.5px; color: var(--accent); margin-top: 7px; line-height: 1.45; }

/* 卡片与栅格 */
.an-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.an-grid2 > .an-card { margin-bottom: 16px; }
.an-card { padding: 20px 22px; margin-bottom: 16px; }
.an-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.an-card-h h3 { font-size: 16.5px; letter-spacing: -0.2px; }
.an-note { font-size: 12.5px; color: var(--text-muted); }
.an-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
.an-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* 横向条 */
.an-bar-row { display: grid; grid-template-columns: minmax(88px, 132px) 1fr minmax(72px, auto); align-items: center; gap: 12px; margin-bottom: 9px; font-size: 13.5px; }
.an-bar-row .lab { color: var(--text); overflow-wrap: anywhere; line-height: 1.4; }
.an-track { display: block; height: 9px; background: #EEF2F7; border-radius: 999px; overflow: hidden; }
.an-fill { display: block; height: 100%; border-radius: 999px; transition: width 0.4s ease; }
.an-val { text-align: right; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 环形图 */
.an-donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.an-donut { width: 148px; height: 148px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; }
.an-donut-in {
  width: 96px; height: 96px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; align-content: center; box-shadow: inset 0 0 0 1px var(--border);
}
.an-donut-in b { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.an-donut-in span { font-size: 12px; color: var(--text-muted); }
.an-legend { list-style: none; flex: 1; min-width: 180px; display: grid; gap: 9px; }
.an-legend li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.an-legend li i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.an-legend .lg-lab { flex: 1; color: var(--text); }
.an-legend b { font-variant-numeric: tabular-nums; }
.an-legend em { font-style: normal; color: var(--text-muted); font-size: 12.5px; min-width: 46px; text-align: right; }

/* 语言供需 */
.an-lang-head, .an-lang-row {
  display: grid; grid-template-columns: 116px 1fr 1fr 66px; gap: 14px; align-items: center;
}
.an-lang-head { font-size: 12.5px; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.an-lang-row { padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border); }
.an-lang-row:last-child { border-bottom: none; }
.an-lang-name { overflow-wrap: anywhere; }
.an-dual { display: grid; gap: 4px; }
.an-dual em { font-style: normal; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.an-lang-gap { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text-muted); }
.an-lang-gap.ok { color: var(--success); }
.an-lang-gap.bad { color: var(--danger); }

/* 表格 */
.an-table { font-size: 13.5px; }
.an-table th.num, .an-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.an-table td.strong { font-weight: 700; color: var(--primary); }
.an-rank { width: 34px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* 趋势图 */
.an-trend-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.an-trend-legend span { display: inline-flex; align-items: center; gap: 6px; }
.an-trend-legend i { width: 9px; height: 9px; border-radius: 3px; }
.an-trend { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 176px; padding-top: 6px; }
.an-tcol { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; gap: 6px; }
.an-tbars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.an-tbars i { width: 9px; border-radius: 3px 3px 0 0; min-height: 0; transition: height 0.4s ease; }
.an-tlab { font-size: 12px; color: var(--text-muted); }
.an-tsum { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.an-tsum.zero { opacity: 0.45; }

/* 标签云 */
.an-tagcloud { display: flex; flex-wrap: wrap; gap: 9px; }
.an-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  background: #F1F5FA; border: 1px solid var(--border); font-size: 13px; color: var(--text);
}
.an-tag b { font-weight: 600; }
.an-tag em { font-style: normal; font-size: 12px; color: var(--accent); font-weight: 700; }

/* 工作形态 / 完整度 */
.an-visa {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text);
}
.an-visa b { font-size: 18px; color: var(--primary); }
.an-visa em { font-style: normal; font-size: 12.5px; color: var(--text-muted); margin-left: auto; }
.an-quality { display: grid; gap: 11px; }
.an-q-row { display: grid; grid-template-columns: minmax(96px, 1fr) 1.1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.an-q-row .lab { overflow-wrap: anywhere; }
.an-q-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); white-space: nowrap; }
.an-q-val em { display: block; font-style: normal; font-size: 11.5px; color: var(--text-muted); font-weight: 400; }

/* 空态 */
.an-empty { text-align: center; color: var(--text-muted); font-size: 13.5px; padding: 20px 10px; line-height: 1.9; }
.an-empty div { font-size: 15px; color: var(--text); margin: 2px 0; }
.an-empty span { font-size: 12.5px; opacity: 0.9; }

/* ---- 岗位页数据精选 ---- */
.ji-card { padding: 18px 20px; margin-bottom: 16px; }
.ji-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ji-head h3 { font-size: 16.5px; }
.ji-head p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.ji-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ji-kpis > div { display: flex; flex-direction: column; gap: 2px; }
.ji-kpis b { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; letter-spacing: -0.4px; }
.ji-kpis span { font-size: 12.5px; color: var(--text-muted); }
.ji-kpis i { font-style: normal; font-size: 11.5px; color: var(--accent); margin-top: 2px; }
.ji-lines { display: grid; gap: 9px; margin-top: 14px; }
.ji-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ji-lab {
  font-size: 12px; color: var(--text-muted); min-width: 42px; flex: 0 0 auto;
  background: var(--bg); border-radius: 6px; padding: 3px 7px; text-align: center;
}
.ji-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 12.8px; color: var(--text);
  cursor: pointer; transition: all 0.15s;
}
.ji-chip:hover { border-color: var(--accent); color: var(--accent); }
.ji-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ji-chip em { font-style: normal; font-size: 11.5px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.ji-none { font-size: 12.5px; color: var(--text-muted); }
.an-active { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.an-active-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; border-radius: 999px;
  background: #EAF4FF; color: var(--accent); font-size: 12.5px; font-weight: 600;
}
.an-active-tag button { border: none; background: transparent; color: inherit; cursor: pointer; font-size: 12px; padding: 0 3px; }

@media (max-width: 1080px) {
  .an-kpi { grid-template-columns: repeat(2, 1fr); }
  .ji-kpis { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
}
@media (max-width: 900px) {
  .an-grid2 { grid-template-columns: 1fr; }
  .an-lang-head, .an-lang-row { grid-template-columns: 92px 1fr 1fr 54px; gap: 10px; }
  .ji-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .an-kpi { grid-template-columns: 1fr; }
  .an-bar-row { grid-template-columns: 96px 1fr auto; }
  .an-donut { width: 120px; height: 120px; }
  .an-donut-in { width: 78px; height: 78px; }
}

/* ============================================================
   V1.22 单账号双身份：身份与权限 / 企业认证 / 企业落地页
   ============================================================ */
.idn-wrap { display: grid; gap: 16px; }
.idn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.idn-head h2 { font-size: 19px; letter-spacing: -0.2px; }
.idn-head .sub { margin-top: 4px; }

/* 视图切换 */
.idn-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.idn-opt {
  text-align: left; padding: 16px 18px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border); transition: all 0.15s;
  display: flex; flex-direction: column; gap: 5px;
}
.idn-opt b { font-size: 15px; color: var(--text); }
.idn-opt span { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.idn-opt:hover:not(:disabled) { border-color: var(--accent); }
.idn-opt.on { border-color: var(--primary); background: #F5F8FD; box-shadow: inset 0 0 0 1px var(--primary); }
.idn-opt:disabled { opacity: 0.55; cursor: not-allowed; }

/* 个人人才身份 */
.idn-talent-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.idn-co-name { font-size: 16px; font-weight: 700; color: var(--text); }
.idn-co-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.idn-dot { font-size: 12.8px; color: var(--text-muted); }
.idn-dot.ok { color: var(--success); }
.idn-dot.link { color: var(--accent); }

/* 企业卡片 */
.idn-co-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
.idn-co-card.is-rejected { border-color: #F0C9C9; background: #FFFBFB; }
.idn-co-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.idn-co-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.idn-note { margin-top: 10px; font-size: 12.8px; color: var(--text-muted); line-height: 1.6; }
.idn-note.bad { color: var(--danger); }
.idn-note b { margin-right: 6px; }
.idn-empty { text-align: center; padding: 26px 10px; color: var(--text-muted); font-size: 13.5px; }
.idn-empty b { display: block; color: var(--text); font-size: 15px; margin: 6px 0 4px; }
.idn-empty-ico { font-size: 34px; }

/* 企业邀请 */
.idn-invite { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.idn-invite:last-child { border-bottom: none; }
.idn-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.idn-file-name { font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }

/* 企业工作台顶部 */
.emp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.emp-topbar-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.emp-co-pick { max-width: 240px; }
.emp-invite { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.emp-up-status { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }

/* 企业资料 / 审核卡片 */
.idn-co .sub, .emp-panel .sub { font-size: 13.5px; color: var(--text-muted); }
.cmp-card { padding: 18px 20px; margin-bottom: 14px; }
.cmp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cmp-name { font-weight: 700; font-size: 15px; max-width: 380px; flex: 1 1 240px; }
.cmp-meta { font-size: 12.8px; color: var(--text-muted); }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
.cmp-grid .form-group { margin: 0; }
.cmp-intro { font-size: 13.5px; color: var(--text); line-height: 1.7; margin: 12px 0 0; }
.cmp-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.cmp-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.cmp-note { flex: 1 1 260px; min-width: 200px; }

/* 企业落地页 */
.fe-hero { padding: 64px 0 44px; text-align: left; }
.fe-kicker { display: inline-block; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.fe-hero h1 { font-size: 36px; line-height: 1.25; margin: 12px 0 14px; letter-spacing: -0.6px; max-width: 760px; }
.fe-lead { font-size: 16px; color: var(--text-muted); line-height: 1.8; max-width: 760px; }
.fe-note { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
.fe-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 12px; }
.fe-step { padding: 22px 22px 24px; }
.fe-step-n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.fe-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.fe-step p { font-size: 13.8px; color: var(--text-muted); line-height: 1.75; }
.fe-cta { padding: 8px 0 56px; }
.fe-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; flex-wrap: wrap; }
.fe-cta-card h3 { font-size: 19px; margin-bottom: 6px; }
.fe-cta-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 640px; }

@media (max-width: 900px) {
  .idn-switch { grid-template-columns: 1fr; }
  .cmp-grid { grid-template-columns: repeat(2, 1fr); }
  .fe-steps { grid-template-columns: 1fr; }
  .fe-hero h1 { font-size: 29px; }
}
@media (max-width: 640px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .fe-hero { padding: 40px 0 28px; }
  .fe-hero h1 { font-size: 25px; }
}

/* ============================================================
   V1.23 企业主页 /company/:id + 企业后台品牌资产（logo·相册）
   ============================================================ */
.co-page { padding-bottom: 56px; }
.co-hero {
  margin: 14px 0 0;
  padding: 30px 0 28px;
  background: linear-gradient(180deg, #F5F8FC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}
.co-hero-in { display: flex; align-items: flex-start; gap: 22px; }
.co-logo {
  width: 96px; height: 96px; flex: 0 0 96px; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.co-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-logo-fb {
  font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -1px;
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, #EEF4FC, #DCE8F7);
}
.co-id { min-width: 0; flex: 1; }
.co-badge-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.co-name { font-size: 32px; line-height: 1.25; letter-spacing: -0.6px; overflow-wrap: anywhere; }
.co-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14.5px; color: var(--text-muted); margin-top: 8px;
}
.co-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.co-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px;
  margin-top: 22px; align-items: start;
}
.co-main { min-width: 0; display: grid; gap: 16px; }
.co-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.co-sec { padding: 22px 24px; }
.co-sec h2 { font-size: 18px; letter-spacing: -0.2px; }
.co-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.co-count { font-size: 13px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.co-intro { margin-top: 12px; font-size: 14.8px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; }
.co-empty-text { margin-top: 10px; font-size: 13.8px; color: var(--text-muted); }

.co-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.co-g-photo {
  display: block; padding: 0; border: none; background: var(--bg); cursor: zoom-in;
  aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
}
.co-g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.co-g-photo:hover img { transform: scale(1.045); }
.co-gallery-empty { text-align: center; padding: 26px 12px; color: var(--text-muted); font-size: 13.5px; }
.co-gallery-empty span { font-size: 30px; display: block; margin-bottom: 6px; opacity: 0.75; }
.co-gallery-empty b { display: block; color: var(--text); font-size: 14.5px; margin-bottom: 4px; }
.co-jobs-sec .cards-grid { margin-top: 4px; }
.co-nojobs { padding: 8px; }

.co-info { padding: 20px 22px; }
.co-info h3 { font-size: 15.5px; margin-bottom: 12px; }
.co-dl { display: grid; grid-template-columns: auto; gap: 2px; font-size: 13.8px; }
.co-dl dt { color: var(--text-muted); font-size: 12.5px; margin-top: 10px; }
.co-dl dt:first-child { margin-top: 0; }
.co-dl dd { color: var(--text); margin: 0; overflow-wrap: anywhere; }
.co-dl dd a { color: var(--accent); }
.co-side-cta { padding: 20px 22px; }
.co-side-cta b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.co-side-cta p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }

/* 岗位详情侧栏的企业卡片 */
.co-owner-card .co-owner-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; display: block; }
.co-owner-fb {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #EEF4FC, #DCE8F7); color: var(--primary);
  font-weight: 800; font-size: 19px; flex: 0 0 44px;
}
.co-postedby { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }

/* 相册灯箱 */
.co-lightbox {
  position: fixed; inset: 0; z-index: 4000; background: rgba(8, 14, 24, 0.92);
  display: grid; place-items: center; padding: 28px;
}
.co-lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.co-lb-close, .co-lb-nav {
  position: absolute; border: none; cursor: pointer; color: #fff;
  background: rgba(255,255,255,0.12); border-radius: 50%; width: 42px; height: 42px;
  font-size: 20px; line-height: 1; display: grid; place-items: center; transition: background 0.15s;
}
.co-lb-close:hover, .co-lb-nav:hover { background: rgba(255,255,255,0.24); }
.co-lb-close { top: 20px; right: 22px; }
.co-lb-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.co-lb-nav.next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.co-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 13px; }

/* ---- 企业后台：logo 与相册 ---- */
.emp-logo-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid var(--border); flex: 0 0 56px; }
.co-admin-head { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.co-admin-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 132px; }
.co-logo-box {
  width: 104px; height: 104px; border-radius: 20px; overflow: hidden;
  border: 1px dashed var(--border); background: var(--bg); display: grid; place-items: center;
}
.co-logo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-logo-box .co-logo-fb { font-size: 40px; }
.co-logo-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.co-admin-id { flex: 1 1 320px; min-width: 0; }
.co-admin-id h2 { font-size: 19px; }
.co-logo-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }
.co-ph-add-wrap { display: flex; align-items: center; gap: 8px; }
.co-ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 6px; }
.co-ph-item { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.co-ph-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-ph-del {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(10, 18, 30, 0.62); color: #fff; font-size: 12px;
  display: grid; place-items: center;
}
.co-ph-del:hover { background: var(--danger); }
.emp-apps-head .co-ph-add-wrap { flex: 0 0 auto; }

@media (max-width: 1000px) {
  .co-body { grid-template-columns: 1fr; }
  .co-side { position: static; grid-row: 1; }
}
@media (max-width: 640px) {
  .co-hero-in { flex-direction: column; gap: 14px; }
  .co-logo { width: 76px; height: 76px; flex-basis: 76px; border-radius: 16px; }
  .co-logo-fb { font-size: 30px; }
  .co-name { font-size: 25px; }
  .co-gallery { grid-template-columns: repeat(2, 1fr); }
  .co-ph-grid { grid-template-columns: repeat(2, 1fr); }
  .co-sec { padding: 18px 16px; }
  .co-lb-nav { width: 36px; height: 36px; }
  .co-admin-brand { flex-basis: 100%; flex-direction: row; justify-content: flex-start; }
  .co-logo-box { width: 80px; height: 80px; flex: 0 0 80px; }
}

/* ==================================================================
   V1.24 人才广场 /talents —— 专业人才列表与筛选
   ================================================================== */
.tl-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; }
.tl-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tl-avatar { width: 46px; height: 46px; flex: 0 0 46px; }
.tl-id { min-width: 0; }
.tl-name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tl-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-co { font-size: 13px; color: var(--text-muted); }
.tl-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-skills .tag-chip { pointer-events: none; }
.tl-foot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--text-muted); display: flex; justify-content: flex-end; }
@media (max-width: 720px) {
  .tl-card { padding: 16px; }
}

/* ==================================================================
   V1.25 资讯动态 /news —— 公众号文章与站内公告
   ================================================================== */
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.nw-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: box-shadow .18s ease, transform .18s ease; }
.nw-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.nw-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.nw-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nw-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nw-source { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.nw-source.mp { color: var(--primary); background: rgba(15, 52, 96, .08); }
.nw-source.site { color: var(--accent); background: rgba(201, 164, 92, .12); }
.nw-date { font-size: 12.5px; color: var(--text-muted); }
.nw-title { font-size: 15.5px; font-weight: 700; line-height: 1.45; margin: 0; }
.nw-title a { color: inherit; text-decoration: none; }
.nw-title a:hover { color: var(--accent); }
.nw-digest { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-empty { text-align: center; padding: 56px 24px; margin-top: 28px; }
.nw-empty h3 { margin: 0 0 8px; }
.nw-empty p { margin: 0; color: var(--text-muted); }
@media (max-width: 980px) { .nw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nw-grid { grid-template-columns: 1fr; } }

/* ==================================================================
   V1.26 人脉网络 —— 度数徽章 / 互相关注 / 共同好友 / 2 度推荐
   ================================================================== */
.fr-deg { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.fr-deg.d1 { color: #0b6e4f; background: rgba(11, 110, 79, .1); }
.fr-deg.d2 { color: #8a6a1f; background: rgba(201, 164, 92, .14); }
.fr-deg.fol { color: var(--primary); background: rgba(15, 52, 96, .08); }
.fr-common { margin: 4px 0 0; font-size: 12.5px; color: var(--text-muted); }
.fr-common a { color: var(--primary); text-decoration: none; font-weight: 500; }
.fr-common a:hover { text-decoration: underline; }
.fr-comma { font-style: normal; }
.uph-net { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.uph-net .uph-net-common { font-size: 13px; color: var(--text-muted); }
.uph-net .uph-net-common a { color: var(--primary); text-decoration: none; font-weight: 500; }
.uph-net .uph-net-common a:hover { text-decoration: underline; }
.fr-suggest { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.fr-suggest h3 { margin: 0 0 4px; font-size: 17px; }
.fr-suggest .sub { margin: 0 0 14px; color: var(--text-muted); font-size: 13.5px; }
.fr-suggest-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fr-suggest-list .fr-card-sm { padding: 14px 16px; }
@media (max-width: 860px) { .fr-suggest-list { grid-template-columns: 1fr; } }

/* ==================================================================
   V1.27 个人主页改版 —— 影响力卡取消 / 数据并入 hero / 好友列表区块
   ================================================================== */
.uph-stats { display: flex; align-items: baseline; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.uph-stat-item { font-size: 13px; color: var(--text-muted); }
.uph-stat-item b { font-size: 16px; font-weight: 800; color: var(--primary); margin-right: 4px; }
.uph-friends { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uph-friend-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: inherit; transition: box-shadow .15s ease, border-color .15s ease; min-width: 0; }
.uph-friend-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.uph-friend-card .avatar { width: 42px; height: 42px; flex: 0 0 42px; }
.ufc-body { min-width: 0; }
.ufc-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ufc-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) { .uph-friends { grid-template-columns: 1fr; } .uph-stats { gap: 12px; } }

/* ==================================================================
   V1.27b 企业服务展示页 + 账号验证卡
   ================================================================== */
.sol-hero { text-align: center; }
.sol-cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.sol-card { padding: 22px 24px; }
.sol-ico { font-size: 26px; margin-bottom: 8px; }
.sol-card h3 { margin: 0 0 6px; font-size: 16px; }
.sol-card p { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.65; }
.sol-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.sol-step { display: flex; gap: 12px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.sol-step-num { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.sol-step h3 { margin: 2px 0 4px; font-size: 14.5px; }
.sol-step p { margin: 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.sol-contact { margin-top: 30px; padding: 26px 28px; text-align: center; }
.sol-contact h3 { margin: 0 0 8px; font-size: 18px; }
.sol-contact p { margin: 0 0 14px; color: var(--text-muted); }
@media (max-width: 860px) { .sol-grid { grid-template-columns: 1fr; } .sol-steps { grid-template-columns: 1fr; } }
.acv-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.acv-row:first-child { border-top: none; }
.acv-ico { font-size: 22px; line-height: 1.2; }
.acv-main { flex: 1; min-width: 0; }
.acv-label { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acv-value { font-size: 13px; color: var(--text-muted); margin-top: 3px; word-break: break-all; }
.acv-pending { font-size: 12.5px; color: var(--warning); margin-top: 3px; }
.acv-badge { display: inline-flex; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.acv-badge.ok { color: #0b6e4f; background: rgba(11, 110, 79, .1); }
.acv-badge.no { color: #8a6a1f; background: rgba(201, 164, 92, .14); }
.acv-panel { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.acv-input-row { display: flex; gap: 8px; }
.acv-input-row .form-control { flex: 1; min-width: 0; }
