.yp-mobile-player-fullscreen,
.yp-native-player-fullscreen {
    background: #000 !important;
}

html.yp-mobile-player-fullscreen,
body.yp-mobile-player-fullscreen {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.yp-mobile-css-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    background: #000 !important;
}

@media (orientation: portrait) and (max-width: 767px) {
    .yp-mobile-player-fullscreen .yp-mobile-css-fullscreen.yp-mobile-css-fullscreen {
        inset: auto !important;
        top: 50dvh !important;
        left: 50vw !important;
        right: auto !important;
        bottom: auto !important;
        width: 100dvh !important;
        height: 100vw !important;
        transform: translate(-50%, -50%) rotate(90deg) !important;
        transform-origin: center center !important;
    }
}

.yp-mobile-css-fullscreen video,
.yp-mobile-css-fullscreen .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.yp-mobile-css-fullscreen .vjs-control-bar {
    padding-bottom: env(safe-area-inset-bottom);
}

.yp-mobile-css-fullscreen .plyr__video-wrapper,
.yp-mobile-css-fullscreen .mejs__mediaelement,
.yp-mobile-css-fullscreen .fluid_video_wrapper {
    width: 100% !important;
    height: 100% !important;
}

.yp-fullscreen-like-control {
    position: static;
    z-index: 20;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0 4px;
    opacity: 1;
    pointer-events: auto;
}

.yp-fullscreen-like-fallback {
    position: absolute;
    bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    left: calc(12px + env(safe-area-inset-left, 0px));
}

.yp-fullscreen-like-control .like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    min-height: 36px;
    padding: 0 6px;
    border: 0;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.yp-fullscreen-like-control .like-btn svg {
    width: 22px;
    height: 22px;
}

.yp-fullscreen-like-control .like-btn:hover,
.yp-fullscreen-like-control .like-btn:focus-visible {
    background: rgba(0, 0, 0, 0.9);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.yp-seek-feedback {
    position: absolute;
    top: 50%;
    z-index: 31;
    padding: 10px 14px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.12s ease;
}

.yp-seek-feedback-left {
    left: 25%;
}

.yp-seek-feedback-right {
    left: 75%;
}

.yp-seek-feedback-visible {
    opacity: 1;
}

.default-video-navigation {
    position: absolute;
    inset: 50% 0 auto;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    transform: translateY(-50%);
}

.default-video-navigation button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: auto;
    transition: opacity 0.18s ease, background 0.18s ease;
}

.video-player:hover .default-video-navigation button,
.default-video-navigation:focus-within button,
.default-video-navigation.default-video-nav-active button {
    opacity: 1;
}

.default-video-navigation button:disabled {
    visibility: hidden;
}

.default-video-navigation button:hover,
.default-video-navigation button:focus-visible {
    background: rgba(0, 0, 0, 0.88);
    outline: 2px solid #fff;
}

.default-video-navigation svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.video-player.pt_video_player {
    position: relative;
}

@media (max-width: 767px) {
    .default-video-navigation {
        padding: 0 8px;
    }

    .default-video-navigation button {
        width: 44px;
        height: 44px;
    }
}
