/* v0.16.39 — Mobile Chrome Desktop Site stability patch.
   Isolated to touch devices with wide CSS viewports. Ordinary mobile (<800px)
   and normal desktop (fine pointer) are unchanged. */
@media screen and (pointer:coarse) and (min-width:800px) and (max-width:1280px) {
  body #tg-global-header .tg-brand-row {
    min-height:0!important;
    padding-top:10px!important;padding-bottom:10px!important;
    align-items:center!important;
  }
  /* Keep the logo and search on the same actual row; no phantom ad row. */
  body #tg-global-header .tg-brand-row.tg-no-center-ads {
    grid-template-rows:auto!important;row-gap:0!important;
  }
  body #tg-global-header .tg-brand-row.tg-no-center-ads > .tg-brand,
  body #tg-global-header .tg-brand-row.tg-no-center-ads > .tg-header-tools {
    grid-row:1!important;align-self:center!important;
  }
  /* Mobile Chrome Desktop-site rendering: avoid backdrop/filter repaint artifacts
     over the long footer during browser scroll and compositing. */
  body #tg-global-header {backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
  body #tg-global-footer,
  body #tg-global-footer .tg-footer-main,
  body #tg-global-footer .tg-footer-contact,
  body #tg-global-footer .tg-footer-contact > ul,
  body #tg-global-footer .tg-footer-contact > ul > li {
    filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    will-change:auto!important;contain:none!important;
  }
  body #tg-global-footer .tg-footer-contact > ul > li,
  body #tg-global-footer .tg-footer-contact > ul > li::before,
  body #tg-global-footer .tg-footer-contact > ul > li::after {
    animation:none!important;transition:none!important;
  }
}
/* 800–980px: user-created center ad is absent, no reserved row. */
@media screen and (pointer:coarse) and (min-width:800px) and (max-width:980px) {
  body #tg-global-header .tg-brand-row.tg-no-center-ads {
    grid-template-rows:auto!important;
  }
}
