/* ============================================================
   maodi (md) — "Neon Casino" Theme-Overrides.
   Wird nach style.min.css geladen (gewinnt bei gleicher Spezifitaet).
   Basis-Layout = wl (.site-weloveurlaub). Hier: dunkle Inversion auf
   Deep-Purple + Magenta/Cyan/Violett/Amber-Neon-Akzente.
   Palette: BG #0C0716 · Surface #160E28 · Magenta #FF2E88 · Cyan #1FE3E0
            · Violett #9D4EDD · Spring #27E39B · Amber #FF9E2C · Text #F2ECFF.
   ============================================================ */

body.site-maodi {
  /* Flaechen (dunkel) */
  --bg-page: #0C0716; --bg-soft: #140B24; --bg-card: #160E28;
  --bg-inverse: #0A0612; --bg-primary: #160E28; --bg-accent: #FF2E88;
  /* Text (hell) */
  --text-primary: #F2ECFF; --text-secondary: #B8AEDA; --text-muted: #9C90BC;
  --text-on-dark: #F2ECFF; --text-on-primary: #FFFFFF; --text-on-accent: #FFFFFF;
  /* Akzent (Neon-Magenta) */
  --action-primary: #FF2E88; --action-primary-hover: #E0246F; --action-primary-active: #C61E5F;
  --action-accent: #FF2E88; --action-accent-hover: #E0246F;
  --breaking-accent: #FF2E88; --focus-ring: #1FE3E0;
  /* Links (Cyan auf dunkel) */
  --text-link: #1FE3E0; --text-link-hover: #FF2E88; --link: #1FE3E0; --link-hover: #FF2E88;
  /* Rahmen (hell auf dunkel) */
  --border-subtle: rgba(255,255,255,.08); --border-default: rgba(255,255,255,.14); --border-strong: rgba(157,78,221,.45);
  /* md-Hilfsvariablen */
  --md-bg: #0C0716; --md-surface: #160E28; --md-magenta: #FF2E88; --md-cyan: #1FE3E0;
  --md-violet: #9D4EDD; --md-line: rgba(255,255,255,.10);
  background:
    radial-gradient(1100px 540px at 80% -8%, rgba(157,78,221,.16), transparent 60%),
    radial-gradient(900px 460px at 0% 0%, rgba(255,46,136,.12), transparent 55%),
    var(--bg-page);
  background-attachment: fixed;
  color: var(--text-primary);
  gap: 0 !important;
  /* Brand-Font Inter (kein Serif-Fallback); Space Grotesk ist nicht lokal vorhanden. */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--font-body);
}
body.site-maodi h1, body.site-maodi h2, body.site-maodi h3, body.site-maodi h4,
body.site-maodi .article-title, body.site-maodi .article-hero__title, body.site-maodi .section-title,
body.site-maodi .hero__title, body.site-maodi .card__title, body.site-maodi .newsletter__title {
  font-family: var(--font-body) !important; font-weight: 900; letter-spacing: -.5px;
}

