/* 赏·伯乐（伯乐引荐计划）· 全站样式。手机优先；深色为品牌默认，浅色跟随系统或手动切换。 */

:root {
  --bg: #07090f;
  --bg-alt: #0b0f17;
  --surface: #10151f;
  --surface-2: #151c29;
  --line: #222b3a;
  --line-soft: #19212e;
  --text: #e9eef6;
  --muted: #9aa6b8;
  --faint: #5d6a7d;
  --cyan: #2ad4ee;
  --cyan-ink: #2ad4ee;
  --cyan-soft: rgba(42, 212, 238, .10);
  --gold: #f5b942;
  --gold-ink: #f5b942;
  --gold-hi: #ffdc8a;
  --gold-soft: rgba(245, 185, 66, .10);
  --rose: #f2808f;
  --rose-soft: rgba(242, 128, 143, .09);
  --on-gold: #1a1204;
  --tbd-bg: #ffe066;
  --tbd-fg: #2b2100;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 40px rgba(0, 0, 0, .35);
  --glow-cyan: 0 0 18px rgba(42, 212, 238, .35);
  --radius: 14px;
  --radius-s: 10px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f3ec; --bg-alt: #efe9dd; --surface: #fffdf8; --surface-2: #f8f4ea;
    --line: #e0d7c5; --line-soft: #ebe4d5; --text: #151b27; --muted: #4f5a6c; --faint: #8a93a2;
    --cyan: #0f9db4; --cyan-ink: #08707f; --cyan-soft: rgba(15, 157, 180, .09);
    --gold: #d99a1e; --gold-ink: #8a5a00; --gold-hi: #b27a10; --gold-soft: rgba(217, 154, 30, .11);
    --rose: #b8324a; --rose-soft: rgba(184, 50, 74, .07);
    --shadow: 0 1px 2px rgba(60, 45, 10, .06), 0 10px 30px rgba(60, 45, 10, .07);
    --glow-cyan: none;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f3ec; --bg-alt: #efe9dd; --surface: #fffdf8; --surface-2: #f8f4ea;
  --line: #e0d7c5; --line-soft: #ebe4d5; --text: #151b27; --muted: #4f5a6c; --faint: #8a93a2;
  --cyan: #0f9db4; --cyan-ink: #08707f; --cyan-soft: rgba(15, 157, 180, .09);
  --gold: #d99a1e; --gold-ink: #8a5a00; --gold-hi: #b27a10; --gold-soft: rgba(217, 154, 30, .11);
  --rose: #b8324a; --rose-soft: rgba(184, 50, 74, .07);
  --shadow: 0 1px 2px rgba(60, 45, 10, .06), 0 10px 30px rgba(60, 45, 10, .07);
  --glow-cyan: none;
  color-scheme: light;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
.tbd { display: inline-block; background: var(--tbd-bg); color: var(--tbd-fg); font-size: .82em; font-weight: 600; line-height: 1.5; padding: 0 .45em; border-radius: 4px; white-space: normal; }
.preview-bar { background: var(--tbd-bg); color: var(--tbd-fg); font-size: 13px; text-align: center; padding: 6px 12px; line-height: 1.5; }

/* ---------- 标志 ---------- */
.mark { width: 28px; height: 28px; flex: none; overflow: visible; }
.mark .mk-ring { fill: none; stroke: var(--cyan); stroke-width: 3.4; }
.mark .mk-handle { fill: none; stroke: var(--cyan); stroke-width: 5; stroke-linecap: round; }
.mark .mk-glint { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.mark .mk-spark { fill: var(--gold); }
:root:not([data-theme="light"]) .site-header .mark { filter: drop-shadow(0 0 6px rgba(42, 212, 238, .45)); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .site-header .mark { filter: none; } }

/* ---------- 顶栏 ---------- */
/* 刘海屏顶部那一条：顶栏吸顶后，正文不会从它上面露出来 */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line-soft); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 17px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--on-gold); background: var(--gold); font-weight: 700; margin-left: 4px; }
.nav .nav-cta:hover { background: var(--gold-hi); color: var(--on-gold); }
.theme-btn { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 4px; border: 1px solid var(--line); background: transparent; border-radius: 10px; cursor: pointer; color: var(--muted); }
.theme-btn:hover { color: var(--text); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-btn .i-sun { display: none; }
  :root:not([data-theme]) .theme-btn .i-moon { display: block; }
}
.brand-name, .nav a { white-space: nowrap; }
/* 名称旁的说明「伯乐引荐计划」：手机上放不下，只在宽屏显示 */
.brand-sub, .footer-sub { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.2; white-space: nowrap; }
.brand-sub { display: none; margin-left: 2px; }
@media (min-width: 640px) { .brand-sub { display: inline; } }
@media (max-width: 359px) {
  .brand { font-size: 16px; gap: 6px; }
  .nav a { padding: 6px 6px; font-size: 14px; }
  .theme-btn { width: 34px; height: 34px; margin-left: 2px; }
}
/* 不到 320 宽时顶栏放不下，先收起「规则」（页脚和正文里都有入口） */
@media (max-width: 319px) {
  .header-row { gap: 6px; }
  .brand { letter-spacing: .02em; }
  .nav a:not(.nav-cta) { display: none; }
}
.updated { font-size: 12px; color: var(--faint); line-height: 1; padding-bottom: 7px; margin-top: -4px; }

