:root {
    --bg: #111111;
    --defaultFontColor: #FFFFFF;
    --headerBg: #1B1B1B;
    --borderColor: #333333;
    --obsAccentColor: #569BB3;
    --obsAccentLightColor: #67C9EC;
    --obsAcceptNews: #177708;
    --obsErrorNews: #A53B00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    /*background-color: var(--obsAccentColor);*/
    background-color: #1B1B1B;
    opacity: .3;
    border-radius: 5px;
}

body {
    background: var(--bg);
    color: var(--defaultFontColor);

}

.wrapper {
    min-width: 400px;
    height: 100vh;

    display: flex;
    flex-direction: column;

    position: relative;
    overflow-x: hidden;
}

.header {
    width: 100%;
    height: 45px;
    background: var(--headerBg);

    padding: 12px 10px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.left-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.right-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

img {
    /*max-width: 25px;*/
}

.btn {
    border: 1px solid var(--borderColor);
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: fit-content;
    height: 33px;
    cursor: pointer;
}

.btn:hover {
    border: 1px solid white;
}

.toggle-player {
    width: 33px;
    height: 33px;
}

.toggle-player.state-0 {
    background: url('/static/ico/close-player.svg') no-repeat center;
}

.toggle-player.state-1 {
    background: url('/static/ico/close-player.svg') no-repeat center;
    border: 1px solid var(--obsAccentLightColor);
}

.toggle-player.state-2 {
    background: url('/static/ico/open-player.svg') no-repeat center;
}

.toggle-player.disabled {
    cursor: default;
    opacity: 0.5;
}

.toggle-player.disabled:hover {
    border: 1px solid var(--borderColor);
}

.toggle-player img {
    width: 15px;
}

.toggle-stream {
    background-image: url("/static/ico/critical_off.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
    background-color: #ff0e0e;
    width: 33px;
}

.toggle-stream.active {
    border: 1px solid var(--obsAccentColor);
    background-image: url("/static/ico/critical_off_black.svg");
    background-color: var(--obsAccentColor);
    color: black;
    font-weight: 500;
}

.toggle-stream #showOnStream {
    display: none;
}

.toggle-news {
    cursor: pointer;
}

.toggle-settings {
    cursor: pointer;
}


.player-wrapper {
    width: 400px;
    height: 225px;
    overflow: hidden;
    flex-shrink: 0;
    transition: height 0.3s;
    align-self: center;
}

.player-wrapper.hide {
    height: 0px;
}

.player-wrapper.self-hide {
    height: 1px;
}

.song-list {
    overflow-y: auto;
    padding: 5px 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.song-list.hidden {
    display: none;
}

.song-element {
    display: grid;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    padding: 5px 10px;
    border: 1px solid #272727;
    background-color: var(--bg);
    border-radius: 5px;
    transition: border .3s ease, height .3s ease;
}

.song-element::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #000000aa;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .1s .3s;
    z-index: 1;
}

.song-element.shadow::before {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s .1s, visibility .1s;
}

.song-element.shadow .song-delete-block.show {
    opacity: 1;
    visibility: visible;
}

.song-element .song-title {
    user-select: text;
    max-height: 32px;
    overflow-wrap: anywhere;
}

.song-element:hover .song-title {
    max-height: 32px;
}

.song-element.old .song-title,
.song-element.old .song-preview {
    filter: grayscale(1);
    color: #6A6A6A;
}

.song-element.active {
    border: 1px solid var(--obsAccentColor);
}

.song-element:hover {
    border: 1px solid var(--obsAccentColor);
    cursor: pointer;
}

.song-element .song-preview {
    grid-area: A;
    position: relative;
}

.song-element .song-preview img {
    width: 70px;
    border-radius: 5px;
}

.song-element .song-preview .vid-time {
    position: absolute;
    right: 2px;
    bottom: 2px;

    background: var(--bg);
    padding: 1px;
    font-size: 10px;
    line-height: 10px;
}

.song-element .song-descr {
    grid-area: B;

    font-size: 14px;
    line-height: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.song-element:hover .song-descr {
    -webkit-line-clamp: inherit;
    -webkit-box-orient: vertical;
}

.song-element .message-ico {
    position: absolute;
    width: 35px;
    height: 35px;
    right: 0;
    transition: visibility .3s;
    background-image: url("/static/ico/message-ico.svg");
    filter: brightness(0) saturate(100%) invert(78%) sepia(47%) saturate(1889%) hue-rotate(1deg) brightness(107%) contrast(103%);
    background-size: 16px 16px;
    background-position: center center;
    background-repeat: no-repeat;
}


.song-element:hover .message-ico {
    background-image: none;
    visibility: hidden;
}

.song-element .song-date {
    grid-area: D;
    align-self: end;

    font-size: 12px;
    line-height: 14px;
    color: #AEAEAE;
}

.song-element .song-initiator {
    align-self: end;

    font-size: 12px;
    line-height: 14px;
    color: #AEAEAE;
}

.song-element .song-sum {
    justify-self: end;
    align-self: end;

    font-size: 12px;
    line-height: 14px;

    color: #FFD700;

}


.song-element .currency,
.song-element .delete-link {
    position: absolute;
}


.delete-link {
    border: 1px solid #111111;
}



.song-element .delete-link img {
    width: 12px;
    height: 12px;
}

.song-element .song-delete-popup {
    background: #111111;
    flex-direction: row;
    display: none;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 5px;
    position: absolute;
    z-index: 1;
    grid-template:
        "A B C"
        "D E F";
    align-content: space-around;
    justify-content: space-between;

    border-radius: 5px;
    cursor: default;
}

.song-element .song-delete-popup.active {
    display: grid;
}

.song-delete-popup__title {
    grid-area: A;

    font-size: 10px;
    line-height: 15px;
}

.song-delete-popup__close {
    grid-area: C;
    margin-right: 7px;
    margin-top: 2px;
    cursor: pointer;
    width: 12px;
}

.song-delete-popup__refuse {
    grid-area: D;
    font-size: 14px !important;
    height: 33px !important;
    padding: 0 5px !important;
    max-width: none !important;
}

.song-delete-popup__delete {
    grid-area: E;
    font-size: 14px !important;
    height: 33px !important;
    padding: 0 5px !important;
    max-width: none !important;
}

.song-element .delete-link{
    visibility: hidden;
}

.song-element:hover .delete-link{
    visibility: visible;
}


.side-card {
    background: var(--headerBg);
    border-radius: 5px;
    height: calc(100vh - 50px);
    width: 380px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    overflow-y: auto;

    position: absolute;
    right: -380px;
    top: 50px;
    z-index: 1000;
    transition: right .3s;
}

.side-card.active {
    right: 10px;
}

.switchers, .switchers[open] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    position: relative;
}

.button-row {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    position: relative;
}


.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 36px;
    height: 20px;
}

