/* GOLF★STARS Turniere: Farben und Schrift wie Logo und Rechner (Gold, Cyan, Nacht-Grün) */
@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/cinzel-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --grund: #050d0c;
  --grund2: #0a1715;
  --flaeche: #0e1d1b;
  --flaeche2: #132724;
  --linie: rgba(120, 240, 232, 0.13);
  --linie2: rgba(120, 240, 232, 0.24);
  --text: #e9f3f1;
  --leise: #93aeaa;
  --gold: #f4b73d;
  --gold2: #ffd77a;
  --gold-tief: #b97a10;
  --cyan: #74f2ec;
  --cyan-tief: #1d8d88;
  --unter: #74f2ec;      /* unter Par: gut */
  --ueber: #ff9474;      /* über Par: schlecht */
  --par: #d9e3e1;
  --rot: #ff6b6b;
  --gruen: #5fe08f;
  --radius: 14px;
  --schatten: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  --titel: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --schrift: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 500px at 50% -180px, rgba(116, 242, 236, 0.10), transparent 70%),
    radial-gradient(900px 600px at 100% 100%, rgba(244, 183, 61, 0.06), transparent 70%),
    var(--grund);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--schrift);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.zahl { font-variant-numeric: tabular-nums; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 13, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: 1160px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 16px;
}
.kopf .logo img { height: 46px; display: block; }
.kopf .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.kopf .logo-zusatz {
  font-family: var(--titel); font-weight: 800; letter-spacing: 0.18em; font-size: 11px;
  color: var(--cyan); border-left: 1px solid var(--linie2); padding-left: 12px; text-transform: uppercase;
}
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--leise); font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
}
.nav a:hover { color: var(--text); text-decoration: none; background: var(--flaeche); }
.nav a.an { color: var(--grund); background: linear-gradient(180deg, var(--gold2), var(--gold)); }

main { max-width: 1160px; margin: 0 auto; padding: 24px 16px 80px; }

