:root {
  --brand: #FF552E;
  --brand-deep: #f04b00;
  --ink: #1f2329;
  --ink-2: #5c6570;
  --ink-3: #99a1ab;
  --line: #eceff3;
  --bg: #f5f6f8;
  --phone-bg: #ffffff;
  --dev-bg: #14171c;
  --dev-ink: #d6dbe3;
  --ok: #17a673;
  --warn: #e8871e;
  --err: #e64a45;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 14px/1.5 -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #2b3340 0%, #171b21 55%, #0f1216 100%);
  overflow: hidden;
}

code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

/* ================= 满屏布局（移动端单页） ================= */
.stage { height: 100%; }
.phone { height: 100%; display: flex; }
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  /* 底部安全区：避免 Home 指示条压住 Tab 栏 */
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
  background: var(--phone-bg);
  display: flex;
  flex-direction: column;
}

/* statusbar */
.statusbar {
  height: 34px;
  flex: 0 0 34px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 22px;
  font-size: 12px; font-weight: 600;
  background: var(--phone-bg);
  color: var(--ink);
  z-index: 20;
  transition: background .2s, color .2s;
}
.statusbar.is-dark { background: #16191d; color: #fff; }
.statusbar__icons { display: inline-flex; gap: 5px; align-items: center; }
.statusbar__icons i { display: inline-block; background: currentColor; opacity: .85; border-radius: 1px; }
.statusbar__icons .sig { width: 14px; height: 9px; clip-path: polygon(0 100%, 25% 100%, 25% 55%, 0 55%, 0 100%, 35% 100%, 35% 38%, 60% 38%, 60% 100%, 70% 100%, 70% 0, 95% 0, 95% 100%); }
.statusbar__icons .wifi { width: 12px; height: 9px; border-radius: 50% 50% 0 0; }
.statusbar__icons .bat { width: 20px; height: 10px; border-radius: 3px; }

.screen__body { flex: 1 1 auto; position: relative; overflow: hidden; }

/* ================= native pages ================= */
.page { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.page__scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.page__scroll::-webkit-scrollbar { width: 0; }

.navbar {
  flex: 0 0 auto;
  height: 46px;
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 6px;
}
.navbar__title { text-align: center; font-size: 16px; font-weight: 600; }
.navbar__back { border: 0; background: none; font-size: 18px; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; }
.navbar__back:active { background: #f0f2f5; }
.navbar__right { text-align: right; font-size: 13px; color: var(--brand); padding-right: 6px; }

/* tabbar */
.tabbar {
  flex: 0 0 56px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: 2px;
  z-index: 15;
  overflow: visible;
}
.tabbar.is-hidden { display: none; }
.tabbar__item {
  position: relative;
  border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; color: var(--ink-3); padding: 0;
}
.tabbar__item.is-active { color: var(--brand); }
.tabbar__item .ico {
  position: relative;
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  border-radius: 9px; font-size: 12px; font-weight: 700;
  background: #f1f3f6; color: var(--ink-2);
}
.tabbar__item.is-active .ico { background: rgba(255, 85, 46, .12); color: var(--brand); }

/* 中间「发布」：凸起高亮主按钮 */
.tabbar__item--fab { color: var(--brand); font-weight: 600; }
.tabbar__item--fab .ico--fab {
  width: 46px; height: 46px; line-height: 44px;
  margin-top: -19px; margin-bottom: 0;
  border-radius: 50%; border: 3px solid #fff;
  font-size: 22px; font-weight: 400;
  background: linear-gradient(135deg, #FF8A6B, #ff5f00);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 95, 0, .38);
}
.tabbar__item--fab.is-active .ico--fab {
  background: linear-gradient(135deg, #ff8a2b, #ff4d00);
  box-shadow: 0 8px 18px rgba(255, 95, 0, .5);
}
.badge {
  position: absolute; top: -4px; right: -6px;
  min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 8px; background: var(--err); color: #fff;
  font-size: 9px; line-height: 15px; font-style: normal; text-align: center;
}

/* ================= H5 webview ================= */
.webview { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; z-index: 10; }

.wv-titlebar {
  flex: 0 0 auto;
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background .18s, color .18s;
}
.wv-titlebar.is-dark { background: #16191d; color: #fff; border-bottom-color: #24282f; }
.wv-titlebar__row {
  height: 46px; display: grid; grid-template-columns: 46px 1fr 70px; align-items: center;
}
.wv-titlebar__title {
  text-align: center; font-size: 16px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wv-titlebar__back, .wv-titlebar__more {
  border: 0; background: none; color: inherit; font-size: 18px; height: 40px;
}
.wv-titlebar__more { font-size: 13px; text-align: right; padding-right: 8px; }
.wv-titlebar.is-hidden { display: none; }

.wv-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--brand); transition: width .18s ease;
}

.wv-domain {
  flex: 0 0 auto;
  height: 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  font-size: 11px; color: var(--ink-3);
  background: #fafbfc; border-bottom: 1px solid var(--line);
}
.wv-domain .lock { color: var(--ok); }
.wv-domain.is-warn { color: var(--err); background: #fff5f5; }

.wv-body { flex: 1 1 auto; position: relative; overflow: hidden; background: #fff; }
.wv-body__scroll { position: absolute; inset: 0; overflow-y: auto; }
.wv-body__scroll::-webkit-scrollbar { width: 0; }

.wv-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink-3); font-size: 13px; gap: 8px;
}
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #e3e7ec; border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wv-error {
  position: absolute; inset: 0; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-2); font-size: 13px;
}
.wv-error .big { font-size: 34px; }
.wv-error button {
  margin-top: 6px; border: 1px solid var(--brand); color: var(--brand);
  background: #fff; border-radius: 16px; padding: 6px 18px; font-size: 13px;
}

/* pull to refresh */
.ptr {
  position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink-3); background: #fafbfc;
  transition: height .12s ease;
}

/* ================= H5 page inner ================= */
.h5 { padding: 12px 14px 26px; }
.h5__hero {
  border-radius: 14px; padding: 16px;
  background: linear-gradient(135deg, #FF7B5D, #FF552E);
  color: #fff;
}
.h5__hero h2 { margin: 0 0 6px; font-size: 19px; }
.h5__hero p { margin: 0; font-size: 13px; opacity: .92; }
.h5__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.h5__tag { font-size: 11px; padding: 3px 8px; border-radius: 10px; background: rgba(255, 255, 255, .2); }

.h5__card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; }
.h5__card h3 { margin: 0 0 10px; font-size: 14px; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--ink-2); }

.h5__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn {
  border: 0; border-radius: 10px; padding: 11px 12px; font-size: 13px; font-weight: 600;
  background: #f4f6f9; color: var(--ink);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn--warn { background: #fff3e8; color: var(--brand-deep); }
.btn--full { grid-column: 1 / -1; }

.formrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.formrow:last-child { border-bottom: 0; }
.formrow .label { color: var(--ink-2); font-size: 13px; }
.formrow .value { color: var(--ink); }
.formrow .value.is-empty { color: var(--ink-3); }
.formrow .arrow { color: var(--ink-3); margin-left: 6px; }

/* job list */
.jobcard {
  background: #fff; border-radius: 14px; padding: 14px; margin: 10px 12px;
  box-shadow: 0 1px 2px rgba(20, 30, 45, .04);
  border: 1px solid #f1f3f6;
}
.jobcard__top { display: flex; justify-content: space-between; gap: 10px; }
.jobcard__title { font-size: 16px; font-weight: 700; }
.jobcard__salary { color: var(--brand); font-weight: 700; font-size: 15px; white-space: nowrap; }
.jobcard__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11px; color: var(--ink-2); background: #f4f6f9; border-radius: 6px; padding: 3px 7px; }
.jobcard__foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.jobcard__foot .co { color: var(--ink-2); }

.searchbar { display: flex; gap: 8px; padding: 10px 12px 0; }
.searchbar input {
  flex: 1; border: 0; background: #fff; border-radius: 18px; padding: 9px 14px; font-size: 13px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.searchbar input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brand); }

.section-title { padding: 14px 14px 0; font-size: 13px; color: var(--ink-3); }

/* messages */
.imrow { display: flex; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line); align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #ffd2b3, #ffb27a); flex: 0 0 40px; }
.imrow__main { flex: 1; min-width: 0; }
.imrow__name { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.imrow__time { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.imrow__msg { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* mine */
.profile { background: linear-gradient(135deg, #FF7B5D, #FF552E); padding: 22px 16px 26px; color: #fff; }
.profile__row { display: flex; gap: 12px; align-items: center; }
.profile__avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.profile__name { font-size: 17px; font-weight: 700; }
.profile__sub { font-size: 12px; opacity: .9; margin-top: 2px; }
.menu { background: #fff; margin: 12px; border-radius: 12px; overflow: hidden; }
.menu__item { display: flex; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.menu__item:last-child { border-bottom: 0; }
.menu__item span:last-child { color: var(--ink-3); font-size: 12px; }

/* ================= layers ================= */
.layer { position: absolute; inset: 0; pointer-events: none; z-index: 25; }
.layer > * { pointer-events: auto; }

.mask { position: absolute; inset: 0; background: rgba(12, 16, 22, .42); animation: fade .16s ease; }
@keyframes fade { from { opacity: 0; } }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 16px 16px 0 0; padding: 16px 16px 22px;
  animation: rise .2s ease;
  max-height: 78%; overflow-y: auto;
}
@keyframes rise { from { transform: translateY(24px); opacity: .6; } }
.sheet h3 { margin: 0 0 12px; font-size: 15px; text-align: center; }
.sheet__opt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.sheet__opt:last-of-type { border-bottom: 0; }
.sheet__opt.is-on { color: var(--brand); font-weight: 600; }
.sheet__cancel { margin-top: 10px; width: 100%; border: 0; background: #f4f6f9; border-radius: 10px; padding: 12px; font-size: 14px; }

.dialog {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: 76%; background: #fff; border-radius: 14px; padding: 18px; animation: pop .16s ease;
}
@keyframes pop { from { transform: translate(-50%, -50%) scale(.94); opacity: .5; } }
.dialog h4 { margin: 0 0 8px; font-size: 15px; }
.dialog p { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }
.dialog input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 14px; }
.dialog input:focus { outline: none; border-color: var(--brand); }
.dialog__row { display: flex; gap: 10px; margin-top: 14px; }
.dialog__row .btn { flex: 1; }

.toast {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
  background: rgba(20, 24, 30, .88); color: #fff; font-size: 13px;
  padding: 9px 16px; border-radius: 18px; animation: fade .16s ease;
  max-width: 78%; text-align: center; line-height: 1.45;
}

/* ================= devtools ================= */
.devtools {
  height: calc(100vh - 44px);
  max-height: 812px;
  display: flex; flex-direction: column;
  background: var(--dev-bg);
  border-radius: 16px;
  border: 1px solid #262c35;
  color: var(--dev-ink);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.devtools__head { padding: 16px 18px 12px; border-bottom: 1px solid #232933; }
.devtools__head h1 { margin: 0; font-size: 15px; color: #fff; letter-spacing: .2px; }
.devtools__head p { margin: 6px 0 0; font-size: 11px; color: #7d8794; }
.devtools__head code { color: #ffb27a; }

.devtools__tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid #232933; }
.dt-tab {
  border: 0; background: none; color: #8b95a3; font-size: 12px; padding: 7px 10px;
  border-radius: 8px 8px 0 0;
}
.dt-tab.is-active { color: #fff; background: #1d232b; }

.dtpane { display: none; flex: 1 1 auto; min-height: 0; flex-direction: column; }
.dtpane.is-active { display: flex; }
.dtpane__bar {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: 8px 14px; font-size: 11px; color: #7d8794; border-bottom: 1px solid #1e242c;
}
.mini {
  border: 1px solid #2c333d; background: #1b2129; color: #b7c0cc;
  font-size: 11px; padding: 3px 9px; border-radius: 6px;
}
.mini:hover { border-color: #3d4653; color: #fff; }

.loglist { flex: 1 1 auto; overflow-y: auto; padding: 8px 10px 16px; font-size: 11.5px; }
.loglist::-webkit-scrollbar { width: 8px; }
.loglist::-webkit-scrollbar-thumb { background: #2a313a; border-radius: 4px; }

.logitem { border-left: 2px solid #2f3742; padding: 6px 8px 7px 10px; margin-bottom: 6px; background: #171c23; border-radius: 0 6px 6px 0; }
.logitem--h2n { border-left-color: #FF7B5D; }
.logitem--n2h { border-left-color: #4ec9a6; }
.logitem--sys { border-left-color: #5a8ef0; }
.logitem--err { border-left-color: var(--err); }
.logitem__head { display: flex; gap: 8px; align-items: baseline; color: #8b95a3; font-size: 10.5px; }
.logitem__head b { color: #e9eef5; font-weight: 600; font-size: 11.5px; }
.logitem__body { margin-top: 3px; color: #b9c3cf; white-space: pre-wrap; word-break: break-all; }
.logitem__body .k { color: #ffca9a; }

.proto { padding: 12px 16px 24px; overflow-y: auto; font-size: 12px; }
.proto h3 { font-size: 12px; color: #ffb27a; margin: 16px 0 6px; }
.proto h3:first-child { margin-top: 0; }
.proto pre {
  margin: 0; background: #10151a; border: 1px solid #232a33; border-radius: 8px;
  padding: 10px 12px; color: #c7d2df; font-size: 11px; line-height: 1.6; overflow-x: auto;
}
.proto ul { margin: 0; padding-left: 18px; color: #aeb8c4; }
.proto li { margin-bottom: 6px; }
.proto code { color: #ffca9a; background: #1b2129; padding: 1px 4px; border-radius: 4px; }

/* =========================================================================
   页面层（ui-kit / views-*）
   ========================================================================= */
.page--tab { z-index: 1; }
.page--push { animation: pageIn .18s ease-out; }
@keyframes pageIn { from { transform: translateX(14px); opacity: .6; } to { transform: none; opacity: 1; } }

.section { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px; font-size: 13px; font-weight: 600; color: #1f2329; }
.section__right { font-size: 11.5px; font-weight: 400; color: #99a1ab; }
.list-foot { text-align: center; font-size: 11px; color: #b6bdc6; padding: 16px 0 26px; }
.muted { font-size: 12px; color: #7a838f; }
.salary { color: #FF552E; font-size: 13px; font-weight: 600; }
.link { color: #FF552E; font-size: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag-mini { font-style: normal; font-size: 10px; color: #7a838f; background: #f2f4f7; border-radius: 4px; padding: 1px 5px; margin-left: 4px; }

.card { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 14px; }
.card--flush { margin: 10px 12px; }
.card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card__head h3 { font-size: 13px; color: #1f2329; }
.card__extra { font-size: 11.5px; color: #99a1ab; }
.card textarea { width: 100%; border: 1px solid #eceff3; border-radius: 8px; padding: 10px; font-size: 13px; font-family: inherit; resize: none; outline: none; }

.cell { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; background: #fff; border-bottom: 1px solid #f2f4f7; font-size: 13px; }
.cell:last-child { border-bottom: 0; }
.cell__label { color: #1f2329; }
.cell__value { color: #5c6570; display: flex; align-items: center; gap: 4px; max-width: 68%; justify-content: flex-end; text-align: right; }
.cell__value.is-empty { color: #b6bdc6; }
.cell__value.is-warn { color: #FF7B5D; }
.cell .arrow { font-style: normal; color: #c9cdd4; }

.btn--danger { background: #ffece8; color: #e5482f; }
.btn--block { display: block; width: 100%; margin-top: 10px; }
.btn--full { width: 100%; }
.btn { font-size: 13px; }

.empty { text-align: center; padding: 60px 20px; color: #99a1ab; font-size: 13px; }
.empty__ico { font-size: 34px; color: #d5dae1; margin-bottom: 8px; }
.empty p { margin: 0; }

.segment { display: flex; gap: 6px; padding: 4px; background: #f2f4f7; border-radius: 10px; }
.segment--scroll { overflow-x: auto; }
.segment__item { flex: 1 0 auto; border: 0; background: transparent; color: #5c6570; font-size: 12.5px; padding: 7px 12px; border-radius: 8px; }
.segment__item.is-on { background: #fff; color: #1f2329; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }

.statrow { display: flex; background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 0; }
.stat { flex: 1; text-align: center; }
.stat b { display: block; font-size: 16px; color: #1f2329; }
.stat span { font-size: 11px; color: #99a1ab; }

/* 首页 */
.home-head { position: relative; background: #fff; padding: 8px 12px 10px; }
.home-head__top { position: relative; display: flex; align-items: center; gap: 8px; padding: 2px 0 10px; }
/* 仅「城市 · 附近」区域带一点橙色光晕 */
.home-head__top::before {
  content: ''; position: absolute; left: -12px; top: -14px; width: 208px; height: 60px;
  background: radial-gradient(58% 100% at 34% 50%, rgba(255, 130, 20, .22), rgba(255, 130, 20, .07) 58%, rgba(255, 130, 20, 0) 100%);
  pointer-events: none; z-index: 0;
}
.home-head__top > * { position: relative; z-index: 1; }
.home-head__city { display: flex; align-items: center; gap: 3px; border: 0; background: transparent; font-size: 17px; font-weight: 700; color: #1f2329; font-family: inherit; }
.home-head__city i { font-style: normal; font-size: 10px; color: #98a1ac; }
.home-head__sep { color: #cfd6de; font-size: 12px; }
.home-head__near { display: flex; align-items: center; gap: 2px; border: 0; background: transparent; color: #FF552E; font-size: 12px; font-weight: 600; padding: 2px 0; font-family: inherit; }
.home-head__near i { font-style: normal; font-size: 10px; }
.home-head__act { flex: 1; min-width: 0; border: 0; background: transparent; color: #6b7480; font-size: 12px; text-align: left; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-head__act i { font-style: normal; margin-left: 2px; color: #b3bbc4; }
.home-head__msg { position: relative; flex: 0 0 auto; border: 0; background: #f5f6f8; width: 28px; height: 28px; border-radius: 50%; color: #5c6570; font-size: 13px; }
.home-head__msg .badge { position: absolute; top: -5px; right: -5px; }
.home-head__search { display: flex; align-items: center; }
.home-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 4px 0 13px; border-radius: 999px; background: #fff; border: 1px solid #ffa257; box-shadow: none; }
.home-search__ico { font-style: normal; font-size: 16px; line-height: 1; color: #FF552E; }
.home-search__kw { flex: 1; min-width: 0; font-size: 12.5px; color: #a3abb5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-search__btn { flex: 0 0 auto; border: 0; height: 32px; padding: 0 15px; border-radius: 999px; background: linear-gradient(135deg, #ff8a1f, #ff5f00); color: #fff; font-size: 12.5px; font-weight: 700; font-family: inherit; }
.iconbtn { position: relative; border: 0; background: #f5f6f8; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; color: #5c6570; }
.iconbtn .badge { position: absolute; top: -4px; right: -4px; }
.catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 2px; padding: 0; }
.catgrid__item { position: relative; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; font-size: 11px; color: #3d454f; font-family: inherit; }
.catgrid__item i { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #ffd9a8, #ffb066); color: #fff; font-style: normal; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.catgrid__ico svg { width: 23px; height: 23px; }
.catgrid__item span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner { margin: 10px 12px 0; background: linear-gradient(135deg, #ff7a2e, #E8461F); border-radius: 12px; padding: 12px 14px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.banner b { display: block; font-size: 13px; }
.banner span { font-size: 11px; opacity: .85; }
.banner button { border: 0; background: #fff; color: #E8461F; font-size: 11.5px; padding: 5px 12px; border-radius: 14px; }

/* 搜索 */
.page--search .search-head { display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #f2f4f7; }
.search-head .navbar__back { position: static; }
.search-input { flex: 1; border: 0; background: #f5f6f8; border-radius: 16px; padding: 8px 12px; font-size: 13px; outline: none; font-family: inherit; }
.search-go { border: 0; background: transparent; color: #FF552E; font-size: 13px; }
.kwrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 6px; }
.kw { border: 0; background: #f5f6f8; color: #3d454f; font-size: 12px; padding: 6px 12px; border-radius: 14px; font-family: inherit; }
.suggest { margin: 0 14px 10px; background: #fff; border-radius: 10px; overflow: hidden; }
.suggest__row { display: flex; justify-content: space-between; padding: 11px 12px; font-size: 13px; border-bottom: 1px solid #f7f8fa; color: #3d454f; }

.result-bar { background: #fff; padding: 10px 12px 0; position: sticky; top: 0; z-index: 2; }
.filterbar { display: flex; gap: 8px; padding: 10px 0; }
.filterbar__item { flex: 1; border: 0; background: #f5f6f8; color: #5c6570; font-size: 11.5px; padding: 7px 4px; border-radius: 8px; font-family: inherit; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.filterbar__item.is-on { background: #fff1e8; color: #FF552E; font-weight: 600; }
.result-count { font-size: 11.5px; color: #99a1ab; padding: 8px 14px 0; }

/* 地图占位 */
.mapbox { position: relative; height: 132px; margin: 12px; border-radius: 12px; background:
  repeating-linear-gradient(0deg, #eef2f6 0 1px, transparent 1px 26px),
  repeating-linear-gradient(90deg, #eef2f6 0 1px, transparent 1px 26px), #f7f9fb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.mapbox__pin { font-size: 22px; color: #FF552E; }
.mapbox__tip { font-size: 11px; color: #99a1ab; }
.mapbox__mask { position: absolute; bottom: 6px; right: 8px; font-size: 10px; color: #b6bdc6; }
.jobcard__dist { font-size: 11px; color: #99a1ab; margin-top: 6px; }

/* 消息/通知 */
.notice { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 14px; }
.notice__head { display: flex; justify-content: space-between; font-size: 13px; color: #1f2329; margin-bottom: 6px; }
.notice__head span { font-size: 11px; color: #b6bdc6; }
.notice p { margin: 0 0 8px; font-size: 12.5px; color: #5c6570; line-height: 1.6; }
.notice--flat { border: 1px solid #FFDAD3; background: #fffaf6; }
.notice--flat b { font-size: 13px; color: #1f2329; }
.notice--flat p { margin: 4px 0 0; }

/* 我的 */
.profile { background: linear-gradient(135deg, #ff7a2e, #E8461F); padding: 20px 16px; color: #fff; }
.profile__row { display: flex; align-items: center; gap: 12px; }
.profile__avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; flex: 0 0 52px; }
.profile__main { flex: 1; }
.profile__name { font-size: 16px; font-weight: 700; }
.profile__sub { font-size: 11.5px; opacity: .9; margin-top: 3px; }
.profile__role { font-size: 11.5px; background: rgba(255, 255, 255, .2); padding: 4px 8px; border-radius: 12px; }
.profile__row + * { margin-top: 0; }
.statrow { position: relative; }

/* 登录 */
.page--login .page__scroll { background: #fff; }
.loginbox { padding: 22px 24px; }
.loginbox h2 { font-size: 19px; margin-bottom: 6px; }
.loginbox > p { font-size: 12px; color: #99a1ab; margin: 0 0 18px; }
.field { border-bottom: 1px solid #eceff3; padding: 10px 0; }
.field input, .field textarea { width: 100%; border: 0; outline: none; font-size: 14px; font-family: inherit; background: transparent; }
.field--code { display: flex; align-items: center; gap: 8px; }
.field--code button { border: 0; background: transparent; color: #FF552E; font-size: 12.5px; white-space: nowrap; }
.agree { display: flex; gap: 6px; align-items: flex-start; font-size: 11.5px; color: #7a838f; margin: 16px 0 6px; line-height: 1.5; }
.login-tip { text-align: center; font-size: 11px; color: #b6bdc6; margin-top: 14px; }

/* 简历 */
.resume-head { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 14px; }
.resume-head__row { display: flex; justify-content: space-between; align-items: center; }
.resume-head__row b { font-size: 15px; display: block; }
.resume-head__row span { font-size: 11.5px; color: #7a838f; }
.resume-head__pct { color: #FF552E; font-weight: 700; font-size: 15px; }
.progress { height: 5px; border-radius: 3px; background: #f2f4f7; margin: 10px 0 6px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #FF7B5D, #E8461F); }
.resume-head p { margin: 0; font-size: 11px; color: #99a1ab; }
.actionbar { display: flex; gap: 10px; padding: 12px 14px 22px; }
.actionbar .btn { flex: 1; }
.status { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.status--0 { background: #fff3e8; color: #FF552E; }
.status--1 { background: #eef4ff; color: #3b6fd4; }
.status--2 { background: #e9f8f1; color: #17a673; }
.status--3 { background: #f2f4f7; color: #8b95a3; }
.unfav { margin-top: 8px; border: 1px solid #eceff3; background: #fff; color: #8b95a3; font-size: 11.5px; padding: 5px 10px; border-radius: 14px; }

/* 招聘方 */
.biz-head { background: linear-gradient(135deg, #3d4b5c, #26313d); color: #fff; padding: 18px 16px 16px; }
.biz-head__top { display: flex; justify-content: space-between; align-items: center; }
.biz-head__top b { font-size: 15px; }
.biz-head__top button { border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: 12px; }
.biz-head__data { display: flex; margin-top: 14px; }
.biz-head__data div { flex: 1; text-align: center; }
.biz-head__data b { display: block; font-size: 17px; }
.biz-head__data span { font-size: 10.5px; opacity: .8; }
.bizgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px; }
.bizgrid__item { background: #fff; border: 0; border-radius: 12px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: #3d454f; font-family: inherit; }
.bizgrid__item i { font-style: normal; font-size: 17px; color: #FF552E; }
.todolist { background: #fff; margin: 0 12px; border-radius: 12px; }
.todo { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13px; border-bottom: 1px solid #f7f8fa; }
.todo:last-child { border-bottom: 0; }
.todo b { color: #FF552E; font-size: 13px; }
.todo b.is-zero { color: #99a1ab; font-weight: 400; font-size: 11.5px; }
.mini-stats { display: flex; gap: 14px; font-size: 11.5px; color: #99a1ab; margin-top: 8px; }
.cand { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 12px 14px; }
.cand__head { display: flex; gap: 10px; margin-bottom: 8px; }
.cand__main { flex: 1; }
.cand__acts { display: flex; gap: 8px; margin-top: 10px; }
.cand__acts button { flex: 1; border: 1px solid #eceff3; background: #fff; color: #3d454f; font-size: 12px; padding: 7px 0; border-radius: 8px; font-family: inherit; }
.cand__acts button:last-child { border-color: #FF552E; color: #FF552E; }
.citygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 14px; }
.citygrid__item { border: 1px solid #eceff3; background: #fff; border-radius: 8px; padding: 9px 0; font-size: 12.5px; color: #3d454f; font-family: inherit; }
.citygrid__item.is-on { border-color: #FF552E; color: #FF552E; background: #FFF2EF; }

/* 会话 */
.chat-body { background: #f7f8fa; padding: 12px; }
.chat-jobcard { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 12px; }
.chat-jobcard b { display: block; font-size: 12.5px; }
.chat-jobcard span { font-size: 11px; color: #99a1ab; }
.chat-jobcard button { border: 1px solid #FFD0C2; background: #FFF2EF; color: #FF552E; font-size: 11.5px; padding: 4px 10px; border-radius: 12px; }
.chat-list { padding: 12px 0; }
.chat-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-start; }
.chat-row.is-mine { justify-content: flex-end; }
.chat-bubble { max-width: 74%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; background: #fff; color: #1f2329; border-top-left-radius: 4px; }
.chat-row.is-mine .chat-bubble { background: #FF552E; color: #fff; border-top-left-radius: 12px; border-top-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 14px; }
.chat-quick .kw { background: #fff; border: 1px solid #eceff3; font-size: 11.5px; padding: 5px 10px; }
.chat-inputbar { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid #eceff3; background: #fff; }
.chat-inputbar input { flex: 1; border: 0; background: #f5f6f8; border-radius: 16px; padding: 9px 14px; font-size: 13px; outline: none; font-family: inherit; }
.chat-send { border: 0; background: #FF552E; color: #fff; font-size: 12.5px; padding: 8px 14px; border-radius: 16px; }
.chat-plus { border: 0; background: transparent; font-size: 18px; color: #7a838f; }

/* 步骤条 */
.stepper { display: flex; gap: 6px; }
.stepper__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; color: #b6bdc6; }
.stepper__item i { width: 20px; height: 20px; border-radius: 50%; background: #f2f4f7; color: #99a1ab; font-style: normal; font-size: 10.5px; display: flex; align-items: center; justify-content: center; }
.stepper__item.is-on { color: #FF552E; }
.stepper__item.is-on i { background: #FF552E; color: #fff; }
.stepper__item.is-done i { background: #FFDAD3; color: #FF552E; }

/* H5 补充 */
.h5__text { font-size: 13px; color: #3d454f; line-height: 1.7; }
.h5__text p { margin: 0 0 8px; }
.h5__text h4, .h5__card h4 { font-size: 12.5px; color: #1f2329; margin: 12px 0 6px; }
.h5__ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: #3d454f; line-height: 1.8; }
.h5__map { display: flex; align-items: center; gap: 6px; background: #f5f7fa; border-radius: 8px; padding: 12px; font-size: 12px; color: #5c6570; margin-bottom: 10px; }
.h5__pre { margin: 0; font-size: 11px; color: #5c6570; white-space: pre-wrap; background: #f7f9fb; border-radius: 8px; padding: 10px; }
.kv__url { max-width: 62%; text-align: right; word-break: break-all; }
.comp-row { display: flex; align-items: center; gap: 10px; }
.comp-logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #eef4ff, #dbe8ff); color: #3b6fd4; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.comp-main { flex: 1; }
.comp-main b { display: block; font-size: 13px; }
.comp-main span { font-size: 11px; color: #99a1ab; }
.simjob { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f2f4f7; }
.simjob:last-child { border-bottom: 0; }
.simjob b { display: block; font-size: 13px; color: #1f2329; }
.simjob span { font-size: 11px; color: #99a1ab; }
.h5-actionbar { position: sticky; bottom: 0; display: flex; gap: 8px; background: #fff; padding: 10px 12px; border-top: 1px solid #eceff3; margin: 0 -14px -14px; }
.h5-actionbar button { border: 0; font-size: 13px; padding: 10px 0; border-radius: 22px; font-family: inherit; }
.h5-actionbar__fav { flex: 0 0 64px; background: #f5f6f8; color: #5c6570; font-size: 10px; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.h5-actionbar__fav.is-on { color: #FF552E; }
.h5-actionbar__chat { flex: 1; background: #fff1e8; color: #FF552E; border: 1px solid #FFD0C2 !important; }
.h5-actionbar__deliver { flex: 1; background: #FF552E; color: #fff; }
.faq { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #f2f4f7; font-size: 12.5px; color: #3d454f; }
.faq:last-child { border-bottom: 0; }

/* =========================================================================
  全屏容器（移动端单页）
   ========================================================================= */
body.is-app { background: var(--phone-bg); }
body.is-app .stage { display: block; height: 100%; padding: 0; gap: 0; }
body.is-app .phone { height: 100%; }
body.is-app .phone__screen { border-radius: 0; }
body.is-app .tabbar { padding-bottom: calc(2px + env(safe-area-inset-bottom, 0px)); }
body.is-app .h5-actionbar { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }

/* 桌面浏览器：仍是移动端单页，但居中不拉宽 */
@media (min-width: 901px) {
  body.is-app { display: flex; justify-content: center; background: #f2f3f5; }
  body.is-app .stage {
    width: 100%; max-width: 430px; height: 100%;
    box-shadow: 0 0 0 1px #e6e8eb, 0 18px 50px rgba(0, 0, 0, .08);
  }
}

/* 顶部安全区（刘海屏 / WebView 内嵌状态栏） */
body.is-app .navbar { height: auto; min-height: 46px; padding-top: env(safe-area-inset-top, 0px); }
body.is-app .home-head { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); }
body.is-app .search-head { padding-top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* 网络异常 / 未登录提示条（替代原「静默降级」） */
.notice-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 8px 12px; padding: 9px 12px; border-radius: 10px;
  background: #fff7e8; border: 1px solid #ffe0b2; color: #8a5a00; font-size: 12.5px;
}
.notice-bar--err { background: #fdf0f0; border-color: #f6cfcf; color: #a33; }
.notice-bar button {
  border: 0; background: #FF552E; color: #fff; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}

/* 登录页身份选择 */
.role-seg { display: flex; gap: 10px; margin: 16px 0 6px; }
.role-seg button {
  flex: 1; height: 38px; border-radius: 10px; border: 1px solid #e8e8e8;
  background: #fff; color: #666; font-size: 13.5px;
}
.role-seg button.is-active { border-color: #FF552E; color: #FF552E; background: #fff6ef; font-weight: 600; }

/* 空占位元素不占位 */
.profile__role:empty { display: none; }

/* H5 内页异常兜底 */
.h5__error { padding: 80px 24px; text-align: center; color: #666; }

/* =========================================================================
  首页改版：金刚区 15 入口（5 列 × 3 行）/ 同城急聘 / 老板首页 / 服务占位页
   ========================================================================= */
.catbox { padding-bottom: 2px; }
/* 首页金刚区：与白色顶部同底，不再浮层 */
.home-head .catbox {
  margin-top: 2px; padding: 6px 4px 4px;
  background: #fff; border-radius: 0;
  box-shadow: none;
}
.svcgridbox .catbox { padding-bottom: 2px; }
.catgrid__tip {
  position: absolute; top: -6px; right: -2px; font-style: normal; font-size: 9px;
  line-height: 1; padding: 2px 4px; border-radius: 6px 6px 6px 0;
  background: #ff4d4f; color: #fff; transform: scale(.88); transform-origin: right top;
}

/* 通用横向标签条 */
.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; }
.chiprow::-webkit-scrollbar { display: none; }
.chiprow .chip {
  flex: 0 0 auto; border: 0; font-family: inherit; font-size: 11.5px;
  padding: 5px 11px; border-radius: 999px; background: #f4f6f9; color: #5c6570;
}
.chiprow .chip.is-on { background: #fff1e8; color: #FF552E; font-weight: 600; }
.chiprow--bar { padding: 8px 0 0; }

/* 职位类型标签 */
.chip--type { background: #fff1e8; color: #FF552E; }

/* 同城急聘模块 */
.urgentcard { background: #fff; margin: 10px 12px; border-radius: 14px; padding: 12px 14px 4px; box-shadow: 0 2px 12px rgba(17, 24, 39, .04); }
.urgentcard__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.urgentcard__head b { display: block; font-size: 14px; color: #1f2329; }
.urgentcard__head span { font-size: 11px; color: #99a1ab; }
.urgentcard__all { border: 0; background: transparent; color: #FF552E; font-size: 11.5px; font-family: inherit; padding: 2px 0 0 8px; white-space: nowrap; }
.urgentcard__empty { padding: 22px 0 20px; text-align: center; font-size: 12px; color: #99a1ab; }
.urgentcard .chiprow { flex-wrap: wrap; overflow: visible; }
.urgentcard .jobcard { margin: 0; padding: 10px 0; border: 0; border-top: 1px solid #f5f6f8; border-radius: 0; box-shadow: none; }
.urgentcard .jobcard:first-of-type { border-top: 0; }

/* 老板首页 */
.biz-head--home { padding-bottom: 14px; }
.biz-head--home .tag-mini { margin-left: 6px; background: rgba(255, 255, 255, .18); color: #fff; }
.biz-head__top .badge { position: static; margin-left: 3px; }
.bossgrid { margin-top: 12px; }
.svcgridbox { background: #fff; margin: 0 12px; border-radius: 14px; padding: 4px 8px; }
.svcgridbox .catgrid { padding: 8px 0 10px; }

/* 服务占位页 */
.svc-hero { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 16px 14px; margin-bottom: 12px; }
.svc-hero__ico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
  background: linear-gradient(135deg, #fff1e8, #FFDAD3); color: #FF552E;
  font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.svc-hero__main { flex: 1; min-width: 0; }
.svc-hero__main b { display: block; font-size: 16px; color: #1f2329; margin-bottom: 4px; }
.svc-hero__main span { font-size: 12px; color: #8b95a3; line-height: 1.5; }
.svc-hero__badge {
  flex: 0 0 auto; font-style: normal; font-size: 11px; color: #FF552E;
  background: #fff6ef; border: 1px solid #FFD0C2; border-radius: 999px; padding: 4px 9px;
}
.svc-note { margin: 2px 4px 16px; font-size: 11.5px; color: #99a1ab; line-height: 1.6; }
.svc-act { display: flex; gap: 10px; }
.svc-act .btn { flex: 1; }
.h5__error b { display: block; font-size: 16px; color: #222; margin-bottom: 8px; }
.h5__error p { font-size: 13px; color: #999; }

/* =========================================================================
 * 登录 / 注册（艾米无忧）
 * ========================================================================= */
.page--auth { background: #fff; }
.page--auth .page__scroll { background: #fff; display: flex; flex-direction: column; }

.auth {
  --auth-green: #23c065;
  --auth-green-2: #3ed47c;
  --auth-ink: #1b1f24;
  --auth-sub: #8d959f;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--auth-ink);
}

/* 头部品牌区 */
.auth__hero {
  position: relative;
  flex: 0 0 auto;
  padding: 34px 24px 58px;
  padding-top: calc(34px + env(safe-area-inset-top, 0px));
  background: linear-gradient(158deg, #4bdb83 0%, #29c46a 52%, #1fbb60 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.auth__brand {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.auth__slogan {
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  opacity: .95;
}
/* 吉祥物位置：素材就位后把背景图放这里即可，当前用气泡占位 */
.auth__mascot {
  height: 86px;
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.auth__bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background: #fff;
  color: var(--auth-green);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(20, 120, 70, .18);
}

/* 白色卡片 */
.auth__card {
  position: relative;
  flex: 1 1 auto;
  margin-top: -34px;
  padding: 26px 22px calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.auth__card--plain { margin-top: 0; border-radius: 0; padding-top: 4px; }

/* 输入框 */
.auth__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  margin-bottom: 14px;
  border-radius: 26px;
  background: #f3f5f7;
}
.auth__field:focus-within { box-shadow: 0 0 0 1.5px rgba(35, 192, 101, .45); }
.auth__prefix {
  flex: 0 0 auto;
  font-size: 15px;
  color: #414851;
  padding-right: 10px;
  border-right: 1px solid #dde2e7;
}
.auth__field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--auth-ink);
}
.auth__field input::placeholder { color: #a9b1ba; }
.auth__eye, .auth__send {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--auth-green);
  font-size: 13.5px;
  padding: 4px 0 4px 8px;
}
.auth__eye { color: #9aa3ad; display: inline-flex; align-items: center; }
.auth__send:disabled { color: #b9c1ca; }
.auth__forgot {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--auth-green);
  font-size: 13.5px;
  padding: 0 0 0 10px;
}

/* 协议 */
.auth__agree {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 6px 4px 18px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--auth-sub);
}
.auth__agree input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin: 1px 0 0;
  border-radius: 50%;
  border: 1px solid #cfd6dd;
  background: #fff;
  position: relative;
}
.auth__agree input:checked { background: var(--auth-green); border-color: var(--auth-green); }
.auth__agree input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.auth__agree a { color: var(--auth-green); text-decoration: none; }

/* 主按钮 */
.auth__primary {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 25px;
  background: linear-gradient(90deg, var(--auth-green-2), var(--auth-green));
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  box-shadow: 0 8px 18px rgba(35, 192, 101, .26);
  transition: opacity .18s, transform .12s;
}
.auth__primary:active { transform: scale(.985); }
.auth__primary:disabled { background: #a9e5c2; box-shadow: none; color: #fff; }

/* 文字链 */
.auth__links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #6f7883;
}
.auth__links button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #6f7883;
}
.auth__links .sep { color: #d3d9df; }

/* 第三方登录 */
.auth__third { margin-top: auto; padding-top: 26px; }
.auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aab2bb;
  font-size: 12.5px;
}
.auth__divider::before, .auth__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #eef1f4;
}
.auth__wx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: #7c858f;
  font-size: 12.5px;
}
.auth__wx i {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #eaf9f0;
}
.auth__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
  font-size: 12.5px;
}
.auth__foot button {
  border: 0;
  background: transparent;
  color: #a7afb8;
  font: inherit;
}

/* 验证码登录页 */
.auth__hint {
  margin: 0 4px 18px;
  font-size: 13px;
  color: var(--auth-sub);
  line-height: 1.6;
}
.auth__hint b { color: var(--auth-ink); font-weight: 600; }
.auth__hint a { color: var(--auth-green); text-decoration: none; }

/* 注册页（无头图，白底） */
.auth__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 14px;
  padding-top: env(safe-area-inset-top, 0px);
}
.auth__back {
  width: 40px; height: 40px;
  border: 0; background: transparent;
  font-size: 26px; line-height: 1;
  color: #2b3138;
}
.auth__title {
  margin: 10px 20px 6px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .5px;
}
.auth__form { margin: 14px 20px 0; }
.auth__row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  border-bottom: 1px solid #f0f2f5;
}
.auth__row .auth__prefix { color: #434a53; }
.auth__row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  color: var(--auth-ink);
}
.auth__row input::placeholder { color: #b3bac2; }
.auth__row .auth__send { color: var(--auth-green); font-size: 14px; }
.auth__form .auth__agree { margin: 18px 0 22px; }
.auth__form .auth__primary { height: 48px; }

/* =========================================================================
 * 社区（Tab）
 * ========================================================================= */
.page--community { background: #f5f6f8; }
.page--community .page__scroll { padding-bottom: 26px; }

.comm-head { background: #fff; padding: 12px 14px 10px; }
.comm-head__top { display: flex; align-items: flex-start; justify-content: space-between; }
.comm-head__top b { display: block; font-size: 19px; color: var(--ink); }
.comm-head__top span { font-size: 11.5px; color: var(--ink-3); }
.comm-head__top .iconbtn {
  position: relative; border: 0; background: #f4f6f8; color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 50%; font-size: 15px;
}

.comm-postbar {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin-top: 12px; padding: 8px 10px;
  border: 1px solid #eceff3; border-radius: 12px; background: #fafbfc;
  text-align: left;
}
.comm-postbar__avatar {
  flex: 0 0 26px; width: 26px; height: 26px; line-height: 26px; text-align: center;
  border-radius: 50%; background: rgba(255, 85, 46, .12); color: var(--brand);
  font-style: normal; font-size: 12px; font-weight: 600;
}
.comm-postbar__ph { flex: 1 1 auto; font-size: 12.5px; color: #a6aeb8; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.comm-postbar em {
  flex: 0 0 auto; font-style: normal; font-size: 12px; font-weight: 600; color: #fff;
  background: var(--brand); padding: 4px 12px; border-radius: 12px;
}

.comm-topics { padding: 10px 14px 4px; background: #f5f6f8; }
.comm-topics::-webkit-scrollbar { display: none; }

.comm-feed { padding: 6px 12px 0; }

.postcard {
  background: #fff; border-radius: 14px; padding: 12px 12px 6px;
  margin-bottom: 10px; box-shadow: 0 2px 8px rgba(20, 26, 34, .04);
}
.postcard--off { background: #fffaf3; border: 1px solid #ffe3c4; }
.postcard__head { display: flex; align-items: center; gap: 9px; }
.postcard__who { flex: 1 1 auto; min-width: 0; }
.postcard__name { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.postcard__meta { font-size: 11px; color: #9aa2ac; margin-top: 2px; }
.postcard__more { border: 0; background: none; color: #b3bac2; font-size: 16px; line-height: 1; padding: 0 2px; }
.postcard__text {
  margin: 9px 0 0; font-size: 14px; line-height: 1.62; color: #2b3038;
  word-break: break-word;
}
.postimgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.postimgs i { display: block; padding-top: 100%; border-radius: 8px; background: linear-gradient(135deg, #f0f2f5, #e6eaf0); }
.postcard__foot {
  display: flex; gap: 18px; margin-top: 10px; padding: 8px 0 6px;
  border-top: 1px solid #f3f5f7;
}
.postact {
  border: 0; background: none; padding: 0; font-size: 12px; color: #8b939d;
  display: inline-flex; align-items: center; gap: 4px;
}
.postact i { font-style: normal; font-size: 14px; line-height: 1; }
.postact.is-on { color: var(--brand); }

.avatar--off { background: linear-gradient(135deg, #FF8A6B, #FF552E) !important; }
.avatar--hr { background: linear-gradient(135deg, #4f8cff, #2f6ae0) !important; }
.avatar--sm { width: 28px !important; height: 28px !important; flex: 0 0 28px !important; font-size: 12px !important; }
.tag-mini.is-hr { background: rgba(47, 106, 224, .1); color: #2f6ae0; }
.tag-mini.is-c { background: rgba(20, 120, 90, .1); color: #14785a; }
.tag-mini.is-off { background: rgba(255, 85, 46, .12); color: var(--brand); }

/* 评论 */
.page--post .page__scroll { padding: 10px 12px 24px; }
.page--post .postcard { margin-bottom: 0; }
.page--post .postcard__text { font-size: 14.5px; }
.comm-cmts { background: #fff; margin: 10px 0 0; border-radius: 14px; padding: 4px 12px 12px; }
.comm-cmts__empty { text-align: center; font-size: 12px; color: #a6aeb8; padding: 16px 0; }
.cmtrow { display: flex; gap: 9px; padding: 10px 0; border-bottom: 1px solid #f4f6f8; }
.cmtrow:last-of-type { border-bottom: 0; }
.cmtrow__main { flex: 1 1 auto; min-width: 0; }
.cmtrow__name { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cmtrow__name span { font-weight: 400; color: #a6aeb8; font-size: 11px; }
.cmtrow__main p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #3a4048; }

.comm-replybar {
  flex: 0 0 auto; display: flex; gap: 8px; align-items: center;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--line);
}
.comm-replybar input {
  flex: 1 1 auto; min-width: 0; height: 36px; padding: 0 12px;
  border: 1px solid #eceff3; border-radius: 18px; background: #f7f8fa;
  font-size: 13px; outline: none;
}
.comm-replybar .btn { flex: 0 0 auto; height: 36px; padding: 0 16px; }

/* 发布动态 */
.comm-composer { background: #fff; padding: 14px 14px 18px; min-height: 100%; }
.comm-composer textarea {
  width: 100%; min-height: 132px; border: 0; outline: none; resize: none;
  font: inherit; font-size: 14.5px; line-height: 1.66; color: #2b3038;
}
.comm-composer textarea::placeholder { color: #b3bac2; }
.comm-composer__count { text-align: right; font-size: 11px; color: #a6aeb8; }
.comm-composer__label { margin: 16px 0 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.comm-composer__topics { flex-wrap: wrap; overflow: visible; }
.comm-composer__tips { margin-top: 16px; font-size: 11.5px; line-height: 1.6; color: #9aa2ac; }

/* ==================== 社区 / IM 真数据渲染补充 ==================== */
.postimgs--real img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; background: #f0f2f5; }
.post-jobcard { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #f7f9fc; display: flex; flex-direction: column; gap: 2px; }
.post-jobcard b { font-size: 12.5px; color: var(--ink); }
.post-jobcard span { font-size: 11px; color: #8b939d; }
.postact--sayhi { margin-left: auto; color: var(--brand); font-weight: 600; }

.postpick { display: flex; flex-wrap: wrap; gap: 8px; }
.postpick__add,
.postpick__item { width: 74px; height: 74px; border-radius: 8px; position: relative; overflow: hidden; }
.postpick__add { display: flex; align-items: center; justify-content: center; background: #f5f6f8; color: #b3bac2; font-size: 26px; }
.postpick__item img { width: 100%; height: 100%; object-fit: cover; }
.postpick__del { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; line-height: 18px; padding: 0; }

.comm-cmts { background: #fff; margin: 8px 12px 20px; border-radius: 12px; padding: 4px 12px 12px; }
.comm-cmts__empty { padding: 22px 0; text-align: center; font-size: 12px; color: #a6aeb8; }
.cmtrow { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f3f5f8; }
.cmtrow--sub { padding-left: 34px; border-bottom: 0; }
.cmtrow__main { flex: 1 1 auto; min-width: 0; }
.cmtrow__name { display: flex; justify-content: space-between; font-size: 12px; color: #8b939d; }
.cmtrow__name span:first-child { color: #2b3038; font-weight: 600; }
.cmtrow__main p { margin: 4px 0 2px; font-size: 13px; line-height: 1.55; color: #2b3038; word-break: break-word; }
.cmtrow__acts { display: flex; gap: 14px; }
.cmtrow__acts button { border: 0; background: none; padding: 0; font-size: 11.5px; color: #9aa2ac; }

.comm-replybar { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); }
.comm-replybar input { flex: 1 1 auto; border: 0; background: #f5f6f8; border-radius: 16px; padding: 9px 14px; font-size: 13px; outline: none; font-family: inherit; }

.imrow.is-top { background: #fafbfd; }
.imrow.is-unread .imrow__name span:first-child::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--brand); vertical-align: middle; }
.imrow__quote { margin-top: 3px; color: #8b939d; }
.notice.is-unread { border-left: 3px solid var(--brand); }

.chat-readtip { text-align: center; font-size: 11px; color: #a6aeb8; padding: 2px 0 10px; }
.chat-bubble.is-recall { background: #eceff3 !important; color: #9aa2ac !important; font-style: italic; }
.page--chat .page__scroll { padding-bottom: 4px; }

.comm-head__acts { display: flex; gap: 8px; }
.comm-head__acts .iconbtn { white-space: nowrap; }
.comm-head__acts .badge[hidden] { display: none; }
