/*
 * BoA Forever — Allianz-Blau und Gold aus den Heldenbannern. Kontraste
 * nachgerechnet (siehe Spezifikation und ForeverStylesheetTest).
 *
 * Die Seiten teilen ihr Markup mit dem Look von 2005; dieses Stylesheet
 * gestaltet deren Bausteine (rahmen, beitrag, formular, forum-* …) neu.
 */

/*
 * Schriften vom eigenen Server (Fontsource 5.3.0, OFL-1.1, Lizenztexte in
 * public/fonts/forever). Nur der lateinische Zeichensatz, der Deutsch samt
 * Anfuehrungszeichen abdeckt; fehlt eine Datei, greift die Ersatzschrift.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/forever/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/forever/inter-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Registriert, damit der Goldglanz im Kopfbereich weich der Maus folgt. */
@property --fv-glanz-x { syntax: "<percentage>"; inherits: false; initial-value: 85%; }
@property --fv-glanz-y { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root.fv {
  --fv-grund: #070e1b;
  --fv-flaeche: #101e33;
  --fv-flaeche-hoch: #182a43;
  --fv-linie: #34445a;
  --fv-linie-feld: #a38a58;
  --fv-text: #f0e8d8;
  --fv-text-leise: #acb8cb;
  --fv-gold: #e7c477;
  --fv-bernstein: #d6b36b;
  --fv-auf-gold: #171308;
  --fv-fehler: #ff8a7a;
  --fv-schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fv-schrift-titel: var(--schrift-serif);
  --fv-radius: 12px;
  --fv-radius-klein: 7px;
  --fv-breite: 1200px;
  --fv-lesebreite: 72ch;
  --fv-tippziel: 44px;
  --fv-kopf-hoehe: 64px;
  --fv-metall: linear-gradient(120deg, #f5dfa3, #d6b36b 48%, #b9904e);
  --fv-paneel: linear-gradient(145deg, #162943, var(--fv-flaeche) 65%);
  --fv-uebergang: 160ms ease-out;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }

body.fv-body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(51 90 150 / 0.32), transparent 65%),
    radial-gradient(ellipse at 0% 45%, rgb(33 65 111 / 0.18), transparent 50%),
    var(--fv-grund);
  background-attachment: fixed;
  color: var(--fv-text);
  font-family: var(--fv-schrift);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Niedrige Spezifitaet, damit Knoepfe und Menuepunkte ihre eigene Farbe behalten. */
:where(.fv) a { color: var(--fv-gold); text-decoration: none; text-underline-offset: 3px; }
:where(.fv) a:hover { text-decoration: underline; }

.fv :focus-visible {
  outline: 2px solid var(--fv-gold);
  outline-offset: 2px;
}

.fv h1, .fv h2, .fv h3 { line-height: 1.25; }
.fv img { max-width: 100%; height: auto; }

.fv-leise { color: var(--fv-text-leise); }

.fv-sprungmarke {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--fv-radius-klein);
  background: var(--fv-gold);
  color: var(--fv-auf-gold);
  font-weight: 600;
}
.fv-sprungmarke:focus { top: 12px; }

/* ---------- Knoepfe ---------- */

/* Allgemeine Knoepfe mit niedriger Spezifitaet: Bauteile mit eigener Form
   (Kartenpunkte, Textknoepfe im Forum) setzen sich mit ihrer Klasse durch. */
.fv-knopf,
.look-switch button,
:where(.fv) .formular button,
:where(.fv-seite) button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--fv-tippziel);
  padding: 0 18px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: var(--fv-radius-klein);
  background: rgb(7 14 27 / 0.35);
  box-shadow: inset 0 1px 0 rgb(231 196 119 / 0.08);
  color: var(--fv-text);
  font: 600 0.9rem/1 var(--fv-schrift);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--fv-uebergang), border-color var(--fv-uebergang), translate var(--fv-uebergang), scale 0.12s ease-out;
}
.fv-knopf:hover,
.look-switch button:hover { border-color: var(--fv-gold); color: var(--fv-gold); text-decoration: none; }

.fv-knopf--gold,
:where(.fv) .formular button,
:where(.fv-seite) button[type="submit"] {
  background: var(--fv-metall);
  border-color: var(--fv-gold);
  box-shadow: inset 0 1px 0 #fff0c4, 0 3px 12px rgb(0 0 0 / 0.2);
  color: var(--fv-auf-gold);
}
.fv-knopf--gold:hover,
:where(.fv) .formular button:hover,
:where(.fv-seite) button[type="submit"]:hover {
  background: var(--fv-bernstein);
  border-color: var(--fv-bernstein);
  color: var(--fv-auf-gold);
  translate: 0 -1px;
}

.look-switch { margin: 0; }

/* Knoepfe geben beim Druecken kurz nach. */
:is(.fv-knopf, .look-switch button, .fv-nav__eintrag, .fv-kopf__menueknopf):active,
:where(.fv) .formular button:active,
:where(.fv-seite) button[type="submit"]:active { scale: 0.96; }

.fv-zaehler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--fv-gold);
  color: var(--fv-auf-gold);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Kopfleiste ---------- */

.fv-kopf {
  position: sticky;
  top: 12px;
  z-index: 20;
  padding: 0 16px;
}

.fv-kopf__leiste {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--fv-breite);
  min-height: var(--fv-kopf-hoehe);
  margin: 12px auto 0;
  padding: 8px 10px 8px 22px;
  border: 1px solid var(--fv-linie);
  border-top-color: var(--fv-linie-feld);
  border-radius: var(--fv-radius);
  background: color-mix(in srgb, var(--fv-flaeche) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(231 196 119 / 0.15), 0 10px 30px rgb(0 0 0 / 0.35);
}
@supports not (backdrop-filter: blur(1px)) {
  .fv-kopf__leiste { background: var(--fv-flaeche); }
}

.fv-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 8px;
}
/* Mit .fv davor, sonst gewinnt die allgemeine Bildregel ".fv img" (height: auto). */
.fv .fv-logo__bild {
  display: block;
  width: auto;
  max-width: none;
  height: 54px;
  filter: brightness(0) saturate(100%) invert(85%) sepia(27%) saturate(623%) hue-rotate(353deg) brightness(95%) contrast(90%);
  transition: scale 0.2s ease-out;
}
.fv-logo:hover .fv-logo__bild { scale: 1.04; }
.fv .fv-fuss .fv-logo__bild { height: 72px; }

.fv-nav { flex: 1 1 auto; }
.fv-nav__liste {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-nav__eintrag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--fv-tippziel);
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--fv-text);
  font: 500 0.95rem/1 var(--fv-schrift);
  cursor: pointer;
  transition: background-color var(--fv-uebergang), border-color var(--fv-uebergang), scale 0.12s ease-out;
}
.fv-nav__eintrag:hover { background: var(--fv-flaeche-hoch); text-decoration: none; }
/* Mit vier Gruppen wird es knapp, bevor unter 1100px das Menueblatt greift:
   Eintraege brechen nicht um, der Innenabstand gibt nach. */
.fv-nav__eintrag { white-space: nowrap; }
@media (max-width: 1279.98px) {
  .fv-nav__eintrag { padding-inline: 10px; }
}
.fv-nav__eintrag[aria-current="page"],
.fv-nav__eintrag--aktiv { border-color: var(--fv-linie-feld); color: var(--fv-gold); }
.fv-nav li:has(> .fv-nav__menue:popover-open) > .fv-nav__eintrag { background: var(--fv-flaeche-hoch); }

.fv-kopf__werkzeuge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fv-kopf__nachrichten {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--fv-tippziel);
  padding: 0 10px;
  border-radius: 999px;
  color: var(--fv-text);
}
.fv-kopf__nachrichten:hover { background: var(--fv-flaeche-hoch); text-decoration: none; }

.fv-kopf__menueknopf {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--fv-tippziel);
  height: var(--fv-tippziel);
  margin-left: auto;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 999px;
  background: transparent;
  color: var(--fv-gold);
  cursor: pointer;
}

/* ---------- Popover (Menues, Konto, Handy-Blatt) ---------- */

.fv-popover {
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, overlay 0.18s ease-out allow-discrete, display 0.18s ease-out allow-discrete;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--fv-linie);
  border-radius: var(--fv-radius-klein);
  background: var(--fv-flaeche-hoch);
  color: var(--fv-text);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.5);
}

/* Ein- und Ausblenden der Popover, ohne JavaScript. */
.fv-popover:not(:popover-open) { opacity: 0; transform: translateY(-6px) scale(0.98); }
@starting-style {
  .fv-popover:popover-open { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
.fv-blatt:not(:popover-open) { transform: translateY(-24px); }
@starting-style {
  .fv-blatt:popover-open { opacity: 0; transform: translateY(-24px); }
}

.fv-nav__menue,
.fv-konto {
  position-area: bottom;
  position-try-fallbacks: flip-inline;
  margin-top: 10px;
  min-width: 240px;
}
.fv-nav__menue .fv-nav__punkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.fv-konto { position-area: bottom span-left; }

/* Ohne Anchor Positioning stehen die Menues mittig unter der Leiste. */
@supports not (position-area: bottom) {
  .fv-nav__menue,
  .fv-konto {
    inset: calc(var(--fv-kopf-hoehe) + 28px) auto auto 50%;
    translate: -50% 0;
  }
}

.fv-nav__punkte { margin: 0; padding: 0; list-style: none; }
.fv-nav__punkt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: var(--fv-tippziel);
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fv-text);
  font: 500 0.95rem/1.2 var(--fv-schrift);
  text-align: left;
  cursor: pointer;
}
.fv-nav__punkt:hover { background: var(--fv-flaeche); color: var(--fv-gold); text-decoration: none; }
.fv-nav__punkt[aria-current="page"],
.fv-nav__punkt--aktiv {
  color: var(--fv-gold);
  background: linear-gradient(120deg, rgb(231 196 119 / 0.12), rgb(231 196 119 / 0.04));
  box-shadow: inset 0 0 0 1px rgb(231 196 119 / 0.24);
}
.fv-nav__punkt:is([aria-current="page"], .fv-nav__punkt--aktiv):hover {
  background: linear-gradient(120deg, rgb(231 196 119 / 0.18), rgb(231 196 119 / 0.07));
}
.fv-nav__punkte form { margin: 0; }

