/*
  Navigation 0.9.1 (Optik „Rennstrecke“, Thomas 17.10.2026; docs/PRAEMISSEN.md „Navigation 0.9.1“, „Fußzeile 0.9.1“,
  „Höchstens zwei Schriftarten“, „News-Leiste“). Nur geladen mit Freigabe nav_091 (body.nx091) bzw. news_duck (body.nxduck).
  Grundsatz: jedes Ziel genau einmal. Rechner: Kopfleiste Start · Ligen ▾ · Entdecken ▾, Felder im Kopf (Live, Kalender,
  Online) mit Schubladen darunter, Profil-Menü. Handy (bis 860 px): Leiste unten, Zurück oben links.
*/

/* ---------- Zwei Schriftarten: Tomorrow (Überschriften) und Overpass (alles andere) ---------- */
.nx091 button, .nx091 input, .nx091 select, .nx091 textarea, .nx091 optgroup { font-family: inherit; }
.nx091 * { --mono: var(--font) !important; --display: var(--font-head) !important; --body: var(--font) !important; }
.nx091 code, .nx091 kbd, .nx091 pre, .nx091 samp, .nx091 .driver-tool-code-value, .nx091 .driver-tool-code-input {
  font-family: var(--font); font-variant-numeric: tabular-nums; }

/* ---------- Kopfleiste: Aufklappmenüs ---------- */
.nx091 .nx-dd { position: relative; display: flex; align-items: stretch; }
.nx091 .nx-nav { align-self: stretch; }
.nx091 .nx-nav > a, .nx091 .nx-nav .rs-nav-button { display: flex; align-items: center; }
.nx091 .rs-nav-button.nx-on, .nx091 .rs-nav-button[aria-expanded="true"] { box-shadow: inset 0 -3px 0 var(--league, var(--accent)); color: var(--text); }
.nx091 .nx-menu { position: absolute; top: calc(100% + 1px); z-index: 90; background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--accent); box-shadow: 0 20px 50px rgba(0, 0, 0, .65);
  font-family: var(--font); font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; }
