.header__logo._active {
    margin-left: 0 !important;
}

.menu {
    background-color: #5c676a;
    transform: translate3d(-50%, -50%, 0) !important;
    left: 50% !important;
    top: 50% !important;
    width: 100% !important;
    height: 85% !important;
    border: 1px solid #000;
    border-radius: 5px;
    box-shadow: 0 0 15px #fff;
    z-index: 999;
    opacity: 0 !important;
    visibility: hidden;
    transition: all .5s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

.menu._active {
    opacity: 1 !important;
    visibility: visible;
    border-radius: 12px;
}

.menu__btn-close {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate3d(-50%, -50%, 0);
    background: #607D8B;
    border-radius: 50%;
    padding: 0px;
    box-shadow: 0 0 20px 3px #fff;
    transition: all .3s ease-in;
}

.menu__btn-close:hover {
    color: orange;
}

@media (min-width: 640px) {
    .menu {
        max-height: fit-content;
        max-width: fit-content;
    }
}

.header .header__hamb._close {
    display: none !important;
}

.menu__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-template-areas:
        "categories moods"
        "genres languages";
    height: 100%;
    padding-top: 0 !important;
}

.menu__tabs {
    display: none !important;
}

.menu__filter {
    position: static !important;
    display: block !important;
    max-height: none !important;
}

.menu__filter::-webkit-scrollbar {
    width: 5px !important;
}

.menu__filter::-webkit-scrollbar-track {
    background-color: transparent;
    border-left: none;
    border-radius: 5px;
}

.menu__filter::-webkit-scrollbar-thumb {
    background: orange;
    border-left: none;
    border-radius: 5px;
}

.menu__filter_item label {
    font-size: 14px !important;
    font-weight: 600;
}

.menu__filter-title {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    display: block;
    z-index: 1;
    background-color: #fff;
    padding: 3px 15px;
    box-shadow: inset 0 0 10px 0px #00000070;
}

.menu__filter_item {
    display: flex;
    margin-left: 30px;
}

.menu__filter-categories .menu__filter-title {
    top: 0;
    left: 0;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.menu__filter-moods .menu__filter-title {
    top: 0;
    right: 0;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.menu__filter-genres .menu__filter-title {
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 12px;
}

.menu__filter-languages .menu__filter-title {
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 12px;
}

.menu__filter-categories {
    grid-area: categories;
    display: block;
}

.menu__filter-moods {
    grid-area: moods;
    display: block;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
}

.menu__filter-genres {
    grid-area: genres;
    display: block;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}

.menu__filter-languages {
    grid-area: languages;
    display: block;
}

#helperMenu {
    display: none;
}

.menu__bot {
    display: none;
}

.menu__panel_playlist {
    flex-grow: 2;
    color: #fff;
    width: 190px;
    height: 40px;
    border-radius: 3px;
    background-color: #75d0a4;
    transition: background .15s;
    padding-left: 5px;
}

.s_btns .s_text__tags.btn-menu {
    width: 56px;
    height: 56px;
    background-color: #fff;
    border-radius: 50%;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 0;
    margin-bottom: 0;
    border: 2px solid #fff;
    position: relative;
    cursor: pointer;
}

.s_btns .s_text__tags a.btn-playlist {
    position: relative;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    border: 2px solid #fff;
    border-radius: 50%;
}

.btn-playlist .btn-playlist__icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: orange;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 4px;
    box-sizing: content-box;
    transform: translate3d(25%, 25%, 0);
}

.btn-playlist:hover .btn-playlist__icon > path {
    fill: transparent !important;
    stroke: #000;
}

.playlist__btn {
    position: static !important;
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: 10px;
}

.playlist__btn {
    margin: 0 !important;
    margin-bottom: 20px !important;
}

a.btn-upload {
    display: flex;
    align-items: center;
    color: #000 !important;
    background-color: orange;
    padding: 5px;
    border-radius: 5px;
    margin: 0 !important;
    margin-right: 20px !important;
}

a.btn-close {
    display: flex;
    align-items: center;
    color: #fff !important;
    margin-left: auto !important;
}

a.btn-upload::before,
a.btn-close::before {
    all: initial !important;
}

a.btn-upload svg.btn-upload__icon {
    width: 20px;
    height: 20px;
}

