/* 上海车粉 · 移动端排版补丁 (2026-11-09)
   只做加法：小屏下放宽间距、加大触控区、长列表改双列，不改桌面版 */
@media (max-width:640px){
  html,body{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
  body{font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
  img,video,canvas,svg{max-width:100%;height:auto}
  .shell{padding-left:14px!important;padding-right:14px!important}
  h1{font-size:clamp(22px,7vw,30px)!important;line-height:1.24!important;letter-spacing:-.01em}
  h2{font-size:clamp(18px,5.4vw,24px)!important;line-height:1.3!important}
  h3{font-size:clamp(16px,4.6vw,20px)!important}
  p,li{word-break:break-word}
  /* 触控目标 */
  .btn,button,input[type=submit],a.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .btn-sm{min-height:38px}
  /* 站点列表：双列，避免 64 站竖排过长 */
  .stops{column-count:2;column-gap:14px}
  .stops .stop,.stops li{break-inside:avoid;margin-bottom:4px;font-size:13.5px}
  /* 数据格两列 */
  .stats,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  /* 影像两列 */
  .photos{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
  /* 主内容单列 */
  .layout{display:block!important}
  /* 方向切换整行 */
  .directions a,.directions .btn{display:block;width:100%;margin:0 0 8px!important}
  /* 头部操作按钮等宽换行 */
  .hero .actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  /* 表单不缩放 */
  input,select,textarea{font-size:16px!important}
  /* 表格可横向滚动 */
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* 底部固定导航留白 */
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  /* 卡片圆角与阴影收敛 */
  .panel,.card{border-radius:14px!important}
}
