/* ==========================================================================
   掌柜快聘 PC 端 · 设计系统
   晴空蓝 #3478F6 / 暖橙 #FF8A34 / 薪资橙 #FF7319 / 页面底 #F4F8FC / 圆角 16px
   ========================================================================== */

:root {
  --blue: #3478F6;
  --blue-dark: #1F5ED7;
  --blue-deep: #173E77;
  --blue-soft: #EDF5FF;
  --blue-line: #D5E6FF;
  --orange: #FF8A34;
  --orange-soft: #FFF4E9;
  --salary: #FF7319;
  --bg: #F4F8FC;
  --card: #FFFFFF;
  --text: #18253D;
  --text-2: #4B5C75;
  --text-3: #8391A6;
  --text-4: #AFB9C8;
  --border: #E1E9F3;
  --border-light: #EBF0F6;
  --green: #19B876;
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 3px 14px rgba(40, 78, 128, .045);
  --shadow: 0 10px 30px rgba(40, 78, 128, .08);
  --shadow-lg: 0 20px 50px rgba(40, 78, 128, .13);
  --maxw: 1280px;
  --header-h: 70px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; color: var(--text); }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #D2D8E3; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #BFC6D4; }
::-webkit-scrollbar-track { background: transparent; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------- 通用元素 ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 107, 255, .24);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-orange {
  background: linear-gradient(135deg, #FF8A33, #FF6A00);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 122, 26, .26);
}
.btn-orange:hover { filter: brightness(1.04); color: #fff; }
.btn-ghost { background: var(--blue-soft); border-color: transparent; color: var(--blue); }
.btn-ghost:hover { background: #E2EAFF; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  background: #F4F6FA;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-orange { background: var(--orange-soft); color: #E85D00; }
.tag-green { background: #E8FAEE; color: #009A25; }
.tag-outline { background: #fff; border: 1px solid var(--border); color: var(--text-3); }

.urgent-flag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #FF8A33, #FF5C00);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
}

.salary {
  color: var(--salary);
  font-weight: 700;
}

.muted { color: var(--text-3); }
.strong { font-weight: 600; color: var(--text); }

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.2px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6C96FF, var(--blue));
}
.section-sub { font-size: 13px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.section-more { font-size: 13px; color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--blue); }

/* ------------------------------- 顶部条 ------------------------------- */

.topbar {
  background: #F0F3F9;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-3);
  height: 34px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: var(--text-3); transition: color .15s; }
.topbar a:hover { color: var(--blue); }
.topbar .tb-city { color: var(--text-2); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

/* ------------------------------- 主 Header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(31, 45, 80, .07); }
.hd-main {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(47, 107, 255, .2);
}
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.logo-slogan { font-size: 10px; color: var(--text-4); letter-spacing: 1.4px; }

.identity-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  background: #F2F5FA;
  border-radius: 10px;
  flex-shrink: 0;
}
.identity-switch a {
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: all .18s;
}
.identity-switch a.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(31, 45, 80, .08);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-2);
  white-space: nowrap;
  transition: all .16s;
}
.main-nav a:hover { color: var(--blue); background: #F5F8FF; }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.main-nav .nav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.hd-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all .16s;
}
.hd-user:hover { border-color: var(--blue-line); background: #FAFBFF; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  background: linear-gradient(135deg, #7FA5FF, #2F6BFF);
}
.avatar-sm { width: 26px; height: 26px; font-size: 11px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.hd-user-name { font-size: 13px; color: var(--text-2); }
.account-role { padding: 2px 6px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: 10px; white-space: nowrap; }

/* 掌柜365 / 掌柜快聘统一账号 */
.account-source-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-source-option { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.account-source-option.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(47,107,255,.08); }
.account-source-option img, .account-source-option .kp-app-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.account-source-option strong, .account-source-option small { display: block; }
.account-source-option strong { color: var(--text); font-size: 13px; }
.account-source-option small { margin-top: 3px; color: var(--text-3); font-size: 11px; }
.kp-app-icon { display: grid; place-items: center; background: linear-gradient(140deg,#4E82FF,#2F6BFF); color: #fff; font-weight: 700; }
.field-error { min-height: 18px; padding-top: 4px; color: #E33C3C; font-size: 12px; }
.account-login-note { padding: 10px 12px; border-radius: 9px; background: #F5F8FF; color: var(--text-3); font-size: 12px; line-height: 1.7; }
.account-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px; border: 1px solid var(--border-light); border-radius: 12px; }
.account-summary img { width: 42px; height: 42px; border-radius: 10px; }
.account-summary div { flex: 1; min-width: 0; }
.account-summary strong, .account-summary div span { display: block; }
.account-summary strong { font-size: 14px; }
.account-summary div span { margin-top: 4px; color: var(--text-3); font-size: 12px; }
.unified-account { margin-bottom: 22px; padding: 20px; border: 1px solid #DCE6FF; border-radius: 14px; background: linear-gradient(145deg,#F8FAFF,#F2F6FF); }
.ua-head { display: flex; align-items: center; gap: 12px; }
.ua-head > img { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 5px 14px rgba(47,107,255,.16); }
.ua-title { flex: 1; }
.ua-title h4 { margin: 0; font-size: 16px; }
.ua-title p { margin: 4px 0 0; color: var(--text-3); font-size: 12px; }
.ua-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 14px; color: var(--text-3); font-size: 12px; }
.ua-meta strong { margin-left: 5px; color: var(--text-2); font-weight: 500; }
.ua-apps { display: grid; grid-template-columns: 1fr 74px 1fr; align-items: center; gap: 10px; }
.ua-app { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--border-light); border-radius: 11px; background: #fff; }
.ua-app > img, .ua-app > .kp-app-icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.ua-app > div { flex: 1; min-width: 0; }
.ua-app strong, .ua-app div span { display: block; }
.ua-app strong { font-size: 13px; }
.ua-app div span { margin-top: 3px; color: var(--text-3); font-size: 11px; }
.ua-app > i { color: var(--green); font-style: normal; }
.ua-link { color: var(--blue); text-align: center; font-size: 21px; }
.ua-link small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10px; }
.ua-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.ua-foot > span { color: var(--text-3); font-size: 11px; line-height: 1.7; }
.ua-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.home-account-badge { display: inline-flex; margin-bottom: 12px; padding: 3px 9px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); font-size: 11px; }

/* ------------------------------- 首页 Hero ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 38px 0 82px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.9), transparent 27%),
    linear-gradient(112deg, #EAF4FF 0%, #F4F9FF 52%, #DFEFFF 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  bottom: -340px;
  border: 70px solid rgba(82, 148, 246, .08);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  left: 4%;
  top: 48px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 22px 22px 0 -2px #A7CFFF, -12px 42px 0 -3px #79B5FF;
  opacity: .75;
}
.hero .container { position: relative; z-index: 2; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); align-items: center; gap: 46px; }
.hero-copy { max-width: 640px; animation: heroEnter .65s cubic-bezier(.2,.7,.2,1) both; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(138, 187, 245, .38);
  color: var(--blue-dark);
  font-size: 12px;
  letter-spacing: .4px;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,52,.12); }
.hero-title { margin: 0 0 14px; color: var(--blue-deep); font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -1.6px; }
.hero-title em { position: relative; color: var(--blue); font-style: normal; }
.hero-title em::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -4px; height: 7px; border-radius: 50%; background: rgba(255, 151, 67, .34); transform: rotate(-1deg); z-index: -1; }
.hero-desc { max-width: 520px; font-size: 16px; color: var(--text-2); margin: 0 0 24px; }

.search-bar { display: flex; align-items: center; gap: 10px; max-width: 620px; background: #fff; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; padding: 8px; box-shadow: 0 14px 34px rgba(47, 102, 172, .13); }
.search-field { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 12px; min-width: 0; }
.search-field svg { flex-shrink: 0; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: none; height: 44px; font-size: 15px; background: transparent; }
.search-field input::placeholder { color: #96A5B8; }
.search-divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }
.search-city { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 14px; color: var(--text-2); flex-shrink: 0; }
.search-bar .btn { height: 44px; padding: 0 30px; font-size: 15px; border-radius: 11px; }
.hot-words { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 15px; font-size: 12px; color: var(--text-3); }
.hot-words a { color: var(--text-2); transition: color .15s; }
.hot-words a:hover { color: var(--blue); }
.hero-stats { display: flex; align-items: center; gap: 0; margin-top: 25px; }
.stat-item { min-width: 132px; padding: 0 24px; border-right: 1px solid rgba(107,148,196,.2); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: 0; }
.stat-num { color: var(--blue-deep); font-size: 25px; font-weight: 750; line-height: 1.1; letter-spacing: -.5px; }
.stat-num small { font-size: 12px; font-weight: 500; margin-left: 3px; }
.stat-label { font-size: 11px; color: var(--text-3); margin-top: 6px; }

.hero-visual { position: relative; height: 390px; animation: heroEnter .75s .08s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual::before { content: ""; position: absolute; width: 340px; height: 340px; left: 50%; top: 48%; border-radius: 50%; background: linear-gradient(145deg, rgba(128,185,250,.5), rgba(210,232,255,.25)); transform: translate(-50%,-50%); }
.hero-visual::after { content: ""; position: absolute; left: 8%; right: 2%; bottom: 10px; height: 26px; border-radius: 50%; background: rgba(61,111,173,.12); filter: blur(14px); }
.hero-person { position: absolute; inset: 0 4px 8px 24px; z-index: 1; overflow: hidden; border-radius: 46% 46% 22px 22px; }
.hero-person img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(46,90,145,.13); backdrop-filter: blur(8px); animation: softFloat 4s ease-in-out infinite; }
.hero-float b, .hero-float small { display: block; white-space: nowrap; }
.hero-float b { color: var(--blue-deep); font-size: 13px; }
.hero-float small { margin-top: 2px; color: var(--text-3); font-size: 10px; }
.hero-float-top { top: 42px; right: -16px; }
.hero-float-bottom { left: -18px; bottom: 44px; animation-delay: -1.6s; }
.hero-float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.hero-live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px var(--orange-soft); margin: 0 5px; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes softFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* 三专区 */
.zone-wrap { margin-top: -44px; position: relative; z-index: 5; }
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zone-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 15px;
  align-items: center;
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(46, 90, 145, .09);
  border: 1px solid rgba(255,255,255,.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.zone-card::after { content: ""; position: absolute; right: -30px; top: -46px; width: 110px; height: 110px; border-radius: 50%; opacity: .06; background: var(--blue); pointer-events: none; }
.zone-icon { grid-column: 1; grid-row: 1 / 4; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px rgba(52,120,246,.16); }
.zone-card h3 { grid-column: 2; margin: 0 0 4px; padding-right: 24px; color: var(--blue-deep); font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.zone-card p { grid-column: 2; margin: 0; padding-right: 18px; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-count { grid-column: 2; margin-top: 7px; font-size: 12px; color: var(--text-2); }
.zone-count b { color: var(--salary); font-size: 16px; }
.zone-arrow { position: absolute; right: 16px; top: 22px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #F4F7FB; color: var(--text-3); transition: all .18s; }
.zone-card:hover .zone-arrow { background: var(--blue); color: #fff; transform: translateX(2px); }

/* ------------------------------- 布局 ------------------------------- */

.page { padding: 26px 0 60px; }
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.layout-2col-left { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }

.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
}
.panel-title { font-size: 16px; font-weight: 600; }
.panel-body { padding: 18px 20px; }

/* 分类宫格 */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all .18s;
  text-align: center;
}
.cat-item:hover { background: #F7F9FF; border-color: var(--blue-line); transform: translateY(-2px); }
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #F0F6FF;
  box-shadow: 0 6px 16px rgba(45, 91, 160, .09);
}
.cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform .2s ease;
}
.cat-item:hover .cat-icon img { transform: scale(1.07); }
.cat-name { font-size: 13px; color: var(--text-2); }
.cat-item:hover .cat-name { color: var(--blue); }

/* ------------------------------- 职位卡片 ------------------------------- */

.job-list { display: flex; flex-direction: column; gap: 12px; }

.job-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all .18s ease;
  box-shadow: var(--shadow-sm);
}
.job-card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.job-card.is-applied { opacity: .72; background: #FAFBFD; }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.job-title-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.job-title { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.1px; }
.job-card:hover .job-title { color: var(--blue); }
.job-salary { font-size: 18px; color: var(--salary); font-weight: 700; white-space: nowrap; }
.job-salary small { font-size: 12px; font-weight: 500; }

.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.job-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}
.company-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); min-width: 0; }
.company-line .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-4); flex-shrink: 0; }
.contact-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); flex-shrink: 0; }
.job-side-meta { display: flex; align-items: center; gap: 12px; }
.job-time { font-size: 12px; color: var(--text-4); }

