/* ========= 萍乡两只羊 PC 官网 · 现代卡片风 ========= */
:root {
  --brand: #0fa891;
  --brand-deep: #0a7a68;
  --accent: #e2863c;
  --ink: #16202b;
  --ink-2: #5b6773;
  --ink-3: #97a2ad;
  --bg: #f3f6f8;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(22, 32, 43, 0.06);
  --shadow-hover: 0 10px 28px rgba(22, 32, 43, 0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 头部 ---------- */
.site-header { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(22, 32, 43, 0.06); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 62px; }
/* 整张横版字标。以前是「图标 + 萍 + 事通」三段拼，图标里也有个「萍」字，
   读起来是「萍 萍乡两只羊」，flex 的 gap 还把「萍」和「事通」拆出一个空格。 */
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { display: block; height: 38px; width: auto; }
.logo span { color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.top-nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top-nav::-webkit-scrollbar { display: none; }
/* 每个链接内部绝不换行。加了「便民电话」之后，880px 左右的窗口会把每个词竖着劈开 */
.top-nav a { white-space: nowrap; flex-shrink: 0; }
/* ⚠️ 9 个导航项 + logo + 搜索 + 发布 + 我的，在 1200px 容器里非常挤。
   之前 padding 14px / font 15px 时最后一项（便民电话）会被 overflow 裁掉，
   而滚动条是隐藏的 —— 看起来就像被搜索框"遮住"了。收紧到刚好放得下。 */
.top-nav a { padding: 6px 9px; border-radius: 20px; font-size: 14px; color: var(--ink-2); transition: 0.15s; }
.top-nav a:hover { background: #eef6f2; color: var(--brand); }
.top-nav a.active { background: var(--brand); color: #fff; font-weight: 600; }
.mini-search { flex: none; }
.mini-search input { border: 1.5px solid #e3e8ec; background: #f6f8fa; border-radius: 18px; padding: 7px 14px; font-size: 14px; outline: none; width: 120px; transition: 0.2s; }
.mini-search input:focus { border-color: var(--brand); background: #fff; width: 180px; }
.publish-btn { background: var(--brand); color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 12px rgba(15, 168, 145, 0.28); transition: 0.15s; white-space: nowrap; margin-left: auto; }
.publish-btn:hover { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #0fa891 0%, #00c17e 55%, #0bd18e 100%); padding: 54px 0 46px; color: #fff; }
.hero-title { font-size: 40px; font-weight: 900; letter-spacing: 2px; }
.hero-sub { margin-top: 10px; font-size: 16px; opacity: 0.92; }
.hero-search { display: flex; max-width: 640px; margin-top: 26px; border-radius: 30px; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 80, 48, 0.25); }
.hero-search input { flex: 1; border: none; outline: none; padding: 15px 24px; font-size: 16px; }
.hero-search button { border: none; background: var(--ink); color: #fff; padding: 0 38px; font-size: 16px; font-weight: 700; cursor: pointer; }
.hot-words { margin-top: 16px; font-size: 14px; opacity: 0.95; }
.hot-words a { margin-right: 14px; text-decoration: underline; text-underline-offset: 4px; color: #fff; }

/* ---------- 分类磁贴 ---------- */
.cate-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin: -24px 0 22px; position: relative; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--card); padding: 16px 6px 13px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.15s; font-size: 14px; font-weight: 600; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tile-icon { font-size: 30px; }

/* 分类色系（磁贴顶部细条 + 徽章底色共用） */
.t-blue { --tone: #3a6ea5; }
.t-cyan { --tone: #00a6c2; }
.t-orange { --tone: #e2863c; }
.t-purple { --tone: #8b5cf6; }
.t-teal { --tone: #0d9488; }
.t-pink { --tone: #ec4899; }
.t-green { --tone: #0fa891; }
.t-indigo { --tone: #6366f1; }
.t-gray { --tone: #64748b; }
.t-brown { --tone: #b45309; }
.tile { border-top: 3px solid var(--tone, #e5e7eb); }

/* 移动端底部导航（窄屏才显示） */
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eef1f4;
    z-index: 60;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav a {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: var(--ink-2);
    padding: 7px 0 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .mobile-nav a span { font-size: 19px; }
  .mobile-nav a.on { color: var(--brand); }
  .mobile-nav a.cta { color: var(--brand); font-weight: 700; }
  body { padding-bottom: 58px; } /* 给底部导航留位 */
}

/* 公告条（后台管理） */
.home-notice-carousel { position: relative; height: 88px; margin-bottom: 12px; }
.home-notice-carousel .notice-note { height: 88px; box-sizing: border-box; margin-bottom: 0; padding-bottom: 20px; }
.notice-carousel-count { position: absolute; right: 22px; bottom: 4px; min-width: 42px; border: 0; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink-2); font-size: 11px; line-height: 18px; cursor: pointer; }
.notice-note { display: flex; align-items: center; gap: 14px; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px; font-size: 14px; line-height: 1.7; }
.notice-note .notice-ico { flex-shrink: 0; }
.notice-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.notice-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; opacity: .82; }
.notice-action { flex-shrink: 0; border-radius: 999px; padding: 6px 14px; background: currentColor; font-size: 13px; font-weight: 700; }
.notice-action:link, .notice-action:visited { color: #fff; }
.notice-info .notice-action { background: #1d4ed8; }
.notice-warning .notice-action { background: #b45309; }
.notice-success .notice-action { background: #157a4e; }
.notice-info { background: #e6f0ff; color: #1d4ed8; border: 1px solid #c7dbff; }
.notice-warning { background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; }
.notice-success { background: #e9f9f1; color: #157a4e; border: 1px solid #c6efdb; }
@media (max-width: 640px) {
  .home-notice-carousel, .home-notice-carousel .notice-note { height: 104px; }
  .home-notice-carousel .notice-copy strong, .home-notice-carousel .notice-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* 公益说明 */
.gongyi-note { display: flex; align-items: center; gap: 14px; background: #e9f9f1; border: 1px solid #c6efdb; border-radius: var(--radius); padding: 14px 20px; margin-bottom: 18px; font-size: 14px; color: #157a4e; line-height: 1.7; }
.gongyi-note strong { color: var(--brand-deep); }
.gongyi-badge { flex-shrink: 0; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 14px; }
@media (max-width: 640px) { .gongyi-note { align-items: flex-start; } }

/* 风险提示灰字 */
.risk-tip { color: var(--ink-3); font-size: 13px; line-height: 1.7; background: #f6f8fa; border-radius: 10px; padding: 12px 16px; margin-top: 8px; }

/* 官方核实公章 */
.official-seal { display: flex; align-items: center; gap: 14px; background: #fdf6f5; border: 1px solid #f0d5d2; border-radius: 10px; padding: 14px 18px; margin-top: 8px; }
.seal-stamp { flex-shrink: 0; color: #c0392b; border: 2px solid #c0392b; border-radius: 8px; padding: 6px 12px; font-size: 15px; font-weight: 700; letter-spacing: 2px; transform: rotate(-8deg); }
.seal-text { color: #a04b44; font-size: 13px; line-height: 1.6; }

/* ---------- 布局 ---------- */
.layout { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.main-col { flex: 1; min-width: 0; }
.side-col { width: 310px; flex-shrink: 0; }
/* 1180px 以下先砍掉头部搜索框（首页有大搜索，列表页有筛选），保住导航完整 */
@media (max-width: 1180px) { .mini-search { display: none; } }
@media (max-width: 860px) { .layout { flex-direction: column; } .side-col { width: 100%; } .hero-title { font-size: 28px; } .top-nav { display: none; } .mini-search { display: none; } }

.feed-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sec-title { font-size: 20px; font-weight: 800; }
.more-link { color: var(--brand); font-size: 14px; font-weight: 600; }

/* ---------- 信息卡片流 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card-grid.wide { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
@media (max-width: 860px) { .card-grid, .card-grid.wide { grid-template-columns: 1fr; } }

/* 小红书瀑布流（CSS 多列，图片自然高度形成参差） */
/* ⚠️ 这里原来是 column-count:2 的瀑布流 —— 但 CSS 多列是**垂直填充**：
   前一半卡片全塞进左列、后一半才进右列。于是排在最前的置顶帖全堆在左列，
   右列顶部反而是普通帖 —— 看起来就是「只置顶了一边」。
   置顶是收费功能，顺序错了是硬伤，不是审美问题。
   改用 grid：卡片按 左→右、上→下 排，置顶帖稳稳占据第一行。
   代价是同一行的卡片顶部对齐、行间会有点纵向空隙，但「顺序正确」远比「排得紧」重要。 */
.card-masonry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
@media (max-width: 480px) { .card-masonry { gap: 10px; } }
.card-masonry .info-card { width: 100%; }
.card-masonry .info-card.has-thumb .card-thumb { aspect-ratio: auto; }
.card-masonry .info-card.has-thumb .card-thumb img { height: auto; aspect-ratio: auto; }
.info-card { background: var(--card); border: 1px solid transparent; border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); transition: 0.15s; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.info-card.topped { border-width: 2px; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
/* 有缩略图的卡片：图在上，内容在下 */
.info-card.has-thumb { padding: 0; }
.info-card.has-thumb .card-body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #eef1f4; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.25s; }
.info-card:hover .card-thumb img { transform: scale(1.04); }
.thumb-count { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 8px; }
.card-top { display: flex; gap: 8px; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 6px; color: #6b7280; background: #f0f2f4; }
.badge.hot { color: var(--accent); background: #fff1e6; }
.card-title { font-size: 16.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-summary { font-size: 13.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-price { color: #0b8274; font-weight: 600; font-size: 15px; white-space: nowrap; flex-shrink: 0; }
.card-loc { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; text-align: right; }

/* ---------- 侧栏 ---------- */
.cta-card { background: linear-gradient(135deg, #16202b, #2a3b4d); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 16px; }
.cta-card h3 { font-size: 18px; line-height: 1.5; }
.cta-card p { font-size: 13px; opacity: 0.75; margin: 10px 0 16px; line-height: 1.8; }
.cloud-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cloud-tag { font-size: 13px; padding: 4px 13px; border-radius: 15px; background: #f0f3f5; color: var(--ink-2); transition: 0.15s; }
.cloud-tag:hover { background: var(--brand); color: #fff; }
.cloud-tag.strong { background: #e5f5f2; color: var(--brand); font-weight: 700; }

/* ---------- 列表页 ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-3); margin: 16px 0 6px; }
.page-h1 { font-size: 24px; font-weight: 800; margin: 8px 0 14px; }
.filter-card { background: var(--card); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row.towns { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e8ecef; }
/* 首页「最新信息」上方的区县筛选（裸排，不套 filter-card，免得比信息流本身还抢眼） */
.filter-row.feed-regions { margin: 0 0 14px; }
.chip { font-size: 14px; padding: 5px 16px; border-radius: 17px; background: #f0f3f5; color: var(--ink-2); transition: 0.15s; }
.chip:hover { background: #e5f5f2; color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; font-weight: 700; }
.chip.small { font-size: 13px; padding: 3px 13px; }

.pager { display: flex; justify-content: center; gap: 18px; padding: 26px 0; align-items: center; color: var(--ink-3); }
.pager a { background: var(--card); padding: 8px 24px; border-radius: 20px; color: var(--brand); font-weight: 700; box-shadow: var(--shadow); }
.empty { color: var(--ink-3); padding: 40px 0; text-align: center; }
.empty a { color: var(--brand); font-weight: 600; }

/* ---------- 详情页 ---------- */
.detail-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.detail-h1 { font-size: 26px; font-weight: 800; line-height: 1.5; }
.detail-meta { color: var(--ink-3); font-size: 13px; margin: 12px 0; }
.detail-price { color: #0b8274; font-size: 20px; font-weight: 600; margin: 6px 0; }
.safe-tip { color: #a8adb5; font-size: 13px; line-height: 1.7; margin-top: 10px; }
.detail-content { white-space: pre-wrap; font-size: 16px; line-height: 2; padding: 16px 0; border-top: 1px solid #f0f3f5; }
.detail-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 6px 0 12px; }
.detail-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: 0.15s; }
.detail-img:hover { opacity: 0.9; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); display: none; align-items: center; justify-content: center; z-index: 999; cursor: zoom-out; padding: 20px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 6px; }
.closed-tip { background: #fff7e6; color: #b45309; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }

.contact-box { background: linear-gradient(135deg, #ecfdf5, #f0faf5); border-radius: 14px; padding: 20px; margin-top: 18px; border: 1px solid #d1fadf; }
.contact-box h3 { margin-bottom: 8px; }
.post-location-row { display: flex; align-items: center; gap: 12px; color: #3f524b; border-top: 1px solid #dfece8; padding-top: 12px; }
.post-location-row[hidden] { display: none; }
#post-location-address { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#post-location-distance { margin-left: auto; color: #6d7f85; white-space: nowrap; }
#post-location-nav { border: 0; background: transparent; color: #0b8b7a; cursor: pointer; font-weight: 700; white-space: nowrap; }
.unlock-cta { display: flex; align-items: center; gap: 18px; margin-top: 12px; background: #fff; border-radius: 12px; padding: 16px; }
.unlock-cta strong { color: var(--brand); }
.qr-placeholder { width: 112px; height: 112px; border: 2px dashed var(--brand); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--brand); font-size: 13px; background: #fff; flex-shrink: 0; margin: 0 auto; }
.qr-placeholder.small { width: 92px; height: 92px; margin: 0; }
/* 后台传了真实小程序码时用这个（替换虚线占位图） */
.qr-code-img { width: 112px; height: 112px; border-radius: 12px; object-fit: cover; background: #fff; flex-shrink: 0; margin: 0 auto; display: block; }

.side-h { font-size: 16px; font-weight: 800; margin-bottom: 6px; padding-left: 9px; border-left: 4px solid var(--brand); line-height: 1.3; }
.side-list { list-style: none; }
.side-list li { border-bottom: 1px solid #f0f2f4; }
.side-list li:last-child { border-bottom: none; }
.side-list li a { display: flex; align-items: center; gap: 8px; padding: 11px 4px; transition: 0.12s; border-radius: 8px; }
.side-list li a:hover { background: #f6faf8; padding-left: 8px; }
.side-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink); }
.side-tel { flex: none; font-size: 12.5px; font-weight: 700; color: var(--brand-deep); }
.side-more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--brand); font-weight: 600; }
.side-col .cloud-card + .cloud-card { margin-top: 16px; }
.side-col > .sec-title, .main-col.plain > .sec-title { margin-bottom: 12px; }

/* 详情页侧栏白卡 */
.side-col:not(.plain) { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* ---------- 协议页 ---------- */
.legal-doc { background: var(--card); border-radius: var(--radius); padding: 34px 38px 44px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto 30px; }
.legal-doc h1 { font-size: 26px; font-weight: 800; text-align: center; }
.legal-date { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.legal-intro { background: #f6f8fa; border-radius: 10px; padding: 16px 18px; margin: 22px 0 8px; color: var(--ink-2); line-height: 1.9; }
.legal-doc h2 { font-size: 18px; font-weight: 700; margin: 30px 0 12px; padding-left: 10px; border-left: 4px solid var(--brand); }
.legal-doc p { line-height: 1.95; color: #444; margin-bottom: 10px; }
.legal-doc strong { color: var(--ink); }
@media (max-width: 640px) { .legal-doc { padding: 22px 18px 30px; } }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #8b98a5; margin-top: 36px; padding: 30px 0; font-size: 13px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #223040; border-radius: var(--radius); padding: 20px 26px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-cta h3 { color: #fff; margin-bottom: 6px; font-size: 17px; }
.footer-links { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { color: #8b98a5; }
.footer-links a:hover { color: #fff; }
.copyright a { color: #8b98a5; }

/* ==================== 便民黄页 ==================== */
.page-desc { color: var(--ink-2); font-size: 14px; line-height: 1.8; margin: -6px 0 18px; max-width: 760px; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.svc-card {
  display: block; background: #fff; border: 1px solid #eaeef1; border-radius: 14px;
  padding: 18px; transition: 0.15s;
}
.svc-card:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.svc-hd { display: flex; align-items: center; gap: 8px; }
.svc-name { font-size: 17px; font-weight: 700; color: var(--ink); flex: 1; }
.tag.official { background: #e5f5f2; color: #0b8274; font-size: 12px; padding: 2px 8px; border-radius: 5px; }
.tag.merchant { background: #f2f3f5; color: #8a8f99; font-size: 12px; padding: 2px 8px; border-radius: 5px; }
/* 置顶角标：和移动端同一个橙（#e2863c），全站只有「置顶」用这个色 */
.tag.topped { background: #e2863c; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 5px; }

.svc-phones { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-phone { font-size: 17px; font-weight: 700; color: var(--brand); background: #e5f5f2; border-radius: 999px; padding: 5px 14px; letter-spacing: 0.5px; }

.svc-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-size: 12px; color: var(--ink-2); background: #f4f5f7; border-radius: 5px; padding: 3px 9px; }
.svc-meta { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

/* 便民详情：两栏布局（主内容白卡 + 右侧同类电话），窄屏堆叠 */
.detail-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-bottom: 30px; }
.detail-main { background: var(--card); border-radius: var(--radius); padding: 24px 30px 30px; box-shadow: var(--shadow); }
.detail-side { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); position: sticky; top: 78px; }

/* 商家头部：首字头像 + 名称 + 徽章 */
.svc-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; }
.svc-ava { flex: none; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #13c2a3, var(--brand)); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.svc-head-main { min-width: 0; }
.svc-head .detail-h1 { margin: 0; font-size: 24px; }
.svc-head-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.svc-chip { font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 12px; }
.svc-chip.cat { color: var(--brand-deep); background: #e5f5f2; }
.svc-chip.region { color: #5b6773; background: #f0f3f5; }
.svc-chip.ok { color: #0b8274; background: #e5f5f2; border: 1px solid #b5e0d6; }

/* 电话名片：整页最贵的东西，做成一张能拨号的名片，区域标在右上角 */
.svc-phone-box { position: relative; margin: 18px 0; background: linear-gradient(160deg, #f2fbf8, #e9f6f1); border: 1px solid #cbe8dd; border-radius: 16px; padding: 20px 24px 18px; }
.svc-phone-region { position: absolute; top: 14px; right: 16px; font-size: 12.5px; font-weight: 600; color: #0b8274; background: rgba(255, 255, 255, 0.75); border-radius: 999px; padding: 3px 12px; }
.svc-phone-label { font-size: 12.5px; color: #6a8a80; letter-spacing: 1px; }
.svc-phone-nums { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; }
.svc-phone-big { display: inline-block; font-size: 32px; font-weight: 800; color: var(--brand-deep); letter-spacing: 1px; }
.svc-phone-big:hover { text-decoration: underline; }
.svc-phone-hint { margin-top: 10px; font-size: 12.5px; color: #7c9a90; }

.detail-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.detail-table th, .detail-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid #f0f2f4; vertical-align: top; }
.detail-table th { width: 96px; font-weight: 400; color: #9aa0a6; }
.detail-table td { color: var(--ink); line-height: 1.7; }

/* 核实状态如实告知。宁可显得数据不完美，也不能让人以为号码一定对 */
.verify-bar { margin: 18px 0; padding: 13px 16px; border-radius: 10px; font-size: 13.5px; line-height: 1.75; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.verify-bar.ok { background: #e5f5f2; color: #2b7a52; }
.verify-bar.warn { background: #fbf0e2; color: #a05e00; }
.verify-bar .vb-text { flex: 1; min-width: 220px; }

/* 便民纠错 /「打通了·打不通」反馈。免登录，就地提交，别把人推去小程序。 */
.fb-quick-wrap { display: inline-flex; gap: 8px; flex: none; }
.fb-quick { font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; background: #fff; }
.fb-quick.ok { color: #0b8274; border-color: #9ed6c6; }
.fb-quick.no { color: #b4472e; border-color: #e8b3a4; }
.fb-quick:hover { filter: brightness(0.97); }
.fb-quick:disabled { opacity: 0.5; cursor: default; }
.fb-link { background: none; border: none; padding: 0; font-size: 13.5px; font-weight: 600; color: inherit; text-decoration: underline; cursor: pointer; flex: none; }

.fb-form { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line, #e8eaed); border-radius: 10px; background: #fafbfc; }
.fb-l { display: block; font-size: 13px; color: var(--ink-2, #6b7280); margin: 0 0 6px; }
.fb-ta, .fb-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 9px 11px; border: 1px solid var(--line, #e8eaed); border-radius: 8px; background: #fff; }
.fb-ta { resize: vertical; margin-bottom: 12px; }
.fb-in { margin-bottom: 14px; }
.fb-actions { display: flex; align-items: center; gap: 14px; }
.fb-cancel { background: none; border: none; font-size: 13.5px; color: var(--ink-2, #6b7280); cursor: pointer; }
.fb-done { margin: -6px 0 18px; font-size: 13.5px; color: #a05e00; }
.fb-done.ok { color: #0b8274; }

.empty-card { background: #fbf6ee; border: 1px solid #f2e3c0; border-radius: 14px; padding: 28px; max-width: 760px; }
.empty-card h2 { font-size: 19px; color: #8a6d1b; margin: 0 0 12px; }
.empty-card p { font-size: 14px; color: #a08430; line-height: 1.85; margin: 0 0 10px; }
.btn-cta { display: inline-block; margin-top: 12px; background: #c9a227; color: #fff; font-size: 14px; padding: 10px 26px; border-radius: 999px; }
.btn-cta:hover { background: #b8931f; }

.risk-note { margin-top: 28px; font-size: 12.5px; color: #a8abb0; line-height: 1.9; max-width: 820px; }
.side-empty { font-size: 13px; color: #9aa0a6; }

@media (max-width: 860px) {
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .detail-main { padding: 20px 18px 24px; }
  .svc-phone-big { font-size: 28px; }
  .svc-phone-region { position: static; display: inline-block; margin-bottom: 8px; }
}

/* ==================== 登录 / 发布（PC 上直接完成，不赶用户去小程序）==================== */
/* ⚠️ 必须放在下面那些 display:flex 之前生效：
   .code-row{display:flex} 这类作者样式和浏览器默认的 [hidden]{display:none} 特异性相同，
   作者样式胜出 —— 结果 JS 里 el.hidden=true 根本藏不住元素（实测：登录页冒出短信验证码框）。 */
[hidden] { display: none !important; }

.auth-wrap { display: flex; justify-content: center; padding: 40px 0 60px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #eaeef1; border-radius: 16px; padding: 32px; }
.auth-wordmark { display: block; width: auto; max-width: 190px; max-height: 52px; object-fit: contain; margin: 0 0 16px; }
.auth-h1 { font-size: 24px; margin: 0 0 6px; color: var(--ink); }
.auth-sub { font-size: 13.5px; color: var(--ink-2); margin: 0 0 22px; line-height: 1.7; }

.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 10px; border: 1px solid #e3e8ec; background: #fff; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.auth-tab.on { border-color: var(--brand); color: var(--brand); font-weight: 600; background: #f2faf6; }
.auth-tab:disabled { opacity: 0.45; cursor: not-allowed; }

.qr-box { position: relative; width: 220px; height: 220px; margin: 0 auto; border: 1px solid #eaeef1; border-radius: 12px; overflow: hidden; }
.qr-box img { display: block; width: 220px; height: 220px; }
.qr-mask { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.94); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; color: var(--ink-2); }
.qr-hint { text-align: center; font-size: 13.5px; color: var(--ink-2); margin: 14px 0 0; }
/* 刷新二维码按钮：在扫码面板里居中，别贴左边 */
#qr-refresh { display: block; margin: 12px auto 0; }

.auth-mode { display: flex; gap: 20px; margin-bottom: 16px; }
.mode { background: none; border: none; padding: 4px 0; font-size: 16px; color: var(--ink-3); cursor: pointer; position: relative; }
.mode.on { color: var(--ink); font-weight: 700; }
.mode.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--brand); border-radius: 2px; }

.auth-inp, .fi, .ft { width: 100%; box-sizing: border-box; border: 1.5px solid #e3e8ec; background: #fafbfc; border-radius: 10px; padding: 12px 14px; font-size: 15px; outline: none; margin-bottom: 12px; font-family: inherit; }
.auth-inp:focus, .fi:focus, .ft:focus { border-color: var(--brand); background: #fff; }
.ft { resize: vertical; line-height: 1.7; }

.code-row { display: flex; gap: 10px; }
.code-row .auth-inp { flex: 1; }
.btn-code { white-space: nowrap; border: none; background: #e5f5f2; color: #0b8274; border-radius: 10px; padding: 0 16px; font-size: 14px; cursor: pointer; margin-bottom: 12px; }

.auth-tip { font-size: 13px; line-height: 1.75; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.auth-tip.warn { background: #fbf0e2; color: #a05e00; }
.auth-err { color: #c0392b; font-size: 13.5px; margin: 10px 0 0; }
.auth-agree { text-align: center; font-size: 12.5px; color: var(--ink-3); margin: 22px 0 0; line-height: 1.8; }

.btn-primary { display: block; width: 100%; box-sizing: border-box; text-align: center; background: var(--brand); color: #fff; border: none; border-radius: 999px; padding: 13px; font-size: 16px; cursor: pointer; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.btn-big { padding: 15px; font-size: 17px; margin-top: 22px; }
.btn-ghost { display: inline-block; background: #fff; border: 1px solid #e3e8ec; border-radius: 999px; padding: 9px 20px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---- 发布表单 ---- */
.pub-wrap { padding: 30px 0 60px; }
.pub-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #eaeef1; border-radius: 16px; padding: 32px; }
.pub-h1 { font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.pub-sub { font-size: 13.5px; color: var(--ink-2); margin: 0 0 26px; }

.fl { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin: 20px 0 10px; }
.fl i { color: #e94b3c; font-style: normal; }
.fl small { font-weight: 400; color: var(--ink-3); margin-left: 8px; }
.fl small.over { color: #c0392b; font-weight: 600; }
.fh { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin: -4px 0 0; }
.fh.center { text-align: center; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips .chip { border: 1px solid #e3e8ec; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.chips .chip.sm { padding: 6px 13px; font-size: 13px; }
.chips .chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.location-input-row { display: flex; align-items: flex-start; gap: 10px; }
.location-input-row .fi { flex: 1; min-width: 0; }
.location-input-row .btn-ghost { flex-shrink: 0; min-height: 45px; }

.up-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.up-item, .up-add { width: 96px; height: 96px; border-radius: 10px; position: relative; }
.up-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.up-del { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.up-add { border: 1.5px dashed #d5dbe0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #b6bfc7; cursor: pointer; }
.up-add:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 720px) {
  .pub-card, .auth-card { padding: 22px 18px; border: none; border-radius: 0; }
  .two-col { grid-template-columns: 1fr; }
  .post-location-row { flex-wrap: wrap; }
  #post-location-distance { margin-left: 0; }
}

/* 陈旧提醒：老数据里 91% 超过半年，不说清楚就是在坑用户 */
.stale-tip { border-radius: 10px; padding: 11px 14px; font-size: 13.5px; line-height: 1.7; margin: 0 0 16px; }
.stale-tip.old { background: #f4f6f8; color: var(--ink-2); }
.stale-tip.expired { background: #fbf0e2; color: #a05e00; }
.card-time { font-size: 12px; color: var(--ink-3); margin-left: auto; }
.card-time.old, .card-time.expired { color: #c0c4c9; }

/* 拿到联系方式后的礼貌提示 */
.contact-etiquette { margin: 14px 0 0; padding: 12px 15px; background: #f4f8f5; border-radius: 10px; color: #4a7a5c; font-size: 13.5px; line-height: 1.7; }

/* ── 置顶重做 + 薪资右对齐缩小（覆盖前面的旧规则）── */
.card-price { font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; margin: 4px 0 0; flex-shrink: 0; }
.card-foot { justify-content: flex-start; }
.card-loc { text-align: left; flex-shrink: 1; }
.card-toptag { flex-shrink: 0; color: #fff; background: var(--accent); border-radius: 4px; padding: 1px 7px; font-size: 11px; margin-left: 6px; }

/* ============ 个人中心 /mine ============ */
.mine-wrap { max-width: 860px; margin: 0 auto; padding: 20px 16px 60px; }
.nav-account { margin-left: 6px; }
/* 资料头部 */
.mine-head { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.mine-avatar { width: 64px; height: 64px; border-radius: 50%; background: #f2f3f5; display: flex; align-items: center; justify-content: center; font-size: 34px; overflow: hidden; flex-shrink: 0; }
.mine-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mine-avatar.lg { width: 76px; height: 76px; font-size: 40px; }
.mine-meta { flex: 1; min-width: 0; }
.mine-name { font-size: 19px; font-weight: 700; color: var(--ink-1); }
.mine-sub { margin-top: 6px; font-size: 13px; color: var(--ink-3); display: flex; gap: 14px; align-items: center; }
.mine-points b { color: var(--brand); font-size: 15px; }
.mine-head-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.btn-ghost.sm { padding: 6px 14px; font-size: 13px; }
/* Tabs */
.mine-tabs { display: flex; gap: 4px; margin: 18px 0 14px; border-bottom: 1px solid var(--line); }
.mine-tab { background: none; border: none; padding: 10px 16px; font-size: 15px; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mine-tab.on { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand); }
.mine-loading, .mine-empty { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 14px; }
.mine-empty a { color: var(--brand); }
/* 信息卡片 */
.mine-card { display: flex; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.mc-main { display: flex; gap: 12px; padding: 14px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.mc-thumb { width: 74px; height: 74px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f2f3f5; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-body { flex: 1; min-width: 0; }
.mc-title { font-size: 15px; font-weight: 600; color: var(--ink-1); line-height: 1.4; }
.mc-meta { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.mc-sub { font-size: 13px; color: var(--ink-2); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-price { color: #0b8274; font-weight: 600; margin-right: 6px; }
.mc-status { font-size: 11px; padding: 1px 7px; border-radius: 4px; margin-left: 4px; vertical-align: middle; }
.st-wait { background: #fff4e5; color: #b26a00; }
.st-on { background: #e5f5f2; color: #0b8274; }
.st-off { background: #f2f3f5; color: #8a8f99; }
.mc-top { font-size: 11px; padding: 1px 7px; border-radius: 4px; background: var(--accent); color: #fff; margin-left: 4px; }
.mc-acts { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 14px; border-left: 1px solid var(--line); flex-shrink: 0; }
.mc-act { font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.mc-act:hover { color: var(--brand); }
.mc-act.hot { color: var(--accent); }
/* 积分 / 订单 列表 */
.pt-balance { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.pt-balance b { color: var(--brand); font-size: 18px; }
.pt-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pt-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.pt-row:last-child { border-bottom: none; }
.pt-reason { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-1); }
.pt-date { font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.pt-amt { font-size: 15px; font-weight: 700; flex-shrink: 0; min-width: 60px; text-align: right; }
.pt-plus { color: #0b8274; }
.pt-minus { color: #e5533c; }
.o-stat { font-size: 12px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
/* 编辑资料弹层 */
.mine-modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.mine-modal { background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 420px; }
.mine-modal h3 { margin: 0 0 18px; font-size: 18px; }
.ep-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.mine-modal-btns { display: flex; gap: 12px; margin-top: 20px; }
.mine-modal-btns .btn-ghost, .mine-modal-btns .btn-primary { flex: 1; }

/* ============ 便民电话登记 ============ */
.bm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bm-add { flex-shrink: 0; margin-top: 6px; }
.bm-search { display: flex; max-width: 720px; margin: 2px 0 14px; gap: 10px; }
.bm-search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font: inherit; background: #fff; }
.bm-search button { flex: none; border: 0; border-radius: 999px; padding: 0 22px; color: #fff; background: var(--brand); font-weight: 700; cursor: pointer; }
.bm-sort { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.bm-sort-btn { border: 1px solid #dce3e6; background: #fff; color: var(--ink-2); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.bm-sort-btn.on { border-color: #a8dcd3; background: #e5f5f2; color: var(--brand-deep); font-weight: 700; }
.bm-sort-btn:disabled { opacity: .6; cursor: wait; }
#bm-location-status { color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.svc-rating { margin-top: 9px; color: #8a6324; font-size: 12.5px; }
.svc-distance { margin-top: 8px; color: var(--brand-deep); font-size: 13px; font-weight: 700; }
.svc-distance-btn { margin-left: 10px; border: 0; border-radius: 999px; padding: 4px 10px; background: #e5f5f2; color: var(--brand-deep); font-size: 12px; cursor: pointer; }
.svc-rating-card, .svc-comments { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.svc-rating-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-rating-head h2, .svc-comments h2 { margin: 0; font-size: 18px; }
.svc-rating-head p { margin: 5px 0 0; color: var(--ink-3); font-size: 13px; }
#svc-rating-mine { color: #9a6a1d; background: #fff6df; border-radius: 999px; padding: 5px 10px; font-size: 12px; }
.svc-rating-stars { display: flex; gap: 8px; margin-top: 12px; }
.svc-rating-stars button { border: 0; background: none; padding: 0; color: #dfe3e8; font-size: 34px; cursor: pointer; line-height: 1; }
.svc-rating-stars button.on { color: #f4aa2c; }
.svc-rating-stars button:disabled { opacity: .55; }
.svc-rating-card small { display: block; margin-top: 8px; color: var(--ink-3); }
.svc-comments h2 span { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.svc-comment-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-comment-item > div { display: flex; align-items: center; gap: 10px; }
.svc-comment-item time { color: var(--ink-3); font-size: 12px; }
.svc-comment-item p { margin: 7px 0 0; color: var(--ink-2); line-height: 1.7; }
.comment-reply-prefix { color: var(--brand); font-weight: 600; }
.svc-comment-item > .comment-reply-actions { justify-content: flex-end; margin-top: 5px; }
.comment-reply-btn { border: 0; padding: 2px 4px; color: var(--brand); background: transparent; cursor: pointer; }
.svc-comment-empty { color: var(--ink-3); font-size: 13px; }
.svc-comment-compose { margin-top: 16px; }
.comment-replying { margin-bottom: 9px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); background: var(--brand-pale); font-size: 13px; }
.comment-replying:not([hidden]) { display: flex; align-items: center; gap: 4px; }
.comment-replying button { margin: 0 0 0 auto; border: 0; padding: 2px 4px; color: var(--brand); background: transparent; cursor: pointer; }
.svc-comment-compose textarea { width: 100%; box-sizing: border-box; resize: vertical; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.svc-comment-compose button { margin-top: 9px; border: 0; border-radius: 999px; padding: 8px 18px; color: #fff; background: var(--brand); cursor: pointer; }
#svc-comment-status { margin-left: 10px; color: var(--ink-2); font-size: 12px; }
.detail-engagement { display: flex; align-items: stretch; gap: 8px; margin: 18px 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #f8faf9; }
.detail-engagement button, .detail-engagement a { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.detail-engagement button:hover, .detail-engagement a:hover { background: #fff; color: var(--brand); }
.detail-engagement button[aria-pressed="true"] { color: var(--brand); background: #e8f6f2; }
.detail-engagement b { color: inherit; font-size: 14px; }
.detail-engagement .svc-score-summary { flex: 1.35; flex-direction: column; gap: 1px; line-height: 1.25; }
.detail-engagement .svc-score-summary small { color: var(--ink-3); font-size: 11px; }
.post-comments { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
#post-comment-status { margin-left: 10px; color: var(--ink-2); font-size: 12px; }
@media (max-width: 640px) {
  .detail-engagement { gap: 3px; padding: 5px; }
  .detail-engagement button, .detail-engagement a { padding: 5px 4px; font-size: 12px; }
}
/* 登记页的 AI 粘贴框 */
.ai-box { background: #f2fbf6; border: 1px dashed #b9e3cf; border-radius: 14px; padding: 16px 18px; margin: 18px 0 0; }
.ai-box .ft { background: #fff; }
.ai-box .btn-primary { margin-top: 10px; }
.ai-divider { text-align: center; margin: 22px 0 4px; position: relative; }
.ai-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line, #e5e7eb); }
.ai-divider span { position: relative; background: #fff; padding: 0 14px; color: var(--ink-3); font-size: 13px; }

/* ============ 直招认证 / 招聘红线 / 用工类型 ============ */
.direct-seal { display: flex; align-items: center; gap: 14px; background: #e5f5f2; border: 1px solid #b5e0d6; border-radius: 10px; padding: 14px 18px; margin-top: 8px; }
.seal-stamp.blue { color: #0b8274; border-color: #0b8274; }
.direct-seal .seal-text { color: #2c5d94; font-size: 13px; line-height: 1.6; }
.job-warn { background: #fff1f0; border: 1px solid #ffccc7; color: #c0392b; border-radius: 10px; padding: 12px 16px; margin-top: 8px; font-size: 13px; line-height: 1.7; }
/* 卡片上的角标 */
.card-jobtype { flex-shrink: 0; color: #fff; background: #0b8274; border-radius: 4px; padding: 1px 7px; font-size: 11px; margin-left: 6px; }
.card-jobtype.daily { background: #df6a5f; }  /* 日结最醒目 —— 找日结的人天天来 */
.card-direct { flex-shrink: 0; color: #0b8274; background: #e5f5f2; border: 1px solid #b5e0d6; border-radius: 4px; padding: 0 6px; font-size: 11px; margin-left: 6px; }
.filter-row.jobtypes { align-items: center; }
.filter-label { font-size: 13px; color: var(--ink-3); margin-right: 6px; flex-shrink: 0; }
.chip.hot { color: #df6a5f; border-color: #ffc9bd; font-weight: 700; }
.chip.hot.on { background: #df6a5f; color: #fff; border-color: #df6a5f; }

/* ============ 订阅提醒 / 发布者信用 ============ */
.sub-bar { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #eef7f2, #e2f2ea); border: 1px solid #cfe9dd; border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; }
.sub-ico { font-size: 26px; flex-shrink: 0; }
.sub-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sub-txt b { color: #157a4e; font-size: 15px; }
.sub-txt small { color: #5f9a80; font-size: 13px; margin-top: 2px; }
#btn-sub { flex-shrink: 0; border: none; cursor: pointer; }
#btn-sub:disabled { opacity: .7; cursor: default; }
.credit-row { display: flex; align-items: center; gap: 8px; background: #f6f8fa; border-radius: 8px; padding: 10px 14px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.credit-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.credit-bad { color: #c0392b; font-weight: 700; }
/* 个人中心：消息与订阅 */
.tab-dot { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 11px; color: #fff; background: #df6a5f; border-radius: 999px; margin-left: 5px; padding: 0 5px; }
.sub-sec { margin-bottom: 22px; }
.sub-sec-h { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink-1); margin-bottom: 10px; flex-wrap: wrap; }
.sub-sec-h small { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.unread-n { color: #df6a5f; font-size: 13px; }
.sub-sec .pt-row, .msg-row { background: #fff; }
.sub-sec > .pt-row:first-of-type, .sub-sec > .msg-row:first-of-type { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.msg-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.msg-row.unread { border-left: 3px solid var(--brand); }
.msg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msg-main b { font-size: 14px; }
.msg-main span { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.mc-stats { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.mc-stats b { font-size: 14px; color: var(--ink-2); }
.mc-stats .hi b { color: var(--brand); }

/* ============ 商家主页 ============ */
.license-seal { display: flex; align-items: center; gap: 12px; background: #e5f5f2; border: 1px solid #b5e0d6; border-radius: 10px; padding: 12px 16px; margin: 10px 0 14px; }
.license-seal .seal-text { color: #2c5d94; font-size: 13px; }
.svc-intro { background: #f6f8fa; border-radius: 10px; padding: 14px 18px; margin: 14px 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.faq-title { margin-top: 26px; }
.faq-list { margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 15px; font-weight: 700; color: var(--ink-1); }
.faq-a { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin-top: 6px; }
.faq-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }

/* ============ 本地通知 ============ */
.nc-list { display: flex; flex-direction: column; gap: 14px; }
.nc-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 18px 20px; border-left: 5px solid #d0d5db; box-shadow: var(--shadow); transition: .15s; }
.nc-badge { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #f0f3f5; }
.nc-card.warning .nc-badge { background: #fbf0e2; }
.nc-card.info .nc-badge { background: #eaf1fa; }
.nc-card.success .nc-badge { background: #e5f5f2; }
.nc-body { flex: 1; min-width: 0; }
.nc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.nc-card.warning { border-left-color: #e2863c; }
.nc-card.info { border-left-color: #3a6ea5; }
.nc-card.success { border-left-color: #0fa891; }
.nc-top { display: flex; align-items: center; justify-content: space-between; }
.nc-kind { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: #f0f3f5; border-radius: 999px; padding: 3px 12px; }
.nc-card.warning .nc-kind, .nc-detail.warning .nc-kind { color: #d0640d; background: #fbf0e2; }
.nc-card.info .nc-kind { color: #3a6ea5; background: #eaf1fa; }
.nc-card.success .nc-kind { color: #0b8274; background: #e5f5f2; }
.nc-pin { font-size: 11px; color: #fff; background: var(--accent); border-radius: 4px; padding: 1px 7px; }
.nc-title { font-size: 20px; font-weight: 800; color: var(--ink-1); margin-top: 8px; line-height: 1.45; }
.nc-brief { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.nc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.nc-src { font-size: 12px; color: var(--ink-3); }
.nc-go { font-size: 13px; color: var(--brand); font-weight: 600; }
/* 通知详情 */
.nc-detail { background: #fff; border-radius: 16px; padding: 26px; border-top: 6px solid #d0d5db; }
.nc-detail.warning { border-top-color: #e2863c; }
.nc-detail.info { border-top-color: #3a6ea5; }
.nc-detail.success { border-top-color: #0fa891; }
.nc-h1 { font-size: 28px; font-weight: 900; color: var(--ink-1); margin-top: 10px; line-height: 1.4; }
.nc-brief-box { background: #f6f8fa; border-radius: 10px; padding: 14px 18px; margin-top: 18px; font-size: 16px; font-weight: 700; }
.nc-areas { margin-top: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.nc-label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.nc-content { margin-top: 18px; font-size: 15px; line-height: 2; color: var(--ink-2); white-space: pre-wrap; }
.nc-source { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.nc-source a { color: var(--brand); }

/* ============ 周报 ============ */
.wk-hero { background: linear-gradient(135deg, #0fa891, #00c17e); border-radius: 16px; padding: 30px 28px; color: #fff; }
.wk-h1 { font-size: 30px; font-weight: 900; }
.wk-week { font-size: 14px; opacity: .9; margin-top: 4px; }
.wk-intro { font-size: 15px; margin-top: 12px; }
.wk-stats { display: flex; gap: 14px; margin: -18px 20px 0; background: #fff; border-radius: 14px; padding: 20px 0; box-shadow: var(--shadow); position: relative; }
.wk-st { flex: 1; display: flex; flex-direction: column; align-items: center; }
.wk-st b { font-size: 28px; font-weight: 900; color: var(--ink-1); }
.wk-st b.dh { color: #0b8274; }
.wk-st b.dy { color: #df6a5f; }
.wk-st span { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.wk-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.wk-job { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.wk-job:hover { box-shadow: var(--shadow-hover); }
.wk-no { flex-shrink: 0; width: 28px; height: 28px; line-height: 28px; text-align: center; font-size: 13px; font-weight: 800; color: var(--ink-3); background: #f2f3f5; border-radius: 8px; }
.wk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wk-title { font-size: 15px; font-weight: 700; color: var(--ink-1); }
.wk-meta { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.wk-salary { flex-shrink: 0; font-size: 15px; font-weight: 800; color: var(--accent); }
.wk-cta { text-align: center; margin-top: 28px; }
/* 失效确认条 */
.mine-card { flex-wrap: wrap; }
.mc-confirm { flex-basis: 100%; display: flex; align-items: center; gap: 10px; background: #fff7ec; border-top: 1px solid #ffe0b8; padding: 10px 14px; font-size: 13px; color: #b0640d; }
.mc-confirm span { flex: 1; }
.cf-btn { flex-shrink: 0; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-decoration: none; }
.cf-btn.ok { background: var(--brand); color: #fff; }
.cf-btn.off { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
/* 已过时效盖章 */
.stale-seal { display: flex; align-items: center; gap: 14px; background: #fdf6f5; border: 1px solid #f0d5d2; border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; }
.ss-stamp { flex-shrink: 0; color: #c0392b; border: 2px solid #c0392b; border-radius: 6px; padding: 5px 10px; font-size: 13px; font-weight: 800; letter-spacing: 1px; transform: rotate(-6deg); }
.ss-txt { color: #a04b44; font-size: 13px; line-height: 1.7; }
/* 列表卡片上的时效角标 */
.card-stale { flex-shrink: 0; font-size: 11px; color: #c0392b; background: #fdf0ee; border: 1px solid #f0d5d2; border-radius: 4px; padding: 0 6px; margin-left: 6px; }

/* ── PC 个人中心：商家主页 ── */
.mch-empty { text-align: center; padding: 60px 24px; }
.mch-i { font-size: 48px; }
.mch-empty h3 { margin: 12px 0 8px; font-size: 18px; color: #222; }
.mch-empty p { color: #888; font-size: 14px; line-height: 1.8; margin: 0 auto; max-width: 480px; }
.mch-flow { color: #aaa !important; font-size: 13px !important; margin-top: 10px !important; }
.mch-empty .btn-primary { display: inline-block; margin-top: 20px; }

.mch-card { background: #fff; border: 1px solid #eceef0; border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.mch-head { display: flex; align-items: center; gap: 10px; }
.mch-head h3 { margin: 0; font-size: 17px; color: #222; }
.mch-cat { color: #999; font-size: 13px; margin-top: 4px; }
.mch-stats { display: flex; gap: 28px; margin: 14px 0; background: #fafbfc; border-radius: 8px; padding: 12px 18px; }
.mch-stats span { font-size: 13px; color: #999; }
.mch-stats b { font-size: 19px; color: #333; margin-right: 4px; }
.mch-stats .hot b { color: #0fa891; }
.mch-seals { display: flex; gap: 8px; flex-wrap: wrap; }
.seal-ok { font-size: 12px; color: #07803e; background: #e8f7ee; padding: 3px 9px; border-radius: 4px; }
.seal-no { font-size: 12px; color: #999; background: #f2f3f5; padding: 3px 9px; border-radius: 4px; }

.mch-pending { margin-top: 14px; background: #fbf6ee; border: 1px solid #f0d9ad; border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #666; }
.mch-pending b { display: block; color: #b5730b; margin-bottom: 6px; font-weight: 600; }
.mch-cancel { margin-top: 8px; background: none; border: none; color: #c0392b; font-size: 13px; cursor: pointer; padding: 0; }

.mch-form { margin-top: 18px; }
.mch-sec { font-size: 15px; font-weight: 600; color: #222; padding: 16px 0 6px; border-top: 1px solid #f0f1f2; margin-top: 18px; }
.mch-sec.fact { color: #c0392b; }
.mch-form label { display: block; font-size: 13px; color: #666; margin: 14px 0 6px; }
.mch-in { width: 100%; box-sizing: border-box; background: #f7f8fa; border: 1px solid #eceef0; border-radius: 6px; padding: 10px 12px; font-size: 14px; color: #222; }
.mch-ta { height: 110px; resize: vertical; font-family: inherit; }
.mch-ai { float: right; background: #e5f5f2; color: #0b8274; border: none; border-radius: 12px; padding: 3px 12px; font-size: 12px; cursor: pointer; }
.mch-warn { font-size: 12px; color: #b5730b; background: #fbf6ee; border-radius: 6px; padding: 10px 12px; line-height: 1.7; margin: 10px 0 0; }
.mch-save { margin-top: 16px; }
.mch-submit { margin-top: 16px; background: #fff; color: #c0392b; border: 1px solid #f0d5d2; border-radius: 20px; padding: 9px 26px; font-size: 14px; cursor: pointer; }
.mch-rule { background: #fff; border-radius: 10px; padding: 18px 20px; font-size: 13px; color: #999; line-height: 1.9; }
.mch-rule b { display: block; color: #555; margin-bottom: 6px; }

/* 公告详情：结论区。「哪些地方」是用户的第一问题（我家会不会停），字号最大、排最前。 */
.nc-key { display: flex; align-items: flex-start; margin-top: 16px; }
.nc-key-l { flex: none; width: 76px; font-size: 13px; color: #9aa0a6; padding-top: 3px; }
.nc-key-v { flex: 1; font-size: 16px; color: #333; line-height: 1.6; }
.nc-place .nc-key-v { font-size: 19px; font-weight: 700; color: #1a1a1a; }
/* 周报：没写薪资的岗位不留白，明写"面议"——空着会让人以为漏了 */
.wk-salary.none { color: #bbb; font-weight: 400; }

/* 周报的其他板块（房源/二手/顺风车…），够量才出现 */
.wk-h2 { font-size: 19px; font-weight: 700; color: #1a1a1a; margin: 32px 0 12px; }
.wk-h2 small { font-size: 13px; font-weight: 400; color: #9aa0a6; margin-left: 8px; }
.wk-more { text-align: center; margin: 12px 0 0; }
.wk-more a { font-size: 14px; color: #9aa0a6; }

/* 顶部「找信息 ▾」下拉：分类从后台配置动态出，停用的不会出现 */
.nav-drop { position: relative; flex-shrink: 0; }
.nav-drop-btn { background: none; border: none; cursor: pointer; padding: 6px 12px; border-radius: 20px; font-size: 15px; color: var(--ink-2); font-family: inherit; transition: 0.15s; }
.nav-drop:hover .nav-drop-btn, .nav-drop-btn.active { background: #eef6f2; color: var(--brand); }
.nav-drop-btn.active { background: var(--brand); color: #fff; font-weight: 600; }
.caret { font-size: 11px; opacity: 0.7; }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  background: #fff; border: 1px solid #eceef0; border-radius: 12px; padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); min-width: 190px;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-1); white-space: nowrap; }
.nav-drop-menu a:hover { background: #f3f7f5; color: var(--brand); }
.nd-ico { font-size: 15px; width: 18px; text-align: center; }
.nd-all { margin-top: 4px; border-top: 1px solid #f2f3f4; padding-top: 11px !important; color: var(--ink-2) !important; font-size: 13px !important; }

/* ── 公告详情：A4 通知纸（和小程序/H5 口径一致）── */
.paper { background: #fff; border-radius: 8px; padding: 40px 44px 32px; box-shadow: 0 6px 30px rgba(0,0,0,.09); border-top: 8px solid #3a6ea5; max-width: 640px; margin: 0 auto; }
.paper.warning { border-top-color: #e8620c; }
.paper.success { border-top-color: #0fa891; }
.paper .p-head { text-align: center; margin-bottom: 14px; }
.paper .p-kind { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #3a6ea5; border: 1.5px solid #3a6ea5; border-radius: 5px; padding: 3px 14px; }
.paper.warning .p-kind { color: #e8620c; border-color: #e8620c; }
.paper.success .p-kind { color: #0fa891; border-color: #0fa891; }
.paper .p-title { font-size: 26px; font-weight: 800; color: #1a1a1a; line-height: 1.5; text-align: center; margin: 0; }
.paper .p-rule { height: 2px; background: #eceef1; margin: 20px 0; }
.paper .p-key { display: flex; align-items: flex-start; margin-top: 14px; }
.paper .p-key-l { flex: none; width: 76px; font-size: 13px; color: #9aa0a6; padding-top: 3px; }
.paper .p-key-v { flex: 1; font-size: 16px; color: #333; line-height: 1.65; }
.paper .p-key-v.place { font-size: 19px; font-weight: 700; color: #1a1a1a; }
.paper .p-content { margin-top: 20px; font-size: 15px; color: #444; line-height: 1.95; white-space: pre-wrap; }
.paper .p-content-rich { white-space: normal; color: #36312e; font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 17px; line-height: 1.95; word-break: break-word; }
.paper .p-content-rich h2 { margin: 30px 0 18px; color: #a52218; font-size: 25px; line-height: 1.5; text-align: center; }
.paper .p-content-rich h3 { margin: 26px 0 14px; color: #8f1d14; font-size: 21px; line-height: 1.55; }
.paper .p-content-rich p { margin: 0 0 17px; }
.paper .p-content-rich img { display: block; width: auto; max-width: 100%; height: auto; margin: 22px auto; border-radius: 4px; }
.paper .p-content-rich blockquote { margin: 22px 0; padding: 13px 18px; border-left: 4px solid #b42318; background: #fbf3ef; color: #6e5148; }
.paper .p-content-rich ul, .paper .p-content-rich ol { margin: 0 0 17px 1.5em; }
.paper .p-sign { margin-top: 36px; text-align: right; }
.paper .p-sign-name { font-size: 16px; font-weight: 700; color: #333; }
.paper .p-sign-date { font-size: 14px; color: #666; margin-top: 4px; }
.paper .p-src-link { display: inline-block; font-size: 13px; color: #3a6ea5; margin-top: 8px; }
.notice-engagement { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 16px 0 0; color: #7f8791; font-size: 13px; }
.notice-engagement b { color: #555e68; font-weight: 600; }
.notice-engagement-dot { color: #c5cad0; }
.notice-float-actions { position: fixed; right: max(22px, calc((100vw - 1180px) / 2)); bottom: 32px; z-index: 35; display: flex; flex-direction: column; gap: 10px; }
.notice-float-home, .notice-float-share { min-width: 116px; padding: 11px 17px; border-radius: 999px; border: 1px solid #e3c5bd; text-align: center; font: 700 14px/1.2 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; box-shadow: 0 8px 26px rgba(64,37,30,.18); }
.notice-float-home { background: rgba(255,255,255,.96); color: #8f1d14; }
.notice-float-share { background: #b42318; border-color: #b42318; color: #fff; cursor: pointer; }
.notice-float-home:hover, .notice-float-share:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(64,37,30,.24); }
@media (max-width: 760px) {
  .notice-float-actions { right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .notice-float-home, .notice-float-share { min-width: 102px; padding: 10px 14px; font-size: 13px; }
  .paper .p-content-rich { font-size: 16px; }
}

/* 已下架/已完成公章（PC）：信息保留、SEO 保留，只抹联系方式 */
.ended-seal { text-align: center; padding: 28px 20px; background: #fafbfc; border-radius: 10px; margin-top: 8px; }
.es-stamp { display: inline-block; font-size: 20px; font-weight: 900; color: #c0392b; border: 3px solid #c0392b; border-radius: 8px; padding: 5px 22px; transform: rotate(-8deg); letter-spacing: 3px; opacity: .88; }
.es-t { display: block; font-size: 16px; font-weight: 700; color: #333; margin-top: 16px; }
.es-s { display: block; font-size: 13px; color: #999; margin-top: 8px; }

/* 联系方式复制按钮（PC 埋点用） */
.c-copy { margin-left: 8px; font-size: 12px; color: #0b8274; background: #eafaf1; border: 1px solid #bfe8d2; border-radius: 5px; padding: 2px 10px; cursor: pointer; }
.c-copy:hover { background: #d8f3e4; }
