/* =========================================================
   GLOBAL
   ========================================================= */

/* Mobile Text-Inflation ausschalten */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Header: keine Auto-Vergrößerung */
.headie, .headibix, .headibix * {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Kein Clipping im Kopfbereich */
.headie, .headibix, .headsub, .linkback {
  overflow: visible !important;
}

/* =========================================================
   BOARD WIDTH – 1100px centered
   ========================================================= */

@media (max-width: 1400px) {

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    text-align: center;
  }

  #container {
    width: 1100px !important;
    max-width: none !important;
    margin: 0 !important;
    display: inline-block !important;
    text-align: left !important;
    float: none !important;
  }

  .headibix table,
  .statbox table {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
}

/* =========================================================
   PHONE / TABLET FEINTUNING
   ========================================================= */

@media only screen and (max-device-width: 820px) {

  /* leichte Header-Dämpfung */
  .headie a { font-size: 0.95em; }
  .headsub { font-size: 0.95em; }

  .linkback a {
    line-height: 1.2;
    white-space: normal;
  }

  /* Subline auf Phones ausblenden */
  .headsub {
    display: none !important;
  }

  /* horizontales Scrollen verhindern */
  html, body {
    overflow-x: hidden;
  }

  /* =====================================================
     ACCOUNT SWITCHER SIDEBAR
     → MOBIL KOMPLETT AUSBLENDEN
     ===================================================== */

  .as_sidenav {
    display: none !important;
  }

}