.row.disabled .switch {
    color: gray;
}

.row.disabled .slider {
    background-color: gray;
}

.row.disabled .switcher-label {
    color: gray;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    width: 36px;
    height: 20px;
    background-color: #1b1b1b;
    border: 1px solid white;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    bottom: 2px;
    left: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #67C9EC;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 85%;
    height: 6px;
    outline: none;
    opacity: 0.8;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 100px;
}

.range-slider:hover {
    opacity: 1;
}

.range .range-label {
    margin-top: 0px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--obsAccentLightColor);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid white;
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--obsAccentLightColor);
    cursor: pointer;
}

.select {
    position: relative;
    width: 222px;
    color: white;
    font-size: 18px;
}

.select > .ico {
    position: absolute;
    top: calc(50% - 3px);
    right: 20px;
    transition: transform .3s;
}

.select > input {
    width: 222px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #111111;
    background: var(--bg);
    color: white;
    font-size: 16px;
    line-height: 20px;
    padding: 13px;
    cursor: pointer;
}

.select > input.active ~ .select_variants {
    height: fit-content;
    z-index: 1;
}

.select .select_variants {
    width: 222px;
    border-radius: 8px;
    margin-top: 10px;
    background: var(--bg);
    height: 0;
    overflow: hidden;
    position: absolute;
    transition: height 0.3s;
    cursor: pointer;
}

