/* =====================
   ESUNUS 
   ===================== */

body, textarea, input, select, button {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}
*, *::before, *::after {
    box-sizing: border-box;
}


.over_modal_out, .over_emodal_out {
    background-color: rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
.over_modal_in, .over_emodal_in, .small_modal_in, .large_modal_in, .top_modal_in {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.05) !important;
}
.modal_top {
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    gap: 10px !important;
}
.modal_top_text {
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    flex: 1 !important;
    padding: 0 !important;
}
.modal_top_empty {
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    flex: 1 !important;
    padding: 0 !important;
}
.modal_top_element {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    flex-shrink: 0 !important;
}
.modal_top_element:hover {
    background: rgba(0,0,0,0.06) !important;
}
.modal_close {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
}
.modal_close:hover {
    background: rgba(0,0,0,0.06) !important;
}
.modal_pad {
    padding: 20px 16px !important;
}
.modal_control {
    padding: 12px 0 8px 0 !important;
}
.modal_title {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding-bottom: 12px !important;
}
.avatar_top_mod {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.avatar_top_mod img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.avatar_top_name {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 4px !important;
}


.modal_menu {
    padding: 8px 12px !important;
    font-size: 14px !important;
}
.modal_menu ul li {
    font-size: 11px !important;
    font-weight: 500 !important;
    transition: background 0.15s ease !important;
}


.small_button {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: transform 0.1s ease, box-shadow 0.15s ease !important;
}
.small_button:active {
    transform: scale(0.97) !important;
}


::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

.dark .over_modal_in, .dark .over_emodal_in, .dark .small_modal_in, .dark .large_modal_in, .dark .top_modal_in {
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06) !important;
}
.dark .modal_top {
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
.dark .modal_top_element:hover,
.dark .modal_close:hover {
    background: rgba(255,255,255,0.08) !important;
}
.dark ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}
.esunus_modal_back{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.esunus_modal_wrap{ width: 100%; display:flex; justify-content:center; }
.esunus_modal_card{
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.08);
}
body.esunus_modal_open{ overflow: hidden; }

.esunus_modal_header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 16px 18px;
    background:#fff;
    border-bottom: 1px solid rgba(0,0,0,0.10);
}
.esunus_modal_header_left{ display:flex; align-items:center; gap:12px; }
.esunus_modal_icon{
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #F3F4F6;
    border: 1px solid rgba(0,0,0,0.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111827;
}
.esunus_modal_title{
    font-size: 16px;
    font-weight: 700;
    color:#111;
    line-height: 1.1;
}
.esunus_modal_subtitle{
    margin-top: 2px;
    font-size: 12px;
    color: rgba(0,0,0,0.55);
}
.esunus_modal_close{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F3F4F6;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
}

.esunus_modal_body{
    background:#fff;
    max-height: 60vh;
    overflow:auto;
}
.esunus_rule_item{
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
}
.esunus_rule_item:last-child{ border-bottom: 0; }
.esunus_rule_title{
    font-size: 14px;
    font-weight: 700;
    color:#111;
    margin-bottom: 4px;
}
.esunus_rule_content{
    font-size: 13px;
    color: rgba(0,0,0,0.65);
    line-height: 1.5;
}
.esunus_modal_empty{
    padding: 28px 18px;
    text-align:center;
    color: rgba(0,0,0,0.55);
}
.esunus_modal_empty i{ font-size: 34px; opacity: 0.55; display:block; margin-bottom: 10px; }

.esunus_modal_footer{
    padding: 14px 18px;
    background:#fff;
    border-top: 1px solid rgba(0,0,0,0.10);
    display:flex;
    justify-content:center;
}
.esunus_modal_primary{
    padding: 10px 18px;
    border-radius: 10px;
    background: #111827;
    color:#fff;
    border: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display:flex;
    align-items:center;
    gap: 8px;
}

#wave_yazanlar .dot:nth-child(2){
    animation-delay:-1.1s
}
#wave_yazanlar .dot:nth-child(3){
    animation-delay:-.9s
}
@keyframes wave_yazanlar{
    0%,100%,60%{
        transform:initial
    }
    30%{
        transform:translateY(-5px)
    }
}


.mod_msg {
        border-left: 3px solid #4caf50;
}

.user_msg {
        border-left: 3px solid transparent;
}

/* SADECE SOHBET BALONU BEYAZ OLSUN */
.private_logs.esunus .target_private {
    background: #cdcbcb !important;
    border: 1px solid #7e7d7d91 !important;
    border-radius: 6px !important;
    padding: 2px 0px !important;
}
.room-writings-layout{
    position:absolute;
    max-width:100%;
    overflow-x:hidden;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    color:#fff;
    white-space:nowrap
}
.username.Esunus_flashnick {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: left center;
    color: transparent !important;
    font-size: 0 !important;
}
.username.Esunus_flashnick:hover {
    opacity: 0.9;
}

.boom_input {
    margin-bottom: 8px;
    outline: none;
    background: #d9d9d9;
    border-radius: 0.25rem;
    height: 47px;
    line-height: 17px;
    padding-left: 4px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    margin-top: 20px;
}
input#esunus_search_user {
    padding: 5px 9px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 5px;
}
span#total_user_count {
    display: inline;
    border: 1px solid rgba(0, 0, 0, .07);
    color: #999;
    padding: 0 0px;
    border-radius: .25rem;
}
span#room_user_count {
    display: inline;
    border: 1px solid rgba(0, 0, 0, .07);
    color: #999;
    padding: 1px 0px;
    border-radius: .25rem;
}
.bcell_mid.frightesunus {
    padding-left: 3px;
    font-weight: 700;
    color: #2196f3;
    display: block;
    position: relative;
    line-height: 50px;
    text-align: center;
    border-left: 1px solid #011525;
}
.esunusdjx {
    max-width: 40px;
    max-height: 40px;
    width: 45px !important;
    height: 45px !important;
    border-radius: 8px;
    object-fit: cover;
    position: relative;
    left: 0;
    margin-top: 6px;
    margin-right: 7px;
    float: left;
}
@keyframes pulse5 {
    0% {box-shadow: 0 0 0 0 #7885ffb5}
 70% {box-shadow: 0 0 0 11px transparent}
to {box-shadow: 0 0 0 0 transparent}
}
.room-writing{
    display:inline-flex;
    align-items:center;
    gap:3px;
    background:rgba(0,0,0,0.15);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-radius:12px;
    font-size:0.65rem;
    padding:2px 8px 2px 6px;
    margin-left:2px;
    color:rgba(255,255,255,0.85);
    animation:writingFadeIn 0.3s ease;
    letter-spacing:0.3px;
}
.writing-dot{
    display:inline-block;
    width:4px;
    height:4px;
    border-radius:50%;
    background:rgba(255,255,255,0.5);
    animation:writingBounce 1.4s ease-in-out infinite;
}
.writing-dot:nth-child(2){
    animation-delay:0.2s;
}
.writing-dot:nth-child(3){
    animation-delay:0.4s;
}
.room-writing .writing-dot{
    background:rgba(255,255,255,0.6);
}
.private-writing .writing-dot{
    background:rgba(255,255,255,0.6);
}
@keyframes writingBounce {
    0%, 60%, 100% { transform:translateY(0); opacity:0.4; }
    30% { transform:translateY(-4px); opacity:1; }
}
@keyframes writingFadeIn {
    from { opacity:0; transform:scale(0.9); }
    to { opacity:1; transform:scale(1); }
}
.private-writing {
    position: absolute;
    bottom: 48px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 0.65rem;
    padding: 3px 10px 3px 8px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    z-index: 10;
    animation: writingFadeIn 0.3s ease;
    letter-spacing: 0.3px;
    pointer-events: none;
}
#main_emoticon,#private_emoticon {
    padding: 5px;
    overflow: hidden;
}

/* Tenor GIF açıkken modal yüksekliğini ayarla */
#main_emoticon:has(.tenor-content[style*="block"]),
#main_emoticon:has(.tenor-content:not([style*="none"])) {
    height: auto !important;
    max-height: 400px !important;
}

#private_emoticon:has(.tenor-content[style*="block"]),
#private_emoticon:has(.tenor-content:not([style*="none"])) {
    height: auto !important;
    max-height: 350px !important;
}
#main_emoticon .emo_head .emo_menu:first-child,
#private_emoticon .emo_head .emo_menu:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 1px solid #ddd;
}
#main_emoticon .emo_head .emo_menu:last-child,
#private_emoticon .emo_head .emo_menu:last-child  {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.emo_menu {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: .8rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
#main_emoticon,#private_emoticon .bselected {
    font-weight: 700;
}
.cdate.sub_chat {
    color: #ccccccbf;
}
.alt_icon_yazi {
    font-size: 8px;
    margin-top: 4px;
}
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;

}
.user-cards-title-general {
    padding-left: 16px;
    padding-bottom: 0;
}
.user-cards-title {
    padding: 8px 8px 0;
    font-weight: 700;
}
.status-attrs {
    margin: 0 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, .13);
    padding: 0;
    font-size: 13px;
    color: #777;
    background: #fff;
}

.ye-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
}

.ye-status-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 7px 10px;
}

.ye-status-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ye-status-icon {
    width: 28px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    flex-shrink: 0;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 999px;
}

.ye-status-icon i {
    font-size: 12px;
}

.ye-status-text {
    color: #777;
    font-size: 12px;
    font-weight: 500;
}

.ye-status-value {
    color: #555;
    font-weight: 700;
}

.ye-status-divider {
    height: 1px;
    background: rgba(0, 0, 0, .07);
    margin: 0;
}

.ye-company-box {
    margin: 0 16px;
    padding: 12px 14px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .13);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #777;
    text-align: left;
}

/* (legacy) eski class'lar artık kullanılmıyor */
.status-attr, .status-attr-inner, .user-cards-owner, .user-card-wrapper { }
.avatar_news_input {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-table;
    vertical-align: top;
}

.news_input_c{
    display: inline-table;
    width: calc(100% - 40px);
    border-radius: 13px;
    vertical-align: super;
}
.avatar_reply_div{
    display: inline-table;
}
.avatar_reply {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-table;
}
.alt-noktali {
    border-bottom: 2px dotted rgb(0 0 0 / 10%);
}
.full_input2, .full_textarea2 {
    padding: 10px 10px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 5px;
}
#bildirimtext {
    height: 50px;
    border: none;
    overflow: hidden;
    background: none !important;
    border: none !important;
}
.bildirimbaslik{
    margin-bottom:2px;
    padding:3px 3px;
    font-size:9px;
    font-weight:800;
}
.bildirimmesaj{
    padding: 5px;
    border-radius:3px;
    white-space:normal;
    word-break:break-word;
}
.radio-tag{
    padding: 3px 6px;
    border-radius: 5px;
    font-size:.8rem
}
.radio-sarki-tag {
    min-width: 100%;
    padding: 8px;
    margin-bottom: 6px;
}
/* ========================================
   ROOM CALL - AÇIK TEMA LİSTE TASARIMI
   Görsel Referansa Birebir Uygun
   ======================================== */

/* Ana Modal */
#room_call {
    width: 380px;
    height: 500px;
    position: fixed;
    left: 20px;
    bottom: 80px;
    z-index: 9999;
    display: none;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
}

#room_call.minimized {
    height: 64px !important;
    width: 64px !important;
    border-radius: 20px !important;
    border: none !important;
    background: linear-gradient(145deg, #5865f2, #3b44c4) !important;
    overflow: visible !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.35), 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 99999 !important;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
}

#room_call.minimized:hover {
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.5), 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

/* Ses dalgaları - sadece konuşma sırasında aktif */
#room_call .sound-wave {
    display: none;
}

#room_call.minimized .sound-wave {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    border: 2px solid rgba(88, 101, 242, 0.6);
    background: rgba(88, 101, 242, 0.25);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

/* Konuşma varken dalgalar aktif */
#room_call.minimized.speaking .sound-wave {
    animation: soundWaveAnim 1.8s ease-out infinite;
}

#room_call.minimized.speaking .sound-wave:nth-child(2) {
    animation-delay: 0.5s;
}

#room_call.minimized.speaking .sound-wave:nth-child(3) {
    animation-delay: 1s;
}

@keyframes soundWaveAnim {
    0% {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        width: 120px;
        height: 120px;
        border-radius: 30px;
        opacity: 0;
    }
}

#room_call.minimized .vm-container {
    display: none !important;
}

#room_call.minimized .minimized-content {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* Normal durumda minimized content gizli */
#room_call:not(.minimized) .minimized-content {
    display: none !important;
}

/* Minimized avatar - konuşan kişinin avatarı */
#room_call.minimized .minimized-speaker {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
}

/* Varsayılan mikrofon ikonu */
#room_call.minimized .minimized-mic-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

#room_call.minimized .vm-header,
#room_call.minimized .vm-user-list,
#room_call.minimized .vm-footer,
#room_call.minimized .vm-loading-overlay,
#room_call.minimized .vm-kick-overlay {
    display: none !important;
}

#room_call.maximized {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
}

/* Mobile */
@media (max-width: 480px) {
    #room_call {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: 60px;
        height: 450px;
    }
    
    #room_call.minimized {
        width: 56px !important;
        height: 56px !important;
        border-radius: 16px !important;
        touch-action: none;
    }
    
    #room_call.minimized::before {
        display: none;
    }
    
    #room_call.minimized::after {
        display: none;
    }
    
    #room_call.minimized .vm-container::before {
        display: none;
    }
}

/* ESKİ rc- STİLLERİ KALDIRILDI */

/* Scrollbar */
.rc-section::-webkit-scrollbar {
    width: 4px;
}

.rc-section::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

/* Maximized Mode Düzenlemeleri */
#room_call.maximized .rc-header {
    cursor: default;
}

#room_call.maximized .rc-speakers-section {
    max-height: 35vh;
}

#room_call.maximized .rc-listeners-section {
    max-height: 40vh;
}

#room_call.maximized .rc-users {
    justify-content: center;
    gap: 12px;
}

#room_call.maximized .rc-user {
    width: 100px;
    padding: 12px 8px;
}

#room_call.maximized .rc-avatar-wrap {
    width: 56px;
    height: 56px;
}

#room_call.maximized .rc-nick {
    font-size: 13px;
    max-width: 95px;
}

#room_call.maximized .rc-rank {
    font-size: 11px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    #room_call {
        width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
        bottom: 60px;
        height: 450px;
    }
    
    #room_call .rc-user {
        width: 60px;
    }
    
    #room_call .rc-avatar-wrap {
        width: 38px;
        height: 38px;
    }
    
    #room_call .rc-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

.mobile-messages-buttons-wrapper,
.mobile-messages-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none !important;
}
.mobile-messages-buttons-wrapper {
  overflow-y: auto !important;
  bottom: 48px;
}
.mobile-messages-right-buttons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    color: #555;
    pointer-events: all;
    text-align: center;
    box-shadow: 0 -1px 8px 0 rgba(0, 0, 0, .2), 0 0 0 1px #eee !important;
    z-index: 2;
    background: #ffffff;
    border-radius: 10px;
    z-index: 2;
}
.mobile-messages-right-button {
  position: relative;
  height: 45px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  cursor: pointer;
}
.mobile-messages-right-button:hover {
  background: rgba(0, 0, 0, 0.07);
}
.dark .mobile-messages-right-button:hover {
  background: hsla(0, 0%, 100%, 0.07);
}
.dark .mobile-messages-right-button {
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.07);
}
.mobile-messages-right-button:last-child {
  border-bottom: none;
}
.mobile-messages-right-button .icon {
  width: 36px;
  height: 36px;
  font-size: 0.7rem;
  line-height: 36px;
  text-align: center;
}
.mobile-messages-right-button .icon.expanded-icon {
  height: 48px;
  line-height: 48px;
}
.dark .mobile-messages-right-buttons {
  background: #151f2b;
  color: #fff;
  box-shadow: 0 -1px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px hsla(0, 0%, 100%, 0.2) !important;
}
.menu-badge {
  position: absolute;
  bottom: 6px;
  font-size: 6px;
  padding: 2px 4px;
  background: none;
  border: none;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 0.5rem;
  -webkit-transform: none;
  transform: none;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  text-align: center;
}
.menu-badge.important {
  background: #e53935;
  color: #fff;
}
.kmswitch  {
    display: table;
    width: 50px;
    padding: 2px;
    border-radius: 100px;
}
#koyumod_icon {
    font-size: 15px;
    color: #012832;
    margin: 5px;
}
.left_menu_profile {
    padding: 5px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.left_menu_profile .glob_av{
    width: 50px;
    height: 50px;
    padding: 2px;
    margin-top: 5px;
    border-radius: 50%;
    border: 2px solid rgb(0 0 0 / 10%);
}
.left_menu_username {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65px;
    text-align: center;
    margin-top: 2px;
    font-weight: bold;
    font-size: 15px;
}
.left_item_icon, .left_item_notify, .left_item_text {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}





.sag-panel-close {
    bottom: 0;
    border-radius: 5px 5px 0 0;
    margin-left: -20px;
    position: fixed;
    padding: 15px 11px;
    line-height: 35px;
    font-size: 23px;
    z-index: 2;
    cursor: pointer;
}
#karalma {
    position: absolute;
    background: #00000080;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: none;
}
#container_user .user_modal_menu {
    background: none !important;
    margin: 0 10px !important;
    padding: 0 !important;
    font-size: 0 !important;
}
#container_user .user_modal_menu ul {
    width: 100%;
    display: flex !important;
    background: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #e0e0e0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
#container_user .user_modal_menu ul li:first-child {
    border-left: none !important;
}
#container_user .user_modal_menu ul li:last-child {
    border-right: none !important;
}
#container_user .user_modal_menu ul li {
    flex: 1 !important;
    padding: 5px 8px !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    border: none !important;
    border-right: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    color: #555 !important;
    list-style: none !important;
    text-align: center !important;
    background: transparent !important;
}
#container_user .user_modal_menu ul li:hover {
    background: #f5f5f5 !important;
}
#container_user .user_modal_menu .modal_selected {
    font-weight: 700 !important;
    background: #f0f0f0 !important;
    color: #333 !important;
}
#container_user .user_modal_menu .user-count-badge {
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 1px 7px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    min-width: 18px !important;
    text-align: center !important;
    color: #555 !important;
    line-height: 1.4 !important;
}
.private_warn {
    background: rgb(0 0 0 / 88%);
    position: absolute;
    z-index: 99999999;
    width: 100%;
    height: 120%;
    text-align: center;
    color: #fff;
    display: none;
}
#container_user{
    padding: 5px;
}
.user_modal_menu{
    background:0 0;
    margin: 0 10px;
    text-align:center
}
.dark #container_user .user_modal_menu ul {
    background: #1e1e2e !important;
    border-color: #333 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}
.dark #container_user .user_modal_menu ul li {
    color: rgba(255,255,255,0.6) !important;
    border-right-color: #333 !important;
}
.dark #container_user .user_modal_menu ul li:hover {
    background: rgba(255,255,255,0.06) !important;
}
.dark #container_user .user_modal_menu .modal_selected {
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.9) !important;
}
.dark #container_user .user_modal_menu .user-count-badge {
    background: #2a2a3a !important;
    border-color: #444 !important;
    color: rgba(255,255,255,0.6) !important;
}

.roombg_current {
    width: 120px;
    height: 120px;
    border-radius: 10px;
}
.istek_content{
    color:#e1e1e1;
    padding:20px 15px;
    overflow:visible;
    margin-top:15px;
    position:relative;
    border-radius:.4em
}
.istek_caliyorkutu{
    background:#4caf50!important
}
.istek_siradakutu{
    background:#673ab7!important
}
.istek_beklemekutu{
    background:#607d8b!important
}
.istek_durumm{
    display:table-cell;
    right:10px;
    top:45%;
    position:absolute;
    color:#fff;
    font-weight:700!important;
    opacity:.15
}
.mesajradyobtn {
     animation: popupShow 0.5s ease;
     line-height: 1.6rem;
     text-align: center;
     border-left: 2px solid #666;
     border-right: 2px solid #666;
     padding: 4px 8px;
     margin-top: 8px !important;
     margin-bottom: 4px !important;
     border: 1px solid #ddd;
     color: #999;
     display: block;
     border-radius: .5rem;
     min-width: max-content;
     margin-right: 8px !important;
}

