body::-webkit-scrollbar {
    width: 5px;
    height: 3px;
    background-color: #5e8dc482;
}
body::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgb(255 255 255);
    background-color: #29384a;
}
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(255 255 255);
    background-color: rgba(14,26,38,0.8);
}

.ya-lenta { width: 100%; margin: 2rem 0;     text-align: center;} 
.ya-title {
    display: flex;
    font-size: 2rem;
    font-weight: 600;
    justify-content: center;
}
.ya-title span img {     padding-top: 12px;width: 30px; margin-left: 6px; } 
.ya-description { color: #666; margin-bottom: 2rem; } 
.ya-lenta a { color: #000; text-decoration: none; }

body { font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.5; padding: 0; margin: 0; } 
body {
height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%; 
background: #fff;
}
.d-flex.flex-wrap {
    width: 100%;
    display: grid!important;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    padding: 0.75rem 0;
    height: auto;
}


.tg-url {
    border-radius: 0 0 .7rem .7rem;
    padding: 0.4rem;
    font-size: 11pt;
    color: #fff;
    font-weight: 550;
    background: #000000;
    box-shadow: 0 0 13px 0px #cccccc63;
    text-align: center;
    z-index: 9999;
    position: relative;
}


.container.prem-banner {
    width: 100%;
    max-width: 900px;
}

.channel {
    width: 100%;
    display: block;
    background: #000;
    border-radius: .7rem;
}


.channel:hover img { 
    opacity: .9;
}

.channel:hover .tg-name {
    background: #8a00ff;
}

.channel img {
    width: 100%;
    border-radius: .7rem .7rem 0 0;
    box-shadow: 0 0 11px #fff;
    height: 180px;
    object-fit: cover;
}

.tg-name {
    background: #0036ff;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: -5px;
}

a { color: #000; text-decoration: none; text-align: center; font-weight: 500; }

@media (max-width: 768px) {  
.ya-lenta { margin: 0 0 2rem 0; } 

.d-flex.flex-wrap { grid-template-columns: repeat(2, 1fr);width: auto;   padding: 1rem;        padding-bottom: 3rem;}
.ya-description { 
    padding: 0.5rem;
    font-family: math;
}

}

@media (max-width: 400px) {  

h1 {  font-size: 1.5rem; } 
.container {     height: 100%; margin: 3rem 0; } 
.lab-form {  margin: 0.8rem; }

.lab-form::after { 
    right: -5px; 
    width: 70px; 
    height: 70px;
}
} 