/* Rating-Matchplay (2026-10-19): Vorgabe-Abzeichen im Turnierbaum und auf der Live-Seite, Einstellungsseite mit Rechner */
.rm-hc-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; padding: 0 5px; margin-left: 4px;
               border-radius: 9px; font: 700 .68rem/1 'JetBrains Mono', ui-monospace, monospace; color: #fff; flex-shrink: 0; vertical-align: 1px; }
.rm-hc-a { background: var(--fd-team-a, #2e6f9e); }
.rm-hc-b { background: var(--fd-team-b, #c46a1c); }
.rm-live-hc { font-size: .7rem; color: var(--fd-ink-soft); margin-top: 2px; white-space: normal; }
.hole-mini { position: relative; }
.hole-mini.rm-stroke-a::after, .hole-mini.rm-stroke-b::after { content: ''; position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; }
.hole-mini.rm-stroke-a::after { background: var(--fd-team-a, #2e6f9e); }
.hole-mini.rm-stroke-b::after { background: var(--fd-team-b, #c46a1c); }
.rm-mini-throws { display: block; font: 500 .58rem/1 'JetBrains Mono', ui-monospace, monospace; opacity: .8; margin-top: 1px; }

/* Einstellungsseite */
.rm-holes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rm-hole-chip { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--fd-line); background: var(--fd-paper);
                color: var(--fd-ink-soft); font-weight: 700; font-size: .82rem; font-variant-numeric: tabular-nums; }
.rm-hole-chip.on { background: var(--fd-flare); border-color: var(--fd-flare); color: #fff; }
.rm-hole-chip.on::after { content: attr(data-rank); position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px;
                          background: var(--fd-ink, #1c2733); color: var(--fd-paper, #fff); font-size: .62rem; line-height: 17px; }
.rm-hole-chip:focus-visible { outline: 2px solid var(--fd-flare); outline-offset: 2px; }
.rm-calc-out { font-size: 1rem; min-height: 1.5em; }
.rm-card-holes { display: flex; flex-wrap: wrap; gap: 4px; }
.rm-card-hole { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 34px; height: 40px; border-radius: 6px;
                border: 1px solid var(--fd-line); background: var(--fd-paper); font-variant-numeric: tabular-nums; }
.rm-card-hole b { font-size: .78rem; }
.rm-card-hole i { font-style: normal; color: var(--fd-flare); font-size: .9rem; line-height: .8; min-height: .8em; }
.rm-card-hole.on { border-color: var(--fd-flare); background: var(--fd-flare-soft, rgba(232, 120, 40, .12)); }
