/* 浅色高级视觉层 — 统一和谐，不割裂 */
:root {
  --ink: #f4f6f9;
  --ink-soft: #eef1f6;
  --ink-card: #ffffff;
  --line: rgba(20, 28, 45, 0.08);
  --text: #1a2233;
  --muted: #6b7385;
  --brand: #fd7753;
  --brand-soft: #ff8f6a;
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 16px;
  --font: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html.ww-root, body.ww-body {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(253, 119, 83, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(120, 160, 255, 0.08), transparent 45%),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  cursor: none;
}
@media (max-width: 900px), (pointer: coarse) {
  body.ww-body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

a { color: var(--brand); }
a:hover { color: #e85f3a; }
.muted { color: var(--muted); }
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--brand), #ffc299);
  box-shadow: 0 0 10px rgba(253,119,83,.35);
  transform-origin: left;
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--brand);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(253,119,83,.45);
  transition: width .2s ease, height .2s ease, background .2s ease, border-color .2s ease;
}
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  background: rgba(253,119,83,.1);
  border-color: var(--brand);
}

.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.ambient-a {
  width: 42vw; height: 42vw; max-width: 480px; max-height: 480px;
  left: -8%; top: -10%;
  background: radial-gradient(circle, rgba(253,119,83,.22), transparent 70%);
}
.ambient-b {
  width: 36vw; height: 36vw; max-width: 420px; max-height: 420px;
  right: -6%; top: 40%;
  background: radial-gradient(circle, rgba(130,170,255,.16), transparent 70%);
}
.ambient-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,28,45,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,28,45,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
  opacity: .55;
}

/* 玻璃拟态底部导航 — 浅色 */
.glass-tabbar {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-top: 1px solid rgba(20,28,45,.08) !important;
  box-shadow: 0 -8px 30px rgba(20, 28, 45, 0.06) !important;
}
.tabbar-item { color: #8a92a3 !important; }
.tabbar-item.active { color: var(--brand) !important; }
.tabbar-item.active .tabbar-icon {
  filter: drop-shadow(0 4px 10px rgba(253,119,83,.35));
}

.glass-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(20, 28, 45, 0.06);
}

