/* Shared finishing touches for controls that appear across player and modal surfaces. */
.ofm-icon-button--close {
    appearance: none;
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #f8f8f8 !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 1 !important;
    transition: transform .16s ease, color .16s ease, background-color .16s ease, border-color .16s ease;
}

.ofm-icon-button--close::before {
    content: '\00d7';
    display: block;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.ofm-icon-button--close:hover,
.ofm-icon-button--close:focus-visible {
    color: #171717 !important;
    background: #ffc72c !important;
    border-color: #ffc72c !important;
    outline: none !important;
    transform: scale(1.04);
}

.ofm-icon-button--close:focus-visible {
    box-shadow: 0 0 0 3px rgba(255,199,44,.28) !important;
}

#ofm-queue-close.ofm-icon-button--close {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    color: #f8f8f8 !important;
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: none !important;
}

#ofm-queue-close.ofm-icon-button--close::before {
    font-size: 30px;
    line-height: 1;
}

#ofm-queue-close.ofm-icon-button--close:hover,
#ofm-queue-close.ofm-icon-button--close:focus-visible {
    color: #171717 !important;
    background: #ffc72c !important;
    border-color: #ffc72c !important;
}

#ofm-queue-close.ofm-icon-button--close:focus-visible {
    box-shadow: 0 0 0 3px rgba(255,199,44,.28) !important;
}

@media (max-width: 600px) {
    .ofm-icon-button--close,
    #ofm-queue-close.ofm-icon-button--close {
        width: 44px !important;
        min-width: 44px;
        height: 44px !important;
        min-height: 44px !important;
    }
}
