@font-face {
  font-family: "Saira Stencil One";
  src: url("../fonts/saira-stencil-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --grund: #d3dac6;
  --grund-tief: #bfc8b0;
  --tinte: #1e2818;
  --tinte-leise: #4d5a43;
  --rahmen: #4a5536;
  --sode: #6c7d4a;
  --sode-licht: #84965c;
  --sode-schatten: #4f5d34;
  --kies: #e4e6dc;
  --kies-druck: #cfd4c2;
  --signal: #e4561a;
  --pflock: #2b2f24;
  --mine: #23271e;
  --falsch: #c42a1c;
  --getroffen: #e0583f;
  --gelb: #e2b32a;
  --band-dunkel: #2b2f24;
  --fokus: #1d4fb8;
  --knopf: rgb(255 255 255 / 0.45);
  --knopf-rand: rgb(30 40 24 / 0.28);
  --knopf-voll: #2f3a24;
  --knopf-voll-text: #f1f4e8;
  --karte: #f3f5ec;
  --schatten: 0 2px 6px rgb(20 28 14 / 0.25), 0 12px 32px rgb(20 28 14 / 0.25);
  --n1: #2152b0;
  --n2: #2b7425;
  --n3: #c4321f;
  --n4: #4d2b91;
  --n5: #8c3a10;
  --n6: #0c706d;
  --n7: #1e2818;
  --n8: #646b5c;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1b2017;
    --grund-tief: #14180f;
    --tinte: #e3e9d6;
    --tinte-leise: #a9b39b;
    --rahmen: #0f120c;
    --sode: #46543a;
    --sode-licht: #56663f;
    --sode-schatten: #333e26;
    --kies: #343b2b;
    --kies-druck: #454e3a;
    --signal: #ff7438;
    --pflock: #e3e9d6;
    --mine: #eef2e4;
    --falsch: #ff6a55;
    --getroffen: #a3301f;
    --gelb: #d6a520;
    --band-dunkel: #0f120c;
    --fokus: #9cc0ff;
    --knopf: rgb(255 255 255 / 0.05);
    --knopf-rand: rgb(227 233 214 / 0.25);
    --knopf-voll: #d6a520;
    --knopf-voll-text: #14180f;
    --karte: #262c20;
    --schatten: 0 2px 6px rgb(0 0 0 / 0.5), 0 12px 32px rgb(0 0 0 / 0.5);
    --n1: #8db3ff;
    --n2: #8fd17d;
    --n3: #ff8b78;
    --n4: #c8a8ff;
    --n5: #f2a865;
    --n6: #6fd6cf;
    --n7: #e3e9d6;
    --n8: #a7ae9b;

    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template:
    "kopf" auto
    "band" auto
    "leiste" auto
    "gelaende" minmax(0, 1fr)
    "werkzeug" auto
    "fuss" auto
    / minmax(0, 1fr);
  background: var(--grund);
  color: var(--tinte);
  font: 500 1rem/1.4 "Barlow", system-ui, sans-serif;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.symbole {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 2px;
}

/* Kopf */

.kopf {
  grid-area: kopf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding: max(0.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.45rem max(1rem, env(safe-area-inset-left));
}

.titel {
  margin: 0;
  font: 400 1.75rem/1 "Saira Stencil One", "Barlow", sans-serif;
  letter-spacing: 0.02em;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.6rem;
  flex-wrap: wrap;
  margin: 0;
}

.zaehler {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 4.2rem;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--band-dunkel);
  color: #f1f4e8;
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.zaehler-symbol {
  width: 1.1rem;
  height: 1.1rem;
  --pflock: #f1f4e8;
}

.bestzeit {
  color: var(--tinte-leise);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.warnband {
  grid-area: band;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--gelb) 0 9px, var(--band-dunkel) 9px 18px);
}

/* Leiste und Knöpfe */

.leiste {
  grid-area: leiste;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem max(1rem, env(safe-area-inset-right)) 0.25rem max(1rem, env(safe-area-inset-left));
}

.knopf {
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
  border: 1px solid var(--knopf-rand);
  border-radius: 8px;
  background: var(--knopf);
  font-weight: 700;
  cursor: pointer;
}

.knopf:hover:not(:disabled) {
  border-color: var(--tinte-leise);
}

.knopf:disabled {
  opacity: 0.45;
  cursor: default;
}

.knopf-voll {
  border-color: transparent;
  background: var(--knopf-voll);
  color: var(--knopf-voll-text);
}

.stufe-knopf {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  line-height: 1.15;
  text-align: left;
}

.stufe-mass {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--tinte-leise);
}

/* Gelände und Feld */

.gelaende {
  grid-area: gelaende;
  position: relative;
  min-height: 0;
  margin: 0.25rem max(0.5rem, env(safe-area-inset-right)) 0 max(0.5rem, env(safe-area-inset-left));
}

.sicht {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.sicht.verschiebbar {
  cursor: grab;
}

.feld {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: repeat(var(--spalten), var(--z));
  grid-auto-rows: var(--z);
  gap: var(--luecke);
  padding: 6px;
  border-radius: 8px;
  background: var(--rahmen);
  box-shadow: 0 1px 2px rgb(20 28 14 / 0.3), 0 3px 8px rgb(20 28 14 / 0.18);
}

.feld[aria-busy] {
  cursor: progress;
}

.reihe {
  display: contents;
}

.zelle {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--z);
  height: var(--z);
  border-radius: calc(var(--z) * 0.14);
  font: 700 calc(var(--z) * 0.66) / 1 "Barlow", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.zelle:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 0;
  z-index: 1;
}

.zu,
.flagge,
.frage {
  background: linear-gradient(var(--sode-licht), var(--sode));
  box-shadow: inset 0 calc(var(--z) * -0.09) 0 var(--sode-schatten), inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.zu.gedrueckt,
.frage.gedrueckt {
  background: var(--kies-druck);
  box-shadow: none;
}

.frage {
  color: #f1f4e8;
}

.offen {
  background: var(--kies);
  cursor: default;
}

.zelle svg {
  width: 72%;
  height: 72%;
}

.flagge svg {
  translate: 0 -4%;
}

.zelle .kreuz {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86%;
  height: 86%;
}

.getroffen {
  background: var(--getroffen);
}

.flagge.falsch {
  background: var(--kies);
  box-shadow: none;
}

.n1 { color: var(--n1); }
.n2 { color: var(--n2); }
.n3 { color: var(--n3); }
.n4 { color: var(--n4); }
.n5 { color: var(--n5); }
.n6 { color: var(--n6); }
.n7 { color: var(--n7); }
.n8 { color: var(--n8); }

.hinweis {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  translate: -50% 0;
  max-width: calc(100% - 1rem);
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  background: var(--karte);
  box-shadow: var(--schatten);
  font-size: 0.9rem;
  text-align: center;
  pointer-events: none;
}

.meldung {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  translate: -50% 0;
  width: min(26rem, calc(100% - 1rem));
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 10px;
  background: var(--karte);
  box-shadow: var(--schatten);
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--gelb) 0 9px, var(--band-dunkel) 9px 18px) 6 0 0 0;
}

