* {
    box-sizing: border-box;
}

.streams-public-main {
    max-width: none;
    padding: 34px 28px 52px;
}

.streams-header {
    margin-bottom: 18px;
}

.streams-header h1 {
    font-size: 32px;
    line-height: 1.12;
}

.streams-header h1 span {
    color: #53fc18;
}

.streams-switcher {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2b3938;
}

.streams-switcher-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.streams-switcher-link {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #3b504d;
    border-radius: 4px;
    background: #172321;
    color: #b7c6c2;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.streams-switcher-link:hover,
.streams-switcher-link:focus-visible {
    border-color: #6c847f;
    background: #22302e;
    color: #f4ffe9;
    outline: none;
}

.streams-switcher-link.is-active {
    border-color: #53fc18;
    background: #24431f;
    color: #eaffdf;
    font-weight: 700;
}

.streams-timeline-shell {
    width: 100%;
    overflow: hidden;
    border: 1px solid #314342;
    background: #111b1a;
}

#timeline-container {
    width: 100%;
    min-height: 160px;
    overflow-x: auto;
}

#timeline {
    display: block;
}

.streams-timeline-popup {
    position: absolute;
    z-index: 100;
    display: none;
    min-width: 220px;
    padding: 8px;
    border: 1px solid #45615d;
    background: #15201f;
    color: #dce7e2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    font-size: 12px;
}

.streams-timeline-popup button {
    margin: 6px 4px 0 0;
    padding: 3px 7px;
    border: 1px solid #45615d;
    border-radius: 3px;
    background: #22302e;
    color: #edf1ec;
    cursor: pointer;
}

.streams-timeline-popup button:hover {
    border-color: #53fc18;
}

.streams-video-player-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.streams-shaka-container,
.streams-video-player {
    width: 100%;
    height: 100%;
}

.streams-shaka-container {
    background: #000;
    --shaka-font-family: Arial, Helvetica, sans-serif;
}

.streams-video-player {
    display: block;
    object-fit: contain;
    background: #000;
}

.streams-video-player-status {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: grid;
    place-content: center;
    padding: 16px;
    background: rgba(6, 9, 9, .84);
    color: #c1d0ca;
    text-align: center;
    pointer-events: none;
}

.streams-video-player-status[hidden] {
    display: none;
}

.streams-shaka-container:fullscreen,
.streams-shaka-container:-webkit-full-screen {
    width: 100vw !important;
    width: 100dvw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    background: #000;
}

.streams-shaka-container:fullscreen .streams-video-player,
.streams-shaka-container:-webkit-full-screen .streams-video-player,
.shaka-video-container:fullscreen .streams-video-player,
.shaka-video-container:-webkit-full-screen .streams-video-player,
.streams-video-player:fullscreen,
.streams-video-player:-webkit-full-screen {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}

@media (max-width: 720px) {
    .streams-public-main {
        padding: 18px 10px 32px;
    }

    .streams-header h1 {
        font-size: 24px;
    }

    .streams-header {
        margin-bottom: 10px;
    }

    .streams-switcher {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .streams-switcher-link {
        padding: 3px 6px;
        font-size: 11px;
    }
}
