@font-face {
    font-family: "Open Sans";
    src: url('../fonts/OpenSans-Regular.ttf');
}

body {
    margin: 0;
    font-size: 14px;
    font-family: 'Open Sans', serif;
}

#player-container {
    display: none;
}

/* Custom video player: 16:9 aspect ratio */
.custom-player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%;
    height: 0;
    background: #000;
    overflow: hidden;
}

.custom-player-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Poster overlay: stays on top of video until user presses play */
.custom-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* Fullscreen on ultrawide (21:9) screens: the padding-top 16:9 trick
   produces a container taller than the viewport, pushing controls off-screen.
   Reset to a plain block that fills the viewport so controls anchor correctly. */
.custom-player-container:fullscreen,
.custom-player-container:-webkit-full-screen {
    padding-top: 0;
    height: 100%;
}
.custom-player-container:fullscreen .custom-player-video,
.custom-player-container:-webkit-full-screen .custom-player-video {
    position: unset;
}

.custom-player-container.custom-player-started .custom-poster-overlay {
    display: none;
}

.custom-player-controls {
    /*height: 74px;*/
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: transparent;
    opacity: 0;
    transform: translateY(100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    overflow: visible;
    transition: transform 0.5s ease, opacity 1s ease;
}

.custom-player-container.custom-player-started.custom-controls-visible .custom-player-controls {
    opacity: 1;
    transform: translateY(0);
}

.custom-controls-row {
    display: flex;
    align-items: center;
    gap: 1vw;
    flex-wrap: nowrap;
    min-height: 4vh;
    /*margin-bottom: 6px;*/
}

.custom-controls-row-mobile{
    display: none;
}

.custom-progress-wrap {
    /*flex: 1;*/
    height: 16px;
    min-width: 0;
    display: flex;
    align-items: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 7px;
    padding: 0 8px;
}

.custom-progress-wrap.custom-progress-hidden {
    display: none;
}

/* Right-aligned control group: LIVE, volume, audio, quality, PiP, fullscreen */
.custom-controls-right {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-left: auto;
    flex-shrink: 0;
}

.custom-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    font-size: 2vw;
    line-height: 1;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-btn-grey {
    height: 40px;
    min-width: 40px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
}

.custom-btn-grey:hover {
    background-color: rgba(80,80,80,0.6);
}

.custom-btn-grey.custom-quality-btn{
    gap: 4px;
}

#custom-quality-btn-mobile {
    font-weight: 500;
}

.custom-btn-icon {
    padding: 0.5vh 0.5vw;
    color: #fff;
    opacity: 0.95;
}

.custom-btn-icon:hover {
    opacity: 1;
}

/* VideoJS icon font inside buttons */
.custom-btn-icon span {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1;
    width: 1em;
    height: 1em;
    text-align: center;
}

.custom-btn-icon span::before {
    display: inline-block;
    width: 100%;
}

.custom-live-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.6);
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 8px;
    border-color: transparent;
    border-radius: 10px;
    pointer-events: none;
}

.custom-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e00;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-live-dot.custom-live-dot-timeshift {
    background: #888;
}

.custom-live-badge.custom-live-hidden {
    display: none;
}

