/* Velora RP Forum. Aufbau wie ein klassisches Spielerforum, Farben aus dem Velora-Design. */
:root {
  --grund: #0b0912;
  --grund2: #0f0c1a;
  --flaeche: #151024;
  --flaeche2: #1b1530;
  --flaeche3: #221a3b;
  --rand: #2a2145;
  --rand2: #3a2d5e;
  --text: #ebe7f7;
  --text2: #c5bedf;
  --leise: #8f87ad;
  --violett: #8b5cf6;
  --violett-hell: #b79cff;
  --violett-dunkel: #6d28d9;
  --pink: #c026d3;
  --ok: #22c55e;
  --rot: #ef4444;
  --radius: 10px;
  --schatten: 0 10px 30px rgba(0, 0, 0, .35);
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(192, 38, 211, .08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--schrift);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--violett-hell); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 15px; height: 15px; vertical-align: -2px; }
.klein { color: var(--leise); font-size: 12.5px; }
.klein a, .klein .nm { font-size: inherit; }
.klein-dunkel { color: var(--text2); font-size: 13px; }
.leer { color: var(--leise); padding: 18px; margin: 0; }
.rot { color: var(--rot); }
.inline { display: inline; margin: 0; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 11, 25, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rand);
}
.kopf-in { display: flex; align-items: stretch; gap: 8px; height: 66px; max-width: 1320px; margin: 0 auto; padding-right: 16px; }
.logo {
  position: relative; display: flex; align-items: center; padding: 0 44px 0 20px; flex: none;
}
.logo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, #4c1d95, var(--violett-dunkel) 55%, var(--violett));
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08);
}
.logo img { position: relative; height: 38px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.nav { display: flex; align-items: stretch; margin-left: 8px; }
.nav-i {
  display: flex; align-items: center; padding: 0 15px; color: var(--text2);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s, background .15s;
}
.nav-i:hover { color: #fff; background: rgba(139, 92, 246, .08); }
.nav-i.akt { color: #fff; border-bottom-color: var(--violett); background: linear-gradient(to top, rgba(139, 92, 246, .16), transparent); }
.nav-knopf, .nav-mobil { display: none; }
.konto { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.kn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border-radius: 8px;
  color: var(--text2); background: none; border: 0; cursor: pointer; font-size: 14px;
}
.kn:hover { background: var(--flaeche2); color: #fff; }
.kn-form { margin: 0; }
.zaehler { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--rot); color: #fff; font-size: 11px; text-align: center; }
.suche { display: flex; align-items: center; margin-left: 6px; flex: none; }
.suche input {
  width: 170px; height: 36px; padding: 0 34px 0 12px; border-radius: 18px;
  background: var(--flaeche); border: 1px solid var(--rand); outline: none; transition: width .2s, border-color .2s;
}
.suche input:focus { width: 230px; border-color: var(--violett); }
.suche button { margin-left: -34px; width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: var(--leise); cursor: pointer; }

/* ---------- Willkommen ---------- */
.willkommen {
  position: relative; overflow: hidden; display: flex; align-items: center; min-height: 270px;
  background: linear-gradient(90deg, rgba(11, 9, 18, .95) 0%, rgba(11, 9, 18, .75) 40%, rgba(11, 9, 18, .15) 75%), url("/bilder/banner.jpg") center / cover;
  border-bottom: 1px solid var(--rand);
}
.willkommen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, var(--grund)); pointer-events: none; }
.w-text { position: relative; z-index: 1; max-width: 1320px; width: 100%; margin: 0 auto; padding: 36px 24px 46px; }
.w-text h2 { font-size: 44px; font-weight: 800; letter-spacing: -.01em; background: linear-gradient(90deg, #fff, var(--violett-hell)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-text p { max-width: 460px; color: var(--text2); margin: 10px 0 20px; }
.w-figur { position: absolute; right: max(2%, calc((100% - 1320px) / 2)); bottom: 0; height: 115%; width: auto; z-index: 1; filter: drop-shadow(0 10px 40px rgba(139, 92, 246, .45)); pointer-events: none; }

/* ---------- Seite ---------- */
.seite { width: 100%; max-width: 1320px; margin: 0 auto; padding: 18px 16px 40px; flex: 1; }
.haupt { display: block; }
.haupt.mit-leiste { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }
.leiste { display: grid; gap: 14px; position: sticky; top: 84px; }

.pfad {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; padding: 11px 16px;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); font-size: 13px;
}
.pfad a { color: var(--text2); }
.pfad a:hover { color: #fff; }
.pfad span { color: var(--leise); }
.pfad .ic { color: var(--leise); }

.seiten-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.seiten-kopf h1 { font-size: 26px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seiten-text { margin: 6px 0 0; color: var(--text2); max-width: 760px; }
.seiten-aktion { display: flex; flex-wrap: wrap; gap: 8px; }
.seiten-aktion form { margin: 0; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px;
  border-radius: 8px; border: 1px solid var(--rand2); background: var(--flaeche2); color: var(--text);
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.knopf:hover { background: var(--flaeche3); border-color: var(--violett); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf-cta {
  border: 0; color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
  background: linear-gradient(135deg, var(--violett), var(--pink));
  box-shadow: 0 6px 20px rgba(139, 92, 246, .35);
}
.knopf-cta:hover { background: linear-gradient(135deg, #9d74ff, #d43be6); box-shadow: 0 8px 26px rgba(139, 92, 246, .5); }
.knopf-leise { background: transparent; }
.knopf-rot { background: #7f1d1d; border-color: #b91c1c; }
.knopf-rot:hover { background: #991b1b; border-color: var(--rot); }
.knopf-breit { width: 100%; }

/* ---------- Blöcke ---------- */
.block { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--schatten); }
.block-kopf {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(90deg, rgba(109, 40, 217, .55), rgba(139, 92, 246, .18) 60%, transparent), var(--flaeche2);
  border-bottom: 1px solid var(--rand);
}
.block-knoten > .block-kopf { text-transform: uppercase; font-size: 13.5px; letter-spacing: .08em; }
.einklappen { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .06); color: var(--text2); cursor: pointer; }
.einklappen:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.einklappen .ic { transform: rotate(90deg); transition: transform .2s; }
.block.zu .einklappen .ic { transform: rotate(0deg); }
.block.zu > .block-inhalt { display: none; }
.block-inhalt > p:not(.leer):not(.klein) { margin: 14px 16px; }
.block-inhalt > p.klein { margin: 14px 16px 0; }
.block-leiste .block-kopf { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 11px 14px; }

/* ---------- Knoten (Bereiche) ---------- */
.knoten {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 84px 84px minmax(0, 260px); gap: 14px; align-items: center;
  padding: 14px 16px; border-top: 1px solid var(--rand); transition: background .15s;
}
.block-inhalt > .knoten:first-child { border-top: 0; }
.knoten:hover { background: rgba(139, 92, 246, .05); }
.knoten-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--flaeche2); border: 1px solid var(--rand2); color: var(--leise);
}
.knoten-ic .ic { width: 24px; height: 24px; }
.knoten-neu .knoten-ic { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violett), var(--pink)); box-shadow: 0 0 18px rgba(139, 92, 246, .45); }
.knoten-titel { font-size: 15.5px; font-weight: 600; }
.knoten-titel a { color: var(--text); }
.knoten-neu .knoten-titel a { color: #fff; }
.knoten-titel a:hover { color: var(--violett-hell); }
.knoten-text { margin: 3px 0 0; font-size: 13px; color: var(--leise); }
.knoten-unter { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 13px; }
.knoten-unter a { display: inline-flex; align-items: center; gap: 4px; color: var(--text2); }
.knoten-unter a:hover { color: #fff; }
.knoten-zahl, .thema-zahl { margin: 0; text-align: center; }
.knoten-zahl dt, .thema-zahl dt { font-size: 11.5px; color: var(--leise); }
.knoten-zahl dd, .thema-zahl dd { margin: 0; font-weight: 600; font-size: 15px; }
.knoten-zahl, .thema-zahl { display: flex; flex-direction: column-reverse; }
.knoten-letzt { display: flex; align-items: center; gap: 10px; min-width: 0; }
.knoten-letzt-text { min-width: 0; display: flex; flex-direction: column; }
.knoten-letzt-titel { color: var(--text); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Präfixe ---------- */
.lbl {
  display: inline-block; padding: 1px 7px; margin-right: 6px; border-radius: 4px; font-size: 11px; font-weight: 700;
  line-height: 18px; vertical-align: 1px; white-space: nowrap; color: #fff; letter-spacing: .01em;
}
.seiten-kopf h1 .lbl { font-size: 13px; line-height: 22px; padding: 1px 9px; margin: 0; }
.lbl-gelb { background: #f5b301; color: #1c1300; }
.lbl-blau { background: #2563eb; }
.lbl-orange { background: #ea580c; }
.lbl-gruen { background: #15a34a; }
.lbl-rot { background: #dc2626; }
.lbl-violett { background: #7c3aed; }
.lbl-grau { background: #4b5568; }

/* ---------- Avatare ---------- */
.av {
  display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: #fff; font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); text-transform: uppercase;
}
a.av:hover { color: #fff; box-shadow: 0 0 0 2px var(--violett); }
.av-s { width: 34px; height: 34px; font-size: 14px; }
.av-m { width: 42px; height: 42px; font-size: 17px; }
.av-l { width: 96px; height: 96px; font-size: 40px; border-radius: 14px; }
.av-xl { width: 128px; height: 128px; font-size: 54px; border-radius: 18px; box-shadow: 0 0 0 4px var(--flaeche), 0 10px 30px rgba(0, 0, 0, .4); }
.av-0 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.av-1 { background: linear-gradient(135deg, #9333ea, #581c87); }
.av-2 { background: linear-gradient(135deg, #c026d3, #701a75); }
.av-3 { background: linear-gradient(135deg, #db2777, #831843); }
.av-4 { background: linear-gradient(135deg, #4f46e5, #312e81); }
.av-5 { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.av-6 { background: linear-gradient(135deg, #0891b2, #164e63); }
.av-7 { background: linear-gradient(135deg, #0d9488, #134e4a); }
.av-8 { background: linear-gradient(135deg, #059669, #064e3b); }
.av-9 { background: linear-gradient(135deg, #d97706, #78350f); }
.av-10 { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.av-11 { background: linear-gradient(135deg, #6d28d9, #2e1065); }
.nm { font-weight: 600; color: var(--text); }
.nm:hover { color: #fff; text-decoration: underline; }

/* ---------- Themenliste ---------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--rand); font-size: 13px; color: var(--leise); }
.filter-i { padding: 3px 6px; border-radius: 6px; color: var(--text2); }
.filter-i.akt { background: var(--flaeche3); box-shadow: inset 0 0 0 1px var(--violett); }
.filter-i .lbl { margin: 0; }
.thema-kopfzeile {
  display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px 200px; gap: 14px; padding: 9px 16px 9px 72px;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); background: var(--grund2); border-bottom: 1px solid var(--rand);
}
.thema-kopfzeile span:not(:first-child) { text-align: center; }
.thema-kopfzeile span:last-child { text-align: right; }
.thema {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 84px 84px 200px; gap: 14px; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--rand); transition: background .15s;
}
.thema:first-of-type { border-top: 0; }
.thema:hover { background: rgba(139, 92, 246, .05); }
.thema-pin { background: rgba(139, 92, 246, .06); }
.thema-titel { font-size: 15px; }
.thema-titel a { color: var(--text2); }
.thema-neu .thema-titel a { color: #fff; font-weight: 700; }
.thema-titel a:hover { color: var(--violett-hell); }
.thema-zeichen { color: var(--leise); margin-left: 6px; }
.thema-av { position: relative; }
.thema-neu .thema-av::after { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--violett); border: 2px solid var(--flaeche); box-shadow: 0 0 10px var(--violett); }
.thema-letzt { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-align: right; }
.thema-letzt > div { display: flex; flex-direction: column; }
.mini-seiten a { display: inline-block; min-width: 20px; padding: 0 4px; margin-right: 2px; border-radius: 4px; text-align: center; background: var(--flaeche2); border: 1px solid var(--rand); color: var(--text2); font-size: 11px; }

/* ---------- Seiten ---------- */
.seiten { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 14px; }
.pg { min-width: 34px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 7px; background: var(--flaeche); border: 1px solid var(--rand); color: var(--text2); font-size: 13.5px; }
a.pg:hover { border-color: var(--violett); color: #fff; }
.pg-a { background: linear-gradient(135deg, var(--violett), var(--violett-dunkel)); border-color: transparent; color: #fff; font-weight: 700; }
.pg-l { background: none; border: 0; }

/* ---------- Beiträge ---------- */
.beitraege { display: grid; gap: 14px; margin-bottom: 16px; }
.beitrag { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); scroll-margin-top: 90px; }
.beitrag:target { border-color: var(--violett); box-shadow: 0 0 0 1px var(--violett), var(--schatten); }
.b-nutzer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; text-align: center; background: linear-gradient(180deg, rgba(109, 40, 217, .16), transparent 70%), var(--flaeche2); border-right: 1px solid var(--rand); }
.b-name { font-size: 15.5px; margin-top: 4px; }
.b-titel { font-size: 12.5px; color: var(--leise); }
.banner {
  display: block; width: 100%; max-width: 170px; padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; background: var(--flaeche3); color: var(--text); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.block-kopf .banner { display: inline-block; width: auto; max-width: none; font-size: 12px; padding: 4px 10px; }
.b-info { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 2px 10px; width: 100%; max-width: 170px; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--rand); font-size: 12px; }
.b-info dt { color: var(--leise); text-align: left; }
.b-info dd { margin: 0; text-align: right; color: var(--text2); }
.b-haupt { display: flex; flex-direction: column; min-width: 0; }
.b-kopf { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--rand); }
.b-nr { color: var(--leise); font-size: 13px; }
.b-text { padding: 16px 18px; flex: 1; overflow-wrap: anywhere; }
.b-bearbeitet { margin: 0 18px 10px; font-size: 12px; color: var(--leise); font-style: italic; }
.b-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px 10px 18px; border-top: 1px solid var(--rand); }
.b-aktionen { display: flex; flex-wrap: wrap; gap: 2px; }
.akt { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; border: 0; background: none; color: var(--leise); font-size: 13px; cursor: pointer; }
.akt:hover { background: var(--flaeche2); color: #fff; }
.akt-an { color: var(--violett-hell); }
.akt-rot:hover { color: #fca5a5; }
.reaktionen { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 12px; background: rgba(139, 92, 246, .14); color: var(--violett-hell); font-size: 12.5px; font-weight: 600; }

/* ---------- BBCode ---------- */
.bb { overflow-wrap: anywhere; }
.bb .bb-h { font-size: 18px; margin: 18px 0 8px; color: #fff; padding-bottom: 6px; border-bottom: 1px solid var(--rand); }
.bb .bb-h:first-child { margin-top: 0; }
.bb ul, .bb ol { margin: 6px 0 10px; padding-left: 24px; }
.bb li { margin: 3px 0; }
.bb li::marker { color: var(--violett); }
.bb code { padding: 1px 6px; border-radius: 4px; background: var(--grund); border: 1px solid var(--rand); font-family: Consolas, "Cascadia Mono", monospace; font-size: 13px; }
.bb-code { margin: 10px 0; padding: 12px 14px; border-radius: 8px; background: var(--grund); border: 1px solid var(--rand); overflow-x: auto; font-size: 13px; }
.bb-code code { padding: 0; border: 0; background: none; }
.bb-quote { margin: 10px 0; padding: 0; border-left: 3px solid var(--violett); border-radius: 0 8px 8px 0; background: var(--flaeche2); }
.bb-quote > div:last-child { padding: 10px 14px; color: var(--text2); }
.bb-quote-kopf { padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--violett-hell); border-bottom: 1px solid var(--rand); }
.bb-center { text-align: center; }
.bb-spoiler { margin: 10px 0; border: 1px solid var(--rand); border-radius: 8px; background: var(--flaeche2); }
.bb-spoiler summary { cursor: pointer; padding: 8px 12px; font-weight: 600; color: var(--violett-hell); }
.bb-spoiler > div { padding: 0 12px 10px; }
.bb-f-rot { color: #f87171; } .bb-f-gruen { color: #4ade80; } .bb-f-blau { color: #60a5fa; } .bb-f-gelb { color: #facc15; }
.bb-f-orange { color: #fb923c; } .bb-f-violett { color: var(--violett-hell); } .bb-f-grau { color: var(--leise); }
.bb a { text-decoration: underline; text-decoration-color: rgba(183, 156, 255, .4); text-underline-offset: 2px; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 14px; padding: 16px; }
.feld { display: grid; gap: 6px; }
.feld > span { font-size: 13px; font-weight: 600; color: var(--text2); }
.feld small { color: var(--leise); font-size: 12px; }
.feld-reihe { display: flex; flex-wrap: wrap; gap: 14px; }
.feld-reihe .feld { min-width: 180px; }
.feld-breit { flex: 1; }
input:not([type=checkbox]), select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; background: var(--grund2); border: 1px solid var(--rand2); outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--violett); box-shadow: 0 0 0 3px rgba(139, 92, 246, .2); }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
select { appearance: auto; }
.haken { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.haken input { width: 17px; height: 17px; accent-color: var(--violett); flex: none; }
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.editor { display: grid; gap: 6px; }
.editor textarea { border-radius: 0 0 8px 8px; min-height: 200px; }
.ed-leiste { display: flex; flex-wrap: wrap; gap: 2px; padding: 5px; background: var(--flaeche2); border: 1px solid var(--rand2); border-bottom: 0; border-radius: 8px 8px 0 0; margin-bottom: -6px; }
.ed-k { min-width: 32px; height: 30px; padding: 0 8px; border-radius: 6px; border: 0; background: none; color: var(--text2); cursor: pointer; font-size: 13px; }
.ed-k:hover { background: var(--flaeche3); color: #fff; }
.ed-trenn { width: 1px; margin: 4px 4px; background: var(--rand2); }
.mod-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px 16px; }
.mod-form .feld { min-width: 170px; }
.block-mod .block-kopf { background: linear-gradient(90deg, rgba(234, 88, 12, .35), transparent 60%), var(--flaeche2); }
.such-zeile { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--rand); }

.auth { max-width: 480px; margin: 10px auto; }
.auth-wechsel { text-align: center; color: var(--leise); margin: 0; padding: 0 16px 18px; }

/* ---------- Hinweise ---------- */
.hinweis { padding: 12px 16px; margin-bottom: 14px; border-radius: var(--radius); background: var(--flaeche2); border: 1px solid var(--rand2); color: var(--text2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.formular .hinweis { margin: 0; }
.hinweis-rot { background: rgba(127, 29, 29, .35); border-color: #991b1b; color: #fecaca; }
.hinweis-ok { background: rgba(21, 128, 61, .22); border-color: #15803d; color: #bbf7d0; }

/* ---------- Seitenleiste ---------- */
.leiste .block { margin: 0; }
.leiste-liste { list-style: none; margin: 0; padding: 4px 0; }
.leiste-liste li { display: flex; gap: 10px; padding: 9px 14px; }
.leiste-liste li + li { border-top: 1px solid var(--rand); }
.leiste-liste li > div { min-width: 0; display: flex; flex-direction: column; }
.leiste-titel { color: var(--text); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.leiste-titel:hover { color: var(--violett-hell); }
.online-namen { margin: 12px 14px 6px; font-size: 13.5px; }
.block-leiste .klein { display: block; }
.block-leiste > .block-inhalt > .klein { padding: 0 14px 12px; }
.statistik { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin: 0; padding: 12px 14px; font-size: 13.5px; }
.statistik dt { color: var(--leise); }
.statistik dd { margin: 0; text-align: right; font-weight: 600; }
.discord-karte {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, #5865f2, #7c3aed); box-shadow: 0 8px 26px rgba(88, 101, 242, .35);
}
.discord-karte:hover { color: #fff; filter: brightness(1.1); }
.discord-karte .ic { width: 30px; height: 30px; }
.discord-karte span { display: flex; flex-direction: column; }
.discord-karte small { opacity: .85; }

/* ---------- Mitglieder und Profil ---------- */
.reiter { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--rand); }
.reiter a { padding: 9px 14px; color: var(--text2); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; font-size: 14px; }
.reiter a.akt { color: #fff; border-bottom-color: var(--violett); }
.mitglied-liste .mitglied, .treffer { display: grid; grid-template-columns: 42px minmax(0, 1fr) 84px 84px; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--rand); }
.mitglied-liste .mitglied:first-child, .block-inhalt > .treffer:first-child { border-top: 0; }
.mitglied-haupt { display: flex; flex-direction: column; min-width: 0; }
.treffer { grid-template-columns: 42px minmax(0, 1fr); align-items: start; }
.treffer p { margin: 4px 0; color: var(--text2); font-size: 14px; }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 14px; }
.karte { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; background: var(--flaeche2); border: 1px solid var(--rand); }
.karte > div { display: flex; flex-direction: column; min-width: 0; }
.profil { position: relative; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); border: 1px solid var(--rand); box-shadow: var(--schatten); }
.profil-band { height: 150px; background: linear-gradient(0deg, var(--flaeche), transparent 70%), url("/bilder/banner.jpg") center 35% / cover; }
.profil-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; padding: 0 22px 20px; margin-top: -64px; position: relative; }
.profil-haupt { flex: 1; min-width: 200px; }
.profil-haupt h1 { font-size: 26px; }
.profil-haupt h1 .nm { font-weight: 700; }
.profil-banner { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.profil-banner .banner { width: auto; }
.profil-zahlen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.profil-zahlen > div { min-width: 104px; padding: 8px 12px; border-radius: 8px; background: var(--flaeche2); border: 1px solid var(--rand); text-align: center; }
.profil-zahlen dt { font-size: 11.5px; color: var(--leise); }
.profil-zahlen dd { margin: 0; font-weight: 600; }
.profil-team { position: absolute; top: 12px; right: 12px; }
.profil-beitrag { padding: 12px 16px; border-top: 1px solid var(--rand); }
.profil-beitrag:first-child { border-top: 0; }
.profil-beitrag p { margin: 4px 0; color: var(--text2); font-size: 14px; }
.angaben { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding: 14px 16px; font-size: 14px; }
.angaben dt { color: var(--leise); }
.angaben dd { margin: 0; }
.block-inhalt > .bb { padding: 14px 16px 18px; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.zwei-spalten .block { margin-bottom: 16px; }

/* ---------- Verwaltung ---------- */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kachel { padding: 16px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--rand); display: flex; flex-direction: column; }
.kachel b { font-size: 26px; background: linear-gradient(90deg, #fff, var(--violett-hell)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kachel span { color: var(--leise); font-size: 13px; }
.meldung { padding: 14px 16px; border-top: 1px solid var(--rand); }
.meldung:first-child { border-top: 0; }
.meldung-kopf { display: flex; flex-direction: column; }
.meldung p { margin: 6px 0 10px; }
.meldung form { margin: 0; }
.gruppen-wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gruppen-wahl .banner { display: inline-block; width: auto; }
.gruppen-wahl + p.klein { margin-top: 14px; }
.rollen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 4px 0; }
.rolle { border: 1px solid var(--rand); border-radius: var(--radius); background: var(--grund); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rolle-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rolle-kopf .banner { display: inline-block; width: auto; }
.rolle ul.klein { margin: 0; padding-left: 18px; color: var(--leise); }
.rolle-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rolle-liste li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid var(--rand); }
.rolle-liste li:first-child { border-top: 0; }
.rolle .such-zeile { padding: 0; border: 0; }
.rolle .such-zeile input { flex: 1; min-width: 0; }
.rolle .leer { margin: 0; }
.tabelle-rahmen { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabelle th, .tabelle td { padding: 9px 14px; text-align: left; border-top: 1px solid var(--rand); vertical-align: top; }
.tabelle th { background: var(--grund2); color: var(--leise); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; border-top: 0; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--rand); background: var(--grund2); }
.fuss-in { max-width: 1320px; margin: 0 auto; padding: 18px 16px 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fuss-marke { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13.5px; }
.fuss-links a { color: var(--text2); }
.fuss-links a:hover { color: #fff; }
.fuss-klein { max-width: 1320px; margin: 0 auto; padding: 8px 16px 22px; color: var(--leise); font-size: 12px; }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) {
  .haupt.mit-leiste { grid-template-columns: minmax(0, 1fr); }
  .leiste { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .suche input { width: 130px; }
  .suche input:focus { width: 160px; }
}
@media (max-width: 1024px) {
  .kopf-in { height: 58px; flex-wrap: nowrap; }
  .logo { padding: 0 34px 0 14px; }
  .logo img { height: 32px; }
  .nav-knopf { display: grid; place-items: center; width: 42px; height: 42px; margin: auto 0 auto 4px; border-radius: 8px; border: 0; background: var(--flaeche2); color: var(--text); cursor: pointer; order: 3; }
  .nav { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; margin: 0; background: var(--grund2); border-bottom: 1px solid var(--rand); box-shadow: var(--schatten); }
  .nav.offen { display: flex; }
  .nav .nav-mobil { display: flex; }
  .nav form.nav-mobil { margin: 0; }
  .nav form.nav-mobil .nav-i { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--rand); border-left: 3px solid transparent; cursor: pointer; text-align: left; }
  .konto > a.kn:not(.kn-ich):not([href="/anmelden"]):not([href="/registrieren"]), .konto > .kn-form { display: none; }
  .nav-i { padding: 14px 18px; border-bottom: 1px solid var(--rand); border-left: 3px solid transparent; }
  .nav-i.akt { border-bottom-color: var(--rand); border-left-color: var(--violett); }
  .konto { order: 2; }
  .kn span { display: none; }
  .kn-ich span:not(.av) { display: none; }
  .kn-ich .av { display: inline-grid; }
  .suche { display: none; }
  .leiste { top: 0; }
}
@media (max-width: 900px) {
  .knoten { grid-template-columns: 46px minmax(0, 1fr); }
  .knoten-ic { width: 42px; height: 42px; }
  .knoten-zahl { display: none; }
  .knoten-letzt { grid-column: 2; }
  .thema { grid-template-columns: 42px minmax(0, 1fr); }
  .thema-zahl { display: none; }
  .thema-letzt { grid-column: 2; justify-content: flex-start; flex-direction: row-reverse; text-align: left; }
  .thema-letzt > div { flex-direction: row; gap: 6px; align-items: baseline; }
  .thema-kopfzeile { display: none; }
  .beitrag { grid-template-columns: minmax(0, 1fr); }
  .b-nutzer { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--rand); }
  .b-nutzer .av-l { width: 48px; height: 48px; font-size: 20px; border-radius: 10px; }
  .b-name { margin: 0; }
  .b-nutzer .banner { width: auto; }
  .b-info { display: none; }
  .zwei-spalten { grid-template-columns: minmax(0, 1fr); }
  .mitglied-liste .mitglied { grid-template-columns: 42px minmax(0, 1fr) 70px; }
  .mitglied-liste .mitglied .thema-zahl:last-child { display: none; }
  .willkommen { min-height: 220px; }
  .w-text h2 { font-size: 32px; }
  .w-figur { opacity: .35; height: 100%; right: -40px; }
}
@media (max-width: 520px) {
  .seite { padding: 12px 10px 30px; }
  .seiten-kopf h1 { font-size: 21px; }
  .seiten-kopf .knopf { flex: 1; }
  .profil-in { padding: 0 14px 16px; }
  .av-xl { width: 96px; height: 96px; font-size: 40px; }
  .formular { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