a.btn-close svg.btn-close__icon {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 480.5px) {
    .s_btns .s_text__tags.btn-menu {
        width: 44px;
        height: 44px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

.s_btns > a {
    padding: 5px;
}

@media (max-width: 540px) {
    .s_btns .s_text__tags {
        margin-bottom: 40px !important;
    }
}

.s_btns .s_text__tags a {
    font-size: 16px !important;
    margin-left: 0;
    margin-right: 0;
    padding: 2px 14px !important;
    background: transparent;
    color: #75d0a4;
    border: 1px solid #75d0a4;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
    font-weight: bold !important;
    letter-spacing: 0.3px;
    animation: neonSystemCycleFixed 8s infinite;
    box-shadow: none;
    text-shadow: none;
}

@keyframes neonSystemCycleFixed {
    0% {
        color: #75d0a4;
        border-color: #75d0a4;
    }
    33% {
        color: #56ccf2;
        border-color: #56ccf2;
    }
    66% {
        color: #f2994a;
        border-color: #f2994a;
    }
    100% {
        color: #75d0a4;
        border-color: #75d0a4;
    }
}

.s_btns .s_text__tags a:hover {
    background: linear-gradient(135deg, #75d0a4, #56ccf2);
    color: #fff !important;
    transform: scale(1.05);
    border-color: transparent;
    animation-play-state: paused;
    font-weight: bold !important;
}

@media screen and (min-height: 425px) {
    .s_btns {
        margin-bottom: 5vh !important;
    }
    .s_btns .s_text__tags a {
        font-size: 15px !important;
    }
}

@media (max-height: 425px) {
    .s_btns .s_text__tags {
        margin-bottom: 25px !important;
    }
}

.rating,
.playlist {
    width: 100% !important;
}

@media only screen and (min-width: 991.5px) {
    .rating,
    .playlist {
        z-index: 1000 !important;
    }
}

.rating__table thead,
.playlist__table thead {
    width: 100% !important;
}

.helpIcon {
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #ffffff;
    margin-left: 8px;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

#icon1 svg,
#icon2 svg {
    stroke: #ffa726;
    animation: pulse 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

#icon1:active svg,
#icon2:active svg {
    animation: none;
    stroke: white;
}

.footer {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.footer__social {
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    padding-top: 15px !important;
}

.footer__social a {
    margin: 0 10px;
}

@media (min-height: 540px) {
    .footer__social {
        padding-top: 30px !important;
    }
}

@media (max-width: 540px) {
    .footer__social_flex {
        max-width: none !important;
    }
}

.footer__volume.footer__event_helper {
    margin-left: 8px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    align-items: flex-end;
    -webkit-align-items: flex-end;
}

.copyright {
    display: block !important;
    top: 0 !important;
    text-align: center;
    white-space: nowrap;
}

.js-menu-close {
    z-index: 9;
}

/* Square buttons with rounded corners */
.s_text__tags .btn {
    border-radius: 8px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.s_text__tags .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* ===== PLAYER BUTTONS - UNIFIED ===== */
a#ratings,
a#repeat,
a#mainPlayPause,
a#ff,
a#ff_rewind,
a.btn-playlist.js-playlist-open {
    border-radius: 12px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 12px !important;
    margin-right: 12px !important;
}

/* Rewind icon flip */
#ff_rewind svg,
.s_btns__rewind svg {
    transform: scaleX(-1);
}

/* Center icons inside all player buttons */
#ratings i,
#repeat i,
#mainPlayPause i,
#ff i,
#ff_rewind i,
.s_btns__rewind i,
a.btn-playlist.js-playlist-open i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Center SVGs inside buttons */
#ratings i svg,
#repeat i svg,
#mainPlayPause i svg,
#ff i svg,
#ff_rewind i svg,
.s_btns__rewind i svg,
a.btn-playlist.js-playlist-open i svg {
    display: block !important;
    margin: 0 auto !important;
}

/* Mobile: 768px and below - same button size, smaller margins */
@media screen and (max-width: 768px) {
    a#ratings,
    a#repeat,
    a#mainPlayPause,
    a#ff,
    a#ff_rewind,
    a.btn-playlist.js-playlist-open {
        margin-left: 6px !important;
        margin-right: 6px !important;
    }
    
    .s_btns > a small {
        display: none !important;
    }
}

/* Small mobile: 480px and below - even smaller margins */
@media screen and (max-width: 480px) {
    a#ratings,
    a#repeat,
    a#mainPlayPause,
    a#ff,
    a#ff_rewind,
    a.btn-playlist.js-playlist-open {
        width: 54px !important;
        height: 54px !important;
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
}

/* Artist playlist upload icon */
.btn-playlist__icon {
    width: 20px !important;
    height: 20px !important;
}

@media screen and (max-width: 768px) {
    .btn-playlist__icon {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Play/Pause button specific */
#mainPlayPause .play-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* When music is PLAYING - show pause icon, hide triangle */
a.play_event:not(.paused) img {
    display: inline-block !important;
}

a.play_event:not(.paused) .triangle-1 {
    display: none !important;
}

/* When music is STOPPED - show triangle, hide pause icon */
a.play_event.paused img {
    display: none !important;
}

a.play_event.paused .triangle-1 {
    display: inline-block !important;
}

/* Keep everything centered */
a.play_event i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

a.play_event:hover {
    background-color: rgba(117, 208, 164, 0.1) !important;
    border-color: #75d0a4 !important;
}

a.play_event:hover i {
    transform: scale(0.9) !important;
}

a.play_event:hover img {
    filter: brightness(0) saturate(100%) invert(74%) sepia(18%) saturate(876%) hue-rotate(98deg) brightness(92%) contrast(87%) !important;
}

a.play_event:hover .triangle-1 {
    border-left-color: #75d0a4 !important;
}

a.play_event .triangle-1,
a.play_event.paused .triangle-1 {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 !important;
    border-left: 14px solid #fff !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-right: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ===== SHARING BUTTONS ===== */
.vk,
.fb-like,
.tg-like,
#copyLink {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.vk svg,
.fb-like svg,
.tg-like svg,
#copyLink svg {
    width: 26px !important;
    height: 26px !important;
}

.vk:hover,
.fb-like:hover,
.tg-like:hover,
#copyLink:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

#copyLink svg {
    width: 24px !important;
    height: 24px !important;
}

/* ===== FOOTER BUTTONS ===== */
#enterFullScreen,
#exitFullScreen {
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.05);
}

#enterFullScreen:hover,
#exitFullScreen:hover {
    transform: scale(1.1);
    border-color: #75d0a4;
    background-color: rgba(117, 208, 164, 0.15);
}

#icon2,
#icon1 {
    transition: transform 0.2s ease;
    cursor: pointer;
}

#icon2:hover,
#icon1:hover {
    transform: scale(1.1);
}

/* ===== MOOD ONBOARDING OVERLAY ===== */
.onboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.onboard-overlay._visible {
    opacity: 1;
    visibility: visible;
}

.onboard-overlay__title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 2rem;
    text-align: center;
}

.onboard-overlay__subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: -0.2px;
    margin-top: -1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.onboard-overlay__cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.onboard-overlay__card {
    width: 280px;
    height: 140px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
    border: 3px solid rgba(255, 255, 255, 0.35);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
}

.onboard-overlay__card:not(._selected) {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.onboard-overlay__card:hover {
    transform: scale(1.05);
    animation: none;
}

.onboard-overlay__card._selected {
    animation: none;
}

.onboard-overlay__card[data-mood="1"]._selected,
.onboard-overlay__card[data-mood="1"]:hover {
    border-color: #f2994a;
    box-shadow: 0 0 25px rgba(242, 153, 74, 0.6);
}

.onboard-overlay__card[data-mood="1"]._selected {
    transform: scale(1.08);
    background: rgba(242, 153, 74, 0.12);
}

.onboard-overlay__card[data-mood="2"]._selected,
.onboard-overlay__card[data-mood="2"]:hover {
    border-color: #56ccf2;
    box-shadow: 0 0 25px rgba(86, 204, 242, 0.6);
}

.onboard-overlay__card[data-mood="2"]._selected {
    transform: scale(1.08);
    background: rgba(86, 204, 242, 0.12);
}

.onboard-overlay__card[data-mood="3"]._selected,
.onboard-overlay__card[data-mood="3"]:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.6);
}