.hero-premium {
  position: relative;
  min-height: min(72vh, 680px);
  display: flex; align-items: center;
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero-premium.hero-search-only {
  min-height: 0;
  padding: 28px 0 8px;
  align-items: center;
  justify-content: center;
}
.hero-premium.hero-search-only .hero-copy {
  max-width: none;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-premium.hero-search-only .search-premium {
  max-width: 640px;
  width: 100%;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero-premium .hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.hero-kicker i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #141c2b;
  background: linear-gradient(120deg, #141c2b 10%, #3a4558 55%, var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
  font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 28px;
}
.search-premium {
  display: flex; gap: 0; max-width: 560px;
  border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 28, 45, 0.08);
}
.search-premium input {
  flex: 1; border: 0; background: transparent; color: var(--text);
  padding: 16px 20px; outline: none; font: inherit;
}
.search-premium button {
  border: 0; padding: 0 26px; cursor: pointer; font: inherit; font-weight: 600;
  background: linear-gradient(135deg, var(--brand), #ff8f66); color: #fff;
}
.hero-orb {
  position: absolute; right: 4%; top: 16%;
  width: min(360px, 40vw); height: min(360px, 40vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(253,119,83,.35), transparent 62%);
  filter: blur(1px);
  opacity: .85;
}

.section { padding: 36px 0; }
.section-head h2, .page-title {
  font-family: var(--display); letter-spacing: -0.02em; color: #141c2b;
}
.job-card, .company-card, .detail-head, .detail-block, .form, .empty,
.stat-card, .two-col section, .app-card, .user-card, .portal-side {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.05);
  color: var(--text);
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(253,119,83,.28);
  box-shadow: 0 18px 40px rgba(253,119,83,.1);
}
.job-meta span {
  background: rgba(253,119,83,.1); color: #c65335;
}
.salary { color: var(--brand); }
.btn-primary, .filter-bar button {
  background: linear-gradient(135deg, var(--brand), #ff8f66);
  box-shadow: 0 8px 22px rgba(253,119,83,.22);
  color: #fff;
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--text); background: #fff;
}
.filter-bar input, .filter-bar select, .form input, .form select, .form textarea {
  background: #fff; border-color: var(--line); color: var(--text);
}
.flash {
  background: rgba(255,255,255,.92); border-color: var(--line); color: var(--text);
}
.flash-success { border-color: #b7eb8f; background: #f6ffed; }
.flash-danger { border-color: #ffa39e; background: #fff2f0; }
.flash-warning { border-color: #ffe58f; background: #fffbe6; }

/* ===== 求职个人中心布局 ===== */
.seeker-center {
  padding-top: 20px;
  padding-bottom: 12px;
}
.seeker-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 0%, rgba(253,119,83,.14), transparent 40%),
    #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.04);
  margin-bottom: 14px;
}
.seeker-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.seeker-identity .portal-avatar {
  margin: 0;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(135deg, var(--brand), #ffb08a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(253,119,83,.28);
}
.seeker-identity-text { min-width: 0; }
.seeker-identity-text h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.02em;
  color: #141c2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seeker-identity-text p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seeker-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.seeker-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #3a4558;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.seeker-chip:hover { border-color: rgba(253,119,83,.35); color: var(--brand); }
.seeker-chip.danger { color: #cf1322; border-color: #ffccc7; }

.seeker-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.seeker-tabs::-webkit-scrollbar { display: none; }
.seeker-tabs a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  color: #5c6578;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}
.seeker-tabs a:hover { color: var(--brand); border-color: rgba(253,119,83,.3); }
.seeker-tabs a.active {
  background: linear-gradient(135deg, var(--brand), #ff8f66);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(253,119,83,.22);
}

.seeker-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.04);
  padding: 20px;
  min-height: 320px;
}
.seeker-page-head {
  margin-bottom: 16px;
}
.seeker-page-head .page-title {
  margin: 0 0 6px;
  font-size: 22px;
}
.seeker-form { box-shadow: none; border: 0; padding: 0; background: transparent; }

/* 我的简历：分区折叠，降低填写压力 */
.resume-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.resume-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-family: var(--display);
  color: #141c2b;
}
.resume-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.resume-progress-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.resume-progress-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}
.resume-track {
  stroke: #eef0f4;
}
.resume-bar {
  stroke: var(--brand);
  stroke-linecap: round;
  transition: stroke-dasharray .35s ease;
}
.resume-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.resume-progress-text strong {
  font-size: 13px;
  color: var(--brand);
  line-height: 1.1;
}
.resume-progress-text span {
  font-size: 10px;
  color: var(--muted);
}

.resume-hero-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f2, #fff);
  border: 1px solid rgba(253,119,83,.2);
}
.resume-hero-copy {
  flex: 1;
  min-width: 140px;
}
.resume-hero-copy strong {
  display: block;
  font-size: 14px;
  color: #141c2b;
  margin-bottom: 2px;
}
.resume-hero-copy p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.resume-file-pick,
.resume-reupload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ff8f66);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
}
.resume-reupload {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(253,119,83,.35);
  padding: 6px 12px;
  font-size: 12px;
}
.resume-file-done {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}
.resume-file-done a {
  font-size: 13px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resume-file-name {
  width: 100%;
  margin: 0;
  font-size: 12px;
}

.resume-form { display: flex; flex-direction: column; gap: 10px; }
.resume-sec {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfc;
  overflow: hidden;
}
.resume-sec summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.resume-sec summary::-webkit-details-marker { display: none; }
.resume-sec summary::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9aa3b2;
  border-bottom: 2px solid #9aa3b2;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.resume-sec[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.resume-sec-title {
  font-size: 15px;
  font-weight: 700;
  color: #141c2b;
  padding-right: 20px;
}
.resume-sec-hint {
  font-size: 12px;
  color: var(--muted);
  padding-right: 20px;
}
.resume-sec-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin: 0 2px;
}
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.resume-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #5c6578;
  margin: 0;
}
.resume-field input,
.resume-field select,
.resume-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: #141c2b;
  background: #fff;
  outline: none;
}
.resume-field input:focus,
.resume-field select:focus,
.resume-field textarea:focus {
  border-color: rgba(253,119,83,.45);
  box-shadow: 0 0 0 3px rgba(253,119,83,.08);
}
.resume-field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}
.resume-actions {
  position: sticky;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  margin-top: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20,28,45,.06);
  text-align: center;
}
.resume-save {
  width: 100%;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
}
.resume-actions .muted {
  margin: 8px 0 0;
  font-size: 12px;
}
.resume-del-attach {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 420px) {
  .resume-grid { grid-template-columns: 1fr; }
}


