/* ============ 设计令牌 (Design Tokens) ============ */
:root {
  /* ========== 品牌色（深紫罗兰 · 参考 PMI 中国系气质） ==========
     ── 全部紫色统一基于 H268° 紫罗兰方向派生（更"红紫"）
        H=268°(参考图偏紫红) / S=65%(浓郁) / L 8%→94% 单调 ── */
  --primary: #36145d; /* 主品牌色 */
  --primary-dark: #140722;
  --primary-mid: var(--primary-40);

  /* 紫色派生梯度（参考 PMI 中国风格 · 浓郁紫罗兰系） */
  --primary-08: #140722; /* L8%  —— 极深紫 */
  --primary-15: #250d3f; /* L15% */
  --primary-22: #36145d; /* L22% —— 主品牌色 */
  --primary-30: #491b7e; /* L30% —— 次深紫 */
  --primary-40: #6224a8; /* L40% —— hover / 深色块 */
  --primary-55: #8742d7; /* L55% —— 主紫块 / 图标色 */
  --primary-70: #b08cd9; /* L70% —— 浅紫强调 */
  --primary-85: #d8c9e8; /* L85% —— 标签底色 */
  --primary-94: #efebf4; /* L94% —— hero 紫白交界 */

  /* 别名保留 */
  --primary-light: #d8c9e8; /* = --primary-85 */
  --primary-bg: #efebf4; /* = --primary-94 */

  /* ========== 强调色 ========== */
  --accent: #ff7a00; /* CTA 橙 */
  --accent-dark: #d96600;
  --accent-light: #ffeede;
  --accent-bg: #fff4e8;

  /* ========== 文字色（4 级 + 4 个扩展语义） ========== */
  --text-1: #1a1f2c; /* 主要文字 */
  --text-2: #4e5969; /* 次要文字 */
  --text-3: #86909c; /* 辅助文字 */
  --text-4: #c9cdd4; /* 占位/禁用 */
  --text-white: #ffffff;
  --text-link: var(--primary);
  --text-on-primary: #ffffff;
  --text-on-accent: #ffffff;

  /* ========== 背景色 ========== */
  --bg-page: #f4f5f8; /* 页面背景 */
  --bg-card: #ffffff; /* 卡片背景 */
  --bg-sub: #f7f8fa; /* 次级背景 */
  --bg-mask: rgba(15, 23, 42, 0.55); /* 遮罩 */
  --bg-elevated: #ffffff; /* 弹层 */
  --bg-soft: #fafbfc; /* 极淡背景 */

  /* ========== 边框色 ========== */
  --border: #e5e6eb;
  --border-light: #f1f2f5;
  --border-darker: #c9cdd4;
  --border-strong: #d8dce3;

  /* ========== 语义色 ========== */
  --success: #00b578; /* 成功 / 匹配 */
  --success-bg: #e8f8f2;
  --success-dark: #009366;
  --warning: #ff8800; /* 警告 */
  --warning-bg: #fff4e0;
  --warning-text: #874d00;
  --warning-text-2: #a85d00;
  --error: #ff4d4f; /* 错误 */
  --error-bg: #fff1f0;
  --info: #1677ff; /* 信息 */
  --info-bg: #e8f4ff;
  --link: #1677ff;
  --link-bg: #e8f4ff;
  --pmp: #e5343d; /* PMP 红（略压低饱和） */
  --pmp-bg: #fff1f0;
  --red: #f5222d;
  --red-dark: #cf1322;
  --green: #10b981;
  --green-dark: #059669;

  /* ========== 紫罗兰辅助（与主色梯度对齐） ========== */
  --violet-soft: var(--primary-90); /* = #E1DBF0 */
  --violet: var(--primary-40); /* = #4B29A3 */
  --violet-deep: var(--primary-22); /* = #2A165A */
  --violet-text: var(--primary-40);

  /* ========== 高亮色 ========== */
  --highlight-bg: #fef3c7; /* JD PMP 关键字高亮 */
  --highlight-border: #fcd34d;
  --highlight-text: #854d0e;
  --gold-light: #ffe7ba;
  --gold-soft: #fff7e6;

  /* ========== 间距系统 (4px 栅格) ========== */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-12: 64px;
  --space-13: 80px;

  /* ========== 字号系统 ========== */
  --fs-xs: 11px; /* 极小 - 标签/徽章 */
  --fs-sm: 12px; /* 辅助 - 元信息 */
  --fs-base: 14px; /* 基础 - 列表/卡片正文 */
  --fs-md: 15px; /* 常规 - 卡片标题 */
  --fs-lg: 16px; /* 标题 - 区块 */
  --fs-xl: 18px; /* 大标题 */
  --fs-2xl: 20px; /* 主标题 */
  --fs-3xl: 24px; /* 巨型标题 */
  --fs-4xl: 28px; /* 启动页品牌 */
  --fs-5xl: 32px; /* 详情页薪资 */

  /* ========== 字重 ========== */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* ========== 行高 ========== */
  --lh-tight: 1.2; /* 紧凑 - 标题/数字 */
  --lh-snug: 1.3; /* 较紧 - 标签/按钮 */
  --lh-normal: 1.5; /* 标准 - 正文 */
  --lh-relaxed: 1.65; /* 宽松 - 段落 */
  --lh-loose: 1.8; /* 很宽 - 大段文字 */

  /* ========== 字母间距 ========== */
  --tracking-tight: -0.3px;
  --tracking-normal: 0;
  --tracking-wide: 0.3px;
  --tracking-wider: 0.5px;
  --tracking-widest: 1px;

  /* ========== 圆角系统 ========== */
  --r-xs: 2px;
  --r-sm: 4px; /* 标签/小元素 */
  --r-md: 8px; /* 按钮/输入 */
  --r-lg: 12px; /* 卡片 */
  --r-xl: 16px; /* 大卡片/弹窗 */
  --r-2xl: 20px; /* 弹窗顶部 */
  --r-3xl: 24px; /* 大型容器 */
  --r-full: 9999px; /* 胶囊/圆形 */

  /* ========== 阴影系统 ========== */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.06), 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 6px 16px rgba(15, 23, 42, 0.08), 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 12px 32px rgba(15, 23, 42, 0.12), 0 24px 56px rgba(15, 23, 42, 0.1);
  --shadow-modal: 0 -8px 32px rgba(15, 23, 42, 0.18);
  --shadow-focus: 0 0 0 3px rgba(54, 20, 93, 0.16);
  --shadow-ring-primary: 0 0 0 3px rgba(54, 20, 93, 0.18);

  /* 常用阴影别名(修复历史未定义引用) */
  --shadow-1: var(--shadow-sm);
  --shadow-2: var(--shadow-md);

  /* 品牌阴影 */
  --shadow-primary: 0 6px 20px rgba(54, 20, 93, 0.25);
  --shadow-accent: 0 6px 18px rgba(255, 122, 0, 0.28);

  /* ========== 动画 ========== */
  --t-fast: 0.15s;
  --t-medium: 0.25s;
  --t-slow: 0.35s;
  --t-slower: 0.5s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ========== 渐变 ========== */
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--primary-22) 100%);
  --gradient-brand-soft: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-brand-deep: linear-gradient(
    160deg,
    var(--primary-dark) 0%,
    var(--primary-22) 50%,
    var(--primary-40) 100%
  );
  --gradient-accent: linear-gradient(135deg, #ff7a00 0%, #ffa940 100%);
  --gradient-warm: linear-gradient(135deg, #fff4e0, #ffe7ba);
  --gradient-primary-soft: linear-gradient(180deg, var(--primary-94), #ffffff);

  /* Hero / 头部通用渐变（深紫 → 紫白交界 —— 参考 PMI 气质：顶部浓郁深紫） */
  --gradient-hero: linear-gradient(
    180deg,
    var(--primary-22) 0%,
    var(--primary-40) 35%,
    var(--primary-70) 75%,
    var(--primary-94) 100%
  );
  /* 暖橙业务横幅（续证 / 相关推荐）—— 仍保留暖色分组语义，与主紫形成同色温冷暖对比 */

  /* ========== 组件尺寸 ========== */
  --h-xs: 24px; /* 极小按钮 */
  --h-sm: 32px; /* 小按钮/标签 */
  --h-md: 40px; /* 中按钮/输入框 */
  --h-lg: 44px; /* 大按钮/iOS 标准点击区 */
  --h-xl: 48px; /* 输入框标准高度 */
  --h-2xl: 56px; /* 顶部导航高度 */
  --h-tabbar: 56px; /* 底部 Tab Bar */
}

/* ============ 重置 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
*::selection {
  background: rgba(54, 20, 93, 0.18);
  color: var(--text-1);
}
svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.15em;
}
html,
body {
  height: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  display: block;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 481px) {
  body {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
  }
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  line-height: inherit;
}
input {
  font-family: inherit;
  line-height: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* 数字使用 tabular-nums */
.tnum {
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
}

/* ============ SVG 图标系统 ============ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.15em;
}
.svg-ico {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.svg-ico-sm {
  width: 16px;
  height: 16px;
}
.svg-ico-lg {
  width: 24px;
  height: 24px;
}
.svg-ico-xl {
  width: 32px;
  height: 32px;
}

/* ============ 页面容器（已脱壳：直接 H5 页面） ============ */
.device {
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
}
.screen {
  width: 100%;
  height: 100%;
  background: var(--bg-page);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* ============ 页面通用 ============ */
.page {
  display: none;
  flex: 1 1 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  background: var(--bg-page);
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}
.page.active {
  display: flex;
  flex-direction: column;
}
.page::-webkit-scrollbar {
  display: none;
}
.page.no-tab {
  padding-bottom: 0;
}
.page.active > * {
  flex-shrink: 0;
  min-height: 0;
}
/* 详情页底部安全距离：作为 flow 内占位元素放在 .detail-bottom-bar 之前，避免破坏 sticky */
.detail-bottom-bar-spacer {
  height: calc(96px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}

/* ============ 顶部导航栏 ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-2);
  background: #fff;
  flex-shrink: 0;
  min-height: 44px;
  height: 44px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav--bordered {
  border-bottom: 1px solid var(--border-light);
}
.nav__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  cursor: pointer;
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease-out);
  flex-shrink: 0;
  margin: 0 var(--space-1);
}
.nav__btn:active {
  background: var(--bg-sub);
  transform: scale(0.92);
}
.nav__btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--t-medium) var(--ease-out);
}
.nav__title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  letter-spacing: var(--tracking-wide);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 44px;
  line-height: var(--lh-snug);
  pointer-events: none;
}
.nav__action {
  height: 32px;
  padding: 0 var(--space-2);
  color: var(--text-2);
  font-size: var(--fs-md);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
  flex-shrink: 0;
  line-height: var(--lh-snug);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.nav__action:active {
  background: var(--bg-sub);
}
.nav__action--primary {
  color: var(--primary);
  font-weight: var(--fw-medium);
}
.nav__action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============ 底部 Tab Bar ============ */
.tab-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(24px);
  -webkit-backdrop-filter: saturate(140%) blur(24px);
  border-top: 1px solid var(--border-light);
  padding: var(--space-2) 0 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}
.tab-bar::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(180deg, transparent, rgba(244, 245, 248, 0.6));
  pointer-events: none;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--space-1) var(--space-1);
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--t-medium);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.tab-item__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--t-medium) var(--ease-spring);
}
.tab-item__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition:
    fill var(--t-medium),
    transform var(--t-medium) var(--ease-out);
}
.tab-item__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tracking-wide);
  transition: font-weight var(--t-fast);
}
.tab-item.active {
  color: var(--primary);
}
.tab-item.active .tab-item__icon {
  transform: translateY(-1px) scale(1.05);
}
.tab-item.active .tab-item__icon svg {
  fill: var(--primary);
  transform: scale(1.05);
}
.tab-item.active .tab-item__label {
  color: var(--primary);
  font-weight: var(--fw-semibold);
}
.tab-item::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%) scale(0.4);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transition: all var(--t-medium) var(--ease-spring);
}
.tab-item.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.tab-item:active {
  opacity: 0.7;
}