.custom-live-badge.custom-live-clickable {
    cursor: pointer;
    pointer-events: auto;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.custom-live-badge.custom-live-clickable:hover {
    background-color: rgba(80,80,80,0.6);
}
.custom-progress {
    flex: 1;
    height: 4px;
    transform: scaleY(1);
    transform-origin: center;
    transition: transform 0.2s ease;
    min-width: 54px;
    -webkit-appearance: none;
    appearance: none;

    background: linear-gradient(to right,
        #fff 0%,
        #fff var(--progress-pct, 0%),

        /* hover зона */
        rgba(255,255,255,0.7) var(--progress-pct, 0%),
        rgba(255,255,255,0.7) var(--hover-pct, var(--progress-pct, 0%)),

        /* buffered */
        rgba(255,255,255,0.625) var(--hover-pct, var(--progress-pct, 0%)),
        rgba(255,255,255,0.625) var(--buffered-pct, 0%),

        /* remaining */
        rgba(255,255,255,0.25) var(--buffered-pct, 0%),
        rgba(255,255,255,0.25) 100%
    );

    border-radius: 3px;
    cursor: pointer;
}

.custom-progress-wrap:hover .custom-progress {
    transform: scaleY(2);
}

.custom-progress::-webkit-slider-runnable-track {
    background: transparent;
}

.custom-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.custom-progress-wrap:hover .custom-progress::-webkit-slider-thumb {
    transform: scaleX(2);
}

.custom-progress::-moz-range-track {
    background: transparent;
}

.custom-progress::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.custom-progress-wrap:hover .custom-progress::-moz-range-thumb {
    transform: scaleX(2);
}

.custom-time-tooltip {
    position: absolute;
    bottom: 100%;
    margin-bottom: 4px;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.live-wrapper {
    display: inline-flex;
    gap: 2px;
}

.custom-time-total {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    text-align: center;
    padding: 0 8px;
    cursor: pointer;
    background-color: rgba(0,0,0, 0.6);
    border-radius: 0 10px 10px 0;
}

.custom-time-total.vod-time-total {
    border-radius: 10px;
}

.custom-time-total:hover {
    background-color: rgba(80,80,80,0.6);
}

.custom-time-total-hidden {
    display: none;
}

.custom-volume-wrap {
    min-width: 40px;
    width: 40px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: width 0.35s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-volume-wrap:hover{
    gap: 6px;
    width: 110px;
}

.custom-volume {
    position: absolute;
    left: 36%;
    top: 47%;
    transform: translateY(-50%) scaleX(0);

    height: 0px;
    width: 0px;

    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #fff 0%, #fff var(--volume-pct, 0%), rgba(255, 255, 255, 0.25) var(--volume-pct, 0%), rgba(255, 255, 255, 0.25) 100%);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0;

    pointer-events: none;
    transition: width 0.6s ease, opacity 0.6s ease;
}

.custom-volume-wrap:hover .custom-volume {
    height: 4px;
    width: 56px;
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
    pointer-events: auto;
}

.custom-volume::-webkit-slider-runnable-track {
    background: transparent;
}

.custom-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.custom-volume::-moz-range-track {
    background: transparent;
}

.custom-volume::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

/* Audio track popover (above icon) */
.custom-audio-wrap {
    position: relative;
    display: inline-block;
}

.custom-audio-wrap.custom-audio-hidden {
    display: none;
}

.custom-setting-popover{
    display: none;
}

.custom-audio-popover {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 24px;
    width: 130px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 0;
    z-index: 10;
    display: none;
    overflow: hidden;
}

.custom-audio-popover[aria-hidden="false"] {
    display: block;
}

.custom-audio-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #282a2e;
}

.custom-audio-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 186px;
    overflow-y: auto;
}

.custom-audio-list::-webkit-scrollbar {
    width: 5px;
}

.custom-audio-list::-webkit-scrollbar-track {
    background: transparent;
}

.custom-audio-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.custom-audio-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

.custom-audio-item {
    display: block;
    width: 100%;
    padding: 8px 11px;
    border: none;
    background: transparent;
    color: #fff;
    height: 32px;
    font-size: 0.7rem;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Open Sans', serif;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-audio-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.custom-audio-item.custom-audio-item-active {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
}

/* Subtitles (same popover pattern as audio) */
.custom-subtitle-wrap {
    position: relative;
    display: inline-block;
}

.custom-subtitle-wrap.custom-subtitle-hidden {
    display: none;
}

/* Quality as text + popover (same pattern as audio) */
.custom-quality-wrap {
    position: relative;
    display: inline-block;
}

.custom-quality-wrap.custom-quality-hidden {
    display: none;
}

.custom-quality-btn {
    padding: 2px 12px;
    font-size: 0.7rem;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    font-family: 'Open Sans', serif;
    font-weight: 600;
}

.custom-quality-btn:hover {
    opacity: 1;
}

.material-icons-round.auto-icon-hidden {
    display: none;
}

.custom-select-wrap {
    min-width: 0;
}

.custom-select-with-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-select-icon {
    display: inline-block;
    font-size: 1.08em;
    line-height: 1;
    width: 1em;
    height: 1em;
    color: #fff;
}

.custom-select-icon::before {
    display: inline-block;
    width: 100%;
}

.custom-select {
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 2px 4px;
    font-size: 0.76rem;
    cursor: pointer;
    max-width: 130px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.custom-select-minimal {
    font-weight: 500;
}

.custom-select-no-arrow {
    background-image: none;
    padding-right: 5px;
}

.custom-select option {
    background: #333;
    color: #fff;
}

.custom-btn-icon .material-icons-round {
    font-size: 24px ;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-big-play-pause {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255,255,255, 0.7);
    font-size: 4rem;
    cursor: pointer;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.custom-big-play-pause:hover {
    opacity: 1;
}

.custom-big-play-pause span {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
}

.custom-big-play-pause span::before {
    display: inline-block;
    width: 100%;
}

.custom-big-play-pause.custom-big-play-pause-hidden {
    opacity: 0;
    pointer-events: none;
}

.setting-btn{
    display: none;
}

#registration {
    /*background: #1f73ba;*/
    background: #612867;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: none;
}

.background {
    position: absolute;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.img-button {
    width: 94px;
    height: 70px;
    margin: 5px;
    cursor: pointer;
}

.link-default {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 20px;
    display: none;
}

.buttons-block {
    display: flex;
    justify-content: center;
}

.button-element {
    width: 188px;
    height: 28px;
    color: white;
    background-color: #142242;
    border-radius: 6px;
    text-align: center;
    border: none;
}

.form-input {
    width: 225px;
    height: auto;
    border-radius: 10px;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.input-element {
    width: 184px;
    height: 24px;
    margin-bottom: 10px;
    padding: 0;
    border-radius: 5px;
    border-style: solid;
    border-color: grey;
}

.form-block {
    width: min-content;
}

.low-link-group {
    width: 188px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.link-policy {
    font-size: 12px;
    color: #101d3c;
    margin: 10px 0 0;
    text-align: center;
}

.low-link {
    font-size: 12px;
    font-weight: 600;
    color: #101d3c;
    text-decoration: underline;
    cursor: pointer;
}

.form-input-reg {
    width: 225px;
    height: auto;
    border-radius: 10px;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: none;
}

.full-logo {
    /*background: #1f73ba no-repeat;*/
    background: #612867 center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: none;
}

#event-timer {
    display: none;
}

.timer-block {
    position: absolute;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 12px;
    border-radius: 10px;
}

.timer {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,.65);
    left: 12px;
    top: 12px;
    max-width: 40%;
    color: rgba(255,255,255, 0.7);
}

.timer #timer{
    color: rgba(255,255,255, 1);
}

.timer-countdown {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,.65);
    right: 12px;
    top: 12px;
    max-width: 40%;
    color: rgba(255,255,255, 0.7);
}

.timer-countdown #timer-countdown{
    color: rgba(255,255,255, 1);
}