.select > input.active + .ico {
    transform: rotate(180deg);
}

.select .select_variant {
    height: 40px;
}

.select .select_variant input {
    appearance: none;
    margin: 13px 5px;
}

.select .select_variant input:checked + label {
    color: white;
}


.select .select_variant label {
    color: white;
    font-size: 16px;
    line-height: 20px;
}

.select .select_variant:hover label {
    color: #AEAEAE;
}


.button {
    background-color: #1B1B1B;
    border: 2px solid #333333;
    border-radius: 8px;
    height: 40px;
    padding: 0 12px;
    color: #FFFFFF;
    font-size: 16px;
    transition: .3s;
    cursor: pointer;
}

.button:hover {
    border: 2px solid #FFFFFF;
}

.button[disabled],
.button[disabled]:active,
.button[disabled]:hover {
    border: 2px solid #333333;
    background-color: #1B1B1B;
    color: #6A6A6A;
    cursor: default;
}

.button:active {
    background-color: #6A6A6A;
}

.button.accept {
    background-color: var(--obsAccentLightColor);
    color: black;
}


h2, summary {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #AEAEAE;
    position: relative;
}

.settings-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 12px;
}


.news-element {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.create_datetime {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #AEAEAE;
}


.news-title {
    font-size: 18px;
    display: block;
}



.news-title.accept {
    color: var(--obsAcceptNews);
}

.news-title.error {
    color: var(--obsErrorNews);
}

.news-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    display: block;
    max-height: 72px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    color: #AEAEAE;
    font-size: 14px;
}

.news-show-button {
    font-size: 14px;
    color: #AEAEAE;
    text-decoration-line: underline;
    text-decoration-color: #AEAEAE;
}

.news-block-footer {
    display: flex;
    justify-content: space-between;
}

.empty-list {
    margin: 50px auto;
    font-size: 28px;
    line-height: 32px;
    text-align: center;
}

.error-message {
    padding: 20px;
    text-align: left;
    font-size: 20px;
    line-height: 27px;
    text-decoration: none;
}

.error-message a:link,
.error-message a:visited,
.empty-list a:link,
.empty-list a:visited {
    color: #67C9EC;
}

.empty-list.hidden {
    display: none;
}

#list_viewed.hidden ~ .empty-list .list_viewed {
    display: none;
}

#list_new.hidden ~ .empty-list .list_new {
    display: none;
}

#list_playlist.hidden ~ .empty-list .list_playlist {
    display: none;
}

.empty-list .list_playlist {
    line-height: 40px;
}

.contact {
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: end;
    gap: 28px;
}

.contact.right {
    align-self: end;
}

.contact img {
    height: 30px;
}

.tabs {
    display: grid;
    grid-template-columns: 35px auto auto;
    padding: 10px;
    position: relative;
}

.tab {
    height: 35px;
    width: 100%;
    border: 1px solid #272727;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.tab:hover {
    border-color: #FFFFFF;
    cursor: pointer;
}

.tab:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right-color: #111111;
}

.tab:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left-color: #111111;
    flex-shrink: 1.5;
}

.tab.active {
    border: 1px solid var(--obsAccentLightColor);
    border-radius: 5px;
}


.song-element {
    width: 100%;
    min-width: 376px;
    overflow-y: hidden;
}

.song-element .song-message {grid-area: A;}
.song-element .song-preview {grid-area: B;}
.song-element .song-title {grid-area: C;}
.song-element .button-list {grid-area: D;}
.song-element .song-additional {grid-area: D;}
.song-element .song-date {grid-area: E;}
.song-element .song-initiator {grid-area: F;}
.song-element .song-sum {grid-area: G;}


.song-element {
    grid-template:
        "A A A A D"
        "E E F G G";
    grid-template-columns: 0 auto 3fr auto min-content;
    grid-template-rows: auto 14px;
}

.song-element.track {
    grid-template:
            "B C C C D"
            "B E F G G";
    grid-template-columns: 70px auto 3fr auto auto;
    grid-template-rows: auto 14px;
}

