/* Analyse-Panel Orange City (01.12.2026, Marian: "ein geiles Panel mit exzellentem Design", dunkel mit Orange).
   Ruhige dunkle Flaechen, Orange fuer Marke und Aktion, Farben der Ergebnisse nur fuer Ergebnisse:
   positiv rot, negativ gruen, verweigert gelb, Bann rose, PC-Reset blau. */
:root {
  --grund: #08080a;
  --seite: #0b0b0e;
  --flaeche: #111115;
  --flaeche-2: #16161b;
  --flaeche-hover: #1a1a20;
  --feld: #0c0c0f;
  --linie: #1c1c22;
  --rand: #27272e;
  --rand-2: #34343d;
  --text: #f2f2f4;
  --text-2: #a3a3ad;
  --text-3: #6c6c76;
  --orange: #ff8a1f;
  --orange-2: #ffb547;
  --orange-text: #ffa24a;
  --orange-hauch: rgba(255, 138, 31, .1);
  --orange-glanz: rgba(255, 138, 31, .22);
  --positiv: #f87171;
  --negativ: #4ade80;
  --verweigert: #fbbf24;
  --gebannt: #fb7185;
  --reset: #60a5fa;
  --rot: #f87171;
  --rot-hauch: rgba(248, 113, 113, .1);
  --gelb: #fbbf24;
  --gelb-hauch: rgba(251, 191, 36, .1);
  --radius: 16px;
  --radius-klein: 10px;
  --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --leiste: 256px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; min-height: 100vh; background: var(--grund); color: var(--text); font: 14.5px/1.55 var(--schrift); -webkit-font-smoothing: antialiased; }
