/* ============================================================
   海选 · 方向 B「通告单」· 可交互原型
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; touch-action: manipulation; }
body {
  margin: 0;
  background: #EFEFEA;
  color: #121212;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, dt { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #121212; outline-offset: 3px; border-radius: 2px; }

.shell {
  position: relative;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #E4E4DE;
  border-right: 1px solid #E4E4DE;
}
@media (max-width: 520px) {
  .shell { border: 0; }
}

#app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.scroll { flex: 1; min-height: 0; overflow-y: auto; }

/* ---------- 顶部 ---------- */
.mast {
  padding: 24px 22px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex: none;
}
.mark {
  font-family: "Noto Serif SC Black", "Noto Serif SC", "Songti SC", serif;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.mast .meta { font-size: 12px; color: #5E5E58; }

.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #E2E2DC;
  padding: 0 22px;
  flex: none;
}
.tab {
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: #5E5E58;
  position: relative;
  flex: none;
}
.tab[aria-current="true"] { color: #121212; font-weight: 500; }
.tab[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #121212;
}

.countline {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 22px 2px;
  font-size: 12px;
  color: #5E5E58;
}

/* ---------- 通告列表 ---------- */
.feed { padding: 0 22px; }

.notice {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #E2E2DC;
  text-decoration: none;
  color: inherit;
}
.notice:active { background: #F2F2ED; }

.ticket {
  width: 54px;
  flex: none;
  align-self: flex-start;
  background: #D22E22;
  color: #FFFFFF;
  border-radius: 5px;
  padding: 9px 2px 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ticket span { display: block; font-size: 11px; letter-spacing: 0.02em; opacity: 0.9; }
.ticket b {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
}
.ticket.dim { background: #EDEDE8; color: #6E6E68; }

.n-body { flex: 1; min-width: 0; }
.n-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.005em;
}
.n-where { margin-top: 5px; font-size: 12.5px; color: #5E5E58; }
.n-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; gap: 12px; }
.n-pay { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.n-pay i { font-style: normal; font-size: 11px; font-weight: 400; color: #5E5E58; margin-left: 2px; }

.tag {
  font-size: 11px;
  color: #A3201A;
  background: #FBE9E6;
  border-radius: 4px;
  padding: 4px 9px;
  flex: none;
  white-space: nowrap;
}
.tag.full { color: #5E5E58; background: #EDEDE8; }
.tag.applied { color: #1B4D3E; background: #E6EFEA; }

/* ---------- 详情 ---------- */
.topbar {
  padding: 18px 22px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #5E5E58;
  flex: none;
}
.topbar a { text-decoration: none; }
.detail { padding: 0 22px 28px; }

.banner {
  background: #FBE9E6;
  color: #A3201A;
  border-radius: 5px;
  padding: 11px 13px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.banner b { font-weight: 600; }
.banner.full { background: #EDEDE8; color: #5E5E58; }

.d-title {
  margin-top: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.005em;
}

.facts { margin-top: 18px; border-top: 1px solid #121212; }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #E2E2DC;
  font-size: 13.5px;
}
.fact dt { color: #5E5E58; flex: none; }
.fact-wide { display: block; }
.fact-wide dt { margin-bottom: 4px; }
.fact-wide dd { text-align: left; }
.fact dd { text-align: right; line-height: 1.55; }

.signed {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #5E5E58;
}
.avatars { display: flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #FFFFFF; margin-left: -5px;
  border: 2px solid #FAFAFA;
}
.avatar:first-child { margin-left: 0; }
.avatar.v1 { background: #8C6E4F; }
.avatar.v2 { background: #5F6E5A; }
.avatar.v3 { background: #6B6178; }

.tip { margin-top: 14px; font-size: 11.5px; line-height: 1.65; color: #6E6E68; }

/* 底部操作 */
.actionbar {
  flex: none;
  padding: 12px 22px calc(16px + env(safe-area-inset-bottom));
  background: #FAFAFA;
  border-top: 1px solid #EFEFEA;
}
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 6px;
  background: #D22E22;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.btn-primary:active { background: #B3261C; }
.btn-primary[aria-disabled="true"] { background: #D9D9D3; color: #6E6E68; pointer-events: none; }
.btn-ink {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; border-radius: 6px;
  background: #121212; color: #FFFFFF;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none;
}
.btn-text {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px;
  color: #5E5E58; font-size: 13.5px; text-decoration: none;
}

/* ---------- 报名成功 ---------- */
.done { padding: 34px 22px 24px; }
.done-where { margin-top: 10px; font-size: 12.5px; color: #5E5E58; }
.done-title {
  margin-top: 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
}
.seal {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  border: 2px solid #D22E22;
  color: #D22E22;
  border-radius: 4px;
  padding: 7px 15px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.22em;
  transform: rotate(-4deg);
}
.done-lead { margin-top: 22px; font-size: 13.5px; line-height: 1.75; color: #3D3D38; max-width: 26em; }
.done-card {
  margin-top: 24px;
  border-top: 1px solid #121212;
  padding-top: 14px;
}
.done-card h3 { font-size: 15px; font-weight: 600; line-height: 1.45; }
.done-card p { margin-top: 5px; font-size: 12.5px; color: #5E5E58; }
.done-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- 我的 ---------- */
.section-title {
  padding: 20px 22px 6px;
  font-size: 12px;
  color: #5E5E58;
}
.mine-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid #E2E2DC;
  cursor: pointer;
}
.mine-review { color: #A3201A; text-decoration: none; }
.mine-row:active { background: #F2F2ED; }
.mine-date {
  width: 54px; flex: none;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.mine-date span { display: block; font-family: "Noto Sans SC", sans-serif; font-size: 11px; font-weight: 400; color: #5E5E58; margin-top: 2px; }
.mine-body { flex: 1; min-width: 0; }
.mine-body h3 { font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.mine-body p { margin-top: 4px; font-size: 11.5px; color: #5E5E58; }
.mine-status { flex: none; font-size: 12px; font-weight: 500; }
.mine-status.pending { color: #A3201A; }
.mine-status.win { color: #1B4D3E; }
.mine-status.lose { color: #6E6E68; }

.empty { padding: 40px 22px; font-size: 13px; color: #5E5E58; line-height: 1.7; }
.empty a { color: #A3201A; }

.agent-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 22px 0;
  padding-top: 16px;
  border-top: 1px solid #E2E2DC;
  font-size: 13px;
  color: #121212;
  text-decoration: none;
}
.agent-link span { font-size: 12px; color: #5E5E58; }

/* ---------- 底部标签栏 ---------- */
.tabbar {
  flex: none;
  width: 100%;
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #FAFAFA;
  border-top: 1px solid #E2E2DC;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.tabbar[hidden] { display: none; }
.tabbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 44px;
  padding: 0 14px;
  font-size: 13px;
  color: #6E6E68;
  text-decoration: none;
}
.tabbar a[aria-current="page"] { color: #121212; font-weight: 500; }

/* ---------- 经纪端 ---------- */
.work-head {
  padding: 24px 22px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex: none;
}
.work-head h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
}
.work-head p { margin-top: 5px; font-size: 11.5px; color: #5E5E58; }
.publish { font-size: 12.5px; color: #A3201A; border-bottom: 1px solid #A3201A; padding-bottom: 1px; flex: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #121212;
  border-bottom: 1px solid #E2E2DC;
  margin: 14px 22px 0;
  flex: none;
}
.stat { padding: 13px 0 14px; }
.stat + .stat { border-left: 1px solid #E2E2DC; padding-left: 15px; }
.stat span { display: block; font-size: 11px; color: #5E5E58; }
.stat b {
  display: block;
  margin-top: 3px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat i { font-style: normal; font-size: 11px; color: #5E5E58; margin-left: 2px; font-family: "Noto Sans SC", sans-serif; font-weight: 400; }

.work-sub { padding: 20px 22px 4px; font-size: 11.5px; color: #5E5E58; flex: none; }
.work-list { padding: 0 22px; }

.work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #E2E2DC;
  text-decoration: none;
  color: inherit;
}
.work-row h3 { font-size: 14px; font-weight: 500; line-height: 1.45; }
.work-row p { margin-top: 4px; font-size: 11.5px; color: #5E5E58; }
.work-act { font-size: 12px; color: #A3201A; flex: none; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.work-act.muted { color: #6E6E68; }
.person-time { font-size: 11.5px; color: #6E6E68; flex: none; }

/* 选人页 */
.cand-head { padding: 18px 22px 12px; flex: none; }
.cand-head .back { font-size: 13px; color: #5E5E58; text-decoration: none; }
.cand-head h1 {
  margin-top: 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
}
.cand-head p { margin-top: 5px; font-size: 12px; color: #5E5E58; }
.cand-list { padding: 0 22px; }
.cand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #E2E2DC;
}
.cand-main { min-width: 0; }
.cand-name { font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.cand-meta { margin-top: 3px; font-size: 11.5px; color: #5E5E58; }
.cand-pick {
  flex: none;
  min-width: 64px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #D9D9D3;
  border-radius: 5px;
  font-size: 12.5px;
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cand-pick[data-state="picked"] { background: #121212; border-color: #121212; color: #FFFFFF; }
.cand-pick[data-state="no"] { color: #6E6E68; border-style: dashed; }
.cand[data-fit="false"] .cand-name { color: #6E6E68; }

.cand-footer {
  flex: none;
  padding: 12px 22px calc(16px + env(safe-area-inset-bottom));
  background: #FAFAFA;
  border-top: 1px solid #E2E2DC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #5E5E58;
}
.cand-footer b { color: #121212; font-weight: 600; font-variant-numeric: tabular-nums; }
.cand-footer .btn-ink { width: auto; min-width: 132px; padding: 0 20px; }

/* 发布通告 */
.form { padding: 0 22px 24px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 12.5px; color: #5E5E58; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #D9D9D3;
  border-radius: 5px;
  background: #FFFFFF;
  color: #121212;
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
}
.field textarea { min-height: 76px; resize: vertical; }
.form .btn-ink { margin-top: 24px; }

/* ---------- 我的模卡 ---------- */
.profile {
  margin: 4px 22px 0;
  padding: 16px 0 18px;
  border-top: 1px solid #121212;
  border-bottom: 1px solid #E2E2DC;
}
.profile-kicker { font-size: 11.5px; color: #5E5E58; }
.profile-main {
  margin-top: 6px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}
.profile-sub { margin-top: 4px; font-size: 12px; color: #5E5E58; }
.profile-ok { color: #1B4D3E; }

/* ---------- 报名成功 · 接下来 ---------- */
.next { margin-top: 30px; }
.next-title { font-size: 11.5px; color: #5E5E58; }
.next-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #E2E2DC;
  font-size: 12.5px;
}
.next-row:first-of-type { border-top: 1px solid #E2E2DC; margin-top: 6px; }
.next-row span { color: #5E5E58; flex: none; }
.next-row b { font-weight: 500; text-align: right; }

/* ---------- 加载 / 错误 / 提示 ---------- */
.loading { padding: 48px 22px; font-size: 13px; color: #5E5E58; }
.state-page { padding: 56px 22px; }
.state-page h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}
.state-page p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #5E5E58; }
.state-page .btn-ink { margin-top: 22px; max-width: 220px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  background: #121212;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 60;
  max-width: 82%;
  text-align: center;
}

/* ---------- 报名信息面板 ---------- */
.sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.38);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}
.sheet {
  width: 100%;
  max-width: 430px;
  max-height: 86vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FAFAFA;
  border-radius: 16px 16px 0 0;
  padding: 22px 22px calc(30px + env(safe-area-inset-bottom));
  animation: sheet-up 0.18s ease-out;
}
@keyframes sheet-up {
  from { transform: translateY(14px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
.sheet h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}
.sheet-note { margin-top: 6px; font-size: 13px; line-height: 1.6; color: #5E5E58; }
.sheet label { display: block; margin-top: 14px; font-size: 12.5px; color: #5E5E58; }
.sheet input {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 1px solid #D9D9D3;
  border-radius: 6px;
  background: #FFFFFF;
  font: inherit;
  font-size: 16px;
  padding: 0 12px;
  color: #121212;
}
.sheet input:focus { outline: none; border-color: #121212; box-shadow: 0 0 0 3px rgba(210, 46, 34, 0.12); }
.sheet .btn-primary { margin-top: 16px; width: 100%; }
.sheet .btn-text { margin-top: 4px; }
.sheet-err { min-height: 18px; margin-top: 8px; font-size: 12px; color: #A3201A; }
.form-err { min-height: 18px; margin-top: 12px; font-size: 12px; color: #A3201A; }

/* ---------- 候选人补充 ---------- */
.cand-phone {
  margin-top: 2px;
  font-size: 11px;
  color: #6E6E68;
  font-variant-numeric: tabular-nums;
}

/* ---------- 登录 / 注册 ---------- */
.auth { padding: 8px 22px 44px; }
.auth-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
.auth-lead { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #5E5E58; }
.seg {
  display: flex;
  gap: 3px;
  margin-top: 20px;
  padding: 3px;
  border: 1px solid #D9D9D3;
  border-radius: 9px;
  background: #FFFFFF;
}
.seg-btn { flex: 1; min-height: 40px; font-size: 13px; color: #5E5E58; background: transparent; border-radius: 6px; }
.seg-btn.on { background: #121212; color: #FFFFFF; font-weight: 500; }
.auth .field { margin-top: 16px; }
.field-note { margin-top: 6px; font-size: 11.5px; line-height: 1.6; color: #6E6E68; }
.field input[readonly] { background: #F1F1EC; color: #6E6E68; }
.auth .btn-primary { margin-top: 20px; }
.auth-switch { margin-top: 18px; font-size: 13px; color: #5E5E58; text-align: center; }
.auth-switch a { color: #A3201A; }

.btn-primary, .btn-ink, .btn-text { text-decoration: none; }

/* ---------- 需要登录的页面 ---------- */
.gate { padding: 56px 22px; }
.gate h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}
.gate p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #5E5E58; }
.gate .btn-primary { margin-top: 22px; max-width: 260px; }
.gate .btn-text { margin-top: 4px; max-width: 260px; }

.account-actions { margin: 30px 22px 0; border-top: 1px solid #E2E2DC; }
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border-bottom: 1px solid #F0F0EC;
  font-size: 13px;
  color: #121212;
  text-decoration: none;
  text-align: left;
}
.account-row span { font-size: 12px; color: #6E6E68; }
.account-row.quiet { color: #6E6E68; }

/* ---------- 编辑资料 ---------- */
.profile-form { padding: 0 22px 40px; }
.profile-form .btn-ink { margin-top: 22px; }
.form-section { margin-top: 34px; padding-top: 20px; border-top: 1px solid #E2E2DC; }
.form-section h2 { font-size: 13px; font-weight: 500; color: #121212; }
.form-section p { margin-top: 4px; font-size: 12px; line-height: 1.6; color: #6E6E68; }

/* ---------- 模卡照片 ---------- */
.photos { margin: 20px 22px 0; }
.photos-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5E5E58;
}
.photos-title span { color: #6E6E68; font-variant-numeric: tabular-nums; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: #EDEDE8;
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.62);
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-add {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px dashed #C9C9C3;
  border-radius: 6px;
  background: #FFFFFF;
  color: #6E6E68;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
}
.photo-add b { font-size: 18px; font-weight: 400; line-height: 1; }
.photos-note { margin-top: 8px; font-size: 11px; line-height: 1.5; color: #6E6E68; }

.cand-photo {
  width: 44px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  background: #EDEDE8;
}
.cand-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  color: #6E6E68;
  background: #F4F4F0;
  border: 1px solid #E6E6E0;
}

/* ---------- 报名人模卡 ---------- */
.cand-open {
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 22px 0;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: none;
  width: calc(100% - 22px);
  max-width: 372px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: start;
  background: #EDEDE8;
}
.gallery-empty {
  flex: none;
  width: calc(100% - 22px);
  height: 180px;
  border-radius: 10px;
  background: #EDEDE8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6E6E68;
}
.gallery-hint { margin: 8px 22px 0; font-size: 11px; color: #6E6E68; }
.candidate { padding: 18px 22px 0; }
.candidate h1 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}
.cand-sub { margin-top: 6px; font-size: 12.5px; color: #5E5E58; }
.candidate .facts { margin-top: 16px; }
.cand-actions { display: flex; gap: 10px; align-items: stretch; }
.btn-ghost {
  flex: none;
  width: 96px;
  min-height: 50px;
  border: 1px solid #D9D9D3;
  border-radius: 6px;
  background: #FFFFFF;
  color: #5E5E58;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cand-actions .btn-ink { flex: 1; }

/* ---------- 我被选中 / 未通过 ---------- */
.banner.picked { background: #E6EFEA; color: #1B4D3E; }
.btn-primary.is-muted { background: #EDEDE8; color: #6E6E68; }

/* ---------- 表单可用性 ---------- */
.form-actions {
  position: sticky;
  bottom: 0;
  margin: 20px -22px 0;
  padding: 10px 22px calc(10px + env(safe-area-inset-bottom));
  background: #FAFAFA;
  border-top: 1px solid #EFEFEA;
}
.form-actions .btn-primary,
.form-actions .btn-ink { width: 100%; margin-top: 0; }

/* ---------- 经纪端入口 ---------- */
.agent-panel {
  margin: 24px 22px 0;
  padding: 18px;
  border: 1px solid #E2E2DC;
  border-radius: 10px;
  background: #FFFFFF;
}
.agent-panel-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.agent-panel-sub { margin-top: 4px; font-size: 11.5px; color: #6E6E68; }
.agent-panel-actions { display: flex; gap: 10px; margin-top: 14px; }
.agent-panel-actions .btn-ink,
.agent-panel-actions .btn-outline {
  flex: 1;
  width: auto;
  min-height: 46px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
}
.btn-outline { border: 1px solid #D9D9D3; background: #FFFFFF; color: #121212; }

/* ---------- 防重复 / 占用中 ---------- */
.btn-primary:disabled,
.btn-ink:disabled,
.btn-outline:disabled,
.btn-ghost:disabled,
.cand-pick:disabled,
.photo-add:disabled,
.account-row:disabled { opacity: 0.5; }

/* ---------- 身高不符 ---------- */
.cand-height { color: #9A3412; font-weight: 500; }
.cand-warn { margin-top: 2px; font-size: 11px; line-height: 1.5; color: #9A3412; }

/* ---------- 模卡封面 ---------- */
.photo-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #D22E22;
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.photo-cover {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 26px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.62);
  color: #FFFFFF;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cand-actions .btn-ghost.wide { flex: 1; width: auto; }

.check { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: #5E5E58; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: #121212; }

/* ---------- 认证 / 评分 / 评价 ---------- */
.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 7px;
  padding: 2px 8px 2px 6px;
  border: 1px solid rgba(176, 132, 26, 0.32);
  border-radius: 999px;
  background: #FBF6E9;
  color: #8A6A1F;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}
.v-badge .v-spark {
  width: 11px;
  height: 11px;
  color: #C9A227;
  animation: v-twinkle 2.6s ease-in-out infinite;
}
@keyframes v-twinkle {
  0%, 100% { opacity: 0.65; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .v-badge .v-spark { animation: none; } }
.v-badge svg { display: block; }
.rating { margin-top: 5px; font-size: 12px; color: #A3201A; }

.review { padding: 6px 22px 30px; }
.review h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}
.review-sub { margin-top: 8px; font-size: 13px; color: #5E5E58; }
.stars { display: flex; gap: 8px; margin-top: 26px; }
.stars button {
  font-size: 40px;
  line-height: 1;
  color: #D9D9D3;
  padding: 0;
}
.stars button.on { color: #D22E22; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.review-tags button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #D9D9D3;
  border-radius: 999px;
  background: #FFFFFF;
  color: #5E5E58;
  font-size: 12.5px;
}
.review-tags button.on { background: #121212; border-color: #121212; color: #FFFFFF; }

/* ---------- 我的评价 ---------- */
.my-rating { margin: 20px 22px 0; }
.rating-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rtag { font-size: 11px; line-height: 1.6; color: #5E5E58; background: #F1F1EC; border-radius: 4px; padding: 2px 7px; }

/* 允许输入框内选择与粘贴 */
input, textarea { -webkit-user-select: text; user-select: text; }

.row2 { display: flex; gap: 10px; }
.row2 input { flex: 1; min-width: 0; }
.row2 select { width: 96px; flex: none; }

.v-steps { margin-top: 16px; }
.v-steps p {
  padding: 9px 0;
  border-top: 1px solid #EFEFEA;
  font-size: 13px;
  line-height: 1.6;
  color: #3D3D38;
}
.v-steps p:last-child { border-bottom: 1px solid #EFEFEA; }
.v-badge { cursor: pointer; }

.n-agency { color: #8A6A1F; }

.n-agency { cursor: pointer; }

.sheet .btn-ink { margin-top: 16px; width: 100%; }
