/* UNIRANKS mobile header fixes (MOB-01, 2026-11-26) - loaded by html/ur_mobile.php after ur-chrome.css */

/* the site has one (light) look; browsers must not force a dark version */
:root { color-scheme: only light; }

/* real white logo file: no colour filter (Samsung dark mode turned the filtered logo black) */
body.ur-chrome :is(#sp-logo, .ur-sticky-logo) img.ur-logo-white { filter: none; }

/* phone and tablet: same logo size and menu button as /ranking */
@media (max-width: 991.98px) {
  body.ur-chrome #sp-logo :is(.logo-image, .logo-image-phone) {
    width: 200px;
    height: auto;
    max-width: calc(100vw - 100px);
  }
  body.ur-chrome #sp-logo .logo { line-height: 0; }
  body.ur-chrome #sp-logo > .sp-column { min-height: 80px; }
  body.ur-chrome #offcanvas-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 44px;
    height: 38px !important;
    margin: 0 !important; /* the template adds 20px on the right, which pushed the button off the edge line */
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 4px;
    background: transparent;
    font-size: 20px;
  }

  /* content row sat 15px past both screen edges (no container around it); keep it exactly screen-wide */
  body.ur-chrome #sp-main-body > .row { margin-left: 0; margin-right: 0; }
  body.ur-chrome #sp-main-body > .row > #sp-component { padding-left: 0; padding-right: 0; }
  /* page-builder images never wider than the screen */
  body.ur-chrome #sp-main-body :is(.sppb-addon-single-image-container, .sppb-img-responsive) { max-width: 100%; }
  body.ur-chrome #sp-main-body .sppb-img-responsive { height: auto; }
}
