:root {
  --blue: #1f6bff;
  --blue-2: #0ea5e9;
  --blue-deep: #0b4bcc;
  --ink: #0f1b2d;
  --ink-2: #4b5a73;
  --muted: #8996ab;
  --line: #eaeef5;
  --bg: #f4f6fb;
  --orange: #ff6a00;
  --green: #16a34a;
  --card-shadow: 0 8px 24px rgba(20, 48, 100, 0.07);
  --radius: 16px;
  --tabbar-h: 58px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; color: var(--ink); outline: none; }

.app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}

/* ---------- 顶部栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 238, 245, 0.8);
}

.topbar.white { background: #fff; }

.icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f5fb;
  color: var(--ink-2);
  flex: 0 0 auto;
}
.icon-btn svg { width: 18px; height: 18px; }

.topbar-title {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  text-align: center;
}
.topbar-side { width: 32px; flex: 0 0 auto; }

/* ---------- 通用 ---------- */
.pad { padding: 0 16px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--card-shadow);
}
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.xs { font-size: 11px; }
.strong { font-weight: 600; }
.price { color: var(--orange); font-weight: 700; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 16px 12px;
}
.section-head h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .2px; }
.section-head .more { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 2px; }

.tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f2f5fa;
  color: var(--ink-2);
  margin: 0 6px 6px 0;
  white-space: nowrap;
}
.tag.blue { background: rgba(31, 107, 255, 0.09); color: var(--blue); }
.tag.orange { background: rgba(255, 106, 0, 0.1); color: var(--orange); }
.tag.green { background: rgba(22, 163, 74, 0.1); color: var(--green); }

.avatar {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
  flex: 0 0 auto;
  letter-spacing: .5px;
}

/* ---------- 首页 ---------- */
.hero {
  position: relative;
  margin: 12px 16px 0;
  border-radius: 20px;
  padding: 18px 18px 16px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(120, 210, 255, 0.55) 0%, rgba(120, 210, 255, 0) 55%),
    linear-gradient(135deg, #1b5cf0 0%, #1f6bff 45%, #0aa2e6 100%);
  overflow: hidden;
  min-height: 176px;
  box-shadow: 0 12px 30px rgba(24, 84, 220, 0.22);
}
.hero::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -70px; top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.hero-person {
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 110px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.hero-person img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: 50% 6%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(9, 40, 120, 0.32);
  margin: 0 auto;
}
.hero-person span {
  display: block;
  width: max-content;
  margin: 7px auto 0;
  font-size: 10px;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 2px 9px;
}