.seeker-stats {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 14px;
}
.seeker-stat {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 10px 8px;
  display: block;
}
.seeker-stat:hover { color: inherit; }

.seeker-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff7f2, #fff);
  border: 1px solid rgba(253,119,83,.2);
}
.seeker-banner strong { display: block; margin-bottom: 4px; }
.seeker-banner p { margin: 0; color: var(--muted); font-size: 13px; }

.seeker-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.seeker-board {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fafbfd;
  box-shadow: none;
}
.seeker-board .section-head { margin-bottom: 8px; }
.seeker-board .section-head h2 { font-size: 16px; margin: 0; }
.seeker-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.seeker-list li + li { border-top: 1px solid var(--line); }
.seeker-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  color: inherit;
  text-decoration: none;
}
.seeker-list a:hover strong { color: var(--brand); }
.seeker-list strong { display: block; font-size: 14px; line-height: 1.35; }
.seeker-list .muted { font-size: 12px; }
.seeker-list .tag, .seeker-list .salary {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
}
.seeker-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--muted);
}
.seeker-empty a { font-size: 14px; }

.seeker-stat.stat-card {
  border-radius: 12px;
  padding: 10px 8px;
  box-shadow: none;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.seeker-stat.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(253,119,83,.28);
}
.seeker-stat strong {
  font-family: var(--display);
  color: var(--brand);
  font-size: 18px;
  display: block;
  line-height: 1.2;
  margin-bottom: 2px;
}
.seeker-stat span { color: var(--muted); font-size: 12px; }

.seeker-panel .form {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.seeker-panel .empty {
  box-shadow: none;
  border: 1px dashed var(--line);
  background: #fafbfd;
}
.seeker-panel .data-table {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}
.seeker-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seeker-app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seeker-app-card {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fafbfc;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color .2s ease, transform .2s ease;
}
.seeker-app-card:hover {
  border-color: rgba(253,119,83,.35);
  transform: translateY(-1px);
  color: inherit !important;
}
.seeker-app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.seeker-app-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #141c2b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.seeker-app-top .tag {
  flex-shrink: 0;
  margin-top: 1px;
}
.seeker-app-company {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seeker-app-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.seeker-app-bottom .salary {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
}
.seeker-app-bottom time {
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.reveal { opacity: 0; transform: translateY(28px); }
.parallax-layer { will-change: transform; }
.site-footer { display: none; }
body.has-tabbar { background: transparent; }
.main { min-height: 60vh; }

.desc-kv li {
  background: #f7f9fc;
  border-color: var(--line);
}
.desc-k { color: #5c6578; }
.desc-v { color: #1a2233; }
.desc-body { border-top-color: var(--line); }

.tab {
  background: #fff;
  border-color: var(--line);
  color: #5c6578;
}
.tab.active {
  background: rgba(253,119,83,.1);
  border-color: rgba(253,119,83,.35);
  color: #c65335;
}

@media (max-width: 860px) {
  .seeker-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .seeker-top-actions { justify-content: flex-start; }
  .seeker-boards { grid-template-columns: 1fr; }
  .seeker-banner { flex-direction: column; align-items: flex-start; }
  .hero-orb { opacity: .4; right: -12%; }
}

/* ========== 职位详情（对齐原版 H5） ========== */
body.job-detail-body {
  background: #f5f5f5;
  padding-bottom: 0;
}
body.job-detail-body .main {
  min-height: 100vh;
}
body.job-detail-body .flash-wrap {
  position: relative;
  z-index: 30;
}

.jd-page {
  position: relative;
  min-height: 100vh;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  background: #f5f5f5;
}
.jd-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(135deg, #fd7753 0%, #ff9a76 100%);
  z-index: 0;
  pointer-events: none;
}
.jd-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 8px;
  color: #fff;
}
.jd-back {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff !important;
  border-radius: 50%;
}
.jd-back:hover { color: #fff !important; background: rgba(255,255,255,.15); }
.jd-top-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}
.jd-top-spacer { width: 36px; }

.jd-home-btn {
  position: fixed;
  top: 52px;
  right: max(14px, calc(50% - 266px));
  z-index: 40;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(253,119,83,.95), rgba(255,140,97,.95));
  box-shadow: 0 6px 18px rgba(253,119,83,.4);
  border: 1.5px solid rgba(255,255,255,.35);
  animation: jdHomePulse 2s ease-in-out infinite;
}
@keyframes jdHomePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(253,119,83,.4); }
  50% { box-shadow: 0 6px 24px rgba(253,119,83,.6); }
}

