/* ==========================================================================
   fakenews/styles.css - Fake-News-Detektiv
   Optik "Nachrichten-Redaktion" (26.10.2026, GUI-NEUBAU)

   Bildidee: Der Spieler sitzt im Nachrichtenbuero einer Redaktion. Auf der
   Wand liegen blasses Zeitungsspalten-Gewebe und angepinnte Beitraege
   (kulisse.svg), der Redaktionstisch ist eine dunkle Holz-Konsole mit
   Zeitungsrot als Masthead-Kante, und der Beitrag selbst liegt als heller
   Feed-Karte auf dem Schreibtisch - der Schueler soll ihn erkennen wie ein
   echtes Social-Media-Post. Nach dem Urteil faellt ein Stempel (Echt /
   Manipuliert) schraeg ueber den Beitrag, darunter oeffnet sich der
   Faktencheck-Bericht der Redaktion.

   Aufbau:
     1. Farben & Grundform
     2. Hintergrund (Redaktionswand) + Fuss
     3. Drei-Zonen-Kopfzeile (Redaktions-Masthead)
     4. Redaktionstisch (HUD)
     5. Buehne: Feed-Eintrag (helles Papier, beide Themes)
     6. Pruef-Werkzeuge (Konsole)
     7. Urteilsknoepfe (Stempel-Druecker) + Urteils-Stempel
     8. Faktencheck (Aufloesung) + Redaktionsschluss
     9. Startmenue (Redaktions-Mappe)
    10. Kleinere Bildschirme, reduzierte Bewegung
   ========================================================================== */

/* ---------- 1. Farben & Grundform --------------------------------------- */
/* Der Doppelklasser body.jupi.fn_body schlaegt die Plattform-Regeln aus
   css/jupi.css (body.jupi = 0,1,1, dark = 0,2,1) zuverlaessig. */
body.jupi.fn_body {
  --fn-wand: #251d16;             /* Redaktionswand (warm-dunkel) */
  --fn-konsole: #2f261d;          /* Holz-Konsole */
  --fn-konsole-hoch: #3a2f24;     /* hellere Kante */
  --fn-rot: #c8503e;              /* Zeitungsrot (Masthead) */
  --fn-rot-tief: #96392c;
  --fn-rot-hell: #eda091;
  --fn-gruen: #4f9e63;
  --fn-gruen-tief: #2e7d43;
  --fn-papier: #f7f1e3;           /* Feed-Karte / Indexkarten */
  --fn-papier-kante: #d8cbb2;
  --fn-tinte: #262019;            /* Druckerschwearze auf Papier */
  --fn-tinte-matt: #6b5d4a;
  --fn-text: #ece4d4;             /* Creme auf Konsole */
  --fn-text-matt: #b3a48c;

  background-color: var(--fn-wand);
  /* EINE Szene (1600x1000) fuer den ganzen Bildschirm - keine Kachel.
     Regel 3.13.7: keine sichtbare Wiederholung, Motiv in der Mitte ruhig. */
  background-image:
    radial-gradient(circle at 50% -12%, rgba(255, 214, 160, .14) 0%, rgba(255, 214, 160, 0) 44%),
    url("kulisse.svg");
  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: cover, cover;
  color: var(--fn-text);
  min-height: 100dvh;
}

/* Im dunklen Modus wird die Wand stiller, damit Konsole und Papier den
   Ton angeben (Muster Raetselrakete / Schatzkarte). Die helle Feed-Karte
   und die Papier-Chips bleiben hell - sie sind das "echte" Ausstellstueck
   auf dem Schreibtisch (Muster Phishing: Akten-Papier bleibt Papier). */
html[data-theme="dark"] body.jupi.fn_body {
  --fn-wand: #17110c;
  --fn-konsole: #241c15;
  --fn-konsole-hoch: #2e241b;
  --fn-text: #e6ddcc;
  --fn-text-matt: #a89877;
  background-color: var(--fn-wand);
  background-image:
    radial-gradient(circle at 50% -12%, rgba(255, 214, 160, .08) 0%, rgba(255, 214, 160, 0) 40%),
    linear-gradient(rgba(10, 6, 3, .52), rgba(10, 6, 3, .52)),
    url("kulisse.svg");
  /* Auch dunkel: gestreckt und einmal - sonst wuerde die Liste der Ebenen
     mit der hellen Regel ungleich lang (Größe/Position bleiben sonst haengen). */
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center top, center top, center top;
  background-size: cover, cover, cover;
}