/* ============ Header / Topbar: dunkel mit Neon-Wortmarke ============ */
body.site-maodi .header {
  background: rgba(10,6,18,.92) !important;
  border-bottom: 1px solid var(--md-line) !important;
  backdrop-filter: blur(10px);
}
body.site-maodi .header__nav-link { color: rgba(242,236,255,.82) !important; }
body.site-maodi .header__nav-link:hover { color: var(--md-cyan) !important; }
body.site-maodi .header__logo {
  color: #fff !important; font-weight: 900; letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(255,46,136,.65), 0 0 34px rgba(255,46,136,.32);
}
body.site-maodi .header__burger span { background: #fff !important; }

/* ============ Ticker dunkel ============ */
body.site-maodi .ticker { background: rgba(20,11,36,.92) !important; border-bottom: 1px solid var(--md-line) !important; color: var(--text-primary) !important; }
body.site-maodi .ticker__badge, body.site-maodi .ticker__label { background: linear-gradient(120deg, var(--md-magenta), var(--md-violet)) !important; color: #fff !important; }

/* ============ Hero ============ */
body.site-maodi .hero {
  background:
    radial-gradient(700px 360px at 75% 0%, rgba(157,78,221,.28), transparent 60%),
    radial-gradient(620px 320px at 10% 100%, rgba(31,227,224,.16), transparent 60%),
    #0E0820 !important;
  color: #fff !important;
}
body.site-maodi .hero__title, body.site-maodi .hero h1, body.site-maodi .hero h2 { color: #fff !important; text-shadow: 0 0 38px rgba(157,78,221,.4); }

/* ============ Sektionen / Karten ============ */
body.site-maodi .section--soft, body.site-maodi .section--cream { background: linear-gradient(180deg, var(--bg-soft), var(--bg-page)) !important; }
body.site-maodi .article-card, body.site-maodi .category-card, body.site-maodi .card, body.site-maodi .post-card, body.site-maodi .teaser, body.site-maodi .hub-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--md-line) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 18px 40px -26px rgba(0,0,0,.7);
}
body.site-maodi .article-card:hover, body.site-maodi .category-card:hover, body.site-maodi .card:hover, body.site-maodi .post-card:hover, body.site-maodi .hub-card:hover {
  border-color: rgba(255,46,136,.55) !important;
  box-shadow: 0 0 0 1px rgba(255,46,136,.25), 0 22px 50px -24px rgba(255,46,136,.4) !important;
}
body.site-maodi .card__title, body.site-maodi .article-card__title, body.site-maodi h2, body.site-maodi h3 { color: var(--text-primary); }
body.site-maodi .tag, body.site-maodi .badge, body.site-maodi .pill, body.site-maodi .category-pill { background: linear-gradient(120deg, var(--md-magenta), var(--md-violet)) !important; color: #fff !important; border: none !important; }

/* ============ Buttons ============ */
body.site-maodi .btn, body.site-maodi .button, body.site-maodi .btn--primary, body.site-maodi .cta, body.site-maodi .hero__btn {
  background: linear-gradient(120deg, var(--md-magenta), var(--md-violet)) !important;
  color: #fff !important; border: none !important;
  box-shadow: 0 0 26px -6px rgba(255,46,136,.7);
}
body.site-maodi .btn:hover, body.site-maodi .button:hover, body.site-maodi .cta:hover { filter: brightness(1.08); box-shadow: 0 0 34px -4px rgba(255,46,136,.85) !important; }
body.site-maodi .btn--ghost, body.site-maodi .btn--secondary { background: transparent !important; color: var(--md-cyan) !important; border: 1px solid rgba(31,227,224,.5) !important; }

/* ============ Artikel-Inhalt ============ */
body.site-maodi .article-body { color: var(--text-secondary); }
body.site-maodi .article-body h2, body.site-maodi .article-body h3, body.site-maodi .article-title, body.site-maodi .article-hero__title { color: #fff; }
body.site-maodi .article-body a { color: var(--md-cyan); }
body.site-maodi .article-body a:hover { color: var(--md-magenta); }
body.site-maodi .infobox, body.site-maodi blockquote, body.site-maodi .fact-card, body.site-maodi .pro-con, body.site-maodi .steckbrief {
  background: var(--bg-soft) !important; border: 1px solid var(--md-line) !important; color: var(--text-primary) !important;
}
/* Modul-Innentexte auf dunklem Grund lesbar machen (sonst schwarz auf dunkel). */
body.site-maodi .fact-card__title { color: #fff !important; }
body.site-maodi .fact-card__label, body.site-maodi .steckbrief__label { color: var(--text-muted) !important; }
body.site-maodi .fact-card__value, body.site-maodi .steckbrief__value { color: var(--text-primary) !important; }
body.site-maodi .fact-card__cell { border-color: var(--md-line) !important; }
/* tips-list: dunkler Grund + heller Text. md-Kategorieseiten tragen auch
   .site-weloveurlaub (geteiltes Layout) -> deren !important-Regel schlaegt eine
   gleich-spezifische md-Regel. Daher hoehere Spezifitaet (ul.tips-list ...). */
body.site-maodi ul.tips-list .tips-list__item { background: var(--bg-soft) !important; border: 1px solid var(--md-line) !important; border-left: 3px solid var(--md-magenta) !important; }
body.site-maodi ul.tips-list .tips-list__content, body.site-maodi ul.tips-list .tips-list__content p, body.site-maodi ul.tips-list .tips-list__content h4 { color: var(--text-secondary) !important; }
body.site-maodi ul.tips-list .tips-list__content strong, body.site-maodi ul.tips-list .tips-list__content > strong { color: #fff !important; }
/* data-compare: md nutzt im Content die Modifier-Klasse .data-compare--dark
   (setzt Hintergruende UND Text korrekt). Kein Eigen-Override noetig — ein
   blosses Umfaerben des Textes ohne die dunklen Zell-Hintergruende erzeugte
   sonst hellen Text auf hellem Grund (erste Spalte/Winner-Zelle). */

/* ============ FAQ-Block ins dunkle Content-Design integrieren ============
   Die Kategorie-View rendert die FAQ sonst als separate weisse Bahn (.bg-white),
   die "nicht zum Content gehoert". Fuer md: gleicher dunkler Grund, direkt im
   Lesefluss, Akkordeon-Optik passend zum Theme. */
body.site-maodi .md-faqwrap { background: transparent !important; }
body.site-maodi .md-faqwrap .section-pad { padding-top: 8px; }
body.site-maodi .md-faqwrap .section-header__title { color: #fff !important; }
body.site-maodi .md-faqwrap .section-header__line { background: var(--md-line) !important; }
body.site-maodi .md-faqwrap .faq-item {
  background: #1B1230 !important; border: 1px solid var(--md-line) !important;
  border-radius: 12px !important; margin-bottom: 10px !important; padding: 14px 18px !important;
}
body.site-maodi .md-faqwrap .faq-item__q { color: #fff !important; }
body.site-maodi .md-faqwrap .faq-item__a, body.site-maodi .md-faqwrap .faq-item__a div { color: #CFC6E8 !important; }

/* Pillar-Hero-Bild (Kategoriebild aus dem Kategorie-Bild-Batch). Rendert nur,
   wenn category.img_url gesetzt ist; sonst oeffnet der Pillar direkt mit Text. */
body.site-maodi .md-pillar-hero {
  margin: 0 0 24px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--md-line); box-shadow: 0 0 32px -14px rgba(255,46,136,.5);
  aspect-ratio: 16 / 7; background: var(--bg-card);
}
body.site-maodi .md-pillar-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) {
  body.site-maodi .md-pillar-hero { aspect-ratio: 16 / 9; margin-bottom: 18px; }
}

/* "Verwandte Lektionen" auf Pillar-Seiten (rendert nur, wenn Kind-Kategorien
   oder Cluster-Artikel existieren). Schlichte Karten im Theme-Look. */
body.site-maodi .md-related-sec { background: transparent !important; }
body.site-maodi .md-related-sec .section-header__title { color: #fff !important; }
body.site-maodi .md-related-sec .section-header__line { background: var(--md-line) !important; }
body.site-maodi .md-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
body.site-maodi .md-related-card {
  position: relative; display: block; padding: 18px 44px 18px 18px;
  background: var(--bg-card); border: 1px solid var(--md-line); border-radius: 14px;
  text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s;
}
body.site-maodi .md-related-card:hover {
  border-color: var(--md-cyan); transform: translateY(-2px);
  box-shadow: 0 0 22px -8px rgba(31,227,224,.6);
}
body.site-maodi .md-related-card__title { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
body.site-maodi .md-related-card__desc { margin: 0; color: var(--text-secondary); font-size: .88rem; line-height: 1.45; }
body.site-maodi .md-related-card__arrow {
  position: absolute; right: 16px; top: 18px; color: var(--md-magenta); font-size: 1.1rem;
}

/* Header-Logo (weisse SVG) auf md-Unterseiten: dezenter Neon-Glow wie in der
   Startseiten-Topbar. */
body.site-maodi .header__logo--image img { height: 38px; width: auto; filter: drop-shadow(0 0 12px rgba(255,46,136,.5)); }

/* Footer: Logo statt "maodi"-Schriftzug (weisses SVG auf dunklem Footer). */
body.site-maodi .footer__logo-img { height: 30px; width: auto; display: inline-block; vertical-align: middle;
  filter: drop-shadow(0 0 10px rgba(255,46,136,.45)); }

/* Kategorie-/Hub-Ueberschriften hell (Default war dunkel auf dunkel). Hoehere
   Spezifitaet, weil md-Seiten auch site-weloveurlaub tragen und dessen Regel
   (page-hero__title--white -> dunkel) sonst gleichspezifisch gewinnt. */
body.site-maodi.site-weloveurlaub .page-hero h1.page-hero__title,
body.site-maodi .page-hero .page-hero__title,
body.site-maodi .cat-hero .cat-hero__title { color: #fff !important; text-shadow: 0 0 28px rgba(255,46,136,.3); }
body.site-maodi.site-weloveurlaub .section-header .section-header__title,
body.site-maodi .section-header .section-header__title { color: #fff !important; }
/* Artikel-Titel (Hero) hell — sonst schwarz auf dunkel (site-weloveurlaub-Regeln). */
body.site-maodi.site-weloveurlaub .article-hero-landscape__title,
body.site-maodi.site-weloveurlaub .article-title,
body.site-maodi.site-weloveurlaub .article-hero-split-wrap .article-title,
body.site-maodi .article-hero__title { color: #fff !important; text-shadow: 0 0 26px rgba(255,46,136,.25); }
body.site-maodi .section-header__line { background: var(--md-line) !important; }
body.site-maodi .cat-hero__crumb, body.site-maodi .cat-hero__crumb-sep { color: var(--text-secondary); }
body.site-maodi .cat-hero__crumb:hover { color: var(--md-cyan); }
body.site-maodi .cat-hero__crumb--current { color: var(--md-cyan); }

/* FAQ auf Artikel-/Hub-Seiten (ohne .md-faqwrap-Wrapper) dunkeltauglich machen.
   md traegt site-weloveurlaub mit; dessen Regel `body.site-weloveurlaub .faq-item`
   (padding:14px 0; radius:0) ist gleich spezifisch und steht spaeter in der
   Kaskade -> gewinnt sonst Padding/Radius. Daher kombinierte Klasse (0,3,1) +
   !important, dazu klar abgesetzter Box-Grund (bg-soft statt fast page-gleich). */
body.site-maodi .faq-section .section-header__title { color: #fff !important; }
body.site-maodi.site-weloveurlaub .faq-item,
body.site-maodi .faq-item {
  background: #1B1230 !important; border: 1px solid var(--md-line) !important;
  border-radius: 12px !important; margin-bottom: 10px !important; padding: 14px 18px !important;
}
body.site-maodi.site-weloveurlaub .faq-item__q,
body.site-maodi .faq-item__q { color: #fff !important; }
body.site-maodi.site-weloveurlaub .faq-item__a,
body.site-maodi.site-weloveurlaub .faq-item__a div,
body.site-maodi .faq-item__a, body.site-maodi .faq-item__a div { color: #CFC6E8 !important; }

/* Buttons im md-Neon-Stil (Default/geerbte Farben waren gruen bzw. blau). */
body.site-maodi.site-weloveurlaub .btn--primary,
body.site-maodi .btn--primary,
body.site-maodi .article-meta__share-btn,
body.site-maodi.site-weloveurlaub .comment-invite__btn,
body.site-maodi .comment-invite__btn,
body.site-maodi .share-sticky__btn {
  background: linear-gradient(120deg, var(--md-magenta), var(--md-violet)) !important;
  color: #fff !important; border-color: transparent !important;
}
body.site-maodi .btn--primary:hover,
body.site-maodi .article-meta__share-btn:hover,
body.site-maodi .comment-invite__btn:hover { box-shadow: 0 0 22px -6px rgba(255,46,136,.7) !important; filter: brightness(1.08); }

/* Suchleiste: ganze Leiste (Feld + Button) als EIN gerundeter Rahmen, nicht nur das Input. */
body.site-maodi .page-hero__search { display: flex; align-items: stretch; border: 1px solid var(--md-cyan); border-radius: 50px; overflow: hidden; background: var(--bg-card); padding: 4px; max-width: 620px; }
body.site-maodi .page-hero__search-input { border: none !important; background: transparent !important; color: #fff !important; flex: 1; padding: 10px 18px; outline: none; box-shadow: none !important; }
body.site-maodi .page-hero__search-input::placeholder { color: var(--text-secondary); }
body.site-maodi .page-hero__search .btn--primary { border-radius: 50px !important; flex-shrink: 0; }
/* Mobilmenü-Suchfeld: dunkles Feld + helle Schrift (war weiss auf hellem Feld). */
body.site-maodi .mobile-nav__search { background: rgba(255,255,255,.07) !important; border: 1px solid var(--md-line); }
body.site-maodi .mobile-nav__search input { color: #fff !important; }
body.site-maodi .mobile-nav__search input::placeholder { color: var(--text-secondary) !important; }
/* Such-Vorschläge: das Overlay-Feld ist weiss -> dunkler, lesbarer Text
   (md-Hell-Theme faerbte Titel/Meta sonst hell auf weiss). */
body.site-maodi .search-results { background: #fff; }
body.site-maodi .search-results__item-title { color: #15121f !important; }
body.site-maodi .search-results__item-meta,
body.site-maodi .search-results__category { color: #6a6480 !important; }
body.site-maodi .search-results__item:hover { background: #f3efe7 !important; }

/* Card-Headlines im Magazin-Grid (Hub/Listing) hell statt schwarz auf dunkel.
   Hoehere Spezifitaet, weil site-weloveurlaub-Regeln (.news-grid .news-card__title,
   0,3,0) sonst gewinnen; die Farbe sitzt am <a> im Titel. */
body.site-maodi.site-weloveurlaub .news-grid .news-card__title,
body.site-maodi.site-weloveurlaub .news-grid .news-card__title a,
body.site-maodi.site-weloveurlaub .news-featured__title,
body.site-maodi.site-weloveurlaub .news-wide__title,
body.site-maodi.site-weloveurlaub .news-quote__title,
body.site-maodi.site-weloveurlaub .news-hero__title,
body.site-maodi .news-card__title, body.site-maodi .news-card__title a,
body.site-maodi .news-spotlight__headline,
body.site-maodi .card-standard__title, body.site-maodi .card-standard__title a { color: #fff !important; }
body.site-maodi .news-card__excerpt,
body.site-maodi .news-featured__excerpt,
body.site-maodi .news-wide__excerpt,
body.site-maodi .news-hero__excerpt { color: var(--text-secondary) !important; }

/* CMP (Consent-Layer): geteiltes Light-Theme-Markup -> auf md dunkel + lesbar.
   Sonst heller Text auf weissem Dialog bzw. dunkler Text auf dunklem Footer. */
body.site-maodi .cmp-modal__dialog,
body.site-maodi .cmp-banner { background: var(--bg-card) !important; color: #F2ECFF !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .cmp-modal__header, body.site-maodi .cmp-modal__body,
body.site-maodi .cmp-modal__footer, body.site-maodi .cmp-modal__meta,
body.site-maodi .cmp-cat, body.site-maodi .cmp-cat__head, body.site-maodi .cmp-cat__services,
body.site-maodi .cmp-cat-service, body.site-maodi .cmp-filter, body.site-maodi .cmp-service { background: transparent !important; border-color: var(--md-line) !important; }
body.site-maodi .cmp-modal__title, body.site-maodi .cmp-cat__name,
body.site-maodi .cmp-banner__title, body.site-maodi .cmp-service__name { color: #fff !important; }
body.site-maodi .cmp-modal__intro, body.site-maodi .cmp-cat__desc,
body.site-maodi .cmp-banner__text, body.site-maodi .cmp-service__desc { color: var(--text-secondary) !important; }
body.site-maodi .cmp-modal__close, body.site-maodi .cmp-expand { color: #F2ECFF !important; }
body.site-maodi .cmp-tab { color: var(--text-secondary) !important; }
body.site-maodi .cmp-tab.is-active { color: var(--md-cyan) !important; border-color: var(--md-cyan) !important; }
body.site-maodi .cmp-btn--ghost { color: #F2ECFF !important; background: rgba(255,255,255,.05) !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .cmp-btn--ghost:hover { border-color: var(--md-cyan) !important; color: var(--md-cyan) !important; }
body.site-maodi .cmp-filter__btn { color: var(--text-secondary) !important; background: var(--md-surface, #160E28) !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .cmp-filter__btn.is-active { color: #fff !important; background: var(--md-magenta) !important; border-color: var(--md-magenta) !important; }
body.site-maodi .cmp-modal a, body.site-maodi .cmp-banner a { color: var(--md-cyan) !important; }

/* Kommentar-Bereich (geteiltes Light-Markup) auf md lesbar. */
body.site-maodi .comment-invite { background: var(--bg-card) !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .comment-invite__text strong, body.site-maodi .comment-invite__text { color: #F2ECFF !important; }
body.site-maodi .comments-section .section-header__title, body.site-maodi .comment-form__title { color: #fff !important; }
body.site-maodi .comment-form__textarea, body.site-maodi .comment-form__input,
body.site-maodi .comment-form input[type="text"], body.site-maodi .comment-form input[type="email"] {
  background: var(--md-surface, #160E28) !important; color: #F2ECFF !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .comment-form__hint, body.site-maodi .comment-login__text, body.site-maodi .comment-form__label { color: var(--text-secondary) !important; }
body.site-maodi .comment-item__body, body.site-maodi .comment-item__author { color: #F2ECFF !important; }

/* Newsletter-Landing (/newsletter): wl-Light-Cards -> md dunkel/lesbar. */
body.site-maodi .nl-hero__title { color: #fff !important; }
body.site-maodi .nl-hero__subtitle, body.site-maodi .nl-hero__proof-text { color: var(--text-secondary) !important; }
body.site-maodi .nl-hero__kicker { color: var(--md-cyan) !important; }
body.site-maodi .nl-benefits { background: transparent !important; }
body.site-maodi .nl-benefit { background: var(--bg-card) !important; border: 1px solid var(--md-line) !important; }
body.site-maodi .nl-benefit__title { color: #fff !important; }
body.site-maodi .nl-benefit__text, body.site-maodi .nl-benefits__schedule { color: var(--text-secondary) !important; }
body.site-maodi .nl-form__input { background: var(--md-surface, #160E28) !important; color: #F2ECFF !important; border-color: var(--md-line) !important; }
body.site-maodi .nl-form__label { color: var(--text-secondary) !important; }
body.site-maodi .nl-form__hint { color: var(--text-muted, #9C90BC) !important; }

/* Kategorie-Hub: Bild als scharfe Figur neben dem Intro-Text (Aside).
   Platzhalter dunkel statt wl-hellgrau, dezenter Rahmen im md-Look. */
body.site-maodi .hub-intro__image { background: var(--md-surface, #160E28) !important; border: 1px solid var(--md-line) !important; }

/* Blackjack-Basisstrategie-Tabelle + Nachschlage-Tool. */
body.site-maodi .bjt-wrap { overflow-x: auto; margin: 12px 0 18px; -webkit-overflow-scrolling: touch; }
body.site-maodi .bjt { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 14px; text-align: center; }
body.site-maodi .bjt th { background: var(--md-surface, #160E28); color: #F2ECFF; padding: 7px 4px; border: 1px solid var(--md-line); font-weight: 700; }
body.site-maodi .bjt td { padding: 7px 4px; border: 1px solid rgba(0,0,0,.25); font-weight: 800; color: #15111d; }
body.site-maodi .bjt tbody th { position: sticky; left: 0; z-index: 1; }
body.site-maodi .bjt-h, body.site-maodi .bjt-key.bjt-h { background: #ff7a9c; }
body.site-maodi .bjt-s, body.site-maodi .bjt-key.bjt-s { background: #57e0a6; }
body.site-maodi .bjt-d, body.site-maodi .bjt-key.bjt-d { background: #5cd0ee; }
body.site-maodi .bjt-ds, body.site-maodi .bjt-key.bjt-ds { background: #9ad7f5; }
body.site-maodi .bjt-p, body.site-maodi .bjt-key.bjt-p { background: #ffd766; }
body.site-maodi .bjt-legend { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: #c9c0e0; margin: 8px 0 14px; }
body.site-maodi .bjt-key { display: inline-flex; min-width: 24px; height: 22px; align-items: center; justify-content: center; border-radius: 5px; color: #15111d; font-weight: 800; padding: 0 5px; }
body.site-maodi .bjt-tool { background: var(--bg-card); border: 1px solid var(--md-line); border-radius: 14px; padding: 16px; margin: 14px 0 20px; }
body.site-maodi .bjt-tool__row { display: flex; gap: 16px; flex-wrap: wrap; }
body.site-maodi .bjt-tool__row label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #9a90b3; font-weight: 600; }
body.site-maodi .bjt-tool__row select { background: var(--md-surface, #160E28); color: #F2ECFF; border: 1px solid var(--md-line); border-radius: 9px; padding: 9px 12px; font-size: 15px; font-weight: 700; min-width: 120px; }
body.site-maodi .bjt-tool__result { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 16px; color: #15111d; background: rgba(255,255,255,.08); }
body.site-maodi .bjt-tool__result strong { color: inherit; }

/* Poker-Reihenfolge: Ranking-Tabelle + Mini-Karten-Chips. */
body.site-maodi .poker-rank { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 14px; }
body.site-maodi .poker-rank th, body.site-maodi .poker-rank td { border: 1px solid var(--md-line); padding: 8px 10px; text-align: left; vertical-align: middle; color: #F2ECFF; }
body.site-maodi .poker-rank thead th { background: var(--md-surface, #160E28); }
body.site-maodi .poker-rank tbody th { color: #fff; font-weight: 800; white-space: nowrap; }
body.site-maodi .poker-rank td:first-child { text-align: center; color: var(--md-cyan); font-weight: 800; }
body.site-maodi .pr-ex { white-space: nowrap; }
body.site-maodi .pcard { display: inline-flex; align-items: center; gap: 1px; background: #f5efe1; color: #15111d; border-radius: 4px; padding: 2px 5px; margin-right: 3px; font-weight: 800; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
body.site-maodi .pcard i { font-style: normal; }
body.site-maodi .pcard.is-red i { color: #cf1733; }
body.site-maodi .pcard.is-black i { color: #15111d; }

/* Sektion-Bild im Pillar-/Artikel-Content (gemergte Substub-Bilder). */
body.site-maodi .md-figure { margin: 18px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--md-line); }
body.site-maodi .md-figure img { display: block; width: 100%; height: auto; }

/* Intro-Initiale (Drop-Cap): wl faerbt sie via --amber-500 (Orange) – passt nicht
   ins md-Neon. Hoehere Spezifitaet als die wl-!important-Regel -> md-Magenta. */
body.site-maodi.site-weloveurlaub .hub-intro p:first-child::first-letter {
  color: var(--md-magenta) !important; background: transparent !important;
}

/* Amazon-Affiliate-Sidebar-Widget (als Anzeige gekennzeichnet, md-Neon-Look). */
body.site-maodi .amz-widget { background: var(--bg-card); border: 1px solid var(--md-line); border-radius: 14px;
  padding: 14px 14px 10px; margin-bottom: 18px; box-shadow: 0 0 26px -14px rgba(255,46,136,.5); }
body.site-maodi .amz-widget__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
body.site-maodi .amz-widget__badge { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #9a90b3; border: 1px solid var(--md-line); border-radius: 5px; padding: 2px 6px; }
body.site-maodi .amz-widget__title { margin: 0; font-size: 1rem; color: #fff; }
body.site-maodi .amz-widget__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.site-maodi .amz-card__link { display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid var(--md-line); border-radius: 12px; padding: 10px; transition: border-color .15s, transform .15s, box-shadow .15s; }
body.site-maodi .amz-card__link:hover { border-color: var(--md-cyan); transform: translateY(-2px); box-shadow: 0 0 18px -8px rgba(31,227,224,.6); }
body.site-maodi .amz-card__media { position: relative; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 8px;
  overflow: hidden; background: #0e0820; display: flex; align-items: center; justify-content: center; }
body.site-maodi .amz-card__img { width: 100%; height: 100%; object-fit: contain; display: block; }
body.site-maodi .amz-card__noconsent { font-size: 9px; line-height: 1.25; text-align: center; color: #6b6280; padding: 4px; }
body.site-maodi .amz-widget.is-consented .amz-card__noconsent { display: none; }
body.site-maodi .amz-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.site-maodi .amz-card__name { color: #F2ECFF; font-size: .82rem; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.site-maodi .amz-card__price { color: var(--md-cyan); font-weight: 800; font-size: .9rem; }
body.site-maodi .amz-card__cta { color: var(--md-magenta); font-size: .72rem; font-weight: 700; }
body.site-maodi .amz-widget__note { margin: 8px 2px 2px; font-size: 10px; line-height: 1.4; color: #8076a0; }

/* Lightbox fuer das Kategoriebild (Klick aufs Hero-Bild vergroessert). */
.cat-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6,4,12,.93); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.cat-lightbox.is-open { display: flex; }
.cat-lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 14px; box-shadow: 0 0 60px -10px rgba(255,46,136,.55); }

/* Sieg/Niederlage-Headline im Spiel-Overlay (article-body-h3-Regel erzwingt sonst Weiss). */
body.site-maodi .mdg__win.is-win h3 { color: #27E39B !important; }
body.site-maodi .mdg__win.is-loss h3 { color: #FF3B6B !important; }

body.site-maodi table th { background: var(--bg-soft) !important; color: var(--text-primary) !important; }
body.site-maodi table td { border-color: var(--md-line) !important; }

/* ============ Newsletter / Footer dunkel ============ */
body.site-maodi .newsletter, body.site-maodi .footer {
  background: linear-gradient(180deg, #0A0612, #06040D) !important;
  color: var(--text-secondary) !important; border-top: 1px solid var(--md-line) !important;
}
body.site-maodi .footer a { color: var(--text-secondary) !important; }
body.site-maodi .footer a:hover { color: var(--md-cyan) !important; }
body.site-maodi .footer__heading, body.site-maodi .footer h3, body.site-maodi .footer h4 { color: #fff !important; }

/* ============ Formulare ============
   Kein pauschales Input-Styling mehr: das hatte ALLE Felder (auch das Suchfeld
   im Overlay) dunkel eingefaerbt. Felder nutzen jetzt ihr Basis-Design; nur die
   Auth-Card hat bewusst dunkle Felder (eigene Regel weiter unten). */

/* Breadcrumbs / Meta */
body.site-maodi .breadcrumbs, body.site-maodi .breadcrumbs a, body.site-maodi .article-meta { color: var(--text-muted) !important; }
body.site-maodi .breadcrumbs a:hover { color: var(--md-cyan) !important; }

/* ============ Login/Auth-Seiten: dunkel + lesbar (vorher heller Text auf Weiß) ============ */
body.site-maodi .auth-card {
  background: var(--bg-card) !important; border: 1px solid var(--md-line) !important;
  color: var(--text-primary); box-shadow: 0 24px 60px -30px rgba(255,46,136,.4);
}
body.site-maodi .auth-card__logo { color: #fff !important; text-shadow: 0 0 16px rgba(255,46,136,.6); }
body.site-maodi .auth-card__title { color: #fff !important; }
body.site-maodi .auth-card label, body.site-maodi .auth-card .form-group label { color: var(--text-secondary) !important; }
body.site-maodi .auth-card input { background: #1B1233 !important; color: var(--text-primary) !important; border-color: var(--md-line) !important; }
body.site-maodi .auth-card input::placeholder { color: var(--text-muted) !important; }
body.site-maodi .auth-card input:focus { border-color: var(--md-cyan) !important; }
body.site-maodi .auth-card a { color: var(--md-cyan) !important; }
body.site-maodi .auth-card__sep { color: var(--text-muted) !important; }

/* ============ Spiel-Einhängepunkt (Lern-Spiel above the fold) ============
   Platzhalter-Box auf den Pillar-Seiten; die interaktive Spiel-Logik (Solitär,
   Blackjack-Trainer, Kniffel ...) wird spaeter per JS in #<slug>-spiel gerendert. */
body.site-maodi .md-game-embed {
  position: relative; margin: 0 0 28px; padding: 30px 26px; border-radius: 18px;
  background:
    radial-gradient(540px 220px at 80% -20%, rgba(157,78,221,.30), transparent 60%),
    radial-gradient(420px 200px at 0% 120%, rgba(31,227,224,.18), transparent 60%),
    #120A24;
  border: 1px solid rgba(255,46,136,.30);
  box-shadow: 0 0 0 1px rgba(255,46,136,.12), 0 26px 60px -34px rgba(255,46,136,.5);
  text-align: center;
}
body.site-maodi .md-game-embed__badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: .72rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(120deg, var(--md-magenta), var(--md-violet));
}
body.site-maodi .md-game-embed__title { margin: 14px 0 8px; color: #fff !important; font-size: 1.55rem; }
body.site-maodi .md-game-embed__hint { margin: 0 auto; max-width: 60ch; color: var(--text-secondary); }

/* 18+ / Verantwortungs-Box (eigene Klasse, falls kein infobox-Modul genutzt wird) */
body.site-maodi .md-responsible {
  margin: 28px 0 6px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,158,44,.08); border: 1px solid rgba(255,158,44,.35);
  color: var(--text-secondary); font-size: .92rem;
}
body.site-maodi .md-responsible strong { color: var(--md-amber, #FF9E2C); }
body.site-maodi .md-responsible a { color: var(--md-cyan); }

/* ============ Tipps-Liste: modernes Lucide-Check-Icon statt Text-Zeichen ============
   Das LLM/der Legacy-Import setzt ein beliebiges Zeichen (€, Emoji, Symbol) in
   .tips-list__icon — wirkt altmodisch und wird vom Screenreader vorgelesen. Hier:
   einheitliches dekoratives Neon-Check-Badge; das rohe Zeichen wird unsichtbar
   (font-size:0). Im Schema (ContentModules) ist aria-hidden gesetzt. */
body.site-maodi .tips-list__icon {
  font-size: 0 !important; color: transparent !important;
  width: 28px !important; height: 28px !important; min-width: 28px !important;
  border-radius: 999px !important; padding: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--md-magenta), var(--md-violet)) !important;
  box-shadow: 0 0 18px -4px rgba(255,46,136,.7) !important;
}
body.site-maodi .tips-list__icon::before {
  content: ''; width: 15px; height: 15px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
