@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

body,
html {
    background: var(--background-color);
    color: var(--font-color);
    font-family: 'Roboto', sans-serif;
    margin: 5px 0 55px 0;
    background-attachment: fixed;
}

a {
    color: #f7f7f7;
    text-decoration: none;
    font-weight: bold;
}

h2 {
    text-align-last: center;
    margin-top: 10px;
}

.text {
    line-height: 0.5;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.aboutField {
    font-size: min(max(10px, 2vw), 14px);
}

:root {
    --background-color: radial-gradient(circle, #151515 30%, #000000 100%);
    --background-color-fieldset: #0e0e0e;
    --font-color: #e0e0e0;
    --hr-color: #232323;
    --icon-color: #484848;
    --input-text-focus: #6b6b6b;
    --onlineBorderColor: #ff4e45;
    --offlineBorderColor: gray;
    --channelNameColor: #dedede;
    --timeAgo-color: #989898;
    --time-color: #838383;
    --black-color: black;
    /* Firefox 63 compatibility (Скролл для мазалы)*/
    scrollbar-color: #242424 #000000;
    scrollbar-width: thin;
}

/* Скролл для хрома */
::-webkit-scrollbar-thumb {
    background-color: rgb(39, 39, 39);
    border: 2px solid #232323;
    border-radius: 30px;
}

::-webkit-scrollbar {
    background: black !important;
    z-index: 12;
    overflow: visible;
}

/*  */

.container__center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container__online {
    background: var(--hr-color);
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    /* border: 1px solid var(--hr-color); */
    cursor: pointer;
    justify-content: center;
    overflow: hidden;
}

.center__avatar__channelName__viewCount {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 1;
}

.thumbnail {
    width: 100%;
}

.thumbnail img {
    opacity: 0.5;
    filter: blur(10px);
    width: 100%;
}

.container__offline {
    background: var(--hr-color);
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid var(--hr-color);
    cursor: pointer;
    justify-content: center;
}

.container__offline:nth-child(odd) {
    background: #272727;
}

/* .container__offline[data-channelid='UCNcuCP5IAI6My3e5Z-vKkBQ'] .container__channelName_timeAgo .channelName::after{} */

.timeAgo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
    color: var(--timeAgo-color);
    font-size: 0.8em;
    column-gap: 5px;
}

.container__offline[data-lastbroadcast="0"] .timeAgo {
    display: none;
}

.container__offline[data-lastbroadcast="0"] {
    display: none;
}

.onOnLine {
    display: flex;
}

.time {
    color: var(--time-color);
}

/* temp */
fieldset {
    margin-top: 10px;
    width: 526px;
    border-radius: 15px;
    transition: width 500ms ease-in-out;
    overflow: hidden;
    background: var(--background-color-fieldset);
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.325em;
}

.onlineField legend {
    margin: auto;
    font-size: 1.5em;
    background: var(--onlineBorderColor);
    border-radius: 50px;
    padding: 0px 50px;
    position: sticky;
    top: 10px;
    z-index: 2;
    background-image: url(https://yip.su/1Dp8r7.gif);
    animation: pulse-red 2s infinite;
    cursor: pointer;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 var(--onlineBorderColor)
    }

    70% {
        box-shadow: 0 0 0 10px transparent
    }

    100% {
        box-shadow: 0 0 0 0 transparent
    }
}


.offlineField legend {
    margin: auto;
    font-size: 1.5em;
    background: var(--offlineBorderColor);
    border-radius: 50px;
    padding: 0px 50px;
    position: sticky;
    top: 10px;
    z-index: 2;
    cursor: pointer;
}

.onlineField {
    border: 3px solid var(--onlineBorderColor);
    box-shadow: 0px 0px 3px var(--onlineBorderColor);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offlineField {
    border: 3px solid var(--offlineBorderColor);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    display: flex;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 1;
}

.avatarImg {
    width: 56px;
    height: 56px;
    background-size: cover;
    border-radius: 50px;
    position: relative;
}

.avatarImg:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    border-radius: 30px;
    z-index: -1;
    filter: blur(5px);
    opacity: 0.6;
    left: 50%;
    transform: translate(-50%, 0%);
}

.container__channelName_timeAgo {
    filter: drop-shadow(0px 0px 1em var(--black-color));
}

.channelName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--channelNameColor);
    font-weight: bold;
    max-width: 200px;
}

.viewCount {
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    right: 0;
    z-index: 1;
}

.stream__title {
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #dbdbdb;
    font-weight: 100;
    max-width: 200px;
    font-size: 0.8em;
}

.material-icons {
    font-size: 24px;
    margin-right: 5px;
}

.allOffline {
    text-align: center;
    padding: 50px 0px 50px 0px;
    font-size: 1.5em;
}

