/* – schlanker Universal Player */

.fhmr-player {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) 150px;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    box-sizing: border-box;
    background: #050b16;
    color: #fff;
    border: 1px solid #18283d;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.fhmr-player__brand {
    min-width: 130px;
}

.fhmr-player__name {
    font-weight: 700;
    line-height: 1.2;
}

.fhmr-player__status {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #9aa7b8;
}

.fhmr-player__status.is-online {
    color: #55d88a;
}

.fhmr-player__live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #e85b72;
    vertical-align: middle;
}

.fhmr-player__status.is-online::before {
    content: "● ";
}

.fhmr-player__play {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #82c2de;
    color: #07111d;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.fhmr-player__play:hover {
    filter: brightness(1.08);
}

.fhmr-player__song {
    min-width: 0;
}

.fhmr-player__artist,
.fhmr-player__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fhmr-player__artist {
    font-size: 13px;
    color: #9fb0c4;
}

.fhmr-player__title {
    margin-top: 3px;
    font-size: 16px;
    font-weight: 700;
}

.fhmr-player__volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fhmr-player__volume input {
    width: 100%;
    accent-color: #82c2de;
}

@media (max-width: 700px) {
    .fhmr-player {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .fhmr-player__brand {
        min-width: 0;
    }

    .fhmr-player__song {
        grid-column: 2 / 4;
        grid-row: 2;
    }

    .fhmr-player__volume {
        width: 95px;
    }
}

@media (max-width: 430px) {
    .fhmr-player {
        grid-template-columns: auto 1fr;
    }

    .fhmr-player__brand {
        grid-column: 1 / 2;
    }

    .fhmr-player__play {
        grid-column: 2 / 3;
        justify-self: end;
    }

    .fhmr-player__song {
        grid-column: 1 / 3;
    }

    .fhmr-player__volume {
        grid-column: 1 / 3;
        width: 100%;
    }
}

/* ET-Chat integration: keep the original FunHitMixRadio player appearance. */
.et-radio-player { margin: 0 0 14px; }
.et-radio-player.is-disabled { opacity: .78; }
.et-radio-player .fhmr-player__play:disabled,
.et-radio-player .fhmr-player__volume input:disabled { cursor: not-allowed; opacity: .55; }
html[data-theme="light"] .et-radio-player { background:#f7faff; color:#17243b; border-color:#cbd9ed; box-shadow:0 8px 24px rgba(30,60,100,.10); }
html[data-theme="light"] .et-radio-player .fhmr-player__artist { color:#5e6f86; }
html[data-theme="light"] .et-radio-player .fhmr-player__status { color:#68758b; }
html[data-theme="light"] .et-radio-player .fhmr-player__status.is-online { color:#16885d; }


/* ET-Chat: kompakte Sidebar-Anordnung – Lautstärkeregler unter dem Player */
.online-sidebar .et-radio-player .fhmr-player {
    width: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-rows: auto auto auto;
    gap: 9px 10px;
    padding: 12px;
}
.online-sidebar .et-radio-player .fhmr-player__brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}
.online-sidebar .et-radio-player .fhmr-player__play {
    grid-column: 2;
    grid-row: 1;
    width: 42px;
    height: 42px;
}
.online-sidebar .et-radio-player .fhmr-player__song {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
}
.online-sidebar .et-radio-player .fhmr-player__volume {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
    padding-top: 2px;
}
.online-sidebar .et-radio-player .fhmr-player__volume input {
    width: 100%;
    min-width: 0;
}