.song-element.message {
    grid-template:
            "A A A A D"
            "E E F G G";
    grid-template-columns: 0 auto 3fr auto min-content;
    grid-template-rows: auto 14px;
}

.song-element.track_message {
    grid-template:
        "A A A A D"
        "B C C C D"
        "B E F G G";
    grid-template-columns: 45px auto 3fr auto auto;
    grid-template-rows: auto 14px;
}

.song-element.track_message .song-preview img {
    width: 40px;
}

.song-element.track_message .song-message {
    border-bottom: 1px solid #3F3F3F;
    padding-bottom: 5px;
}

.song-element.track_message .song-title {
    font-size: 10px;
    line-height: 12px;
}

.song-element.track .message-title {
    display: none;
}

.song-element.message .message-title,
.song-element.track_message .message-title {
    display: inherit;
}

.song-element.track .song-message {display: none;}
.song-element.track .song-preview {
    display: block;
}
.song-element.message .song-title {
    display: none;
}
.song-element.message .song-preview {
    display: none;
}

.song-initiator {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    bottom: 0px;
    position: sticky;
}

.message-title {
    font-size: 12px;
    line-height: 12px;
    color: #AEAEAE;
    padding-bottom: 3px;
}

.message {
    font-size: 14px;
    min-width: 309px;
}

.song-date {
    bottom: 0px;
    position: sticky;
}

.song-title {
    font-size: 14px;
    line-height: 16px;
    overflow: hidden;
}

.song-sum {
    bottom: 0;
    position: sticky;
}

.fee {
    color: red;
}

.song-preview {
    justify-self: start;
    align-self: start;
}

.song-message {
    overflow: hidden;
}

.song-more-button {
    width: 32px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.song-delete-button {
    width: 135px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.song-delete-button:hover,
.song-refund-button:hover:not(.disabled),
.song-block-button:hover {
    color: #67C9EC;
}

.song-delete-button img {
    transition: filter .5s;
}

.song-delete-button span {
    transition: .5s, opacity .2s;
    opacity: 0;
    visibility: hidden;
}

.song-refund-button {
    width: 135px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: -30px;
    transition: .5s, opacity .2s;
    opacity: 0;
    visibility: hidden;
}

.song-delete-block.show .song-refund-button.disabled {
    filter: grayscale(100%);
    cursor: default;
    opacity: 0.5;
}

.song-more-button img {
    width: 12px;
}

.song-block-button {
     width: 135px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: -30px;
    transition: .5s, opacity .2s;
    opacity: 0;
    visibility: hidden;
}

.song-delete-block {
    width: 155px;
    height: 48px;
    transition:
        background-color .5s,
        border .5s,
        height .5s;
    border-radius: 5px;
    border: 1px solid transparent;
    position: absolute;
    right: 2px;
    top: 1px;
    padding: 0 10px;
    font-size: 14px;
    z-index: 1;
}

.song-delete-block.show {
    background: #1b1b1b;
    border: 1px solid #272727;
    height: 72px;
}

.song-delete-block.show .song-delete-button img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(98%) saturate(1887%) hue-rotate(16deg) brightness(96%) contrast(102%);
}

.song-delete-block.show .song-delete-button span {
    visibility: visible;
    opacity: 1;
    transition: .5s, opacity .4s .1s;
}


.song-delete-block.show .song-refund-button,
.song-delete-block.show .song-block-button{
    top: 0px;
    opacity: 1;
    transition: .5s, opacity .4s .1s;
    visibility: visible;
}


.song-additional {
    width: 22px;
    z-index: 10;
    top: -4px;
    position: absolute;
}



.song-element .song-delete-block {
    visibility: hidden;
    opacity: 0;
    transition: visibility .3s, opacity .3s;
}

/*.song-element:hover .song-delete-block {*/
/*    visibility: visible;*/
/*    opacity: 1;*/
/*}*/



.tooltip {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    top: 37px;
    background: #1B1B1B;
    min-width: 250px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 17px 15px;
    visibility: hidden;
    opacity: 0;
    z-index: 100;
    left: 0;
    transition: opacity .3s ease-in-out, visibility 0s linear .3s;
}

ul.tooltip-text {
    padding-left: 18px;
}

.tooltip-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

.tooltip-text a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--info_color);
    text-decoration: none;
}

