/* Minigolf (E117b, S52) — flach und ruhig: eine Bahn in Draufsicht, sonst die Plattform. */
.hero-mg { position: relative; height: 56px; width: 170px; margin: 0 auto; }
.hero-mg .loch { position: absolute; right: 14px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: #16181d; }
.hero-mg .ball { position: absolute; left: 14px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: #f4f1e8; border: 1px solid rgba(0, 0, 0, .25); }

.mg-kopf { display: flex; justify-content: center; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; margin: 2px 0 8px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mg-bahn { font-weight: 700; color: var(--text); font-size: 16px; }
.mg-zeit.knapp { color: var(--red); font-weight: 700; }
.mg-buehne { position: relative; width: max-content; max-width: 100%; margin: 0 auto; }
.mg-bahnfeld {
    display: block; border-radius: 12px; border: 1px solid var(--panel-border); background: #2f5d3a;
    touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair;
}
.mg-bahnfeld.still { cursor: default; }
.mg-leiste { display: flex; justify-content: center; margin: 8px 0 0; }
.mg-kraft { font-size: 13.5px; color: var(--muted); text-align: center; min-height: 20px; font-variant-numeric: tabular-nums; }
.mg-meldung { text-align: center; margin: 4px 0 0; min-height: 22px; }

/* Scorekarte: Spalten = Bahnen, Zeilen = Spieler, ohne Par */
.mg-karte-box { margin: 10px auto 0; max-width: 100%; overflow-x: auto; }
.mg-karte { border-collapse: collapse; margin: 0 auto; font-size: 13px; font-variant-numeric: tabular-nums; }
.mg-karte th, .mg-karte td { padding: 4px 6px; text-align: center; border-bottom: 1px solid var(--panel-border); min-width: 22px; }
.mg-karte th { color: var(--muted); font-weight: 600; }
.mg-karte td.name, .mg-karte th.name { text-align: left; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-karte td.jetzt, .mg-karte th.jetzt { background: var(--panel); }
.mg-karte td.summe, .mg-karte th.summe { font-weight: 700; border-left: 1px solid var(--panel-border); }
.mg-karte td.leer { color: var(--muted); opacity: .5; }
.mg-karte td.abbruch { color: var(--red); }
.mg-karte tr.ich td.name { font-weight: 700; }
.mg-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: baseline; }

/* Der Hinweis „Du bist dran" gibt es hier nicht — die Bahn springt nicht. */
#view-game .turn-hint { min-height: 0; margin: 0; }

@media (max-width: 699px) {
    .mg-karte { font-size: 12px; }
    .mg-karte th, .mg-karte td { padding: 3px 3px; min-width: 18px; }
}