#timer-countdown {
    display: inline-flex;
    gap: 10px;
}

.title {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,.65);
    max-width: calc(100% - 48px);
    width: fit-content;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0 auto;
}

#title {
    width: auto;
    max-width: 100%;
}

.error-text {
    display: none;
    position: absolute;
    color: red;
    margin-top: 30px;
}


#preroll-skip-button, #title-box, #remaining-time {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    max-width: 50%;
    background-color: rgba(0,0,0,.6);
    color: #fff;
    font-size: 16px;
    line-height: 16px;
    padding: 12px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.65);
    vertical-align: center;
    min-height: 40px;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    border-radius: 10px;
}

#title-box {
    right: auto;
    left: 12px;
    font-style: normal;
}

#title-box a, #title-box a:visited, #title-box a:hover, #title-box a:active {
    color: #fff;
    text-decoration: none;
}

#title-box.enabled:hover {
    background: #333;
}

#preroll-skip-button {
    right: 12px;
}

#preroll-skip-button.enabled {
    cursor: pointer;
    color: #fff;
}

#preroll-skip-button.enabled:hover {
    cursor: pointer;
    background: #333;
}

@media screen and (min-width: 1300px){
    .custom-volume-wrap {
        min-width: 40px;
        width: 40px;
    }
}
@media screen and (max-width: 900px){
    .custom-player-video {
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .custom-progress-wrap {
        height: 20px;
    }

    .custom-progress {
        height: 8px;
    }

    .custom-progress-wrap:hover .custom-progress {
        transform: scaleY(1);
    }

    .custom-progress::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
        transform: scale(1);
    }

    .custom-progress-wrap:hover .custom-progress::-webkit-slider-thumb {
        transform: scaleX(1);
    }

    .custom-progress::-moz-range-thumb {
        width: 18px;
        height: 18px;
        transform: scale(1);
    }

    .custom-progress-wrap:hover .custom-progress::-moz-range-thumb {
        transform: scaleX(1);
    }

    .img-button {
        min-width: 44px;
    }

    .buttons-block {
        width: 100%;
    }

    .input-element {
        height: 20px;
        margin-bottom: 4px;
        padding: 0;
        border-radius: 5px;
    }

    .button-element {
        height: 24px;
    }

}