/* ---------- 按钮、输入 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--on-gold); box-shadow: 0 6px 24px rgba(245, 185, 66, .22); }
.btn-gold:hover { color: var(--on-gold); box-shadow: 0 8px 30px rgba(245, 185, 66, .34); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-small:hover { border-color: var(--cyan); color: var(--text); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.input, .textarea, .select {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.textarea { min-height: 150px; line-height: 1.7; resize: vertical; }

/* ---------- 版块 ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.h2 { font-size: 26px; line-height: 1.3; font-weight: 800; letter-spacing: .02em; margin-bottom: 10px; }
.h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 32px 0 12px; }
.section-lead { color: var(--muted); max-width: 40em; margin-bottom: 20px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--gold); }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.section-top .section-lead { margin-bottom: 0; }
.section-top .btn { flex: none; }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 22px 0 40px; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -30% auto; height: 560px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(245, 185, 66, .14), transparent 70%),
    radial-gradient(45% 55% at 85% 20%, rgba(42, 212, 238, .12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hero-grid { display: grid; gap: 28px; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--cyan-ink); border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent); border-radius: 999px; padding: 2px 12px; background: var(--cyan-soft); }
.title {
  margin: 10px 0 6px; font-size: clamp(52px, 15vw, 96px); line-height: 1.1; font-weight: 900; letter-spacing: .04em;
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, #c98614 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(245, 185, 66, .25));
}
.sub { color: var(--muted); font-size: 15px; line-height: 1.65; }
.pay-line { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 17px; line-height: 1.65; font-weight: 600;
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.pay-line b { color: var(--gold-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cta-row .btn { flex: 1 1 100%; white-space: normal; text-align: center; line-height: 1.35; padding-top: 10px; padding-bottom: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4;
  background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); }
.badges svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.badges li:first-child svg { fill: var(--gold-soft); }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.65; }

/* 服务费计算 */
.calc { align-self: start; padding: 20px 18px; border-radius: 18px; background: radial-gradient(120% 90% at 100% 0%, var(--gold-soft), transparent 60%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line)); box-shadow: var(--shadow); min-width: 0; }
.calc-h { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-soft); }
.seg button { min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.calc-l { display: block; font-size: 13px; color: var(--muted); margin-top: 16px; }
.calc-cash { display: block; font-size: 32px; line-height: 1.2; font-weight: 900; font-variant-numeric: tabular-nums; }
.range { width: 100%; height: 32px; margin: 4px 0 6px; accent-color: var(--gold); cursor: pointer; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.calc-out dt { color: var(--muted); font-size: 14px; }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-total dt { color: var(--text); font-weight: 700; }
.calc-total dd { font-size: 26px; font-weight: 900; color: var(--gold-ink); }
.calc-note { font-size: 13px; color: var(--muted); line-height: 1.6; min-height: 3.2em; }
.calc-foot { font-size: 12px; color: var(--faint); margin-top: 6px; line-height: 1.6; }
.no-js .calc .seg, .no-js .calc .range { display: none; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 56px; align-items: center; }
  .sub { font-size: 17px; }
  .pay-line { font-size: 19px; padding: 14px 18px; }
  .cta-row .btn { flex: 0 1 auto; }
  .calc { padding: 26px; }
}

/* ---------- 岗位卡片 ---------- */
.job-grid { display: grid; gap: 12px; }
.job-card { min-width: 0; }
.job-link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease; }
.job-link:hover { color: var(--text); border-color: var(--cyan); }
.job-link:active { transform: translateY(1px); }
.job-top { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; }
.job-id { font-family: var(--mono); font-weight: 800; font-size: 13px; color: var(--cyan-ink); padding: 1px 8px; border-radius: 6px; background: var(--cyan-soft); }
.job-fam { color: var(--faint); }
.job-status { margin-left: auto; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.s-open { color: var(--cyan-ink); border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent); }
.s-paused { color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.s-filled { color: var(--faint); border: 1px solid var(--line); }
.job-title { font-size: 17px; line-height: 1.4; font-weight: 800; }
.job-meta { font-size: 13px; color: var(--muted); }
.job-pitch { font-size: 14px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-money { display: grid; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.jm-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.jm-k { font-size: 12px; color: var(--muted); }
.jm-v { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.jm-fee { padding: 6px 8px; margin: 0 -8px; border-radius: 8px; background: var(--gold-soft); }
.jm-fee .jm-k { color: var(--gold-ink); font-weight: 600; }
.jm-fee .jm-v { color: var(--gold-ink); font-size: 15px; font-weight: 800; }
@media (min-width: 640px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* ---------- 三步 ---------- */
.steps3 { display: grid; gap: 12px; }
.steps3 li { position: relative; padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.st-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 900; color: var(--on-gold); background: var(--gold); }
.steps3 h3 { font-size: 18px; line-height: 1.4; margin: 12px 0 6px; }
.steps3 p { color: var(--muted); font-size: 15px; }
.steps3 p b { color: var(--text); }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 16px; } .steps3 li { padding: 24px; } }

/* ---------- 两类推荐人 ---------- */
.aud-grid { display: grid; gap: 14px; }
.aud { padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aud-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--cyan-ink); background: var(--cyan-soft); border-radius: 999px; padding: 1px 10px; }
.aud-hr { border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.aud-hr .aud-tag { color: var(--gold-ink); background: var(--gold-soft); }
.aud h3 { font-size: 19px; margin: 8px 0 10px; }
.ticks li { position: relative; padding: 6px 0 6px 26px; line-height: 1.65; border-top: 1px dashed var(--line-soft); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 6px; font-weight: 800; color: var(--cyan-ink); }
.ticks li.warn { font-weight: 700; }
.ticks li.warn::before { content: "!"; left: 6px; color: var(--gold-ink); }
@media (min-width: 760px) { .aud-grid { grid-template-columns: 1fr 1fr; } .aud { padding: 24px; } }

/* ---------- 安全 ---------- */
.pledge-grid { display: grid; gap: 14px; }
.pledge { border-radius: var(--radius); padding: 20px 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.pledge h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.pledge li { position: relative; padding: 7px 0 7px 30px; border-top: 1px dashed var(--line-soft); line-height: 1.6; }
.pledge li:first-child { border-top: 0; }
.pledge li::before { position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1; }
.pledge-never { border-color: color-mix(in srgb, var(--rose) 35%, var(--line)); }
.pledge-never h3 { color: var(--rose); }
.pledge-never li::before { content: "✕"; color: var(--rose); background: var(--rose-soft); }
.pledge-always { border-color: color-mix(in srgb, var(--cyan) 35%, var(--line)); }
.pledge-always h3 { color: var(--cyan-ink); }
.pledge-always li::before { content: "✓"; color: var(--cyan-ink); background: var(--cyan-soft); }
@media (min-width: 760px) { .pledge-grid { grid-template-columns: 1fr 1fr; } .pledge { padding: 24px; } }

.checker { margin-top: 20px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.checker-label { display: block; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.checker-row { display: flex; gap: 8px; }
.checker-row .input { flex: 1; min-width: 0; }
.checker-row .btn { flex: none; min-height: 46px; }
.checker-result { min-height: 1.6em; margin: 10px 0 2px; font-weight: 600; line-height: 1.6; }
.checker-result.ok { color: var(--cyan-ink); }
.checker-result.bad { color: var(--rose); }
.checker-result.warn { color: var(--gold-ink); }
.no-js .checker { display: none; }

/* ---------- 问答 ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--cyan-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 16px; }
.end-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.end-cta .btn { flex: 1 1 160px; }

/* ---------- 岗位墙 ---------- */
.page-head { padding: 26px 0 10px; }
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--gold-ink); }
.crumb span { margin: 0 6px; }
.page-head h1 { font-size: 30px; line-height: 1.3; font-weight: 800; }
.page-lead { color: var(--muted); max-width: 44em; margin-top: 6px; }
.rule-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.rule-strip li { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); min-width: 0; }
.rule-strip b { display: block; font-size: 20px; line-height: 1.3; font-weight: 900; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.rule-strip span { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (min-width: 760px) { .rule-strip { grid-template-columns: repeat(4, 1fr); } }
.jobs-wrap { padding-bottom: 56px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 12px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.tabs button span { font-size: 12px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-pressed="true"] { color: var(--gold-ink); border-color: var(--gold); background: var(--gold-soft); }
.tabs button[aria-pressed="true"] span { color: var(--gold-ink); }
.no-js .tabs { display: none; }
@media (min-width: 760px) { .tabs { flex-wrap: wrap; margin: 0; padding-left: 0; padding-right: 0; } }

/* ---------- 岗位详情 ---------- */
.job-page { padding: 20px 0 56px; }
.job-layout { display: grid; gap: 20px; }
.job-head { min-width: 0; }
.job-head .job-top { justify-content: flex-start; }
.job-head .job-status { margin-left: 0; }
.job-head h1 { font-size: 26px; line-height: 1.35; font-weight: 800; margin: 10px 0 8px; }
.job-lede { font-size: 17px; line-height: 1.65; }
.job-facts { display: grid; gap: 4px; margin-top: 14px; font-size: 15px; }
.job-facts div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 8px; }
.job-facts dt { color: var(--muted); }
.job-facts dd { margin: 0; }
.job-aside { display: grid; gap: 10px; align-content: start; min-width: 0; }
.money { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.money-k { font-size: 13px; color: var(--muted); font-weight: 600; }
.money-v { font-size: 22px; line-height: 1.35; font-weight: 900; font-variant-numeric: tabular-nums; }
.money-n { font-size: 12px; color: var(--faint); line-height: 1.5; margin-top: 2px; }
.money-fee { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); background: radial-gradient(120% 120% at 100% 0%, var(--gold-soft), transparent 70%), var(--surface); }
.money-fee .money-k, .money-fee .money-v { color: var(--gold-ink); }
.exec-note { font-size: 13.5px; line-height: 1.65; padding: 12px 14px; border-radius: 12px; background: var(--cyan-soft); border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); }
.exec-note b { color: var(--cyan-ink); margin-right: 4px; }
.job-aside .btn { width: 100%; white-space: normal; text-align: center; }
.job-body { min-width: 0; }
.job-body section { margin-top: 28px; }
.job-body section:first-child { margin-top: 4px; }
.job-body h2 { font-size: 20px; line-height: 1.4; font-weight: 800; margin-bottom: 10px; }
.job-body h2 small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.dots li { position: relative; padding-left: 18px; margin: 6px 0; }
.dots li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.job-body .must { padding: 18px 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); background: radial-gradient(120% 120% at 0% 0%, var(--gold-soft), transparent 70%), var(--surface); }
.must h2 { color: var(--gold-ink); }
.must-list { counter-reset: must; }
.must-list li { position: relative; counter-increment: must; padding: 8px 0 8px 36px; border-top: 1px dashed var(--line); font-weight: 600; line-height: 1.65; }
.must-list li:first-child { border-top: 0; }
.must-list li::before { content: counter(must); position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--on-gold); background: var(--gold); }
.two { display: grid; gap: 0 24px; }
.plus-list li, .not-list li { position: relative; padding-left: 22px; margin: 6px 0; }
.plus-list li::before { content: "+"; position: absolute; left: 2px; top: -1px; font-weight: 900; color: var(--cyan-ink); }
.not-list li::before { content: "✕"; position: absolute; left: 2px; top: 1px; font-size: 13px; font-weight: 800; color: var(--rose); }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } .job-head h1 { font-size: 32px; } }
@media (min-width: 960px) {
  .job-layout { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "head aside" "body aside"; gap: 0 48px; }
  .job-head { grid-area: head; }
  .job-aside { grid-area: aside; position: sticky; top: 88px; align-self: start; }
  .job-body { grid-area: body; }
}