/* ============ 通用组件 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  height: var(--h-lg);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  font-family: inherit;
  white-space: nowrap;
  user-select: none;
  letter-spacing: var(--tracking-wide);
  position: relative;
  overflow: hidden;
}
.btn:active {
  opacity: 0.85;
  transform: scale(0.97);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--t-fast);
  pointer-events: none;
}
.btn:active::after {
  background: rgba(0, 0, 0, 0.04);
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--t-medium) var(--ease-out);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(54, 20, 93, 0.18);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.22);
}
.btn-default {
  background: var(--bg-sub);
  color: var(--text-1);
}
.btn-outline {
  background: #fff;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-block {
  display: flex;
  width: 100%;
  margin: var(--space-5) 0 0;
  height: var(--h-xl);
  box-shadow: 0 6px 16px rgba(54, 20, 93, 0.22);
}
.btn-block:active {
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.18);
}
.btn-sm {
  height: var(--h-sm);
  padding: 0 var(--space-3);
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
}
.btn-lg {
  height: var(--h-xl);
  padding: 0 var(--space-6);
  font-size: var(--fs-md);
  border-radius: var(--r-md);
}

/* 标签 —— 文字色全部按 WCAG 4.5:1 加深 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 8px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0;
}
.tag svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
}
.tag-pmp {
  background: linear-gradient(135deg, #ffe9ea, #ffd8da);
  color: #a8071a;
  font-weight: 600;
  border: 1px solid rgba(229, 52, 61, 0.15);
}
.tag-priority {
  background: linear-gradient(135deg, var(--accent-light), #ffe7ba);
  color: #b04a00;
  font-weight: 600;
}
.tag-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.tag-success {
  background: var(--success-bg);
  color: var(--success-dark);
}
.tag-warning {
  background: var(--warning-bg);
  color: #b04a00;
}
.tag-error {
  background: var(--error-bg);
  color: #a8071a;
}
.tag-blue {
  background: var(--info-bg);
  color: #0958d9;
}
.tag-gray {
  background: var(--bg-sub);
  color: var(--text-2);
}
.tag-recruit {
  background: rgba(22, 119, 255, 0.08);
  color: #0958d9;
  border: 1px solid rgba(22, 119, 255, 0.18);
}
.tag-soe {
  background: var(--error-bg);
  color: #cf1322;
}
.tag-foreign {
  background: var(--violet-soft);
  color: var(--violet);
}
.tag-private {
  background: var(--gold-soft);
  color: #854d00;
}
.tag-end {
  background: transparent;
  color: #b04a00;
  padding: 0 6px;
  border: 1px solid #b04a00;
  height: 20px;
  line-height: 18px;
  border-radius: var(--r-sm);
}

/* 卡片 */
.card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--t-medium) var(--ease-out);
}
.card--flush {
  padding: 0;
  overflow: hidden;
}
.card--hover {
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out);
  cursor: pointer;
}
.card--hover:active {
  transform: scale(0.99);
  box-shadow: var(--shadow-2);
}

/* 分割 */
.divider {
  height: var(--space-2);
  background: var(--bg-page);
}
.divider-line {
  height: 1px;
  background: var(--border-light);
  margin: 0 var(--space-4);
}

/* ============ 启动页 ============ */
.splash {
  flex: 1;
  background: var(--gradient-brand-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* 暖橙光晕：呼应参考图右上角橙红渐变 */
.splash::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.45), rgba(255, 122, 0, 0));
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
/* 紫光晕：左下角增加深度感 */
.splash::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(98, 36, 168, 0.35), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}
.splash__logo {
  width: 96px;
  height: 96px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.splash__logo-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
}
.splash__brand {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 2;
  letter-spacing: var(--tracking-widest);
  line-height: var(--lh-tight);
}
.splash__sub {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  letter-spacing: var(--tracking-wider);
  line-height: var(--lh-snug);
}
.splash__slogan {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 3px;
  z-index: 2;
  line-height: var(--lh-snug);
}
.splash__version {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-wide);
}
.splash__loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: var(--r-full);
  animation: spin 0.9s linear infinite;
  position: absolute;
  bottom: 68px;
  z-index: 2;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============ 引导页 ============ */
.guide {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.guide__hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary-bg) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.guide__hero::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 8%;
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(2px);
}
.guide__hero::after {
  content: '';
  position: absolute;
  bottom: 22%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(2px);
}
.guide__art {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-bg));
  border: 1px solid rgba(54, 20, 93, 0.08);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow:
    0 20px 48px rgba(54, 20, 93, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.guide__art--two {
  background: linear-gradient(135deg, var(--accent-light), #ffe0bf);
  border-color: rgba(255, 122, 0, 0.1);
  box-shadow:
    0 20px 48px rgba(255, 122, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.guide__art--three {
  background: linear-gradient(135deg, var(--violet-soft), var(--primary-light));
  border-color: rgba(98, 36, 168, 0.1);
  box-shadow:
    0 20px 48px rgba(98, 36, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.guide__art svg {
  width: 80px;
  height: 80px;
  color: var(--primary);
  transition: transform var(--t-slow) var(--ease-out);
}
.guide__art--two svg {
  color: var(--accent);
}
.guide__art--three svg {
  color: var(--violet);
}
.guide__content {
  padding: var(--space-8) var(--space-8) var(--space-4);
}
.guide__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  margin-bottom: var(--space-2);
  text-align: center;
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
}
.guide__desc {
  font-size: var(--fs-md);
  color: var(--text-2);
  text-align: center;
  line-height: var(--lh-loose);
  margin-bottom: var(--space-6);
}
.guide__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--space-5);
}
.guide__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--border);
  transition: all var(--t-medium) var(--ease-spring);
}
.guide__dot.active {
  width: 24px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.3);
}
.guide__actions {
  padding: 0 var(--space-6) var(--space-6);
}
.guide__skip {
  text-align: center;
  padding: var(--space-3);
  font-size: var(--fs-md);
  color: var(--text-3);
  cursor: pointer;
  margin-top: var(--space-2);
  transition: color var(--t-fast);
}

