/* Teaser overlay. Unlock and feedback controls remain visual placeholders; downloads are server-authorized. */
html.teaser-open,
.teaser-open body { overflow: hidden; }

.teaser-card[role="button"] { cursor: pointer; }
.teaser-card[role="button"]:focus-visible { outline: 2px solid var(--color-text-light); outline-offset: 4px; }

.teaser-dialog {
    position: fixed;
    inset: auto;
    top: 50%;
    left: 50%;
    width: fit-content;
    height: min(680px, calc(100dvh - 64px), calc(133.3333vw - 512px));
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: translate(-50%, -50%);
}

.teaser-dialog::backdrop {
    background: color-mix(in srgb, var(--color-surface-dark) 62%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.teaser-dialog-shell {
    display: flex;
    width: fit-content;
    height: 100%;
    border: 1px solid color-mix(in srgb, var(--color-accent-purple) 54%, var(--color-text-light));
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-surface-dark) 95%, var(--color-accent-purple));
    box-shadow: 0 26px 74px rgba(0, 0, 0, .5), 0 0 0 1px rgba(244, 240, 236, .025) inset;
    overflow: hidden;
}

.teaser-dialog .teaser-dialog-close {
    top: -18px;
    right: -18px;
    z-index: 4;
    border: 1px solid color-mix(in srgb, var(--color-text-light) 24%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-surface-dark) 78%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .42);
}
.teaser-dialog .teaser-dialog-close:hover { background: color-mix(in srgb, var(--color-accent-purple) 64%, var(--color-surface-dark)); }

.teaser-dialog-media {
    position: relative;
    display: flex;
    flex: none;
    width: auto;
    height: 100%;
    aspect-ratio: auto;
    background: #0b0a0e;
    overflow: hidden;
}
.teaser-dialog-video,
.teaser-dialog-media > img { flex: none; width: auto; height: 100%; max-width: none; aspect-ratio: auto 9 / 16; object-fit: contain; }
.teaser-dialog-video { display: none; background: #000; }
.teaser-dialog-media > img { display: block; }
.teaser-dialog-media[data-state="playable"] .teaser-dialog-video { display: block; }
.teaser-dialog-media[data-state="playable"] > img { display: none; }
.teaser-dialog-media-shade,
.teaser-dialog-media-signet,
.teaser-dialog-media-duration { display: none; position: absolute; pointer-events: none; }
.teaser-dialog-media[data-state="locked"] .teaser-dialog-media-shade {
    display: block;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    transition: opacity 180ms ease;
}
.teaser-dialog-media[data-state="locked"] .teaser-dialog-media-signet {
    display: grid;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 92px;
    height: 72px;
    place-items: center;
    transform: translate(-50%, -50%);
    color: var(--color-text-light);
}
.teaser-dialog-media-sparkle {
    position: absolute;
    width: 72px;
    height: 72px;
    color: color-mix(in srgb, var(--color-text-light) 92%, transparent);
    opacity: .38;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .8));
}
.teaser-dialog-media-signet-label {
    position: relative;
    z-index: 1;
    color: var(--color-text-light);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .13em;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .95), 0 2px 4px rgba(0, 0, 0, .78);
}
.teaser-dialog-media[data-state="locked"] .teaser-dialog-media-duration {
    display: block;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    color: color-mix(in srgb, var(--color-text-light) 88%, transparent);
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .045em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
}

@media (hover: hover) and (pointer: fine) {
    .teaser-dialog-media[data-state="locked"]:hover .teaser-dialog-media-shade { opacity: 0; }
}

.teaser-dialog-panel {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    width: clamp(320px, 25vw, 380px);
    min-width: 320px;
    max-width: 380px;
    height: 100%;
    padding: 42px 34px 30px;
    background: linear-gradient(155deg, rgba(133, 115, 157, .11), transparent 46%);
    text-align: right;
    overflow: visible;
}

