/* LV Web Sohbet v2 - (c) Levent Vatansever - seviyeli.com.tr */
:root {
  --r1: #f0696a; --r2: #5b8ac0; --r3: #ed945d; --r4: #9f76ca; --r5: #7fc09b;
  --bg: #f3f5f9; --panel: #ffffff; --panel2: #f7f8fb; --tx: #25293a; --mut: #7a8196; --ln: #e2e5ec;
  --ac: #2a8db4; --ac2: #1f7598; --acbg: #e4f2f8; --kirmizi: #e0433a; --yesil: #1f9d55; --sari: #e8a317;
  --ust: #1d2233; --ust2: #272d42; --ust-tx: #e9ecf3; --ust-mut: #9aa3b8;
  --kanal-bg: #eceef4; --sekme: #ffffff; --sekme-tx: #3b4157;
  --vurgu: #fff6d8; --golge: 0 10px 30px rgba(24, 32, 56, .14); --golge2: 0 1px 2px rgba(24, 32, 56, .08);
  --yazi: 14px;
}
body.gece {
  --bg: #171b27; --panel: #22273a; --panel2: #1c2131; --tx: #e0e4ee; --mut: #8b93aa; --ln: #30364c;
  --ac: #4bb3dc; --ac2: #7bcbea; --acbg: #1d3446; --kirmizi: #ff6b61; --yesil: #4cc584; --sari: #f2bf4a;
  --ust: #131725; --ust2: #1c2133; --kanal-bg: #1b2030; --sekme: #2a3046; --sekme-tx: #d7dbe7;
  --vurgu: #3b3522; --golge: 0 10px 30px rgba(0, 0, 0, .5); --golge2: 0 1px 2px rgba(0, 0, 0, .3);
}
* { box-sizing: border-box; }
html, body { height: 100%; overscroll-behavior-y: none; }
body { margin: 0; font: 14px/1.5 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--tx); -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ac); }
svg { width: 18px; height: 18px; flex: none; }
.gizli { display: none !important; }
.logo-koyu { display: none; }
body.gece .logo-acik { display: none; }
body.gece .logo-koyu { display: block; }
@media (min-width: 992px) { .mobil { display: none !important; } }
@media (max-width: 991px) { .masaustu { display: none !important; } }

/* ================= giris ================= */
.giris { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(42, 141, 180, .25), transparent 60%),
              radial-gradient(900px 500px at 110% 110%, rgba(42, 141, 180, .18), transparent 60%), var(--ust); }
.giris-kutu { width: 100%; max-width: 390px; background: var(--panel); border-radius: 18px; padding: 28px 26px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.giris-logo { max-width: 88%; height: auto; margin: 0 auto 10px; }
.giris-logo.logo-acik { display: block; }
body.gece .giris-logo.logo-acik { display: none; }
.giris-baslik { text-align: center; font-size: 22px; font-weight: 700; margin-top: 6px; }
.giris-alt-baslik { text-align: center; color: var(--mut); margin-bottom: 20px; }
.giris-alan { display: flex; align-items: center; border: 1px solid var(--ln); border-radius: 12px; background: var(--panel2); margin-bottom: 12px; overflow: hidden; }
.giris-alan:focus-within { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acbg); }
.giris-simge { width: 46px; display: flex; justify-content: center; color: var(--mut); }
.giris-alan input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 12px 13px 0; outline: 0; }
.giris-not { font-size: 12px; color: var(--mut); margin: -4px 0 14px 4px; }
#g-buton { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--ac), var(--ac2)); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(42, 141, 180, .35); }
#g-buton:hover { filter: brightness(1.06); }
#g-buton:disabled { opacity: .6; cursor: wait; }
.giris-durum { min-height: 20px; text-align: center; margin: 10px 0 0; color: var(--kirmizi); font-size: 13px; }
.giris-alt { text-align: center; font-size: 12px; color: var(--mut); margin: 6px 0 0; }

