/* Hallen-Monitor: fuer einen Fernseher im Eingang, lesbar aus 5 Metern. Immer dunkel. */
:root {
  --grund: #0b0f0c; --flaeche: #141a15; --linie: #253027; --text: #eef2ec; --leise: #9aa79c;
  --gruen: #5fae61; --gold: #d9bb6a; --licht: #f4dc5a; --frei: #1c2a1d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--grund); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { display: flex; flex-direction: column; font-size: clamp(14px, 1.15vw, 22px); }
.vorfuehrung { background: #8a6508; color: #fff; text-align: center; font-weight: 700; padding: .25em 1em; }
.m-kopf { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 2em .6em; }
.m-marke { display: flex; align-items: center; gap: .6em; font-size: 1.6em; font-weight: 800; letter-spacing: .01em; }
.m-ball { width: 1.2em; height: 1.2em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #eef79a, #c6d93b 60%, #9fb32a); }
.m-uhr { font-size: 2.2em; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-raster { flex: 1; display: grid; grid-template-columns: 3fr 1.15fr; gap: 1.2em; padding: .6em 2em 1.6em; min-height: 0; }
.m-plaetze { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 1em; }
.m-platz {
  position: relative; border-radius: 1em; padding: 1em 1.1em; background: var(--flaeche); border: 2px solid var(--linie);
  display: flex; flex-direction: column; gap: .3em; overflow: hidden; min-height: 9em;
}
.m-platz.frei { background: var(--frei); border-color: #2f4a31; }
.m-platz.licht { border-color: var(--licht); box-shadow: 0 0 0 1px var(--licht), 0 0 2.2em -0.6em var(--licht) inset; }
.m-platz h3 { margin: 0; font-size: 1.25em; display: flex; justify-content: space-between; align-items: center; }
.m-sport { font-size: .62em; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); font-weight: 600; }
.m-status { font-size: 1.05em; font-weight: 700; }
.m-platz.frei .m-status { color: var(--gruen); }
.m-zeile { color: var(--leise); font-size: .9em; }
.m-lampe { position: absolute; right: 1em; bottom: .9em; font-size: .8em; color: var(--licht); font-weight: 700; }
.m-score { margin-top: auto; display: grid; grid-template-columns: 1fr auto auto; gap: .15em .6em; align-items: baseline; font-variant-numeric: tabular-nums; }
.m-score .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9em; }
.m-score .g { font-weight: 700; color: var(--leise); }
.m-score .p { font-weight: 800; font-size: 1.35em; color: var(--gold); min-width: 1.8em; text-align: right; }
.m-live { display: inline-block; font-size: .6em; font-weight: 800; letter-spacing: .1em; color: #0b0f0c; background: var(--gold); border-radius: .3em; padding: .1em .4em; margin-left: .4em; vertical-align: middle; }
.m-seite { display: flex; flex-direction: column; gap: 1em; min-height: 0; }
.m-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 1em; padding: 1em 1.2em; }
.m-karte h2 { margin: 0 0 .5em; font-size: 1.1em; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.m-rang { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.m-rang li { display: flex; justify-content: space-between; padding: .28em 0; border-bottom: 1px solid var(--linie); font-variant-numeric: tabular-nums; }
.m-rang li:last-child { border-bottom: none; }
.m-rang .pl { color: var(--leise); width: 1.8em; display: inline-block; }
.m-rang li:first-child .pl { color: var(--gold); font-weight: 800; }
.m-ergebnisse { margin: 0; padding: 0; list-style: none; font-size: .9em; }
.m-ergebnisse li { padding: .3em 0; border-bottom: 1px solid var(--linie); }
.m-ergebnisse li:last-child { border-bottom: none; }
.m-ergebnisse b { color: var(--text); }
.m-ergebnisse span { color: var(--leise); }
.m-buchen { margin-top: auto; text-align: center; }
.m-buchen p { margin: .2em 0; color: var(--leise); }
.m-url { font-size: 1.3em; font-weight: 800; color: var(--text) !important; word-break: break-all; }
@media (max-width: 900px) {
  .m-raster { grid-template-columns: 1fr; }
  .m-plaetze { grid-template-columns: repeat(2, 1fr); }
  body { font-size: 15px; }
  .m-kopf, .m-raster { padding-left: 16px; padding-right: 16px; }
}