@media screen and (max-width:768px){
        #chat_head {height: 45px;}
        .pboxed {bottom: 10px;} 
}
.topdjwraper {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9;
    margin-left: auto;
    margin-right: auto;
    top: 5px;
    display: block;
    width: 260px;
    border-radius: 10px;
    display: none;
    background-size: 500% 500%;
    animation: gradient 10s 
    cubic-bezier(0.25, 0.1, 0.15, 1.22) infinite;
    background: #e0e0e0;
}
.topdjcontrol::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75px;
    width: 50px;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shine 2.5s infinite;
    z-index: 0;
}
@keyframes shine {
  0% { left: -75px; }
  100% { left: 120%; }
}
.topdjcontrol {
position: relative;
    overflow: hidden;
    display: table;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0px 3px;
    background: url(../../default_images/esunusx.gif) no-repeat right center;
    background-size: 185px 108px;
    z-index: 1;
}
.tdavatarwrap {
    display: table-cell;
    vertical-align: middle;
    width: 36px;
    height: 36px;
}
.tdavatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
}
.tdusername_wrap {
    display: table-cell;
    vertical-align: middle;
    padding: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tdcancel {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    font-size: 16px;
    text-align: center;
}
.tdcount {
    border-radius: 50px;
    padding: 2px 4px;
    font-size: 7px;
    float: right;
}
.head_notify, .menu_notify, .notification {
    position: absolute;
    display: none;
}
.notification {
    top: 3px;
    left: 5px;
    padding: 1px 3px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}
.chat_head_user {
    display: table-cell;
    vertical-align: middle;
    width: inherit !important;
    text-align: -webkit-right;
    white-space: nowrap;
}

/* ===== Modern Chat Header ===== */
#chat_head.bhead {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3d 100%) !important;
    color: #e2e4ea !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
}
#chat_head .head_burger {
    color: #b0b4c8;
    transition: color 0.2s;
}
#chat_head .head_burger:hover { color: #fff; }
#chat_head .chat_head_logo .roomcv img {
    width: 32px !important; height: 32px !important;
    border-radius: 8px !important;
    object-fit: cover;
    border: none;
    box-shadow: none;
    display: block;
}
#chat_head .mroom_name {
    font-size: 15px; font-weight: 700;
    color: #fff;
}
#chat_head .mroom_text {
    font-size: 11px;
    color: #9a9eb5;
}
#chat_head .head_option {
    color: #b0b4c8;
    font-size: 17px;
    transition: color 0.2s;
}
#chat_head .head_option:hover { color: #fff; }
#chat_head .head_notify {
    position: absolute !important;
    top: 10px !important; right: 4px !important; left: auto !important;
    width: 11px !important; height: 11px !important;
    min-width: 0; padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    background: #ef4444 !important; color: #fff !important;
    border: 2px solid #1e1e2e !important;
    line-height: 0; text-align: center;
}
#chat_head .notification {
    position: absolute !important;
    top: 5px !important; right: 0 !important; left: auto !important;
    width: auto !important; height: auto !important;
    min-width: 15px; padding: 1px 4px !important;
    border-radius: 8px !important;
    font-size: 9px !important; font-weight: 700;
    line-height: 13px; text-align: center;
    background: #ef4444 !important; color: #fff !important;
    border: 2px solid #1e1e2e !important;
}
#chat_head .avatar_menu {
    width: 30px !important; height: 30px !important;
    border-radius: 8px !important;
    border: none !important;
    object-fit: cover;
    box-shadow: none;
}
#chat_head .show_menu:hover .avatar_menu { opacity: 0.85; }
#chat_head .top_status {
    border: 2px solid #1e1e2e !important;
    width: 9px; height: 9px;
    bottom: 7px; left: 3px;
}
.input_table {
    border: 1px solid #d8dbe24d;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#emo_item i {
    font-size: 22px;
    color: #4a8aff;
    cursor: pointer;
}
#main_input_box {
    flex: 1;
    display: flex;
    align-items: center;
}
#main_input_box input {
    width: 100%;
    height: 36px;
    line-height: 36px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 8px;
    font-size: 15px;
}


.new-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: #008000;
    border-radius: 6px;
    animation: blinkNew 4s infinite;
}

@keyframes blinkNew {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.chatroominfo {
    word-wrap: normal;
    white-space: normal;
}

/* Oda adı balon içinde kalsın */
.chatroominfo .chatroom-title {
    margin: 0 0 8px;
    font-weight: 700;
}

.chatroominfo .chatroom-title .username {
    display: inline-block;
}
.pr_come {

}
.achievement-banner {
    opacity: 0;
    margin: -110px auto 0px auto;
    font-size: 36px;
    width: 100%;
    color: seashell;
    background: black;
    border-radius: 15px;
    position: relative;
    padding: 0.125em;
    min-height: 1.5em;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.achievement-banner {
    -webkit-animation: open-close-banner 5s 1;
    -moz-animation: open-close-banner 5s 1;
    animation: open-close-banner 5s 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.achievement-banner .achievement-icon {
    border-radius: 100%;
    position: relative;
    background: #000;
    border: 2px solid #F5C4C3;
    border-top-color: #45ca3d;
    height: 45px;
    width: 45px;
    z-index: 100;
    box-sizing: border-box;
}
.achievement-banner .achievement-icon img{
        width: 41px;
    height: 41px;
    border-radius: 100%;
}
.achievement-banner .achievement-text {
    text-shadow: 0 2px 0 #000;
    position: absolute;
    top: 20px;
    left: 60px;
    font-size: 14px;
    line-height: 1;
    width: 400%;
}
.achievement-banner .achievement-notification {
    margin: 0;
}
@-webkit-keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {width: 1.5em; opacity: 1;
    -webkit-transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    -webkit-transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
@-moz-keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {
    width: 1.5em; 
    opacity: 1;
    -moz-transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    -moz-transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
@keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {
    width: 1.5em; 
    opacity: 1;
    transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
#tenorResults img, #tenorPrivResults img {
    width: 55px !important;
    height: 55px !important;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
}
.back_priv {
    background: url(../upload/room/private.svg) !important;
}
.ypriv_kurallar {
    padding: 6px;
    width: 200px;
    margin: auto;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff3333;
    animation: dropDown .45s ease-out;
}
@keyframes dropDown{
    0%{
        opacity: 0;
        transform: translate(-50%, -120px);
    }
    70%{
        opacity: 1;
        transform: translate(-50%, -40%);
    }
    100%{
        transform: translate(-50%, -50%);
    }
}


.hediye_cark .user-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    color: #1f2667;
    font-weight: bold;
    background: linear-gradient(45deg, #dde, #eef);
    border-radius: 12px;
    font-size: 20px;
    transition: all 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hediye_cark .user-item {
    text-align: center;
    font-size: 10px;
}

.hediye_cark .user-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hediye_cark .user-item i {
    font-size: 16px;
    margin-bottom: 5px;
}

.hediye_cark .xp i { color: #00ff88; }
.hediye_cark .ruby i { color: #ff4081; }
.hediye_cark .gold i { color: #ffcc00; }
.hediye_cark .tl i { color: #4CAF50; }

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 15px;
}

#wheelcontainer {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 30px;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgb(160 160 160 / 30%);
}
.list_star{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rank-star{
  width: 12px;
  height: 12px;
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
   top: 2px;
}
#wheelCanvas {
    width: 100% !important;
    height: 100% !important;
    transition: transform 4s cubic-bezier(0.17, 0.89, 0.32, 1);
    display: block;
    border-radius: 50%;
}
#indicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #ff4081;
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(255, 64, 129, 0.8));
    animation: glowTriangleRight 1.5s ease-in-out infinite alternate;
}
#indicator::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -20px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid rgba(255, 255, 255, 0.3);
    filter: blur(5px);
    z-index: -1;
}

#indicator::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 15px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
}
@keyframes glowTriangleRight {
    0% {
        border-left-color: #ff4081;
        filter: drop-shadow(0 0 3px rgba(255, 64, 129, 0.6));
        transform: translateY(-50%) scale(1);
    }
    50% {
        border-left-color: #ff79a9;
        filter: drop-shadow(0 0 12px rgba(255, 64, 129, 0.9));
        transform: translateY(-50%) scale(1.05);
    }
    100% {
        border-left-color: #ff4081;
        filter: drop-shadow(0 0 3px rgba(255, 64, 129, 0.6));
        transform: translateY(-50%) scale(1);
    }
}
@keyframes neonGlowRight {
    0% {
        border-left-color: #ff4081;
        filter: drop-shadow(0 0 3px #ff4081)
                drop-shadow(0 0 6px rgba(255, 64, 129, 0.5));
    }
    50% {
        border-left-color: #ffffff;
        filter: drop-shadow(0 0 10px #ff79a9)
                drop-shadow(0 0 20px rgba(255, 121, 169, 0.8))
                drop-shadow(0 0 30px rgba(255, 121, 169, 0.3));
    }
    100% {
        border-left-color: #ff4081;
        filter: drop-shadow(0 0 3px #ff4081)
                drop-shadow(0 0 6px rgba(255, 64, 129, 0.5));
    }
}

#playBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    text-transform: uppercase;
    border: 6px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, #1f2667, #2a337c);
    font-weight: bold;
    font-size: 11px;
    width: 70px;
    height: 70px;
    font-family: 'Arial', sans-serif;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

#playBtn:hover {
    background: linear-gradient(45deg, #2a337c, #353f92);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

#playBtn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: none;
}

#playBtn::after {
    content: 'Free Spin';
    font-size: 12px;
    font-weight: bold;
}

#wheelText {
    text-align: center;
    padding: 12px;
    color: #1f2667;
    font-weight: bold;
    background: linear-gradient(45deg, #dde, #eef);
    border-radius: 12px;
    width: 90%;
    font-size: 14px;
    transition: all 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.spin-btn {
    background: linear-gradient(45deg, #ff4081, #ffcc00);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 64, 129, 0.6);
}

.spin-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}       
.esunusv2 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    padding: 7px 6px !important;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.esunusv2:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}

.esunusv2:active {
  transform: scale(0.97);
}
.esunusv3 {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  padding: 7px 6px !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.esunusv3:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
  transform: translateY(-1px);
}

.esunusv3:active {
  transform: scale(0.97);
}

.esunusv3:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.esunusv2:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.esunusv4 {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #1f2933;
    padding: 7px 6px !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.35);
}

.esunusv4:hover {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  box-shadow: 0 6px 16px rgba(202, 138, 4, 0.45);
  transform: translateY(-1px);
}

.esunusv4:active {
  transform: scale(0.97);
}

.esunusv4:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.yeni_uye {
    position: absolute;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 2px;
    text-align: center;
    top: 42px;
    right: 10px;
}
.yeni_uye_profile {
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 2px;
    text-align: center;
    vertical-align: middle;
}
.chat_yeni_uye {
    position: absolute;
    font-size: 7px;
    padding: 0px 3px;
    border-radius: 2px;
    text-align: center;
    top: 30px;
    right: 5px;
}
.list_star {
    position: relative;
    font-size: 1px;
    color: #ffcc33;
    display: inline-block;
    overflow: hidden;
}

/* Parlaklık efekti */
.list_star::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -70%;
    width: 45%;
    height: 160%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.0) 35%,
        rgba(255,255,255,0.9) 50%,
        rgba(255,255,255,0.0) 65%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: starShine 6s ease-in-out infinite;
}
@keyframes starShine {
    0%   { left: -10%; }
    40%  { left: 120%; }
    100% { left: 120%; }
}
.dogrulanmisprofil,.online_user .dogrulanmisprofil{
     font-size: 6px;
    color: #03add8;
    vertical-align: initial;
    text-shadow: none;
    position: absolute;
    left: 44px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
}
.online_user .dogrulanmisprofil{
    margin-left:2px;
    vertical-align:middle
}
.chat_verify {
    font-size: 7px;
    color: #ff0000;
    vertical-align: initial;
    text-shadow: none;
    position: absolute;
    top: 25px;
    left: 25px;
}
.trust-card {
    width:100%;
    padding:16px 18px;
    background:#0f1115;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#fff;
}

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

.trust-icon {
    width:36px;
    height:36px;
    background:#1f2933;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.trust-icon svg {
    width:18px;
    fill:#fff;
}

.trust-text strong {
    display:block;
    font-size:15px;
}

.trust-text span {
    font-size:12px;
    color:#9ca3af;
}

.trust-circle {
    width:60px;
    height:60px;
}

.trust-circle circle {
    fill:none;
    stroke-width:5;
}

.trust-circle .bg {
    stroke:#1f2933;
}

.trust-circle .progress {
    stroke-linecap:round;
    transform:rotate(-90deg);
    transform-origin:50% 50%;
}

.trust-circle text {
    fill:#fff;
    font-size:12px;
    font-weight:bold;
    dominant-baseline:middle;
    text-anchor:middle;
}

@media (max-width: 480px) {
    .trust-card {
        padding: 14px;
    }

    .trust-text strong {
        font-size: 14px;
    }

    .trust-text span {
        font-size: 11px;
    }

    .trust-circle {
        width: 52px;
        height: 52px;
    }
}
.wa-check {
    position: relative;
    color: #62c500;
}

.wa-check .second {
    position: absolute;
    left: 3px;
    top: 0;
}
.yprivate_balon {
    color: #333;
    background: #e7f4fe;
    border-radius: .4rem;
    float: right;
    box-shadow: -1px 1px 1px -1px rgba(0, 0, 0, .5);
}

/* Yönetim Grubu - Yönetici Mesaj Stilleri */
.yp-msg-super .yprivate_balon {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 3px solid #ef4444;
}

.yp-msg-super .private_avatar img {
    border: 2px solid #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.yp-msg-admin .yprivate_balon {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-left: 3px solid #fbbf24;
}

.yp-msg-admin .private_avatar img {
    border: 2px solid #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.usernameesunus.user {
    font-weight: 700;
    color: #616161;
    font-size: 13px;
}

.esunus_notification {
    transition: opacity 0.3s, transform 0.3s;
    animation: waSlideIn .45s cubic-bezier(.4, 0, .2, 1) forwards;
    position: absolute;
    right: 5px;
    bottom: 52px;
    width: auto;
    z-index: 99;
    align-items: center;
    gap: 12px;
    padding: 4px 11px;
    border-radius: 11px;
    background: #666;
    color: #e9edef;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

.esunus_notification-title {
  font-size: 13px;
  text-transform: none;
  line-height: 1.35;
  font-weight: 600;
}
.esunus_notification-content {
    margin-left: 28px;
}
.esunus_notification-subtitle {
  font-size: 11px;
  line-height: 1.38;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.esunus_notification-icon {position: absolute;left: 3px;top: 4px;}
.esunus_notification-icon i,
.esunus_notification-icon {
  width: 28px;
  height: 28px;
}
.esunus_notification-icon i {
  font-size: var(--f7-esunus_notification-icon-size);
}
.esunus_notification-icon img {
    height: 30px;
    border-radius: 50%;
    width: 30px;
}
.esunus_notification-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 28px;
}
.esunus_notification-close-button {
  font-size: 24px;
  transition-duration: .3s;
  margin-left: auto;
  cursor: pointer;
  position: relative;
}

@-webkit-keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {width: 1.5em; opacity: 1;
    -webkit-transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    -webkit-transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
@-moz-keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {
    width: 1.5em; 
    opacity: 1;
    -moz-transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    -moz-transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
@keyframes open-close-banner {
  0% {width: 1.5em; opacity: 0;}
  2% {width: 1.5em; opacity: 1;}
  8% {width: 90%;}
  80% {width: 90%;}
  90% {
    width: 1.5em; 
    opacity: 1;
    transform: rotate(0deg);
  }
  98% {
    width: 1.5em;
    transform: rotate(720deg);
  }
  100% {width: 1.5em; opacity: 0;}
}
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#mstream {
    position: absolute;
    right: 55px;
    bottom: 55px;
}
#mstream_audio {
    position: absolute;
    right: 100px;
    bottom: 55px;
}
#mstream_call {
    position: absolute;
    right: 15px;
    bottom: 100px;
}
/* ========================================
   SHORT VIDEO CAROUSEL STYLES
   ======================================== */

/* ============================================
   INSTAGRAM STORY STYLE - SHORT VIDEOS
   ============================================ */

.story-section {
    background: #fff;
    border-radius: 10px;
    margin: 10px 15px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbdbdb;
}

.story-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.story-carousel {
    display: flex;
    gap: 12px;
    overflow: visible;
    padding: 8px 0;
    transition: transform 0.5s ease;
    justify-content: flex-start;
}

/* Carousel Dots */
.story-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.story-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-dot:hover {
    background: #bbb;
}

.story-dot.active {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    transform: scale(1.2);
}

.story-card {
    flex: 0 0 75px;
    width: 75px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: scale(1.05);
}

/* İzlenmiş story - soluk */
.story-card.viewed {
    opacity: 0.5;
}

.story-card.viewed:hover {
    opacity: 0.7;
}

.story-card-inner {
    position: relative;
    width: 70px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin: 0 auto;
}

/* Blur Overlay for Avatar Background */
.story-blur-overlay {
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    transform: scale(1.2);
    z-index: 1;
}

.story-blur-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

/* Video Play Icon Overlay */
.story-play-icon {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 5;
}

.story-play-icon i {
    color: #667eea;
    font-size: 10px;
    margin-left: 2px;
}

.story-card:hover .story-play-icon {
    transform: translateX(-50%) scale(1.1);
    background: #fff;
}

/* Avatar Ring - Instagram Kesik Çizgili Dönen Border */
.story-avatar-ring {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Position ayarları */
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Dönen ince kesik çizgili gradient çerçeve */
.story-avatar-ring::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    z-index: -1;
    background: conic-gradient(from 0deg, #00c6ff, #0072ff, #8e2de2, #4a00e0, #00c6ff);
    -webkit-mask: repeating-conic-gradient(#000 0deg, #000 2deg, transparent 2deg, transparent 18deg);
    mask: repeating-conic-gradient(#000 0deg, #000 2deg, transparent 2deg, transparent 18deg);
    animation: instagram-spin 4s linear infinite;
}
/* Avatar arkası koyu alan */
.story-avatar-ring::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 0;
}

@keyframes instagram-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Avatar - SABİT, dönmez */
.story-avatar-ring img {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

/* SVG gizle */
.story-avatar-ring svg.ring-svg {
    display: none;
}

/* İZLENMİŞ - Gri soluk ince kesik çizgi, animasyon yok */
.story-card.viewed .story-avatar-ring::before {
    background: #555;
    -webkit-mask: repeating-conic-gradient(#000 0deg, #000 2deg, transparent 2deg, transparent 18deg);
    mask: repeating-conic-gradient(#000 0deg, #000 2deg, transparent 2deg, transparent 18deg);
    animation: none;
}

.story-card.viewed .story-avatar-ring {
    opacity: 0.5;
}

.story-avatar-ring img {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a2e;
    z-index: 2;
}

/* View Badge */
.story-view-badge {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    z-index: 10;
    cursor: pointer;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: background 0.3s ease;
}

.story-view-badge:hover {
    background: rgba(0,0,0,0.9);
}

/* Video Count Badge - Birden fazla video varsa */
.story-count-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 8px;
    background: rgba(37, 211, 102, 0.9);
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Delete Button */
.story-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    z-index: 15;
    transition: all 0.2s ease;
    opacity: 0;
}

.story-card:hover .story-delete-btn {
    opacity: 1;
}

.story-delete-btn:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* User Info Container */
.story-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
    padding: 0 3px;
}

.story-username {
    display: block;
    font-size: 10px;
    color: #262626;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.story-userrank {
    display: block;
    font-size: 8px;
    color: #8e8e8e;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-top: 1px;
}

/* Empty Story State */
.story-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 20px;
    color: #8e8e8e;
    text-align: center;
}

.story-empty i {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.story-empty span {
    font-size: 13px;
}

/* Create Story Card */
.story-create .create-inner {
    background: linear-gradient(180deg, #f0f0f0 0%, #d4d4d4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.story-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.story-create-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0095f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,149,246,0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.story-create:hover .story-create-btn {
    transform: scale(1.1);
    background: #0077cc;
}

/* ================================
   INSTAGRAM STYLE STORY VIEWER
   ================================ */

.ig-story-modal {
    position: fixed;
    inset: 0;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ig-story-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    max-height: 95vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

/* Gradient Overlays */
.ig-story-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.ig-story-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Progress Bar */
.ig-story-progress {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    z-index: 20;
}

.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 3px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.story-progress-fill.animating {
    transition: width 15s linear;
    width: 100%;
}

.story-progress-fill.completed {
    width: 100%;
    transition: none;
}

.story-progress-fill.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
    background-size: 200% 100%;
    animation: progressLoading 1.5s ease-in-out infinite;
    width: 100%;
}

@keyframes progressLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Header */
.ig-story-header {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.ig-story-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ig-story-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    object-fit: cover;
}

.ig-story-username {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ig-story-time {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 400;
    margin-left: 6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ig-story-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ig-story-action-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.ig-story-action-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Video Player */
.ig-story-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Navigation Areas */
.ig-story-nav-left,
.ig-story-nav-right {
    position: absolute;
    top: 100px;
    bottom: 100px;
    width: 35%;
    z-index: 15;
    cursor: pointer;
}

.ig-story-nav-left {
    left: 0;
}

.ig-story-nav-right {
    right: 0;
}

/* Video Caption / Açıklama */
.ig-story-caption {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    padding: 12px 16px;
    z-index: 20;
}

.ig-story-caption p {
    margin: 0;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    max-height: 80px;
    overflow-y: auto;
    word-wrap: break-word;
}

.ig-story-caption p::-webkit-scrollbar {
    width: 3px;
}

.ig-story-caption p::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Footer */
.ig-story-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.ig-story-input-wrap {
    flex: 1;
}

.ig-story-input {
    width: 100%;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}

.ig-story-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.ig-story-input:focus {
    border-color: #fff;
    background: rgba(0,0,0,0.3);
}

.ig-story-footer-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.ig-story-footer-btn:hover {
    transform: scale(1.15);
}

.ig-story-footer-btn:active {
    transform: scale(0.95);
}

/* Views Badge */
.ig-story-views {
    position: absolute;
    bottom: 80px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.ig-story-views i {
    margin-right: 5px;
}

/* Story 3 Nokta Menüsü */
.ig-story-more-menu {
    position: relative;
}

.ig-story-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    z-index: 100;
    border: 1px solid rgba(255,255,255,0.1);
}

.ig-story-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.ig-story-dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.ig-story-dropdown-item i {
    width: 18px;
    text-align: center;
}

.ig-story-dropdown-item.text-danger {
    color: #ed4956;
}

.ig-story-dropdown-item.text-danger:hover {
    background: rgba(237, 73, 86, 0.2);
}

/* Video Viewers Modal için ek stiller */
.video-viewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ec4899;
}

.video-viewer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-viewer-name {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
}

.video-viewer-date {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
}

/* Story Toast Notification */
.ig-story-toast {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.ig-story-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ig-story-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ================================
   OLD STORY VIEWER (keeping for compatibility)
   ================================ */
.story-viewer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.story-viewer-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 90vh;
    max-height: 750px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

/* Story Progress Bar */
.story-progress-bar {
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 20;
}

.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: none;
}

.story-progress-fill.animating {
    width: 100%;
    transition: width 15s linear;
}

.story-viewer-header {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 10;
}

.story-viewer-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-viewer-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.story-viewer-user span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.story-viewer-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.story-viewer-close:hover {
    background: rgba(255,255,255,0.4);
}

.story-viewer-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.story-viewer-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

.story-viewer-nav .story-nav-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.story-viewer-nav .story-nav-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.story-viewer-views {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    z-index: 10;
}

.story-viewer-caption {
    position: absolute;
    bottom: 70px;
    left: 20px;
    right: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    border-radius: 8px;
    max-height: 100px;
    overflow-y: auto;
    word-wrap: break-word;
}

/* Story Progress Bars - Instagram style */
.story-progress-container {
    display: flex;
    gap: 4px;
    padding: 12px 15px 8px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.story-progress-bar.completed .story-progress-fill {
    width: 100%;
}

.story-progress-bar.active .story-progress-fill {
    background: #fff;
}

/* Story Nav Buttons - daha görünür */
.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 15;
}

.story-nav-btn:hover {
    background: rgba(255,255,255,0.4);
}

.story-nav-prev {
    left: 15px;
}

.story-nav-next {
    right: 15px;
}

/* Video tam ekran */
.story-viewer-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Mobil için touch alanları */
@media (max-width: 768px) {
    .story-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        opacity: 0.5;
    }
    
    .story-progress-container {
        padding: 8px 10px 5px;
    }
    
    .story-progress-bar {
        height: 2px;
    }
}

/* Legacy short-video classes - keep for compatibility */
.short-video-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    margin: 15px 20px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.short-video-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

.short-video-header i {
    color: #ec4899;
    font-size: 20px;
}

.short-video-header span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.short-video-count {
    margin-left: auto;
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.short-video-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.short-video-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
    flex: 1;
}

.short-video-carousel::-webkit-scrollbar {
    display: none;
}

.short-nav-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.short-nav-btn:hover {
    background: #ec4899;
    transform: scale(1.1);
}

.short-video-item {
    flex: 0 0 auto;
    width: 130px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.short-video-item:hover {
    transform: scale(1.03);
}

.short-video-container {
    position: relative;
    width: 130px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.short-video-item:hover .short-video-container {
    border-color: #ec4899;
}

.short-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.short-video-item.playing .short-video-overlay {
    opacity: 0;
}

.short-video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.short-video-play-btn i {
    color: #ec4899;
    font-size: 20px;
    margin-left: 3px;
}

.short-video-item:hover .short-video-play-btn {
    transform: scale(1.1);
}

.short-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 8px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.short-video-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.short-video-user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.short-video-user span {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.short-video-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 11px;
    background: rgba(0,0,0,0.5);
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.short-video-views:hover {
    background: rgba(236, 72, 153, 0.6);
}

.short-video-views i {
    font-size: 10px;
}

/* Short Video Dots */
.short-video-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.short-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.short-dot:hover {
    background: rgba(255,255,255,0.5);
}

.short-dot.active {
    background: #ec4899;
    width: 20px;
    border-radius: 4px;
}

/* Video Viewers Modal */
.video-viewers-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-viewers-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    width: 320px;
    max-height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.video-viewers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.video-viewers-header span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.video-viewers-header i {
    color: #ec4899;
    margin-right: 8px;
}

.video-viewers-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-viewers-close:hover {
    opacity: 1;
}

/* Görüntüleyenler Modal - Özet ve Sekmeler */
.video-viewers-summary {
    padding: 12px 16px;
    background: rgba(236, 72, 153, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.viewers-summary-info {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.summary-total {
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-total i {
    color: #ec4899;
}

.video-viewers-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.viewer-tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.viewer-tab:hover {
    background: rgba(255,255,255,0.1);
}

.viewer-tab.active {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: transparent;
}

.tab-video-num {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.tab-view-count {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.viewer-tab.active .tab-view-count {
    color: #fff;
}

.viewers-video-header {
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.video-caption {
    color: #fff;
    font-size: 13px;
    margin-bottom: 4px;
}

.video-meta {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.viewers-list-container {
    max-height: 250px;
    overflow-y: auto;
}

.video-viewer-item {
    cursor: pointer;
}

.viewer-icon {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

.video-viewers-list {
    padding: 10px;
    max-height: 320px;
    overflow-y: auto;
}

.video-viewer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.video-viewer-item:hover {
    background: rgba(255,255,255,0.05);
}

.video-viewer-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ec4899;
}

.video-viewer-item .viewer-info {
    flex: 1;
}

.video-viewer-item .viewer-name {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
}

.video-viewer-item .viewer-date {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
}

.video-viewers-empty {
    text-align: center;
    padding: 30px;
    color: rgba(255,255,255,0.5);
}

.video-viewers-empty i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* Responsive Short Video */
@media (max-width: 768px) {
    .short-video-section {
        margin: 10px;
        padding: 12px;
    }
    
    .short-video-item {
        width: 110px;
    }
    
    .short-video-container {
        width: 110px;
        height: 170px;
    }
    
    .short-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .short-video-user img {
        width: 20px;
        height: 20px;
    }
    
    .short-video-user span {
        font-size: 10px;
        max-width: 50px;
    }
}

/* ============================================
   SEVGİ DUVARI - ANA CONTAINER DARALTMA
   ============================================ */

/* Sevgi Duvarı ana container */
#panel_news {
    max-width: 600px;
    margin: 0 auto;
}

#panel_news .pad20 {
    padding: 15px;
}

/* Story kartları için daraltma */
.story-carousel-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.story-carousel {
    gap: 10px;
}

.story-card {
    width: 70px;
    flex-shrink: 0;
}

.story-card-inner {
    width: 70px;
    height: 100px;
}

.story-avatar-ring {
    width: 28px;
    height: 28px;
}

.story-avatar-ring img {
    width: 24px;
    height: 24px;
}

.story-username {
    font-size: 10px;
    max-width: 65px;
}

.story-video-count {
    font-size: 9px;
    padding: 2px 5px;
}

/* Short Video Section daraltma */
.short-video-section {
    margin: 10px auto;
    max-width: 100%;
}

/* News post kartları daraltma */
.news_box {
    margin: 10px 0;
}

/* Mobil için daha fazla daraltma */
@media (max-width: 480px) {
    #panel_news {
        max-width: 100%;
        padding: 0 6px;
    }
    
    #panel_news .pad20 {
        padding: 8px 6px;
    }
    
    /* Story kartı - biraz daha büyük */
    .story-card {
        width: 75px;
    }
    
    .story-card-inner {
        width: 72px;
        height: 105px;
    }
    
    .story-avatar-ring {
        width: 26px;
        height: 26px;
    }
    
    .story-avatar-ring img {
        width: 22px;
        height: 22px;
    }
    
    .story-username {
        font-size: 10px;
        max-width: 65px;
    }
    
    /* Short video section - margin azalt */
    .short-video-section {
        margin: 4px 6px;
        padding: 10px;
        border-radius: 10px;
    }
    
    .short-video-header span {
        font-size: 12px;
    }
    
    /* News input daraltma */
    .news_input_c {
        padding: 10px;
        margin: 0 6px 6px 6px;
        border-radius: 10px;
    }
    
    /* Anket ve Paylaş YAN YANA */
    .ig-post-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        align-items: center;
    }
    
    /* Anket butonu - sadece text, icon gizle */
    .ig-poll-create-btn i,
    .ig-poll-results-btn i {
        display: none !important;
    }
    
    .ig-poll-create-btn,
    .ig-poll-results-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .avatar_news_input {
        width: 35px;
        height: 35px;
    }
    
    /* Post kartları - kenar boşlukları ve üst margin azalt */
    .news_box,
    .boom_box,
    .boombox {
        margin: 4px 6px;
        border-radius: 10px;
        overflow: hidden;
    }
    
    /* Story carousel wrapper */
    .story-carousel-wrapper {
        margin: 0 6px 4px 6px;
    }
    
    /* Anket butonu küçült */
    .news_input_c .btn {
        padding: 5px 8px;
        font-size: 11px;
    }
}
    .boom_box,
    .boombox {
        margin: 8px 6px;
        border-radius: 10px;
        overflow: hidden;
    }
    
    /* Story carousel wrapper */
    .story-carousel-wrapper {
        margin: 0 6px;
    }
    
    /* Anket butonu küçült */
    .news_input_c .btn {
        padding: 5px 8px;
        font-size: 11px;
    }
}


/* ============================================
   EN COK BEGENILENLER - TOP LIKED
   ============================================ */

/* Wall Header Section */
.wall-header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: 0 15px;
    border-radius: 10px 10px 0 0;
}

.wall-title {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
}

.wall-title i {
    color: #e74c3c;
    margin-right: 6px;
}

.top-liked-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.4);
}

.top-liked-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.6);
}

.top-liked-btn i {
    color: #fff;
}

/* Top Liked Modal */
.top-liked-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.top-liked-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.top-liked-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    position: relative;
}

.top-liked-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.top-liked-header h3 i {
    margin-right: 8px;
}

.top-liked-subtitle {
    font-size: 11px;
    opacity: 0.9;
    margin-left: 10px;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.top-liked-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.top-liked-close:hover {
    background: rgba(255,255,255,0.4);
}

.top-liked-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.top-liked-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    transition: background 0.2s ease;
}

.top-liked-item:hover {
    background: #fafafa;
}

.top-liked-item:last-child {
    border-bottom: none;
}

.top-rank {
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.rank-gold, .rank-silver, .rank-bronze {
    font-size: 20px;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: #666;
}

.top-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.top-user-info img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.top-user-details {
    display: flex;
    flex-direction: column;
}

.top-username {
    font-size: 12px;
    font-weight: 600;
    color: #262626;
}

.top-userrank {
    font-size: 10px;
    color: #8e8e8e;
}

.top-post-preview {
    flex: 1;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.top-post-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.top-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #e74c3c;
}

.top-likes i {
    font-size: 10px;
}

.top-date {
    font-size: 9px;
    color: #8e8e8e;
}

.top-liked-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #8e8e8e;
    text-align: center;
    min-height: 200px;
}

.top-liked-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.top-liked-empty span {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

/* ============================================
   GÜNÜN BİRİNCİSİ - WINNER REVEAL ANIMATION
   ============================================ */

.winner-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: revealPulse 0.5s ease-out;
}

@keyframes revealPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.winner-confetti {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, gold 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, #f5576c 2px, transparent 2px),
        radial-gradient(circle at 40% 70%, #00d9ff 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, gold 2px, transparent 2px),
        radial-gradient(circle at 10% 60%, #f5576c 2px, transparent 2px),
        radial-gradient(circle at 90% 50%, #00d9ff 2px, transparent 2px);
    animation: confettiFall 2s linear infinite;
    opacity: 0.6;
}

@keyframes confettiFall {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.winner-badge {
    font-size: 60px;
    animation: badgeBounce 1s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.winner-title {
    color: gold;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: titleGlow 1.5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 215, 0, 0.5); }
}

.winner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.winner-glow {
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, gold, #f5576c, gold, #00d9ff, gold);
    border-radius: 22px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% { filter: blur(15px) hue-rotate(0deg); }
    100% { filter: blur(15px) hue-rotate(360deg); }
}

.winner-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid gold;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.9); }
}

.winner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.winner-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.winner-rank {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.9);
    margin-top: 4px;
}

.winner-stats {
    margin-top: 15px;
}

.winner-likes {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.winner-likes i {
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.winner-stars {
    font-size: 24px;
    margin-top: 20px;
    animation: starsSparkle 1s ease-in-out infinite;
}

@keyframes starsSparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Liste görünümü */
.top-liked-list-view {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

/* Birinci item highlight */
.winner-item {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left: 3px solid gold;
}

.winner-item .top-username {
    color: #b8860b;
    font-weight: 700;
}

/* Top Liked Icon in Post Bar */
.top-liked-icon {
    position: relative;
}

.top-liked-icon i {
    color: #f5576c !important;
    animation: fireGlow 1.5s ease-in-out infinite alternate;
}

@keyframes fireGlow {
    0% { text-shadow: 0 0 5px rgba(245, 87, 108, 0.5); }
    100% { text-shadow: 0 0 15px rgba(245, 87, 108, 0.8), 0 0 25px rgba(245, 87, 108, 0.4); }
}

.top-liked-icon:hover i {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}


/* ============================================
   MODERN CREATE POST - INSTAGRAM STYLE
   ============================================ */

.ig-create-post {
    background: #fff;
    border-radius: 12px;
    margin: 10px 12px;
    border: 1px solid #dbdbdb;
    overflow: hidden;
}

.ig-create-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
}

.ig-create-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #efefef;
    flex-shrink: 0;
}

.ig-create-input-wrap {
    flex: 1;
    min-width: 0;
}

.ig-create-textarea {
    width: 100%;
    min-height: 40px;
    max-height: 120px;
    border: none;
    outline: none;
    resize: none;
    font-size: 14px;
    line-height: 1.5;
    color: #262626;
    background: transparent;
    padding: 6px 0;
}

.ig-create-textarea::placeholder {
    color: #8e8e8e;
}

.ig-create-preview {
    padding: 8px 12px;
    border-top: 1px solid #efefef;
}

.ig-create-emoji {
    padding: 8px 12px;
    border-top: 1px solid #efefef;
    background: #fafafa;
    max-height: 200px;
    overflow-y: auto;
}

.ig-create-emoji .emoticon {
    height: 24px;
    width: 24px;
    float: left;
    margin: 5px;
}

.ig-create-emoji .emoticon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.ig-create-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid #efefef;
    background: #fafafa;
    flex-wrap: wrap;
    gap: 8px;
}

.ig-create-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ig-tool-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    position: relative;
}

.ig-tool-btn:hover {
    background: #e8e8e8;
    color: #262626;
}

.ig-tool-btn i {
    font-size: 16px;
}

.ig-tool-btn input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ig-tool-btn.top-liked-icon i {
    color: #f5576c;
}

.ig-post-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #0095f6;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ig-post-btn:hover {
    background: #0086e0;
}

.ig-post-btn i {
    font-size: 12px;
}


/* ============================================
   INSTAGRAM STYLE - MODERN POST CARDS
   ============================================ */

/* Post Card Container */
.ig-post-card {
    background: #ffffff;
    border-radius: 12px;
    margin: 12px 0;
    border: 1px solid #dbdbdb;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ig-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Post Header */
.ig-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ig-post-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

/* Instagram Style Avatar Ring */
.ig-avatar-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.ig-avatar-ring:hover {
    transform: scale(1.05);
}

.ig-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

/* User Info */
.ig-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ig-username {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    transition: color 0.2s ease;
}

.ig-username:hover {
    color: #0095f6;
}

.ig-post-time {
    font-size: 12px;
    color: #8e8e8e;
    font-weight: 400;
}

/* Post Menu Button */
.ig-post-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #262626;
    transition: all 0.2s ease;
    position: relative;
}

.ig-post-menu-btn:hover {
    background: #f5f5f5;
}

.ig-post-menu-btn i {
    font-size: 16px;
}

/* Dropdown Menu */
.ig-post-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #dbdbdb;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.ig-post-menu-btn:hover .ig-post-dropdown,
.ig-post-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.ig-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #262626;
    font-size: 14px;
}

.ig-dropdown-item:hover {
    background: #fafafa;
}

.ig-dropdown-item i {
    width: 20px;
    text-align: center;
    color: #8e8e8e;
}

.ig-dropdown-item.ig-delete {
    color: #ed4956;
}

.ig-dropdown-item.ig-delete i {
    color: #ed4956;
}

.ig-dropdown-item.ig-report {
    color: #f5a623;
}

.ig-dropdown-item.ig-report i {
    color: #f5a623;
}

/* Post Content */
.ig-post-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #262626;
    word-wrap: break-word;
}

.ig-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 12px;
}

