.music-feedback {
    width: min(100%, 360px);
    box-sizing: border-box;
    margin: 10px auto 2px;
    padding: 8px 10px;
    border: 1px solid rgba(188, 115, 255, .2);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(106, 0, 255, .08), rgba(255, 0, 127, .06));
    transition: border-color .2s ease, opacity .2s ease;
}

.music-feedback[hidden] {
    display: none;
}

.music-feedback__title {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .78);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.music-feedback__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.music-feedback__button {
    display: inline-flex;
    min-width: 104px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(10, 8, 15, .72);
    color: rgba(255, 255, 255, .82);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.music-feedback__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.music-feedback__button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(209, 130, 255, .55);
}

.music-feedback__button:focus-visible,
.music-feedback__cancel:focus-visible {
    outline: 3px solid rgba(255, 63, 154, .42);
    outline-offset: 2px;
}

.music-feedback__button.is-selected[data-feedback-action="like"] {
    border-color: rgba(166, 108, 255, .8);
    background: linear-gradient(135deg, rgba(106, 0, 255, .48), rgba(154, 44, 255, .32));
    box-shadow: 0 0 16px rgba(126, 45, 255, .25);
    color: #fff;
}

.music-feedback__button.is-selected[data-feedback-action="remove"] {
    border-color: rgba(255, 74, 153, .82);
    background: linear-gradient(135deg, rgba(190, 16, 111, .45), rgba(255, 0, 127, .28));
    box-shadow: 0 0 16px rgba(255, 0, 127, .22);
    color: #fff;
}

.music-feedback__button:disabled {
    cursor: default;
    opacity: .62;
}

.music-feedback__cancel {
    flex: 0 0 100%;
    min-height: 32px;
    padding: 4px 7px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .58);
    font: inherit;
    font-size: .72rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.music-feedback__status {
    min-height: 16px;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .56);
    font-size: .68rem;
    line-height: 1.3;
}

.music-feedback.is-unavailable {
    padding-block: 8px;
    opacity: .8;
}

.music-feedback.is-unavailable .music-feedback__title {
    margin-bottom: 2px;
}

.music-feedback.is-busy {
    border-color: rgba(255, 63, 154, .32);
}

@media (max-width: 420px) {
    .music-feedback {
        width: 100%;
        padding-inline: 9px;
    }

    .music-feedback__actions {
        gap: 6px;
    }

    .music-feedback__button {
        min-width: 0;
        min-height: 46px;
        flex: 1 1 0;
        padding-inline: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .music-feedback,
    .music-feedback__button {
        transition: none;
    }
}
