/* ============================================================
   responsive.css —— SINO AUTO 全站统一响应式覆盖
   ① 布局全宽（去掉 1240px 上限与左右留白，改为随屏宽收缩的内边距）
   ② 卡片数量随屏宽自适应；手机端固定「一行两张」
   ③ 手机端卡片内部尺寸统一（字号/内边距/图片比例），避免大小不一
   ④ 导航栏在平板/手机下一致化
   加载顺序在页面内联样式之后，关键规则用 !important 保证覆盖生效。
   ============================================================ */

/* ---------- ① 全宽布局 ---------- */
html,body{width:100%;max-width:100%}
/* ★ 用 clip 而不是 hidden：overflow-x:hidden 会创建滚动容器，
   从而**破坏 header 的 position:sticky**（顶栏下拉被带走）。
   clip 不创建滚动容器 → 既不横向滚动，也不影响 sticky。 */
html,body{overflow-x:clip}
/* 栅格列必须用 minmax(0,1fr)：否则轮播 track 等宽内容的 min-content 会把列撑爆
   （只在原有的单栏断点内改写，不动桌面端多栏布局） */
.hero-inner>*,.hero-reco,.reco-card,.nw-viewport,.nw-track,.nw-slide,.hero-fleet,.fleet,
.inv-layout>*,.inv-flex,#cars,.inv-main,.nc-grid>*,.cars>*{min-width:0}
@media (max-width:1024px){
  .hero-inner{grid-template-columns:minmax(0,1fr) !important}
  .price-grid,.quote-in,.newband-in{grid-template-columns:minmax(0,1fr) !important}
}
.wrap{
  max-width:100% !important;
  padding-left:clamp(14px,3vw,28px) !important;
  padding-right:clamp(14px,3vw,28px) !important;
}
header .wrap{
  padding-left:clamp(12px,2.4vw,20px) !important;
  padding-right:clamp(12px,2.4vw,20px) !important;
}

/* ---------- ② 卡片数量随屏宽 ---------- */
/* 大屏（>1240）：沿用各页原始列数（5~6 列），只放宽容器 */
@media (max-width:1240px){
  .cars,#cars{grid-template-columns:repeat(4,1fr) !important}
}
@media (max-width:1024px){
  .cars,#cars{grid-template-columns:repeat(3,1fr) !important}
}
@media (max-width:860px){
  .cars,#cars,.nc-grid,.dest-grid,.rev-grid,.svc-grid,.brandrow{grid-template-columns:repeat(2,1fr) !important}
}
/* 手机：车源列表 → 竖排「左图右信息」列表卡片；
   其它内容型栅格（服务/目的地/评价/品牌/首页展示位）仍保持两列 */
@media (max-width:680px){
  .wrap{
    padding-left:clamp(12px,3.4vw,18px) !important;
    padding-right:clamp(12px,3.4vw,18px) !important;
  }
  .cars,#cars,.nc-grid{grid-template-columns:1fr !important;gap:10px !important}
  .dest-grid,.rev-grid,.svc-grid,.brandrow,.nm-grid,.fleet{grid-template-columns:repeat(2,1fr) !important}
}
@media (max-width:400px){
  .dest-grid,.rev-grid,.svc-grid,.fleet{grid-template-columns:repeat(2,1fr) !important}
}