/* ---------- Überschriften ---------- */
.titel {
  font-family: var(--titel); font-weight: 800; letter-spacing: 0.04em; line-height: 1.15;
  margin: 0; text-wrap: balance;
  background: linear-gradient(180deg, #fff2c9 0%, var(--gold) 55%, var(--gold-tief) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1.titel { font-size: clamp(26px, 4.4vw, 40px); }
h2.titel { font-size: 20px; }
.ueber {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
  margin: 0 0 6px;
}
.unterzeile { color: var(--leise); margin: 8px 0 0; max-width: 68ch; }

/* ---------- Bühne (Startseite) ---------- */
.buehne {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px; border-radius: 20px; margin-bottom: 26px;
  background:
    linear-gradient(120deg, rgba(14, 29, 27, 0.95), rgba(10, 23, 21, 0.75)),
    repeating-linear-gradient(90deg, rgba(116, 242, 236, 0.035) 0 46px, transparent 46px 92px);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
}
.buehne .stern { width: 132px; filter: drop-shadow(0 8px 30px rgba(244, 183, 61, 0.35)); }
.kennzahlen { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.kennzahlen div { display: flex; flex-direction: column; }
.kennzahlen b { font-size: 26px; font-variant-numeric: tabular-nums; color: var(--text); line-height: 1; }
.kennzahlen span { font-size: 12px; color: var(--leise); margin-top: 4px; }

/* ---------- Schalter, Chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip {
  border: 1px solid var(--linie2); background: transparent; color: var(--leise);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13px;
}
.chip:hover { color: var(--text); }
.chip.an { background: var(--cyan); color: var(--grund); border-color: var(--cyan); }
.chip small { opacity: 0.7; margin-left: 4px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--linie2);
  background: var(--flaeche2); color: var(--text); font-weight: 650; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.knopf:hover { border-color: var(--cyan); text-decoration: none; }
.knopf.haupt {
  background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1b1203; border-color: transparent;
  box-shadow: 0 6px 18px -8px rgba(244, 183, 61, 0.7);
}
.knopf.haupt:hover { filter: brightness(1.06); }
.knopf.gefahr { color: var(--rot); border-color: rgba(255, 107, 107, 0.35); background: transparent; }
.knopf.gefahr:hover { border-color: var(--rot); }
.knopf.klein { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.knopf.leer { background: transparent; }
.knopf:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Turnierkarten-Raster ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tkarte {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--radius); background: var(--flaeche);
  border: 1px solid var(--linie); color: var(--text); text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.tkarte:hover { border-color: var(--linie2); transform: translateY(-2px); text-decoration: none; }
.tkarte h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.tkarte .meta { color: var(--leise); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tkarte .fuss {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--linie); padding-top: 12px; font-size: 13px; color: var(--leise);
}
.fuehrend { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; min-width: 0; }
.fuehrend span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.status {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
.status.laeuft { color: var(--gruen); border-color: rgba(95, 224, 143, 0.4); background: rgba(95, 224, 143, 0.08); }
.status.laeuft::before { content: '● '; }
.status.geplant { color: var(--gold); border-color: rgba(244, 183, 61, 0.4); }
.status.beendet { color: var(--leise); border-color: var(--linie2); }

.typ { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.marke {
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  background: rgba(116, 242, 236, 0.1); color: var(--cyan);
}
.marke.gold { background: rgba(244, 183, 61, 0.12); color: var(--gold); }

/* ---------- Ergebniszahlen ---------- */
.erg { font-variant-numeric: tabular-nums; font-weight: 750; }
.erg.unter { color: var(--unter); }
.erg.ueber { color: var(--ueber); }
.erg.par { color: var(--par); }
.erg.gross { font-size: 26px; line-height: 1; }

/* ---------- Turnier-Seite ---------- */
.zurueck { display: inline-block; color: var(--leise); margin-bottom: 14px; font-size: 14px; }
.tkopf { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px; }
.tkopf-links { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.spalten { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }

.feld {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 18px; min-width: 0;
}
.feld + .feld { margin-top: 16px; }
.feld-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.feld-kopf h2 { margin: 0; }

/* Raumkarte im Stil einer Punktekarte */
.raumkarte {
  background:
    linear-gradient(180deg, rgba(244, 183, 61, 0.09), rgba(244, 183, 61, 0.02)),
    var(--flaeche);
  border: 1px solid rgba(244, 183, 61, 0.28);
}
.raumkarte .ueber { color: var(--gold); }
.raumliste { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.raumliste dt, .raumliste dd {
  padding: 8px 0; border-bottom: 1px dashed rgba(244, 183, 61, 0.18); margin: 0;
}
.raumliste dt { color: var(--leise); font-size: 13px; padding-right: 14px; }
.raumliste dd { font-weight: 650; text-align: right; }
.raumliste dt:nth-last-of-type(1), .raumliste dd:last-of-type { border-bottom: 0; }
.aus { color: var(--leise); font-weight: 600; }
.hinweis { font-size: 13px; color: var(--leise); margin: 12px 0 0; }

/* Rangliste */
.tabelle-huelle { overflow-x: auto; margin: 0 -4px; }
table.rang { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rang th {
  text-align: left; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leise);
  font-weight: 700; padding: 8px 8px; border-bottom: 1px solid var(--linie2); white-space: nowrap;
}
.rang td { padding: 12px 8px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.rang tr:last-child td { border-bottom: 0; }
.rang .r { text-align: right; }
.rang .c { text-align: center; }
.platz {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-weight: 800; background: var(--flaeche2); color: var(--leise); font-size: 14px;
}
.platz.p1 { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1b1203; }
.platz.p2 { background: #d6dde0; color: #1a2224; }
.platz.p3 { background: #d08a4a; color: #1f1206; }
.name { font-weight: 650; }
.name small { display: block; color: var(--leise); font-weight: 500; font-size: 12px; }
.entscheid { display: block; font-size: 11px; color: var(--gold); font-weight: 600; margin-top: 2px; }
.karten { display: flex; gap: 6px; flex-wrap: wrap; }
.kchip {
  font-size: 13px; padding: 3px 8px; border-radius: 6px; background: var(--flaeche2); border: 1px solid var(--linie);
}
.kchip.zaehlt { border-color: rgba(116, 242, 236, 0.45); }
.kchip.streich { opacity: 0.5; text-decoration: line-through; }
.unvoll td { opacity: 0.62; }
.legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--leise); margin-top: 14px; }
.legende span { display: inline-flex; gap: 6px; align-items: center; }

/* Turnierbaum */
.baum { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 8px; }
.baum-runde { display: flex; flex-direction: column; min-width: 220px; flex: 1 0 220px; }
.baum-runde h3 {
  margin: 0 0 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leise);
}
.baum-spiele { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 12px; }
.duell {
  border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; background: var(--grund2);
}
.duell .seite {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; align-items: center;
}
.duell .seite + .seite { border-top: 1px solid var(--linie); }
.duell .seite.sieg { background: rgba(116, 242, 236, 0.08); }
.duell .seite.sieg .name { color: var(--cyan); }
.duell .seite.raus .name { color: var(--leise); }
.duell .leer { color: var(--leise); font-style: italic; font-weight: 500; }
.duell .zusatz { font-size: 11px; color: var(--gold); padding: 4px 12px 6px; border-top: 1px solid var(--linie); }
.sieger-band {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(244, 183, 61, 0.16), transparent);
  border: 1px solid rgba(244, 183, 61, 0.3);
}
.sieger-band img { width: 40px; }
.sieger-band b { font-size: 18px; }

/* ---------- Verwaltung ---------- */
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--linie); margin: 18px 0 20px; overflow-x: auto; }
.reiter a, .reiter button {
  padding: 10px 16px; color: var(--leise); font-weight: 650; border: 0; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none;
}
.reiter .an { color: var(--text); border-bottom-color: var(--gold); }

.zeilen { display: flex; flex-direction: column; }
.zeile {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--linie);
  flex-wrap: wrap;
}
.zeile:last-child { border-bottom: 0; }
.zeile .grow { flex: 1; min-width: 160px; }
.zeile .aktionen { display: flex; gap: 6px; flex-wrap: wrap; }
.leise { color: var(--leise); font-size: 13px; }
.leerstelle { padding: 26px; text-align: center; color: var(--leise); border: 1px dashed var(--linie2); border-radius: 12px; }

.formular { display: grid; gap: 16px; }
.formular .reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--leise); font-weight: 600; }
.eingabe, select.eingabe, textarea.eingabe {
  background: var(--grund2); border: 1px solid var(--linie2); border-radius: 10px; padding: 10px 12px;
  color: var(--text); width: 100%; min-width: 0;
}
.eingabe:focus { outline: 2px solid rgba(116, 242, 236, 0.5); outline-offset: 1px; border-color: transparent; }
textarea.eingabe { min-height: 70px; resize: vertical; }
.abschnitt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin: 8px 0 -4px; }

.wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.wahl label {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--linie2); background: var(--grund2); position: relative;
}
.wahl label:hover { border-color: var(--cyan-tief); }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label:has(input:checked) { border-color: var(--gold); background: rgba(244, 183, 61, 0.08); }
.wahl label:has(input:focus-visible) { outline: 2px solid var(--cyan); }
.wahl b { font-size: 15px; }
.wahl span { font-size: 12px; color: var(--leise); line-height: 1.4; }
.wahl label:has(input:disabled) { opacity: 0.35; cursor: not-allowed; }

.schalter { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.schalter input { width: 40px; height: 22px; appearance: none; border-radius: 999px; background: var(--flaeche2); border: 1px solid var(--linie2); position: relative; cursor: pointer; transition: background 0.15s; flex: none; }
.schalter input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--leise); transition: transform 0.15s, background 0.15s; }
.schalter input:checked { background: var(--cyan-tief); }
.schalter input:checked::after { transform: translateX(18px); background: #fff; }

details.info { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--leise); }
details.info summary { cursor: pointer; font-weight: 650; color: var(--text); }
details.info ul { margin: 8px 0 0; padding-left: 18px; }

/* Ergebnis-Eingabe mit Vorzeichen-Schalter */
.score { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.vz { display: flex; border: 1px solid var(--linie2); border-radius: 10px; overflow: hidden; flex: none; }
.vz button {
  width: 46px; border: 0; background: var(--grund2); color: var(--leise); font-size: 22px; font-weight: 800; cursor: pointer;
  line-height: 1;
}
.vz button.an[data-vz='-'] { background: var(--cyan); color: var(--grund); }
.vz button.an[data-vz='+'] { background: var(--ueber); color: var(--grund); }
.score input { width: 96px; font-size: 22px; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; }
.score output { align-self: center; font-size: 13px; color: var(--leise); min-width: 120px; }
.score output b { font-size: 18px; }
.lochfeld { width: 76px; font-size: 20px; font-weight: 750; text-align: center; }

.ergebnis-zeile {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--linie); border-radius: 12px; background: var(--grund2);
}
.ergebnis-zeile + .ergebnis-zeile { margin-top: 10px; }
.ergebnis-zeile .seite-a, .ergebnis-zeile .seite-b { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ergebnis-zeile .seite-b { align-items: flex-end; text-align: right; }
.ergebnis-zeile .gegen { color: var(--leise); font-weight: 700; }
.ergebnis-zeile .unten { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

.liste-pick { max-height: 380px; overflow-y: auto; border: 1px solid var(--linie); border-radius: 12px; }
.liste-pick label { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--linie); cursor: pointer; }
.liste-pick label:last-child { border-bottom: 0; }
.liste-pick label:hover { background: var(--flaeche2); }
.liste-pick input { accent-color: var(--gold); width: 18px; height: 18px; }
.setzliste li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--linie); }
.setzliste { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.setzliste li::before { counter-increment: s; content: counter(s); width: 26px; color: var(--gold); font-weight: 800; text-align: right; }
.setzliste li .grow { flex: 1; }

.hinweis-band {
  display: block; padding: 12px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(116, 242, 236, 0.07); border: 1px solid rgba(116, 242, 236, 0.22); color: var(--text); margin-bottom: 16px;
}
.hinweis-band.gold { background: rgba(244, 183, 61, 0.08); border-color: rgba(244, 183, 61, 0.28); }
.fehler { color: var(--rot); font-size: 13px; font-weight: 600; }

/* Dialog und Meldung */
dialog {
  background: var(--flaeche); color: var(--text); border: 1px solid var(--linie2); border-radius: 16px;
  padding: 22px; width: min(460px, calc(100vw - 32px)); box-shadow: var(--schatten);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
dialog h2 { margin: 0 0 10px; font-size: 19px; }
dialog p { color: var(--leise); margin: 0 0 18px; }
dialog .knoepfe { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.meldung {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--flaeche2); border: 1px solid var(--cyan-tief); color: var(--text); padding: 12px 18px;
  border-radius: 12px; font-weight: 600; transition: 0.2s; z-index: 50; box-shadow: var(--schatten);
  max-width: calc(100vw - 32px);
}
.meldung.zeigen { opacity: 1; transform: translateX(-50%) translateY(0); }

.fusszeile { text-align: center; color: var(--leise); font-size: 12px; padding: 30px 16px 40px; border-top: 1px solid var(--linie); }
.fusszeile img { height: 26px; opacity: 0.8; display: block; margin: 0 auto 8px; }

/* ---------- Anmeldung und Kopf ---------- */
.nav-ich {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px;
  border: 1px solid var(--linie2); background: var(--flaeche); color: var(--text); font-weight: 650; font-size: 14px; cursor: pointer;
}
.nav-ich span { font-size: 12px; color: var(--leise); background: var(--flaeche2); padding: 4px 10px; border-radius: 999px; }
.nav-ich:hover span { color: var(--text); }
.anmelden { max-width: 440px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.anmelden .formular { width: 100%; text-align: left; }
.anmelden-stern { width: 84px; filter: drop-shadow(0 8px 26px rgba(244, 183, 61, 0.35)); }
.status.dabei { color: var(--cyan); border-color: rgba(116, 242, 236, 0.4); }
.du { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grund); background: var(--cyan); padding: 1px 6px; border-radius: 4px; vertical-align: middle; }
.klein { font-size: 12px; }
.zeile-link { color: var(--text); text-decoration: none; border-radius: 8px; }
.zeile-link:hover { background: var(--flaeche2); text-decoration: none; }
a.duell { display: block; color: var(--text); text-decoration: none; transition: border-color 0.15s; }
a.duell:hover { border-color: var(--cyan-tief); text-decoration: none; }
a.kchip { color: inherit; text-decoration: none; }

/* Marke wie in der Vorlage: hochgeladen / fehlt noch */
.marke-p { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--flaeche2); color: var(--leise); white-space: nowrap; }
.marke-p.da { background: rgba(95, 224, 143, 0.14); color: var(--gruen); }
.marke-p.warte { background: rgba(244, 183, 61, 0.14); color: var(--gold); }

/* Screenshot-Karten (Vorschau 16:9, fest nach dem Hochladen) */
.shot-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shot { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.meine-karte .shot { background: var(--grund2); }
.shot-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vorschau { aspect-ratio: 16 / 9; max-width: 100%; background: var(--grund2); border: 1px dashed var(--linie2); border-radius: 10px; display: grid; place-items: center; overflow: hidden; color: var(--leise); font-size: 14px; }
.vorschau a, .vorschau img { width: 100%; height: 100%; display: block; }
.vorschau img { object-fit: contain; background: #000; }
.shot-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.datei-knopf { cursor: pointer; align-self: flex-start; }
.datei-knopf.laedt { opacity: 0.6; pointer-events: none; }
.datei-knopf.laedt::after { content: ' ...'; }
.meine-karte { border-top: 1px solid var(--linie); padding: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.meine-karte-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Duell-Seite */
.gegen-wort { font-family: var(--schrift); font-size: 0.55em; -webkit-text-fill-color: var(--leise); color: var(--leise); font-weight: 600; letter-spacing: 0; }
.ergebnis-gross { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; padding: 10px 0; }
.ergebnis-gross > div { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.ergebnis-gross .erg.gross, .ergebnis-gross .gross { font-size: 40px; }
.ergebnis-gross span:not(.erg) { color: var(--leise); font-size: 13px; }
.ergebnis-gross > b { font-size: 28px; color: var(--leise); }
.bestaetigen-box { margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px solid rgba(244, 183, 61, 0.35); background: rgba(244, 183, 61, 0.07); }
.melde-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 10px; }
#formplatz:not(:empty) { margin-top: 16px; border-top: 1px solid var(--linie); padding-top: 14px; }

/* Benutzer */
select.eingabe.rolle-wahl { width: auto; min-width: 130px; flex: none; }
.aus-zeile .name { color: var(--leise); }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .spalten { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  .kopf .logo img { height: 34px; }
  .kopf .logo-zusatz { display: none; }
  .nav a { padding: 7px 11px; font-size: 13px; }
  .buehne { grid-template-columns: 1fr; padding: 20px; }
  .buehne .stern { display: none; }
  main { padding-top: 16px; }
  .raster { grid-template-columns: 1fr; }
  .rang .weg { display: none; }
  .ergebnis-zeile { grid-template-columns: 1fr; }
  .ergebnis-zeile .seite-b { align-items: flex-start; text-align: left; }
  .ergebnis-zeile .gegen { display: none; }
}