.fv-konto__name {
  margin: 4px 12px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fv-linie);
  font-weight: 600;
}

.fv-blatt {
  width: 100%;
  max-width: none;
  max-height: 100dvh;
  inset: 0 0 auto 0;
  overflow: auto;
  padding: 20px 16px 24px;
  border-width: 0 0 1px;
  border-radius: 0 0 var(--fv-radius) var(--fv-radius);
}
.fv-blatt::backdrop { background: rgb(0 0 0 / 0.5); }
.fv-blatt__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -8px 0 8px;
  padding: 0 4px 12px 8px;
  border-bottom: 1px solid var(--fv-linie);
}
.fv-blatt .fv-blatt__schliessen { display: inline-flex; }
.fv-blatt__titel {
  margin: 16px 12px 4px;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.fv-blatt__titel:first-child { margin-top: 0; }
.fv-blatt__konto {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--fv-linie);
}
.fv-blatt__konto .fv-konto__name,
.fv-blatt__konto .fv-nav__punkte { flex: 1 1 100%; }

/* ---------- Seitenkoerper ---------- */

/* Inhaltsseiten stehen in einer lesbaren Spalte, die Startseite nutzt die volle Breite. */
.fv-seite {
  max-width: calc(960px + 32px);
  margin: 40px auto 64px;
  padding: 0 16px;
  min-width: 0;
}
.fv-seite:has(> .fv-raster) { max-width: calc(var(--fv-breite) + 32px); }

/* Bannergrafiken von 2005 ueber den Bereichen */
.fv .mitglieder-kopf,
.fv .forum-kopf { margin: 0 0 20px; text-align: center; line-height: 0; }
.fv .mitglieder-kopf img,
.fv .forum-kopf img { border-radius: var(--fv-radius-klein); }

.fv .rahmen,
.fv .steinrahmen {
  margin-bottom: 20px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--fv-linie);
  border-radius: var(--fv-radius);
  background: var(--fv-flaeche);
  background-image: var(--fv-paneel);
  box-shadow: inset 0 1px 0 rgb(231 196 119 / 0.12), 0 12px 32px rgb(0 0 0 / 0.18);
  color: var(--fv-text);
  font-size: 1rem;
}
.fv .rahmen .rahmen,
.fv .steinrahmen .steinrahmen { background: var(--fv-flaeche-hoch); }

.fv .bereichstitel,
.fv .rechtstitel {
  margin: 0 0 12px;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}
.fv .bereichstitel { font-size: clamp(1.75rem, 4vw, 2.75rem); }
/* Lange Einzelwoerter wie "Datenschutzerklaerung" trennen statt ueberlaufen. */
.fv .bereichstitel,
.fv .rechtstitel,
.fv .forum-titel,
.fv .fv-kachel__titel,
.fv .fv-kopfbereich__leitsatz { overflow-wrap: break-word; hyphens: auto; }
.fv .rahmen,
.fv .steinrahmen { overflow-wrap: break-word; }
.fv .rechtstitel { margin-top: 28px; font-size: 1.35rem; }
.fv .rahmen h2,
.fv .steinrahmen h2 { color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); font-size: 1.3rem; }
.fv .bereichshinweis { margin: 0 0 24px; color: var(--fv-text-leise); font-size: 1rem; }

.fv .archivmarke,
.fv .fixiertmarke {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 10px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 999px;
  background: transparent;
  color: var(--fv-text-leise);
  font: 600 0.72rem/1.6 var(--fv-schrift);
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.fv .fixiertmarke { border-color: var(--fv-gold); color: var(--fv-gold); }

/* Beitraege (News, Seiten) */
.fv .beitrag__kopf { display: flex; align-items: flex-start; gap: 14px; }
.fv .beitrag__symbol { flex: 0 0 auto; width: 72px; height: 72px; object-fit: contain; border-radius: 6px; }
.fv .beitrag__titelgruppe { flex: 1 1 auto; min-width: 0; }
.fv .beitrag__titel {
  margin: 0;
  color: var(--fv-text);
  font-family: var(--fv-schrift-titel);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
}
.fv .beitrag__meta { margin: 4px 0 0; color: var(--fv-text-leise); font-size: 0.875rem; }
.fv .beitrag__linie { margin: 16px 0; border: 0; border-top: 1px solid var(--fv-linie); }
.fv .beitrag__inhalt { overflow-wrap: break-word; display: flow-root; line-height: 1.7; }
.fv .beitrag__inhalt p:first-child { margin-top: 0; }
.fv .beitrag__inhalt p:last-child { margin-bottom: 0; }
.fv .beitrag__inhalt .archivbild--links,
.fv .beitrag__inhalt .archivbild--rechts { border-radius: 8px; }
/* Schriftgroessen aus den Texten von 2005 (8pt, 0.75em) wuerden hier winzig. */
.fv [style*="font-size:0.75em"],
.fv [style*="font-size:0.85em"],
.fv [style*="font-size:8pt"],
.fv [style*="font-size: 8pt"],
.fv font[size="1"] { font-size: 0.9rem !important; }
.fv .beitrag__fuss { margin-top: 16px; color: var(--fv-text-leise); font-size: 0.875rem; }

/* Formulare */
.fv .formular { margin: 12px 0; }
.fv .formular__feld { margin: 0 0 14px; }
.fv .formular__feld label,
.fv .formular label { display: block; margin-bottom: 4px; font-weight: 500; }
.fv input[type="text"],
.fv input[type="email"],
.fv input[type="password"],
.fv input[type="url"],
.fv input[type="number"],
.fv input[type="search"],
.fv input[type="date"],
.fv input[type="file"],
.fv select,
.fv textarea {
  width: 100%;
  max-width: 100%;
  min-height: var(--fv-tippziel);
  padding: 10px 12px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 8px;
  background: var(--fv-grund);
  color: var(--fv-text);
  font: 1rem/1.4 var(--fv-schrift);
}
.fv textarea { min-height: 8rem; }
.fv input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 14px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 999px;
  background: var(--fv-flaeche-hoch);
  color: var(--fv-text);
  font: 600 0.85rem var(--fv-schrift);
  cursor: pointer;
}
.fv input[type="checkbox"],
.fv input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--fv-gold); vertical-align: -2px; }
.fv label:has(> input[type="checkbox"]),
.fv label:has(> input[type="radio"]) { display: flex; align-items: center; gap: 10px; min-height: var(--fv-tippziel); }
.fv fieldset { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--fv-linie); border-radius: var(--fv-radius-klein); }
.fv legend { padding: 0 6px; color: var(--fv-bernstein); font-weight: 600; }
.fv .formular__fehler { display: block; margin-top: 4px; color: var(--fv-fehler); font-size: 0.9rem; }
.fv .formular__hinweis { margin: 6px 0 12px; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv [role="status"].formular__hinweis {
  padding: 10px 14px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: var(--fv-radius-klein);
  color: var(--fv-text);
}

/* Tabellen */
.fv .fv-seite table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.fv .fv-seite th,
.fv .fv-seite td { padding: 10px 8px; border-bottom: 1px solid var(--fv-linie); text-align: left; vertical-align: top; }
.fv .fv-seite th { color: var(--fv-bernstein); font-weight: 600; }

/* Blaettern */
.fv .blaettern { margin: 24px auto; text-align: center; }
.fv .blaettern ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fv .blaettern a,
.fv .blaettern span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--fv-tippziel);
  min-height: var(--fv-tippziel);
  padding: 0 12px;
  border: 1px solid var(--fv-linie);
  border-radius: 999px;
  color: var(--fv-text);
}
.fv .blaettern a:hover { border-color: var(--fv-gold); color: var(--fv-gold); text-decoration: none; }
.fv .blaettern [aria-current="page"] { background: var(--fv-gold); border-color: var(--fv-gold); color: var(--fv-auf-gold); font-weight: 700; }

.fv .nur-mobil { display: none; }

/* ---------- Seitenfamilien ---------- */

.fv .rahmen ul { padding-left: 1.3em; }
.fv .rahmen code { color: var(--fv-gold); font-size: 0.9em; }
.fv .hinweis-fehlend { color: var(--fv-gold); font-weight: 700; }

