#radio {
    font-family: Evolventa;
    overflow: hidden;
    height: 100%;
    min-height: 100vh;
}

.radio_wrapper {
    display: grid;
    grid-template-columns: 425px 670px 421px;
    padding: 84px 0 0;
    max-width: 1580px;
    gap: 32px;
    position: relative;
    align-items: stretch;
    margin: 0 auto;
    height: 100%;
    min-height: 100vh;
}

.sc-player {
    padding: 55px 47px;
}

.raspisanie {
    background-image: url(../assets/white-paper.jpg);
    padding: 0 8px 0 8px;
    width: 425px;
    min-width: 425px;
    box-shadow: 0px 0px 7px 1px #08080869;
    position: relative;
    z-index: 3;
    height: 100%;
    overflow: hidden;
}

body.dark .raspisanie {
    background-image: url(../assets/paper_head.jpg);
    box-shadow: 0px 0px 7px 3px #6d6d6d69;
    background-size: contain;
}

.time-col {
    padding-right: 20px !important;
}

.radio_frame {
    position: relative;
    width: 670px;
    height: fit-content;
}

.frame {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.frame_w {
    display: block;
}

.frame_d {
    display: none;
}

body.dark .frame_w {
    display: none;
}

body.dark .frame_d {
    display: block;
}

.raspisanie_border {
    background: linear-gradient(180deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    width: 100%;
    height: 100%;
    padding: 0 4px 0 4px;
}

body.dark .raspisanie_border {
    background: linear-gradient(180deg, #877751 0%, #69582A 63.5%, #8B7336 79%, #65562F 98.5%);
}

.raspisanie_wrapper {
    padding: 37px 0 30px;
    background-image: url(../assets/white-paper.jpg);
    width: 100%;
    height: 100%;
}

body.dark .raspisanie_wrapper {
    background-image: url(../assets/paper_head.jpg);
}

.raspisanie_wrapper:after {
    content: "";
    position: absolute;
    top: 0px;
    width: 1.47px;
    left: 15px;
    height: 100%;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    pointer-events: none;
}

.raspisanie_wrapper:before {
    content: "";
    position: absolute;
    top: 0px;
    width: 1.47px;
    right: 15px;
    height: 100%;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    pointer-events: none;
}

body.dark .raspisanie_wrapper:after {
    background: linear-gradient(180deg, #877751 0%, #69582A 63.5%, #8B7336 79%, #65562F 98.5%);
}

body.dark .raspisanie_wrapper:before {
    background: linear-gradient(180deg, #877751 0%, #69582A 63.5%, #8B7336 79%, #65562F 98.5%);
}

.bottom {
    background-image: url(../assets/01q4.jpg);
    background-size: cover;
}

body.dark .bottom {
    background-image: url(../assets/mramor_b.jpg);
}

.history-col {
    font-family: Evolventa;
}

.history-col.img-col {
    display: none;
}

.history-col.title-col {
    padding: 15px 0 15px 20px !important;
}

.progress-wrapper {
    height: 20px;
    border: none !important;
    border-radius: 5px;
    background: #d6d6d661 !important;
    box-shadow: 0px -1.5px 1.2px 0px rgba(255, 255, 255, 0.80) inset, 0px 0.5px 1px 0px rgba(0, 0, 0, 0.30) inset;
}

body.dark .progress-wrapper {
    background: #ffffff05 !important;
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

#progressbar {
    background: #292929 !important;
    opacity: 1;
}

body.dark #progressbar {
    background: #636363 !important;
}

.vote-button {
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.15)) drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30));
    transition: all 0.3s ease;
}

#play-button-container button {
    background-color: inherit !important;
}

#chanels-container {
    visibility: hidden;
    height: 0;
}

#play-button-container button svg {
    fill: #080808 !important;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.15)) drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.30));
}

body.dark #play-button-container button svg {
    fill: #BD9C49 !important;
    filter: drop-shadow(0px 2px 6px #bd9c4981) drop-shadow(0px 1px 2px #bba26383);
}

body.dark .track-container strong {
    color: #8f8f8f !important;
}

body.dark .dj-name {
    color: #8f8f8f !important;
}

#masc {
    position: absolute !important;
}

.history-row:nth-child(odd) {
    background: #f5f5f594 !important;
}

body.dark .history-row:nth-child(odd) {
    background: #35353594 !important;
}

