/* =====================================================
   overlay.css - Chat overlay hub layer. Loads after design-system.css
   and site.css. The hub is the app's login-style stage: one Frame over
   the pixel-static video and its dim.
   ===================================================== */

.wch-overlay-stage {
    flex: 1;
    min-height: 0;
    justify-content: center;
    padding: 56px 24px 96px;
    isolation: isolate;
    overflow: hidden;
}

/* Still texture under the video: shows while it loads and under reduced motion. */
.wch-stage-grain {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: url(/assets/grain.svg);
    background-size: 160px;
}

@media (prefers-reduced-motion: reduce) {
    .wch-stage-video { display: none; }
}

.wc-frame-body.wch-overlay-body { gap: 26px; }

.wch-overlay-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