.ig-post-content video {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 12px;
}

/* Post Actions */
.ig-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
}

/* Reactions Container */
.ig-reactions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ig-reactions .like_btn,
.ig-reactions .like_item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f5f5f5;
    font-size: 16px;
}

.ig-reactions .like_btn:hover,
.ig-reactions .like_item:hover {
    transform: scale(1.15);
    background: #fee2e2;
}

.ig-reactions .like_btn.liked,
.ig-reactions .like_item.active {
    animation: likeAnimation 0.4s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.ig-reactions .like_count {
    font-size: 13px;
    font-weight: 600;
    color: #262626;
    min-width: 20px;
}

/* Comment Toggle */
.ig-comment-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    color: #262626;
}

.ig-comment-toggle:hover {
    background: #e8e8e8;
}

.ig-comment-toggle i {
    font-size: 16px;
    color: #8e8e8e;
}

/* Comment Input Area - Modern Instagram Style */
.ig-comment-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #efefef;
}

.ig-comment-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #efefef;
}

.ig-comment-form {
    display: flex;
    align-items: center;
    flex: 1;
    background: #f5f5f5;
    border: none;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    transition: background 0.2s ease;
}

.ig-comment-form:focus-within {
    background: #efefef;
}

.ig-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    padding: 6px 12px;
    background: transparent;
    color: #262626;
    line-height: 1.4;
}

.ig-input::placeholder {
    color: #8e8e8e;
    font-size: 13px;
}

.ig-send-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #0095f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ig-send-btn:hover {
    color: #00376b;
    transform: scale(1.1);
}

.ig-send-btn i {
    font-size: 14px;
}

/* Comments Wrapper */
.ig-comments-wrapper {
    background: #fafafa;
}

.ig-comments-wrapper .ncmtbox {
    padding: 0 16px;
}

/* Reply/Comment Items */
.ig-comments-wrapper .news_reply,
.ig-comments-wrapper .reply_element {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Post text içerik */
.ig-post-content .text_content {
    font-size: 15px;
    line-height: 1.6;
    color: #262626;
}

/* Modern Paylaşım Giriş Alanı - News Input */
.news_input_c {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 22px;
    padding: 4px 16px;
    transition: all 0.2s ease;
}

.news_input_c:focus-within {
    border-color: #0095f6;
    box-shadow: 0 0 0 3px rgba(0, 149, 246, 0.1);
}

.news_input_c .full_textarea {
    border: none;
    background: transparent;
    resize: none;
    font-size: 15px;
    line-height: 1.5;
    min-height: 40px;
    padding: 10px 0;
}

.news_input_c .full_textarea:focus {
    outline: none;
}

.news_input_c .full_textarea::placeholder {
    color: #8e8e8e;
}

/* Main Post Control - Instagram Style */
.main_post_control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 10px;
}

.main_post_item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f5f5f5;
    color: #666;
    position: relative;
}

.main_post_item:hover {
    background: #e8e8e8;
    transform: scale(1.05);
}

.main_post_item i {
    font-size: 14px;
}

.main_post_item input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Gönder Butonu */
.main_post_item:last-child {
    background: linear-gradient(45deg, #0095f6 0%, #00c6fb 100%);
    color: #fff;
}

.main_post_item:last-child:hover {
    box-shadow: 0 2px 8px rgba(0, 149, 246, 0.4);
}

/* ============================================
   INSTAGRAM STYLE REACTION BUTTONS
   ============================================ */

.ig-reaction-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ig-reaction-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 16px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 12px;
}

.ig-reaction-btn:hover {
    background: #e8e8e8;
    transform: scale(1.03);
}

.ig-reaction-btn:active {
    transform: scale(0.97);
}

.ig-reaction-btn.active,
.ig-reaction-btn.liked,
.ig-reaction-btn.disliked,
.ig-reaction-btn.loved,
.ig-reaction-btn.funned {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
}

.ig-reaction-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.ig-reaction-btn:hover .ig-reaction-icon {
    transform: scale(1.1);
}

.ig-reaction-count {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    min-width: 10px;
}

/* Legacy like_count class - Compact Style */
.ig-reactions .like_count,
.ig-post-actions .like_count,
.post_control .like_count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #555;
}

.ig-reactions .like_count:hover,
.ig-post-actions .like_count:hover,
.post_control .like_count:hover {
    background: #e8e8e8;
    transform: scale(1.02);
}

.ig-reactions .like_icon,
.ig-post-actions .like_icon,
.post_control .like_icon {
    width: 14px;
    height: 14px;
}

/* Comment toggle compact */
.ig-comment-toggle {
    padding: 4px 10px;
    font-size: 12px;
}

.ig-comment-toggle i {
    font-size: 13px;
}


/* Legacy Comment Zone Fix - Modern Style */
.add_comment_zone {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #efefef;
}

.add_comment_zone .avatar_reply_div {
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.add_comment_zone .avatar_reply {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #efefef;
}

.add_comment_zone .reply_post,
.add_comment_zone .news_input_c {
    flex: 1;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    width: auto !important;
}

.add_comment_zone .news_reply_form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    transition: background 0.2s ease;
}

.add_comment_zone .news_reply_form:focus-within {
    background: #efefef;
}

.add_comment_zone .add_comment,
.add_comment_zone .full_input2 {
    flex: 1;
    border: none !important;
    outline: none;
    font-size: 13px;
    padding: 6px 12px !important;
    background: transparent !important;
    border-radius: 0 !important;
    line-height: 1.4;
}

.add_comment_zone .add_comment::placeholder,
.add_comment_zone .full_input2::placeholder {
    color: #8e8e8e;
    font-size: 13px;
}




/* Dark Mode */
.dark .ig-reaction-btn {
    background: #363636;
}

.dark .ig-reaction-btn:hover {
    background: #404040;
}

.dark .ig-reaction-count {
    color: #f5f5f5;
}

/* Mobile */
@media (max-width: 768px) {
    .ig-reaction-buttons {
        gap: 4px;
    }
    
    .ig-reaction-btn {
        padding: 6px 10px;
        gap: 4px;
    }
    
    .ig-reaction-icon {
        width: 16px;
        height: 16px;
    }
    
    .ig-reaction-count {
        font-size: 12px;
    }
}
/* Avatar News Input */
.avatar_news_input {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    transition: border-color 0.2s ease;
}

.avatar_news_input:hover {
    border-color: #0095f6;
}

/* Alt Noktali Border */
.alt-noktali {
    border-bottom: none;
    padding-bottom: 0;
}

