/* الراديو — مطابق للتصميم المرجعي */

#chat__body__live-pane.yc-live-pane--radio {
    background: #3a4449 !important;
}

#chat__body__live-pane.yc-live-pane--radio,
#chat__body__live-pane.yc-live-pane--radio .chat_pane__container {
    min-height: 12rem;
}

#chat__body__live-pane.yc-live-pane--radio > .chat_pane__header {
    background: #454d52 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

#chat__body__live-pane.yc-live-pane--radio > .chat_pane__header .chat_pane__header__title {
    color: #fff !important;
    font-weight: 700;
}

#chat__body__live-pane.yc-live-pane--radio .chat_pane__container {
    border: none !important;
    background: #3a4449 !important;
    height: calc(100% - 1.45rem) !important;
    overflow: hidden !important;
    padding: 0.45rem 0.42rem 0.35rem !important;
}

.yc-radio-lounge {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    color: #fff;
    font-family: tahoma, "Segoe UI", sans-serif;
}

.yc-radio-lounge--disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

/* بطاقة التشغيل العلوية */
.yc-radio-lounge__player {
    flex-shrink: 0;
    background: #555b60;
    border-radius: 0.55rem;
    padding: 0.62rem 0.55rem 0.5rem;
    text-align: center;
}

.yc-radio-lounge__station-name {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    min-height: 1.15rem;
}

.yc-radio-lounge__player-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
}

.yc-radio-lounge__toggle {
    width: 2.45rem;
    height: 2.45rem;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.yc-radio-lounge__toggle--play {
    background: linear-gradient(180deg, #5cb85c 0%, #449d44 100%);
}

.yc-radio-lounge__toggle--stop {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
}

.yc-radio-lounge__toggle-icon {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.yc-radio-lounge__toggle-icon--stop {
    width: 0.62rem;
    height: 0.62rem;
    background: #fff;
    border-radius: 2px;
    display: block;
}

.yc-radio-lounge__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.yc-radio-lounge__volume-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    max-width: 68%;
}

.yc-radio-lounge__volume {
    flex: 1;
    min-width: 0;
    accent-color: #9b59b6;
    height: 0.32rem;
    cursor: pointer;
}

.yc-radio-lounge__vol-icon {
    font-size: 0.72rem;
    line-height: 1;
    opacity: 0.9;
    flex-shrink: 0;
}

.yc-radio-lounge__status {
    margin: 0.42rem 0 0;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.88);
}

.yc-radio-lounge__status.is-live {
    color: #fff;
}

.yc-radio-lounge__status.is-error {
    color: #ffb4b4;
}

/* تبويبات التصنيف */
.yc-radio-lounge__tabs {
    display: flex;
    gap: 0.28rem;
    margin: 0.42rem 0 0.38rem;
    flex-shrink: 0;
}

.yc-radio-lounge__tab {
    flex: 1;
    border: none;
    border-radius: 0.42rem;
    padding: 0.32rem 0.18rem;
    background: #555b60;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.yc-radio-lounge__tab:hover,
.yc-radio-lounge__tab.is-active {
    background: #656d73;
}

/* قائمة المحطات */
.yc-radio-lounge__list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-bottom: 0.15rem;
}

.yc-radio-lounge__section-title {
    margin: 0.18rem 0 0.08rem;
    padding: 0.12rem 0.15rem 0;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-align: right;
}

.yc-radio-lounge__station {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    border: none;
    background: #555b60;
    border-radius: 0.42rem;
    padding: 0.42rem 0.48rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    transition: background 0.15s ease;
}

.yc-radio-lounge__station:hover {
    background: #606870;
}

.yc-radio-lounge__station.is-active {
    background: #9b59b6;
}

.yc-radio-lounge__station-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0 1rem;
}

.yc-radio-lounge__station-speaker {
    position: absolute;
    left: 0.48rem;
    right: auto;
    flex-shrink: 0;
    font-size: 0.72rem;
    opacity: 0;
    width: 0.85rem;
    text-align: center;
}

.yc-radio-lounge__station.is-active .yc-radio-lounge__station-speaker {
    opacity: 1;
}

.yc-radio-lounge__empty {
    margin: 0.8rem 0;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
}

#chat__body__live-pane.yc-live-pane--radio #radio-container,
#chat__body__live-pane.yc-live-pane--radio #chat__body__live-pane__tv {
    display: none !important;
}
