.advertising-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    clear: both;
    width: 100%;
    min-width: 0;
    margin-block: var(--ad-desktop-gap);
}
.advertising-slot__label {
    color: #b7b7b7;
    font-size: .75rem;
    line-height: 1.4;
}
.advertising-slot a {
    display: block;
    max-width: 100%;
    border-radius: .25rem;
}
.advertising-slot a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.advertising-slot img {
    display: block;
    width: auto;
    height: auto;
    margin-inline: auto;
    max-width: min(100%, var(--ad-desktop-width));
    max-height: var(--ad-desktop-height);
    object-fit: contain;
}
.advertising-slot--no-desktop {
    display: none;
}
.advertising-slot[hidden],.advertising-consent [hidden] {
    display: none !important;
}
.advertising-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--pt-player-height, 0px);
    z-index: 20;
    box-sizing: border-box;
    margin: 0 auto;
    padding: .4rem;
    border: 0;
    border-radius: 0;
    max-width: 560px;
    font-size: 14px;
    max-height: min(35vh, calc(100vh - var(--pt-player-height, 0px)));
    overflow-y: auto;
    overflow-wrap: anywhere;
    background: #222;
    color: #fff;
}
.advertising-consent p {
    margin: .25rem 0;
}
.advertising-consent__summary {
    padding-right: 44px;
}
.advertising-consent__close {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 44px;
    min-height: 44px;
}
.advertising-consent__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .4rem;
}
.advertising-consent__actions button {
    color: inherit;
    background: #383838;
    border: 1px solid #aaa;
    border-radius: .25rem;
}
.advertising-consent__actions [data-ad-preference-toggle] {
    background: #a5291c;
}
.advertising-consent button {
    min-height: 40px;
    white-space: normal;
}
.advertising-consent__status {
    font-size: .85rem;
}
.advertising-consent__status:empty {
    display: none;
}
.advertising-slot__frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.advertising-slot--provider .advertising-slot__frame {
    min-height: var(--ad-desktop-height);
}
.ad-provider-slot {
    container-type: inline-size;
    display: grid;
    min-width: 0;
    overflow: hidden;
}
.ad-provider-slot > .advertising-guest,
.ad-provider-slot > .advertising-placeholder,
.ad-provider-slot > .advertising-inline {
    grid-area: 1 / 1;
}
.advertising-guest,
.advertising-placeholder {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: var(--ad-desktop-height);
    padding: .5rem;
    color: inherit;
    background: #222;
    border: 1px solid #676767;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.advertising-guest .advertising-slot__note,
.advertising-placeholder .advertising-slot__note {
    font-size: .75rem;
}
.advertising-slot:not([data-ad-initial-teaser]):not([data-ad-teaser-managed]) .advertising-guest,
.advertising-slot[data-ad-teaser-managed]:not([data-ad-show-teaser]) .advertising-guest {
    display: none !important;
}
.advertising-slot[data-ad-initial-teaser]:not([data-ad-teaser-managed]) .advertising-placeholder,
.advertising-slot[data-ad-teaser-managed][data-ad-show-teaser] .advertising-placeholder,
html.ad-consent-granted .advertising-slot.ad-slot-filled .advertising-guest,
html.ad-consent-granted .advertising-slot.ad-slot-filled .advertising-placeholder {
    display: none !important;
}
.ad-provider-slot iframe {
    display: none !important;
    border: 0;
    max-width: 100%;
    position: static;
    margin: 0 auto;
}
html.ad-consent-granted .ad-provider-slot iframe { display: block !important; }
@media (max-width: 767.98px) {
    .advertising-slot--provider .advertising-slot__frame,
    .advertising-guest,
    .advertising-placeholder {
        min-height: var(--ad-mobile-height);
    }
    .advertising-slot {
        margin-block: var(--ad-mobile-gap);
    }
    .advertising-slot img {
        max-width: min(100%, var(--ad-mobile-width));
        max-height: var(--ad-mobile-height);
    }
    .advertising-slot--no-desktop {
        display: flex;
    }
    .advertising-slot--no-mobile {
        display: none;
    }
}

.advertising-inline { display: flex; justify-content: center; }
.ad-primary-content { min-height: 100vh; }
.advertising-inline--mobile { display: none; }
@media (max-width: 767.98px) {
    .advertising-inline--desktop { display: none; }
    .advertising-inline--mobile { display: flex; }
}

.advertising-format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.advertising-native {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin-block: 24px;
    text-align: center;
}
.advertising-native [data-native-container] {
    min-width: 0;
    width: 100%;
}
.advertising-native__status {
    min-height: 60px;
    padding: 16px;
    color: #b7b7b7;
    font-size: 13px;
}
.advertising-native [hidden] {
    display: none !important;
}
@media (max-width: 767.98px) {
    .advertising-format-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

/* Teaser: one label per slot, one action line, the whole box is the link; compact while no ad can load.
   The root font size is 10px, so sizes are set in px. */
.advertising-slot__label,
.advertising-guest .advertising-slot__note,
.advertising-placeholder .advertising-slot__note {
    font-size: 11px;
    line-height: 1.3;
}
.advertising-slot--provider:not(.ad-slot-filled):not(.ad-frame-empty) > .advertising-slot__label,
.advertising-slot .advertising-empty-link {
    display: none;
}
html.ad-consent-granted .advertising-slot.ad-frame-empty .advertising-guest,
.advertising-slot.ad-frame-empty .advertising-placeholder .advertising-slot__note {
    display: none !important;
}
html.ad-consent-granted .advertising-slot.ad-frame-empty .advertising-placeholder {
    display: flex !important;
}
.advertising-slot.ad-frame-empty .advertising-empty-link {
    display: inline;
    color: inherit;
    text-decoration: underline;
}

/* Eigene Ersatzanzeige (ADS_HOUSE_BANNER): fuellt die leere Flaeche, verlinkt den Direktlink, ohne Fremdanfrage. */
.advertising-slot.ad-frame-empty .advertising-placeholder:has(.pt-tipbox) {
    padding: 0;
    border: 0;
    background: transparent;
}
.advertising-slot.ad-frame-empty .advertising-empty-link.pt-tipbox {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 970px;
    min-height: inherit;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(120deg, #2a0f1c 0%, #6d1a2a 55%, #d9473a 100%);
    border: 1px solid #e2543b;
    border-radius: 8px;
    transition: filter .15s;
}
.advertising-slot.ad-frame-empty .advertising-empty-link.pt-tipbox:hover,
.advertising-slot.ad-frame-empty .advertising-empty-link.pt-tipbox:focus-visible {
    filter: brightness(1.12);
}
.pt-tipbox__mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    color: #2a0f1c;
    background: #ffd166;
    border-radius: 50%;
}
.pt-tipbox__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}
.pt-tipbox__title {
    font-size: 18px;
    line-height: 1.2;
}
.pt-tipbox__text {
    font-size: 14px;
    line-height: 1.3;
    opacity: .9;
}
.pt-tipbox__cta {
    flex: none;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #b3261e;
    background: #fff;
    border-radius: 999px;
}
.advertising-slot[data-provider-slot="detail_end"].ad-frame-empty .advertising-empty-link.pt-tipbox {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    text-align: center;
}
.advertising-slot[data-provider-slot="detail_end"] .pt-tipbox__body {
    flex: none;
    text-align: center;
}
.advertising-slot[data-provider-slot="detail_end"] .pt-tipbox__text {
    display: block;
}
@media (max-width: 479.98px) {
    .advertising-slot.ad-frame-empty .advertising-empty-link.pt-tipbox { gap: 10px; padding: 8px 12px; }
    .pt-tipbox__mark { width: 32px; height: 32px; font-size: 16px; }
    .pt-tipbox__title { font-size: 15px; }
    .pt-tipbox__text { display: none; }
    .pt-tipbox__cta { padding: 6px 12px; font-size: 13px; }
}
.advertising-guest {
    width: 100%;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.advertising-guest:hover,
.advertising-guest:focus-visible {
    background: #2c2c2c;
    border-color: #9a9a9a;
}
.advertising-guest .ad-action {
    font-weight: 600;
}
.advertising-guest .ad-action::after {
    content: "\2192";
    margin-left: .5em;
}
html:not(.ad-consent-granted) .advertising-slot--provider .advertising-slot__frame,
html:not(.ad-consent-granted) .advertising-guest,
html:not(.ad-consent-granted) .advertising-placeholder {
    min-height: 44px;
}

/* Gate (Stufe V2): liegt vor dem Panel und erscheint nur ohne gespeicherte Wahl.
   JS setzt nach 1200 ms die Klasse ad-gate-open am html-Element; der Body wird nicht gesperrt. */
.ad-gate {
    display: none;
}
html.ad-gate-open .ad-gate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    padding: 64px 16px 24px;
    overflow-y: auto;
    color: #fff;
    background: rgba(20, 18, 18, .97);
}
.ad-gate:focus {
    outline: none;
}
.ad-gate__close {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: 1px solid #8a8a8a;
    border-radius: 50%;
    cursor: pointer;
}
.ad-gate__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 560px;
    margin: auto;
}
.ad-gate__creative {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: min(36vh, 280px);
    padding: 24px 16px;
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: #2a2626;
    border: 1px solid #8a8a8a;
    border-radius: 6px;
    cursor: pointer;
}
.ad-gate__creative:hover,
.ad-gate__creative:focus-visible {
    color: inherit;
    text-decoration: none;
    background: #332e2e;
    border-color: #c9c9c9;
}
.ad-gate__creative--empty {
    cursor: default;
    pointer-events: none;
}
.ad-gate__label {
    font-size: 11px;
    line-height: 1.3;
    color: #d4d4d4;
}
.ad-gate__action {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}
.ad-gate__action::after {
    content: "\2192";
    margin-inline-start: .5em;
}
.ad-gate__actions {
    display: flex;
    gap: 10px;
}
.ad-gate__actions button {
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.25;
    color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.ad-gate__accept {
    flex: 0 0 calc((100% - 10px) * .7);
    font-weight: 700;
    background: #a5291c;
}
.ad-gate__decline {
    flex: 0 0 calc((100% - 10px) * .3);
    background: #383838;
}
.ad-gate__note,
.ad-gate__details {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #d0d0d0;
}
.ad-gate__details p {
    margin: .5em 0;
}
.ad-gate button:focus-visible,
.ad-gate summary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Werbeblocker-Wand (nur Gäste mit aktivem Blocker): liegt über allem und sperrt das Scrollen.
   JS setzt ad-wall-open, sobald die Erkennung "true" meldet und das Gate zu ist. */
.ad-wall {
    display: none;
}
html.ad-wall-open {
    overflow: hidden;
}
html.ad-wall-open .ad-wall {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    padding: 48px 20px 32px;
    overflow-y: auto;
    color: #fff;
    background: rgba(14, 12, 12, .98);
}
.ad-wall:focus {
    outline: none;
}
.ad-wall__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    margin: auto;
}
.ad-wall__kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ff8a00;
}
.ad-wall__title {
    margin: 0;
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.15;
}
.ad-wall__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #e8e8e8;
}
.ad-wall__steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 0;
    padding-inline-start: 20px;
    font-size: 14px;
    line-height: 1.45;
    color: #d0d0d0;
}
.ad-wall__status {
    min-height: 1.4em;
    margin: 0;
    font-size: 13px;
    color: #9c9c9c;
}
.ad-wall__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.ad-wall__primary,
.ad-wall__skip {
    box-sizing: border-box;
    min-height: 44px;
    padding: 12px 18px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}
.ad-wall__primary {
    color: #111;
    background: #fff;
    border: 1px solid #fff;
}
.ad-wall__skip {
    color: #fff;
    background: transparent;
    border: 1px solid #8a8a8a;
}
.ad-wall__skip:disabled {
    opacity: .55;
    cursor: progress;
}
.ad-wall__member {
    margin: 8px 0 0;
    font-size: 13px;
    color: #b4b4b4;
}
.ad-wall__member a {
    color: #fff;
}
.ad-wall button:focus-visible,
.ad-wall a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}