.teaser-dialog-info { display: flex; align-items: center; justify-content: flex-end; width: 100%; }
.teaser-dialog-info h2 { color: var(--color-text-light); font-size: clamp(23px, 2.5vw, 33px); line-height: 1.05; font-weight: 560; letter-spacing: -.045em; }
.teaser-dialog-meta { order: -1; display: flex; align-items: center; justify-content: flex-end; min-height: 26px; margin-right: 16px; color: color-mix(in srgb, var(--color-text-light) 68%, transparent); font-size: 13px; font-variant-numeric: tabular-nums; }
.teaser-dialog-meta > [aria-hidden="true"],
.teaser-dialog-meta > [data-teaser-duration] { display: none; }
.teaser-dialog-language,
.teaser-dialog-language > img { width: 28px; height: 28px; }
.teaser-dialog-language { flex: none; }
.teaser-dialog-language .language-speaker { top: -6px; left: -7px; width: 18px; height: 18px; }
.teaser-dialog-details { display: none; }
.teaser-dialog-mobile-meta { display: none; }

.teaser-dialog-actions { display: none; justify-content: flex-end; align-items: stretch; width: 100%; gap: 8px; margin-top: auto; }
.teaser-dialog[data-ui-state="playable"] .teaser-dialog-actions[data-action-state="playable"],
.teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-actions[data-action-state="locked-guest"],
.teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-actions[data-action-state="locked-user"] { display: flex; }
.teaser-dialog-actions form { display: flex; flex: 1; min-width: 0; }
.teaser-dialog-actions button { min-height: 50px; border-radius: 8px; cursor: pointer; }
.teaser-action-primary { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-width: 0; min-height: 50px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--color-accent-purple) 70%, var(--color-text-light)); border-radius: 8px; background: var(--color-accent-purple); color: var(--color-text-light); font-size: 13px; font-weight: 620; text-decoration: none; }
.teaser-action-primary:hover { background: color-mix(in srgb, var(--color-accent-purple) 84%, var(--color-text-light)); }
.teaser-guest-action { flex-direction: column; gap: 2px; line-height: 1.15; }
.teaser-guest-action small { color: color-mix(in srgb, var(--color-text-light) 72%, transparent); font-size: 11px; font-weight: 500; }
.teaser-action-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 8px; color: var(--color-text-light); font-size: 13px; text-decoration: underline; }
.teaser-action-secondary[hidden] { display: none; }
.teaser-unlock-button { flex-direction: column; gap: 2px; line-height: 1.15; }
.teaser-unlock-label { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 15px; }
.teaser-unlock-spark { width: 17px; height: 17px; flex: 0 0 auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .42)); }
.teaser-unlock-button small { color: color-mix(in srgb, var(--color-text-light) 72%, transparent); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.teaser-action-feedback { flex: 0 0 50px; display: inline-grid; place-items: center; padding: 0; border: 1px solid color-mix(in srgb, var(--color-text-light) 18%, transparent); background: color-mix(in srgb, var(--color-text-light) 5%, transparent); color: color-mix(in srgb, var(--color-text-light) 80%, transparent); }
.teaser-action-feedback[hidden] { display: none; }
.teaser-action-feedback:hover { border-color: color-mix(in srgb, var(--color-accent-purple) 70%, var(--color-text-light)); color: var(--color-text-light); }
.teaser-action-feedback[aria-pressed="true"] { border-color: color-mix(in srgb, var(--color-accent-purple) 82%, var(--color-text-light)); background: color-mix(in srgb, var(--color-accent-purple) 34%, transparent); color: var(--color-text-light); }
.teaser-action-feedback:disabled { cursor: wait; opacity: .62; }
.teaser-dialog-actions button:focus-visible,
.teaser-dialog-actions a:focus-visible { outline: 2px solid var(--color-text-light); outline-offset: 3px; }
.teaser-download-status { width: 100%; margin: 10px 0 0; color: color-mix(in srgb, var(--color-text-light) 82%, transparent); font-size: 12px; line-height: 1.45; text-align: right; }
.teaser-download-status[hidden] { display: none; }
.teaser-vote-status { width: 100%; margin: 8px 0 0; color: color-mix(in srgb, var(--color-text-light) 82%, transparent); font-size: 12px; line-height: 1.4; text-align: right; }
.teaser-vote-status[hidden] { display: none; }
.teaser-download-notice { width: 100%; margin-top: auto; padding: 18px; border: 1px solid color-mix(in srgb, var(--color-accent-purple) 42%, transparent); border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--color-surface-dark) 78%, transparent), color-mix(in srgb, var(--color-accent-purple) 16%, transparent)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0, 0, 0, .2); text-align: left; }
.teaser-download-notice[hidden],
.teaser-download-notice-actions[hidden] { display: none; }
.teaser-download-notice strong { display: block; color: var(--color-text-light); font-size: 17px; font-weight: 600; line-height: 1.25; }
.teaser-download-notice p { margin-top: 7px; color: color-mix(in srgb, var(--color-text-light) 72%, transparent); font-size: 12px; line-height: 1.5; }
.teaser-download-notice p[hidden] { display: none; }
.teaser-download-notice-actions { display: flex; gap: 8px; margin-top: 15px; }
.teaser-download-notice-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--color-text-light) 16%, transparent); border-radius: 8px; color: var(--color-text-light); font-size: 12px; font-weight: 600; }
.teaser-download-notice-actions a:first-child { background: var(--color-accent-purple); }
.teaser-download-notice-actions .teaser-download-register { flex-direction: column; gap: 2px; padding-block: 6px; line-height: 1.15; text-align: center; }
.teaser-download-register small { color: color-mix(in srgb, var(--color-text-light) 72%, transparent); font-size: 10px; font-weight: 500; }
.teaser-download-notice-actions a:hover { background: color-mix(in srgb, var(--color-accent-purple) 62%, transparent); }
.teaser-download-notice-actions a:focus-visible { outline: 2px solid var(--color-text-light); outline-offset: 3px; }
.teaser-dialog.has-download-notice .teaser-dialog-actions[data-action-state="playable"] { display: none; }

