/* NatureDex Simple (Testphase 11/2026) – wird als letzte Ebene geladen. */

/* ---------- Doppelte Bedienelemente ---------- */
#n30HomeThemeToggle,
#n30FounderHomeNotice,
.n30-founder-home,
#gameView .nature-build-label,
#ndMobileAccount { display: none !important; }

@media (max-width: 680px) {
  /* Einstellungen gibt es unter "Mehr" – im Kopf bleiben Konto und Hilfe. */
  .topbar .header-actions #settingsBtn { display: none !important; }
}

/* ---------- Einstellungen: Darstellung & Sprache ---------- */
.nds-look { margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(53,118,71,.08); border: 1px solid rgba(53,118,71,.2); }
.nds-look h3 { margin: 0 0 8px; font-size: 15px; }
.nds-look-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.nds-look-label { font-weight: 600; font-size: 14px; }
.nds-look #languageSelect { display: block !important; position: static !important; width: auto !important; min-width: 150px; max-width: 60%; height: 40px; border-radius: 10px; padding: 0 10px; font-size: 15px; }
.nds-look #n30ThemeToggle { display: inline-flex !important; position: static !important; width: auto !important; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; align-items: center; gap: 6px; }
.nds-look #n30ThemeToggle::before { content: none !important; }
body.n30-dark .nds-look, html[data-theme="dark"] .nds-look { background: rgba(120,200,150,.08); border-color: rgba(120,200,150,.25); }

/* ---------- Startseite: persönlicher Status ---------- */
.nds-home-status { margin: 0 0 10px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.nds-hello { font-size: 17px; }
.nds-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nds-chips span { padding: 5px 10px; border-radius: 999px; background: rgba(53,118,71,.12); font-size: 13px; }
#n35LoggedHub > p { display: none; }

/* ---------- Spiel: Hinweise & Vergleiche unter dem Eingabefeld ---------- */
#gameView .nds-game-actions { display: flex; gap: 8px; margin: 10px 0 4px; }
#gameView #ndsGameActions > #hintCenterToggle,
#gameView #ndsGameActions > .ndxv2-launcher {
  position: static !important; inset: auto !important; transform: none !important;
  flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0 !important;
  display: flex !important; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px !important; box-shadow: none !important; font-size: 15px; font-weight: 700;
  visibility: visible !important; opacity: 1 !important; z-index: auto !important;
}
#gameView .nds-game-actions > .ndxv2-launcher[data-has-guesses="false"] { opacity: .55 !important; }
#gameView .nds-game-actions > .ndxv2-launcher small { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.25); }
body.hint-center-open #gameView .nds-game-actions > .hint-fab { display: flex !important; }