.hero-brand { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.hero-logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.hero-brand span { font-size: 12px; letter-spacing: 1px; opacity: .92; }

.hero-slogan {
  position: relative; z-index: 2;
  margin: 12px 0 4px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.25;
  max-width: 68%;
}
.hero-sub { position: relative; z-index: 2; font-size: 12px; opacity: .88; max-width: 66%; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 18px;
  margin-top: 16px;
}
.hero-stats .num { font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.hero-stats .lbl { font-size: 10px; opacity: .8; margin-top: 1px; }

.searchbar {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 16px 0;
  background: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  box-shadow: 0 6px 18px rgba(24, 48, 100, 0.08);
  color: var(--muted);
  font-size: 13px;
}
.searchbar svg { width: 16px; height: 16px; color: var(--blue); flex: 0 0 auto; }
.searchbar .go {
  margin-left: auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 16px 0;
}
.quick-item {
  background: #fff;
  border-radius: 14px;
  padding: 13px 6px 11px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(24, 48, 100, 0.06);
}
.quick-ic {
  width: 34px; height: 34px; margin: 0 auto 7px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: #fff;
}
.quick-item b { font-size: 13px; font-weight: 600; }
.quick-item small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

.live-bar {
  margin: 14px 16px 0;
  background: #fff;
  border-radius: 14px;
  padding: 11px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 16px rgba(24, 48, 100, 0.06);
  border: 1px solid rgba(31, 107, 255, 0.1);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}
.live-bar .txt { flex: 1; font-size: 12px; color: var(--ink-2); }
.live-bar .txt b { color: var(--ink); font-size: 13px; display: block; font-weight: 600; }
.live-bar .enter {
  font-size: 12px; color: var(--blue); font-weight: 600;
  border: 1px solid rgba(31, 107, 255, .35);
  border-radius: 999px; padding: 4px 10px;
}

.hscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }

.gig-card {
  flex: 0 0 62%;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(24, 48, 100, 0.06);
  position: relative;
  min-width: 210px;
}
.gig-card .b {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff5b00);
  padding: 3px 7px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.gig-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.gig-card .sal { color: var(--orange); font-weight: 800; font-size: 16px; }
.gig-card .meta { font-size: 11px; color: var(--muted); margin-top: 6px; }

.job-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin: 0 16px 10px;
  box-shadow: 0 4px 14px rgba(24, 48, 100, 0.05);
}
.job-card .top { display: flex; gap: 10px; align-items: flex-start; }
.job-main { flex: 1; min-width: 0; }
.job-title-row { display: flex; align-items: center; gap: 6px; }
.job-title-row h4 { margin: 0; font-size: 15px; font-weight: 700; max-width: 100%; }
.job-title-row .fresh {
  font-size: 10px; color: #fff; background: var(--blue);
  border-radius: 4px; padding: 1px 4px; flex: 0 0 auto;
}
.job-sal { font-size: 15px; font-weight: 800; color: var(--orange); flex: 0 0 auto; white-space: nowrap; }
.job-company { font-size: 12px; color: var(--ink-2); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.job-company .vip { font-size: 9px; background: rgba(31,107,255,.1); color: var(--blue); border-radius: 3px; padding: 1px 3px; }
.job-tags { margin-top: 8px; }
.job-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.job-foot .area { color: var(--ink-2); }

.company-card {
  flex: 0 0 40%;
  min-width: 150px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(24, 48, 100, .06);
}
.company-card .avatar { width: 40px; height: 40px; margin-bottom: 8px; }
.company-card b { display: block; font-size: 13px; font-weight: 600; }
.company-card .ind { font-size: 11px; color: var(--muted); margin-top: 3px; }
.company-card .cnt { font-size: 11px; color: var(--blue); margin-top: 8px; }

.brand-foot {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  padding: 26px 20px 10px;
  line-height: 1.9;
}
.brand-foot b { color: var(--ink-2); }

/* ---------- 找工作 ---------- */
.tabs {
  display: flex;
  gap: 6px;
  background: #fff;
  padding: 8px 16px 10px;
  position: sticky;
  top: 50px;
  z-index: 15;
}
.tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: #f3f6fb;
}
.tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 6px 14px rgba(31, 107, 255, .22);
}

.filter-row {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-2);
  background: #f3f6fb;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.chip.active { background: rgba(31, 107, 255, .1); color: var(--blue); font-weight: 600; }

.result-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 6px;
  font-size: 12px; color: var(--muted);
}
.result-head .sorts { display: flex; gap: 12px; }
.result-head .sorts span.active { color: var(--blue); font-weight: 600; }

.load-more {
  margin: 6px 16px 24px;
  padding: 12px;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  border: 1px solid var(--line);
}

