
/* ============================================================
   RADIO PLAYER - 2026
   ============================================================ */

span.radio_sayixxl {
    top: 17px;
    left: 31px;
    padding: 0 3px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 700;
    background: red;
    position: absolute;
    color: #fff;
}

.radio_sayi {
    top: 6px;
    left: 15px;
    padding: 1px 3px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    background: red;
    position: absolute;
    color: #fff;

}

.radio-tag{
    padding: 3px 6px;
    border-radius: 5px;
    font-size:.8rem
}

.radio-sarki-tag {
    min-width: 100%;
    padding: 8px;
    margin-bottom: 6px;
}

/* ========================================
   MODERN RADIO PLAYER - BEYAZ SADE TASARIM
   ======================================== */
   
#current_player {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}

.rp_header {
    background: #ffffff !important;
    padding: 14px 18px 12px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    display: block !important;
    position: relative;
}

.rp_header_btns {
    position: relative;
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.rp_minimize, .rp_close {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb; border-radius: 8px;
    color: #9ca3af; font-size: 11px; cursor: pointer;
    transition: all 0.15s ease;
}

.rp_minimize:hover { background: #f3f4f6; color: #6b7280; border-color: #d1d5db; }

.rp_live_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp_song_frame {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.rp_visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
    flex-shrink: 0;
}

.rp_bar {
    width: 3px; border-radius: 2px; background: #6366f1;
    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; }

.rp_bar:nth-child(5) { height: 80%; animation-delay: 0.6s; }

@keyframes rp_wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.rp_live_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef2f2;
    color: #ef4444;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    letter-spacing: 0.3px;
}

.rp_live_badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: liveDot 1.5s ease-in-out infinite;
}

.rp_song_label {
    display: none;
}

.rp_song_marquee_wrap {
    margin-top: 0;
}

.rp_song_prefix {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 6px;
}

.rp_song_marquee {
    overflow: hidden !important;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.rp_song_scroll, #bordox_calansarki, #sonic_history {
    display: inline-block !important;
    white-space: nowrap !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    animation: rp_marquee 12s linear infinite !important;
}

#sonic_history:empty { display: none !important; }

@keyframes rp_marquee {
    0% { transform: translateX(80%); }
    100% { transform: translateX(-100%); }
}

.rp_listener_box {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    color: #6366f1;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rp_listener_box:hover { background: #f3f4f6; border-color: #d1d5db; }

.rp_listener_box i { font-size: 10px; }

.rp_controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    background: #ffffff !important;
}

.rp_station_btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 8px; color: #6b7280; font-size: 13px;
    cursor: pointer; transition: all 0.15s ease; flex-shrink: 0;
}

.rp_station_btn:hover { background: #f3f4f6; color: #374151; border-color: #d1d5db; }

@keyframes rp_pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.rp_station_name { flex: 1; min-width: 0; }

.radio-sarki-tag.bback, #current_player > .radio-tag { display: none !important; }

#radio_iframe { display: none !important; }

@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; }
}

.rp-live {
    gap: 10px;
    padding: 12px 12px;
}

.rp-live{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);color:#fff;position:relative;overflow:hidden}

.rp-live::before{content:'';position:absolute;top:-30px;right:-30px;width:100px;height:100px;background:rgba(255,255,255,.1);border-radius:50%}

.rp-live::after{content:'';position:absolute;bottom:-40px;left:20px;width:80px;height:80px;background:rgba(255,255,255,.05);border-radius:50%}

.rp_song_marquee_wrap {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.1) !important;
    overflow: hidden !important;
}

.rp_song_label {
    color: rgba(255,255,255,0.85) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 5px 8px 5px 10px !important;
    background: rgba(255,255,255,0.12) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
}