.jd-body {
  position: relative;
  z-index: 1;
  padding: 8px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jd-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(253,119,83,.08);
}

.jd-pos-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.jd-pos-title-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.jd-job-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a2233;
  line-height: 1.35;
}
.jd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}
.jd-badge-direct { background: #247bf1; }
.jd-date {
  flex-shrink: 0;
  font-size: 12px;
  color: #9d9d9d;
  margin-top: 2px;
}
.jd-money {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: #e53935;
  line-height: 1.2;
}
.jd-meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: #666;
}
.jd-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 14px 0 10px;
}
.jd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 -2px;
}
.jd-tag {
  background: #f5f5f5;
  color: #9d9d9d;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.3;
}

.jd-recruiter-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(253,119,83,.1);
}
.jd-recruiter-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.jd-recruiter-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(253,119,83,.1);
  color: #fd7753;
  display: grid;
  place-items: center;
}
.jd-recruiter-body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.jd-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #5b9bd5;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.jd-recruiter-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jd-recruiter-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.jd-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(7,193,96,.15);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(7,193,96,.08), rgba(7,193,96,.03));
  color: #333 !important;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
}
.jd-phone:hover { color: #333 !important; }
.jd-phone-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.jd-copy-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(253,119,83,.1);
  color: #fd7753;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
}
.jd-phone-empty {
  cursor: default;
  opacity: .7;
}

.jd-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.jd-section-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.jd-section-line {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(135deg, #fd7753, #ff9a76);
}
.jd-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.jd-desc .desc-kv,
.jd-desc p { margin: 0 0 .6em; }
.jd-req-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.08);
}
.jd-req-block strong {
  display: block;
  margin-bottom: 8px;
  color: #333;
}

.jd-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.04);
}
.jd-warning-icon {
  color: #fd7753;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}
.jd-warning p {
  margin: 0;
  font-size: 12px;
  color: #9d9d9d;
  line-height: 1.55;
}

.jd-company {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}
.jd-company:hover { color: inherit !important; }
.jd-company-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.jd-company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #f0f2f5;
  flex-shrink: 0;
}
.jd-company-logo-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fd7753, #ff9a76);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.jd-company-info { flex: 1; min-width: 0; }
.jd-company-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jd-company-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}
.jd-chevron {
  color: #9d9d9d;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.jd-company-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(253,119,83,.05), rgba(255,154,118,.02));
  border: 1px solid rgba(253,119,83,.08);
  font-size: 13px;
  color: #666;
}

