/* Edward Export 客户展厅（照参考站）—— 移动端红色主题 */
:root{
  --brand:#d0202b;        /* 主红（询底价/CTA） */
  --brand-dark:#a80a14;
  --orange:#ff8c1a;       /* 微信聊/打电话 */
  --gold:#c9a400;
  --bg:#f5f6f7;
  --card:#ffffff;
  --text:#1a1c1e;
  --muted:#9aa0a6;
  --light:#f2f3f5;
  --border:#ededed;
  --green:#1aad19;
}
*{box-sizing:border-box;margin:0;padding:0}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:0}
input,select,textarea{font-family:inherit}
html{-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative;padding-bottom:60px}

/* 顶部品牌条 */
.topbar{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.topbar .brand{display:flex;align-items:center;gap:8px;padding:12px 14px}
.topbar .logo{flex:none;width:34px;height:34px;border-radius:8px;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;letter-spacing:.5px}
.topbar .brand .nm{font-size:17px;font-weight:800}
.topbar .brand .sub{font-size:11px;color:var(--muted)}
.topbar .brand .ops{margin-left:auto;display:flex;gap:6px}
.iconbtn{width:32px;height:32px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:16px}
.iconbtn.ghost{background:var(--light);color:var(--brand)}
/* 店面信息条 */
.storeinfo{background:#fff;padding:2px 14px 10px;display:flex;align-items:center;justify-content:space-between;border-top:8px solid var(--bg)}
.storeinfo .t{font-size:18px;font-weight:800}
.storeinfo .cnt{font-size:12px;color:var(--muted);margin-top:2px}
.storeinfo .r{display:flex;gap:16px}
.storeinfo .r a{text-align:center;font-size:11px;color:var(--brand)}
.storeinfo .r .ic{font-size:22px}
/* 顶部二级 tab */
.subtab{display:flex;background:#fff;border-bottom:1px solid var(--border)}
.subtab a{flex:1;text-align:center;padding:11px 0;font-size:15px;font-weight:600;color:var(--muted);position:relative}
.subtab a.on{color:var(--brand);font-weight:800}
.subtab a.on:after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:24px;height:3px;background:var(--brand);border-radius:3px}

/* 筛选/搜索条 */
.filterbar{background:#fff;padding:10px 12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.filterbar .f{font-size:13px;color:var(--text);padding:6px 10px;background:var(--light);border-radius:16px}
.filterbar .search{flex:1;display:flex;align-items:center;background:var(--light);border-radius:18px;padding:6px 12px}
.filterbar .search input{border:0;background:transparent;outline:none;font-size:13px;width:100%}

/* 在售卡片 */
.carlist{padding:10px}
.car{display:flex;background:#fff;border-radius:8px;overflow:hidden;margin-bottom:10px}
.car .pic{flex:none;width:118px;height:88px;background:#eef0f2;position:relative}
.car .pic img{width:100%;height:100%;object-fit:cover;display:block}
.car .pic .stamp{position:absolute;right:4px;bottom:4px;width:42px;opacity:.9}
.car .info{flex:1;padding:8px 10px;min-width:0;display:flex;flex-direction:column}
.car .title{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.car .meta{font-size:11.5px;color:var(--muted);margin-top:3px}
.car .row{display:flex;align-items:flex-end;justify-content:space-between;margin-top:auto;padding-top:6px}
.car .price{color:var(--brand);font-weight:800;font-size:18px}
.car .price small{font-size:11px;font-weight:500}
.car .ask{background:var(--brand);color:#fff;padding:6px 12px;border-radius:16px;font-size:12.5px;font-weight:600}
.empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:13px}

/* 详情 */
.detail{background:#fff}
.gallery{position:relative;background:#000}
.gallery img{width:100%;height:260px;object-fit:cover;display:block}
.gallery .num{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;padding:3px 8px;border-radius:12px}
.detail .head{padding:12px 14px;border-bottom:8px solid var(--bg)}
.detail .head .dtitle{font-size:16px;font-weight:800}
.detail .head .price-row{display:flex;align-items:center;gap:12px;margin-top:8px}
.detail .head .price{color:var(--brand);font-weight:800;font-size:24px}
.detail .head .first{color:var(--muted);font-size:12px}
.detail .head .ask{background:var(--brand);color:#fff;margin-left:auto;padding:8px 16px;border-radius:18px;font-size:14px;font-weight:600}
.sechead{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#fff}
.sechead .h{font-size:15px;font-weight:700;display:flex;align-items:center;gap:6px}
.sechead .h:before{content:"";width:4px;height:14px;background:var(--brand);border-radius:2px}
.sechead .more{color:var(--muted);font-size:12px}
.specgrid{display:grid;grid-template-columns:repeat(2,1fr);background:#fff;padding:0 14px 12px;gap:0}
.specgrid .sg{display:flex;padding:11px 4px;border-bottom:1px solid var(--border)}
.specgrid .sg .k{color:var(--muted);font-size:12.5px;width:76px;flex:none}
.specgrid .sg .v{color:var(--text);font-size:13px}
.topcards{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;margin:8px 14px;border-radius:8px;overflow:hidden}
.topcards .tc{padding:12px 6px;text-align:center;border-right:1px solid var(--border)}
.topcards .tc:last-child{border-right:0}
.topcards .tc .k{font-size:11px;color:var(--muted)}
.topcards .tc .v{font-size:14px;font-weight:700;margin-top:4px}
.photos{padding:0 0 12px;background:#fff}
.photos img{width:100%;display:block;margin-bottom:6px}
/* 底部吸附操作条 */
.actionbar{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;z-index:60;
  display:flex;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -1px 6px rgba(0,0,0,.08)}
.actionbar .ab{background:var(--orange);color:#fff;border-radius:20px;padding:10px 0;text-align:center;font-size:14px;font-weight:600;flex:1}
.actionbar .ab.ask{background:var(--brand);flex:1.2}
/* 底部 tabbar */
.tabbar{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;z-index:60;
  display:flex;background:#fff;border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}
.tabbar a{flex:1;text-align:center;padding:7px 0 5px;color:var(--muted);font-size:11px}
.tabbar a .ic{font-size:20px;display:block;line-height:1.2}
.tabbar a.on{color:var(--brand)}

/* 表单页 —— 顶置标签 + 全宽输入 */
.formpage{background:#fff;min-height:100vh;padding:18px 16px 30px}
.formpage .pagetitle{font-size:20px;font-weight:800}
.formpage .pagedesc{font-size:13px;color:var(--muted);margin:6px 0 20px;line-height:1.7}
.fiel{margin-bottom:16px}
.fiel .lbl{font-size:13.5px;color:var(--text);font-weight:600;margin-bottom:7px;display:flex;align-items:center}
.fiel .lbl em{color:var(--brand);font-style:normal;margin-left:3px}
.fiel input,.fiel select,.fiel textarea{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:8px;
  font-size:15px;outline:none;background:#fff;color:var(--text);transition:border-color .15s}
.fiel input:focus,.fiel textarea:focus{border-color:var(--brand)}
.fiel input::placeholder,.fiel textarea::placeholder{color:#b7bcc2}
.fiel textarea{min-height:76px;resize:none;line-height:1.5}
.fiel .hint{font-size:11px;color:var(--muted);margin-top:5px}
.formpage .tip{font-size:11px;color:var(--muted);text-align:center;margin-top:6px}
.primary{display:block;width:100%;margin:8px 0;padding:13px;background:var(--brand);color:#fff;
  text-align:center;border-radius:24px;font-size:16px;font-weight:700;border:0;cursor:pointer}
.primary:active{background:var(--brand-dark)}

/* 商家页 */
.merchant{padding:0 0 16px}
.abouts{background:#fff;margin:8px 14px;border-radius:8px;padding:14px}
.abouts .ah{font-size:15px;font-weight:700;margin-bottom:6px}
.abouts p{font-size:13px;color:#444;line-height:1.7}
.services{margin:8px 14px}
.services .sh{font-size:15px;font-weight:700;margin:10px 2px 8px}
.sgrid{background:#fff;border-radius:8px;padding:12px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px 4px}
.sgrid .s{text-align:center;font-size:11px;color:var(--text)}
.sgrid .s .ic{font-size:22px;display:block;margin-bottom:4px}
.staffline{display:flex;align-items:center;gap:10px;background:#fff;margin:0 14px 10px;border-radius:8px;padding:12px}
.staffline .av{width:40px;height:40px;border-radius:50%;background:#eef;display:flex;align-items:center;justify-content:center}
.staffline .av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.staffline .nm{font-weight:700;font-size:14px}
.staffline .st{font-size:11px;color:var(--muted);margin-top:2px}
.staffline .ct{margin-left:auto;display:flex;gap:8px}

/* 登录/注册 —— 居中卡片 */
.auth{min-height:100vh;background:var(--bg);display:flex;flex-direction:column;justify-content:center;padding:30px 20px}
.authcard{background:#fff;border-radius:14px;padding:28px 24px;box-shadow:0 2px 14px rgba(0,0,0,.06)}
.alogo{width:48px;height:48px;border-radius:11px;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:19px;margin:0 auto 12px}
.atitle{text-align:center;font-size:18px;font-weight:800;color:var(--text)}
.asub{text-align:center;font-size:12px;color:var(--muted);margin:4px 0 22px}
.auth .fiel .lbl{font-size:13px}
.auth .primary{margin:12px 0 0;border-radius:12px}
.aswitch{text-align:center;font-size:13px;color:var(--muted);margin-top:18px}
.aswitch a{color:var(--brand);font-weight:700}
.aback{text-align:center;font-size:12px;color:var(--muted);margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}
.aback a{color:var(--muted)}

/* 我的 */
.profile .pcard{padding:22px 16px;background:linear-gradient(135deg,#d0202b,#e5394a);color:#fff}
.profile .pcard .ph{font-size:20px;font-weight:800}
.profile .pcard .acc{font-size:12px;opacity:.9;margin-top:4px}
.profile .pcard .admin{color:#ffe082;font-size:12px;margin-top:8px;font-weight:600}
.secgap{padding:6px 0 0}
.listcard{background:#fff;margin:8px 0}
.listcard .lh{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border)}
.listcard .lh .t{font-weight:700;font-size:15px}
.listcard .items{padding:14px}
.litem{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border)}
.litem:last-child{border-bottom:0}
.litem .l{min-width:0}
.litem .l .a{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.litem .l .b{font-size:11.5px;color:var(--muted);margin-top:2px}
.litem .r{text-align:right;flex:none}
.litem .r .p{color:var(--brand);font-weight:800;font-size:14px}
.litem .r .tag{font-size:10px;color:#fff;background:var(--muted);padding:1px 6px;border-radius:8px}

/* 弹窗mask + 询底价 */
.mask{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:80;display:none;align-items:flex-end;justify-content:center}
.mask.show{display:flex}
.sheet{width:100%;max-width:480px;background:#fff;border-radius:16px 16px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}
.sheet .sh{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:700}
.sheet .sh .x{font-size:22px;color:var(--muted)}
.sheet .carline{display:flex;align-items:center;gap:10px;background:var(--light);border-radius:8px;padding:8px;margin:12px 0}
.sheet .carline img{width:72px;height:52px;border-radius:6px;object-fit:cover}
.sheet .carline .t{font-size:13px;font-weight:600}
.sheet .carline .m{font-size:11px;color:var(--muted)}
.sheet .fiel{margin:10px 0}
.sheet .fiel .lbl{font-size:12px;color:var(--muted);margin-bottom:5px}
.sheet .fiel input{width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;font-size:14px;outline:none}
.sheet .fiel input:focus{border-color:var(--brand)}
.sheet .gen{display:flex;gap:18px;align-items:center;font-size:13px}
.sheet .gen label{display:flex;align-items:center;gap:4px;color:var(--text)}
.sheet .gt{font-size:12px;color:var(--muted);margin-bottom:5px}
.sheet textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;font-size:13px;outline:none;min-height:52px;resize:none;background:var(--light)}
.sheet .sheet-btn{margin-top:14px;padding:12px;background:var(--brand);color:#fff;text-align:center;border-radius:22px;font-size:15px;font-weight:700}
.sheet .tip{font-size:11px;color:var(--muted);text-align:center;margin-top:8px}

/* 杂项 */
.link{color:var(--brand)}
.muted{color:var(--muted)}
.btn-ghost{background:#fff;color:var(--brand);border:1px solid var(--brand);border-radius:20px;padding:8px 0;font-size:14px;font-weight:600;text-align:center}
.hr{height:8px;background:var(--bg)}
.golink{display:block;padding:12px 14px;background:#fff;border-bottom:1px solid var(--border);font-size:14px;color:var(--text)}
.golink .r{float:right;color:var(--muted)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:90px;z-index:99;background:rgba(0,0,0,.8);color:#fff;
  font-size:13px;padding:10px 16px;border-radius:20px;opacity:0;transition:opacity .2s;pointer-events:none}
.toast.show{opacity:1}
.floatwork{position:fixed;right:14px;bottom:120px;z-index:70;background:#2F5496;color:#fff;border-radius:20px;
  padding:7px 12px;font-size:12px;box-shadow:0 2px 8px rgba(0,0,0,.2)}

/* 筛选 */
.filterform{background:#fff}
.fgroup{padding:14px 14px 6px;border-bottom:1px solid var(--border)}
.fgroup-h{font-size:14px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.fgroup-h .cur{margin-left:auto;font-size:12px;color:var(--muted);font-weight:400}
.chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px}
.chips.grow3{grid-template-columns:repeat(3,1fr)}
.chips.grow4{grid-template-columns:repeat(2,1fr)}
.chip{padding:10px 4px;background:var(--light);border-radius:6px;font-size:13px;color:var(--text);text-align:center}
.chip.on{background:var(--brand);color:#fff}

/* 商家页（与移动端卡片风一致） */
.merchant{padding:0 0 16px}
.merchant .banner{text-align:center;font-size:54px;padding:24px 0 6px}
.merchant .h{font-size:15px;font-weight:700;margin:16px 16px 8px;display:flex;align-items:center;gap:6px}
.merchant .h:before{content:"";width:4px;height:14px;background:var(--brand);border-radius:2px}
.abouts{background:#fff;margin:0 14px;border-radius:8px;padding:15px}
.abouts .h{font-size:15px;font-weight:700;margin-bottom:6px;display:flex;align-items:center;gap:6px}
.abouts .h:before{content:"";width:4px;height:14px;background:var(--brand);border-radius:2px}
.abouts p{font-size:13px;color:#444;line-height:1.75;margin-top:8px}
.sgrid{background:#fff;border-radius:8px;padding:14px 12px;margin:0 14px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.sgrid .s{text-align:center;font-size:12px;color:var(--text);background:var(--light);border-radius:8px;padding:14px 6px}
.sgrid .s .ic{font-size:24px;display:block;margin-bottom:6px}
.sgrid .s .nm{font-weight:700;font-size:13px}
.sgrid .s .txt{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.4}
.staffline{display:flex;align-items:center;gap:12px;background:#fff;margin:0 14px 10px;border-radius:8px;padding:13px}
.staffline .ic{width:38px;height:38px;border-radius:50%;background:#fdeef0;display:flex;align-items:center;justify-content:center;font-size:18px;flex:none}
.staffline .nm{font-weight:700;font-size:14px}
.staffline .txt{font-size:12px;color:var(--muted);margin-top:2px}
.merchant .primary{margin:16px 14px 0;width:calc(100% - 28px)}

/* 我的 */
.quit{display:block;text-align:center;color:var(--brand);margin:26px 0;font-size:14px}