.onboard-overlay__card[data-mood="3"]._selected {
    transform: scale(1.08);
    background: rgba(45, 212, 191, 0.12);
}

.onboard-overlay__card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(255, 255, 255, 0.2);
    filter: brightness(1.3) contrast(1.15);
}

.onboard-overlay__card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.onboard-overlay__card[data-mood="1"]._selected .onboard-overlay__card-label {
    background: linear-gradient(transparent, rgba(242, 153, 74, 0.5), rgba(242, 153, 74, 0.85));
}

.onboard-overlay__card[data-mood="2"]._selected .onboard-overlay__card-label {
    background: linear-gradient(transparent, rgba(86, 204, 242, 0.5), rgba(86, 204, 242, 0.85));
}

.onboard-overlay__card[data-mood="3"]._selected .onboard-overlay__card-label {
    background: linear-gradient(transparent, rgba(45, 212, 191, 0.5), rgba(45, 212, 191, 0.85));
}

.onboard-overlay__btn {
    min-width: 180px;
    height: 50px;
    border-radius: 25px;
    background: #75d0a4;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    letter-spacing: -0.3px;
}

.onboard-overlay__btn:hover {
    background: #56ccf2;
    transform: scale(1.05);
}

.onboard-overlay__close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    z-index: 10;
}