/* Der Container wird durchsichtig - die Wand ist der Hintergrund. Nur die
   Inline-Achse wird zentriert; margin-top/bottom der Plattform bleiben. */
.fn_body .jupi_container {
  background: transparent;
  max-width: 74rem;
  margin-inline: auto;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100dvh;
}
.fn_body .jupi_main {
  background: transparent;
  max-width: 74rem;
  padding: 1rem 1.1rem 2rem;
}
.fn_body [hidden] { display: none !important; }

/* ---------- 2. Fuss: steht direkt auf der Wand --------------------------- */
.fn_body .jupi_footer {
  background: transparent;
  border-top: 2px solid rgba(200, 80, 62, .55);
  border-radius: 0;
  margin: 0 auto;
  max-width: 74rem;
  padding: .9rem 1rem 1.2rem;
  box-shadow: none;
}
/* Die Plattform malt Fuss und Hauptbereich im Dunkelmodus wieder mit
   Flachenfarbe - hier bleiben beide durchsichtig (Wand). */
html[data-theme="dark"] body.jupi.fn_body .jupi_container > .jupi_main,
html[data-theme="dark"] body.jupi.fn_body .jupi_container > .jupi_footer {
  background: transparent;
  border-top: 2px solid rgba(200, 80, 62, .55);
}
.fn_body .jupi_footer_text { color: var(--fn-text-matt); }
.fn_body .jupi_footer_text a { color: var(--fn-rot-hell); }

/* ---------- 3. Drei-Zonen-Kopfzeile (Redaktions-Masthead) ---------------- */
.fn_header,
header.jupi_header.fn_header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .5rem 1rem .6rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(236, 228, 212, .05) 0 9%, transparent 10%),
    radial-gradient(circle at 90% 80%, rgba(0, 0, 0, .35) 0 10%, transparent 11%),
    linear-gradient(180deg, #3b2f23 0%, #2b221a 55%, #1d1610 100%);
  border-bottom: 3px solid var(--fn-rot);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(236, 228, 212, .14);
}
/* Feine Zeitungslinien im Masthead (wie Kopfzeilen-Ornament einer Zeitung) */
.fn_header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 3px;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(236, 228, 212, .30) 0 26px, transparent 26px 34px);
  opacity: .5;
  pointer-events: none;
}
.fn_header { position: relative; }

.fn_brand {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: .6rem;
  min-width: 0;
}
/* Bewusst fn_wappen und NICHT fn_mark: fn_mark gehoert den gelben
   Reizwort-Markierungen (<mark> in den Schlagzeilen, von game.js gebaut). */