.nx091 .nx-menu[hidden] { display: none; }
.nx091 .nx-nav .rs-cm-menu { left: -12px; top: calc(100% + 1px); }
.nx091 .nx-more { grid-column: 1 / -1; justify-self: start; padding: 4px 2px; color: var(--accent); font-weight: 600; text-decoration: none; }
.nx091 .nx-more:hover { text-decoration: underline; }
.nx091 .nx-check .ic { width: 16px; height: 16px; color: #2fbf71; }
/* Entdecken: drei Gruppen, je Punkt ein Satz */
.nx091 .nx-disc { left: -12px; width: min(760px, calc(100vw - 32px)); padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nx091 .nx-grp { background: var(--surface-2); border-top: 3px solid #3a3f4a; padding: 6px 0; min-width: 0; }
.nx091 .nx-grp > b { display: block; padding: 6px 14px 4px; font-family: var(--font-head); font-style: italic; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); }
.nx091 .nx-it { display: flex; gap: 10px; align-items: flex-start; padding: 8px 14px; color: var(--text); text-decoration: none; }
.nx091 .nx-it .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent); }
.nx091 .nx-it strong { display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.nx091 .nx-it small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.nx091 .nx-it:hover, .nx091 .nx-it:focus-visible { background: #1c1f26; outline: none; }
.nx091 .nx-it.is-current strong { color: var(--accent); }

/* ---------- Profil-Menü „Ich“ und Hinweise am Profilbild ---------- */
.nx091 .nx-prof { align-items: center; margin-left: 4px; }
.nx091 .nx-prof .rs-profile { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.nx091 .nx-prof .rs-profile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nx091 .nx-prof .user-status { right: -2px; bottom: -2px; box-shadow: 0 0 0 2px #000; }
/* Positionen (Thomas 17.10.2026): oben rechts Brief, oben links „i“ Fahrer des Tages, unten links „i“ Kommentator, unten rechts Status */
.nx091 .nx-prof .rating-hint { z-index: 2; }
.nx091 .nx-prof .nx-hint-tl { top: 0; left: -6px; bottom: auto; }
.nx091 .nx-prof .nx-hint-bl { left: -6px; bottom: 0; top: auto; }
.nx-dm-letter { position: absolute; top: 2px; right: -9px; z-index: 3; width: 21px; height: 17px; display: grid; place-items: center;
  border-radius: 4px; background: var(--accent); color: #fff; box-shadow: 0 0 0 2px #000; text-decoration: none;
  transform-origin: 50% 90%; animation: nx-letter 3.2s ease-in-out infinite; }
.nx-dm-letter .ic { width: 14px; height: 14px; }
.nx-dm-letter:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes nx-letter {                     /* kurz wackeln, dann Pause – wie ein Brief, der auf sich aufmerksam macht */
  0%, 18%, 100% { transform: none; }
  3% { transform: rotate(-14deg); } 6% { transform: rotate(12deg); } 9% { transform: rotate(-9deg); }
  12% { transform: rotate(6deg); } 15% { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .nx-dm-letter { animation: none; } }
.nx091 .nx-me-menu { right: -6px; top: calc(100% + 12px); width: 300px; padding: 10px 12px; }
.nx091 .nx-me-head { display: flex; gap: 10px; align-items: center; padding: 4px 4px 10px; border-bottom: 1px solid var(--border); }
.nx091 .nx-me-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #23262f; font-weight: 700; flex: none; }
.nx091 .nx-me-av img { width: 100%; height: 100%; object-fit: cover; }
.nx091 .nx-me-head b { display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: 15px; }
.nx091 .nx-me-head small { display: block; color: var(--muted); font-size: 12px; }
.nx091 .nx-status { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--border); }   /* umbrechen statt abschneiden („Unsichtbar“, Bugfix 17.10.2026) */
.nx091 .nx-status button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; padding: 0 6px;
  background: none; border: 1px solid var(--border); color: var(--muted); font-size: 12px; cursor: pointer; white-space: nowrap; }
.nx091 .nx-status button.is-current { border-color: var(--accent); color: var(--text); }
.nx091 .nx-status .user-status { position: static; width: 8px; height: 8px; box-shadow: none; }
.nx091 .nx-me { display: grid; }
.nx091 .nx-me a, .nx091 .nx-me button { display: flex; align-items: center; gap: 10px; padding: 9px 4px; color: var(--text); text-decoration: none;
  font: inherit; font-size: 14px; background: none; border: 0; border-bottom: 1px solid #1f2229; text-align: left; width: 100%; cursor: pointer; }
.nx091 .nx-me .ic { width: 17px; height: 17px; color: var(--muted); flex: none; }
.nx091 .nx-me a:hover, .nx091 .nx-me button:hover { color: var(--accent); }
.nx091 .nx-me em { margin-left: auto; font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.nx091 .nx-me form { margin: 0; }
.nx091 .nx-me form button { border-bottom: 0; color: var(--muted); }

/* ---------- Felder im Kopf: Live, Kalender, Online – Schubladen öffnen darunter ---------- */
.nx091 .rs-head .dock { display: flex !important; position: static !important; inset: auto !important; gap: 8px; align-items: center; margin: 0 4px 0 0; }
.nx091 .rs-head .live-slot { display: contents; }
.nx091 .rs-head .dock .rs-nr, .nx091 .rs-head .dock .online-embed, .nx091 .rs-head .dock .rs-lv {
  position: relative !important; inset: auto !important; display: block !important; transform: none !important; margin: 0; }
body.nx091.optik-rennstrecke .content-body { padding-left: 0 !important; }   /* kein Platz mehr für Laschen am Rand */
@media (min-width: 861px) {
  .nx091 .rs-head .dock summary { list-style: none; cursor: pointer; display: flex !important; flex-direction: row !important; align-items: center; gap: 6px;
    width: auto !important; height: 34px !important; margin: 0 !important; padding: 0 12px !important; background: transparent !important;
    border: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important;
    color: var(--text); font-family: var(--font); font-size: 13px; font-style: normal; clip-path: none !important; outline-offset: 2px; }
  .nx091 .rs-head .dock summary::-webkit-details-marker { display: none; }
  .nx091 .rs-head .dock summary > * { transform: none !important; }
  .nx091 .rs-head .dock details[open] > summary, .nx091 .rs-head .dock summary:hover { border-color: var(--accent) !important; }
  /* Kalender: „4 Tage · MGT R3“ */
  .nx091 .rs-head .rs-nr-tab { order: 0; }
  .nx091 .rs-head .rs-nr-tab-mid { display: flex !important; flex-direction: row; align-items: baseline; gap: 4px; padding: 0 !important; order: 1; }
  .nx091 .rs-head .rs-nr-big { font-size: 17px !important; font-family: var(--font-head); }
  .nx091 .rs-head .rs-nr-unit { margin: 0 !important; font-size: 12px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text) !important; font-family: var(--font) !important; font-weight: 400 !important; }
  .nx091 .rs-head .rs-nr-tab-top { display: flex !important; flex-direction: row !important; gap: 4px; padding: 0 !important; background: none !important; color: var(--muted) !important; order: 2; }
  .nx091 .rs-head .rs-nr-tab-top::before { content: "·"; }
  .nx091 .rs-head .rs-nr-tab-top b, .nx091 .rs-head .rs-nr-tab-top span { font-size: 12px !important; opacity: 1; font-family: var(--font); font-style: normal; letter-spacing: 0; }
  .nx091 .rs-head .rs-nr-sub, .nx091 .rs-head .rs-nr-open, .nx091 .rs-head .rs-nr-tab .rs-nr-counts { display: none !important; }
  .nx091 .rs-head .rs-nr-dot { position: static !important; order: 3; transform: none !important; margin-left: 2px; }
  /* Online: „● 1“ */
  .nx091 .rs-head .rs-who-label, .nx091 .rs-head .rs-who-stack { display: none !important; }
  .nx091 .rs-head .rs-who-n { display: inline !important; font-family: var(--font); font-size: 13px; font-weight: 600; }
  .nx091 .rs-head .rs-who-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }
  /* Live: rot „● LIVE 2“, ohne Übertragung ruhig „ReLive 5“ */
  .nx091 .rs-head .rs-lv:not(.is-re) > summary { border-color: #e53935 !important; }
  .nx091 .rs-head .rs-lv-tab-top { display: flex !important; align-items: center; gap: 6px; padding: 0 !important; background: none !important; }
  .nx091 .rs-head .rs-lv-word { font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 15px; color: #fff; }
  .nx091 .rs-head .rs-lv-tab-mid { display: flex !important; flex-direction: row; gap: 4px; align-items: baseline; padding: 0 !important; }
  .nx091 .rs-head .rs-lv-tab-mid b { font-size: 13px !important; font-family: var(--font); font-style: normal; }
  .nx091 .rs-head .rs-lv-tab-mid small, .nx091 .rs-head .rs-lv-stack, .nx091 .rs-head .rs-lv-open { display: none !important; }
  /* Schubladen rechtsbündig unter dem Feld */
  .nx091 .rs-head .rs-nr-panel, .nx091 .rs-head .rs-who-panel, .nx091 .rs-head .rs-lv-panel {
    position: absolute !important; top: calc(100% + 13px) !important; right: 0 !important; left: auto !important; bottom: auto !important;
    z-index: 95; max-height: calc(100vh - 90px) !important; border: 1px solid var(--border) !important; border-top: 3px solid var(--league, var(--accent)) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .65) !important; animation: none !important; }
  .nx091 .rs-head .rs-nr.is-wide .rs-nr-panel { position: fixed !important; top: calc(var(--rs-head-h, 64px) + 1px) !important; left: 16px !important; right: 16px !important; width: auto !important; }
}

/* ---------- Fußzeile (kompakt: zwei Zeilen; Schriftzug wie im Kopf, „Liga“ in Ligafarbe) ---------- */
.nx091 .nx-foot { margin-top: 48px; padding: 22px 32px 18px; background: #050608; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.nx091 .nx-foot-in { max-width: calc(1200px - 2 * var(--s-4)); margin: 0 auto; display: grid; gap: 14px; }   /* = Inhaltsbreite von main */
/* Fußzeile in Linie mit der Seite (Thomas 17.10.2026: „die untere Leiste ist nicht in Linie … sie ist versetzt“): mit
   Werbespalte rechts (ab 1400 px, app.css) rückt der Inhalt nach links – die Fußzeile rückt genauso */
@media (min-width: 1400px) {
  body.nx091:has(.content-body.has-rail .ad-rail) .nx-foot { padding-left: var(--s-4); padding-right: calc(300px + 2 * var(--s-5) + var(--s-4)); }
}
.nx091 .nx-frow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.nx091 .nx-fb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; }
.nx091 .nx-flogo { font-family: var(--font-head); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 18px; color: #fff; text-decoration: none; }
.nx091 .nx-flogo span { color: var(--league, var(--accent)); }
.nx091 .nx-fclaim { color: var(--muted); }
.nx091 .nx-fbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.nx091 .nx-fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--border);
  background: #0d0f13; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nx091 .nx-fbtn .ic { width: 16px; height: 16px; color: var(--league, var(--accent)); }
.nx091 .nx-fbtn:hover, .nx091 .nx-fbtn:focus-visible { border-color: var(--league, var(--accent)); outline: none; }
.nx091 .nx-kofi svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: skewX(-9deg); overflow: visible; }
.nx091 .nx-kofi .nx-steam { stroke: var(--league, var(--accent)); }
.nx091 .nx-kofi .nx-heart { fill: #ff5f3b; stroke: none; }
.nx091 .nx-kofi:hover .nx-steam { animation: nx-steam 1.1s ease-in-out infinite; }
@keyframes nx-steam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-1.5px); opacity: .55; } }
.nx091 .nx-flinks { padding-top: 12px; border-top: 1px solid #16191f; justify-content: flex-start; gap: 8px 32px; }
.nx091 .nx-fc { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.nx091 .nx-fc h2 { margin: 0; font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: #fff; }
.nx091 .nx-fc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.nx091 .nx-fc li + li::before { content: "·"; margin: 0 7px; color: #4a4f5a; }
.nx091 .nx-fc a, .nx091 .nx-fbot a { color: var(--muted); text-decoration: none; }
.nx091 .nx-fc a:hover, .nx091 .nx-fbot a:hover { color: #fff; }
.nx091 .nx-fbot { margin-left: auto; font-size: 12px; color: #6f7581; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .nx091 .nx-kofi:hover .nx-steam { animation: none; } }

/* ---------- Handy: Leiste unten, Zurück oben links, Profil steckt in „Ich“ ---------- */
.nx091 .nx-bar, .nx091 .nx-sheet, .nx091 .nx-shade { display: none; }
@media (max-width: 860px) {
  .nx091 .rs-head .nx-prof { display: none; }
  .nx091 { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .nx091 .nx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(4, 1fr);
    height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: #000; border-top: 1px solid var(--border); }
  .nx091 .nx-bar > a, .nx091 .nx-bar > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: none; border: 0; color: var(--muted); text-decoration: none; font-family: var(--font); font-size: 11px; font-weight: 700; cursor: pointer; }
  .nx091 .nx-bar .ic { width: 22px; height: 22px; }
  .nx091 .nx-bar .is-on, .nx091 .nx-bar [aria-expanded="true"] { color: #fff; }
  .nx091 .nx-bar .is-on::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 3px; background: var(--league, var(--accent)); }
  .nx091 .nx-dm-bar { top: 6px; right: calc(50% - 22px); }
  .nx091 .nx-shade:not([hidden]) { display: block; position: fixed; inset: 0 0 calc(64px + env(safe-area-inset-bottom, 0px)) 0; z-index: 110; background: rgba(0, 0, 0, .55); }
  .nx091 .nx-sheet:not([hidden]) { display: grid; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 115;
    max-height: 74vh; overflow-y: auto; gap: 12px; padding: 12px; background: var(--surface); border-top: 3px solid var(--accent);
    box-shadow: 0 -20px 50px rgba(0, 0, 0, .7); }
  /* weich auf und zu (nav091.js softShow/softHide): Schublade gleitet hinter der Leiste hervor, Abdunkelung blendet */
  .nx091 .nx-sheet:not([hidden]) { transform: translateY(calc(100% + 12px)); opacity: .4;
    transition: transform .26s cubic-bezier(.2, .8, .2, 1), opacity .2s ease-out; }
  .nx091 .nx-sheet.nx-in { transform: none; opacity: 1; }
  .nx091 .nx-shade:not([hidden]) { opacity: 0; transition: opacity .24s ease-out; }
  .nx091 .nx-shade.nx-in { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .nx091 .nx-sheet:not([hidden]), .nx091 .nx-shade:not([hidden]) { transition: none; } }
  .nx091 .nx-sheet.rs-cm-menu { width: auto; max-height: 74vh; top: auto; grid-template-columns: 1fr; border-left: 0; border-right: 0; border-bottom: 0; }
  .nx091 .nx-sheet h2 { margin: 2px 4px 0; font-size: 18px; }
  .nx091 .nx-sheet .nx-it { padding: 11px 14px; }
  .nx091 .nx-sheet .nx-it strong { font-family: var(--font); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 16px; }
  .nx091 .nx-sheet .nx-me a, .nx091 .nx-sheet .nx-me button { padding: 13px 6px; font-size: 16px; }
  .nx091 .nx-sheet .nx-status button { height: 38px; }
  /* Zurück oben links statt schwebend (ersetzt Variante C vom 12.10. am Handy) */
  .nx091 .trail-back { position: fixed !important; top: 10px !important; left: 6px !important; bottom: auto !important; z-index: 47; width: 38px; height: 40px !important;
    padding: 0 !important; justify-content: center; border: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
  .nx091 .trail-back > * { transform: none !important; }
  .nx091 .trail-back span, .nx091 .trail-back b { display: none; }
  .nx091 .trail-back .ic { width: 22px !important; height: 22px !important; color: #fff; }
  .nx091:has(.trail-back) .rs-head { padding-left: 46px; }
  .nx091 .pitwall { bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  .nx091 .nx-foot { padding: 20px 16px 16px; margin-top: 28px; }
  .nx091 .nx-flogo span { color: var(--league-ink, var(--league, var(--accent))); }
  .nx091 .nx-fbtns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .nx091 .nx-fbtn { height: 44px; }
  .nx091 .nx-kofi { grid-column: 1 / -1; }
  .nx091 .nx-fc { flex-direction: column; gap: 6px; width: 100%; }
  .nx091 .nx-fbot { margin-left: 0; white-space: normal; }
}

/* ================= News-Leiste (Freigabe news_duck): blaue Ente an jeder Meldung, Hochrollen, keine Fortschrittslinie ================= */
.nxduck .rs-lt-progress { display: none !important; }
.nxduck .rs-lt-item { padding-left: 12px; }
.nx-tduck { width: 20px; height: 20px; flex: none; transform-origin: 50% 85%; }
.nx-tduck.nx-ring { animation: nx-ring .9s ease-in-out; }
@keyframes nx-ring {                         /* kurz wackeln wie beim Telefonanruf (Thomas 17.10.2026) */
  0%, 100% { transform: none; }
  10%, 30%, 50%, 70% { transform: rotate(-16deg); }
  20%, 40%, 60%, 80% { transform: rotate(16deg); } }
.nxduck .rs-lt-item.is-on > * { animation: nx-roll-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.nxduck .rs-lt-item.is-on > :nth-child(2) { animation-delay: .05s; }
.nxduck .rs-lt-item.is-on > :nth-child(3) { animation-delay: .1s; }
.nxduck .rs-lt-item.is-out > * { animation: nx-roll-out .38s cubic-bezier(.5, 0, .8, .4) both; }
.nxduck .rs-lt-item.is-out .rs-lt-shield { visibility: visible; }
.nxduck .rs-lt-item.is-on > .nx-tduck.nx-ring { animation: nx-roll-in .55s cubic-bezier(.2, .8, .2, 1) both, nx-ring .9s ease-in-out .55s; }
@keyframes nx-roll-in { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nx-roll-out { to { transform: translateY(-105%); opacity: 0; } }
.nxduck .rs-feed li { position: relative; padding-right: 42px; }
.nxduck .rs-feed li > .nx-tduck { position: absolute; top: 12px; right: 14px; }
.nxduck .rs-feed-head .nx-tduck { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.nxduck .rs-feed-head { justify-content: flex-start; align-items: center; }
.nxduck .rs-feed-head small { margin-left: auto; }
@media (max-width: 860px) { .nx-tduck { width: 18px; height: 18px; } .nxduck .rs-lt-item { padding-left: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .nxduck .rs-lt-item.is-on > *, .nxduck .rs-lt-item.is-out > *, .nx-tduck.nx-ring { animation: none !important; } }

/* Feinschliff nach Sichtprüfung 17.10.2026 */
.nx091 .nx-menu { white-space: normal; }
.nx091 .rs-head .rs-lv-dot { background: #e53935 !important; }
@media (min-width: 861px) { .nx091 .rs-head .rs-who-btn::before { content: none; } }
.nx091 .nx-dm-bar { top: 5px; right: calc(50% - 24px); transform: scale(.85); }
.nx091 .nx-it, .nx091 .nx-it * { white-space: normal !important; }
/* Fußzeile: Farben verbindlich (die Linkfarbe der Optik überschrieb sonst Schriftzug und Knöpfe) – wie im Kopf */
.nx091 .nx-foot .nx-flogo, .nx091 .nx-foot .nx-flogo:hover { color: #fff !important; }
.nx091 .nx-foot .nx-flogo span { color: var(--league, var(--accent)) !important; }
.nx091 .nx-foot .nx-fbtn { color: #fff !important; }
.nx091 .nx-foot .nx-fc a, .nx091 .nx-foot .nx-fbot a { color: var(--muted) !important; }
.nx091 .nx-foot .nx-fc a:hover, .nx091 .nx-foot .nx-fbot a:hover { color: #fff !important; }
@media (max-width: 860px) { .nx091 .nx-foot .nx-flogo span { color: var(--league-ink, var(--league, var(--accent))) !important; } }
/* Fußzeile Zeile 2 (Thomas 17.10.2026: „SimLigaManager“ über „Hilfe“, unten nichts Einzelnes): links SimLigaManager/Hilfe,
   rechts Rechtliches/© mit Version */
@media (min-width: 861px) {
  .nx091 .nx-flinks { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "slm legal" "help bot"; gap: 8px 32px; align-items: baseline; }
  .nx091 .nx-fc-slm { grid-area: slm; }
  .nx091 .nx-fc-help { grid-area: help; }
  .nx091 .nx-fc-legal { grid-area: legal; justify-self: end; }
  .nx091 .nx-flinks .nx-fbot { grid-area: bot; justify-self: end; margin: 0; }
}
/* Kein leerer Streifen unter der Fußzeile (Thomas 17.10.2026: „zu viel Platz“); mit Mr. Pitwall unten Platz in der Fußzeile */
.nx091 .content { padding-bottom: 0 !important; }
@media (min-width: 861px) { .nx091:has(.pitwall:not([hidden])) .nx-foot { padding-bottom: 64px; } }
@media (max-width: 860px) { .nx091:has(.pitwall:not([hidden])) .nx-foot { padding-bottom: 130px; } }   /* Mr. Pitwall verdeckt nichts */

/* Neues unter „Entdecken“ (Rally-Challenges, Thomas 17.10.2026): pulsierender Punkt und kurzes Wackeln alle paar Sekunden,
   „Neu“ im Menü – nav091.js setzt .nx-new, bis /rally einmal besucht wurde. Ohne Bewegung bei „Bewegung reduzieren“. */
.nx091 .nx-new { position: relative; animation: nx-new-wiggle 6s ease-in-out 1.5s infinite; }
.nx091 .nx-new::after {
  content: ""; position: absolute; top: 4px; right: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: #e8792b; box-shadow: 0 0 0 0 rgba(232, 121, 43, .7); animation: nx-new-ping 1.8s ease-out infinite;
}
.nx091 .nx-bar .nx-new::after { top: 6px; right: 50%; margin-right: -18px; }
.nx091 .nx-new-tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; transform: skewX(-14deg); background: #e8792b; color: #0a0a0a;
  font-style: normal; font-size: 10px; letter-spacing: .08em; vertical-align: 2px;
}
@keyframes nx-new-ping { 0% { box-shadow: 0 0 0 0 rgba(232, 121, 43, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(232, 121, 43, 0); } }
@keyframes nx-new-wiggle {
  0%, 88%, 100% { transform: none; }
  90% { transform: rotate(-4deg); } 92% { transform: rotate(4deg); } 94% { transform: rotate(-3deg); } 96% { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nx091 .nx-new { animation: none; }
  .nx091 .nx-new::after { animation: none; }
}

/* Sprache im Profil-Menü mit Flagge (Thomas 18.10.2026): zwei Felder, aktuelle Sprache hervorgehoben */
.nx091 .nx-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 6px; }
.nx091 .nx-lang-opt { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 6px 10px;
  border: 1px solid var(--border); background: var(--surface-2, #1a1a1a); color: var(--muted); text-decoration: none;
  font-weight: 700; font-size: 13px; }
.nx091 .nx-lang-opt.is-current { border-color: var(--accent); color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.nx091 .nx-lang a.nx-lang-opt { color: #cfcfcf; }          /* stärker als „.optik-rennstrecke a:not(.button)“ (Linkfarbe) */
.nx091 .nx-lang a.nx-lang-opt:hover { color: var(--text); border-color: var(--accent); }
.nx091 .nx-flag { width: 22px; height: 14px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
/* Startseite (nur dort gibt es die Zähler): Fußzeile näher an die Zähler – vorher 96 px Leerraum, man musste ganz leicht
   scrollen (Thomas 06.11.2026: „Dafür ist unten nochn bissl Platz zum zusammenrücken“) */
.nx091 .site-counters { margin-bottom: 0; }
body.nx091:has(.site-counters) main { margin-bottom: 0; }
body.nx091:has(.site-counters) .nx-foot { margin-top: 24px; }