.tooltip-button {
    align-self: flex-end;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    cursor: pointer;
    text-align: right;

    color: #67C9EC;
}

.help-info {
    display: inline;
    justify-content: center;
    margin-left: -5px;
}

h2 .help-info,
label .help-info {
    margin-left: 5px;
}

.help-info-ico {
    height: 18px;
    margin-bottom: -4px;
}



.help-info:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}


.input_field {
    background-color: #111111;
    border: none;
    border-radius: 8px;
    height: 40px;
    padding-left: 13px;
    padding-right: 30px;
    overflow-x: hidden;
    -webkit-appearance: none;
    color: white;
    font-size: 16px;
    /*width: 230px*/
}

.input_field.short {
    width: 100px;
}

.input_field::placeholder {
    color: #6A6A6A;
    font-size: 18px;
}

.input_field:focus-visible {
    outline: 0px;
    border: 1px solid white;
}

.external-playlist-list {

}

.external-playlist {
    display: grid;
    grid-template:
            "A B"
            "A C";
    width: 100%;
    align-items: center;
    justify-items: start;
    gap: 5px;
    transition: .3s;
    padding: 5px;
    border-radius: 8px;
    grid-auto-columns: 100px auto;
}

.external-playlist:hover {
    background: #292929;
}

.external-playlist-preview {
    width: 100px;
    grid-area: A;
}

.external-playlist-title {
    grid-area: B;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    height: 1.2em;
    white-space: nowrap;
}

.external-playlist-buttons {
    grid-area: C;
    display: flex;
    gap: 10px;
    justify-self: end;
}


.preload-text {
    font-size: 28px;
    line-height: 32px;
    text-align: center;
}

.preload-text a {
    color: #67C9EC;
}

.loader.show {
    opacity: 100%;
    visibility: visible;
}

.loader {
    transition: .3s;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: black;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    position: fixed;
    font-size: 20px;
}


.button-list {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    gap: 5px;
    opacity: 0;
    margin-top: 3px;
    transition: .3s;
    width: 17px;
}

.song-element:hover .button-list {
    visibility: visible;
    opacity: 1;
}

.button-list img {
    max-height: 17;
}


.popup_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000080;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .3s;
    z-index: 2000;
}

.popup_wrapper.show {
    opacity: 1;
}

.popup_body {
    background-color: #1C1C1C;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    width: 380px;
}

.popup_close-button {
    align-self: end;
}

.popup_title {
    font-size: 16px;
    text-align: center;
    align-self: center;
    margin-bottom: 0px;
    width: 85%;
}

.popup_title > * {
    padding-top: 10px;
}


.popup_actions {
    display: grid;
    justify-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: row;
    justify-content: space-evenly;
    gap: 5px;
}

.popup_actions .button:last-child:nth-child(2n+1) {
    grid-column: span 2;
}

.popup_close-button {
    cursor: pointer;
    position: absolute;
}


details[open] summary {
    margin-bottom: 20px;
}

summary {
    cursor: pointer;
}

summary:hover {
    color: white;
}


.song-element.playlist {
    grid-template: "C D";
}

.song-element.playlist .dnd {
    display: none;
}

.song-list.draggable .song-element.playlist .dnd {
    display: block;
}

.song-list.draggable .song-element.playlist {
    grid-template: "Z C D";
    grid-template-columns: 14px auto 30px;
    padding-left: 5px;
}



.song-element.playlist .button-list {
    justify-self: end;
}

.song-element.playlist .song-delete-block {
    height: 32px;
}

/*.song-element.playlist:hover .song-title {*/
/*    height: auto;*/
/*}*/
.song-element.playlist .song-title {
    height: 32px;
}

.dnd {
    width: 14px;
    height: 24px;
    grid-area: Z;
    background-image: url("/static/ico/dragandrop.svg");
    background-repeat: no-repeat;
    background-position: center;
    transition: .3s;
    border-radius: 5px;
    opacity: 0;
    align-self: center;
}