.onboard-overlay__close:hover {
    color: #fff;
}

.onboard-overlay__privacy {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    padding: 0 1rem;
}

.onboard-overlay__privacy a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    cursor: pointer;
}

.onboard-overlay__privacy a:hover {
    color: #fff;
}

.popup_privacy_policy._visible {
    z-index: 10000 !important;
}

@media (max-width: 540px) {
    .onboard-overlay__cards {
        gap: 0.7rem;
    }
    .onboard-overlay__card {
        width: 85vw;
        height: 140px;
        max-width: 300px;
    }
    .onboard-overlay__title {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    .onboard-overlay {
        padding-bottom: 50px;
    }
    .onboard-overlay__privacy {
        bottom: 15px;
        font-size: 0.7rem;
    }
}

/* ===== MINI MOOD CARDS IN MENU ===== */
.menu__filter-moods {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-top: 50px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    min-height: 100%;
}

.menu__filter-moods .menu__filter_item {
    display: block;
    margin-left: 0;
    width: 100%;
    margin-bottom: 8px;
}

.mood-mini-card {
    width: 60%;
    max-width: 100%;
    height: 65px;
    margin: 0 auto;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    background: rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.mood-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.mood-mini-card:hover {
    transform: scale(1.03);
}

.mood-mini-card._selected {
    transform: scale(1.04);
}

.mood-mini-card.card-party._selected,
.mood-mini-card.card-party:hover {
    border-color: #f2994a;
    box-shadow: 0 0 15px rgba(242, 153, 74, 0.5);
    background: rgba(242, 153, 74, 0.1);
}

.mood-mini-card.card-party._selected .mood-mini-card-label {
    background: linear-gradient(transparent, rgba(242, 153, 74, 0.5), rgba(242, 153, 74, 0.8));
}

.mood-mini-card.card-think._selected,
.mood-mini-card.card-think:hover {
    border-color: #56ccf2;
    box-shadow: 0 0 15px rgba(86, 204, 242, 0.5);
    background: rgba(86, 204, 242, 0.1);
}

.mood-mini-card.card-think._selected .mood-mini-card-label {
    background: linear-gradient(transparent, rgba(86, 204, 242, 0.5), rgba(86, 204, 242, 0.8));
}

.mood-mini-card.card-chill._selected,
.mood-mini-card.card-chill:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.5);
    background: rgba(45, 212, 191, 0.1);
}

.mood-mini-card.card-chill._selected .mood-mini-card-label {
    background: linear-gradient(transparent, rgba(45, 212, 191, 0.5), rgba(45, 212, 191, 0.8));
}

.mood-mini-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.mood-mini-card:not(._selected) .mood-mini-card-label {
    opacity: 0.5;
}

/* ===== IMPROVED POPUP BUTTON (Add to Playlist) ===== */
.popup__btn.add-pl {
    background: linear-gradient(135deg, #75d0a4, #56ccf2) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.8px !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.popup__btn.add-pl:hover {
    background: linear-gradient(135deg, #56ccf2, #75d0a4) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.popup__btn.add-pl:active {
    transform: scale(0.98) !important;
}

.popup__btn.add-pl:hover svg,
.popup__btn.add-pl:hover span {
    transform: none !important;
    opacity: 1 !important;
}

.popup__btn.add-pl svg {
    margin: 0 !important;
    vertical-align: middle !important;
}

.popup__btn.add-pl span {
    vertical-align: middle !important;
}

/* ===== UNIFIED BUTTON HOVER EFFECTS (POP-OUT) ===== */

/* All player buttons */
.s_btns > a:hover,
a.btn-playlist:hover,
#ratings:hover,
#ff_rewind:hover,
#mainPlayPause:hover,
#ff:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.05) !important;
}

/* Rewind icon color change on hover */
#ff_rewind:hover svg path {
    fill: #75d0a4 !important;
}

/* Sharing buttons */
.vk:hover,
.fb-like:hover,
.tg-like:hover,
#copyLink:hover {
    transform: scale(1.1) !important;
    opacity: 0.8 !important;
}

/* Footer buttons */
#enterFullScreen:hover,
#exitFullScreen:hover {
    transform: scale(1.1) !important;
    border-color: #75d0a4 !important;
}

#icon1:hover,
#icon2:hover {
    transform: scale(1.1) !important;
}

/* Hide horizontal scrollbar when hovering playlist rows */
.playlist__table_wrp {
    overflow-x: hidden !important;
}