.history-row {
    background: #cecece7d !important;
}

body.dark .history-row {
    background: #1616167d !important;
}

.dj-name {
    font-weight: 700;
    font-family: Jost;
}

#timer-container {
    font-weight: 700;
    font-family: Jost;
}

body.dark #timer-container {
    color: #E7E7E7 !important;
}

.progress-time {
    line-height: 22px !important;
    color: #f5f5f5 !important;
}

.track-title-container {
    font-size: 16px !important;
}


.opinion_card {
    border-radius: 20px;
    background-image: url(../assets/white-paper.jpg);
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D;
    padding: 16px;
    width: 450px;
}

.opinion_card_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 3px;
    position: relative;
}

.card_body {
    border-radius: 12px;
    background-image: url(../assets/white-paper.jpg);
    height: 100%;
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 394px;
}

.card_body:after {
    content: "";
    position: absolute;
    top: 8.28px;
    width: calc(100% - 16.55px);
    left: 8.28px;
    height: calc(100% - 16.55px);
    border: 1px dotted #997759;
    border-radius: 8px;
    pointer-events: none;
}

.try {
    border-radius: 12px;
    background-image: url(../assets/white-paper.jpg);
}

.panel {
    display: flex;
    flex-direction: column;
    padding: 0 8px 0 12px;
    height: fit-content;
    overflow-y: auto;
    max-height: 100vh;
    margin-right: 4px;
}

.panel::-webkit-scrollbar {
    width: 3px;
}

.panel::-webkit-scrollbar-track {
    background: none;
}

.panel::-webkit-scrollbar-thumb {
    background: var(--grey-50);
    box-shadow: 0px 0.54px 1.09px 0px #0000004D inset, 0px -0.52px 0.52px 0px #CCCCCC inset;
    border-radius: 20px;
}

.panel {
    scrollbar-width: thin;
    scrollbar-color: var(--grey-50) transparent;
}

body.dark .panel {
    scrollbar-color: #373737 transparent;
}

.event_card {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 14px;
    background: #FFF;
    margin: 4px 0;
    padding: 6px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
}

