.px-v7-intro-dialog {
    position: fixed;
    inset: 0;
    width: min(864px, calc(100vw - 36px));
    max-width: none;
    max-height: calc(100dvh - 36px);
    box-sizing: border-box;
    margin: auto;
    padding: 16px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #0e1b2a;
    box-shadow: 0 24px 100px #0005;
    font: 500 16px/1.45 Prompt, Tahoma, system-ui, sans-serif;
    overflow: auto;
    overscroll-behavior: contain;
}
.px-v7-intro-dialog::backdrop { background: #051018b3; }
.px-v7-intro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.px-v7-intro-header h2 { margin: 0; font-size: clamp(17px, 3.5vw, 25px); font-weight: 700; }
.px-v7-intro-close {
    flex: 0 0 44px;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    color: #0e1b2a;
    background: #f0f5f6;
    font: 500 27px/1 system-ui, sans-serif;
    cursor: pointer;
}
.px-v7-intro-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100dvh - 142px);
    border-radius: 12px;
    object-fit: contain;
    background: #07131b;
}
.px-v7-intro-next {
    display: block;
    margin: 14px auto 0;
    padding: 10px 18px;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: #087b82;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.px-v7-intro-next[hidden] { display: none; }
.px-v7-intro-dialog:has(.px-v7-intro-next:not([hidden])) .px-v7-intro-video {
    max-height: calc(100dvh - 198px);
}
.px-v7-intro-dialog button:focus-visible { outline: 2px solid #128389; outline-offset: 3px; }

@media (max-width: 480px) {
    .px-v7-intro-dialog { width: calc(100vw - 20px); padding: 12px; border-radius: 16px; }
    .px-v7-intro-video { border-radius: 9px; }
}
