/* BAOVOO / deepseekbase 移动端适配 2026-11-20 */
@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 15px !important; line-height: 1.65 !important; }
  .wrap, .container, main { max-width: 100% !important; padding-left: 14px !important; padding-right: 14px !important; }
  h1 { font-size: 24px !important; letter-spacing: -.01em !important; margin: 22px 0 8px !important; }
  h2 { font-size: 19px !important; margin: 20px 0 8px !important; }
  h3 { font-size: 17px !important; }
  p, li, td, th { font-size: 14.5px !important; }
  table { display: block !important; width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  pre, code, .code, .cmd { overflow-x: auto !important; max-width: 100% !important; word-break: break-word !important; }
  pre { padding: 12px !important; font-size: 12.5px !important; }
  img, svg, video, iframe { max-width: 100% !important; height: auto !important; }
  .grid, .cards, .cols, .row, .product-grid, .plugin-grid { display: block !important; }
  .grid > *, .cards > *, .cols > * { width: 100% !important; margin-bottom: 12px !important; }
  header nav, .nav, .nav-links { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
  header nav a, .nav a { display: inline-block !important; padding: 6px 2px !important; font-size: 14px !important; }
  .btn, button.btn { display: block !important; width: 100% !important; text-align: center !important; box-sizing: border-box !important; }
  input, select, textarea { width: 100% !important; box-sizing: border-box !important; font-size: 16px !important; }
  .card, .panel, .box { padding: 14px !important; border-radius: 12px !important; }
  footer { font-size: 12.5px !important; }
  [style*="width:"] { max-width: 100% !important; }
}
@media (max-width: 380px) {
  body { font-size: 14.5px !important; }
  h1 { font-size: 22px !important; }
}