:root {
  --brand: #2f6bff;
  --brand-2: #5b8cff;
  --brand-soft: #eef3ff;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #16181d;
  --text-2: #5c6373;
  --text-3: #98a0b0;
  --line: #eff1f5;
  --red: #ff4d4f;
  --orange: #ff8f1f;
  --shadow: 0 2px 12px rgba(22, 24, 29, .05);
  --radius: 14px;
  --max: 640px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
button { font-family: inherit; }

.app {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: 70px;
}
@media (min-width: 700px) {
  body { background: #eef0f4; }
  .app { box-shadow: 0 0 40px rgba(22,24,29,.07); background: var(--bg); }
}

/* ---------------- 顶部搜索 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, #2f6bff 0%, #3f78ff 100%);
  padding: 12px 14px 14px;
}
.topbar-inner { display: flex; align-items: center; gap: 10px; }
.topbar .site { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); border-radius: 20px; padding: 8px 14px;
}
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--text); }
.search input::placeholder { color: #a8afbd; }
.search .ico { color: #8b94a7; }
.topbar .city { color: #fff; font-size: 13px; opacity: .95; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.notice {
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border-radius: 10px; padding: 7px 12px; color: #fff; font-size: 12.5px;
}
.notice b { background: #fff; color: var(--brand); border-radius: 4px; padding: 0 5px; font-size: 11px; font-weight: 600; }
.notice .txt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .95; }

/* ---------------- 轮播 ---------------- */
.banner { padding: 12px 14px 0; }
.swiper {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #dfe7ff;
}
.swiper-track { display: flex; transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.slide { min-width: 100%; aspect-ratio: 5 / 2.2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.swiper-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: .3s; }
.swiper-dots i.on { width: 16px; border-radius: 4px; background: #fff; }

/* ---------------- 统计条 ---------------- */
.stats { display: flex; padding: 14px 4px 4px; }
.stats div { flex: 1; text-align: center; position: relative; }
.stats div + div::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--line); }
.stats b { display: block; font-size: 19px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.stats span { font-size: 12px; color: var(--text-3); }

/* ---------------- 宫格 ---------------- */
.grid-card {
  margin: 10px 14px 0; background: var(--card); border-radius: var(--radius);
  padding: 16px 6px 8px; box-shadow: var(--shadow);
}
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 0; }
.grid a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 0 12px; }
.grid .gi {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 700;
}
.grid .g1 { background: linear-gradient(135deg,#4f8bff,#2f6bff); }
.grid .g2 { background: linear-gradient(135deg,#ff9a4d,#ff7a1f); }
.grid .g3 { background: linear-gradient(135deg,#5ad1a0,#20b57e); }
.grid .g4 { background: linear-gradient(135deg,#a184ff,#7c5cff); }
.grid .g5 { background: linear-gradient(135deg,#ff7f9d,#ff4d6d); }
.grid .g6 { background: linear-gradient(135deg,#4dd0e1,#1fb6cd); }
.grid span { font-size: 12px; color: var(--text-2); }

/* ---------------- 快捷入口 ---------------- */
.quick { display: flex; gap: 10px; margin: 10px 14px 0; }
.quick a {
  flex: 1; background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 500;
}
.quick .q-em { color: var(--brand); }
.quick .arrow { color: #c3c9d4; }

/* ---------------- 区块标题 ---------------- */
.section { margin-top: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.section-head h2 { margin: 0; font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.section-head h2::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--brand); }
.section-head .more { font-size: 12.5px; color: var(--text-3); }

/* ---------------- 列表卡片 ---------------- */
.list { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }
.job {
  background: var(--card); border-radius: var(--radius); padding: 14px 15px; box-shadow: var(--shadow);
  display: block; position: relative; transition: transform .15s;
}
.job:active { transform: scale(.99); }
.job-top { display: flex; align-items: flex-start; gap: 8px; }
.job h3 { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-top {
  background: linear-gradient(135deg,#ff6a3d,#ff3d3d); color: #fff; font-size: 11px;
  border-radius: 4px; padding: 1px 5px; height: 18px; line-height: 18px; flex: none; font-weight: 600;
}
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chip {
  font-size: 11.5px; padding: 2px 7px; border-radius: 4px; background: var(--brand-soft); color: var(--brand);
}
.chip.gray { background: #f4f5f8; color: var(--text-2); }
.chip.orange { background: #fff4e6; color: #d97706; }
.chip.green { background: #e9f9f0; color: #12a05c; }
.chip.red { background: #feeceb; color: #e23a2e; }
.job-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--text-3);
}
.job-foot .right { color: var(--text-3); }
.job-foot .time { color: var(--brand); font-weight: 500; }

.empty { text-align: center; color: var(--text-3); font-size: 13.5px; padding: 46px 0 40px; }
.empty svg { margin: 0 auto 10px; opacity: .55; }

.more-btn {
  margin: 14px 14px 0; display: block; text-align: center; padding: 11px;
  background: #fff; border-radius: 12px; color: var(--brand); font-size: 14px; box-shadow: var(--shadow);
}
.loading { text-align: center; color: var(--text-3); font-size: 13px; padding: 16px 0; }

/* ---------------- 筛选栏 ---------------- */
.filterbar {
  position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 2px 8px rgba(22,24,29,.04);
}
.filterbar-inner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; overflow-x: auto; scrollbar-width: none; }
.filterbar-inner::-webkit-scrollbar { display: none; }
.fchip {
  flex: none; padding: 6px 13px; border-radius: 16px; background: #f4f5f8; color: var(--text-2);
  font-size: 13px; border: 0; cursor: pointer; transition: .15s;
}
.fchip.on { background: var(--brand); color: #fff; }
.subbar { display: flex; gap: 18px; padding: 0 16px 10px; font-size: 13px; color: var(--text-2); }
.subbar span { padding: 2px 0; position: relative; }
.subbar span.on { color: var(--brand); font-weight: 600; }
.subbar span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--brand); }

/* ---------------- 详情 ---------------- */
.detail-head {
  background:
    radial-gradient(600px 160px at 90% -40%, rgba(47,107,255,.10), transparent 60%),
    #fff;
  padding: 20px 16px 18px;
  border-radius: 0 0 18px 18px;
}
.detail-head h1 { margin: 0 0 12px; font-size: 21px; line-height: 1.45; font-weight: 700; color: #14203a; letter-spacing: .2px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-3); }
.attr-box { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.attr-box .a {
  background: #f7f8fb; border-radius: 8px; padding: 7px 11px; font-size: 12.5px; color: var(--text-2);
}
.attr-box .a b { color: var(--text); font-weight: 600; margin-left: 4px; }

.article { background: #fff; padding: 8px 18px 24px; margin-top: 10px; font-size: 15.5px; line-height: 1.9; color: #2b2f38; letter-spacing: .2px; }
.article p { margin: 0 0 15px; text-align: justify; }
.article img { max-width: 100%; border-radius: 10px; margin: 12px 0; box-shadow: 0 2px 12px rgba(22,24,29,.08); }
.article h1, .article h2, .article h3 {
  font-size: 17px; font-weight: 700; color: #17233d;
  margin: 26px 0 12px; padding-left: 11px; line-height: 1.5;
  border-left: 4px solid var(--brand); border-radius: 2px;
  letter-spacing: 0;
}
.article h1 { font-size: 19px; }
.article h2 { font-size: 18px; }
.article h3 + p, .article h2 + p, .article h1 + p { margin-top: 2px; }
.article blockquote {
  margin: 14px 0; padding: 12px 14px; background: #f6f9ff;
  border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0;
  color: #44506b; font-size: 14.5px;
}
.article blockquote p:last-child { margin-bottom: 0; }
.article ul, .article ol { margin: 0 0 15px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 14px 0 18px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px #e6e9ef; }
.article th { background: #f4f7fc; font-weight: 600; color: #17233d; }
.article td, .article th { border: 1px solid #e6e9ef; padding: 8px 10px; text-align: left; }
.article tr:nth-child(even) td { background: #fafbfd; }
.article a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(47,107,255,.3); }
.article strong { font-weight: 600; color: #d8261c; }
.article hr { border: 0; border-top: 1px dashed #dfe4ec; margin: 20px 0; }

.block { background: #fff; margin-top: 10px; padding: 16px; }
.block-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.file {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #f7f8fb;
  border-radius: 10px; margin-bottom: 8px; font-size: 13.5px;
}
.file .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .fsize { color: var(--text-3); font-size: 12px; }
.file .dl { color: var(--brand); font-size: 13px; font-weight: 500; }

.qr-box { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.qr-box img { width: 104px; height: 104px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.qr-box .t1 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.qr-box .t2 { font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

.rel { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rel:last-child { border-bottom: 0; }
.rel span:first-child { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.actionbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  max-width: var(--max); margin: 0 auto; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
}
.actionbar .btn-main {
  flex: 1; background: var(--brand); color: #fff; border: 0; border-radius: 22px; padding: 11px;
  font-size: 15px; font-weight: 600;
}
.actionbar .btn-ghost { background: #f4f5f8; color: var(--text-2); border: 0; border-radius: 22px; padding: 11px 18px; font-size: 14px; }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; max-width: var(--max); margin: 0 auto;
  background: #fff; border-top: 1px solid var(--line); display: flex;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; text-align: center; padding: 7px 0 6px; font-size: 11px; color: #a0a7b5; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbar a.on { color: var(--brand); }
.tabbar .ico { width: 21px; height: 21px; }

/* ---------------- 群页 ---------------- */
.group-card { background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.group-card img { width: 96px; height: 96px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.group-card .g-name { font-size: 15px; font-weight: 600; }
.group-card .g-region { font-size: 12.5px; color: var(--brand); background: var(--brand-soft); display: inline-block; padding: 1px 7px; border-radius: 4px; margin: 6px 0; }
.group-card .g-intro { font-size: 12.5px; color: var(--text-3); line-height: 1.55; }

/* ---------------- 浮层 ---------------- */
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; display: none; }
.mask.on { display: block; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: var(--max); margin: 0 auto;
  background: #fff; border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.22,.61,.36,1);
  max-height: 78vh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom);
  visibility: hidden;
}
.sheet.on { transform: none; visibility: visible; }
.sheet-head { padding: 16px 18px 10px; font-size: 15px; font-weight: 600; text-align: center; position: relative; }
.sheet-head .close { position: absolute; right: 16px; top: 14px; color: var(--text-3); font-size: 20px; line-height: 1; }
.sheet-body { padding: 4px 18px 22px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 14px; }
.opt-grid button {
  padding: 9px 6px; border-radius: 8px; border: 1px solid var(--line); background: #fafbfc;
  font-size: 13px; color: var(--text-2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.opt-grid button.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.sheet-label { font-size: 12.5px; color: var(--text-3); margin: 6px 0 8px; }

/* ---------------- 广告弹窗（模拟小程序激励广告） ---------------- */
.ad-mask { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; }
.ad-mask.on { display: flex; }
.ad-box { background: #fff; border-radius: 14px; width: 100%; max-width: 320px; overflow: hidden; text-align: center; }
.ad-visual { height: 220px; background: linear-gradient(135deg,#2f6bff,#7aa2ff); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ad-visual .big { font-size: 20px; font-weight: 700; }
.ad-visual .small { font-size: 12.5px; opacity: .85; }
.ad-box .ad-btn { margin: 14px; background: var(--brand); color: #fff; border: 0; width: calc(100% - 28px); padding: 11px; border-radius: 22px; font-size: 14.5px; font-weight: 600; }
.ad-box .ad-tip { font-size: 11.5px; color: var(--text-3); padding: 0 16px 14px; }

/* ---------------- 全文解锁卡片 ---------------- */
.lock-wrap { position: relative; overflow: hidden; max-height: 560px; }
.lock-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 75%, #fff 100%);
  pointer-events: none;
}
.lock-card {
  background: #fff; margin-top: 10px; border-radius: 16px; padding: 26px 22px 20px;
  text-align: center; border: 1px solid #eef1f6; box-shadow: 0 6px 24px rgba(22,24,29,.06);
  position: relative; overflow: hidden;
}
.lock-card::before {
  content: ''; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,107,255,.14), transparent); pointer-events: none;
}
.lock-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px;
  background: linear-gradient(135deg, #2f6bff, #6a95ff);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(47,107,255,.32);
}
.lock-title { font-size: 17.5px; font-weight: 700; color: #17233d; }
.lock-sub { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.lock-benefits {
  margin: 16px 0; background: #f6f9ff; border-radius: 12px; padding: 12px 14px;
  text-align: left; font-size: 13px; color: #44506b; line-height: 2;
}
.lock-btn-main {
  width: 100%; border: 0; border-radius: 24px; padding: 13px; font-size: 15.5px; font-weight: 600;
  background: linear-gradient(135deg, #2f6bff, #5b8bff); color: #fff; cursor: pointer;
  box-shadow: 0 8px 18px rgba(47,107,255,.32); transition: transform .15s;
}
.lock-btn-main:active { transform: scale(.97); }
.lock-btn-free {
  width: 100%; margin-top: 10px; border: 0; border-radius: 24px; padding: 12px; font-size: 14px;
  background: #fff; color: var(--brand); border: 1px solid #c9d8ff; cursor: pointer; font-weight: 500;
}
.lock-btn-free:active { background: #f2f6ff; }
.lock-btn-free:disabled { color: var(--text-3); border-color: var(--line); }
.lock-tip { font-size: 11.5px; color: var(--text-3); margin-top: 14px; }

.toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%,-50%); z-index: 99;
  background: rgba(0,0,0,.78); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 13.5px;
  opacity: 0; transition: .22s; pointer-events: none; max-width: 70vw; text-align: center;
}
.toast.on { opacity: 1; }

/* 图标 */
.ico { display: inline-block; width: 16px; height: 16px; background: currentColor; vertical-align: -3px;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.i-search { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='16.5' y1='16.5' x2='21' y2='21'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='16.5' y1='16.5' x2='21' y2='21'/></svg>"); }
.i-home { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 10.5 12 3l9 7.5'/><path d='M5.5 9.5V20h13V9.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 10.5 12 3l9 7.5'/><path d='M5.5 9.5V20h13V9.5'/></svg>"); }
.i-list { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><circle cx='3.5' cy='6' r='1.2' fill='black'/><circle cx='3.5' cy='12' r='1.2' fill='black'/><circle cx='3.5' cy='18' r='1.2' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><circle cx='3.5' cy='6' r='1.2' fill='black'/><circle cx='3.5' cy='12' r='1.2' fill='black'/><circle cx='3.5' cy='18' r='1.2' fill='black'/></svg>"); }
.i-group { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='8' r='3.2'/><path d='M2.8 20c0-3.4 2.8-5.6 6.2-5.6s6.2 2.2 6.2 5.6'/><path d='M16.5 5.2a3 3 0 0 1 0 5.6M17.6 14.8c2.2.5 3.6 2.2 3.6 4.4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='8' r='3.2'/><path d='M2.8 20c0-3.4 2.8-5.6 6.2-5.6s6.2 2.2 6.2 5.6'/><path d='M16.5 5.2a3 3 0 0 1 0 5.6M17.6 14.8c2.2.5 3.6 2.2 3.6 4.4'/></svg>"); }
.i-pin { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='2.6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='2.6'/></svg>"); }
.i-down { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>"); }
.i-file { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/></svg>"); }
.i-back { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 5 8 12 15 19'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 5 8 12 15 19'/></svg>"); }
.navbar { position: sticky; top: 0; z-index: 30; background: #fff; display: flex; align-items: center; height: 48px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.navbar .nb { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.navbar h1 { flex: 1; text-align: center; font-size: 16px; font-weight: 600; margin: 0; }
.navbar .ph { width: 34px; }

/* ================= 微查圈风格改版 ================= */
/* 蓝色顶栏 */
.hero {
  background: linear-gradient(180deg, #2f6bff, #3d78ff);
  padding: 14px 16px 0;
  padding-top: calc(14px + env(safe-area-inset-top));
}
.hero-title { margin: 0; text-align: center; color: #fff; font-size: 17.5px; font-weight: 600; letter-spacing: 1px; }
.hero-sub { text-align: center; color: rgba(255,255,255,.85); font-size: 12px; margin-top: 4px; }
.search-box {
  margin-top: 14px; background: #fff; border-radius: 22px; height: 44px;
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
  color: #a7b0c0; font-size: 14px;
}
.search-box .ico { width: 17px; height: 17px; background: #a7b0c0; flex: none; }
/* 地区横滑 */
.citybar {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 16px;
  scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.citybar::-webkit-scrollbar { display: none; }
.fchip {
  flex: none; padding: 7px 16px; border-radius: 18px; font-size: 13.5px;
  background: rgba(255,255,255,.16); color: #fff; cursor: pointer; white-space: nowrap;
}
.fchip.on { background: #fff; color: #2f6bff; font-weight: 600; }
/* 类型横滑（白底区） */
.typebar {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 2px;
  scrollbar-width: none; background: transparent;
}
.typebar::-webkit-scrollbar { display: none; }
.typebar .fchip { background: #f2f5fa; color: #4a5468; }
.typebar .fchip.on { background: #2f6bff; color: #fff; }
/* 统计卡 */
.stat-card {
  margin: 12px 16px 0; background: linear-gradient(135deg, #eef4ff, #f7faff);
  border-radius: 16px; display: flex; padding: 16px 0;
}
.stat-card > div { flex: 1; text-align: center; position: relative; }
.stat-card > div + div::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%;
  border-left: 1px solid rgba(47,107,255,.14);
}
.stat-card b { display: block; font-size: 26px; font-weight: 700; color: #2f6bff; line-height: 1.15; }
.stat-card span { font-size: 12px; color: #7d89a3; }
/* 最新公告 */
.section-head .sub { font-size: 11.5px; color: #a7b0c0; margin-left: auto; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card {
  display: block; background: #fff; border-radius: 14px; padding: 14px 15px 12px;
  border: 1px solid #eef1f6; box-shadow: 0 2px 10px rgba(22,24,29,.04);
}
.nc-head { display: flex; align-items: center; gap: 6px; }
.nc-type {
  font-size: 11px; color: #2f6bff; background: #e8f1ff;
  padding: 2.5px 8px; border-radius: 4px; font-weight: 500;
}
.nc-new { font-size: 11px; color: #fff; background: #f53f3f; padding: 2.5px 8px; border-radius: 4px; }
.nc-days {
  margin-left: auto; font-size: 11px; color: #18a058; background: #e6f7ef;
  padding: 2.5px 8px; border-radius: 4px; font-weight: 500;
}
.nc-days.urgent { color: #f0820a; background: #fff4e8; }
.nc-title {
  margin: 9px 0 0; font-size: 16px; line-height: 1.45; font-weight: 700; color: #1c2333;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-summary {
  margin: 7px 0 0; font-size: 13px; color: #98a0b0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #98a0b0; flex-wrap: wrap; }
.nc-official { font-size: 11px; color: #2f6bff; background: #e8f1ff; padding: 1.5px 7px; border-radius: 3px; }
.nc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid #f3f5f9;
}
.nc-att { font-size: 12.5px; color: #6b7484; }
.nc-more { font-size: 13px; color: #2f6bff; font-weight: 500; }
/* 分站页 */
.station-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.station {
  background: #fff; border-radius: 14px; padding: 18px 16px;
  border: 1px solid #eef1f6; box-shadow: 0 2px 10px rgba(22,24,29,.04);
}
.station.empty { opacity: .55; }
.st-name { font-size: 16px; font-weight: 600; color: #1c2333; }
.st-count { margin-top: 6px; font-size: 12px; color: #98a0b0; }
.station:not(.empty) .st-count { color: #2f6bff; }
/* 我的页 */
.my-head { display: flex; align-items: center; gap: 14px; padding: 20px 4px 22px; text-align: left; }
.my-head .hero-title { text-align: left; }
.my-head .hero-sub { text-align: left; }
.my-logo {
  width: 54px; height: 54px; border-radius: 16px; background: #fff; color: #2f6bff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; flex: none;
}
.my-group {
  background: #fff; border-radius: 14px; margin: 14px 16px 0;
  border: 1px solid #eef1f6; overflow: hidden;
}
.my-item {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  border-bottom: 1px solid #f3f5f9; text-decoration: none;
}
.my-item:last-child { border-bottom: 0; }
.my-item.static { cursor: default; }
.mi-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600;
}
.mi-label { font-size: 15px; font-weight: 600; color: #1c2333; flex: none; }
.mi-desc { font-size: 12px; color: #a7b0c0; margin-left: auto; text-align: right; }
.mi-arrow { color: #c3c9d4; font-size: 18px; flex: none; }
.my-version { text-align: center; font-size: 11.5px; color: #b6bdc9; margin: 26px 0 12px; }
/* 新 tabbar 图标 */
.i-station { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M4 21V8l8-5 8 5v13'/><path d='M9.5 21v-5h5v5'/><path d='M4 21h16'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M4 21V8l8-5 8 5v13'/><path d='M9.5 21v-5h5v5'/><path d='M4 21h16'/></svg>"); }
.i-user { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4.5 20.5c0-3.6 3.2-6 7.5-6s7.5 2.4 7.5 6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4.5 20.5c0-3.6 3.2-6 7.5-6s7.5 2.4 7.5 6'/></svg>"); }
/* 列表/详情页顶部留白适配：老页面继续用 .topbar，无影响 */