/* Umfragen */
.fv .umfrage__kopf { margin-bottom: 4px; }
.fv .umfrage__optionen { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.fv .umfrage__optionkopf { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 0.95rem; }
.fv .umfrage__optionkopf > span:last-child { color: var(--fv-text-leise); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fv .umfrage__balken { height: 10px; overflow: hidden; border-radius: 999px; background: var(--fv-grund); border: 1px solid var(--fv-linie); }
.fv .umfrage__balkenfuellung { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--fv-bernstein), var(--fv-gold)); }
.fv .umfrage__gesamt { margin: 12px 0 0; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .umfrage__eigenmarke { margin-left: 6px; color: var(--fv-gold); font-size: 0.8rem; font-weight: 600; }
.fv .umfrage__formular { margin-top: 16px; }
.fv .umfrage__wahloption { margin: 0; }

/* Unsere Brueder und Profile */
.fv .mitglieder-titel { margin-top: 32px; }
.fv .mitglieder-volk { display: flex; align-items: flex-start; gap: 24px; }
.fv .mitglieder-volk__bild { flex: 0 0 auto; width: 140px; height: auto; border-radius: 14px; border: 1px solid var(--fv-linie-feld); }
.fv .mitglieder-volk__ohne-bild {
  flex: 0 0 140px;
  align-self: center;
  margin: 0;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.fv .mitglieder-volk__rahmen { flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.fv .mitglieder-volk__name { color: var(--fv-gold); font-weight: 600; }
.fv .mitglieder-volk__name a { color: inherit; }
.fv .mitglieder-volk__zeile--inaktiv td { opacity: 0.6; }
.fv .mitglieder-volk__inaktiv { font-weight: 400; font-style: italic; font-size: 0.9em; }
.fv .wanderer-tabelle td:not(:first-child),
.fv .wanderer-tabelle th:not(:first-child) { text-align: center; }
.fv .wanderer-tabelle a { white-space: nowrap; }
.fv .profil__zwischentitel { color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); }
.fv .profil__kopf { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.fv .profil__bild { max-width: 200px; border-radius: 14px; border: 1px solid var(--fv-linie-feld); }
.fv .profil__tabelle th { width: 35%; color: var(--fv-text-leise); font-weight: 500; }
.fv .profil__status-aktiv { color: var(--fv-gold); font-weight: 600; }

/* Gaestebuch */
.fv .gb-eintrag__kopf { margin-bottom: 8px; }
.fv .gb-antwort { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--fv-gold); border-radius: 0 var(--fv-radius-klein) var(--fv-radius-klein) 0; background: var(--fv-flaeche-hoch); }
.fv .gb-antwort__label { margin: 0 0 4px; color: var(--fv-gold); font-size: 0.85rem; font-weight: 700; }

/* Bibliothek */
.fv .bibliothek__rubriken { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.fv .bibliothek__rubrik { padding: 16px; border: 1px solid var(--fv-linie); border-radius: var(--fv-radius-klein); background: var(--fv-flaeche-hoch); }
.fv .bibliothek__rubrik--leer .bibliothek__rubrikname { color: var(--fv-text-leise); }
.fv .bibliothek__rubrikname { margin: 0 0 6px; color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); font-size: 1.1rem; }
.fv .bibliothek__rubrikbeschreibung,
.fv .bibliothek__rubrikanzahl { margin: 0 0 4px; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .bibliothek__eintragkopf { display: flex; align-items: flex-start; gap: 14px; }
.fv .bibliothek__vorschau { flex: 0 0 auto; width: 96px; height: auto; border-radius: 8px; border: 1px solid var(--fv-linie); }
.fv .bibliothek__eintraginhalt { flex: 1 1 auto; min-width: 0; }
.fv .bibliothek__fehlt { color: var(--fv-text-leise); font-style: italic; }
.fv .bibliothek__aktion { margin-top: 12px; }

/* Inhaltsbloecke neuer Beitraege */
.fv .block { margin: 0 0 14px; }
.fv .block--bild img,
.fv .block--textbild__bild img,
.fv .block--galerie img { border-radius: var(--fv-radius-klein); }
.fv .block--bild figcaption,
.fv .block--textbild__bild figcaption,
.fv .block--galerie figcaption { margin-top: 6px; color: var(--fv-text-leise); font-size: 0.85rem; }
.fv .block--galerie figure { margin: 0; }
.fv .block--galerie img { width: 100%; height: auto; }
/*
 * Zitate aus dem Texteditor und der Zitat-Baustein als Goldkarte. Das
 * Anfuehrungszeichen ist ein ::before, damit das Markup unveraendert bleibt;
 * flow-root laesst die Karte neben einem umflossenen Bild schmaler werden.
 */
.fv :is(.block--text, .block--textbild__text) blockquote,
.fv .block--zitat {
  position: relative;
  display: flow-root;
  margin: 18px 0;
  padding: 22px 26px 18px 76px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 10px;
  background: var(--fv-flaeche-hoch);
}
.fv :is(.block--text, .block--textbild__text) blockquote::before,
.fv .block--zitat::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 22px;
  color: var(--fv-gold);
  font: 700 4.2rem/1 var(--schrift-serif);
}
.fv :is(.block--text, .block--textbild__text) blockquote p,
.fv .block--zitat p {
  margin: 0 0 8px;
  color: var(--fv-text);
  font-family: var(--fv-schrift-titel);
  font-size: 1.1rem;
  line-height: 1.5;
}
.fv :is(.block--text, .block--textbild__text) blockquote p:last-of-type,
.fv .block--zitat p:last-of-type { margin-bottom: 0; }
.fv .zitat__urheber,
.fv .block--zitat footer {
  margin-top: 10px;
  color: var(--fv-bernstein);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 30rem) {
  .fv :is(.block--text, .block--textbild__text) blockquote,
  .fv .block--zitat { padding: 18px 18px 14px 54px; }
  .fv :is(.block--text, .block--textbild__text) blockquote::before,
  .fv .block--zitat::before { top: 12px; left: 16px; font-size: 3rem; }
}
.fv .block--trenner { margin: 24px 0; border: 0; border-top: 1px solid var(--fv-linie); }

/* Die Karte (Lage der Punkte in basis.css) */
.fv .karte__bild { border-radius: var(--fv-radius-klein); }
.fv .karte__modus { border-color: var(--fv-linie-feld); background: var(--fv-flaeche); }
.fv .karte__modus-link { border-color: var(--fv-gold); color: var(--fv-gold); }
.fv .karte__flaeche:not(.karte__flaeche--eingabe) .karte__bild { cursor: pointer; }
.fv .karte__flaeche--eingabe .karte__bild { cursor: crosshair; border: 1px solid var(--fv-linie-feld); }
.fv .karte__flaeche .karte__marker {
  display: block;
  width: 12px;
  height: 12px;
  min-height: 0;
  padding: 0;
  border: 2px solid var(--fv-grund);
  border-radius: 50%;
  background: var(--fv-gold);
  box-shadow: 0 0 0 3px rgb(231 196 119 / 0.25);
  cursor: pointer;
}
.fv .karte__flaeche .karte__marker--archiv { width: 8px; height: 8px; border-width: 1px; background: var(--fv-text-leise); box-shadow: none; }
.fv .karte__flaeche .karte__marker--stumm { cursor: default; }
.fv .karte__tooltip {
  padding: 4px 10px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 999px;
  background: var(--fv-flaeche-hoch);
  color: var(--fv-text);
  font-size: 0.8rem;
}
.fv .karte__legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .karte__legende li { display: flex; align-items: center; gap: 8px; }
.fv .karte__legende-punkt { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; }
.fv .karte__legende-punkt--aktuell { background: var(--fv-gold); }
.fv .karte__legende-punkt--archiv { width: 8px; height: 8px; background: var(--fv-text-leise); }
.fv .karte__namen { margin: 12px 0 0; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .karte__feldpaar { display: flex; flex-wrap: wrap; gap: 12px; }
.fv .karte__feldpaar > * { flex: 1 1 160px; }

/* Nachrichten */
.fv .nachrichten-reiter { margin: 0 0 20px; }
.fv .nachrichten-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--fv-linie);
}
.fv .nachrichten-zeile--ungelesen { border-radius: 8px; background: var(--fv-flaeche-hoch); box-shadow: inset 3px 0 0 var(--fv-gold); }
.fv .nachrichten-zeile__betreff { flex: 1 1 260px; font-weight: 600; }
.fv .nachrichten-zeile__von,
.fv .nachrichten-zeile__datum { color: var(--fv-text-leise); font-size: 0.875rem; }
.fv .nachrichten-zeile__datum { white-space: nowrap; }
.fv .nachrichten-tabelle { margin-bottom: 16px; }
.fv .nachrichten-tabelle th { width: 20%; white-space: nowrap; }
.fv .nachrichten-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fv .nachrichten-loeschen-formular { display: inline; }
.fv .nachrichten-loeschen-knopf {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fv-gold);
  font: inherit;
  text-decoration: underline;
  transform: none;
}

/* Profil bearbeiten und What's new? */
.fv .profil-formular__abschnitt { margin: 0 0 28px; padding-top: 20px; border-top: 1px solid var(--fv-linie); }
.fv .profil-formular__abschnitt:first-of-type { border-top: 0; padding-top: 0; }
.fv .profil-formular__bild { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 12px; }
.fv .profil-formular__bild img { border-radius: 12px; }
.fv .profil-formular__reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.fv .profil-formular__reihe .formular__feld { flex: 1 1 120px; }
.fv .profil-formular__links { margin: 0 0 20px; color: var(--fv-text-leise); }
.fv .profil-formular__gildenname { color: var(--fv-text); font-weight: 700; }
.fv .profil-formular__unterueberschrift { margin: 20px 0 6px; color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); font-size: 1rem; }
.fv .neuigkeiten-rubrik { margin: 0 0 28px; }
.fv .neuigkeiten-rubrik ul { margin: 0; padding-left: 1.2em; }
.fv .neuigkeiten-rubrik li { margin-bottom: 6px; }
.fv .neuigkeiten-leer { color: var(--fv-text-leise); font-style: italic; }

@media (max-width: 599.98px) {
  .fv .mitglieder-volk { flex-direction: column; align-items: center; }
  .fv .mitglieder-volk__rahmen { align-self: stretch; }
  .fv .nachrichten-tabelle th { width: auto; }
  /* Datentabellen duerfen in sich seitlich scrollen (WCAG 1.4.10), die Seite
     nicht. Das uebernimmt .mitglieder-volk__rahmen: eine Tabelle mit
     display: block schrumpfte auf ihren Inhalt statt die Breite zu fuellen. */
  .fv .fv-seite th,
  .fv .fv-seite td { padding: 8px 5px; font-size: 0.875rem; }
}

/* ---------- Die Taverne (Forum) ---------- */

.fv .forum-titel {
  margin: 8px 0 12px;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: left;
  overflow-wrap: break-word;
}
.fv .forum-pfad { margin: 0 0 12px; color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .forum-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.fv .forum-knoepfe img { vertical-align: middle; }
.fv .forum-hinweis { color: var(--fv-gold); font-weight: 600; }
.fv .forum-warnung { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--fv-gold); border-radius: var(--fv-radius-klein); }