/* ---------- 详情 ---------- */
.detail-head {
  background: linear-gradient(140deg, #1b5cf0, #1f6bff 50%, #0aa2e6);
  color: #fff;
  padding: 20px 18px 22px;
  position: relative;
  overflow: hidden;
}
.detail-head::after {
  content: ""; position: absolute;
  width: 200px; height: 200px; right: -80px; top: -100px;
  background: rgba(255, 255, 255, .12); border-radius: 50%;
}
.detail-head .dh-title { font-size: 21px; font-weight: 800; letter-spacing: .3px; max-width: 76%; }
.detail-head .dh-sal { font-size: 24px; font-weight: 800; margin-top: 8px; }
.detail-head .dh-sal small { font-size: 12px; font-weight: 500; opacity: .9; margin-left: 6px; }
.detail-head .dh-meta { font-size: 12px; opacity: .92; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-head .dh-tags { margin-top: 12px; }
.detail-head .tag { background: rgba(255, 255, 255, .18); color: #fff; }

.detail-company {
  margin: -12px 16px 0;
  position: relative;
  z-index: 5;
  display: flex; align-items: center; gap: 10px;
}
.detail-company .info { flex: 1; min-width: 0; }
.detail-company b { font-size: 14px; }
.detail-company .sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.detail-company .arrow { color: var(--muted); font-size: 18px; }

.block { margin: 12px 16px 0; }
.block h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 10px;
  display: flex; align-items: center; gap: 6px;
}
.block h3::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
}
.block-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; white-space: pre-wrap; }
.block-body p { margin: 0 0 4px; }

.info-line {
  display: flex; gap: 10px; padding: 9px 0;
  font-size: 13px; border-bottom: 1px dashed var(--line);
}
.info-line:last-child { border-bottom: none; }
.info-line .k { color: var(--muted); width: 74px; flex: 0 0 auto; }
.info-line .v { color: var(--ink); flex: 1; }