.scrollTop {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 100px;
    margin: auto;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='122.88' height='120.64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Ctitle%3Ebackground%3C/title%3E%3Crect fill='none' id='canvas_background' height='514' width='514' y='-1' x='-1'/%3E%3C/g%3E%3Cg%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1'%3E%3Cpath fill='%23ffffff' id='svg_2' d='m108.91,66.6c1.63,1.55 3.74,2.31 5.85,2.28c2.11,-0.03 4.2,-0.84 5.79,-2.44l0.12,-0.12c1.5,-1.58 2.23,-3.6 2.2,-5.61c-0.03,-2.01 -0.82,-4.01 -2.37,-5.55c-17.65,-17.66 -35.6,-35.13 -53.39,-52.68c-0.05,-0.07 -0.1,-0.13 -0.16,-0.19c-1.63,-1.56 -3.76,-2.32 -5.87,-2.29c-2.11,0.03 -4.21,0.85 -5.8,2.45l-0.26,0.27c-17.55,17.49 -35.15,34.93 -52.66,52.45c-1.54,1.54 -2.33,3.53 -2.36,5.54c-0.03,2.01 0.7,4.03 2.21,5.61l0.15,0.15c1.58,1.57 3.66,2.38 5.76,2.41c2.1,0.03 4.22,-0.73 5.85,-2.28l47.27,-47.22l47.67,47.22l0,0zm-2,51.77c1.62,1.54 3.73,2.29 5.83,2.26c2.11,-0.03 4.2,-0.84 5.79,-2.44l0.12,-0.12c1.5,-1.57 2.23,-3.6 2.21,-5.61c-0.03,-2.01 -0.82,-4.02 -2.37,-5.55c-17.29,-17.28 -34.29,-35.15 -51.37,-52.67c-0.05,-0.07 -0.11,-0.14 -0.17,-0.21c-1.63,-1.55 -3.76,-2.31 -5.87,-2.28c-2.11,0.03 -4.21,0.85 -5.8,2.45c-16.95,17.5 -33.84,35.07 -50.77,52.6l-0.13,0.12c-1.54,1.53 -2.32,3.53 -2.35,5.54c-0.03,2.01 0.7,4.03 2.21,5.61l0.15,0.15c1.58,1.57 3.66,2.38 5.76,2.41c2.1,0.03 4.22,-0.73 5.85,-2.28l45.24,-47.18l45.67,47.2l0,0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 29px;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0px 0px 7px black);
    cursor: pointer;
    overflow: hidden;
}




.loadingContent,
.loadingContent__graph {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.loader {
    border: 5px solid;
    border-top: 5px solid;
    border-color: #4f4f4f;
    border-top-color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    -webkit-animation: spin 1s ease infinite;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.js-tilt-glare {
    border-radius: 10px;
}

.js-tilt-glare-inner {
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 21%) 100%) !important;
    width: 1130px !important;
    height: 1130px !important;
}

.lastUpdate {
    background: #151515;
    padding: 5px 25px;
    border-radius: 10px;
    order: 1;
    margin: 4px 0 4px auto;
    padding-right: 5px;
    padding-left: 5px;
    white-space: pre;
    text-align: right;
    font-size: min(max(10px, 2vw), 14px);
}

.moreBtn {
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: #232323;
    border-radius: 5px 5px 30px 30px;
    order: 1;
    cursor: pointer;
    column-gap: 5px;
}


/* 

Beta Counter

*/

iframe {
    height: inherit;
    width: 100%;
}

.counterField {
    height: 390px;
}

figure.highcharts-figure {
    border-radius: 20px;
    padding: 10px 0px;
}

.counter__update {
    float: right;
    background: #151515;
    padding: 5px 25px;
    border-radius: 10px;
    margin: -10px 0 4px auto;
    padding-right: 5px;
    padding-left: 5px;
    white-space: pre;
    text-align: right;
    font-size: min(max(10px, 2vw), 14px);
}

/* .topLine {
    width: 80%;
    margin-left: 10%;
    height: 430px;
    margin-top: -30px;
    position: absolute;
    left: 0;
    background: rgba(39, 39, 39, 0.178);
}

*/
.counterField {
    /* margin-top: -385px; */
    transition: 500ms cubic-bezier(1, -0.15, 0, 1.15) all;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* .counterField:hover {
    margin-top: 0;
} */


.button__showGraph {
    display: flex;
    position: relative;
    bottom: -5px;
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.top_position {
    width: inherit;
    height: 350px;
    position: relative;
}

.loadingContent__graph {
    position: absolute;
}

.statusFetch {
    position: absolute;
}

.statusFetchOnline {
    margin: 50px;
}

.notification {
    width: auto;
    height: auto;
    background: #0e0e0e;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1488;
    cursor: pointer;
    border: 1px solid #777777;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px 10px;
    font-size: min(max(10px, 2vw), 14px);
    flex-direction: row;
}

/* ADAPTIVE INTERFACE RULES */
@media (max-width: 768px) {
    fieldset {
        width: 90%;
    }

    .container__online {
        justify-content: flex-start;
    }
}

@media (min-width: 2000px) {
    .container__center {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    /* .offlineField {
        border: 3px solid var(--offlineBorderColor);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 50%;
    }

    .onlineField {
        border: 3px solid var(--onlineBorderColor);
        box-shadow: 0px 0px 3px var(--onlineBorderColor);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        right: 50%;
    }

    .onlineField legend {
        position: fixed;
    } */
}

@media (max-height: 500px) {
    fieldset {
        width: 90%;
    }
}