/* Benim Modum – WhatsApp Web tarzı sohbet + aynı moddakiler haritası */
:root {
    --wa-yesil: #00a884;
    --wa-yesil-koyu: #008069;
    --wa-panel: #ffffff;
    --wa-panel-ust: #f0f2f5;
    --wa-cizgi: #e9edef;
    --wa-yazi: #111b21;
    --wa-yazi-2: #667781;
    --wa-hover: #f5f6f6;
    --wa-secili: #f0f2f5;
    --wa-giden: #d9fdd3;
    --wa-gelen: #ffffff;
    --wa-duvar: #efeae2;
    --wa-giris: #ffffff;
    --wa-mavi-tik: #53bdeb;
}
[data-bs-theme="dark"] {
    --wa-panel: #111b21;
    --wa-panel-ust: #202c33;
    --wa-cizgi: #222d34;
    --wa-yazi: #e9edef;
    --wa-yazi-2: #8696a0;
    --wa-hover: #202c33;
    --wa-secili: #2a3942;
    --wa-giden: #005c4b;
    --wa-gelen: #202c33;
    --wa-duvar: #0b141a;
    --wa-giris: #2a3942;
}

.wa-app {
    --ust: 72px;
    display: flex;
    height: calc(100vh - var(--ust));
    height: calc(100dvh - var(--ust));
    background: var(--wa-panel);
    color: var(--wa-yazi);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

/* ---------- Sol: sohbet listesi ---------- */
.wa-liste {
    width: 30%;
    min-width: 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--wa-cizgi);
    background: var(--wa-panel);
}
.wa-ust {
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: var(--wa-panel-ust);
}
.wa-ust .wa-baslik { font-weight: 600; font-size: 16px; line-height: 1.2; }
.wa-ust .wa-alt { font-size: 13px; color: var(--wa-yazi-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-ust .wa-bosluk { flex: 1; min-width: 0; }
.wa-ikon {
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: transparent; color: var(--wa-yazi-2);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; flex-shrink: 0;
    transition: background .15s;
}
.wa-ikon:hover { background: rgba(0,0,0,.06); }
[data-bs-theme="dark"] .wa-ikon:hover { background: rgba(255,255,255,.08); }
.wa-ikon.aktif { color: var(--wa-yesil); }
.wa-ikon svg { width: 22px; height: 22px; }

.wa-mod-cip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 20px;
    color: #fff; background: var(--c, var(--wa-yesil));
}

.wa-ara { padding: 8px 12px; border-bottom: 1px solid var(--wa-cizgi); }
.wa-ara-kutu {
    display: flex; align-items: center; gap: 10px;
    background: var(--wa-panel-ust); border-radius: 8px; padding: 0 12px; height: 36px;
}
.wa-ara-kutu svg { width: 18px; height: 18px; color: var(--wa-yazi-2); flex-shrink: 0; }
.wa-ara-kutu input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 14px; color: var(--wa-yazi); }
.wa-filtreler { display: flex; gap: 8px; padding: 8px 12px 6px; overflow-x: auto; scrollbar-width: none; }
.wa-filtreler button {
    border: 0; border-radius: 16px; padding: 5px 12px; font-size: 13px; white-space: nowrap;
    background: var(--wa-panel-ust); color: var(--wa-yazi-2); cursor: pointer;
}
.wa-filtreler button.aktif { background: #d9fdd3; color: #008069; font-weight: 600; }
[data-bs-theme="dark"] .wa-filtreler button.aktif { background: #0a332c; color: #00a884; }

.wa-kisiler { flex: 1; overflow-y: auto; }
.wa-kisi {
    display: flex; align-items: center; gap: 12px; padding: 0 0 0 12px; cursor: pointer; position: relative;
}
.wa-kisi:hover { background: var(--wa-hover); }
.wa-kisi.secili { background: var(--wa-secili); }
.wa-kisi-govde {
    flex: 1; min-width: 0; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--wa-cizgi);
}
.wa-kisi-satir { display: flex; align-items: baseline; gap: 8px; }
.wa-kisi-ad { flex: 1; min-width: 0; font-size: 16px; color: var(--wa-yazi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-kisi-saat { font-size: 12px; color: var(--wa-yazi-2); flex-shrink: 0; }
.wa-kisi.okunmamis .wa-kisi-saat { color: #25d366; font-weight: 600; }
.wa-kisi-onizleme {
    flex: 1; min-width: 0; font-size: 14px; color: var(--wa-yazi-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px;
}
.wa-rozet {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #25d366; color: #fff;
    font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-mesafe { font-size: 12px; color: var(--wa-yazi-2); flex-shrink: 0; }
.wa-bolum-baslik { padding: 14px 16px 6px; font-size: 13px; font-weight: 600; color: var(--wa-yesil-koyu); text-transform: uppercase; letter-spacing: .3px; }
.wa-bilgi { padding: 32px 24px; text-align: center; color: var(--wa-yazi-2); font-size: 14px; line-height: 1.6; }
.wa-bilgi a { color: var(--wa-yesil); font-weight: 600; }

/* Avatar: fotoğraf yoksa baş harfler */
.wa-av {
    --boy: 49px;
    width: var(--boy); height: var(--boy); border-radius: 50%; flex-shrink: 0; position: relative;
    background: var(--c, #6b7c85); color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: calc(var(--boy) * .38); user-select: none;
}
.wa-av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-av .wa-mod-emoji {
    position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--wa-panel); display: flex; align-items: center; justify-content: center; font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.wa-av .wa-cevrimici {
    position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-radius: 50%;
    background: #25d366; border: 2px solid var(--wa-panel);
}

/* ---------- Orta: sohbet ---------- */
.wa-sohbet { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; background: var(--wa-duvar); }
.wa-sohbet .wa-ust { border-left: 1px solid var(--wa-cizgi); cursor: default; }
.wa-sohbet .wa-ust .wa-kim { cursor: pointer; display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.wa-geri { display: none; }

.wa-mesajlar {
    flex: 1; overflow-y: auto; padding: 16px 7% 8px; display: flex; flex-direction: column;
    background-color: var(--wa-duvar);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.045' stroke-width='1.4'%3E%3Ccircle cx='18' cy='20' r='7'/%3E%3Cpath d='M70 14l6 10h-12z'/%3E%3Cpath d='M100 60c0-6 9-6 9 0s-9 9-9 9-9-3-9-9 9-6 9 0z'/%3E%3Crect x='20' y='72' width='14' height='10' rx='3'/%3E%3Cpath d='M58 92q8-10 16 0'/%3E%3Ccircle cx='96' cy='104' r='4'/%3E%3Cpath d='M44 44l4 4 8-8'/%3E%3C/g%3E%3C/svg%3E");
}
[data-bs-theme="dark"] .wa-mesajlar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.04' stroke-width='1.4'%3E%3Ccircle cx='18' cy='20' r='7'/%3E%3Cpath d='M70 14l6 10h-12z'/%3E%3Cpath d='M100 60c0-6 9-6 9 0s-9 9-9 9-9-3-9-9 9-6 9 0z'/%3E%3Crect x='20' y='72' width='14' height='10' rx='3'/%3E%3Cpath d='M58 92q8-10 16 0'/%3E%3Ccircle cx='96' cy='104' r='4'/%3E%3Cpath d='M44 44l4 4 8-8'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-gun {
    align-self: center; margin: 10px 0; padding: 5px 12px; border-radius: 8px; font-size: 12.5px;
    background: var(--wa-gelen); color: var(--wa-yazi-2); box-shadow: 0 1px .5px rgba(11,20,26,.13); text-transform: uppercase;
}
.wa-not {
    align-self: center; max-width: 520px; margin: 6px 0 12px; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; text-align: center;
    background: #ffeecd; color: #54656f; box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
[data-bs-theme="dark"] .wa-not { background: #182229; color: #ffd279; }

.wa-balon {
    position: relative; max-width: 65%; margin-bottom: 2px; padding: 6px 7px 8px 9px; border-radius: 7.5px;
    font-size: 14.2px; line-height: 19px; color: var(--wa-yazi); box-shadow: 0 1px .5px rgba(11,20,26,.13);
    word-wrap: break-word; overflow-wrap: anywhere; white-space: pre-wrap;
}
.wa-balon.gelen { align-self: flex-start; background: var(--wa-gelen); }
.wa-balon.giden { align-self: flex-end; background: var(--wa-giden); }
.wa-balon.ilk { margin-top: 10px; }
.wa-balon.ilk.gelen { border-top-left-radius: 0; }
.wa-balon.ilk.giden { border-top-right-radius: 0; }
.wa-balon.ilk.gelen::before, .wa-balon.ilk.giden::before {
    content: ""; position: absolute; top: 0; width: 8px; height: 13px;
}
.wa-balon.ilk.gelen::before { left: -8px; background: var(--wa-gelen); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-balon.ilk.giden::before { right: -8px; background: var(--wa-giden); clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-balon a { color: #027eb5; text-decoration: underline; }
[data-bs-theme="dark"] .wa-balon a { color: #53bdeb; }
.wa-meta {
    float: right; margin: 6px 0 -5px 10px; font-size: 11px; color: var(--wa-yazi-2); white-space: nowrap;
    display: inline-flex; align-items: center; gap: 3px; position: relative; top: 4px;
}
[data-bs-theme="dark"] .wa-balon.giden .wa-meta { color: rgba(233,237,239,.6); }
.wa-tik { width: 16px; height: 11px; color: var(--wa-yazi-2); }
.wa-tik.okundu { color: var(--wa-mavi-tik); }
.wa-balon.medya { padding: 3px; }
.wa-balon.medya img, .wa-balon.medya video {
    display: block; max-width: 330px; width: 100%; max-height: 360px; border-radius: 6px; object-fit: cover; cursor: zoom-in;
}
.wa-balon.medya .wa-meta {
    position: absolute; right: 8px; bottom: 6px; float: none; margin: 0; top: auto; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.wa-balon.medya .wa-meta .wa-tik { color: #fff; }
.wa-etkinlik-kart { display: flex; gap: 10px; align-items: center; text-decoration: none !important; color: inherit !important;
    background: rgba(0,0,0,.05); border-radius: 6px; padding: 6px; margin-bottom: 4px; white-space: normal; }
.wa-etkinlik-kart img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.wa-etkinlik-kart b { display: block; font-size: 13.5px; line-height: 1.3; }
.wa-etkinlik-kart small { color: var(--wa-yazi-2); font-size: 12px; }

/* Boş durum (sohbet seçilmedi) */
.wa-bos {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 40px; background: var(--wa-panel-ust); border-bottom: 6px solid var(--wa-yesil); color: var(--wa-yazi-2);
}
.wa-bos h2 { font-size: 30px; font-weight: 300; color: var(--wa-yazi); margin: 24px 0 12px; }
.wa-bos p { max-width: 460px; font-size: 14px; line-height: 1.6; }
.wa-bos .wa-bos-ikon { width: 120px; height: 120px; border-radius: 50%; background: rgba(0,168,132,.12);
    display: flex; align-items: center; justify-content: center; font-size: 56px; }

/* Yazma alanı */
.wa-giris {
    flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 5px 12px; min-height: 62px;
    background: var(--wa-panel-ust); position: relative;
}
.wa-giris textarea {
    flex: 1; resize: none; border: 0; outline: 0; border-radius: 8px; padding: 9px 12px; max-height: 120px;
    font-size: 15px; line-height: 20px; background: var(--wa-giris); color: var(--wa-yazi); font-family: inherit;
}
.wa-gonder { color: var(--wa-yazi-2); }
.wa-gonder.dolu { color: var(--wa-yesil); }
.wa-gonder.dinliyor { color: #ea0038; animation: wa-nabiz 1s infinite; }
@keyframes wa-nabiz { 50% { transform: scale(1.12); } }

.wa-menu {
    position: absolute; bottom: 64px; z-index: 30; background: var(--wa-panel); border-radius: 12px;
    box-shadow: 0 6px 24px rgba(11,20,26,.2); padding: 8px; display: none;
}
.wa-menu.acik { display: block; }
.wa-ek-menu { left: 54px; min-width: 230px; }
.wa-ek-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; color: var(--wa-yazi);
    padding: 10px 12px; border-radius: 8px; font-size: 14.5px; text-align: left; cursor: pointer;
}
.wa-ek-menu button:hover { background: var(--wa-hover); }
.wa-ek-menu .wa-ek-ikon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; }
.wa-emoji-menu { left: 12px; width: 320px; max-width: calc(100% - 24px); }
.wa-emoji-menu .wa-emojiler { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 220px; overflow-y: auto; }
.wa-emoji-menu button { border: 0; background: transparent; font-size: 24px; padding: 4px; border-radius: 6px; cursor: pointer; }
.wa-emoji-menu button:hover { background: var(--wa-hover); }
.wa-etkinlik-menu { left: 12px; right: 12px; max-height: 340px; overflow-y: auto; }
.wa-etkinlik-menu .wa-em-baslik { font-weight: 600; font-size: 14px; padding: 4px 8px 8px; }
.wa-etkinlik-menu button {
    display: flex; gap: 10px; align-items: center; width: 100%; border: 0; background: transparent; text-align: left;
    padding: 6px 8px; border-radius: 8px; cursor: pointer; color: var(--wa-yazi);
}
.wa-etkinlik-menu button:hover { background: var(--wa-hover); }
.wa-etkinlik-menu img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #ddd; }
.wa-etkinlik-menu b { display: block; font-size: 13.5px; line-height: 1.3; }
.wa-etkinlik-menu small { color: var(--wa-yazi-2); font-size: 12px; }

.wa-asagi {
    position: absolute; right: 18px; bottom: 76px; width: 42px; height: 42px; border-radius: 50%; border: 0; z-index: 5;
    background: var(--wa-panel); color: var(--wa-yazi-2); box-shadow: 0 1px 4px rgba(11,20,26,.2); display: none; cursor: pointer;
}
.wa-asagi.goster { display: flex; align-items: center; justify-content: center; }

/* Açılır menü (üç nokta) */
.wa-acilir { position: absolute; top: 52px; right: 12px; z-index: 40; min-width: 210px; background: var(--wa-panel);
    border-radius: 6px; box-shadow: 0 2px 12px rgba(11,20,26,.25); padding: 8px 0; display: none; }
.wa-acilir.acik { display: block; }
.wa-acilir button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 22px; font-size: 14.5px; color: var(--wa-yazi); cursor: pointer; }
.wa-acilir button:hover { background: var(--wa-hover); }
.wa-acilir button.tehlike { color: #ea0038; }

/* ---------- Sağ: harita ---------- */
.wa-harita { width: 34%; min-width: 320px; position: relative; border-left: 1px solid var(--wa-cizgi); background: #e5e7eb; }
.wa-harita #map-canvas { position: absolute; inset: 0; }
.wa-harita-ust {
    position: absolute; top: 12px; left: 12px; right: 12px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; pointer-events: none;
}
.wa-harita-ust > * { pointer-events: auto; }
.wa-harita-cip {
    border: 0; border-radius: 20px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
    background: #fff; color: #374151; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: inline-flex; gap: 6px; align-items: center;
}
.wa-harita-cip.aktif { background: #111b21; color: #fff; }
.wa-harita-cip .adet { background: rgba(0,0,0,.08); border-radius: 10px; padding: 0 7px; font-size: 12px; }
.wa-harita-cip.aktif .adet { background: rgba(255,255,255,.2); }
.wa-harita-kapat { display: none; margin-left: auto; }
.wa-harita-alt {
    position: absolute; left: 12px; bottom: 14px; z-index: 5; background: rgba(255,255,255,.95); border-radius: 12px; padding: 8px 12px;
    font-size: 12.5px; color: #374151; box-shadow: 0 2px 10px rgba(0,0,0,.15); max-width: calc(100% - 80px);
}

/* Harita pinleri */
.wm-kisi-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; transition: transform .18s ease; z-index: 3; }
.wm-kisi-pin .foto {
    width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--c); background: var(--c) center/cover no-repeat;
    box-shadow: 0 6px 16px rgba(0,0,0,.28); color: #fff; font: 600 18px/44px system-ui, sans-serif; text-align: center;
}
.wm-kisi-pin::after {
    content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
    border: 7px solid transparent; border-top-color: var(--c); border-bottom: 0;
}
.wm-kisi-pin .emoji {
    position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
    font-size: 14px; line-height: 24px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.wm-kisi-pin .ad {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 9px; white-space: nowrap;
    background: rgba(17,27,33,.85); color: #fff; font: 600 11px/1 system-ui, sans-serif; padding: 4px 8px; border-radius: 10px;
}
.wm-kisi-pin .nabiz {
    position: absolute; left: 50%; top: 25px; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
    border: 2px solid var(--c); animation: wm-nabiz 2.2s ease-out infinite; pointer-events: none;
}
@keyframes wm-nabiz { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.wm-kisi-pin:hover, .wm-kisi-pin.aktif { transform: translate(-50%, -100%) scale(1.18); z-index: 20; }
/* Uzak yakınlaştırmada iğneler küçülür, isimler gizlenir (üst üste binmesin) */
#map-canvas.uzak .wm-kisi-pin { transform: translate(-50%, -100%) scale(.62); }
#map-canvas.uzak .wm-kisi-pin .ad { display: none; }
#map-canvas.uzak .wm-kisi-pin:hover, #map-canvas.uzak .wm-kisi-pin.aktif { transform: translate(-50%, -100%) scale(1); }

.wm-kisi-kart { width: 240px; font-family: system-ui, sans-serif; text-align: center; color: #111; }
.wm-kisi-kart .foto { width: 76px; height: 76px; margin: 4px auto 8px; border-radius: 50%; border: 3px solid var(--c);
    background: var(--c) center/cover no-repeat; color: #fff; font: 600 28px/70px system-ui, sans-serif; }
.wm-kisi-kart .ad { font-weight: 700; font-size: 15px; }
.wm-kisi-kart .alt { font-size: 12px; color: #6b7280; margin: 4px 0 10px; }
.wm-kisi-kart .dugmeler { display: flex; gap: 6px; }
.wm-kisi-kart .dugmeler button { flex: 1; border: 0; border-radius: 8px; padding: 8px 4px; font-size: 13px; font-weight: 600; cursor: pointer; }
.wm-kisi-kart .sohbet { background: #00a884; color: #fff; }
.wm-kisi-kart .ara { background: #f0f2f5; color: #111; }
.wm-etk-kart { width: 230px; font-family: system-ui, sans-serif; color: #111; }
.wm-etk-kart img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; display: block; }
.wm-etk-kart .tur { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; color: #fff; padding: 2px 8px; border-radius: 10px; }
.wm-etk-kart .baslik { font-weight: 700; font-size: 14px; margin: 6px 0 4px; line-height: 1.3; }
.wm-etk-kart .alt { font-size: 12px; color: #6b7280; line-height: 1.5; }
.wm-etk-kart .dugmeler { display: flex; gap: 6px; margin-top: 10px; }
.wm-etk-kart .dugmeler a, .wm-etk-kart .dugmeler button { flex: 1; text-align: center; border: 0; border-radius: 8px; padding: 7px 4px;
    font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.wm-etk-kart .git { background: #111; color: #fff; }
.wm-etk-kart .paylas { background: #d9fdd3; color: #008069; }
.gm-style .gm-style-iw-c { padding: 10px !important; border-radius: 14px !important; }

/* ---------- Arama ekranı ---------- */
.wa-arama {
    position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column; align-items: center; justify-content: space-between;
    background: radial-gradient(circle at 50% 30%, #1f3b3a 0%, #0b141a 70%); color: #fff; padding: 48px 16px 40px;
}
.wa-arama.acik { display: flex; }
.wa-arama #remoteVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: none; }
.wa-arama #localVideo {
    position: absolute; right: 16px; bottom: 120px; width: 150px; height: 200px; object-fit: cover; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.5); display: none; z-index: 2; transform: scaleX(-1);
}
.wa-arama-kisi { position: relative; z-index: 2; text-align: center; }
.wa-arama-kisi .wa-av { --boy: 120px; margin: 0 auto 18px; box-shadow: 0 0 0 8px rgba(255,255,255,.06); }
.wa-arama-kisi h3 { color: #fff; font-weight: 500; font-size: 26px; margin-bottom: 6px; }
.wa-arama-kisi p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }
.wa-arama.video-bagli .wa-arama-kisi .wa-av { display: none; }
.wa-arama.video-bagli .wa-arama-kisi { text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.wa-arama-dugmeler { position: relative; z-index: 2; display: flex; gap: 22px; }
.wa-arama-dugmeler button {
    width: 62px; height: 62px; border-radius: 50%; border: 0; color: #fff; font-size: 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.15);
}
.wa-arama-dugmeler button svg { width: 28px; height: 28px; }
.wa-arama-dugmeler .kapat { background: #ea0038; }
.wa-arama-dugmeler .kabul { background: #25d366; }
.wa-arama-dugmeler .kapali { background: #fff; color: #111; }

/* Fotoğraf büyütme */
.wa-onizleme { position: fixed; inset: 0; z-index: 100001; background: rgba(11,20,26,.94); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.wa-onizleme.acik { display: flex; }
.wa-onizleme img { max-width: 92vw; max-height: 90vh; border-radius: 4px; }

.wa-toast {
    position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); z-index: 100002; opacity: 0;
    background: #111b21; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; transition: all .25s; pointer-events: none;
}
.wa-toast.goster { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1279.98px) {
    .wa-harita { position: absolute; inset: 0; width: auto; min-width: 0; z-index: 50; display: none; }
    .wa-app.harita-acik .wa-harita { display: block; }
    .wa-harita-kapat { display: inline-flex; }
}
@media (max-width: 767.98px) {
    .wa-app { --ust: 64px; }
    .wa-liste { width: 100%; max-width: none; min-width: 0; border-right: 0; }
    .wa-sohbet { position: absolute; inset: 0; z-index: 20; display: none; }
    .wa-app.sohbet-acik .wa-sohbet { display: flex; }
    .wa-geri { display: inline-flex; margin-left: -8px; }
    .wa-mesajlar { padding: 12px 4%; }
    .wa-balon { max-width: 85%; }
    .wa-bos { display: none; }
}

/* Mod karakteri (mod-karakter.js) */
.wa-mod-karakter { width: 56px; height: 56px; margin-right: 10px; flex-shrink: 0; cursor: default; animation: wa-karakter-gir .5s cubic-bezier(.34,1.56,.64,1); }
.wa-mod-karakter:hover svg { transform: rotate(-8deg) scale(1.08); }
.wa-mod-karakter svg { transition: transform .25s; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.wa-mod-ad { font-size: 11.5px; opacity: .7; }
.wa-av .wa-mod-emoji.karakterli { background: none !important; box-shadow: none; padding: 0; line-height: 0; }
.wa-mod-emoji.karakterli svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
@keyframes wa-karakter-gir { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Belge eki */
.wa-balon.belge { min-width: 240px; max-width: 320px; }
.wa-belge { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 4px; border-radius: 8px; background: rgba(0,0,0,.05); color: inherit; text-decoration: none; }
[data-bs-theme="dark"] .wa-belge { background: rgba(255,255,255,.07); }
a.wa-belge:hover { background: rgba(0,0,0,.09); }
.wa-belge-ikon { width: 40px; height: 48px; border-radius: 6px; flex-shrink: 0; background: var(--c); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; clip-path: polygon(0 0, 72% 0, 100% 24%, 100% 100%, 0 100%); }
.wa-belge-yazi { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.wa-belge-yazi b { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-belge-yazi small { font-size: 11.5px; opacity: .65; }
.wa-belge-indir { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Yükleme çubuğu */
.wa-yukleme { height: 4px; border-radius: 2px; background: rgba(0,0,0,.12); overflow: hidden; margin: 4px 0 2px; }
.wa-yukleme span { display: block; height: 100%; background: var(--wa-yesil, #00a884); transition: width .2s; }
#chatMessages.surukle { outline: 3px dashed var(--wa-yesil, #00a884); outline-offset: -10px; }
/* Bilgisayar kamerası */
.wa-kamera { position: fixed; inset: 0; z-index: 1080; background: rgba(0,0,0,.92); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.wa-kamera.acik { display: flex; }
.wa-kamera video { max-width: min(960px, 100%); max-height: 70vh; border-radius: 14px; background: #000; transform: scaleX(-1); }
.wa-kamera.kayitta video { box-shadow: 0 0 0 4px #ef4444; }
.wa-kamera-alt { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wa-kamera-alt button { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; background: rgba(255,255,255,.15); color: #fff; }
.wa-kamera-alt button.ana { background: var(--wa-yesil, #00a884); }
.wa-kamera.kayitta #waKameraKayit { background: #ef4444; }

/* Sesli mesaj */
.wa-ses-kayit { display: none; align-items: center; gap: 10px; flex: 1; font-weight: 600; }
.wa-giris.ses-kayitta .wa-ses-kayit { display: flex; }
.wa-giris.ses-kayitta > :not(.wa-ses-kayit):not(.wa-menu) { display: none !important; }
.wa-ses-nokta { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: wa-nabiz 1s infinite; }
.wa-ses-ipucu { flex: 1; font-weight: 400; opacity: .6; font-size: 13px; }
@keyframes wa-nabiz { 50% { opacity: .25; } }
.wa-balon.ses { min-width: 240px; }
.wa-ses { display: flex; align-items: center; gap: 10px; padding: 2px 0 4px; }
.wa-ses-oynat { width: 36px; height: 36px; border-radius: 50%; border: 0; flex-shrink: 0; background: var(--wa-yesil, #00a884); color: #fff; display: flex; align-items: center; justify-content: center; }
.wa-ses-oynat svg { width: 18px; height: 18px; margin-left: 2px; }
.wa-ses-oynat .durdur, .wa-ses.caliyor .wa-ses-oynat .oynat { display: none; }
.wa-ses.caliyor .wa-ses-oynat .durdur { display: block; margin-left: 0; }
.wa-ses-cubuk { flex: 1; height: 4px; border-radius: 2px; background: rgba(0,0,0,.15); cursor: pointer; position: relative; }
[data-bs-theme="dark"] .wa-ses-cubuk { background: rgba(255,255,255,.2); }
.wa-ses-cubuk span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--wa-yesil, #00a884); }
.wa-ses-sure { font-size: 12px; opacity: .7; min-width: 34px; text-align: right; }

/* Mod şeridi + görünürlük (Benim Modum) */
.wa-mod-degistir { cursor: pointer; }
.wa-mod-degistir::after { content: " ▾"; opacity: .6; }
.wa-mod-alan { padding: 6px 10px 8px; border-bottom: 1px solid var(--wa-cizgi, #e9edef); }
.wa-mod-serit { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.wa-mod-kart { --k: #64748b; flex: 0 0 auto; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px;
    border-radius: 14px; border: 1.5px solid transparent; background: transparent; color: inherit; cursor: pointer; scroll-snap-align: start; }
.wa-mod-kart:hover { border-color: color-mix(in srgb, var(--k) 45%, transparent); }
.wa-mod-kart.secili { border-color: var(--k); background: color-mix(in srgb, var(--k) 10%, transparent); }
.wa-mod-kart span { font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; color: var(--k); }
.wa-mod-kart small { font-size: 10px; opacity: .6; line-height: 1.1; }
.wa-gorunur { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 4px 2px 0; cursor: pointer; user-select: none; }
.wa-gorunur input { position: absolute; opacity: 0; pointer-events: none; }
.wa-gorunur-anahtar { width: 32px; height: 18px; border-radius: 9px; background: #9aa5b1; position: relative; flex: 0 0 auto; transition: background .2s; }
.wa-gorunur-anahtar::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.wa-gorunur input:checked + .wa-gorunur-anahtar { background: #00a884; }
.wa-gorunur input:checked + .wa-gorunur-anahtar::after { transform: translateX(14px); }
.wa-gorunur input:focus-visible + .wa-gorunur-anahtar { outline: 2px solid #00a884; outline-offset: 2px; }
.wa-mod-kart { position: relative; }
.wa-mod-sayi { position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #00a884; color: #fff;
    font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--bs-body-bg, #fff); }
