/* Boardwart: eigene Teile (style.css ist die gemeinsame Grundlage aus darts). */

main { max-width: 1000px; }
.klein { font-size: 12px; }
.nowrap { white-space: nowrap; }
.hinweis { background: var(--gold-light); color: var(--gold-text); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; margin: 10px 0; }
.fehler { color: var(--red); font-size: 13px; font-weight: 600; margin-top: 8px; }
.check-reihe { margin: 4px 0 10px; }
.check-reihe label, .check-einzeln { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.check-einzeln { margin: 6px 0 10px; }
.form-field.breit { grid-column: span 2; }
@media (max-width: 560px) { .form-field.breit { grid-column: auto; } }

/* Segment-Knoepfe (Filter) */
.filter-reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filter-reihe input[type="search"], #sp-suche { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; flex: 1 1 180px; min-width: 0; }
.segment { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.segment button { background: var(--white); border: none; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.segment button + button { border-left: 1px solid var(--border); }
.segment button.active { background: var(--blue); color: white; }
.segment.klein { margin-bottom: 10px; }

/* Turnier-Ansicht */
.aktionen { justify-content: flex-start; margin: 6px 0 10px; }
.unter-reiter { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin: 12px 0 14px; }
.unter-reiter button { background: none; border: none; border-bottom: 3px solid transparent; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.unter-reiter button.active { color: var(--blue); border-bottom-color: var(--blue); }
#td-inhalt h4 { font-size: 13px; color: var(--blue); margin: 14px 0 8px; }
.sp-titel { text-transform: uppercase; letter-spacing: .03em; }

/* Spielplan-Zeilen */
.sp-zeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 6px; }
.sp-zeile.fertig { background: var(--gray); }
.sp-zeile.fehlerhaft { border-color: var(--red); }
.sp-name { flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.sp-name.rechts { text-align: left; }
.sp-name.sieger { font-weight: 700; color: var(--green); }
.sp-erg { width: 52px; text-align: center; padding: 6px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: inherit; }
.sp-stand { font-weight: 700; min-width: 50px; text-align: center; }
.sp-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; flex-basis: 100%; }
.sp-knoepfe { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sp-knoepfe select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.sp-fehler { flex-basis: 100%; color: var(--red); font-size: 12px; }
.sp-werte-box { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; padding-top: 8px; border-top: 1px dashed var(--border); }
.sp-werte-box p, .sp-werte-box .btn-row { grid-column: 1 / -1; }
.sp-werte-spalte { display: flex; flex-direction: column; gap: 6px; }
.sp-werte-spalte label { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 3px; }
.sp-werte-spalte input { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }

/* K.-o.-Baum */
.ko-baum { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.ko-runde { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; min-width: 180px; }
.ko-spiel { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; font-size: 13px; background: var(--white); }
.ko-spiel.frei { opacity: .55; }
.ko-spiel > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; }
.ko-spiel > div + div { border-top: 1px solid var(--border); }
.ko-spiel > div.sieger { background: var(--green-light); font-weight: 700; color: var(--green); }
.ko-sieger { font-size: 16px; font-weight: 700; color: var(--green); margin: 10px 0; }

/* Highlights */
.hl-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hl-block h4 { margin-top: 4px !important; }
.kk-liste { margin: 6px 0 0 18px; font-size: 13px; }

/* Live */
.lv-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 18px; }
.lv-board { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; border-top: 5px solid var(--border); }
.lv-board.laeuft { border-top-color: var(--green); }
.lv-board.aufgerufen { border-top-color: var(--gold); }
.lv-board-name { font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.lv-frei { color: var(--muted); font-size: 22px; padding: 10px 0; }
.lv-aufruf { font-size: 12px; font-weight: 700; color: var(--gold-text); text-transform: uppercase; }
.lv-paar { font-size: 18px; font-weight: 600; margin: 4px 0; }
.lv-stand { display: flex; flex-direction: column; gap: 4px; }
.lv-sp { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name legs rest" "avg avg avg"; align-items: baseline; gap: 0 10px; padding: 4px 6px; border-radius: 6px; }
.lv-sp.dran { background: var(--blue-light); }
.lv-sp-name { grid-area: name; font-weight: 600; overflow-wrap: anywhere; }
.lv-sp-legs { grid-area: legs; font-weight: 700; color: var(--muted); }
.lv-sp-rest { grid-area: rest; font-size: 28px; font-weight: 800; color: var(--blue); min-width: 64px; text-align: right; }
.lv-sp-avg { grid-area: avg; font-size: 12px; color: var(--muted); }
.lv-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 18px; }
.lv-zeile { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.lv-zeile b.sieg { color: var(--green); }
.lv-platz { margin-left: 22px; columns: 2; font-size: 15px; }
body.grossbild header, body.grossbild nav, body.grossbild .speicher-leiste, body.grossbild .live-steuer .form-grid { display: none !important; }
body.grossbild main { max-width: none; padding: 12px 18px; }
body.grossbild .live-steuer { padding: 6px 12px; margin-bottom: 8px; }
body.grossbild .live-steuer .btn-row { justify-content: flex-end; }
body.grossbild .lv-sp-rest { font-size: 44px; }
body.grossbild .lv-paar { font-size: 24px; }
body.grossbild .lv-zeile, body.grossbild .lv-platz { font-size: 18px; }

/* Zaehler */
body.zaehlt main { max-width: 1200px; padding-top: 10px; }
.sc-aufruf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border: 2px solid var(--gold); border-radius: 10px; background: var(--gold-light); margin: 10px 0; }
.sc-aufruf-paar { font-size: 18px; font-weight: 700; }
.frei-spiel { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 12px; }
.frei-spiel summary { cursor: pointer; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.btn.gross, button.btn.gross { padding: 16px 22px; font-size: 18px; }
.anwurf-knoepfe { margin: 14px 0; }
.sc-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.sc-kopf-knoepfe { display: flex; gap: 6px; }
.sc-spieler { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 10px; }
.sc-sp { background: #12233f; color: #fff; border-radius: 12px; padding: 10px 14px; border: 4px solid transparent; }
.sc-sp.dran { border-color: #e0b33a; background: #1b3a6b; }
.sc-sp.sieger { border-color: var(--green); }
.sc-sp-name { font-size: 16px; font-weight: 600; opacity: .95; }
.sc-sp-wert { font-size: 64px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sc-sp-legs { font-size: 14px; font-weight: 700; opacity: .9; }
.sc-sp-info { font-size: 13px; opacity: .8; }
.sc-sp-weg { margin-top: 4px; font-size: 15px; font-weight: 700; color: #e0b33a; }
.sc-mitte { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: 12px; align-items: start; }
.sc-verlauf { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; overflow-x: auto; }
.sc-tafel { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.sc-tafel th { font-size: 13px; color: var(--muted); padding: 4px 6px; border-bottom: 2px solid var(--border); }
.sc-tafel td { padding: 5px 8px; border-bottom: 1px solid var(--border); text-align: center; }
.sc-tafel td.rest { color: var(--muted); }
.sc-tafel td.hoch { font-weight: 800; color: var(--green); }
.sc-tafel td.bust { color: var(--red); font-weight: 700; }
.sc-tafel.cricket td.marks { font-size: 22px; font-weight: 800; color: var(--blue); }
.sc-tafel.cricket td.marks.zu { background: var(--green-light); color: var(--green); }
.sc-eingabe { display: flex; flex-direction: column; gap: 8px; }
.sc-anzeige { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 34px; font-weight: 800; text-align: right; color: var(--blue); min-height: 62px; }
.sc-anzeige.rest { color: var(--gold-text); }
.sc-meldung { background: var(--red-light); color: var(--red); font-weight: 700; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
/* Anderes Geraet zaehlt dasselbe Spiel (Bugjagd 17.10. DW17-2), antippen schliesst */
.sc-konflikt { background: var(--gold-light); color: var(--text); border: 2px solid var(--gold); font-weight: 700; padding: 10px 12px; border-radius: 10px; font-size: 16px; margin-bottom: 10px; cursor: pointer; }
.sc-schnell, .sc-mult { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-tasten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-tasten.cricket { grid-template-columns: repeat(4, 1fr); }
.sc-schnell button, .sc-tasten button, .sc-mult button {
  min-height: 58px; font-size: 22px; font-weight: 700; border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--text); cursor: pointer; touch-action: manipulation;
}
.sc-schnell button { min-height: 46px; font-size: 18px; background: var(--blue-light); color: var(--blue); }
.sc-mult button { min-height: 46px; font-size: 16px; }
.sc-tasten button:active, .sc-schnell button:active { transform: scale(.97); }
.sc-tasten button.ok { background: var(--green); color: #fff; border-color: var(--green); }
.sc-tasten button.an, .sc-mult button.an { background: var(--gold); color: #fff; border-color: var(--gold); }
.sc-tasten button.breit2 { grid-column: span 2; }
.sc-tasten button.breit3 { grid-column: span 3; }
@media (max-width: 760px) {
  .sc-mitte { grid-template-columns: 1fr; }
  .sc-eingabe { order: -1; }
  .sc-sp-wert { font-size: 46px; }
  .sc-schnell button, .sc-tasten button { min-height: 50px; }
}
body.zaehlt:fullscreen header, body.zaehlt:fullscreen nav { display: none; }
:fullscreen body.zaehlt header, :fullscreen body.zaehlt nav { display: none; }

/* Dialog (Darts beim Checkout) */
/* top/right/bottom/left vor inset: Safari unter 14.1 kennt inset nicht (Bugjagd 17.10. T4-V1) */
.dialog-huelle { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: rgba(10, 20, 40, .55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.dialog { background: var(--white); border-radius: 14px; padding: 20px; max-width: 420px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.dialog h2 { font-size: 18px; color: var(--blue); margin-bottom: 14px; }
.dialog .btn-row { margin-bottom: 10px; }

/* Eigenstaendig: Kopf, Anmelden, Links */
.kopf-verein { font-size: 15px; font-weight: 600; opacity: .9; margin-left: auto; margin-right: auto; }
.kopf-abmelden { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.kopf-abmelden:hover { background: rgba(255,255,255,.18); }
.link-knopf { background: none; border: none; color: var(--blue); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; padding: 0; }
.link-code { display: block; word-break: break-all; background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; margin: 6px 0; font-size: 12px; color: var(--text); }
.connect-screen .form-field { margin-bottom: 10px; }
body.betrieb-board nav, body.betrieb-live nav { display: none; }

/* Zaehler ohne Scrollen (Abnahme 15.10.2026): Tablet quer 1024x768 und Handy brauchten
   Scrollen bis zum OK-Knopf. Beim Zaehlen auf niedrigen Schirmen Kopf und Reiter weg
   (zurueck geht es mit "Beenden"), quer Eingabe rechts neben Spielern und Verlauf. */
@media (max-height: 900px) {
  body.zaehlt header, body.zaehlt nav { display: none; }
  body.zaehlt main { padding-top: 8px; }
}
@media (orientation: landscape) and (min-width: 700px) {
  body.zaehlt #sc-spiel:not([hidden]) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    grid-template-areas: "kopf eingabe" "spieler eingabe" "verlauf eingabe";
    grid-template-rows: auto auto 1fr; column-gap: 12px; align-items: start; align-content: start;
  }
  body.zaehlt .sc-kopf { grid-area: kopf; }
  body.zaehlt .sc-spieler { grid-area: spieler; }
  body.zaehlt .sc-mitte { display: contents; }
  body.zaehlt .sc-verlauf { grid-area: verlauf; }
  body.zaehlt .sc-eingabe { grid-area: eingabe; }
}
@media (max-height: 820px) {
  body.zaehlt .sc-sp { padding: 6px 10px; }
  body.zaehlt .sc-sp-wert { font-size: 44px; }
  body.zaehlt .sc-anzeige { font-size: 26px; min-height: 44px; padding: 6px 12px; }
  body.zaehlt .sc-tasten button { min-height: 44px; font-size: 20px; }
  body.zaehlt .sc-schnell button, body.zaehlt .sc-mult button { min-height: 38px; font-size: 16px; }
}
@media (max-height: 480px) {
  body.zaehlt main { padding-top: 4px; }
  body.zaehlt .sc-kopf { margin-bottom: 4px; font-size: 12px; }
  body.zaehlt .sc-spieler { gap: 6px; margin-bottom: 6px; }
  body.zaehlt .sc-sp-wert { font-size: 32px; }
  body.zaehlt .sc-sp-info, body.zaehlt .sc-sp-weg { font-size: 12px; margin-top: 0; }
  body.zaehlt .sc-eingabe { gap: 4px; }
  body.zaehlt .sc-anzeige { font-size: 22px; min-height: 34px; padding: 4px 10px; }
  body.zaehlt .sc-schnell, body.zaehlt .sc-tasten, body.zaehlt .sc-mult { gap: 4px; }
  body.zaehlt .sc-tasten button { min-height: 36px; font-size: 18px; }
  body.zaehlt .sc-schnell button, body.zaehlt .sc-mult button { min-height: 30px; font-size: 14px; }
}

/* Autodarts im WLAN (autodarts.js) */
.sc-autodarts { background: var(--blue); color: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 12px; }
.sc-autodarts .muted { color: rgba(255,255,255,.8); }
.ad-kopf { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.ad-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.ad-punkt.an { background: #3ddc7a; }
.ad-punkt.aus { background: var(--red); }
.ad-wuerfe { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; align-items: stretch; }
.ad-wurf { min-height: 56px; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: manipulation; }
.ad-wurf:disabled { opacity: .45; cursor: default; }
.ad-wurf.korr { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.ad-feld { font-size: 22px; font-weight: 800; line-height: 1.1; }
.ad-wert { font-size: 13px; opacity: .85; }
.ad-leer { font-size: 20px; opacity: .6; }
.ad-summe { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 10px; }
.ad-summe span { font-size: 12px; opacity: .85; }
.ad-summe strong { font-size: 26px; }
.ad-knoepfe { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.ad-knoepfe .btn:not(.secondary) { background: var(--green); color: #fff; }
.ad-mult, .ad-zahlen { display: grid; gap: 6px; margin-bottom: 10px; }
.ad-mult { grid-template-columns: repeat(4, 1fr); }
.ad-zahlen { grid-template-columns: repeat(5, 1fr); }
.ad-mult button, .ad-zahlen button { min-height: 42px; border: 1px solid var(--border); border-radius: 8px; background: var(--gray); font-weight: 700; font-size: 15px; cursor: pointer; color: var(--text); }
.ad-mult button.an { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 760px) { .sc-autodarts { order: -2; } }
@media (orientation: landscape) and (min-width: 700px) {
  body.zaehlt #sc-spiel:not([hidden]) {
    grid-template-areas: "kopf eingabe" "spieler eingabe" "ad eingabe" "verlauf eingabe";
    grid-template-rows: auto auto auto 1fr;
  }
  body.zaehlt .sc-autodarts { grid-area: ad; }
}
@media (max-height: 820px) {
  body.zaehlt .sc-autodarts { padding: 6px 8px; margin-bottom: 6px; }
  body.zaehlt .ad-wurf { min-height: 44px; }
  body.zaehlt .ad-feld { font-size: 18px; }
}

/* ---------- Heute dabei (dabei.js, seit Changelog 1.4) ---------- */
.hinweis-ok { background: var(--green-light, #e8f5ed); color: var(--green, #267a43); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.dabei-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.dabei-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gray, #f4f5f7); border: 1px solid var(--border, #dde1e8); border-radius: 999px; padding: 3px 4px 3px 12px; }
.dabei-chip .mini-btn { width: 24px; height: 24px; padding: 0; }

/* Flex-gap-Ersatz fuer Safari/iOS unter 14.1 (Bugjagd 17.10. T3-F7), Begruendung in style.css */
@supports not (inset: 0) {
  .dabei-liste > * { margin-right: 6px; margin-bottom: 6px; }
  .dabei-chip > * { margin-left: 6px; }
  .sp-knoepfe > * { margin-right: 6px; margin-bottom: 6px; }
  .sc-kopf-knoepfe > * + *, .ad-knoepfe > * + * { margin-left: 6px; }
}

/* Vollbild-Aufruf am Board: Vereinsbild ueber den ganzen Schirm, hochkant und quer */
body.vollbild-offen { overflow: hidden; }
#sc-vollbild { position: fixed; inset: 0; z-index: 9000; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); color: #fff; text-align: center; background: #1b2d4f center / cover no-repeat; }
#sc-vollbild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 35, 63, .62), rgba(18, 35, 63, .42) 40%, rgba(18, 35, 63, .82)); z-index: 0; }
#sc-vollbild > * { position: relative; z-index: 1; }
.vb-zu { position: absolute !important; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 20px; cursor: pointer; z-index: 2 !important; }
.vb-kopf { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; font-size: clamp(14px, 2.6vmin, 22px); padding-right: 48px; padding-left: 48px; }
.vb-board { background: #e0b33a; color: #1b2d4f; border-radius: 999px; padding: 4px 18px; font-weight: 700; }
.vb-mitte { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 2vmin, 20px); }
.vb-ruf { letter-spacing: .18em; text-transform: uppercase; color: #e0b33a; font-weight: 700; font-size: clamp(14px, 2.8vmin, 24px); }
.vb-paar { display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 1.6vmin, 16px); max-width: 100%; }
.vb-name { font-size: clamp(32px, 9vmin, 96px); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); animation: vb-ein .6s ease-out both; }
.vb-name + .vb-gegen + .vb-name { animation-delay: .15s; }
.vb-gegen { font-size: clamp(16px, 3.4vmin, 30px); color: #e0b33a; text-transform: uppercase; letter-spacing: .12em; }
.vb-info { font-size: clamp(13px, 2.4vmin, 20px); color: #e6e9f5; max-width: 90%; }
.vb-fuss { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vb-start { background: #e0b33a; color: #1b2d4f; border: 0; border-radius: 14px; font-size: clamp(20px, 4vmin, 34px); font-weight: 800; padding: 16px 40px; min-width: min(420px, 90%); cursor: pointer; }
.vb-start:active { transform: scale(.98); }
.vb-danach { font-size: clamp(13px, 2.4vmin, 20px); color: #e6e9f5; }
@keyframes vb-ein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (orientation: landscape) {
  .vb-paar { flex-direction: row; justify-content: center; gap: clamp(16px, 4vw, 56px); flex-wrap: wrap; }
  .vb-name { font-size: clamp(30px, 11vmin, 110px); }
}
@media (prefers-reduced-motion: reduce) { .vb-name { animation: none; } }
.bild-vorschau { max-width: 360px; min-height: 80px; border: 1px dashed var(--border-strong, #bbb); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 8px 0; overflow: hidden; }
.bild-vorschau img { display: block; max-width: 100%; max-height: 220px; }

/* Dunkles Farbschema fuer Anwurf, Zaehler und Ende: wie der Vollbild-Aufruf (Dunkelblau, Gold, Weiss, Vereinsbild gedaempft) */
body.sc-dunkel { background: #12233f; color: #fff; }
body.sc-dunkel::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 35, 63, .88), rgba(18, 35, 63, .94)), var(--sc-bild, none); background-size: cover; background-position: center; background-repeat: no-repeat; }
body.sc-dunkel .card, body.sc-dunkel .sc-verlauf { background: rgba(27, 45, 79, .9); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
body.sc-dunkel .card h2, body.sc-dunkel .card h3 { color: #fff; }
body.sc-dunkel .muted, body.sc-dunkel .unter, body.sc-dunkel .sc-kopf, body.sc-dunkel .klein { color: #c9d0ea; }
body.sc-dunkel button.btn { background: #e0b33a; color: #12233f; border: 0; font-weight: 700; }
body.sc-dunkel button.btn.secondary { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
body.sc-dunkel .sc-tafel th { color: #c9d0ea; border-bottom-color: rgba(255, 255, 255, .22); }
body.sc-dunkel .sc-tafel td { border-bottom-color: rgba(255, 255, 255, .1); color: #fff; }
body.sc-dunkel .sc-tafel td.rest { color: #c9d0ea; }
body.sc-dunkel .sc-tafel td.hoch { color: #7fd49a; }
body.sc-dunkel .sc-tafel td.bust { color: #ff9a8c; }
body.sc-dunkel .sc-tafel.cricket td.marks { color: #e0b33a; }
body.sc-dunkel .sc-tafel.cricket td.marks.zu { background: rgba(38, 122, 67, .35); color: #7fd49a; }
body.sc-dunkel .sc-anzeige { background: #12233f; color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .22); }
body.sc-dunkel .sc-anzeige.rest { color: #e0b33a; }
body.sc-dunkel .sc-schnell button { background: rgba(224, 179, 58, .16); color: #f0d27a; border-color: rgba(224, 179, 58, .45); }
body.sc-dunkel .sc-tasten button, body.sc-dunkel .sc-mult button { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
body.sc-dunkel .sc-tasten button.ok { background: var(--green); border-color: var(--green); }
body.sc-dunkel .sc-tasten button.an, body.sc-dunkel .sc-mult button.an { background: #e0b33a; color: #12233f; border-color: #e0b33a; }
body.sc-dunkel .sc-autodarts { background: rgba(27, 45, 79, .9); border: 1px solid rgba(224, 179, 58, .5); }
body.sc-dunkel .sc-sp { border-color: rgba(255, 255, 255, .14); }
body.sc-dunkel .sc-sp.dran { border-color: #e0b33a; }
body.sc-dunkel table.liste th { color: #c9d0ea; border-bottom-color: rgba(255, 255, 255, .22); }
body.sc-dunkel table.liste td { color: #fff; border-bottom-color: rgba(255, 255, 255, .1); }

/* Zaehler am Tablet (ab 700 px Breite): Spielstaende gross, Tastatur unten ueber die volle Breite.
   Spieler fuellen den freien Platz, darunter der kurze Verlauf, ganz unten Anzeige + Schnellwahl + Tasten. */
@media (min-width: 700px) {
  body.zaehlt #sc-spiel:not([hidden]) { display: flex; flex-direction: column; align-items: stretch; align-content: stretch; gap: 8px; min-height: calc(100vh - 140px); min-height: calc(100dvh - 140px); }
  body.zaehlt .sc-mitte { display: contents; }
  body.zaehlt main { padding-bottom: 8px; }
  body.zaehlt .sc-kopf { margin-bottom: 0; }
  body.zaehlt .sc-spieler { flex: 1 1 auto; margin-bottom: 0; align-items: stretch; }
  body.zaehlt .sc-sp { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; }
  body.zaehlt .sc-sp-name { font-size: clamp(18px, 3.4vh, 28px); }
  body.zaehlt .sc-sp-wert { font-size: clamp(56px, 15vh, 150px); line-height: 1; }
  body.zaehlt .sc-sp-legs { font-size: clamp(15px, 2.8vh, 24px); }
  body.zaehlt .sc-sp-info { font-size: clamp(13px, 2.2vh, 18px); }
  body.zaehlt .sc-sp-weg { font-size: clamp(15px, 2.8vh, 24px); }
  body.zaehlt .sc-verlauf { display: none; }
  body.zaehlt .sc-autodarts { margin-bottom: 0; }
  body.zaehlt .sc-eingabe { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; }
  body.zaehlt .sc-eingabe > .sc-anzeige, body.zaehlt .sc-eingabe > .sc-meldung { grid-column: 1 / -1; }
  body.zaehlt .sc-eingabe > .sc-schnell, body.zaehlt .sc-eingabe > .sc-mult { grid-column: 1; grid-template-rows: repeat(3, 1fr); }
  body.zaehlt .sc-eingabe > .sc-tasten { grid-column: 2; }
  body.zaehlt .sc-anzeige { font-size: clamp(24px, 5vh, 40px); min-height: clamp(40px, 6.8vh, 58px); }
  body.zaehlt .sc-tasten button { min-height: clamp(46px, 8.8vh, 84px); font-size: clamp(22px, 4vh, 34px); }
  body.zaehlt .sc-schnell button, body.zaehlt .sc-mult button { min-height: 0; font-size: clamp(18px, 3.2vh, 28px); }
}
@media (min-width: 700px) and (max-height: 900px) {
  body.zaehlt #sc-spiel:not([hidden]) { min-height: calc(100vh - 24px); min-height: calc(100dvh - 24px); }
}
@media (min-width: 700px) and (max-height: 660px) {
  body.zaehlt .sc-tasten button { min-height: 42px; }
  body.zaehlt .sc-anzeige { min-height: 34px; font-size: 22px; padding-top: 2px; padding-bottom: 2px; }
  body.zaehlt .sc-sp { padding-top: 4px; padding-bottom: 4px; }
}

/* ---------- Fernseher am Board (?tv=, tv.js, Changelog 1.15): nur Anzeige, 16:9, dunkel wie der Zaehler ---------- */
body.betrieb-tv { background: #12233f; color: #fff; overflow: hidden; margin: 0; }
body.betrieb-tv > *:not(#tv) { display: none !important; }
#tv { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 1.6vh; padding: 2vh 2.4vw; box-sizing: border-box;
  background: linear-gradient(rgba(18, 35, 63, .9), rgba(18, 35, 63, .95)), var(--tv-bild, none) center / cover no-repeat, #12233f;
  font-size: clamp(14px, 2.2vh, 30px); line-height: 1.2; }
.tv-kopf { display: flex; align-items: center; gap: 1.6vw; font-size: 1.15em; color: #c9d0ea; min-width: 0; }
.tv-board { background: #e0b33a; color: #12233f; font-weight: 800; padding: .25em .7em; border-radius: .4em; white-space: nowrap; }
.tv-info { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-uhr { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.tv-mitte { min-height: 0; display: flex; flex-direction: column; gap: 2vh; }
.tv-spieler { display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; flex: 1 1 auto; min-height: 0; }
.tv-sp { background: rgba(27, 45, 79, .88); border: .3vh solid rgba(255, 255, 255, .14); border-radius: 1.4vh; padding: 1.6vh 2vw;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 0; transition: border-color .2s, background .2s; }
.tv-sp.dran { border-color: #e0b33a; background: rgba(224, 179, 58, .14); box-shadow: 0 0 3vh rgba(224, 179, 58, .25); }
.tv-name { font-size: 2.3em; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-anwurf { color: #e0b33a; font-size: .6em; vertical-align: middle; }
.tv-rest { font-size: min(24vh, 15vw); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tv-sp.dran .tv-rest { color: #e0b33a; }
.tv-legs { display: flex; gap: 2vw; font-size: 1.6em; color: #c9d0ea; }
.tv-legs b { color: #fff; font-size: 1.3em; }
.tv-zahlen { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.6vw; font-size: 1.25em; color: #c9d0ea; margin-top: .5vh; }
.tv-weg { min-height: 1.3em; font-size: 1.5em; font-weight: 800; color: #7fe0a0; margin-top: .6vh; }
.tv-verlauf { flex: 0 0 auto; }
.tv-tafel { width: 100%; border-collapse: collapse; font-size: 1.35em; text-align: center; font-variant-numeric: tabular-nums;
  background: rgba(27, 45, 79, .7); border-radius: 1vh; overflow: hidden; }
.tv-tafel th { color: #c9d0ea; font-weight: 700; padding: .35em .5em; border-bottom: 2px solid rgba(255, 255, 255, .22); }
.tv-tafel td { padding: .25em .5em; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tv-tafel td.rest, .tv-tafel .tv-runde { color: #9fb0d6; }
.tv-tafel td.hoch { color: #e0b33a; font-weight: 800; }
.tv-tafel td.bust { color: #ff8a8a; }
.tv-tafel.cricket td.marks { font-size: 1.2em; }
.tv-tafel.cricket td.zu { color: #7fe0a0; }
.tv-legstart { text-align: center; font-size: 1.6em; color: #c9d0ea; padding: 1vh 0; }
.tv-aufruf, .tv-leer, .tv-ende { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2.4vh; }
.tv-ruf { font-size: 2.2em; font-weight: 800; color: #e0b33a; text-transform: uppercase; letter-spacing: .08em; }
.tv-paar { display: flex; align-items: center; gap: 3vw; }
.tv-paar-name { font-size: min(10vh, 6vw); font-weight: 900; line-height: 1.05; }
.tv-gegen { font-size: 1.6em; color: #c9d0ea; }
.tv-unter { font-size: 1.3em; color: #c9d0ea; }
.tv-gross { font-size: min(9vh, 6vw); font-weight: 900; }
.tv-leer { font-size: 1.4em; color: #c9d0ea; }
.tv-leer .tv-gross { color: #fff; }
.tv-erg { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3vw; width: 100%; }
.tv-erg-sp { opacity: .65; }
.tv-erg-sp.sieger { opacity: 1; color: #e0b33a; }
.tv-erg-zahl { font-size: min(16vh, 10vw); font-weight: 900; font-variant-numeric: tabular-nums; }
.tv-erg-avg { font-size: 1.5em; color: #c9d0ea; margin-top: .6vh; }
.tv-ende-tafel { max-width: 90vw; font-size: 1.7em; }
.tv-ende-tafel tr.sieger td { color: #e0b33a; font-weight: 800; }
.tv-ende-name { text-align: left; }
.tv-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 2vw; font-size: 1.15em; color: #c9d0ea; min-height: 1.4em; }
.tv-fuss-titel { color: #e0b33a; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tv-fuss-paar { color: #fff; }
.tv-hinweis { position: fixed; right: 2vw; bottom: 2vh; background: #b3261e; color: #fff; padding: .5em 1em; border-radius: .5em; font-weight: 700; }
.tv-blitz { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none;
  background: rgba(18, 35, 63, .78); animation: tv-blitz 2.6s ease-out forwards; }
.tv-blitz[hidden] { display: none; }
.tv-blitz-zahl { font-size: min(38vh, 26vw); font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 0 4vh rgba(0, 0, 0, .5); }
.tv-blitz.gold .tv-blitz-zahl { color: #e0b33a; }
.tv-blitz-name { font-size: min(7vh, 5vw); font-weight: 800; color: #c9d0ea; }
@keyframes tv-blitz { 0% { opacity: 0; transform: scale(.85); } 10% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tv-blitz { animation: none; } }
/* hochkant (z. B. Monitor gedreht): Spieler untereinander */
@media (orientation: portrait) {
  .tv-spieler { grid-template-columns: 1fr; }
  .tv-rest { font-size: min(14vh, 24vw); }
}
.tv-link-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.sc-app { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; }
.sc-app .hinweis { flex-basis: 100%; margin: 0; }
body.zaehlt .sc-app { display: none; }
.td-kopf-rechts { gap: 8px; margin: 0; flex-wrap: wrap; justify-content: flex-end; }

/* Grossbild am Fernseher (?gross=, gross.js, Changelog 1.22): feste Flaeche 1920 x 1080, skaliert */
body.betrieb-gross { background: #0b1426; color: #fff; overflow: hidden; margin: 0; }
body.betrieb-gross > *:not(#gross) { display: none !important; }
#gross { position: fixed; inset: 0; overflow: hidden; background: #0b1426; }
.gb-flaeche { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at top, #1d3158 0%, #0f1a30 70%); color: #fff; font-family: "Segoe UI", system-ui, sans-serif; overflow: hidden; }
.gb-kopf { flex: none; height: 92px; display: flex; align-items: center; gap: 28px; padding: 0 36px; border-bottom: 3px solid var(--gold); background: rgba(0,0,0,.25); }
.gb-logo { font-size: 34px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.gb-logo img { width: 40px; height: 40px; }
.gb-logo span { color: #e8b84a; }
.gb-titel { flex: 1; text-align: center; font-size: 34px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-titel small { display: block; font-size: 18px; color: #9aa7c0; font-weight: 400; }
.gb-uhr { font-size: 44px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gb-boards { flex: none; display: grid; gap: 14px; padding: 16px 24px 0; }
.gb-board { background: #1b2d4f; border-radius: 14px; border: 2px solid #2c4470; padding: 12px 18px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.gb-board.laeuft { border-color: var(--gold); }
.gb-board.aufgerufen { border-color: #5b8fd6; }
.gb-bkopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #e8b84a; }
.gb-tag { font-size: 15px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: rgba(201,148,31,.2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-board.aufgerufen .gb-tag { background: rgba(91,143,214,.25); color: #a9c8f2; }
.gb-board.frei .gb-tag { background: rgba(255,255,255,.1); color: #b0bcd3; }
.gb-sp { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 2px 0; }
.gb-n { font-size: 26px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.gb-sp.dran .gb-n::before { content: "▶ "; color: #e8b84a; font-size: .8em; }
.gb-l { font-size: 28px; font-weight: 700; background: rgba(255,255,255,.1); border-radius: 8px; min-width: 44px; text-align: center; padding: 0 8px; line-height: 1.1; }
.gb-r { font-size: 52px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; line-height: 1.1; }
.gb-sp.dran .gb-r { color: #e8b84a; }
.gb-info { margin-top: auto; padding-top: 6px; border-top: 1px solid #2c4470; display: flex; justify-content: space-between; gap: 10px; font-size: 17px; color: #9aa7c0; white-space: nowrap; }
.gb-info b { color: #ffe7a8; font-weight: 600; }
.gb-aufruf { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; }
.gb-paar { font-size: 28px; font-weight: 700; }
.gb-gegen { color: #9aa7c0; font-size: 18px; }
.gb-frei { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #9aa7c0; }
/* Viele Boards (Bugjagd 19.10. GB-F4): Flaeche begrenzt, Kacheln kleiner */
.gb-boards { max-height: 486px; overflow: hidden; }
.gb-boards.klein .gb-board { padding: 8px 12px; }
.gb-boards.klein .gb-bkopf { font-size: 17px; }
.gb-boards.klein .gb-bkopf > span:first-child { white-space: nowrap; flex: none; }
.gb-boards.klein .gb-tag { font-size: 12px; padding: 2px 8px; min-width: 0; }
.gb-boards.klein .gb-sp { gap: 8px; padding: 0; }
.gb-boards.klein .gb-n { font-size: 20px; }
.gb-boards.klein .gb-l { font-size: 20px; min-width: 32px; padding: 0 5px; }
.gb-boards.klein .gb-r { font-size: 36px; min-width: 0; }
.gb-boards.klein .gb-info { font-size: 14px; padding-top: 3px; }
.gb-boards.klein .gb-paar { font-size: 20px; }
.gb-boards.klein .gb-gegen { font-size: 14px; }
.gb-boards.klein .gb-frei { font-size: 20px; }
.gb-boards.mini .gb-board { padding: 5px 10px; }
.gb-boards.mini .gb-bkopf { font-size: 15px; }
.gb-boards.mini .gb-tag { font-size: 11px; }
.gb-boards.mini .gb-n, .gb-boards.mini .gb-l, .gb-boards.mini .gb-paar { font-size: 17px; line-height: 1.05; }
.gb-boards.mini .gb-r { font-size: 28px; min-width: 0; line-height: 1.05; }
.gb-boards.mini .gb-info { display: none; }
.gb-boards.mini .gb-gegen { font-size: 12px; }
.gb-boards.mini .gb-aufruf { gap: 0; }
.gb-mitte { flex: 1; min-height: 0; overflow: hidden; padding: 14px 24px 0; position: relative; }
.gb-mitte-innen { transform-origin: 0 0; }
.gb-gruppen, .gb-ko { display: grid; gap: 14px; align-items: start; }
.gb-gruppe { background: #1b2d4f; border-radius: 14px; border: 2px solid #2c4470; padding: 12px 14px; min-width: 0; }
.gb-gruppe h3 { margin: 0 0 8px; font-size: 22px; color: #e8b84a; display: flex; justify-content: space-between; gap: 10px; }
.gb-gruppe h3 small { color: #9aa7c0; font-size: 15px; font-weight: 400; }
table.gb-kreuz { border-collapse: collapse; width: 100%; font-size: 18px; }
table.gb-kreuz th, table.gb-kreuz td { padding: 5px 4px; text-align: center; border-bottom: 1px solid #2c4470; }
table.gb-kreuz th { color: #9aa7c0; font-weight: 600; font-size: 15px; }
table.gb-kreuz .name { text-align: left; font-weight: 600; white-space: nowrap; }
table.gb-kreuz.eng th, table.gb-kreuz.eng td { padding: 1px 4px; line-height: 1.25; }
table.gb-kreuz td.x { background: rgba(255,255,255,.05); }
table.gb-kreuz td.s { color: #3fb26b; font-weight: 700; }
table.gb-kreuz td.v { color: #ff8a7a; }
table.gb-kreuz td.o { color: #8a9aba; }
table.gb-kreuz td.live { color: #e8b84a; font-weight: 700; animation: gb-blink 1.5s infinite; }
table.gb-kreuz td.pkt { font-weight: 800; font-size: 20px; }
table.gb-kreuz tr.weiter td.name { color: #ffe7a8; }
table.gb-kreuz tr.weiter td.platz { color: #e8b84a; }
table.gb-kreuz .gb-weiter { color: #e8b84a; }
/* Kontrast/Bewegung (Abnahme 19.10.b D-6): alle Farben >= 4,5:1 auf der Kachel #1b2d4f, Blinken faellt nur auf .75 (4,8:1) und steht bei reduzierter Bewegung */
@keyframes gb-blink { 50% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { table.gb-kreuz td.live, .gb-ko-spiel.live b { animation: none; } }
.gb-punkte { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.gb-punkte i { width: 12px; height: 12px; border-radius: 50%; background: #3a5280; }
.gb-punkte i.an { background: #e8b84a; width: 34px; border-radius: 8px; }
.gb-ko-spiel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 20px; padding: 6px 0; border-bottom: 1px solid #2c4470; }
.gb-ko-spiel span:last-child { text-align: right; }
.gb-ko-spiel b { color: #fff; }
.gb-ko-spiel.live b { color: #e8b84a; animation: gb-blink 1.5s infinite; }
.gb-ko-spiel .sieg, .gb-zeile b.sieg { color: #ffe7a8; }
.gb-ko-spiel .o, .gb-zeile.o { color: #8a9aba; }
.gb-fremd { background: #fff; color: var(--text); border-radius: 14px; padding: 14px 18px; font-size: 18px; }
.gb-unten { flex: none; display: grid; grid-template-columns: 1fr 1fr 470px; gap: 14px; padding: 14px 24px 16px; height: 190px; box-sizing: border-box; }
.gb-kasten { background: #1b2d4f; border-radius: 14px; border: 2px solid #2c4470; padding: 10px 18px; min-width: 0; overflow: hidden; }
.gb-kasten h3 { margin: 0 0 4px; font-size: 22px; color: #e8b84a; }
.gb-zwei { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.gb-zeile { display: flex; justify-content: space-between; gap: 10px; font-size: 21px; padding: 4px 0; border-bottom: 1px solid #2c4470; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-zeile .u { color: #9aa7c0; font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
.gb-qr { display: flex; gap: 16px; align-items: center; font-size: 19px; line-height: 1.3; }
.gb-qr b { color: #e8b84a; font-size: 22px; }
.gb-qr .adr { font-family: Consolas, monospace; font-size: 17px; color: #cfe0ff; }
.gb-qr-bild { flex: none; width: 150px; height: 150px; background: #fff; padding: 6px; border-radius: 8px; box-sizing: border-box; }
.gb-qr-bild svg { width: 100%; height: 100%; display: block; }
.gb-leer { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 26px; color: #9aa7c0; text-align: center; padding: 40px; }
.gb-leer-gross { font-size: 54px; font-weight: 700; color: #fff; }
.gb-hinweis { position: fixed; left: 50%; bottom: 2vh; transform: translateX(-50%); background: #c0392b; color: #fff; padding: 1vh 2vw; border-radius: 10px; font-size: 2.2vh; }

body.grossbild #btn-lv-grosslink, body.grossbild #lv-grosslink { display: none !important; }
