/* Boost Remaps v1.2.38 — Tuning Database shell-only width/background refinement.
   Scope: /tuning-database only. The VRM iframe, lookup logic, resize logic and data UI are untouched. */

/* Remove the decorative outer ruby/grid canvas around the database card so the
   section blends cleanly into the page background. Keep the card itself intact. */
body.wb-route-tuning-database .wbtd-section{
  background:#06090f!important;
  background-image:none!important;
  border-top:0!important;
}
body.wb-route-tuning-database .wbtd-section::before{
  content:none!important;
  display:none!important;
  background:none!important;
  opacity:0!important;
}

/* Desktop/tablet: use the available screen width more effectively. This gives
   the embedded VRM/results UI substantially more horizontal room without
   changing its own styling or behaviour. */
@media (min-width:721px){
  body.wb-route-tuning-database .wbtd-section{
    padding:30px 16px 60px!important;
  }
  body.wb-route-tuning-database .wbtd-wrap{
    width:min(1460px,calc(100% - 16px))!important;
    max-width:1460px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.wb-route-tuning-database .wbtd-tool{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}

/* Mobile already uses the v1.2.36 near-edge-to-edge VRM treatment. Preserve it
   exactly; only remove the redundant decorative section canvas. */
@media (max-width:720px){
  body.wb-route-tuning-database .wbtd-section{
    background:#06090f!important;
    background-image:none!important;
  }
}