/* ============ 登录页 ============ */
.login {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.login__brand {
  padding: 56px 0 var(--space-8);
  text-align: center;
  flex-shrink: 0;
}
.login__logo {
  width: 80px;
  height: 80px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: transform var(--t-medium) var(--ease-spring);
}
.login__logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.login__name {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  letter-spacing: var(--tracking-widest);
  line-height: var(--lh-tight);
}
.login__sub {
  font-size: var(--fs-base);
  color: var(--text-3);
  margin-top: 6px;
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-snug);
}
.login__form {
  padding: 0 var(--space-6);
}
.login__tabs {
  display: flex;
  background: var(--bg-sub);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: var(--space-6);
  position: relative;
}
.login__tab {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text-3);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-medium) var(--ease-out);
  position: relative;
  z-index: 1;
}
.login__tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-1);
  font-weight: var(--fw-semibold);
}
.login__panel {
  display: none;
}
.login__panel.active {
  display: block;
  animation: fadeIn 0.25s var(--ease-out);
}
.login__field {
  margin-bottom: var(--space-5);
}
.login__label {
  display: block;
  font-size: var(--fs-base);
  color: var(--text-2);
  margin-bottom: var(--space-2);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}
.login__input {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-sub);
  border-radius: var(--r-md);
  padding: 0 14px;
  height: var(--h-xl);
  transition: all var(--t-medium) var(--ease-out);
  border: 1.5px solid transparent;
}
.login__input:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-ring-primary);
}
.login__input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: var(--fs-lg);
  color: var(--text-1);
  background: transparent;
  height: 100%;
  line-height: var(--lh-snug);
}
.login__input input:focus,
.login__input input:focus-visible {
  /* 显式覆盖：input 元素选中时无 border / outline / box-shadow */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.login__input input::placeholder {
  color: var(--text-4);
  font-size: var(--fs-md);
}
.login__input-prefix {
  color: var(--text-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 10px;
  border-right: 1px solid var(--border);
  height: 22px;
  line-height: 22px;
  flex-shrink: 0;
}
.login__input-action {
  color: var(--primary);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 0;
  transition: opacity var(--t-fast);
}
.login__input-action:active {
  opacity: 0.7;
}
.login__input-action.disabled {
  color: var(--text-3);
}
.login__agreement {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin: var(--space-5) 0 var(--space-6);
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: var(--lh-relaxed);
}
.login__checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-spring);
  background: #fff;
}
.login__checkbox.checked {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.3);
} /* 内嵌白 svg 已在白底紫框中显示，对比度 14.84:1 */
.login__checkbox svg {
  width: 11px;
  height: 11px;
  fill: #fff;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.login__checkbox.checked svg {
  opacity: 1;
}
.login__agreement a {
  color: var(--primary);
  font-weight: var(--fw-medium);
}
.login__switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 24px 0 8px;
  font-size: 13px;
  color: var(--text-3);
}
.login__switch span {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast);
}
.login__switch .dot {
  width: 1px;
  height: 12px;
  background: var(--border);
}

/* ============ 求职意向 3 步引导 ============ */
.intent-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.intent-step__progress {
  display: flex;
  align-items: center;
  padding: 14px var(--space-5);
  gap: 6px;
}
.intent-step__progress-seg {
  flex: 1;
  height: 3px;
  background: var(--border-light);
  border-radius: 2px;
  transition: background var(--t-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.intent-step__progress-seg.done {
  background: linear-gradient(90deg, var(--primary), var(--violet));
}
.intent-step__progress-seg.active {
  background: linear-gradient(90deg, var(--primary) 50%, var(--border-light) 50%);
  background-size: 200% 100%;
  background-position: 0 0;
  animation: progressFill 1.5s var(--ease-in-out) forwards;
}
@keyframes progressFill {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.intent-step__body {
  flex: 1;
  padding: var(--space-5) var(--space-5) var(--space-4);
  overflow-y: auto;
}
.intent-step__num {
  font-size: var(--fs-xs);
  color: var(--text-3);
  margin-bottom: 6px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}
.intent-step__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
}
.intent-step__sub {
  font-size: var(--fs-sm);
  color: var(--text-3);
  margin-bottom: var(--space-5);
}
.intent-step__footer {
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  display: flex;
  gap: var(--space-3);
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.intent-step__footer .btn {
  flex: 1;
  padding: 13px;
  border-radius: var(--r-md);
}

/* 城市选择 chip */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  color: var(--text-2);
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all 0.15s var(--ease-out);
  font-weight: var(--fw-medium);
}
.chip:active {
  transform: scale(0.96);
}
.chip.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.1);
}
.chip__close {
  font-size: 14px;
  opacity: 0.7;
  margin-left: 2px;
  transition: opacity var(--t-fast);
}
.chip-add {
  padding: 8px 14px;
  background: var(--bg-card);
  color: var(--text-3);
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  cursor: pointer;
  border: 1px dashed var(--border-darker);
  transition: all var(--t-fast);
}

/* 复选 / 单选 chip */
.opt-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  color: var(--text-2);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all 0.15s var(--ease-out);
  text-align: center;
  font-weight: var(--fw-medium);
}
.opt-chip:active {
  transform: scale(0.96);
}
.opt-chip.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.1);
}
.opt-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt-radio {
  padding: 14px 16px;
  background: var(--bg-card);
  color: var(--text-2);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s var(--ease-out);
}
.opt-radio:active {
  transform: scale(0.99);
}
.opt-radio.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 12px rgba(54, 20, 93, 0.08);
}
.opt-radio__check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  transition: all var(--t-fast) var(--ease-spring);
}
.opt-radio.active .opt-radio__check {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.opt-radio.active .opt-radio__check::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: #fff;
  animation: radioPop var(--t-medium) var(--ease-spring);
}
@keyframes radioPop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* 滑块 */
.slider {
  padding: 8px 4px 0;
}
.slider__vals {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-lg);
  color: var(--text-1);
  font-weight: var(--fw-bold);
  margin-bottom: 24px;
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
}
.slider__track {
  position: relative;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: 0 9px;
}
.slider__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 2px;
}
.slider__handle {
  position: absolute;
  top: -7px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--r-full);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.25);
  cursor: grab;
  transition: transform var(--t-fast) var(--ease-spring);
}
.slider__handle:active {
  cursor: grabbing;
  box-shadow: 0 4px 12px rgba(54, 20, 93, 0.4);
  transform: scale(1.15);
}
.slider__scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-3);
  margin-top: 8px;
  padding: 0 2px;
  font-feature-settings: 'tnum' 1;
}

/* ============ 首页 ============ */
.home-header {
  background: var(--gradient-hero);
  padding: 20px var(--space-4) 50px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.home-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(98, 36, 168, 0.1), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.home-header::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.06), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.home-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 11px 14px;
  gap: 10px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all var(--t-medium) var(--ease-out);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(54, 20, 93, 0.08);
}
.home-search:focus-within {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 6px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
  border-color: rgba(54, 20, 93, 0.18);
}
.home-search__icon {
  color: var(--primary);
  display: flex;
  align-items: center;
}
.home-search__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.home-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-1);
  background: transparent;
  letter-spacing: 0;
  min-width: 0;
}
.home-search__input::placeholder {
  color: var(--text-3);
}
.home-search__loc {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}
.home-search__loc:active {
  opacity: 0.7;
}
.home-search__loc svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.intent-card {
  margin: -28px var(--space-3) 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 6px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--t-medium) var(--ease-out);
  border: 1px solid rgba(15, 23, 42, 0.04);
}
.intent-card:active {
  transform: scale(0.99);
}
.intent-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-85), var(--primary-70));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.intent-card__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.intent-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.intent-card__label {
  font-size: 10px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.intent-card__label svg {
  width: 9px;
  height: 9px;
  fill: var(--accent);
}
.intent-card__value {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1.3;
}
.intent-card__action {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: var(--r-full);
  transition: background var(--t-fast);
  flex-shrink: 0;
  background: var(--primary-bg);
}
.intent-card__action:active {
  background: var(--primary-light);
}
.intent-card__action svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transition: transform var(--t-fast);
}
.intent-card__action:active svg {
  transform: translateX(1px);
}