.jd-fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.jd-action-bar {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.jd-action-icons {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.jd-fav-form, .jd-apply-form { margin: 0; display: contents; }
.jd-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #fd7753;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none !important;
}
.jd-icon-btn:hover { color: #fd7753; }
.jd-icon-btn.is-on { color: #e85f3a; }
.jd-action-btns {
  flex: 1;
  display: flex;
  gap: 8px;
  min-width: 0;
  justify-content: flex-end;
}
.jd-btn-comm,
.jd-btn-apply {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 11px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.2;
}
.jd-btn-comm {
  color: #fd7753 !important;
  background: linear-gradient(135deg, rgba(253,119,83,.1), rgba(255,154,118,.1));
  border: 1px solid rgba(253,119,83,.3);
}
.jd-btn-apply {
  color: #fff !important;
  background: linear-gradient(135deg, #fd7753, #ff8c61);
  box-shadow: 0 6px 16px rgba(253,119,83,.35);
}
.jd-btn-apply:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 640px) {
  .jd-page { box-shadow: 0 0 0 1px rgba(0,0,0,.04); min-height: 100vh; }
  .jd-home-btn { top: 56px; }
}

/* ========== 找工作页搜索区（对齐原版 work） ========== */
body.jobs-page-body {
  background: linear-gradient(180deg, #fd7753 0%, #ff9a76 120px, #f5f5f5 220px, #f5f5f5 100%);
  background-attachment: fixed;
}
body.jobs-page-body .ambient { display: none; }

.jobs-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 14px 18px;
}
.jobs-search {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jobs-city-pill {
  flex-shrink: 0;
  max-width: 28%;
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(253,119,83,.2);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.jobs-city-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 5.5em;
}
.jobs-city-chevron { flex-shrink: 0; opacity: .85; }

.jobs-search-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 6px 0 12px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(253,119,83,.15);
  box-shadow: 0 6px 18px rgba(253,119,83,.22), 0 2px 8px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.jobs-search-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253,119,83,.05), transparent 50%);
  pointer-events: none;
}
.jobs-search-icon { flex-shrink: 0; margin-right: 6px; position: relative; z-index: 1; }
.jobs-search-box input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #333;
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
}
.jobs-search-box input[type="search"]::placeholder { color: #999; }
.jobs-search-box input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.jobs-search-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 0;
  padding: 8px 14px;
  margin-left: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fd7753, #ff8c61);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(253,119,83,.3);
}
.jobs-search-btn:active { transform: scale(.96); }

.jobs-cats-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
}
.jobs-cats {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 34px;
  overflow: hidden;
  transition: max-height .25s ease;
}
.jobs-cats-wrap.is-open .jobs-cats {
  max-height: 240px;
}
.jobs-cat {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}
.jobs-cat.is-active {
  background: #fff;
  color: #fd7753;
  border-color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(253,119,83,.25);
}
.jobs-cats-toggle {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.28);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease, background .2s ease;
}
.jobs-cats-toggle:hover { background: rgba(255,255,255,.4); }
.jobs-cats-wrap.is-open .jobs-cats-toggle {
  transform: rotate(180deg);
}
.job-cat-tag {
  color: #fd7753 !important;
  background: rgba(253,119,83,.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px !important;
}

.jobs-list-section {
  padding-top: 8px;
  max-width: 720px;
}
.jobs-list-section .result-count {
  margin: 0 0 12px;
  font-size: 13px;
  color: #8a92a3;
}

.jobs-city-modal {
  border: 0;
  padding: 0;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}
.jobs-city-modal::backdrop {
  background: rgba(20,28,45,.45);
  backdrop-filter: blur(4px);
}
.jobs-city-modal-inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20,28,45,.2);
  overflow: hidden;
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
}
.jobs-city-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.jobs-city-modal-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a2233;
}
.jobs-city-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f7;
  color: #666;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.jobs-city-search {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.jobs-city-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
  background: #f7f8fa;
}
.jobs-city-search input:focus {
  border-color: rgba(253,119,83,.45);
  background: #fff;
}
.jobs-city-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  flex: 1;
}
.jobs-city-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #333;
  text-align: left;
  cursor: pointer;
}
.jobs-city-item:hover { background: #f7f8fa; }
.jobs-city-item.is-active {
  color: #fd7753;
  font-weight: 600;
  background: rgba(253,119,83,.06);
}
.jobs-city-item.is-active::after {
  content: '✓';
  color: #fd7753;
  font-weight: 700;
}

@media (max-width: 420px) {
  .jobs-city-pill { max-width: 32%; padding: 10px 8px; font-size: 12px; }
  .jobs-search-btn { padding: 7px 12px; }
}

/* ========== HR 个人中心（移动优先） ========== */
.hr-center {
  padding-top: 16px;
  padding-bottom: 12px;
  max-width: 720px;
}
.hr-topbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 0%, rgba(253,119,83,.14), transparent 42%),
    #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.04);
  margin-bottom: 12px;
}
.hr-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.hr-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(135deg, var(--brand), #ffb08a);
  color: #fff;
  box-shadow: 0 8px 20px rgba(253,119,83,.28);
}
.hr-identity-text { min-width: 0; }
.hr-identity-text h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #141c2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hr-identity-text p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.hr-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hr-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #3a4558;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.hr-chip:hover { border-color: rgba(253,119,83,.35); color: var(--brand); }
.hr-chip.danger { color: #cf1322; border-color: #ffccc7; }

.hr-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hr-tabs::-webkit-scrollbar { display: none; }
.hr-tabs a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  color: #5c6578;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.hr-tabs a:hover { color: var(--brand); border-color: rgba(253,119,83,.3); }
.hr-tabs a.active {
  background: linear-gradient(135deg, var(--brand), #ff8f66);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(253,119,83,.22);
}

.hr-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.04);
  padding: 14px;
  min-height: 200px;
}
.hr-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hr-page-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #141c2b;
}
.hr-page-head .btn-primary {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
}
.hr-filter select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  background: #fff;
}

