.wpw-scroll-sequence {
    position: relative;
    height: var(--wpw-seq-duration, 300vh);
    background: var(--wpw-seq-bg, #000000);
    overflow: clip;
    touch-action: pan-y;
}

.wpw-scroll-sequence__sticky {
    position: sticky;
    top: var(--wpw-seq-sticky-offset, 0px);
    height: min(var(--wpw-seq-sticky-height, 100vh), calc(100vh - var(--wpw-seq-sticky-offset, 0px)));
    min-height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wpw-seq-bg, #000000);
    user-select: none;
}

.wpw-scroll-sequence__canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.wpw-scroll-sequence__status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
    text-align: center;
}

.wpw-scroll-sequence.is-ready .wpw-scroll-sequence__status {
    opacity: 0;
    pointer-events: none;
}

.wpw-scroll-sequence.is-error .wpw-scroll-sequence__status {
    opacity: 1;
    color: #ffffff;
    background: rgba(120, 0, 0, 0.7);
}

.wpw-scroll-sequence-placeholder {
    padding: 28px;
    border: 2px dashed #c9c9c9;
    background: #f7f7f7;
    color: #6b6b6b;
    text-align: center;
}

.wpw-scroll-sequence-placeholder.is-error {
    border-color: #d84c4c;
    background: #fff1f1;
    color: #a82121;
}

@media (max-width: 767px) {
    .wpw-scroll-sequence__sticky {
        min-height: 240px;
    }
}