.quick-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  margin: 10px var(--space-3) 0;
  border-radius: 16px;
  padding: 14px 6px 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-light);
}
.quick-filter--3col {
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 10px 12px;
  margin-top: -2px;
}
.quick-filter__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-fast) var(--ease-spring);
}
.quick-filter__item:active {
  transform: scale(0.94);
}
.quick-filter__item:active .quick-filter__icon {
  transform: translateY(1px);
}
.quick-filter__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-medium) var(--ease-spring);
  position: relative;
}
.quick-filter__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}
.quick-filter__icon--primary {
  background: linear-gradient(135deg, var(--primary-85), var(--primary-70));
  color: var(--primary);
}
.quick-filter__icon--accent {
  background: linear-gradient(135deg, #ffe5cc, #ffd0a8);
  color: var(--accent);
}
.quick-filter__icon--blue {
  background: linear-gradient(135deg, #dceaff, #c4deff);
  color: #1677ff;
}
.quick-filter__icon--purple {
  background: linear-gradient(135deg, var(--primary-78), var(--primary-55));
  color: var(--primary-40);
}
.quick-filter__icon--green {
  background: linear-gradient(135deg, #d1f5e4, #a8ebcb);
  color: #009366;
}
.quick-filter__icon--red {
  background: linear-gradient(135deg, #ffe0de, #ffc8c5);
  color: #cf1322;
}
.quick-filter__label {
  font-size: 12px;
  color: var(--text-1);
  font-weight: 500;
  letter-spacing: 0;
}
.quick-filter__badge {
  position: absolute;
  top: 0;
  right: calc(50% - 24px);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 0 5px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 122, 0, 0.4);
  line-height: 1.5;
  min-width: 16px;
  text-align: center;
  letter-spacing: 0;
  border: 1.5px solid #fff;
}

/* 资讯专区 - 横向 3 列金刚区（图标上 + 名称下） */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 10px var(--space-3) 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px 6px 12px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 6px 18px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-light);
}
.zone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 4px;
  cursor: pointer;
  border-radius: 12px;
  transition: transform var(--t-fast) var(--ease-out);
  position: relative;
}
.zone-card:active {
  transform: scale(0.96);
}

/* 图标：彩色微底 + 主题色图形 */
.zone-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(15, 23, 42, 0.05);
  transition: transform var(--t-medium) var(--ease-spring);
}
.zone-card:active .zone-card__icon {
  transform: scale(0.92);
}
.zone-card__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* 名称 */
.zone-card__name {
  font-size: 13px;
  color: var(--text-1);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 首页 Hero 横版 Banner（315×100 · 左 HTML + 右图片） */
.home-hero {
  margin: 10px auto;
  width: 315px;
  height: 100px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--primary-90);
  background-image: url('./banner.png');
  background-size: 200% auto;
  background-position: right top;
  background-repeat: no-repeat;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.home-hero:active {
  transform: scale(0.99);
}
.home-hero__mask {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  background: var(--primary-90);
  pointer-events: none;
  z-index: 1;
}
.home-hero__content {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 60%;
}
.home-hero__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.home-hero__title-light {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-40) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.home-hero__title-bold {
  color: var(--text-1);
  font-weight: 900;
}
.home-hero__sub {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 首页Hero 区（深紫 → 浅紫 → 接近白卡，渐变末段与下方页面背景无缝衔接） */
.home-hero-wrap {
  background: linear-gradient(
    180deg,
    var(--primary-08) 0%,
    var(--primary-15) 16%,
    var(--primary-22) 32%,
    var(--primary-30) 46%,
    var(--primary-40) 60%,
    var(--primary-55) 70%,
    var(--primary-70) 80%,
    var(--primary-85) 90%,
    var(--primary-94) 100%
  );
  padding: 20px var(--space-3) 42px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
/* 暖橙光晕：右上角，柔和大模糊让光与底色自然融合 */
.home-hero-wrap::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 380px;
  height: 340px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 140, 60, 0.55) 0%,
    rgba(255, 100, 40, 0.3) 40%,
    rgba(255, 80, 40, 0) 75%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
}
/* 紫光晕：左下角对位，更柔和 */
.home-hero-wrap::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(98, 36, 168, 0.3), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}
.home-hero-wrap .home-search {
  margin-bottom: 12px;
}
/* Banner：左标题 + 副文案，右手机线框（无外链图，纯 CSS 排版） */
.home-hero-wrap .home-banner {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/1;
  min-height: 120px;
  background: linear-gradient(120deg, #ffffff 0%, var(--primary-94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(54, 20, 93, 0.28),
    0 2px 4px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.home-hero-wrap .home-banner:active {
  transform: scale(0.99);
}
.home-hero-wrap .home-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 10%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.25), rgba(255, 122, 0, 0));
  border-radius: 50%;
  pointer-events: none;
}
.home-hero-wrap .home-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, rgba(248, 244, 254, 0.85) 0%, rgba(248, 244, 254, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.home-banner__content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.home-banner__title {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.home-banner__title-light {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-40) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-right: 4px;
}
.home-banner__title-bold {
  color: var(--text-1);
  font-weight: 900;
}
.home-banner__sub {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
/* 手机线框：右半区域视觉占位 */
.home-banner__phone {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 72px;
  height: 96px;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 8px 20px rgba(54, 20, 93, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(54, 20, 93, 0.1);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(2deg);
}
.home-banner__phone::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary-85);
  border-radius: 2px;
}
.home-banner__phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}
.home-banner__phone-row {
  height: 6px;
  background: linear-gradient(90deg, var(--primary-85), rgba(216, 201, 232, 0.4));
  border-radius: 3px;
  width: 100%;
}
.home-banner__phone-row--short {
  width: 60%;
}
.home-banner__phone-row--mid {
  width: 80%;
}

.section {
  padding: 16px var(--space-3) 0;
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0 12px;
}
/* section 内的卡片不再依赖自身 margin，由 section 提供左右间距 */
.section .job-card-c,
.section .news-card-c {
  margin-left: 0;
  margin-right: 0;
}
.section__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.section__title-count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  font-feature-settings: 'tnum' 1;
  letter-spacing: 0;
}
.section__title-count::before {
  content: '·';
  margin-right: 6px;
  color: var(--border-darker);
}
.section__more {
  font-size: 13px;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 1px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
  font-weight: 500;
}
.section__more:active {
  color: var(--primary);
}
.section__more svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--t-fast);
}
.section__more:active svg {
  transform: translateX(2px);
}

/* 岗位卡片 - 卡片式 */
.job-card-c {
  display: block;
  background: #fff;
  padding: 16px;
  margin: 0 var(--space-3) 10px;
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast) var(--ease-out);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.job-card-c:active {
  background: var(--bg-soft);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  border-color: var(--border);
}
.job-card-c__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.job-card-c__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.3px;
}
.job-card-c__salary {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.job-card-c__salary small {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 2px;
  letter-spacing: 0.3px;
  opacity: 0.85;
}
.job-card-c__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
  align-items: center;
}
.job-card-c__company {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.job-card-c__company-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-1);
  font-weight: 600;
  font-size: 13px;
}
.job-card-c__company-meta {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.job-card-c__meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 10px;
  flex-wrap: wrap;
  line-height: 1.4;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}
.job-card-c__meta-l {
  display: inline-flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
}
.job-card-c__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.4;
}
.job-card-c__meta-item svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
}
.job-card-c__meta-item:last-child {
  margin-left: auto;
}
.job-card-c__meta-item--warning {
  color: var(--warning);
}
.job-card-c__meta-divider {
  color: var(--border);
  margin: 0 -6px;
}
.job-card-c__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-4);
  transition: all var(--t-fast);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 6px;
}
.job-card-c__heart svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--t-medium) var(--ease-spring);
}
.job-card-c__heart:active {
  transform: scale(0.85);
  background: var(--bg-soft);
}
.job-card-c__heart.active {
  color: var(--pmp);
}
.job-card-c__heart.active svg {
  fill: currentColor;
  transform: scale(1.05);
}
.job-card-c__heart.active:active {
  background: var(--pmp-bg);
}
.job-card-c__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 11px;
  color: var(--text-3);
}
.job-card-c__pmp-tip {
  font-feature-settings: 'tnum' 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.job-card-c__pmp-tip::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* 岗位来源标识 - 品牌色胶囊（醒目标识） */
.job-card-c__source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-end;
  padding: 3px 9px;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2px;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--t-fast) var(--ease-out);
  cursor: pointer;
}
.job-card-c__source::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(54, 20, 93, 0.1);
}
.job-card-c__source:active {
  background: var(--primary-light);
  transform: scale(0.96);
}

/* 列表卡片用分割线 - 容器模式下隐藏卡片自带margin */
/* 浏览历史分组标签下的首张卡：保持上边距，由标签提供间距 */
.time-group__label + .job-card-c {
  margin-top: 0;
}
#page-news .news-card:first-of-type {
  margin-top: 16px;
}

.view-all {
  margin: 8px var(--space-3);
  padding: 14px;
  background: #fff;
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-1);
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid var(--border-light);
}
.view-all:active {
  transform: scale(0.99);
  background: var(--primary-bg);
  border-color: var(--primary-light);
}
.view-all svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--t-fast);
}