.meldung-zu {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tinte-leise);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.meldung h2 {
  margin: 0;
  padding-right: 2.5rem;
  font: 400 1.5rem/1.1 "Saira Stencil One", "Barlow", sans-serif;
}

.meldung p {
  margin: 0.35rem 0 0.8rem;
  color: var(--tinte-leise);
}

.meldung-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meldung-aktionen .knopf {
  flex: 1 1 auto;
}

/* Werkzeug: Modus und Zoom */

.werkzeug {
  grid-area: werkzeug;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem max(1rem, env(safe-area-inset-right)) 0.4rem max(1rem, env(safe-area-inset-left));
}

.modus {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  padding: 3px;
  border-radius: 10px;
  background: var(--grund-tief);
  border: 1px solid var(--knopf-rand);
}

.modus-knopf {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.9rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.modus-knopf svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modus-knopf[aria-checked="true"] {
  background: var(--knopf-voll);
  color: var(--knopf-voll-text);
  --pflock: var(--knopf-voll-text);
}

#modus-flagge[aria-checked="true"] {
  background: var(--signal);
  color: #fff;
  --pflock: #fff;
  --signal: #2b2f24;
}

.zoom {
  display: flex;
  flex: none;
  gap: 0.3rem;
}

.rund {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.rund svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Fußzeile */

.fuss {
  grid-area: fuss;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem max(1rem, env(safe-area-inset-right)) max(0.45rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  font-size: 0.85rem;
  color: var(--tinte-leise);
}

.teilen-ort {
  position: relative;
}

.teilen {
  min-height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.teilen-pop {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.4rem);
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.5rem;
  align-items: center;
  width: min(24rem, calc(100vw - 2rem));
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  background: var(--karte);
  box-shadow: var(--schatten);
  color: var(--tinte);
}

.teilen-pop[hidden] {
  display: none;
}

.teilen-pop label {
  grid-column: 1 / -1;
  font-weight: 700;
}

.teilen-pop input {
  min-width: 0;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid var(--knopf-rand);
  border-radius: 6px;
  background: var(--grund);
  color: var(--tinte);
  font: inherit;
}

/* Dialog */

.wahl,
.anleitung {
  width: min(32rem, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--karte);
  color: var(--tinte);
  box-shadow: var(--schatten);
}

.wahl::backdrop,
.anleitung::backdrop {
  background: rgb(15 20 10 / 0.5);
}

.wahl form {
  padding: 1.1rem 1.2rem 1.2rem;
}

.wahl h2 {
  margin: 0 0 0.75rem;
  font: 400 1.6rem/1.1 "Saira Stencil One", "Barlow", sans-serif;
}

/* Anleitung */

.anleitung {
  overflow: hidden;
}

.anleitung-rahmen {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 1.5rem);
}

.anleitung-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.6rem 0.6rem 1.2rem;
  border-bottom: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--gelb) 0 9px, var(--band-dunkel) 9px 18px) 0 0 6 0;
}

