.pb-member-previews,
[data-pb-mp-section] {
    scroll-margin-top: 90px;
}

.pb-member-previews[hidden],
[data-pb-mp-section][hidden],
[data-pb-mp-section] [hidden] {
    display: none;
}

.pb-mp-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
}

.pb-section .pb-mp-heading h3 { margin: 0; }

.pb-mp-heading.pb-actions { margin-top: 0; }

.pb-mp-pill {
    padding: 5px 11px;
    border: 1px solid #d8dbdf;
    border-radius: 999px;
    background: #fff;
    color: #242a32;
    font: inherit;
    font-size: .86em;
    line-height: 1.25;
    cursor: pointer;
}

.pb-mp-pill:hover { background: #f4f5f5; }

.pb-mp-locked.pb-sample-btn,
.pb-mp-locked.pb-video-card {
    cursor: default;
    background: #f7f7f5;
}

.pb-mp-locked.pb-sample-btn:hover,
.pb-mp-locked.pb-video-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e5e5;
}

.pb-mp-locked .pb-mp-locked-face {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
    color: #494d54;
    background: #f7f7f5;
}

.pb-video-card .pb-mp-locked-face { aspect-ratio: 16 / 9; }
.pb-mp-locked-face p { margin: 0; font-size: .86em; line-height: 1.35; }

.pb-mp-locked-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    font-size: .86em;
}

.pb-mp-locked-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .14em;
}

.pb-mp-item .pb-sample-thumb img { object-fit: contain; }

button.pb-mp-video-play {
    padding: 0;
    border: 0;
    background: #23262b;
}

.pb-mp-dialog {
    box-sizing: border-box;
    width: min(500px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    padding: 20px;
    border: 1px solid #d8dbdf;
    border-radius: 14px;
    color: #242a32;
    background: #fff;
    font: inherit;
    font-size: 14px;
    overflow: auto;
}

.pb-mp-dialog::backdrop { background: rgb(21 24 29 / 50%); }

.pb-mp-dialog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pb-mp-dialog-heading h2 { margin: 0; font-size: 1.3em; }

.pb-mp-close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4f5f5;
    color: inherit;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}

.pb-mp-guidance,
.pb-mp-file-help {
    color: #4c525a;
    line-height: 1.45;
}

.pb-mp-dialog label {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
}

.pb-mp-dialog .pb-mp-check { display: block; }
.pb-mp-file-help { margin: -5px 0 10px; font-size: .9em; }

.pb-mp-dialog :is(input:not([type=checkbox]), select, textarea) {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    font: inherit;
}

.pb-mp-dialog-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.pb-mp-dialog .pb-mp-primary {
    border-color: #242a32;
    background: #242a32;
    color: #fff;
}

.pb-mp-dialog .pb-mp-primary:hover { background: #3b424c; }
.pb-mp-dialog details { margin-top: 12px; }
.pb-mp-dialog summary { cursor: pointer; }

.pb-mp-notice {
    margin: 16px 0 0;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f2f5f7;
}