/* 资讯卡片（横排） */
.news-card-c {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 12px;
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid var(--border-light);
}
.news-card-c:active {
  transform: scale(0.99);
  box-shadow: var(--shadow-sm);
}
.news-card-c__cover {
  width: 88px;
  height: 88px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.news-card-c__cover svg {
  width: 36px;
  height: 36px;
  fill: rgba(255, 255, 255, 0.92);
}
.news-card-c__cover-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.news-card-c__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.news-card-c__title {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: var(--tracking-wide);
}
.news-card-c__meta {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-feature-settings: 'tnum' 1;
}
.news-card-c__meta svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* ============ 岗位列表 ============ */
.jobs-header {
  background: #fff;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 25;
  box-shadow: 0 1px 0 var(--border-light);
  margin-bottom: 10px;
  transition: box-shadow var(--t-fast) var(--ease-out);
}
.jobs-header.is-stuck {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
/* 筛选条 - Boss直聘风格：左侧排序 Tab + 右侧 chip */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  position: relative;
  gap: 12px;
}
.filter-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}
.filter-bar__tabs {
  display: flex;
  gap: 18px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.filter-bar__tabs::-webkit-scrollbar {
  display: none;
}
.filter-bar__tab {
  font-size: 15px;
  color: var(--text-3);
  cursor: pointer;
  position: relative;
  font-weight: 500;
  padding: 6px 0;
  transition: color var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-bar__tab.active {
  color: var(--text-1);
  font-weight: 700;
  font-size: 16px;
}
.filter-bar__tab:active {
  opacity: 0.6;
}
.filter-bar__chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.filter-bar__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-1);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  line-height: 1;
  white-space: nowrap;
}
.filter-bar__chip:active {
  background: var(--bg-sub);
  border-color: var(--border);
}
.filter-bar__chip > svg:first-child {
  width: 14px;
  height: 14px;
  fill: var(--text-2);
}
.filter-bar__chip-arrow {
  width: 11px !important;
  height: 11px !important;
  fill: var(--text-3) !important;
  opacity: 0.7;
  flex-shrink: 0;
}
.result-stat {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-3);
  background: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-bottom: 1px solid var(--border-light);
  font-feature-settings: 'tnum' 1;
}
.result-stat__hl {
  color: var(--primary);
  font-weight: 600;
}
.result-stat__sep {
  color: var(--border-darker);
  margin: 0 2px;
}

/* ============ 职位详情 ============ */
.detail-hero {
  background: linear-gradient(180deg, var(--primary-90) 0%, var(--primary-94) 50%, #ffffff 100%);
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.detail-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(98, 36, 168, 0.08), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.detail-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--border-light);
}
.detail-hero__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}
.detail-hero__salary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  padding: 2px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ff8c3a 0%, #ff4d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(255, 77, 0, 0.18));
}
.detail-hero__salary small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #a8341a;
  opacity: 1;
  -webkit-text-fill-color: #a8341a;
}
.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.detail-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-2);
  transition: all var(--t-fast);
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.detail-hero__meta-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}

.company-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  margin: 10px var(--space-3);
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid var(--border-light);
}
.company-card:active {
  background: var(--bg-soft);
  border-color: var(--primary-light);
}
.company-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 6px rgba(15, 23, 42, 0.06);
  letter-spacing: -0.5px;
  margin-top: 1px;
}
.company-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.company-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.company-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.company-card__verified {
  color: var(--success);
  display: flex;
  flex-shrink: 0;
}
.company-card__verified svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.company-card__arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  border-radius: 6px;
  transition: all var(--t-fast);
  flex-shrink: 0;
  margin-top: -2px;
}
.company-card__arrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--t-fast);
}
.company-card:active .company-card__arrow {
  color: var(--primary);
  background: var(--primary-bg);
}
.company-card:active .company-card__arrow svg {
  transform: translateX(2px);
}
.company-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.company-card__chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  letter-spacing: 0;
  line-height: 1;
}
.company-card__chip--soe {
  background: rgba(245, 34, 45, 0.08);
  color: #cf1322;
  border-color: rgba(245, 34, 45, 0.18);
}

.detail-section {
  background: #fff;
  margin: 10px var(--space-3) 0;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}
.detail-section__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  text-transform: none;
}
.detail-section__title-bar {
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary), var(--violet));
  border-radius: 2px;
  flex-shrink: 0;
}
.detail-jd {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
}
.detail-jd p {
  margin-bottom: 10px;
}
.detail-jd p:last-child {
  margin-bottom: 0;
}
.detail-jd__heading {
  font-weight: 600;
  color: var(--text-1);
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 15px;
}
.detail-jd ol,
.detail-jd ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.detail-jd li {
  margin-bottom: 4px;
}
.detail-jd-hl {
  background: var(--highlight-bg);
  color: var(--highlight-text);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-weight: 600;
  border: 1px solid var(--gold-light);
}

/* 详情页：信息栅格 */
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  padding: 4px 0;
}
.detail-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-info-item__label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}
.detail-info-item__value {
  font-size: 14px;
  color: var(--text-1);
  font-weight: 600;
  line-height: 1.4;
}

/* 招聘要求 - 卡片网格 */
.detail-req-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.detail-req-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  transition: all var(--t-fast);
}
.detail-req-item:active {
  background: var(--bg-sub);
  border-color: var(--primary-light);
  transform: scale(0.98);
}
.detail-req-item__label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.detail-req-item__value {
  font-size: 14px;
  color: var(--text-1);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* 子标题 */
.detail-sub-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  position: relative;
}
.detail-sub-title:first-of-type {
  margin-top: 0;
}
.detail-sub-title::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.detail-sub-title:has(> svg)::before {
  display: none;
}
.detail-sub-title svg {
  flex-shrink: 0;
}

/* 标签列表 */
.detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 项目列表 */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: detail;
}
.detail-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}
.detail-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-list__item:first-child {
  padding-top: 0;
}
.detail-list__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--text-4);
  margin-top: 9px;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.detail-list__dot--success {
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-bg);
}

/* 候选人画像 - 卡片式 */
.detail-portrait {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-portrait__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  transition: all var(--t-fast);
}
.detail-portrait__row:active {
  background: var(--bg-sub);
  border-color: var(--primary-light);
}
.detail-portrait__label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.detail-portrait__value {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.1px;
}

/* 投递数据 */
.detail-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 0 4px;
}
.detail-data-item {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 14px 6px 12px;
  transition: all var(--t-fast);
  border: 1px solid var(--border-light);
}
.detail-data-item__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  letter-spacing: -0.5px;
}
.detail-data-item__unit {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  margin-left: 1px;
}
.detail-data-item__label {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
  letter-spacing: 0;
  font-weight: 500;
}

.detail-process {
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary-94), var(--primary-90));
  border-radius: 10px;
  border: 1px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}
.detail-process::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--violet));
}
.detail-process__label {
  font-size: 12px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail-process__steps {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.7;
  letter-spacing: 0;
  font-weight: 500;
}

.work-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  padding: 4px 0;
}
.work-location svg {
  width: 14px;
  height: 14px;
  fill: var(--text-3);
  flex-shrink: 0;
  margin-top: 2px;
}

.source-card {
  margin: 10px var(--space-3);
  padding: 10px 16px;
  background: #fff;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-light);
}
.source-card__platform {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-1);
  font-weight: 500;
}
.source-card__platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.detail-bottom-bar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.02);
  position: sticky;
  bottom: 0;
  z-index: 20;
}
.detail-bottom-bar .btn-collect {
  flex: 1;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
}
.detail-bottom-bar .btn-collect:active {
  transform: scale(0.97);
  background: var(--primary-bg);
}
.detail-bottom-bar .btn-collect svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--t-medium) var(--ease-spring);
}
.detail-bottom-bar .btn-collect.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-color: transparent;
}
.detail-bottom-bar .btn-collect.active svg {
  fill: currentColor;
  transform: scale(1.15);
}
.detail-bottom-bar .btn-go {
  flex: 2.4;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff;
  border-radius: 12px;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(54, 20, 93, 0.32);
  transition: all var(--t-fast) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.2px;
}
.detail-bottom-bar .btn-go::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.18));
  opacity: 0;
  transition: opacity var(--t-fast);
}
.detail-bottom-bar .btn-go:active::before {
  opacity: 1;
}
.detail-bottom-bar .btn-go:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(54, 20, 93, 0.28);
}
.detail-bottom-bar .btn-go svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============ 资讯 ============ */
/* 资讯页与岗位页都无 .nav，吸顶直接贴顶 */
.news-tabs {
  display: flex;
  padding: 0 var(--space-4);
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
  flex-shrink: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 0;
  z-index: 25;
  margin-bottom: 10px;
  transition: box-shadow var(--t-fast) var(--ease-out);
}
.news-tabs::-webkit-scrollbar {
  display: none;
}
/* 滚动到位后顶部加阴影，提示吸顶 */
.news-tabs.is-stuck {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.news-tab {
  font-size: 14px;
  color: var(--text-3);
  padding: 12px 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease-out);
}
.news-tab.active {
  color: var(--primary);
  font-weight: 600;
}
.news-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.3);
}

