html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: black;
}

#player,
#fallbackIframe {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
}

.player-poster[data-poster] {
		background-size: contain;
}

.hidden {
    display: none !important;
}

/* Loader Styles (copy dari JW) */
.loader-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fdff00;
    z-index: 10002;
}

.loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    left: -100px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
}

@keyframes shadowRolling {
    0% {
        box-shadow: 0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0);
    }
    12% {
        box-shadow: 100px 0 white,
            0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0);
    }
    25% {
        box-shadow: 110px 0 white,
            100px 0 white,
            0 0 rgba(255, 255, 255, 0),
            0 0 rgba(255, 255, 255, 0);
    }
    36% {
        box-shadow: 120px 0 white,
            110px 0 white,
            100px 0 white,
            0 0 rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 130px 0 white,
            120px 0 white,
            110px 0 white,
            100px 0 white;
    }
    62% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0),
            130px 0 white,
            120px 0 white,
            110px 0 white;
    }
    75% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0),
            130px 0 white,
            120px 0 white;
    }
    87% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0),
            130px 0 white;
    }
    100% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0),
            200px 0 rgba(255, 255, 255, 0);
    }
}

/* Toast & Buttons */
.copy-toast {
    position: fixed;
    top: 56px;
    left: 10px;
    z-index: 10003;
    background: rgba(20, 20, 20, .95);
    color: #eee;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    display: none;
    font-family: 'Roboto', sans-serif;
}

.page-share-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10004;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, .55);
    color: #fdff00;
    cursor: pointer;
}

.page-share-btn:hover {
    color: #e6e800;
}

.page-share-btn i {
    font-size: 18px;
}

.player-unmute {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 9999;
    display: none;
    padding: 10px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .6);
    color: #fdff00;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.player-unmute svg {
    display: inline-block;
    vertical-align: middle;
}

.player-unmute:hover {
    background: rgba(0, 0, 0, 0.9);
}
