/* ===== ROOM COVER ===== */
.rs-cover {
    position: relative;
    width: calc(100% + 40px);
    height: 130px;
    background: #e8eaf0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin: 0 -20px 15px -20px;
}
.rs-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #999;
    background-size: cover;
    background-position: center;
}
.rs-cover-placeholder.roombackground_size {
    color: transparent;
}
.rs-cover-actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.rs-cover-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.rs-cover-btn:hover { background: rgba(0,0,0,0.8); }
.rs-cover-btn label { cursor: pointer; margin: 0; }

/* ===== ODA LOGOSU ===== */
.rs-logo-section { padding-bottom: 5px; }
.rs-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rs-logo-preview {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #e8eaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #ddd;
}
.rs-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.rs-logo-empty { color: #bbb; font-size: 22px; }
.rs-logo-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rs-logo-pos-row select { margin-top: 4px; }


/* ===== YILDIZ SİSTEMİ ===== */
@keyframes starWave {
    0%   { opacity: 0.7;  transform: translateY(0) scale(0.9);
           filter: brightness(1.1) drop-shadow(0 0 2px var(--sc, currentColor)); }
    20%  { opacity: 1;    transform: translateY(-3px) scale(1.3);
           filter: brightness(2.4) drop-shadow(0 0 6px var(--sc, currentColor)) drop-shadow(0 0 14px var(--sc, currentColor)); }
    50%  { opacity: 0.8;  transform: translateY(0) scale(0.95);
           filter: brightness(1.4) drop-shadow(0 0 4px var(--sc, currentColor)); }
    75%  { opacity: 1;    transform: translateY(-2px) scale(1.2);
           filter: brightness(2.0) drop-shadow(0 0 8px var(--sc, currentColor)) drop-shadow(0 0 16px var(--sc, currentColor)); }
    100% { opacity: 0.7;  transform: translateY(0) scale(0.9);
           filter: brightness(1.1) drop-shadow(0 0 2px var(--sc, currentColor)); }
}
.rank-star {
    width: 7px;
    height: 7px;
    display: inline-block;
    vertical-align: middle;
    animation: starWave 5s ease-in-out infinite;
}
.brd_rank_star {
    font-size: 8px;
    vertical-align: middle;
    animation: starWave 5s ease-in-out infinite;
}
.list_star {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1px;
    margin: 2px 0 0 0;
    padding: 0;
    line-height: 1;
    overflow: visible;
}
.user_item_data { overflow: visible !important; text-overflow: clip !important; }
.user_item_data .username { overflow: visible !important; white-space: nowrap !important; text-overflow: clip !important; max-width: none !important; }

/* ========== RADYO PLAYER ========== */
.rp_header {
    padding: 14px 16px 10px !important;
    display: block !important;
    position: relative;
}
.rp_header_btns {
    position: absolute; top: 10px; right: 10px;
    display: flex; gap: 6px; z-index: 2;
}
.rp_minimize, .rp_close {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2); border: none; border-radius: 50%;
    font-size: 11px; cursor: pointer; transition: all 0.2s;
}
.rp_minimize:hover { background: rgba(255,255,255,0.15); }
.rp_close:hover { background: rgba(239,68,68,0.6); color:#fff; }
.rp_visualizer {
    display: flex; align-items: flex-end;
    gap: 3px; height: 22px; flex-shrink: 0;
}
.rp_bar {
    width: 4px; border-radius: 2px;
    animation: rp_wave 1s ease-in-out infinite;
}
.rp_bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.rp_bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.rp_bar:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.rp_bar:nth-child(4) { height: 60%; animation-delay: 0.45s; }
@keyframes rp_wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
.rp_live_badge {
    display: inline-block; background: #ef4444; color: #fff;
    font-size: 13px; font-weight: 700; padding: 4px 14px;
    border-radius: 6px; letter-spacing: 0.5px;
    animation: livePulse 2s infinite; margin-right: 8px;
}
@keyframes livePulse { 0%,100%{opacity:1;} 50%{opacity:0.7;} }
.rp_song_marquee_wrap {
    display: flex !important; align-items: center !important;
    gap: 6px !important; margin-top: 8px;
}
.rp_song_label {
    color: rgba(255,255,255,0.8) !important; font-size: 11px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.rp_song_marquee {
    overflow: hidden !important; border: 1px solid rgba(128,128,128,0.3);
    border-radius: 6px; padding: 5px 10px;
    background: rgba(128,128,128,0.1); white-space: nowrap; flex: 1;
}
.kayan_yazi {
    display: inline-block !important; white-space: nowrap !important;
    color: #fff !important; font-size: 12px !important;
    font-weight: 500 !important; animation: rp_marquee 10s linear infinite !important;
}
@keyframes rp_marquee {
    0% { transform: translateX(80%); }
    100% { transform: translateX(-100%); }
}
.rp_dj_section { padding: 10px 16px; }
.rp_dj_row { display: flex; align-items: center; justify-content: space-between; }
.rp_dj_left { display: flex; align-items: center; gap: 8px; }
.rp_dj_mic { font-size: 16px; }
.rp_dj_label { font-size: 13px; font-weight: 700; }
.rp_dj_name_box {
    border-radius: 6px; padding: 4px 12px;
    font-size: 13px; font-weight: 700;
}
.rp_dj_time_box {
    border-radius: 6px; padding: 4px 10px;
    font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}
.rp_dj_right { display: flex; align-items: center; gap: 10px; }
.count_button.player_ok_btn {
    border-radius: 20px; font-size: 13px; padding: 5px 12px;
    cursor: pointer; transition: background 0.2s;
}
.rp_controls {
    display: flex !important; align-items: center !important;
    gap: 12px !important; padding: 14px 16px !important;
}
.rp_station_btn {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 14px; cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.splay_btn, #player_actual_status {
    border-radius: 50% !important; width: 52px !important; height: 52px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    transition: transform 0.2s !important;
    flex-shrink: 0 !important; cursor: pointer !important;
    position: relative !important; border: none !important;
}
.splay_btn:hover, #player_actual_status:hover { transform: scale(1.08) !important; }
#current_play_btn { font-size: 18px !important; color: #fff !important; position: relative; z-index: 1; }
#player_actual_status::before, #player_actual_status::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 2px solid rgba(128,128,128,0.3);
    animation: rp_pulse 2s ease-out infinite; pointer-events: none;
}
#player_actual_status::after { animation-delay: 1s; }
@keyframes rp_pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2); opacity: 0; }
}
.rp_station_name { flex: 1; min-width: 0; }
.rp_label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; opacity: 0.6; }
#current_station { font-weight: 600 !important; font-size: 14px !important; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp_volume {
    display: flex !important; align-items: center !important;
    gap: 10px !important; padding: 8px 16px 12px !important;
}
#sound_display { font-size: 14px !important; flex-shrink: 0; width: auto !important; }
#player_volume, .boom_slider { flex: 1 !important; }
#slider { border-radius: 4px !important; height: 4px !important; }
#slider .ui-slider-range { border-radius: 4px !important; }
#slider .ui-slider-handle {
    border-radius: 50% !important; width: 14px !important; height: 14px !important;
    top: -5px !important; cursor: pointer !important; outline: none !important;
}
.rp_actions {
    display: flex !important; gap: 8px !important;
    padding: 12px 16px !important;
}
.rp_btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 600; border: 1px solid; cursor: pointer; transition: all 0.2s;
}
.rp_btn_leave { border-color: #e74c3c; color: #e74c3c; }
.rp_btn_leave:hover { opacity: 0.8; }
.player_volume { display: none !important; }
.cur_play { padding: 0 !important; }
.player_wrap.hpad5 { padding: 0 !important; }
#radio_iframe { display: none !important; }
.user_item_avatar .radio_listen_icon { position: absolute; left: 30px; bottom: -2px; font-size: 10px !important; }
.rp_mini_player { position: fixed !important; bottom: 80px !important; right: 20px !important; z-index: 9999 !important; cursor: pointer !important; }
.rp_mini_inner { position: relative !important; width: 56px !important; height: 56px !important; }
.rp_mini_circle {
    width: 35px !important; height: 35px !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    position: relative !important; z-index: 3 !important;
}
.rp_mini_circle i { font-size: 20px !important; }
.rp_mini_pulse {
    position: absolute !important; top: 50% !important; left: 50% !important;
    width: 35px !important; height: 35px !important;
    margin-top: -28px !important; margin-left: -28px !important;
    border-radius: 50% !important; border: 2px solid rgba(128,128,128,0.5) !important;
    animation: djPulse 1.8s ease-out infinite !important;
    z-index: 1 !important; pointer-events: none !important; box-sizing: border-box !important;
}
.rp_mini_pulse2 { animation-delay: 0.9s !important; }
@keyframes djPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.65); opacity: 0; }
}
.dj-note { position: absolute; font-size: 12px; opacity: 0; z-index: 4; pointer-events: none; }
.dj-note-1 { top: -2px; left: 2px; animation: noteFloat1 3s ease-in-out infinite; }
.dj-note-2 { top: 5px; right: -8px; animation: noteFloat2 3.5s ease-in-out infinite 0.5s; }
.dj-note-3 { bottom: 2px; left: -4px; animation: noteFloat3 4s ease-in-out infinite 1s; }
.dj-note-4 { bottom: -2px; right: -2px; animation: noteFloat4 3.2s ease-in-out infinite 1.5s; }
.rp_mini_inner .dj-note { font-size: 16px !important; }
@keyframes noteFloat1 { 0%{opacity:0;transform:translate(0,0) scale(0.5) rotate(0deg);} 15%{opacity:1;} 80%{opacity:0.6;} 100%{opacity:0;transform:translate(-14px,-22px) scale(1.1) rotate(-30deg);} }
@keyframes noteFloat2 { 0%{opacity:0;transform:translate(0,0) scale(0.5) rotate(0deg);} 15%{opacity:1;} 80%{opacity:0.6;} 100%{opacity:0;transform:translate(16px,-20px) scale(1.1) rotate(25deg);} }
@keyframes noteFloat3 { 0%{opacity:0;transform:translate(0,0) scale(0.5) rotate(0deg);} 15%{opacity:1;} 80%{opacity:0.6;} 100%{opacity:0;transform:translate(-18px,-18px) scale(1) rotate(-20deg);} }
@keyframes noteFloat4 { 0%{opacity:0;transform:translate(0,0) scale(0.5) rotate(0deg);} 15%{opacity:1;} 80%{opacity:0.6;} 100%{opacity:0;transform:translate(12px,-24px) scale(1.1) rotate(35deg);} }
@media (max-width: 480px) {
    #player_menu.float_menu { width: 95vw !important; left: 2.5vw !important; right: 2.5vw !important; }
    .rp_controls { padding: 12px; gap: 10px; }
    .splay_btn, #player_actual_status { width: 46px !important; height: 46px !important; }
    #current_play_btn { font-size: 16px !important; }
    .rp_btn { padding: 8px 10px; font-size: 11px; }
}