.news-card {
  background: #fff;
  margin: 0 var(--space-3) 10px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-medium) var(--ease-out);
  display: block;
  border: 1px solid var(--border-light);
}
.news-card:active {
  background: var(--bg-soft);
  border-color: var(--border);
}
.news-card__cover {
  height: 130px;
  min-height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.news-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}
.news-card__cover svg {
  width: 56px !important;
  height: 56px !important;
  fill: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
  position: relative;
  z-index: 1;
}
.news-card__cover-pin {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #d32027, #ff4d4f);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(255, 77, 79, 0.35);
  letter-spacing: 0;
}
.news-card__cover-pin svg {
  width: 10px !important;
  height: 10px !important;
  fill: currentColor;
}
.news-card__cover-type {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  z-index: 2;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.news-card__body {
  padding: 14px 16px;
  display: block;
  background: #fff;
}
.news-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
}
.news-card__summary {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-feature-settings: 'tnum' 1;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}
.news-card__meta-l {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.news-card__meta-source {
  color: var(--text-2);
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.news-card__meta-item svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}
.news-card__activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-soft);
  font-feature-settings: 'tnum' 1;
  gap: 10px;
}
.news-card__activity-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text-1);
}
.news-card__activity-info svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
  flex-shrink: 0;
}
.news-card__activity-info-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.news-card__activity-status {
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0;
}
.news-card__activity-status--ongoing {
  background: rgba(0, 181, 120, 0.1);
  color: #009366;
  border: 1px solid rgba(0, 181, 120, 0.2);
}
.news-card__activity-status--ended {
  background: var(--bg-sub);
  color: var(--text-3);
  border: 1px solid var(--border-light);
}

/* ============ 我的 ============ */
.profile-header {
  background: linear-gradient(
    180deg,
    var(--primary-08) 0%,
    var(--primary-15) 16%,
    var(--primary-22) 32%,
    var(--primary-30) 46%,
    var(--primary-40) 60%,
    var(--primary-55) 70%,
    var(--primary-70) 80%,
    var(--primary-85) 90%,
    var(--primary-94) 100%
  );
  padding: 16px var(--space-4) 60px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  color: var(--text-1);
}
/* 暖橙光晕：右上角，柔和大模糊让光与底色自然融合 */
.profile-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -90px;
  width: 340px;
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 140, 60, 0.55) 0%,
    rgba(255, 100, 40, 0.3) 40%,
    rgba(255, 80, 40, 0) 75%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
}
/* 紫光晕：左下角对位，更柔和 */
.profile-header::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(98, 36, 168, 0.3), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}
.profile-header__user {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.profile-header__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f5f7f8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.5px;
}
.profile-header__info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.profile-header__name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(54, 20, 93, 0.25);
}
.profile-header__pmp {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.3);
}
.profile-header__pmp svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
.profile-header__phone {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 4px;
  font-feature-settings: 'tnum' 1;
  text-shadow: 0 1px 2px rgba(54, 20, 93, 0.2);
}
.profile-header__phone svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.intent-entry {
  margin: -32px var(--space-3) 0;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 5;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--t-medium);
}
.intent-entry::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--violet));
  border-radius: 0 2px 2px 0;
}
.intent-entry__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.intent-entry__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}
.intent-entry__title svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}
.intent-entry__edit {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 5px 10px;
  background: var(--primary-bg);
  border-radius: 8px;
  transition: all var(--t-fast);
}
.intent-entry__edit:active {
  transform: scale(0.96);
  background: var(--primary-light);
}
.intent-entry__edit svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.intent-entry__summary {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.5;
  gap: 8px;
}
.intent-entry__summary > span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.intent-entry__summary-link {
  color: var(--primary);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 4px 8px;
  background: var(--primary-bg);
  border-radius: 6px;
  transition: all var(--t-fast);
}
.intent-entry__summary-link:active {
  background: var(--primary-light);
}
.intent-entry__summary-link svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.intent-entry__summary-link:active svg {
  transform: translateX(2px);
}

.stats-row {
  background: #fff;
  margin: 10px var(--space-3) 0;
  padding: 0;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.stats-row__item {
  text-align: center;
  cursor: pointer;
  padding: 16px 8px;
  transition: all var(--t-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stats-row__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border-light);
}
.stats-row__item:last-child::after {
  display: none;
}
.stats-row__item:active {
  background: var(--bg-soft);
}
.stats-row__num {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.stats-row__num--accent {
  color: var(--primary);
}
.stats-row__unit {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
}
.stats-row__label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0;
}
.stats-row__bar {
  width: 70%;
  height: 3px;
  background: var(--bg-soft);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.stats-row__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 2px;
  transition: width var(--t-medium) var(--ease-out);
}

.menu-group {
  background: #fff;
  margin: 10px var(--space-3) 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: block;
}
.menu-group .menu-item {
  width: auto;
  box-sizing: border-box;
}
.menu-group__label {
  padding: 14px 16px 8px;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--t-fast);
  min-height: 52px;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item:active {
  background: var(--bg-soft);
}
.menu-item:active .menu-item__arrow {
  color: var(--primary);
}
.menu-item:active .menu-item__arrow svg {
  transform: translateX(2px);
}
.menu-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  transition: transform var(--t-fast) var(--ease-spring);
}
.menu-item:active .menu-item__icon {
  transform: scale(0.9);
}
.menu-item__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.menu-item__icon--primary {
  background: linear-gradient(135deg, var(--primary-85), var(--primary-70));
  color: var(--primary);
}
.menu-item__icon--accent {
  background: linear-gradient(135deg, #ffe5cc, #ffd0a8);
  color: var(--accent);
}
.menu-item__icon--success {
  background: linear-gradient(135deg, #d1f5e4, #a8ebcb);
  color: #009366;
}
.menu-item__icon--warning {
  background: linear-gradient(135deg, #ffe7ba, #ffd180);
  color: #d4660a;
}
.menu-item__icon--blue {
  background: linear-gradient(135deg, #dceaff, #c4deff);
  color: #1677ff;
}
.menu-item__icon--purple {
  background: linear-gradient(135deg, var(--primary-78), var(--primary-55));
  color: var(--primary-40);
}
.menu-item__icon--gray {
  background: var(--bg-soft);
  color: var(--text-3);
}
.menu-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.menu-item__label {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.menu-item__sub {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
}
.menu-item__extra {
  font-size: 12px;
  color: var(--text-3);
  margin-right: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-feature-settings: 'tnum' 1;
  font-weight: 500;
}
.menu-item__extra svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
}
.menu-item__badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 0 6px;
  border-radius: 8px;
  margin-right: 4px;
  min-width: 18px;
  text-align: center;
  line-height: 1.55;
  font-weight: 600;
  flex-shrink: 0;
  font-feature-settings: 'tnum' 1;
}
.menu-item__arrow {
  color: var(--text-4);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  transition: all var(--t-fast);
}
.menu-item__arrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.banner-pdu {
  margin: 10px var(--space-3);
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff4e0, #ffe7ba);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid #ffd180;
}
.banner-pdu::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.banner-pdu::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.banner-pdu:active {
  transform: scale(0.99);
}
.banner-pdu:active .banner-pdu__arr {
  transform: translateX(2px);
}
.banner-pdu__l {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.banner-pdu__icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow:
    0 4px 12px rgba(255, 122, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform var(--t-medium) var(--ease-spring);
  flex-shrink: 0;
}
.banner-pdu:active .banner-pdu__icon {
  transform: rotate(-8deg) scale(0.95);
}
.banner-pdu__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.banner-pdu__body {
  flex: 1;
  min-width: 0;
}
.banner-pdu__txt {
  font-size: 14px;
  color: #874d00;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
.banner-pdu__sub {
  font-size: 12px;
  color: #874d00;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.3;
}
.banner-pdu__arr {
  color: #874d00;
  display: flex;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform var(--t-fast);
  padding: 8px;
  margin: -8px;
}
.banner-pdu__arr svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============ 列表页通用 ============ */
.list-page {
  flex: 1;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
}
.list-page__tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  padding: 0 var(--space-4);
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.list-page__tabs::-webkit-scrollbar {
  display: none;
}
.list-page__tab {
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  font-weight: var(--fw-medium);
  transition: color var(--t-fast);
}
.list-page__tab.active {
  color: var(--text-1);
  font-weight: var(--fw-bold);
}
.list-page__tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.25);
}
.list-page__tab-count {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 3px;
  font-weight: var(--fw-regular);
  font-feature-settings: 'tnum' 1;
}
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  padding: 60px 20px;
  text-align: center;
}
.empty-state__icon {
  width: 96px;
  height: 96px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--bg-sub), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.empty-state__icon svg {
  width: 48px;
  height: 48px;
  fill: var(--text-4);
  opacity: 0.7;
}
.empty-state__title {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 6px;
  font-weight: var(--fw-medium);
}
.empty-state__desc {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.time-group__label {
  padding: 14px var(--space-4) 6px;
  font-size: 11px;
  color: var(--text-3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  font-feature-settings: 'tnum' 1;
}

/* ============ 消息中心 ============ */
.msg-card {
  margin: 0 var(--space-3) 8px;
  padding: 14px;
  background: #fff;
  border-radius: var(--r-lg);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: all var(--t-fast) var(--ease-out);
  border: 1px solid var(--border-light);
}
.msg-card:active {
  transform: scale(0.99);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}
.msg-card__row {
  display: flex;
  gap: 10px;
}
.msg-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary-light), var(--violet-soft));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-medium) var(--ease-spring);
}
.msg-card:active .msg-card__icon {
  transform: rotate(-8deg) scale(0.95);
}
.msg-card__icon--warning {
  background: linear-gradient(135deg, var(--warning-bg), var(--gold-light));
  color: var(--warning);
}
.msg-card__icon--blue {
  background: var(--link-bg);
  color: #0958d9;
}
.msg-card__icon--gray {
  background: var(--bg-sub);
  color: var(--text-2);
}
.msg-card__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.msg-card__body {
  flex: 1;
  min-width: 0;
}
.msg-card__title {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 4px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
}
.msg-card__meta {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-feature-settings: 'tnum' 1;
}
.msg-card__meta-type {
  padding: 1px 6px;
  background: var(--bg-sub);
  color: var(--text-3);
  border-radius: var(--r-sm);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--fw-medium);
}