/* 推荐区 */
.refer { margin-top: 40px; padding: 22px 16px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: radial-gradient(120% 80% at 100% 0%, var(--gold-soft), transparent 60%), var(--surface); box-shadow: var(--shadow); scroll-margin-top: 80px; }
.refer h2 { font-size: 22px; line-height: 1.4; font-weight: 800; }
.refer-lead { color: var(--muted); margin: 6px 0 14px; }
.send-rows div { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.send-rows dt { color: var(--muted); font-size: 14px; }
.send-rows dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.send-rows .sr-act .btn { min-height: 36px; padding: 0 12px; }
.tpl { margin-top: 14px; border-radius: var(--radius-s); border: 1px solid var(--line); overflow: hidden; }
.tpl-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 8px 14px; font-size: 13px; font-weight: 700; background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.tpl-h span { font-weight: 500; color: var(--faint); }
.tpl pre { margin: 0; padding: 14px; max-height: 380px; overflow: auto; background: var(--bg); font-family: var(--font); font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; color: var(--text); }
.refer-actions { display: grid; gap: 10px; margin: 14px 0 12px; }
.refer-actions .btn { white-space: normal; text-align: center; }
.dual { display: grid; gap: 16px; margin-top: 6px; }
.mod { padding: 18px 16px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); min-width: 0; }
.mod > p:not([class]) { color: var(--muted); margin-bottom: 8px; }
.mod-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--on-gold); background: var(--gold); border-radius: 999px; padding: 1px 10px; }
.mod-a .mod-tag { color: var(--cyan-ink); background: var(--cyan-soft); }
.mod h3 { font-size: 19px; margin: 8px 0 6px; }
.refer-closed { border-color: var(--line); background: var(--surface); }
.refer-closed p { color: var(--muted); margin-top: 8px; }
@media (min-width: 640px) { .refer { padding: 28px; } .refer-actions { display: flex; flex-wrap: wrap; } .refer-actions .btn { flex: 1 1 220px; } }
@media (min-width: 1000px) { .dual { grid-template-columns: 1fr 1fr; } }

