/* ============================================================
   秋招雷达 · 样式（参考校招鸭小程序 + 来个OC 表格）
   移动端：奶油色卡片流 + 底部 Tab + 全屏筛选抽屉
   PC 端：顶导航 + 多选筛选条 + 宽表格 + 数字分页
   ============================================================ */

:root {
  --bg: #f6efdf;
  --bg-grad: linear-gradient(180deg, #fbe7b7 0%, #fdf3dc 120px, #f6efdf 260px);
  --card: #ffffff;
  --ink: #17150f;
  --ink-2: #4a463a;
  --sub: #9a917c;
  --line: #efe7d2;
  --brand: #ffc91f;
  --brand-deep: #f5b400;
  --black: #17150f;
  --red: #e6455a;
  --blue: #4b6bed;
  --gold: #b8860b;
  --tag-blue-bg: #eef3fe;
  --tag-red-bg: #ffeef0;
  --tag-gold-bg: #fff6da;
  --tag-gray-bg: #f4f0e4;
  --shadow: 0 2px 10px rgba(120, 96, 30, .06);
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  background-image: var(--bg-grad);
  background-repeat: no-repeat;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 14px; outline: none; }
.wrap { max-width: 1880px; margin: 0 auto; padding: 0 20px; }

/* ---------- 通用组件 ---------- */
.tag {
  display: inline-block; padding: 1px 7px; border-radius: 5px;
  font-size: 12px; line-height: 1.7; background: var(--tag-gray-bg); color: var(--ink-2);
  white-space: nowrap;
}
.tag.nat-mq { background: var(--tag-blue-bg); color: var(--blue); }
.tag.nat-wz { background: var(--tag-red-bg); color: var(--red); }
.tag.nat-gq { background: var(--tag-gold-bg); color: var(--gold); }
.tag.badge-new { background: var(--red); color: #fff; padding: 0 6px; border-radius: 4px; margin-left: 6px; font-size: 10px; vertical-align: 2px; }

.btn-black {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: #fff; border-radius: 999px;
  padding: 9px 26px; font-size: 15px; font-weight: 600;
}
.btn-black:active { opacity: .85; }
.btn-black[disabled] { opacity: .4; cursor: not-allowed; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); border: 1px solid #ddd3ba; border-radius: 999px;
  padding: 8px 24px; font-size: 15px;
}
.btn-yellow {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--ink); border-radius: 999px;
  padding: 9px 26px; font-size: 15px; font-weight: 700;
}
.btn-yellow[disabled] { opacity: .45; }

.chip {
  display: inline-block; padding: 5px 13px; margin: 0 8px 8px 0;
  border: 1px solid #e4dcc6; border-radius: 8px; background: #fff;
  font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none;
  transition: all .12s;
}
.chip:active { transform: scale(.96); }
.chip.on { background: var(--tag-gold-bg); border-color: var(--brand-deep); color: var(--ink); font-weight: 600; }

.empty { text-align: center; color: var(--sub); padding: 50px 0; font-size: 14px; }
.state-err { text-align: center; color: var(--red); padding: 40px 16px; font-size: 14px; }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: 18%; transform: translateX(-50%);
  background: rgba(23, 21, 15, .88); color: #fff; font-size: 14px;
  padding: 9px 18px; border-radius: 10px; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
#toast.show { opacity: 1; }

/* ---------- 底部 Tab（移动端） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 7px 0 6px; font-size: 11px; color: #a49b83;
}
.tabbar a svg { width: 23px; height: 23px; margin-bottom: 1px; }
.tabbar a.active { color: var(--ink); font-weight: 600; }

/* ---------- 移动端头部 ---------- */
.mhead {
  padding: 14px 16px 4px; display: flex; align-items: flex-end; justify-content: space-between;
}
.mhead .brand h1 { font-size: 24px; letter-spacing: 1px; display: inline; }
.mhead .brand .sub { display: block; font-size: 15px; font-weight: 700; letter-spacing: 4px; }
.mhead .hicons { display: flex; gap: 14px; padding-bottom: 4px; }
.mhead .hicons svg { width: 22px; height: 22px; color: var(--ink-2); }

.msearch { margin: 10px 16px 4px; position: relative; }
.msearch input {
  width: 100%; border: none; border-radius: 12px; padding: 11px 42px 11px 14px;
  background: #fff; box-shadow: var(--shadow); font-size: 14px;
}
.msearch svg { position: absolute; right: 14px; top: 12px; width: 19px; height: 19px; color: var(--sub); }