/* ---------- NatureDex: Hinweis für Gäste ---------- */
.nds-guest-dex { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; background: #fff7d6; border: 1px solid #e8cf73; color: #4f4012; }
.nds-guest-dex p { margin: 0; font-size: 14px; line-height: 1.4; }
.nds-guest-dex button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: #357647; color: #fff; font-weight: 700; }

/* ---------- Steckbrief: eine Seite, aufklappbare Abschnitte ---------- */
#animalModal .nds-acc-profile .n42-tabs,
#animalModal .nds-acc-profile .nd88-topic-grid,
#animalModal .nds-acc-profile .nd88-more-topics { display: none !important; }
#animalModal .nds-acc-profile .n42-tab-pane[data-n42-pane] { display: block !important; margin: 0 0 10px; border-radius: 14px; border: 1px solid rgba(53,118,71,.18); overflow: hidden; }
#animalModal .nds-acc-profile .n42-tab-pane.nds-closed > :not(.nds-acc-head) { display: none !important; }
#animalModal .nds-acc-profile .nds-acc-head { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin: 0 !important; user-select: none; }
#animalModal .nds-acc-profile .nds-acc-head h3 { margin: 0; font-size: 17px; }
#animalModal .nds-acc-profile .nds-acc-head .n42-kicker { display: none; }
#animalModal .nds-acc-profile .nds-acc-head::after { content: "▾"; font-size: 18px; transition: transform .15s; }
#animalModal .nds-acc-profile .n42-tab-pane.nds-closed .nds-acc-head::after { transform: rotate(-90deg); }
#animalModal .nds-acc-profile .n42-tab-pane > :not(.nds-acc-head) { margin-left: 12px; margin-right: 12px; }
body.n30-dark .nds-guest-dex { background: #3b3315; color: #f6e9b5; border-color: #7a6620; }
body.n30-dark .nds-chips span { background: rgba(120,200,150,.16); }
body.n30-dark #animalModal .nds-acc-profile .n42-tab-pane[data-n42-pane] { border-color: rgba(120,200,150,.25); }

/* Der alte schwebende Hinweis-Knopf (V86) wird durch die Leiste unter dem Eingabefeld ersetzt. */
html body #gameView.view #nd86QuickPlay#nd86QuickPlay { display: none !important; }

#gameView.n35-daily-setup-state #ndsGameActions,
#gameView.n35-ex-setup #ndsGameActions { display: none !important; }
#gameView #ndsGameActions > #hintCenterToggle .hint-fab-label { display: inline !important; }
#gameView #ndsGameActions > #hintCenterToggle .hint-fab-count { display: inline-grid !important; }
#gameView .hero > .eyebrow { display: none; }
@media (max-width: 680px) {
  html body .topbar.topbar.topbar { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; }
  html body .topbar.topbar.topbar > .header-actions.header-actions.header-actions { display: flex !important; flex: 0 0 auto !important; width: auto !important; justify-content: flex-end !important; align-items: center !important; gap: 8px !important; margin: 0 !important; }
  html body .topbar.topbar .header-actions.header-actions > :is(#globalAccountBtn, #helpBtn, #n30FounderNotice) { width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 0 !important; grid-column: auto !important; grid-row: auto !important; }
  html body .topbar.topbar .header-actions.header-actions > #n30FounderNotice { width: auto !important; padding: 0 8px !important; }
}

/* Einstellungen: Schrift erbt die Farbe der Karte (hell oder dunkel) */
#settingsModal .settings-card .nds-look,
#settingsModal .settings-card .nds-look h3,
#settingsModal .settings-card .nds-look-label { color: inherit !important; }
#settingsModal .settings-card #settingsTitle { color: inherit; }
#gameView.n35-daily-setup-state .ndxv2-preview,
#gameView.n35-ex-setup .ndxv2-preview { display: none !important; }

/* Tierklassen-Auswahl direkt beim Start einer Runde */
.nds-class-chip { display: block; width: 100%; margin: 10px 0 0; min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1px dashed #5d9b6c; background: rgba(53,118,71,.08); color: inherit; font-weight: 700; font-size: 14px; text-align: center; }
.n35-setup-grid + .nds-class-chip { margin: 4px 0 10px; }

/* Dein Wissen – kompakt unter dem Eingabefeld und im Hinweis-Center */
.nds-k-head { margin: 10px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .02em; opacity: .9; }
#hintList .nds-k-yes, .nds-knowledge .nds-k-yes { border-left: 4px solid #3f9c5b !important; }
#hintList .nds-k-size, .nds-knowledge .nds-k-size { border-left: 4px solid #d6a93a !important; }
#hintList .nds-k-no, .nds-knowledge .nds-k-no { border-left: 4px solid #c9655b !important; opacity: .92; }
#gameView .nds-knowledge { margin: 8px 0 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #f1f8f2; text-align: left; }
#gameView .nds-knowledge .nds-know-title { font-weight: 800; font-size: 14px; margin-bottom: 2px; }
#gameView .nds-knowledge .nds-k-head { color: #cfe9d6; margin: 8px 0 4px; }
#gameView .nds-knowledge .knowledge-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 4px 0; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.07); border: 0; box-shadow: none; }
#gameView .nds-knowledge .knowledge-label { font-size: 12px; font-weight: 700; color: #cfe9d6; text-transform: none; letter-spacing: 0; }
#gameView .nds-knowledge .knowledge-value { font-size: 14px; font-weight: 700; color: #fff; }
#gameView .nds-knowledge .knowledge-source { display: none; }
#gameView.n35-daily-setup-state .nds-knowledge, #gameView.n35-ex-setup .nds-knowledge { display: none !important; }
/* Die unbeschriftete Farbleiste "Letzter Versuch" wird durch "Dein Wissen" ersetzt. */
#gameView .ndxv2-preview { display: none !important; }

/* ---------- Tagebuch ---------- */
.nds-journal-card { margin: 12px 0; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid rgba(53,118,71,.2); }
.nds-journal-card h3 { margin: 0 0 4px; }
.nds-journal-card > p { margin: 0 0 10px; font-size: 14px; opacity: .85; }
.nds-journal-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.nds-journal-stats span { padding: 5px 10px; border-radius: 999px; background: rgba(53,118,71,.12); font-size: 13px; }
.nds-journal { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.nds-journal-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(53,118,71,.07); border: 1px solid rgba(53,118,71,.16); }
.nds-journal-icon { font-size: 20px; line-height: 1.2; }
.nds-journal-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nds-journal-text small { font-size: 13px; opacity: .8; }
.nds-journal-text em { font-size: 13px; font-style: normal; opacity: .9; overflow-wrap: anywhere; }
.nds-journal-name { all: unset; cursor: pointer; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.nds-journal-del { flex: 0 0 auto; min-width: 40px; min-height: 40px; border-radius: 10px; border: 1px solid rgba(201,101,91,.4); background: transparent; font-size: 16px; }
.nds-journal-empty { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(53,118,71,.07); font-size: 14px; }
.nds-sighting-form { display: grid; gap: 10px; }
.nds-sighting-type { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
.nds-sighting-type label { display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; border: 1px solid rgba(53,118,71,.35); font-weight: 700; cursor: pointer; }
.nds-sighting-type input { position: absolute; opacity: 0; pointer-events: none; }
.nds-sighting-type label:has(input:checked) { background: #357647; color: #fff; border-color: #357647; }
.nds-sighting-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nds-sighting-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.nds-sighting-form select, .nds-sighting-form input[type="date"], .nds-sighting-form textarea { width: 100%; min-height: 42px; box-sizing: border-box; }
body.n30-dark .nds-journal-card { background: rgba(20,40,30,.85); border-color: rgba(120,200,150,.25); }
#animalModal .nds-journal-row { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

.nds-sighting-form .sighting-actions .primary { width: 100%; min-height: 48px; border-radius: 12px; border: 0; background: #2f7a45; color: #fff; font-size: 16px; font-weight: 800; }
body:not(.n35-signed-in) .nds-sighting-form { display: none !important; }
#animalModal .nd71-zoo, #animalModal [data-n42-pane="zoos"], #animalModal [data-n42-tab="zoos"] { display: none !important; }
#anidexView .dex-tabs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible !important; }
#anidexView .dex-tabs .dex-tab { min-width: 0 !important; padding: 8px 4px !important; font-size: 13px !important; white-space: normal !important; line-height: 1.15; text-align: center; }
/* Lexikon: Legende der Symbole ist auf den Karten selbsterklärend */
#dexCollection > .dex-icon-legend { display: none !important; }

#animalModal .nds-clamp:not(.nds-clamp-open) { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
#animalModal .nds-more { display: inline-block; margin: 4px 0 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: inherit; font-weight: 700; font-size: 14px; }

/* Tagebuch als eigener, abgesetzter Bereich am Ende des Steckbriefs */
#animalModal .nds-acc-profile .nds-diary-pane { margin-top: 22px !important; border: 2px dashed rgba(212,184,108,.55) !important; background: rgba(212,184,108,.06); }

/* ===== 16.11.: Spielansicht aufgeräumt ===== */
/* Letzter Tipp direkt unter Hinweis/Vergleich-Leiste (vorher Textmeldung ganz unten) */
#gameView .ndxv2-preview:not([hidden]) { display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; margin: 8px 0 4px; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #f1f8f2; }
#gameView .ndxv2-preview .ndxv2-preview-label { grid-column: 1; color: #fff; font-size: 13px; }
#gameView .ndxv2-preview .ndxv2-preview-button { grid-column: 2; grid-row: 1; color: #d6f5b0 !important; text-decoration: none; font-size: 13px; }
#gameView .ndxv2-preview .ndxv2-color-bar { grid-column: 1 / -1; }
#gameView.n35-daily-setup-state .ndxv2-preview, #gameView.n35-ex-setup .ndxv2-preview { display: none !important; }
/* Meldungen direkt unter dem Eingabefeld; leere Meldung nimmt keinen Platz ein */
#gameView #resultMessage:empty { display: none !important; }
#gameView #resultMessage { margin: 8px 0 0; }
/* Hinweis kaufen direkt im Wissens-Kasten */
#gameView .nds-knowledge .nds-buy { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.25); }
#gameView .nds-knowledge .nds-buy-title { font-weight: 800; font-size: 14px; margin-bottom: 6px; color: #fff; }
#gameView .nds-knowledge .nds-buy-title small { font-weight: 600; color: #cfe9d6; margin-left: 6px; }
#gameView .nds-knowledge .nds-buy-row { display: flex; flex-wrap: wrap; gap: 6px; }
#gameView .nds-knowledge .nds-buy-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid #f0d27a; background: #fff6d6; color: #4a3a0a; font-size: 13px; font-weight: 700; }
#gameView .nds-knowledge .nds-buy-chip b { font-weight: 800; color: #6b4d00; }
#gameView .nds-knowledge .nds-buy-chip:disabled { opacity: .45; background: rgba(255,255,255,.12); color: #e3efe5; border-color: rgba(255,255,255,.2); }
#gameView .nds-knowledge .nds-buy-chip:disabled b { color: #e3efe5; }
/* Hinweis-Center: Kauf zuerst, Wissen steht schon im Spiel */
#hintCenter .hint-drawer-scroll { display: flex; flex-direction: column; }
#hintCenter .hint-shop-row { order: -1; margin-bottom: 12px; }
/* Vergleiche: Erklärung aufklappbar am Ende */
.ndxv2-help { margin: 12px 0 4px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.ndxv2-help > summary { cursor: pointer; padding: 10px 14px; font-weight: 800; color: #eaf6ec; list-style: none; }
.ndxv2-help > summary::-webkit-details-marker { display: none; }
.ndxv2-help[open] > summary { border-bottom: 1px solid rgba(255,255,255,.12); }
.ndxv2-help > .ndxv2-guide, .ndxv2-help > .ndxv2-legend { margin: 8px; }

/* ===== 16.11.: Naturtagebuch neu ===== */
.ndj { margin: 12px 0; display: grid; gap: 12px; }
.ndj-head { padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #1F4A30, #2F6B45); color: #fff; }
.ndj-head h3 { margin: 0; font-family: Georgia, serif; font-size: 21px; color: #fff !important; }
.ndj-head p { margin: 3px 0 12px; font-size: 13px; color: #d5ead9 !important; }
.ndj-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ndj-stats div { padding: 9px 6px; border-radius: 12px; background: rgba(255,255,255,.13); text-align: center; }
.ndj-stats b { display: block; font-size: 20px; color: #fff; }
.ndj-stats small { font-size: 12px; color: #d5ead9; }
.ndj-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ndj-filter { padding: 7px 13px; border-radius: 999px; border: 1px solid #cfc6aa; background: #FBF7EC; color: #3b3626; font-size: 13px; font-weight: 700; }
.ndj-filter b { font-weight: 800; opacity: .7; margin-left: 2px; }
.ndj-filter.on { background: #2F6B45; border-color: #2F6B45; color: #fff; }
.ndj-month { margin: 6px 2px 0; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6B6450; }
.ndj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ndj-entry { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 16px; background: #FBF7EC; border: 1px solid #E4DCC6; }
.ndj-thumb { all: unset; cursor: pointer; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #E3EEDF; display: grid; place-items: center; font-size: 26px; }
.ndj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ndj-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ndj-name { all: unset; cursor: pointer; font-family: Georgia, serif; font-size: 17px; font-weight: 700; color: #1F2A20; }
.ndj-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: #4F4734; align-items: center; }
.ndj-badge { padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.ndj-badge.wild { background: #DDEBD6; color: #1F4A30; }
.ndj-badge.zoo { background: #F6E7C1; color: #5c4400; }
.ndj-note { margin: 2px 0 0; padding: 6px 10px; border-left: 3px solid #cfc6aa; border-radius: 0 8px 8px 0; background: #fff; font-size: 13.5px; line-height: 1.4; color: #3b3626; font-style: italic; overflow-wrap: anywhere; }
.ndj-del { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; opacity: .55; font-size: 15px; }
.ndj-empty { padding: 26px 16px; border-radius: 16px; background: #FBF7EC; border: 1px dashed #cfc6aa; text-align: center; display: grid; gap: 6px; justify-items: center; color: #3b3626; }
.ndj-empty span { font-size: 34px; }
.ndj-empty p { margin: 0; font-size: 14px; color: #4F4734; }
.ndj-cta { margin-top: 6px; padding: 10px 18px; border-radius: 999px; border: 0; background: #2F6B45; color: #fff; font-weight: 800; }
.ndj-foot { margin: 0; font-size: 12.5px; color: #6B6450; text-align: center; }
body.n30-dark .ndj-entry, body.n30-dark .ndj-empty, body.n30-dark .ndj-filter:not(.on) { background: #22392b; border-color: #36523f; color: #e6efe2; }
body.n30-dark .ndj-name { color: #f1f6ee; } body.n30-dark .ndj-meta, body.n30-dark .ndj-month, body.n30-dark .ndj-foot, body.n30-dark .ndj-empty p { color: #c4d4c2; }
body.n30-dark .ndj-note { background: #1a2c21; color: #e0ead9; border-left-color: #4d6b55; }

/* 20.11.: X4 - Hinweis zur Schwierigkeit direkt vor dem Start */
.n35-diff-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #44503f; background: #eef4ea; border: 1px solid #d5e3cf; border-left: 3px solid #5b8f62; border-radius: 10px; padding: 8px 11px; }
.n35-diff-note.is-easy { background: #fdf4e3; border-color: #ecd9ae; border-left-color: #c99a3b; color: #5a4a26; }
body.n30-dark .n35-diff-note { background: #1d2a21; border-color: #2d4034; color: #d6e4d6; }
body.n30-dark .n35-diff-note.is-easy { background: #2d2516; border-color: #4a3c20; color: #ecdcb8; }

/* 20.11.: A2 - Baumstufe klar von Level/Rang trennen */
.tree-story .tree-stage-line { margin: 4px 0 10px; font-size: 12px; line-height: 1.5; opacity: .85; }

/* 28.11.2026: Hinweise nur noch an einer Stelle (direkt unter dem Spiel) – kein zweiter Knopf, kein Schubfach zum Scrollen. */
#gameView #ndsGameActions > #hintCenterToggle,
#hintCenterToggle { display: none !important; }
#gameView .nds-knowledge .nds-next-hint { margin: 8px 0 0; font-size: 12.5px; color: #cfe9d6; }

/* 28.11.2026: Weniger Vorspann – Inhalte beginnen oben. */
/* Startseite: „Weitere Welten“ (Platzhalter „Bald verfügbar“ und zweiter Academy-Knopf) entfällt. */
#homeView .hub-explore,
body.hub-on-home.n35-signed-in #homeView .hub-card { display: none !important; }
/* NatureDex, Karte, Fortschritt: keine Erklärtexte über dem Inhalt. */
#anidexView > .page-head > div:first-child > :is(.eyebrow, p),
#anidexView .sub-head :is(.eyebrow, p),
/* Erfolge: ein Baum, eine Baumstufe – die zweite Stufenleiste widersprach der ersten. */
#achievementsView > .n30-tree-intro,
#achievementsView > .page-head .tree-stage-badge,
#achievementsView > .page-head :is(.eyebrow, p),
#achievementsView > .cloud-tree-disclaimer { display: none !important; }
#anidexView > .page-head, #achievementsView > .page-head { padding-block: 10px !important; min-height: 0 !important; margin-bottom: 8px !important; }
#anidexView > .page-head h1, #achievementsView > .page-head h1 { margin: 0 !important; font-size: 24px !important; }

/* 28.11.2026: Tierklassen in den Einstellungen waren im hellen Design unlesbar (dunkelgrün auf dunkelgrün). */
body:not(.n30-dark) #settingsModal .class-toggle { background: #f3eedf !important; border-color: #ddd2b8 !important; }
body:not(.n30-dark) #settingsModal .class-toggle:has(input:checked) { background: #e3f1e4 !important; border-color: #7fae86 !important; }
body:not(.n30-dark) #settingsModal .class-toggle strong { color: #1c2b22 !important; }
body:not(.n30-dark) #settingsModal .class-toggle small { color: #4f5f53 !important; }
body.n30-dark #settingsModal .class-toggle strong { color: #eef3e8 !important; }
body.n30-dark #settingsModal .class-toggle small { color: #b9c9bc !important; }
/* Beitragen: Formular beginnt oben. */
#contributeView > .page-head > div:first-child > :is(.eyebrow, p),
#contributeView > .page-head > .submission-count { display: none !important; }
#contributeView > .page-head { padding-block: 10px !important; min-height: 0 !important; margin-bottom: 8px !important; }
#contributeView > .page-head h1 { margin: 0 !important; font-size: 21px !important; line-height: 1.2 !important; }

/* Einstellungen sehen auf jeder Seite gleich aus (von der Startseite aus waren die Überschriften unsichtbar). */
body:not(.n30-dark) #settingsModal .settings-card { background: #fffdf7 !important; color: #1c2b22 !important; border-color: #ddd2b8 !important; }
body:not(.n30-dark) #settingsModal .settings-card :is(h2, h3, #settingsTitle, .nds-look-label, .nds-theme-row > span) { color: #1c2b22 !important; }
body:not(.n30-dark) #settingsModal .settings-card :is(.settings-subtitle, .settings-footer, .settings-footer span) { color: #4f5f53 !important; }
body:not(.n30-dark) #settingsModal .settings-card .nds-look { background: #f3eedf !important; border-color: #ddd2b8 !important; }
body:not(.n30-dark) #settingsModal .settings-card select { background: #fff !important; color: #1c2b22 !important; border: 1px solid #ccc0a3 !important; }

.nds-class-chip::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: 6px; vertical-align: -.18em; background: currentColor; -webkit-mask: url(assets/icons/nd-paw.svg) center/contain no-repeat; mask: url(assets/icons/nd-paw.svg) center/contain no-repeat; }

/* 28.11.2026: Navigation weicht der Tastatur. */
@media (max-width: 850px) { body.nd-tippt :is(.nd-mobile-nav, .nd-mobile-more) { display: none !important; } }

/* Expedition: Zeichen und Text des Startknopfs mittig nebeneinander. */
#expeditionBox .ndxbp-go button:not(.hidden) { display: flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 8px; text-align: center; }
#expeditionBox .ndxbp-go button > * { margin: 0 !important; }

/* Karte: "Keine Länderdaten" erbte die Abstände der allgemeinen Klasse .empty. */
.map257-legend i.map257-swatch.empty { padding: 0 !important; margin: 0 !important; min-height: 0 !important; width: 16px; height: 12px; border: 1px solid #b8cbbd !important; border-radius: 3px; }

/* Beitragen: die vier Schritte lesbar statt schwarz. */
#contributeView .review-flow { display: flex; flex-wrap: wrap; gap: 6px; }
#contributeView .review-flow span { background: #e3f1e4 !important; color: #1f4a31 !important; border: 1px solid #bcd6bd !important; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
body.n30-dark #contributeView .review-flow span { background: #24392b !important; color: #e4efe0 !important; border-color: #456350 !important; }

/* 28.11.2026: "Fehler melden" ist eine eigene Zeile im Steckbrief – das Formular braucht kein zweites Aufklappen. */
.nd-b4-list .n273-suggestion > summary { display: none !important; }
.nd-b4-list .n273-suggestion button[type="submit"] { min-height: 46px !important; height: auto !important; width: 100% !important; margin-top: 8px !important; padding: 10px 16px !important; border-radius: 12px !important; font-size: 15px !important; }
.nd-b4-list .n273-suggestion input { min-height: 42px; }
