:root {
  --primary: #19A48C;
  --map-label: #ffffff;     /* 地图标注文字颜色，可在此统一修改 */
  --map-label-count: #ffffff;
  --primary-dark: #15816f;
  --primary-light: #d7f0eb;
  --secondary: #1e3a5f;
  --bg: #f8f9fa;
  --card-bg: #fff;
  --text: #333;
  --text-light: #666;
  --border: #e5e5e5;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --radius: 8px;
}

* { box-sizing: border-box; }
html {
  font-size: 14px;                       /* 写死 14px，不做任何 viewport 适配 */
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* 上半屏整体浮动：site-header + stats + 导航 三段一起吸顶 */
.top-fixed-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 小屏（≤1440）占满视口宽度 + 48px padding，不再固定 1440 避免水平滚动 */
@media (max-width: 1440px) {
  .container { width: 100%; padding-left: 3%; padding-right: 3%; }
}

.container {
  width: 100%;              /* 占满视口，不会出现水平滚动条 */
  max-width: 1440px;        /* 大屏时收口到 1440 */
  margin: 0 auto;           /* 居中 */
  padding-left: 5%;       /* 左右留出大面积空白，让卡片不贴边 */
  padding-right: 5%;
  box-sizing: border-box;
}

/* 大屏（≥1680）更多左右留白 */
@media (min-width: 1680px) {
  .container { padding-left: 7%; padding-right: 7%; }
}
/* 超宽屏（≥1920）内容更窄居中，左右留白更多 */
@media (min-width: 1920px) {
  .container { max-width: 1500px; padding-left: 8%; padding-right: 8%; }
}

/* ---------- 视口宽度分档：JS 给 body 加 .layut16 / .zg_1366 / .zg_1200，紧凑化布局 ---------- */
.layut16 .site-header h1 { font-size: 22px; }
.layut16 .main-nav a { padding: 12px 14px; font-size: 14px; }
.layut16 #mapSection { gap: 10px; }
.layut16 .map-main-row { gap: 10px; }
.layut16 .tier-card { padding: 8px 10px; }
.layut16 .tier-card-stats { font-size: 10px; }
.layut16 .tier-card-stats strong { font-size: 11px; }
.layut16 .map-3d-inner svg.sc-map { filter: drop-shadow(0 2px 0 rgba(18,52,44,.18)); }

/* 新布局下地图占 80% 列，高度自适应（不再固定大高度） */
.layut16 .map-wrap,
.zg_1366 .map-wrap,
.zg_1200 .map-wrap { min-height: 0; padding: 8px 10px; }

/* 取消 zg_1366 / zg_1200 对 #mapSection 的 max-height 限制（之前会让地图被截断） */
.zg_1366 #mapSection,
.zg_1200 #mapSection { max-height: none; }
.zg_1366 .map-main-row { gap: 8px; }
.zg_1366 .tier-card { padding: 6px 8px; }
.zg_1366 .tier-card-stats { font-size: 9px; }
.zg_1366 .tier-card-stats strong { font-size: 10px; }

.zg_1200 .map-main-row { /* map-main-row 自适应即可，无需额外断点 */ }
.zg_1200 .tier-card { padding: 6px; }
.zg_1200 .provincial-card { padding: 8px 14px; gap: 6px; min-width: 440px; }
.zg_1200 .provincial-icon { width: 34px; height: 34px; font-size: 18px; }

/* 顶部（不在吸顶，滚动时跟随消失：避免与下方吸顶表头争位） */
.site-header { /*display: none;  隐藏 header */
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfd 100%);    /* 美化：极轻渐变 */
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 110;
  box-shadow: 0 1px 0 rgba(25,164,140,.08), 0 2px 8px rgba(0,0,0,.04);
}
.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 0;                  /* 增加上下留白：12px → 22px，logo 更透气 */
}
/* logo 居中显示 */
.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;                     /* 恢复协调大小：38px → 46px */
  width: auto;
  display: block;
}
.global-search {
  display: flex;
  gap: clamp(6px, 0.6vw, 10px);
  align-items: stretch;
  margin: clamp(6px, 0.6vw, 10px) 0;
}
.global-search input {
  flex: 1;
  min-width: 0;
  padding: clamp(6px, 0.6vw, 9px) clamp(10px, 1vw, 14px);
  border: 1px solid var(--border);
  border-radius: clamp(6px, 0.6vw, 10px);
  outline: none;
  font-size: clamp(12px, 1vw, 14px);
  background: #fff;
}
.global-search button {
  flex: 0 0 auto;
  padding: clamp(6px, 0.6vw, 9px) clamp(14px, 1.4vw, 20px);
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: clamp(6px, 0.6vw, 10px);
  cursor: pointer;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
}
.global-search button:hover { background: var(--primary-dark); }
.stats-filter .global-search { width: 100%; }
.header-main {
  text-align: center;
  padding: 4px 0 16px;              /* 增加上下留白：0/6 → 4/16 */
}
.main-title {
  font-size: 26px;                  /* 恢复：22px → 26px */
  font-weight: 700;
  margin: 0 0 10px;                 /* 增加：6px → 10px */
  color: var(--secondary);
  position: relative;
  padding-bottom: 12px;             /* 增加：8px → 12px（给下划线留空间） */
  letter-spacing: 1px;              /* 标题字距微调 */
}
.title-highlight { color: var(--primary); }
.main-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.sub-title {
  margin: 0;
  color: var(--text-light);
  font-size: 16px;                  /* 15px → 16px，与主标题更协调 */
  letter-spacing: .5px;
}
.sub-title strong {
  color: var(--primary);
  font-weight: 600;
}