/* ---------- 筛选条（移动端横条 / PC 下拉条） ---------- */
.fbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px 10px; overflow-x: auto; scrollbar-width: none;
}
.fbar::-webkit-scrollbar { display: none; }
.fbtn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.75);
  border: 1px solid #ecdfc0; font-size: 13px; color: var(--ink-2);
}
.fbtn.on { background: var(--black); color: #fff; border-color: var(--black); }
.fbtn .cnt {
  background: var(--brand); color: var(--ink); border-radius: 8px;
  font-size: 11px; padding: 0 5px; font-weight: 700;
}

/* PC 顶导航 */
.topnav { display: none; }
/* PC 统计条 */
.statchips { display: none; }
/* PC 筛选区 */
.pcfilter { display: none; }
/* PC 表格 */
.tbl-wrap { display: none; }
/* PC 分页 */
.pager { display: none; }
/* 移动端列表 */
.cards { display: block; }

/* ---------- 职位卡片（移动端） ---------- */
.cards { padding: 4px 12px 12px; }
.job-card {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 13px 14px; margin-bottom: 10px; cursor: pointer;
}
.jc-top { display: flex; gap: 10px; align-items: flex-start; }
.jc-logo {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: #fff;
}
.jc-logo.nat-mq { background: linear-gradient(135deg, #6d8cff, #4b6bed); }
.jc-logo.nat-wz { background: linear-gradient(135deg, #ff7d8d, #e6455a); }
.jc-logo.nat-gq { background: linear-gradient(135deg, #ffd76e, #f0a500); }
.jc-logo.default { background: linear-gradient(135deg, #cdc3a5, #a89c78); }
.jc-head { min-width: 0; flex: 1; }
.jc-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; }
.jc-pos {
  color: var(--ink-2); font-size: 13px; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jc-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.jc-cities { margin-top: 8px; font-size: 12px; color: #7d90c9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.jc-dl { font-size: 13px; color: var(--sub); }
.jc-dl b { color: var(--ink); font-weight: 600; }
.jc-dl.hot b { color: var(--red); }
.jc-up { font-size: 11px; color: #b3a98e; background: var(--tag-gray-bg); border-radius: 6px; padding: 1px 7px; }

/* 加载更多 */
.loadmore { display: block; margin: 6px auto 18px; min-width: 200px; }
.endline { text-align: center; color: #c0b696; font-size: 13px; padding: 14px 0 90px; }
.list-meta-m { text-align: center; color: var(--sub); font-size: 12px; padding: 10px 0 2px; }

/* ---------- 全屏筛选抽屉 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(20, 16, 5, .45); z-index: 120;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 121;
  background: #fdfaf2; transform: translateY(100%); transition: transform .25s ease-out;
  display: flex; flex-direction: column;
}
.sheet-mask.show { opacity: 1; pointer-events: auto; }
.sheet.show { transform: translateY(0); }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 10px; border-bottom: 1px solid var(--line);
}
.sheet-head h3 { font-size: 17px; }
.sheet-head .hint { font-size: 12px; color: var(--sub); margin-top: 2px; font-weight: 400; }
.sheet-close { font-size: 22px; color: var(--sub); padding: 0 4px; line-height: 1; }
.sheet-body { flex: 1; overflow-y: auto; padding: 14px 18px 20px; }
.sheet-foot {
  display: flex; gap: 12px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fdfaf2;
}
.sheet-foot .btn-ghost, .sheet-foot .btn-black { flex: 1; padding: 11px 0; }
.sec-title { font-size: 14px; font-weight: 700; margin: 16px 0 10px; }
.sec-title:first-child { margin-top: 2px; }
.chip-grid { display: flex; flex-wrap: wrap; }
.chip-grid .chip { margin-right: 8px; }
.row-line { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 13px; color: var(--ink-2); }
.city-search { width: 100%; border: 1px solid #e4dcc6; border-radius: 10px; padding: 9px 12px; background: #fff; margin-bottom: 10px; }

/* ---------- 页面容器 ---------- */
.page { padding-bottom: 76px; min-height: 100vh; }

/* ---------- 个人中心（移动端优先） ---------- */
.pf-hero { display: flex; align-items: center; gap: 14px; padding: 26px 20px 10px; }
.pf-avatar {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  background: #ffe9a6; color: #8a6d1a; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; overflow: hidden;
}
.pf-name { font-size: 19px; font-weight: 700; }
.pf-sub { font-size: 12px; color: var(--sub); margin-top: 3px; }
.pf-card {
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow);
  margin: 12px 14px; padding: 16px;
}
.pf-stats { display: flex; }
.pf-stats a { flex: 1; text-align: center; color: inherit; }
.pf-stats b { display: block; font-size: 21px; }
.pf-stats span { font-size: 12px; color: var(--sub); }
.fn-grid { display: flex; flex-wrap: wrap; padding: 6px 0 2px; }
.fn-grid a {
  width: 25%; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 0; font-size: 12px; color: var(--ink-2);
}
.fn-grid .fn-ico {
  width: 40px; height: 40px; border-radius: 12px; background: var(--tag-gray-bg);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.pf-card h4 { font-size: 14px; margin-bottom: 8px; }
.pf-login-btn { margin: 30px 30px 0; display: block; text-align: center; padding: 12px 0; }
.pf-note { text-align: center; color: var(--sub); font-size: 12px; margin-top: 12px; }
.pf-logout {
  margin: 26px auto 0; display: block; width: auto; min-width: 200px; padding: 11px 44px;
  border-radius: 999px; background: #fff; border: 1px solid #e4dcc6; color: var(--ink-2);
  font-size: 14px; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pf-logout:hover { background: var(--black); border-color: var(--black); color: #fff; }
.pf-xhs { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.pf-xhs .tag { flex-shrink: 0; }

/* ---------- 统计条（投递记录页） ---------- */
.stat-strip { display: flex; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); margin: 10px 14px; padding: 13px 0; }
.stat-strip .st { flex: 1; text-align: center; }
.stat-strip b { font-size: 19px; display: block; }
.stat-strip span { font-size: 11px; color: var(--sub); }
/* 统计条可点击筛选：hover 反馈 + 选中态 */
.stat-strip .st { cursor: pointer; border-radius: 10px; transition: background .15s, color .15s; }
.stat-strip .st:hover { background: var(--tag-gray-bg); }
.stat-strip .st.on { background: var(--black); }
.stat-strip .st.on b, .stat-strip .st.on span { color: #fff; }

/* 投递记录页：投递状态筛选 chips 行 */
.rec-fbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 14px 2px; }

/* ---------- 后台管理（仅管理员） ---------- */
.adm-tabs { display: flex; gap: 8px; margin: 14px 14px 10px; }
.adm-tabs button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid #e4dcc6; background: #fff;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.adm-tabs button.on { background: var(--black); border-color: var(--black); color: #fff; font-weight: 700; }
.adm-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); margin: 10px 14px; padding: 14px 16px; }
.adm-card h4 { font-size: 14px; margin-bottom: 8px; }
.adm-hint { font-size: 12.5px; color: var(--sub); line-height: 1.8; margin: 6px 0; }
.adm-form { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.adm-form label { font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.adm-form input, .adm-form textarea, .adm-form select {
  border: 1px solid #e4dcc6; border-radius: 8px; padding: 8px 10px; font-size: 13.5px; color: var(--ink);
  background: #fffdf6; max-width: 640px; font-family: inherit;
}
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adm-ops { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.adm-ops input { border: 1px solid #e4dcc6; border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.adm-ops .btn-ghost { padding: 9px 18px; border-radius: 999px; border: 1px solid #e4dcc6; background: #fff; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.adm-ops .btn-black { padding: 9px 18px; border-radius: 999px; background: var(--black); color: #fff; font-size: 14px; border: none; cursor: pointer; }
.adm-ops .btn-black:disabled { opacity: .5; }
.adm-tbl-wrap { margin: 10px 0 0; }
.tbl-item { font-size: 13px; padding: 4px 0; }
.tbl-item code { background: var(--tag-gray-bg); border-radius: 6px; padding: 2px 8px; margin-right: 8px; }
.adm-mask {
  position: fixed; inset: 0; background: rgba(23, 21, 15, .45); z-index: 500;
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 14px; overflow: auto;
}
.adm-modal { background: #fffdf6; border-radius: 14px; padding: 18px; width: 100%; max-width: 640px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }

/* ---------- 详情页 ---------- */
.back-list {
  display: inline-block; padding: 4px 10px; border-radius: 8px;
  font-size: 14px; color: var(--sub); text-decoration: none;
}
.back-list:hover { color: var(--ink); background: var(--tag-gray-bg); }
.dt-hero {
  margin: 10px 14px; background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 18px 16px;
}
.dt-top { display: flex; gap: 12px; }
.dt-name { font-size: 22px; font-weight: 800; }
.dt-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--sub); }
.dt-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.dt-sec { margin: 0 14px 12px; }
.dt-sec h4 {
  font-size: 15px; padding-left: 9px; position: relative; margin: 2px 0 8px;
}
.dt-sec h4::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: var(--brand-deep); border-radius: 2px;
}
.kv { display: flex; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: none; }
.kv .k { width: 88px; flex-shrink: 0; color: var(--sub); }
.kv .v { flex: 1; min-width: 0; word-break: break-all; }
.kv .v a { color: var(--blue); }
.copy-btn { color: var(--blue); font-size: 12px; margin-left: 8px; white-space: nowrap; }
.dt-notes { font-size: 14px; color: var(--ink-2); white-space: pre-wrap; word-break: break-word;
  background: #fff; border-radius: var(--r-md); padding: 12px; }

/* ---------- 登录/注册页 ---------- */
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 30px 20px 60px; }
.auth-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px 20px; }
.auth-tabs { display: flex; margin-bottom: 20px; border-radius: 999px; background: #f4edda; padding: 4px; }
.auth-tabs button { flex: 1; padding: 8px 0; border-radius: 999px; font-size: 15px; color: var(--ink-2); }
.auth-tabs button.on { background: var(--black); color: #fff; font-weight: 600; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field label em { color: var(--red); font-style: normal; }
.field input {
  width: 100%; border: 1px solid #e4dcc6; border-radius: 10px; padding: 11px 12px; background: #fdfaf2;
}
.field input:focus { border-color: var(--brand-deep); background: #fff; }
.field .tip { font-size: 12px; color: var(--sub); margin-top: 4px; }
.auth-submit { width: 100%; padding: 12px 0; margin-top: 6px; }
.auth-err { color: var(--red); font-size: 13px; margin: 4px 0 10px; display: none; }
.auth-err.show { display: block; }
.auth-note { font-size: 12px; color: var(--sub); margin-top: 14px; line-height: 1.6; }

/* ---------- 记录页列表（复用卡片） ---------- */
.rec-ops { display: flex; gap: 8px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.rec-status {
  font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid #e4dcc6;
  background: #fff; color: var(--ink-2);
}
.rec-status.on { background: var(--black); border-color: var(--black); color: #fff; }
.rec-del { margin-left: auto; font-size: 12px; color: var(--sub); padding: 4px 8px; }
.rec-time { font-size: 11px; color: #b3a98e; }

/* ---------- 详情页操作（移动端固定底栏） ---------- */
.dt-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
.dt-actions .btn { flex: 1; padding: 12px 0; border-radius: 999px; font-size: 15px; font-weight: 600; text-align: center; }
.dt-actions .btn-ghost2 { background: #f3ecda; color: var(--ink); }
.dt-actions .btn-black2 { background: var(--black); color: #fff; }
.dt-status-row { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.pc-actions-note { font-size: 12px; color: var(--sub); margin-top: 8px; }
.dt-pc-actions { display: none; }
.dt-pc-actions .btn { padding: 11px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; }

/* ============================================================
   PC 端（>= 880px）：顶导航 + 筛选下拉 + 宽表格 + 数字分页
   ============================================================ */
@media (min-width: 880px) {

  /* PC：详情页在新窗口打开（列表行点击），返回链接只在移动端显示 */
  .mhead, .msearch, .tabbar, .loadmore, .endline, .list-meta-m, .dt-actions, .fbar, .back-list { display: none; }

  body { background: #f4ede0; background-image: none; }
  .topnav {
    display: block; background: #fffdf6; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
  }
  .topnav-inner {
    max-width: 1880px; margin: 0 auto; padding: 0 20px; height: 58px;
    display: flex; align-items: center; gap: 28px;
  }
  .brand { display: flex; align-items: center; gap: 9px; }
  .brand .logo {
    width: 34px; height: 34px; border-radius: 10px; background: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
  }
  .brand h1 { font-size: 19px; letter-spacing: .5px; }
  .navlinks { display: flex; gap: 4px; flex: 1; }
  .navlinks a { padding: 7px 14px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
  .navlinks a:hover { background: var(--tag-gray-bg); }
  .navlinks a.active { background: var(--black); color: #fff; font-weight: 600; }
  .nav-user { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  .nav-user .avatar {
    width: 30px; height: 30px; border-radius: 50%; background: #ffe9a6; color: #8a6d1a;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  }
  .nav-user .btn-black, .nav-user .btn-ghost { padding: 6px 18px; font-size: 13px; }

  .statchips {
    display: flex; gap: 10px; margin: 16px 0 8px; font-size: 13px; color: var(--ink-2);
  }
  .statchips .chip2 {
    background: #fff; border-radius: 999px; padding: 4px 14px; box-shadow: var(--shadow);
  }
  .statchips .chip2 b { color: var(--ink); }

  /* PC 筛选条 */
  .pcfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 12px; position: relative; }
  .pcsearch { position: relative; width: 250px; }
  .pcsearch input {
    width: 100%; border: 1px solid #e4dcc6; border-radius: 10px; padding: 9px 34px 9px 12px; background: #fff;
  }
  .pcsearch svg { position: absolute; right: 10px; top: 10px; width: 17px; height: 17px; color: var(--sub); }
  .fdd { position: relative; }
  .fdd > button {
    display: inline-flex; align-items: center; gap: 5px;
    background: #fff; border: 1px solid #e4dcc6; border-radius: 10px;
    padding: 8px 14px; font-size: 13px; color: var(--ink-2);
  }
  .fdd > button.on { border-color: var(--black); background: var(--black); color: #fff; }
  .fdd .cnt { background: var(--brand); color: var(--ink); border-radius: 8px; font-size: 11px; padding: 0 5px; font-weight: 700; }
  .fdd-panel {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 110;
    width: 420px; max-width: 78vw; background: #fffdf6; border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: 0 10px 34px rgba(80, 60, 10, .16);
    padding: 14px 16px; display: none;
  }
  .fdd-panel.open { display: block; }
  .fdd-panel .panel-foot { display: flex; gap: 10px; margin-top: 12px; }
  .fdd-panel .panel-foot button { flex: 1; padding: 8px 0; border-radius: 8px; font-size: 13px; }
  .fdd-panel .panel-foot .ok { background: var(--black); color: #fff; }
  .fdd-panel .panel-foot .cancel { background: #f0e9d6; color: var(--ink-2); }
  .fdd-panel .panel-body { max-height: 320px; overflow-y: auto; }
  .pcfilter .seg { display: flex; background: #fff; border: 1px solid #e4dcc6; border-radius: 10px; overflow: hidden; margin-left: auto; }
  .pcfilter .seg button { padding: 8px 13px; font-size: 13px; color: var(--ink-2); }
  .pcfilter .seg button.on { background: var(--black); color: #fff; }
  .pcfilter .chk { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
  .pcfilter .reset { font-size: 13px; color: var(--sub); padding: 8px 10px; }
  .pcfilter .reset:hover { color: var(--red); }

  /* "点击查看详情"问号提示 */
  .detail-hint { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--sub); position: relative; }
  .detail-hint .q {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: #d9cfb4; color: #fff; font-size: 11px; cursor: help; position: relative;
  }
  .detail-hint .q:hover { background: var(--brand-deep); }
  .detail-hint .q:hover::after {
    content: attr(data-tip);
    position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
    background: var(--black); color: #fff; font-size: 12px; line-height: 1.5;
    padding: 7px 11px; border-radius: 8px; white-space: nowrap; z-index: 130;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
  }
  .detail-hint .q:hover::before {
    content: ""; position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%);
    border: 5px solid transparent; border-bottom-color: var(--black); z-index: 130;
  }

  /* 表格（列多时横向滚动，公司列固定在左侧） */
  .tbl-wrap {
    display: block; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
    overflow: auto; margin-bottom: 14px;
  }
  table.tbl { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
  .tbl thead th {
    text-align: left; font-weight: 600; color: var(--ink-2);
    background: #faf6ea; padding: 11px 12px; border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }
  .tbl tbody td { padding: 11px 12px; border-bottom: 1px solid #f4efe2; vertical-align: top; background: #fff; }
  .tbl tbody tr { cursor: pointer; }
  .tbl tbody tr:hover td { background: #fdf9ee; }
  .tbl tbody tr:last-child td { border-bottom: none; }
  .tbl .cell-nowrap { white-space: nowrap; }
  .tbl .cell-tags { max-width: 150px; }
  .tbl .cell-tags .tag { margin: 0 3px 3px 0; }
  .tbl .dim { color: #c0b696; }
  .tbl .notes-cell { max-width: 240px; font-size: 12.5px; color: var(--sub); }
  .tbl td.co-td { min-width: 128px; max-width: 128px; }
  .co-name { max-width: 102px; font-weight: 600; font-size: 13.5px; line-height: 1.5; word-break: break-all; }
  .tbl .pos { min-width: 150px; max-width: 235px; color: var(--ink-2); }
  /* 岗位方向：默认最多 5 行，悬停出 tip 悬浮全文 */
  .tbl .pos .pos-clip { line-height: 20px; max-height: 100px; overflow: hidden; }
  #pos-tip {
    position: fixed; z-index: 400; display: none; pointer-events: none;
    max-width: 460px; max-height: 55vh; overflow: auto;
    background: rgba(23, 21, 15, .94); color: #fff; font-size: 12.5px; line-height: 1.7;
    padding: 10px 13px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    word-break: break-word;
  }
  .tbl .loc { max-width: 200px; color: #7d90c9; font-size: 12.5px; }
  .tbl .dl { white-space: nowrap; }
  .tbl .up { white-space: nowrap; font-size: 12px; color: var(--sub); }
  .tbl .dl b { font-weight: 600; }
  .tbl .dl.hot b { color: var(--red); }
  .tbl td a {
    display: inline-block; font-size: 12.5px; color: var(--blue);
    background: var(--tag-blue-bg); border-radius: 6px; padding: 3px 9px; margin: 0 4px 4px 0;
  }
  .prog-chip { cursor: pointer; }
  .prog-chip.on { background: var(--black); border-color: var(--black); color: #fff; }
  /* 公司列固定在左侧 */
  .tbl thead th.co-h, .tbl tbody td:first-child { position: sticky; left: 0; }
  .tbl thead th.co-h { z-index: 3; }
  .tbl tbody td:first-child { z-index: 2; box-shadow: 4px 0 6px -3px rgba(120, 96, 30, .16); }

  /* 列显示面板 */
  .cols-body { display: flex; flex-wrap: wrap; }
  .col-locked { width: 100%; font-size: 12px; color: var(--sub); padding: 2px 4px 10px; }
  .col-chk {
    width: 50%; display: flex; align-items: center; gap: 6px;
    padding: 6px 4px; font-size: 13px; color: var(--ink-2); cursor: pointer; border-radius: 6px;
  }
  .col-chk:hover { background: #faf6ea; }
  .col-chk input { accent-color: #17150f; }

  /* PC 数字分页 */
  .pager {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    padding: 20px 0 46px; font-size: 14px;
  }
  .pager button, .pager span.pg {
    min-width: 38px; height: 38px; padding: 0 12px; border-radius: 9px;
    background: #fff; border: 1px solid #e4dcc6; color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .pager button:not([disabled]):hover { border-color: var(--black); color: var(--ink); }
  .pager button.cur { background: var(--black); color: #fff; border-color: var(--black); font-weight: 700; }
  .pager button[disabled] { opacity: .35; cursor: not-allowed; }
  .pager .jump { display: flex; align-items: center; gap: 8px; margin-left: 14px; color: var(--sub); }
  .pager .jump input { width: 58px; height: 38px; border: 1px solid #e4dcc6; border-radius: 9px; text-align: center; }
  .pager .total-line { color: var(--sub); margin-right: 10px; }

  .page { padding-bottom: 0; }
  main.wrap, #profile-root { padding-bottom: 0; }

  /* PC 上隐藏移动端形态 */
  .cards { display: none; }

  /* 详情页 PC 居中 */
  .dt-hero, .dt-sec { max-width: 860px; margin-left: auto; margin-right: auto; }
  .dt-pc-actions { display: flex; gap: 10px; max-width: 860px; margin: 4px auto 50px; }

  /* 个人中心 / 记录页 PC 加宽 */
  .pf-hero, .pf-card, .stat-strip { max-width: 760px; margin-left: auto; margin-right: auto; }
  .auth-wrap { padding-top: 48px; }
}

/* 移动端隐藏 PC 详情操作条 */
.dt-pc-actions { display: none; }

/* 底部 Tab 遮挡规避 */
main.wrap { padding-bottom: 84px; }
#profile-root { padding-bottom: 84px; min-height: 100vh; }

/* 小屏（<380px）微调 */
@media (max-width: 379px) {
  .fn-grid a { width: 33.3%; }
  .pf-hero { padding: 20px 14px 8px; }
}
