/* ============ 算力汇 · 原型样式（移动端优先，PC 自适应见文末） ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --green: #00a05a; --green-d: #008a4e; --blue: #2b6cf6; --red: #f04b4b; --orange: #ff8f1f;
  --txt: #1f2329; --txt2: #6a707c; --txt3: #9aa0ac; --bg: #f4f5f7; --line: #ececef;
}
html, body { height: 100%; }
body { background: #dfe3e8; font: 14px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--txt); }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

#app { display: flex; justify-content: center; }
.phone { width: 100%; max-width: 430px; min-height: 100vh; background: var(--bg); position: relative; box-shadow: 0 0 24px rgba(0,0,0,.12); }

/* ---- 顶栏 ---- */
#topbar { position: sticky; top: 0; z-index: 40; background: #fff; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 8px; border-bottom: 1px solid var(--line); }
#topbar:empty { display: none; }
.back { font-size: 26px; line-height: 1; color: var(--txt2); width: 32px; }
.tb-title { font-size: 16px; font-weight: 600; flex: 0 0 auto; }
.tb-right { margin-left: auto; color: var(--green); font-size: 13px; padding-right: 4px; }
.tb-search { flex: 1; display: flex; }
.tb-search input { flex: 1; background: #f1f2f4; border: none; border-radius: 18px; padding: 8px 14px; font-size: 13px; outline: none; }
#view { padding-bottom: 70px; min-height: calc(100vh - 48px); }
#view:has(+ #tabbar[style*="none"]) { padding-bottom: 16px; }

/* ---- 底部 Tab ---- */
#tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
#tabbar a { flex: 1; text-align: center; padding: 7px 0 6px; font-size: 11px; color: var(--txt3); }
#tabbar a span { display: block; font-size: 20px; filter: grayscale(1) opacity(.6); }
#tabbar a.on { color: var(--green); font-weight: 600; }
#tabbar a.on span { filter: none; }

/* ---- 通用 ---- */
.card { background: #fff; border-radius: 12px; margin: 10px 12px; padding: 14px; box-shadow: 0 1px 3px rgba(20,30,40,.04); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.card-title .sub { margin-left: auto; font-weight: 400; }
.btn-primary { display: block; width: calc(100% - 24px); margin: 12px; padding: 12px; background: var(--green); color: #fff; border-radius: 22px; font-size: 16px; font-weight: 600; text-align: center; }
.btn-primary:active { background: var(--green-d); }
.btn-primary.sm { width: auto; margin: 0; padding: 7px 16px; font-size: 13px; display: inline-block; }
.btn-primary.grow { flex: 1; width: auto; margin: 0; }
.btn-line { padding: 5px 12px; border: 1px solid var(--green); color: var(--green); border-radius: 14px; font-size: 12px; background: #fff; }
.btn-call { color: var(--green); font-size: 16px; padding: 2px 6px; }
.btn-text { display: block; width: 100%; text-align: center; color: var(--txt2); padding: 12px; }
.btn-text2 { color: var(--txt2); font-size: 12px; margin-left: auto; }
.empty { text-align: center; color: var(--txt3); padding: 48px 20px; line-height: 2; }
.empty a { color: var(--green); }
.hint { font-size: 12px; color: var(--txt3); line-height: 1.7; margin-top: 8px; }
.warn { color: var(--orange); } .bad { color: var(--red); }
.tag { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 4px; margin-right: 4px; }
.tg-green { background: #e3f6ec; color: var(--green); }
.tg-orange { background: #fff3e2; color: var(--orange); }
.tg-gray { background: #f1f2f4; color: var(--txt2); }
.tg-blue { background: #eaf1fe; color: var(--blue); }
.tg-verify { background: #eaf1fe; color: var(--blue); font-weight: 600; }
.tg-soon { background: #fdeeee; color: var(--red); }
.tg-pending { background: #f1f2f4; color: var(--txt2); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; flex: none; }
.avatar.lg { width: 42px; height: 42px; font-size: 18px; }
.avatar.xl { width: 56px; height: 56px; font-size: 24px; }

.seg { display: flex; margin: 10px 12px 0; background: #fff; border-radius: 10px; overflow: hidden; }
.seg a { flex: 1; text-align: center; padding: 11px 0; font-size: 14px; color: var(--txt2); }
.seg a.on { color: var(--green); font-weight: 700; box-shadow: inset 0 -2px 0 var(--green); }
.seg.small a { padding: 9px 0; font-size: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
.chip { font-size: 12px; padding: 5px 13px; border-radius: 15px; background: #fff; color: var(--txt2); border: 1px solid var(--line); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.frow { display: flex; align-items: center; gap: 8px; padding: 5px 0; overflow-x: auto; }
.frow::-webkit-scrollbar { display: none; }
.flabel { font-size: 12px; color: var(--txt3); flex: none; }
.filters { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 8px 12px; }
.count-line { font-size: 12px; color: var(--txt2); padding: 2px 14px 8px; }
.count-line b { color: var(--green); }

/* ---- 图片占位 ---- */
.imgph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #d7e6dd, #b8d4c6 60%, #9cc3d8); color: #33534a; }
.imgph span { font-size: 30px; }
.imgph em { font-size: 10px; letter-spacing: 1px; opacity: .7; font-style: normal; }

/* ---- 首页 ---- */
.home-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 4px; background: linear-gradient(180deg, #00a05a 0%, #00a05a 90px, transparent 90px); }
#topbar:empty + #view .home-head { padding-top: 18px; }
.loc { color: #fff; font-size: 13px; white-space: nowrap; }
.home-head .tb-search { flex: 1; }
.home-head .tb-search input { background: #fff; }

/* ---- 首页居中版式 ---- */
.home-hero { background: linear-gradient(180deg, #00b066 0%, #008f52 100%); padding: 22px 16px 24px; text-align: center; color: #fff; border-radius: 0 0 24px 24px; }
.hh-loc { font-size: 12px; opacity: .85; margin-bottom: 6px; }
.hh-brand { font-size: 26px; font-weight: 800; letter-spacing: 3px; text-shadow: 0 1px 2px rgba(0,60,30,.25); }
.hh-slogan { font-size: 12px; opacity: .92; margin: 6px 0 16px; letter-spacing: 1px; }
.home-hero .hh-search { max-width: 460px; margin: 0 auto; }
.home-hero .hh-search input { background: #fff; box-shadow: 0 4px 14px rgba(0,60,30,.18); }
.hh-trust { font-size: 11px; opacity: .88; margin-top: 12px; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; margin-top: 10px; }
.home-hero + .entry-grid { margin-top: 12px; }
.entry { border-radius: 14px; padding: 26px 14px 24px; color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 6px 16px rgba(0,60,30,.14); }
.entry .en-ico { font-size: 34px; margin-bottom: 10px; }
.entry b { display: block; font-size: 18px; margin-bottom: 6px; }
.entry i { font-style: normal; font-size: 12px; opacity: .92; }
.entry em { font-style: normal; font-size: 11px; opacity: .78; margin-top: 12px; }
.chips.center { justify-content: center; }
.banner.center { text-align: center; line-height: 1.8; }
.sec-head.mid { justify-content: center; gap: 10px; }
.sec-head.mid a { font-size: 12px; }
.hcard .hc-body { text-align: center; }
.e-buy { background: linear-gradient(135deg, #00b066, #008f52); }
.e-sell { background: linear-gradient(135deg, #ff9d4d, #f57b24); }
.e-lease { background: linear-gradient(135deg, #5b8cff, #3f6ae0); }
.e-rent { background: linear-gradient(135deg, #8a63e8, #6d44d4); }
.banner { margin: 4px 12px 10px; padding: 13px 14px; border-radius: 10px; background: linear-gradient(120deg, #123524, #1d5c3a); color: #dff5e7; font-size: 13px; }
.banner b { color: #ffd97a; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 700; padding: 14px 14px 4px; }
.sec-head a { font-size: 12px; color: var(--txt3); font-weight: 400; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 8px 12px; }
.hscroll::-webkit-scrollbar { display: none; }
.hcard { flex: none; width: 158px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.hcard .imgph { height: 96px; }
.hc-body { padding: 8px 10px 10px; }
.hc-title { font-size: 12px; height: 34px; overflow: hidden; line-height: 1.45; }
.hc-price { color: var(--red); font-size: 16px; font-weight: 700; margin-top: 4px; }
.hc-price small { font-size: 10px; color: var(--txt2); font-weight: 400; }

/* ---- 信息卡片 ---- */
.lcard { display: flex; gap: 12px; padding: 12px; }
.lc-img { position: relative; flex: none; width: 108px; height: 108px; overflow: hidden; border-radius: 8px; }
.lc-img .imgph { height: 108px; border-radius: 8px; }
.lc-img .cover { position: absolute; inset: 0; background: rgba(31,35,41,.62); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; border-radius: 8px; text-align: center; }
.lc-body { flex: 1; min-width: 0; }
.lc-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.lc-config { font-size: 12px; color: var(--txt2); margin: 3px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-tags { margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 3px 0; }
.lc-price { color: var(--red); font-size: 19px; font-weight: 800; }
.lc-price small { font-size: 11px; color: var(--txt2); font-weight: 400; margin-left: 3px; }
.lc-price em { font-style: normal; font-size: 11px; color: var(--txt2); font-weight: 400; margin-left: 8px; }
.lc-meta { font-size: 11px; color: var(--txt3); margin-top: 3px; }
.lc-foot { display: flex; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.agent-mini { font-size: 11px; color: var(--txt2); display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; }
.lc-ops { display: flex; align-items: center; gap: 6px; flex: none; }
.demand b { font-size: 14px; }
.demand .dm-sub { font-size: 12px; color: var(--txt2); margin: 4px 0 8px; }
.demand .dm-link { font-size: 12px; color: var(--green); margin-left: 10px; }

/* ---- 详情页 ---- */
.gallery { display: flex; gap: 8px; overflow-x: auto; padding: 12px; }
.gallery .imgph { flex: none; width: 76%; height: 190px; border-radius: 10px; }
.d-price-card h2 { font-size: 17px; margin: 6px 0; }
.dp-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.dp { color: var(--red); font-size: 26px; font-weight: 800; }
.dp small { font-size: 12px; color: var(--txt2); font-weight: 400; }
.dp-total { font-size: 12px; color: var(--txt2); }
.valid-bar { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 10px; border-radius: 8px; margin-top: 10px; }
.valid-bar.valid { background: #e3f6ec; color: var(--green); }
.valid-bar.soon { background: #fff3e2; color: var(--orange); }
.valid-bar.expired { background: #fdeeee; color: var(--red); }
.kv { display: flex; padding: 7px 0; border-bottom: 1px solid #f7f7f9; font-size: 13px; }
.kv:last-child { border-bottom: none; }
.kv span { width: 92px; flex: none; color: var(--txt3); }
.kv b { font-weight: 500; text-align: right; flex: 1; }
.desc { font-size: 13px; color: var(--txt2); line-height: 1.8; }
.ct-row { display: flex; gap: 10px; align-items: center; }
.ct-phone { font-size: 16px; font-weight: 700; color: var(--txt); letter-spacing: .5px; }
.ct-phone em { font-style: normal; font-size: 11px; color: var(--green); font-weight: 400; margin-left: 6px; }
.privacy { margin-top: 10px; font-size: 11px; color: var(--txt3); background: #f7f8fa; border-radius: 6px; padding: 8px 10px; }
.agent-card { display: flex; align-items: center; gap: 10px; }
.ag-info { flex: 1; min-width: 0; }
.ag-info b { font-size: 14px; display: block; }
.ag-info i { font-style: normal; font-size: 11px; color: var(--txt3); }
.ag-go { color: var(--txt3); font-size: 20px; }
.d-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: #fff; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); z-index: 46; }
.detail { padding-bottom: 76px; }

/* ---- 登录 ---- */
.login { padding-top: 8vh; }
.login-hero { text-align: center; margin-bottom: 26px; }
.logo { font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: 2px; }
.login-hero p { color: var(--txt2); font-size: 13px; margin-top: 6px; }
.slogan { color: var(--txt3) !important; font-size: 12px !important; }
.login-card { padding: 18px 16px; }
.role-tabs { display: flex; background: #f1f2f4; border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.role-tab { flex: 1; text-align: center; padding: 8px; border-radius: 8px; font-size: 14px; color: var(--txt2); }
.role-tab.on { background: #fff; color: var(--green); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.agree { font-size: 11px; color: var(--txt3); text-align: center; margin-top: 10px; }
.login-err { background: #fdeeee; color: var(--red); font-size: 12px; border-radius: 8px; padding: 8px 10px; margin: 4px 0 8px; line-height: 1.6; }
.lg-links { display: flex; justify-content: space-between; font-size: 12px; color: var(--green); padding: 4px 2px 10px; }
.lg-links a { cursor: pointer; }
.cap-img { height: 38px; width: 96px; flex: none; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; background: #eef1f5; }
.cap-hint { flex: none; font-size: 11px; color: var(--orange); width: 84px; text-align: right; }

.field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.field span { flex: none; width: 86px; font-size: 13px; color: var(--txt2); }
.field input, .field select { flex: 1; border: none; outline: none; background: none; font-size: 15px; min-width: 0; }
.field select { width: 100%; }
.code-btn { flex: none; color: var(--green); font-size: 13px; border-left: 1px solid var(--line); padding-left: 12px; }
.radio { display: flex; gap: 14px; font-size: 14px; flex: 1; }
.radio label { display: flex; align-items: center; gap: 4px; color: var(--txt); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid2 .field span { width: 74px; }
/* 移动端：双列改单列，杜绝标签换行挤压与输入框溢出卡片边界 */
body:not(.pc) .grid2 { grid-template-columns: 1fr; }
body:not(.pc) .grid2 .field span { width: 116px; flex: none; }
.field { min-width: 0; }
.field > * { min-width: 0; }

/* ---- 发布 ---- */
.pub-note { margin: 12px; padding: 12px 14px; background: #e3f6ec; border-radius: 10px; font-size: 13px; color: #116b41; line-height: 1.7; }
.pub-note b { font-size: 14px; }
.form .field { padding: 10px 0; }
.uploader { display: flex; gap: 10px; flex-wrap: wrap; }
.up-ph { width: 84px; height: 84px; border-radius: 8px; background: linear-gradient(135deg, #d7e6dd, #b8d4c6); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #33534a; text-align: center; }
.up-ph.big { width: 100%; min-height: 96px; border: 1px dashed var(--txt3); background: #fafbfc; color: var(--txt3); margin-top: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; text-align: center; padding: 10px; }
.verify-preview { margin-top: 10px; }
.verify-preview video, .verify-preview img { width: 100%; max-height: 220px; border-radius: 8px; background: #000; object-fit: contain; display: block; }
.up-add { width: 84px; height: 84px; border-radius: 8px; border: 1px dashed var(--txt3); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--txt3); background: #fafbfc; cursor: pointer; }
.up-add:active { border-color: var(--green); color: var(--green); }
/* 真实上传素材 */
.up-tile { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: #000; }
.up-tile img, .up-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(31,35,41,.65); color: #fff; font-style: normal; font-size: 14px; line-height: 20px; text-align: center; cursor: pointer; z-index: 2; }
.media-badge { position: absolute; left: 4px; bottom: 4px; font-size: 10px; color: #fff; background: rgba(31,35,41,.6); padding: 1px 6px; border-radius: 8px; }
.media-badge.sm { font-size: 9px; padding: 0 4px; }
.imgph.media { padding: 0; overflow: hidden; background: #dfe6e2; }
.imgph.media img, .imgph.media video { width: 100%; height: 100%; min-width: 100%; min-height: 100%; object-fit: cover; display: block; }
.imgph.media { position: relative; }
.pub-foot { padding: 4px 0 24px; }
.pub-foot .btn-primary { width: 100%; margin: 12px 0 0; }

/* ---- 经纪人工作台 ---- */
.a-stats { display: flex; background: #fff; margin: 12px; border-radius: 12px; padding: 14px 6px; }
.a-stat { flex: 1; text-align: center; }
.a-stat b { font-size: 20px; display: block; }
.a-stat i { font-style: normal; font-size: 11px; color: var(--txt3); }
.ar-top { display: flex; align-items: center; gap: 8px; }
.ar-top b { font-size: 14px; flex: 1; }
.pill { flex: none; font-size: 11px; padding: 3px 9px; border-radius: 12px; font-weight: 600; }
.p-valid { background: #e3f6ec; color: var(--green); }
.p-soon { background: #fff3e2; color: var(--orange); }
.p-expired { background: #fdeeee; color: var(--red); }
.ar-sub { font-size: 12px; color: var(--txt2); margin-top: 6px; }
.ar-sub.quote { color: var(--txt); background: #f7f8fa; padding: 7px 10px; border-radius: 8px; }
.ar-ops { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.timeline { position: relative; padding-left: 4px; }
.fitem { border-left: 2px solid var(--line); padding: 0 0 16px 14px; position: relative; }
.fitem::before { content: ""; position: absolute; left: -5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ftime { font-size: 11px; color: var(--txt3); }
.fb { font-size: 13px; margin: 3px 0; }
.fv { font-size: 12px; color: var(--blue); background: #eaf1fe; padding: 6px 9px; border-radius: 6px; margin-top: 4px; }
.fq { font-size: 11px; color: var(--green); margin-top: 4px; }
.fq.warn { color: var(--red); }

/* ---- 分享小卡片 ---- */
.card-preview { max-width: 300px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); background: #f1f2f4; }
.card-preview canvas { display: block; width: 100%; }
.card-preview img { display: block; width: 100%; -webkit-touch-callout: default; }
.card-loading { padding: 60px 0; text-align: center; color: var(--txt3); font-size: 13px; }

/* ---- 批量导出（经纪人工作台） ---- */
.exp-bar { display: flex; align-items: center; gap: 8px; padding: 10px 2px 2px; }
.exp-bar button { flex: 0 0 auto; }
.exp-bar .btn-text { width: auto; display: inline-block; }
.exp-cnt { font-size: 12px; color: var(--txt2); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-cb { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c8cdd6; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: #fff; margin-right: 7px; vertical-align: middle; }
.exp-cb.on { background: var(--green); border-color: var(--green); }
button[disabled] { opacity: .5; }
.fref { font-size: 11px; margin-top: 3px; }
.fref a { color: var(--blue); text-decoration: none; }
.fref a:active { opacity: .6; }

/* ---- 我的发布 ---- */
.mine-head { display: flex; align-items: center; gap: 22px; background: #fff; margin: 12px; border-radius: 12px; padding: 14px 16px; }
.mine-head > div { text-align: center; }
.mine-head b { display: block; font-size: 20px; color: var(--txt); }
.mine-head i { font-style: normal; font-size: 11px; color: var(--txt3); }
.mine-head .btn-primary.sm { margin-left: auto; }
body.pc .mine-head { max-width: 980px; margin-left: auto; margin-right: auto; }

/* ---- 我的 ---- */
.p-head { display: flex; align-items: center; gap: 12px; padding: 22px 16px; background: linear-gradient(135deg, #00a05a, #00c271); color: #fff; }
.p-head .avatar { background: rgba(255,255,255,.25); }
.p-head b { font-size: 18px; display: block; }
.p-head i { font-style: normal; font-size: 12px; opacity: .9; }
.menu { padding: 4px 14px; }
.mi { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mi:last-child { border-bottom: none; }
.mi em { font-style: normal; font-size: 12px; color: var(--txt3); }

/* ---- Sheet / Toast ---- */
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 430px; background: #fff; border-radius: 16px 16px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 78vh; overflow-y: auto; animation: up .22s ease; }
@keyframes up { from { transform: translateY(40%); } }
.sheet > .btn-primary { width: 100%; margin: 14px 0 0; }
.sheet-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.ta { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 14px; resize: none; outline: none; margin-top: 6px; }
.quick .chip { background: #f1f4f6; }
.big-phone { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: 1px; padding: 10px 0; }
.mt { margin-top: 14px; }
.toast { position: fixed; left: 50%; bottom: 130px; transform: translateX(-50%); background: rgba(31,35,41,.92); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 13px; z-index: 99; max-width: 86vw; text-align: center; }
.hidden { display: none !important; }

/* ============ PC（桌面浏览器）自适应：body.pc 由 UA + 视口宽度自动切换 ============ */
body.pc { background: #e9edf2; }
body.pc .phone { max-width: 1160px; display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(30,50,80,.10); min-height: 100vh; }
body.pc #topbar { order: 1; height: 56px; }
body.pc #tabbar { order: 2; position: static; transform: none; width: 100%; max-width: none; display: flex; gap: 56px; justify-content: center; border-top: none; border-bottom: 1px solid var(--line); padding-bottom: 0; }
body.pc #tabbar a { flex: none; display: flex; align-items: center; gap: 8px; padding: 14px 2px; font-size: 15px; }
body.pc #tabbar a span { display: inline; font-size: 18px; }
body.pc #tabbar a.on { border-bottom: 3px solid var(--green); font-weight: 700; }
body.pc #view { order: 3; flex: 1; padding-bottom: 36px; }

/* 首页：四大入口一行，列表双列 */
body.pc .home-head { padding: 22px 16px 6px; }
body.pc .home-hero { padding: 30px 16px 28px; }
body.pc .entry-grid { grid-template-columns: 1fr 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
body.pc .cards { display: grid; grid-template-columns: 1fr; padding: 0 12px; }
body.pc .cards .lcard { margin: 7px 0; }
body.pc .hcard { width: 200px; }

/* 详情/发布：内容列居中限宽，避免超宽拉伸 */
body.pc .detail .card, body.pc .detail .gallery { max-width: 920px; margin-left: auto; margin-right: auto; }
body.pc .gallery .imgph { width: 30%; height: 280px; }
body.pc .pub-note, body.pc .card.form, body.pc .pub-foot { max-width: 920px; margin-left: auto; margin-right: auto; }
body.pc .pub-foot .btn-primary { max-width: none; }
body.pc .d-bar { max-width: 1160px; }

/* 工作台：行式布局居中 */
body.pc .a-stats, body.pc .seg, body.pc .card.arow, body.pc .card.timeline { max-width: 980px; margin-left: auto; margin-right: auto; }

/* 我的 */
body.pc .p-head, body.pc .card.menu, body.pc .sec-head { max-width: 980px; margin-left: auto; margin-right: auto; }
body.pc .p-head { border-radius: 0 0 14px 14px; }

/* 登录：左品牌右表单 */
body.pc .login { min-height: calc(100vh - 130px); max-width: 1040px; margin: 0 auto; padding: 0 28px 48px; display: grid; grid-template-columns: 1fr 430px; gap: 80px; align-items: center; }
body.pc .login-hero { text-align: left; margin: 0; }
body.pc .logo { font-size: 46px; }
body.pc .login-hero p { font-size: 15px; }
body.pc .login-card { margin: 0; }
body.pc .login .btn-text { grid-column: 2; }

/* 弹层 / 提示 */
body.pc .mask { align-items: center; justify-content: center; }
body.pc .sheet { max-width: 540px; border-radius: 16px; margin-bottom: 6vh; }
body.pc .toast { bottom: 48px; font-size: 14px; }