.rp_song_marquee {
    flex: 1 !important;
    overflow: hidden !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 5px 10px !important;
    background: transparent !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

/* ========== MINI RADIO PLAYER v2 ========== */

.rp_mini_inner .dj-note {
    font-size: 16px !important;
    color: #ff4d4d !important;
    text-shadow: 0 0 6px rgba(255,77,77,0.6) !important;
}

.rp_dj_section {
    padding: 12px 18px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.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 {
    color: #6366f1;
    font-size: 14px;
}

.rp_dj_label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.rp_dj_name_box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.rp_dj_time_box {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rp_dj_time_box i {
    font-size: 9px;
}

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

.rp_dj_time {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

/* DJ Widget iframe */

.rp_dj_widget {
    padding: 12px 18px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
}

.rp_dj_iframe {
    width: 100%;
    height: 120px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.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;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 3 !important;
    border: 2px solid #ff4d4d !important;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.5) !important;
}

.rp_mini_circle i {
    color: #fff !important;
    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(255, 77, 77, 0.7) !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 rp_miniPulse {
    0% { width: 52px; height: 52px; margin-top: -26px; margin-left: -26px; opacity: 0.8; }
    100% { width: 80px; height: 80px; margin-top: -40px; margin-left: -40px; opacity: 0; }
}

.rp-live{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;position:relative;overflow:hidden;margin-bottom:4px}








/* ============================================================
   DJ YAYIN KARTI — 2026
   ============================================================ */

#dj-card-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    animation: djcSlideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}
#dj-card-wrap > * {
    pointer-events: auto;
}

@keyframes djcSlideDown {
    0%   { transform: translateX(-50%) translateY(-100%); opacity: 0; }
    65%  { opacity: 1; }
    82%  { transform: translateX(-50%) translateY(4px); }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Ana kart */
#dj-card {
    width: 300px;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
    border: 1px solid rgba(210, 195, 170, 0.35);
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
}

/* ── ÜST KISIM ── */
.djc-top {
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fbf9f5 0%, #f3ede2 50%, #e8dec9 100%);
    backgroundd: linear-gradient(135deg, #fbf7f0 0%, #f4eae1 50%, #ebdccb 100%);
    border-bottom: 1px solid rgba(210, 195, 170, 0.5);
}

/* ── AVATAR ── */
.djc-av-wrap {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}
.djc-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
    z-index: 2;
}

/* Mikrofon ikonu — sağ alt köşe (kırmızı nokta yerine) */
.djc-mic-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ff4757, #c0392b);
    border-radius: 50%;
    border: 2px solid #ede8dc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: djcPulse 1.5s ease-in-out infinite;
    font-size: 7px;
    color: #fff;
    line-height: 1;
}
@keyframes djcPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    50%       { box-shadow: 0 0 0 5px rgba(255, 71, 87, 0); }
}

/* ── UÇUŞAN NOTALAR ── */
.djc-note {
    position: absolute;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    z-index: 4;
    animation: djcNoteFloat var(--nd, 2.2s) ease-in var(--nd-delay, 0s) infinite;
    opacity: 0;
    color: var(--nc, #63b3ed);
    font-size: var(--nf, 11px);
    left: var(--nx, 50%);
    bottom: 36px; /* avatarın üstünden çık */
}
@keyframes djcNoteFloat {
    0%   { opacity: 0;   transform: translate(0, 0)       rotate(0deg)   scale(0.6); }
    15%  { opacity: 0.9; }
    70%  { opacity: 0.6; }
    100% { opacity: 0;   transform: translate(var(--ntx, 8px), -36px) rotate(var(--nr, 20deg)) scale(1.1); }
}

/* Ekolayzır */
.djc-eq {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 28px;
}
.djc-eq-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    transform-origin: bottom;
    animation: djcEq var(--djd, 0.4s) ease-in-out infinite alternate;
}
@keyframes djcEq {
    from { height: var(--dja, 15%); }
    to   { height: var(--djb, 90%); }
}

/* İstek butonu — üst sağ */
.djc-istek-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #7c6f5a;
    background: rgba(140, 120, 90, 0.12);
    border: 1px solid rgba(140, 120, 90, 0.3);
    border-radius: 14px;
    padding: 4px 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.djc-istek-btn:hover {
    background: rgba(140, 120, 90, 0.22);
}

/* ── ALT KISIM — açılıp kapanır ── */
.djc-bottom {
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid rgba(99, 179, 237, 0.08);
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.djc-bottom.djc-open {
    max-height: 60px;
}
.djc-bot-inner {
    padding: 8px 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* DJ adı + süre */
.djc-name-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.djc-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.djc-time-val {
    font-size: 11px;
    font-weight: 700;
    color: #63b3ed;
    font-family: monospace;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* CANLI rozet — alt sağ */
.djc-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 71, 87, 0.18);
    border: 1px solid rgba(255, 71, 87, 0.4);
    color: #ff6b7a;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.djc-live-dot {
    width: 5px;
    height: 5px;
    background: #ff4757;
    border-radius: 50%;
    display: inline-block;
    animation: djcPulse 1.5s ease-in-out infinite;
}
.djc-time-row { display: none; }

/* ── ÇALAN ŞARKI ── */
.djc-song-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    margin-left: 10px;
    background: rgba(99, 179, 237, 0.08);
    border: 1px solid rgba(99, 179, 237, 0.18);
    border-radius: 10px;
    padding: 3px 8px;
    overflow: hidden;
}
.djc-song-icon {
    font-size: 8px;
    color: #63b3ed;
    flex-shrink: 0;
    opacity: 0.8;
}
.djc-song-marquee {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}
.djc-song-marquee span {
    display: inline-block;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    animation: djcSongScroll 16s linear infinite;
    animation-delay: 0s;
    transform: translateX(0%);
}
@keyframes djcSongScroll {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-200%); }
}