.anleitung-kopf h2 {
  margin: 0;
  font: 400 1.6rem/1.1 "Saira Stencil One", "Barlow", sans-serif;
}

.anleitung-zu {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tinte-leise);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.anleitung-text {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.2rem 1.2rem 1rem;
  font-size: 0.95rem;
}

.anleitung-text:focus {
  outline: none;
}

.anleitung-text h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.05rem;
}

.anleitung-text h4 {
  margin: 0.6rem 0 0.25rem;
  font-size: 0.9rem;
  color: var(--tinte-leise);
}

.anleitung-text p,
.anleitung-text ul {
  margin: 0;
}

.anleitung-text ul {
  padding-left: 1.15rem;
}

.anleitung-text li + li {
  margin-top: 0.25rem;
}

.anleitung-text .tasten {
  margin: 0;
}

.beispiel {
  margin: 0;
}

.beispiel-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.25rem 0 0.4rem;
}

.beispiel-bild svg {
  width: 6.5rem;
  height: auto;
}

.beispiel-bild .beispiel-pfeil {
  width: 1.8rem;
  color: var(--tinte-leise);
}

.beispiel-name {
  fill: #f1f4e8;
  font: 700 14px "Barlow", sans-serif;
  text-anchor: middle;
}

.beispiel-zahl {
  font: 700 20px "Barlow", sans-serif;
  text-anchor: middle;
}

.beispiel figcaption {
  font-size: 0.88rem;
  color: var(--tinte-leise);
}

.anleitung-fuss {
  display: flex;
  justify-content: flex-end;
  padding: 0.7rem 1.2rem max(0.9rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--knopf-rand);
}

.anleitung-fuss .knopf {
  min-width: 9rem;
}

.verweis {
  margin: 0.6rem 0 1rem;
}

.nochmal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nochmal svg {
  display: none;
  width: 1.2rem;
  height: 1.2rem;
}

.hilfe {
  flex: none;
  font-weight: 700;
}

.wahl-gruppe {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}

.wahl-gruppe legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.pillen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.pille {
  position: relative;
}

.pille input {
  position: absolute;
  opacity: 0;
}

.pille span {
  display: flex;
  flex-direction: column;
  min-height: 3rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--knopf-rand);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.pille small {
  font-weight: 500;
  color: var(--tinte-leise);
}

.pille input:checked + span {
  border-color: var(--knopf-voll);
  background: var(--knopf-voll);
  color: var(--knopf-voll-text);
}

.pille input:checked + span small {
  color: inherit;
  opacity: 0.8;
}

.pille input:focus-visible + span {
  outline: 2px solid var(--fokus);
  outline-offset: 2px;
}

.eigen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
}

.eigen.aus {
  opacity: 0.5;
}

.zahl {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.zahl input {
  width: 5.5rem;
  min-height: 2.6rem;
  margin-top: 0.15rem;
  padding: 0 0.5rem;
  border: 1px solid var(--knopf-rand);
  border-radius: 6px;
  background: var(--grund);
  color: var(--tinte);
  font: 700 1.05rem "Barlow", sans-serif;
}

.klein {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--tinte-leise);
}