.unlock-confirm-dialog {
    position: fixed;
    inset: 0;
    width: min(410px, calc(100vw - 32px));
    height: fit-content;
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--color-text-light);
    overflow: visible;
    opacity: 0;
    transition: opacity 180ms ease;
}
.unlock-confirm-dialog.is-visible { opacity: 1; }
.unlock-confirm-dialog::backdrop {
    background: color-mix(in srgb, var(--color-surface-dark) 66%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.unlock-confirm-surface {
    padding: 30px;
    border: 1px solid color-mix(in srgb, var(--color-accent-purple) 52%, var(--color-text-light));
    border-radius: 12px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--color-surface-dark) 92%, var(--color-accent-purple)), color-mix(in srgb, var(--color-surface-dark) 96%, transparent));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 68px rgba(0, 0, 0, .52), 0 0 0 1px rgba(244, 240, 236, .025) inset;
}
.unlock-confirm-dialog .unlock-confirm-close {
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--color-text-light) 22%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-surface-dark) 86%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.unlock-confirm-dialog .unlock-confirm-close:hover { background: color-mix(in srgb, var(--color-accent-purple) 52%, var(--color-surface-dark)); }
.unlock-confirm-surface h2 { color: var(--color-text-light); font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.unlock-confirm-copy { margin-top: 14px; color: color-mix(in srgb, var(--color-text-light) 72%, transparent); font-size: 13px; line-height: 1.55; }
.unlock-confirm-copy p + p { margin-top: 2px; }
.unlock-confirm-copy strong { color: var(--color-text-light); font-weight: 600; font-variant-numeric: tabular-nums; }
.unlock-confirm-copy[hidden],
.unlock-confirm-primary[hidden] { display: none; }
.unlock-confirm-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; margin-top: 24px; }
.unlock-confirm-dialog[data-state="insufficient"] .unlock-confirm-actions { grid-template-columns: 1fr; }
.unlock-confirm-actions button { min-height: 48px; padding: 0 16px; border-radius: 8px; color: var(--color-text-light); font: inherit; font-size: 14px; font-weight: 620; cursor: pointer; }
.unlock-confirm-cancel { border: 1px solid color-mix(in srgb, var(--color-text-light) 18%, transparent); background: color-mix(in srgb, var(--color-text-light) 5%, transparent); }
.unlock-confirm-cancel:hover { border-color: color-mix(in srgb, var(--color-text-light) 34%, transparent); background: color-mix(in srgb, var(--color-text-light) 9%, transparent); }
.unlock-confirm-primary { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid color-mix(in srgb, var(--color-accent-purple) 70%, var(--color-text-light)); background: var(--color-accent-purple); }
.unlock-confirm-primary:hover { background: color-mix(in srgb, var(--color-accent-purple) 84%, var(--color-text-light)); }
.unlock-confirm-actions button:focus-visible,
.unlock-confirm-close:focus-visible { outline: 2px solid var(--color-text-light); outline-offset: 3px; }