@media screen and (min-width: 2049px) {
    body {
        font-size: 40px;
    }

    .img-button {
        min-width: 200px;
        height: auto;
    }

    .buttons-block {
        width: 100%;
    }

    .input-element {
        height: 62px;
    }

    .button-element {
        height: 66px;
    }

    .form-block {
        width: 100%;
    }

    .form-block input {
        width: 100%;
        font-size: 40px;
        margin-bottom: 30px;
    }

    .form-input-reg, .form-input {
        width: 500px;
        padding: 0 40px;
    }

    .low-link {
        font-size: 34px;
    }

    .low-link-group {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

}

@media screen and (max-width: 480px) {
    .custom-player-controls {
        padding: 12px;
        justify-content: flex-end;
    }

    .custom-controls-row {
        display: none;
    }

    .custom-controls-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .custom-time-tooltip {
        position: absolute;
        bottom: 100%;
        margin-bottom: 4px;
        transform: translateX(-50%);
        background-color: rgba(0,0,0,0.6);
        color: #fff;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 6px;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s;
        left: 50% !important;
    }

    .custom-volume-wrap {
        min-width: 32px;
        width: 32px;
    }

    .custom-btn-grey {
        height: 32px;
        min-width: 32px;
    }

    .setting-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 12px;
        top: 12px;
        border: none;
        opacity: 0;
        transform: translateY(-200%);
        transition: transform 0.5s ease, opacity 1s ease;
    }

    .setting-btn.temporary-controllers-visible{
        opacity: 1;
        transform: translateY(0);
    }

    .custom-time-total{
        height: 32px;
    }

    .custom-setting-popover {
        position: absolute;
        top: 12px;
        right: 52px;
        margin-bottom: 24px;
        width: 180px;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        padding: 0;
        z-index: 10;
        display: none;
    }

    .custom-setting-popover[aria-hidden="false"] {
        display: block;
    }

    .custom-setting-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .custom-setting-popover .custom-setting-list .custom-setting-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        height: 32px;
        width: 180px;
        padding: 8px 11px;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 13px;
        cursor: pointer;
        white-space: nowrap;
    }

    .custom-setting-popover .custom-setting-list .custom-setting-item > div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .custom-setting-item.custom-btn .lighter{
        font-size: 0.7rem;
        opacity: 0.7;
    }

    .custom-setting-item.custom-btn .lighter .material-icons-round {
        font-size: 18px ;
    }

    .custom-setting-item:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    #custom-setting-popover .custom-setting-item.custom-setting-item-active {
        background: rgba(255, 255, 255, 0.1);
    }

    #custom-audio-wrap-mobile .custom-setting-item .setting-item-title{
        display: flex;
        gap: 8px;
    }

    .custom-audio-popover {
        position: absolute;
        top: 0;
        bottom: auto;
        left: 20%;
        transform: translateX(-80%);
        margin-top: -1px;
        /*margin-bottom: 24px;*/
        display: block;
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .custom-audio-popover[aria-hidden="false"] {
        opacity: 1;
        transform: translateX(-100%);
        pointer-events: auto;
    }

    .custom-audio-list {
        max-height: 128px;
        overflow-y: auto;
    }

    .timer-block {
        position: absolute;
        font-size: 11px;
        color: #ffffff;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 6px;
        border-radius: 10px;
    }

    #preroll-skip-button, #title-box, #remaining-time  {
        font-size: 11px;
    }

    .custom-live-badge {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 40px;
        height: 32px;
        background-color: rgba(0,0,0,0.6);
        gap: 6px;
        color: #fff;
        font-weight: 600;
        font-size: 0.7rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0 8px;
        border-color: transparent;
        border-radius: 10px;
        pointer-events: none;
    }
}

#amodule {
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

video {
    width: 100%    !important;
    height: auto   !important;
}

.temporary-controllers{
    opacity: 0;
    transform: translateY(-200%);
    transition: transform 0.5s ease, opacity 1s ease;
}

.temporary-controllers.temporary-controllers-visible{
    opacity: 1;
    transform: translateY(0);
}

.zero {
    opacity: 0.35;
}

/*.custom-player-video {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.custom-player-video {*/
/*    background: transparent !important;*/
/*    z-index: 2;*/
/*}*/

/*#seek-frame-canvas {*/
/*    z-index: 700; !* вище відео *!*/
/*}*/

/*#player-loader {*/
/*    z-index: 800; !* вище canvas *!*/
/*}*/
.loader-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    pointer-events: none;
}
.loader-overlay[aria-hidden="true"] {
    display: none;
}
.loader-conic {
    width: 56px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
            radial-gradient(farthest-side, #fff 94%, #0000) top/8px 8px no-repeat,
            conic-gradient(#0000 30%, #fff);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: lc-spin 0.8s linear infinite;
}
@keyframes lc-spin {
    to { transform: rotate(1turn); }
}