.fn_wappen {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #4a3c2c, #201910);
  border: 2px solid var(--fn-rot);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.fn_wappen img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  aspect-ratio: 1;
}
.fn_titel { display: flex; flex-direction: column; min-width: 0; }
.fn_brand h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
}
.fn_untertitel {
  color: var(--fn-rot-hell);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.fn_header .jupi_nav_back {
  position: static;
  justify-self: start;
  display: flex;
  align-items: center;
  border-radius: 999px;
  padding: .45rem .85rem;
  line-height: 1.2;
  font-size: .88rem;
  min-height: 40px;
  box-sizing: border-box;
  background: #241b13;
  color: var(--fn-text);
  border: 1px solid rgba(236, 228, 212, .35);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.fn_header .jupi_nav_back:hover { background: #33271c; }
.fn_header .jupi_werkzeuge {
  position: static;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .4rem;
}
/* Der Theme-Schalter als 74x40-Pille (Muster Leseluchs / Rechen-Raumschiff);
   die jupi.css-Grundform ist zu klein fuer das 40-px-Bedienziel. */
.fn_header .jupi_theme_switch {
  width: 74px;
  height: 40px;
  min-width: 74px;
  padding: 0;
  cursor: pointer;
}
.fn_header .jts_thumb {
  top: 3px;
  bottom: auto;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
html[data-theme="dark"] .fn_header .jts_thumb {
  left: calc(100% - 36px);
}
.fn_header .jts_sun { left: 9px; }
.fn_header .jts_moon { right: 9px; }

/* ---------- 4. Redaktionstisch (HUD) ------------------------------------- */
.fn_panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin: 0 0 1.1rem;
  padding: .75rem .9rem .8rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .14)),
    var(--fn-konsole);
  border: 1px solid rgba(236, 228, 212, .22);
  border-top: 3px solid var(--fn-rot);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--fn-text);
}
.fn_panel_titel {
  position: absolute;
  top: -.62rem;
  inset-inline-start: 1rem;
  padding: 0 .45rem;
  background: var(--fn-konsole);
  color: var(--fn-rot-hell);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.fn_messwerte { display: flex; flex-wrap: wrap; gap: .5rem; }
.fn_stat {
  display: flex;
  flex-direction: column;
  min-width: 4.4rem;
  padding: .35rem .7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .07);
  border-inline-start: 3px solid var(--fn-rot);
}
.fn_stat:last-of-type { border-inline-end: 1px solid rgba(255, 255, 255, .07); }
.fn_stat label {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fn-text-matt);
}
.fn_stat span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fn-text);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.fn_controls {
  margin-inline-start: auto;
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.fn_controls label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fn-text-matt);
}
.fn_controls select.jupi_select {
  min-height: 40px;
  padding: .4rem .8rem;
  font-size: .92rem;
}
.fn_controls button.jupi_btn {
  min-height: 40px;
  padding: .45rem .85rem;
}