/* Pad20 Container */
.pad20.alt-noktali {
    background: #fff;
    border-radius: 12px;
    margin: 12px 15px;
    padding: 16px;
    border: 1px solid #dbdbdb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Dark Mode Support */
.dark .ig-post-card {
    background: #1e1e1e;
    border-color: #363636;
}

.dark .ig-post-header {
    border-bottom-color: #363636;
}

.dark .ig-username {
    color: #f5f5f5;
}

.dark .ig-post-time {
    color: #a8a8a8;
}

.dark .ig-post-menu-btn {
    color: #f5f5f5;
}

.dark .ig-post-menu-btn:hover {
    background: #363636;
}

.dark .ig-post-dropdown {
    background: #2a2a2a;
    border-color: #363636;
}

.dark .ig-dropdown-item {
    color: #f5f5f5;
}

.dark .ig-dropdown-item:hover {
    background: #363636;
}

.dark .ig-post-content {
    color: #f5f5f5;
}

.dark .ig-post-actions {
    border-top-color: #363636;
}

.dark .ig-reactions .like_btn,
.dark .ig-reactions .like_item {
    background: #363636;
}

.dark .ig-reactions .like_count {
    color: #f5f5f5;
}

.dark .ig-comment-toggle {
    background: #363636;
    color: #f5f5f5;
}

.dark .ig-comment-toggle:hover {
    background: #404040;
}

.dark .ig-comment-input {
    background: #262626;
    border-top-color: #363636;
}

.dark .ig-comment-form {
    background: #1e1e1e;
    border-color: #363636;
}

.dark .ig-input {
    color: #f5f5f5;
}

.dark .ig-comments-wrapper {
    background: #262626;
}

.dark .pad20.alt-noktali {
    background: #1e1e1e;
    border-color: #363636;
}

.dark .news_input_c {
    background: #1e1e1e;
    border-color: #363636;
}

.dark .news_input_c .full_textarea {
    color: #f5f5f5;
}

.dark .main_post_item {
    background: #363636;
    color: #f5f5f5;
}

.dark .main_post_item:hover {
    background: #404040;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ig-post-header {
        padding: 12px 14px;
    }
    
    .ig-avatar-ring {
        width: 38px;
        height: 38px;
    }
    
    .ig-username {
        font-size: 13px;
    }
    
    .ig-post-time {
        font-size: 11px;
    }
    
    .ig-post-content {
        padding: 14px;
        font-size: 14px;
    }
    
    .ig-post-actions {
        padding: 10px 14px;
    }
    
    .ig-reactions .like_btn,
    .ig-reactions .like_item {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .ig-comment-input {
        padding: 10px 14px;
    }
    
    .ig-comment-avatar {
        width: 28px;
        height: 28px;
    }
    
    .ig-send-btn {
        width: 32px;
        height: 32px;
    }
    
    .pad20.alt-noktali {
        margin: 8px 10px;
        padding: 14px;
        border-radius: 12px;
    }
    
    .main_post_item {
        width: 36px;
        height: 36px;
    }
    
    .main_post_item i {
        font-size: 16px;
    }
}



/* Video with Text Overlay - Sevgi Duvarı */
.ig-video-with-text {
    position: relative;
    width: 100%;
}

.ig-video-with-text .post_video {
    width: 100%;
    border-radius: 0;
}

.ig-video-with-text video {
    width: 100%;
    display: block;
}

.ig-video-text-overlay {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    z-index: 10;
    word-wrap: break-word;
    max-height: 100px;
    overflow-y: auto;
}



/* Tenor GIF Integration Styles */
.tenor-tab, .tenor-tab-priv {
    font-size: 16px !important;
}

.tenor-content {
    padding: 0 !important;
    min-height: 280px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tenor-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.tenor-search-input {
    width: 120px;
    min-width: 100px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.tenor-search-input:focus {
    border-color: #007bff;
    width: 140px;
}

.tenor-search-icon {
    display: none;
}

.tenor-categories {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    flex: 1;
    padding: 0;
    border-bottom: none;
}

.tenor-categories::-webkit-scrollbar {
    display: none;
}

.tenor-cat, .tenor-cat-priv {
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.tenor-cat:hover, .tenor-cat-priv:hover {
    background: #007bff;
    color: #fff;
}

.tenor-results {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(80px, auto);
    gap: 8px;
    align-content: start;
    max-height: 250px;
}

.tenor-gif-item {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    height: 80px;
    background: #f5f5f5;
}

.tenor-gif-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.tenor-gif-item:hover img {
    transform: scale(1.05);
}

.tenor-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #999;
}

.tenor-attribution {
    padding: 4px 10px;
    text-align: right;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.05));
    border-top: 1px solid rgba(0, 102, 255, 0.1);
}

.tenor-attribution .dev-credit {
    font-size: 11px;
    color: #0066ff;
    letter-spacing: 0.3px;
}

.tenor-attribution .dev-credit strong {
    font-weight: 700;
    color: #0052cc;
}

.tenor-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 13px;
}

/* Private chat Tenor - daha kompakt */
#private_emoticon .tenor-content {
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
}

#private_emoticon .tenor-search-input {
    width: 80px;
}

#private_emoticon .tenor-cat-priv {
    padding: 3px 6px;
    font-size: 12px;
}

#private_emoticon .tenor-results {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(70px, auto);
    gap: 6px;
    padding: 5px;
    max-height: 180px;
    overflow-y: auto;
}

#private_emoticon .tenor-gif-item {
    height: 70px;
}
.ig-video-text-overlay .bbcode {
    color: #fff;
}

/* ========================================
   SEVGI DUVARI - Story Card Efektleri
   ======================================== */

/* Instagram tarzı gradient dönen çizgi - Avatar etrafı */
.post_avatar {
    position: relative;
}

.post_avatar::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #f09433, #e6683c, #dc2743, #cc2366, #bc1888,
        #8a3ab9, #4c68d7, #6a9ce4, #56c4a5, #70c050,
        #f09433
    );
    animation: instagram-rotate 3s linear infinite;
    z-index: 0;
}

.post_avatar::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 50%;
    background: var(--back_color, #1a1a2e);
    z-index: 1;
}

.post_avatar img {
    position: relative;
    z-index: 2;
}

@keyframes instagram-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Story Card - Gidip gelen efekt */
.post_element {
    animation: story-pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.post_element:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

@keyframes story-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
    }
}

/* Alternatif - Sadece belirli kartlar için farklı animasyon */
.post_element:nth-child(odd) {
    animation-delay: 0s;
}

.post_element:nth-child(even) {
    animation-delay: 1.5s;
}

/* Gradient border glow efekti */
.post_element::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.5), 
        rgba(139, 92, 246, 0.5), 
        rgba(236, 72, 153, 0.5),
        rgba(99, 102, 241, 0.5)
    );
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.post_element:hover::before {
    opacity: 1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Post element position fix */
.post_element {
    position: relative;
    overflow: visible;
}


/* ========================================
   SHORTS - Instagram Story Tarzı
   ======================================== */

.shorts-section {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.shorts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.shorts-header h3 {
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.shorts-header h3 i {
    color: #6366f1;
}

.shorts-add-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.shorts-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.shorts-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.shorts-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.shorts-track {
    display: flex;
    transition: transform 0.4s ease;
}

.shorts-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.shorts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.9);
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.shorts-arrow:hover {
    background: #6366f1;
    transform: translateY(-50%) scale(1.1);
}

.shorts-prev { left: 0; }
.shorts-next { right: 0; }

.shorts-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.shorts-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.shorts-dot.active {
    background: #6366f1;
    transform: scale(1.2);
}

/* Short Card */
.short-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.short-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.short-card.viewed {
    opacity: 0.5;
}

.short-card.viewed:hover {
    opacity: 0.8;
}

/* ========== Instagram Story Avatar Ring ========== */
.short-avatar-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 48px;
    height: 48px;
    z-index: 5;
}

.short-avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
}

.short-avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a2e;
    z-index: 2;
}

/* YENİ STORY - Dönen kesik çizgili gradient border */
.short-avatar-wrapper.has-new-story .short-avatar-ring {
    background: conic-gradient(
        from 0deg,
        #f09433 0deg 25deg, transparent 25deg 35deg,
        #e6683c 35deg 60deg, transparent 60deg 70deg,
        #dc2743 70deg 95deg, transparent 95deg 105deg,
        #cc2366 105deg 130deg, transparent 130deg 140deg,
        #bc1888 140deg 165deg, transparent 165deg 175deg,
        #8a3ab9 175deg 200deg, transparent 200deg 210deg,
        #4c68d7 210deg 235deg, transparent 235deg 245deg,
        #6a9ce4 245deg 270deg, transparent 270deg 280deg,
        #56c4a5 280deg 305deg, transparent 305deg 315deg,
        #70c050 315deg 340deg, transparent 340deg 350deg,
        #f09433 350deg 360deg
    );
    animation: story-ring-spin 3s linear infinite;
}

.short-avatar-wrapper.has-new-story .short-avatar-ring::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 1;
}

@keyframes story-ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* İZLENMİŞ STORY - Gri kesik çizgili border (dönmez) */
.short-avatar-wrapper.story-seen .short-avatar-ring {
    background: conic-gradient(
        from 0deg,
        #6b7280 0deg 25deg, transparent 25deg 35deg,
        #6b7280 35deg 60deg, transparent 60deg 70deg,
        #6b7280 70deg 95deg, transparent 95deg 105deg,
        #6b7280 105deg 130deg, transparent 130deg 140deg,
        #6b7280 140deg 165deg, transparent 165deg 175deg,
        #6b7280 175deg 200deg, transparent 200deg 210deg,
        #6b7280 210deg 235deg, transparent 235deg 245deg,
        #6b7280 245deg 270deg, transparent 270deg 280deg,
        #6b7280 280deg 305deg, transparent 305deg 315deg,
        #6b7280 315deg 340deg, transparent 340deg 350deg,
        #6b7280 350deg 360deg
    );
    animation: none;
}

.short-avatar-wrapper.story-seen .short-avatar-ring::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 1;
}

/* Thumbnail */
.short-thumbnail {
    aspect-ratio: 9/16;
    max-height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #2d1f4e);
}

.short-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.short-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.short-card:hover .short-play-overlay {
    opacity: 1;
}

.short-time-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.short-info {
    padding: 10px;
    text-align: center;
}

.short-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.shorts-empty {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
}

.shorts-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Short Player Modal */
.short-player-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.short-player-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.short-player-content {
    position: relative;
    max-width: 400px;
    max-height: 90vh;
    z-index: 1;
}

.short-player-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

#short-video-player {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .shorts-slide { grid-template-columns: repeat(2, 1fr); }
    .shorts-carousel-wrapper { padding: 0 30px; }
}

@media (max-width: 480px) {
    .shorts-slide { grid-template-columns: 1fr; }
}

/* ===================== */
/* ANKET (POLL) STİLLERİ */
/* ===================== */

/* Anket Modal */
.poll-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.poll-modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: pollModalSlide 0.3s ease-out;
    overflow: hidden;
}

.poll-vote-modal-content {
    max-width: 380px;
}

@keyframes pollModalSlide {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.poll-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    color: #1F2937;
}

.poll-modal-header i {
    margin-right: 8px;
    color: #25D366;
}

.poll-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6B7280;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.poll-modal-close:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.poll-modal-body {
    padding: 14px;
}

.poll-form-group {
    margin-bottom: 15px;
}

.poll-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.poll-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.poll-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}

.poll-option-input {
    margin-bottom: 10px;
}

.poll-submit-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.poll-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
}

.poll-submit-btn i {
    margin-right: 8px;
}

/* Anket İçerik Metni (Duvarda) */
.poll-content-text {
    font-size: 15px;
    color: #333;
    padding: 5px 0;
}

.poll-content-text i {
    margin-right: 6px;
}

/* Anket Butonu (Paylaş yanında) */
.ig-poll-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.ig-poll-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(37,211,102,0.3);
}

.ig-poll-btn i {
    font-size: 14px;
}

/* Anket Oy Verme Modalı - Seçenekler */
.poll-vote-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.poll-vote-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-vote-option:hover:not(.voted) {
    border-color: #25D366;
    background: #f0fff4;
}

.poll-vote-option.voted {
    cursor: default;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.poll-vote-option.selected {
    border-color: #25D366;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    animation: selectedGlow 2s ease-in-out infinite;
}

@keyframes selectedGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5); }
}

.poll-vote-option.voting {
    border-color: #25D366;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    animation: votingPulse 0.6s ease-in-out;
}

@keyframes votingPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.03); }
    50% { transform: scale(0.98); }
    75% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.poll-list-option.voting {
    border-color: #25D366;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    animation: votingPulse 0.6s ease-in-out;
}

.poll-vote-option-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.poll-vote-option-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.poll-vote-arrow {
    color: #25D366;
    font-weight: bold;
    font-size: 16px;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.poll-vote-count {
    font-size: 15px;
    color: #25D366;
    font-weight: 700;
}

.poll-view-voters-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    border: 2px solid #25D366;
    color: #25D366;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-view-voters-btn:hover {
    background: #25D366;
    color: #fff;
}

/* Anket Oyları Listesi - Modern */
.poll-votes-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.poll-vote-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    animation: voteItemSlide 0.4s ease backwards;
    transition: all 0.3s ease;
}

.poll-vote-item:nth-child(1) { animation-delay: 0.05s; }
.poll-vote-item:nth-child(2) { animation-delay: 0.1s; }
.poll-vote-item:nth-child(3) { animation-delay: 0.15s; }
.poll-vote-item:nth-child(4) { animation-delay: 0.2s; }
.poll-vote-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes voteItemSlide {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

.poll-vote-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.poll-vote-item:last-child {
    margin-bottom: 0;
}

.poll-voter-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 14px;
    border: 2px solid #25D366;
    padding: 2px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
}

.poll-voter-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poll-voter-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 15px;
}

.poll-voter-choice {
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}

.poll-no-votes {
    text-align: center;
    padding: 30px;
    color: #999;
}

.poll-loading {
    text-align: center;
    padding: 40px;
    color: #25D366;
    font-weight: 600;
}

.poll-loading i {
    margin-right: 10px;
    font-size: 24px;
    animation: spinPulse 1s ease-in-out infinite;
}

@keyframes spinPulse {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.poll-no-votes {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 15px;
}

/* Anket ikonu stili */
.ig-tool-btn .fa-poll {
    color: #25D366;
}

/* Anket animasyonu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Paylaş ve Anket butonları yan yana */
.ig-post-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ig-poll-create-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ig-poll-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.ig-poll-create-btn i {
    font-size: 15px;
}

/* Mobil için Paylaş/Anket butonları */
@media (max-width: 480px) {
    .ig-post-buttons {
        gap: 6px;
        justify-content: flex-end;
        width: 100%;
    }
    
    .ig-poll-create-btn i {
        font-size: 13px;
    }
}

/* Aktif Anket Banner - Post kartları üstünde */
.ig-active-poll-banner {
    padding: 8px 12px;
    margin: 0 0 8px 0;
}

.ig-active-poll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pollPulse 2s ease-in-out infinite;
}

.ig-active-poll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.ig-active-poll-btn i:first-child {
    font-size: 16px;
}

.ig-active-poll-btn i:last-child {
    font-size: 12px;
    opacity: 0.8;
}

@keyframes pollPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5); }
}

/* Mobil için Aktif Anket Banner */
@media (max-width: 480px) {
    .ig-active-poll-banner {
        padding: 6px 8px;
        margin: 0 0 6px 0;
    }
    
    .ig-active-poll-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 10px;
    }
}

/* Anket Sonuç Butonu - Kompakt */
.ig-poll-results-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ig-poll-results-btn:hover {
    opacity: 0.9;
}

.ig-poll-results-btn i {
    font-size: 10px;
}

/* Anket Listesi Modal - Modern & Animasyonlu */
.poll-list-modal-content {
    max-width: 500px;
    max-height: 80vh;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
}

.poll-list-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
}

.poll-list-content::-webkit-scrollbar {
    width: 6px;
}

.poll-list-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.poll-list-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #25D366, #128C7E);
    border-radius: 3px;
}

.poll-list-item {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.poll-list-item::before {
    display: none;
}

.poll-list-item:nth-child(1) { animation-delay: 0s; }
.poll-list-item:nth-child(2) { animation-delay: 0s; }
.poll-list-item:nth-child(3) { animation-delay: 0s; }
.poll-list-item:nth-child(4) { animation-delay: 0s; }
.poll-list-item:nth-child(5) { animation-delay: 0s; }

@keyframes pollItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.poll-list-item:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.poll-list-question {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.poll-creator {
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 10px;
}

.poll-creator i {
    color: #25D366;
    margin-right: 4px;
}

.poll-creator strong {
    color: #1F2937;
}

.poll-list-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.poll-list-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.poll-list-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.05) 100%);
    transition: width 0.5s ease;
    z-index: 0;
}

.poll-list-option:hover:not(.voted)::after {
    width: 100%;
}

.poll-list-option:hover:not(.voted) {
    border-color: #25D366;
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.2);
}

.poll-list-option.voted {
    cursor: default;
}

.poll-list-option.selected {
    border-color: #25D366;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    animation: selectedPulse 2s ease-in-out infinite;
}

@keyframes selectedPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4); }
}

.poll-list-option.selected::before {
    content: '✓';
    position: absolute;
    left: 18px;
    color: #25D366;
    font-weight: bold;
    font-size: 18px;
    animation: checkBounce 0.5s ease;
    z-index: 1;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.poll-list-option.selected .poll-list-option-text {
    padding-left: 25px;
}

.poll-list-option-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    z-index: 1;
    position: relative;
    transition: padding-left 0.3s ease;
}

.poll-list-option-info {
    font-size: 15px;
    color: #25D366;
    font-weight: 700;
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.poll-list-option-info::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.poll-list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E5E7EB;
}

.poll-list-total {
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
}

.poll-list-total::before {
    display: none;
}

.poll-admin-actions {
    display: flex;
    gap: 8px;
}

.poll-list-view-btn {
    background: none;
    border: 1px solid #3B82F6;
    color: #3B82F6;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-list-view-btn:hover {
    background: #3B82F6;
    color: #FFFFFF;
}

.poll-list-view-btn::before {
    display: none;
}

.poll-delete-btn {
    background: none;
    border: 1px solid #EF4444;
    color: #EF4444;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-delete-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
}

.poll-list-view-btn:hover::before {
    left: 0;
}

.poll-list-view-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.poll-list-view-btn i {
    margin-right: 5px;
}

/* Anket Admin Butonları Container */
.poll-admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Anket Silme Butonu */
.poll-delete-btn {
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poll-delete-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.poll-delete-btn i {
    margin-right: 5px;
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

/* TEST - Tum kullanicilara cerceve (silinecek) */
/*
.user_item .user_item_avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 56px;
    height: 56px;
    background: conic-gradient(from 0deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    border-radius: 50%;
    z-index: 0;
    animation: djlive-spin 2s linear infinite;
}
*/

/* ========================================
   AGENT RANK (999) - VIP GİRİŞ STİLLERİ
   ======================================== */

/* Agent Entry Animation */
.agent-entry {
    animation: agentSlideIn 0.8s ease-out;
}

@keyframes agentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    50% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.agent-banner {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b4e 100%) !important;
    border: 2px solid #8b5cf6 !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 0 30px rgba(139, 92, 246, 0.05) !important;
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
}

.agent-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    animation: agentShine 3s infinite;
}

@keyframes agentShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.agent-icon {
    position: relative;
}

.agent-icon .icon img {
    border: 3px solid #8b5cf6 !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.agent-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
    animation: agentPulse 2s infinite;
}

@keyframes agentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.agent-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agent-name {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.agent-rank {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 6px;
}

.agent-subtitle {
    color: #a1a1aa !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    font-style: italic;
    animation: agentTextGlow 2s infinite alternate;
}

@keyframes agentTextGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* VIP Entry Container - New Design */
.vip-entry-container {
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, rgba(20, 20, 20, 0.6) 100%);
    border-left: 3px solid #ff0000;
    padding: 1px 1px;
    margin: 0px 0;
    border-radius: 0 4px 4px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    animation: vipSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.vip-badge-icon {
    color: #009b3a;
    font-size: 15px;
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vip-content-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.4;
}

.vip-username {
    font-weight: 700;
    color: #606060;
    letter-spacing: 0.3px;
}

.vip-rank-badge {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: #fff;
    padding: 0px 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}

.vip-action {
    color: #a31515;
    font-weight: 400;
}

.vip-separator {
    color: #666;
    margin: 0 2px;
}

.vip-system-status {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 100, 255, 0.2) 0%, rgba(255, 0, 0, 0.2) 100%);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-lock-icon {
    background: linear-gradient(180deg, #ff4444 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px;
    animation: lockColorShift 3s ease-in-out infinite;
}

@keyframes lockColorShift {
    0%, 100% { 
        filter: hue-rotate(0deg); 
    }
    50% { 
        filter: hue-rotate(60deg); 
    }
}

@keyframes vipSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .vip-content-inline {
        gap: 4px;
    }
    .vip-separator {
        display: none;
    }
    .vip-system-status {
        width: 100%;
        margin-top: 2px;
        background: none;
        padding: 0;
        color: #888;
    }
}


/* Agent Join Message Styles - Legacy */
.agent-join-message {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #8b5cf6;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 8px 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    animation: agentJoinPulse 0.5s ease-out;
}

@keyframes agentJoinPulse {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.agent-join-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.agent-join-message .agent-icon {
    font-size: 18px;
}

.agent-join-message .agent-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.agent-join-message .agent-badge {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.agent-join-message .agent-text {
    color: #a1a1aa;
    font-size: 13px;
}

.agent-join-subtitle {
    color: #8b5cf6;
    font-size: 12px;
    margin-top: 6px;
    font-style: italic;
    animation: agentGlow 2s infinite alternate;
}

@keyframes agentGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; text-shadow: 0 0 8px rgba(139, 92, 246, 0.5); }
}


/* ========================================
   MODERN RADIO PLAYER
   ======================================== */
#player_menu { z-index: 9999 !important; }
#player_menu.float_menu { width: 320px !important; max-width: 95vw !important; }
#player_menu_content {
    background: #0c0c14 !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}
.player_wrap { padding: 0 !important; background: transparent !important; }
#current_player { background: transparent !important; border: none !important; padding: 0 !important; }

