/* Sesli mesaj ve resim mesajları — WhatsApp gibi: "… gönderdi" yazısı yok, çerçeve yok.
   Solda avatar + nick (normal mesaj düzeni), altında medya. Tüm temalar (classic, modern, PC).
   PC'de bir tık büyük, mobilde ölçülü. */

/* Boş kalan metin satırı (eski "… gönderdi" balonu) görünmez. */
html body #app#app#app#app #messages .message.media-only .message-content-line{display:none!important}

/* Medya kapsayıcıları: çerçeve, zemin, gölge yok. */
html body #app#app#app#app #messages .message.media-only :is(.message-media,.moderated-media,.image-message){border:0!important;box-shadow:none!important;background:transparent!important;outline:0!important}
html body #app#app#app#app #messages .message.media-only .message-media:not(:empty){padding:0!important;margin:4px 0 0!important;width:auto!important;max-width:100%!important}
html body #app#app#app#app #messages .message.media-only .image-message{padding:0!important;margin:4px 0 0!important}

/* Sesli mesaj oynatıcı: tema renkli çerçeve yok; oynat butonu tema rengini korur. */
html body #app#app#app#app #messages .message.media-only .voice-player{width:210px!important;max-width:100%!important;min-height:38px!important;padding:2px 0!important;gap:8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body #app#app#app#app #messages .message.media-only .voice-player .voice-play{width:34px!important;height:34px!important;flex:0 0 34px!important;font-size:15px!important}
html body #app#app#app#app #messages .message.media-only .voice-player .voice-wave{height:28px!important}
html body #app#app#app#app #messages .message.media-only .voice-player .voice-time{font-size:12px!important}

/* Resim önizlemesi: oranı korunur, çerçeve yok, köşeler yumuşak. */
html body #app#app#app#app #messages .message.media-only .chat-image{display:block!important;width:auto!important;height:auto!important;max-width:210px!important;max-height:210px!important;min-width:0!important;object-fit:contain!important;border:0!important;border-radius:8px!important;box-shadow:none!important;margin:0!important;padding:0!important;background:transparent!important}
html body #app#app#app#app #messages .message.media-only .image-message [data-image-read]{border:0!important;box-shadow:none!important}

/* PC / geniş ekran: bir tık büyük. */
@media(min-width:761px) and (hover:hover),(min-width:761px) and (pointer:fine),(min-width:1401px){
 html body #app#app#app#app #messages .message.media-only .voice-player{width:270px!important;min-height:44px!important;gap:10px!important}
 html body #app#app#app#app #messages .message.media-only .voice-player .voice-play{width:38px!important;height:38px!important;flex:0 0 38px!important;font-size:16px!important}
 html body #app#app#app#app #messages .message.media-only .voice-player .voice-wave{height:32px!important}
 html body #app#app#app#app #messages .message.media-only .chat-image{max-width:300px!important;max-height:300px!important}
}
/* Çok dar telefonlar: taşma olmasın. */
@media (max-width:360px){
 html body #app#app#app#app #messages .message.media-only .voice-player{width:180px!important}
 html body #app#app#app#app #messages .message.media-only .chat-image{max-width:180px!important;max-height:180px!important}
}

/* Sesli oda simgesi (konuşan kişi): kanal listesindeki rozetler. */
.room-speaker-icon{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;color:currentColor}
.room-speaker-icon svg{display:block;width:100%;height:100%}

/* Kanal ve özel mesajlarda yazılan emojiler: PC'de bir tık büyük (mobil aynı kalır). */
@media(min-width:761px) and (hover:hover),(min-width:761px) and (pointer:fine),(min-width:1401px){
 html body #app#app#app#app #messages .message-text .chat-inline-emoji.chat-inline-emoji{font-size:1.55em!important;line-height:1.1!important;vertical-align:-.12em!important}
}

/* Mobil (classic + modern), kanal ve özel: emojiler bir tık küçük ve altı kesilmeden tam görünür.
   Satır yüksekliği emojiye yer bırakır; kapsayıcılar emojiyi kırpmaz (iPhone/Android emoji fontları daha uzun). */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html body #app#app#app#app #messages .message-text .chat-inline-emoji.chat-inline-emoji{font-size:1.3em!important;line-height:1.3!important;display:inline-block!important;vertical-align:-.18em!important;padding:0 0 .08em!important;overflow:visible!important}
 html body #app#app#app#app #messages .message :is(.message-text,.message-content-line):has(.chat-inline-emoji){overflow:visible!important;text-overflow:clip!important}
}

/* PC üst bar: gizli (hidden) butonlar gerçekten gizli kalır; boş kare görünmez.
   Özel sohbette mobil WhatsApp'a ait Arkadaş/Engelle/X araçları PC'de yok (PC'nin kendi × butonu var).
   Kanalda tek "Ekranı temizle" (silgi) kalır; mavi süpürge (pcClear) kaldırıldı. */
html.pc-reference body #app#app#app#app :is(#modernHeaderMedia,#modernCallActions)>button[hidden],
html.pc-reference body #app#app#app#app #modernCallActions>[data-md-private-tool],
html.pc-reference body #app#app#app#app #pcClear{display:none!important}

/* Modern mobil özel sohbet: üstteki avatar ve nick profil açar. */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html.modern-demo body #app .layout.private-chat .channel-head :is(.channel-icon,#activeChannel){cursor:pointer}}