.song-element:hover .dnd {
    opacity: 1;
}

.dnd:hover {
    background-color: #6A6A6A;
}

.placeholder {
    min-width: 376px;
    width: 100%;
    height: 40px;
    min-height: 40px;

    background: var(--bg);
}


.notification {
    position: fixed;
    bottom: 20px;
    right: -400px;

    max-width: 380px;

    background-color: #3F3F3F;
    padding: 10px;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: 30px auto;
    transition: .5s ease-out;
    z-index: 5000;
}

.notification.show {
    right: 10px;
}

.notification-type {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.notification.good .notification-type {
    background-image: url("/static/ico/ok.svg");
}

.notification.bad .notification-type {
    background-image: url("/static/ico/error-ico.svg");
}


label {
    position: relative;
}

.question {
    position: relative;
    display: flex;
    justify-content: center;
}

.question-text {
    margin-top: 2px;
    color: #111111;
    background-color: var(--obsAccentLightColor);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    padding: 3px 10px;
    cursor: pointer;
}


.player-control {
    display: grid;
    justify-items: center;
    width: 100%;
    padding: 10px;
    gap: 15px;
    transition: 0.3s;
    height: 148px;
}

.player-control.hide {
    height: 0;
    padding: 0 10px;
    overflow: hidden;
}

.player-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.player-control .row-1 {
    display: flex;
    padding: 5px;
    width: 100%;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.player-control .row-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 55px;
}

.player-control .row-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 55px;
}

.player-control .row-3 img {
    height: 50px;
}

.player-control_title {
    font-size: 14px;
    -webkit-line-clamp: 1;
    overflow: hidden;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.player-control_title .song-initiator {
    color: #AEAEAE;
}

.player-control_title .song-title {
    color: white;
    line-break: anywhere;
}

.row-1.hide, .row-2.hide, .row-3.hide {
    display: none;
}

.pause-button.hide,
.play-button.hide,
.block-button.hide,
.refund-button.hide,
.delete-button.hide {
    display: none;
}

.add-to-playlist-button img {
    width: 47px;
}

.player-control .time {
    font-size: 11px;
    color: #999999;
    width: 50px;
}

#currentTime {
    text-align: right;
}

#durationTime {
    text-align: left;
}

.volume-range {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.range-slider.volume {
    width: 80px;
    height: 15px;
}

.range-slider.volume::-webkit-slider-thumb,
.range-slider.seek::-webkit-slider-thumb{
    border: none;
    width: 0;
    height: 0;
}

.range-slider.seek {
    width: 100%;
    height: 15px;
}


.stop-button, .play-button, .pause-button, .next-button, .options-button, .back-button {
    transition: .3s;
}

.options-button {
    width: 30px;
    text-align: center;
}

.stop-button:hover,
.play-button:hover,
.pause-button:hover,
.next-button:hover,
.options-button:hover,
.back-button:hover,
.block-button:hover,
.delete-button:hover,
.refund-button:hover {
    color: var(--obsAccentLightColor);
    cursor: pointer;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.popup_checkboxes {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.checkbox_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    font-size: 16px;
    cursor: pointer;
}

.custom-checkbox + label::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 1px solid #adb5bd;
    border-radius: 5px;
    margin-right: 12px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    cursor: pointer;
}

.custom-checkbox:checked + label::before {
    border-color: #67C9EC;
    background-color: #1B1B1B;
    background-image: url("/static/ico/checkbox.svg");
    width: 25px;
}

.ad-notification.show {
    display: flex;
    max-height: 60px;
}

.ad-text {
    height: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
    background-color: var(--obsErrorNews);
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
    max-height: 0;
    padding: 0;
    margin: 0px 8px;
}

.ad-text.show {
    max-height: 75px;
    padding: 8px;
    margin: 4px 8px;
    overflow: visible;
}

.open-in-browser {
    text-decoration: none;
    color: white;
    vertical-align: middle;
}

.account {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding-top: 10px;
}

.account img {
    width: 25px;
}

.popup_title a {
    color: #67C9EC;
}