/* cued – Neon-Arkade */

:root {
  --grund: #0A0D14;
  --flaeche: #121725;
  --flaeche-hell: #18203A;
  --linie: #22304A;
  --linie-hell: #3A4A66;
  --text: #E6EEF8;
  --text-gedaempft: #8A9BB4;
  --text-schwach: #5D6B82;
  --tuerkis: #2EE6D6;
  --tuerkis-hell: #9FF7EF;
  --magenta: #FF4FD8;
  --gelb: #E8E36A;
  --orange: #F0A35E;
  --rot: #FF6B7A;
  --schrift-titel: 'Chakra Petch', 'Segoe UI', sans-serif;
  --schrift-text: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--grund);
  background-image:
    linear-gradient(rgba(46, 230, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 214, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 16px;
  line-height: 1.45;
}

a { color: var(--tuerkis); }
a:hover { color: var(--tuerkis-hell); }

h1, h2, h3 { font-family: var(--schrift-titel); margin: 0; }

.seite {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 640px) {
  .seite { padding: 16px 16px 48px; gap: 24px; }
}

/* ---------- Kopfzeile ---------- */

.kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linie);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.logo-wort {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--tuerkis);
  text-shadow: 0 0 18px rgba(46, 230, 214, 0.55);
}
.logo-zusatz {
  font-size: 13px;
  color: var(--text-gedaempft);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav a, .nav span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  text-decoration: none;
  color: #B7C4D8;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a.aktiv { color: var(--tuerkis); border-bottom-color: var(--tuerkis); }
.nav span.bald { color: var(--text-schwach); cursor: default; }
.nav .bald-marke {
  font-size: 10px;
  padding: 1px 5px;
  border: 1px solid var(--linie-hell);
  border-radius: 4px;
  color: var(--text-schwach);
}

.nutzer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nutzer-text { display: flex; flex-direction: column; line-height: 1.2; }
.nutzer-name { font-weight: 600; color: var(--text); text-decoration: none; }
.nutzer-rolle { font-size: 12px; color: var(--magenta); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Bausteine ---------- */

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--schrift-titel);
  font-weight: 700;
}
.avatar.gross { width: 44px; height: 44px; border: 2px solid currentColor; }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--tuerkis);
  background: transparent;
  color: var(--tuerkis);
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
}
.knopf:hover { background: rgba(46, 230, 214, 0.1); box-shadow: 0 0 18px rgba(46, 230, 214, 0.3); color: var(--tuerkis); }
.knopf.voll { background: var(--tuerkis); color: var(--grund); }
.knopf.voll:hover { background: var(--tuerkis-hell); color: var(--grund); }
.knopf.magenta { border-color: var(--magenta); background: var(--magenta); color: var(--grund); }
.knopf.leise { border-color: var(--linie-hell); color: #B7C4D8; font-weight: 600; }
.knopf.leise:hover { background: var(--flaeche-hell); box-shadow: none; color: var(--text); }
.knopf.klein { min-height: 36px; padding: 0 12px; font-size: 13px; }
.knopf:disabled, .knopf.aus { border-color: var(--linie); color: var(--text-schwach); background: transparent; box-shadow: none; cursor: default; }

.dabei {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(46, 230, 214, 0.12);
  color: var(--tuerkis);
  font-weight: 600;
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}

.marke {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.marke.online { background: var(--tuerkis); color: var(--grund); }
.marke.arbeit, .marke.geplant { border: 1px solid var(--linie-hell); color: var(--text-gedaempft); }

.gedaempft { color: var(--text-gedaempft); }
.leer { color: var(--text-gedaempft); padding: 16px 20px; }

.abschnitt { display: flex; flex-direction: column; gap: 14px; }
.abschnitt-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.abschnitt-kopf h2 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.seitenleiste h2 { font-size: 18px; }

.begruessung h1 { font-weight: 700; font-size: 56px; line-height: 1.05; }
.begruessung h1 span { color: var(--tuerkis); }
.begruessung p { margin: 6px 0 0; font-size: 18px; color: var(--text-gedaempft); }
@media (max-width: 640px) { .begruessung h1 { font-size: 40px; } }

.spalten {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.hauptspalte { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.seitenleiste { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kasten { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hinweise (Meldungen, Einladungen) ---------- */

.hinweis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--magenta);
  border-radius: var(--radius);
  background: rgba(255, 79, 216, 0.08);
  box-shadow: 0 0 28px rgba(255, 79, 216, 0.2);
}
.hinweis p { margin: 0; flex: 1 1 280px; font-size: 17px; }
.hinweis.erfolg { border-color: var(--tuerkis); background: rgba(46, 230, 214, 0.08); box-shadow: 0 0 28px rgba(46, 230, 214, 0.15); }
.hinweis.fehler { border-color: var(--rot); background: rgba(255, 107, 122, 0.08); box-shadow: none; }

/* ---------- Events ---------- */

.event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
}
.event-datum {
  width: 64px;
  text-align: center;
  font-family: var(--schrift-titel);
  line-height: 1;
  text-transform: uppercase;
}
.event-datum .tag-name, .event-datum .monat { font-size: 13px; letter-spacing: 2px; }
.event-datum .tag-name { color: var(--tuerkis); }
.event-datum .monat { color: var(--text-gedaempft); }
.event-datum .tag { font-size: 34px; font-weight: 700; }
.event-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event-text h3 { font-family: var(--schrift-text); font-size: 19px; font-weight: 600; }
.event-text h3 a { color: var(--text); text-decoration: none; }
.event-text h3 a:hover { color: var(--tuerkis); }
.event-text p { margin: 0; color: var(--text-gedaempft); font-size: 15px; }
.event.vorbei { opacity: 0.6; }

.event-detail { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.event-detail h1 { font-size: 40px; line-height: 1.1; }
.eckdaten { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--text-gedaempft); }
.eckdaten span { display: inline-flex; align-items: center; gap: 8px; }
.beschreibung { white-space: pre-line; font-size: 17px; max-width: 70ch; overflow-wrap: anywhere; }
.beschreibung a { color: var(--tuerkis); text-decoration: underline; text-underline-offset: 3px; }
.beschreibung a:hover { color: var(--text); }

/* Event-Bilder: Titelbild (ganz sichtbar, auch Hochformat-Flyer), Galerie, Vergrößerung */
.titelbild { display: block; padding: 0; border: 0; background: rgba(0, 0, 0, 0.25); border-radius: 12px; overflow: hidden; cursor: zoom-in; margin: -8px -8px 0; }
.titelbild img { display: block; margin: 0 auto; max-width: 100%; max-height: 480px; object-fit: contain; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.galerie-bild { position: relative; padding: 0; border: 1px solid var(--linie-hell); border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, 0.25); cursor: zoom-in; aspect-ratio: 4 / 3; }
.galerie-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.galerie-bild:hover img, .galerie-bild:focus-visible img { transform: scale(1.04); }
.galerie-bild:focus-visible, .titelbild:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; }
.galerie-bild span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 13px; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
.leuchtkasten { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(5, 7, 12, 0.92); }
.leuchtkasten[hidden] { display: none; }
.leuchtkasten figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: min(1400px, 100%); }
.leuchtkasten img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.leuchtkasten figcaption { color: var(--text-gedaempft); text-align: center; }
.lk-zu, .lk-pfeil { flex: none; border: 1px solid var(--linie-hell); background: rgba(255, 255, 255, 0.06); color: var(--text); border-radius: 999px; cursor: pointer; font-size: 28px; line-height: 1; }
.lk-zu { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; }
.lk-pfeil { width: 48px; height: 48px; }
.lk-zu:hover, .lk-pfeil:hover { border-color: var(--tuerkis); color: var(--tuerkis); }
@media (max-width: 600px) { .lk-pfeil { display: none; } }
.event-vorschau { flex: none; width: 112px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--linie-hell); }
.event-vorschau img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .event-vorschau { display: none; } }