.fv .forum-tabellenrahmen { overflow-x: auto; margin: 0 0 16px; }
.fv .fv-seite .forum-tabelle { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.fv .fv-seite .forum-tabelle th { padding: 10px; border-bottom: 1px solid var(--fv-linie-feld); color: var(--fv-bernstein); font-size: 0.85rem; font-weight: 600; }
.fv .fv-seite .forum-tabelle td { padding: 12px 10px; border-bottom: 1px solid var(--fv-linie); vertical-align: middle; background: none; }
.fv .forum-tabelle tbody tr:hover td { background: var(--fv-flaeche-hoch); }
.fv .forum-tabelle caption { padding: 0 0 8px; color: var(--fv-text-leise); text-align: left; }
.fv .fv-seite .forum-tabelle .forum-kategorie {
  padding: 18px 10px 8px;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
}
.fv .forum-zelle--symbol { width: 28px; text-align: center; }
.fv .forum-zelle--zahl { color: var(--fv-text-leise); text-align: center; font-variant-numeric: tabular-nums; }
.fv .forum-tabelle time { white-space: nowrap; }
.fv .forum-einrueckung-1 { padding-left: 28px !important; }
.fv .forum-einrueckung-2 { padding-left: 48px !important; }
.fv .forum-zeile--ausgeblendet td { font-style: italic; }
.fv .forum-blaettern { margin: 12px 0; text-align: center; font-size: 0.9rem; }
.fv .forum-blaettern a { display: inline-block; padding: 6px 8px; }
.fv .forum-blaettern__eintrag { white-space: nowrap; }

/* Beitraege: Autorenspalte links, Text rechts */
.fv .forum-beitraege { display: grid; gap: 12px; margin: 12px 0; }
.fv .forum-beitrag {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--fv-linie);
  border-radius: var(--fv-radius);
  background: var(--fv-flaeche);
}
.fv .forum-beitrag__autor {
  padding: 16px;
  border-right: 1px solid var(--fv-linie);
  background: var(--fv-flaeche-hoch);
  color: var(--fv-text-leise);
  font-size: 0.85rem;
  text-align: center;
}
.fv .forum-beitrag__autor p { margin: 0 0 6px; }
.fv .forum-beitrag__nummer { text-align: left; }
.fv .forum-beitrag__name { color: var(--fv-gold); font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.fv .forum-beitrag__avatar,
.fv .forum-beitrag__banner { display: block; max-width: 100%; height: auto; margin: 6px auto; border-radius: 8px; }
.fv .forum-beitrag__text { min-width: 0; padding: 16px 20px; line-height: 1.7; overflow-wrap: anywhere; }
.fv .forum-beitrag__vermerk { color: var(--fv-text-leise); font-size: 0.85rem; font-style: italic; }
.fv .forum-beitrag__signatur { margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--fv-linie-feld); color: var(--fv-text-leise); font-size: 0.85rem; }
.fv .forum-beitrag--ausgeblendet .forum-beitrag__text { font-style: italic; }
.fv .forum-beitrag__knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0 0 10px; }
.fv .forum-beitrag__knoepfe img { vertical-align: middle; }

/* Trenner zwischen den Beitraegen von 2005 und den neuen */
.fv .forum-fortsetzung {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 12px;
  color: var(--fv-gold);
  font-family: var(--fv-schrift-titel);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.fv .forum-fortsetzung::before,
.fv .forum-fortsetzung::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--fv-gold), transparent); }

/* Knoepfe, Formulare, Moderation */
.fv .forum-textknopf {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fv-gold);
  font: inherit;
  cursor: pointer;
}
.fv .forum-textknopf:hover { text-decoration: underline; }
.fv .forum-bildknopf { min-height: 0; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; }
.fv .forum-moderation { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; }
.fv .forum-moderation form,
.fv .forum-inline { display: inline; margin: 0; }
.fv .forum-formular textarea { min-height: 12rem; font-family: var(--fv-schrift); }
.fv .forum-unterueberschrift { margin: 16px 0 6px; color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); font-size: 1rem; }
.fv .forum-auswahl { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.fv .forum-auswahl__gruppe { margin: 12px 0 4px; color: var(--fv-bernstein); font-weight: 600; }
.fv .forum-avatare { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.fv .forum-avatare__wahl { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; padding: 8px; border-radius: var(--fv-radius-klein); cursor: pointer; }
.fv .forum-avatare__wahl:has(input:checked) { background: var(--fv-flaeche-hoch); box-shadow: inset 0 0 0 2px var(--fv-gold); }
.fv .forum-avatare__wahl img { max-width: 80px; height: auto; border-radius: 8px; }

@media (max-width: 639.98px) {
  /* Tabellenzeilen als Karten wie im Look von 2005; der Kopf bleibt fuer Screenreader im Baum. */
  .fv .nur-mobil { display: inline; }
  .fv .forum-tabelle,
  .fv .forum-tabelle caption,
  .fv .forum-tabelle tbody,
  .fv .fv-seite .forum-tabelle td { display: block; }
  .fv .forum-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fv .forum-tabelle tr {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-bottom: 8px;
    padding: 12px 12px 12px 44px;
    border: 1px solid var(--fv-linie);
    border-radius: var(--fv-radius-klein);
    background: var(--fv-flaeche);
  }
  .fv .fv-seite .forum-tabelle td { padding: 0; border: 0; }
  .fv .forum-tabelle td.forum-zelle--symbol { position: absolute; left: 12px; top: 14px; width: 24px; }
  .fv .forum-tabelle td.forum-zelle--symbol + td.forum-zelle--symbol { top: 40px; }
  .fv .forum-tabelle .forum-zelle--titel { flex: 1 1 100%; font-size: 1rem; }
  .fv .forum-tabelle .forum-zelle--zahl { text-align: left; }
  .fv .forum-tabelle .forum-zelle--letzte { flex: 1 1 100%; }
  .fv .forum-tabelle .forum-zelle--letzte br { display: none; }
  .fv .forum-zeile--ankuendigung td:not(.forum-zelle--titel) { display: none; }
  .fv .fv-seite .forum-tabelle .forum-kategorie { padding: 12px 0 4px; }

  .fv .forum-beitrag { grid-template-columns: minmax(0, 1fr); }
  .fv .forum-beitrag__autor { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; border-right: 0; border-bottom: 1px solid var(--fv-linie); text-align: left; }
  .fv .forum-beitrag__avatar { width: 48px; margin: 0; }
  .fv .forum-beitrag__banner { margin: 0; }
  .fv .forum-beitrag__text { padding: 14px 16px; }
}

/* ---------- Startseite: Kachelraster ---------- */

/* Heldenbanner zwischen Kopfleiste und Kacheln */
.fv-held {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--fv-linie-feld);
  border-radius: var(--fv-radius);
  background: var(--fv-flaeche);
  box-shadow: 0 18px 55px rgb(0 0 0 / 0.35);
}
.fv-held::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(245 223 163 / 0.42);
  border-radius: 7px;
  pointer-events: none;
}
.fv .fv-held__bild { display: block; width: 100%; height: auto; }

.fv-raster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
}

.fv-kachel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--fv-linie);
  border-radius: var(--fv-radius);
  background: var(--fv-paneel);
  box-shadow: inset 0 1px 0 rgb(231 196 119 / 0.12), 0 10px 28px rgb(0 0 0 / 0.18);
  transition: border-color var(--fv-uebergang), translate 0.25s ease-out;
}
.fv-kachel:hover { border-color: var(--fv-linie-feld); translate: 0 -3px; }
.fv-kachel--breit { grid-column: span 2; }
/* Jede Spalte stapelt ihre Kacheln ohne gemeinsame Zeilenhoehe. */
.fv-newsbereich { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; min-width: 0; }
.fv-newsseite { display: grid; gap: 24px; min-width: 0; }
.fv-newsseite > .fv-kachel { grid-column: auto; }
.fv-kurzinfos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; align-items: start; }
.fv-kachel--fixiert { border-color: var(--fv-linie-feld); }
.fv-kachel__titel.fv-fixiert__kopf { display: flex; align-items: center; gap: 10px; }
.fv-fixiert__kopf img { flex: none; }
.fv .beitrag--fixiert-kompakt { padding-block: 22px; }
.fv .beitrag--fixiert-kompakt .beitrag__kopf { align-items: center; flex-wrap: nowrap; }
.fv .beitrag--fixiert-kompakt .beitrag__titelgruppe { flex: 1; min-width: 0; }
.fv .beitrag__pin { width: 56px; height: 56px; border: 0; background: none; box-shadow: none; }
.fv .beitrag--fixiert-kompakt .beitrag__titel { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.fv .beitrag--fixiert-kompakt .beitrag__titel a { color: var(--fv-text); }
.fv .news-zurueck { margin-bottom: 18px; }
.fv-kachel--kopf { grid-column: span 3; }
.fv-kachel p { margin: 0 0 10px; }

.fv-kachel__titel {
  margin: 0 0 14px;
  color: var(--fv-bernstein);
  font-family: var(--fv-schrift-titel);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(231 196 119 / 0.2);
}
.fv-kachel__mehr { margin-top: auto !important; padding-top: 8px; font-weight: 600; }
.fv-kachel__mehr a::after { content: " →"; }
.fv-kachel__aktionen,
.fv-kopfbereich__aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto !important; }

