/* Owner refinement: the approved brand plate belongs to the entire page.
   One still backdrop keeps its scale while content scrolls across it. Opening
   only outer wrappers avoids section seams; cards and controls keep their skin. */
:is(body.hybrid-site.joker-dark,body.type-login.joker-dark) {
  isolation:isolate;
}
:is(body.hybrid-site.joker-dark,body.type-login.joker-dark)::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(rgb(0 0 0 / .46),rgb(0 0 0 / .46)),
    #101010 url("assets/background-brand-panels-20261109.webp") center / cover no-repeat;
}

/* Shared reading ground. These match the existing outer-surface rules, with
   one extra scope class; no nested article, form, dialog or price card is reset. */
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) main,
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) .public-page-frame[data-kind],
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) .public-page-frame[data-kind]>div:has(>section),
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) .public-page-frame[data-kind]>section:not(.hy-status-card),
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) .public-page-frame[data-kind]>div:has(>section)>section:not(.hy-status-card),
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) .public-page-frame[data-kind]>div>div:has(>.lp-trust-list),
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered):not(.license-cockpit-page) main .public-page-frame[data-kind] :is(.subpage-hero,.hy-theory-hero),
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered):not(.license-cockpit-page) main .public-page-frame:is([data-kind="article"],[data-kind="reading"])>section:first-of-type,
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered):not(.license-cockpit-page) main .public-page-frame:is([data-kind="article"],[data-kind="reading"])>div:has(>section)>section:first-of-type,
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) main .public-page-frame section.kostencheck-flow,
body.hybrid-site.joker-dark.subpage-unified:not(.home-reordered) main :is(.cs-overlay,.m-overlay),
body.hybrid-site.joker-dark.subpage-unified[data-page^="anmeldung"] main .public-page-frame>div[style*="min-height:100vh"],
body.hybrid-site.joker-dark.subpage-unified.type-login main .login-layout,
body.joker-dark.subpage-unified.type-login main,
body.joker-dark.subpage-unified.type-login main .login-layout,
body.hybrid-site.joker-dark.subpage-unified main.hy-overview,
body.hybrid-site.joker-dark.license-cockpit-page main#main.license-cockpit {
  background:transparent!important;
}

/* Home uses different outer wrappers. The original masked vehicle stage,
   playing-card reviews, media, lights and inner card surfaces are untouched. */
body.hybrid-site.joker-dark.home-reordered main>.public-page-frame,
body.hybrid-site.joker-dark.home-reordered .public-page-frame>.revamp-home,
body.hybrid-site.joker-dark.home-reordered .hero-katana.hero-dark,
body.hybrid-site.joker-dark.home-reordered .revamp-home>:is(.home-reviews,.home-benefits,.home-process,.home-costs,.home-about,.home-faq,.home-last-call),
body.hybrid-site.joker-dark.subpage-unified :is(.revamp-footer,.lp-footer,.selected-legal-nav),
body.joker-dark.subpage-unified.type-login .selected-legal-nav,
body.hybrid-site.joker-dark.home-reordered :is(.revamp-footer,.lp-footer,.selected-legal-nav) {
  background:transparent!important;
}

@media(max-width:600px) {
  :is(body.hybrid-site.joker-dark,body.type-login.joker-dark)::before {
    background-image:
      linear-gradient(rgb(0 0 0 / .46),rgb(0 0 0 / .46)),
      url("assets/background-brand-panels-mobile-20261109.webp");
  }
}

@media print {
  :is(body.hybrid-site.joker-dark,body.type-login.joker-dark)::before {display:none}
}
