.region-video-player {
    width: 100%;
    color: #fff4e8;
}
.region-video-player [hidden] { display: none !important; }
.region-video-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 10px;
}
.region-video-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 170, 110, .22);
    border-radius: 12px;
    background: rgba(255, 140, 60, .06);
    color: #dfc5af;
    font: inherit;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.region-video-expand:hover { background: rgba(255, 140, 60, .12); color: #fff4e8; }
.region-video-expand:focus-visible,
.region-video-player video:focus-visible { outline: 2px solid #ffb464; outline-offset: 3px; }
.region-video-expand svg { width: 17px; height: 17px; flex: 0 0 17px; }
.region-video-icon-collapse { display: none; }
.region-video-frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto 9 / 16;
    max-height: none;
    border: 1px solid rgba(255, 170, 110, .15);
    border-radius: 14px;
    background: #100e22;
    touch-action: auto;
    box-sizing: border-box;
}
.region-video-frame video[controlslist~="nofullscreen"]::-webkit-media-controls-fullscreen-button { display: none; }
.region-video-player--expanded {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
    background: radial-gradient(ellipse at top, #26151d, #110c1c 60%, #090610);
    overscroll-behavior: contain;
}
.region-video-player--expanded .region-video-toolbar { flex: 0 0 auto; }
.region-video-player--expanded .region-video-frame {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.region-video-player--expanded .region-video-frame video {
    width: var(--region-video-width, 100%);
    height: auto;
    flex: 0 0 auto;
    border-radius: 10px;
}
.region-video-player--expanded .region-video-icon-expand { display: none; }
.region-video-player--expanded .region-video-icon-collapse { display: block; }
.region-video-player:fullscreen { width: 100%; height: 100%; }