body.dark .event_card {
    background: linear-gradient(180deg, #252525 0%, #141414 100%);
}

body.dark .event_border {
    background: #877751;
}

body.dark .event_title {
    background: linear-gradient(180deg, #252525 0%, #141414 100%);
}

.title_rasp {
    color: var(--Primary-Black, #080808);
    font-family: Colus;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 10;
}

body.dark .title_rasp {
    color: #E7E7E7;
}

.event_border {
    background: linear-gradient(180deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    width: 100%;
    height: 100%;
    padding: 2px;
    border-radius: 12px;
}

.event_title {
    border-radius: 11px;
    background: #FFF;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 13px 9px;
}

.event_title:after {
    content: "";
    position: absolute;
    top: 3px;
    width: calc(100% - 7px);
    left: 2.4px;
    height: calc(100% - 7px);
    border: 1px dotted #997759;
    border-radius: 10px;
    pointer-events: none;
}

.date_title {
    color: #080808;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 17.646px;
    letter-spacing: -0.132px;
    text-transform: uppercase;
    padding: 18px 0 0px 16px;
}

body.dark .date_title {
    color: #e7e7e7;
}


.date_title span {
    color: #AA0909;
}

body.dark .date_title span {
    color: #BD9C49;
}

.head_rasp {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    justify-content: center;
    gap: 8px;
    background-image: none;
}

.pr {
    transform: rotate(180deg);
}

.soc_block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 21px;
}

.item_soc {
    width: 80px;
    height: 80px;
    padding: 3px;
    border-radius: 50%;
    background-position: center;
    background-size: contain;
    border: 3px solid #FFFFFF;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.15)) drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30));
}

body.dark .item_soc {
    border: 3px solid #6a592b;
}

.first {
    background-image: url(../assets/first.png)
}

.second {
    background-image: url(../assets/second.png)
}

.third {
    background-image: url(../assets/third.png)
}

.fourth {
    background-image: url(../assets/fourth.png)
}

.item_name {
    color: #000;
    text-align: center;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

body.dark .item_name {
    color: #E7E7E7;
}

.soc_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.item_icon {
    position: absolute;
    top: 53px;
    left: -3px;
}

.social {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding-top: 13px;
}

.social_title {
    color: #080808;
    text-align: center;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.28);
    font-family: Colus;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.16px;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
}

body.dark .social_title {
    color: #E7E7E7;
}

.social_title span {
    color: #AA0909;
}

.radio_block {
    padding-bottom: 40px;
}

body.dark .social_title span {
    color: #BD9C49;
}

.right_block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding-top: 45px;
    padding-bottom: 40px;
    width: 421px;
    min-width: 421px;
    position: relative;
    z-index: 2;
}

.block_wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 14px;
    background: #FFF;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
}

body.dark .block_wrapper {
    background: linear-gradient(180deg, #252525 0%, #141414 100%);
}

body.dark .block_border {
    background: #877751;
}

body.dark .block_body {
    background: linear-gradient(180deg, #252525 0%, #141414 100%);
}

.block_border {
    background: linear-gradient(180deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    width: 100%;
    height: 100%;
    padding: 2px;
    border-radius: 16px;
}

.block_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 14px;
    background: #FFF;
    padding: 22px 22px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    position: relative;
}

.block_body:after {
    content: "";
    position: absolute;
    top: 3px;
    width: calc(100% - 7px);
    left: 2.4px;
    height: calc(100% - 7px);
    border: 1px dotted #997759;
    border-radius: 15px;
    pointer-events: none;
}

.block_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #08080882;
    padding-bottom: 8px;
    flex-direction: row;
}

.title_text {
    color: #080808;
    font-family: Colus;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

body.dark .title_text {
    color: #E7E7E7;
}

.title_text span {
    color: #AA0909;
}

body.dark .title_text span {
    color: #BD9C49;
}

.nakladochka {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 8px;
}

body.dark .nakladochka {
    padding-top: 0px;
}

.white_line {
    background: #ffffff;
    position: absolute;
    pointer-events: none;
}

body.dark .white_line {
    display: none;
}

.topb {
    width: 100%;
    height: 10px;
    z-index: 5;
    top: 5px;
}

.botomb {
    width: 100%;
    height: 15px;
    bottom: 5px;
}

.leftb {
    width: 18px;
    height: 100%;
    left: -5px;
    bottom: -2px;
}

.rigthb {
    width: 18px;
    height: 100%;
    right: -5px;
    bottom: -2px;
}

.shtyka {
    position: absolute;
    display: block;
}

body.dark .shtyka {
    opacity: 0.2;
}

.shtykar {
    right: -170px;
    top: 20px;
}

.shtykal {
    left: -170px;
    top: 20px;
}

.petlya {
    display: block;
}

body.dark .petlya {
    opacity: 0.2;
}

.between {
    display: none;
}

.between img {
    position: relative;
    z-index: 10;
}

.block_but {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.title_qr {
    display: block;
}

.qr_black {
    display: block;
}

.qr_white {
    display: none;
}

body.dark .qr_black {
    display: none;
}

body.dark .qr_white {
    display: block;
}

.mini_wrapper {
    display: none;
}

.hide_podcast {
    display: none;
}

.main_link {
    position: absolute;
    width: 100%;
    height: 50px;
    top: 0;
}

#darkModeToggle {
    padding: 12px !important;
    width: 52px !important;
    height: 52px !important;
}

.fa-sun-o {
    background: url(../assets/light.svg) !important;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: 0.3s ease;
}

.fa-sun-o:hover {
    filter: brightness(0) saturate(100%) invert(60%) sepia(56%) saturate(385%) hue-rotate(5deg) brightness(92%) contrast(96%);
}

.fa-sun-o:before {
    content: "" !important;
}

.fa-moon-o {
    background: url(../assets/dark.svg) !important;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: 0.3s ease;
}

.fa-moon-o:hover {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(3859%) hue-rotate(356deg) brightness(81%) contrast(98%);
}

.fa-moon-o:before {
    content: "" !important;
}

@media (max-width: 1600px) {
    .right_block {
        display: none;
    }

    .mini_wrapper {
        display: block;
        max-width: 424px;
        margin: 0 auto;
    }

    .radio_wrapper {
        max-width: fit-content;
        grid-template-columns: 425px 490px;
    }

    .shtyka {
        display: none;
    }

    .radio_frame {
        width: 490px;
    }

    .sc-player {
        padding: 10px 15px;
        transform: scale(0.9);
    }

    .block_title {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: none;
        padding-bottom: 0px;
        flex-direction: row-reverse;
        gap: 16px;
    }

    .block_body {
        padding: 14px 22px;
    }

    .title_text {
        font-size: 18px;
        line-height: 26px;
        letter-spacing: -0.18px;
    }

    .social {
        padding-top: 0;
    }
}

@media (max-width: 1600px) {
    .radio_wrapper {
        padding: 0;
    }
}

@media (max-width: 990px) {
    .radio_wrapper {
        padding: 84px 0 0;
    }
}


@media (max-width: 990px) {

    body.dark .raspisanie {
        background-image: none;
        box-shadow: none;
    }

    body.dark .raspisanie_wrapper {
        background-image: none;
    }

    body.dark .raspisanie_border {
        background-image: none;
    }

    .hide_podcast {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .radio_block {
        padding-bottom: 0px;
    }

    .block_title {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        border-bottom: none;
        padding-bottom: 8px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid #08080882;
    }

    .mini_wrapper {
        display: none;
    }


    .radio_wrapper {
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .radio_wrapper {
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }

    .right_block {
        display: block;
        order: 3;
        width: 100%;
    }

    .block_wrapper {
        width: 421px;
        margin: 0 auto;
    }

    .raspisanie {
        order: 2;
    }

    .radio_frame {
        order: 1;
    }

    .raspisanie {
        background-image: none;
        padding: 0;
        width: 100%;
        min-width: 425px;
        box-shadow: none;
        position: relative;
        z-index: 3;
        border-radius: 0;
    }

    .raspisanie_border {
        background: none;
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 0;
    }

    .raspisanie_wrapper:before {
        display: none;
    }

    .raspisanie_wrapper:after {
        display: none;
    }

    .raspisanie_wrapper {
        padding: 0;
        background-image: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .panel {
        padding: 0 32px;
        width: 425px;
        min-width: 425px;
        margin: 0 auto;
    }

    .title_rasp {
        text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.28);
        font-family: Colus;
        font-size: 22px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.22px;
    }

    .petlya {
        display: none;
    }

    .head_rasp {
        padding: 35px 0;
        position: relative;
    }

    .head_rasp:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity:1;
        background-image: url(../assets/pattern.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    body.dark .head_rasp:before {
        opacity: 0.2;
    }

    .date_title {
        text-shadow: none;
    }

    .between {
        position: relative;
        padding: 35px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .between:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 1;
        background-image: url(../assets/pattern.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    body.dark .between:before {
        opacity: 0.2;
    }

    .title_text {
        font-size: 18px;
        line-height: 20px;
    }

    .title_qr {
        display: none;
    }

    .block_but {
        margin: 14px 0 32px;
    }

    .social_title_block {
        padding: 35px 0px 26px;       
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .social_title_block:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 1;
        background-image: url(../assets/pattern.png);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    body.dark .social_title_block:before {
        opacity: 0.2;
    }

    .social_title {
        font-size: 22px;
        line-height: 24px;
        letter-spacing: -0.16px;
        width: 176px;
    }
}

@media (max-width: 600px) {
    .event_title {
        padding: 18px 11px 16px;
    }

    .date_title {
        padding: 18px 0 0px 18px;
    }
}

@media (max-width: 500px) {

    .between {
        background-size: cover;
    }

    .head_rasp {
        background-size: cover;
    }

    .social_title_block {
        background-size: cover;
    }

    .radio_wrapper {
        gap: 18px;
    }

    .right_block {
        padding-top: 29px;
    }

    .block_wrapper {
        max-width: 361px;
        margin: 0 auto;
    }

    .block_body {
        padding: 22px 16px;
    }

    .nakladochka {
        transform: scale(0.98);
    }

    .rigthb {
        width: 18px;
        height: 100%;
        right: -16px;
        bottom: -2px;
    }

    .item_soc {
        width: 65px;
        height: 65px;
    }

    .item_name {
        font-size: 12px;
        line-height: 14px;
    }

    .soc_block {
        gap: 16px;
        padding: 0 32px;
    }

    .social {
        gap: 0;
    }

    .item_icon {
        top: 43px;
    }

    .item_icon img {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 470px) {
    .sc-player {
        padding: 0px 10px;
        transform: scale(0.9);
    }

    .radio_frame {
        width: 390px;
    }
}