/* Kopfbereich mit dezentem Goldglanz */
.fv-kachel--kopf {
  justify-content: center;
  min-height: 280px;
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(600px 300px at var(--fv-glanz-x) var(--fv-glanz-y), rgb(231 196 119 / 0.18), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, rgb(73 117 187 / 0.12), transparent 70%),
    var(--fv-paneel);
  border-color: var(--fv-linie-feld);
  transition: border-color var(--fv-uebergang), translate 0.25s ease-out, --fv-glanz-x 0.8s ease-out, --fv-glanz-y 0.8s ease-out;
}
.fv-kopfbereich__leitsatz {
  margin: 0 0 8px;
  color: var(--fv-text);
  font-family: var(--fv-schrift-titel);
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.fv-kopfbereich__unterzeile { color: var(--fv-text-leise); font-size: 1.1rem; margin-bottom: 20px !important; }

/* Persoenlich */
.fv-persoenlich__name { margin: 0 !important; font-size: 1.25rem; font-weight: 700; }
.fv-persoenlich__liste { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.fv-persoenlich__liste a { display: flex; align-items: baseline; gap: 8px; color: var(--fv-text); }
.fv-persoenlich__zahl { color: var(--fv-gold); font-size: 1.5rem; font-weight: 700; line-height: 1; }

/* News */
/* Angepinnte News als Aufmacher, die aktuellen News als reine Titelliste. */
.fv-aufmacher { display: grid; gap: 6px; }
.fv-aufmacher__bild { width: 100%; max-height: 280px; margin-bottom: 8px; object-fit: cover; border-radius: var(--fv-radius-klein); }
.fv-aufmacher__symbol { display: block; width: 88px; height: 88px; margin-bottom: 4px; border-radius: 6px; }
.fv-aufmacher__titel { margin: 0; font-family: var(--fv-schrift-titel); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; }
.fv-aufmacher__titel a { color: var(--fv-text); }
.fv-kachel .fv-aufmacher__meta { margin: 0; color: var(--fv-text-leise); font-size: 0.85rem; }
.fv-aufmacher__meta :is(.archivmarke, .fixiertmarke) { margin-left: 4px; }
.fv-kachel .fv-aufmacher__anriss { margin: 4px 0 0; color: var(--fv-text-leise); }
.fv-kachel .fv-aufmacher__weiter { margin: 0; font-weight: 600; }
.fv-folgenews { display: grid; margin: 0 0 8px; padding: 0; list-style: none; }
.fv-folgenews__eintrag { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--fv-linie); }
.fv-folgenews__eintrag:last-child { border-bottom: 0; }
.fv-folgenews__symbol { display: block; width: 44px; height: 44px; border-radius: 4px; }
.fv-folgenews__titel { color: var(--fv-text); font-weight: 600; }
.fv-folgenews time { color: var(--fv-text-leise); font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 419.98px) {
  .fv-folgenews__eintrag { grid-template-columns: minmax(0, 1fr) auto; }
  .fv-folgenews__symbol { display: none; }
}

/* Fund des Tages */
.fv-kachel--fund { border-color: var(--fv-linie-feld); }
.fv-fund__titel { margin: 0 0 6px; font-family: var(--fv-schrift-titel); font-size: 1.35rem; }
.fv-fund__anriss { font-style: italic; }

/* Hall of Fame 2005: Bild links, daneben Name, Rang, Motto und Daten */
.fv-kachel--halle { border-color: var(--fv-linie-feld); }
.fv-halle { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 8px; }
.fv-halle__bild { flex: none; width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--fv-linie-feld); border-radius: 12px; }
.fv-halle__text { min-width: 0; }
.fv-halle__name { margin: 0 0 4px; font-family: var(--fv-schrift-titel); font-size: 1.35rem; }
.fv-halle__motto { margin: 0 0 10px; padding-left: 12px; border-left: 2px solid var(--fv-linie-feld); font-style: italic; }
.fv-kachel .fv-halle__motto p { margin: 0; }

@media (max-width: 419.98px) {
  .fv-halle { flex-direction: column; }
}

/* Taverne */
.fv-taverne { display: grid; gap: 2px; margin: 0 0 8px; padding: 0; list-style: none; }
.fv-taverne__thema { display: grid; padding: 8px 0; border-bottom: 1px solid var(--fv-linie); }
.fv-taverne__thema:last-child { border-bottom: 0; }
.fv-taverne__titel { font-weight: 600; }
.fv-taverne .fv-leise { font-size: 0.85rem; }

/* Umfrage in der Kachel: ohne zweiten Rahmen */
.fv-kachel--umfrage .rahmen { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.fv-kachel--umfrage .beitrag__titel { font-size: 1.1rem; }

/* Zahlen */
.fv-zahlen { display: grid; gap: 10px; margin: 0; }
.fv-zahlen__zeile { display: flex; flex-direction: column-reverse; }
.fv-zahlen dt { color: var(--fv-text-leise); font-size: 0.85rem; }
.fv-zahlen dd { font-family: var(--fv-schrift-titel); margin: 0; color: var(--fv-gold); font-size: 1.75rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Voelker */
.fv-voelker { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.fv-voelker__volk { display: grid; justify-items: center; gap: 4px; font-size: 0.85rem; }
.fv-voelker__volk img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; }

/* Karte */
.fv-karte { display: grid; grid-template-rows: 1fr auto; flex: 1 1 auto; gap: 8px; font-weight: 600; }
.fv-karte img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; border-radius: var(--fv-radius-klein); }

@media (max-width: 999.98px) {
  .fv-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fv-newsbereich { grid-template-columns: minmax(0, 1fr); }
  .fv-kachel--kopf { grid-column: span 2; }
}

@media (max-width: 639.98px) {
  .fv-raster { grid-template-columns: minmax(0, 1fr); }
  .fv-kachel--kopf,
  .fv-kachel--breit { grid-column: auto; }
  .fv-kachel--kopf { min-height: 0; }
  .fv-kurzinfos { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fuss ---------- */

.fv-fuss {
  margin-top: 48px;
  padding: 40px 16px 48px;
  border-top: 1px solid var(--fv-linie);
  background: radial-gradient(ellipse at 50% 0%, rgb(49 83 134 / 0.25), transparent 70%), var(--fv-grund);
  border-top-color: var(--fv-linie-feld);
  box-shadow: 0 -1px 0 rgb(231 196 119 / 0.08);
}
.fv-fuss__innen {
  display: grid;
  gap: 24px;
  max-width: var(--fv-breite);
  margin: 0 auto;
}
.fv-fuss__marke p { margin: 8px 0 16px; }
.fv-fuss__links .fv-nav__punkt { min-height: 36px; padding: 0; box-shadow: none; }
.fv-fuss__recht { margin: 0; color: var(--fv-text-leise); font-size: 0.8rem; line-height: 1.7; }

@media (min-width: 700px) {
  .fv-fuss__innen { grid-template-columns: 1.2fr 1fr; }
  .fv-fuss__recht { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--fv-linie); }
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 1099.98px) {
  .fv-kopf { top: 8px; padding: 0 12px; }
  .fv-kopf__leiste { padding: 6px 6px 6px 18px; }
  .fv .fv-logo__bild { height: 42px; }
  .fv-nav,
  .fv-kopf__werkzeuge { display: none; }
  .fv-kopf__menueknopf { display: inline-flex; }
  .fv-seite { margin-top: 28px; }
}

@media (max-width: 599.98px) {
  .fv .beitrag__kopf { flex-wrap: wrap; }
}

/* ---------- Goldene Beschlaege und Banner der Allianz ---------- */

/* Echtes 9-Slice: Die 1254px-Textur wird bei 340px geschnitten.
   Die vier Ecken bleiben 40px gross; nur die geraden Goldleisten wachsen.
   Ohne "fill" bleibt die Mitte frei. Die Ebene faengt keine Klicks ab. */
.fv-kachel::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 40px solid transparent;
  border-image-source: url("/img/forever/kachelrahmen-altgold.png");
  border-image-slice: 340;
  border-image-width: 40px;
  border-image-repeat: stretch;
  opacity: 0.78;
  pointer-events: none;
}
.fv-kachel--kopf::before,
.fv-kachel:hover::before { opacity: 0.92; }

.fv-zierlinie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  color: var(--fv-gold);
}
.fv-zierlinie::before,
.fv-zierlinie::after {
  content: "";
  width: min(24%, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fv-linie-feld));
}
.fv-zierlinie::after { rotate: 180deg; }
.fv-zierlinie span {
  width: 8px;
  height: 8px;
  rotate: 45deg;
  border: 1px solid var(--fv-gold);
  background: var(--fv-flaeche-hoch);
  box-shadow: 0 0 14px rgb(231 196 119 / 0.18);
}
.fv-kachel .fv-kopfbereich__wappen {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--fv-gold);
  font: 600 0.75rem/1.5 var(--fv-schrift);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fv-kopfbereich__wappen::before {
  content: "";
  flex: 0 0 18px;
  height: 23px;
  background: var(--fv-metall);
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}
.fv-kachel--fund,
.fv-kachel--halle {
  background: radial-gradient(ellipse at 100% 0%, rgb(231 196 119 / 0.1), transparent 65%), var(--fv-paneel);
}
.fv-nav__eintrag[aria-current="page"],
.fv-nav__eintrag--aktiv { background: rgb(231 196 119 / 0.07); }

@media (max-width: 639.98px) {
  .fv-zierlinie { height: 36px; }
  .fv-kachel .fv-kopfbereich__wappen { letter-spacing: 0.12em; }
  .fv-kachel { padding: 28px; }
  .fv-kachel::before {
    inset: -6px;
    border-width: 32px;
    border-image-width: 32px;
  }
}

/* ---------- Bewegung (public/js/forever.js) ---------- */

/*
 * Nur mit .fv-bewegt (gesetzt im Kopf von layouts/forever) starten diese
 * Elemente unsichtbar; forever.js blendet sie ein und meldet sich mit
 * .fv-bereit. Bis dahin laeuft die Sicherung: laedt das Skript nicht,
 * erscheint nach 1,5 s trotzdem alles. Gleiche Liste wie REVEAL_SELECTORS
 * in forever.js (ForeverStylesheetTest).
 */