/* Bedienknoepfe im Redaktions-Look: Papier auf dunkler Konsole. */
.fn_body .jupi_btn {
  background: linear-gradient(180deg, #f6edd9, #e3d3b4);
  color: #2a2118;
  border: 1px solid #b39a6e;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.fn_body .jupi_btn:hover {
  background: linear-gradient(180deg, #fbf4e5, #ecdcbc);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.fn_body .jupi_btn_alt {
  background: rgba(255, 255, 255, .06);
  color: var(--fn-text);
  border: 1px solid rgba(236, 228, 212, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.fn_body .jupi_btn_alt:hover {
  background: rgba(236, 228, 212, .14);
  color: #fff;
}
.fn_body .jupi_select {
  background: rgba(0, 0, 0, .35);
  color: var(--fn-text);
  border: 1px solid rgba(236, 228, 212, .45);
  border-radius: 999px;
  min-height: 40px;
  font-weight: 700;
}
.fn_body .jupi_select option { color: #241b13; }

/* ---------- 5. Buehne: Feed-Eintrag -------------------------------------- */
.fn_stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fn_buehne_kopf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin-bottom: .8rem;
  width: 100%;
}
.fn_beitrag_label {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fn-rot-hell);
  opacity: .9;
}
.fn_kopfzeile {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.fn_task_label {
  margin: 0;
  padding: .3rem .9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(236, 228, 212, .28);
  color: var(--fn-text);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
}

/* Runden-Reihe: ein Punkt je Beitrag (Lampen auf der Anschlagtafel) */
.fn_reihe { display: flex; flex-wrap: wrap; gap: .32rem; justify-content: center; }
.fn_punkt {
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  border: 2px solid rgba(236, 228, 212, .4);
  background: transparent;
  transition: background .2s, border-color .2s;
}
.fn_punkt_aktiv {
  border-color: var(--fn-rot-hell);
  box-shadow: 0 0 0 3px rgba(200, 80, 62, .25);
}
.fn_punkt_ok { background: var(--fn-gruen); border-color: var(--fn-gruen); }
.fn_punkt_err { background: var(--fn-rot); border-color: var(--fn-rot); }

/* Der Beitrag selbst: helle Feed-Karte auf dem Schreibtisch.
   Er bleibt in BEIDEN Themes hell - er ist das Ausstellstueck. */
.fn_post {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--fn-papier);
  color: var(--fn-tinte);
  border: 1px solid var(--fn-papier-kante);
  border-radius: 14px;
  padding: 1.05rem 1.15rem 1.2rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .8);
  box-sizing: border-box;
}
.fn_post_neu { animation: fn_rein .3s ease-out; }
@keyframes fn_rein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fn_kopf { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.fn_avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--fn-papier-kante);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
}
.fn_kopf_text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.fn_absender { font-weight: 700; font-size: 1.02rem; word-break: break-word; }
.fn_kanal {
  align-self: flex-start;
  padding: .1rem .6rem;
  border-radius: 999px;
  background: #efe6d2;
  border: 1px solid var(--fn-papier-kante);
  color: var(--fn-tinte-matt);
  font-size: .78rem;
  font-weight: 700;
}
.fn_schlagzeile { margin: 0 0 .7rem; font-size: 1.35rem; line-height: 1.28; }
.fn_mark {
  background: #FFE082;
  color: #3E2723;
  padding: 0 .2rem;
  border-radius: .3rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Bild mit Unterschrift */
.fn_bildbox {
  margin: .65rem 0 .3rem;
  border-radius: .85rem;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid var(--fn-papier-kante);
}
.fn_bildbox img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  height: auto;
}
.fn_bildbox figcaption {
  padding: .4rem .65rem .5rem;
  font-size: .82rem;
  font-style: italic;
  color: var(--fn-tinte-matt);
  border-top: 1px solid var(--fn-papier-kante);
}
.fn_text {
  white-space: pre-line;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: .9rem 0 .7rem;
}

/* Quellzeile */
.fn_quelle {
  margin: .3rem 0 0;
  padding: .5rem .7rem;
  border-radius: .6rem;
  background: #f1e9d7;
  border-left: 4px solid #b39a6e;
  font-size: .9rem;
  word-break: break-word;
}
.fn_quelle_label { font-weight: 700; color: var(--fn-tinte-matt); }
.fn_quelle_url { font-family: monospace; font-size: .88rem; color: var(--fn-tinte-matt); }

/* Pruef-Befunde (liegen AUF der Feed-Karte, bleiben Papier) */
.fn_befund {
  margin: .65rem 0 .2rem;
  border-radius: .7rem;
  padding: .65rem .8rem .7rem;
  background: #FFF8E1;
  border-left: 5px solid #d9a441;
  font-size: .95rem;
  animation: fn_rein .25s ease-out;
}
.fn_befund_titel { margin: 0 0 .4rem; font-weight: 800; }
.fn_befund ul { margin: .15rem 0 .2rem; padding-left: 1.15rem; }
.fn_befund li { margin: .25rem 0; line-height: 1.45; }
.fn_befund li::marker { color: #b8860b; }
.fn_befund_hinweis {
  margin: .55rem 0 0;
  padding-top: .45rem;
  border-top: 1px dashed #c9b98d;
  font-weight: 700;
  color: var(--fn-tinte-matt);
  font-size: .88rem;
}
.fn_befund_fazit {
  margin: .55rem 0 0;
  font-weight: 800;
  font-size: .93rem;
  color: var(--fn-rot-tief);
}
.fn_befund_fazit_ok { color: var(--fn-gruen-tief); }
.fn_quellenliste {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .8rem;
  margin: .2rem 0 0;
  font-size: .92rem;
}
.fn_quellenliste dt { font-weight: 700; color: var(--fn-tinte-matt); }
.fn_quellenliste dd { margin: 0; }

/* ---------- 6. Pruef-Werkzeuge (Konsole neben dem Schreibtisch) ---------- */
.fn_werkzeugkasten {
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: .85rem .9rem .9rem;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .12)),
    var(--fn-konsole);
  border: 1px solid rgba(236, 228, 212, .22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
}
.fn_werkzeug_kopf {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .7rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .7rem;
}
.fn_werkzeug_titel {
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fn-rot-hell);
}
.fn_bonus_badge {
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(236, 228, 212, .3);
  color: var(--fn-text-matt);
  transition: background .2s, color .2s;
}
.fn_bonus_badge_ok { background: var(--fn-gruen-tief); border-color: var(--fn-gruen); color: #f2fff6; }
.fn_werkzeuge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}
.fn_werkzeug {
  padding: .7rem .6rem;
  min-height: 48px;
  text-align: center;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(0, 0, 0, .28);
  color: var(--fn-text);
  border: 1px solid rgba(236, 228, 212, .4);
  border-radius: .85rem;
  transition: transform .1s, background .15s, color .15s, border-color .15s;
}
.fn_werkzeug:hover { transform: translateY(-2px); background: rgba(236, 228, 212, .12); }
.fn_werkzeug:active { transform: translateY(1px); }
.fn_werkzeug:focus-visible { outline: 3px solid #d9a441; outline-offset: 2px; }
.fn_werkzeug_done {
  background: var(--fn-gruen-tief);
  border-color: var(--fn-gruen);
  color: #f2fff6;
  cursor: default;
}
.fn_werkzeug_done:hover, .fn_werkzeug_done:active {
  transform: none;
  background: var(--fn-gruen-tief);
}
.fn_werkzeug_fuss {
  display: flex;
  justify-content: flex-end;
  margin-top: .6rem;
}
.fn_vorlesen {
  min-height: 40px;
  padding: .45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: .9rem;
  background: transparent;
  color: var(--fn-text-matt);
  border: 2px dashed rgba(236, 228, 212, .4);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.fn_vorlesen:hover { color: var(--fn-text); border-color: rgba(236, 228, 212, .7); }
.fn_vorlesen:focus-visible { outline: 3px solid #d9a441; outline-offset: 2px; }

/* ---------- 7. Urteilsknoepfe (Stempel-Druecker) -------------------------- */
.fn_urteil_frage {
  margin: 1.15rem 0 .5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--fn-text);
  text-align: center;
}
.fn_urteil_btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
}
.fn_urteil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 66px;
  padding: .6rem 1rem;
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFFFFF;
  border: 2px solid transparent;
  border-radius: .9rem;
  cursor: pointer;
  transition: transform .12s, filter .12s, box-shadow .12s;
}
.fn_urteil_icon { font-size: 1.35rem; }
.fn_urteil_echt {
  background: linear-gradient(180deg, #4fae67, var(--fn-gruen-tief));
  border-color: #7fd6a1;
  box-shadow: 0 4px 0 #1f5b33, 0 6px 16px rgba(46, 125, 67, .3);
}
.fn_urteil_fake {
  background: linear-gradient(180deg, #e0604f, var(--fn-rot-tief));
  border-color: #f3a49c;
  box-shadow: 0 4px 0 #6e241a, 0 6px 16px rgba(150, 57, 44, .35);
}
.fn_urteil:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.07); }
.fn_urteil:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #1f5b33; }
.fn_urteil:focus-visible { outline: 3px solid #d9a441; outline-offset: 2px; }
.fn_urteil:disabled { cursor: default; opacity: .55; filter: grayscale(.35); }

/* Der Urteils-Stempel faellt schraeg ueber den Beitrag (nach dem Urteil,
   von game.js eingesetzt). */
.fn_stempel {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
  padding: .3rem 1.1rem;
  border: 4px double currentColor;
  border-radius: 8px;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .93;
  pointer-events: none;
  background: rgba(255, 253, 247, .5);
  backdrop-filter: blur(1px);
  z-index: 5;
}
.fn_stempel_ok { color: var(--fn-gruen-tief); }
.fn_stempel_fake { color: var(--fn-rot-tief); }

/* ---------- 8. Faktencheck + Redaktionsschluss ---------------------------- */
.fn_aufloesung {
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: .95rem 1.05rem 1.05rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .12)),
    var(--fn-konsole);
  border: 1px solid rgba(236, 228, 212, .22);
  border-top: 3px solid var(--fn-rot);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .38);
  animation: fn_rein .3s ease-out;
}
.fn_bericht_titel {
  margin: 0 0 .6rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(236, 228, 212, .3);
  color: var(--fn-rot-hell);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.fn_urteil_text {
  margin: 0 0 .8rem;
  padding: .6rem .8rem;
  border-radius: .7rem;
  background: var(--fn-papier);
  color: var(--fn-tinte);
  border-left: 6px solid #b39a6e;
  font-weight: 800;
  font-size: 1.02rem;
}
.fn_urteil_ok { border-left-color: var(--fn-gruen-tief); color: var(--fn-gruen-tief); }
.fn_urteil_err { border-left-color: var(--fn-rot-tief); color: var(--fn-rot-tief); }
.fn_bonus {
  margin: .7rem 0 0;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(236, 228, 212, .3);
  color: var(--fn-text-matt);
  font-size: .9rem;
  font-weight: 700;
}
.fn_bonus_ok { background: rgba(79, 158, 99, .18); border-color: var(--fn-gruen); color: #b9e8c6; }
.fn_merkmale { display: flex; flex-direction: column; gap: .5rem; margin-top: .85rem; }
.fn_chip {
  background: var(--fn-papier);
  color: var(--fn-tinte);
  border-left: 5px solid var(--fn-rot);
  border-radius: .6rem;
  padding: .6rem .8rem;
  font-size: .95rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
}
.fn_chip strong { display: block; margin-bottom: .15rem; }
.fn_chip span { display: block; line-height: 1.45; color: #4a3f31; }
.fn_chip_ok { border-left-color: var(--fn-gruen-tief); }
.fn_fazit {
  margin: .9rem 0 0;
  padding: .6rem .8rem;
  border-radius: .6rem;
  background: var(--fn-papier);
  color: var(--fn-tinte);
  font-size: .96rem;
}
.fn_tun {
  margin: .6rem 0 0;
  padding: .65rem .8rem;
  border-radius: .6rem;
  background: #dcecf5;
  color: #17364a;
  border-left: 5px solid #3f8fbf;
  font-weight: 700;
  font-size: .96rem;
}
.fn_btns_row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; justify-content: center; }
.fn_weiter { min-width: 9rem; min-height: 44px; font-size: 1.05rem; }

/* Redaktionsschluss */
.fn_done {
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  padding: 1.4rem 1.2rem 1.5rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .12)),
    var(--fn-konsole);
  border: 1px solid rgba(236, 228, 212, .25);
  border-top: 4px solid var(--fn-rot);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  color: var(--fn-text);
}
.fn_done h2 { margin: .2rem 0 .5rem; font-size: 1.55rem; color: #ffffff; }
.fn_done h3 {
  margin: 1.15rem 0 .5rem;
  color: var(--fn-rot-hell);
  text-align: left;
  font-size: .95rem;
  letter-spacing: .04em;
}
.fn_done p { margin: .3rem 0 .8rem; font-size: 1.02rem; white-space: pre-line; color: var(--fn-text-matt); }
.fn_sterne { font-size: 2.2rem; letter-spacing: .2rem; margin: .2rem 0 1rem; }
.fn_done_zahlen { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.fn_done_zahl {
  flex: 1 1 7rem;
  max-width: 11rem;
  padding: .6rem .7rem;
  border-radius: .85rem;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(236, 228, 212, .2);
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.fn_done_zahl label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fn-text-matt);
}
.fn_done_zahl span { font-size: 1.5rem; font-weight: 800; color: var(--fn-text); }
.fn_handbuch { display: flex; flex-direction: column; gap: .5rem; margin: .3rem 0 1.2rem; text-align: left; }
.fn_check_eintrag {
  background: var(--fn-papier);
  color: var(--fn-tinte);
  border-left: 5px solid var(--fn-rot);
  border-radius: .6rem;
  padding: .6rem .8rem;
  font-size: .95rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .26);
}
.fn_check_eintrag strong { display: block; margin-bottom: .15rem; }
.fn_check_eintrag span { display: block; line-height: 1.45; color: #4a3f31; }
.fn_check_eintrag_ok { border-left-color: var(--fn-gruen-tief); }
.fn_done button.jupi_btn { min-height: 44px; padding: .6rem 1.4rem; }

/* ---------- 9. Startmenue (Redaktions-Mappe) ------------------------------ */
.fn_start {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 160, .12), transparent 55%),
    rgba(14, 9, 5, .84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.fn_start[hidden] { display: none !important; }
.fn_start_karte {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .16)),
    var(--fn-konsole);
  border: 1px solid rgba(236, 228, 212, .3);
  border-top: 4px solid var(--fn-rot);
  border-radius: 1.25rem;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.6rem 1.8rem;
  box-sizing: border-box;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .6);
  text-align: center;
  color: var(--fn-text);
}
.fn_start_logo {
  width: 72px;
  height: 72px;
  margin: 0 auto .6rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}