body::before {
  /* Leichtes Leuchten oben rechts, damit die Flaeche nicht tot wirkt; bewegt sich nicht. */
  content: ""; position: fixed; inset: -20vh -10vw auto auto; width: 70vw; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 138, 31, .07), transparent 70%);
}
[hidden] { display: none !important; }
a { color: var(--orange-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -.02em; font-family: var(--schrift-titel); }
.leise { color: var(--text-2); }
.fein { color: var(--text-3); font-size: 12.5px; }
.mono { font-family: var(--mono); }
.sym { display: inline-flex; flex: none; }
.sym svg { width: 16px; height: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 138, 31, .35); }
* { scrollbar-width: thin; scrollbar-color: #2a2a31 transparent; }

/* ---------- Rahmen: Seitenleiste links, Inhalt rechts ---------- */
.rahmen { position: relative; z-index: 1; display: flex; min-height: 100vh; }
.leiste {
  position: sticky; top: 0; height: 100vh; width: var(--leiste); flex: none; display: flex; flex-direction: column; gap: 18px;
  padding: 20px 14px 14px; background: linear-gradient(180deg, #0d0d11, var(--seite)); border-right: 1px solid var(--linie); overflow-y: auto;
}
.marke { display: flex; align-items: center; gap: 11px; padding: 2px 6px; color: var(--text); }
.marke:hover { text-decoration: none; }
.logo { border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 6px 20px rgba(255, 138, 31, .18); }
.marke-text { display: grid; line-height: 1.2; }
.marke-text strong { font-size: 14.5px; font-weight: 650; }
.marke-text small { font-size: 12px; color: var(--orange-text); font-weight: 500; }
.neu-knopf { height: 40px; width: 100%; }
.navi { display: grid; gap: 18px; }
.navi-gruppe { display: grid; gap: 2px; }
.navi-titel { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 0 10px 6px; }
.navi a {
  position: relative; display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px; border-radius: 9px;
  color: var(--text-2); font-weight: 500; transition: background .15s, color .15s;
}
.navi a:hover { background: var(--flaeche); color: var(--text); text-decoration: none; }
.navi a.aktiv { background: linear-gradient(90deg, rgba(255, 138, 31, .14), rgba(255, 138, 31, .03)); color: var(--text); }
.navi a.aktiv::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.navi a.aktiv .sym { color: var(--orange-text); }
.navi .zahl { margin-left: auto; font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ich { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche); }
.ich img, .ich .monogramm { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.ich-text { display: grid; min-width: 0; line-height: 1.25; }
.ich-text strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ich-text small { font-size: 12px; color: var(--orange-text); }
.ich .knopf { margin-left: auto; }
.monogramm { display: inline-grid; place-items: center; background: linear-gradient(135deg, #2a1a0b, #191013); border: 1px solid #3a2614; font-weight: 650; color: var(--orange-text); }

.haupt-bereich { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oben {
  position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 32px;
  background: rgba(8, 8, 10, .78); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--linie);
}
/* Nur am Handy (unter 900 px), dort oeffnet er die Seitenleiste. Mit .oben davor, sonst gewinnt .knopf weiter unten (display: inline-flex). */
.oben .menue-knopf { display: none; }
.pfad { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13.5px; min-width: 0; }
.pfad strong { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfad .trenner { opacity: .5; }

.inhalt { width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 32px 140px; }
.seitenkopf { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.seitenkopf > div:first-child { flex: 1 1 380px; min-width: 0; }
.seitenkopf h1 { margin: 0 0 4px; font-size: 28px; font-weight: 650; line-height: 1.2; }
.seitenkopf p { margin: 0; max-width: 680px; }
.seitenkopf .aktionen { display: flex; gap: 8px; flex-wrap: wrap; }
.kennung { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 8px; }
.kennung::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.stand { color: var(--text-3); font-size: 12.5px; margin: 18px 0 0; }
.laden { color: var(--text-3); padding: 70px 0; text-align: center; }
mark { background: rgba(255, 138, 31, .25); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Knoepfe und Felder ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 10px; background: var(--flaeche-2); border: 1px solid var(--rand); cursor: pointer; font-size: 13.5px; font-weight: 550; white-space: nowrap; color: var(--text);
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.knopf:hover { background: var(--flaeche-hover); border-color: var(--rand-2); text-decoration: none; }
.knopf:active { transform: translateY(1px); }
.knopf.still { background: transparent; border-color: transparent; color: var(--text-2); }
.knopf.still:hover { background: var(--flaeche-2); color: var(--text); }
.knopf.aktiv { background: var(--orange-hauch); border-color: rgba(255, 138, 31, .25); color: var(--orange-text); }
.knopf.haupt {
  background: linear-gradient(180deg, #ff9a35, #f57a0c); border-color: #ff9d3e; color: #170b02; font-weight: 650;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px -8px rgba(255, 138, 31, .7);
}
.knopf.haupt:hover { background: linear-gradient(180deg, #ffa647, #ff8a1f); border-color: #ffb066; }
.knopf.gefahr { color: var(--rot); }
.knopf.gefahr:hover { background: var(--rot-hauch); border-color: rgba(248, 113, 113, .3); }
.knopf.gefahr-voll { background: #b42a2a; border-color: #d23c3c; color: #fff; }
.knopf.gefahr-voll:hover { background: #c83333; }
.knopf.klein { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.knopf.symbol { width: 34px; padding: 0; }
.knopf.klein.symbol { width: 30px; }
.knopf.breit { width: 100%; height: 44px; font-size: 14.5px; }
.knopf.gestrichelt { width: 100%; height: 44px; background: transparent; border: 1px dashed var(--rand); color: var(--text-2); }
.knopf.gestrichelt:hover { border-color: var(--rand-2); color: var(--text); }
.knopf[disabled] { opacity: .4; cursor: default; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: transparent; border: 1px solid var(--rand); color: var(--text-2); font-size: 12.5px; cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--rand-2); }
.chip.aktiv { border-color: rgba(255, 138, 31, .45); background: var(--orange-hauch); color: var(--orange-text); }

.feld { width: 100%; background: var(--feld); border: 1px solid var(--rand); border-radius: var(--radius-klein); padding: 9px 12px; min-height: 40px; transition: border-color .15s, box-shadow .15s; }
.feld::placeholder { color: var(--text-3); }
.feld:focus { outline: none; border-color: rgba(255, 138, 31, .55); box-shadow: 0 0 0 3px rgba(255, 138, 31, .14); }
textarea.feld { resize: vertical; line-height: 1.55; }
select.feld { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.feld.klein { min-height: 32px; padding: 4px 10px; font-size: 13px; width: auto; }
.feld.fehlerhaft { border-color: rgba(248, 113, 113, .6); }
.feldgruppe { display: grid; gap: 7px; margin-bottom: 18px; min-width: 0; }
.feldgruppe > label, .feldgruppe > .beschriftung { font-size: 13px; color: var(--text-2); font-weight: 550; display: flex; align-items: center; gap: 8px; }
.feldgruppe .optional { color: var(--text-3); font-weight: 400; font-size: 12px; }
.feldgruppe .hilfe { color: var(--text-3); font-size: 12.5px; margin: -2px 0 0; }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld-meldung { color: var(--rot); font-size: 13px; min-height: 18px; margin: 4px 0 0; }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; }

.segmente { display: inline-flex; padding: 3px; gap: 2px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 11px; flex-wrap: wrap; }
.segmente button { height: 30px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 550; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.segmente button:hover { color: var(--text); }
.segmente button.aktiv { background: #222229; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .04) inset; }
.segmente.gross button { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- Karten ---------- */
.karte { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 40%), var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.karte.innen { padding: 22px 24px; }
.karte-kopf { display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; }
.karte-kopf h2 { margin: 0; font-size: 15px; font-weight: 600; }
.karte-kopf .rechts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.karte-kopf .sym { color: var(--orange-text); }
.karte-koerper { padding: 16px 22px 22px; }
.karte-fuss { padding: 10px 14px; border-top: 1px solid var(--linie); }
.nichts { margin: 0; padding: 34px 20px; color: var(--text-3); text-align: center; }
.raster { display: grid; gap: 18px; }
.raster.zwei { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.raster.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spalte { display: grid; gap: 18px; min-width: 0; }

/* Kennzahlen */
.kachel { padding: 18px 20px 16px; display: grid; gap: 6px; overflow: hidden; }
.kachel-kopf { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; font-weight: 550; }
.kachel-kopf .sym { color: var(--orange-text); }
.kachel-zahl { font: 650 32px/1.1 var(--schrift-titel); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kachel-zahl small { font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-left: 6px; }
.anteile { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: #1c1c22; gap: 2px; margin-top: 6px; }
.anteile span { display: block; height: 100%; min-width: 3px; }
.anteile-legende { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--text-3); }
.anteile-legende span { display: inline-flex; align-items: center; gap: 5px; }
.anteile-legende i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }

/* Farben der Ergebnisse */
.f-positiv { background: var(--positiv); } .f-negativ { background: var(--negativ); } .f-verweigert { background: var(--verweigert); }
.f-gebannt { background: var(--gebannt); } .f-reset { background: var(--reset); }
.erg {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: #1a1a20; color: var(--text-2);
}
.erg::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.erg.positiv { background: rgba(248, 113, 113, .12); color: #fca5a5; }
.erg.negativ { background: rgba(74, 222, 128, .1); color: #86efac; }
.erg.verweigert { background: rgba(251, 191, 36, .1); color: #fcd34d; }
.erg.gebannt { background: rgba(251, 113, 133, .12); color: #fda4af; }
.erg.reset { background: rgba(96, 165, 250, .12); color: #93c5fd; }
.erg.zurueck { background: #1a1a20; color: var(--text-3); text-decoration: line-through; }
.erg.zurueck::before { box-shadow: none; }
.etikett { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--orange-text); background: var(--orange-hauch); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.etikett.grau { color: var(--text-2); background: #1c1c22; }
.etikett.head { color: #fdba74; background: rgba(251, 146, 60, .14); }
.etikett.admin { color: #fde68a; background: rgba(250, 204, 21, .12); }

/* ---------- Begruessung und Schnellpruefung ---------- */
.held {
  position: relative; overflow: hidden; padding: 28px 30px; margin-bottom: 18px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 138, 31, .16), transparent 55%), linear-gradient(180deg, #14110e, var(--flaeche));
  border: 1px solid #2a2017;
}
.held::after {
  /* Feines Raster rechts, nur Schmuck */
  content: ""; position: absolute; right: -40px; top: -40px; width: 360px; height: 260px; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 138, 31, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 138, 31, .07) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: radial-gradient(closest-side, #000, transparent);
}
.held h1 { margin: 0 0 6px; font-size: 30px; font-weight: 650; position: relative; }
.held p { margin: 0; position: relative; }
.held-zeile { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; position: relative; }
.held-zeile > div:first-child { flex: 1 1 320px; }
.held-zahl { text-align: right; }
.held-zahl b { display: block; font: 650 26px/1 var(--schrift-titel); color: var(--orange-text); }
.held-zahl span { font-size: 12.5px; color: var(--text-3); }
.pruefen { position: relative; margin-top: 22px; display: flex; gap: 10px; }
.pruefen .feld { height: 48px; padding-left: 44px; font-size: 15px; background: rgba(8, 8, 10, .7); }
.pruefen .sym { position: absolute; left: 15px; top: 16px; color: var(--text-3); }
.pruefen .knopf { height: 48px; padding: 0 20px; }
.pruef-ergebnis { position: relative; margin-top: 14px; }

/* Profilzeile (Ergebnis der Pruefung, Formular, Akte) */
.profil { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(8, 8, 10, .55); border: 1px solid var(--rand); }
.profil img, .profil .monogramm { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.profil-text { display: grid; min-width: 0; line-height: 1.35; }
.profil-text strong { font-size: 15px; }
.profil-text span { font-size: 12.5px; color: var(--text-3); }
.profil .rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.profil.warnung { border-color: rgba(248, 113, 113, .35); background: linear-gradient(90deg, rgba(248, 113, 113, .08), rgba(8, 8, 10, .55)); }
.profil.sauber { border-color: rgba(74, 222, 128, .25); }
.profil.fehler { border-color: rgba(248, 113, 113, .4); }

/* ---------- Diagramme ---------- */
.diagramm { width: 100%; height: 220px; display: block; }
.diagramm .achse { stroke: var(--linie); stroke-width: 1; }
.diagramm .beschriftung { fill: var(--text-3); font: 11px var(--schrift); }
.diagramm rect.balken { transition: opacity .15s; }
.diagramm g.tag:hover rect.balken { opacity: .8; }
.diagramm g.tag:hover rect.hinter { fill: rgba(255, 255, 255, .03); }
.diagramm rect.hinter { fill: transparent; }
.legende { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--text-2); }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.ring-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ring { width: 150px; height: 150px; flex: none; }
.ring text { fill: var(--text); font: 650 26px var(--schrift-titel); }
.ring text.klein { fill: var(--text-3); font: 500 11px var(--schrift); }

/* ---------- Listen von Eintraegen ---------- */
.zeilen { display: grid; }
.zeile {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 22px;
  border-top: 1px solid var(--linie); cursor: pointer; transition: background .12s; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; color: inherit;
}
.zeilen > .zeile:first-child { border-top: 0; }
.zeile:hover { background: rgba(255, 255, 255, .022); }
.zeile .nr { font: 500 12.5px var(--mono); color: var(--text-3); }
.zeile-haupt { min-width: 0; display: grid; gap: 2px; }
.zeile-titel { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.zeile-titel .spieler { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zeile-unter { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--text-3); font-size: 12.5px; }
.zeile-unter .cheat { color: #fca5a5; font-weight: 550; }
.zeile-rechts { display: flex; align-items: center; gap: 12px; }
.zeile-rechts time { color: var(--text-3); font-size: 12.5px; white-space: nowrap; min-width: 78px; text-align: right; }
.zeile.zurueckgenommen { opacity: .55; }
.art-sym { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; background: #18181d; border: 1px solid var(--linie); color: var(--text-2); }
.art-sym svg { width: 17px; height: 17px; }
.art-sym.ton-positiv { color: #fca5a5; background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .18); }
.art-sym.ton-negativ { color: #86efac; background: rgba(74, 222, 128, .07); border-color: rgba(74, 222, 128, .16); }
.art-sym.ton-verweigert { color: #fcd34d; background: rgba(251, 191, 36, .07); border-color: rgba(251, 191, 36, .16); }
.art-sym.ton-gebannt { color: #fda4af; background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .18); }
.art-sym.ton-reset { color: #93c5fd; background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .18); }

/* Team */
.team { display: grid; gap: 2px; }
.team-zeile { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; }
.team-zeile img, .team-zeile .monogramm { width: 32px; height: 32px; border-radius: 50%; font-size: 12.5px; }
.team-name { display: grid; min-width: 0; line-height: 1.3; }
.team-name strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-name small { color: var(--text-3); font-size: 12px; }
.team-balken { height: 4px; border-radius: 99px; background: #1c1c22; overflow: hidden; margin-top: 5px; }
.team-balken span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f57a0c, #ffb547); }
.team-zahl { font: 650 16px var(--schrift-titel); font-variant-numeric: tabular-nums; text-align: right; }
.team-zahl small { display: block; font: 500 11.5px var(--schrift); color: var(--text-3); }

/* ---------- Eintragen ---------- */
.arten { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.art-karte {
  position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie);
  cursor: pointer; text-align: left; color: inherit; transition: border-color .15s, transform .15s, background .15s, box-shadow .15s; overflow: hidden;
}
.art-karte::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 0% 0%, var(--akzent, rgba(255, 138, 31, .12)), transparent 60%); opacity: 0; transition: opacity .2s; pointer-events: none; }
.art-karte:hover { border-color: var(--rand-2); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); }
.art-karte:hover::after, .art-karte.aktiv::after { opacity: 1; }
.art-karte.aktiv { border-color: var(--akzent-rand, rgba(255, 138, 31, .55)); background: var(--flaeche-2); }
.art-karte .art-sym { width: 40px; height: 40px; border-radius: 12px; color: var(--akzent-text, var(--orange-text)); background: var(--akzent, var(--orange-hauch)); border-color: transparent; }
.art-karte .art-sym svg { width: 19px; height: 19px; }
.art-karte strong { font-size: 14.5px; }
.art-karte span.leise { font-size: 12.5px; }
.art-karte[data-ton="positiv"] { --akzent: rgba(248, 113, 113, .12); --akzent-text: #fca5a5; --akzent-rand: rgba(248, 113, 113, .5); }
.art-karte[data-ton="negativ"] { --akzent: rgba(74, 222, 128, .1); --akzent-text: #86efac; --akzent-rand: rgba(74, 222, 128, .45); }
.art-karte[data-ton="verweigert"] { --akzent: rgba(251, 191, 36, .1); --akzent-text: #fcd34d; --akzent-rand: rgba(251, 191, 36, .45); }
.art-karte[data-ton="gebannt"] { --akzent: rgba(251, 113, 133, .12); --akzent-text: #fda4af; --akzent-rand: rgba(251, 113, 133, .5); }
.art-karte[data-ton="reset"] { --akzent: rgba(96, 165, 250, .12); --akzent-text: #93c5fd; --akzent-rand: rgba(96, 165, 250, .5); }
.formular-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-top: 18px; }
.formular-karte { padding: 24px 26px 8px; }
.formular-karte h2 { margin: 0 0 4px; font-size: 18px; }
.formular-karte > p.leise { margin: 0 0 22px; }
.formular-fuss { display: flex; align-items: center; gap: 10px; padding: 16px 26px; border-top: 1px solid var(--linie); margin: 8px -26px 0; }
.formular-fuss .fein { margin-right: auto; }
.seiten-info { position: sticky; top: 88px; display: grid; gap: 14px; }
.ids-chips { display: grid; gap: 8px; }
.beweis-vorschau { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.beweis-vorschau a, .beweise a.bild { display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; border: 1px solid var(--rand); background: var(--feld); }
.beweis-vorschau img, .beweise img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.beweise a.bild:hover img { transform: scale(1.04); }
.fertig { text-align: center; padding: 48px 26px; display: grid; justify-items: center; gap: 10px; }
.fertig-haken { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(74, 222, 128, .25), rgba(74, 222, 128, .05)); color: #86efac; box-shadow: 0 0 0 1px rgba(74, 222, 128, .3), 0 0 40px rgba(74, 222, 128, .2); }
.fertig-haken svg { width: 30px; height: 30px; }
.fertig h2 { margin: 6px 0 0; font-size: 22px; }
.fertig .aktionen { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Akte ---------- */
.akte-kopf { display: flex; gap: 22px; align-items: center; padding: 26px 28px; flex-wrap: wrap; }
.akte-kopf img, .akte-kopf .monogramm { width: 84px; height: 84px; border-radius: 22px; flex: none; font-size: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 16px 40px -16px rgba(255, 138, 31, .45); }
.akte-name { flex: 1 1 280px; min-width: 0; display: grid; gap: 4px; }
.akte-name h1 { margin: 0; font-size: 26px; font-weight: 650; overflow-wrap: anywhere; }
.akte-fakten { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-3); font-size: 13px; }
.akte-fakten span { display: inline-flex; align-items: center; gap: 6px; }
.akte-fakten button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-2); font: 12.5px var(--mono); display: inline-flex; align-items: center; gap: 5px; }
.akte-fakten button:hover { color: var(--orange-text); }
.urteil { display: grid; justify-items: end; gap: 6px; }
.urteil .erg { height: 30px; font-size: 13.5px; padding: 0 13px; }
.zaehlung { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.zaehlung div { padding: 14px 20px; border-left: 1px solid var(--linie); display: grid; gap: 2px; }
.zaehlung div:first-child { border-left: 0; }
.zaehlung b { font: 650 22px var(--schrift-titel); font-variant-numeric: tabular-nums; }
.zaehlung span { font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.zaehlung i { width: 7px; height: 7px; border-radius: 2px; }
.zeitleiste { display: grid; gap: 14px; position: relative; padding-left: 26px; }
.zeitleiste::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--rand), transparent); border-radius: 2px; }
.zeit-eintrag { position: relative; }
.zeit-eintrag::before { content: ""; position: absolute; left: -23px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--grund); border: 2px solid var(--punkt, var(--rand-2)); box-shadow: 0 0 10px var(--punkt, transparent); }
.eintrag-karte { padding: 18px 20px; display: grid; gap: 12px; }
.eintrag-karte-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eintrag-karte-kopf strong { font-size: 15px; }
.eintrag-karte-kopf .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: 12.5px; }
.angaben { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 20px; margin: 0; }
.angaben div { display: grid; gap: 2px; min-width: 0; }
.angaben dt { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.angaben dd { margin: 0; overflow-wrap: anywhere; }
.angaben .breit { grid-column: 1 / -1; }
.text-block { white-space: pre-wrap; color: var(--text-2); background: var(--feld); border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; }
.beweise { display: flex; flex-wrap: wrap; gap: 8px; }
.beweise a.bild { width: 120px; }
.beweise a.verweis { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--rand); font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spieler-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.spieler-liste a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px; background: #18181d; border: 1px solid var(--linie); color: var(--text); font-size: 12.5px; }
.spieler-liste a:hover { border-color: var(--rand-2); text-decoration: none; }
.spieler-liste a .mono { color: var(--text-3); }
.zurueck-hinweis { font-size: 12.5px; color: var(--text-3); border-left: 2px solid var(--rand-2); padding-left: 10px; }

/* ---------- Eintraege: Filter und Tabelle ---------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.suche { position: relative; flex: 1 1 280px; max-width: 420px; }
.suche .sym { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.suche input { width: 100%; height: 38px; padding: 0 12px 0 36px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; }
.suche input:focus { border-color: var(--rand-2); outline: none; box-shadow: 0 0 0 3px rgba(255, 138, 31, .14); }
.filter select.feld { width: auto; min-height: 38px; }
.zaehler { margin-left: auto; color: var(--text-3); font-size: 13px; }
.seiten { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 13px; }

/* ---------- Seitenfenster (Eintrag im Detail) ---------- */
dialog.schublade { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(560px, 100vw); border-radius: 0; border: 0; border-left: 1px solid var(--rand); }
dialog.schublade[open] { animation: rein-rechts .25s cubic-bezier(.2, .8, .2, 1); }
.schublade-kopf { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 18px 22px; background: rgba(17, 17, 21, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.schublade-kopf h2 { margin: 0; font-size: 17px; }
.schublade-kopf .knopf:last-child { margin-left: auto; }
.schublade-inhalt { padding: 22px; display: grid; gap: 18px; }

/* ---------- Cheater-Datenbank ---------- */
.cheats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cheat-karte { display: grid; gap: 8px; padding: 18px; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--linie); cursor: pointer; text-align: left; color: inherit; transition: border-color .15s, transform .15s; }
.cheat-karte:hover { border-color: rgba(248, 113, 113, .4); transform: translateY(-2px); }
.cheat-karte strong { font-size: 15px; }
.cheat-karte .zahlen { display: flex; gap: 14px; color: var(--text-3); font-size: 12.5px; }
.cheat-karte .zahlen b { color: var(--text); font-size: 18px; font-family: var(--schrift-titel); margin-right: 4px; }

/* ---------- Zugaenge ---------- */
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: 11px 16px; border-top: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:first-child td { border-top: 0; }
.tabelle tbody tr:hover td { background: rgba(255, 255, 255, .015); }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.person-zelle { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person-zelle img, .person-zelle .monogramm { width: 30px; height: 30px; border-radius: 50%; flex: none; font-size: 12px; }
.person-zelle div { display: grid; line-height: 1.3; min-width: 0; }
.person-zelle small { color: var(--text-3); font: 11.5px var(--mono); }
.tabelle-wrap { overflow-x: auto; }
.zugang-neu { display: grid; grid-template-columns: 1.3fr 1fr 170px 170px auto; gap: 10px; align-items: end; }
.zugang-neu .feldgruppe { margin: 0; }

/* ---------- Katalog ---------- */
.werkzeuge { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.abschnitte { display: grid; gap: 34px; }
.abschnitt-kopf { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
.abschnitt-kopf h2 { margin: 0; font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); }
.anzahl { font-size: 12px; color: var(--text-3); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 999px; padding: 0 8px; line-height: 20px; }
.titel-feld { flex: 1; font-weight: 600; }
.werkzeug-gruppe { display: inline-flex; gap: 2px; }
.abschnitt .karte { overflow: hidden; }
.eintrag { display: grid; grid-template-columns: 52px 1fr 230px auto; gap: 20px; align-items: start; padding: 18px 22px; border-top: 1px solid var(--linie); transition: background .15s; }
.eintrag:first-child { border-top: 0; }
.eintrag:hover { background: rgba(255, 255, 255, .012); }
.eintrag > .nr { font: 500 13px/24px var(--mono); color: var(--text-3); }
.eintrag-haupt h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 24px; }
.beschreibung { margin: 3px 0 0; color: var(--text-2); white-space: pre-line; }
.offen { color: var(--text-3); font-style: italic; }
.meta { margin: 10px 0 0; display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.meta > span { display: inline-flex; gap: 6px; }
.meta-name { color: var(--text-3); font-size: 12px; }
.eintrag-sanktion { display: grid; gap: 4px; justify-items: start; }
.eintrag-sanktion .meta-name { display: none; }
.sanktion { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 550; padding: 3px 10px; border-radius: 7px; background: #18181d; color: var(--text); }
.sanktion::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); flex: none; }
.sanktion.perma { background: var(--rot-hauch); color: #fca5a5; }
.sanktion.perma::before { background: var(--rot); }
.sanktion.zeit { background: var(--gelb-hauch); color: #fcd34d; }
.sanktion.zeit::before { background: var(--gelb); }
.sanktion.offen { background: transparent; color: var(--text-3); font-style: italic; padding-left: 0; }
.sanktion.offen::before { display: none; }

/* ---------- Leitfaden ---------- */
.lf { display: block; }
.lf.mit-verzeichnis { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 44px; align-items: start; }
.lf-verzeichnis { position: sticky; top: 92px; display: grid; gap: 22px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 6px; }
.lf-vz-gruppe { display: grid; gap: 8px; }
.lf-verzeichnis ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-left: 1px solid var(--linie); }
.lf-verzeichnis a { display: block; padding: 4px 0 4px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); font-size: 13.5px; line-height: 1.4; }
.lf-verzeichnis a:hover { color: var(--text); border-left-color: var(--orange); text-decoration: none; }
.lf-inhalt { display: grid; gap: 38px; max-width: 800px; min-width: 0; }
.lf-gruppe { display: grid; gap: 14px; min-width: 0; }
.lf-kategorie { margin: 0 2px; font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); }
.lf-abschnitt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px 28px; min-width: 0; }
.lf-abschnitt h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; display: flex; align-items: baseline; gap: 12px; }
.code-block { position: relative; margin: 0 0 12px; }
pre.code { margin: 0; padding: 12px 14px; background: var(--feld); border: 1px solid var(--linie); border-radius: 10px; overflow-x: auto; font: 13px/1.65 var(--mono); color: var(--text); white-space: pre; }
pre.code code { font: inherit; background: none; border: 0; padding: 0; }
.code-block .kopieren { position: absolute; top: 6px; right: 6px; height: 26px; font-size: 12px; opacity: 0; background: var(--flaeche); }
.code-block:hover .kopieren, .code-block .kopieren:focus-visible { opacity: 1; }
.knopf-zeile { margin: 4px 0 14px; }
.kategorie-feld { width: 180px; flex: none; color: var(--text-2); }
.lf-nr { font: 500 13px var(--mono); color: var(--orange-text); }
.lf-text { color: var(--text-2); }
.lf-text p { margin: 0 0 12px; }
.lf-text ul, .lf-text ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.lf-text li::marker { color: var(--text-3); }
.lf-text ol li::marker { color: var(--orange-text); font-weight: 600; }
.lf-text > :last-child { margin-bottom: 0; }
.lf-text strong { color: var(--text); font-weight: 600; }
.lf-text em { color: var(--text); font-style: normal; border-bottom: 1px dotted var(--text-3); }
.lf-text code, .meldung code { font: 13px var(--mono); color: var(--text); background: #1b1b21; border: 1px solid var(--rand); padding: 1px 6px; border-radius: 6px; }
.lf-abschnitt.bearbeiten { display: grid; gap: 10px; padding: 18px; }
.lf-abschnitt.bearbeiten .abschnitt-kopf { margin: 0; }
textarea.feld.lf-text { min-height: 140px; line-height: 1.6; color: var(--text); }
.lf-hilfe { margin: 0 2px 2px; }

/* ---------- Anmeldung ---------- */
.anmeldung-seite { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; z-index: 1; }
.anmeldung {
  width: min(420px, 100%); text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 34px 30px; border-radius: 22px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 138, 31, .14), transparent 60%), var(--flaeche); border: 1px solid #2a2017;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.anmeldung-logo { width: 68px; height: 68px; border-radius: 18px; margin-bottom: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 14px 40px -10px rgba(255, 138, 31, .55); }
.anmeldung h1 { margin: 0; font-size: 26px; font-weight: 650; }
.anmeldung > p { margin: 0; }
.anmeldung .knopf.breit { margin-top: 10px; }
.meldung { width: 100%; text-align: left; border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.meldung p { margin: 0 0 10px; }
.meldung.fehler { background: var(--rot-hauch); color: #fecaca; }
.meldung.info { background: var(--orange-hauch); color: #fed7aa; }
.id-zeile { display: flex; align-items: center; gap: 8px; }

/* ---------- Fenster ---------- */
dialog { background: var(--flaeche); color: var(--text); border: 1px solid var(--rand); border-radius: 18px; padding: 0; width: min(580px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
dialog.klein { width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); }
dialog[open]:not(.schublade) { animation: aufgehen .2s cubic-bezier(.2, .8, .2, 1); }
.fenster-inhalt { padding: 22px 24px 6px; }
.fenster-inhalt h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.fenster-inhalt > p.leise { margin: -6px 0 16px; font-size: 14px; }
.fenster-titel { display: flex; align-items: center; justify-content: space-between; }
.fenster-titel h2 { margin: 0 0 14px; }
.fenster-fuss { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 24px 20px; }

/* ---------- Leisten ---------- */
.speicherleiste { position: fixed; left: calc(50% + var(--leiste) / 2); bottom: 20px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 8px; background: #151519; border: 1px solid var(--rand); border-radius: 14px; padding: 8px 8px 8px 18px; box-shadow: 0 16px 48px rgba(0, 0, 0, .55); max-width: calc(100vw - 24px); }
.speicherleiste span { color: var(--text-2); font-size: 14px; margin-right: 8px; }
.hinweis { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px; background: #151519; border: 1px solid var(--rand); border-radius: 12px; padding: 12px 16px; font-size: 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, .55); max-width: min(400px, calc(100vw - 40px)); animation: aufgehen .2s ease; }
.hinweis::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--negativ); box-shadow: 0 0 10px var(--negativ); flex: none; }
.hinweis.fehler { color: #fecaca; border-color: rgba(248, 113, 113, .4); }
.hinweis.fehler::before { background: var(--rot); box-shadow: 0 0 10px var(--rot); }
.skelett { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, var(--flaeche) 0%, #17171c 50%, var(--flaeche) 100%); background-size: 200% 100%; animation: schimmer 1.4s infinite linear; border: 1px solid var(--linie); }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) {
  .raster.zwei, .formular-raster { grid-template-columns: 1fr; }
  .raster.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seiten-info { position: static; }
  .zugang-neu { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .leiste { position: fixed; z-index: 40; left: 0; top: 0; transform: translateX(-105%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .leiste.offen { transform: none; }
  .leiste-schleier { position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, .55); }
  .oben .menue-knopf { display: inline-flex; }
  .oben { padding: 0 14px; gap: 8px; }
  .pfad { display: none; }
  .speicherleiste { left: 50%; }
  .lf.mit-verzeichnis { grid-template-columns: 1fr; gap: 20px; }
  .lf-verzeichnis { position: static; max-height: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 720px) {
  .inhalt { padding: 22px 16px 140px; }
  .seitenkopf h1, .held h1 { font-size: 24px; }
  .held { padding: 22px 18px; }
  .held-zahl { display: none; }
  .pruefen { flex-direction: column; }
  .raster.vier { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kachel { padding: 14px; }
  .kachel-zahl { font-size: 26px; }
  .zeile { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .zeile-rechts time { display: none; }
  .zaehlung { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zaehlung div:nth-child(4) { border-left: 0; }
  .zaehlung div:nth-child(n+4) { border-top: 1px solid var(--linie); }
  .akte-kopf { padding: 20px; }
  .urteil { justify-items: start; }
  .feldreihe, .zugang-neu { grid-template-columns: 1fr; }
  .formular-karte { padding: 20px 18px 6px; }
  .formular-fuss { margin: 8px -18px 0; padding: 14px 18px; }
  .eintrag { grid-template-columns: 40px 1fr auto; gap: 6px 12px; padding: 16px; }
  .eintrag-sanktion { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
  .eintrag-sanktion .meta-name { display: inline; }
  .eintrag-werkzeuge { grid-column: 3; grid-row: 1; }
  .lf-abschnitt { padding: 20px 18px; }
  .lf-abschnitt.bearbeiten .abschnitt-kopf { flex-wrap: wrap; }
  .kategorie-feld { width: 100%; order: 3; }
  .code-block .kopieren { opacity: 1; }
  .zaehler { margin-left: 0; width: 100%; }
  .suche { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .erst .gleiten { animation: rein .45s cubic-bezier(.2, .8, .2, 1) both; }
  .erst .gleiten:nth-child(2) { animation-delay: .04s; }
  .erst .gleiten:nth-child(3) { animation-delay: .08s; }
  .erst .gleiten:nth-child(4) { animation-delay: .12s; }
  .erst .gleiten:nth-child(5) { animation-delay: .16s; }
  .diagramm rect.balken { animation: wachsen .6s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: bottom; }
}
@keyframes rein { from { opacity: 0; transform: translateY(8px); } }
@keyframes wachsen { from { transform: scaleY(0); } }
@keyframes aufgehen { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes rein-rechts { from { transform: translateX(40px); opacity: 0; } }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media print {
  .leiste, .oben, .werkzeuge, .filter, .speicherleiste, .hinweis, .werkzeug-gruppe, .karte-fuss, .lf-verzeichnis { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .karte, .lf-abschnitt { border-color: #ccc; background: #fff; break-inside: avoid; }
  .beschreibung, .lf-text, .meta { color: #333; }
}
/* In der schmalen Spalte neben dem Formular stehen Ergebnis und Knopf unter dem Namen. */
.seiten-info .profil { flex-wrap: wrap; }
.seiten-info .profil .rechts { flex-basis: 100%; margin-left: 58px; justify-content: flex-start; }
.seiten-info .profil.fehler .rechts { display: none; }

/* Discord-Profilbilder (01.12.2026): ueberall das aktuelle Bild, in Zeilen mit kleinem Zeichen der Art unten rechts. */
.zeile-bild { position: relative; width: 36px; height: 36px; flex: none; display: inline-block; }
.zeile-bild > img, .zeile-bild > .monogramm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; font-size: 13px; }
.art-mini { position: absolute; right: -4px; bottom: -4px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: #18181d; border: 2px solid var(--flaeche); color: var(--text-2); }
.art-mini svg { width: 10px; height: 10px; }
.art-mini.ton-positiv { color: #fca5a5; background: #3a1d20; }
.art-mini.ton-negativ { color: #86efac; background: #16301f; }
.art-mini.ton-verweigert { color: #fcd34d; background: #33290f; }
.art-mini.ton-gebannt { color: #fda4af; background: #3a1c24; }
.art-mini.ton-reset { color: #93c5fd; background: #172739; }
img.mini, .monogramm.mini { width: 20px; height: 20px; border-radius: 50%; font-size: 10px; object-fit: cover; flex: none; }
.spieler-liste a { padding-left: 4px; }
.mit-bild { display: inline-flex; align-items: center; gap: 7px; }
.team-zeile img, .person-zelle img { object-fit: cover; }