/* ---------- ③ 手机端车源列表卡片：左图右信息（瓜子/懂车帝式） ---------- */
@media (max-width:680px){
  /* 纯白背景 */
  body,#inventory,.inv-main,.cars,#cars,.nc-grid{background:#fff !important}

  /* 卡片骨架：图片列 112px + 信息列 */
  .car,.nc-card{
    /* ★ 不能加 !important：筛选脚本用内联 display:none 隐藏卡片，
       !important 会把它顶掉 → 手机端筛选失效（卡片全都还在）。 */
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:10px;
    align-items:start;
    position:relative;
    padding:10px;
    border:1px solid #EDF1F6;
    border-radius:12px;
    background:#fff;
    box-shadow:none !important;
    overflow:visible;
  }
  .car:hover,.nc-card:hover{transform:none !important;box-shadow:none !important}

  /* 左侧实拍图 */
  .car-media,.nc-media{
    width:112px !important;height:86px !important;
    aspect-ratio:auto !important;
    border-radius:9px;overflow:hidden;
    background:#F3F6FA !important;
  }
  .car-media .car-photo,.car-media .ph,.car-media .ph svg,
  .nc-media .carfig{width:100% !important;height:100% !important;object-fit:cover;transform:none !important}
  .car-media .tag,.car-media .photo-n,.nc-media .nc-badge{display:none !important}

  /* ★ 车卡图片上的「新车 / 二手车」标签：手机端也要显示（用户要求），
     但只留这一枚 —— 图片只有 ~106px 高，Inspected/能源 那几枚会盖住车。 */
  .car-media .tag{display:flex !important;top:6px;left:6px;gap:4px}
  .car-media .tag .tag-pill:not(.tag-new):not(.tag-used){display:none !important}
  .car-media .tag .tag-new,.car-media .tag .tag-used{
    padding:3px 7px;border-radius:5px;font-size:10px;letter-spacing:0;backdrop-filter:none}
  [dir="rtl"] .car-media .tag{left:auto;right:6px}


  /* 右侧信息栏 */
  .car-body,.nc-body{padding:0 !important;min-width:0;display:flex;flex-direction:column}
  .car-title,.nc-body h3{
    font-size:14px !important;font-weight:700;line-height:1.33;
    max-height:2.66em;overflow:hidden;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  .car-sub,.nc-brand,.nc-type{display:none !important}

  /* 一行小字：制造年份 | 公里数 | SINO 官方车源 */
  .m-meta{font-size:11px;line-height:1.4;color:#8A97A6;margin-top:4px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-meta i{font-style:normal;color:#C9D2DC;margin:0 4px}

  /* 灰色标签行 */
  .m-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
  .m-badge{font-size:10px;line-height:1;padding:3px 6px;border-radius:4px;
    background:#F4F6F9;color:#5A6B7D;border:1px solid #E9EDF2;white-space:nowrap}

  /* 大号橙色加粗 FOB 售价 */
  .car-foot,.nc-foot{margin-top:auto;padding-top:8px !important;border-top:0 !important;display:block}
  .price-row{margin:0 !important;display:block !important}
  .price,.nc-price{font-size:18px !important;font-weight:800 !important;color:#FF6A2B !important;letter-spacing:-.02em;line-height:1.15}
  .price small,.nc-price small{display:inline !important;font-size:10px !important;color:#9AA7B5 !important;font-weight:700;margin:0 0 0 5px}
  .nc-price span{font-size:10.5px !important;color:#9AA7B5 !important;font-weight:700 !important}
  /* 去掉购物车/详情按钮与次要信息（新车卡的按钮类是 .nc-q） */
  .price-note,.car-specs,.car-actions,.nc-specs,.nc-q,.nc-card .nc-cta,.nc-card .btn{display:none !important}

  /* 卡片右上角空心爱心 */
  .fav{position:absolute !important;top:7px !important;right:7px !important;left:auto !important;
    width:26px !important;height:26px !important;background:transparent !important;
    box-shadow:none !important;border:0 !important;border-radius:0 !important}
  .fav .ic{width:20px !important;height:20px !important;stroke-width:1.7;color:#BDC7D2}
  .fav.on .ic{color:#FF6A2B;fill:#FF6A2B}

  /* 首页 hero 展示位小卡维持紧凑 */
  .fcar .fph{height:auto;aspect-ratio:4/3}
  .fcar .fname{font-size:11px}
  .dest-card,.rev-card,.svc-card,.pcard{padding:14px !important}
}

/* ---------- ③b 手机端工具条/筛选行换行（避免横向溢出） ---------- */
@media (max-width:680px){
  .sr-main{min-width:0}
  .sr-top,.filters,.fbar,.toolbar,.filter-row{flex-wrap:wrap !important;gap:8px !important}
  .sr-sort{width:100%;justify-content:space-between}
  .sr-sort select{flex:1;min-width:0}
  .tabs{flex-wrap:wrap !important;gap:6px !important}
  .tab{padding:7px 14px !important;font-size:12.5px !important}
  .fsel{min-width:0}
  .fsel select{width:100%;max-width:100%}
}

/* ---------- ⑤ Model 选择器：内部独立滚动区 ----------
   车型多的品牌（BYD 有 80+ 个车型）会让选项区很长，撑高抽屉/浮层。
   这里把选项区做成**限高的二级滚动区**：内部滚动浏览全部车型，
   品牌标题吸顶，滚动到底不带动外层页面。 */
.mp-fly{
  overscroll-behavior:contain;      /* 滚到边界不冒泡到外层列表/页面 */
  -webkit-overflow-scrolling:touch; /* iOS 惯性滚动 */
  scrollbar-width:thin;
  scrollbar-color:#C9D6E3 transparent;
}
.mp-fly::-webkit-scrollbar{width:8px;height:8px}
.mp-fly::-webkit-scrollbar-track{background:transparent;border-radius:99px}
.mp-fly::-webkit-scrollbar-thumb{background:#D6E0EA;border-radius:99px}
.mp-fly::-webkit-scrollbar-thumb:hover{background:#BCCBDB}
/* 品牌标题在滚动区内吸顶：必须是**整行白底**，
   否则只有文字块有背景，车型按钮会从旁边/下方透出来叠在标题上（截图反馈过）。 */
.mp-fly .mp-brand>.mp-head{
  position:sticky;top:0;z-index:3;
  display:flex;align-items:center;gap:8px;
  background:#fff;                    /* 整行铺满，遮住下面滚上来的按钮 */
  margin:0 0 8px;
  padding:6px 2px 7px;
  border-bottom:1px solid #F1F5F9;
}
.mp-fly .mp-brand>.mp-head>b{font-size:13.5px;font-weight:800;color:var(--navy-800,#0A2A4A)}
.mp-fly .mp-brand>.mp-head>.fmg-n{font-size:11.5px;font-weight:700;color:#93A3B4}

/* 手机端（抽屉内联）：限高成二级滚动区，并给一个轻微的内嵌边框 */
@media (max-width:1024px){
  #drawerBody .mp-fly,
  .filter-drawer .mp-fly{
    max-height:min(46vh,360px) !important;   /* 覆盖旧的 max-height:none */
    overflow-y:auto !important;
    overflow-x:hidden;
    margin-top:6px;
    padding:0 2px 4px !important;
    border-top:1px solid #EDF1F6 !important; /* 与上方「Model」标题分隔，读作内层滚动区 */
    background:#fff !important;
    box-shadow:inset 0 -12px 14px -14px rgba(10,42,74,.28);
    border-radius:0 0 10px 10px;
  }
  /* 抽屉里的选项按钮略放大，方便手指点击 */
  #drawerBody .mp-chip,
  .filter-drawer .mp-chip{padding:7px 11px;font-size:12.5px}
}
/* 桌面浮层：本身已有 max-height，这里只统一内边距与滚动手感 */
@media (min-width:1025px){
  .mp-fly{max-height:min(62vh,470px);padding:4px 6px 6px}
}

/* ---------- ⑥ 站内聊天：手机端全屏 + 「会话 ⇄ 列表」两视图 ----------
   原来窄屏下 .sc-side（Messages 列表）是 78% 宽的**常驻浮层**，一直盖住会话区。
   现在：手机端聊天占满全屏；列表与会话是两个整屏视图（列表滑入、选中会话即返回，
   会话头有列表按钮、列表头有返回键）。 */
#sinoChat .sc-listbtn,
#sinoChat .sc-side-back{display:none}   /* 桌面不显示这两个移动端按钮 */

@media (max-width:860px){
  /* ① 全屏（覆盖 JS 注入的 82vh 底部抽屉） */
  #sinoChat{
    inset:0 !important;
    right:0 !important; bottom:0 !important; left:0 !important; top:0 !important;
    width:100% !important; max-width:none !important;
    height:100dvh !important; max-height:none !important;
    border-radius:0 !important;
  }
  #sinoChat .sc-wrap{height:100%}

  /* ② 会话列表 = 整屏视图，从左侧滑入（默认移出屏外） */
  #sinoChat .sc-side{
    position:absolute !important;
    top:0 !important; right:auto !important; bottom:0 !important; left:0 !important;
    width:100% !important; max-width:none !important;
    border-left:0 !important;
    box-shadow:none !important;
    z-index:7;
    transform:translateX(-102%);
    transition:transform .24s cubic-bezier(.2,.7,.3,1);
    will-change:transform;
  }
  #sinoChat.sc-showlist .sc-side{transform:none}
  #sinoChat.sc-showlist .sc-main{visibility:hidden}   /* 列表整屏时不让底层内容被读到 */

  /* ③ 头部/列表头：安全区 + 移动端按钮 */
  #sinoChat .sc-head{padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px !important;gap:10px !important}
  #sinoChat .sc-side-head{padding:calc(env(safe-area-inset-top,0px) + 14px) 14px 10px !important;gap:10px !important}
  #sinoChat .sc-side-head b{flex:1;text-align:left}
  #sinoChat .sc-listbtn,
  #sinoChat .sc-side-back{
    display:grid !important;place-items:center;
    width:38px;height:38px;flex:none;padding:0;
    border:0;border-radius:11px;background:#f1f5f9;color:#334155;cursor:pointer;
  }
  #sinoChat .sc-listbtn svg,
  #sinoChat .sc-side-back svg{width:19px;height:19px;display:block}
  #sinoChat .sc-av{width:36px !important;height:36px !important;font-size:14px !important}
  #sinoChat .sc-who b{font-size:15px !important}

  /* ④ 消息区：可读性与触控 */
  #sinoChat .sc-msg{max-width:88% !important}
  #sinoChat .sc-bubble{font-size:14.5px !important;line-height:1.5}
  #sinoChat .sc-media,#sinoChat .sc-vidwrap{width:100% !important;max-width:100% !important}
  #sinoChat .sc-media-box{max-width:100% !important}
  #sinoChat .sc-tool{width:40px !important;height:40px !important}
  #sinoChat .sc-close,#sinoChat .sc-min,#sinoChat .sc-support{width:36px !important;height:36px !important}

  /* ⑤ 输入区：手机端改成两段式（工具行 + 输入行），避免输入框被按钮挤成一条缝 */
  #sinoChat .sc-row{flex-wrap:wrap !important;gap:8px !important}
  #sinoChat .sc-row .sc-tools{order:1;flex:0 0 auto}
  #sinoChat .sc-row #scSendBtn{order:2;margin-left:auto}
  #sinoChat .sc-row textarea{order:3;flex:1 1 100% !important;min-height:44px}

  /* 输入区贴底 + 底部安全区（iPhone 横条） */
  #sinoChat .sc-input{padding:8px 12px calc(env(safe-area-inset-bottom,0px) + 10px) !important}
  /* 高度不要加 !important：组件会按内容自动增高（内联 style.height），加了就顶掉 */
  #sinoChat .sc-input textarea{height:42px;font-size:15px !important}
  #sinoChat .sc-list{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 8px) !important}

  /* ⑥ 打开聊天时：隐藏右下悬浮按钮 + 锁背景滚动 */
  body.sc-open #fabChat,body.sc-open .ca-fab,body.sc-open .wa{display:none !important}
  body.sc-open{overflow:hidden !important}
}

/* ---------- ⑦ 型号暂无现车 → 询价引导（空状态里的 CTA） ----------
   型号列表保留完整出口目录；选了无现车的型号时，不摆空列表，
   而是在空状态下方给「暂无现车 · 发起询价」入口（保留 B2B 询价链路）。 */
.nr-cta{
  margin:16px auto 4px;
  max-width:540px;
  padding:15px 16px;
  border:1px dashed #CBD9E8;
  border-radius:12px;
  background:#F8FBFF;
  display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;
}
.nr-cta[hidden]{display:none !important}
.nr-cta-t{font-size:13.5px;color:#5A6B7D;font-weight:600;line-height:1.55}
.nr-cta-t b{color:var(--navy-800,#0A2A4A);font-weight:800}
.nr-cta .btn{min-height:44px;padding:0 18px}
@media (max-width:680px){
  .nr-cta{margin-top:14px;padding:13px 12px;gap:10px;border-radius:11px}
  .nr-cta-t{font-size:12.8px}
  .nr-cta .btn{width:100%}
}

/* ---------- ⑧ 手机端排版收敛 + 信任条单行播报 ----------
   手机屏幕窄，h1/h2/lede 沿用桌面 clamp 的**最小值**还是偏大（26px 标题、16.5px 正文），
   这里统一收一档；信任条从「两列换行网格」改成**一行横向播报条**（可左右滑动查看全部）。 */
@media (max-width:680px){
  /* 字号收敛 */
  .h1{font-size:25px !important;line-height:1.18;letter-spacing:-.02em}
  .h2{font-size:16.5px !important;line-height:1.28;letter-spacing:-.012em}
  .h3{font-size:16px !important;line-height:1.38}
  .lede,.hero .lede{font-size:12.3px !important;line-height:1.58 !important}
  .eyebrow{font-size:9.5px !important;letter-spacing:.13em}
  .sec-head{max-width:none}
  .sec-head .h2{margin:8px 0 8px !important}
  section{padding:44px 0}
  .btn-lg{height:46px !important;font-size:13.5px !important;padding:0 16px !important}
  .btn-sm{font-size:12px !important}

  /* 库存区上方留白：.inv-sec 原本 padding-top:60px，手机上空一大片 */
  #inventory,.inv-sec{padding-top:16px !important}

  /* ★ 首页 #inventory 头部重排：
     第一行 = 眉标(左) + 小号「New cars」按钮(右)；第二行标题；第三行导语。 */
  #inventory .sec-head-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px 12px;align-items:center;margin-bottom:14px;
  }
  #inventory .sec-head{display:contents}            /* 让子元素直接参与上面的网格 */
  #inventory .sec-head .eyebrow{
    grid-column:1;grid-row:1;justify-self:start;align-self:center;
    font-size:10.5px;padding:5px 10px;
  }
  #inventory .btn-newcars{
    grid-column:2;grid-row:1;justify-self:end;align-self:center;
    margin:0 !important;height:34px !important;padding:0 12px !important;
    font-size:12px !important;gap:5px !important;
  }
  #inventory .btn-newcars::after{font-size:13px}
  #inventory .sec-head .h2{
    grid-column:1 / -1;grid-row:2;
    font-size:21px !important;line-height:1.22;letter-spacing:-.01em;margin:0;
  }
  #inventory .sec-head .lede{
    grid-column:1 / -1;grid-row:3;
    font-size:12.8px !important;line-height:1.58;color:#7C8FA3;margin:0;
  }

  /* ===== 上半部分控件统一节奏：高度一律 40px，字号统一 11–13px ===== */
  /* ① 「New cars」按钮 + 计数块（两颗等高、同圆角，不再一高一矮） */
  .btn-newcars{
    height:40px !important;font-size:12.5px !important;padding:0 13px !important;
    gap:6px !important;margin-right:8px !important;border-radius:10px !important;
    white-space:nowrap !important;   /* 标签不折成「New cars / (LHD/RHD)」两截 */
  }
  .btn-newcars svg{width:13px !important;height:13px !important}
  .count{
    height:40px !important;
    font-size:11px !important;
    padding:0 12px !important;
    gap:6px !important;
    line-height:1.25 !important;
    border-radius:10px !important;
    align-items:center !important;
  }
  .count::before{width:6px !important;height:6px !important;box-shadow:0 0 0 2px rgba(37,99,235,.14) !important}

  /* ② 搜索框 / More Filters / Sort：同高同字号 */
  .car-search{height:40px !important;border-radius:10px !important}
  .car-search input{font-size:13px !important;height:38px !important}
  .car-search input::placeholder{font-size:13px !important}
  .mf-btn{height:40px !important;font-size:12.5px !important;border-radius:10px !important}
  .sr-sort{font-size:12.5px !important}
  .sr-sort select{height:40px !important;font-size:12.5px !important;border-radius:10px !important}

  /* ③ 去掉重复的「Showing N of N vehicles」：上面的计数块已经显示同样信息 */
  #result{display:none !important}

  /* ④ 工具行之间的垂直节奏统一到 10px */
  .inv-toolbar{gap:8px !important}
  .inv-toolbar > *{margin:0 !important}
  .crumbs{padding-top:10px !important;font-size:12px !important}

  /* 信任条 → 一行，从左向右，可横向滑动 */
  .trust{padding:9px 0;border-top:1px solid #EDF2F8;border-bottom:1px solid #EDF2F8;background:#fff}
  .trust .wrap{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow:hidden;                 /* 由 .trust-track 自动平移，不再需要手动横滑 */
    mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
  }
  /* 自动播报轨道：内容复制一份，平移到 -50% 正好接上（无缝） */
  .trust .trust-track{
    display:flex;
    align-items:center;
    gap:20px;
    width:max-content;
    flex:none;
    padding-left:14px;
    animation:trust-ticker 28s linear infinite;
    will-change:transform;
  }
  .trust .wrap:active .trust-track,
  .trust .wrap:hover .trust-track{animation-play-state:paused}
  @keyframes trust-ticker{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
  }
  @media (prefers-reduced-motion:reduce){
    .trust .trust-track{animation:none}
  }
  .trust-item{
    flex:0 0 auto !important;
    font-size:10.8px !important;
    line-height:1.3 !important;
    gap:6px !important;
    white-space:nowrap;
    color:#54687E;
  }
  .trust-item .ic{width:14px !important;height:14px !important;flex:none}
}

/* ---------- ⑨ 手机端车辆详情页（listing.html）整体重排 ----------
   原来的问题：标题 23px 过大、meta 三行零散、分享/收藏两颗大按钮各占半屏、
   区块间距 30px+，而**价格卡（.dt-side .buybox）排在 5000px 之后**基本没人看到。
   重排：头部压缩成清晰层级 → 价格卡提到最前 → 详情区块统一 16px 节奏。 */
@media (max-width:680px){
  /* ① 面包屑 + 库存号：压成一行小字 */
  .crumbs .wrap{padding-top:9px !important;padding-bottom:9px !important;row-gap:6px !important}
  .crumbs{font-size:11.5px !important}
  .crumbs .crumb-item + .crumb-item::before{margin:0 6px !important}
  .crumb-stock{font-size:10px !important;padding:2px 8px !important;border-radius:999px !important;line-height:1.6 !important}

  /* ② 头部：标题 / 副标题 / 参数 / 浏览量 —— 统一小字层级 */
  .dt-head{gap:0 !important;display:block !important;padding-bottom:12px !important}
  .dt-badges{gap:5px !important;margin-bottom:8px !important}
  .dt-badges > *{font-size:10px !important;padding:3px 8px !important;border-radius:6px !important}
  .h1-dt{font-size:19px !important;line-height:1.24 !important;letter-spacing:-.02em !important}
  .dt-sub{font-size:12.3px !important;margin-top:5px !important;line-height:1.5 !important}
  .dt-meta{
    display:grid !important;grid-template-columns:1fr 1fr !important;
    gap:6px 10px !important;margin-top:10px !important;
  }
  .dt-meta li{font-size:11.5px !important;gap:5px !important;min-width:0;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dt-meta li svg{width:12px !important;height:12px !important;flex:none}
  .dt-views{font-size:11px !important;margin-top:7px !important;gap:5px !important}
  .dt-views svg{width:12px !important;height:12px !important}

  /* ③ 分享/收藏：两颗等宽小按钮，不再各占半屏 */
  .dt-acts{
    display:grid !important;grid-template-columns:1fr 1fr !important;
    gap:8px !important;width:100% !important;margin-top:11px !important;
  }
  .dt-acts .ic-btn{height:36px !important;font-size:11.5px !important;justify-content:center !important;
    border-radius:9px !important;padding:0 8px !important;gap:5px !important}
  .dt-acts .ic-btn svg{width:13px !important;height:13px !important}

  /* ④ ★ 价格卡的位置由 mobile-cards.js 做 DOM 插入（放到图集之后）
        —— 这里只保证它是整宽、且与上下块保持 16px 节奏 */
  .dt-grid{gap:0 !important}
  .dt-side{width:100% !important;margin:0 0 16px !important}
  .dt-side .buybox{position:static !important;top:auto !important}

  /* ⑤ 正文区块：统一 16px 节奏、小一号标题 */
  .blk{padding:16px 0 !important}
  footer{padding-top:26px !important}
  .blk-h{font-size:15px !important;margin-bottom:8px !important;letter-spacing:-.01em !important}
  .blk-lede{font-size:12.3px !important;line-height:1.6 !important}
  .blk-note{font-size:10.5px !important;line-height:1.55 !important}
  .gallery{margin-bottom:14px !important}
  .gallery .g-main{border-radius:10px !important}
  .g-thumbs{gap:6px !important}
  .g-thumbs > *{border-radius:7px !important}

  /* ⑥ 参数表：更紧凑、字号统一 */
  .glance{font-size:12px !important}
  .glance > *{padding:8px 10px !important}
  .spec-grid{gap:10px 12px !important}
  .cost{font-size:12.5px !important}

  /* ⑪ 图集：手机端不要放大镜（悬浮放大在触屏上会变成一个白方块），改全屏查看器 */
  .g-zoom{display:none !important}
  .g-main{cursor:zoom-in}

  /* ⑫ 首页热销榜单：手机端「展开 / 收起」——收起露 4 行 + 渐隐，展开看完整榜单 */
  .hotrank{position:relative !important;top:auto !important;bottom:auto !important;max-height:none !important;padding-right:0 !important}
  .hotrank .hotrank-title{padding-right:40px}
  .hotrank-toggle{
    position:absolute;top:9px;right:9px;z-index:2;
    width:30px;height:30px;border-radius:9px;cursor:pointer;padding:0;
    display:none;place-items:center;   /* 桌面不显示；≤680 恢复为 grid（见下） */
    border:1px solid #DCE6F1;background:#fff;color:#4A5F76;
    transition:color .18s,border-color .18s;
  }
  .hotrank-toggle svg{width:15px;height:15px;display:block;transition:transform .24s}
  .hotrank-toggle:hover{border-color:var(--blue-600,#1668D6);color:var(--blue-600,#1668D6)}
  @media (max-width:680px){
    .hotrank-toggle{display:grid}
    .hotrank.no-more .hotrank-toggle{display:none}
    /* ★ 默认完全折叠：列表高度 0，只留标题行；点按钮再展开完整榜单 */
    .hotrank .hotrank-list{
      overflow:hidden !important;
      max-height:0 !important;
      opacity:0;
      scrollbar-width:none;
      transition:max-height .28s ease,opacity .2s ease;
    }
    .hotrank .hotrank-list::-webkit-scrollbar{width:0;height:0}
    /* 点击后弹「二级框」，列表本身保持折叠 */
    .hotrank.expanded .hotrank-toggle svg{transform:rotate(180deg)}
    /* 折叠态加一个轻提示条，让人知道这里能展开（纯图形，不涉及多语言） */
    .hotrank:not(.expanded) .hotrank-title::after{
      content:"";
      display:inline-block;width:6px;height:6px;margin-left:6px;
      border-right:1.6px solid #FF6A2B;border-bottom:1.6px solid #FF6A2B;
      transform:rotate(45deg) translateY(-2px);opacity:.9;
    }
    .hotrank.expanded .hotrank-title::after{display:none}
  }

  /* ⑮ 首页 hero 的「Get a quote」横条：手机端去掉（上方搜索卡里已有「找车」按钮，重复） */
  .hero-cta{display:none !important}

  /* ⑰ 首页「本周精选」：一行两个，超过可视宽度左右滑动查看 */
  .fleet{
    display:grid !important;
    grid-auto-flow:column !important;              /* 一行排到底，超出就往右开新列 */
    grid-template-rows:repeat(1,auto) !important;
    grid-template-columns:none !important;
    grid-auto-columns:calc(50% - 4px) !important;  /* 一屏正好两个 */
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    padding-bottom:2px;
    /* 右缘渐隐，提示还能往右滑 */
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent);
  }
  .fleet::-webkit-scrollbar{width:0;height:0}
  .fleet > *{scroll-snap-align:start;min-width:0}

  /* ⑧ 详情页 FAQ：「常见问题」的问答字号与行距（原来 summary 16.5px 比区块标题还大） */
  .faq{margin-top:18px !important}
  .faq summary{font-size:12.5px !important;padding:13px 30px 13px 0 !important;line-height:1.45 !important}
  .faq summary::after{top:50% !important;right:10px !important;width:9px !important;height:9px !important;
    border-width:1.6px !important;transform:translateY(-50%) rotate(45deg) !important}
  .faq details[open] summary::after{top:50% !important;transform:translateY(-50%) rotate(-135deg) !important}
  .faq .ans{font-size:11.8px !important;line-height:1.65 !important;padding:0 10px 14px 0 !important;margin-top:0 !important}

  /* ⑨ 分享/收藏：挪到图片右上角悬浮（图标按钮），省掉一整行 */
  .g-main{position:relative}
  .dt-main .gallery{position:relative}
  .dt-acts{
    position:absolute !important;top:10px !important;right:10px !important;
    display:flex !important;gap:6px !important;width:auto !important;
    margin:0 !important;z-index:5 !important;
  }
  .dt-acts .ic-btn{
    width:34px !important;height:34px !important;padding:0 !important;
    font-size:0 !important;                       /* 隐藏文字，只留图标 */
    justify-content:center !important;border-radius:9px !important;
    background:rgba(255,255,255,.95) !important;border:1px solid rgba(10,42,74,.08) !important;
    box-shadow:0 2px 8px rgba(10,42,74,.18) !important;color:#0A2A4A !important;
  }
  .dt-acts .ic-btn svg{width:16px !important;height:16px !important;margin:0 !important}

  /* ⑩ 页脚：整体缩一档（原来 13.5px + 34px 间距，手机上一整屏都在页脚） */
  .foot-grid{grid-template-columns:1fr 1fr !important;gap:18px 16px !important}
  .foot-brand{grid-column:1 / -1 !important}
  .foot-brand p{font-size:11.5px !important;line-height:1.65 !important;max-width:none !important}
  .foot-brand .logo{margin-bottom:10px !important}
  .foot-logo-img{width:32px !important}
  .foot-grid h4{font-size:10px !important;letter-spacing:.11em !important;margin-bottom:7px !important}
  .foot-grid ul{display:grid !important;gap:6px !important}
  .foot-grid li a{font-size:11.5px !important;line-height:1.45 !important}
  .foot-badges{gap:5px !important;margin-top:10px !important}
  .foot-badges span{font-size:9.5px !important;padding:3px 7px !important}
  .foot-bottom{margin-top:20px !important;padding:13px 0 !important;font-size:10.5px !important;gap:10px !important}
  .foot-bottom .links{gap:12px !important}
  .foot-pay{font-size:9.5px !important;gap:5px !important}
  /* ⑦ 卖点/检测清单 */
  .insp-findings{gap:8px !important}
  .insp-findings li{font-size:12px !important;line-height:1.55 !important}
}


/* ---------- ⑩ 全屏图片查看器（手机端）----------
   桌面点是「悬浮放大镜」；触屏上一按就触发，观感像图中间浮起一个白块。
   手机端改成整屏黑底查看器：左右滑动 / 左右箭头翻页、右上角计数、点 × 或下滑关闭。 */
.m-viewer{
  position:fixed;inset:0;z-index:10050;background:rgba(6,16,28,.97);
  display:none;align-items:center;justify-content:center;
  touch-action:pan-y;
}
.m-viewer.on{display:flex}
body.mv-open{overflow:hidden !important}
body.mv-open #fabChat,body.mv-open .ca-fab{display:none !important}
.m-viewer .mv-img{max-width:100%;max-height:100%;object-fit:contain;
  user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.mv-bar{
  position:absolute;top:calc(env(safe-area-inset-top,0px) + 10px);left:0;right:0;
  display:flex;align-items:center;justify-content:space-between;padding:0 14px;z-index:2;
}
.mv-count{color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;
  background:rgba(255,255,255,.14);padding:5px 10px;border-radius:999px}
.mv-x{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.16);
  color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer}
.mv-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(255,255,255,.16);color:#fff;font-size:26px;line-height:1;
  display:grid;place-items:center;z-index:2;cursor:pointer;
}
.mv-prev{left:10px}
.mv-next{right:10px}
.m-viewer.single .mv-nav{display:none}

/* ---------- ④ 导航栏适配 ---------- */
@media (max-width:1240px){
  .nav-links{gap:16px !important}
}
@media (max-width:1024px){
  .nav{height:62px !important;gap:10px}
  .nav-logo-img{max-height:30px}
}
@media (max-width:680px){
  .nav{height:58px !important;gap:8px}
  .nav-logo-img{max-height:26px}
  .nav-right{gap:6px}
  .nav-icon{width:32px !important;height:32px !important}
  .nav-right .btn{height:36px !important;padding:0 11px !important;font-size:12px !important}
  .burger{width:38px !important;height:38px !important}
  .mnav-panel{width:88vw !important;max-width:340px}
  .mnav-head{padding:13px 15px !important}
}

/* 首页榜单「展开」按钮：默认全局隐藏，仅手机端（≤680）显示 */
.hotrank-toggle{display:none}
@media (max-width:680px){
  .hotrank-toggle{display:grid}
  .hotrank.no-more .hotrank-toggle{display:none}
}

/* ---------- ⑬ 榜单「二级框」（手机端点折叠按钮弹出） ---------- */
.hr-modal{
  position:fixed;inset:0;z-index:9500;display:none;
  align-items:flex-end;justify-content:center;
  background:rgba(8,18,30,.52);
}
.hr-modal.on{display:flex}
body.hr-open{overflow:hidden !important}
.hr-modal-box{
  position:relative;width:100%;max-width:560px;background:#fff;
  border-radius:18px 18px 0 0;
  padding:18px 16px calc(env(safe-area-inset-bottom,0px) + 16px);
  max-height:82vh;overflow:auto;
  animation:hrSheet .26s cubic-bezier(.2,.7,.3,1);
}
@keyframes hrSheet{from{transform:translateY(26px);opacity:.5}to{transform:none;opacity:1}}
.hr-modal-x{
  position:absolute;top:10px;right:10px;z-index:2;
  width:32px;height:32px;border:0;border-radius:50%;cursor:pointer;
  background:#f1f5f9;color:#334155;font-size:20px;line-height:1;
  display:grid;place-items:center;
}
.hr-modal-head{padding-right:44px;margin-bottom:10px}
.hr-modal-head .hotrank-title{font-size:15.5px;padding-right:0}
.hr-modal-head .hotrank-note{margin-top:3px}
.hr-modal-list{list-style:none;margin:0;padding:0}
.hr-modal-list li{border-top:1px dashed #D5E2F0}
.hr-modal-list li:first-child{border-top:0}
.hr-modal-list a{
  display:flex;align-items:center;gap:10px;padding:11px 2px;
  text-decoration:none;color:inherit;font-size:13.5px;font-weight:600;
}
.hr-modal-list a:hover{color:var(--blue-600,#1668D6)}
.hr-modal-list i{font-style:normal;font-weight:800;color:#FF6A2B;font-size:11px;min-width:36px}

/* ---------- ⑭ 手机端底部导航条（5 段）+ RFQ 圆钮 ----------
   只在 ≤860px 生效（脚本会加 body.mtb-on）。桌面端完全不改变。 */
.mtb,.mtb-sheet,.rfq-fab{display:none}

@media (max-width:860px){
  body.mtb-on{padding-bottom:calc(58px + env(safe-area-inset-bottom,0px))}

  /* 底部导航条 */
  body.mtb-on .mtb{
    display:grid;grid-template-columns:repeat(5,1fr);
    position:fixed;left:0;right:0;bottom:0;z-index:95;
    background:rgba(255,255,255,.985);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border-top:1px solid #E2E9F2;
    padding:6px 2px calc(env(safe-area-inset-bottom,0px) + 5px);
    box-shadow:0 -6px 22px rgba(10,42,74,.07);
  }
  .mtb-i{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    border:0;background:none;padding:4px 0 3px;min-width:0;
    color:#7B8C9E;font:inherit;font-size:10.5px;font-weight:700;
    text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;
  }
  .mtb-i svg{
    width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.85;
    stroke-linecap:round;stroke-linejoin:round;display:block;
  }
  .mtb-i span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}
  .mtb-i.on,.mtb-i.on-sub{color:#FF6A2B}

  /* 二级目录弹层 */
  body.mtb-on .mtb-sheet{
    position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom,0px));
    z-index:94;display:none;padding:0 10px;
  }
  body.mtb-on .mtb-sheet.on{display:block}
  .mtb-sheet-in{
    background:#fff;border:1px solid #E2E9F2;border-radius:14px;
    box-shadow:0 16px 44px rgba(10,42,74,.20);
    padding:7px;display:grid;gap:1px;
    animation:mtbUp .2s cubic-bezier(.2,.7,.3,1);
  }
  @keyframes mtbUp{from{transform:translateY(10px);opacity:.55}to{transform:none;opacity:1}}
  .mtb-sheet-in a,.mtb-sheet-in .mtb-soon{
    display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:10px;
    color:#20364B;font-size:13.5px;font-weight:700;text-decoration:none;
  }
  .mtb-sheet-in a:active{background:#F3F8FD}
  .mtb-sheet-in svg{width:19px;height:19px;fill:none;stroke:#5C7086;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;flex:none}
  .mtb-sheet-in .mtb-soon{color:#9AABBC;font-weight:600}
  .mtb-sheet-in .mtb-go{margin-left:auto;font-style:normal;font-size:18px;color:#C3D1DE;line-height:1}
  .mtb-sheet-in .tag{
    margin-left:auto;font-style:normal;font-size:9.5px;font-weight:800;
    color:#8A9DB2;background:#F1F5F9;padding:2px 7px;border-radius:999px;
  }

  /* RFQ 圆钮：叠在聊天气泡上方（仅买方，由脚本插入） */
  body.mtb-on .rfq-fab{
    display:grid;place-items:center;
    position:fixed;right:22px;
    bottom:calc(58px + env(safe-area-inset-bottom,0px) + 20px + 56px + 10px);
    z-index:92;width:52px;height:52px;border-radius:50%;text-decoration:none;
    background:linear-gradient(145deg,#FF8646,#FF5A17);
    box-shadow:0 8px 22px rgba(255,90,23,.40);
  }
  body.mtb-on .rfq-fab svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.9;
    stroke-linecap:round;stroke-linejoin:round}
  body.mtb-on .rfq-fab:active{transform:scale(.96)}

  /* 聊天气泡 / 悬浮客服上移到导航条之上 */
  body.mtb-on #fabChat,body.mtb-on .ca-fab,body.mtb-on .wa{
    bottom:calc(58px + env(safe-area-inset-bottom,0px) + 20px) !important;
  }

  /* ★★ 置顶箭头必须让开聊天球：页面里 #toTop 写死 bottom:92px、right:22px、44px，
     而聊天球是 bottom:78px、right:22px、56px → 两者几乎同心，箭头整个埋进橙色球里（用户截图）。
     这里把箭头抬到聊天球正上方，留 18px 呼吸。 */
  body.mtb-on #toTop{
    bottom:calc(58px + env(safe-area-inset-bottom,0px) + 20px + 56px + 18px) !important;
  }
  /* 已登录买方还多一枚 RFQ 圆钮（叠在聊天球上方）→ 箭头再抬一层，避免又撞上。
     ★ 用 body.has-rfq（脚本维护）而不是 :has()，老浏览器同样生效 */
  body.mtb-on.has-rfq #toTop{
    bottom:calc(58px + env(safe-area-inset-bottom,0px) + 20px + 56px + 10px + 52px + 14px) !important;
  }
  [dir="rtl"] body.mtb-on .rfq-fab{right:auto;left:22px}

  /* 全屏层打开时收起导航与按钮 */
  body.sc-open .mtb,body.sc-open .mtb-sheet,body.sc-open .rfq-fab{display:none !important}
  body.mv-open .mtb,body.mv-open .mtb-sheet,body.mv-open .rfq-fab{display:none !important}
  body.hr-open .mtb,body.hr-open .mtb-sheet{display:none !important}
}

/* ==========================================================================
   RFQ 圆钮 · 桌面端（≥861px）
   原来 .rfq-fab 只在手机媒体块里 display:grid，桌面被页面头部的
   `.mtb,.mtb-sheet,.rfq-fab{display:none}` 一直压着 → 电脑端登录买方看不到入口。
   位置：聊天球 24~80px → RFQ 90~142px → 置顶箭头 154~198px。
   ========================================================================== */
@media (min-width:861px){
  .rfq-fab{
    display:grid !important;place-items:center;
    position:fixed;right:22px;bottom:calc(24px + 56px + 10px);
    z-index:92;width:52px;height:52px;border-radius:50%;text-decoration:none;
    background:linear-gradient(145deg,#FF8646,#FF5A17);
    box-shadow:0 8px 22px rgba(255,90,23,.40);
    transition:transform .18s ease,box-shadow .18s ease;
  }
  .rfq-fab svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.9;
    stroke-linecap:round;stroke-linejoin:round}
  .rfq-fab:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(255,90,23,.48)}
  .rfq-fab:active{transform:scale(.96)}
  [dir="rtl"] .rfq-fab{right:auto;left:22px}
  /* 聊天面板全屏展开时收起（和手机端一致），避免盖在面板上 */
  body.sc-open .rfq-fab{display:none !important}
  /* 有 RFQ 钮时置顶箭头上移：90+52=142 顶边，箭头留 12px 呼吸 */
  body.has-rfq #toTop{bottom:calc(24px + 56px + 10px + 52px + 12px) !important}
}

/* ==========================================================================
   ⑱ 只去掉「首页 / vehicles 页」那一条旧筛选条（车身类型 · 燃料 · 预算 · 年款 + 排序）
   ★ 注意：新车（newcars）、二手车（usedcars）页的筛选面板 **必须保留**
     —— 之前误把 #filterSide / #ncFilterSide / More Filters / 抽屉 / chips 全站隐藏，
     还压掉了桌面 270px 的筛选列，已全部回滚，不要再加回来。
   ========================================================================== */
.filters,.fbar{display:none !important}

/* ---------- ⑲ 车辆分类标签栏（首页，分类切换） ----------
   横向可滑动；每个标签是**加粗文字 + 淡色胶囊底**，选中项橙色淡底 + 橙字。 */
.catbar{margin:0 0 14px}
.catbar-in{
  display:flex;align-items:center;gap:8px;
  overflow-x:auto;overflow-y:hidden;
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  scrollbar-width:none;
  padding:2px 2px 4px;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
  mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
}
.catbar-in::-webkit-scrollbar{width:0;height:0}
.catbar-i{
  flex:0 0 auto;position:relative;
  border:1px solid #E7EEF6;background:#F4F8FC;
  padding:7px 14px;border-radius:999px;
  font:inherit;font-size:13px;font-weight:800;letter-spacing:-.005em;color:#3D5468;
  white-space:nowrap;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.catbar-i:hover{background:#EBF3FB;border-color:#D9E7F5}
.catbar-i.on{
  color:#E8521A;font-weight:800;
  background:rgba(255,106,43,.10);
  border-color:rgba(255,106,43,.30);
}
@media (min-width:681px){
  .catbar-i{font-size:13.5px;padding:8px 16px}
  .catbar-in{gap:9px}
}
@media (max-width:680px){
  .catbar-i{font-size:12.5px;padding:6px 12px}
  .catbar-in{gap:7px}
}

/* ---------- ㉑ 仅首页：手机端两列竖版卡（替代左图右信息长条卡） ----------
   范围用 #inventory 限定 → usedcars/newcars 页不受影响。
   放在文件末尾：同特异性 + 更晚生效，才能压过上面 112px 的 !important。 */
@media (max-width:680px){
  .home-inv #cars{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .home-inv #cars .car{
    grid-template-columns:minmax(0,1fr) !important;   /* 卡内改单列：图上、文下 */
    gap:0 !important;padding:8px 8px 10px;border-radius:14px;
  }
  .home-inv #cars .car-media{
    width:100% !important;height:auto !important;
    aspect-ratio:3/2 !important;border-radius:10px;margin:0 0 8px;
  }
  .home-inv #cars .car-title{font-size:12.6px !important;line-height:1.3 !important}
  .home-inv #cars .m-meta{
    font-size:10px !important;margin-top:3px !important;
    white-space:normal !important;overflow:visible !important;text-overflow:clip !important;
  }
  .home-inv #cars .m-badges{gap:3px !important;margin-top:5px !important}
  .home-inv #cars .m-badge{font-size:9px !important;padding:2px 5px !important}
  .home-inv #cars .price{font-size:15px !important}
}

/* ---------- ㉒ 商家店铺页（shop.html）手机端重排 ----------
   ① 车辆卡 = 与二手车/新车页一致的「左图右信息」列表卡（112px + 1fr）
   ② 筛选面板 = 与二手车/新车页一致的抽屉（More Filters 触发条 + 左侧滑出 + 遮罩）
   ③ 照片/视频/证书 = 横向滑动条：一屏两列、方形、scroll-snap
   ④ 团队 = coverflow 翻卡（中间最大、两侧 3D 旋转立起、可滑动/点侧卡） */
@media (max-width:680px){
  /* —— hero 紧凑 —— */
  header#hero .hero-in{padding:22px 0 18px}
  header#hero h1{font-size:19px;gap:10px}
  header#hero .av{width:44px;height:44px;border-radius:11px;font-size:17px}
  #shopLede{font-size:11.5px;margin-top:6px}
  #hero .chips{gap:6px;margin-top:10px}
  #hero .chips .chip{font-size:10.5px;padding:3px 9px}
  header#hero .hero-in h1{display:flex;align-items:center;gap:10px}
  header#hero .hero-in h1 .follow-btn{
    margin:0 !important;height:28px !important;padding:0 11px !important;
    font-size:11px !important;gap:5px !important;border-width:1px !important;border-radius:999px !important;
  }
  header#hero .hero-in h1 .follow-btn svg{width:13px !important;height:13px !important}
  .follow-btn,.chatnow{margin-top:12px;height:36px;font-size:12.5px;padding:0 13px}

  /* —— Showroom 标题 + More Filters 触发条 —— */
  /* —— 手机端工具行：搜索框 + [Filters·n] + [Sort] —— */
  #showroom .shop-q{width:100%;height:42px;border:1px solid var(--line);border-radius:10px;
    padding:0 14px;font-size:13px;background:#fff;margin-bottom:10px}
  #showroom .shop-q::placeholder{color:#9AAABB}
  #showroom .m-tools{display:flex;gap:10px;margin-bottom:10px}
  #showroom .m-tools .fp-bar{flex:1;height:42px;margin:0}
  #showroom .m-tools .sr-sort-sel{height:42px;border:1px solid var(--line);border-radius:10px;
    background:#fff;padding:0 10px;font-size:13px;font-weight:700;color:var(--navy);flex:none}
  #showroom .sr-top{display:none}

  #showroom .sec-h{display:flex;align-items:baseline;gap:8px}
  #showroom .sec-h h2{font-size:19px}
  #showroom .sec-h .en{font-size:10px}
  #showroom .fp-bar{
    display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;margin-bottom:10px;
    border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;
    font-weight:800;color:var(--navy);-webkit-tap-highlight-color:transparent;
  }
  #showroom .fp-bar .ic{width:15px;height:15px;stroke:var(--blue);fill:none;stroke-width:2}
  #showroom .fp-bar .fp-cnt{margin-left:auto;font-size:11px;color:#8A97A6;font-weight:700}

  /* —— 筛选面板 = 抽屉 —— */
  #showroom .sr-grid{display:block}
  #showroom .filter-panel{
    position:fixed !important;left:0;top:0;bottom:0;width:min(320px,86vw);margin:0 !important;
    border-radius:0 16px 16px 0;transform:translateX(-105%);
    transition:transform .3s cubic-bezier(.2,.7,.3,1);
    z-index:130;max-height:none;overflow-y:auto;padding:14px;
  }
  #showroom .filter-panel.open{transform:none}
  .fp-backdrop{position:fixed;inset:0;background:rgba(8,18,30,.52);z-index:129;display:none}
  .fp-backdrop.on{display:block}

  /* —— 车辆卡：左图右信息列表卡 —— */
  #carArea .cars{grid-template-columns:1fr !important;gap:10px !important}
  #carArea .car{
    display:grid !important;grid-template-columns:112px minmax(0,1fr) !important;
    gap:10px;align-items:start;padding:10px;border-radius:12px;
  }
  #carArea .car-media{width:112px !important;height:86px !important;aspect-ratio:auto !important;border-radius:9px;margin:0}
  #carArea .car-title{font-size:13px !important;line-height:1.3}
  #carArea .car-sub{font-size:10.5px;line-height:1.4;overflow:hidden;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  #carArea .price{font-size:15px}
  #carArea .price small{font-size:10px}
  #carArea .price-note{font-size:10px}
  #carArea .car-actions{display:none !important}   /* Details 按钮隐藏，整卡可点 */
}

/* —— 照片 / 视频 / 证书：横向滑动，一屏两列方形 —— */
@media (max-width:680px){
  #photos .grid,#videos .grid,#certs .grid{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-template-columns:none !important;
    grid-template-rows:repeat(2,auto) !important;
    grid-auto-columns:calc(50% - 5px) !important;
    gap:10px !important;
    overflow-x:auto !important;overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scrollbar-width:none;
    padding:2px 2px 6px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
  }
  #photos .grid::-webkit-scrollbar,#videos .grid::-webkit-scrollbar,#certs .grid::-webkit-scrollbar{width:0;height:0}
  #photos .slot,#videos .slot,#certs .slot{aspect-ratio:1/1 !important;scroll-snap-align:start}
}

/* —— 团队：coverflow 翻卡（透视 + 深度） —— */
@media (max-width:680px){
  #team .cards.team{
    display:block !important;position:relative;height:330px;
    perspective:1100px;margin-top:10px;overflow:visible;
  }
  #team .card{
    position:absolute;left:50%;top:50%;width:min(300px,84vw);height:auto;
    transform-origin:center;border-radius:16px;background:#fff;border:1px solid #E3EBF4;
    box-shadow:0 18px 40px rgba(10,42,74,.12);
    display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;
    padding:24px 18px 20px;
    transition:transform .6s cubic-bezier(.18,.9,.24,1.04),opacity .45s ease,filter .4s ease;
    will-change:transform,opacity;cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  #team .card .face{width:74px;height:74px;border-radius:50%;font-size:26px;font-weight:800;flex:none;
    display:grid;place-items:center;background:var(--blue-050,#EAF2FD);color:var(--navy);overflow:hidden}
  #team .card .face img{width:100%;height:100%;object-fit:cover}
  #team .card b{font-size:15px;color:var(--ink,#0A1B2E)}
  #team .card>div>span{display:block;font-size:12px;color:#8A9DB2;margin-top:4px;line-height:1.5}
  #team .card.is-front{transform:translate(-50%,-50%);opacity:1;z-index:5;filter:none}
  #team .card.is-front .face{box-shadow:0 0 0 3px rgba(255,106,43,.25)}
  #team .card.is-right{transform:translate(-50%,-50%) perspective(900px) translateX(46%) rotateY(-34deg) scale(.88);
    opacity:.55;z-index:3;filter:brightness(.92)}
  #team .card.is-left{transform:translate(-50%,-50%) perspective(900px) translateX(-46%) rotateY(34deg) scale(.88);
    opacity:.55;z-index:3;filter:brightness(.92)}
  #team .card.is-hide{transform:translate(-50%,-50%) perspective(900px) translateZ(-260px) scale(.8);
    opacity:0;z-index:1;pointer-events:none}
  #teamDots{display:flex;align-items:center;justify-content:center;gap:7px;height:14px;margin-top:6px}
  #teamDots i{width:6px;height:6px;border-radius:50%;background:#C7D6E6;transition:.25s;cursor:pointer}
  #teamDots i.on{width:18px;border-radius:999px;background:var(--orange,#FF6A2B)}
}
@media (prefers-reduced-motion:reduce){
  #team .card{transition:opacity .2s}
}

/* More Filters 触发条：仅手机端显示（桌面保持原侧栏） */
.fp-bar{display:none}
@media (max-width:680px){
  .fp-bar{display:flex}
}

/* ---------- ㉓ 店铺页：公司实力一排方形横滑；视频/证书单排 ---------- */
@media (max-width:680px){
  #strength .cards{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-template-columns:none !important;
    grid-template-rows:repeat(1,auto) !important;
    grid-auto-columns:calc(42% - 5px) !important;
    gap:9px !important;
    overflow-x:auto !important;overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scrollbar-width:none;
    padding:2px 2px 6px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
  }
  #strength .cards::-webkit-scrollbar{width:0;height:0}
  #strength .card{
    aspect-ratio:1/1 !important;
    display:flex !important;flex-direction:column;justify-content:center;
    scroll-snap-align:start;padding:12px;border-radius:12px;
  }
  #strength .card .no{font-size:17px;margin-bottom:8px}
  #strength .card b{font-size:12px;line-height:1.4;margin:0}
  /* 视频 / 证书：单排方形 */
  #videos .grid,#certs .grid{grid-template-rows:repeat(1,auto) !important}
}
/* —— 店铺页桌面：搜索框在卡片上方，隐藏手机端工具行（桌面用原 .sr-top 排序） —— */
@media (min-width:681px){
  #showroom .shop-q{display:block;width:100%;max-width:560px;height:44px;
    border:1px solid var(--line);border-radius:10px;padding:0 16px;font-size:14px;
    background:#fff;margin:14px 0 18px;outline:none}
  #showroom .shop-q:focus{border-color:var(--blue)}
  #showroom .m-tools{display:none}
}
/* —— 店铺页桌面/平板（≥681）：竖版标准卡（与电脑端一致）+ meta/标签（与手机端同信息） ——
   卡片布局交给 shop 自身规则（4 列 ≥921 / 2 列 681-920）；此处只补 meta/标签的桌面样式。 */
@media (min-width:681px){
  #carArea .m-slot{margin-top:8px}
  #carArea .m-meta{font-size:12.5px;line-height:1.4;color:#8A97A6;margin-top:5px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #carArea .m-meta i{font-style:normal;color:#C9D2DC;margin:0 6px}
  #carArea .m-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
  #carArea .m-badge{font-size:11px;line-height:1;padding:3px 8px;border-radius:6px;
    background:#F4F6F9;color:#5A6B7D;border:1px solid #E9EDF2;white-space:nowrap}
}

/* —— 店铺页：标准卡部件（fav / wish-btn / car-actions），与主站同款 —— */
header#hero .fav{position:absolute;z-index:4;top:9px;right:9px;width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.92);border:0;display:grid;place-items:center;color:#33475E;cursor:pointer}
header#hero .fav svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
header#hero .fav.on{color:var(--orange)}
#carArea .car-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
#carArea .car-actions a{display:grid;place-items:center;height:38px;border-radius:9px;
  font-size:13px;font-weight:700;text-decoration:none}
