/* =====================================================================
   佛得角招聘网样式：国旗深蓝 + 黄色主按钮（与 CvShop、华人信息网同一家族），
   手机优先；职位列表用同一块白底分隔行，不做一堆卡片阴影。
   ===================================================================== */
:root {
  --navy: #0E2A47;
  --navy-2: #17385C;
  --blue: #1F4FA8;
  --blue-dark: #163B80;
  --yellow: #F2B705;
  --yellow-dark: #DDA600;
  --red: #C8102E;
  --ground: #F2F4F7;
  --card: #FFFFFF;
  --line: #E1E5EB;
  --line-strong: #B9C1CC;
  --text: #0E2A47;
  --text-2: #3A4656;
  --muted: #5F6B7A;
  --ok: #17754A;
  --ok-bg: #E3F3EA;
  --warn: #8A4B00;
  --warn-bg: #FFF4D6;
  --err: #B3261E;
  --err-bg: #FCE8E6;
  --info-bg: #E8EEF9;
  --zh: #8C1D2C;
  --zh-bg: #FBEAEC;
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 8px;
  --display: 'Barlow Semi Condensed', 'PingFang SC', 'Noto Sans SC', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
:lang(zh-CN) { --display: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Barlow Semi Condensed', sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h3 { font-size: 16px; margin-top: 18px; margin-bottom: 8px; }
p { margin: 0; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.flag-stripe { height: 2px; background: var(--red); border-top: 3px solid var(--blue); border-bottom: 3px solid var(--blue); }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand:hover { color: #fff; }
.top-nav { display: none; gap: 2px; flex: 1; min-width: 0; }
.top-nav a { color: #D3DEEF; text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap; position: relative; font-weight: 600; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.top-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang-btn { white-space: nowrap; height: 34px; padding: 0 10px; border-radius: 17px; border: 1px solid #4E6684; background: transparent; color: #fff; font-weight: 700; cursor: pointer; font-size: 14px; }
.lang-btn:hover { border-color: #fff; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; position: relative; text-decoration: none; }
.topbar .icon-btn { color: #fff; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.avatar-btn { display: inline-flex; padding: 4px; border-radius: 50%; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-txt { display: inline-flex; align-items: center; justify-content: center; background: #DCE6F7; color: var(--navy); font-weight: 700; font-family: var(--display); }
.topbar .avatar-txt { background: var(--yellow); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.top-nav .badge { position: static; display: inline-flex; margin-left: 6px; vertical-align: 1px; }
@media (min-width: 900px) { .top-nav { display: flex; } .topbar-inner { padding: 8px 20px; } }
@media (max-width: 520px) { .top-actions .hide-sm { display: none; } .brand img { height: 30px; } .topbar-inner { gap: 8px; } }

/* ---------- 布局 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 16px 16px 100px; min-height: 60vh; outline: none; }
@media (min-width: 900px) { .container { padding: 28px 20px 56px; } }
.narrow { max-width: 720px; margin: 0 auto; }
.narrow-wide { max-width: 960px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.loading { padding: 64px 0; text-align: center; color: var(--muted); }
.page-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; }
.section-title { font-family: var(--display); font-weight: 700; font-size: 21px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pad { padding: 18px; }
.pad > .section-title { margin-bottom: 8px; }
.pad.stack-sm > .section-title, .pad .row > .section-title { margin-bottom: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.card h2 { font-family: var(--display); font-size: 20px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 12px; }
.grid-2, .grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.home-grid, .detail-layout { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .home-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .sticky { position: sticky; top: 84px; }
}
.list-layout { display: grid; gap: 16px; }
@media (min-width: 960px) { .list-layout { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } .filters { position: sticky; top: 84px; } }
.filters { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn { min-height: 46px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; color: var(--text); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { color: var(--text); border-color: var(--text-2); }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--navy); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--navy-2); }
.btn-ghost { background: transparent; color: #fff; border-color: #4E6684; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-ghost-dark { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-wa { background: #1F8F4E; border-color: #1F8F4E; color: #fff; }
.btn-wa:hover { background: #177540; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; align-self: flex-start; }
.link-btn.muted { color: var(--muted); }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.field input, .field select, .field textarea, .exp-row input, .exp-row textarea { height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 0 12px; font-size: 16px; font-weight: 400; background: #fff; width: 100%; color: var(--text); }
.field textarea, .exp-row textarea { height: auto; min-height: 90px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.field .hint, .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.inline-select { height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 10px; background: #fff; max-width: 100%; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.form-error { color: var(--err); background: var(--err-bg); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.form-error:empty { display: none; }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row input { flex: 1; min-width: 0; }
.captcha-img { width: 120px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #EEF1F5; cursor: pointer; border: 0; padding: 0; }
.captcha-img svg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 18px; font-weight: 600; font-size: 14px; color: var(--text-2); background: #fff; cursor: pointer; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; background: #fff; }
.radio-card input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.radio-card:has(input:checked) { border: 2px solid var(--navy); padding: 13px; }
.exp-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--r); }
.tiny-label { font-size: 12px; }
.small-label { font-size: 13px; }
.bilingual { display: grid; gap: 16px; }
@media (min-width: 760px) { .bilingual { grid-template-columns: 1fr 1fr; } }
.lang-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--info-bg); color: var(--blue-dark); }
.sticky-bar { position: sticky; bottom: 64px; background: var(--ground); padding: 10px 0; z-index: 5; }
@media (min-width: 900px) { .sticky-bar { bottom: 0; } }

.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #EEF1F5; border-radius: var(--r); padding: 4px; margin-bottom: 18px; }
.tabs button { height: 42px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(14,42,71,.12); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.seg { display: flex; gap: 4px; background: #E7EBF0; padding: 4px; border-radius: var(--r); overflow-x: auto; }
.seg a { padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--text-2); font-weight: 600; white-space: nowrap; font-size: 14px; }
.seg a[aria-current="page"] { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(14,42,71,.12); }
.seg a b { color: var(--muted); font-weight: 600; margin-left: 2px; }

/* ---------- 提示 ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r); padding: 12px 14px; font-size: 15px; text-decoration: none; color: inherit; }
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice-info { background: var(--info-bg); color: var(--blue-dark); }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-ok { background: var(--ok-bg); color: var(--ok); }
.notice-err { background: var(--err-bg); color: var(--err); }
a.notice:hover { filter: brightness(.98); color: inherit; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty { text-align: center; padding: 48px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h2, .empty h1 { font-family: var(--display); font-size: 22px; }

/* ---------- 对话框 ---------- */
.modal { border: 0; border-radius: var(--r-lg); padding: 0; width: min(520px, calc(100% - 24px)); max-height: calc(100% - 40px); box-shadow: 0 20px 50px rgba(14,42,71,.25); color: var(--text); }
.modal-wide { width: min(760px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(14,42,71,.45); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 0 18px; margin: 0; }
.modal-head h2 { font-family: var(--display); font-size: 20px; }
.modal-body { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- 首页 ---------- */
.hero { background: var(--navy); color: #fff; border-radius: 20px; padding: 26px 18px 18px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(242,183,5,.12); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-family: var(--display); font-size: 34px; line-height: 1.05; max-width: 16ch; }
.hero p { color: #C9D6EA; margin-top: 8px; max-width: 46ch; }
.hero-search { position: relative; z-index: 1; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px 10px; background: #fff; color: var(--text); border-radius: 14px; padding: 8px 8px 8px 14px; }
.hero-search svg { color: var(--muted); }
.hero-search input { border: 0; outline: none; height: 44px; font-size: 16px; min-width: 0; }
.hero-search select { grid-column: 1 / -1; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.hero-search .btn { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .hero { padding: 40px 36px 28px; }
  .hero h1 { font-size: 50px; }
  .hero-search { grid-template-columns: 24px minmax(0, 1fr) 200px auto; }
  .hero-search select, .hero-search .btn { grid-column: auto; }
}
/* 9 个岛屿：首页最有辨识度的元素，一排岛名直接点进对应岛的职位 */
.islands { position: relative; z-index: 1; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.islands::-webkit-scrollbar { display: none; }
.islands a { flex-shrink: 0; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; padding: 6px 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.22); }
.islands a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.cats { display: grid; grid-template-columns: 1fr; margin-top: 10px; }
.cats a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.cats a:first-child { border-top: 0; }
.cats a b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.cats a:hover span { color: var(--blue); }
.employer-cta { background: var(--yellow); color: var(--navy); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.employer-cta svg { fill: var(--navy); }
.employer-cta h2 { font-family: var(--display); font-size: 24px; }
.employer-cta .btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.co-grid { display: grid; gap: 4px; margin-top: 10px; }
.co-grid a { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--text); }
.co-grid span { display: flex; flex-direction: column; min-width: 0; }
.co-grid small { color: var(--muted); }

/* ---------- 职位行 ---------- */
.list { overflow: hidden; }
.list > * + * { border-top: 1px solid var(--line); }
.job-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; padding: 16px; text-decoration: none; color: var(--text); position: relative; }
.job-row:hover { background: #F8FAFC; color: var(--text); }
.job-row:hover .job-title { color: var(--blue); }
.job-row.is-featured { background: linear-gradient(90deg, #FFF8DF, #fff 40%); }
.job-row.is-featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.logo { border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); background: #fff; }
.logo-txt { display: inline-flex; align-items: center; justify-content: center; background: var(--info-bg); color: var(--blue-dark); font-family: var(--display); font-weight: 700; font-size: 20px; border: 0; }
.job-main { min-width: 0; }
.job-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.job-title.big { font-size: 20px; text-decoration: none; color: var(--text); }
.job-co { color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.job-co.big { font-size: 17px; font-weight: 600; margin-top: 4px; }
.verified { color: var(--ok); display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; }
.job-meta { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; margin-top: 2px; flex-wrap: wrap; }
.job-meta .sep::before { content: "·"; margin: 0 4px; }
.job-side { grid-column: 2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.salary { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; color: var(--navy); }
.salary.big { font-size: 26px; margin-top: 10px; }
.match { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 700; font-size: 13px; }
.match.big { height: 34px; font-size: 18px; padding: 0 12px; border-radius: 17px; }
.featured-mark { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #8A6400; }
@media (min-width: 700px) {
  .job-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .job-side { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; justify-content: flex-start; }
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; background: #EEF1F5; color: var(--text-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tag-soft { background: transparent; border: 1px solid var(--line); }
.tag-urgent { background: var(--red); color: #fff; }
.tag-zh { background: var(--zh-bg); color: var(--zh); }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }

/* ---------- 广告 ---------- */
.ad-slot:empty { display: none; }
.ad-slot { display: grid; gap: 10px; }
.ad { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); }
.ad img { width: 100%; height: auto; }
.ad-wide img { aspect-ratio: 4 / 1; object-fit: cover; }
@media (max-width: 640px) { .ad-wide img { aspect-ratio: 2 / 1; } }
.ad-text { padding: 16px 90px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.ad-label { position: absolute; right: 8px; top: 8px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.ad-inline { padding: 10px 16px; }

/* ---------- 职位详情 ---------- */
.job-head { display: flex; gap: 16px; align-items: flex-start; }
.job-head h1 { font-family: var(--display); font-size: 28px; line-height: 1.15; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--text-2); font-size: 14px; }
.facts > * { display: inline-flex; align-items: center; gap: 5px; }
.orig-note { display: inline-block; font-size: 12px; color: var(--muted); background: #EEF1F5; padding: 1px 6px; border-radius: 4px; margin-top: 4px; }
.desc { white-space: pre-line; color: var(--text-2); line-height: 1.65; max-width: 72ch; }
.kv { display: grid; gap: 0; margin: 8px 0 0; }
.kv > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.kv > div:first-child { border-top: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.applied { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); }
.applied div { display: flex; flex-direction: column; }
.contact-box { display: flex; flex-direction: column; gap: 8px; }
.safe-tip { display: flex; gap: 8px; font-size: 13px; color: var(--warn); background: var(--warn-bg); border-radius: 10px; padding: 10px; }
.safe-tip svg { flex-shrink: 0; }
.similar { margin-top: 28px; }
.match-box { display: flex; gap: 18px; align-items: center; }
.match-box h2 { font-size: 17px; margin-bottom: 6px; }
.match-ring { --p: 0; width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 77%), conic-gradient(var(--ok) calc(var(--p) * 1%), #E3E8EE 0); }
.match-ring b { font-family: var(--display); font-size: 22px; }
.match-list { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.match-list li { display: inline-flex; align-items: center; gap: 4px; }
.match-list .ok { color: var(--ok); }
.match-list .no { color: var(--muted); }

/* ---------- 登录 ---------- */
.auth { display: grid; gap: 20px; max-width: 960px; margin: 0 auto; }
.auth-side { background: var(--navy); color: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.auth-side h1 { font-family: var(--display); font-size: 32px; }
.auth-side p { color: #C9D6EA; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
@media (min-width: 860px) { .auth { grid-template-columns: 1fr 1.1fr; align-items: stretch; } .auth-side { padding: 40px; justify-content: center; } .auth-card { padding: 28px; } }
.role-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--text-2); padding: 0; }
.role-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; background: #fff; text-align: left; font: inherit; color: inherit; }
.role-card input { position: absolute; opacity: 0; }
.role-card span { color: var(--muted); font-size: 13px; }
.role-card:has(input:checked) { border: 2px solid var(--navy); padding: 13px; background: #F7F9FC; }
.role-pick.big .role-card { padding: 22px; }
.role-pick.big .role-card:hover { border-color: var(--navy); }

/* ---------- 账号 / 列表行 ---------- */
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.menu-list a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.menu-list a:hover { border-color: var(--line-strong); }
.notif { display: flex; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.notif-dot { width: 8px; height: 8px; border-radius: 4px; margin-top: 8px; flex-shrink: 0; }
.notif.unread .notif-dot { background: var(--blue); }
.notif.unread { background: #F7F9FD; }
.app-row, .mini-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--text); }
.app-row:hover, .mini-row:hover { background: #F8FAFC; color: var(--text); }
.app-row .job-side { flex-direction: column; align-items: flex-end; }
.dot-new { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--red); vertical-align: 2px; }
.manage-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; }
.manage-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 700px) { .manage-side { align-items: flex-start; width: 100%; } .manage-side .row { justify-content: flex-start; } }
.badge-link { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }

/* 状态标签 */
.status { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 700; background: #EEF1F5; color: var(--text-2); white-space: nowrap; }
.status-submitted, .status-viewed { background: var(--info-bg); color: var(--blue-dark); }
.status-shortlisted, .status-interview, .status-offered { background: var(--warn-bg); color: var(--warn); }
.status-hired { background: var(--ok-bg); color: var(--ok); }
.status-rejected, .status-withdrawn { background: #EEF1F5; color: var(--muted); }
.job-published, .order-paid { background: var(--ok-bg); color: var(--ok); }
.job-pending, .order-pending { background: var(--warn-bg); color: var(--warn); }
.job-rejected { background: var(--err-bg); color: var(--err); }
.job-draft, .job-closed, .job-expired, .order-cancelled, .order-refunded { background: #EEF1F5; color: var(--muted); }

/* 招聘流程进度条：这是一个真实的先后顺序 */
.steps-bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; }
.steps-bar li { flex: 1; min-width: 72px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.steps-bar li::before { content: ""; height: 5px; border-radius: 3px; background: #DDE2E8; }
.steps-bar li.done::before { background: var(--ok); }
.steps-bar li.cur::before { background: var(--yellow); }
.steps-bar li.cur, .steps-bar li.done { color: var(--text); font-weight: 600; }
.steps-bar li.end::before { background: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.timeline time { color: var(--muted); font-size: 12px; }
.ev { display: flex; gap: 10px; align-items: flex-start; }
.ev-dot { width: 10px; height: 10px; border-radius: 5px; margin-top: 6px; flex-shrink: 0; background: var(--line-strong); }
.msg { display: flex; flex-direction: column; max-width: 85%; gap: 2px; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble { white-space: pre-line; padding: 10px 12px; border-radius: 14px; background: #EEF1F5; }
.msg.mine .bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.theirs .bubble { border-bottom-left-radius: 4px; }
.interview-card { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); font-size: 14px; }
.interview-card svg { vertical-align: -3px; margin-right: 4px; }
.interview-card p { margin-top: 6px; white-space: pre-line; }
.compose { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
.compose textarea { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 10px 12px; resize: vertical; }

/* 简历 */
.resume-name { font-family: var(--display); font-size: 24px; }
.resume h3 { font-family: var(--display); font-size: 17px; }
.exp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.exp-list p { color: var(--text-2); margin-top: 4px; white-space: pre-line; }
.locked { display: flex; gap: 10px; padding: 12px; border-radius: var(--r); background: #EEF1F5; color: var(--text-2); font-size: 14px; }
.locked svg { flex-shrink: 0; }
.progress { position: relative; width: 160px; height: 28px; border-radius: 14px; background: #E3E8EE; overflow: hidden; }
.progress span { position: absolute; inset: 0 auto 0 0; background: var(--ok); }
.progress b { position: relative; display: block; text-align: center; line-height: 28px; font-size: 13px; color: var(--text); mix-blend-mode: normal; }

/* 工作台 */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; color: var(--text-2); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.kpi b { font-family: var(--display); font-size: 30px; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi:hover { border-color: var(--line-strong); color: var(--text-2); }

/* 套餐 */
.plans { display: grid; gap: 12px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.plan h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.plan-hl { border: 2px solid var(--navy); }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 30px; }
.plan-price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.addon .grow { display: flex; flex-direction: column; }
.addon-price { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.pitch { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pitch h1 { font-family: var(--display); font-size: 34px; }
.pitch p { max-width: 60ch; color: var(--text-2); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; width: 100%; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 2px; padding-top: 34px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 13px; background: var(--yellow); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.steps span { color: var(--muted); font-size: 14px; }
.pay-methods { display: grid; gap: 10px; }
@media (min-width: 640px) { .pay-methods { grid-template-columns: repeat(3, 1fr); } }
.pay-method { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.pay-method:hover { border-color: var(--navy); }
.pay-method span { color: var(--muted); font-size: 13px; }
.bank dd b { font-variant-numeric: tabular-nums; user-select: all; }

/* ---------- 底部导航 / 页脚 ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 12px; position: relative; }
.tabbar a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.tabbar a[aria-current="page"] svg { color: var(--blue); }
.tabbar .badge { top: 6px; right: calc(50% - 22px); }
@media (min-width: 900px) { .tabbar { display: none; } }
.footer { background: var(--navy); color: #C9D4E5; font-size: 14px; padding: 28px 16px 100px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 900px) { .footer { padding-bottom: 28px; } .footer-inner { grid-template-columns: 1.2fr 1.5fr 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-brand img { height: 30px; width: auto; }
.foot-safe { display: flex; gap: 10px; align-items: flex-start; color: #F5D97A; }
.foot-safe svg { flex-shrink: 0; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.footer a { color: #fff; }

/* 网格子项允许收缩，防止长内容把手机页面撑宽 */
.home-grid > *, .detail-layout > *, .list-layout > * { min-width: 0; }
.panel.pad .mini-row { padding-left: 0; padding-right: 0; }