/* ---------- Spiele ---------- */

.spiele { display: flex; flex-wrap: wrap; gap: 16px; }
.spiel {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  text-decoration: none;
  color: var(--text);
}
.spiel.online { border-color: var(--tuerkis); box-shadow: 0 0 22px rgba(46, 230, 214, 0.18); }
.spiel-bild {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #0E1424;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--schrift-titel);
  font-size: 28px;
  font-weight: 700;
  color: var(--linie-hell);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.spiel-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spiel-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spiel-name { font-family: var(--schrift-titel); font-weight: 700; font-size: 18px; }
.spiel-info { font-size: 14px; color: var(--text-gedaempft); }

/* ---------- Mitglieder & Listen ---------- */

.person { display: flex; align-items: center; gap: 12px; }
.person-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.person-name { font-weight: 600; }
.person-info { font-size: 13px; color: var(--text-gedaempft); }

.kasten-titel { font-size: 18px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.person-info.frei { color: var(--tuerkis); }
.person-info.beschaeftigt { color: var(--orange); }
.leer-eintrag { padding: 4px 0; }

.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.teilnehmer { display: flex; flex-wrap: wrap; gap: 10px; }
.teilnehmer li { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--flaeche-hell); }
.teilnehmer .avatar { width: 32px; height: 32px; font-size: 14px; }

/* ---------- Chat ---------- */

.nav .zaehler {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--magenta);
  color: var(--grund);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-spalte { gap: 14px; }
.chat-titel { font-weight: 600; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; }
.chat-verlauf {
  height: min(62vh, 640px);
  min-height: 320px;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chat-tag {
  align-self: center;
  margin: 12px 0 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--flaeche-hell);
  color: var(--text-gedaempft);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.chat-nachricht { display: flex; gap: 12px; align-items: flex-start; padding: 6px 8px; border-radius: 10px; }
.chat-nachricht:not(.folge) { margin-top: 8px; }
.chat-nachricht.folge { padding-left: 60px; padding-top: 1px; }
.chat-nachricht:hover { background: rgba(255, 255, 255, 0.025); }
.chat-nachricht.eigene .chat-kopf strong { color: var(--tuerkis); }
.chat-inhalt { min-width: 0; }
.chat-kopf { display: flex; gap: 10px; align-items: baseline; }
.chat-kopf span { font-size: 12px; color: var(--text-schwach); }
.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
.chat-text a { color: var(--tuerkis); text-decoration: underline; text-underline-offset: 3px; }
.chat-eingabe { display: flex; gap: 10px; position: relative; }
.emoji-knopf { flex: none; width: 48px; border-radius: 10px; border: 1px solid var(--linie-hell); background: var(--flaeche); font-size: 22px; cursor: pointer; }
.emoji-knopf:hover, .emoji-knopf[aria-expanded="true"] { border-color: var(--tuerkis); }
.emoji-auswahl { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; display: grid; grid-template-columns: repeat(9, 40px); gap: 4px; padding: 10px; border-radius: 12px; border: 1px solid var(--linie-hell); background: var(--flaeche); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
.emoji-auswahl button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; cursor: pointer; }
.emoji-auswahl button:hover, .emoji-auswahl button:focus-visible { background: rgba(46, 230, 214, 0.15); outline: none; }
@media (max-width: 480px) { .emoji-auswahl { grid-template-columns: repeat(6, 40px); } }
.chat-eingabe input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--linie-hell);
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
}
.chat-eingabe input:focus { outline: none; border-color: var(--tuerkis); box-shadow: 0 0 0 3px rgba(46, 230, 214, 0.25); }