.fn_start_karte h2 {
  margin: .2rem 0 .4rem;
  font-size: 1.6rem;
  color: #ffffff;
}
.fn_start_karte p {
  margin: .4rem 0 .8rem;
  font-size: .98rem;
  line-height: 1.45;
  color: var(--fn-text-matt);
}
.fn_start_karte p strong { color: var(--fn-text); }
.fn_start_info {
  background: rgba(0, 0, 0, .26);
  border: 1px solid rgba(236, 228, 212, .25);
  border-radius: .75rem;
  padding: .55rem .85rem;
  margin: .6rem 0;
  text-align: left;
}
.fn_start_info summary {
  font-weight: 700;
  cursor: pointer;
  padding: .25rem 0;
  font-size: .96rem;
  color: var(--fn-rot-hell);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.fn_start_info summary:focus-visible {
  outline: 3px solid #d9a441;
  outline-offset: 2px;
}
.fn_start_info p {
  font-size: .92rem;
  margin: .4rem 0;
  line-height: 1.5;
  color: var(--fn-text-matt);
}
.fn_start_info p strong { color: var(--fn-text); }
.fn_start_einstellungen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 1rem;
  margin: 1.2rem 0 1rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(236, 228, 212, .25);
}
.fn_start_einstellungen label {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fn-text-matt);
}
.fn_start_einstellungen select {
  min-height: 40px;
  padding: .4rem .8rem;
  font-size: .95rem;
}
.fn_start_einstellungen button {
  min-height: 40px;
  padding: .4rem .9rem;
}
.fn_start_aktion {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: .8rem;
}
.fn_start_aktion .jupi_btn {
  min-height: 44px;
  padding: .6rem 1.6rem;
  font-size: 1.05rem;
}