/* Popup button */
.popup__btn.add-pl:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Login button */
.header__login:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Close buttons (excluding menu close button) */
._close_pop:hover,
._close_popup:hover {
    transform: scale(1.05) !important;
}

/* ===== MENU CLOSE BUTTON - SMOOTH POP-OUT ===== */
.js-menu-close {
    transition: transform 0.2s ease !important;
}

.js-menu-close:hover {
    transform: translate3d(-50%, -50%, 0) scale(1.05) !important;
    background: #607D8B !important;
    box-shadow: 0 0 20px 3px #fff !important;
}

/* ===== FOOTER SPACING FOR REAL MOBILE DEVICES ===== */
.footer_volume_flex {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.footer_volume_flex #enterFullScreen,
.footer_volume_flex .addApp {
    margin: 0 !important;
    padding: 4px !important;
}

.flex.items-center.justify-end {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

/* ===== BOLD TOOLTIPS FOR ALL PLAYER BUTTONS ===== */
.s_btns > a small,
.s_btns__next small,
.s_btns__rewind small,
.btn-playlist small,
#repeat small,
#ratings small,
#ff_rewind small,
#mainPlayPause small,
#ff small {
    font-weight: 700 !important;
}

/* ===== PLAYLIST BUTTONS POP-OUT & TOOLTIPS ===== */

/* Shuffle button - target parent th */
th.t_action.shuffle {
    position: relative !important;
}

.t_action__shuffle_tooltip {
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-8px) !important;
    background: transparent !important;
    color: #56ccf2 !important;
    font-size: 12.8px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.15s ease, transform 0.3s ease !important;
    pointer-events: none !important;
    z-index: 1000 !important;
}

th.t_action.shuffle:hover .t_action__shuffle_tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Pop-out effect for Shuffle icon */
th.t_action.shuffle:hover svg {
    transform: scale(1.1) !important;
    transition: transform 0.2s ease !important;
}

/* Upload button tooltip */
.btn-upload.uploadButton.artistHiddenBlocks {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.btn-upload.uploadButton.artistHiddenBlocks:after {
    content: "Upload Track";
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-8px) !important;
    background: transparent !important;
    color: #56ccf2 !important;
    font-size: 12.8px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.15s ease, transform 0.3s ease !important;
    pointer-events: none !important;
    z-index: 1000 !important;
}

.btn-upload.uploadButton.artistHiddenBlocks:hover:after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Pop-out effect for Upload button */
.btn-upload.uploadButton.artistHiddenBlocks:hover {
    transform: scale(1.05) !important;
}

/* Close button pop-out */
.btn-close.js-playlist-close:hover {
    transform: scale(1.15) !important;
    transition: transform 0.2s ease !important;
}

/* Override Shuffle active color from red to green */
.playlist__table th .t_action__shuffle._active,
.playlist__table td .t_action__shuffle._active,
.rating__table th .t_action__shuffle._active,
.rating__table td .t_action__shuffle._active {
    background-color: #75d0a4 !important;
}

/* Playlist button icon turns green on hover */
.btn-playlist:hover svg path {
    stroke: #75d0a4 !important;
}

/* If the icon uses fill instead of stroke */
.btn-playlist:hover svg {
    fill: #75d0a4 !important;
}

/* ===== PLAYLIST HIGHLIGHT FIX - Keep current track highlighted even when paused ===== */

/* Force highlight on the current playing/paused track */
.playlist__table tbody tr.currentPlaylist {
    background-color: #75d0a4 !important;
}

/* Ensure active class also has same color (fallback) */
.playlist__table tbody tr._active {
    background-color: #75d0a4 !important;
}

/* Fix triangle border color for active rows (both currentPlaylist and _active) */
.playlist__table tbody tr.currentPlaylist td.t_number .triangle-1,
.playlist__table tbody tr.currentPlaylist td.t_number .triangle-2,
.playlist__table tbody tr._active td.t_number .triangle-1,
.playlist__table tbody tr._active td.t_number .triangle-2 {
    border-right-color: #75d0a4 !important;
}

/* ===== RATING TABLE (TOP 50) ACTIVE ROW STYLES ===== */
.rating__table tbody tr._active td.t_number .triangle-1,
.rating__table tbody tr._active td.t_number .triangle-2,
.rating__table tbody tr.currentPlaylist td.t_number .triangle-1,
.rating__table tbody tr.currentPlaylist td.t_number .triangle-2 {
    border-right-color: #75d0a4 !important;
}

.rating__table tbody tr._active .play-button,
.rating__table tbody tr.currentPlaylist .play-button {
    color: #ffffff !important;
}

.rating__table tbody tr._active .t_number .play-button,
.rating__table tbody tr.currentPlaylist .t_number .play-button {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}