/* Header - Visualizer + Now Playing */
.rp_header_btns {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.rp_minimize, .rp_close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #a1a1aa;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.rp_minimize:hover { background: rgba(139,92,246,0.2); color: #c4b5fd; border-color: rgba(139,92,246,0.4); }
.rp_close:hover { background: rgba(239,68,68,0.2); color: #f87171; border-color: rgba(239,68,68,0.4); }
.rp_header {
    position: relative;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1));
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rp_visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    flex-shrink: 0;
}
.rp_bar {
    width: 4px;
    border-radius: 2px;
    background: #8b5cf6;
    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_now_playing { flex: 1; min-width: 0; }
.rp_live_badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 6px;
    animation: livePulse 2s infinite;
}
@keyframes livePulse { 0%,100% { opacity:1; } 50% { opacity:0.6; } }
.rp_song_wrap { overflow: hidden; }
#esunus_calansarki, .rp_song_name {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* DJ + Dinleyici Row */
.rp_info_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rp_dj_info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #06b6d4;
    font-size: 12px;
    font-weight: 600;
}
.rp_dj_info i { font-size: 11px; }
.esunus_djismi2 { color: #06b6d4 !important; font-weight: 600 !important; font-size: 12px !important; }
.rp_listeners {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(139,92,246,0.12);
    padding: 4px 10px;
    border-radius: 20px;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.rp_listeners:hover { background: rgba(139,92,246,0.25); }
.rp_listeners i { font-size: 10px; }

/* Play Controls */
.rp_controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}
.splay_btn, #player_actual_status {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 20px rgba(139,92,246,0.35) !important;
    transition: transform 0.2s, box-shadow 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;
    box-shadow: 0 0 30px rgba(139,92,246,0.5) !important;
}
#current_play_btn {
    font-size: 18px !important;
    color: #fff !important;
    position: relative; z-index: 1;
}
/* Playing state pulse */
#player_actual_status.turn_off_play::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(139,92,246,0.6);
    animation: rp_pulse 1.5s ease-out infinite;
    pointer-events: none;
}
@keyframes rp_pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}
.rp_station_btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #a1a1aa;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.rp_station_btn:hover { background: rgba(139,92,246,0.2); color: #c4b5fd; border-color: rgba(139,92,246,0.4); }
.rp_station_name { flex: 1; min-width: 0; }
.rp_label {
    display: block;
    color: #71717a;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
#current_station {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Volume */
.rp_volume {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 12px;
}
#sound_display {
    color: #8b5cf6 !important;
    font-size: 14px !important;
    flex-shrink: 0;
    width: auto !important;
}
#player_volume, .boom_slider { flex: 1 !important; }
#slider {
    background: rgba(255,255,255,0.12) !important;
    border-radius: 4px !important;
    height: 4px !important;
}
#slider .ui-slider-range {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4) !important;
    border-radius: 4px !important;
}
#slider .ui-slider-handle {
    background: #fff !important;
    border: 2px solid #8b5cf6 !important;
    border-radius: 50% !important;
    width: 14px !important;
    height: 14px !important;
    top: -5px !important;
    cursor: pointer !important;
    outline: none !important;
    transition: transform 0.15s !important;
}
#slider .ui-slider-handle:hover { transform: scale(1.3); }

/* Action Buttons */
.rp_actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}
.rp_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s;
}
.rp_btn_leave {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.25);
    color: #f87171;
}
.rp_btn_leave:hover { background: rgba(239,68,68,0.18); }
.rp_btn_request {
    background: rgba(6,182,212,0.08);
    border-color: rgba(6,182,212,0.25);
    color: #22d3ee;
}
.rp_btn_request:hover { background: rgba(6,182,212,0.18); }

/* Hide old compat elements */
.radio-sarki-tag.bback, #current_player > .radio-tag { display: none !important; }
#radio_iframe { display: none !important; }

/* Old class overrides to prevent conflicts */
.player_volume { display: none !important; }
.cur_play { padding: 0 !important; }
.player_wrap.hpad5 { padding: 0 !important; }
.btable.bborder.vpad10, .tpad15.centered_element { display: none !important; }

/* Station List Menu */
#station_menu .float_content { background: #0c0c14 !important; }
#station_menu .ftop_elem {
    background: rgba(139,92,246,0.1) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Mobile */
@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; }
}

   MODERN ROOMS LIST - Reference Design Match
   ======================================== */

/* Room List Container */
/* =====================================================
   ODA LİSTESİ - AÇIK TEMA MODERN TASARIM
   Her oda ayrı çerçeveli, küçük ikonlu
   ===================================================== */

/* Ana Container */
.chat_rlist {
    background: #F8FAFC !important;
    padding: 12px !important;
}

/* Arama Kutusu */
.room_search input,
#search_chat_room {
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #1E293B !important;
}

.room_search input:focus {
    outline: none !important;
    border-color: #3B82F6 !important;
}

/* Oda Container */
.chat_rlist #container_room {
    padding-top: 10px !important;
}

/* ============================================
   ODA KARTI - Her oda ayrı çerçevede
   ============================================ */
.chat_rlist .room_elem {
    display: table !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    padding: 12px !important;
    padding-left: 16px !important;
    padding-right: 40px !important;
    position: relative !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.chat_rlist .room_elem:hover {
    border-color: #3B82F6 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.chat_rlist .room_elem.owner {
    background: #EFF6FF !important;
    border-color: #3B82F6 !important;
}

/* Sol Çizgi */
.chat_rlist .room_elem::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 4px !important;
    background: linear-gradient(180deg, #8B5CF6 0%, #3B82F6 100%) !important;
    border-radius: 0 4px 4px 0 !important;
}

/* Sağ Ok */
.chat_rlist .room_elem::after {
    content: '›' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 24px !important;
    color: #3B82F6 !important;
    font-weight: 400 !important;
}

/* ============================================
   ODA İKONU - 50x50
   ============================================ */
.chat_rlist .room_icon_wrap,
.chat_rlist .bcell_mid.room_icon_wrap,
.chat_rlist .room_element .room_icon_wrap {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
}

.chat_rlist .room_icon,
.chat_rlist .room_element .room_icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

/* ============================================
   ODA BİLGİLERİ
   ============================================ */
.chat_rlist .room_content {
    padding-left: 12px !important;
}

.chat_rlist .room_name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 2px !important;
}

.chat_rlist .room_elem:hover .room_name {
    color: #3B82F6 !important;
}

.chat_rlist .room_description {
    font-size: 12px !important;
    color: #64748B !important;
    margin-bottom: 4px !important;
}

.chat_rlist .room_count {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748B !important;
}

.chat_rlist .room_tag {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.7 !important;
}




/* =====================
   YÖNETİCİLİKTEN AYRIL MODAL - E1 Design
   ===================== */
.e1-modal-container {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}

.e1-icon-glow {
    width: 64px;
    height: 64px;
    background: rgba(225, 29, 72, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #e11d48;
    font-size: 28px;
    border: 1px solid rgba(225, 29, 72, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(225, 29, 72, 0.15); }
}

.e1-modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.e1-modal-desc {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    padding: 0 5px;
}

.e1-modal-desc strong {
    color: #f4f4f5;
}

.e1-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.e1-btn-secondary {
    background: transparent;
    border: 1px solid #3f3f46;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.e1-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #52525b;
}

.e1-btn-primary {
    background: #e11d48;
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
    transition: all 0.2s ease;
}

.e1-btn-primary:hover {
    background: #be123c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}


/* Kullanıcı listesinde avatar ring */
.ulist_avatar.short-avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.ulist_avatar.short-avatar-wrapper .short-avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 2px;
}

.ulist_avatar.short-avatar-wrapper .short-avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1a1a2e;
    z-index: 2;
}

/* Yeni story - Instagram gradient dönen ring */
.ulist_avatar.short-avatar-wrapper.has-new-story .short-avatar-ring {
    background: conic-gradient(
        from 0deg,
        #f09433 0deg 25deg, transparent 25deg 35deg,
        #e6683c 35deg 60deg, transparent 60deg 70deg,
        #dc2743 70deg 95deg, transparent 95deg 105deg,
        #cc2366 105deg 130deg, transparent 130deg 140deg,
        #bc1888 140deg 165deg, transparent 165deg 175deg,
        #8a3ab9 175deg 200deg, transparent 200deg 210deg,
        #4c68d7 210deg 235deg, transparent 235deg 245deg,
        #6a9ce4 245deg 270deg, transparent 270deg 280deg,
        #56c4a5 280deg 305deg, transparent 305deg 315deg,
        #70c050 315deg 340deg, transparent 340deg 350deg,
        #f09433 350deg 360deg
    );
    animation: story-ring-spin 3s linear infinite;
}

.ulist_avatar.short-avatar-wrapper.has-new-story .short-avatar-ring::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 1;
}

/* İzlenmiş story - Gri soluk ring */
.ulist_avatar.short-avatar-wrapper.story-seen .short-avatar-ring {
    background: conic-gradient(
        from 0deg,
        #4a4a5a 0deg 25deg, transparent 25deg 35deg,
        #4a4a5a 35deg 60deg, transparent 60deg 70deg,
        #4a4a5a 70deg 95deg, transparent 95deg 105deg,
        #4a4a5a 105deg 130deg, transparent 130deg 140deg,
        #4a4a5a 140deg 165deg, transparent 165deg 175deg,
        #4a4a5a 175deg 200deg, transparent 200deg 210deg,
        #4a4a5a 210deg 235deg, transparent 235deg 245deg,
        #4a4a5a 245deg 270deg, transparent 270deg 280deg,
        #4a4a5a 280deg 305deg, transparent 305deg 315deg,
        #4a4a5a 315deg 340deg, transparent 340deg 350deg,
        #4a4a5a 350deg 360deg
    );
    animation: none;
}

.ulist_avatar.short-avatar-wrapper.story-seen .short-avatar-ring::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 1;
}



/* ========== KONFERANS BİLDİRİM BALONU ========== */
/* Konferans Bildirimi - Modern Gradient */
.rcall-notification {
    position: fixed;
    background: linear-gradient(145deg, #7c6bc4, #6a7fd8);
    border-radius: 14px;
    padding: 16px 18px;
    padding-right: 36px;
    box-shadow: 0 8px 32px rgba(108, 99, 190, 0.4);
    z-index: 9999;
    cursor: pointer;
    width: auto;
    max-width: 260px;
    animation: rcall-fade-in 0.3s ease-out;
}

.rcall-notification::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 16px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #6a7fd8;
}

.rcall-notification:hover {
    box-shadow: 0 10px 36px rgba(108, 99, 190, 0.55);
}

.rcall-notification.hiding {
    animation: rcall-fade-out 0.3s ease-in forwards;
}

@keyframes rcall-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rcall-fade-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

.rcall-notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.rcall-notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Section layout */
.rcall-notif-section {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rcall-notif-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.rcall-notif-icon i {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.rcall-notif-body {
    flex: 1;
    min-width: 0;
}

.rcall-notif-heading {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.rcall-notif-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    line-height: 1.3;
    margin-top: 2px;
}

.rcall-notif-divider {
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 12px 0;
}

.rcall-notif-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Mobil */
@media (max-width: 480px) {
    .rcall-notification {
        max-width: 220px;
        padding: 12px 14px;
        padding-right: 30px;
    }
    .rcall-notification::after {
        right: 12px;
        bottom: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #6a7fd8;
    }
    .rcall-notif-heading { font-size: 13px; }
    .rcall-notif-sub { font-size: 11px; }
    .rcall-notif-icon i { font-size: 16px; }
}

/* ============================================
   SUNUCU GÜNCELLEME BADGE - Yanıp Sönen
============================================ */
.server_update_badge {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #00e5ff, #00ff95);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: serverUpdatePulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    white-space: nowrap;
}

@keyframes serverUpdatePulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
    }
}

#sunucu_yonet_menu {
    position: relative;
}

.server_update_badge.hidden {
    display: none !important;
}



/* ============================================
   YÖNETİM EKİBİ - Rank Info Stilleri
============================================ */
.user_rank_info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.user_rank_info .list_star {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.user_rank_info .rank-star {
    width: 12px;
    height: 12px;
}

.user_rank_name {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

.user_item .user_rank_info .admin-star {
    margin: 0;
    padding: 0;
}
/* Yönetim Ekibi - Anket Modal Tarzı */
.ye-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 20px;
    padding-left: 4px;
    padding-right: 4px;
}

/* Header */
.ye-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.ye-back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ye-back-btn:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.ye-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    flex: 1;
}

.ye-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ye-close-btn:hover {
    background: #F3F4F6;
    color: #1F2937;
}

/* Stats Bar */
.ye-stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 14px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.ye-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6B7280;
}

.ye-stat-item i {
    color: #3B82F6;
}

.ye-online-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

/* Users Wrapper */
.ye-users-wrapper {
    padding: 0 14px 14px;
    overflow-y: auto;
    flex: 1;
}

/* Rank Group */
.ye-rank-group {
    margin-bottom: 10px;
}

.ye-rank-header {
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    padding: 4px 6px;
    background: transparent;
    border: 0;
    margin: 0 0 6px;
    text-transform: none;
    letter-spacing: 0;
}

/* User Card */
.ye-user-card {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .13);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    font-size: .8rem;
    padding: 5px;
    margin-bottom: 8px;
}

.ye-user-card:hover {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, .18);
}

.ye-user-avatar {
    width: 46px;
    height: 46px;
    margin-right: 10px;
    flex-shrink: 0;
    position: relative;
}

.ye-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Avatarda dış gri halka */
.ye-user-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,.07);
    pointer-events: none;
}

.ye-avatar-gender {
    position: absolute;
    top: 30px;
    left: 38px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.ye-avatar-gender i {
    font-size: 10px;
}

.ye-gender-male i {
    color: #3B82F6;
}

.ye-gender-female i {
    color: #EC4899;
}

.ye-user-avatar img.avagen {
    border: 2px solid;
    box-sizing: border-box;
}

.ye-user-avatar img.genmale {
    border-color: #03add8;
}

.ye-user-avatar img.genfemale {
    border-color: #ff99ff;
}

.ye-user-avatar img.genother {
    border-color: #ccc;
}

.ye-avatar-status {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    z-index: 2;
    background: #3B82F6 !important;
}

.ye-user-info {
    flex: 1;
    min-width: 0;
}

.ye-user-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1F2937;
    line-height: 1.1;
}

.ye-user-stars {
    margin-bottom: 4px;
}

.ye-user-stars .list_star {
    display: flex;
    gap: 1px;
    margin: 0;
    padding: 0;
}

.ye-user-stars .rank-star {
    width: 12px;
    height: 12px;
}

.ye-user-stars .admin-star {
    margin: 0;
    padding: 0;
}

.ye-user-duty {
    display: inline-block;
    padding: 1px 8px;
    font-weight: 700;
    font-size: 10px;
    border-radius: 999px;
    color: rgb(183, 28, 28);
    border: 1px solid rgb(183, 28, 28);
    margin-top: 0;
    background: transparent;
}

.ye-user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ye-user-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.ye-user-menu {
    padding: 6px;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.ye-user-menu:hover {
    color: #1F2937;
    background: #E5E7EB;
}

/* Modal */
.ye-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ye-modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ye-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 14px;
    color: #1F2937;
}

.ye-modal-close {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

.ye-modal-close:hover {
    color: #1F2937;
}

.ye-modal-body {
    padding: 14px;
}

.ye-form-group {
    margin-bottom: 12px;
}

.ye-form-group:last-child {
    margin-bottom: 0;
}

.ye-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 5px;
}

.ye-form-static {
    font-size: 13px;
    color: #1F2937;
    font-weight: 600;
}

.ye-form-input {
    width: 100%;
    padding: 8px 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #1F2937;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.ye-form-input:focus {
    border-color: #3B82F6;
    background: #FFFFFF;
}

.ye-modal-footer {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.ye-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ye-btn-cancel {
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.ye-btn-cancel:hover {
    background: #F3F4F6;
}

.ye-btn-save {
    background: #3B82F6;
    color: #FFFFFF;
}

.ye-btn-save:hover {
    background: #2563EB;
}

/* Status Options */
.ye-status-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ye-status-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
}

.ye-status-option:hover {
    background: #F3F4F6;
}

.ye-status-option input[type="radio"] {
    display: none;
}

.ye-status-option input[type="radio"]:checked + .ye-status-badge {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.ye-status-option input[type="radio"]:checked ~ span:last-child {
    font-weight: 600;
}

.ye-status-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ye-status-online {
    background: #22C55E;
}

.ye-status-busy {
    background: #EF4444;
}

.ye-status-away {
    background: #F59E0B;
}
/* (cleanup) stray style tag removed */

/* (cleanup) duplicate avatar/user-card styles removed (handled above) */

/* Modal */
.ye-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ye-modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ye-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 16px;
    color: #1F2937;
}

.ye-modal-close {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.ye-modal-close:hover {
    color: #1F2937;
}

.ye-modal-body {
    padding: 16px;
}

.ye-form-group {
    margin-bottom: 16px;
}

.ye-form-group:last-child {
    margin-bottom: 0;
}

.ye-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 6px;
}

.ye-form-static {
    font-size: 14px;
    color: #1F2937;
    font-weight: 600;
}

.ye-form-input {
    width: 100%;
    padding: 10px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: #1F2937;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ye-form-input:focus {
    border-color: #3B82F6;
    background: #FFFFFF;
}

.ye-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.ye-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ye-btn-cancel {
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.ye-btn-cancel:hover {
    background: #F3F4F6;
}

.ye-btn-save {
    background: #3B82F6;
    color: #FFFFFF;
}

.ye-btn-save:hover {
    background: #2563EB;
}

/* (cleanup) duplicate Status Options block removed */

/* Section Styling */
.ye-section {
    padding: 6px 0;
    background: #FFFFFF;
    border-bottom: 0;
}

.ye-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 16px 8px;
}

/* ============================================
   ADMIN PANEL MODAL - Modern White & Lines
   ============================================ */

.ap-container {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Header */
.ap-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-bottom: 3px solid #3b82f6;
}

.ap-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ap-header-icon i {
    font-size: 22px;
    color: #FFFFFF;
}

.ap-header-content {
    flex: 1;
}

.ap-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.3px;
}

.ap-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 0 0;
}

.ap-close-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ap-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.ap-close-btn i {
    font-size: 14px;
}

/* User Card */
.ap-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ap-user-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.ap-user-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ap-avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #f8fafc;
}

.ap-avatar-status.online {
    background: #22c55e;
}

.ap-avatar-status.offline {
    background: #94a3b8;
}

.ap-user-info {
    flex: 1;
    min-width: 0;
}

.ap-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ap-user-rank {
    font-size: 12px;
    color: #64748b;
}

.ap-user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.ap-user-badge i {
    font-size: 11px;
}

/* Divider */
.ap-divider {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 20px 0;
}