.hr-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.hr-stat {
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fafbfc;
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.hr-stat:hover {
  border-color: rgba(253,119,83,.35);
  background: #fff;
  transform: translateY(-1px);
  color: inherit !important;
}
.hr-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 2px;
}
.hr-stat span {
  font-size: 12px;
  color: var(--muted);
}

.hr-boards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-board {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.hr-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hr-board-head h2 {
  margin: 0;
  font-size: 15px;
  color: #141c2b;
}
.hr-board-head a { font-size: 13px; }
.hr-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hr-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.hr-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hr-list li:first-child { padding-top: 2px; }
.hr-list span {
  font-size: 12px;
  color: var(--muted);
}

.hr-job-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hr-job-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fafbfc;
}
.hr-job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.hr-job-name {
  font-weight: 600;
  color: #141c2b !important;
  font-size: 15px;
  line-height: 1.35;
}
.hr-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.hr-job-ops {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.hr-job-ops form { margin: 0; }

.hr-panel .app-card {
  box-shadow: none;
  border: 1px solid var(--line);
}
.hr-panel .inline-form {
  flex-direction: column;
  align-items: stretch;
}
.hr-panel .inline-form input,
.hr-panel .inline-form select {
  width: 100%;
  box-sizing: border-box;
}
.hr-panel .form-row {
  grid-template-columns: 1fr;
}
.hr-panel .form label { font-size: 13px; }
.hr-panel .form input,
.hr-panel .form select,
.hr-panel .form textarea {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 720px) {
  .hr-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hr-top-actions { justify-content: flex-end; }
  .hr-stats { grid-template-columns: repeat(4, 1fr); }
  .hr-boards { display: grid; grid-template-columns: 1fr 1fr; }
  .hr-panel .form-row { grid-template-columns: 1fr 1fr; }
  .hr-panel .inline-form {
    flex-direction: row;
    align-items: center;
  }
  .hr-panel .inline-form input,
  .hr-panel .inline-form select { width: auto; }
}

/* HR 投递列表 / 求职者详情 */
.hr-app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hr-app-card {
  display: block;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fafbfc;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color .2s ease, transform .2s ease;
}
.hr-app-card:hover {
  border-color: rgba(253,119,83,.35);
  transform: translateY(-1px);
  color: inherit !important;
}
.hr-app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.hr-app-card-top strong {
  font-size: 16px;
  color: #141c2b;
}
.hr-app-job {
  margin: 0 0 4px;
  font-size: 14px;
  color: #3a4558;
}
.hr-app-meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
}
.hr-app-time {
  margin: 0;
  font-size: 12px;
  color: var(--brand);
}

.hr-detail-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253,119,83,.1), rgba(255,154,118,.04));
  border: 1px solid rgba(253,119,83,.12);
}
.hr-detail-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fd7753, #ff9a76);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.hr-detail-hero-text { min-width: 0; }
.hr-detail-hero-text h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #141c2b;
}
.hr-detail-hero-text p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.hr-detail-block {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.hr-detail-block h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #141c2b;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hr-kv {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hr-kv li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  align-items: flex-start;
}
.hr-kv li > span {
  flex: 0 0 72px;
  color: var(--muted);
  font-size: 13px;
}
.hr-kv li > em {
  font-style: normal;
  color: #141c2b;
  word-break: break-word;
}
.hr-kv li > a,
.hr-kv .link-btn {
  flex: 1;
  text-align: left;
  word-break: break-all;
}
.hr-detail-text {
  font-size: 14px;
  line-height: 1.7;
  color: #3a4558;
  white-space: normal;
  word-break: break-word;
}
.hr-status-form {
  margin-top: 0 !important;
}
.hr-detail-block .btn-primary {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
}