/* 规则摘要 */
.rule-sum { margin-top: 32px; }
.rule-sum h2 { font-size: 18px; margin-bottom: 10px; }
.rs-grid { display: grid; gap: 10px; }
.rs-grid li { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); border-top: 3px solid var(--gold); }
.rs-grid b { display: block; font-size: 20px; font-weight: 900; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.rs-grid span { display: block; font-size: 13.5px; line-height: 1.65; color: var(--muted); margin-top: 2px; }
.rs-more { margin-top: 12px; font-weight: 700; }
.back { margin-top: 24px; font-size: 14px; }
@media (min-width: 760px) { .rs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .rs-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 页脚 ---------- */
.site-footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); font-size: 14px; }
.footer-grid { display: grid; gap: 20px; }
.footer-grid p + p { margin-top: 8px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: .06em; margin-bottom: 6px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold-ink); }
.site-footer > .wrap > p { margin-top: 20px; }
.changelog { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--line); }
.changelog h2 { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.changelog li { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.changelog time { color: var(--faint); font-variant-numeric: tabular-nums; flex: none; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }

/* ---------- 提示条 ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); text-align: center; }

/* ---------- 文档页（规则、隐私） ---------- */
.doc { padding: 36px 0 56px; }
.doc-head { margin-bottom: 20px; }
.doc-head h1 { font-size: 30px; line-height: 1.3; font-weight: 800; margin-bottom: 6px; }
.doc-head p { color: var(--muted); }
.sum-box { padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.doc-toc { margin: 20px 0 28px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); font-size: 14px; }
.doc-toc ol { display: grid; gap: 2px 18px; list-style: decimal; padding-left: 1.4em; }
@media (min-width: 760px) { .doc-toc ol { grid-template-columns: 1fr 1fr; } }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--gold-ink); }
.doc h2 { font-size: 20px; line-height: 1.4; margin: 36px 0 10px; padding-top: 8px; }
.doc h2 .n { color: var(--gold-ink); margin-right: .4em; font-variant-numeric: tabular-nums; }
.doc p { margin: 8px 0; }
.doc ul { margin: 8px 0; }
.doc ul li { position: relative; padding-left: 18px; margin: 5px 0; }
.doc ul li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.doc ul ul { margin: 4px 0; }
.doc ul ul li::before { background: transparent; border: 1.5px solid var(--cyan); width: 5px; height: 5px; }
.doc ol.num { list-style: decimal; padding-left: 1.5em; margin: 8px 0; }
.doc ol.num li { margin: 6px 0; padding-left: 4px; }
.doc .box { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); margin: 12px 0; }
.formula { margin: 12px 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); border-left: 3px solid var(--gold); }
.formula p { margin: 6px 0; }
.formula b { color: var(--gold-ink); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; }
.fee-table th, .fee-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-table td + td { color: var(--gold-ink); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc code { font-family: var(--font); font-size: .95em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.doc .end-cta { margin: 0 0 20px; }

[hidden] { display: none !important; }