.ap-divider::before,
.ap-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.ap-divider span {
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Section */
.ap-form-section {
    padding: 0 20px 20px;
}

.ap-input-group {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ap-input-group:focus-within {
    border-color: #3b82f6;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.ap-input-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-right: 1px solid #d1d5db;
    flex-shrink: 0;
}

.ap-input-group:focus-within .ap-input-icon {
    background: #3b82f6;
    border-right-color: #3b82f6;
}

.ap-input-icon i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s ease;
}

.ap-input-group:focus-within .ap-input-icon i {
    color: #FFFFFF;
}

.ap-input {
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    outline: none;
}

.ap-input::placeholder {
    color: #94a3b8;
}

.ap-help-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.ap-help-text i {
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Actions */
.ap-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.ap-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ap-btn i {
    font-size: 14px;
}

.ap-btn-secondary {
    background: #FFFFFF;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.ap-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.ap-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.ap-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* ============================================
   ADMIN YONETIM PANEL MODAL
   ============================================ */

.ayp-container {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ayp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    border-bottom: 3px solid #a855f7;
}

.ayp-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ayp-header-icon i {
    font-size: 22px;
    color: #FFFFFF;
}

.ayp-header-content {
    flex: 1;
}

.ayp-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.ayp-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 0 0;
}

.ayp-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ayp-user-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.ayp-user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 3px solid #a855f7;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.ayp-user-info {
    flex: 1;
    min-width: 0;
}

.ayp-user-name {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.ayp-user-rank {
    font-size: 12px;
    color: #64748b;
}

.ayp-badge {
    padding: 8px 14px;
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ayp-form-section {
    padding: 20px;
}

.ayp-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.ayp-input-group {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ayp-input-group:focus-within {
    border-color: #a855f7;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.ayp-input-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-right: 1px solid #d1d5db;
}

.ayp-input-group:focus-within .ayp-input-icon {
    background: #a855f7;
    border-right-color: #a855f7;
}

.ayp-input-icon i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.2s ease;
}

.ayp-input-group:focus-within .ayp-input-icon i {
    color: #FFFFFF;
}

.ayp-input {
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    outline: none;
}

.ayp-help-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    padding: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 12px;
    color: #991b1b;
    line-height: 1.5;
}

.ayp-help-text i {
    color: #ef4444;
    margin-top: 2px;
}

.ayp-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.ayp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ayp-btn-danger {
    background: #FFFFFF;
    color: #dc2626;
    border: 2px solid #fecaca;
}

.ayp-btn-danger:hover {
    background: #fef2f2;
    border-color: #f87171;
}

.ayp-btn-save {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.ayp-btn-save:hover {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* ============================================
   ADMIN PANEL - Modal Override Styles
   ============================================ */

/* Reset modal wrapper styles when ap-container is present */
.modal_content:has(.ap-container),
.small_modal_content:has(.ap-container) {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.modal_content .ap-container,
.small_modal_content .ap-container {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal_content .ap-header,
.small_modal_content .ap-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%) !important;
    border-bottom: 3px solid #3b82f6 !important;
    margin: 0 !important;
}

.modal_content .ap-header-icon,
.small_modal_content .ap-header-icon {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    flex-shrink: 0 !important;
}

.modal_content .ap-header-icon i,
.small_modal_content .ap-header-icon i {
    font-size: 22px !important;
    color: #FFFFFF !important;
}

.modal_content .ap-header-content,
.small_modal_content .ap-header-content {
    flex: 1 !important;
}

.modal_content .ap-title,
.small_modal_content .ap-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
}

.modal_content .ap-subtitle,
.small_modal_content .ap-subtitle {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 4px 0 0 0 !important;
}

.modal_content .ap-close-btn,
.small_modal_content .ap-close-btn {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.modal_content .ap-close-btn:hover,
.small_modal_content .ap-close-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.modal_content .ap-user-card,
.small_modal_content .ap-user-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.modal_content .ap-user-avatar,
.small_modal_content .ap-user-avatar {
    position: relative !important;
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0 !important;
}

.modal_content .ap-user-avatar img,
.small_modal_content .ap-user-avatar img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.modal_content .ap-avatar-status,
.small_modal_content .ap-avatar-status {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 3px solid #f8fafc !important;
}

.modal_content .ap-avatar-status.online,
.small_modal_content .ap-avatar-status.online {
    background: #22c55e !important;
}

.modal_content .ap-user-info,
.small_modal_content .ap-user-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.modal_content .ap-user-name,
.small_modal_content .ap-user-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 4px !important;
}

.modal_content .ap-user-rank,
.small_modal_content .ap-user-rank {
    font-size: 12px !important;
    color: #64748b !important;
}

.modal_content .ap-user-badge,
.small_modal_content .ap-user-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-radius: 20px !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.modal_content .ap-divider,
.small_modal_content .ap-divider {
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    margin: 20px 0 !important;
}

.modal_content .ap-divider::before,
.modal_content .ap-divider::after,
.small_modal_content .ap-divider::before,
.small_modal_content .ap-divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e2e8f0 !important;
}

.modal_content .ap-divider span,
.small_modal_content .ap-divider span {
    padding: 0 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.modal_content .ap-form-section,
.small_modal_content .ap-form-section {
    padding: 0 20px 20px !important;
}

.modal_content .ap-input-group,
.small_modal_content .ap-input-group {
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.modal_content .ap-input-group:focus-within,
.small_modal_content .ap-input-group:focus-within {
    border-color: #3b82f6 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

.modal_content .ap-input-icon,
.small_modal_content .ap-input-icon {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e2e8f0 !important;
    border-right: 1px solid #d1d5db !important;
    flex-shrink: 0 !important;
}

.modal_content .ap-input-group:focus-within .ap-input-icon,
.small_modal_content .ap-input-group:focus-within .ap-input-icon {
    background: #3b82f6 !important;
    border-right-color: #3b82f6 !important;
}

.modal_content .ap-input-icon i,
.small_modal_content .ap-input-icon i {
    font-size: 16px !important;
    color: #64748b !important;
}

.modal_content .ap-input-group:focus-within .ap-input-icon i,
.small_modal_content .ap-input-group:focus-within .ap-input-icon i {
    color: #FFFFFF !important;
}

.modal_content .ap-input,
.small_modal_content .ap-input {
    flex: 1 !important;
    height: 50px !important;
    padding: 0 16px !important;
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #1e293b !important;
    outline: none !important;
}

.modal_content .ap-help-text,
.small_modal_content .ap-help-text {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 12px !important;
    background: #fef3c7 !important;
    border: 1px solid #fcd34d !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    color: #92400e !important;
    line-height: 1.5 !important;
}

.modal_content .ap-help-text i,
.small_modal_content .ap-help-text i {
    color: #f59e0b !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

.modal_content .ap-actions,
.small_modal_content .ap-actions {
    display: flex !important;
    gap: 12px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

.modal_content .ap-btn,
.small_modal_content .ap-btn {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.modal_content .ap-btn-secondary,
.small_modal_content .ap-btn-secondary {
    background: #FFFFFF !important;
    color: #64748b !important;
    border: 2px solid #e2e8f0 !important;
}

.modal_content .ap-btn-secondary:hover,
.small_modal_content .ap-btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.modal_content .ap-btn-primary,
.small_modal_content .ap-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4) !important;
}

.modal_content .ap-btn-primary:hover,
.small_modal_content .ap-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

/* Hide default modal close if ap-container has its own */
.modal_close.cancel_modal:has(+ .modal_content .ap-container) {
    display: none !important;
}

/* Fallback for browsers without :has() support */
#small_modal_content .ap-container {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

#small_modal_content .ap-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%) !important;
    border-bottom: 3px solid #3b82f6 !important;
}

#small_modal_content .ap-header-icon {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#small_modal_content .ap-header-icon i {
    font-size: 22px !important;
    color: #FFFFFF !important;
}

#small_modal_content .ap-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
}

#small_modal_content .ap-subtitle {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 4px 0 0 0 !important;
}

#small_modal_content .ap-close-btn {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#small_modal_content .ap-user-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#small_modal_content .ap-user-avatar {
    position: relative !important;
    width: 56px !important;
    height: 56px !important;
}

#small_modal_content .ap-user-avatar img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#small_modal_content .ap-avatar-status {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 3px solid #f8fafc !important;
    background: #22c55e !important;
}

#small_modal_content .ap-user-info {
    flex: 1 !important;
}

#small_modal_content .ap-user-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 4px !important;
}

#small_modal_content .ap-user-rank {
    font-size: 12px !important;
    color: #64748b !important;
}

#small_modal_content .ap-user-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-radius: 20px !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

#small_modal_content .ap-divider {
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    margin: 20px 0 !important;
}

#small_modal_content .ap-divider::before,
#small_modal_content .ap-divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e2e8f0 !important;
}

#small_modal_content .ap-divider span {
    padding: 0 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#small_modal_content .ap-form-section {
    padding: 0 20px 20px !important;
}

#small_modal_content .ap-input-group {
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

#small_modal_content .ap-input-icon {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e2e8f0 !important;
    border-right: 1px solid #d1d5db !important;
}

#small_modal_content .ap-input-icon i {
    font-size: 16px !important;
    color: #64748b !important;
}

#small_modal_content .ap-input {
    flex: 1 !important;
    height: 50px !important;
    padding: 0 16px !important;
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #1e293b !important;
    outline: none !important;
}

#small_modal_content .ap-help-text {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 12px !important;
    background: #fef3c7 !important;
    border: 1px solid #fcd34d !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    color: #92400e !important;
    line-height: 1.5 !important;
}

#small_modal_content .ap-help-text i {
    color: #f59e0b !important;
}

#small_modal_content .ap-actions {
    display: flex !important;
    gap: 12px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

#small_modal_content .ap-btn {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
}

#small_modal_content .ap-btn-secondary {
    background: #FFFFFF !important;
    color: #64748b !important;
    border: 2px solid #e2e8f0 !important;
}

#small_modal_content .ap-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4) !important;
}



.user_item_avatar .acav.genmale {
    border: 2px solid #03add8 !important;
}
.user_item_avatar .acav.genfemale {
    border: 2px solid #ff99ff !important;
}
.user_item_avatar .acav.genother {
    border: 2px solid #ccc !important;
}



