/* 攻略正文沿用首页主题，以手机阅读和触控为优先。 */
.trust-article { max-width: 900px; }
.trust-article h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; padding: 12px 18px; color: #080c0f; background: #4eed98; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.guide-article { padding-top: 36px; padding-bottom: 64px; max-width: 1160px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: #a8b7c8; font-size: .9rem; margin-bottom: 32px; }
.breadcrumbs a { color: var(--color-brand-green-light); }
.article-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 36px; }
.article-kicker { color: var(--color-brand-green-light); font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-bottom: 14px; }
.article-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; margin-bottom: 20px; }
.article-intro { color: #c0ccda; font-size: 1.12rem; line-height: 1.75; }
.article-meta { color: #a8b7c8; font-size: .86rem; line-height: 1.6; margin-top: 18px; }
.article-cover { margin: 0; min-width: 0; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.article-cover figcaption, .guide-figure figcaption { color: #a8b7c8; font-size: .85rem; line-height: 1.6; margin-top: 10px; }
.article-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 18px 22px; margin: 32px 0 12px; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: 16px; }
.article-toc a { color: #c6d7e5; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.article-toc a:hover { color: var(--color-brand-green-light); }
.article-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.article-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--color-brand-green-light); background: var(--bg-surface-elevated); }
.article-shortcuts a:focus-visible { outline: 2px solid var(--color-brand-green-light); outline-offset: 3px; }
.phone-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.phone-install-card { min-width: 0; padding: 22px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface-elevated); scroll-margin-top: 110px; }
.phone-install-card .guide-figure { margin: 20px 0; }
.installation-evidence { color: #a6b5c5; font-size: .9rem; }
@media (max-width: 767px) { .phone-install-grid { grid-template-columns: minmax(0, 1fr); } .phone-install-card { padding: 18px; } }
.article-body { font-size: 1rem; line-height: 1.85; color: #c0ccda; overflow-wrap: anywhere; }
.article-section { padding: 32px 0; scroll-margin-top: 110px; border-bottom: 1px solid var(--border-subtle); }
.article-section h2 { color: #fff; font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.3; margin-bottom: 20px; }
.article-section h3 { color: #fff; font-size: 1.15rem; line-height: 1.4; margin: 22px 0 12px; }
.article-section p { margin-bottom: 16px; }
.article-section a { color: var(--color-brand-green-light); text-decoration: underline; text-underline-offset: 3px; }
.article-section ul, .article-section ol { padding-left: 24px; }
.article-section li { padding-left: 4px; margin-bottom: 12px; }
.article-note { padding: 22px; background: rgba(0, 210, 106, .06); border: 1px solid rgba(0, 210, 106, .25); border-left: 4px solid var(--color-brand-green); border-radius: 12px; }
.article-note p { margin-bottom: 0; }
.illustrated-steps { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: start; gap: 36px; }
.article-steps li::marker { color: var(--color-brand-green-light); font-weight: 700; }
.article-steps strong { color: #fff; }
.article-steps p { margin: 6px 0 18px; }
.guide-figure { margin: 0; min-width: 0; }
.guide-figure img { display: block; width: 100%; max-width: 480px; height: auto; border-radius: 20px; }
.origin-grid, .gig-grid, .career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.origin-card, .career-card { padding: 24px; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-surface); min-width: 0; }
.origin-card h3 { margin-top: 0; }
.origin-card p:last-child { margin-bottom: 0; }
.career-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.career-jump a { padding: 10px 14px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-surface-elevated); text-decoration: none; line-height: 1.5; }
.career-card { scroll-margin-top: 110px; }
.career-heading { display: flex; align-items: center; gap: 14px; }
.career-heading > span { font-size: 1.6rem; }
.career-heading h3 { font-size: 1.35rem; margin: 0; }
.career-card > p { margin-top: 12px; font-size: .95rem; }
.career-facts { margin: 20px 0; font-size: .92rem; }
.career-facts > div { padding: 8px 0; }
.career-facts dt { color: #a8b7c8; font-size: .8rem; }
.career-facts dd { color: #e5ecf4; margin: 0; }
.career-levels { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: fixed; }
.career-levels caption { text-align: left; font-size: .82rem; color: #a8b7c8; padding-bottom: 8px; }
.career-levels th, .career-levels td { padding: 10px 0; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: top; line-height: 1.6; }
.career-levels th { font-weight: 500; width: 69%; padding-right: 12px; }
.career-levels td { text-align: right; white-space: nowrap; color: var(--color-brand-green-light); font-variant-numeric: tabular-nums; }
.career-levels thead th:last-child { text-align: right; width: 31%; padding-right: 0; }
.career-promotion { color: #a8b7c8; font-size: .85rem !important; margin-bottom: 0 !important; }
.related-guides { margin-top: 36px; }
.related-guides h2 { font-size: 1.5rem; margin-bottom: 16px; }
.related-guides a { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 18px 20px; margin-top: 12px; border: 1px solid var(--border-subtle); border-radius: 12px; color: #e5ecf4; background: var(--bg-surface); }
.related-guides a:hover { border-color: var(--color-brand-green); }
.guide-page .community-section { max-width: 1160px; margin: auto; }
@media (max-width: 768px) {
 .article-hero, .illustrated-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .origin-grid, .gig-grid, .career-grid { grid-template-columns: minmax(0, 1fr); }
 .article-cover img { max-height: 260px; }
 .guide-figure { max-width: 420px; margin: 0 auto; }
 .guide-article { padding-top: 24px; }
 .article-toc { gap: 4px 18px; padding: 14px 18px; }
 .article-toc strong { flex-basis: 100%; }
}
@media (max-width: 430px) {
 .origin-card, .career-card { padding: 18px; }
 .article-note { padding: 18px; }
 .article-section { padding: 26px 0; }
 .article-hero h1 { font-size: 2rem; }
 .career-levels { font-size: .88rem; }
 .article-intro { font-size: 1rem; }
 .article-body { line-height: 1.8; }
}

/* 可独立摘取的简短答案，保持可见正文与证据说明。 */
.article-answer { padding: 20px 22px; margin: 18px 0; border: 1px solid rgba(0, 210, 106, .28); border-left: 4px solid var(--color-brand-green); border-radius: 14px; background: rgba(0, 210, 106, .06); }
.answer-label { display: block; color: var(--color-brand-green-light); font-size: .9rem; margin-bottom: 8px; }
.article-answer p { color: #d9e4ee; line-height: 1.75; font-size: 1rem; margin: 0; }
.section-answer { color: #e5ecf4; }
.source-ref { font-size: .92em; }
.source-list li { scroll-margin-top: 110px; }
.source-list li p { color: #a8b7c8; font-size: .9rem; margin: 4px 0 16px; }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 24px 0; font-size: .94rem; }
.comparison-table caption { text-align: left; color: #a8b7c8; font-size: .86rem; padding: 0 0 12px; line-height: 1.6; }
.comparison-table th, .comparison-table td { text-align: left; vertical-align: top; padding: 14px 12px; border: 1px solid var(--border-subtle); overflow-wrap: anywhere; line-height: 1.65; }
.comparison-table thead th { color: #fff; background: var(--bg-surface-elevated); font-weight: 600; }
.comparison-table tbody th { color: #e5ecf4; background: var(--bg-surface); font-weight: 500; }
.official-game-shot { margin: 24px 0 0; }
.official-game-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border-subtle); border-radius: 16px; }
.official-game-shot > a { display: block; }
.official-game-shot figcaption { margin-top: 12px; color: #a8b7c8; font-size: .85rem; line-height: 1.7; }
.phone-game-shot { max-width: 390px; margin-left: auto; margin-right: auto; }
.game-shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.game-shot-grid .official-game-shot { width: 100%; min-width: 0; }
.article-body h3[id], .article-body figure[id], .game-shot-grid[id] { scroll-margin-top: 110px; }
@media (max-width: 768px) {
 .game-shot-grid { grid-template-columns: minmax(0, 1fr); }
 .mobile-stack-table, .mobile-stack-table tbody { display: block; }
 .mobile-stack-table caption { display: block; }
 .mobile-stack-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .mobile-stack-table tr { display: block; margin: 0 0 16px; padding: 16px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 14px; }
 .mobile-stack-table tbody th { display: block; border: 0; background: none; padding: 0 0 10px; font-size: 1rem; font-weight: 600; }
 .mobile-stack-table td { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; border: 0; border-top: 1px solid var(--border-subtle); padding: 10px 0; }
 .mobile-stack-table td::before { content: attr(data-label); color: #a8b7c8; font-size: .85rem; }
}
@media (max-width: 430px) {
 .article-answer { padding: 16px 18px; }
 .mobile-stack-table td { grid-template-columns: minmax(0, 1fr); gap: 4px; }
 .article-hero h1 { font-size: 1.9rem; }
}
/* 职业工具：深色绿色风格，移动优先，对比矩阵与零滚动交互 */
.job-finder { scroll-margin-top: 100px; }
.tool-page .guide-article { padding-top: 20px; padding-bottom: 40px; }
.tool-page .breadcrumbs { margin-bottom: 16px; }

.finder-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.finder-heading h1 { font-family: 'Outfit', sans-serif; font-size: clamp(1.75rem, 3.5vw, 2.3rem); line-height: 1.2; color: #fff; margin: 0; }
.finder-heading h2, .finder-heading h3 { margin: 0; color: #fff; }
.finder-heading .article-kicker { color: var(--color-brand-green-light); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; margin: 0 0 6px; }
.finder-heading > a, .finder-source a, .finder-detail-link { color: var(--color-brand-green-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.finder-intro { max-width: 780px; margin: 12px 0 6px; font-size: 0.98rem; line-height: 1.6; color: #c0ccda; }
.finder-disclaimer { color: #8fa2b3; font-size: 0.85rem; max-width: 800px; margin: 0 0 16px; line-height: 1.5; }
.finder-disclaimer strong { color: #9aefbb; font-weight: 600; }

/* 筛选控件区：整洁紧凑、层级明确 */
.finder-controls {
  margin: 16px 0 12px;
  padding: 16px;
  background: #0f1914;
  border: 1px solid rgba(78, 237, 152, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finder-controls[hidden],
.finder-comparison[hidden],
.finder-selection-dock[hidden],
.finder-active-chips[hidden],
.finder-search-clear[hidden],
.job-finder [hidden] {
  display: none !important;
}

.finder-search-wrap { width: 100%; }
.finder-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: #d0dde8; min-width: 0; }
.finder-input-affix { position: relative; display: flex; align-items: center; width: 100%; }

.finder-controls input, .finder-controls select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #284436;
  border-radius: 10px;
  background: #09120e;
  color: #eaf1f7;
  font: inherit;
  font-size: 0.95rem;
  color-scheme: dark;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.finder-controls input:focus, .finder-controls select:focus {
  border-color: #4eed98;
  outline: none;
  box-shadow: 0 0 0 3px rgba(78, 237, 152, 0.2);
}
.finder-controls input::placeholder { color: #6e8494; }

.finder-search-clear {
  position: absolute;
  right: 10px;
  min-height: 32px;
  width: 32px;
  padding: 0;
  border: none;
  background: #192d23;
  color: #a3c4b5;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.finder-search-clear:hover { background: #234333; color: #fff; }

.finder-select-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

/* 活跃标签药丸栏 */
.finder-active-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(78, 237, 152, 0.15);
}
.active-chip {
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(78, 237, 152, 0.12);
  border: 1px solid rgba(78, 237, 152, 0.35);
  color: #c0f4d7;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}
.active-chip:hover { background: rgba(78, 237, 152, 0.22); color: #fff; }
.active-chip-clear-all {
  min-height: 32px;
  padding: 4px 8px;
  background: transparent;
  border: none;
  color: #8fa2b3;
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
}
.active-chip-clear-all:hover { color: #ff9e9e; }

/* 状态工具条 */
.finder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.finder-toolbar p { margin: 0; font-size: 0.88rem; color: #a9bac7; font-weight: 500; }
.finder-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.finder-toolbar-actions span { color: #8fa2b3; font-size: 0.85rem; }
.btn-tool-reset {
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #365042;
  border-radius: 8px;
  background: #112019;
  color: #cce3d7;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-tool-reset:hover { background: #193126; border-color: #4eed98; color: #fff; }

.finder-selection-status { font-size: 0.85rem; color: #88ecc0; margin: 6px 0; min-height: 1.2em; }
.finder-selection-status:empty { display: none; }

/* 结果卡片网格与卡片设计 */
.finder-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 24px;
}
.finder-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  background: #0f1914;
  border: 1px dashed rgba(78, 237, 152, 0.25);
  border-radius: 16px;
  color: #bac8d3;
}
.btn-primary-subtle {
  margin-top: 14px;
  min-height: 42px;
  padding: 8px 18px;
  background: #173827;
  border: 1px solid #4eed98;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.finder-result-card {
  position: relative;
  background: #0d1712;
  border: 1px solid rgba(78, 237, 152, 0.16);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.finder-result-card:hover {
  border-color: rgba(78, 237, 152, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.finder-result-card.is-selected {
  border-color: #4eed98;
  background: #112019;
  box-shadow: 0 0 0 1px #4eed98, 0 6px 24px rgba(78, 237, 152, 0.12);
}

.finder-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.finder-card-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.finder-card-emoji {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #172c21;
  border: 1px solid rgba(78, 237, 152, 0.2);
  border-radius: 12px;
}
.finder-card-name {
  font-size: 1.12rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}
.finder-card-rank-title {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: #9cb1c2;
  line-height: 1.35;
}

/* 对比切换按钮 */
.finder-card-btn-compare {
  flex-shrink: 0;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #365b47;
  background: #15271e;
  color: #a4eec4;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.finder-card-btn-compare:hover {
  background: #1f3b2e;
  border-color: #4eed98;
  color: #fff;
}
.finder-card-btn-compare.is-active {
  background: #00d26a;
  border-color: #4eed98;
  color: #06120b;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 210, 106, 0.35);
}

/* 薪资行 */
.finder-card-pay-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.finder-card-pay {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #4eed98;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.finder-card-pay-sub {
  font-size: 0.78rem;
  color: #8fa2b3;
  font-weight: 500;
}

/* 标签行 */
.finder-card-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.35;
  background: #16241c;
  color: #d2e3d9;
  border: 1px solid rgba(78, 237, 152, 0.12);
}
.chip-skill { color: #8ef7be; background: rgba(0, 210, 106, 0.08); border-color: rgba(78, 237, 152, 0.25); font-weight: 600; }
.chip-city { color: #adc0cf; }
.chip-req { color: #a4ceba; }
.chip-req.is-strict {
  background: rgba(255, 171, 0, 0.1);
  border-color: rgba(255, 171, 0, 0.35);
  color: #ffd277;
  font-weight: 600;
}

/* 单卡片 5 级职位表手风琴 */
.finder-card-ladder {
  margin-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}
.finder-card-ladder summary {
  font-size: 0.8rem;
  color: #7ba291;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.finder-card-ladder summary:hover { color: #4eed98; }
.card-ladder-list {
  list-style: none;
  padding: 8px 0 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-ladder-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: #09120e;
}
.card-ladder-list li.is-current-level {
  background: rgba(78, 237, 152, 0.12);
  border: 1px solid rgba(78, 237, 152, 0.3);
}
.ladder-lvl-num { color: #7f998c; font-weight: 600; }
.ladder-lvl-title { color: #d6e2eb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ladder-lvl-pay { color: #86ecb4; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-ladder-footer { margin-top: 8px; text-align: right; }

/* 底部常驻悬浮条 Dock：核心优化，减少手机上下滚动 */
.finder-selection-dock {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 680px);
  background: rgba(13, 24, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(78, 237, 152, 0.45);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 210, 106, 0.2);
  padding: 10px 14px;
}
.finder-selection-dock[hidden] { display: none !important; }
.job-finder:has(.finder-selection-dock:not([hidden])) {
  padding-bottom: 96px;
}

.finder-dock-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.finder-dock-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.finder-dock-summary::-webkit-scrollbar { display: none; }

.finder-dock-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4eed98;
  white-space: nowrap;
  background: #09150f;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(78, 237, 152, 0.25);
}
.finder-dock-chips {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dock-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #172d21;
  border: 1px solid rgba(78, 237, 152, 0.3);
  font-size: 0.78rem;
  color: #e5f5eb;
  white-space: nowrap;
}
.dock-chip-remove {
  background: transparent;
  border: none;
  color: #a4ceba;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.dock-chip-remove:hover { color: #ff8b8b; }

.finder-dock-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.finder-dock-btn-compare {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00d26a 0%, #4eed98 100%);
  border: none;
  color: #06170d;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 210, 106, 0.35);
  white-space: nowrap;
}
.finder-dock-btn-compare:hover { filter: brightness(1.08); }

.finder-dock-btn-clear {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #16291f;
  border: 1px solid #365544;
  color: #a9c6b7;
  font-size: 0.82rem;
  cursor: pointer;
}
.finder-dock-btn-clear:hover { background: #213c2d; color: #ff8f8f; border-color: #633f3f; }

/* 页面内对比面板 */
.finder-comparison {
  scroll-margin-top: 90px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #39634e;
  border-radius: 16px;
  background: #0f1c15;
}
.finder-comparison[hidden] { display: none; }
.finder-comparison > summary {
  color: #4eed98;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.btn-clear-compare, .btn-modal-clear {
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid #4a6f5b;
  border-radius: 8px;
  background: #14281e;
  color: #c9ded3;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-clear-compare:hover, .btn-modal-clear:hover { background: #233f30; color: #fff; }

/* 模态抽屉（Modal Dialog） */
.finder-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(calc(100% - 24px), 940px);
  max-height: 90vh;
  padding: 0;
  border: 1px solid rgba(78, 237, 152, 0.45);
  border-radius: 18px;
  background: #0d1812;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  color: #eaf1f7;
  overflow: hidden;
}
.finder-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.finder-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.finder-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #112018;
}
.finder-modal-close {
  min-height: 38px;
  width: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #365b47;
  background: #172c21;
  color: #a4ceba;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.finder-modal-close:hover { background: #264936; color: #fff; }

.finder-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #09130e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #9cb1c2;
}
.finder-modal-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  overflow-x: auto;
}

/* 差异矩阵比对（Difference Matrix） */
.finder-diff-matrix {
  width: 100%;
  min-width: 0;
}
.finder-diff-grid {
  display: grid;
  grid-template-columns: repeat(var(--diff-columns, 3), minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.finder-diff-card {
  background: #122119;
  border: 1px solid rgba(78, 237, 152, 0.2);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.finder-diff-card.is-highest-pay {
  border-color: #ffd166;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.35);
}

.diff-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.diff-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.diff-emoji {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1b3427;
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.diff-career-name {
  margin: 0;
  font-size: 0.98rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diff-position-title {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: #9bb3a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-diff-remove {
  flex-shrink: 0;
  white-space: nowrap;
  background: transparent;
  border: 1px solid #3d5849;
  color: #a4ceba;
  padding: 3px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
  border-radius: 6px;
  cursor: pointer;
}
.btn-diff-remove:hover { color: #ff9191; border-color: #794444; background: #261616; }

.diff-pay-banner {
  background: #09130e;
  border: 1px solid rgba(78, 237, 152, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
}
.diff-pay-banner.is-top {
  border-color: rgba(255, 209, 102, 0.4);
  background: #191b10;
}
.diff-pay-amount {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #4eed98;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.diff-pay-banner.is-top .diff-pay-amount { color: #ffd166; }
.diff-pay-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #8fa2b3;
}
.diff-badge-top {
  color: #ffd166;
  font-weight: 700;
  font-size: 0.75rem;
}

.diff-attributes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  background: #0b1510;
  padding: 10px 12px;
  border-radius: 10px;
}
.diff-attr-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.diff-attr-label {
  color: #7ba28e;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.diff-attr-value { color: #eaf1f7; }
.skill-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4eed98;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.req-highlight { color: #ffd277; font-weight: 600; }
.req-none { color: #9aefbb; }

.diff-ladder-section {
  background: #09130e;
  padding: 10px 12px;
  border-radius: 10px;
}
.diff-ladder-title {
  margin: 0 0 6px;
  font-size: 0.75rem;
  color: #7ba28e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.diff-ladder-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diff-ladder-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  padding: 3px 6px;
  border-radius: 5px;
}
.diff-ladder-item.is-active-rank {
  background: rgba(78, 237, 152, 0.14);
  font-weight: 600;
}
.ladder-rank { color: #7fa090; font-weight: 600; }
.ladder-title { color: #cedbe5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ladder-pay { color: #4eed98; font-variant-numeric: tabular-nums; }
.diff-card-footer { margin-top: auto; padding-top: 4px; }
.finder-compare-empty { padding: 24px; text-align: center; color: #a9bac7; margin: 0; }

/* 键盘可访问性 */
.job-finder :is(button, input, select, a, summary):focus-visible {
  outline: 3px solid #4eed98;
  outline-offset: 2px;
}

/* 响应式断点适配 (768px, 430px, 390px, 320px) */
@media (max-width: 768px) {
  .finder-select-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-results { grid-template-columns: 1fr; }
  .finder-modal {
    inset: auto 0 0 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
  }
  .finder-modal-inner { max-height: 85vh; }
  .finder-diff-grid {
    grid-template-columns: repeat(var(--diff-columns, 3), minmax(260px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 430px) {
  .tool-page .guide-article { padding-top: 14px; }
  .finder-controls { padding: 12px; }
  .finder-heading h1 { font-size: 1.6rem; }
  .finder-result-card { padding: 14px; }
  .finder-card-emoji { width: 38px; height: 38px; font-size: 1.3rem; }
  .finder-card-pay { font-size: 1.35rem; }
  .finder-diff-grid {
    grid-template-columns: repeat(var(--diff-columns, 3), minmax(250px, 1fr));
  }
  .finder-dock-content { flex-direction: column; align-items: stretch; gap: 8px; }
  .finder-dock-summary { justify-content: space-between; }
  .finder-dock-buttons { width: 100%; }
  .finder-dock-btn-compare { flex: 1; text-align: center; }
  .job-finder:has(.finder-selection-dock:not([hidden])) {
    padding-bottom: 120px;
  }
}

@media (max-width: 340px) {
  .finder-select-group { grid-template-columns: 1fr; }
  .finder-card-header { flex-direction: column; align-items: stretch; }
  .finder-card-btn-compare { width: 100%; text-align: center; }
}

/* 比较卡片标题避免覆盖移除按钮，按钮保留可触控尺寸。 */
.diff-title-row > div { min-width: 0; }
.job-finder .btn-diff-remove { width: 44px; min-width: 44px; min-height: 44px; padding: 8px; font-size: 1rem; }

/* 炼油职业分支在卡片内选择，保持筛选区紧凑。 */
.finder-track-label { display: grid; gap: 6px; margin: 12px 0; color: #c0ccda; font-size: .82rem; }
.finder-track-label select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #284436; border-radius: 8px; background: #09120e; color: #eaf1f7; font: inherit; }
.finder-controls select:disabled { opacity: .55; }