.fv-bewegt :is(.fv-kopf__leiste, .fv-seite > :not(.fv-raster), .fv-raster > .fv-kachel, .fv-folgenews__eintrag, .fv-taverne__thema, .fv-voelker__volk, .forum-beitrag, .mitglieder-volk, .bibliothek__rubrik) { opacity: 0; }
.fv-bewegt .umfrage__balkenfuellung { transform: scaleX(0); transform-origin: left center; }
.fv-bewegt .karte__flaeche .karte__marker { transform: scale(0); }
.fv-bewegt:not(.fv-bereit) :is(.fv-kopf__leiste, .fv-seite > :not(.fv-raster), .fv-raster > .fv-kachel, .fv-folgenews__eintrag, .fv-taverne__thema, .fv-voelker__volk, .forum-beitrag, .mitglieder-volk, .bibliothek__rubrik, .umfrage__balkenfuellung, .karte__marker) {
  animation: fv-sicherung 0s 1.5s forwards;
}
@keyframes fv-sicherung { to { opacity: 1; transform: none; } }

.fv-wort { display: inline-block; }

@media print {
  .fv-bewegt :is(.fv-kopf__leiste, .fv-seite > :not(.fv-raster), .fv-raster > .fv-kachel, .fv-folgenews__eintrag, .fv-taverne__thema, .fv-voelker__volk, .forum-beitrag, .mitglieder-volk, .bibliothek__rubrik, .umfrage__balkenfuellung, .karte__marker) { opacity: 1 !important; transform: none !important; }
}

/* Das Layout schaltet Seitenwechsel vor dem ersten Rendern frei. */
@view-transition { navigation: none; }
.fv-kopf { view-transition-name: fv-kopf; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.25s; }

/* Die Maske folgt den Goldflaechen im gemalten Logo pixelgenau.
   Koordinaten entsprechen scripts/hero-logo-masken.py; nur der Lichtreflex
   innerhalb der festen Maske bewegt sich, das Motiv bleibt unveraendert. */
