/**
 * Was die Web-Fassung anders macht als der Prototyp.
 *
 * Der Prototyp zeigte ein Handy in einem Rahmen, auf einer Seite mit
 * Erläuterungen daneben. Hier ist die App die ganze Seite: kein Rahmen,
 * keine Ränder, kein Scrollen des Hintergrunds. Auf dem Rechner bleibt sie
 * in einer lesbaren Breite stehen, statt über 27 Zoll zu laufen.
 */

html, body { height: 100%; }
body {
  margin: 0;
  overscroll-behavior-y: none;          /* kein Gummiband über der Liste */
  background: var(--paper);
}

.device {
  max-width: 560px;
  width: 100%;
  height: 100%;
  height: 100dvh;                        /* echte Höhe, ohne Adressleisten-Sprung */
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  min-height: 0;
  background: var(--surface);
}
@media (min-width: 600px) {
  .device {
    border-left: 1px solid var(--hair);
    border-right: 1px solid var(--hair);
  }
}

/* Platz für Home-Balken und Notch, ohne dass die Reiter darunter rutschen. */
.dev-statusbar { padding-top: max(8px, env(safe-area-inset-top)); }
.dev-tabs      { padding-bottom: env(safe-area-inset-bottom); }
.dev-body      { -webkit-overflow-scrolling: touch; }
.fab           { bottom: calc(78px + env(safe-area-inset-bottom)); }

/* ------------------------------------------------------------ Startphase */

.boot {
  padding: 40px 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.boot-fail { color: var(--warn); }
.boot-detail {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--muted);
  display: inline-block;
  margin-top: 8px;
  word-break: break-word;
}

/* --------------------------------------------------------------- Notfall */

#storage-alarm {
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 99;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid var(--warn);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto;
}