/* ---------- Tabellen (Rangliste) ---------- */

.tabelle-kasten { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle th, .tabelle td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle thead th { font-family: var(--schrift-titel); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-gedaempft); }
.tabelle tbody tr:last-child td, .tabelle tbody tr:last-child th { border-bottom: 0; }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle .wertung { font-family: var(--schrift-titel); font-weight: 700; font-size: 17px; color: var(--tuerkis); }
.tabelle .platz { font-family: var(--schrift-titel); font-weight: 700; width: 56px; }
.tabelle .platz-1 { color: var(--gelb); }
.tabelle .platz-2 { color: #B7C4D8; }
.tabelle .platz-3 { color: #C98B5A; }
.tabelle tr.ich td { background: rgba(46, 230, 214, 0.06); }
.tabelle .person { gap: 10px; }
.tabelle.vergleich td.selbst { color: var(--text-schwach); }
.tabelle.vergleich tbody th { font-weight: 600; }
.avatar.klein { width: 28px; height: 28px; font-size: 13px; }
.rang-zeile { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--linie); }
.rang-zeile:last-child { border-bottom: 0; }
.rang-zeile .platz { width: 22px; font-family: var(--schrift-titel); font-weight: 700; color: var(--text-gedaempft); }
.rang-zeile .wert { font-family: var(--schrift-titel); font-weight: 600; }

/* ---------- Bestenliste ---------- */

/* drei wechselnde Spalten oben */
.vitrine { display: flex; justify-content: center; gap: 16px; transition: opacity 0.35s ease, transform 0.35s ease; }
.vitrine > * { flex: 0 1 calc((100% - 32px) / 3); min-width: 0; }   /* immer Drittel-Breite, auch bei 1–2 Spalten */
.vitrine.wechsel { opacity: 0; transform: translateY(6px); }
.vitrine-spalte { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.vitrine-spalte:hover { border-color: var(--tuerkis); box-shadow: 0 0 18px rgba(46, 230, 214, 0.18); }
.vitrine-spalte .v-spiel { font-family: var(--schrift-titel); font-weight: 700; font-size: 20px; color: var(--tuerkis); }
.vitrine-spalte .v-variante { font-size: 13px; color: var(--text-gedaempft); margin-bottom: 6px; }
.vitrine-spalte ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vitrine-spalte li { display: flex; align-items: center; gap: 10px; }
.vitrine-spalte .platz { width: 18px; font-family: var(--schrift-titel); font-weight: 700; color: var(--text-gedaempft); }
.vitrine-spalte .platz-1 { color: var(--gelb); }
.vitrine-spalte .platz-2 { color: #B7C4D8; }
.vitrine-spalte .platz-3 { color: #C98B5A; }
.vitrine-spalte .v-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.vitrine-spalte .v-punkte { font-family: var(--schrift-titel); font-weight: 700; font-variant-numeric: tabular-nums; }
.vitrine-spalte .v-leer { color: var(--text-gedaempft); font-size: 14px; }
@media (max-width: 760px) { .vitrine { flex-direction: column; } .vitrine > * { flex-basis: auto; } }

/* Spiele zum Aufklappen */
.hs-spiel { padding: 0; overflow: hidden; }
.hs-spiel + .hs-spiel { margin-top: 12px; }
.hs-spiel summary { display: flex; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; list-style: none; }
.hs-spiel summary::-webkit-details-marker { display: none; }
.hs-spiel summary:hover .hs-spiel-name { color: var(--tuerkis); }
.hs-spiel-bild { width: 84px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--linie-hell); }
.hs-spiel-name { font-family: var(--schrift-titel); font-weight: 700; font-size: 22px; transition: color 0.2s; }
.hs-pfeil { margin-left: auto; width: 12px; height: 12px; border-right: 2px solid var(--text-gedaempft); border-bottom: 2px solid var(--text-gedaempft); transform: rotate(45deg); transition: transform 0.25s; }
.hs-spiel[open] .hs-pfeil { transform: rotate(-135deg); }
/* bis zu drei schmale Listen nebeneinander (eine Variante = ein Drittel der Breite) */
.hs-varianten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px 28px; padding: 4px 18px 20px; border-top: 1px solid var(--linie); }
@media (max-width: 1320px) { .hs-varianten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hs-varianten { grid-template-columns: minmax(0, 1fr); } }
.hs-variante .tabelle { font-size: 14px; }
.hs-variante .tabelle th, .hs-variante .tabelle td { padding: 8px 6px; }
.hs-variante .tabelle .platz, .hs-variante .tabelle > thead th:first-child { width: 44px; text-align: center; }
.hs-variante .tabelle .wertung { font-size: 16px; }
.hs-variante .tabelle tr.details-zeile > td { padding: 4px 0 10px; }
.hs-variante .persoenlich-wert strong { font-size: 22px; }
.hs-variante { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.hs-variante h3 { margin: 0; font-family: var(--schrift-titel); font-size: 18px; }
.hs-regeln { margin: 0; font-size: 14px; }
.leer-hinweis { margin: 0; color: var(--text-gedaempft); }
.persoenlich { padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(46, 230, 214, 0.45); background: rgba(46, 230, 214, 0.05); display: flex; flex-direction: column; gap: 6px; }
.persoenlich-titel { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--tuerkis); font-weight: 600; }
.persoenlich-titel small { text-transform: none; letter-spacing: 0; color: var(--text-schwach); font-weight: 500; }
.persoenlich-wert { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.persoenlich-wert strong { font-family: var(--schrift-titel); font-size: 24px; color: var(--tuerkis); }
.persoenlich-wert .aufklapp { margin-left: auto; }
.aufklapp {
  padding: 4px 12px; border-radius: 8px; border: 1px solid var(--linie-hell); background: transparent;
  color: var(--text-gedaempft); font: inherit; font-size: 13px; cursor: pointer;
}
.aufklapp:hover, .aufklapp[aria-expanded="true"] { color: var(--tuerkis); border-color: var(--tuerkis); }
.tabelle tr.details-zeile > td { background: rgba(0, 0, 0, 0.18); padding: 6px 14px 14px; }
.runden { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.runden th, .runden td { padding: 4px 4px; text-align: left; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.runden th { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-schwach); font-weight: 600; }
.runden .zahl { text-align: right; font-variant-numeric: tabular-nums; }
/* Rundentabelle: Kopf und Werte schließen exakt gleich ab (eigene Abstände statt der äußeren Tabelle,
   kein Buchstabenabstand im Kopf, Farbstein hängt links vor dem Namen – der Kopf rückt genauso ein) */
.hs-variante .runden th, .hs-variante .runden td { padding: 4px 5px; letter-spacing: 0; border-bottom: 1px solid var(--linie); }
.hs-variante .runden th { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-schwach); }
.runden .nr { text-align: center; width: 28px; }
.hs-variante .runden .mit-stein, .runden td:nth-child(2) { padding-left: 21px; position: relative; }
.runden .stein { position: absolute; left: 5px; top: 50%; margin-top: -5px; width: 10px; height: 10px; border-radius: 50%; }
.runden .stein.weiss { background: radial-gradient(circle at 35% 30%, #fff, #D9D4C7 60%, #9E988A); }
.runden .stein.schwarz { background: radial-gradient(circle at 35% 30%, #77777f, #1C1C21 60%, #000); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.runden .erg-win { color: #7CF08A; font-weight: 600; }
.runden .erg-loss { color: #FF7A7A; }
.runden .erg-draw { color: var(--gelb); }

/* ---------- Formulare ---------- */

.formular-seite {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.formular-karte {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.formular-karte .logo { justify-content: center; }
.formular-karte .logo-wort { font-size: 56px; }
.formular-karte h1 { font-size: 22px; font-weight: 600; letter-spacing: 1px; text-align: center; }
.formular-karte p { margin: 0; color: var(--text-gedaempft); text-align: center; }

form.felder { display: flex; flex-direction: column; gap: 16px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-weight: 600; font-size: 15px; }
.feld input, .feld textarea, .feld select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--linie-hell);
  background: var(--grund);
  color: var(--text);
  font: inherit;
}
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: none;
  border-color: var(--tuerkis);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, 0.25);
}
.feld .hilfe { font-size: 13px; color: var(--text-gedaempft); }
.feld .hilfe ul { margin: 4px 0 0; padding-left: 18px; }
.feld .fehler, .formfehler { font-size: 14px; color: var(--rot); }
.formfehler ul { margin: 0; padding-left: 18px; }

.zeile-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.zeile-form .feld { flex: 1 1 240px; }

.einladung-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; }
.einladung-zeile .person-text { flex: 1 1 220px; }
.link-feld {
  flex: 2 1 320px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--linie);
  background: var(--grund);
  color: var(--tuerkis);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 13px;
}

.fuss {
  padding-top: 16px;
  border-top: 1px solid var(--linie);
  color: var(--text-schwach);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.fuss a { color: var(--text-gedaempft); }

.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 2px; }