.fv-held__logoglanz {
  position: absolute;
  left: calc(832 / 2172 * 100%);
  top: calc(145 / 724 * 100%);
  width: calc(510 / 2172 * 100%);
  height: calc(300 / 724 * 100%);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mask: url('/img/forever/hero-logo-mask-desktop.png') center / 100% 100% no-repeat;
  -webkit-mask: url('/img/forever/hero-logo-mask-desktop.png') center / 100% 100% no-repeat;
}
.fv-held__logoglanz::before {
  content: "";
  position: absolute;
  inset: -10% auto -10% 0;
  width: 60%;
  background: linear-gradient(110deg, transparent 12%, rgb(255 222 135 / .18) 32%, rgb(255 245 198 / .65) 44%, rgb(255 255 240 / .95) 49%, rgb(255 255 255 / .98) 51%, rgb(255 244 193 / .65) 57%, rgb(255 220 135 / .16) 70%, transparent 88%);
  transform: translateX(-110%);
  animation: fv-held-glanz 6.5s ease-in-out infinite;
  animation-play-state: paused;
}
.fv-held--glanz-aktiv .fv-held__logoglanz::before { animation-play-state: running; }
.fv-held::after { z-index: 3; }
@keyframes fv-held-glanz {
  0%, 10% { transform: translateX(-110%); opacity: 0; }
  18% { opacity: 1; }
  64% { opacity: 1; }
  76%, 100% { transform: translateX(180%); opacity: 0; }
}
@media (max-width: 699.98px) {
  .fv-held__logoglanz {
    left: calc(568 / 1586 * 100%);
    top: calc(165 / 992 * 100%);
    width: calc(462 / 1586 * 100%);
    height: calc(265 / 992 * 100%);
    mask-image: url('/img/forever/hero-logo-mask-mobile.png');
    -webkit-mask-image: url('/img/forever/hero-logo-mask-mobile.png');
  }
}
/* Statische Goldreflexe bewahren die Tiefe des Menue-Logos ohne laufende Neuzeichnung. */
.fv-logo { position: relative; isolation: isolate; --fv-logo-maske: url('/img/forever/boa-logo.svg'); }
.fv-logo--kompakt { --fv-logo-maske: url('/img/forever/boa-logo-small.svg'); }
.fv-logo::before,
.fv-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--fv-logo-maske) center / 100% 100% no-repeat; mask: var(--fv-logo-maske) center / 100% 100% no-repeat; }
.fv-logo::before { z-index: 1; background: linear-gradient(155deg, #865417 0%, #d6a64c 14%, #fff0be 25%, #bf8730 38%, #f4d991 53%, #8c561b 66%, #e3bb6b 79%, #fff0bc 89%, #b1782e 100%); filter: drop-shadow(0 1px 1px rgb(255 234 176 / .45)) drop-shadow(0 3px 3px rgb(0 0 0 / .55)); }
.fv-logo::after { z-index: 2; opacity: .52; background: radial-gradient(ellipse 30% 64% at 24% 32%, rgb(255 251 214 / .72), transparent 100%), radial-gradient(ellipse 28% 72% at 79% 63%, rgb(255 239 182 / .55), transparent 100%); background-size: 145% 145%; }
.fv-logo:hover::after { opacity: .76; }
.fv-logo__bild { position: relative; z-index: 0; filter: drop-shadow(0 1px 1px rgb(255 239 188 / .3)) drop-shadow(0 3px 4px rgb(0 0 0 / .45)); }
.fv-easter-toast { position: fixed; right: 18px; bottom: 18px; z-index: 1001; max-width: 24rem; padding: 12px 17px; border: 1px solid var(--fv-gold); border-radius: 9px; background: #152b4a; color: var(--fv-text); box-shadow: 0 8px 28px #0009; }
.fv-easter-toast[hidden] { display: none; }
.fv-brief__siegel { color: var(--fv-text-leise); font-size: 1.2rem; }
.fv-brief--neu .fv-brief__siegel { color: var(--fv-gold); text-shadow: 0 0 9px #e7c477; }
.fv-bewegt .fv-brief--neu .fv-brief__siegel { animation: fv-siegel 3.5s ease-in-out infinite; }
@keyframes fv-siegel { 50% { text-shadow: 0 0 20px #e7c477; } }
.fv-laterne { display: inline-block; margin-right: 6px; color: var(--fv-text-leise); }
.fv-laterne--aktiv { color: var(--fv-gold); text-shadow: 0 0 10px #e7c477; }
.fv-bewegt .fv-laterne--aktiv { animation: fv-siegel 4s ease-in-out infinite; }
.fv-leseabzeichen { margin-top: 14px !important; color: var(--fv-gold); font-size: 0.9rem; }
.fv-zeitkapsel { margin: 18px 0 24px; padding: 14px 20px; border: 1px solid var(--fv-linie-feld); border-radius: var(--fv-radius); background: var(--fv-flaeche); color: var(--fv-text); }
.fv-zeitkapsel span { color: var(--fv-gold); }
.fv .fv-eigenprofil { --fv-klassenlicht: #e7c477; box-shadow: inset 0 0 24px color-mix(in srgb, var(--fv-klassenlicht) 12%, transparent), 0 0 22px color-mix(in srgb, var(--fv-klassenlicht) 17%, transparent); }
.fv .fv-eigenprofil .profil__bild { box-shadow: 0 0 18px var(--fv-klassenlicht); }
.fv .fv-eigenprofil .profil-formular__bild img { box-shadow: 0 0 18px var(--fv-klassenlicht); }
.fv .fv-eigenprofil[data-fv-klasse="magier"], .fv .fv-eigenprofil[data-fv-klasse="mage"] { --fv-klassenlicht: #7ac7ee; }
.fv .fv-eigenprofil[data-fv-klasse="paladin"], .fv .fv-eigenprofil[data-fv-klasse="priester"], .fv .fv-eigenprofil[data-fv-klasse="priest"] { --fv-klassenlicht: #f6e6a1; }
.fv .fv-eigenprofil[data-fv-klasse="druide"], .fv .fv-eigenprofil[data-fv-klasse="druid"], .fv .fv-eigenprofil[data-fv-klasse="jager"], .fv .fv-eigenprofil[data-fv-klasse="hunter"] { --fv-klassenlicht: #89ca83; }
.fv .fv-eigenprofil[data-fv-klasse="krieger"], .fv .fv-eigenprofil[data-fv-klasse="warrior"], .fv .fv-eigenprofil[data-fv-klasse="schurke"], .fv .fv-eigenprofil[data-fv-klasse="rogue"] { --fv-klassenlicht: #dfad80; }
.fv .fv-eigenprofil[data-fv-klasse="hexenmeister"], .fv .fv-eigenprofil[data-fv-klasse="warlock"] { --fv-klassenlicht: #b89be5; }
.fv .fv-eigenprofil[data-fv-klasse="schamane"], .fv .fv-eigenprofil[data-fv-klasse="shaman"] { --fv-klassenlicht: #668fe0; }
.fv-murlocs { position: fixed; right: 0; bottom: 0; left: 0; z-index: 999; height: clamp(140px, 25vh, 230px); overflow: hidden; pointer-events: none; }
.fv-murlocs img { position: absolute; bottom: -6px; left: -190px; width: clamp(125px, 15vw, 190px); height: auto; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .65)) drop-shadow(0 0 9px rgb(61 180 192 / .4)); animation: fv-murloczug 4.7s ease-in forwards; }
.fv-murlocs img:nth-child(2) { bottom: -15px; width: clamp(105px, 13vw, 165px); animation-delay: .28s; }
.fv-murlocs img:nth-child(3) { bottom: 0; width: clamp(115px, 14vw, 180px); animation-delay: .55s; }
@keyframes fv-murloczug { 0% { transform: translateX(0) rotate(-9deg); } 20% { transform: translateX(25vw) rotate(8deg); } 40% { transform: translateX(50vw) rotate(-7deg); } 60% { transform: translateX(75vw) rotate(8deg); } 80% { transform: translateX(100vw) rotate(-7deg); } 100% { transform: translateX(calc(100vw + 230px)) rotate(5deg); } }

/* Reiseweg der Greifen auf der Kartenkachel und der großen Mitgliederkarte. */
.fv-karte { position: relative; overflow: hidden; }
.fv-greifenroute { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.45s ease-out; }
.fv-greifenroute svg { width: 100%; height: 100%; overflow: visible; }
.fv-greifenroute__spur { fill: none; stroke: rgb(245 223 163 / 0.86); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 9; stroke-dashoffset: 88; filter: drop-shadow(0 0 3px #e7c477); }
.fv-greifenroute__bild { position: absolute; right: 3%; top: 2%; width: min(14%, 104px); height: auto; filter: drop-shadow(0 9px 10px rgb(2 10 24 / 0.5)) drop-shadow(0 0 9px rgb(231 196 119 / 0.3)); transform-origin: center; }
.fv-karte:is(:hover, :focus-visible) .fv-greifenroute { opacity: 1; }
.fv-karte:hover .fv-greifenroute__spur { animation: fv-greifenweg 2.8s linear infinite; }
.fv-karte:hover .fv-greifenroute__bild { animation: fv-greifenflug 2.8s ease-in-out infinite; }
.fv .karte__flaeche .fv-greifenroute--karte { z-index: 4; opacity: 1; }
.fv .karte__flaeche .fv-greifenroute__bild { right: 4%; top: 24%; animation: none; }
@keyframes fv-greifenweg { to { stroke-dashoffset: 0; } }
@keyframes fv-greifenflug { 50% { translate: 10px -12px; rotate: -3deg; scale: 1.04; } }
.fv .karte__flaeche .fv-karten-ziel { animation: fv-karten-ziel .8s ease-out; }
@keyframes fv-karten-ziel { 0%, 100% { box-shadow: 0 0 0 3px rgb(231 196 119 / .25); } 45% { box-shadow: 0 0 0 10px rgb(231 196 119 / .16), 0 0 22px 8px rgb(231 196 119 / .55); } }

/* Arkane Spur in der Bibliothek: ein Verweis auf die Magie von Azeroth, kein Porträt. */
.fv .bibliothek__rubrik { position: relative; overflow: hidden; }
.fv-bibliothek__rune { position: absolute; right: 13px; top: 10px; color: #7ac7ee; font-size: 1.4rem; line-height: 1; opacity: 0.18; text-shadow: 0 0 12px #4ca8e8; }
.fv .bibliothek__rubrik:is(:hover, :focus-within) .fv-bibliothek__rune { opacity: 0.95; animation: fv-arkanerune 2.6s ease-in-out infinite; }
@keyframes fv-arkanerune { 50% { scale: 1.3; rotate: 180deg; text-shadow: 0 0 25px #74bdf0; } }

/* Die Schmiede der Erinnerung bleibt sichtbar; beim Scrollen steigen Funken auf. */
.fv-hallzeichen { position: relative; display: grid; place-items: center; gap: 2px; min-height: 166px; margin: 14px 0 20px; overflow: hidden; border: 1px solid rgb(231 196 119 / .48); border-radius: var(--fv-radius); background: radial-gradient(ellipse at 50% 94%, rgb(227 153 57 / .22), transparent 62%), radial-gradient(ellipse at 50% 0, #213d60, #0c1a2e 75%); box-shadow: inset 0 0 35px rgb(231 196 119 / .1), 0 8px 24px rgb(0 0 0 / .25); }
.fv-hallzeichen::before { content: ""; position: absolute; inset: 0; opacity: .55; background: radial-gradient(circle at 16% 72%, #f8d68b 0 2px, transparent 4px), radial-gradient(circle at 34% 24%, #f8d68b 0 1px, transparent 3px), radial-gradient(circle at 69% 80%, #f8d68b 0 2px, transparent 4px), radial-gradient(circle at 87% 39%, #f8d68b 0 1px, transparent 3px); filter: drop-shadow(0 0 7px #f6c96d); animation: fv-hall-glimmen 4s ease-in-out infinite alternate; }
.fv-hallzeichen__amboss { z-index: 1; align-self: end; color: #f6dfad; font-size: 4rem; line-height: 1; text-shadow: 0 0 15px rgb(245 197 102 / .75), 0 6px 5px #030a13; }
.fv-hallzeichen__inschrift { z-index: 1; align-self: start; color: #e9d19b; font-family: var(--fv-schrift-titel); font-size: clamp(.9rem, 2.8vw, 1.3rem); letter-spacing: .1em; text-align: center; text-shadow: 0 2px 5px #030a13; }
.fv-hallzeichen__funke { position: absolute; bottom: 16%; left: 50%; width: 5px; height: 5px; border-radius: 50%; opacity: 0; background: #fff3bd; box-shadow: 0 0 10px 5px rgb(252 178 56 / .7); }
.fv-hallzeichen__funke--zwei { left: 47%; }
.fv-hallzeichen__funke--drei { left: 54%; }
.fv-hallzeichen--funken .fv-hallzeichen__amboss { animation: fv-hall-schmieden 3.6s ease-in-out infinite; }
.fv-hallzeichen--funken .fv-hallzeichen__funke { animation: fv-hall-funke 2.4s ease-out infinite; }
.fv-hallzeichen--funken .fv-hallzeichen__funke--zwei { animation-delay: .55s; }
.fv-hallzeichen--funken .fv-hallzeichen__funke--drei { animation-delay: 1.1s; }
@keyframes fv-hall-glimmen { to { opacity: 1; } }
@keyframes fv-hall-schmieden { 0%, 86%, 100% { transform: rotate(0); } 91% { transform: rotate(-9deg); } 96% { transform: rotate(4deg); } }
@keyframes fv-hall-funke { 0%, 20% { opacity: 0; transform: translate(0, 0) scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(80px, -125px) scale(.1); } }

/* Hearthstone-Moment: eine Karte fängt beim Überfahren kurz Licht ein. */
.fv-taverne__thema--karte { position: relative; overflow: hidden; transition: box-shadow 0.25s ease-out, background-color 0.25s ease-out; }
.fv-taverne__kartenfunke { position: absolute; top: 50%; left: -10%; color: #f5dfa3; opacity: 0; text-shadow: 0 0 12px #e7c477; }
.fv-taverne__thema--karte:hover { background: rgb(231 196 119 / 0.07); box-shadow: inset 0 0 0 1px rgb(231 196 119 / 0.18); }
.fv-taverne__thema--karte:hover .fv-taverne__kartenfunke { animation: fv-kartenlicht 0.85s ease-out forwards; }
@keyframes fv-kartenlicht { from { opacity: 0; translate: 0 -50%; rotate: -20deg; } 35% { opacity: 1; } to { opacity: 0; translate: 1100% -50%; rotate: 35deg; } }

/* Nach langem Tavernengespräch zieht ein einziger, sehr seltener Verweis vorbei. */
.fv-leeroy { position: fixed; z-index: 999; left: -160px; bottom: 8vh; display: flex; align-items: center; gap: 9px; color: #f5dfa3; font-family: var(--fv-schrift-titel); text-shadow: 0 2px 7px #050912; pointer-events: none; animation: fv-leeroylauf 5.3s linear forwards; }
.fv-leeroy > span { font-size: 2.6rem; filter: drop-shadow(0 0 7px #e7c477); }
.fv-leeroy small { font-size: 0.95rem; letter-spacing: 0.08em; }
@keyframes fv-leeroylauf { 0% { translate: 0 22px; opacity: 0; } 8% { opacity: 1; } 72% { opacity: 1; } 100% { translate: calc(100vw + 240px) -26px; opacity: 0; } }

/* Touchgeräte kennen kein verlässliches Hover. Dort zeigen die Fundstücke
   sich selbst, statt hinter einer Geste zu verschwinden. */
@media (hover: none), (pointer: coarse) {
  .fv-greifenroute { opacity: 0.72; }
  .fv-greifenroute__spur { animation: fv-greifenweg 3.8s linear infinite; }
  .fv-greifenroute__bild { width: min(20%, 142px); animation: fv-greifenflug 3.8s ease-in-out infinite; }
  .fv .karte__flaeche .fv-greifenroute__bild { width: min(20%, 116px); }
  .fv-bibliothek__rune { opacity: 0.72; animation: fv-arkanerune 4.8s ease-in-out infinite; }
  .fv-taverne__thema--karte { background: rgb(231 196 119 / 0.045); }
  .fv-taverne__thema--karte .fv-taverne__kartenfunke { animation: fv-kartenlicht 7.5s ease-in-out infinite; }
  .fv-taverne__thema--karte:nth-child(2) .fv-taverne__kartenfunke { animation-delay: 1.8s; }
  .fv-taverne__thema--karte:nth-child(3) .fv-taverne__kartenfunke { animation-delay: 3.6s; }
}

/* Eigene Bildwelt: gemalte Allianz-Embleme und goldgefasste Heldenportraets. */
.fv .fv-bildtitel {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 28px;
  padding: 12px 0 22px;
  border-bottom: 1px solid var(--fv-linie-feld);
  color: var(--fv-gold);
  font: 700 clamp(1.5rem, 3.4vw, 2.4rem)/1.2 var(--fv-schrift-titel);
}
.fv .fv-bildtitel img { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 8px; }
.fv-bildtitel small {
  display: block;
  margin-bottom: 8px;
  color: var(--fv-text-leise);
  font: 500 0.72rem/1.5 var(--fv-schrift);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fv-bildtitel > span { min-width: 0; overflow-wrap: anywhere; }
.fv-volksportrait { flex: 0 0 176px; width: 176px; max-width: 100%; margin: 0; text-align: center; }
.fv-volksportrait img { display: block; width: 176px; height: 176px; border-radius: 8px; }
.fv-volksportrait figcaption { margin-top: 10px; color: var(--fv-gold); font: 600 0.9rem/1.45 var(--fv-schrift-titel); }
.fv-icon { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; vertical-align: middle; }
.fv-forum-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.fv :is(a, button):has(> .fv-forum-action) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--fv-linie-feld);
  border-radius: 3px 11px;
  background: linear-gradient(135deg, #24426a, #101e33 68%);
  box-shadow: inset 0 0 0 3px #101e33, inset 0 0 0 4px rgb(231 196 119 / 0.18), 0 3px 8px rgb(0 0 0 / 0.18);
  color: var(--fv-gold);
  font: 600 0.85rem/1.4 var(--fv-schrift);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--fv-uebergang), background var(--fv-uebergang);
}
.fv :is(a, button):has(> .fv-forum-action):is(:hover, :focus-visible) {
  background: linear-gradient(135deg, #325780, #182a43 68%);
  border-color: var(--fv-gold);
  text-decoration: none;
}
.fv-forum-status { display: inline-flex; align-items: center; color: var(--fv-text-leise); }
.fv-forum-status--neu { color: var(--fv-gold); filter: drop-shadow(0 0 5px rgb(231 196 119 / 0.4)); }
.fv .forum-moderation { justify-content: flex-start; }
.fv-rangabzeichen {
  display: inline-block;
  margin: 6px 0;
  padding: 4px 12px;
  border-block: 1px solid var(--fv-linie-feld);
  color: var(--fv-gold);
  font-family: var(--fv-schrift-titel);
  font-size: 0.75rem;
}
@media (max-width: 699.98px) {
  .fv-volksportrait { flex-basis: auto; }
  .fv .fv-bildtitel { gap: 14px; }
  .fv .fv-bildtitel img { width: 68px; height: 68px; }
  .fv-bildtitel small { font-size: 0.65rem; letter-spacing: 0.08em; }
}

/* ---------- Glocke ---------- */

.fv-kopf__glocke { border: 0; background: transparent; font: inherit; cursor: pointer; }
.fv-glocke {
  position-area: bottom span-left;
  position-try-fallbacks: flip-inline;
  margin-top: 10px;
  width: min(380px, calc(100vw - 24px));
}
@supports not (position-area: bottom) {
  .fv-glocke { inset: calc(var(--fv-kopf-hoehe) + 28px) 12px auto auto; }
}
.fv-glocke .benachrichtigungen { max-height: min(60vh, 420px); overflow: auto; margin: 0; }
.fv-glocke .benachrichtigungen-leer { margin: 4px 12px 8px; }
.fv-glocke__fuss { margin: 8px 12px 4px; font-size: 0.9rem; }

.fv .benachrichtigungen { margin: 0 0 20px; padding: 0; list-style: none; }
.fv .benachrichtigung {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 8px;
}
.fv .benachrichtigung + .benachrichtigung { border-top: 1px solid var(--fv-linie); }
.fv .benachrichtigung--neu { background: var(--fv-flaeche); }
.fv .benachrichtigung--neu .benachrichtigung__text { font-weight: 600; }
.fv .benachrichtigung__neu { color: var(--fv-gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.fv .benachrichtigung__zeit { margin-left: auto; color: var(--fv-text-leise); font-size: 0.8rem; }
.fv .benachrichtigungen-leer { color: var(--fv-text-leise); }
.fv .benachrichtigungsmatrix { width: 100%; margin: 0 0 24px; border-collapse: collapse; }
.fv .benachrichtigungsmatrix caption { padding: 0 0 8px; color: var(--fv-gold); font-family: var(--fv-schrift-titel); font-size: 1.1rem; text-align: left; }
.fv .benachrichtigungsmatrix th,
.fv .benachrichtigungsmatrix td { padding: 8px; border-bottom: 1px solid var(--fv-linie); }
.fv .benachrichtigungsmatrix thead th { color: var(--fv-text-leise); font-size: 0.85rem; font-weight: 600; text-align: center; }
.fv .benachrichtigungsmatrix thead th:first-child,
.fv .benachrichtigungsmatrix tbody th { font-weight: 400; text-align: left; }
.fv .benachrichtigungsmatrix td { width: 4.5em; text-align: center; }
.fv .benachrichtigungsmatrix input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--fv-gold); }
.fv .benachrichtigungen-hinweis { color: var(--fv-text-leise); font-size: 0.9rem; }
.fv .beobachtete-themen { margin: 0 0 20px; padding-left: 1.2em; }
.fv .beobachtete-themen li { margin-bottom: 8px; }
.fv .beobachtete-themen__form { display: inline; margin: 0 0 0 8px; }
.fv .push-geraete__liste { width: 100%; margin: 0 0 20px; border-collapse: collapse; }
.fv .push-geraete__liste th,
.fv .push-geraete__liste td { padding: 8px; border-bottom: 1px solid var(--fv-linie); text-align: left; vertical-align: top; }
.fv .push-geraete__liste thead th { color: var(--fv-text-leise); font-size: 0.85rem; font-weight: 600; }
.fv .push-geraete__liste tbody th { font-weight: 400; }
.fv .push-geraete__liste form { margin: 0; }

/* ---------- Umschalter zu den Originalen ---------- */

/* Popover in der Kopfleiste, Liste im Handy-Blatt und Gruppe im Fuss. */
.fv-original { min-width: 200px; }
.fv-original__liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fv-original__liste .look-switch button { width: 100%; }
.fv-blatt .fv-original__liste { margin-top: 12px; }
.fv-fuss__original { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Spielerliste aus dem Bestand (Hall of Fame 2006, Hellgate) ---------- */

.fv .spielerliste__tabelle.wanderer-tabelle td,
.fv .spielerliste__tabelle.wanderer-tabelle th { text-align: left; }
.fv .spielerliste__anzahl { color: var(--fv-text-leise); font-weight: 600; }
.fv .spielerliste__rang th { color: var(--fv-bernstein); font-family: var(--fv-schrift-titel); }

/* Startseite: Gildenauftakt über die ganze Breite, Einladung direkt darunter. */
.fv-raster > .fv-kachel--kopf { grid-column: 1 / -1; }
.fv-kopfbereich__inhalt { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,50px); align-items:center; margin:12px 0 20px; }
.fv-kopfbereich__inhalt .gildenankuendigung { margin:0; }
.fv-kopfbereich__inhalt .boa-arsenal { margin:0; min-width:0; }
.fv-raster > .fv-kachel--persoenlich { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; padding:26px 34px; }
.fv-kachel--persoenlich .fv-kachel__titel { border:0; padding:0; margin:0 0 8px; font-size:1.45rem; letter-spacing:.015em; }
.fv-persoenlich__intro > p:last-child { margin-bottom:0; max-width:78ch; color:var(--fv-text-leise); font-size:.9rem; }
.fv-kachel--persoenlich .fv-kachel__aktionen { margin:0 !important; align-items:center; }
.fv-kachel--persoenlich .fv-persoenlich__liste { margin:0; }
@media(max-width:899.98px) {
  .fv-kopfbereich__inhalt { grid-template-columns:minmax(0,1fr); gap:24px; }
  .fv-kopfbereich__inhalt .gildenankuendigung { max-width:560px; justify-self:center; }
  .fv-raster > .fv-kachel--persoenlich { grid-template-columns:minmax(0,1fr); gap:18px; }
}
@media(max-width:639.98px) {
  .fv-raster > .fv-kachel--persoenlich { padding:26px 28px; }
}
@media(max-width:639.98px) {
  .fv-kopfbereich__aktionen .fv-knopf { font-size:.8rem; padding-inline:12px; }
  .fv-kopfbereich__inhalt .gildenbanner { min-height:190px; aspect-ratio:auto; padding-block:28px; }
}

/* Eigene Discord-Kachel: nur öffentliche Zahlen, keine Fremdskripte/iframes. */
.fv-gemeinschaftsbereich { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr); gap:24px; align-items:stretch; min-width:0; }
.fv-gemeinschaftsbereich > .fv-kachel--persoenlich { justify-content:center; gap:20px; padding:28px 34px; }
.fv-kachel--discord { justify-content:center; gap:16px; padding:28px 30px; background:radial-gradient(ellipse at 100% 0%,#6975c31a,transparent 75%),var(--fv-paneel); }
.fv-discord__kopf { display:flex; align-items:center; gap:14px; }
.fv-discord__symbol { flex:none; display:grid; place-items:center; width:46px; height:46px; color:var(--fv-gold); border:1px solid #d6b36b55; border-radius:8px; background:#e7c4770a; }
.fv-discord__symbol svg { width:29px; height:29px; }
.fv-kachel--discord .fv-discord__auftakt { margin:0 0 3px; color:var(--fv-text-leise); font-size:.65rem; letter-spacing:.14em; text-transform:uppercase; }
.fv-kachel--discord h2 { margin:0; color:var(--fv-gold); font:600 clamp(1.3rem,2vw,1.55rem)/1.15 var(--fv-schrift-titel); }
.fv-kachel--discord .fv-discord__beschreibung { margin:0; color:var(--fv-text-leise); font-size:.85rem; line-height:1.6; }
.fv-discord__fuss { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.fv-kachel--discord .fv-discord__status { display:flex; align-items:center; gap:6px; margin:0; font-size:.76rem; color:var(--fv-text-leise); }
.fv-discord__status strong { color:var(--fv-text); font-variant-numeric:tabular-nums; }
.fv-discord__punkt { width:7px; height:7px; border-radius:50%; background:#9bc98c; box-shadow:0 0 9px #9bc98c30; }
.fv-kachel--discord .fv-discord__status--unbekannt { max-width:17ch; line-height:1.5; font-size:.72rem; }
.fv-discord__fuss .fv-knopf { font-size:.8rem; white-space:nowrap; }
@media(max-width:899.98px) { .fv-gemeinschaftsbereich { grid-template-columns:minmax(0,1fr); } }
@media(max-width:639.98px) { .fv-gemeinschaftsbereich > .fv-kachel { padding:26px 28px; } .fv-discord__kopf { gap:10px; } .fv-discord__symbol { width:40px; height:40px; } }