.job-card .applied-flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  border-radius: 0 var(--radius) 0 10px;
  background: #EFF2F7;
  color: var(--text-3);
  font-size: 12px;
}

/* 紧凑列表（用于侧栏） */
.mini-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-light);
}
.mini-job:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-job:first-child { padding-top: 0; }
.mini-job .mj-title { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-job:hover .mj-title { color: var(--blue); }
.mini-job .mj-salary { font-size: 13px; color: var(--salary); font-weight: 600; flex-shrink: 0; }

/* ------------------------------- 筛选 ------------------------------- */

.filter-panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.filter-row:last-child { border-bottom: 0; }
.filter-label {
  flex-shrink: 0;
  width: 62px;
  color: var(--text-3);
  line-height: 26px;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 4px 6px; flex: 1; }
.filter-opt {
  padding: 3px 12px;
  border-radius: 6px;
  color: var(--text-2);
  line-height: 20px;
  transition: all .15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.filter-opt:hover { color: var(--blue); background: #F4F8FF; }
.filter-opt.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; border-color: var(--blue-line); }

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border-light);
  border-bottom: 0;
}
.sort-tabs { display: flex; align-items: center; gap: 4px; }
.sort-tab {
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: all .15s;
}
.sort-tab:hover { color: var(--blue); }
.sort-tab.active { background: var(--blue); color: #fff; font-weight: 500; }
.result-count { font-size: 13px; color: var(--text-3); }
.result-count b { color: var(--blue); font-weight: 600; }

.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 12px; }
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 6px 0 10px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
}
.active-filter button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  opacity: .7;
}
.active-filter button:hover { opacity: 1; }