/* ---------- 10. Kleinere Bildschirme -------------------------------------- */
@media (max-width: 40rem) {
  /* Auf dem Handy passt die Drei-Zonen-Leiste nicht in eine Zeile: zwei
     Zeilen - oben Zurueck + Sprache/Dark Mode, darunter die Marke mittig
     (3.13.2 bleibt gewahrt). */
  .fn_header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "zurueck  werkzeuge"
      "marke    marke";
    gap: .45rem .5rem;
    padding: .4rem .6rem .5rem;
  }
  .fn_header .jupi_nav_back { grid-area: zurueck; justify-self: start; white-space: nowrap; }
  .fn_header .jupi_werkzeuge { grid-area: werkzeuge; }
  .fn_brand { grid-area: marke; justify-self: center; }
  .fn_untertitel { display: none; }
  .fn_wappen { width: 38px; height: 38px; }
  .fn_wappen img { width: 32px; height: 32px; }
  .fn_brand h1 { font-size: 1.05rem; }
  .fn_panel { gap: .6rem; padding: .85rem .7rem .9rem; }
  .fn_controls { margin-inline-start: 0; width: 100%; }
  .fn_controls select { flex: 1 1 9rem; min-width: 0; }
  .fn_messwerte { width: 100%; }
  .fn_stat { flex: 1 1 70px; min-width: 68px; }
  .fn_post { padding: .85rem .8rem 1rem; }
  .fn_kopfzeile { flex-direction: column; }
  .fn_schlagzeile { font-size: 1.15rem; }
  .fn_werkzeuge { grid-template-columns: 1fr; }
  .fn_werkzeug { min-height: 42px; font-size: .92rem; }
  .fn_urteil_btns { grid-template-columns: 1fr; }
  .fn_urteil { min-height: 58px; font-size: 1.05rem; }
  .fn_quellenliste { grid-template-columns: 1fr; gap: .05rem; }
  .fn_quellenliste dt { margin-top: .45rem; }
  .fn_start_karte { padding: 1.2rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fn_body * { transition: none !important; animation: none !important; }
}