.map-box {
  height: 118px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(31, 107, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(31, 107, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    #f0f5ff;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-box .pin {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(31, 107, 255, .16), 0 0 0 14px rgba(31, 107, 255, .08);
}
.map-box .addr { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,.85); padding: 4px 8px; border-radius: 6px; }

.actionbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 -6px 20px rgba(20, 40, 90, .06);
}
.act {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: var(--ink-2);
  width: 46px; flex: 0 0 auto;
}
.act svg { width: 20px; height: 20px; }
.act.on { color: var(--blue); }
.btn-call {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: #eaf1ff; color: var(--blue);
}
.btn-apply {
  flex: 1.4;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 107, 255, .28);
}
.btn-apply.done { background: #d9e6ff; color: var(--blue); box-shadow: none; }

/* ---------- AI ---------- */
.ai-wrap {
  min-height: calc(100vh - 50px);
  background: linear-gradient(180deg, #eaf2ff 0%, var(--bg) 22%);
  padding-bottom: 96px;
}
.ai-intro {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
}
.ai-avatar-box { position: relative; width: 58px; height: 58px; flex: 0 0 auto; }
.ai-avatar-box img {
  width: 100%; height: 100%; border-radius: 16px; object-fit: cover; object-position: 50% 12%;
  border: 2px solid #fff; box-shadow: 0 6px 16px rgba(24, 60, 150, .18);
}
.ai-avatar-box .online {
  position: absolute; right: -2px; bottom: -2px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; border: 2px solid #fff;
}
.ai-intro .name { font-size: 15px; font-weight: 700; }
.ai-intro .name i { font-style: normal; font-size: 10px; color: var(--blue); background: rgba(31,107,255,.1); border-radius: 4px; padding: 2px 5px; margin-left: 6px; vertical-align: 1px; }
.ai-intro .desc { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.chat { padding: 4px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 8px; max-width: 100%; }
.msg .bubble {
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 11px 13px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(24, 48, 100, .06);
  max-width: calc(100% - 52px);
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg .mini-av {
  width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto;
  object-fit: cover; object-position: 50% 12%;
  border: 1px solid #fff;
}
.msg.user { flex-direction: row-reverse; }
.msg.user .bubble {
  background: linear-gradient(135deg, var(--blue), #3d84ff);
  color: #fff;
  border-radius: 14px 4px 14px 14px;
  box-shadow: 0 6px 16px rgba(31, 107, 255, .22);
}
.typing { display: inline-flex; gap: 3px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #b9c6da; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

.quick-q { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 0; }
.quick-q span {
  font-size: 12px; color: var(--blue);
  background: rgba(31, 107, 255, .08);
  border-radius: 999px; padding: 6px 11px;
}

.ai-jobs { padding: 4px 0 0 40px; display: flex; flex-direction: column; gap: 8px; }
.ai-job {
  background: #fff; border-radius: 12px; padding: 11px 12px;
  box-shadow: 0 4px 12px rgba(24, 48, 100, .05);
  border-left: 3px solid var(--blue);
}
.ai-job b { font-size: 14px; }
.ai-job .sal { color: var(--orange); font-weight: 700; font-size: 13px; margin-left: 8px; }
.ai-job div.s { font-size: 11px; color: var(--muted); margin-top: 4px; }

.ai-input {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
}
.ai-input input {
  flex: 1;
  background: #f2f5fb;
  border-radius: 999px;
  padding: 11px 15px;
  border: 1px solid transparent;
  font-size: 13.5px;
}
.ai-input input:focus { border-color: rgba(31, 107, 255, .35); background: #fff; }
.ai-send {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(31, 107, 255, .28);
}
.ai-send svg { width: 18px; height: 18px; }

/* ---------- 我的 / 简历 ---------- */
.me-head {
  background: linear-gradient(140deg, #1b5cf0, #1f6bff 55%, #0aa2e6);
  color: #fff;
  padding: 22px 18px 26px;
  position: relative;
  overflow: hidden;
}
.me-head::after {
  content: ""; position: absolute; width: 210px; height: 210px; right: -90px; top: -110px;
  background: rgba(255,255,255,.12); border-radius: 50%;
}
.me-user { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.me-user .ava {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.me-user b { font-size: 17px; font-weight: 700; display: block; }
.me-user .p { font-size: 12px; opacity: .85; margin-top: 3px; }

.me-score { margin: 16px 16px 0; position: relative; z-index: 3; }
.me-score .row { justify-content: space-between; font-size: 12.5px; }
.me-score .bar { height: 6px; background: #eef2f8; border-radius: 3px; margin-top: 9px; overflow: hidden; }
.me-score .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }

.me-menu { margin: 12px 16px 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); }
.me-item {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #f1f4f9;
  font-size: 14px;
}
.me-item:last-child { border-bottom: none; }
.me-item .ic { width: 28px; height: 28px; border-radius: 8px; background: #f2f5fb; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.me-item b { font-weight: 600; flex: 1; }
.me-item .cnt { font-size: 12px; color: var(--muted); }
.me-item .arw { color: #c3ccdb; font-size: 16px; }

.form-card { margin: 12px 16px 0; background: #fff; border-radius: 16px; padding: 4px 16px; box-shadow: var(--card-shadow); }
.form-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid #f2f5f9;
}
.form-row:last-child { border-bottom: none; }
.form-row .k { width: 82px; flex: 0 0 auto; font-size: 13.5px; color: var(--ink-2); }
.form-row .k i { color: #ff3b3b; font-style: normal; margin-left: 2px; }
.form-row input, .form-row select { flex: 1; border: none; font-size: 13.5px; background: transparent; text-align: right; min-width: 0; }
.form-row textarea {
  flex: 1; border: none; font-size: 13.5px; text-align: left; min-height: 74px;
  resize: none; line-height: 1.6; background: transparent;
}
.form-tip { font-size: 11.5px; color: var(--muted); padding: 10px 4px 0; line-height: 1.7; }

.btn-block {
  margin: 18px 16px 26px;
  padding: 14px;
  text-align: center;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 24px rgba(31, 107, 255, .26);
}
.btn-block.ghost { background: #fff; color: var(--ink-2); box-shadow: none; border: 1px solid var(--line); }

.app-item {
  margin: 0 16px 10px;
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 4px 14px rgba(24, 48, 100, .05);
}
.app-item .between { align-items: flex-start; }
.app-item b { font-size: 15px; }
.app-item .st { font-size: 12px; font-weight: 600; }
.app-item .sub { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.empty { text-align: center; padding: 52px 20px; color: var(--muted); font-size: 13px; }
.empty .big { font-size: 40px; margin-bottom: 10px; opacity: .55; }

/* ---------- tabbar ---------- */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 520px;
  margin: 0 auto;
  z-index: 40;
  display: flex;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 0 7px;
  text-decoration: none;
  color: #97a3b8;
  font-size: 10px;
}
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.active { color: var(--blue); font-weight: 600; }
.tabbar a.active svg { stroke: var(--blue); }

/* toast */
.toast {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 27, 45, .88);
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 99;
  max-width: 76%;
  text-align: center;
  line-height: 1.5;
  backdrop-filter: blur(6px);
  transition: opacity .2s;
}

/* ================= AI 扩展 ================= */

/* 六宫格入口 */
.quick-grid.six { grid-template-columns: repeat(3, 1fr); }

/* ---------- 数字人直播带岗 ---------- */
.live-page { padding-bottom: 28px; }

.live-stage {
  position: relative;
  margin: 12px 16px 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 60vh;
  background: radial-gradient(120% 80% at 80% 0%, #0aa2e6 0%, #1f6bff 45%, #0b3fb0 100%);
  box-shadow: 0 14px 34px rgba(16, 58, 160, .26);
}
.live-stage img.person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
}
.live-stage .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 78, .06) 0%, rgba(7, 26, 78, .16) 46%, rgba(7, 26, 78, .82) 88%);
}
.live-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.live-top {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px;
  z-index: 3;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  border-radius: 999px;
  padding: 4px 9px;
}
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse-white 1.4s infinite; }
@keyframes pulse-white { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.live-viewers {
  margin-left: auto;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, .32);
  border-radius: 999px;
  padding: 4px 9px;
  backdrop-filter: blur(4px);
}

.live-bottom {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 3;
  color: #fff;
}
.live-host { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.live-host .tag-ai {
  font-size: 9px; background: rgba(255, 255, 255, .22); border-radius: 4px; padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, .3);
}
.live-title {
  font-size: 16px;
  font-weight: 800;
  margin-top: 6px;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.live-sub { font-size: 11px; opacity: .85; margin-top: 4px; }

/* 口播字幕 */
.script-bar {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 84px;
  z-index: 3;
  background: rgba(8, 22, 60, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 9px 11px;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  min-height: 56px;
  display: flex; align-items: center;
}
.script-bar .q { opacity: .7; margin-right: 4px; }
.script-bar.swap { animation: fadeSwap .5s ease; }
@keyframes fadeSwap { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.live-actions {
  display: flex; gap: 10px;
  padding: 14px 16px 0;
}
.live-actions .btn-voice {
  flex: 1.3;
  background: linear-gradient(135deg, #1f6bff, #0ea5e9);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  padding: 13px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 107, 255, .26);
}
.live-actions .btn-jobs {
  flex: 1;
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  text-align: center;
  padding: 13px;
  font-size: 14px;
  border: 1px solid var(--line);
}

.live-ticker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 16px 10px;
}
.live-ticker-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.live-ticker-head .auto { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.live-ticker-head .auto i {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  animation: pulse 1.6s infinite;
}

.live-jobs { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.live-jobs::-webkit-scrollbar { display: none; }
.live-job {
  flex: 0 0 62%;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  padding: 13px;
  box-shadow: 0 6px 16px rgba(24, 48, 100, .07);
  border: 2px solid transparent;
  transition: border-color .3s, transform .3s;
}
.live-job.on {
  border-color: rgba(31, 107, 255, .45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 107, 255, .18);
}
.live-job .h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.live-job b { font-size: 14px; }
.live-job .sal { color: var(--orange); font-weight: 800; font-size: 13px; white-space: nowrap; }
.live-job .m { font-size: 11px; color: var(--muted); margin-top: 5px; }
.live-job .s { font-size: 10px; color: var(--blue); margin-top: 6px; }

/* ---------- 岗位速配 ---------- */
.match-page { padding-bottom: 96px; }
.match-head {
  background: linear-gradient(140deg, #153fa8, #1f6bff 55%, #0aa2e6);
  color: #fff;
  padding: 18px 18px 22px;
  border-radius: 0 0 22px 22px;
}
.match-head .t { font-size: 20px; font-weight: 800; }
.match-head .s { font-size: 12px; opacity: .86; margin-top: 6px; line-height: 1.6; }
.match-head .from { font-size: 10px; opacity: .7; margin-top: 10px; letter-spacing: .5px; }

.match-dots { display: flex; gap: 6px; padding: 16px 16px 4px; }
.match-dots i { height: 4px; border-radius: 3px; flex: 1; background: #e3e9f4; }
.match-dots i.on { background: linear-gradient(90deg, #1f6bff, #0ea5e9); }

.match-q {
  padding: 10px 16px 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}
.match-q small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 6px; }

.match-opts { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
.match-opt {
  flex: 1 1 42%;
  min-width: 42%;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 15px 14px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(24, 48, 100, .05);
  font-size: 14px;
  font-weight: 600;
}
.match-opt small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.match-opt.on {
  border-color: var(--blue);
  background: #f4f8ff;
  color: var(--blue);
}
.match-opt.wide { flex: 1 1 100%; min-width: 100%; }

.match-foot {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}
.match-foot .btn-back {
  flex: 0 0 34%;
  text-align: center;
  padding: 13px;
  border-radius: 999px;
  background: #f2f5fb;
  color: var(--ink-2);
  font-size: 14px;
}
.match-foot .btn-next {
  flex: 1;
  text-align: center;
  padding: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f6bff, #0ea5e9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 107, 255, .24);
}

.match-summary {
  margin: 16px 16px 0;
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: var(--card-shadow);
  display: flex; gap: 10px;
}
.match-summary .av { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; object-position: 50% 8%; flex: 0 0 auto; }
.match-summary .txt { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.match-summary .txt b { color: var(--ink); }

.match-card {
  margin: 12px 16px 0;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 5px 18px rgba(24, 48, 100, .06);
  position: relative;
  overflow: hidden;
}
.match-card .rank {
  position: absolute; right: 0; top: 0;
  font-size: 10px; color: #fff;
  background: linear-gradient(135deg, #1f6bff, #0ea5e9);
  padding: 3px 9px;
  border-radius: 0 0 0 10px;
  letter-spacing: .5px;
}
.match-card .rank.no1 { background: linear-gradient(135deg, #ff8a00, #ff5b00); }
.match-card .h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.match-card b { font-size: 15px; }
.match-card .sal { color: var(--orange); font-weight: 800; font-size: 14px; white-space: nowrap; }
.match-card .co { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.match-card .reasons { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.match-card .reasons span {
  font-size: 11px; color: #0b7a3e; background: rgba(22, 163, 74, .1);
  border-radius: 6px; padding: 3px 7px;
}
.match-card .score-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.match-card .score-row .b { flex: 1; height: 4px; border-radius: 2px; background: #eef2f9; overflow: hidden; }
.match-card .score-row .b i { display: block; height: 100%; background: linear-gradient(90deg, #1f6bff, #0ea5e9); }
.match-card .score-row .n { font-size: 11px; color: var(--blue); font-weight: 700; }

.match-again {
  margin: 18px 16px 24px;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}

/* ---------- 语音 ---------- */
.ai-head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.speak-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 9px;
}
.speak-toggle.on { color: var(--blue); border-color: rgba(31, 107, 255, .35); background: #f3f8ff; }

.ai-mic {
  width: 40px; height: 40px; border-radius: 50%;
  flex: 0 0 auto;
  background: #f2f5fb;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.ai-mic svg { width: 19px; height: 19px; }
.ai-mic.rec {
  background: #ff2d55; color: #fff; border-color: #ff2d55;
  animation: micPulse 1.2s infinite;
}
@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, .45); }
  70% { box-shadow: 0 0 0 12px rgba(255, 45, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); }
}

.rec-tip {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: rgba(15, 27, 45, .86);
  color: #fff;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 60;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.rec-tip i { width: 6px; height: 6px; border-radius: 50%; background: #ff2d55; animation: pulse-white 1s infinite; }

/* 语音入口浮标（首页搜索条） */
.mic-inline {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.mic-inline svg { width: 15px; height: 15px; }