.tip-card {
  padding: 12px;
  background: linear-gradient(135deg, var(--warning-bg), var(--gold-soft));
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--warning-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-3);
  border: 1px solid var(--gold-light);
  letter-spacing: var(--tracking-wide);
}
.tip-card svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============ 兜底页 ============ */
.fallback {
  flex: 1;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
}
.fallback__hero {
  padding: 60px 32px 32px;
  text-align: center;
}
.fallback__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--error-bg), #ffe0de);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--error);
  box-shadow: 0 8px 24px rgba(255, 77, 79, 0.16);
}
.fallback__icon svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}
.fallback__title {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: var(--tracking-wide);
}
.fallback__desc {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  line-height: var(--lh-relaxed);
}
.fallback__similar {
  padding: 0 var(--space-4);
}
.fallback__similar-title {
  padding: 0 4px 12px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: var(--tracking-wide);
}
.fallback__similar-title::before {
  content: '';
  flex: 0 0 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary), var(--violet));
  border-radius: 2px;
}
.fallback__home {
  display: flex;
  justify-content: center;
  padding: var(--space-5) var(--space-4) var(--space-4);
}

/* ============ 弹窗 ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-mask);
  z-index: 99999;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal-overlay.active {
  display: flex;
  animation: fadeIn var(--t-medium) var(--ease-out);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  background: #fff;
  width: 100%;
  max-width: 390px;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: 24px 20px 32px;
  animation: slideUp 0.35s var(--ease-out);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  margin: 0 auto;
  position: relative;
}

/* ============ 筛选页（Boss直聘风格） ============ */
.filter-page {
  flex: 1;
  display: flex;
  background: #fff;
  min-height: 0;
  position: relative;
}
.filter-page__sidebar {
  width: 96px;
  background: var(--bg-soft);
  overflow-y: auto;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}
.filter-page__sidebar::-webkit-scrollbar {
  display: none;
}
.filter-page__cat {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  position: relative;
  border-left: 3px solid transparent;
  transition: all var(--t-fast);
  line-height: 1.3;
}
.filter-page__cat.active {
  background: #fff;
  color: var(--text-1);
  font-weight: 600;
  border-left-color: var(--primary);
}
.filter-page__cat:active {
  background: #fff;
}
.filter-page__content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.filter-section {
  margin-bottom: 20px;
}
.filter-section__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.filter-section__title small {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
  margin-left: 4px;
}
.filter-section__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.filter-chip {
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-1);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  line-height: 1.3;
}
.filter-chip:active {
  transform: scale(0.97);
}
.filter-chip.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(54, 20, 93, 0.12);
}

/* 关键词搜索区 */
.filter-section__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  transition: all var(--t-fast);
}
.filter-section__search:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(54, 20, 93, 0.12);
}
.filter-section__search-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-3);
  flex-shrink: 0;
}
.filter-section__search:focus-within .filter-section__search-icon {
  fill: var(--primary);
}
.filter-section__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.4;
}
.filter-section__search-input::placeholder {
  color: var(--text-3);
}
.filter-section__search-clear {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-sub);
  color: var(--text-3);
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
}
.filter-section__search-clear svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
.filter-section__search-clear:active {
  background: var(--border-darker);
  color: #fff;
}
.filter-section__search-input:not(:placeholder-shown) ~ .filter-section__search-clear {
  display: flex;
}
.filter-section__hint {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 10px;
  padding: 0 4px;
  line-height: 1.5;
}
.filter-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}
.filter-section__tag {
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t-fast);
  font-weight: 500;
}
.filter-section__tag:active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}
.filter-section__expand {
  text-align: right;
  color: var(--text-3);
  font-size: 13px;
  padding: 10px 0 4px;
  cursor: pointer;
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}
.filter-page__bottom {
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}
.modal::-webkit-scrollbar {
  display: none;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
/* 弹窗右上角关闭按钮（自动注入） */
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-3);
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast);
  padding: 0;
  z-index: 2;
}
.modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.modal__close:active {
  background: var(--bg-sub);
  color: var(--text-1);
}
/* sheet 类弹窗：关闭按钮与左对齐标题同行右侧 */
.modal--sheet .modal__close {
  top: 14px;
  right: 14px;
}
.modal__title {
  font-size: 17px;
  font-weight: var(--fw-semibold);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: var(--tracking-wide);
}
.modal__desc {
  text-align: center;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.modal__platform-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: var(--fw-bold);
}
.modal__platform-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.modal__platform-icon-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.modal__notice {
  padding: 12px;
  background: var(--warning-bg);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--warning-text);
  margin-bottom: 16px;
  line-height: 1.6;
  border: 1px solid var(--gold-light);
}

/* 底部弹出 Sheet（城市选择等） */
.modal--sheet {
  max-height: 80vh;
  padding: 24px 0 calc(20px + env(safe-area-inset-bottom, 0));
}
.modal--sheet .modal__title {
  text-align: left;
  padding: 0 20px;
  margin-bottom: 14px;
  font-size: 17px;
}

/* 客服二维码弹窗 */
.service-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 20px 0;
}
.service-qrcode__code {
  width: 180px;
  height: 180px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  margin-bottom: 16px;
  position: relative;
}
.service-qrcode__code::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 1px dashed var(--primary-light);
  pointer-events: none;
}
.service-qrcode__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.service-qrcode__title {
  font-size: 16px;
  color: var(--text-1);
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.service-qrcode__desc {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.service-qrcode__divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin-bottom: 14px;
}
.service-qrcode__features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.service-qrcode__feature {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}
.service-qrcode__feature-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}
.service-qrcode__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(54, 20, 93, 0.22);
}
.service-qrcode__btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(54, 20, 93, 0.18);
}
.service-qrcode__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.sheet-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 16px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  transition: all var(--t-fast);
}
.sheet-search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(54, 20, 93, 0.1);
}
.sheet-search svg {
  width: 16px;
  height: 16px;
  fill: var(--text-3);
  flex-shrink: 0;
}
.sheet-search:focus-within svg {
  fill: var(--primary);
}
.sheet-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.2;
}
.sheet-search input::placeholder {
  color: var(--text-3);
}
.sheet-section {
  margin-bottom: 8px;
}
.sheet-section__label {
  padding: 14px 20px 6px;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sheet-section__count {
  font-weight: 400;
  color: var(--text-4);
  font-size: 10px;
  letter-spacing: 0;
}
.sheet-list {
  display: flex;
  flex-direction: column;
}
.sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 4px;
}
.sheet-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--bg-card);
  color: var(--text-2);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s var(--ease-out);
  white-space: nowrap;
  line-height: 1.2;
}
.sheet-chip:active {
  transform: scale(0.96);
}
.sheet-chip--active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(54, 20, 93, 0.1);
  position: relative;
}
.sheet-chip--active::after {
  content: '×';
  font-size: 14px;
  line-height: 1;
  margin-left: 2px;
  opacity: 0.6;
  font-weight: 400;
}
.sheet-chip--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sheet-chip--disabled:active {
  transform: none;
}
.sheet-chip__empty {
  font-size: 12px;
  color: var(--text-4);
  font-style: italic;
  padding: 8px 0;
}
.sheet-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--t-fast);
  gap: 12px;
  min-height: 52px;
}
.sheet-item:last-child {
  border-bottom: none;
}
.sheet-item:active {
  background: var(--bg-soft);
}
.sheet-item--active {
  background: var(--primary-bg);
}
.sheet-item--active:active {
  background: var(--primary-light);
}
.sheet-item--active .sheet-item__name {
  color: var(--primary);
  font-weight: 600;
}
.sheet-item--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sheet-item--disabled:active {
  background: transparent;
}
.sheet-item__icon {
  width: 18px;
  height: 18px;
  fill: var(--text-3);
  flex-shrink: 0;
}
.sheet-item--active .sheet-item__icon {
  fill: var(--primary);
}
.sheet-item--disabled .sheet-item__icon {
  fill: var(--text-4);
}
.sheet-item__name {
  flex: 1;
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
  line-height: 1.3;
}
.sheet-item__count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  font-feature-settings: 'tnum' 1;
}
.sheet-item--active .sheet-item__count {
  color: var(--primary);
  font-weight: 600;
}
.sheet-item__check {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
}
.modal__notice strong {
  font-weight: var(--fw-semibold);
  color: var(--warning-text);
}
.modal__btns {
  display: flex;
  gap: var(--space-3);
  margin-top: 8px;
}
.modal__btns .btn {
  flex: 1;
  padding: 13px;
  border-radius: var(--r-md);
}
.modal__btns .btn--cancel {
  background: var(--bg-sub);
  color: var(--text-2);
}