#carArea .car-actions a:first-child{border:1px solid var(--line);color:var(--navy);background:#fff}
#carArea .car-actions a:first-child:hover{border-color:var(--blue);color:var(--blue)}
#carArea .btn-navy{background:var(--navy-800,#0A2A4A);color:#fff;border:0;cursor:pointer}
#carArea .btn-navy:hover{background:var(--navy-700,#123A63)}
#carArea .btn-navy.on,#carArea .btn-navy.on:hover{background:#FFF7ED !important;border-color:#FDBA74 !important;color:#C2410C !important}
#carArea .btn-navy .ic{width:15px;height:15px;margin-inline-end:7px;vertical-align:-2px}
#carArea .btn-navy.on .ic{fill:currentColor}
@media (max-width:680px){
  #carArea .car-actions{grid-template-columns:1fr}
  #carArea .car-actions a{height:36px}
}

/* ---------- ㉔ 列表分页栏（二手车 / 新车共用，list-pager.js） ---------- */
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;
  margin:20px 0 6px;padding:4px 0}
.pg-btn{height:38px;padding:0 14px;border:1px solid var(--line,#E3EBF4);border-radius:10px;
  background:#fff;color:var(--navy);font:600 13px/1 inherit;cursor:pointer;transition:.15s}
.pg-btn:hover:not(:disabled){border-color:var(--blue);color:var(--blue)}
.pg-btn:disabled{opacity:.4;cursor:default}
.pg-info{display:flex;align-items:baseline;gap:6px;font-size:13.5px;color:var(--muted)}
.pg-info b{color:var(--navy);font-size:15px;font-weight:800}
.pg-info i{font-style:normal;color:#C3D0DE}
.pg-info em{font-style:normal;color:var(--muted);font-size:12px}
.pg-jump{display:flex;align-items:center;gap:6px}
.pg-jump input{width:58px;height:38px;border:1px solid var(--line);border-radius:10px;
  padding:0 8px;text-align:center;font:600 13px/1 inherit;color:var(--navy);background:#fff;
  -moz-appearance:textfield}
.pg-jump input::-webkit-outer-spin-button,.pg-jump input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pg-go{height:38px;padding:0 13px;border:0;border-radius:10px;background:var(--navy,#0A2A4A);
  color:#fff;font:700 13px/1 inherit;cursor:pointer}
.pg-go:hover{background:var(--blue)}
@media (max-width:680px){
  .pager{gap:8px;margin:16px 0 4px}
  .pg-btn{height:36px;padding:0 12px;font-size:12.5px}
  .pg-jump input{width:52px;height:36px}
  .pg-go{height:36px;padding:0 11px}
  .pg-info em{display:none}   /* 手机上隐藏「页」字，只留 1/5 */
}

/* ---------- ㉕ 车卡图片左下角 SINO 官方 logo 小标（全部车卡统一） ---------- */
.car-media .sino-badge{
  position:absolute;z-index:3;left:6px;bottom:6px;
  width:30px;height:17px;border-radius:4px;
  background:url("img/logo-sino-16x9.png") center/contain no-repeat;
  filter:drop-shadow(0 1px 2px rgba(6,20,36,.12));
  pointer-events:none;opacity:.85;
}
@media (max-width:680px){
  .car-media .sino-badge{width:22px;height:12px;left:4px;bottom:4px;border-radius:3px}
}
/* —— 品牌筛选 logo 图片（有图的用 logo，无图的回退彩色字母块） —— */
.blogo{position:relative;overflow:hidden}
.blogo .brand-logo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;
  background:rgba(255,255,255,.92);border-radius:inherit}
.blogo.has-logo::before{content:none !important}   /* 有 logo 时隐藏字母 */

/* ---------- ㉖ 首页手机端：Buyer stories 横滑 + hero-map 可见 ---------- */
@media (max-width:680px){
  /* Buyer stories：单排横滑，小字号 */
  .rev-grid{
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:calc(78vw - 24px) !important;
    /* ★ 必须清掉显式列：别处有 `.rev-grid{grid-template-columns:repeat(2,1fr)!important}`，
       否则前两张卡被压在 2 列里（204/184px），只有第 3 张起才用 auto-columns。 */
    grid-template-columns:none !important;
    grid-template-rows:repeat(1,auto) !important;
    gap:10px !important;
    overflow-x:auto !important;overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scrollbar-width:none;
    padding:2px 2px 6px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
    mask-image:linear-gradient(90deg,#000 calc(100% - 14px),transparent);
  }
  /* 费用区两个按钮：一排两个、尺寸缩小 */
  .fee-cta{display:grid !important;grid-template-columns:1fr 1fr !important;gap:8px !important;
    margin-top:18px !important;flex-wrap:nowrap !important}
  .fee-cta .btn{width:100% !important;height:36px !important;padding:0 8px !important;
    font-size:11.5px !important;border-radius:9px !important;gap:5px !important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .rev-grid::-webkit-scrollbar{width:0;height:0}
  .rev-grid .rev{scroll-snap-align:start}
  .rev-grid .rev p{font-size:12px !important;line-height:1.55}
  .rev-grid .rev{padding:15px !important}

  /* hero-map 世界地图：手机端可见（缩到屏幕宽度、底部露出） */
  .hero-map{
    width:min(180%,560px) !important;
    right:-30% !important;top:auto !important;bottom:0 !important;
    opacity:.5 !important;
  }
  .hero-glow{width:400px !important;height:400px !important;right:-100px !important;top:-120px !important;opacity:.6 !important}
  .hero-glow2{width:300px !important;height:300px !important;left:-120px !important;bottom:-160px !important;opacity:.5 !important}
}

/* —— 品牌筛选列表滚动性能：content-visibility 跳过视口外项渲染 + contain 隔离 —— */
.fg.fg-brand .bc-list{contain:content}
.fg.fg-brand .brow{content-visibility:auto;contain-intrinsic-size:auto 34px}

/* ==========================================================================
   车源卡片：「新车 / 二手」状态标签
   两页共用（usedcars / newcars 都加载本文件）。颜色与 .tag-new（蓝）/ .tag-ok（绿）
   同一明度体系：新车=蓝、二手=钢灰，避免和「已检测」的绿色混淆。
   文案由 car-badges.js 按 data-status 写入（8 语），不依赖各页词典。
   ========================================================================== */
.tag-pill.tag-used{background:rgba(92,102,112,.92);color:#fff}
.tag-pill[data-status-pill]{letter-spacing:.01em}
