:root {
  color-scheme: dark;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: #000;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: clamp(12px, 3vw, 32px) max(12px, env(safe-area-inset-right)) 32px max(12px, env(safe-area-inset-left));
  overflow-x: hidden;
  background-color: #000;
  background-position: center top;
  background-repeat: repeat;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

body > .auto-style5 {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

/* Kopfbereich: vorhandene Inhalte bleiben erhalten, nur die Breite wird flexibel. */
.auto-style5 > dl > div > center > table:first-of-type {
  width: min(100%, 420px) !important;
  margin-inline: auto;
}

.device-links {
  width: min(100%, 420px);
  margin: 8px auto 22px;
  border-collapse: collapse;
}

.device-links td {
  padding: 8px;
}

.device-links a {
  display: inline-flex;
  min-width: 54px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 2px;
  border-radius: 10px;
}

/* Die vorhandenen Player werden ohne Zwischenraum als Raster angeordnet. */
.player-grid {
  display: block;
  width: min(100%, 640px);
  margin-inline: auto;
  border-collapse: collapse;
}

.player-grid > tbody {
  display: block;
}

.player-grid > tbody > tr {
  display: grid;
  grid-template-columns: repeat(4, 160px);
  justify-content: center;
}

.player-grid > tbody > tr > td {
  display: contents;
}

.player-grid .mywimpyA {
  width: 160px;
  height: 160px;
  margin: 0;
}

#ip-adresse {
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 3px solid #ff9b21;
  outline-offset: 3px;
}

@media (max-width: 679px) {
  body {
    padding-inline: 0;
  }

  .auto-style5 > dl > div > center > table:first-of-type td {
    width: auto !important;
  }

  .player-grid {
    width: 320px;
    max-width: 100%;
  }

  .player-grid > tbody > tr {
    grid-template-columns: repeat(2, 160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
