/*
  Hafenmeister: Tablet-Oberfläche
  ================================

  Aussehen und Anordnung für alle Geräte stehen in oberflaeche.css. Hier nur, was das Tablet
  anders braucht: größere Tippflächen und Schrift, Linkshänder-Spiegelung.

  Abgrenzung (siehe base.css):
    Handy   (max-width: 599px), (max-height: 499px)              -> ui-phone.css
    Tablet  ab 600 px Breite und 500 px Höhe, wenn der Zeiger grob
            ist ODER die Breite unter 1024 px liegt                -> diese Datei
    PC      (min-width: 1024px) and (pointer: fine)               -> ui-pc.css

  body.hand-links: Zeit rechts, Bauen links (Linkshänder).
*/

@media (min-width: 600px) and (min-height: 500px) and (pointer: coarse),
       (min-width: 600px) and (max-width: 1023px) and (min-height: 500px) {
  :root {
    --hm-knopf: 56px;
    --hm-tempo: 52px;
    --hm-chip: 46px;
    --hm-bauen: 68px;
    --hm-schrift: 16px;
    --hm-rand: 16px;
    --hm-karte-breite: 410px;
  }
  html, body.hm { overscroll-behavior: none; }
  .hm {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
  .hm-neu .hm-zeile { min-height: 54px; }
  .hm-neu #card .hud-btn { min-height: 54px; }
  .hm-neu .hm-himmel { min-width: 90px; }

  /* Linkshänder: Bauen links, Zeit rechts */
  .hm-neu.hand-links #hm-zeit { grid-column: 3; justify-self: end; }
  .hm-neu.hand-links #btn-build { grid-column: 1; justify-self: start; }

  /* Große Tablets (iPad Pro 12,9 Zoll und größer) */
  @media (min-width: 1024px) and (min-height: 1024px) {
    :root { --hm-px: 3px; --hm-knopf: 64px; --hm-tempo: 58px; --hm-bauen: 78px; --hm-schrift: 18px; --hm-karte-breite: 460px; --hm-symbol: 30px; }
  }
}