/* 左侧筛选栏 */
.side-filter { position: sticky; top: calc(var(--header-h) + 16px); }
.side-filter .sf-group { padding: 16px 18px; border-bottom: 1px solid var(--border-light); }
.side-filter .sf-group:last-child { border-bottom: 0; }
.sf-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.sf-list { display: flex; flex-direction: column; gap: 2px; }
.sf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .14s;
}
.sf-item:hover { background: #F5F8FF; color: var(--blue); }
.sf-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.sf-item .sf-count { font-size: 12px; color: var(--text-4); }

/* ------------------------------- 侧栏组件 ------------------------------- */

.login-card { padding: 20px; text-align: center; }
.login-card .lc-avatar { margin: 0 auto 10px; }
.login-card h4 { margin: 0 0 4px; font-size: 15px; }
.login-card p { margin: 0 0 16px; font-size: 12px; color: var(--text-3); }
.login-actions { display: flex; gap: 10px; }

.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F7F9FC;
  font-size: 13px;
  color: var(--text-2);
  transition: all .15s;
}
.quick-link:hover { background: var(--blue-soft); color: var(--blue); }

.company-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 0; border-bottom: 1px dashed var(--border-light); }
.company-item:last-child { border-bottom: 0; padding-bottom: 0; }
.company-item:first-child { padding-top: 0; }
.company-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.company-info { min-width: 0; flex: 1; }
.company-name { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-size: 13px; color: var(--text); line-height: 18px; }
.company-name-text { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-name .tag { height: 18px; padding: 0 6px; flex: 0 0 auto; font-size: 10px; }
.company-meta { display: block; margin-top: 2px; overflow: hidden; color: var(--text-4); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.company-hot { margin-left: auto; color: var(--orange); font-size: 12px; flex: 0 0 auto; white-space: nowrap; }

/* ------------------------------- 职位详情 ------------------------------- */

.detail-hero {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
}
.detail-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.detail-title { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-salary { font-size: 24px; color: var(--salary); font-weight: 700; margin-bottom: 8px; }
.detail-salary small { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--text-3); margin-top: 12px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }

.detail-section { padding: 26px 28px; }
.detail-section + .detail-section { border-top: 1px solid var(--border-light); }
.detail-section h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.detail-section h3::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--blue); }
.detail-text { font-size: 14px; line-height: 2; color: var(--text-2); white-space: pre-line; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.info-item { display: flex; gap: 10px; font-size: 14px; }
.info-item .k { color: var(--text-3); flex-shrink: 0; width: 72px; }
.info-item .v { color: var(--text); }

.map-box {
  position: relative;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(47, 107, 255, .05), rgba(47, 107, 255, .02)),
    repeating-linear-gradient(90deg, #EEF2F8 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, #EEF2F8 0 1px, transparent 1px 56px),
    #F8FAFD;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(47, 107, 255, .16);
}
.map-pin-label { font-size: 12px; color: var(--blue); background: #fff; padding: 2px 8px; border-radius: 4px; box-shadow: var(--shadow-sm); }

.aside-sticky { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.contact-card { padding: 20px; }
.contact-person { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-name { font-size: 15px; font-weight: 600; }
.contact-role { font-size: 12px; color: var(--text-3); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.safety-tip {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FFF9F2;
  color: #B25E00;
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid #FFE7CC;
}

/* 相似职位 */
.similar-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background .15s;
}
.similar-job:hover { background: #F7F9FF; }

/* ------------------------------- 人才卡片 ------------------------------- */

.talent-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
  position: relative;
}
.talent-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.talent-head { display: flex; align-items: flex-start; gap: 14px; }
.talent-avatar-wrap { position: relative; flex-shrink: 0; }
.online-dot {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--green);
}
.online-dot.off { background: #C9CFDA; }
.talent-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.talent-name { font-size: 17px; font-weight: 600; }
.talent-expect { font-size: 15px; color: var(--salary); font-weight: 600; }
.talent-meta { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.talent-intro { margin-top: 12px; font-size: 13px; color: var(--text-2); line-height: 1.75; }
.talent-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-light); }
.talent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-4);
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all .15s;
}
.talent-close:hover { background: #F2F4F8; color: var(--text-2); }

/* ------------------------------- 发布职位 ------------------------------- */

.publish-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.form-card { padding: 26px 28px; }
.form-section + .form-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border-light); }
.form-section-title { font-size: 16px; font-weight: 600; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.form-section-title .step-no {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; display: grid; place-items: center; font-weight: 600;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-item { display: flex; flex-direction: column; gap: 8px; }
.form-item.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; color: var(--text-2); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.form-label .req { color: #F53F3F; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  height: 42px;
  outline: none;
  transition: all .16s;
}
.textarea { height: auto; padding: 12px 14px; line-height: 1.8; resize: vertical; min-height: 110px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, .1); }
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386909C' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.input-group { display: flex; align-items: center; gap: 8px; }
.input-group .input { flex: 1; }

.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.pill:hover { border-color: var(--blue-line); color: var(--blue); }
.pill.active { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.pill.active.orange { background: var(--orange-soft); border-color: var(--orange); color: #E85D00; }

.checkbox-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.checkbox-line input { margin-top: 4px; accent-color: var(--blue); }

.preview-card { position: sticky; top: calc(var(--header-h) + 16px); }
.preview-note { font-size: 12px; color: var(--text-4); margin-top: 10px; line-height: 1.7; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

/* ------------------------------- IM ------------------------------- */

.im-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  height: calc(100vh - var(--header-h) - 34px - 48px);
  min-height: 560px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.im-side { border-right: 1px solid var(--border-light); display: flex; flex-direction: column; min-height: 0; }
.im-side-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--border-light); }
.im-tabs { display: flex; gap: 4px; margin-top: 10px; }
.im-tab { padding: 4px 12px; border-radius: 7px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.im-tab.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.im-search { display: flex; align-items: center; gap: 8px; background: #F5F7FA; border-radius: 9px; padding: 0 12px; height: 36px; margin-top: 10px; }
.im-search input { border: 0; background: transparent; outline: none; flex: 1; font-size: 13px; }
.conv-list { overflow-y: auto; flex: 1; }
.conv-item { display: flex; gap: 12px; padding: 14px 18px; cursor: pointer; transition: background .14s; border-bottom: 1px solid #F7F8FB; }
.conv-item:hover { background: #FAFBFF; }
.conv-item.active { background: var(--blue-soft); }
.conv-main { min-width: 0; flex: 1; }
.conv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.conv-name { font-size: 14px; font-weight: 500; }
.conv-time { font-size: 11px; color: var(--text-4); flex-shrink: 0; }
.conv-preview { font-size: 12px; color: var(--text-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-sub { font-size: 11px; color: var(--text-4); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.unread-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 10px; display: grid; place-items: center; flex-shrink: 0; }

.im-main { display: flex; flex-direction: column; min-height: 0; }
.im-main-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--border-light); }
.chat-body { flex: 1; overflow-y: auto; padding: 22px; background: #F8FAFD; }
.chat-date { text-align: center; font-size: 12px; color: var(--text-4); margin: 8px 0 18px; }
.msg-row { display: flex; gap: 10px; margin-bottom: 18px; }
.msg-row.mine { flex-direction: row-reverse; }
.msg-bubble { max-width: 62%; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.7; box-shadow: var(--shadow-sm); }
.msg-row.mine .msg-bubble { background: var(--blue); color: #fff; }
.msg-jobcard { background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 14px; max-width: 300px; }
.msg-jobcard .mjc-title { font-size: 14px; font-weight: 600; }
.msg-jobcard .mjc-salary { font-size: 14px; color: var(--salary); font-weight: 700; margin: 4px 0; }
.chat-input-area { border-top: 1px solid var(--border-light); padding: 12px 18px 16px; background: #fff; }
.chat-tools { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.chat-tool {
  border: 0; background: #F5F7FA; border-radius: 7px;
  padding: 5px 10px; font-size: 12px; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 5px;
}
.chat-tool:hover { background: var(--blue-soft); color: var(--blue); }
.chat-input { display: flex; gap: 10px; align-items: flex-end; }
.chat-input textarea {
  flex: 1; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; resize: none; height: 44px; outline: none; line-height: 1.5;
}
.chat-input textarea:focus { border-color: var(--blue); }
.chat-empty { display: grid; place-items: center; height: 100%; color: var(--text-4); font-size: 13px; }

/* ------------------------------- 我的 ------------------------------- */

.me-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.profile-card { padding: 22px 20px; text-align: center; }
.profile-card h3 { margin: 12px 0 4px; font-size: 17px; }
.profile-card .p-meta { font-size: 12px; color: var(--text-3); }
.completeness { margin-top: 16px; text-align: left; }
.completeness-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.bar { height: 6px; border-radius: 3px; background: #F0F2F7; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6C96FF, var(--blue)); }

.me-nav { padding: 8px; }
.me-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 9px;
  font-size: 14px; color: var(--text-2); cursor: pointer;
  transition: all .15s;
}
.me-nav-item:hover { background: #F5F8FF; color: var(--blue); }
.me-nav-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.me-nav-item .count { margin-left: auto; font-size: 12px; color: var(--text-4); }

.me-section { padding: 24px 26px; }
.me-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.me-section-head h3 { margin: 0; font-size: 17px; }
.resume-block { padding: 18px 0; border-top: 1px solid var(--border-light); }
.resume-block:first-of-type { border-top: 0; padding-top: 0; }
.resume-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.resume-block-head h4 { margin: 0; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.edit-link { font-size: 13px; color: var(--blue); cursor: pointer; }
.edit-link:hover { text-decoration: underline; }
.kv-grid { display: grid; grid-template-columns: 100px 1fr; gap: 10px 16px; font-size: 13px; }
.kv-grid .k { color: var(--text-3); }
.kv-grid .v { color: var(--text); }

.exp-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--border-light); }
.exp-item:first-child { border-top: 0; padding-top: 0; }
.exp-logo { width: 40px; height: 40px; border-radius: 10px; background: #F2F5FA; display: grid; place-items: center; color: var(--text-3); font-size: 13px; flex-shrink: 0; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; font-weight: 500; color: var(--text-3);
  padding: 11px 12px; background: #F8FAFD; border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}
.table th:first-child { border-radius: 8px 0 0 0; }
.table th:last-child { border-radius: 0 8px 0 0; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--border-light); color: var(--text-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FAFCFF; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: 20px; }
.status-wait { background: #FFF7E8; color: #D97B00; }
.status-ok { background: #E8FAEE; color: #009A25; }
.status-no { background: #FFF0F0; color: #E33C3C; }
.status-doing { background: var(--blue-soft); color: var(--blue); }

.empty-state { padding: 60px 20px; text-align: center; color: var(--text-4); font-size: 13px; }
.empty-state .empty-icon { font-size: 34px; margin-bottom: 10px; opacity: .5; }

/* ------------------------------- 页脚 ------------------------------- */

.site-footer { background: #1B2434; color: rgba(255, 255, 255, .62); padding: 46px 0 24px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1fr; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-slogan { color: rgba(255, 255, 255, .4); }
.footer-brand p { font-size: 12px; line-height: 1.9; margin: 14px 0 0; max-width: 260px; color: rgba(255, 255, 255, .5); }
.footer-col h5 { margin: 0 0 14px; font-size: 14px; color: #fff; font-weight: 500; }
.footer-col a { display: block; font-size: 12px; line-height: 2.2; color: rgba(255, 255, 255, .55); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: 12px; color: rgba(255, 255, 255, .4); flex-wrap: wrap; }
.footer-bottom .fb-links { display: flex; gap: 18px; }

/* ------------------------------- 弹窗 / Toast ------------------------------- */

.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18, 26, 42, .48);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 460px;
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  transform: translateY(12px) scale(.98);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1);
  max-height: 88vh;
  overflow-y: auto;
}
.modal-mask.show .modal { transform: none; }
.modal-modal-lg { max-width: 620px; }
.modal h3 { margin: 0 0 6px; font-size: 19px; }
.modal-sub { font-size: 13px; color: var(--text-3); margin: 0 0 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border: 0; border-radius: 8px;
  background: #F4F6FA; color: var(--text-3); font-size: 16px;
  display: grid; place-items: center;
}
.modal-close:hover { background: #EAEEF6; color: var(--text); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

.resume-preview-box { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #FAFBFE; }
.resume-preview-box .rp-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.resume-preview-box .rp-row .k { color: var(--text-3); }

.toast-wrap { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  background: rgba(29, 33, 41, .92); color: #fff;
  font-size: 13px; box-shadow: var(--shadow-lg);
  animation: toastIn .24s ease both;
}
.toast.out { animation: toastOut .2s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* 聊天抽屉 */
.drawer-mask { position: fixed; inset: 0; z-index: 190; background: rgba(18, 26, 42, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 195;
  width: 400px; background: #fff; box-shadow: -12px 0 40px rgba(18, 26, 42, .14);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.2, .8, .3, 1);
  display: flex; flex-direction: column;
}
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; background: #F8FAFD; }
.drawer-foot { padding: 14px 20px; border-top: 1px solid var(--border-light); }

/* ------------------------------- 后台 ------------------------------- */

.admin-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  background: #111B2E;
  color: rgba(255, 255, 255, .72);
  padding: 18px 14px;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 20px; }
.admin-brand .logo-name { color: #fff; font-size: 16px; }
.admin-brand .logo-slogan { color: rgba(255, 255, 255, .35); font-size: 9px; }
.admin-nav-group { font-size: 11px; color: rgba(255, 255, 255, .32); padding: 14px 12px 6px; letter-spacing: .6px; }
.admin-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: rgba(255, 255, 255, .7);
  margin-bottom: 2px; transition: all .15s;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.active { background: var(--blue); color: #fff; font-weight: 500; }
.admin-nav a .badge { margin-left: auto; background: rgba(255, 255, 255, .16); padding: 0 6px; border-radius: 8px; font-size: 10px; line-height: 17px; }
.admin-main { background: #F5F7FA; min-width: 0; }
.admin-top { background: #fff; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 20; }
.admin-top h1 { margin: 0; font-size: 16px; font-weight: 600; }
.admin-content { padding: 24px 26px 50px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi-card { background: #fff; border-radius: 14px; padding: 18px 20px; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.kpi-label { font-size: 12px; color: var(--text-3); display: flex; align-items: center; justify-content: space-between; }
.kpi-value { font-size: 28px; font-weight: 700; letter-spacing: -.5px; margin-top: 8px; }
.kpi-value small { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.kpi-trend { font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.trend-up { color: var(--green); }
.trend-down { color: #F53F3F; }

.admin-chart-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.admin-table-wrap { min-width: 0; }
.chart-card { background: #fff; border-radius: 14px; border: 1px solid var(--border-light); padding: 20px; margin-bottom: 20px; }
.chart-card h3 { margin: 0 0 4px; font-size: 15px; }
.chart-card .chart-sub { font-size: 12px; color: var(--text-3); margin-bottom: 18px; }

.bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 180px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar-stack { width: 100%; max-width: 38px; display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; justify-content: flex-end; }
.bar-seg { border-radius: 4px; transition: opacity .15s; }
.bar-col:hover .bar-seg { opacity: .82; }
.bar-label { font-size: 11px; color: var(--text-4); }

.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.funnel-name { width: 74px; color: var(--text-3); flex-shrink: 0; }
.funnel-bar-wrap { flex: 1; height: 26px; background: #F5F7FA; border-radius: 6px; overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6C96FF, var(--blue)); display: flex; align-items: center; padding-left: 10px; color: #fff; font-size: 11px; }
.funnel-val { width: 74px; text-align: right; color: var(--text-2); flex-shrink: 0; }

.admin-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 0 12px; height: 36px; }
.admin-search input { border: 0; outline: none; background: transparent; font-size: 13px; width: 200px; }
.admin-pager { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px 0; font-size: 13px; color: var(--text-3); }
.pager-btns { display: flex; gap: 6px; }
.pager-btn { min-width: 30px; height: 30px; border: 1px solid var(--border); background: #fff; border-radius: 7px; font-size: 13px; color: var(--text-2); }
.pager-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

/* ------------------------------- 统一视觉细化 ------------------------------- */

::selection { background: #D8E9FF; color: var(--blue-deep); }
.site-header { background: rgba(255,255,255,.94); border-bottom-color: #E8F0F8; }
.topbar { background: #F4F8FD; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 16px rgba(52,120,246,.14); }
.logo-name { color: var(--blue-deep); font-size: 19px; font-weight: 750; }
.logo-slogan { letter-spacing: .7px; color: #91A3B9; }
.identity-switch { background: #EFF4FA; }
.identity-switch a.active { color: var(--blue); box-shadow: 0 3px 10px rgba(52,120,246,.1); }
.main-nav a.active { background: #F2F7FF; }
.btn { font-weight: 500; }
.btn-primary { box-shadow: 0 7px 16px rgba(52,120,246,.2); }
.btn-primary:hover { box-shadow: 0 9px 20px rgba(52,120,246,.26); transform: translateY(-1px); }
.card, .panel, .filter-panel, .detail-hero, .im-layout { border-color: #E8EFF7; box-shadow: var(--shadow-sm); }
.panel-title, .section-title, .me-section-head h3, .form-section-title { color: var(--blue-deep); }
.section-title { font-weight: 700; }
.tag { border-radius: 6px; background: #F3F6FA; }
.tag-blue { background: #EDF5FF; }
.job-card, .talent-card { border-color: #E8EFF7; box-shadow: 0 3px 14px rgba(40,78,128,.035); }
.job-card:hover, .talent-card:hover { border-color: #CFE2FA; box-shadow: 0 12px 28px rgba(40,78,128,.08); }
.job-title, .talent-name { color: var(--blue-deep); }
.job-salary, .detail-salary, .talent-expect { color: var(--salary); }
.sort-tab.active { background: var(--blue-soft); color: var(--blue); font-weight: 650; }
.filter-opt.active { border-color: transparent; }
.quick-link { background: #F4F8FD; }
.login-card { background: linear-gradient(160deg,#FFFFFF,#F5FAFF); }
.detail-hero:first-child { background: linear-gradient(135deg,#FFFFFF,#F7FBFF); }
.input, .select, .textarea { background-color: #FBFDFF; }
.input:focus, .select:focus, .textarea:focus { background: #fff; box-shadow: 0 0 0 3px rgba(52,120,246,.09); }
.form-section-title .step-no { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; }
.pill { border-radius: 9px; }
.im-tab.active, .conv-item.active { background: #EAF3FF; }
.chat-body { background: #F4F8FC; }
.msg-bubble { border-radius: 4px 14px 14px 14px; }
.msg-row.mine .msg-bubble { border-radius: 14px 4px 14px 14px; background: linear-gradient(135deg,#4A8AF7,#3478F6); }
.profile-card { overflow: hidden; position: relative; padding: 26px 20px 22px; border: 0; background: linear-gradient(145deg,#4B91F7,#3478F6 70%,#2C68D6); }
.profile-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -78px; top: -80px; border: 28px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.profile-card .avatar { position: relative; z-index: 1; color: var(--blue); background: #fff; box-shadow: 0 8px 22px rgba(22,73,150,.18); }
.profile-card h3 { position: relative; z-index: 1; color: #fff; font-size: 19px; }
.profile-card .p-meta, .profile-card .completeness-top, .profile-card .completeness-top span { color: rgba(255,255,255,.76) !important; }
.profile-card .bar { background: rgba(255,255,255,.2); }
.profile-card .bar > i { background: linear-gradient(90deg,#FFD29A,#FF9B4A); }
.profile-card [data-identity] { position: relative; z-index: 1; color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.profile-card [data-identity]:hover { color: var(--blue); background: #fff; border-color: #fff; }
.me-nav { padding: 10px; }
.me-nav-item { min-height: 42px; }
.me-nav-item.active { box-shadow: inset 3px 0 0 var(--blue); }
.me-nav-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; color: #88A0BC; flex-shrink: 0; }
.me-nav-item.active .me-nav-icon, .me-nav-item:hover .me-nav-icon { color: var(--blue); }
.message-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: #EAF1F9; }
.message-switch a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 20px; border-radius: 9px; color: var(--text-2); font-size: 14px; }
.message-switch a.active { color: var(--blue); background: #fff; box-shadow: 0 3px 10px rgba(40,78,128,.08); font-weight: 600; }
.site-footer { background: #193452; }

/* ------------------------------- 响应式 ------------------------------- */

@media (max-width: 1180px) {
  .hero-top { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
  .hero-title { font-size: 43px; }
  .hero-float-top { right: 0; }
  .hero-float-bottom { left: 0; }
  .layout-2col { grid-template-columns: minmax(0, 1fr) 290px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .hd-main { gap: 14px; }
  .main-nav a { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 1120px) {
  .hd-main { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 11px; }
  .hd-actions { margin-left: auto; }
  .main-nav { order: 5; display: flex; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 7px 13px; }
  .preview-card, .aside-sticky, .side-filter { top: 132px; }
}
@media (max-width: 980px) {
  .layout-2col, .layout-2col-left, .publish-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky, .side-filter, .preview-card { position: static; }
  .hero-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
  .hero-visual { height: 340px; }
  .hero-person { left: 10px; }
  .hero-title { font-size: 38px; }
  .hero-float { padding: 9px 11px; }
  .hero-float-top { top: 28px; }
  .zone-card { grid-template-columns: 44px minmax(0,1fr); column-gap: 12px; padding: 17px 15px; }
  .zone-icon { width: 44px; height: 44px; }
  .zone-card p { display: none; }
  .zone-count { margin-top: 4px; }
  .im-layout { grid-template-columns: 270px minmax(0,1fr); height: auto; min-height: 600px; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .me-layout { grid-template-columns: minmax(0, 1fr); }
  .profile-card { display: grid; grid-template-columns: 64px minmax(0,1fr); column-gap: 16px; text-align: left; }
  .profile-card .avatar { grid-row: 1 / 3; margin: 0 !important; }
  .profile-card h3 { align-self: end; margin: 4px 0; }
  .profile-card .p-meta { grid-column: 2; }
  .profile-card .completeness, .profile-card > div:last-child { grid-column: 1 / -1; }
  .hero { min-height: auto; padding: 30px 0 76px; }
  .hero-top { grid-template-columns: minmax(0,1fr); }
  .hero-copy { max-width: none; }
  .hero-visual { display: none; }
  .hero-title { font-size: 38px; }
  .search-bar { max-width: none; }
  .zone-grid { grid-template-columns: 1fr; }
  .zone-card p { display: block; }
  .zone-wrap { margin-top: -38px; }
  .form-row { grid-template-columns: 1fr; }
  .job-card-foot { align-items: flex-start; flex-direction: column; }
  .job-side-meta { width: 100%; justify-content: space-between; }
  .detail-hero-top { flex-direction: column; }
  .im-layout { grid-template-columns: 1fr; }
  .im-side { max-height: 330px; border-right: 0; border-bottom: 1px solid var(--border-light); }
  .im-main { min-height: 520px; }
  .table { min-width: 680px; }
  .me-section { overflow-x: auto; }
  .admin-top { padding: 0 14px; }
  .admin-top > div .muted { display: none; }
  .admin-content { padding: 16px 14px 40px; }
  .admin-chart-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-table-wrap { overflow-x: auto; }
  .kpi-grid { gap: 12px; }
  .kpi-card, .chart-card { padding: 16px; }
  .kpi-value { font-size: 24px; }
  .kpi-label .tag { display: none; }
  .bar-chart { gap: 6px; }
  .bar-col { min-width: 0; }
  .bar-col > div { gap: 2px !important; }
  .bar-col i { width: 6px !important; }
  #auditSection > div:first-child { flex-wrap: wrap; gap: 12px; }
  .admin-filter .admin-search { width: 100%; }
  .admin-search input { width: 100%; min-width: 0; }
  .admin-filter > div:last-child { margin-left: 0 !important; }
  .admin-pager { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 640px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .topbar { display: none; }
  .hd-main { gap: 8px; padding: 10px 14px 0; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo-name { font-size: 16px; }
  .logo-slogan { display: none; }
  .identity-switch a { padding: 4px 10px; font-size: 12px; }
  .hd-actions > .btn { display: none; }
  .hd-user { padding-right: 4px; }
  .hd-user-name, .account-role { display: none; }
  .main-nav a { padding: 7px 10px; font-size: 13px; }
  .hero { padding-top: 26px; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .hero-desc { font-size: 14px; }
  .search-divider, .search-city { display: none; }
  .search-bar .btn { padding: 0 20px; }
  .search-field { padding-left: 6px; }
  .search-field input { font-size: 13px; }
  .hot-words { gap: 7px 12px; }
  .hero-stats { justify-content: space-between; }
  .stat-item { min-width: 0; padding: 0 12px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .zone-card { padding: 18px; }
  .cat-grid { grid-template-columns: repeat(3,1fr); gap: 6px; }
  .panel-head, .panel-body { padding-left: 16px; padding-right: 16px; }
  .job-card { padding: 17px 16px; }
  .job-card-top { gap: 10px; }
  .job-title { font-size: 15px; }
  .job-salary { font-size: 16px; }
  .company-line { flex-wrap: wrap; }
  .contact-line { flex-shrink: 1; }
  .form-card, .me-section { padding: 20px 16px; }
  .detail-hero, .detail-section { padding: 20px 17px; }
  .detail-title { font-size: 22px; }
  .detail-salary { font-size: 21px; }
  .search-bar[data-search="local"] { min-width: 0 !important; }
  .account-source-switch, .ua-apps { grid-template-columns: 1fr; }
  .ua-foot { align-items: flex-start; flex-direction: column; }
  .ua-actions { justify-content: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .message-switch { display: flex; }
  .message-switch a { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