/* The media-first overlay structure is shared by desktop, tablet and mobile. */
    .teaser-dialog {
        width: fit-content;
        height: fit-content;
        max-width: none;
        aspect-ratio: auto;
    }
    .teaser-dialog-shell { position: relative; display: block; width: fit-content; height: fit-content; border-radius: 10px; }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-shell {
        padding-bottom: 80px;
    }
    .teaser-dialog[data-ui-state="playable"].has-download-notice .teaser-dialog-shell { padding-bottom: 140px; }
    .teaser-dialog[data-ui-state="playable"].has-download-notice.has-download-message .teaser-dialog-shell { padding-bottom: 178px; }
    .teaser-dialog .teaser-dialog-close { top: -10px; right: -8px; }
    .teaser-dialog-media { position: relative; width: fit-content; height: fit-content; aspect-ratio: auto; }
    .teaser-dialog-video,
    .teaser-dialog-media > img {
        width: auto;
        height: auto;
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 32px);
        aspect-ratio: auto 9 / 16;
    }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-video {
        max-height: calc(100dvh - 112px);
    }
    .teaser-dialog[data-ui-state="playable"].has-download-notice .teaser-dialog-video { max-height: calc(100dvh - 172px); }
    .teaser-dialog[data-ui-state="playable"].has-download-notice.has-download-message .teaser-dialog-video { max-height: calc(100dvh - 210px); }
    .teaser-dialog-media-duration { display: none !important; }
    .teaser-dialog-panel {
        position: absolute;
        z-index: 2;
        inset: 0;
        display: flex;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 100%;
        padding: 24px 20px 14px;
        text-align: left;
        pointer-events: none;
    }
    .teaser-dialog-panel::before,
    .teaser-dialog-panel::after {
        position: absolute;
        z-index: 0;
        inset: 0;
        content: "";
        opacity: 1;
        pointer-events: none;
        transition: opacity 240ms ease;
    }
    .teaser-dialog-panel::before {
        background: linear-gradient(180deg, rgba(9, 8, 12, .7) 0%, rgba(9, 8, 12, .08) 28%, transparent 52%);
    }
    .teaser-dialog-panel::after {
        background: linear-gradient(180deg, transparent 52%, rgba(9, 8, 12, .16) 66%, rgba(9, 8, 12, .88) 100%);
    }
    .teaser-dialog-info,
    .teaser-dialog-details,
    .teaser-dialog-actions,
    .teaser-vote-status { position: relative; z-index: 1; }
    .teaser-dialog-info { opacity: 1; transition: opacity 240ms ease; }
    .teaser-dialog[data-ui-state="playable"].is-playing .teaser-dialog-info,
    .teaser-dialog[data-ui-state="playable"].is-playing .teaser-dialog-panel::before,
    .teaser-dialog[data-ui-state="playable"].is-playing .teaser-dialog-panel::after { opacity: 0; }
    .teaser-dialog-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; width: 100%; }
    .teaser-dialog-info h2 { font-size: clamp(28px, 8vw, 36px); text-shadow: 0 2px 12px rgba(0, 0, 0, .72); }
    .teaser-dialog-meta { order: 0; justify-content: flex-end; min-height: 22px; margin-right: 0; color: color-mix(in srgb, var(--color-text-light) 82%, transparent); text-shadow: 0 1px 5px rgba(0, 0, 0, .9); }
    .teaser-dialog-language,
    .teaser-dialog-language > img { width: 24px; height: 24px; }
    .teaser-dialog-language .language-speaker { top: -6px; left: -7px; width: 17px; height: 17px; }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-info h2 {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(23px, 2.5vw, 33px);
    }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-info {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-meta {
        display: contents;
    }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-language,
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-language > img {
        width: 28px;
        height: 28px;
    }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-language .language-speaker {
        top: -6px;
        left: -7px;
        width: 18px;
        height: 18px;
    }
    .teaser-dialog-meta > [aria-hidden="true"],
    .teaser-dialog-meta > [data-teaser-duration] { display: none; }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-info,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-info {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding-right: 30px;
    }

    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-actions,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-actions {
        margin-top: auto;
    }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-info h2,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-info h2 {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(23px, 2.5vw, 33px);
    }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-meta,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-meta { display: contents; }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-language,
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-language > img,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-language,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-language > img {
        width: 28px;
        height: 28px;
    }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-language .language-speaker,
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-language .language-speaker {
        top: -6px;
        left: -7px;
        width: 18px;
        height: 18px;
    }
    .teaser-dialog[data-ui-state="locked-guest"] .teaser-dialog-meta > [data-teaser-duration],
    .teaser-dialog[data-ui-state="locked-user"] .teaser-dialog-meta > [data-teaser-duration] {
        display: block;
        flex: none;
        margin-left: auto;
        color: color-mix(in srgb, var(--color-text-light) 82%, transparent);
        font-size: 15px;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        text-shadow: 0 1px 5px rgba(0, 0, 0, .9);
    }
    .teaser-dialog-details { align-items: flex-start; width: 100%; margin-top: auto; margin-bottom: 10px; }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-details { display: none; }
    .teaser-dialog-mobile-meta { display: flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--color-text-light) 78%, transparent); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.3; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
    .teaser-dialog-actions { flex: none; margin-top: 0; pointer-events: auto; }
    .teaser-dialog[data-ui-state="playable"] .teaser-dialog-actions { margin-top: auto; }
    .teaser-download-status { position: relative; z-index: 1; margin-top: 8px; text-align: left; pointer-events: auto; }
    .teaser-vote-status { text-align: left; pointer-events: auto; }
    .teaser-download-notice { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 100%; margin-top: auto; padding: 15px; text-align: center; pointer-events: auto; }
    .teaser-download-notice strong { font-size: 16px; }
    .teaser-download-notice-actions { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
    .teaser-download-notice-actions a { min-width: 0; padding-inline: 6px; white-space: nowrap; }
    .teaser-dialog-actions button { min-height: 52px; }
    .teaser-action-feedback { flex-basis: 52px; }
@media (orientation: landscape) and (max-height: 520px) {
    .teaser-dialog[data-ui-state="playable"].has-download-notice .teaser-dialog-shell { padding-bottom: 126px; }
    .teaser-dialog[data-ui-state="playable"].has-download-notice .teaser-dialog-video { max-height: calc(100dvh - 158px); }
    .teaser-dialog[data-ui-state="playable"].has-download-notice.has-download-message .teaser-dialog-shell { padding-bottom: 164px; }
    .teaser-dialog[data-ui-state="playable"].has-download-notice.has-download-message .teaser-dialog-video { max-height: calc(100dvh - 196px); }
    .teaser-dialog-panel { padding: 20px 12px 10px; }
    .teaser-download-notice { padding: 12px; }
    .teaser-download-notice strong { font-size: 15px; }
    .teaser-download-notice-actions { gap: 6px; margin-top: 12px; }
    .teaser-download-notice-actions a { min-height: 40px; padding-inline: 4px; font-size: 11px; }
}
@media (max-width: 520px) {
    .unlock-confirm-dialog { width: calc(100vw - 48px); max-height: calc(100dvh - 32px); }
    .unlock-confirm-surface { padding: 27px 20px 20px; text-align: center; }
    .unlock-confirm-dialog .unlock-confirm-close { top: -8px; right: -8px; }
    .unlock-confirm-actions { grid-template-columns: 1fr 1.35fr; gap: 8px; }
    .unlock-confirm-actions button { padding-inline: 12px; }
    .teaser-dialog-panel { padding: 22px 18px 14px; }
    .teaser-dialog-language,
    .teaser-dialog-language > img { width: 20px; height: 20px; }
    .teaser-dialog-language .language-speaker { top: -5px; left: -6px; width: 15px; height: 15px; padding: 1px; }
}