.schalter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  cursor: pointer;
}

.schalter small {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--tinte-leise);
}

.schalter input {
  flex: none;
  appearance: none;
  position: relative;
  width: 2.9rem;
  height: 1.7rem;
  margin: 0;
  border-radius: 1rem;
  background: var(--grund-tief);
  border: 1px solid var(--knopf-rand);
  cursor: pointer;
}

.schalter input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.7rem - 6px);
  height: calc(1.7rem - 6px);
  border-radius: 50%;
  background: var(--tinte-leise);
  transition: translate 0.15s;
}

.schalter input:checked {
  background: var(--sode);
}

.schalter input:checked::after {
  translate: 1.2rem 0;
  background: #f1f4e8;
}

.tasten {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.8rem;
  margin: 0.8rem 0 1rem;
  font-size: 0.88rem;
}

.tasten dt {
  font-weight: 700;
}

.tasten dd {
  margin: 0;
  color: var(--tinte-leise);
}

kbd {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.3em;
  border: 1px solid var(--knopf-rand);
  border-radius: 4px;
  font: inherit;
  text-align: center;
}

.wahl-aktionen {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0 -1.2rem -1.2rem;
  padding: 0.75rem 1.2rem max(1.2rem, env(safe-area-inset-bottom));
  background: var(--karte);
  border-top: 1px solid var(--knopf-rand);
}

/* Breite Bildschirme: Kopf und Leiste in einer Zeile */

@media (min-width: 52rem) {
  body {
    grid-template:
      "kopf leiste" auto
      "band band" auto
      "gelaende gelaende" minmax(0, 1fr)
      "werkzeug werkzeug" auto
      "fuss fuss" auto
      / auto minmax(0, 1fr);
  }

  .kopf {
    justify-content: flex-start;
    gap: 1.5rem;
    padding-bottom: 0.6rem;
  }

  .leiste {
    align-items: center;
    padding: max(0.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.6rem 0;
  }

  .gelaende {
    margin-top: 0.75rem;
  }

  .werkzeug {
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 72rem) {
  .meldung {
    left: auto;
    right: 1rem;
    top: 1rem;
    bottom: auto;
    translate: none;
    width: 19rem;
  }
}

@media (max-width: 30rem) {
  .bestzeit {
    display: none;
  }

  .leiste .nochmal {
    justify-content: center;
    width: 2.75rem;
    padding-inline: 0;
  }

  .nochmal svg {
    display: block;
  }

  .nochmal-text {
    display: none;
  }

  .leiste .knopf {
    padding-inline: 0.65rem;
    font-size: 0.95rem;
  }

  .werkzeug {
    gap: 0.5rem;
  }

  .modus-knopf {
    padding: 0 0.55rem;
    gap: 0.3rem;
  }

  .rund {
    width: 2.6rem;
  }
}

@media (max-width: 24rem) {
  .titel {
    font-size: 1.45rem;
  }

  .zaehler {
    min-width: 3.4rem;
    font-size: 1.05rem;
  }

  .leiste .knopf {
    padding-inline: 0.5rem;
  }

  .modus-knopf svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schalter input::after {
    transition: none;
  }
}

/* Handy quer: Bedienung rechts neben das Feld, damit das Feld die Höhe behält */

@media (orientation: landscape) and (max-height: 30rem) {
  body {
    grid-template:
      "kopf leiste leiste" auto
      "band band band" auto
      "gelaende gelaende werkzeug" minmax(0, 1fr)
      "fuss fuss fuss" auto
      / auto minmax(0, 1fr) auto;
  }

  .kopf {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-top: max(0.35rem, env(safe-area-inset-top));
    padding-bottom: 0.35rem;
  }

  .titel {
    font-size: 1.35rem;
  }

  .zaehler {
    min-width: 3.4rem;
    font-size: 1rem;
  }

  .leiste {
    align-items: center;
    padding: max(0.35rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.35rem 0;
  }

  .leiste .knopf {
    min-height: 2.5rem;
  }

  .leiste .rund {
    width: 2.5rem;
    height: 2.5rem;
  }

  .stufe-mass {
    display: none;
  }

  .werkzeug {
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem max(0.75rem, env(safe-area-inset-right)) 0.5rem 0.25rem;
  }

  .modus {
    flex-direction: column;
  }

  .fuss {
    padding-top: 0;
    font-size: 0.8rem;
  }

  .bestzeit {
    display: none;
  }
}