/* ================= iskelet ================= */
.sohbet { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.govde { flex: 1; display: flex; min-height: 0; background: var(--panel); }
.sohbet-alani { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kisiler { width: 230px; flex: none; display: flex; flex-direction: column; border-left: 1px solid var(--ln); background: var(--panel); min-height: 0; }
.kanallar { width: 230px; flex: none; background: var(--kanal-bg); border-left: 5px solid var(--ust); overflow-y: auto; padding: 14px 12px; }

/* ================= ust cubuk ================= */
.ust { background: var(--ust); color: var(--ust-tx); flex: none; }
.ust.masaustu { height: 54px; display: flex; align-items: center; gap: 16px; padding: 0 12px 0 18px; }
.ust-kanal { display: flex; align-items: center; gap: 10px; min-width: 0; }
.u-kanal { font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.u-sayi { background: var(--ac); color: #fff; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.ust-menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.merhaba { color: var(--ust-mut); margin-right: 6px; white-space: nowrap; }
.merhaba strong { color: #7fd0ee; }
.ust-menu button { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border: 0; border-radius: 8px; background: var(--ust2); color: var(--ust-tx); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .15s; }
.ust-menu button:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* renkli menu: duabahcesi.net renkleri */
[data-islem="kaydet"] { --renk: var(--r1); } [data-islem="oper"] { --renk: var(--r2); } [data-islem="nick"] { --renk: var(--r3); }
[data-islem="kanal"] { --renk: var(--r4); } [data-islem="ayarlar"] { --renk: var(--r5); } [data-islem="hakkimizda"] { --renk: var(--r2); }
.ust-menu button[data-islem] { background: var(--renk); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.ust-menu button svg { opacity: 1 !important; }
.ust-menu svg { width: 16px; height: 16px; opacity: .85; }
@media (max-width: 1280px) { .ust-menu button { padding: 0 10px; } .ust-menu button svg { display: none; } }

/* gece/gunduz anahtari */
.anahtar { position: relative; display: inline-block; width: 62px; height: 30px; flex: none; cursor: pointer; }
.anahtar input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.anahtar-yuva { position: absolute; inset: 0; border-radius: 30px; background: #3a415a; transition: background .2s; }
.anahtar-yuva::before { content: "☀"; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #f0a500; font-size: 14px; line-height: 24px; text-align: center; transition: transform .2s; }
.anahtar-yuva::after { content: "☾"; position: absolute; right: 9px; top: 4px; color: #cfd6e6; font-size: 14px; }
.anahtar input:checked + .anahtar-yuva { background: #4b5578; }
.anahtar input:checked + .anahtar-yuva::before { transform: translateX(32px); content: "☾"; color: #4b5578; }
.anahtar input:checked + .anahtar-yuva::after { content: "☀"; left: 10px; right: auto; }

/* ================= konu + mesajlar ================= */
.konu-cubugu { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px 6px 18px; border-bottom: 1px solid var(--ln); background: var(--panel2); flex: none; }
.konu { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.konu-sayi { display: none; align-items: center; gap: 5px; border: 1px solid var(--ln); background: var(--panel); border-radius: 8px; padding: 4px 9px; font-size: 13px; font-weight: 600; color: var(--mut); }
.konu-sayi svg { width: 16px; height: 16px; }
.mesajlar { flex: 1; overflow-y: auto; padding: 8px 10px 10px; overflow-wrap: anywhere; min-height: 0; font-size: var(--yazi); background: var(--panel); }
.satir { padding: 1px 6px; border-radius: 5px; }
.satir:hover { background: rgba(127, 127, 127, .07); }
.satir .zaman { color: var(--mut); font-size: .82em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.satir .nick { font-weight: 600; cursor: pointer; }
.satir .nick::before { content: "‹ "; opacity: .45; font-weight: 400; }
.satir .nick::after { content: " › "; opacity: .45; font-weight: 400; }
.satir .nick.yalin::before, .satir .nick.yalin::after { content: none; }
.satir.olay { color: var(--mut); font-size: .9em; }
.satir.bildirim { color: #b7791f; }
body.gece .satir.bildirim { color: var(--sari); }
.satir.hata { color: var(--kirmizi); }
.satir.eylem .metin { font-style: italic; }
.satir.vurgu { background: var(--vurgu); }
.satir.sistem { color: var(--ac); }
.metin .b { font-weight: 700; } .metin .i { font-style: italic; } .metin .u { text-decoration: underline; } .metin .s { text-decoration: line-through; }
.metin .mono { font-family: ui-monospace, Consolas, monospace; }
.cizim { font-family: ui-monospace, Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; line-height: 1.15; }
.satir, .metin { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* ================= editor ================= */
.editor { flex: none; border-top: 1px solid var(--ln); background: var(--panel2); }
.araclar { display: flex; align-items: center; justify-content: space-between; height: 42px; border-bottom: 1px solid var(--ln); padding: 0 6px; }
.arac-grup, .arac-sag { display: flex; align-items: center; gap: 2px; height: 100%; }
.arac { height: 32px; min-width: 34px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--tx); }
.arac:hover { background: var(--ln); }
.arac.secili { background: var(--ac); color: #fff; }
.bicim-b { font-weight: 800; } .bicim-i { font-style: italic; font-family: Georgia, serif; font-weight: 700; } .bicim-u { text-decoration: underline; font-weight: 600; }
.boyut { border: 1px solid var(--ln); background: var(--panel); padding: 0 4px; cursor: pointer; }
.renk-sec { position: relative; }
.renk-ornek { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--ln); background: var(--tx); display: block; }
.renk-ornek.yok { background: linear-gradient(135deg, transparent 45%, var(--kirmizi) 45%, var(--kirmizi) 55%, transparent 55%), var(--panel); }
.renk-kutu { position: absolute; bottom: 40px; left: 0; z-index: 30; display: grid; grid-template-columns: repeat(8, 26px); gap: 5px; padding: 9px; background: var(--panel); border: 1px solid var(--ln); border-radius: 10px; box-shadow: var(--golge); }
.renk-kutu button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .15); padding: 0; }
.renk-kutu button.yok { grid-column: span 8; width: auto; background: var(--panel2); font-size: 12px; color: var(--tx); }
.radyo-dugme { width: 32px; height: 32px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--ac), var(--ac2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.radyo-dugme svg { width: 15px; height: 15px; }
.radyo-dugme.caliyor { animation: nabiz 1.6s infinite; }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(42, 141, 180, .55); } 70% { box-shadow: 0 0 0 9px rgba(42, 141, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 141, 180, 0); } }
.radyo-hap { width: auto; height: 32px; border-radius: 16px; padding: 0 14px 0 4px; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-right: 6px; box-shadow: 0 3px 10px rgba(42, 141, 180, .3); }
.radyo-hap.caliyor { animation: none; }
.radyo-simge { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: inline-flex; align-items: center; justify-content: center; }
.radyo-simge svg { width: 12px; height: 12px; }
.ekolayzer { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.radyo-hap.caliyor .ekolayzer { display: inline-flex; }
.ekolayzer i { width: 3px; background: #fff; border-radius: 1px; animation: ekolayzer 1s ease-in-out infinite; }
.ekolayzer i:nth-child(2) { animation-delay: -.3s; } .ekolayzer i:nth-child(3) { animation-delay: -.6s; } .ekolayzer i:nth-child(4) { animation-delay: -.15s; }
@keyframes ekolayzer { 0%, 100% { height: 3px; } 50% { height: 12px; } }

.yaz { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.yaz-simge { width: 38px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--mut); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.yaz-simge:hover { background: var(--ln); color: var(--tx); }
.yaz-kutu { flex: 1; min-width: 0; display: flex; align-items: center; border: 1px solid var(--ln); background: var(--panel); border-radius: 10px; }
.yaz-kutu:focus-within { border-color: var(--ac); box-shadow: 0 0 0 3px var(--acbg); }
.yaz-kutu input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; outline: 0; }
.emoji-dugme { border: 0; background: transparent; color: var(--mut); width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; }
.emoji-dugme:hover { color: var(--sari); }
.emoji-dugme svg { width: 21px; height: 21px; }
.gonder { height: 40px; border: 0; border-radius: 10px; background: var(--ust); color: #fff; padding: 0 20px; font-weight: 600; letter-spacing: .04em; flex: none; }
.gonder:hover { background: var(--ac); }
body.gece .gonder { background: var(--ac); }
.emoji-kutu { position: absolute; bottom: 58px; right: 100px; width: 320px; max-width: calc(100vw - 20px); max-height: 230px; overflow-y: auto; background: var(--panel); border: 1px solid var(--ln); border-radius: 12px; box-shadow: var(--golge); padding: 8px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; z-index: 30; }
.emoji-kutu button { border: 0; background: transparent; font-size: 21px; padding: 3px; border-radius: 6px; }
.emoji-kutu button:hover { background: var(--panel2); }

/* ================= kisi listesi ================= */
.kisi-ara { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--ln); background: var(--panel2); color: var(--mut); flex: none; }
.kisi-ara svg { width: 16px; height: 16px; }
.kisi-ara input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; }
.nickler { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.nickler li { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-bottom: 1px solid var(--ln); cursor: pointer; white-space: nowrap; }
.nickler li:hover { background: var(--panel2); }
.nickler li .ad { overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.nickler li.uzakta .ad { opacity: .55; }
.yetki { width: 22px; height: 22px; border-radius: 6px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; background: #2f3a52; }
.y-u { background: #2fb36b; } .y-u svg { width: 13px; height: 13px; }
.nickler li.uzakta .yetki { background: #9aa1b1; }
.y-q { background: #e0433a; } .y-a { background: #9b4dca; } .y-o { background: #2a8db4; } .y-h { background: #f08c2a; } .y-v { background: #e8b017; }
body.gece .y-u { background: #35c078; }
.nickler li.r-q .ad { color: #e0433a; } .nickler li.r-a .ad { color: #9b4dca; } .nickler li.r-o .ad { color: #2a8db4; } .nickler li.r-h .ad { color: #e07b18; } .nickler li.r-v .ad { color: #cf9a06; }
body.gece .nickler li.r-o .ad { color: #56bde4; }

/* ozel sohbet ve sunucu penceresinde kisi listesi gizlenir, sohbet tam genislik */
body.kanal-degil .kisiler, body.kanal-degil .konu-sayi, body.kanal-degil .u-sayi { display: none !important; }

/* ================= kanal sekmeleri (masaustu sag) ================= */
.sekmeler { list-style: none; margin: 0; padding: 0; }
.sekmeler li { display: flex; align-items: center; gap: 8px; background: var(--sekme); color: var(--sekme-tx); border-radius: 8px; padding: 9px 10px 9px 12px; margin-bottom: 7px; box-shadow: var(--golge2); cursor: pointer; font-weight: 500; transition: transform .1s, background .15s; }
.sekmeler li:hover { transform: translateX(-2px); }
.sekmeler li svg { width: 15px; height: 15px; opacity: .6; }
.sekmeler li .ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sekmeler li { border-left: 4px solid var(--renk, var(--ac)); }
.sekmeler li:nth-child(5n+1) { --renk: var(--r1); } .sekmeler li:nth-child(5n+2) { --renk: var(--r2); } .sekmeler li:nth-child(5n+3) { --renk: var(--r3); }
.sekmeler li:nth-child(5n+4) { --renk: var(--r4); } .sekmeler li:nth-child(5n) { --renk: var(--r5); }
.sekmeler li.aktif { background: var(--renk, var(--ust)); color: #fff; }
body.gece .sekmeler li.aktif { background: var(--renk, var(--ac)); }
.rozet { background: var(--kirmizi); color: #fff; border-radius: 10px; font-size: 11px; padding: 0 7px; font-weight: 700; line-height: 18px; }
.rozet.sakin { background: var(--mut); }
/* kanal listesinde okunmamis isigi: yesil = yeni mesaj, kirmizi = size yazildi */
.isik { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.isik.yesil { background: var(--yesil); }
.isik.kirmizi { background: var(--kirmizi); animation: isik-yan 1.2s ease-in-out infinite; }
@keyframes isik-yan { 0%,100% { box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 0 0 0 rgba(224,67,58,.55); } 50% { box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 0 0 5px rgba(224,67,58,0); } }
@media (prefers-reduced-motion: reduce) { .isik.kirmizi { animation: none; } }
.m-cip .isik { margin-left: 2px; }
.sekmeler .kapat { border: 0; background: transparent; color: inherit; opacity: .45; padding: 0 2px; display: inline-flex; }
.sekmeler .kapat:hover { opacity: 1; color: var(--kirmizi); }
.sekmeler .kapat svg { width: 13px; height: 13px; opacity: 1; }
.sekme-ayrac { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: 16px 2px 8px; }

/* ================= pencere / menu ================= */
.perde { position: fixed; inset: 0; background: rgba(10, 14, 26, .55); z-index: 40; }
.pencere { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 420px; max-width: calc(100vw - 24px); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--panel); border-radius: 16px; box-shadow: var(--golge); padding: 20px 22px; z-index: 50; }
.pencere h2 { margin: 0 0 12px; font-size: 17px; }
.pencere p { white-space: pre-line; }
.pencere label { display: flex; align-items: center; gap: 8px; margin: 9px 0; }
.pencere label[style*="block"] { font-weight: 500; font-size: 13px; }
.pencere input[type=text], .pencere input[type=password], .pencere input[type=email] { width: 100%; padding: 10px 11px; border: 1px solid var(--ln); border-radius: 9px; background: var(--panel2); margin-top: 4px; }
.p-dugmeler { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.p-dugmeler button { border: 1px solid var(--ln); background: var(--panel2); border-radius: 9px; padding: 8px 16px; }
.p-dugmeler button.ana { background: var(--ac); border-color: var(--ac); color: #fff; }
.menu { position: fixed; list-style: none; margin: 0; padding: 5px; background: var(--panel); border: 1px solid var(--ln); border-radius: 12px; box-shadow: var(--golge); z-index: 60; min-width: 180px; }
.menu li { padding: 7px 12px; border-radius: 7px; cursor: pointer; }
.menu li:hover { background: var(--acbg); }
.menu li.baslik { font-weight: 700; cursor: default; color: var(--mut); font-size: 12px; }
.menu li.baslik:hover { background: transparent; }
.menu li.ayrac { height: 1px; padding: 0; margin: 4px 0; background: var(--ln); cursor: default; }

/* ================= mobil ================= */
.m-acilir-kapat { display: block; width: 100%; border: 0; background: var(--ust); color: #fff; font-weight: 600; letter-spacing: .06em; padding: 12px; margin-top: auto; }
@media (max-width: 991px) {
  body { font-size: 14px; }
  .ust.mobil { height: 50px; display: flex; align-items: stretch; }
  .m-radyo { width: 50px; height: 50px; border-radius: 0; background: var(--ust2); }
  .m-radyo.caliyor { animation: none; background: var(--ac); }
  .m-sekme { flex: 1; border: 0; background: transparent; color: var(--ust-mut); font-weight: 500; position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .m-sekme.acik { background: var(--kanal-bg); color: var(--tx); }
  .m-menu-dugme { width: 52px; border: 0; background: var(--ust2); color: #fff; display: flex; align-items: center; justify-content: center; }
  .m-menu-dugme svg { width: 22px; height: 22px; }
  .m-kanal-seridi { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 7px; background: var(--kanal-bg); flex: none; }
  .m-kanal-seridi.kapali { display: none; }
  .m-cip { display: flex; align-items: center; gap: 6px; flex: none; background: var(--sekme); color: var(--sekme-tx); border: 0; border-radius: 16px; padding: 4px 10px; font-size: 13px; font-weight: 500; box-shadow: var(--golge2); white-space: nowrap; max-width: 100%; }
  .m-cip > span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .m-cip { border-bottom: 3px solid var(--renk, var(--ac)); }
  .m-cip:nth-child(5n+1) { --renk: var(--r1); } .m-cip:nth-child(5n+2) { --renk: var(--r2); } .m-cip:nth-child(5n+3) { --renk: var(--r3); }
  .m-cip:nth-child(5n+4) { --renk: var(--r4); } .m-cip:nth-child(5n) { --renk: var(--r5); }
  .m-cip.aktif { background: var(--renk, var(--ust)); color: #fff; }
  body.gece .m-cip.aktif { background: var(--renk, var(--ac)); }
  .m-cip .kapat { display: inline-flex; opacity: .5; } .m-cip .kapat svg { width: 12px; height: 12px; }
  .m-acilir { position: fixed; left: 0; right: 0; top: 50px; bottom: 0; z-index: 38; background: var(--panel); display: flex; flex-direction: column; overflow-y: auto; }
  .m-acilir-baslik { padding: 14px 16px; font-weight: 700; border-bottom: 1px solid var(--ln); }
  .m-ozel-liste { list-style: none; margin: 0; padding: 8px; }
  .m-ozel-liste li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--panel2); margin-bottom: 6px; }
  .m-ozel-liste li .ad { flex: 1; font-weight: 600; }
  .m-ozel-liste li .kapat { border: 0; background: transparent; color: var(--mut); display: inline-flex; }
  .m-ozel-liste .bos { color: var(--mut); background: transparent; justify-content: center; }
  #m-menu > button:not(.m-acilir-kapat) { display: flex; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid var(--ln); background: transparent; padding: 15px 20px; text-align: left; font-weight: 500; }
  #m-menu > button[data-islem] { border-left: 5px solid var(--renk); }
  #m-menu > button svg { color: var(--renk, var(--ac)); }
  .m-gece { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--ln); font-weight: 500; }
  .m-sekme .rozet { position: static; }

  .kanallar { display: none; }
  .kisiler { width: 34%; max-width: 200px; }
  body.nick-gizli .kisiler { display: none; }
  .kisi-ara { height: 40px; padding: 0 10px; }
  .nickler li { padding: 5px 8px; gap: 7px; font-size: 13px; }
  .yetki { width: 20px; height: 20px; }
  .konu-cubugu { min-height: 40px; padding: 4px 8px 4px 12px; }
  .konu { font-size: 13px; }
  .konu-sayi { display: inline-flex; }
  .mesajlar { padding: 6px 6px 8px; }
  .mesajlar { overflow-x: hidden; }
  /* cizimler (.sigara, .kalp ...) dar ekranda tasip kisi listesinin altina kaymasin */
  .cizim { white-space: pre-wrap; word-break: break-all; font-size: .8em; }
  .araclar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: auto; flex-direction: column; align-items: stretch; background: var(--panel); border-radius: 16px 16px 0 0; box-shadow: var(--golge); padding: 0; transform: translateY(105%); transition: transform .2s; }
  .araclar.acik { transform: none; }
  .araclar-baslik { padding: 14px 16px 6px; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--mut); }
  .arac-grup { flex-wrap: wrap; gap: 8px; padding: 6px 14px 14px; }
  .arac { height: 40px; min-width: 44px; border: 1px solid var(--ln); background: var(--panel2); }
  #b-temizle { flex-basis: 100%; }
  .renk-kutu { bottom: 48px; }
  .govde { padding-bottom: 52px; }
  .editor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
  .yaz { padding: 6px; gap: 4px; }
  .yaz-simge { width: 34px; }
  .gonder { padding: 0 14px; }
  .emoji-kutu { right: 6px; bottom: 54px; }
}
@media (max-width: 420px) {
  .kisiler { width: 38%; }
  .m-sekme { font-size: 13px; }
}

/* ===== 3.5: Seviyeli'ye ozgu ust cubuk (acik zemin, marka, tek renkli yuvarlak menu) ===== */
:root { --bas-bg: #ffffff; --bas-tx: #25293a; --bas-menu: #f2f5f9; }
body.gece { --bas-bg: #1c2131; --bas-tx: #e0e4ee; --bas-menu: #242a3d; }
.ust.masaustu.bas { height: 60px; background: var(--bas-bg); color: var(--bas-tx); gap: 18px; padding: 0 16px 0 18px; position: relative; box-shadow: 0 2px 12px rgba(24, 32, 56, .07); z-index: 2; }
.ust.masaustu.bas::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--ac), var(--yesil) 55%, var(--sari)); }
.bas-marka { display: flex; align-items: center; gap: 9px; color: var(--bas-tx); text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; flex: none; }
.bas-marka img { width: 30px; height: 30px; border-radius: 9px; }
.bas-marka b { color: var(--ac); font-weight: 700; }
.bas-marka span { display: none; }   /* 3.78: ust cubukta sadece S logosu (dugmelere yer acilir) */
.bas .ust-kanal { border-left: 1px solid var(--ln); padding-left: 18px; }
.bas .u-kanal { color: var(--bas-tx); font-size: 17px; }
.bas .u-sayi { background: var(--acbg); color: var(--ac2); border-radius: 999px; padding: 2px 10px; }
.bas .ust-menu { margin-left: auto; background: var(--bas-menu); border: 1px solid var(--ln); border-radius: 999px; padding: 4px; gap: 2px; }
.bas .ust-menu button[data-islem] { background: transparent; color: var(--bas-tx); height: 34px; padding: 0 13px; border-radius: 999px; box-shadow: none; font-weight: 500; }
.bas .ust-menu button[data-islem] svg { color: var(--ac); display: inline; }
.bas .ust-menu button[data-islem]:hover { background: var(--ac); color: #fff; transform: none; filter: none; }
.bas .ust-menu button[data-islem]:hover svg { color: #fff; }
.bas .merhaba { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 12px; height: 34px; border-radius: 999px; background: var(--acbg); color: var(--ac2); font-weight: 500; max-width: 180px; overflow: hidden; }
.bas .merhaba strong { color: inherit; overflow: hidden; text-overflow: ellipsis; }
.bas .merhaba svg { width: 15px; height: 15px; flex: none; }
.bas .anahtar-yuva { background: #dfe4ee; }
body.gece .bas .anahtar-yuva { background: #3a415a; }
@media (max-width: 1360px) { .bas .ust-menu button[data-islem] svg { display: none; } .bas .ust-menu button[data-islem] { padding: 0 10px; } }
@media (max-width: 1150px) { .bas-marka span { display: none; } .bas .merhaba { display: none; } }
/* mobil ust cubuk de acik zemin */
.ust.mobil { background: var(--bas-bg); box-shadow: inset 0 -3px 0 var(--ac); }
.ust.mobil .m-sekme { color: var(--mut); }
.ust.mobil .m-sekme.acik { background: var(--acbg); color: var(--ac2); }
.ust.mobil .m-radyo, .ust.mobil .m-menu-dugme { background: var(--ac); color: #fff; }
/* sohbet alaninin sag ust kosesinde logo (soluk filigran; yazilar ustten akar) */
.mesajlar { background: url(img/filigran.png) no-repeat right 18px top 14px / 190px auto, var(--panel); }
body.gece .mesajlar { background: url(img/filigran-koyu.png) no-repeat right 18px top 14px / 190px auto, var(--panel); }
@media (max-width: 767px) { .mesajlar, body.gece .mesajlar { background-image: none; } } /* dar ekranda yazinin ustune binmesin */
/* 3.6: menu dugmeleri kanal listesi gibi renkli (ayni palet; yumusak zemin, renkli simge, uzerine gelince dolu renk) */
.bas .ust-menu button[data-islem="kanal"] { --renk: var(--r1); } .bas .ust-menu button[data-islem="nick"] { --renk: var(--r2); }
.bas .ust-menu button[data-islem="kaydet"] { --renk: var(--r3); } .bas .ust-menu button[data-islem="oper"] { --renk: var(--r4); }
.bas .ust-menu button[data-islem="ayarlar"] { --renk: var(--r5); } .bas .ust-menu button[data-islem="hakkimizda"] { --renk: var(--r1); }
.bas .ust-menu { gap: 5px; background: transparent; border-color: transparent; padding: 0; }
.bas .ust-menu button[data-islem] { background: color-mix(in srgb, var(--renk) 13%, var(--bas-bg)); color: var(--bas-tx); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--renk) 55%, transparent); transition: background .15s, color .15s, transform .12s, box-shadow .15s; }
.bas .ust-menu button[data-islem] svg { color: var(--renk); }
.bas .ust-menu button[data-islem]:hover, .bas .ust-menu button[data-islem]:focus-visible { background: var(--renk); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px color-mix(in srgb, var(--renk) 35%, transparent); outline: none; }
.bas .ust-menu button[data-islem]:hover svg, .bas .ust-menu button[data-islem]:focus-visible svg { color: #fff; }
.bas .ust-menu button[data-islem]:active { transform: translateY(0) scale(.97); }
body.gece .bas .ust-menu button[data-islem] { background: color-mix(in srgb, var(--renk) 18%, var(--bas-bg)); }
/* nick etiketi: bas harfli renkli daire */
.bas .merhaba .bas-harf { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--ac), var(--yesil)); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-left: -6px; flex: none; }
.bas .merhaba svg { display: none; }
/* kanal adinin yaninda canli nokta */
.bas .u-kanal::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yesil); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px color-mix(in srgb, var(--yesil) 25%, transparent); }
body.kanal-degil .bas .u-kanal::before { display: none; }

/* ===== 3.7: renkli ust cubuk (derin deniz mavisi -> zumrut), beyaz menu hapları, renkli alt cubuk ve GONDER ===== */
:root { --bas-g1: #1c5f7a; --bas-g2: #2587a8; --bas-g3: #1f9a86; --alt-bg: #e6f2f5; --alt-ln: #c9e0e7; }
body.gece { --bas-g1: #10303f; --bas-g2: #164a5d; --bas-g3: #145a52; --alt-bg: #1a2433; --alt-ln: #2a3a4c; }
.ust.masaustu.bas { background: linear-gradient(110deg, var(--bas-g1) 0%, var(--bas-g2) 55%, var(--bas-g3) 100%); color: #fff; box-shadow: 0 4px 16px rgba(20, 70, 90, .22); }
.ust.masaustu.bas::after { height: 3px; background: linear-gradient(90deg, var(--r1), var(--r3), var(--sari), var(--r5), var(--r2), var(--r4)); opacity: .95; }
.bas .bas-marka, .bas .u-kanal { color: #fff; }
.bas .bas-marka b { color: #bff0e6; }
.bas .bas-marka img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); background: #fff; }
.bas .ust-kanal { border-left-color: rgba(255, 255, 255, .25); }
.bas .u-sayi { background: rgba(255, 255, 255, .18); color: #fff; }
.bas .u-kanal::before { background: #7dffc4; box-shadow: 0 0 0 3px rgba(125, 255, 196, .25); }
/* menu: beyaz haplar, renkli simge ve alt cizgi; uzerine gelince kendi rengiyle dolar */
.bas .ust-menu button[data-islem], body.gece .bas .ust-menu button[data-islem] { background: rgba(255, 255, 255, .94); color: #26324a; box-shadow: inset 0 -3px 0 var(--renk), 0 2px 6px rgba(0, 0, 0, .12); }
body.gece .bas .ust-menu button[data-islem] { background: rgba(20, 28, 42, .78); color: #e6ebf3; }
.bas .ust-menu button[data-islem]:hover, .bas .ust-menu button[data-islem]:focus-visible { background: var(--renk); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.bas .merhaba { background: rgba(255, 255, 255, .16); color: #fff; }
.bas .merhaba .bas-harf { background: #fff; color: var(--bas-g2); }
.bas .anahtar-yuva, body.gece .bas .anahtar-yuva { background: rgba(255, 255, 255, .22); }
/* mobil ust cubuk */
.ust.mobil { background: linear-gradient(110deg, var(--bas-g1), var(--bas-g2) 60%, var(--bas-g3)); box-shadow: none; }
.ust.mobil .m-sekme { color: rgba(255, 255, 255, .78); }
.ust.mobil .m-sekme.acik { background: rgba(255, 255, 255, .95); color: var(--bas-g1); }
body.gece .ust.mobil .m-sekme.acik { background: rgba(255, 255, 255, .14); color: #fff; }
.ust.mobil .m-radyo, .ust.mobil .m-menu-dugme { background: rgba(0, 0, 0, .15); color: #fff; }
/* alt cubuk (araclar + yazma satiri) */
.editor { background: var(--alt-bg); border-top: 1px solid var(--alt-ln); }
@media (min-width: 768px) { .araclar { background: linear-gradient(180deg, color-mix(in srgb, var(--bas-g2) 17%, var(--panel)), color-mix(in srgb, var(--bas-g2) 10%, var(--panel))); border-bottom-color: var(--alt-ln); } }
.araclar .arac:hover { background: color-mix(in srgb, var(--bas-g2) 14%, transparent); color: var(--bas-g2); }
body.gece .araclar .arac:hover { color: #9fe3f5; }
.yaz { background: var(--alt-bg); }
.yaz-kutu { background: var(--panel); border-color: var(--alt-ln); }
.yaz-kutu:focus-within { border-color: var(--bas-g2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bas-g2) 18%, transparent); }
/* GONDER */
.gonder, body.gece .gonder { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 20px; border-radius: 999px; background: linear-gradient(120deg, var(--bas-g2), var(--bas-g3)); color: #fff; font-weight: 700; letter-spacing: .06em; box-shadow: 0 6px 16px color-mix(in srgb, var(--bas-g2) 35%, transparent); transition: transform .12s, box-shadow .15s, filter .15s; }
.gonder svg { width: 17px; height: 17px; transition: transform .2s; }
.gonder:hover { background: linear-gradient(120deg, var(--bas-g2), var(--bas-g3)); filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 9px 20px color-mix(in srgb, var(--bas-g2) 45%, transparent); }
.gonder:hover svg { transform: translate(2px, -2px) rotate(8deg); }
.gonder:active { transform: translateY(0) scale(.97); }
@media (max-width: 767px) { .gonder { padding: 0 14px; } .gonder span { display: none; } .gonder svg { width: 19px; height: 19px; } }
/* 3.7.1: sohbet alanindaki logo eski surumdeki gibi tam renkli (ilk seviyeli temasindaki yerinde: sag ust) */
.mesajlar { background: url(img/logo.png) no-repeat right 20px top 16px / 230px auto, var(--panel); }
body.gece .mesajlar { background: url(img/logo-koyu.png) no-repeat right 20px top 16px / 230px auto, var(--panel); }
@media (max-width: 767px) { .mesajlar, body.gece .mesajlar { background-image: none; } }

/* 3.8: ekran temizleme dugmesi sadece operler ve kanal yetkililerinde gorunur */
#b-temizle { display: none; } body.temizle-yetkili #b-temizle { display: inline-flex; }

/* ===== 3.13: Canli yayin (panelden acilir, sohbetin ustunde) ===== */
.yayin { --yh: clamp(210px, 36vh, 460px); flex: none; display: flex; gap: 0; height: var(--yh); background: #0b0f1a; color: #e9edf5; position: relative; overflow: hidden; border-bottom: 3px solid #dc2626; }
.yayin.buyuk { --yh: clamp(260px, 58vh, 760px); }
.yayin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% 0%, rgba(220, 38, 38, .22), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(42, 141, 180, .18), transparent 70%); pointer-events: none; }
.yayin-video { height: 100%; aspect-ratio: 16 / 9; max-width: 72%; background: #000; flex: none; position: relative; z-index: 1; }
.yayin-video iframe, .yayin-video > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yayin-bilgi { flex: 1; min-width: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.yayin-ust { display: flex; align-items: center; gap: 10px; }
.canli-rozet { display: inline-flex; align-items: center; gap: 6px; background: #dc2626; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 3px 9px 3px 8px; border-radius: 6px; flex: none; }
.canli-rozet i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: canli-nabiz 1.4s ease-in-out infinite; }
@keyframes canli-nabiz { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .canli-rozet i { animation: none; } }
.yayin-sure { color: #9aa3b8; font-size: 12px; font-variant-numeric: tabular-nums; }
.yayin-baslik { font-size: 18px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yayin-baslik:empty { display: none; }
.yayin-yayinci { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #b7bfd1; }
.yayin-yayinci:empty { display: none; }
.yayin-yayinci .etiket { display: inline-flex; align-items: center; gap: 5px; color: #9aa3b8; margin-right: 2px; }
.yayin-yayinci .etiket svg { width: 15px; height: 15px; color: #f87171; }
.yayinci-nick { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; padding: 3px 11px 3px 8px; font-weight: 600; font-size: 13px; }
.yayinci-nick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }
.yayinci-nick.cevrimici::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.yayinci-nick:hover { background: rgba(255, 255, 255, .14); }
.yayin-dugmeler { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.yayin-dugmeler button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font-size: 13px; font-weight: 500; }
.yayin-dugmeler button:hover { background: rgba(255, 255, 255, .15); }
.yayin-dugmeler svg { width: 16px; height: 16px; }
.yayin-ses { background: #dc2626 !important; border-color: #dc2626 !important; font-weight: 600 !important; }
.yayin-ses.acik { background: rgba(255, 255, 255, .07) !important; border-color: rgba(255, 255, 255, .16) !important; }
.yayin-serit { flex: none; display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: #0b0f1a; color: #e9edf5; padding: 7px 14px; text-align: left; border-bottom: 2px solid #dc2626; }
.yayin-serit-baslik { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.yayin-serit-izle { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: #fca5a5; }
.yayin-serit-izle svg { width: 16px; height: 16px; }
.yayin-serit:hover { background: #131a2b; }
/* kisi listesinde yayinci isareti */
.nickler li .yayinci-simge { display: inline-flex; margin-left: auto; color: #ef4444; }
.nickler li .yayinci-simge svg { width: 15px; height: 15px; }
@media (max-width: 991px) {
  .yayin, .yayin.buyuk { flex-direction: column; height: auto; }
  .yayin-video { width: 100%; max-width: none; height: auto; max-height: 34vh; max-height: 34dvh; margin: 0 auto; }
  .yayin-video { width: min(100%, calc(34dvh * 16 / 9)); }
  .yayin-bilgi { padding: 7px 10px 8px; gap: 5px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .yayin-ust { order: 1; }
  .yayin-baslik { order: 2; flex: 1; min-width: 0; font-size: 13px; -webkit-line-clamp: 1; }
  .yayin-dugmeler { order: 3; margin: 0; gap: 6px; }
  .yayin-dugmeler button { height: 30px; padding: 0 10px; font-size: 12px; }
  .yayin-dugmeler .yayin-kucuk span { display: none; }
  .yayin-yayinci { order: 4; flex-basis: 100%; font-size: 12px; gap: 5px; }
  .yayinci-nick { padding: 2px 9px 2px 7px; font-size: 12px; }
  .yayin-sure { display: none; }
  /* 3.74: panelden secilen telefon video boyutu (yayin.mobilBoyut) */
  html[data-mobil-video="orta"] body:not(.yayin-mini) .yayin-video { max-height: 22dvh; width: min(100%, calc(22dvh * 16 / 9)); }
  html[data-mobil-video="kucuk"] body:not(.yayin-mini) .yayin-video { max-height: 16dvh; width: min(100%, calc(16dvh * 16 / 9)); }
  html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .yayin-video { max-height: 11dvh; width: min(100%, calc(11dvh * 16 / 9)); }
  html[data-mobil-video="kucuk"] body:not(.yayin-mini) .yayin-yayinci, html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .yayin-yayinci { display: none; }
  html[data-mobil-video="kucuk"] body:not(.yayin-mini) .ses-cagri, html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .ses-cagri { font-size: 12px; padding: 6px 12px; }
  html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .ses-cagri { font-size: 11px; padding: 4px 9px; gap: 5px; white-space: nowrap; }
  html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .ses-cagri svg { width: 14px; height: 14px; }
  html[data-mobil-video="kucuk"] body:not(.yayin-mini) .yayin-ortu, html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .yayin-ortu { padding-bottom: 6px; }
  html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .yayin-tam { width: 28px; height: 28px; top: 4px; right: 4px; }
  /* 3.76: kanal seridi kapaliyken "Kanallar" dugmesi: sakin isik (yesil yeni mesaj / kirmizi size yazildi),
     yeni mesaj gelince kisa sure yanip soner (yanip), surekli modda durmadan */
  .m-sekme.yeni::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yesil, #22c55e); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
  .m-sekme.yeni.vurgu::after { background: #dc2626; }
  .m-sekme.yanip { animation: kanal-yan 1.4s ease-in-out 3; }
  .m-sekme.yanip.hizli { animation: kanal-yan .7s ease-in-out 6; }
  .m-sekme.yanip.surekli { animation-iteration-count: infinite; }
  @keyframes kanal-yan { 0%, 100% { background: transparent; color: var(--ust-mut); } 50% { background: #dc2626; color: #fff; } }
  @media (prefers-reduced-motion: reduce) { .m-sekme.yanip { animation: none; } }
}
@media (max-width: 991px) {
  html[data-mobil-video="kucuk"] body:not(.yayin-mini) .yayin-aciklama, html[data-mobil-video="cokkucuk"] body:not(.yayin-mini) .yayin-aciklama { display: none; }
}
/* 3.15: yayin aciklamasi */
.yayin-aciklama { font-size: 13px; line-height: 1.5; color: #c9d0de; white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; cursor: pointer; max-width: 760px; }
.yayin-aciklama:empty { display: none; }
.yayin-aciklama.acik { -webkit-line-clamp: unset; display: block; max-height: 40%; overflow-y: auto; }
.yayin-aciklama a { color: #7dd3fc; }
@media (max-width: 991px) {
  .yayin-aciklama { order: 5; flex-basis: 100%; font-size: 12px; -webkit-line-clamp: 1; }
  .yayin-aciklama.acik { max-height: 22vh; }
}
/* 3.16: bilgisayarda video yazi alaninin ustunde ORTALI; bilgiler videonun altinda ortali */
@media (min-width: 992px) {
  .yayin, .yayin.buyuk { flex-direction: column; align-items: center; height: auto; }
  .yayin { --yh: clamp(190px, 31vh, 440px); }
  .yayin.buyuk { --yh: clamp(240px, calc(100vh - 470px), 760px); }
  .mesajlar { min-height: 90px; }
  .yayin-video { height: var(--yh); width: auto; max-width: 100%; margin-top: 10px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
  .yayin-bilgi { flex: none; width: 100%; max-width: 980px; padding: 9px 16px 11px; gap: 6px 10px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
  .yayin-ust { order: 1; }
  .yayin-baslik { order: 2; font-size: 16px; -webkit-line-clamp: 1; }
  .yayin-dugmeler { order: 3; margin: 0 0 0 6px; }
  .yayin-dugmeler button { height: 32px; padding: 0 12px; }
  .yayin-yayinci { order: 4; flex-basis: 100%; justify-content: center; }
  .yayin-aciklama { order: 5; flex-basis: 100%; max-width: 760px; -webkit-line-clamp: 2; }
}
/* 3.18: ozel sohbette Engelle / Sikayet et */
.ozel-dugme { display: none; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ln); background: var(--panel); color: var(--tx); font-size: 13px; font-weight: 500; }
.ozel-dugme svg { width: 15px; height: 15px; color: var(--mut); }
.ozel-dugme:hover { border-color: var(--kirmizi); color: var(--kirmizi); }
.ozel-dugme:hover svg { color: var(--kirmizi); }
.ozel-dugme.engelli { background: var(--kirmizi); border-color: var(--kirmizi); color: #fff; }
.ozel-dugme.engelli svg { color: #fff; }
.ozel-dugme.sikayet svg { color: var(--sari); }
body.ozel-acik .ozel-dugme { display: inline-flex; }
.engel-liste { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ln); display: flex; flex-direction: column; gap: 6px; }
.engel-liste .bos { color: var(--mut); font-size: 13px; }
.engel-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel2); border-radius: 8px; padding: 6px 6px 6px 12px; }
.engel-satir button { border: 1px solid var(--ln); background: var(--panel); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
@media (max-width: 991px) {
  .ozel-dugme { height: 30px; padding: 0 9px; font-size: 12px; }
  .ozel-dugme svg { width: 14px; height: 14px; }
  body.ozel-acik .konu { font-size: 12px; }
}
/* 3.19: video ustunde buyuk "Sesi ac" cagrisi, tam ekran, belirgin ses dugmesi */
.yayin-ortu { position: absolute; inset: 0; z-index: 2; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14%; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 45%); transition: background .3s; }
.yayin.sesli .yayin-ortu { background: transparent; }
.ses-cagri { display: inline-flex; align-items: center; gap: 9px; background: #dc2626; color: #fff; font-weight: 700; font-size: 15px; padding: 11px 20px 11px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(220, 38, 38, .45), 0 0 0 0 rgba(220, 38, 38, .6); animation: ses-nabiz 1.8s ease-out infinite; pointer-events: none; }
.ses-cagri svg { width: 20px; height: 20px; }
.yayin.sesli .ses-cagri { display: none; }
@keyframes ses-nabiz { 0% { box-shadow: 0 8px 24px rgba(220, 38, 38, .45), 0 0 0 0 rgba(220, 38, 38, .55); } 70% { box-shadow: 0 8px 24px rgba(220, 38, 38, .45), 0 0 0 16px rgba(220, 38, 38, 0); } 100% { box-shadow: 0 8px 24px rgba(220, 38, 38, .45), 0 0 0 0 rgba(220, 38, 38, 0); } }
.yayin-tam { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: flex; align-items: center; justify-content: center; opacity: .75; }
.yayin-tam:hover { opacity: 1; background: rgba(0, 0, 0, .7); }
.yayin-tam svg { width: 18px; height: 18px; }
.yayin-video:fullscreen, .yayin-video:-webkit-full-screen { max-width: none !important; width: 100% !important; height: 100% !important; border-radius: 0 !important; margin: 0 !important; }
/* alt cubuktaki ses dugmesi: kapaliyken kirmizi ve nabiz atar, acikken sakin */
.yayin-dugmeler .yayin-ses { height: 38px; padding: 0 18px; font-size: 14px; animation: ses-nabiz 1.8s ease-out infinite; }
.yayin-dugmeler .yayin-ses svg { width: 18px; height: 18px; }
.yayin-dugmeler .yayin-ses.acik { animation: none; }
@media (prefers-reduced-motion: reduce) { .ses-cagri, .yayin-dugmeler .yayin-ses { animation: none; } }
@media (max-width: 991px) {
  .yayin-video { position: relative; }
  .ses-cagri { font-size: 14px; padding: 9px 16px 9px 13px; }
  .yayin-dugmeler .yayin-ses { height: 34px; padding: 0 14px; font-size: 13px; }
  .yayin-tam { width: 32px; height: 32px; top: 6px; right: 6px; }
}
/* 3.20: radyo dugmesi kirmizi-beyaz (goze carpsin), "Baglaniyor" yesil */
.radyo-hap, .radyo-hap.caliyor { background: #dc2626; color: #fff; box-shadow: 0 4px 14px rgba(220, 38, 38, .4); }
.radyo-hap:hover { background: #b91c1c; }
.radyo-hap .radyo-simge { background: #fff; color: #dc2626; }
.ust.mobil .m-radyo, .ust.mobil .m-radyo.caliyor { background: #dc2626; color: #fff; }
.giris-durum.bilgi { color: var(--yesil); font-weight: 500; }
/* 3.21: canli video gorunurken radyo dugmesi gizli (radyo susar) */
body.yayin-gorunur .radyo-dugme { display: none !important; }
/* 3.22: saat/tarih, mobilde radyo sagda ve yazili, Kabe yayini */
.saat-tarih { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; margin-left: 4px; white-space: nowrap; }
.saat-tarih .st-saat { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.saat-tarih .st-tarih { font-size: 11px; color: var(--mut); }
@media (max-width: 1250px) { .saat-tarih .st-tarih { display: none; } }
@media (max-width: 991px) {
  .m-saat { display: flex; align-items: center; justify-content: center; padding: 0 10px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; flex: none; }
  .ust.mobil .m-radyo { width: auto; height: 50px; padding: 0 11px 0 8px; gap: 6px; display: inline-flex; align-items: center; border-radius: 0; font-size: 12px; font-weight: 700; flex: none; }
  .ust.mobil .m-radyo .radyo-simge { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #dc2626; display: inline-flex; align-items: center; justify-content: center; }
  .ust.mobil .m-radyo .radyo-simge svg { width: 11px; height: 11px; }
  .ust.mobil .m-sekme { font-size: 13px; padding: 0 4px; }
}
@media (max-width: 360px) { .m-saat { display: none; } }
body.yayin-kabe .canli-rozet { background: #15803d; }
body.yayin-kabe .yayin { border-bottom-color: #15803d; }
body.yayin-kabe .yayin-serit { border-bottom-color: #15803d; }
.saat-tarih { flex: none; }
@media (max-width: 1500px) { .saat-tarih .st-tarih { display: none; } }
@media (max-width: 991px) { .ust.mobil .m-sekme { white-space: nowrap; } }
@media (max-width: 430px) { .m-uzun { display: none; } }
body.yayin-kabe .yayin-sure { display: none; }
@media (max-width: 1450px) { .bas .merhaba .ben { display: none; } }
/* 3.25: ozel sohbeti kapat */
.ozel-dugme.kapat svg { color: var(--mut); }
.ozel-dugme.kapat:hover { border-color: var(--tx); color: var(--tx); }
.ozel-dugme.kapat:hover svg { color: var(--tx); }
@media (max-width: 991px) { .ozel-dugme { padding: 0 8px; gap: 4px; } body.ozel-acik .konu { display: none; } }
/* 3.26: yayin sirasi - "Siradaki" satiri ve mini oynatici (radyo gibi kucuk kart) */
.yayin-sonraki { font-size: 12px; color: #9aa3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.yayin-sonraki:empty { display: none; }
@media (max-width: 991px) { .yayin-sonraki { order: 4; flex-basis: 100%; } }
@media (min-width: 992px) { .yayin-sonraki { order: 2; flex-basis: 100%; text-align: center; } }
/* Mini: 200x200 gorunur oynatici (YouTube kurali: en az 200x200) + yaninda bilgi karti; sohbet alani daralmaz */
body.yayin-mini .yayin, body.yayin-mini .yayin.buyuk { --yh: 200px; flex-direction: row !important; align-items: center; justify-content: center; height: auto; padding: 8px 12px; gap: 14px; }
body.yayin-mini .yayin-video { width: 200px !important; height: 200px !important; max-width: none; max-height: none; aspect-ratio: auto; flex: none; margin: 0 !important; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
body.yayin-mini .yayin-bilgi { flex: 0 1 auto; max-width: 460px; width: auto; min-width: 0; padding: 0; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; gap: 6px; }
body.yayin-mini .yayin-ust, body.yayin-mini .yayin-baslik, body.yayin-mini .yayin-sonraki, body.yayin-mini .yayin-yayinci, body.yayin-mini .yayin-aciklama, body.yayin-mini .yayin-dugmeler { order: 0; flex-basis: auto; margin: 0; justify-content: flex-start; text-align: left; }
body.yayin-mini .yayin-baslik { font-size: 16px; -webkit-line-clamp: 2; }
body.yayin-mini .yayin-baslik::before { content: "♫ "; color: #f87171; }
body.yayin-mini .yayin-aciklama { -webkit-line-clamp: 2; }
body.yayin-mini .yayin-sure { display: inline; }
body.yayin-mini #yayin-buyut, body.yayin-mini .yayin-tam { display: none; }
body.yayin-mini .ses-cagri { font-size: 12px; padding: 7px 12px 7px 10px; gap: 6px; }
body.yayin-mini .ses-cagri svg { width: 15px; height: 15px; }
body.yayin-mini .yayin-ortu { padding-bottom: 10px; }
@media (max-width: 991px) {
  body.yayin-mini .yayin { padding: 8px 10px; gap: 10px; align-items: flex-start; }
  body.yayin-mini .yayin-bilgi { flex: 1; gap: 4px; }
  body.yayin-mini .yayin-baslik { font-size: 13px; }
  body.yayin-mini .yayin-yayinci, body.yayin-mini .yayin-aciklama { display: none; }
  body.yayin-mini .yayin-dugmeler { gap: 5px; margin-top: 4px; }
}
/* 3.77: telefonda video boyutu ayari (yayin.mobilBoyut) mini oynaticida da gecerli: 200px kutucuk kuculur */
@media (max-width: 991px) {
  html[data-mobil-video="orta"] body.yayin-mini .yayin-video { width: 150px !important; height: 150px !important; }
  html[data-mobil-video="kucuk"] body.yayin-mini .yayin-video { width: 112px !important; height: 112px !important; }
  html[data-mobil-video="cokkucuk"] body.yayin-mini .yayin-video { width: 84px !important; height: 84px !important; border-radius: 9px; }
  html[data-mobil-video="kucuk"] body.yayin-mini .yayin, html[data-mobil-video="cokkucuk"] body.yayin-mini .yayin { padding: 6px 8px; gap: 8px; }
  html[data-mobil-video="kucuk"] body.yayin-mini .yayin-sonraki, html[data-mobil-video="cokkucuk"] body.yayin-mini .yayin-sonraki { display: none; }
  html[data-mobil-video="cokkucuk"] body.yayin-mini .yayin-baslik { -webkit-line-clamp: 1; }
  html[data-mobil-video="kucuk"] body.yayin-mini .ses-cagri, html[data-mobil-video="cokkucuk"] body.yayin-mini .ses-cagri { font-size: 0; gap: 0; padding: 7px; }
  html[data-mobil-video="kucuk"] body.yayin-mini .yayin-ortu, html[data-mobil-video="cokkucuk"] body.yayin-mini .yayin-ortu { padding-bottom: 0; align-items: center; }
}
/* 3.27: canli DJ */
.dj-dugme svg { color: #ef4444; }
body.dj-canli .radyo-sarki { color: #f87171; font-weight: 600; }

/* ===== 6.0 ust menu dugmeleri: programdaki (AdiIRC) dugmelerle AYNI tasarim =====
   iki tonlu parlak renk, beyaz ikon kutusu, hafif kabarik gorunum; koseler 10px (yuvarlak hap degil) */
.bas .ust-menu { gap: 6px; }
.bas .ust-menu button[data-islem], body.gece .bas .ust-menu button[data-islem] {
  position: relative; overflow: hidden; height: 34px; padding: 0 13px 0 5px; gap: 8px; border-radius: 10px;
  background: linear-gradient(135deg, var(--a) 0%, var(--b) 100%); color: #fff; font-weight: 600; letter-spacing: .1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -2px 0 rgba(0,0,0,.18), 0 3px 8px -2px rgba(0,0,0,.4);
  text-shadow: 0 1px 1px rgba(0,0,0,.2); transition: transform .12s, filter .15s, box-shadow .15s; }
.bas .ust-menu button[data-islem]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0)); pointer-events: none; }
.bas .ust-menu button[data-islem] svg, body.gece .bas .ust-menu button[data-islem] svg {
  display: inline-block; box-sizing: border-box; width: 24px; height: 24px; padding: 4.5px; border-radius: 7px; background: #fff; color: var(--b) !important; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.22); }
.bas .ust-menu button[data-islem]:hover, .bas .ust-menu button[data-islem]:focus-visible { background: linear-gradient(135deg, var(--a) 0%, var(--b) 100%); color: #fff; filter: brightness(1.08) saturate(1.05); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -2px 0 rgba(0,0,0,.18), 0 6px 14px -3px rgba(0,0,0,.45); outline: none; }
.bas .ust-menu button[data-islem]:hover svg { color: var(--b) !important; }
.bas .ust-menu button[data-islem]:active { transform: translateY(0) scale(.97); }
.bas .ust-menu button[data-islem="kanal"] { --a: #ff8a7a; --b: #e2474f; }
.bas .ust-menu button[data-islem="nick"] { --a: #73adf0; --b: #3e60c6; }
.bas .ust-menu button[data-islem="kaydet"] { --a: #ffb56c; --b: #e9742a; }
.bas .ust-menu button[data-islem="oper"] { --a: #b98ff0; --b: #7748cb; }
.bas .ust-menu button[data-islem="ayarlar"] { --a: #68d39d; --b: #1f9566; }
.bas .ust-menu button[data-islem="hakkimizda"] { --a: #f78fbb; --b: #d2427c; }
.bas .ust-menu button[data-islem="djbasvuru"] { --a: #2dd4bf; --b: #0e7490; }
/* 3.78: "Canli" dugmesi (programdaki gibi kirmizi, yaninda yanip sonen nokta ve IZLE) */
.bas .ust-menu button[data-islem="canli"], body.gece .bas .ust-menu button[data-islem="canli"] { --a: #ff6262; --b: #c21d2d; }
.bas .ust-menu button[data-islem="canli"]::after { content: "● İZLE"; font-size: 10px; font-weight: 700; line-height: 1; background: rgba(255,255,255,.95); color: #c21d2d; border-radius: 6px; padding: 3px 5px 2px; letter-spacing: .3px; }
.yayin.parla { box-shadow: 0 0 0 3px #f87171 inset; transition: box-shadow .3s; }
/* DJ: cok ozel - mor-pembe, isik seridi ve yildiz */
.bas .ust-menu button[data-islem="dj"], body.gece .bas .ust-menu button[data-islem="dj"] { --b: #c026d3; background: linear-gradient(120deg, #a855f7 0%, #d946ef 50%, #ec4899 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.18), 0 3px 10px -2px rgba(236,72,153,.7); }
.bas .ust-menu button[data-islem="dj"]:hover { background: linear-gradient(120deg, #a855f7 0%, #d946ef 50%, #ec4899 100%); }
.bas .ust-menu button[data-islem="dj"]::after { content: "★"; position: relative; font-size: 10px; line-height: 1; background: rgba(255,255,255,.95); color: #c026d3; border-radius: 6px; padding: 3px 5px 2px; text-shadow: none; }
.bas .ust-menu button[data-islem="dj"] { background-image: linear-gradient(105deg, transparent 55%, rgba(255,255,255,.22) 55%, rgba(255,255,255,.22) 62%, transparent 62%), linear-gradient(120deg, #a855f7 0%, #d946ef 50%, #ec4899 100%); }
@media (max-width: 1360px) { .bas .ust-menu button[data-islem] svg { display: inline-block; } .bas .ust-menu button[data-islem] { padding: 0 10px 0 5px; } }
@media (max-width: 1330px) { .bas .ust-menu button[data-islem] svg { display: none; } .bas .ust-menu button[data-islem] { padding: 0 11px; } .bas .ust-menu button[data-islem="dj"] { padding-left: 11px; } }
/* mobil menu: ayni renkler, ikon kutusu */
.m-acilir button[data-islem] svg { box-sizing: border-box; padding: 4px; border-radius: 7px; background: linear-gradient(135deg, var(--a, #73adf0), var(--b, #3e60c6)); color: #fff; width: 26px; height: 26px; }
.m-acilir button[data-islem="kanal"] { --a: #ff8a7a; --b: #e2474f; } .m-acilir button[data-islem="nick"] { --a: #73adf0; --b: #3e60c6; }
.m-acilir button[data-islem="kaydet"] { --a: #ffb56c; --b: #e9742a; } .m-acilir button[data-islem="oper"] { --a: #b98ff0; --b: #7748cb; }
.m-acilir button[data-islem="ayarlar"] { --a: #68d39d; --b: #1f9566; } .m-acilir button[data-islem="hakkimizda"] { --a: #f78fbb; --b: #d2427c; }
.m-acilir button[data-islem="dj"] { --a: #a855f7; --b: #ec4899; }

/* 3.47: sohbet zemininde hafif arapca besmele (Seviyeli 1.0 / AdiIRC'deki gibi; cok soluk, yazilarin altinda kalir) */
.mesajlar { background: url(img/logo.png) no-repeat right 20px top 16px / 230px auto, url(img/besmele-a.png) no-repeat center 42% / min(520px, 62%) auto, var(--panel); }
body.gece .mesajlar { background: url(img/logo-koyu.png) no-repeat right 20px top 16px / 230px auto, url(img/besmele-k.png) no-repeat center 42% / min(520px, 62%) auto, var(--panel); }
@media (max-width: 767px) {
  .mesajlar { background: url(img/besmele-a.png) no-repeat center 40% / 80% auto, var(--panel); }
  body.gece .mesajlar { background: url(img/besmele-k.png) no-repeat center 40% / 80% auto, var(--panel); }
}

/* 3.63: uygulama (PWA) */
.giris-uygulama { width: 100%; margin-top: 10px; padding: 11px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ac); border-radius: 12px; background: transparent; color: var(--ac); font-weight: 600; font-size: 14px; cursor: pointer; }
.giris-uygulama svg { width: 18px; height: 18px; }
.giris-uygulama:hover { background: rgba(42, 141, 180, .08); }
body.uygulama .uygulama-dugme { display: none !important; }
.giris-play { margin: 10px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; border-radius: 12px; background: #000; border: 1px solid #a6a6a6; color: #fff !important; text-decoration: none !important; transition: filter .15s; }
.giris-play:hover { filter: brightness(1.3); }
.giris-play svg { width: 24px; height: 24px; flex: none; }
.giris-play span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.giris-play small { font-size: 11px; color: #e5e5e5; }
.giris-play b { font-size: 17px; font-weight: 700; }
body.uygulama .giris-play { display: none !important; }
body.uygulama .sohbet { height: calc(100dvh - env(safe-area-inset-top, 0px)); margin-top: env(safe-area-inset-top, 0px); }
body.uygulama .giris { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
#p-icerik ol { margin: 6px 0 10px 20px; padding: 0; } #p-icerik ol li { margin: 4px 0; }
/* 3.64: yasal baglantilar ve hesap silme */
.ayar-yasal { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ln, rgba(128,128,128,.25)); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ayar-yasal a { color: var(--ac); }
.ayar-yasal .hesap-sil { border: 1px solid #dc2626; color: #dc2626; background: transparent; border-radius: 10px; padding: 7px 12px; font-weight: 600; cursor: pointer; }
.ayar-yasal .hesap-sil:hover { background: rgba(220, 38, 38, .08); }
/* 3.67: cikis */
#m-menu .cikis-dugme { color: #dc2626; }

/* 3.84: telefonda tarayicidan girene (baglanti kopup geri gelince, haftada bir) uygulama notu */
.kopma-not{position:fixed;left:8px;right:8px;top:calc(env(safe-area-inset-top,0px) + 8px);z-index:9999;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border-radius:12px;background:#12324a;color:#fff;font-size:13px;line-height:1.35;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.kopma-not span{flex:1 1 180px}
.kopma-not a{background:#fff;color:#12324a;font-weight:700;padding:5px 10px;border-radius:999px;text-decoration:none;white-space:nowrap}
.kopma-not button{background:transparent;border:0;color:#fff;font-size:16px;padding:2px 6px;cursor:pointer}

/* 3.85: 3D / hareketli emojiler */
img.emj { width: 1.45em; height: 1.45em; vertical-align: -0.38em; margin: 0 .05em; object-fit: contain; display: inline-block; }
.satir.emj-tek .metin img.emj { width: 2.6em; height: 2.6em; vertical-align: middle; margin: 2px .08em; }
.emoji-kutu.emj-yeni { display: flex; flex-direction: column; width: 360px; max-height: 340px; padding: 0; overflow: hidden; grid-template-columns: none; }
.emj-sekmeler { display: flex; gap: 2px; padding: 6px 6px 4px; border-bottom: 1px solid var(--ln); overflow-x: auto; flex: 0 0 auto; scrollbar-width: thin; }
.emj-sekmeler button { flex: 0 0 auto; width: 34px; height: 34px; border: 0; background: transparent; border-radius: 8px; padding: 3px; font-size: 20px; opacity: .7; }
.emj-sekmeler button.secili { background: var(--panel2); opacity: 1; box-shadow: inset 0 -2px 0 var(--sari); }
.emj-sekmeler button img.emj { width: 26px; height: 26px; vertical-align: middle; margin: 0; }
.emj-baslik { font-size: 11.5px; font-weight: 700; color: var(--mut); padding: 6px 10px 2px; flex: 0 0 auto; }
.emj-izgara { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 4px 6px 8px; overflow-y: auto; flex: 1 1 auto; }
.emj-izgara button { border: 0; background: transparent; border-radius: 8px; padding: 3px; font-size: 24px; line-height: 1; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.emj-izgara button:hover { background: var(--panel2); transform: scale(1.12); }
.emj-izgara button img.emj { width: 32px; height: 32px; margin: 0; vertical-align: middle; }
.emj-ayar { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.emj-ayar select { flex: 1; padding: 5px; border-radius: 8px; border: 1px solid var(--ln); background: var(--panel); color: inherit; }
@media (max-width: 700px) { .emoji-kutu.emj-yeni { width: calc(100vw - 12px); right: 6px; max-height: 46vh; } .emj-izgara { grid-template-columns: repeat(8, 1fr); } }

/* 3.87: istek sahibi - video kartinda yuruyen yazi */
.yayin-istek { order: 9; flex-basis: 100%; position: relative; overflow: hidden; white-space: nowrap; max-width: 460px; width: 100%; margin: 2px auto 0; padding: 3px 0; border-radius: 999px; background: rgba(248, 113, 113, .16); color: #fecaca; font-size: 12px; font-weight: 600; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.yayin-istek.gizli { display: none; }
.yayin-istek span { display: inline-block; padding-left: 100%; animation: yayinIstek 14s linear infinite; }
@keyframes yayinIstek { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .yayin-istek span { animation: none; padding-left: 12px; } }
body.yayin-mini .yayin-istek { order: 0; margin: 0; width: 320px; max-width: 100%; }

/* 3.89: "Cok kucuk" goruntu (panel > Canli Video > Gorunum): bilgisayarda 160x90 video + tek satir bilgi, ince serit */
@media (min-width: 992px) {
  body.yayin-cokkucuk .yayin, body.yayin-cokkucuk .yayin.buyuk { padding: 6px 14px; gap: 14px; }
  body.yayin-cokkucuk .yayin-video { width: 160px !important; height: 90px !important; border-radius: 9px; }
  body.yayin-cokkucuk .yayin { justify-content: center; }
  body.yayin-cokkucuk .yayin-bilgi { flex: 0 1 470px; max-width: 470px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 10px; }
  body.yayin-cokkucuk .yayin-baslik { font-size: 14px; -webkit-line-clamp: 1; max-width: 360px; }
  body.yayin-cokkucuk .yayin-aciklama, body.yayin-cokkucuk .yayin-yayinci, body.yayin-cokkucuk .yayin-sonraki { display: none; }
  body.yayin-cokkucuk .yayin-istek { order: 9; flex: 0 0 300px; width: 300px; max-width: 300px; margin: 0; }
  body.yayin-cokkucuk .yayin-dugmeler { gap: 6px; }
  body.yayin-cokkucuk .yayin-dugmeler button { height: 30px; padding: 0 11px; font-size: 12px; }
  body.yayin-cokkucuk .ses-cagri { font-size: 0; gap: 0; padding: 6px; }
  body.yayin-cokkucuk .ses-cagri svg { width: 14px; height: 14px; }
  body.yayin-cokkucuk .yayin-ortu { padding-bottom: 6px; }
}

/* 3.92: oyun havalari - sadece figurlerden olusan satir (halay, horon...) buyuk 3D figurler */
.satir.emj-sahne .metin img.emj { width: 2.7em; height: 2.7em; vertical-align: middle; margin: 0 -.06em; }
@media (max-width: 600px) { .satir.emj-sahne .metin img.emj { width: 2.05em; height: 2.05em; margin: 0 -.08em; } }