/* Toast */
.toast {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: rgba(26, 31, 44, 0.94);
  color: #fff;
  padding: 11px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  z-index: 1000;
  opacity: 0;
  transition: all var(--t-medium) var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  max-width: 80%;
  text-align: center;
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast--success {
  background: rgba(0, 181, 120, 0.95);
  box-shadow: 0 8px 24px rgba(0, 181, 120, 0.32);
}
.toast--warn {
  background: rgba(255, 136, 0, 0.95);
  box-shadow: 0 8px 24px rgba(255, 136, 0, 0.32);
}

/* ============ 快捷设置弹窗 ============ */
.modal-intent__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: var(--tracking-wide);
}
.modal-intent__sub {
  font-size: var(--fs-sm);
  color: var(--text-3);
  text-align: center;
  margin-bottom: var(--space-5);
}
.modal-intent__section {
  margin-bottom: var(--space-5);
}
.modal-intent__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--text-2);
  margin-bottom: var(--space-2);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
}
.modal-intent__label-link {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: opacity var(--t-fast);
}
.modal-intent__label-link:active {
  opacity: 0.7;
}
.modal-intent__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-intent__chip {
  padding: 6px 14px;
  background: var(--bg-sub);
  color: var(--text-2);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease-out);
  font-weight: var(--fw-medium);
}
.modal-intent__chip:active {
  transform: scale(0.96);
}
.modal-intent__chip.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.1);
}
.modal-intent__chip-add {
  padding: 6px 14px;
  background: var(--bg-sub);
  color: var(--text-3);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  cursor: pointer;
  border: 1px dashed var(--border-darker);
  transition: all var(--t-fast);
}
.modal-intent__salary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-2);
}
.modal-intent__salary-val {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--accent);
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-tight);
}
.modal-intent__salary-val small {
  font-size: var(--fs-xs);
  color: var(--text-3);
  font-weight: var(--fw-regular);
  margin-left: 4px;
  letter-spacing: var(--tracking-normal);
}
.modal-intent__slider {
  position: relative;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: 0 9px var(--space-2);
}
.modal-intent__slider-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 2px;
}
.modal-intent__slider-handle {
  position: absolute;
  top: -7px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--r-full);
  box-shadow: 0 2px 6px rgba(54, 20, 93, 0.3);
}
.modal-intent__scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-3);
  padding: 0 2px;
  font-feature-settings: 'tnum' 1;
}
.modal-intent__footer {
  padding: var(--space-4) 0 var(--space-2);
  display: flex;
  gap: var(--space-3);
  border-top: 1px solid var(--border-light);
  background: #fff;
  margin: 0 -20px -32px;
  padding-left: 20px;
  padding-right: 20px;
}
.modal-intent__more {
  text-align: center;
  padding: var(--space-2) 0;
  color: var(--primary);
  font-size: var(--fs-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: gap var(--t-fast);
  font-weight: var(--fw-medium);
}
.modal-intent__more svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform var(--t-fast);
}

/* ============ Loading ============ */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-5);
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
}
.loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: var(--r-full);
  animation: spin 0.9s linear infinite;
  margin-right: 8px;
}
/* 列表到底：独立文案样式，避免继承 .loading 左侧转圈 */
.list-end {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-5);
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
}

/* ============ 公司详情 ============ */
.company-header {
  background: #fff;
  padding: 24px var(--space-4);
  text-align: center;
  position: relative;
}
.company-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-light) 20%,
    var(--border-light) 80%,
    transparent
  );
}
.company-header__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: 24px;
  background: var(--gradient-brand);
  box-shadow:
    0 8px 20px rgba(54, 20, 93, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.company-header__name {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: var(--tracking-wide);
}
.company-header__meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.company-header__meta-divider {
  color: var(--border);
}

/* ============ 资讯详情 ============ */
.article {
  padding: 20px 16px 16px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin-bottom: 10px;
  position: relative;
}
.article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: transparent;
}
.article__type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b04a00;
  background: linear-gradient(135deg, #fff4e0, #ffe7ba);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 122, 0, 0.25);
}
.article__type svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.article__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.article__meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  font-feature-settings: 'tnum' 1;
  flex-wrap: wrap;
}
.article__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-weight: 500;
}
.article__meta-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.7;
}
.article__body {
  padding: 18px 0 8px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  letter-spacing: 0;
}
.article__body p {
  margin-bottom: 14px;
}
.article__body p:last-child {
  margin-bottom: 0;
}
.article__body strong {
  color: var(--text-1);
  font-weight: 600;
}
/* 段落开头的 strong 标签（如"核心结论：")做内联标签样式 */
.article__body p > strong:first-child {
  color: var(--primary);
  font-weight: 600;
  margin-right: 2px;
}
/* 整段只有一个 strong 的（如章节标题）做小标题样式 */
.article__body p > strong:only-child {
  display: block;
  font-size: 16px;
  color: var(--text-1);
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-light);
  letter-spacing: -0.2px;
}
.article__body strong--hl {
  color: var(--accent);
  background: linear-gradient(180deg, transparent 60%, rgba(255, 122, 0, 0.15) 60%);
  padding: 0 2px;
  font-weight: 700;
}
.article__related {
  margin: 10px var(--space-3);
  padding: 16px;
  background: linear-gradient(135deg, #fff4e0, #ffe7ba);
  border-radius: 16px;
  border: 1px solid rgba(255, 122, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.article__related::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  border-radius: 50%;
  pointer-events: none;
}
.article__related-title {
  font-size: 13px;
  color: #874d00;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 1;
}
.article__related-title svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.article__related .job-card-c {
  margin: 0;
  background: #fff;
}
.article__related .job-card-c + .job-card-c {
  margin-top: 8px;
}

/* ============ 全局微交互 & 无障碍 ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 全局键盘焦点 */
button:focus-visible,
a:focus-visible,
input:focus-visible,
.nav__btn:focus-visible,
.menu-item:focus-visible,
.chip:focus-visible,
.tag:focus-visible,
.filter-bar__item:focus-visible,
.tab-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 美化滚动条 */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* === 最小必要 override（保持 prototype.css 干净，无 syntax error） === */

/* 1. uni-h5 路由用 hash 模式，原型 SPA 切页 .active 不适用，直接让 .page 显示 */
.page {
  display: flex;
  flex-direction: column;
}
/* .page > *（含 detail-hero）不允许被 flex 压缩到内容之下，否则 overflow:hidden 会裁掉 hero 内容 */
.page > * {
  flex-shrink: 0;
  min-height: 0;
}
.app.device,
.app.device > .screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* 2. 桌面端（≥481px）body 不显示 phone frame 灰边 */
@media (min-width: 481px) {
  body {
    max-width: none;
    margin: 0;
    border-left: none;
    border-right: none;
  }
}

/* ============ Switch 开关（设置页匿名浏览等） ============ */
.switch {
  position: relative;
  width: 36px;
  height: 20px;
  background: var(--border);
  border-radius: 10px;
  transition: background var(--t-fast);
  flex-shrink: 0;
  cursor: pointer;
}
.switch--on {
  background: var(--primary);
}
.switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-fast);
}
.switch--on .switch__thumb {
  transform: translateX(16px);
}
.device {
  box-shadow: none;
  border-radius: 0;
}
.app,
.app.device,
.app.device > .screen {
  outline: none;
  border: none;
  box-shadow: none;
}