/* Input focus - yazi yazinca ikonlari gizle */
.input_table .base_main:not(#emo_item),.input_table .show_menu{transition:width .2s,opacity .15s,padding .2s}
.input_table.input-typing .base_main:not(#emo_item),.input_table.input-typing .show_menu{width:0!important;max-width:0!important;padding:0!important;margin:0!important;overflow:hidden!important;opacity:0!important;font-size:0!important;border:none!important}
.input_table.input-typing .base_main:not(#emo_item) *,.input_table.input-typing .show_menu *{width:0!important;height:0!important;font-size:0!important;padding:0!important;margin:0!important}
/* ========================================
   PROFILE MODAL STYLES
   (Taşındı: system/box/profile.php)
   ======================================== */
/* Modal */
.large_modal_in { max-width: 380px !important; width: auto !important; margin: 5% auto !important; }

/* Profile Modern - Critical CSS */
.profile_modern { background: #fff; border-radius: 12px; overflow: hidden; width: 100%; }
.profile_top_bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #f8f9fa; border-bottom: 1px solid #eee; }
.profile_stats_inline { display: flex; align-items: center; gap: 8px; }
.profile_stats_inline .prolikes { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: rgba(0,0,0,0.05); border-radius: 20px; font-size: 12px; cursor: pointer; }
.profile_top_bar .top_actions { display: flex; gap: 12px; }
.profile_top_bar .top_actions i { font-size: 20px; color: #6b7280; cursor: pointer; }
.profile_top_bar .top_actions i.cancel_modal { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-width: 44px; 
    min-height: 44px; 
    margin: -12px -10px -12px 0; 
    font-size: 22px; 
    color: #374151;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.profile_top_bar .top_actions i.cancel_modal:active { 
    background: rgba(0,0,0,0.05); 
    border-radius: 50%; 
}

/* Avatar Section */
.profile_avatar_section { position: relative; padding: 50px 40px 70px; text-align: center; background: linear-gradient(180deg, #667eea 0%, #764ba2 100%); border-radius: 0; }
.profile_avatar_section::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 25px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,50 C360,90 1080,10 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom; background-size: cover; }
.profile_avatar_wrapper { position: absolute; bottom: -55px; left: 50%; transform: translateX(-50%); width: 110px; height: 110px; z-index: 20; }
.profile_avatar_wrapper .avatar_bg { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.15); background: #f3f4f6; }
.profile_avatar_wrapper .avatar_bg img { width: 100%; height: 100%; object-fit: cover; }
.profile_avatar_wrapper .device_icon { position: absolute; top: -5px; right: -5px; width: 30px; height: 30px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-size: 13px; color: #3b82f6; border: 2px solid #fff; z-index: 25; }
.profile_avatar_wrapper .gender_icon { position: absolute; top: 25px; right: -12px; width: 30px; height: 30px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-size: 13px; border: 2px solid #fff; z-index: 25; }
.profile_avatar_wrapper .gender_icon.male { color: #03add8; }
.profile_avatar_wrapper .gender_icon.female { color: #ff69b4; }
.profile_avatar_wrapper .gender_icon.other { color: #6b7280; }
.profile_avatar_wrapper .online_dot { position: absolute; bottom: 5px; right: 5px; width: 16px; height: 16px; background: #22c55e; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 25; }
.profile_avatar_wrapper .online_dot.offline { background: #9ca3af; }
.profile_avatar_wrapper:has(.profile_design_frame) .avatar_bg { border-color: transparent !important; box-shadow: none !important; }
.profile_avatar_wrapper .profile_design_frame { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 142px; height: 142px; pointer-events: none; object-fit: fill; z-index: 10; }

/* User Info */
.profile_user_inline { padding-top: 60px; padding-bottom: 0px; text-align: center; background: #fff; }
.profile_user_inline .username { font-size: 18px; font-weight: 700; color: #1f2937; margin-bottom: 2px; display: inline-flex; align-items: center; justify-content: center; }
.profile_user_inline .username_text { margin-right: 5px; }
.profile_user_inline .rank { font-size: 12px; color: #6b7280; left: -8px; position: relative; text-align: center; }
.profile_user_info { text-align: center; padding: 0px 5px 6px; }
.profile_user_info .stars { letter-spacing: 1px; }
.profile_user_info .summary { font-size: 12px; color: #9ca3af; }

/* Verified Badge */
.dogrulanmis_badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.dogrulanmis_badge .fa-certificate {
    color: #1da1f2;
    font-size: 18px;
    filter: drop-shadow(0 0 3px rgba(29, 161, 242, 0.5));
    animation: verified_spin_once 1s ease-out forwards;
}
.dogrulanmis_badge .fa-check {
    position: absolute;
    color: #fff;
    font-size: 8px;
}
.dogrulanmis_badge:hover .fa-certificate {
    color: #0d8ecf;
    filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.8));
    transform: scale(1.2);
}
.dogrulanmis_badge::after {
    content: 'Doğrulanmış Hesap';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}
.dogrulanmis_badge:hover::after {
    opacity: 1;
    visibility: visible;
}
@keyframes verified_spin_once {
    0% { transform: rotate(0deg) scale(0.5); opacity: 0; }
    50% { transform: rotate(360deg) scale(1.2); opacity: 1; }
    100% { transform: rotate(720deg) scale(1); opacity: 1; }
}

/* Music Player */
.profile_music_player { margin-top: 10px; display: flex; justify-content: center; }
.profile_music_player .proplayer { display: flex; align-items: center; gap: 8px; padding: 1px 3px; background: #42ad6a; border-radius: 20px; cursor: pointer; }
.profile_music_player .proplayer_play { width: 24px; height: 24px; }
.profile_music_player .proplayer_beat { height: 20px; }

/* Actions */
.profile_actions { padding: 10px !important; border-top: 1px solid #f3f4f6 !important; display: block !important; }
.profile_actions_row { display: flex !important; gap: 8px !important; margin-bottom: 8px !important; }
.profile_actions_row:last-child { margin-bottom: 0 !important; }
.profile_action_btn { flex: 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; padding: 8px 10px !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important; background: #fff !important; color: #374151a3 !important; font-size: 12px !important; font-weight: 500 !important; cursor: pointer !important; transition: all 0.2s !important; }
.profile_action_btn_small { flex: 1 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 4px !important; padding: 10px 6px !important; border: 1px solid #e5e7eb !important; border-radius: 10px !important; background: #fff !important; color: #6b7280 !important; font-size: 10px !important; font-weight: 500 !important; cursor: pointer !important; }
.profile_action_btn_small i { font-size: 18px !important; }
button.profile_action_btn_small { border: 1px solid #e5e7eb !important; outline: none !important; }

/* Tabs */
.profile_tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 10px; border-top: 1px solid #f3f4f6; background: #f9fafb; }
.profile_tab { display: flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; color: #6b7280; font-size: 10px; cursor: pointer; }
.profile_tab:hover, .profile_tab.active { background: #3b82f6; border-color: #3b82f6; color: #fff; }

/* Content */
.profile_content { padding: 10px 12px; max-height: 280px; overflow-y: auto; }
.profile_tags { display: flex; flex-direction: column; gap: 8px; }
.profile_tag { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-radius: 10px; border: 1px solid rgba(0,0,0,0.04); transition: all 0.2s ease; }
.profile_tag:hover { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); transform: translateX(3px); }
.profile_tag .tag_label { color: #64748b; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.profile_tag .tag_value { color: #1e293b; font-size: 13px; font-weight: 500; text-align: right; }

/* Alerts */
.profile_alert { margin: 10px 15px; padding: 10px 15px; border-radius: 8px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.profile_alert.warning { background: #fef3c7; color: #92400e; }
.profile_alert.danger { background: #fee2e2; color: #991b1b; }
.list_mood { font-size: 11px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding-left: 4px; margin-left: -2px; position: relative; top: 0px; }
.user_item_avatar .acav.genfemale { border: 2px solid #ff99ff !important; }
.user_item_avatar .acav.genmale { border: 2px solid #03add8 !important; }
.profile_action_btn_small i { border-radius: .5em; width: 48px; color: rgba(0, 0, 0, .31); height: 20px; background: hsla(0, 0%, 100%, .06); line-height: 20px; text-align: center; font-size: 18px; padding: 0; margin: 0; }

/* Connectivity Status */
.connectivity_status { display: flex; gap: 8px; margin-top: 6px; padding: inherit; flex-direction: column; }
.connectivity_status .status_badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.connectivity_status .status_badge i { font-size: 7px; }
.connectivity_status .status_badge.online { background: rgba(34,197,94,0.12); color: #16a34a; }
.connectivity_status .status_badge.mesgul { background: rgba(239,68,68,0.12); color: #dc2626; }
.connectivity_status .status_badge.uzakta { background: rgba(245,158,11,0.12); color: #d97706; }
.connectivity_status .status_badge.rahatsiz_etme { background: rgba(107,114,128,0.12); color: #4b5563; }
.connectivity_status .status_badge.offline_badge { background: rgba(107,114,128,0.1); color: #9ca3af; }
.connectivity_status .session_time { font-size: 11px; color: #9ca3af; }
.offline_status { opacity: 0.8; }


/* ========================================
   ADMIN RANK EDITOR STYLES
   (Taşındı: system/box/admin_edit_rank.php)
   ======================================== */
*{box-sizing:border-box}
.ym{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.ym-head{display:flex;align-items:center;gap:14px;padding:16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:16px;margin-bottom:16px;position:relative;overflow:hidden}
.ym-head::before{content:'';position:absolute;top:-50%;right:-20%;width:120px;height:120px;background:rgba(255,255,255,0.08);border-radius:50%}
.ym-head::after{content:'';position:absolute;bottom:-30%;left:-10%;width:80px;height:80px;background:rgba(255,255,255,0.05);border-radius:50%}
.ym-av{width:52px;height:52px;border-radius:14px;object-fit:cover;border:3px solid rgba(255,255,255,0.3);position:relative;z-index:1}
.ym-info{position:relative;z-index:1}
.ym-name{font-weight:700;font-size:16px;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.1)}
.ym-rbadge{display:inline-flex;align-items:center;gap:4px;font-size:11px;padding:3px 10px;border-radius:20px;background:rgba(255,255,255,0.2);color:rgba(255,255,255,0.95);font-weight:500;margin-top:4px;backdrop-filter:blur(4px)}
.ym-rbadge i{font-size:9px}

.ym-block{margin-bottom:14px}
.ym-lbl{font-size:12px;font-weight:700;color:#64748B;text-transform:uppercase;letter-spacing:0.8px;margin-bottom:8px;display:flex;align-items:center;gap:6px}
.ym-lbl i{font-size:11px;color:#94A3B8}

.ym-dd{position:relative}
.ym-dd-btn{width:100%;padding:11px 14px;border:2px solid #E2E8F0;border-radius:12px;font-size:14px;font-weight:500;background:#FFF;color:#1E293B;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:all .25s ease}
.ym-dd-btn:hover{border-color:#818CF8}
.ym-dd-btn.open{border-color:#818CF8;box-shadow:0 0 0 3px rgba(129,140,248,0.15);border-radius:12px 12px 4px 4px}
.ym-dd-btn i.arrow{font-size:11px;color:#94A3B8;transition:transform .25s ease}
.ym-dd-btn.open i.arrow{transform:rotate(180deg);color:#818CF8}
.ym-dd-btn .ym-dd-sel{display:flex;align-items:center;gap:8px}
.ym-dd-btn .ym-dd-sel .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.ym-dl{display:none;position:absolute;top:calc(100% - 2px);left:0;right:0;background:#FFF;border:2px solid #818CF8;border-top:1px solid #E2E8F0;border-radius:0 0 12px 12px;max-height:320px;overflow-y:auto;z-index:10;box-shadow:0 12px 32px rgba(0,0,0,0.12);padding:6px}
.ym-dl.show{display:block}
.ym-dl-sep{padding:8px 10px 4px;font-size:11px;font-weight:700;color:#94A3B8;text-transform:uppercase;letter-spacing:0.8px;display:flex;align-items:center;gap:6px}
.ym-dl-sep i{font-size:10px}
.ym-dl-i{padding:12px 14px;font-size:15px;font-weight:600;color:#475569;cursor:pointer;display:flex;align-items:center;gap:12px;transition:all .2s;border-radius:10px;margin:3px 0}
.ym-dl-i:hover{background:#F1F5F9;color:#1E293B;transform:scale(1.01)}
.ym-dl-i.sel{background:#EEF2FF;color:#4F46E5;box-shadow:0 0 0 2px #C7D2FE inset}
.ym-dl-i .dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 3px rgba(0,0,0,0.06)}
.dot.mem{background:#10B981;box-shadow:0 0 0 3px rgba(16,185,129,0.2)}
.dot.stf{background:#8B5CF6;box-shadow:0 0 0 3px rgba(139,92,246,0.2)}
.ym-dl::-webkit-scrollbar{width:4px}
.ym-dl::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:4px}

.ym-feat{padding:14px 16px;background:linear-gradient(135deg,#EEF2FF,#E0E7FF);border:2px solid #C7D2FE;border-radius:14px;margin-bottom:14px}
.ym-feat-row{display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none}
.ym-feat-row .ym-ck{width:22px;height:22px;border-radius:7px;border:2px solid #818CF8;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s;font-size:12px;color:#FFF;background:#FFF}
.ym-feat-row.checked .ym-ck{background:#6366F1;border-color:#6366F1}
.ym-feat-lbl{font-size:14px;font-weight:700;color:#4338CA;display:flex;align-items:center;gap:6px}
.ym-feat-desc{font-size:11px;color:#6366F1;opacity:.7;margin:3px 0 0 32px}

.ym-tabs{display:flex;gap:4px;padding:4px;background:#F1F5F9;border-radius:10px;margin-bottom:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ym-tab{padding:7px 12px;font-size:12px;font-weight:600;color:#64748B;background:transparent;border:none;border-radius:8px;cursor:pointer;white-space:nowrap;transition:all .2s;display:flex;align-items:center;gap:5px}
.ym-tab i{font-size:10px}
.ym-tab.act{background:#FFF;color:#4F46E5;box-shadow:0 1px 3px rgba(0,0,0,0.08)}
.ym-tab:hover:not(.act){color:#1E293B}

.ym-zone{display:none}
.ym-zone.act{display:block}
.ym-pl{display:flex;flex-direction:column;gap:6px;max-height:250px;overflow-y:auto;padding:2px}
.ym-pi{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#FFF;border:1.5px solid #E2E8F0;border-radius:10px;cursor:pointer;transition:all .2s;user-select:none}
.ym-pi:hover{border-color:#A5B4FC;transform:translateX(2px)}
.ym-pi.on{background:#EEF2FF;border-color:#A5B4FC}
.ym-pi.off{opacity:.5}
.ym-ck{width:18px;height:18px;border-radius:6px;border:2px solid #CBD5E1;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s;font-size:10px;color:#FFF}
.ym-pi.on .ym-ck{background:#6366F1;border-color:#6366F1}
.ym-ptxt{font-size:13px;color:#334155;flex:1;font-weight:500}
.ym-pdesc{font-size:11px;color:#94a3b8;font-weight:400;margin-top:2px}
.ym-pl::-webkit-scrollbar{width:4px}
.ym-pl::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:4px}

.ym-foot{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid #F1F5F9}
.ym-ok{color:#10B981;font-size:12px;font-weight:600;display:none;align-items:center;gap:4px}
.ym-ok i{font-size:11px}
.ym-btn{padding:10px 28px;background:linear-gradient(135deg,#6366F1,#4F46E5);color:#FFF;border:none;border-radius:12px;font-size:14px;font-weight:700;cursor:pointer;transition:all .25s;box-shadow:0 4px 14px rgba(99,102,241,0.3)}
.ym-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(99,102,241,0.4)}
.ym-btn:active{transform:translateY(0)}

@media(max-width:480px){
        .ym-head{padding:12px;gap:10px;border-radius:12px;margin-bottom:12px}
        .ym-av{width:42px;height:42px;border-radius:10px}
        .ym-name{font-size:14px}
        .ym-rbadge{font-size:10px;padding:2px 8px}
        .ym-block{margin-bottom:10px}
        .ym-lbl{font-size:11px;margin-bottom:6px}
        .ym-dd-btn{padding:9px 12px;font-size:13px;border-radius:10px}
        .ym-dd-btn.open{border-radius:10px 10px 4px 4px}
        .ym-dl{max-height:260px;border-radius:0 0 10px 10px;padding:4px}
        .ym-dl-i{padding:11px 12px;font-size:14px;border-radius:8px;gap:10px;margin:2px 0}
        .ym-dl-sep{font-size:10px;padding:6px 8px 3px}
        .ym-feat{padding:10px 12px;border-radius:10px;margin-bottom:10px}
        .ym-feat-row .ym-ck{width:18px;height:18px;border-radius:5px;font-size:10px}
        .ym-feat-lbl{font-size:12px}
        .ym-feat-desc{font-size:10px;margin-left:28px}
        .ym-tabs{padding:3px;border-radius:8px;margin-bottom:8px;gap:2px}
        .ym-tab{padding:5px 8px;font-size:11px;border-radius:6px;gap:3px}
        .ym-tab i{font-size:9px}
        .ym-pi{padding:8px 10px;gap:8px;border-radius:8px}
        .ym-ck{width:16px;height:16px;border-radius:5px;font-size:9px}
        .ym-ptxt{font-size:12px}
        .ym-pl{max-height:280px;gap:4px}
        .ym-foot{margin-top:12px;padding-top:10px}
        .ym-btn{padding:9px 22px;font-size:13px;border-radius:10px}
}


/* ========================================
   DJ YONETIM PANEL STYLES
   (Taşındı: system/box/djyonetim.php)
   ======================================== */
* { box-sizing: border-box; }

.dj-panel {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-info i {
    font-size: 24px;
    opacity: 0.9;
}

.header-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.header-info span {
    font-size: 12px;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.btn-header {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-header:hover {
    background: rgba(255,255,255,0.25);
}

.btn-header.primary {
    background: #fff;
    color: #6366f1;
}

/* Tabs */
.panel-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    background: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.tab:hover {
    color: #6366f1;
    background: #f1f5f9;
}

.tab.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
    background: #fff;
}

.tab i { font-size: 14px; }

.tab small {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.tab.active small {
    background: #e0e7ff;
    color: #6366f1;
}

/* Content */
.panel-content {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* DJ Grid */
.dj-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* DJ Card */
.dj-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dj-card:hover {
    border-color: #c7d2fe;
    background: #fafaff;
}

.dj-card.live {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #86efac;
}

.card-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dj-card.live .avatar {
    border-color: #22c55e;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.status {
    font-size: 12px;
    color: #64748b;
}

.status.live {
    color: #22c55e;
}

.status.live i {
    font-size: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Action Buttons */
.card-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.action-btn:hover { background: #f1f5f9; }

.action-btn.success {
    background: #dcfce7;
    color: #22c55e;
    border-color: #bbf7d0;
}

.action-btn.success:hover {
    background: #22c55e;
    color: #fff;
}

.action-btn.warning {
    background: #fef3c7;
    color: #f59e0b;
    border-color: #fde68a;
}

.action-btn.warning:hover {
    background: #f59e0b;
    color: #fff;
}

.action-btn.danger {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

.action-btn.danger:hover {
    background: #ef4444;
    color: #fff;
}

/* Server Info */
.server-info {
    display: flex;
    gap: 16px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #64748b;
}

.server-info i {
    color: #6366f1;
    margin-right: 6px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

/* Loading */
.loading {
    text-align: center;
    padding: 30px;
    color: #6366f1;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    max-width: 340px;
    width: 100%;
}

.modal-icon {
    font-size: 40px;
    color: #f59e0b;
    margin-bottom: 16px;
}

.modal-box h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1e293b;
}

.modal-box p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.btn-modal {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal.cancel {
    background: #f1f5f9;
    color: #64748b;
}

.btn-modal.confirm {
    background: #ef4444;
    color: #fff;
}

/* Detail Modal */
.detail-box {
    max-width: 380px;
    padding: 0;
    text-align: left;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.detail-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 24px;
    text-align: center;
    color: #fff;
}

.detail-header i {
    font-size: 32px;
    margin-bottom: 8px;
}

.detail-header h4 {
    margin: 0;
    font-size: 18px;
}

.detail-body {
    padding: 16px;
    background: #f8fafc;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child { border-bottom: none; }

.detail-row .label {
    color: #64748b;
    font-size: 13px;
}

.detail-row .value {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #e0e7ff;
    color: #6366f1;
    border-radius: 6px;
    cursor: pointer;
}

.detail-section {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.detail-section h5 {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
}

.detail-section h5 i {
    margin-right: 6px;
    color: #6366f1;
}

.pass-form {
    display: flex;
    gap: 8px;
}

.pass-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
}

.pass-form button {
    padding: 10px 16px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.detail-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.btn-detail {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    color: #64748b;
}

.btn-detail.danger {
    background: #fee2e2;
    color: #ef4444;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 20px;
    background: #1e293b;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success { background: #22c55e; }
.toast.error { background: #ef4444; }

/* Radyo DJ Item */
.radyo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.radyo-item:hover {
    border-color: #c7d2fe;
    background: #fafafe;
}

.radyo-item .main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radyo-item .icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.radyo-item .info h4 {
    margin: 0;
    font-size: 14px;
    color: #1e293b;
}

.radyo-item .info span {
    font-size: 12px;
    color: #6366f1;
}


/* ========================================
   YPRIVATE PANEL STYLES
   (Taşındı: system/box/yprivate.php)
   ======================================== */
/* YPrivate Panel - Esunus Modal Style */
.yp-panel {
    background: #FFFFFF;
}

/* Stats */
.yp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #F1F5F9;
    border-bottom: 1px solid #E5E7EB;
}

.yp-stat {
    background: #FFFFFF;
    padding: 14px 8px;
    text-align: center;
}

.yp-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    display: block;
}

.yp-stat-label {
    font-size: 11px;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 2px;
}

.yp-stat:nth-child(2) .yp-stat-num { color: #10B981; }
.yp-stat:nth-child(3) .yp-stat-num { color: #F59E0B; }

/* Name Edit */
.yp-name-edit {
    display: none;
    padding: 12px 16px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    gap: 8px;
}

.yp-name-edit.active {
    display: flex;
}

.yp-name-edit input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}

.yp-name-edit input:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.yp-name-edit button {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.yp-name-edit .save { background: #8B5CF6; color: #fff; }
.yp-name-edit .cancel { background: #E5E7EB; color: #6B7280; }

/* Pinned */
.yp-pinned {
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #D8B4FE;
}

.yp-pinned i.fa-thumbtack {
    color: #8B5CF6;
    font-size: 13px;
}

.yp-pinned-text {
    flex: 1;
    color: #6B21A8;
    font-size: 13px;
    font-weight: 500;
}

.yp-pinned-close {
    color: #C4B5FD;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.yp-pinned-close:hover {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Tabs */
.yp-tabs {
    display: flex;
    background: #F3F4F6;
    padding: 4px;
    margin: 12px 16px;
    border-radius: 10px;
}

.yp-tab {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.yp-tab:hover {
    color: #111827;
}

.yp-tab.active {
    background: #FFFFFF;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.yp-tab i {
    margin-right: 6px;
}

/* Content */
.yp-content {
    padding: 0 16px 16px;
}

/* Search */
.yp-search {
    position: relative;
    margin-bottom: 12px;
}

.yp-search input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.yp-search input:focus {
    background: #FFFFFF;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.yp-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 13px;
}

/* Members */
.yp-members {
    max-height: 280px;
    overflow-y: auto;
}

.yp-members::-webkit-scrollbar { width: 4px; }
.yp-members::-webkit-scrollbar-thumb { background: #E5E7EB; border-radius: 2px; }

.yp-member {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 4px;
    background: #F9FAFB;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.yp-member:hover {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.yp-member-av {
    position: relative;
    margin-right: 12px;
}

.yp-member-av img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    object-fit: cover;
}

.yp-member.is-super .yp-member-av img { border-color: #EF4444; }
.yp-member.is-admin .yp-member-av img { border-color: #F59E0B; }

.yp-member-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.yp-member-offline .yp-member-online { background: #D1D5DB; }

.yp-member-info { flex: 1; min-width: 0; }

.yp-member-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yp-crown { font-size: 11px; }
.yp-crown.super { color: #EF4444; }
.yp-crown.admin { color: #F59E0B; }

.yp-member-rank {
    font-size: 11px;
    color: #6B7280;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.group-admin-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.yp-member-rank .online-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
}

.yp-member-rank .offline-dot {
    width: 6px;
    height: 6px;
    background: #D1D5DB;
    border-radius: 50%;
    display: inline-block;
}

.yp-member-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.yp-member:hover .yp-member-actions { opacity: 1; }

.yp-btn-icon {
    width: 12px;
    height: 24px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.yp-btn-icon.crown { background: #FEF3C7; color: #D97706; }
.yp-btn-icon.crown:hover { background: #FDE68A; }
.yp-btn-icon.remove { background: #FEE2E2; color: #DC2626; }
.yp-btn-icon.remove:hover { background: #FECACA; }

/* Add Member */
.yp-add {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.yp-add input {
    flex: 1;
    padding: 12px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 13px;
    outline: none;
}

.yp-add input:focus {
    border-color: #8B5CF6;
    background: #FFFFFF;
}

.yp-add button {
    padding: 13px 10px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.yp-add button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

/* Settings Tab */
.yp-settings { display: none; }
.yp-settings.active { display: block; }

.yp-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: #F9FAFB;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
}

.yp-setting-item:hover {
    background: #FFFFFF;
    border-color: #D1D5DB;
}

.yp-setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yp-setting-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    font-size: 14px;
}

.yp-setting-text h4 {
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
}

.yp-setting-text p {
    color: #6B7280;
    font-size: 11px;
    margin: 0;
}

/* Toggle */
.yp-toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.yp-toggle input { opacity: 0; width: 0; height: 0; }

.yp-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #E5E7EB;
    border-radius: 12px;
    transition: 0.3s;
}

.yp-toggle-slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.yp-toggle input:checked + .yp-toggle-slider { background: #8B5CF6; }
.yp-toggle input:checked + .yp-toggle-slider:before { transform: translateX(20px); }

/* Setting Button */
.yp-setting-btn {
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #111827;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.yp-setting-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.yp-setting-btn.danger {
    border-color: #FECACA;
    color: #DC2626;
}

.yp-setting-btn.danger:hover {
    background: #FEF2F2;
}

/* Empty */
.yp-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9CA3AF;
}

.yp-empty i { font-size: 36px; margin-bottom: 12px; display: block; }
.yp-empty p { font-size: 13px; margin: 0; }

/* Internal Modal */
.yp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100001;
    justify-content: center;
    align-items: center;
}

.yp-modal-overlay.active {
    display: flex;
}

.yp-modal-box {
    background: #FFFFFF;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.yp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.yp-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yp-modal-header h3 i {
    color: #8B5CF6;
}

.yp-modal-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 8px;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.yp-modal-close-btn:hover {
    background: #E5E7EB;
    color: #111827;
}

.yp-modal-body {
    padding: 20px;
}

.yp-modal-body textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
}

.yp-modal-body textarea:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.yp-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.yp-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.yp-modal-btn.cancel {
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.yp-modal-btn.save {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
}

.yp-modal-btn.danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #fff;
}


/* Modern dark context menu */
.bottomcard.card_menu {    padding: 0;    overflow: hidden;    background: #2c2c2e;}






.bottomcard .avitem {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #e5e5e5;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    border-top: none !important;
    transition: background 0.15s ease;
}
.bottomcard .avitem:last-child {
    border-bottom: none !important;
}
.bottomcard .avitem:active {
    background: rgba(255,255,255,0.08);
}
.bottomcard .avitem i {
    font-size: 18px;
    padding: 0;
    color: #b0b0b0;
    flex-shrink: 0;
}
.bottomcard .avitem i.error {
    color: #e74c3c;
}
.bottomcard .avitem .error {
    color: #e74c3c;
}
.bottomcard .avitem i.success {
    color: #4cd964;
}
.bottomcard .avitem i.theme_color {
    color: #b0b0b0;
}
.bottomcard .avitem i.default_color {
    color: #b0b0b0;
}

/* Override inline styles on menu items */
.bottomcard .avitem[style] {
    background: transparent !important;
    color: #e5e5e5 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

/* Yetki Satin Al - Modern UI */
.ys-header-info { text-align:center; padding:15px 0 10px; }
.ys-rank-badge { width:50px; height:50px; border-radius:50%; background:linear-gradient(135deg,#128C7E,#25D366); display:inline-flex; align-items:center; justify-content:center; color:#fff; font-size:22px; }
.ys-rank-text { margin-top:8px; font-size:13px; color:#667781; }
.ys-tabs { display:flex; border-bottom:2px solid #e8e8e8; margin:0 -15px; padding:0 15px; }
.ys-tab { flex:1; text-align:center; padding:10px 0; font-size:13px; font-weight:600; color:#667781; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all .2s; }
.ys-tab-active { color:#128C7E; border-bottom-color:#128C7E; }
.ys-badge { background:#e8e8e8; color:#667781; font-size:11px; padding:1px 7px; border-radius:10px; margin-left:4px; }
.ys-tab-active .ys-badge { background:#128C7E; color:#fff; }
.ys-tab-content { display:none; padding:10px 0; }
.ys-tab-visible { display:block; }
.ys-order-item { padding:12px 0; border-bottom:1px solid #f0f0f0; }
.ys-order-rank { font-size:14px; font-weight:600; color:#1a1a1a; }
.ys-order-rank i { color:#128C7E; margin-right:6px; }
.ys-order-meta { display:flex; align-items:center; gap:8px; margin-top:4px; font-size:12px; }
.ys-order-date { color:#667781; }
.ys-status { font-size:11px; font-weight:600; padding:2px 8px; border-radius:10px; }
.ys-status-active { background:#dcfce7; color:#16a34a; }
.ys-status-pending { background:#fef3c7; color:#d97706; }
.ys-status-cancelled { background:#fee2e2; color:#dc2626; }
.ys-status-expired { background:#f3f4f6; color:#6b7280; }
.ys-empty { text-align:center; padding:30px 0; color:#9ca3af; }
.ys-empty i { font-size:30px; margin-bottom:8px; display:block; }
.ys-empty p { font-size:13px; }
.ys-actions { padding:15px 0 5px; text-align:center; }
.ys-btn { border:none; padding:10px 20px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all .2s; display:inline-flex; align-items:center; gap:6px; }
.ys-btn-primary { background:#128C7E; color:#fff; }
.ys-btn-primary:active { background:#0e6b61; }
.ys-btn-success { background:#16a34a; color:#fff; }
.ys-btn-success:active { background:#15803d; }
.ys-btn-danger { background:#dc2626; color:#fff; }
.ys-btn-danger:active { background:#b91c1c; }
.ys-btn-ghost { background:transparent; color:#667781; border:1px solid #e0e0e0; }
.ys-btn-ghost:active { background:#f5f5f5; }
.ys-progress { display:flex; align-items:center; justify-content:center; padding:15px 20px; gap:0; }
.ys-progress-step { width:32px; height:32px; border-radius:50%; background:#e8e8e8; color:#9ca3af; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; flex-shrink:0; }
.ys-progress-active { background:#128C7E; color:#fff; }
.ys-progress-done { background:#25D366; color:#fff; font-size:12px; }
.ys-progress-line { flex:1; height:3px; background:#e8e8e8; }
.ys-progress-line-done { background:#25D366; }
.ys-question { font-size:14px; font-weight:600; color:#1a1a1a; padding:5px 15px 10px; }
.ys-note { font-size:11px; color:#9ca3af; padding:8px 15px 0; }
.ys-options { padding:0 15px; }
.ys-option { display:block; margin-bottom:8px; cursor:pointer; }
.ys-option input { display:none; }
.ys-option-inner { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border:2px solid #e8e8e8; border-radius:10px; transition:all .2s; }
.ys-option input:checked + .ys-option-inner { border-color:#128C7E; background:rgba(18,140,126,.05); }
.ys-option-text { font-size:14px; font-weight:500; color:#1a1a1a; display:flex; align-items:center; gap:8px; }
.ys-option-check { width:20px; height:20px; border-radius:50%; border:2px solid #d1d5db; flex-shrink:0; position:relative; transition:all .2s; }
.ys-option input:checked + .ys-option-inner .ys-option-check { border-color:#128C7E; background:#128C7E; }
.ys-option input:checked + .ys-option-inner .ys-option-check::after { content:''; position:absolute; top:3px; left:6px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.ys-discount { background:#128C7E; color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:6px; }
.ys-price { background:#f0fdf4; color:#16a34a; font-size:12px; font-weight:700; padding:2px 8px; border-radius:6px; border:1px solid #bbf7d0; }
.ys-footer { display:flex; justify-content:space-between; align-items:center; padding:12px 15px; border-top:1px solid #f0f0f0; }
.ys-payment-card { margin:0 15px; border:1px solid #e8e8e8; border-radius:12px; padding:0; overflow:hidden; }
.ys-payment-row { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; }
.ys-payment-iban-row { flex-direction:column; align-items:flex-start; gap:8px; }
.ys-payment-label { font-size:12px; color:#9ca3af; }
.ys-payment-value { font-size:14px; font-weight:600; color:#1a1a1a; }
.ys-payment-amount { color:#128C7E; font-size:16px; }
.ys-payment-divider { height:1px; background:#f0f0f0; margin:0 14px; }
.ys-iban-text { font-size:13px; word-break:break-all; }
.ys-copy-btn { background:#f3f4f6; border:1px solid #e5e7eb; padding:6px 14px; border-radius:6px; font-size:12px; font-weight:500; cursor:pointer; color:#374151; transition:all .2s; align-self:flex-end; }
.ys-copy-btn:active { background:#e5e7eb; }
.ys-input-wrap { padding:0 15px; }
.ys-input { width:100%; padding:12px 14px; border:2px solid #e8e8e8; border-radius:10px; font-size:14px; outline:none; transition:border-color .2s; }
.ys-input:focus { border-color:#128C7E; }
.ys-step-content { min-height:200px; }

/* Premium Badge - Cover Corner */
.profile_avatar_section { position: relative; }
.premium-corner {
    z-index: 50;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    cursor: pointer;
}
.premium-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
}
.premium-badge-mini i { font-size: 11px; }

/* Premium Modal Content */
.premium-modal-content { padding: 5px 0; }
.premium-modal-item { display:flex; align-items:center; gap:10px; padding:10px 16px; font-size:14px; color:#e5e5e5; border-bottom:1px solid rgba(255,255,255,0.06); }
.premium-modal-item:last-child { border-bottom:none; }
.premium-modal-item i { color:#22c55e; font-size:14px; width:18px; text-align:center; }

/* =====================
   STAGE MIC LOG - Mikrofon Logları
   ===================== */
.stage-mic-log {
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin: 4px 0;
    animation: micLogFadeIn 0.4s ease;
}

.stage-mic-log i {
    font-size: 14px;
}

.stage-mic-log .sysname {
    font-weight: 700;
    cursor: pointer;
}

.stage-mic-log .sysname:hover {
    text-decoration: underline;
}

@keyframes micLogFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   STAGE AUDIO BANNER - Kompakt Ses Unlock
   ===================== */
.stage-audio-banner {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: 0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    animation: stageBannerDrop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    border: 2px solid rgba(34, 197, 94, 0.5);
    overflow: hidden;
}

.stage-audio-banner-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    flex: 1;
}

.stage-audio-banner-main:active {
    background: rgba(34, 197, 94, 0.1);
}

.stage-audio-banner-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: stageMicPulse 1s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}

.stage-audio-banner-icon i {
    font-size: 14px;
    color: #fff;
}

.stage-audio-banner span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.stage-audio-banner-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    min-height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.stage-audio-banner-close:active {
    background: rgba(255, 255, 255, 0.15);
}

.stage-audio-banner-close i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hiding animation */
.stage-audio-banner.hiding {
    animation: stageBannerUp 0.3s ease forwards;
}

/* Animations */
@keyframes stageBannerDrop {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes stageBannerUp {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

@keyframes stageMicPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
    }
}

/* Mobil */
@media (max-width: 480px) {
    .stage-audio-banner {
        top: 8px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 16px;
    }
    
    .stage-audio-banner-main {
        padding: 10px 16px;
        gap: 10px;
    }
    
    .stage-audio-banner-icon {
        width: 28px;
        height: 28px;
    }
    
    .stage-audio-banner-icon i {
        font-size: 12px;
    }
    
    .stage-audio-banner span {
        font-size: 13px;
    }
    
    .stage-audio-banner-close {
        width: 40px;
        min-height: 48px;
    }
    
    .stage-audio-banner-close i {
        font-size: 14px;
    }
}

/* Success state */
.stage-audio-banner.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.stage-audio-banner.success .stage-audio-banner-icon {
    background: rgba(255, 255, 255, 0.2);
    animation: none;
}

.stage-audio-banner.success .stage-audio-banner-title::after {
    content: ' ✓';
}

/* Hiding animation */
.stage-audio-banner.hiding {
    animation: stageBannerUp 0.3s ease forwards;
}

/* Animations */
@keyframes stageBannerDrop {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes stageBannerUp {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

@keyframes stageMicPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
    }
}

/* Mobil */
@media (max-width: 480px) {
    .stage-audio-banner {
        top: 8px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 16px;
    }
    
    .stage-audio-banner-main {
        padding: 10px 16px;
        gap: 10px;
    }
    
    .stage-audio-banner-icon {
        width: 28px;
        height: 28px;
    }
    
    .stage-audio-banner-icon i {
        font-size: 12px;
    }
    
    .stage-audio-banner span {
        font-size: 13px;
    }
    
    .stage-audio-banner-close {
        width: 40px;
        min-height: 48px;
    }
    
    .stage-audio-banner-close i {
        font-size: 14px;
    }
}
@keyframes stageBannerDrop {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    @keyframes stageBannerDrop {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes stageBannerUp {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-100px);
            opacity: 0;
        }
    }
}

/* =====================
   YETKI YONETIMI MODAL (admin_edit_rank.php)
   ===================== */
.ym{background:#fff;color:#333;font-family:inherit}

/* Baslik */
.ym-title-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 14px;border-bottom:1px solid #e8e8e8}
.ym-title-left{display:flex;align-items:center;gap:10px}
.ym-title-icon{font-size:20px;color:#4A90D9}
.ym-title{font-size:16px;font-weight:700;color:#222}
.ym-subtitle{font-size:11px;color:#999;margin-top:2px}

/* Step Indicator */
.ym-step-indicator{display:flex;align-items:center;gap:6px}
.ym-step-dot{width:24px;height:24px;border-radius:50%;background:#e0e0e0;color:#999;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s}
.ym-step-dot.active{background:#4A90D9;color:#fff}
.ym-step-line{width:20px;height:2px;background:#e0e0e0;border-radius:1px}

/* Step Panels */
.aer-step{display:none;padding:16px 20px}
.aer-step.aer-step-active{display:block}

/* User Row */
.ym-user-row{display:flex;align-items:center;justify-content:space-between;padding:14px;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:14px;background:#fafbfc}
.ym-user-left{display:flex;align-items:center;gap:10px}
.ym-av{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #e0e0e0}
.ym-user-name{font-size:16px;font-weight:700;color:#222}
.ym-user-rank{font-size:12px;color:#999;display:flex;align-items:center;gap:4px;margin-top:2px}
.ym-rank-dot{width:7px;height:7px;border-radius:50%;background:#4CAF50}

/* Rank Select */
.ym-rank-right{text-align:right;position:relative;z-index:20}
.ym-rank-label{font-size:12px;font-weight:600;color:#444;margin-bottom:4px;display:flex;align-items:center;justify-content:space-between}
.ym-rank-level-inline{font-size:10px;font-weight:400;color:#888}
.ym-sel{position:relative}
.ym-sel-btn{display:flex;align-items:center;justify-content:space-between;gap:45px;padding:8px 12px;background:#fff;border:1px solid #ccc;border-radius:8px;cursor:pointer;font-size:13px;color:#333;min-width:150px;transition:border-color .15s}
.ym-sel-btn:hover{border-color:#999}
.ym-sel-btn.open{border-color:#4A90D9}
.ym-sel-arrow{font-size:10px;color:#999;transition:transform .2s}
.ym-sel-btn.open .ym-sel-arrow{transform:rotate(180deg)}
.ym-sel-list{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ccc;border-radius:8px;margin-top:4px;max-height:180px;overflow-y:auto;z-index:100;box-shadow:0 4px 16px rgba(0,0,0,0.1)}
.ym-sel-list.show{display:block}
.ym-sel-opt{padding:8px 12px;cursor:pointer;font-size:13px;color:#444;display:flex;align-items:center;justify-content:space-between;transition:background .1s;border-bottom:1px solid #f0f0f0}
.ym-sel-opt:last-child{border-bottom:none}
.ym-sel-opt:hover{background:#f5f5f5}
.ym-sel-opt.active{background:#EBF5FF;color:#4A90D9;font-weight:600}
.ym-sel-opt i{font-size:11px;color:#4A90D9}
.ym-sel-sep{padding:6px 12px;font-size:10px;font-weight:700;color:#bbb;text-transform:uppercase;border-top:1px solid #eee;margin-top:2px}
.ym-sel-sep + .ym-sel-opt{border-top:none}

/* Warning */
.ym-warn-box{display:flex;align-items:flex-start;gap:8px;padding:10px 14px;background:#FFF3E0;border:1px solid #FFE0B2;border-radius:10px;margin-bottom:14px;font-size:12px;color:#E65100;line-height:1.4}
.ym-warn-box i{margin-top:2px;flex-shrink:0}
.ym-warn-box b{color:#BF360C}

/* Yetki Toggle - Rank alti */
.ym-yetki-toggle{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:8px 12px;background:#f5f7fa;border-radius:8px;cursor:pointer;transition:background .15s}
.ym-yetki-toggle:hover{background:#eef1f5}
.ym-yetki-label{font-size:12px;color:#555;display:flex;align-items:center;gap:6px}
.ym-yetki-label i{color:#4A90D9;font-size:11px}
.ym-tog-mini{width:34px;height:18px;background:#ccc;border-radius:9px;position:relative;cursor:pointer;transition:background .2s;flex-shrink:0}
.ym-tog-mini.on{background:#4A90D9}
.ym-tog-mini .ym-tog-knob{width:14px;height:14px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .2s;box-shadow:0 1px 2px rgba(0,0,0,0.2)}
.ym-tog-mini.on .ym-tog-knob{transform:translateX(16px)}

/* Special Perm */
.ym-special{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:12px;cursor:pointer;margin-bottom:14px;transition:background .15s}
.ym-special:hover{background:#f0f1f3}
.ym-special-icon{width:36px;height:36px;border-radius:50%;background:#E3F2FD;display:flex;align-items:center;justify-content:center;color:#4A90D9;font-size:16px;flex-shrink:0}
.ym-special-text{flex:1;min-width:0}
.ym-special-title{font-size:14px;font-weight:700;color:#222}
.ym-special-desc{font-size:11px;color:#999;margin-top:1px}

/* Toggle */
.ym-tog{width:40px;height:22px;background:#ccc;border-radius:11px;position:relative;cursor:pointer;transition:background .2s;flex-shrink:0}
.ym-tog.on{background:#4A90D9}
.ym-tog-knob{width:18px;height:18px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,0.2)}
.ym-tog.on .ym-tog-knob{transform:translateX(18px)}

/* Category Tabs */
.ym-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ym-cat{padding:7px 8px;font-size:12px;font-weight:600;color:#888;border:1px solid #d0d0d0;border-radius:6px;cursor:pointer;white-space:nowrap;transition:all .15s;display:flex;align-items:center;gap:5px}
.ym-cat.active{color:#4A90D9;border-color:#4A90D9;background:#f0f7ff}
.ym-cat:hover:not(.active){color:#555;border-color:#aaa;background:#fafafa}
.ym-cat i{font-size:10px}

/* Permission Scroll */
.ym-perm-scroll{max-height:280px;overflow-y:auto;border:1px solid #e8e8e8;border-radius:10px;padding:0}
.ym-perm-scroll::-webkit-scrollbar{width:5px}
.ym-perm-scroll::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}

/* Zones */
.ym-zone{display:none}
.ym-zone.active{display:block}

/* Permission Card */
.ym-perm-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #eee;cursor:pointer;transition:background .1s}
.ym-perm-card:last-child{border-bottom:none}
.ym-perm-card:hover{background:#fafafa}

/* Checkbox */
.ym-chk{width:20px;height:20px;border:2px solid #ccc;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s;color:transparent;font-size:11px}
.ym-chk.checked{background:#4A90D9;border-color:#4A90D9;color:#fff}

.ym-perm-info{flex:1;min-width:0}
.ym-perm-name{font-size:13px;font-weight:700;color:#333}
.ym-perm-desc{font-size:11px;color:#999;margin-top:1px}

/* Footer */
.ym-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 0 4px;border-top:1px solid #e8e8e8;margin-top:12px}
.ym-foot-left{display:flex;gap:8px}
.ym-foot-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.ym-fbtn{padding:9px 18px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:5px;transition:all .15s}
.ym-fbtn-cancel{background:#fff;color:#666;border:1px solid #ccc}
.ym-fbtn-cancel:hover{background:#f5f5f5;border-color:#999}
.ym-fbtn-red{background:#D32F2F;color:#fff;border:1px solid #D32F2F}
.ym-fbtn-red:hover{background:#B71C1C}
.ym-fbtn-blue{background:#4A90D9;color:#fff;border:1px solid #4A90D9;min-width:80px;justify-content:center}
.ym-fbtn-blue:hover{background:#3a7bc8}
.ym-fbtn-blue i{font-size:10px}
.ym-fbtn-green{background:#43A047;color:#fff;border:1px solid #43A047}
.ym-fbtn-green:hover{background:#2E7D32}
.ym-saved{display:none;font-size:12px;color:#4CAF50;font-weight:600}
.ym-saved i{margin-right:3px}

/* Step 2 Header */
.ym-step2-header{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e8e8e8;margin-bottom:14px}
.ym-s2-icon{font-size:22px;color:#4A90D9}
.ym-s2-title{font-size:15px;font-weight:700;color:#222}
.ym-s2-desc{font-size:11px;color:#999;margin-top:2px}

/* All Rooms Box */
.ym-allrooms-box{padding:14px 16px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:14px}
.ym-allrooms-check{display:flex;align-items:center;gap:12px;cursor:pointer}
.ym-allrooms-text{flex:1}
.ym-allrooms-title{font-size:14px;font-weight:700;color:#222}
.ym-allrooms-desc{font-size:11px;color:#999;margin-top:1px}

/* Room Tab */
.ym-room-global{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#E8F5E9;border:1px solid #C8E6C9;border-radius:10px;font-size:12px;color:#2E7D32;font-weight:600;margin-bottom:12px}
.ym-room-current{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f0f7ff;border:1px solid #b8d4f0;border-radius:10px;margin-top:12px}
.ym-room-current img{width:34px;height:34px;border-radius:8px;object-fit:cover;flex-shrink:0}
.ym-room-cur-info{flex:1;min-width:0}
.ym-room-cur-name{font-size:13px;font-weight:700;color:#333}
.ym-room-cur-desc{font-size:10px;color:#999}
.ym-room-searchbox{position:relative;margin-bottom:10px}
.ym-room-searchbox i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#bbb;font-size:12px}
.ym-room-searchbox input{width:100%;padding:10px 12px 10px 32px;border:1px solid #ddd;border-radius:10px;font-size:12px;background:#f8f8f8;color:#333;outline:none;box-sizing:border-box}
.ym-room-searchbox input:focus{border-color:#4A90D9;background:#fff}
.ym-room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-height:200px;overflow-y:auto;padding:2px}
.ym-rcard{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid #eee;border-radius:10px;cursor:pointer;transition:all .15s;position:relative;background:#fff}
.ym-rcard:hover{border-color:#bbb;background:#fafafa}
.ym-rcard.selected{border-color:#4A90D9;background:#f0f7ff}
.ym-rcard img{width:30px;height:30px;border-radius:8px;object-fit:cover}
.ym-rcard-name{font-size:10px;color:#444;text-align:center;font-weight:600;line-height:1.2;max-height:26px;overflow:hidden}
.ym-rcard-check{display:none;position:absolute;top:4px;right:4px;width:16px;height:16px;border-radius:50%;background:#4A90D9;color:#fff;font-size:8px;align-items:center;justify-content:center}
.ym-rcard.selected .ym-rcard-check{display:flex}

/* Yetki Modal Responsive */
@media(max-width:480px){
.ym-title-bar{padding:14px 14px 12px;flex-wrap:wrap;gap:10px}
.ym-title-left{flex:1;min-width:200px}
.ym-step-indicator{order:2}
.ym-title{font-size:14px}
.aer-step{padding:14px 14px}
.ym-user-row{flex-direction:column;gap:12px;align-items:stretch}
.ym-rank-right{text-align:left}
.ym-rank-label{justify-content:flex-start;gap:10px}
.ym-av{width:40px;height:40px}
.ym-user-name{font-size:14px}
.ym-cats{gap:6px;flex-wrap:wrap}
.ym-cat{padding:6px 10px;font-size:11px}
.ym-perm-scroll{max-height:220px}
.ym-perm-card{padding:10px 12px}
.ym-perm-name{font-size:12px}
.ym-room-grid{grid-template-columns:repeat(2,1fr);max-height:180px}
.ym-footer{gap:8px}
.ym-foot-left{flex:0 0 auto}
.ym-foot-right{flex:1;justify-content:flex-end}
.ym-fbtn{padding:8px 14px;font-size:12px}
.ym-fbtn-blue{min-width:70px}
}

/* =====================
   STAGE EMOJI ANIMATION - Telegram Style
   ===================== */
.stage-emoji-picker {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 8px 12px;
    display: flex;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    animation: emojiPickerIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stage-emoji-item {
    font-size: 24px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    transition: transform 0.15s, background 0.15s;
}

.stage-emoji-item:hover {
    transform: scale(1.3);
    background: rgba(0,0,0,0.05);
}

.stage-emoji-item:active {
    transform: scale(1.5);
}

@keyframes emojiPickerIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.5) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

/* Telegram Style Floating Emoji - now uses inline fixed positioning */



/* Profil Oda Rol Badgeleri */
.esunus-oda-roller {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}
.esunus-oda-rol-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(245,158,11,0.08));
    border: 1px solid rgba(124,58,237,0.15);
    font-size: 11px;
    color: #374151;
    white-space: nowrap;
}
.esunus-oda-rol-badge i {
    font-size: 12px;
}
.esunus-oda-rol-badge b {
    font-weight: 700;
    color: #1f2937;
}

/* Oda Giris/Cikis Log Mesajlari */
.esunus-oda-log {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.08));
    border-left: 3px solid rgba(124,58,237,0.5);
    font-size: 12px;
    line-height: 1.5;
    flex-wrap: wrap;
}
.esunus-log-user {
    color: #7c3aed;
    cursor: pointer;
    font-weight: 700;
}
.esunus-log-user:hover {
    text-decoration: underline;
}
.esunus-log-oda {
    color: #2563eb;
    font-weight: 700;
}
.esunus-log-rank {
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(124,58,237,0.1);
    font-size: 11px;
}

/* ========================================
   ROOM INFO MODAL STYLES (room_info.php)
   ======================================== */
.ri_modal{background:#fff;color:#333;border-radius:12px;overflow:hidden;max-height:80vh;overflow-y:auto;font-family:inherit}
.ri_header{position:relative;height:120px;background-size:cover;background-position:center;background-color:#e8e0d8}
.ri_back{position:absolute;top:12px;left:12px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;font-size:18px;text-shadow:0 1px 4px rgba(0,0,0,0.4);z-index:2}
.ri_icon_wrap{width:64px;height:64px;border-radius:50%;overflow:hidden;border:3px solid #fff;margin:-36px auto 0 auto;position:relative;z-index:3;background:#f0f0f0;box-shadow:0 2px 8px rgba(0,0,0,0.12)}
.ri_icon_wrap img{width:100%;height:100%;object-fit:cover}
.ri_body{padding:8px 20px 16px;text-align:center}
.ri_name{font-size:18px;font-weight:700;color:#222;margin-top:4px}
.ri_online{font-size:13px;color:#888;margin-top:2px;margin-bottom:12px}
.ri_owner_section{position:relative;border:2px dashed #ccc;border-radius:10px;padding:14px 8px 8px;margin-bottom:12px}
.ri_owner_label{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:#fff;padding:2px 12px;font-size:11px;color:#666;border:1px solid #ddd;border-radius:20px;white-space:nowrap}
.ri_owner_box{display:flex;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}
.ri_owner_card{display:flex;align-items:center;gap:8px;cursor:pointer;flex:1;padding:6px 10px}
.ri_owner_card:hover{opacity:0.8}
.ri_owner_card+.ri_owner_card{border-left:1px solid #ddd}
.ri_owner_card img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eee;flex-shrink:0}
.ri_owner_info{text-align:left;min-width:0}
.ri_owner_name{font-size:12px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ri_verify{color:#2196F3;font-size:10px}
.ri_owner_rank{font-size:10px;color:#888;margin-top:0}
.ri_owner_star{margin-top:1px;display:flex}
.ri_owner_star svg{width:8px;height:8px}
.ri_owner_empty{padding:8px 0;font-size:12px;color:#aaa;font-style:italic}
.ri_access{display:flex;align-items:center;gap:8px;font-size:14px;color:#555;margin-bottom:16px;justify-content:center}
.ri_access i{font-size:16px;color:#888}
.ri_btn{width:100%;padding:11px 0;border-radius:10px;text-align:center;cursor:pointer;font-size:13px;font-weight:700;letter-spacing:0.5px;margin-bottom:6px;box-sizing:border-box;transition:all 0.15s;display:flex;align-items:center;justify-content:center;gap:6px}
.ri_btn_join{background:#2979FF;color:#fff;border:2px solid #2979FF}
.ri_btn_join:hover{background:#1565C0;border-color:#1565C0}
.ri_btn_current{background:#2979FF;color:#fff;border:2px solid #2979FF;cursor:default}
.ri_btn_staff{background:#fff;color:#2979FF;border:2px solid #2979FF}
.ri_btn_staff:hover{background:#f0f6ff}
.ri_hidden{display:none}
.ri_staff_grid{padding:10px 0;display:flex;flex-direction:column;gap:8px}
.ri_staff_row{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8f8f8;border-radius:10px;cursor:pointer}
.ri_staff_row:hover{background:#f0f0f0}
.ri_staff_row img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#eee}
.ri_staff_info{text-align:left}
.ri_staff_empty{padding:12px 0;font-size:13px;color:#aaa;font-style:italic;text-align:center}
.ri_pass_area{margin-bottom:10px}
.ri_input{width:100%;padding:12px 14px;border-radius:10px;border:2px solid #ddd;background:#fff;color:#333;font-size:14px;outline:none;box-sizing:border-box;text-align:center}
.ri_input:focus{border-color:#2979FF}
@media(max-width:480px){
.ri_modal{border-radius:0;max-height:100vh}
.ri_header{height:100px}
.ri_icon_wrap{width:56px;height:56px;margin-top:-30px}
.ri_body{padding:6px 12px 14px}
.ri_name{font-size:16px}
.ri_online{font-size:12px;margin-bottom:10px}
.ri_owner_section{padding:16px 6px 8px}
.ri_owner_card{padding:6px 8px}
.ri_owner_card img{width:40px;height:40px}
.ri_owner_name{font-size:12px}
.ri_owner_rank{font-size:9px}
.ri_owner_star svg{width:9px;height:9px}
.ri_access{font-size:12px}
.ri_btn{padding:10px 0;font-size:12px}
.ri_staff_row{padding:6px 8px}
.ri_staff_row img{width:30px;height:30px}
}

/* =====================
   ODA LOBİ GRID TASARIMI
   ===================== */
.room_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 5px;
}
.room_card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-secondary, #1a1a2e);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.room_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.room_card_bg {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.room_card_overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}
.room_card_live_badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: live_pulse 1.5s ease-in-out infinite;
}
.room_card_live_badge i {
    font-size: 6px;
}
@keyframes live_pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.room_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.room_card_name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 6px;
}
.room_card_count {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}
.room_card_tags {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}
.room_card_tags .room_tag {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}
.room_card_managers {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.room_card_mgr_label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.room_card_mgr_avatars {
    display: flex;
    gap: 0;
}
.room_card_mgr_avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary, #1a1a2e);
    margin-left: -6px;
}
.room_card_mgr_avatar:first-child {
    margin-left: 0;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .room_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .room_grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .room_card_bg {
        height: 100px;
    }
}



.ch_logs {
    padding: 2px 2px !important;
    margin: 0 !important;
}
.chat_avatar {
    width: 30px !important;
    padding-top: 4px !important;
    position: relative !important;
}
.chat_avatar .chat_rank {
    position: absolute !important;
    top: 24px !important;
    right: -1px !important;
    width: 13px !important;
    height: 13px !important;
    border-radius: 50% !important;
    border: 1px solid #fff !important;
    background: #fff !important;
    z-index: 2 !important;
    display: block !important;
    margin: 0 !important;
    pointer-events: none !important;
    box-shadow: 0 0 0 1.5px rgba(0, 188, 212, 0.7) !important;
}
.cavatar.avav {
    width: 30px !important;
    height: 30px !important;
}
.my_text {
    padding: 6px 0 0 4px !important;
}
.my_text .username {
    font-size: 12px !important;
}
.mbubble .cname {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 0 -1px 0 !important;
    line-height: 1.1 !important;
}
.mbubble .cname .username {
    cursor: pointer;
}
.bubble {
    padding: 3px 7px !important;
    border-radius: 5px !important;
    line-height: 1.25 !important;
    font-size: 13px !important;
}.bubble p, .bubble .bubtext {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}
.chat_message {
    padding: 0 !important;
    margin: 0 !important;
}
.log_content {
    padding: 0 !important;
    margin: 0 !important;
}
.cdate.sub_chat {
    display: inline !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 0 0 6px !important;
    vertical-align: baseline !important;
}
.emo_chat {
    height: 14px;
    max-width: 100%;
    vertical-align: bottom;
}
#show_chat li {
    margin-bottom: 0 !important;
}


/* WhatsApp Style Quote Bar */
.wa-quote-bar {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    display: none;
    z-index: 10;
    animation: waQuoteSlide 0.18s ease-out;
}
@keyframes waQuoteSlide {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.wa-quote-inner {
    display: flex;
    align-items: center;
    background: #e9ecf0;
    border-radius: 10px;
    padding: 7px 10px 7px 0;
    min-height: 44px;
    overflow: hidden;
}
.wa-quote-color {
    width: 3.5px;
    align-self: stretch;
    background: #00a884;
    border-radius: 0 3px 3px 0;
    flex-shrink: 0;
    margin-right: 10px;
    margin-left: 0;
}
.wa-quote-content {
    flex: 1;
    min-width: 0;
}
.wa-quote-name {
    font-size: 12px;
    font-weight: 600;
    color: #00a884;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.wa-quote-text {
    font-size: 11.5px;
    color: #667781;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-top: 2px;
}
.wa-quote-avatar {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    margin-left: 10px;
}
.wa-quote-close {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8696a0;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 6px;
    border-radius: 50%;
    transition: background 0.12s, color 0.12s;
}
.wa-quote-close:hover {
    background: rgba(0,0,0,0.06);
    color: #3b4a54;
}


/* --- */


/* Tab menu tek satir fix */
.modal_menu ul{display:flex !important;flex-wrap:nowrap !important;gap:4px}
.modal_menu ul li{flex:1 !important;text-align:center !important;white-space:nowrap !important;padding:6px 4px !important;font-size:11px !important;box-sizing:border-box}