/* 统计（在普通流中正常排列） */
.stats-section {
  background: #fff;
  padding: 0.5em 0;
  border-bottom: 1px solid var(--border);
}
.stats-wrap {
  display: grid;
  grid-template-columns: 1fr 38vw;    /* 中自适应 / 右筛框，全部按视口宽度比例缩放 */
  align-items: center;
  gap: 1.2vw;
  text-align: center;
}
/* 左：标题 + 招聘数据 */
.stats-left {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 中：三圆 + 学历可报 */
.stats-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
/* 右：嵌入式筛选框（撤回到上一版 3 列 × 2 行 + border-left 分隔） */
.stats-filter {
  border-left: 1px solid var(--border);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.stats-filter-title {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 3px;
  margin: 0;
  line-height: 1.2;
}
/* 标题 + 招聘数据（左列） */
.stats-title h2 {
  margin: 0 0 0.15em;
  font-size: clamp(15px, 1.6vw, 22px);    /* 按视口尺寸在 15-22px 间缩放 */
  color: var(--secondary);
  white-space: nowrap;
}
.stats-title p {
  margin: 0;
  color: var(--text-light);
  font-size: clamp(12px, 0.95vw, 14px);  /* 略缩小，确保"招聘 X 人 X 岗"可一行显示 */
  white-space: nowrap;                   /* 强制不跳行：人数和岗位同行 */
}
.stats-title strong {
  color: var(--primary);
  font-size: clamp(14px, 1.3vw, 18px);
  white-space: nowrap;                   /* strong 内数字本身不换行 */
}

.category-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.category-card {
  width: 88px;
  height: 88px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.category-card:hover, .category-card.active {
  background: var(--primary);
  color: #fff;
}
.category-card .cc-name { font-size: 11px; font-weight: 600; line-height: 1.2; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card .cc-jobs { font-size: 10px; margin-top: 2px; color: var(--primary); font-weight: 600; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card .cc-people { font-size: 9px; margin-top: 1px; opacity: .85; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card.active .cc-people,
.category-card:hover .cc-people { opacity: 1; }
/* 超过10个分类卡片时缩小尺寸 */
.category-cards.small-cards .category-card {
  width: 60px;
  height: 60px;
}
.category-cards.small-cards .category-card .cc-name { font-size: 8px; max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-cards.small-cards .category-card .cc-jobs { font-size: 7px; max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-cards.small-cards .category-card .cc-people { font-size: 6px; max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.education-stats {
  display: flex;
  justify-content: center;
  gap: 1vw;
  color: var(--text-light);
  flex-wrap: nowrap;
}
.edu-stat {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  font-size: clamp(10px, 0.95vw, 13px);
  white-space: nowrap;
}
.edu-stat strong {
  color: var(--primary);
  font-size: clamp(13px, 1.2vw, 16px);
}

/* 嵌入式筛选框（响应式） */
.stats-filter .filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2px, 0.3vw, 5px) clamp(4px, 0.6vw, 10px);
}
.stats-filter .filter-item { flex: none; }
.stats-filter .filter-item label {
  font-size: clamp(10px, 0.85vw, 12px);
  margin-bottom: 1px;
}
.stats-filter .filter-item select,
.stats-filter .filter-item input {
  font-size: clamp(11px, 0.95vw, 13px);
  padding: clamp(2px, 0.3vw, 4px) clamp(5px, 0.6vw, 8px);
}
.stats-filter .filter-actions {
  margin-top: clamp(4px, 0.6vw, 8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.8vw, 14px);
  flex-wrap: wrap;
}
.stats-filter .filter-actions .global-search {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;        /* 覆盖上一版的 clamp margin，避免在 actions 中重复上下间距 */
  width: auto;
}
.stats-filter .filter-actions-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
  white-space: nowrap;
}
.stats-filter .result-tip { font-size: clamp(10px, 0.85vw, 12px); }

/* 不再分大小屏适配：所有元素按 viewport / 根字号自动缩放 */


/* 导航（在 .top-fixed-wrap 内整体浮动，不再单独 box-shadow） */
.main-nav {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);   /* 美化：导航极轻渐变 */
  position: relative;
  z-index: 100;
  margin-bottom: 1px;             /* 导航与下方 stats-section 之间留 1px 视觉缝隙 */
}
.nav-inner {
  display: flex;
}
.nav-item {
  flex: 1;
  text-align: center;
  padding: clamp(4px, 0.5vw, 6px) 0;   /* 导航上下 padding 缩小 */
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color 0.2s, background-color 0.2s;
  font-size: clamp(11px, 0.9vw, 13px);  /* 导航字号再小一些 */
  white-space: nowrap;
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background: #f0faf8;
}
.nav-item.active::after {
  transform: scaleX(1);
}

/* 功能区 */
.main-content { padding: 24px 0 48px; }
.content-section { display: none; }
/* 岗位表 tab：左地图 + 右岗位表格，同时展示 */
.jobs-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 14px;
  align-items: stretch;
}
.jobs-map-col { min-width: 0; display: flex; }
.jobs-map-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
/* 岗位表地图列：上岸难度紧凑 2x2 + 地图 */
.jobs-map-inner .map-difficulty {
  flex: 0 0 auto;
  padding: 10px 12px;
}
.jobs-map-inner .map-difficulty-title {
  margin-bottom: 6px;
  font-size: 12px;
  padding: 4px 12px;
}
.jobs-map-inner .map-difficulty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2x2 紧凑 */
  gap: 6px;
}
.jobs-map-inner .tier-card { padding: 5px 8px 6px; }
.jobs-map-inner .tier-card-head { margin-bottom: 2px; }
.jobs-map-inner .tier-label { font-size: 12px; }
.jobs-map-inner .tier-tag { display: none; }        /* 隐藏 desc 节省高度 */
.jobs-map-inner .tier-card-regions { margin: 2px 0; }
.jobs-map-inner .city-chip {
  font-size: 10px !important;
  padding: 0 5px !important;
}
.jobs-map-inner .map-wrap {
  flex: 1;
  min-height: 340px;
  padding: 6px 8px;
}
.jobs-table-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.jobs-table-col .table-wrap {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 260px);   /* 表格列高度上限：与地图列匹配，一屏内 */
}
.content-section.active { display: block; }

/* 美化：主区与顶部 header 用极淡背景分隔 */
.main-content {
  background:
    radial-gradient(ellipse 1200px 600px at 50% 0%, #f8fdfb 0%, transparent 70%),
    var(--bg, #f8f9fa);
}
.content-section.active { display: block; }

/* 分数线 tab 单独筛选框（依旧按 label 在上、控件在下、横向并排形式） */
.score-filter-panel {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(10px, 1vw, 14px) 0 clamp(9px, 0.9vw, 12px);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 150px;
}
.filter-item.filter-major {
  flex: 2 1 240px;
  position: relative;
}
.filter-item label { font-size: clamp(11px, 0.95vw, 13px); color: var(--text-light); }
.filter-item select, .filter-item input {
  padding: clamp(6px, 0.7vw, 8px) clamp(8px, 0.9vw, 10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  background: #fff;
  font-size: clamp(12px, 1vw, 14px);
}
.major-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 180px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 50;
  display: none;
}
.major-suggest-item {
  padding: clamp(6px, 0.7vw, 8px) clamp(8px, 0.9vw, 10px);
  cursor: pointer;
}
.major-suggest-item:hover { background: var(--primary-light); }
.filter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.result-tip { color: var(--text-light); font-size: clamp(12px, 1vw, 14px); }

/* 按钮 */
.btn-primary {
  padding: clamp(5px, 0.5vw, 8px) clamp(12px, 1.2vw, 18px);
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(12px, 1vw, 14px);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  padding: clamp(5px, 0.5vw, 8px) clamp(10px, 1vw, 14px);
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(11px, 0.95vw, 13px);
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-outline.danger { color: #d93025; border-color: #d93025; }

/* 表格（在普通流中：包住宽表格、设高度上限保持页面滚动节奏） */
.table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
/* 岗位表格容器：约 10 行数据高度，超过时表内滚动（表头 sticky 吸顶），高度随视口缩放 */
#jobsSection .table-wrap {
  height: clamp(360px, 55vh, 500px);  /* 小屏压缩到 360px，大屏封顶 500px（原 10 行固定） */
  overflow-y: auto;                  /* 超过 10 条 → 表内滚动条 */
  overflow-x: auto;
}
/* 页面整体滚动时，表头克隆体吸附在导航栏下方（fixed），与表格横向对齐 */
.sticky-thead-clone {
  position: fixed;
  background: #fafafa;
  z-index: 80;                       /* 高于 table-wrap，但低于 .top-fixed-wrap(90) */
  display: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  table-layout: fixed;               /* fixed 模式：每列宽由 th inline 决定，与原表精确对齐 */
  border-collapse: collapse;
}
.sticky-thead-clone th {
  background: #fafafa !important;
  padding: clamp(8px, 0.9vw, 12px) clamp(10px, 1vw, 14px);
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: static;                  /* 克隆表头不再 sticky（自身已是 fixed） */
  box-sizing: border-box;
}
.job-table, .score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(12px, 1vw, 14px);
}
.job-table th, .job-table td,
.score-table th, .score-table td {
  padding: clamp(8px, 0.9vw, 12px) clamp(10px, 1vw, 14px);
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.job-table th, .score-table th {
  background: #fafafa;
  font-weight: 600;
  color: var(--text-light);
}
/* 岗位表 + 分数线表表头吸顶：容器内滚动时钉在容器顶部 */
.job-table thead th,
.score-table thead th {
  position: sticky;
  top: 0;
  z-index: 35;
  background: #fafafa;
  box-shadow: 0 1px 0 var(--border);
}

/* 各内容区都按普通流展示 */
#compareSection,
#mapSection,
#scoreSection { display: none; }
#compareSection.active,
#mapSection.active,
#scoreSection.active { display: block; }
#scoreSection .table-wrap { overflow-x: auto; }
/* 分数线表格容器：约 10 行数据高度，超过时表内滚动（与岗位表一致），高度随视口缩放 */
#scoreSection .table-wrap {
  height: clamp(360px, 55vh, 500px);
  overflow-y: auto;
}
.job-table tr:hover, .score-table tr:hover { background: #fbfbfb; }
.job-table td:last-child, .score-table td:last-child { white-space: nowrap; }
.action-btns { display: flex; gap: 8px; }
.action-btns button {
  padding: clamp(4px, 0.5vw, 6px) clamp(8px, 0.9vw, 12px);
  font-size: clamp(11px, 0.95vw, 13px);
  border-radius: 4px;
  cursor: pointer;
  border: none;
}
.btn-view { background: var(--secondary); color: #fff; }
.btn-compare-add { background: var(--primary); color: #fff; }
.btn-compare-add:disabled { background: #ccc; cursor: not-allowed; }

/* 分数线筛选面板：5 等宽下拉 + 专业搜索 + 蓝色搜索/重置按钮（参照参考站 junkaijiaoyu.cn） */
.score-filter-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}
.score-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(10px, 1.2vw, 16px);
}
.score-filter-actions .filter-major {
  flex: 1 1 260px;
  max-width: 420px;
}
.score-filter-buttons {
  display: flex;
  gap: clamp(8px, 0.9vw, 14px);
  flex-shrink: 0;
  margin-left: auto;
}
.score-btn-search,
.score-btn-reset {
  padding: clamp(8px, 0.9vw, 12px) clamp(18px, 2vw, 28px);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  background: #2479f0;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.score-btn-search:hover,
.score-btn-reset:hover { background: #1d65ce; }
.score-btn-search:active,
.score-btn-reset:active { transform: translateY(1px); }

/* 分数线动态统计条：平均/最高/最低进面分（随筛选实时计算） */
.score-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 0.9vw, 14px) clamp(14px, 1.8vw, 26px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(8px, 0.9vw, 12px) clamp(12px, 1.4vw, 18px);
  margin-bottom: clamp(10px, 1.2vw, 16px);
  font-size: clamp(12px, 1vw, 14px);
  color: var(--text-light);
}
.score-summary .sm-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  min-width: 0;
}
.score-summary .sm-num {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.score-summary .sm-num.max { color: var(--secondary); }
.score-summary .sm-num.min { color: #d93025; }
.score-summary .sm-divider {
  width: 1px;
  height: clamp(14px, 1.4vw, 20px);
  background: var(--border);
}
/* 分数线表格：查看详情按钮 */
.score-table .btn-detail {
  padding: clamp(4px, 0.5vw, 6px) clamp(10px, 1vw, 14px);
  font-size: clamp(11px, 0.95vw, 13px);
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.score-table .btn-detail:hover { background: var(--primary-dark); }

/* 分数线详情弹窗：信息网格 + 动态平均分卡片 */
.score-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.2vw, 16px) clamp(16px, 2vw, 28px);
}
.score-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.score-detail-item .dl-label { font-size: clamp(10px, 0.85vw, 12px); color: var(--text-light); }
.score-detail-item .dl-value {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.score-detail-avg {
  margin-top: clamp(12px, 1.4vw, 18px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
  background: #f0faf8;
  border: 1px solid rgba(25, 164, 140, .25);
  border-radius: 10px;
  padding: clamp(10px, 1.2vw, 16px);
}
.score-detail-avg .avg-item { flex: 1 1 160px; min-width: 0; }
.score-detail-avg .avg-label { display: block; font-size: clamp(10px, 0.85vw, 12px); color: var(--text-light); margin-bottom: 2px; }
.score-detail-avg .avg-num {
  display: block;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.score-detail-avg .avg-num small {
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  color: var(--text-light);
}
.score-detail-note {
  margin-top: clamp(8px, 0.9vw, 12px);
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--text-light);
}


/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 0;
  flex-shrink: 0;
  padding: 4px 0 0;
}
/* 分页工具：每页条数 / 页码区 / 跳转 */
.pg-tools,
.pg-jump {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg-tools-label {
  font-size: clamp(11px, 0.95vw, 13px);
  color: var(--text-light);
}
.pg-size-select {
  padding: clamp(4px, 0.5vw, 6px) clamp(7px, 0.8vw, 9px);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: clamp(11px, 0.95vw, 13px);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.pg-jump-input {
  width: clamp(46px, 4vw, 56px);
  padding: clamp(4px, 0.5vw, 6px) clamp(7px, 0.8vw, 9px);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: clamp(11px, 0.95vw, 13px);
  text-align: center;
  outline: none;
}
.pg-jump-input:focus { border-color: var(--primary); }
/* 跳转按钮：双重选择器提升优先级，避开 .pagination button{background:#fff} 覆盖 */
.pagination .pg-jump-btn {
  padding: 5px 12px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}
.pagination .pg-jump-btn:hover { background: var(--primary-dark); }
.pagination button {
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.pagination button.active, .pagination button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination button.pg-nav { font-weight: 600; }
.pagination button.disabled,
.pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: #fff;
  color: inherit;
  border-color: var(--border);
}
.pagination .pg-dots {
  padding: 6px 2px;
  color: #999;
  align-self: center;
}
.pagination .pg-info {
  align-self: center;
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

/* 对比 */
.compare-bar {
  display: flex;
  justify-content: space-between;   /* 按钮靠左，已选择靠右 */
  align-items: center;
  margin-bottom: 8px;
}
.compare-tip { color: var(--text-light); margin: 0; font-size: clamp(11px, 0.95vw, 13px); }
.compare-tip strong { color: var(--primary); }
.btn-outline-danger {                 /* 新增：清空对比按钮 */
  padding: clamp(5px, 0.5vw, 8px) clamp(10px, 1vw, 14px);
  background: #fff;
  color: #d93025;
  border: 1px solid #d93025;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(11px, 0.95vw, 13px);
}
.btn-outline-danger:hover { background: #fdecea; }
.compare-table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;                 /* PC 端不出现横向滚动条 */
}
.compare-table {
  width: 100%;                       /* 自动适配容器宽度 */
  border-collapse: collapse;
  font-size: clamp(10px, 1.2vw, 15px);  /* 响应式：随屏幕缩放，vw 比例加大 */
  table-layout: auto;                /* 自动分配列宽 */
}
.compare-table th, .compare-table td {
  padding: clamp(8px, 0.9vw, 12px);  /* 响应式 */
  border: 1px solid var(--border);
  vertical-align: top;
  white-space: normal;               /* 允许换行：长内容自动适配宽度，不撑出横向滚动 */
  word-break: break-word;
}
.compare-table th {
  background: #fafafa;
  width: 120px;                      /* 固定死宽度：不被压缩/拉伸 */
  min-width: 120px;
  max-width: 120px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;               /* 对比项标签不换行 */
}
.compare-table .compare-head-cell {
  background: #f0faf8;
  white-space: nowrap;               /* 岗位头保持单行 */
}
.compare-head-cell .tag { color: var(--primary); font-weight: 700; font-size: clamp(10px, 0.85vw, 12px); }
.compare-head-cell h4 { margin: clamp(4px, 0.5vw, 6px) 0; font-size: clamp(13px, 1.1vw, 15px); color: var(--secondary); overflow-wrap: break-word; }
.compare-head-cell p { margin: 0; font-size: clamp(10px, 0.85vw, 12px); color: var(--text-light); overflow-wrap: break-word; }
.compare-head-cell .btn-remove {
  margin-top: clamp(6px, 0.6vw, 10px);
  padding: clamp(3px, 0.3vw, 4px) clamp(8px, 0.7vw, 10px);
  font-size: clamp(10px, 0.85vw, 12px);
  background: #fff;
  color: #d93025;
  border: 1px solid #d93025;
  border-radius: 4px;
  cursor: pointer;
}
.empty-state {
  padding: clamp(40px, 3vw, 50px) clamp(12px, 1.2vw, 16px);  /* 响应式 */
  text-align: center;
  color: var(--text-light);
  font-size: clamp(12px, 1vw, 14px);
}

/* 地图 */
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex: 0 0 auto;
}
.map-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  position: relative;
  padding-left: 12px;
}
.map-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #19A48C, #138374);
}
.map-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
}
.map-header p strong {
  color: var(--primary);
  font-size: 15px;
  margin: 0 2px;
}
.map-search-tip {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  padding-bottom: 0;
  margin-bottom: 4px;
  flex: 0 0 auto;
}
.map-search-tip strong { color: var(--primary); }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-light);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* 2. 省属卡片段：独占一行，居中显示，缩小高度 */
.provincial-section {
  display: flex;
  justify-content: center;           /* 居中 */
  align-items: center;
  flex: 0 0 auto;
}
/* 省属岗位卡片：独占一行、宽度适中、高度紧凑 */
.provincial-card {
  position: relative;
  background: linear-gradient(135deg, #19A48C 0%, #138374 60%, #0e6357 100%);
  color: #fff;
  border-radius: 12px;
  padding: 8px 22px 8px 16px;        /* 缩小高度：上下 8px */
  display: flex;
  flex-direction: row;               /* 改：水平排列（更紧凑） */
  align-items: center;
  gap: 16px;
  width: auto;
  min-width: 520px;                  /* 适度宽度，居中显示 */
  box-shadow: 0 8px 22px rgba(25, 164, 140, .32);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.provincial-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}
.provincial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(25, 164, 140, .42);
}
.pc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.provincial-icon {
  width: 40px;                       /* 缩小：44 → 40 */
  height: 40px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;                   /* 24 → 22 */
  font-weight: 700;
  flex-shrink: 0;
}
.pc-info {
  flex: 1;
  min-width: 0;
}
.provincial-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: .5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.provincial-desc {
  font-size: 11px;
  color: #fff;
  opacity: .85;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.provincial-stats {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 2px 0;
  flex-shrink: 0;
}
.ps-item {
  text-align: center;
  color: #fff;
  flex: 1;
}
.ps-item strong {
  display: block;
  font-size: 18px;                   /* 缩小：20 → 18 */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1px;
}
.ps-item span {
  display: block;
  font-size: 11px;
  opacity: .92;
}
.provincial-btn {
  background: #fff;
  color: var(--primary-dark);
  border: none;
  border-radius: 6px;
  padding: 5px 18px;                /* 缩小：7px 0 → 5px 18px（横向卡） */
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  width: auto;                       /* 自适应宽度（不再全宽） */
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background .2s;
}
.provincial-btn:hover { background: #f0faf7; }

.provincial-list {
  max-height: 360px;
  overflow-y: auto;
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.provincial-list table { width: 100%; border-collapse: collapse; }
.provincial-list th,
.provincial-list td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.provincial-list th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  position: sticky;
  top: 0;
}
.provincial-list tr:hover td { background: #f8fdfb; }

.provincial-mini-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.provincial-mini-bar .chip {
  padding: 6px 12px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

/* 地图区整页式：顶部统计卡 + 筛选 + 3 圆环 + 上岸难度 + 地图 + 省属浮卡 */
#mapSection.active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 180px);
  gap: 8px;
}

/* 地图专用搜索（放在 .map-stats-card 容器内右侧，与3圆环+学历同一行） */
.map-search-inline {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 8px);          /* 响应式 */
  margin-left: auto;
  padding: clamp(4px, 0.5vw, 6px) 0;   /* 响应式 */
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}
.map-search-inline input {
  width: clamp(180px, 16vw, 260px);     /* 响应式：随屏幕缩放 */
  padding: clamp(5px, 0.6vw, 7px) clamp(10px, 1.2vw, 14px); /* 响应式 */
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: clamp(11px, 0.95vw, 13px); /* 响应式 */
  outline: none;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  min-width: 0;
  flex-shrink: 1;
}
.map-search-inline input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 164, 140, .12);
}
.map-search-inline-btn {
  padding: clamp(5px, 0.6vw, 7px) clamp(13px, 1.4vw, 18px); /* 响应式 */
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: clamp(11px, 0.95vw, 13px); /* 响应式 */
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
  white-space: nowrap;
}
.map-search-inline-btn:hover { background: var(--primary-dark); }

/* 2. 3 圆环 + 学历统计卡 */
.map-stats-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 20px);
  padding: clamp(8px, 1vw, 14px) clamp(10px, 1.4vw, 20px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  border: 1px solid var(--border);
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.map-stats-rings {
  display: flex;
  gap: clamp(8px, 1.2vw, 20px);
  flex: 0 0 auto;
  justify-content: flex-start;
  min-width: 0;
}
.stat-ring {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0deg, var(--primary) 270deg, #e9f8f4 270deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-ring:hover {
  transform: scale(1.08);
}
.stat-ring.active {
  box-shadow: 0 0 0 3px var(--primary), 0 0 12px rgba(26, 188, 156, 0.4);
  transform: scale(1.05);
}
.stat-ring::after {
  content: '';
  position: absolute;
  inset: clamp(4px, 0.5vw, 6px);      /* 响应式：内圈缩放 */
  background: #fff;
  border-radius: 50%;
}
/* 动态圆环颜色由 JS 内联设置，不再使用固定 nth-child */
/* 超过10个圆环时缩小尺寸 */
.map-stats-rings.small-rings .stat-ring {
  width: clamp(48px, 3.8vw, 62px);
  height: clamp(48px, 3.8vw, 62px);
}
.map-stats-rings.small-rings .stat-ring-text strong {
  font-size: clamp(8px, 0.6vw, 10px);
}
.map-stats-rings.small-rings .stat-ring-text span {
  font-size: clamp(9px, 0.7vw, 11px);
}
.map-stats-rings.small-rings .stat-ring-text span em {
  font-size: clamp(7px, 0.5vw, 8px);
}
.stat-ring-text {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
  overflow: hidden;
}
.stat-ring-text strong {
  display: block;
  font-size: clamp(9px, 1.2vw, 13px);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.stat-ring-text span {
  display: block;
  font-size: clamp(11px, 1.5vw, 16px);
  font-weight: 700;
  color: var(--secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.stat-ring-text span em {
  font-style: normal;
  font-size: clamp(8px, 1vw, 11px);
  color: var(--text-light);
  margin-left: 1px;
}
.map-stats-edu {
  display: flex;
  gap: clamp(8px, 1.2vw, 20px);
  flex: 1 1 auto;
  border-left: 1px dashed var(--border);
  padding-left: clamp(12px, 1.5vw, 24px);
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  overflow: hidden;
}
.edu-item {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.4vw, 5px);
  font-size: clamp(10px, 1.2vw, 14px);
  color: var(--text);
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.edu-item strong {
  font-size: clamp(13px, 1.6vw, 18px);
  color: var(--primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.edu-icon { font-size: clamp(11px, 1.3vw, 16px); }

/* 3. 上岸难度（5 梯队 浮动在地图左上角）+ 地图（占满） */
.map-main-row {
  display: flex;
  flex: 1;
  min-height: 0;
}
.map-main-row > .map-wrap { flex: 1; min-width: 0; min-height: 0; }

/* 省属浮卡：地图右下角 */
.provincial-float {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.45vw, 6px);      /* 响应式：子元素间距随屏幕缩放 */
  padding: clamp(7px, 0.8vw, 10px) clamp(11px, 1.2vw, 16px) clamp(7px, 0.8vw, 10px) clamp(10px, 1.1vw, 14px);
  background: linear-gradient(135deg, #ff7a45 0%, #e85d2c 100%);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(232, 93, 44, .35);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  max-width: calc(100% - 32px);      /* 防溢出：不超出地图容器 */
  overflow: hidden;                  /* 极端情况下裁掉超出部分 */
  white-space: nowrap;               /* 保持胶囊单行 */
}
.provincial-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 93, 44, .45);
}
.provincial-float .pf-label {
  background: rgba(255, 255, 255, .22);
  padding: clamp(2px, 0.25vw, 3px) clamp(7px, 0.8vw, 10px);  /* 响应式：随屏幕缩放 */
  border-radius: 12px;
  font-size: clamp(11px, 0.9vw, 13px);  /* 响应式：缩放时缩小字号 */
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
  white-space: nowrap;
}
.provincial-float .pf-num {
  font-size: clamp(16px, 1.5vw, 20px);  /* 响应式：数字为主，保持醒目 */
  font-weight: 800;
  margin: 0 2px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.provincial-float .pf-unit {
  font-size: clamp(10px, 0.85vw, 12px); /* 响应式 */
  opacity: 0.95;
  flex-shrink: 0;
  white-space: nowrap;
}
.provincial-float .pf-arrow {
  margin-left: 6px;
  font-size: clamp(14px, 1.3vw, 18px);  /* 响应式 */
  opacity: 0.85;
  flex-shrink: 0;
}
/* 上岸难度：地图上方横向排列（参照手机端排版） */
.map-difficulty-float {
  position: relative;
  z-index: 50;
  padding: clamp(2px, 0.6vw, 4px) clamp(4px, 1.2vw, 8px);
  display: flex;
  flex-direction: row;
  gap: clamp(4px, 1.2vw, 8px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  font-size: clamp(10px, 1vw, 13px);
  pointer-events: none;
  flex-shrink: 0;
}
.map-difficulty-float .map-difficulty-title {
  display: inline-block;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #19A48C 0%, #138374 100%);
  padding: clamp(2px, 0.4vw, 4px) clamp(8px, 1vw, 14px);
  border-radius: 12px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(25, 164, 140, .25);
  align-self: center;
  flex-shrink: 0;
  pointer-events: auto;
  margin-bottom: 0;
}
.map-difficulty-float .map-difficulty-list {
  display: flex;
  flex-direction: row;
  gap: clamp(3px, 1vw, 6px);
  align-items: flex-start;
  flex-wrap: nowrap;
}
.map-difficulty-float .tier-card {
  border: none !important;
  background: rgba(255,255,255,.75) !important;
  padding: clamp(2px, 0.6vw, 4px) clamp(3px, 1vw, 6px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  box-shadow: none !important;
  border-radius: 6px;
  min-width: 0;
  max-width: none;
  flex: 1 1 0;
  font-size: inherit;
}
.map-difficulty-float .tier-card:hover { background: none; box-shadow: none; }
.map-difficulty-float .tier-card-head {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  flex-shrink: 0;
}
.map-difficulty-float .tier-color-dot {
  display: inline-block;
  width: clamp(6px, 0.7vw, 10px);
  height: clamp(6px, 0.7vw, 10px);
  border-radius: 2px;
  background: var(--tier-color, #ddd);
  flex-shrink: 0;
}
.map-difficulty-float .tier-label {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  font-size: clamp(9px, 0.9vw, 12px);
  text-shadow: 0 0 2px rgba(255, 255, 255, .9);
}
.map-difficulty-float .tier-tag { display: none; }
.map-difficulty-float .tier-card-regions {
  display: block;
  margin: 0;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  font-size: clamp(8px, 0.8vw, 11px);
  line-height: 1.3;
  text-shadow: 0 0 2px rgba(255, 255, 255, .9);
}
.map-difficulty-float .city-chip {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--text) !important;
  font-weight: 400 !important;
  display: inline;
  font-size: clamp(8px, 0.8vw, 11px) !important;
  text-shadow: 0 0 2px rgba(255, 255, 255, .95);
}
.map-difficulty-float .tier-card-stats { display: none; }
/* 梯队卡片（垂直 flex 布局，让 stats 通过 margin-top:auto 推到底部） */
.tier-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--tier-color, #ddd);
  border-radius: 8px;
  background: #fff;
  padding: 6px 10px 7px;              /* 缩小：10/12 → 6/10/7，让 5 张卡总高度降低 */
  display: flex;
  flex-direction: column;
  min-width: 0;                       /* 防止 grid 列内 flex 撑破 */
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.tier-card:hover {
  background: #f7fdfb;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(25, 164, 140, .15);
}
.tier-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;                 /* 缩小：4 → 3 */
  flex-wrap: wrap;
}
.tier-color-dot {
  width: 9px;                          /* 缩小：10 → 9 */
  height: 9px;
  border-radius: 50%;
  background: var(--tier-color, #ddd);
  flex-shrink: 0;
}
.tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tier-color, var(--secondary));
}
.tier-tag {
  font-size: 11px;
  color: var(--text-light);
  margin-left: auto;
}
.tier-card-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;                            /* 缩小：4 → 3 */
  margin: auto 0;                      /* flex column 上下自动外边距 → 垂直居中 */
  justify-content: center;             /* chip 左右居中 */
  align-content: center;               /* 多行 chip 集合垂直居中 */
}
.city-chip {
  /* 锁死不跟随屏幕变化：保持当前紧凑样式；不参与自动缩字 */
  font-size: 11px !important;
  padding: 0 6px !important;          /* 缩小：1px 7px → 0 6px */
  border-radius: 10px !important;
  color: #fff;
  background: var(--tier-color, #ddd);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
  line-height: 1.7;                    /* 紧凑行高 */
}
.tier-card-stats {
  font-size: 10px;
  color: var(--text-light);
  border-top: 1px dashed var(--border);
  padding-top: 3px;                    /* 缩小：4 → 3 */
  margin-top: auto;                    /* 推到卡片底部，让虚线 + 文字在所有卡同一水平线 */
  white-space: nowrap;                 /* 文字不跳行 */
  overflow: hidden;
  text-overflow: ellipsis;
}
.tier-card-stats strong {
  color: var(--tier-color, var(--primary));
  font-size: 11px;
  font-weight: 700;
}
.tier-empty { color: var(--text-light); font-size: 13px; text-align: center; padding: 20px 0; }

/* 2. 地图卡片（80% 列，与上岸难度等高） */
.map-wrap {
  flex: 1;
  min-width: 0;
  min-height: 0;                    /* 不强制大高度 */
  background: linear-gradient(160deg, #ffffff 0%, #f3fbf9 60%, #e9f8f4 100%);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(25, 164, 140, .10), 0 1px 3px rgba(0, 0, 0, .04);
  padding: 3% 5%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(25, 164, 140, .12);
}
/* 3D 地图（透视倾斜 + SVG 立体厚度，标注 HTML 浮层浮于上方） */
.map-3d {
  perspective: 1400px;
  width: 100%;
  display: flex;                     /* 取消 height: 100%，高度由内容决定 */
  justify-content: center;
  align-items: flex-end;            /* 底部对齐，让地图从底向上展开 */
}
.map-3d-inner {
  --map-tilt: 30deg;                /* 用户选 25-30°，取 30°（cos30=0.866 视觉压缩仅 13%） */
  position: relative;
  width: 100%;
  margin-top: -18%;                  /* 距离上岸难度下方 */
  margin-right: -5%;                 /* 右移 5%（地图放大后减少偏移） */
  display: flex;                     /* 取消 height: 100%，高度由内容决定 */
  justify-content: center;
  align-items: flex-end;            /* 底部对齐 */
  transform-origin: 50% 100%;       /* 围绕底部旋转（旋转后底部保持原位，地图向上展开） */
  transform: rotateX(var(--map-tilt));
  transform-style: preserve-3d;
  transition: transform .35s ease;
}
.map-3d-inner svg.sc-map {
  display: block;
  width: 100%;                       /* 地图放大至 100% */
  height: auto;                     /* 高度按 viewBox 自适应 */
  max-width: none;                  /* 取消 max-width 限制 */
  max-height: none;                 /* 取消 max-height 限制 */
  filter: drop-shadow(0 5px 0 rgba(18,52,44,.22)) drop-shadow(0 13px 7px rgba(0,0,0,.20));
}
.map-region {
  transition: fill-opacity 0.2s, filter 0.2s;
}
.map-region:hover {
  filter: brightness(0.82);
}
.map-labels {
  position: absolute;
  left: 0;                           /* 与 100% 宽度的 SVG 对齐 */
  top: 0;
  width: 100%;                       /* 标签层与 SVG 同步 100% 宽 */
  height: 100%;
  pointer-events: none;
  transform-style: preserve-3d;
}
.map-label {
  position: absolute;
  /* 反向旋转抵消地图倾斜，使文字正对屏幕、不被压扁（先平移居中，再立起） */
  transform: rotateX(calc(-1 * var(--map-tilt, 52deg))) translate(-50%, -50%);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  color: var(--map-label, #ffffff);
  font-weight: 700;
  font-size: clamp(11px, 0.95vw, 13px);  /* 响应式：随屏幕缩放 */
  text-shadow: 0 0 2px rgba(0,0,0,.9), 0 1px 4px rgba(0,0,0,.55);
  white-space: nowrap;
  pointer-events: none;
  transition: color .2s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-label .ml-name { letter-spacing: .5px; }
.map-label .ml-count {
  font-size: clamp(9px, 1vw, 13px);  /* 响应式 */
  margin-top: clamp(1px, 0.2vw, 3px);
  padding: 0 clamp(3px, 0.4vw, 6px);    /* 响应式 */
  border-radius: 8px;
  background: rgba(0,0,0,.4);
  color: var(--map-label-count, #ffffff);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-label:not(.has) { opacity: .82; }
.map-tooltip {
  position: absolute;
  background: #ffffff;
  color: var(--text, #2c3e50);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
  display: none;
  z-index: 1000;                    /* 提高：不被地图板块遮挡 */
  white-space: nowrap;
  border: 1px solid rgba(25, 164, 140, .35);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  min-width: 160px;
}
.map-tooltip strong {
  color: var(--primary, #19A48C);
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}
.map-tooltip::after {
  content: '';
  position: absolute;
  left: 24px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid rgba(25, 164, 140, .35);
  border-bottom: 1px solid rgba(25, 164, 140, .35);
  transform: rotate(45deg);
}

/* 分数线 */
.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.score-header h2 { margin: 0; }

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
  background: #fff;
  width: 760px;
  max-width: 92%;
  max-height: 88vh;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  animation: modalPop 0.22s ease;
}
@keyframes modalPop {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
  padding: 16px 22px;
  background: linear-gradient(135deg, #1fb89c 0%, #19A48C 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { margin: 0; font-size: 17px; color: #fff; font-weight: 700; }
.modal-close {
  background: rgba(255,255,255,0.18);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  line-height: 1;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.34); }
.modal-body {
  padding: 22px;
  overflow-y: auto;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.detail-item.full { grid-column: 1 / -1; }
.detail-item {
  background: #f6fbfa;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: 9px 13px;
  transition: box-shadow 0.2s;
}
.detail-item:hover { box-shadow: 0 3px 12px rgba(25,164,140,0.12); }
.detail-item label {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 3px;
}
.detail-item span { font-size: 14px; color: #2b2b2b; line-height: 1.5; }

/* 地区岗位分布弹窗 */
.region-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light);
}
.region-tier {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
}
.region-total strong { color: var(--primary); font-size: 16px; }
.region-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.region-table th, .region-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: center;
}
.region-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.region-table .row-head {
  background: #f6fbfa;
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
}
.region-table td strong { font-size: 15px; color: var(--secondary); }
.region-table .rc-sub { display: block; font-size: 11px; color: var(--text-light); margin-top: 1px; }
.region-table .rc-empty { color: #ccc; }
.region-table .total-col {
  background: #eafaf6;
  font-weight: 700;
  color: var(--primary);
}
.region-table .total-row td {
  background: #f0faf8;
  font-weight: 700;
}
.region-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

/* 底部（普通流：贴在 main-content 下方） */
.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 12px 0;
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.footer-bottom p { margin: 0; }
.footer-bottom p + p { margin-top: 1px; }

/* 响应式 */
/* 响应式已去掉：所有元素按 viewport 缩放，不再分档。 */

/* 招聘公告 */
.announce-header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.announce-header h2 { margin: 0; font-size: 20px; color: var(--secondary); }
.announce-header .announce-sub { font-size: 13px; color: var(--text-light); }
.announce-list { display: flex; flex-direction: column; gap: 10px; }
.announce-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.announce-item:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.announce-item .announce-title { font-size: 15px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce-item .announce-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.announce-item .announce-date { font-size: 13px; color: var(--text-light); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; flex-shrink: 0; }
.announce-empty { padding: 40px; text-align: center; color: var(--text-light); background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }
/* 公告筛选器 */
.announce-filter {
  padding: 8px 32px 8px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text);
  cursor: pointer;
  outline: none;
  margin-left: auto;
  appearance: none;
  -webkit-appearance: none;
  min-width: 160px;
  transition: border-color .2s, box-shadow .2s;
}
.announce-filter:hover { border-color: #9ca3af; }
.announce-filter:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
/* 公告标签 */
.announce-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #e8f0fe;
  color: #1a73e8;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
  flex-shrink: 0;
}
/* 公告分页器 */
.announce-pager {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
  flex-wrap: wrap;
}
.announce-pager button {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: .15s;
}
.announce-pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.announce-pager button.ap-cur { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
.announce-pager button:disabled { opacity: .35; cursor: not-allowed; }
.announce-pager .ap-info { color: var(--text-light); font-size: 12px; margin-left: 8px; }
.announce-pager .ap-dots { padding: 0 4px; color: #999; }
.announce-pager .ap-jump { font-size: 12px; color: var(--text-light); margin-left: 8px; display: flex; align-items: center; gap: 4px; }
.announce-pager .ap-jump input { padding: 4px 6px; border: 1px solid var(--border); border-radius: 4px; font-size: 12px; }
.announce-pager .ap-jump button { min-width: 28px; height: 28px; font-size: 11px; }

/* 进面分数线区域 */
.detail-section { margin-top: 16px; padding-top: 16px; border-top: 2px solid #e8e8e8; }
.detail-section .section-title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin: 0 0 12px 0; padding-left: 10px; border-left: 3px solid #1890ff; }
.score-block { background: #f9fafb; border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; }
.score-block .score-label { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 8px; }
.score-values { display: flex; flex-wrap: wrap; gap: 12px; }
.score-values span { font-size: 13px; color: #333; }
.score-values strong { color: #1890ff; font-size: 15px; }
.score-empty { font-size: 13px; color: #999; padding: 8px 0; }
.score-filter-row { display: flex; gap: 10px; margin-bottom: 10px; }
.score-select { padding: 6px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; background: #fff; color: #333; min-width: 120px; }
.score-stats { min-height: 40px; }

/* ===== 晒分查排名 ===== */
.score-rank-hero {
  background: linear-gradient(120deg, #1f4fc4, #2f6fed 55%, #12b5a6);
  color: #fff;
  margin: -20px -20px 0 -20px;
  border-radius: 0;
}
.score-rank-hero-inner { max-width: 1180px; margin: 0 auto; padding: 30px 18px 34px; }
.score-rank-hero h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.score-rank-hero p { font-size: 14px; opacity: .92; max-width: 640px; }
.score-rank-hero-stats { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
.score-rank-hero-stats .s b { font-size: 24px; display: block; }
.score-rank-hero-stats .s span { font-size: 13px; opacity: .85; }

.score-rank-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 0 40px; }

.score-rank-filter {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.sr-field { display: flex; flex-direction: column; gap: 6px; }
.sr-field label { font-size: 12px; color: #888; font-weight: 600; }
.sr-field select, .sr-field input {
  height: 38px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #222;
  background: #fff;
  min-width: 140px;
  outline: none;
}
.sr-field select:focus, .sr-field input:focus { border-color: #2f6fed; }
.sr-btn {
  height: 38px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  background: #2f6fed;
  color: #fff;
}
.sr-btn:hover { background: #1f4fc4; }
.sr-btn-gold { background: linear-gradient(135deg, #f5a623, #12b5a6); color: #fff; }

.score-rank-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.score-rank-toolbar .title { font-size: 18px; font-weight: 800; }
.score-rank-toolbar .title small { font-size: 13px; color: #888; font-weight: 600; margin-left: 8px; }

.score-rank-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.sr-stat {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 16px 18px;
}
.sr-stat .k { font-size: 13px; color: #888; }
.sr-stat .v { font-size: 26px; font-weight: 800; color: #1f4fc4; margin-top: 4px; }
.sr-stat .v span { font-size: 14px; color: #888; font-weight: 600; }

.score-rank-panel {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
}
.sr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sr-table thead th {
  background: #fafafa;
  color: #555;
  font-weight: 700;
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #ececec;
  white-space: nowrap;
}
.sr-table tbody td { padding: 13px 14px; border-bottom: 1px solid #f3f3f3; }
.sr-table tbody tr:hover { background: #fff8f7; }
.sr-table tbody tr.sr-me { background: #fff3e9; box-shadow: inset 3px 0 0 #12b5a6; }
.sr-rank { font-weight: 800; color: #222; }
.sr-rank.sr-top { color: #2f6fed; }
.sr-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.sr-badge.sr-in { background: #e7f7ee; color: #1f9d55; }
.sr-badge.sr-out { background: #fdecec; color: #d8282c; }
.sr-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: #f2f3f5;
  color: #555;
  font-size: 12px;
  margin: 1px 2px;
}
.sr-mine-pill {
  background: #12b5a6;
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 6px;
  margin-left: 6px;
}
.score-rank-tip { font-size: 12px; color: #888; margin-top: 10px; text-align: right; }

/* 晒分弹窗 */
.sr-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 18px;
}
.sr-mask.sr-show { display: flex; }
.sr-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
}
.sr-modal h3 { font-size: 19px; margin-bottom: 4px; }
.sr-modal .sr-sub { font-size: 13px; color: #888; margin-bottom: 16px; }
.sr-modal .sr-field { width: 100%; }
.sr-modal .sr-field select, .sr-modal .sr-field input { width: 100%; }
.sr-modal .sr-row { display: flex; gap: 12px; }
.sr-modal .sr-row .sr-field { flex: 1; }
.sr-modal .sr-close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}
.sr-modal .sr-btn { width: 100%; margin-top: 18px; height: 42px; }

@media (max-width: 760px) {
  .score-rank-stats { grid-template-columns: repeat(2, 1fr); }
  .score-rank-hero-stats { gap: 18px; }
  .score-rank-filter .sr-field { flex: 1 1 100%; }
  .score-rank-filter .sr-field select, .score-rank-filter .sr-field input { min-width: 0; width: 100%; }
  .sr-table thead th:nth-child(4), .sr-table tbody td:nth-child(4) { display: none; }
}