/* Modern (WhatsApp) mobil, kanal üst barı — 3 noktanın solunda soldan sağa: zil · resim · temizle · sesli oda · X. */
#modernHeaderLeave{display:none}
html body #app #modernHeaderLeave[hidden]{display:none!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo[data-applet-choice="modern"] body #app#app#app .channel-head>#modernHeaderMedia{gap:8px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app #modernHeaderMedia>#modernPrivateBell:not([hidden]){display:flex!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;order:1!important;margin:0!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app #modernHeaderMedia>[data-md-media="imageButton"]{order:2!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app #modernHeaderMedia>#modernHeaderClear{order:3!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app #modernHeaderMedia>[data-md-media="voiceButton"]{order:4!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app #modernHeaderMedia>#modernHeaderLeave:not([hidden]){display:flex!important;order:5!important;font:400 26px/1 Arial,Helvetica,sans-serif!important}
}
@media(min-width:761px) and (hover:hover),(min-width:761px) and (pointer:fine),(min-width:1401px){html body #app #modernHeaderLeave{display:none!important}}

/* Mesajlardaki emojiler: paneldeki EmojiOne görseliyle aynı (boyut yazı boyutuna göre). */
html body #app #messages .chat-inline-emoji>img.chat-emoji-img{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.2em;margin:0 .03em;object-fit:contain;border:0;background:transparent;box-shadow:none}

/* Whois kartı: operatör yetki rozeti uzun olabilir (ör. "IRC Operator & Network Administrator"); taşmaz, gerekirse … ile kısalır. */
html body .whois-card .whois-title{min-width:0!important;flex:1 1 auto}
html body .whois-card .whois-badges{min-width:0;max-width:100%}
html body .whois-card .whois-badge{max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
html body .whois-card .whois-title>p{overflow-wrap:anywhere}

/* Kendi mesajlarım (kanal + özel), PC ve modern (WhatsApp) mobil: avatar diğer mesajlar gibi solda. */
html.modern-demo[data-applet-choice="modern"] body #app#app#app #messages .message.self:not(.system-message){flex-direction:row!important;justify-content:flex-start!important}
html.modern-demo[data-applet-choice="modern"] body #app#app#app #messages .message.self .message-body{border-radius:0 13px 13px 13px!important}
html.modern-demo[data-applet-choice="modern"] body #app#app#app #messages .message.self .message-body::before{left:-8px!important;right:auto!important;border-right:0!important;border-left:10px solid transparent!important}
html.pc-reference body #app#app#app#app #messages .message.self>.message-avatar{order:0!important}
html.pc-reference body #app#app#app#app #messages .message.self .message-body::before{left:-7px!important;right:auto!important;border-right:0!important;border-left:8px solid transparent!important}

/* Kendi mesaj balonum: mavi, pembe, mor ve siyah temada tema renginin bir tık açığı (yeşil/WhatsApp temasında değişmez). */
html[data-chat-background="modern-blue"]{--self-bubble:#d1e8ff}
html[data-chat-background="msn"]{--self-bubble:#d1e6ff}
html[data-chat-background="pink"]{--self-bubble:#f7d9e8}
html[data-chat-background="purple"]{--self-bubble:#e9d9f7}
html[data-chat-background="black"]{--self-bubble:#e8e8e8}
html:is([data-chat-background="modern-blue"],[data-chat-background="msn"],[data-chat-background="pink"],[data-chat-background="purple"],[data-chat-background="black"]):is(.modern-demo[data-applet-choice="modern"],.pc-reference) body #app#app#app#app #messages .message.self .message-body{background:var(--self-bubble)!important;border-color:var(--self-bubble)!important}
html:is([data-chat-background="modern-blue"],[data-chat-background="msn"],[data-chat-background="pink"],[data-chat-background="purple"],[data-chat-background="black"]):is(.modern-demo[data-applet-choice="modern"],.pc-reference) body #app#app#app#app #messages .message.self .message-body::before{border-top-color:var(--self-bubble)!important}

/* Mobil: Bildirimler ve İletişim pencereleri kompakt; ekrana sığar, sayfayı kaydırmaz (içerik gerekirse kendi içinde kayar). */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html body dialog#socialDialog#socialDialog[open]:is(:has(#showMessageTimeToggle),:has(#contactForm)){box-sizing:border-box!important;width:min(318px,calc(100vw - 32px))!important;max-width:318px!important;max-height:calc(100dvh - 48px)!important;padding:0!important;border-radius:14px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;font-size:12px!important}
 html body dialog#socialDialog#socialDialog:is(:has(#showMessageTimeToggle),:has(#contactForm))>header{padding:8px 12px!important;min-height:0!important;flex:0 0 auto!important}
 html body dialog#socialDialog#socialDialog:is(:has(#showMessageTimeToggle),:has(#contactForm))>header h2{font-size:15px!important;line-height:1.2!important;margin:0!important}
 html body dialog#socialDialog#socialDialog:is(:has(#showMessageTimeToggle),:has(#contactForm))>header [data-social-close]{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;font-size:13px!important;border-radius:8px!important}
 html body dialog#socialDialog#socialDialog:is(:has(#showMessageTimeToggle),:has(#contactForm))>.social-dialog-content{padding:8px 12px 10px!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;flex:1 1 auto!important;overscroll-behavior:contain}
 html body dialog#socialDialog#socialDialog:has(#showMessageTimeToggle) .sound-option{padding:5px 0!important;margin:0!important;gap:8px!important;min-height:0!important}
 html body dialog#socialDialog#socialDialog:has(#showMessageTimeToggle) .sound-option b{font-size:12px!important;line-height:1.25!important}
 html body dialog#socialDialog#socialDialog:has(#showMessageTimeToggle) .sound-option small{font-size:10.5px!important;line-height:1.25!important;margin-top:1px!important}
 html body dialog#socialDialog#socialDialog:has(#showMessageTimeToggle) .sound-option input[type="checkbox"][role="switch"]{transform:scale(.82)!important;transform-origin:right center!important;flex:0 0 auto!important}
 html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm{display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important}
 html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm label{font-size:12px!important;gap:3px!important;display:flex!important;flex-direction:column!important}
 html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm input{height:34px!important;min-height:34px!important;font-size:14px!important;padding:0 10px!important;box-sizing:border-box!important}
 html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm textarea{height:96px!important;min-height:80px!important;font-size:16px!important;padding:8px 10px!important;box-sizing:border-box!important;resize:none!important}
 html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm button[type="submit"]{align-self:flex-start!important;min-height:34px!important;height:34px!important;padding:0 16px!important;font-size:13px!important}
}

/* Yetkili zil paneli: kanalda gönderilen resim / ses / YouTube ve durum güncellemeleri (küçük önizlemeler). */
#approvalPanel .approval-feed{margin-top:8px;padding-top:6px;border-top:1px solid #d6e3eb}
#approvalPanel .approval-feed h3{margin:4px 0 6px;font-size:12px;font-weight:700;color:inherit;opacity:.85}
#approvalPanel .feed-item{display:block;width:100%;box-sizing:border-box;margin:0 0 6px;padding:7px;border:1px solid #d6e3eb;border-radius:9px;background:#fff;color:inherit;text-align:left;font:inherit}
#approvalPanel button.feed-item{cursor:pointer}
#approvalPanel .feed-head{display:flex;align-items:center;gap:6px;min-width:0;margin-bottom:5px}
#approvalPanel .feed-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
#approvalPanel .feed-head small{margin-left:auto;flex:0 0 auto;font-size:10.5px;opacity:.75;white-space:nowrap}
#approvalPanel .feed-avatar{flex:0 0 22px;width:22px;height:22px;display:inline-flex}
#approvalPanel .feed-avatar :is(.social-avatar,img){width:22px!important;height:22px!important;border-radius:50%!important}
#approvalPanel .feed-preview{font-size:11px;opacity:.8}
#approvalPanel .feed-image{display:block;max-width:100%;max-height:120px;width:auto;height:auto;border-radius:7px;cursor:zoom-in;margin:0;object-fit:contain}
#approvalPanel .feed-voice{width:100%;text-align:left}
#approvalPanel .feed-audio{display:block;width:100%;height:34px}
#approvalPanel .feed-youtube{position:relative;display:block;width:100%;padding:0!important;border:0!important;background:#000!important;border-radius:7px!important;overflow:hidden;aspect-ratio:16/9}
#approvalPanel .feed-youtube img{display:block;width:100%;height:100%;object-fit:cover}
#approvalPanel .feed-youtube span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:26px;text-shadow:0 1px 6px #000a}
#approvalPanel .feed-iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:7px}
#approvalPanel .feed-pending{display:inline-block;margin:0 0 4px;font-size:10.5px;font-style:normal;color:#9a5b00}
#approvalPanel .feed-deleted{margin:0;font-size:11px;font-style:italic;opacity:.8}
#approvalPanel .feed-open{font-size:11px;opacity:.8}
#approvalPanel .feed-empty{margin:4px 0;font-size:11px;opacity:.75}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){#approvalPanel .feed-image{max-height:100px}#approvalPanel .feed-item{padding:6px}}

/* Modern (WhatsApp) mobil: kanal ve özelde resim ve sesli mesaj bir tık daha küçük; oynat butonu küçük. */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .chat-image{max-width:170px!important;max-height:170px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .voice-player{width:180px!important;min-height:32px!important;gap:7px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .voice-player .voice-play{width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;font-size:12px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .voice-player .voice-wave{height:22px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .voice-player .voice-time{font-size:11px!important}
}
@media (max-width:360px){
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .chat-image{max-width:150px!important;max-height:150px!important}
 html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #messages .message.media-only .voice-player{width:160px!important}
}
#approvalPanel .feed-status-actions{display:flex;gap:6px;flex-wrap:wrap}

/* Silme / onay notları ("… X operatörü tarafından silinmiştir / onaylanmıştır") ve silinen mesaj yazısı:
   kanaldaki sistem uyarısıyla aynı yazı tipi ("Ekranınız X operatörü tarafından silinmiştir."). */
html body #app#app#app#app #messages#messages :is(.media-deleted-status,.media-approved-status),
html body #app#app#app#app #messages#messages .message.is-deleted-message .message-text,
html body #app#app#app#app #messages#messages .message.is-deleted-message .message-text *{display:block;font-family:inherit!important;font-size:10.5px!important;font-style:normal!important;font-weight:400!important;line-height:1.35!important;color:var(--md-37443f,var(--cz-6480a3,#6480a3))!important;opacity:.72!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;width:max-content!important;max-width:min(320px,calc(100vw - 90px))!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;background:transparent!important;margin:3px 0 0!important}
html[data-message-style="classic"] body #app#app#app#app #messages#messages :is(.media-deleted-status,.media-approved-status),
html[data-message-style="classic"] body #app#app#app#app #messages#messages .message.is-deleted-message .message-text{font-family:Arial,sans-serif!important}

/* Not, oynatıcıdan geniş olabilir: medya kapsayıcıları notu kırpmasın (tek satır kalsın). */
html body #app#app#app#app #messages#messages .message:has(.media-approved-status,.media-deleted-status) :is(.message-media,.moderated-media,.image-message){overflow:visible!important;max-width:none!important}

/* PC üst bar: renk paleti ile profil arasındaki Bildirimler zili (yalnız PC). */
.pc-top-bell{display:none}
html.pc-reference body #app#app#app#app .titlebar>.pc-top-bell.pc-top-bell{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:40px!important;height:40px!important;position:absolute!important;top:var(--pc-bell-y,40px)!important;left:var(--pc-bell-x,70%)!important;transform:translate(-50%,-50%)!important;z-index:2!important;margin:0!important;padding:0!important;border:1px solid var(--pcg-7ac6b23b,#ffffff40)!important;border-radius:12px!important;background:rgba(255,255,255,.12)!important;color:var(--pcg-f5fffb,#f5fffb)!important;cursor:pointer!important;box-shadow:none!important}
html.pc-reference body #app#app#app#app .titlebar>.pc-top-bell.pc-top-bell:hover{background:rgba(255,255,255,.22)!important}
html.pc-reference body #app#app#app#app .titlebar>.pc-top-bell.pc-top-bell svg{width:21px!important;height:21px!important;display:block}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html body #app .pc-top-bell{display:none!important}}

/* ===== Modern (WhatsApp) mobil — "Kanallar üstte" (admin › Mobil Görünüm). PC ve classic etkilenmez. ===== */
#mdChannelChips{display:none}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app #modernDemoTabs>[data-md-tab="channels"].md-tab-current{color:white!important;border-bottom-color:white!important}
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app #modernDemoTabs>[data-md-tab="channels"]>b{display:none!important}
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app>#mdChannelChips:not([hidden]){display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:6px!important;order:2!important;flex:0 0 auto!important;max-height:none!important;overflow:visible!important;padding:7px 8px!important;margin:0!important;background:var(--md-f0f5f6,#f0f5f6)!important;border-bottom:1px solid rgba(0,0,0,.08)!important;box-sizing:border-box!important}
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app>#mobileSection{order:4!important}
 /* Kanal sohbetinde: üst bar + sekmeler + kanal şeridi görünür, eski kanal başlığı (geri oku, avatar) gizlenir. */
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app:not(.md-list-open)>.titlebar{display:flex!important;order:0!important}
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app:not(.md-list-open)>#modernDemoTabs{display:flex!important;order:1!important}
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app:not(.md-list-open)>.layout{order:4!important;min-height:0!important}
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app:not(.md-list-open) .layout .channel-head{display:none!important}
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app #referenceTopicBar{display:none!important}
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app #referenceTopicBar .reference-topic-text{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.modern-demo.md-channels-top.md-channels-top-chat[data-applet-choice="modern"] body #app#app#app #referenceTopicBar.topic-expanded .reference-topic-text{white-space:normal}
 /* Kanal sekmeleri */
 html.modern-demo.md-channels-top body #app#app#app #channelHeadToggle{display:none!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip{display:inline-flex!important;align-items:center!important;max-width:calc(50% - 4px);min-width:0;height:28px;border:1px solid rgba(0,0,0,.12);border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06);overflow:hidden}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip.selected{border-color:var(--md-006653,#006653);box-shadow:0 0 0 1px var(--md-006653,#006653) inset}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name{flex:1 1 auto;min-width:0;padding:0 2px 0 8px;border:0;background:transparent;color:var(--md-006653,#006653);font:600 12.5px/28px inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
 html.modern-demo.md-channels-top body #mdChannelChips :is(.md-chip.unread .md-chip-name,.md-chip-name.channel-unread)::after{content:"";display:inline-block;width:7px;height:7px;margin-left:5px;border-radius:50%;background:#e5342a;vertical-align:1px}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-close{flex:0 0 22px;width:22px;height:28px;border:0;background:transparent;color:#5c6670;font:400 17px/1 Arial,Helvetica,sans-serif;cursor:pointer;padding:0}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-add{flex:0 0 28px;width:28px;height:28px;border:1px solid rgba(0,0,0,.12);border-radius:9px;background:#fff;color:var(--md-006653,#006653);font:400 20px/1 Arial,Helvetica,sans-serif;cursor:pointer;padding:0;position:static!important;box-shadow:0 1px 2px rgba(0,0,0,.06)!important;margin:0!important;inset:auto!important;transform:none!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name .channel-room-icon,html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name>b,html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name>em{display:none!important}
}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top body #app#app#app #referenceTopicBar>.channel-head-toggle{position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:24px!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#5c6670!important;box-shadow:none!important;font-size:0!important}
 html.modern-demo.md-channels-top body #app#app#app #referenceTopicBar>.channel-head-toggle::before{content:"⌄";font:400 18px/1 Arial,Helvetica,sans-serif;display:block;transform:translateY(-3px)}
 html.modern-demo.md-channels-top body #app#app#app #referenceTopicBar.topic-expanded>.channel-head-toggle::before{transform:rotate(180deg) translateY(-3px)}
}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 /* Özel sohbet açıkken kanal şeridi gizli (geri okuyla özel listesine dönülür, şerit orada görünür). */
 html.modern-demo.md-channels-top:not(.md-channels-top-chat)[data-applet-choice="modern"] body #app#app#app:not(.md-list-open)>#mdChannelChips{display:none!important}
 /* Klavye açıkken sohbete yer kalsın: sekmeler ve konu satırı gizlenir. Kanal şeridi gizlenmez; açıksa 2 satıra kapanır (app.js). */
 html.modern-demo.md-channels-top.chat-keyboard-open[data-applet-choice="modern"] body #app#app#app:not(.md-list-open):is(#app) :is(#modernDemoTabs,#referenceTopicBar){display:none!important}
}

/* Kanallar üstte: kanal sekmeleri en fazla 2 satır; fazlası sağdaki ok ile açılır (kaydırma yok). */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top body #mdChannelChips .md-chips-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px;flex:1 1 auto;min-width:0;max-height:61px;overflow:hidden}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chips-list.expanded{max-height:none}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chips-actions{display:flex;flex-direction:column;gap:5px;flex:0 0 28px}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chips-toggle{width:28px;height:28px;padding:0;border:1px solid rgba(0,0,0,.12);border-radius:9px;background:#fff;color:var(--md-006653,#006653);font:400 18px/1 Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.06)}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chips-toggle[hidden]{display:none!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip{max-width:calc(50% - 3px)}
 html.modern-demo.md-channels-top.md-chips-hidden[data-applet-choice="modern"] body #app#app#app>#mdChannelChips{display:none!important}
}

/* Mobil girişte görünüm seçimi: WhatsApp yeşil, Classic qwebirc tema renginde, MSN classic mavi. */
html body dialog.appearance-choice.appearance-choice.appearance-choice button[data-value]{color:#fff!important;border:0!important;box-shadow:0 2px 6px rgba(0,0,0,.12)!important;text-align:left}
html body dialog.appearance-choice.appearance-choice.appearance-choice button[data-value] :is(b,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body dialog.appearance-choice.appearance-choice.appearance-choice button[data-value] small{opacity:.88}
html body dialog.appearance-choice.appearance-choice.appearance-choice button.appearance-pick-wa{background:linear-gradient(135deg,#128c7e,#075e54)!important}
html body dialog.appearance-choice.appearance-choice.appearance-choice button.appearance-pick-qw{background:var(--pick-accent,#a82d6b)!important}
html body dialog.appearance-choice.appearance-choice.appearance-choice button.appearance-pick-msn{background:linear-gradient(135deg,#3b8de6,#1a5fb4)!important}
html body dialog.appearance-choice.appearance-choice.appearance-choice button[data-value]:hover{filter:brightness(1.06)}
/* Ayarlar › Görünüm: 3 kart */
.appearance-style-cards:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Kanallar üstte: sekmeler satırı boşluksuz doldurur; okunmamış mesajlı kanal kırmızı (yazı + nokta), mesajsız kanal mavi;
   aktif kanalın arka planı tema renginin açık tonu. */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip{flex:1 1 auto!important;max-width:100%!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name{display:flex!important;align-items:center;justify-content:center;gap:5px;color:#1f6fd1!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip-name::after{content:""!important;display:inline-block!important;flex:0 0 7px;width:7px!important;height:7px!important;margin:0!important;border-radius:50%!important;background:#1f6fd1!important;vertical-align:middle}
 html.modern-demo.md-channels-top body #mdChannelChips :is(.md-chip.unread .md-chip-name,.md-chip-name.channel-unread){color:var(--md-006653,#006653)!important}
 html.modern-demo.md-channels-top body #mdChannelChips :is(.md-chip.unread .md-chip-name,.md-chip-name.channel-unread)::after{background:var(--md-006653,#006653)!important}
 html.modern-demo.md-channels-top body #mdChannelChips .md-chip.selected{background:color-mix(in srgb,var(--md-006653,#006653) 14%,#fff)!important}
}

/* Özel mesajlarda "görüldü" (✓✓) işareti: her temada belirgin mavi. */
html body #app#app#app#app #messages .message-receipt.is-read,html body #app#app#app#app #messages .message-receipt.is-read *{color:#0a84ff!important;-webkit-text-fill-color:#0a84ff!important;opacity:1!important;filter:none!important;text-shadow:none!important}


/* Admin › Tema Ayarları › Mobil Görünüm: mobil kanal listesi (sıra no · kanal · küçük ×). */
html body .applet-admin-dialog .admin-mobile-channels{margin:0 0 14px;padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:rgba(255,255,255,.6)}
html body .applet-admin-dialog .admin-mobile-channels h3{margin:0 0 4px;font-size:14px}
html body .applet-admin-dialog .admin-mobile-channels form{display:flex;align-items:flex-end;gap:8px;margin:8px 0}
html body .applet-admin-dialog .admin-mobile-channels form label{display:flex;flex-direction:column;gap:3px;flex:1 1 auto;min-width:0;font-size:12px}
html body .applet-admin-dialog .admin-mobile-channels form input{width:100%;box-sizing:border-box}
html body .applet-admin-dialog ul.admin-mobile-channel-list{list-style:none!important;margin:6px 0 0!important;padding:0!important;display:flex;flex-direction:column;gap:6px}
html body .applet-admin-dialog ul.admin-mobile-channel-list>li{display:flex!important;align-items:center;gap:10px;padding:6px 8px 6px 10px;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#fff;font-size:13px}
html body .applet-admin-dialog .admin-mobile-channel-no{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.06);font-size:11px}
html body .applet-admin-dialog .admin-mobile-channel-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .applet-admin-dialog .admin-mobile-channel-remove{flex:0 0 26px!important;width:26px!important;height:26px!important;min-height:26px!important;margin:0 0 0 auto!important;padding:0!important;border-radius:8px!important;font:400 15px/1 Arial,Helvetica,sans-serif!important;display:grid!important;place-items:center!important}
html body .applet-admin-dialog ul.admin-mobile-channel-list>li.admin-empty{justify-content:center;color:#777;font-size:12px}

/* Modern mobil: kanal üst barındaki "Ekranı temizle" ikonu kaldırıldı (PC'de duruyor). */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html.modern-demo[data-applet-choice="modern"] body #app#app#app#app #modernHeaderMedia>#modernHeaderClear{display:none!important}}

/* Admin paneli: Ekle/Sil listeleri (Kanal Ayarları, Nick Ayarları vb.) — sıra no · ad · küçük ×; ekleme formu tek satır. */
html body .applet-admin-dialog :is(.admin-channel-add,.admin-nick-add){display:flex!important;align-items:center!important;gap:8px!important;margin:8px 0!important}
html body .applet-admin-dialog :is(.admin-channel-add,.admin-nick-add) input{flex:1 1 auto!important;min-width:0!important;width:auto!important;box-sizing:border-box!important}
html body .applet-admin-dialog :is(.admin-channel-add,.admin-nick-add) button{flex:0 0 auto!important;margin:0!important}
html body .applet-admin-dialog :is(.admin-channel-rows,.admin-nick-rows){display:flex!important;flex-direction:column!important;gap:6px!important;margin:6px 0 0!important}
html body .applet-admin-dialog .admin-shun-row.admin-list-row{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:0!important;padding:6px 8px 6px 10px!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:10px!important;background:#fff!important;font-size:13px!important;box-shadow:none!important}
html body .applet-admin-dialog .admin-list-no{flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:rgba(0,0,0,.06)!important;font-size:11px!important;font-weight:700!important}
html body .applet-admin-dialog .admin-list-name{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body .applet-admin-dialog .admin-list-x{flex:0 0 26px!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;margin:0 0 0 auto!important;padding:0!important;border-radius:8px!important;font:400 15px/1 Arial,Helvetica,sans-serif!important;display:grid!important;place-items:center!important}
/* Diğer Ekle/Kaldır satırları (shun, operatörler vb.) aynı çerçeve görünümünde. */
html body .applet-admin-dialog .admin-shun-row:not(.admin-list-row){display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;padding:6px 8px 6px 10px!important;margin:6px 0!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:10px!important;background:#fff!important}
html body .applet-admin-dialog .admin-shun-row:not(.admin-list-row)>:is(b,div,span):first-child{flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere;font-size:13px!important}
html body .applet-admin-dialog .admin-shun-row:not(.admin-list-row) button{flex:0 0 auto!important;margin:0 0 0 auto!important;min-height:26px!important;padding:4px 10px!important;border-radius:8px!important;font-size:12px!important}

/* Admin: Tema seçimi alt seçenekleri, varsayılan mobil görünüm ve Bildirim İzinleri. */
html body .applet-admin-dialog .admin-ask-options{display:flex!important;flex-direction:column!important;gap:6px!important;margin:-2px 0 8px 14px!important;padding-left:10px!important;border-left:2px solid rgba(0,0,0,.08)!important}
html body .applet-admin-dialog #adminUiVisibility:has(input[name="askAppearanceOnLogin"]:not(:checked)) .admin-ask-options{opacity:.45!important}
html body .applet-admin-dialog .admin-mobile-view{margin:0 0 12px!important;padding:10px!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:10px!important;background:#fff!important}
html body .applet-admin-dialog .admin-mobile-view h4{margin:0 0 6px!important;font-size:14px!important}
html body .applet-admin-dialog .admin-mobile-view small,html body .applet-admin-dialog .admin-notification-access small{display:block;font-size:11px;opacity:.7}
html body .applet-admin-dialog .admin-notification-access>h3{margin:12px 0 4px!important;font-size:14px!important}
html body .applet-admin-dialog .admin-notification-access .admin-channel-group{margin-top:10px!important}
html body .applet-admin-dialog .admin-mobile-view .admin-visibility-row{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:6px 0!important}
html body .applet-admin-dialog .admin-mobile-view .admin-visibility-row>span{flex:1 1 auto!important;min-width:0!important}
html body .applet-admin-dialog .admin-mobile-view input[type=radio]{flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important;accent-color:currentColor}
html body .applet-admin-dialog form.admin-mobile-view label.admin-view-option{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:4px 0!important;padding:8px 10px!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:10px!important;text-align:left!important;font-size:14px!important}
html body .applet-admin-dialog form.admin-mobile-view label.admin-view-option:has(input:checked){border-color:currentColor!important;background:rgba(0,128,105,.06)!important}

/* ⋮ menüsü: NickServ açılır-kapanır alt menüsü (Nick Kaydet / Identify / Nick Değiştir). */
#modernNavigationMenu .md-nav-sub-head::after{content:"⌄";margin-left:auto;padding-left:10px;font:400 16px/1 Arial,Helvetica,sans-serif;opacity:.7;transition:transform .15s}
#modernNavigationMenu .md-nav-sub-head[aria-expanded="true"]::after{transform:rotate(180deg)}
#modernNavigationMenu .md-nav-sub[hidden]{display:none!important}
#modernNavigationMenu .md-nav-sub{display:flex;flex-direction:column;margin:0 0 2px 18px;border-left:2px solid rgba(0,0,0,.08)}
#modernNavigationMenu .md-nav-sub>button{font-size:.94em}

/* Profil ve Ayarlar › Hesap İşlemleri: NickServ grubu (tüm temalar). */
.nickserv-group{grid-column:1/-1;width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:rgba(255,255,255,.6);margin:0 0 8px}
.nickserv-group>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;font-weight:600}
.nickserv-group>summary::-webkit-details-marker{display:none}
.nickserv-group>summary::after{content:"⌄";margin-left:auto;font:400 18px/1 Arial,Helvetica,sans-serif;opacity:.65;transition:transform .15s}
.nickserv-group[open]>summary::after{transform:rotate(180deg)}
.nickserv-group>summary small{display:block;font-weight:400;font-size:12px;opacity:.7}
.nickserv-group .md-nickserv-x,.md-nickserv>summary b{display:block}
.md-nickserv>summary small{margin-left:4px}
.profile-nickserv .profile-nickserv-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:0 10px 10px}
.md-nickserv>.md-options{padding:0 8px 8px}
.profile-card .nick-art{display:grid!important;place-items:center;background:none!important;font-size:22px}
.nickserv-key{font-size:18px}

/* Aktif sesli odası olan kanalın yanındaki sesli oda simgesi yavaşça yanıp söner; kullanıcı bir kez basınca durur (.room-seen).
   Yalnız opaklık değişir (telefonu yormaz); "animasyonları azalt" açık olsa da çalışır. */
@keyframes voiceRoomBlink{0%,100%{opacity:1}50%{opacity:.4}}
/* Yalnız kanalın SAĞINDAKİ simge yanıp söner; MSN logosunun / # işaretinin üzerindeki simge sabit kalır. */
html body .channel-room-right:not(.room-seen) .room-speaker-icon{animation:voiceRoomBlink 2.4s ease-in-out infinite!important}

/* Üstteki sesli oda simgesi: aktif oda sayısı rozeti. */
[data-md-media="voiceButton"]{position:relative}
[data-md-media="voiceButton"] .room-count-badge{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:#e53935;color:#fff;font:700 10px/16px Arial,Helvetica,sans-serif;text-align:center;box-shadow:0 0 0 2px rgba(255,255,255,.85);pointer-events:none}

/* Aktif Sesli Odalar penceresi: PC'de biraz büyük, mobilde kompakt. */
html body dialog#socialDialog.voice-room-list-dialog{width:min(420px,calc(100vw - 32px))!important;max-width:420px!important;max-height:min(70vh,560px)!important;padding:0!important;border:0!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 18px 50px rgba(0,0,0,.25)!important;background:#fff!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px 16px!important;margin:0!important;background:linear-gradient(135deg,var(--md-006653,#006653),color-mix(in srgb,var(--md-006653,#006653) 70%,#000))!important;color:#fff!important;border:0!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header h2{margin:0!important;font:700 16px/1.2 inherit!important;color:#fff!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]{width:30px!important;height:30px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:14px!important;cursor:pointer}
html body dialog#socialDialog.voice-room-list-dialog .social-dialog-content{padding:12px!important;overflow:auto!important;max-height:calc(min(70vh,560px) - 60px)!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl{display:flex!important;flex-direction:column!important;gap:8px!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-row{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 12px!important;margin:0!important;border:1px solid rgba(0,0,0,.07)!important;border-radius:14px!important;background:linear-gradient(#fff,#f7faf9)!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-icon{flex:0 0 40px!important;width:40px!important;height:40px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--md-006653,#006653) 12%,#fff)!important;color:var(--md-006653,#006653)!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-icon svg{width:22px!important;height:22px!important;display:block!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-name{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-name b{font-size:15px!important;color:#1c2b33!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-name small{display:flex!important;align-items:center!important;gap:5px!important;font-size:12px!important;color:#5f6f78!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-name small i{width:7px!important;height:7px!important;border-radius:50%!important;background:#e53935!important;display:inline-block!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-join{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;min-height:0!important;padding:0 14px!important;margin:0!important;border:0!important;border-radius:17px!important;background:var(--md-006653,#006653)!important;color:#fff!important;font:600 13px/1 inherit!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-join:disabled{opacity:.6!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-empty{margin:10px 4px 14px!important;text-align:center!important;color:#55636b!important;font-size:14px!important;line-height:1.5!important}
html body dialog#socialDialog.voice-room-list-dialog .vrl-empty small{color:#86949b!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html body dialog#socialDialog.voice-room-list-dialog{width:min(340px,calc(100vw - 32px))!important;border-radius:16px!important}
 html body dialog#socialDialog.voice-room-list-dialog>header{padding:11px 14px!important}
 html body dialog#socialDialog.voice-room-list-dialog>header h2{font-size:15px!important}
 html body dialog#socialDialog.voice-room-list-dialog .vrl-row{padding:8px 10px!important;gap:10px!important}
 html body dialog#socialDialog.voice-room-list-dialog .vrl-icon{flex-basis:34px!important;width:34px!important;height:34px!important}
 html body dialog#socialDialog.voice-room-list-dialog .vrl-icon svg{width:19px!important;height:19px!important}
 html body dialog#socialDialog.voice-room-list-dialog .vrl-name b{font-size:14px!important}
 html body dialog#socialDialog.voice-room-list-dialog .vrl-join{height:30px!important;padding:0 11px!important;font-size:12px!important}
}

/* Kanallar üstte: kanal sekmeleri aynı boyutta ve küçük; aç/kapa (sunucudaki başlık simgesi) ve + en sağda sabit, alt alta. */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top[data-applet-choice="modern"] body #app#app#app>#mdChannelChips:not([hidden]){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:6px!important;padding:6px 8px!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chips-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(88px,1fr))!important;grid-auto-rows:26px!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-height:57px!important;overflow:hidden!important;margin:0!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chips-list.expanded{max-height:none!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chips-actions{display:flex!important;flex-direction:column!important;gap:5px!important;flex:0 0 26px!important;width:26px!important;margin:0!important;order:2!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips :is(.md-chips-toggle,.md-chip-add){width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important;margin:0!important;padding:0!important;border-radius:8px!important;box-sizing:border-box!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-add{font-size:18px!important;line-height:24px!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chips-toggle{font-size:0!important;color:transparent!important;background:#fff url('/images/simgeler/baslik-ac.png') center/18px 18px no-repeat!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chips-toggle[aria-expanded="true"]{background-image:url('/images/simgeler/baslik-kapat.png')!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip{width:auto!important;max-width:none!important;min-width:0!important;height:26px!important;flex:none!important;border-radius:8px!important;box-sizing:border-box!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-name{font-size:12px!important;line-height:24px!important;padding:0 0 0 7px!important;justify-content:flex-start!important;gap:4px!important;overflow:hidden!important;min-width:0!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-name::after{width:6px!important;height:6px!important;flex:0 0 6px!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-close{flex:0 0 20px!important;width:20px!important;height:24px!important;font-size:15px!important}
}
#modernNavigationMenu .md-nav-sub>button{border:0!important;box-shadow:none!important}
/* Classic (MSN) mobil profil: NickServ grubu için hesap bölümü yüksekliği serbest. */
#referenceProfile .profile-account-section{height:auto!important;min-height:96px}
#referenceProfile .profile-nickserv{background:linear-gradient(#fff,#f3f9ff);border-color:#d2e7f4;border-radius:13px}
#referenceProfile .profile-nickserv>summary{padding:7px 10px;color:#064886}
#referenceProfile .profile-nickserv>summary strong{display:block;font-size:13.5px;line-height:19px}
#referenceProfile .profile-nickserv>summary small{font-size:10.8px;color:#617c96}
#referenceProfile .profile-nickserv .profile-nickserv-items{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 7px 7px;gap:6px}
#referenceProfile .profile-card.nickchange{background:linear-gradient(#effff4,#dcf6e6);border-color:#cfe9d8}
#referenceProfile .profile-card.nickchange strong{color:#11804a}
#referenceProfile .profile-card-grid>.profile-card.oper{grid-column:1/2}
#referenceProfile .profile-nickserv-items .profile-card :is(strong,small){overflow:hidden;text-overflow:ellipsis}

/* Admin/operatör girişi yapılmışsa PC'de "Çevrimiçi"nin solunda Admin butonu; diğer yerlerde düzen değişmez. */
.social-status-row{display:contents}
.social-admin-entry{display:none!important}
@media(min-width:761px) and (hover:hover),(min-width:761px) and (pointer:fine),(min-width:1401px){
 html[data-app-staff="true"] body #app#app#app #pcReferenceRail .social-status-row{display:flex!important;align-items:center;justify-content:center;gap:6px;margin:0 auto 3px;max-width:100%}
 html[data-app-staff="true"] body #app#app#app #pcReferenceRail .social-status-row .social-status{margin:0!important}
 html[data-app-staff="true"] body #app#app#app #pcReferenceRail .social-admin-entry{display:inline-flex!important;align-items:center;gap:3px;height:30px;padding:0 10px;border-radius:16px;border:1px solid rgba(0,0,0,.12);background:#fff;color:var(--md-006653,#006653);font:600 12px/1 inherit;cursor:pointer;white-space:nowrap}
}
html[data-app-staff="true"] body #modernNavigationMenu button[data-applet-admin]{display:flex!important}

html body dialog#socialDialog.voice-room-list-dialog.voice-room-list-dialog .vrl-join{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;border:0!important;box-shadow:none!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header h2{text-shadow:0 1px 1px rgba(0,0,0,.2)}
/* Aktif Sesli Odalar: ortalı sabit konum (tema kuralları kaydırmasın), kapat düğmesi tam ortalı, "Sesli Odayı Aç" alanı. */
html body dialog#socialDialog#socialDialog.voice-room-list-dialog{position:fixed!important;inset:0!important;margin:auto!important;height:fit-content!important;transform:none!important;box-sizing:border-box!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header h2{flex:1 1 auto!important;min-width:0!important;line-height:1.2!important;padding:0!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]{flex:0 0 30px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0 0 0 10px!important;line-height:1!important;min-height:0!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .social-dialog-content{box-sizing:border-box!important;margin:0!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open{display:flex!important;flex-direction:column!important;gap:8px!important;margin:10px 0 0!important;padding:10px 0 0!important;border-top:1px dashed rgba(0,0,0,.12)!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open[hidden]{display:none!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;height:40px!important;min-height:0!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--md-006653,#006653),color-mix(in srgb,var(--md-006653,#006653) 75%,#000))!important;color:#fff!important;font:600 14px/1 inherit!important;cursor:pointer!important;box-shadow:0 3px 10px color-mix(in srgb,var(--md-006653,#006653) 30%,transparent)!important;box-sizing:border-box!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open-btn span{font-size:16px!important;line-height:1!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open-btn:disabled{opacity:.6!important}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-note{margin:0!important;padding:8px 10px!important;border-radius:10px!important;background:#fff7e6!important;color:#7a5200!important;font-size:12.5px!important;line-height:1.4!important;text-align:center!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html body dialog#socialDialog#socialDialog.voice-room-list-dialog .vrl-open-btn{height:36px!important;font-size:13px!important;border-radius:10px!important}}
html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]::before,html body dialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]::after{content:none!important;display:none!important}

/* Kanallar üstte (modern qwebirc): mesajsız kanallar tema renginde, yeni mesaj gelen (okunmamış) kanallar kırmızı; noktalar da aynı renkte. */
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-name{color:var(--md-006653,#006653)!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips .md-chip-name::after{background:var(--md-006653,#006653)!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips :is(.md-chip.unread .md-chip-name,.md-chip-name.channel-unread){color:#e53935!important}
 html.modern-demo.md-channels-top body #app#app#app #mdChannelChips :is(.md-chip.unread .md-chip-name,.md-chip-name.channel-unread)::after{background:#e53935!important}
}
/* Sesli oda paneli: "Diğer sesli odalar" listesi. */
.vrx-voice-room .vrx-other-rooms{display:flex;flex-direction:column;gap:6px}
.vrx-voice-room .vrx-other-room{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(0,0,0,.07);border-radius:12px;background:linear-gradient(#fff,#f7faf9)}
.vrx-voice-room .vrx-other-icon{flex:0 0 32px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--md-006653,#006653) 12%,#fff);color:var(--md-006653,#006653)}
.vrx-voice-room .vrx-other-icon svg{width:18px;height:18px;display:block}
.vrx-voice-room .vrx-other-name{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.vrx-voice-room .vrx-other-name b{font-size:14px;color:#1c2b33;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vrx-voice-room .vrx-other-name small{display:flex;align-items:center;gap:5px;font-size:11.5px;color:#5f6f78}
.vrx-voice-room .vrx-other-name small i{width:6px;height:6px;border-radius:50%;background:#e53935;display:inline-block}
html body .vrx-voice-room .vrx-other-room>button{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-height:0!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:15px!important;background:var(--md-006653,#006653)!important;color:#fff!important;font:600 12px/1 inherit!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important}
html body .vrx-voice-room .vrx-others-section .vrx-other-rooms{padding:8px 10px 10px!important;box-sizing:border-box}
/* Yayıncı karosu: avatarın hemen altında küçük nick ("Admin" etiketi yazı tipinde); uzun nick … ile kırpılır. */
html body .voice-room-panel.vr-demo .vrx-publisher-tile .vrx-person-info{display:block!important;width:100%!important;max-width:76px!important;margin:-2px 0 0!important;padding:0!important;text-align:center!important;order:1!important}
html body .voice-room-panel.vr-demo .vrx-publisher-tile .vrx-person-info .vrx-person-role{display:none!important}
html body .voice-room-panel.vr-demo .vrx-publisher-tile .vrx-person-name{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:calc(21 * var(--u))!important;line-height:1.2!important;font-weight:400!important;color:var(--vr-border)!important}
html body .voice-room-panel.vr-demo .vrx-publisher-tile .room-avatar{order:0!important}
html body .voice-room-panel.vr-demo .vrx-publisher-tile .vrx-person-actions{order:2!important}

/* Admin listeleri: × düğmesinin hemen solunda "Edit"; düzenlemede satır içi kutu. */
html body .applet-admin-dialog .admin-list-edit{flex:0 0 auto!important;height:26px!important;min-height:26px!important;margin:0 0 0 auto!important;padding:0 9px!important;border-radius:8px!important;font:600 11.5px/1 inherit!important;display:inline-flex!important;align-items:center!important}
html body .applet-admin-dialog .admin-list-edit+.admin-list-x{margin-left:6px!important}
html body .applet-admin-dialog .admin-list-row.editing .admin-list-input{flex:1 1 auto!important;min-width:0!important;height:28px!important;margin:0!important;padding:0 8px!important;border:1px solid var(--md-006653,#006653)!important;border-radius:8px!important;font-size:13px!important;box-sizing:border-box!important}

/* İletişim penceresi: ekran görüntüsü / resim ekleme. */
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach{display:flex;align-items:center;gap:8px;margin:2px 0 4px}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm label.contact-attach-btn{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;padding:7px 12px!important;margin:0!important;border:1px dashed color-mix(in srgb,var(--md-006653,#006653) 55%,#fff);border-radius:10px;background:color-mix(in srgb,var(--md-006653,#006653) 7%,#fff);color:var(--md-006653,#006653);font-size:12.5px!important;font-weight:600;cursor:pointer;width:auto!important}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm label.contact-attach-btn[hidden]{display:none!important}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach-btn span{font-size:15px}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach-preview{position:relative;display:inline-block;width:76px;height:76px;border-radius:10px;overflow:hidden;border:1px solid rgba(0,0,0,.1);box-shadow:0 2px 8px rgba(0,0,0,.08)}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach-preview[hidden]{display:none}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach-preview img{width:100%;height:100%;object-fit:cover;display:block}
html body dialog#socialDialog#socialDialog:has(#contactForm) #contactForm .contact-attach-preview button{position:absolute;top:3px;right:3px;width:22px!important;height:22px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:rgba(0,0,0,.6)!important;color:#fff!important;font:400 15px/22px Arial,Helvetica,sans-serif!important;text-align:center;cursor:pointer}

/* Admin › İletişim mesajları: küçük resim önizlemesi, tıklanınca büyük görüntüleyici. */
.applet-admin-dialog .admin-contact-thumb{display:block!important;width:110px!important;height:80px!important;margin:6px 0!important;padding:0!important;border:1px solid rgba(0,0,0,.1)!important;border-radius:10px!important;overflow:hidden!important;background:#f3f5f6!important;cursor:zoom-in!important}
.applet-admin-dialog .admin-contact-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.applet-admin-dialog .admin-contact-thumb span{display:grid;place-items:center;height:100%;font-size:11px;color:#6b7a82}
dialog.admin-image-viewer{max-width:min(94vw,1100px);max-height:92vh;padding:0;border:0;border-radius:14px;background:#111;overflow:hidden}
dialog.admin-image-viewer::backdrop{background:rgba(0,0,0,.75)}
dialog.admin-image-viewer img{display:block;max-width:min(94vw,1100px);max-height:92vh;object-fit:contain;cursor:zoom-out}
dialog.admin-image-viewer button{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font:400 20px/32px Arial,Helvetica,sans-serif;cursor:pointer}

/* iPhone Debug Mode butonu (admin açtıysa, girişten sonra aktif ekranda). */
.iphone-debug-fab{position:fixed;left:8px;bottom:calc(150px + env(safe-area-inset-bottom));z-index:2147483000;height:30px;padding:0 12px;border:0;border-radius:15px;background:rgba(20,20,20,.82);color:#fff;font:600 12px/30px -apple-system,system-ui,Arial,sans-serif;box-shadow:0 3px 10px rgba(0,0,0,.25);cursor:pointer}
.iphone-debug-fab[hidden]{display:none}
html body .applet-admin-dialog .admin-room-row .admin-list-edit{margin:0 0 0 auto!important}html body .applet-admin-dialog .admin-room-row .admin-list-edit+button{margin-left:6px!important}

/* Durum Yönetimi › Paylaşılan durumlar: her durum için Onayla / ✓ Onaylı ve Sil. */
.status-update-dialog .status-admin-entry{display:inline-flex;align-items:center;gap:4px;padding:3px;margin:2px 4px 2px 0;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#fff}
.status-update-dialog .status-admin-entry>button{margin:0!important}
.status-update-dialog .status-admin-approve{background:var(--md-006653,#006653)!important;color:#fff!important;border:0!important}
.status-update-dialog .status-admin-delete{background:#fdecea!important;color:#c62828!important;border:1px solid #f5c2bd!important}
.status-update-dialog .status-admin-approved{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:12px;background:#e8f5e9;color:#2e7d32;font-size:11.5px;font-weight:700;white-space:nowrap}

/* Olaylar penceresi (moderasyon logları). */
dialog.admin-events-dialog{width:min(760px,calc(100vw - 24px));max-height:min(86vh,820px);padding:0;border:0;border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.28);background:#fff;color:#1c2b33;font-family:inherit}
dialog.admin-events-dialog[open]{display:flex;flex-direction:column}
dialog.admin-events-dialog::backdrop{background:rgba(0,0,0,.45)}
.admin-events-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:linear-gradient(135deg,var(--md-006653,#006653),color-mix(in srgb,var(--md-006653,#006653) 72%,#000));color:#fff}
.admin-events-dialog>header h3{margin:0;font-size:15px;color:#fff}
.admin-events-dialog>header>div{display:flex;align-items:center;gap:8px}
.admin-events-dialog .events-clear,.admin-events-dialog .events-back{height:28px;padding:0 12px;border:1px solid rgba(255,255,255,.45);border-radius:14px;background:rgba(255,255,255,.14);color:#fff;font:600 12px/1 inherit;cursor:pointer}
.admin-events-dialog .events-close{width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font:400 18px/28px Arial,Helvetica,sans-serif;cursor:pointer;padding:0}
.admin-events-dialog .events-body{flex:1 1 auto;overflow:auto;padding:8px 10px;min-height:120px}
.admin-events-dialog .events-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.admin-events-dialog .events-row{display:grid;grid-template-columns:92px 112px minmax(0,1fr) minmax(0,160px);align-items:center;gap:8px;padding:6px 8px;border-radius:9px;background:#f7f9f9;font-size:11.5px;line-height:1.3}
.admin-events-dialog .events-row:nth-child(even){background:#fff;border:1px solid rgba(0,0,0,.04)}
.admin-events-dialog time{display:flex;flex-direction:column;color:#6b7a82;font-size:10.5px}
.admin-events-dialog time b{color:#33424a;font-size:11.5px;font-weight:600}
.admin-events-dialog .events-badge{justify-self:start;padding:3px 8px;border-radius:10px;font-size:10.5px;font-weight:700;white-space:nowrap}
.admin-events-dialog .events-ok{background:#e8f5e9;color:#2e7d32}.admin-events-dialog .events-del{background:#fdecea;color:#c62828}.admin-events-dialog .events-warn{background:#fff3e0;color:#b45309}.admin-events-dialog .events-info{background:#e3f2fd;color:#1565c0}.admin-events-dialog .events-room{background:#f3e5f5;color:#7b1fa2}
.admin-events-dialog .events-main{display:flex;align-items:center;gap:6px;min-width:0}
.admin-events-dialog .events-kind{font-weight:700;color:#33424a;white-space:nowrap}
.admin-events-dialog .events-target{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4a5a62}
.admin-events-dialog .events-by{display:flex;flex-direction:column;min-width:0;text-align:right}
.admin-events-dialog .events-by b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1c2b33}
.admin-events-dialog .events-by small{font-size:10px;color:#86949b}
.admin-events-dialog .events-empty{margin:24px 0;text-align:center;color:#6b7a82;font-size:13px}
.admin-events-dialog .events-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid rgba(0,0,0,.07);background:#fafbfb;font-size:12px;color:#55636b}
.admin-events-dialog .events-pager button{height:28px;padding:0 12px;border:1px solid rgba(0,0,0,.12);border-radius:14px;background:#fff;color:var(--md-006653,#006653);font:600 12px/1 inherit;cursor:pointer}
.admin-events-dialog .events-pager button:disabled{opacity:.4;cursor:default}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 dialog.admin-events-dialog{width:calc(100vw - 16px);max-height:88vh;border-radius:14px}
 .admin-events-dialog .events-row{grid-template-columns:auto 1fr;grid-template-areas:"time badge" "main by";gap:3px 8px;padding:6px 8px}
 .admin-events-dialog .events-row time{grid-area:time;flex-direction:row;gap:5px;align-items:baseline}
 .admin-events-dialog .events-badge{grid-area:badge;justify-self:end}
 .admin-events-dialog .events-main{grid-area:main}
 .admin-events-dialog .events-by{grid-area:by;flex-direction:row;gap:4px;align-items:baseline;justify-content:flex-end}
}
html body dialog.admin-events-dialog .events-clear,html body dialog.admin-events-dialog .events-back{font:600 12px/1 inherit!important;height:28px!important;min-height:0!important;padding:0 12px!important}html body dialog.admin-events-dialog .events-close{min-height:0!important}html body dialog.admin-events-dialog .events-pager button{min-height:0!important;font-size:12px!important}
html body dialog.admin-events-dialog .events-search{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:10px 10px 2px!important;padding:0 12px!important;height:36px!important;border:1px solid rgba(0,0,0,.12)!important;border-radius:18px!important;background:#f7f9f9!important;font-size:13px!important}
html body dialog.admin-events-dialog .events-search input{flex:1 1 auto!important;min-width:0!important;height:34px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font:13px/1.2 inherit!important;color:#1c2b33!important}
html body dialog.admin-events-dialog .events-search:focus-within{border-color:var(--md-006653,#006653)!important;background:#fff!important}
/* Log pencereleri: araç satırı (arama, tür, loglamayı başlat), IP etiketi, medya gönderim satırları. */
html body dialog.admin-events-dialog .events-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 10px 2px}
html body dialog.admin-events-dialog .events-tools .events-search{flex:1 1 200px!important;margin:0!important}
html body dialog.admin-events-dialog .events-tools select{flex:0 0 auto!important;height:36px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid rgba(0,0,0,.12)!important;border-radius:18px!important;background:#fff!important;font:600 12px/1 inherit!important;color:#33424a!important;width:auto!important}
html body dialog.admin-events-dialog .events-enable{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;height:36px;padding:0 12px!important;margin:0!important;border-radius:18px;background:color-mix(in srgb,var(--md-006653,#006653) 9%,#fff);color:var(--md-006653,#006653);font:700 12px/1 inherit!important;white-space:nowrap;cursor:pointer}
html body dialog.admin-events-dialog .events-enable input{width:16px!important;height:16px!important;margin:0!important;accent-color:var(--md-006653,#006653)}
.admin-events-dialog .events-ip{display:inline-block;padding:1px 6px;border-radius:6px;background:#eef2f4;color:#3c4b53;font:500 10.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}
.admin-events-dialog .events-arrow{color:#86949b;font-weight:700}
.admin-events-dialog .events-send{background:#e0f7fa;color:#00796b}
.admin-events-dialog .events-note{margin:4px 0 8px;padding:8px 10px;border-radius:10px;background:#fff7e6;color:#7a5200;font-size:12px;text-align:center}
.admin-events-dialog .events-conn .events-by small{font-size:11px;color:#55636b;white-space:normal}
.applet-admin-dialog .admin-log-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.applet-admin-dialog .admin-log-buttons button{margin:0!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html body dialog.admin-events-dialog .events-tools .events-search{flex-basis:100%!important}}
html body dialog.admin-events-dialog .events-tools select{min-width:0!important;max-width:48%!important}
/* Olaylar satırı: solda "Nick → işlem/tür → hedef", ortada küçük tarih-saat, en sağda küçük IP. */
.admin-events-dialog .events-row.events-line,.admin-events-dialog .events-row.events-group{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(90px,auto)!important;grid-template-areas:none!important;align-items:center;gap:10px}
.admin-events-dialog .events-line .events-main{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0}
.admin-events-dialog .events-nick{color:#1c2b33;font-size:12px}
.admin-events-dialog .events-role{color:#86949b;font-size:10px}
.admin-events-dialog .events-when{display:block!important;font-size:10.5px;color:#6b7a82;white-space:nowrap}
.admin-events-dialog .events-ipcol{display:flex;flex-direction:column;align-items:flex-end;text-align:right;min-width:0}
.admin-events-dialog .events-ipcol>span{font:500 10.5px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#3c4b53;white-space:nowrap}
.admin-events-dialog .events-ipcol>small{font-size:9.5px;color:#86949b;white-space:nowrap}
.admin-events-dialog .events-group{grid-template-columns:minmax(0,1fr) minmax(110px,auto)!important}
.admin-events-dialog .events-entries{display:flex;flex-direction:column;gap:4px;min-width:0}
.admin-events-dialog .events-entry{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.admin-events-dialog .events-entry time{font-size:10.5px;color:#6b7a82}
.admin-events-dialog .events-entry small{font-size:10px;color:#86949b}
.admin-events-dialog .events-more{font-size:10px;color:#86949b}
html body dialog.admin-events-dialog .events-tools input[type=date]{flex:0 0 auto!important;height:36px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid rgba(0,0,0,.12)!important;border-radius:18px!important;background:#fff!important;font:600 12px/1 inherit!important;color:#33424a!important;width:auto!important;max-width:48%!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){
 .admin-events-dialog .events-row.events-line{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"main ip" "when ip"!important;row-gap:2px}
 .admin-events-dialog .events-line .events-main{grid-area:main}.admin-events-dialog .events-line .events-when{grid-area:when}.admin-events-dialog .events-line .events-ipcol{grid-area:ip}
 .admin-events-dialog .events-group{grid-template-columns:minmax(0,1fr) auto!important}
}
html body dialog.admin-events-dialog .events-timebox{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;height:36px;padding:0 12px!important;margin:0!important;border:1px solid rgba(0,0,0,.12);border-radius:18px;background:#fff;color:#33424a;font:600 12px/1 inherit!important;white-space:nowrap;cursor:pointer}
html body dialog.admin-events-dialog .events-timebox input{width:15px!important;height:15px!important;margin:0!important;accent-color:var(--md-006653,#006653)}
html body dialog.admin-events-dialog .events-tools input[type=time]{flex:0 0 auto!important;height:36px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid var(--md-006653,#006653)!important;border-radius:18px!important;background:#fff!important;font:600 12px/1 inherit!important;width:auto!important}
html body dialog.admin-events-dialog .events-tools input[type=time][hidden]{display:none!important}
.admin-events-dialog .events-where{padding:2px 7px;border-radius:9px;font-size:9.5px;font-weight:700;letter-spacing:.2px;white-space:nowrap}
.admin-events-dialog .events-where-ch{background:#e8eaf6;color:#3949ab}
.admin-events-dialog .events-where-pm{background:#fce4ec;color:#ad1457}
html body dialog.admin-events-dialog .events-tools input.events-time{flex:0 0 74px!important;width:74px!important;height:36px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid var(--md-006653,#006653)!important;border-radius:18px!important;background:#fff!important;font:600 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;text-align:center!important;letter-spacing:.5px}
html body dialog.admin-events-dialog .events-tools input.events-time[hidden]{display:none!important}
html body dialog.admin-events-dialog .events-tools input.events-time.invalid{border-color:#e53935!important;background:#fff5f5!important}
.admin-events-dialog .events-duration{padding:2px 7px;border-radius:9px;background:#fff8e1;color:#8d6e00;font-size:10px;font-weight:700;white-space:nowrap}
.admin-events-dialog .events-gpager{display:inline-flex;align-items:center;gap:6px;margin-top:2px}
.admin-events-dialog .events-gpager button{width:24px;height:22px;padding:0;border:1px solid rgba(0,0,0,.12);border-radius:7px;background:#fff;color:var(--md-006653,#006653);font:700 13px/1 inherit;cursor:pointer}
.admin-events-dialog .events-gpager button:disabled{opacity:.35;cursor:default}
.admin-events-dialog .events-gpager small{font-size:10px;color:#6b7a82}
html body dialog.admin-events-dialog .events-daynav{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}
html body dialog.admin-events-dialog .events-daynav input[type=date]{max-width:none!important}
html body dialog.admin-events-dialog .events-daynav button{width:30px;height:36px;padding:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:#fff;color:var(--md-006653,#006653);font:700 16px/1 inherit;cursor:pointer}
html body dialog.admin-events-dialog .events-daynav button:disabled{opacity:.35;cursor:default}

/* App Ban: profil ve whois kartında IP + App Ban düğmesi. */
.appban-slot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0 0;padding:8px 10px;border:1px dashed rgba(198,40,40,.35);border-radius:10px;background:rgba(253,236,234,.55);box-sizing:border-box;max-width:100%}
.appban-slot .appban-ip{font-size:12px;color:#5f6f78;min-width:0;overflow-wrap:anywhere}
.appban-slot .appban-ip code{font:600 12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#33424a;background:#fff;padding:1px 6px;border-radius:6px}
html body .appban-slot .appban-btn{flex:0 0 auto!important;height:30px!important;min-height:0!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:15px!important;background:#c62828!important;color:#fff!important;font:700 12px/1 inherit!important;cursor:pointer;box-shadow:none!important;width:auto!important}
html body .appban-slot .appban-btn.active{background:#fff!important;color:#c62828!important;border:1px solid #c62828!important}
/* Ban penceresi sekmeleri ve Applet Ban listesi (yatay kaydırma yok). */
.ban-window .ban-tabs{display:flex;gap:6px;padding:6px 8px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.ban-window .ban-tabs[hidden]{display:none}
.ban-window .ban-tabs button{flex:1 1 0;height:30px;border:0;border-bottom:3px solid transparent;background:transparent;color:#55636b;font:600 12.5px/1 inherit;cursor:pointer}
.ban-window .ban-tabs button[aria-selected="true"]{color:var(--op-accent,#006653);border-bottom-color:var(--op-accent,#006653)}
.ban-window .ban-head[hidden]{display:none!important}
.ban-window .ban-list{overflow-x:hidden}
.ban-window .appban-h{display:flex;align-items:center;gap:6px;margin:10px 4px 4px;font-size:12.5px;color:#33424a}
.ban-window .appban-h small{padding:1px 7px;border-radius:9px;background:#eef2f4;font-size:10.5px;color:#55636b}
.ban-window .appban-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main btn" "meta btn";align-items:center;gap:2px 8px;padding:7px 8px;margin:0 0 4px;border-radius:8px;background:rgba(0,0,0,.025);min-width:0}
.ban-window .appban-main{grid-area:main;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.ban-window .appban-main b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.ban-window .appban-main code{font:500 11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#eef2f4;padding:1px 6px;border-radius:6px;overflow-wrap:anywhere}
.ban-window .appban-meta{grid-area:meta;font-size:10.5px;color:#86949b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ban-window .appban-row .ban-remove{grid-area:btn}
.vrx-voice-room .vrx-ban-ip{font:500 10.5px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#86949b;margin-left:4px}
/* Özel Nickler: stil satır içi gelir; burada yalnız taşmayı engelleriz (yatay kaydırma olmasın). */
.member-nick.nick-styled{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;min-width:0;padding-right:1px}
#messages .message-name.nick-styled{display:inline-block;max-width:min(240px,62vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;padding-right:1px}
.member-nick.nick-styled[data-nick-effect=rainbow],.member-nick.nick-styled[data-nick-effect=gold],.member-nick.nick-styled[data-nick-effect=fire],#messages .message-name.nick-styled:is([data-nick-effect=rainbow],[data-nick-effect=gold],[data-nick-effect=fire]){-webkit-box-decoration-break:clone;box-decoration-break:clone}
.admin-nickstyles .admin-nickstyle-form{display:flex;flex-direction:column;gap:8px;padding:10px;margin:6px 0 10px;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:rgba(0,0,0,.02);min-width:0;box-sizing:border-box;max-width:100%}
.admin-nickstyles .admin-nickstyle-form>label,.admin-nickstyles .admin-nickstyle-grid label{display:flex;flex-direction:column;gap:3px;font-size:12px;min-width:0}
.admin-nickstyles .admin-nickstyle-form input[name=nick],.admin-nickstyles .admin-nickstyle-grid select{width:100%;box-sizing:border-box;min-width:0}
.admin-nickstyles .admin-nickstyle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
@media (max-width:420px){.admin-nickstyles .admin-nickstyle-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-nickstyles .admin-nickstyle-grid label:last-child{grid-column:1/-1}}
.admin-nickstyles .admin-nickstyle-checks{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px}
.admin-nickstyles .admin-nickstyle-checks label{display:inline-flex;align-items:center;gap:5px}
.admin-nickstyles .admin-nickstyle-live{display:flex;align-items:center;gap:10px;min-height:34px;padding:6px 10px;border-radius:8px;background:#fff;border:1px dashed rgba(0,0,0,.12);overflow:hidden}
.admin-nickstyles .admin-nickstyle-live small{color:#86949b;font-size:10.5px;flex:0 0 auto}
.admin-nickstyles .admin-nickstyle-preview{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;padding-right:1px}
.admin-nickstyles .admin-nickstyle-actions{display:flex;justify-content:flex-end;gap:6px}
.admin-nickstyles .admin-nickstyle-row .admin-list-name{display:flex;flex-direction:column;gap:1px;min-width:0;overflow:hidden}
.admin-nickstyles .admin-nickstyle-row .admin-list-name small{font-size:10.5px;color:#86949b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Sunucu cezası uyarısı (KILL / G-line / Z-line): tüm temalarda ortada, kaydırmasız. */
dialog.server-ban-dialog{width:min(340px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box;padding:22px 18px 16px;border:0;border-radius:16px;background:#fff;color:#2b2f33;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.35);font-family:Arial,sans-serif;overflow:hidden}
dialog.server-ban-dialog::backdrop{background:rgba(20,0,0,.55)}
dialog.server-ban-dialog .server-ban-icon{font-size:40px;line-height:1;margin-bottom:6px}
dialog.server-ban-dialog h3{margin:0 0 6px;font-size:18px;color:#c62828}
dialog.server-ban-dialog p{margin:0 0 12px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
dialog.server-ban-dialog small{display:block;margin-top:8px;font-size:11.5px;color:#7b868c}
dialog.server-ban-dialog .server-ban-bar{height:5px;border-radius:3px;background:#f3d6d6;overflow:hidden}
dialog.server-ban-dialog .server-ban-bar i{display:block;height:100%;width:100%;background:#c62828;transform-origin:left;animation:server-ban-count 5s linear forwards}
@keyframes server-ban-count{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){dialog.server-ban-dialog .server-ban-bar i{animation:none}}
/* Özel nick: askeri rütbe yıldızları (büyükten küçüğe), ikon avatarı, Özel Üye rozeti. Taşma yok. */
.nick-rank-stars{display:inline-flex;align-items:center;gap:1px;flex:0 0 auto;margin-left:4px;vertical-align:middle;font-size:12px;line-height:1;white-space:nowrap}
.nick-rank-stars svg{display:block;flex:0 0 auto;filter:drop-shadow(0 1px .6px rgba(0,0,0,.45))}
.nick-styled-wrap{display:inline-flex;align-items:center;min-width:0;max-width:calc(100% - 1.3em);vertical-align:middle}
.nick-styled-wrap>.member-nick{flex:0 1 auto;min-width:0}
.member-row .nick-rank-stars{font-size:12px}
#messages .message-name+.nick-rank-stars{font-size:12px;margin:0 4px 0 3px;vertical-align:bottom;position:relative;top:-2px}
:is(#modernIdentity,#referencePrivateHeader) .nick-rank-stars{font-size:13px}
.md-channel .nick-rank-stars,.reference-private-row .nick-rank-stars{font-size:11px}
.roster-profile-avatar.nick-icon-avatar{background:transparent!important;border-color:transparent!important;box-shadow:none!important;overflow:visible!important}
.roster-profile-avatar.nick-icon-avatar img.nick-icon-img,.message-avatar img.nick-icon-img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0!important;background:transparent!important}
.message.nick-icon-message .message-avatar{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.nick-special-title{display:flex!important;align-items:center;justify-content:center;gap:6px;max-width:100%;min-width:0;margin-left:auto;margin-right:auto}
.nick-special-title>.nick-styled{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:1px}
.nick-special-title .nick-title-icon{flex:0 0 auto;width:22px;height:22px;object-fit:contain}
.whois-title .nick-special-title{justify-content:flex-start}
.nick-special-badge-row{display:flex;justify-content:center;margin:3px 0 5px;max-width:100%}
.whois-title .nick-special-badge-row{justify-content:flex-start}
.nick-special-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;box-sizing:border-box;padding:3px 11px 3px 8px;border-radius:999px;background:linear-gradient(180deg,#30343f,#11141b);border:1px solid #b8860b;color:#f7d774;font:700 11.5px/1.25 Arial,sans-serif;letter-spacing:.03em;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 3px rgba(0,0,0,.3)}
.nick-special-badge .nick-rank-stars{font-size:14px;margin:0}
.nick-special-badge .nsb-text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Admin › Özel Nickler: ikon seçici */
.admin-nickstyles .admin-nickstyle-grid2{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.admin-nickstyles .admin-nickstyle-help{display:block;font-size:11px;color:#7b868c;line-height:1.35}
.admin-nickstyles .admin-nickicons{border:1px solid rgba(0,0,0,.08);border-radius:10px;padding:8px;margin:0;min-width:0}
.admin-nickstyles .admin-nickicons legend{font-size:12px;padding:0 4px}
.admin-nickstyles .admin-nickicon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:6px}
.admin-nickstyles .admin-nickicon{position:relative;display:block;cursor:pointer}
.admin-nickstyles .admin-nickicon input{position:absolute;opacity:0;pointer-events:none}
.admin-nickstyles .admin-nickicon>span{display:flex;align-items:center;justify-content:center;height:46px;border-radius:9px;border:2px solid transparent;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.admin-nickstyles .admin-nickicon>span em{font-style:normal;font-size:11px;color:#86949b}
.admin-nickstyles .admin-nickicon input:checked+span{border-color:#1684df;background:#eaf4fe}
.admin-nickstyles .admin-nickicon input:focus-visible+span{outline:2px solid #1684df;outline-offset:1px}
html body .admin-nickstyles .admin-nickicon-x{position:absolute;top:-5px;right:-5px;width:18px!important;height:18px!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:50%!important;border:0!important;background:#c62828!important;color:#fff!important;font:700 12px/18px Arial!important;text-align:center;cursor:pointer}
.admin-nickstyles .admin-nickicon-upload{display:flex;flex-direction:column;gap:3px;margin-top:8px;font-size:11.5px;min-width:0}
.admin-nickstyles .admin-nickicon-upload input{max-width:100%;font-size:12px}
.admin-nickstyles .admin-nickstyle-sample{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow:hidden}
.admin-nickstyles .admin-nickstyle-sample img{flex:0 0 auto;width:24px;height:24px;object-fit:contain}
.admin-nickstyles .admin-nickstyle-sample .nick-rank-stars{font-size:13px;margin:0}
.admin-nickstyles .admin-nickstyle-badge{flex:0 1 auto;min-width:0;padding:1px 8px;border-radius:999px;background:#1d2129;color:#f7d774;border:1px solid #b8860b;font:700 10.5px/1.4 Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#messages .message-name+.nick-rank-stars{margin-right:auto}
.message.nick-icon-message .message-avatar{overflow:visible!important;border-radius:0!important}
.message.nick-icon-message .message-avatar img.nick-icon-img{padding:1px;box-sizing:border-box}
.social-avatar.nick-icon-social{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.social-avatar.nick-icon-social>img{object-fit:contain!important;border-radius:0!important;background:transparent!important}
.reference-private-top>b.nick-styled,.md-channel b.nick-styled{flex:0 1 auto;min-width:3em;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.reference-private-top .nick-rank-stars{flex:0 0 auto;margin-left:3px}
/* Özel nick önizlemesi: form kaydırılırken üstte sabit kalır, düzenleme canlı görülür. */
.admin-nickstyles .admin-nickstyle-live{position:sticky;top:0;z-index:5;min-height:46px;box-shadow:0 4px 12px rgba(0,0,0,.12);border-style:solid;border-color:rgba(22,132,223,.35)}
.admin-nickstyles .admin-nickstyle-sample{flex-wrap:wrap;row-gap:3px;overflow:visible}
.admin-nickstyles .admin-nickstyle-sample .admin-nickstyle-preview{flex:0 0 auto;max-width:100%}
.admin-nickstyles .admin-nickstyle-sample .admin-nickstyle-badge{flex:0 1 auto;max-width:100%}
.admin-nickstyles .admin-nickstyle-live{flex-wrap:wrap}
@media (max-width:480px){.admin-nickstyles .admin-nickstyle-live>small{display:none}}
.admin-nickstyles .admin-nickstyle-row .admin-list-name{overflow:visible}
/* Nick listesi: yıldızlar üst satırda, altta nick (dar temalarda nick ezilmesin, yatay kaydırma olmasın). */
.nick-styled-wrap.stacked{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;line-height:1;max-width:calc(100% - 1.3em);min-width:0;vertical-align:middle}
.nick-styled-wrap.stacked>.nick-rank-stars{font-size:9px;margin:0;line-height:1}
.nick-styled-wrap.stacked>.member-nick{max-width:100%;min-width:0;line-height:1.15!important}
html body .member-row .nick-styled-wrap.stacked>.member-nick{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
/* Profil kartı ve özel başlık: tam rozet (yıldız + yazı) */
.user-card-info .nick-special-badge-row,#modernIdentity .nick-special-badge-row,.md-profile-name .nick-special-badge-row{display:flex;justify-content:center;margin:2px 0 3px;max-width:100%;min-width:0}
#modernIdentity .nick-special-badge-row,.md-profile-name .nick-special-badge-row{justify-content:flex-start;margin:1px 0}
#modernIdentity .nick-special-badge{font-size:10.5px;padding:1px 8px 1px 6px;gap:5px}
#modernIdentity .nick-special-badge .nick-rank-stars{font-size:11px}
#profileDisplayName+.nick-special-badge-row{display:flex;margin:2px 0}
.admin-nickstyles .admin-nickstyle-grid2>label:nth-child(3){grid-column:1/-1}
.admin-nickstyles .admin-star-colors{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
html body .admin-nickstyles .admin-star-swatch{width:26px!important;height:26px!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:50%!important;border:2px solid rgba(0,0,0,.18)!important;background:radial-gradient(circle at 35% 30%,#fff 0,var(--sw) 45%,var(--sw) 100%)!important;cursor:pointer;box-shadow:none!important}
html body .admin-nickstyles .admin-star-swatch.on{border-color:#1684df!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #1684df!important}
.admin-nickstyles .admin-star-colors input[type=color]{width:34px;height:28px;padding:0;border:1px solid #d3dadd;border-radius:6px;background:#fff}
/* Özel nicklerde kanal işareti (% @ &) gizli: nick işaretin yerinden başlar, daha uzun görünür. */
.member-row .nick-styled-wrap{max-width:100%}
/* Zil, radyo ile profil arasında yer yoksa (dar pencere) logonun üstüne kaymasın: gizlenir */
html.pc-reference body #app#app#app#app .titlebar>.pc-top-bell.pc-top-bell[data-misplaced]{display:none!important}
@media(max-width:760px),(hover:none) and (pointer:coarse) and (max-width:1400px){html body #app#app#app#app .titlebar>.pc-top-bell.pc-top-bell{display:none!important}}

/* System Logs başlığı (mobil): "font:600 12px/1 inherit" geçersiz bir yazımdı (inherit kısa yazımda kullanılamaz),
   tarayıcı kuralı tümden yok sayıyordu. Butonlar büyük yazıyla taşıyor, "‹ Geri" ve "Logları temizle" iki satıra kayıyordu. */
html body dialog.admin-events-dialog>header{flex-wrap:nowrap}
html body dialog.admin-events-dialog .events-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}
html body dialog.admin-events-dialog>header h3{min-width:0;line-height:1.15;overflow-wrap:anywhere}
html body dialog.admin-events-dialog>header>div:last-child{flex:0 0 auto}
html body dialog.admin-events-dialog .events-clear,html body dialog.admin-events-dialog .events-back{font-family:inherit!important;font-weight:600!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto}
html body dialog.admin-events-dialog .events-close{flex:0 0 28px}
/* v85 · Aktif Sesli Odalar penceresi: kapat (×) her görünümde beyaz, tema renkli başlığın üstünde görünür
   (PC'de genel kapat kuralı yazıyı 0 boyuta indirip ::after'ı kapatıyordu). */
html body dialog#socialDialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;padding:0!important;font-size:0!important;line-height:0!important;color:#fff!important;background:rgba(255,255,255,.2)!important;border:1px solid rgba(255,255,255,.35)!important}
html body dialog#socialDialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]>*{display:none!important}
html body dialog#socialDialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]::after{content:'×'!important;display:block!important;font:400 24px/1 Arial,Helvetica,sans-serif!important;color:#fff!important;-webkit-text-fill-color:#fff!important;transform:translateY(-1px)}
html body dialog#socialDialog#socialDialog#socialDialog.voice-room-list-dialog>header [data-social-close]:hover{background:rgba(255,255,255,.32)!important}
/* Admin › Özel Nickler: görünüm seçimi (PC / WhatsApp mobil / Classic) */
.admin-nickstyles .admin-nickstyle-view{display:flex;flex-direction:column;gap:4px;margin:8px 0 6px}
.admin-nickstyles .admin-nickstyle-view>span{display:flex;flex-direction:column;gap:2px;font-weight:600}
.admin-nickstyles .admin-nickstyle-view>span small{font-weight:400;font-size:11px;color:#7b868c;line-height:1.35}
.admin-nickstyles .admin-nickstyle-viewreset{margin:0 0 6px;font-size:12px}
/* v132 · Admin › iPhone Giriş Raporu penceresi */
dialog.admin-perf-dialog{width:min(900px,calc(100vw - 16px))}
.admin-perf-dialog .perf-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:8px 12px;border-bottom:1px solid #e6ecee;font-size:12.5px}
.admin-perf-dialog .perf-tools label{display:inline-flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap}
.admin-perf-dialog .perf-tools small{flex:1 1 260px;color:#5b6b73;font-size:11px;line-height:1.35}
.admin-perf-dialog .perf-none{margin:18px 8px;color:#5b6b73;font-size:13px;text-align:center}
.admin-perf-dialog .perf-card{margin:0 0 8px;border:1px solid #dfe7ea;border-radius:10px;background:#fff;overflow:hidden}
.admin-perf-dialog .perf-card.is-stuck{border-color:#e2a4a0}
.admin-perf-dialog .perf-card>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:8px 10px;background:#f4f8f8;cursor:pointer;font-size:12px}
.admin-perf-dialog .perf-card>summary b{font-size:13px}
.admin-perf-dialog .perf-card>summary i{font-style:normal;padding:1px 7px;border-radius:9px;background:#e8eef1;color:#52636b;font-size:10.5px}
.admin-perf-dialog .perf-load{margin-left:auto;font-weight:700;color:#0b6b52}
.admin-perf-dialog .perf-card.is-stuck .perf-load{color:#c5221f}
.admin-perf-dialog .perf-facts{display:flex;flex-wrap:wrap;gap:4px 6px;padding:8px 10px 2px}
.admin-perf-dialog .perf-facts span{padding:3px 8px;border-radius:8px;background:#f1f5f6;font-size:11px;color:#52636b}
.admin-perf-dialog .perf-facts b{color:#1c2b33}
.admin-perf-dialog .perf-marks{margin:6px 10px;font-size:11.5px;line-height:1.5;color:#52636b}
.admin-perf-dialog .perf-marks b{color:#1c2b33}
.admin-perf-dialog h4{margin:10px 10px 4px;font-size:12px;color:#1c2b33}
.admin-perf-dialog h4.perf-bad{color:#c5221f}
.admin-perf-dialog .perf-pending{margin:0 10px 6px 28px;padding:0;font:11.5px/1.5 ui-monospace,Menlo,Consolas,monospace;color:#c5221f;overflow-wrap:anywhere}
.admin-perf-dialog .perf-table{width:calc(100% - 20px);margin:0 10px 8px;border-collapse:collapse;table-layout:fixed;font-size:11px}
.admin-perf-dialog .perf-table th{padding:4px 6px;text-align:right;font-weight:600;color:#5b6b73;border-bottom:1px solid #e6ecee;white-space:nowrap}
.admin-perf-dialog .perf-table th:first-child,.admin-perf-dialog .perf-table td:first-child{width:42%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Menlo,Consolas,monospace}
.admin-perf-dialog .perf-table td{padding:3px 6px;text-align:right;border-bottom:1px solid #f1f4f5;white-space:nowrap}
.admin-login-perf-row button{flex:none;padding:6px 12px;border:1px solid var(--md-c8dfd4,#bdd5ea);border-radius:9px;background:var(--md-e5f3ed,#e0effb);color:inherit;font:600 12px/1.2 inherit;cursor:pointer}
@media(max-width:760px){.admin-perf-dialog .perf-table th:nth-child(4),.admin-perf-dialog .perf-table td:nth-child(4),.admin-perf-dialog .perf-table th:nth-child(7),.admin-perf-dialog .perf-table td:nth-child(7){display:none}.admin-perf-dialog .perf-table th:first-child,.admin-perf-dialog .perf-table td:first-child{width:46%}}
/* v136 · Admin › Proxy/VPN */
.applet-admin-dialog .admin-proxy{display:flex;flex-direction:column;gap:8px}
.applet-admin-dialog .admin-proxy form{display:flex;flex-direction:column;gap:8px}
.applet-admin-dialog .admin-proxy input[name=key],.applet-admin-dialog .admin-proxy input[name=ip]{font-family:ui-monospace,Menlo,Consolas,monospace}
.applet-admin-dialog .admin-proxy-test{flex-direction:row!important;align-items:flex-end;gap:8px}
.applet-admin-dialog .admin-proxy-test label{flex:1;min-width:0}
.applet-admin-dialog .admin-proxy-note{margin:0;font-size:12px;line-height:1.5;opacity:.9}
.applet-admin-dialog .admin-proxy-error{color:#c5221f}
.applet-admin-dialog .admin-proxy-result{padding:8px 10px;border:1px solid rgba(0,0,0,.1);border-radius:10px;font-size:12px}
.applet-admin-dialog .admin-proxy-result p{margin:0 0 6px}
.applet-admin-dialog .admin-proxy-result pre{max-height:260px;overflow:auto;margin:6px 0 0;padding:8px;border-radius:8px;background:rgba(0,0,0,.05);font:11px/1.45 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
/* v138 · Proxy/VPN 2. adım: yetkililere rozetli mesaj, ISP listesi, whois düğmeleri */
#messages .system-message.guard-message{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;text-align:left;font-size:11.5px;line-height:1.4;padding:5px 9px;border:1px solid rgba(197,34,31,.28);border-radius:10px;background:rgba(197,34,31,.06);color:#33424a}
#messages .guard-message .guard-badge{flex:none;appearance:none;border:0;cursor:pointer;padding:1px 7px;border-radius:9px;background:#c5221f;color:#fff;font:700 10px/1.6 Arial,Helvetica,sans-serif;letter-spacing:.02em;white-space:nowrap}
#messages .guard-message .guard-text{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
#messages .guard-message .guard-info{flex:none;max-width:100%;font-size:10.5px;color:#6b7a82;overflow-wrap:anywhere}
#messages .guard-message .guard-open{flex:none;margin-left:auto;padding:3px 10px;border:1px solid #c5221f;border-radius:9px;background:#fff;color:#c5221f;font:700 10.5px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
#messages .guard-message .guard-open:disabled{border-color:#9aa7ad;color:#6b7a82;cursor:default}
.whois-card .whois-geo-actions{display:flex;justify-content:flex-end;margin-top:6px}
.ban-window .vpn-ban-section{margin-top:8px}
.ban-window .vpn-ban-state{text-align:left;margin:2px 0 6px}
.applet-admin-dialog .admin-proxy-isps h4{margin:6px 0 2px;font-size:13px}
.applet-admin-dialog .admin-proxy-isp{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid rgba(0,0,0,.08);font-size:12.5px}
.applet-admin-dialog .admin-proxy-isp span{display:flex;flex-direction:column;min-width:0}
.applet-admin-dialog .admin-proxy-isp small{font-size:11px;opacity:.75}
#channelOperatorPanel [data-vpn-close-row][hidden]{display:none}
.whois-card .whois-geo-actions [data-isp-ban]{padding:5px 14px;border:0;border-radius:14px;background:#c5221f;color:#fff;font:700 12px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.whois-card .whois-geo-actions [data-isp-ban]:disabled{background:#9aa7ad;cursor:default}
#channelOperatorPanel [data-vpn-close-row] select{flex:none;max-width:112px;padding:3px 4px;border:1px solid var(--md-c8dfd4,#bdd5ea);border-radius:7px;background:#fff;color:inherit;font:inherit;font-size:12px}
/* v144 · "Kendime not" sohbeti: arama ve titreşim kendine gönderilemediği için düğmeleri gizlenir */
html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app #audioCallButton,html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app #videoCallButton,html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app #nudgeButton,html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app #modernCallActions,html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app [data-reference-call],html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app [data-call-shortcut],html[data-self-chat="true"][data-self-chat="true"][data-self-chat="true"] body #app#app#app#app#app#app [data-md-call]{display:none!important}