/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #fd7753, #ff8c61);
  box-shadow: 0 6px 18px rgba(253,119,83,.4), 0 2px 8px rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(.92);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 8px 22px rgba(253,119,83,.5), 0 3px 10px rgba(0,0,0,.12);
  transform: translateY(-2px) scale(1.04);
}
.back-to-top:active { transform: scale(.94); }

body.job-detail-body .back-to-top {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
body:not(.has-tabbar):not(.job-detail-body) .back-to-top {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

/* ========== 404 空状态 ========== */
body.page-404-body .ambient { opacity: .55; }
.nf-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}
.nf-card {
  width: min(420px, 100%);
  text-align: center;
  padding: 28px 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(253,119,83,.12), transparent 55%),
    #fff;
  box-shadow: 0 16px 40px rgba(20, 28, 45, 0.06);
}
.nf-visual {
  position: relative;
  height: 120px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
}
.nf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .7;
}
.nf-orb-a {
  width: 88px;
  height: 88px;
  background: radial-gradient(circle at 30% 30%, #ffb08a, #fd7753 70%);
  left: 18%;
  top: 12px;
  animation: nfFloat 4.5s ease-in-out infinite;
}
.nf-orb-b {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 40% 40%, #ffe0d2, #ff9a76);
  right: 20%;
  bottom: 8px;
  animation: nfFloat 5.2s ease-in-out infinite reverse;
}
@keyframes nfFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.nf-code {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fd7753, #ff9a76 55%, #ffc2a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(253,119,83,.15);
}
.nf-title {
  margin: 4px 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #141c2b;
  letter-spacing: -0.02em;
}
.nf-desc {
  margin: 0 auto 20px;
  max-width: 18em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.nf-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nf-btn:active { transform: scale(.97); }
.nf-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #fd7753, #ff8c61);
  box-shadow: 0 8px 20px rgba(253,119,83,.28);
}
.nf-btn-primary:hover { color: #fff !important; }
.nf-btn-ghost {
  color: #fd7753 !important;
  background: rgba(253,119,83,.08);
  border: 1px solid rgba(253,119,83,.28);
}
.nf-btn-ghost:hover { color: #e85f3a !important; }
.nf-search {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f8fa;
}
.nf-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  color: #141c2b;
}
.nf-search button {
  border: 0;
  padding: 11px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #fd7753, #ff8c61);
  cursor: pointer;
  flex-shrink: 0;
}

/* 首页快捷入口：客服 / 招聘群 / 公众号（宽度与岗位卡片一致） */
.home-shortcuts {
  padding: 4px 0 0;
}
.home-shortcuts-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 10px;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.05);
}
.home-jobs {
  padding-top: 12px;
}
.home-shortcut {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  font: inherit;
  color: #1a2233;
}
.home-shortcut:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.home-shortcut-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--shortcut-color, #fd7753);
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 28, 45, 0.12);
}
.home-shortcut-icon svg {
  width: 24px;
  height: 24px;
}
.home-shortcut-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.home-shortcut:not(:disabled):active .home-shortcut-icon {
  transform: scale(0.94);
}

.qr-modal {
  border: 0;
  padding: 0;
  max-width: min(360px, calc(100vw - 40px));
  width: 100%;
  max-height: calc(100vh - 48px);
  border-radius: 18px;
  background: transparent;
  overflow: visible;
}
.qr-modal::backdrop {
  background: rgba(20, 28, 45, 0.72);
  backdrop-filter: blur(6px);
}
.qr-modal-inner {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 20px;
  box-shadow: 0 24px 60px rgba(20, 28, 45, 0.28);
  text-align: center;
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-sizing: border-box;
}
.qr-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fd7753;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(253, 119, 83, 0.4);
}
.qr-modal-inner h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fd7753;
}
.qr-modal-img-wrap {
  width: 100%;
  margin-bottom: 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-modal-img-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(62vh, 420px);
  object-fit: contain;
}
.qr-modal-tip {
  margin: 0;
  font-size: 13px;
  color: #666;
}

@media (min-width: 768px) {
  .home-shortcut-icon {
    width: 56px;
    height: 56px;
  }
}
