/* MSİN — sürüm 1: çalışan arayüz için ek kurallar. Görünüm style.css'teki onaylı taslaktan gelir. */

html,body{background:#0d3f8f}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none !important}
body{touch-action:manipulation}

/* ---------- Ölçekli masaüstü ---------- */
.masaustu{position:absolute;left:0;top:0;transform-origin:0 0;user-select:none;-webkit-user-select:none}
.masaustu input,.masaustu textarea{user-select:text;-webkit-user-select:text}
.ms-simge{cursor:default;padding:4px 0;border-radius:3px}
.ms-simge:first-child span{background:none;outline:0;padding:0 3px}
.ms-simge.secili span{background:rgba(40,110,220,.55);outline:1px dotted rgba(255,255,255,.8)}
.ms-simge:focus-visible{outline:1px dotted #fff}
.tam-ekran{font:bold 11px Tahoma,sans-serif}
.tam-ekran:hover{filter:brightness(1.1)}

/* ---------- Pencere davranışı ---------- */
.pencere,.calar-grup{transition:none}
.pencere.kucuk-durum,.calar-grup.kucuk-durum{display:none !important}
.pencere .baslik,.calar-grup .tutamac{cursor:default;touch-action:none}
.pencere:not(.etkin) .baslik{filter:saturate(.55) brightness(1.12)}
.pencere:not(.etkin){box-shadow:0 6px 18px rgba(0,20,60,.35),0 0 0 1px #3a64a8}
.pencere-dugmeler i{cursor:pointer}
.pencere-dugmeler i:hover{filter:brightness(1.18)}
.pencere-dugmeler i:active{filter:brightness(.9)}
.pencere.buyutulmus{border-radius:0}
.pencere.buyutulmus .baslik{border-radius:0}
.dugme{cursor:pointer;padding:0 8px;min-height:22px;font:11px Tahoma,sans-serif}
.dugme:hover{filter:brightness(1.04);border-color:#2c6aa8}
.dugme.ana{font-weight:bold;border-color:#2c6aa8;background:linear-gradient(#f4faff,#bcdcf6)}
.titreyen{will-change:transform}

/* ---------- Oturum açma ---------- */
.oturum{flex:1;display:flex;flex-direction:column;align-items:center;padding:26px 22px 14px;gap:16px;
  background:linear-gradient(180deg,#bfe0f8 0%,#e4f2fc 40%,#f6fbff 100%)}
.oturum-resim{margin-top:6px}
.oturum-form{width:100%;display:flex;flex-direction:column;gap:9px;color:#1d3f66}
.oturum-form label{display:flex;flex-direction:column;gap:3px}
.oturum-form input:not([type]),.oturum-form select{height:23px;padding:0 6px;border:1px solid #9cb8d0;border-radius:3px;background:#fff;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.08);font-size:12px;color:#111}
.oturum-form .ot-kutu{flex-direction:row;align-items:center;gap:5px;color:#4a6278}
.ot-dugme{align-self:center;width:110px;height:27px;margin-top:6px;font-size:12px}
.ot-not{text-align:center;color:#6a7f94;font-size:10px}
.oturum-donen{flex:1;display:flex;flex-direction:column;align-items:center;gap:14px;color:#1d3f66;font-size:12px}
.oturum-donen .dugme{width:76px;height:23px}
.donen-figurler{position:relative;width:76px;height:76px;margin-top:20px;animation:donus 1.4s linear infinite}
.donen-figurler .fig{position:absolute;width:30px;height:38px}
.donen-figurler .f1{left:4px;top:19px;animation:dik 1.4s linear infinite}
.donen-figurler .f2{right:4px;top:19px;animation:dik 1.4s linear infinite}
@keyframes donus{to{transform:rotate(360deg)}}
@keyframes dik{to{transform:rotate(-360deg)}}

.kisiler-govde{flex:1;display:flex;flex-direction:column;min-height:0}
.ben-ad{cursor:pointer;display:flex;align-items:center;gap:3px;white-space:nowrap}
.ben-ad #ben-ad{max-width:150px;overflow:hidden;text-overflow:ellipsis}
input.ben-ileti{width:100%;height:17px;font:11px Tahoma,sans-serif;outline:0}
input.ben-ileti:focus{background:#fff;border-color:#6a9ac8}
input.ben-ileti::placeholder{color:#8a9aaa}
.dinliyor span{overflow:hidden;text-overflow:ellipsis}
.profil-resim.durum-busy{background:linear-gradient(#ffc8bc,#e2321c);border-color:#99150a}
.profil-resim.durum-away{background:linear-gradient(#ffe6b0,#f0981a);border-color:#b0600a}
.arac,.arac-yazi,.kisi-ekle{cursor:pointer}
.arac:hover{background:linear-gradient(#fff,#dcebf7);box-shadow:inset 0 0 0 1px #a8c4dc}
.arama-kutu input{flex:1;min-width:0;border:0;outline:0;background:none;font-style:italic;color:#111;height:20px}
.arama-kutu input:not(:placeholder-shown){font-style:normal}

.liste{overflow-y:auto;overflow-x:hidden}
.liste .grup{cursor:pointer}
.liste .grup.kapali .grup-ok{transform:rotate(-90deg)}
.liste li{cursor:default;border-radius:3px;margin:0 3px;padding-left:17px}
.liste li:hover{background:#eef6fd}
.liste li.secili{margin:0 3px}
.liste li.giriyor{animation:giris-parlama 1.6s ease-out}
@keyframes giris-parlama{0%{background:#fff3c8}100%{background:transparent}}

/* durum menüsü / küçük menüler */
.menu{position:absolute;z-index:9000;min-width:150px;padding:2px;background:#fff;border:1px solid #6a8aa8;
  box-shadow:2px 3px 8px rgba(0,20,60,.35);font:11px Tahoma,sans-serif;color:#111}
.menu li{display:flex;align-items:center;gap:6px;height:22px;padding:0 10px 0 6px;cursor:default;white-space:nowrap}
.menu li:hover{background:#316ac5;color:#fff}
.menu li svg{width:16px;height:16px;flex:none}
.menu .ayr{height:1px;padding:0;margin:3px 2px;background:#c8d4e0}
.menu .ayr:hover{background:#c8d4e0}

/* ================= SOHBET ================= */
.sohbet{left:446px;top:84px}
.buyuk-dugme{cursor:pointer;font:11px Tahoma,sans-serif}
.buyuk-dugme:hover{background:linear-gradient(#fffaf0,#ffe8b8);border-color:#e0b860}
.buyuk-dugme:active,.buyuk-dugme.basili{background:linear-gradient(#fff6dc,#ffd98a);border-color:#d8a440;box-shadow:inset 0 1px 0 #fff}
.mesajlar{overflow-y:auto;overflow-x:hidden;user-select:text;-webkit-user-select:text;scrollbar-width:thin}
.msj p{display:block;line-height:20px;overflow-wrap:anywhere;white-space:pre-wrap}
.msj p .ifade,.msj p svg.ifade{display:inline-block;vertical-align:-4px;margin:0 1px}
.msj p.resimli{white-space:normal}
.sistem{display:flex;align-items:center;gap:6px;margin:4px 0 7px;padding:3px 6px;font-size:11px;color:#55677a;
  border-top:1px dashed #c4d4e2;border-bottom:1px dashed #c4d4e2;background:#f6fafd}
.sistem svg{width:16px;height:16px;flex:none}
.sistem.uyari{color:#9a2a10;border-color:#f0b0a0;background:#fff4f0}
.sistem.oyun{color:#4a2a8a;border-color:#c8b8ec;background:#f8f5ff}
.sistem.gk{color:#7a5a00;border-color:#f0dc8a;background:#fffbe8}
.sistem a,.sistem .bag{color:#1a5ac8;text-decoration:underline;cursor:pointer}
.titresim{border-top:1px dashed #f0c48a}
.gonderilen-resim{display:inline-block;margin:3px 0 2px;padding:3px;border:1px solid #b4cadc;border-radius:3px;background:#fff;
  box-shadow:0 1px 3px rgba(0,40,90,.2)}
.gonderilen-resim svg{width:140px;height:96px;display:block}
.gonderilen-resim figcaption{font-size:10px;color:#6a7f94;text-align:center;font-family:Tahoma,sans-serif}

.bicim{cursor:pointer;position:relative}
.bicim:hover{background:linear-gradient(#fff,#dcebf7);box-shadow:inset 0 0 0 1px #a8c4dc}
.bicim.titret:hover{filter:brightness(1.05)}
.bicim.bekliyor{opacity:.55}
.bicim .ifade-onizleme{width:18px;height:18px;display:block}

.oneriler{flex:none;display:flex;flex-wrap:wrap;gap:4px;min-height:0;padding:5px 0 0}
.oneriler:empty{display:none}
.oneri{max-width:100%;height:21px;padding:0 9px;border-radius:11px;border:1px solid #8ab4d8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background:linear-gradient(#ffffff,#e2f0fb);color:#123a62;font:11px Tahoma,sans-serif;box-shadow:inset 0 1px 0 #fff}
.oneri:hover{border-color:#2c6aa8;background:linear-gradient(#fff,#cfe6fa)}
.yazma{margin-top:5px}
.yazma-kutu{position:relative;padding:0}
.yazma-kutu textarea{display:block;width:100%;height:100%;resize:none;border:0;outline:0;background:none;padding:6px 8px;font-size:13px;line-height:18px}
.gonder,.ara{cursor:pointer}
.gonder:hover,.ara:hover{filter:brightness(1.05)}
.gonder:disabled{opacity:.6}
.durum-cubugu .yaziyor-simge{visibility:hidden}
.durum-cubugu.yaziyor .yaziyor-simge{visibility:visible}
.durum-cubugu span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* açılır seçiciler */
.secici{position:absolute;z-index:50;padding:6px;background:#fff;border:1px solid #6a8aa8;border-radius:3px;box-shadow:2px 4px 12px rgba(0,20,60,.35)}
.secici h4{font:bold 11px Tahoma,sans-serif;color:#1d3f66;margin:2px 2px 5px}
.ifade-izgara{display:grid;grid-template-columns:repeat(8,26px);gap:2px}
.ifade-izgara button{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:3px}
.ifade-izgara button:hover{border-color:#8ab4d8;background:#eef6fd}
.ifade-izgara button svg{width:20px;height:20px}
.ozel-izgara{grid-template-columns:repeat(4,1fr);width:216px}
.ozel-izgara button{width:auto;height:44px;flex-direction:column;gap:1px;font-size:10px;color:#4a6278}
.gk-izgara{display:grid;grid-template-columns:repeat(3,72px);gap:4px}
.gk-izgara button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 2px;border:1px solid transparent;border-radius:3px;font-size:10px;color:#33495e}
.gk-izgara button:hover{border-color:#8ab4d8;background:#eef6fd}
.gk-izgara button svg{width:44px;height:44px}
.yazi-secici{width:236px;display:flex;flex-direction:column;gap:7px;font-size:11px;color:#1d3f66}
.yazi-secici select{height:22px;border:1px solid #9cb8d0;border-radius:2px}
.renkler{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}
.renkler button{height:20px;border-radius:2px;border:1px solid rgba(0,0,0,.3)}
.renkler button.secili{outline:2px solid #2c6aa8;outline-offset:1px}
.yazi-onizleme{padding:6px;border:1px solid #c4d8e8;background:#f9fcff;font-size:13px;min-height:30px}
.yazi-secici label{display:flex;align-items:center;gap:5px}

/* XOX tahtası (pencerenin sağına yapışık) */
.xox{position:absolute;left:100%;top:118px;margin-left:6px;width:184px;padding:0 0 8px;border-radius:6px;
  background:#eef5fb;border:2px solid #6a3aa8;box-shadow:0 8px 22px rgba(0,20,60,.45);font:11px Tahoma,sans-serif;color:#33264e}
.xox-baslik{height:24px;display:flex;align-items:center;gap:5px;padding:0 4px 0 7px;color:#fff;font-weight:bold;border-radius:4px 4px 0 0;
  background:linear-gradient(#a27ae8,#6a3aa8 55%,#7a4ac0);text-shadow:1px 1px 0 #3a1a6a}
.xox-baslik svg{width:16px;height:16px}
.xox-baslik span{flex:1}
.xox-kapat{position:relative;width:18px;height:18px;border-radius:3px;border:1px solid #fff;background:linear-gradient(#f39274,#d8431e)}
.xox-kapat::before,.xox-kapat::after{content:"";position:absolute;left:7px;top:2px;width:2px;height:12px;background:#fff;transform:rotate(45deg)}
.xox-kapat::after{transform:rotate(-45deg)}
.xox-skor{display:flex;justify-content:space-between;padding:6px 9px 4px;color:#4a3a6a}
.xox-skor b{color:#1a3d8f}.xox-skor b.o{color:#c2186b}
.xox-tahta{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px);gap:3px;justify-content:center;
  margin:2px 0 6px;padding:3px;background:#6a3aa8;border-radius:4px;width:max-content;margin-left:auto;margin-right:auto}
.xox-tahta button{background:linear-gradient(#ffffff,#eef0fa);border-radius:2px;display:flex;align-items:center;justify-content:center}
.xox-tahta button:hover:not(:disabled){background:#fff8d8}
.xox-tahta button:disabled{cursor:default}
.xox-tahta svg{width:36px;height:36px}
.xox-tahta .kazanan{background:linear-gradient(#fff3b0,#ffd76a)}
.xox-durum{text-align:center;min-height:15px;color:#4a3a6a;font-weight:bold}
.xox-alt{display:flex;justify-content:center;margin-top:6px}
.xox-alt .dugme{height:22px}
.xox .xox-isaret{animation:isaret .25s ease-out}
@keyframes isaret{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}

/* ================= ÇALAR ================= */
.calar-grup{position:absolute;left:1100px;top:44px;width:330px;z-index:4}
.calar-grup .calar{position:relative;left:auto;top:auto;width:100%}
.calar-grup .liste-pen{margin-top:8px}
.calar-dugmeler i{cursor:pointer}
.calar-dugmeler i.kucult{position:relative}
.calar-dugmeler i.kucult::after{content:"";position:absolute;left:2px;bottom:1px;width:5px;height:1.5px;background:#c8d0dc}
.calar-dugmeler i.kapat::before,.calar-dugmeler i.kapat::after{content:"";position:absolute;margin:3px 0 0 4px;width:1.5px;height:5px;background:#c8d0dc;transform:rotate(45deg)}
.calar-dugmeler i.kapat{position:relative}
.calar-dugmeler i.kapat::after{transform:rotate(-45deg)}
.c-dugme{cursor:pointer}
.c-dugme:hover{filter:brightness(1.2)}
.eq i{transition:height .06s linear;height:4%}
.ilerleme{cursor:pointer}
.ses{cursor:pointer}
.sarkilar li{cursor:pointer}
.sarkilar li:hover:not(.simdi){background:#14260f}
.kayan span{white-space:pre}

/* ================= KAFE SAYACI ================= */
.kafe-sayac{left:1100px;top:440px;width:330px;z-index:4;border-color:#2a3a4a;background:#141a22}
.kafe-sayac .baslik{background:linear-gradient(180deg,#8a98aa 0%,#4a5a6e 10%,#2e3b4c 50%,#26313f 55%,#3a4a5e 100%);border-color:#141a22}
.ks-govde{padding:9px 11px 10px;color:#c8d6e4;font-family:Tahoma,sans-serif}
.ks-satir{display:flex;align-items:baseline;justify-content:space-between}
.ks-satir span{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#8aa0b6}
.ks-satir b{font:bold 34px/1 "Courier New",monospace;color:#7fe0ff;text-shadow:0 0 8px rgba(127,224,255,.5);letter-spacing:2px}
.ks-alt{display:flex;gap:10px;margin-top:6px}
.ks-alt div{flex:1;display:flex;justify-content:space-between;padding:4px 7px;border-radius:3px;background:#0b1016;border:1px solid #000;font-size:11px}
.ks-alt span{color:#8aa0b6}
.ks-alt em{font:bold 12px "Courier New",monospace;font-style:normal;color:#ffd34d}
.ks-cubuk{height:6px;margin-top:8px;border-radius:3px;background:#0b1016;border:1px solid #000;overflow:hidden}
.ks-cubuk i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#3fbf2a,#7fe0ff)}
.ks-not{margin-top:6px;font-size:10px;color:#6f8498}
.kafe-sayac.az .ks-satir b{color:#ff8a5a;text-shadow:0 0 8px rgba(255,120,80,.6);animation:yanip-son 1s steps(2) infinite}
.kafe-sayac.az .ks-cubuk i{background:linear-gradient(90deg,#e2321c,#ff8a1f)}
@keyframes yanip-son{50%{opacity:.45}}

/* ================= RESİM GÖNDER ================= */
.resim-gonder{z-index:6}
.kartlar{grid-template-columns:1fr 1fr 1fr;gap:6px}
.resim-gonder{width:420px}
.kart{cursor:pointer;font-size:10.5px}
.kart:first-child{border-color:#b4cadc;box-shadow:none}
.kart:hover{border-color:#6a9ac8}
.kart.secili{border-color:#2c6aa8;box-shadow:0 0 0 2px #9ccaf0}
.kart-yer{height:62px;border:1px solid #b4cadc;overflow:hidden;background:#eef5fb}
.kart-yer svg{width:100%;height:100%;display:block}
.rg-alt .dugme{width:76px;height:24px}

/* ================= HAKKINDA ================= */
.hakkinda{width:360px;z-index:60}
.hk-govde{padding:14px 16px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#33495e;text-align:center;font-size:12px;line-height:1.5}
.hk-logo{width:48px;height:48px}
.hk-govde h2{font:bold 16px Tahoma,sans-serif;color:#0b2a5a}
.hk-govde h2 small{font-weight:normal;font-size:11px;color:#6a7f94}
.hk-alt{align-self:stretch;display:flex;justify-content:flex-end;margin-top:4px}
.hk-alt .dugme{width:76px;height:24px}

/* ================= BİLDİRİMLER ================= */
.bildirimler{position:absolute;right:12px;bottom:40px;width:226px;z-index:8000;display:flex;flex-direction:column-reverse;gap:6px;pointer-events:none}
.bildirimler .bildirim{position:relative;right:auto;bottom:auto;pointer-events:auto;cursor:pointer;animation:bildirim-gel .35s ease-out}
.bildirimler .bildirim.gidiyor{animation:bildirim-git .35s ease-in forwards}
@keyframes bildirim-gel{from{transform:translateY(120%);opacity:.3}to{transform:none;opacity:1}}
@keyframes bildirim-git{to{transform:translateY(40%);opacity:0}}
.bildirim .kapat-x{cursor:pointer}
.bildirim-ic p{min-width:0;overflow-wrap:anywhere}
.bildirim-ic p .alinti{display:block;color:#4a6278;font-size:11px;max-height:32px;overflow:hidden}

/* ================= BAŞLAT MENÜSÜ ================= */
.baslat{cursor:pointer;border:0}
.baslat:hover{filter:brightness(1.08)}
.baslat.acik{filter:brightness(.92)}
.baslat-menu{position:absolute;left:0;bottom:34px;width:250px;z-index:9500;border-radius:8px 8px 0 0;overflow:hidden;
  border:1px solid #0d3a8a;background:#fff;box-shadow:3px -2px 14px rgba(0,20,60,.45)}
.bm-ust{display:flex;align-items:center;gap:9px;padding:8px 10px;color:#fff;font-size:13px;text-shadow:1px 1px 1px #0a2f7a;
  background:linear-gradient(180deg,#7fb8f7 0%,#2a72e2 30%,#1754c4 100%)}
.bm-liste{padding:5px 0}
.bm-liste li{display:flex;align-items:center;gap:9px;height:30px;padding:0 12px;font-size:12px;cursor:default}
.bm-liste li:hover{background:#316ac5;color:#fff}
.bm-liste li svg{width:22px;height:22px;flex:none}
.bm-liste .bm-ayrac{height:1px;padding:0;margin:4px 10px;background:#d0dbe8}
.bm-liste .bm-ayrac:hover{background:#d0dbe8}
.bm-alt{display:flex;justify-content:flex-end;padding:6px 10px;background:linear-gradient(#4a8ae8,#1d5fc6);color:#fff}
.bm-alt span{display:flex;align-items:center;gap:5px;cursor:pointer}
.bm-alt svg{width:18px;height:18px}

/* ================= GÖREV ÇUBUĞU ================= */
.gc-dugmeler{overflow:hidden}
.gc-dugme{flex:0 1 180px;min-width:40px;text-align:left;cursor:default;font:11px Tahoma,sans-serif}
.gc-dugme:hover:not(.etkin){filter:brightness(1.1)}
.gc-dugme span{overflow:hidden;text-overflow:ellipsis}
.gc-dugme.yanip{animation:gc-yan .5s steps(1) 5 forwards}
@keyframes gc-yan{0%{background:linear-gradient(#ffc070,#f28a1e);color:#3a1a00}50%{background:linear-gradient(#5a9cf0,#3478e0);color:#fff;font-weight:normal}100%{background:linear-gradient(#ffc070,#f28a1e)}}
.tepsi-ses{display:flex}
.tepsi-ses svg{width:16px;height:16px}
#saat{min-width:34px;text-align:center}

/* ================= KAFE GİRİŞİ ve KİLİT ================= */
.kafe-giris,.kilit{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:Tahoma,Verdana,sans-serif;color:#d8e6f2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%,rgba(40,120,200,.35),transparent 70%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 3px),
    linear-gradient(180deg,#06121f,#0b2238 60%,#071523)}
.kilit-kutu{width:min(380px,92vw);padding:26px 26px 20px;border-radius:10px;text-align:center;
  background:linear-gradient(180deg,#16304a,#0e2034);border:1px solid #2f5a80;
  box-shadow:0 20px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.12)}
.kg-dugme{min-width:200px;height:42px;padding:0 22px;border-radius:21px;font:bold 15px Tahoma,sans-serif;color:#0a1a00;
  background:linear-gradient(#c9f78a,#5fb52a 60%,#4a9a1a);border:1px solid #2a6a10;box-shadow:0 4px 14px rgba(95,181,42,.35),inset 0 1px 0 rgba(255,255,255,.6)}
.kg-dugme:hover{filter:brightness(1.08)}
.kg-dugme:active{transform:translateY(1px)}
.kg-not{margin-top:14px;font-size:11px;line-height:1.5;color:#7f9ab2}

/* --- 2003-2006 Kafe Masa Açılış Penceresi --- */
.kafe-giris{color:#111;
  background:
    repeating-linear-gradient(0deg,rgba(0,0,0,.14) 0 1px,transparent 1px 3px),
    linear-gradient(180deg,#1b4e7c 0%,#12375a 55%,#0b243d 100%)}
.kg-kutu{width:min(410px,94vw);padding:3px;border-radius:0;text-align:left;
  background:#d4d0c8;border:2px solid;border-color:#ffffff #202020 #202020 #ffffff;
  box-shadow:inset 1px 1px 0 #dfdfdf,inset -1px -1px 0 #808080,4px 4px 0 rgba(0,0,0,.65)}
.kg-baslik{height:24px;display:flex;align-items:center;gap:6px;padding:0 5px 0 6px;
  background:linear-gradient(90deg,#0a246a 0%,#1d4f91 55%,#3a6ea5 100%);
  color:#fff;font:bold 11px Tahoma,Verdana,sans-serif;letter-spacing:.2px}
.kg-baslik-simge{width:15px;height:15px;flex:none}
.kg-baslik-yazi{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kg-baslik-durum{padding:1px 5px;font:bold 9px Tahoma,sans-serif;letter-spacing:.5px;color:#0a240a;
  background:#98e060;border:1px solid;border-color:#404040 #ffffff #ffffff #404040}
.kg-govde{padding:8px 8px 6px}
.kg-ust{display:flex;align-items:center;gap:10px;padding:7px 9px;
  background:linear-gradient(90deg,#071a40 0%,#123c7a 60%,#1c58a6 100%);
  border:2px solid;border-color:#808080 #ffffff #ffffff #808080}
.kg-logo{width:34px;height:34px;flex:none}
.kg-ust-yazi{min-width:0}
.kg-ad{font:bold 17px Verdana,Tahoma,sans-serif;letter-spacing:1.5px;color:#ffe46a;text-shadow:1px 1px 0 #000}
.kg-alt{margin-top:1px;font:bold 10px Tahoma,Verdana,sans-serif;letter-spacing:1px;color:#b8d8f8}
.kg-orta{display:flex;gap:8px;margin-top:8px;align-items:stretch}
.kg-masa{width:104px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 4px;
  background:#07140b;border:2px solid;border-color:#808080 #ffffff #ffffff #808080}
.kg-masa span{display:block;font:bold 10px Tahoma,sans-serif;letter-spacing:1.5px;color:#78b888}
.kg-masa b{display:block;margin:2px 0;font:bold 38px/1 "Courier New",monospace;color:#52f252}
.kg-masa small{display:block;padding:0 5px;font:bold 9px Tahoma,sans-serif;letter-spacing:1px;color:#ffe46a;background:#142e1a;border:1px solid #2a5a34}
.kg-bilgi{flex:1;display:grid;grid-template-columns:56px 1fr;align-content:center;gap:4px 8px;padding:7px 9px;margin:0;
  background:#ffffff;border:2px solid;border-color:#808080 #ffffff #ffffff #808080;font:11px/1.35 Tahoma,Verdana,sans-serif}
.kg-bilgi dt{font-weight:bold;color:#333333;border-bottom:1px dotted #d0cdc4;padding-bottom:2px}
.kg-bilgi dd{color:#000000;border-bottom:1px dotted #d0cdc4;padding-bottom:2px}
.kg-bilgi dt:last-of-type,.kg-bilgi dd:last-of-type{border-bottom:0;padding-bottom:0}
.kg-bilgi dd b{color:#0a246a}
.kg-dugme-alan{margin-top:8px;padding:6px;background:#cac6be;border:1px solid;border-color:#808080 #ffffff #ffffff #808080;text-align:center}
.kafe-giris .kg-dugme{min-width:196px;height:32px;padding:0 16px;border-radius:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font:bold 12px Tahoma,Verdana,sans-serif;color:#000000;background:linear-gradient(180deg,#ece9e2 0%,#d4d0c8 55%,#c4c0b8 100%);
  border:2px solid;border-color:#ffffff #404040 #404040 #ffffff;
  box-shadow:inset 1px 1px 0 #ffffff,inset -1px -1px 0 #808080;
  outline:1px dotted #404040;outline-offset:-5px}
.kafe-giris .kg-dugme:hover{filter:none;background:linear-gradient(180deg,#f4f1ea 0%,#dcd8d0 55%,#ccc8c0 100%)}
.kafe-giris .kg-dugme:active{transform:none;padding:1px 15px 0 17px;border-color:#404040 #ffffff #ffffff #404040;
  box-shadow:inset 1px 1px 0 #808080,inset -1px -1px 0 #dfdfdf}
.kg-dugme-simge{width:15px;height:15px;flex:none}
.kafe-giris .kg-not{margin-top:7px;padding:5px 7px;display:flex;align-items:center;gap:7px;
  background:#ebe8e1;border:1px solid;border-color:#808080 #ffffff #ffffff #808080;
  font:11px/1.35 Tahoma,Verdana,sans-serif;color:#222222}
.kg-not-simge{width:16px;height:16px;flex:none}
.kg-alt-serit{display:grid;grid-template-columns:72px 1fr 104px;gap:3px;padding:2px 0 0;font:10px Tahoma,Verdana,sans-serif;color:#222222}
.kg-alt-serit span{padding:2px 6px;background:#ccc8c0;border:1px solid;border-color:#808080 #ffffff #ffffff #808080;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kafe-giris.gidiyor{animation:kg-git .5s ease-in forwards}
@keyframes kg-git{to{opacity:0;transform:scale(1.03)}}
.kilit{background:rgba(4,12,22,.82);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:kilit-gel .4s ease-out}
@keyframes kilit-gel{from{opacity:0}}
.kilit-masa{font-size:11px;letter-spacing:4px;color:#7fb0d8}
.kilit-simge{width:64px;height:64px;margin:10px auto 6px}
.kilit h1{font:bold 24px Tahoma,sans-serif;color:#fff}
.kilit p{margin-top:4px;font-size:13px}
.kilit-ozet{margin:14px auto 18px;width:240px;display:grid;grid-template-columns:auto 1fr;gap:3px 12px;text-align:left;font-size:12px;color:#a8c4dc}
.kilit-ozet b{color:#ffd34d;font-family:"Courier New",monospace}

/* ================= TELEFON ================= */
@media (max-width:760px){
  .bildirimler{right:6px}
}
@media (prefers-reduced-motion:reduce){
  .donen-figurler,.donen-figurler .fig{animation-duration:4s}
  .kayan span{animation:none}
}

/* Duvar kâğıdı: telifsiz fotoğraf (CC0, bkz. README). Yüklenmezse alttaki çizili geçiş görünür. */
.masaustu{background:
    url("assets/duvar-kagidi.jpg") center 70% / cover no-repeat,
    radial-gradient(ellipse 60% 45% at 82% 18%,rgba(255,236,190,.55),transparent 70%),
    radial-gradient(ellipse 70% 60% at 10% 95%,rgba(90,220,230,.45),transparent 70%),
    linear-gradient(160deg,#0d3f8f 0%,#1d6fc9 38%,#3fa0dc 62%,#8fd0e6 84%,#f2d8b0 100%);}
.masaustu.duvar-var::before,.masaustu.duvar-var::after{display:none}

/* Sürüm 1.2: kişi sağ tık menüsü, engel, onay/profil kutusu */
.menu li.pasif{color:#a0a0a0}
.menu li.pasif:hover{background:transparent;color:#a0a0a0}
.menu li.alt{position:relative;padding-right:18px}
.menu li.alt::after{content:"";position:absolute;right:7px;top:7px;border:4px solid transparent;border-left:5px solid currentColor;border-right:0}
.menu li.alt > .menu{display:none;left:100%;top:-3px;color:#000}
.menu li.alt:hover > .menu{display:block}
.menu li .tik{width:12px;flex:none;text-align:center;font-weight:bold}
.menu li .tik.secili::before{content:"";display:inline-block;width:6px;height:3px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-2px)}
.liste li.engelli .ad{text-decoration:line-through;color:#8a8a8a}
.liste li.engelli .ileti{color:#b0b0b0 !important}
.pencere.kutu{width:340px;z-index:8000}
.kutu-ic{display:flex;gap:14px;align-items:flex-start;padding:16px 16px 10px;font:12px Tahoma,sans-serif;line-height:1.45}
.kutu-ic .uyari-simge{width:34px;height:34px;flex:none}
.kutu-ic p{margin:0 0 6px}
.kutu-ic .profil-ad{font-weight:bold;font-size:13px;margin-bottom:4px}
.kutu-ic dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:6px 0 0}
.kutu-ic dt{color:#5a6a7a}
.kutu-ic dd{margin:0;word-break:break-word}
.kutu-alt{display:flex;justify-content:flex-end;gap:6px;padding:4px 14px 14px}
.kutu-alt .dugme{min-width:72px;height:23px}

/* ================= SÜRÜM 1.2: BOYUT DÜZELTMESİ ================= */
/* Oturum açtı kartı yaklaşık %38 büyük */
.bildirimler{width:312px}
.bildirim{width:312px;border-radius:8px}
.bildirim header{height:28px;gap:7px;padding:0 8px;font-size:13px}
.bildirim header svg{width:18px;height:18px}
.bildirim .kapat-x{width:14px;height:14px}
.bildirim .kapat-x::before,.bildirim .kapat-x::after{left:6px;height:14px}
.bildirim-ic{gap:14px;padding:13px 14px}
.bildirim-ic .profil-resim.orta{width:72px;height:72px}
.bildirim-ic p{font-size:15px;line-height:1.45}
.bildirim-ic p b{font-size:16px}
.bildirim-ic p .alinti{font-size:14px;max-height:42px}

/* Sohbet penceresi ve yazıları daha büyük; kişi listesinin (sağ kenar 410) sağında kalır */
.sohbet{width:700px;height:700px}
.kime{padding:6px 12px 7px;font-size:13px}
.mesajlar{padding:10px 12px}
.msj{margin-bottom:7px}
.kim{font-size:13px}
.msj p{font-size:15.5px;line-height:23px;padding-left:16px}
.msj p .ifade,.msj p svg.ifade{width:21px;height:21px;vertical-align:-5px}
.titresim{font-size:13px}
.yazma{height:92px}
.yazma-kutu textarea{font-size:15px;line-height:21px}
.gonder{font-size:13px}
.gonder-dugmeler{width:74px}
.sag-sutun{width:130px}
.sag-sutun .profil-resim.buyuk{width:122px;height:122px}

/* Tam ekran düğmesi: simge ve yazı ortada */
.tam-ekran{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;height:26px;padding:0 11px}
.tam-ekran svg{display:block;flex:none;width:13px;height:13px}
.tam-ekran span{display:block;line-height:1}
.bm-liste li svg{display:block}
.bm-liste li span{line-height:1}

/* Bildirim kartı: yükseklik yaklaşık %60 fazla, içerik dikeyde ortalı */
.bildirim header{height:30px;font-size:14px}
.bildirim-ic{align-items:center;min-height:124px;gap:16px;padding:18px 16px}
.bildirim-ic .profil-resim.orta{width:88px;height:88px}
.bildirim-ic p{font-size:15px;line-height:1.5}
.bildirim-ic p b{font-size:17px}

/* Kişi listesi penceresi %23 geniş, yazılar büyük; sohbet penceresi 512'den başlar */
.kisiler{width:374px;height:640px}
.profil-serit{gap:11px;padding:12px 11px 11px}
.profil-serit .profil-resim{width:70px;height:70px}
.ben-ad{font-size:15px}
.ben-durum{font-size:12px}
input.ben-ileti{height:20px;font-size:12.5px}
.dinliyor{font-size:12.5px}
.arac-serit{height:32px}
.arama{padding:6px 8px}
.arama-kutu{height:26px;font-size:13px}
.grup{font-size:13.5px;padding:6px 9px 4px}
.liste li{height:28px;font-size:14px}
.liste li .st{width:19px;height:19px;margin-right:7px}
.liste li .ileti{font-size:12.5px}
.liste li .ileti.calan svg{width:13px;height:13px}
.sohbet{left:512px}

/* ---- fotoğraflı resimler ---- */
.kart-yer img{width:100%;height:100%;object-fit:cover;display:block}
.gonderilen-resim img{display:block;max-width:220px;width:220px;height:auto;max-height:170px;object-fit:cover;cursor:zoom-in;
  filter:saturate(.92) contrast(1.02);border:1px solid #c8d4de}
.gonderilen-resim.fotolu{padding:5px 5px 3px;box-shadow:0 2px 4px rgba(0,40,90,.3)}
.foto-katman{position:fixed;inset:0;z-index:99999;background:rgba(10,20,34,.78);display:flex;flex-direction:column;
  align-items:center;justify-content:center;cursor:zoom-out;gap:10px}
.foto-katman figure{margin:0;padding:8px 8px 5px;background:#fff;border:1px solid #8fb0cc;box-shadow:0 6px 24px rgba(0,0,0,.6)}
.foto-katman img{display:block;max-width:86vw;max-height:78vh;width:auto;height:auto}
.foto-katman figcaption{font:12px Tahoma,sans-serif;color:#456;text-align:center;padding-top:4px}
.foto-katman .foto-kapat{color:#dbe8f4;font:11px Tahoma,sans-serif}

/* ================= SÜRÜM 1.4: MAYIN BAYRAĞI ================= */
.oyun-menu{min-width:142px;z-index:70}
.oyun-menu li{cursor:pointer}

.mayin{position:absolute;left:100%;top:54px;margin-left:6px;width:362px;padding:0 0 8px;
  background:#c0c0c0;border:2px solid;border-color:#ffffff #404040 #404040 #ffffff;
  box-shadow:0 8px 22px rgba(0,20,60,.45),0 0 0 1px #0d3a8a;border-radius:6px 6px 2px 2px;
  font:11px Tahoma,sans-serif;color:#111}
.mayin-baslik{height:25px;display:flex;align-items:center;gap:5px;padding:0 4px 0 7px;color:#fff;font-weight:bold;
  border-radius:4px 4px 0 0;background:linear-gradient(180deg,#7fb8f7 0%,#3c86ea 12%,#1f62d4 52%,#2a72e2 92%,#1a5ac8 100%);
  text-shadow:1px 1px 0 #0a2f7a}
.mayin-simge{width:16px;height:16px;display:flex;align-items:center;justify-content:center;
  background:#d8e6f4;border-radius:3px;padding:1px}
.mayin-simge svg{width:14px;height:14px}
.mayin-baslik span:nth-child(2){flex:1}
.mayin-kapat{position:relative;width:18px;height:18px;border-radius:3px;border:1px solid #fff;
  background:linear-gradient(#f39274,#d8431e)}
.mayin-kapat::before,.mayin-kapat::after{content:"";position:absolute;left:7px;top:2px;width:2px;height:12px;background:#fff;transform:rotate(45deg)}
.mayin-kapat::after{transform:rotate(-45deg)}

.mayin-skor{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:7px 8px 6px;padding:5px 7px;
  background:#c0c0c0;border:2px solid;border-color:#808080 #ffffff #ffffff #808080}
.m-oyuncu{display:flex;align-items:center;gap:5px;padding:2px 5px;border:1px solid transparent;border-radius:2px;min-width:0}
.m-oyuncu.sirada{background:#dce9f8;border-color:#4a82c4;box-shadow:inset 0 1px 0 #fff}
.m-bot-kutu.sirada{background:#fae0dc;border-color:#c8524a}
.m-bayrak{width:16px;height:16px;flex:none}
.m-bayrak svg{width:16px;height:16px}
.m-ad{font-weight:bold;color:#222;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-sayac{min-width:28px;padding:1px 4px;text-align:center;font:bold 15px/1.15 "Courier New",monospace;
  background:#111;border:1px solid;border-color:#606060 #eee #eee #606060;letter-spacing:1px}
.m-ben-kutu .m-sayac{color:#5cb3ff}
.m-bot-kutu .m-sayac{color:#ff5a52}
.m-orta{display:flex;flex-direction:column;align-items:center;line-height:1.1;color:#333}
.m-orta small{font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#555}
.m-orta b{font:bold 13px "Courier New",monospace;color:#111}

.mayin-tahta{display:grid;grid-template-columns:repeat(16,21px);grid-template-rows:repeat(16,21px);
  width:max-content;margin:0 auto;border:3px solid;border-color:#808080 #ffffff #ffffff #808080;background:#808080}
.m-h{width:21px;height:21px;padding:0;display:flex;align-items:center;justify-content:center;
  background:#c0c0c0;border:2px solid;border-color:#ffffff #7b7b7b #7b7b7b #ffffff;
  font:bold 13px/1 Tahoma,Verdana,sans-serif;cursor:pointer;position:relative}
.m-h:hover:not(:disabled){background:#d0d0d0}
.m-h:active:not(:disabled){border-width:1px;border-color:#808080;background:#b8b8b8}
.m-h:disabled{cursor:default}
.m-h.acik{border:1px solid #8a8a8a;background:#bdbdbd}
.m-h svg{width:16px;height:16px;pointer-events:none}
.m-h.mayin-ben{background:#c5ddf8;border-color:#5b8ec8}
.m-h.mayin-bot{background:#f7ccc8;border-color:#c8645c}
.m-h.mayin-kaldi{background:#d2d2d2}
.m-h.son-hamle{box-shadow:inset 0 0 0 2px #f2b400}

/* Klasik mayın tarlası sayı renkleri */
.m-h.s-1{color:#0000ff}
.m-h.s-2{color:#008000}
.m-h.s-3{color:#ff0000}
.m-h.s-4{color:#000080}
.m-h.s-5{color:#800000}
.m-h.s-6{color:#008080}
.m-h.s-7{color:#000000}
.m-h.s-8{color:#555555}

.mayin-durum{margin:6px 8px 0;padding:3px 6px;text-align:center;font-weight:bold;color:#1d2e42;min-height:20px;
  background:#d8d8d8;border:1px solid;border-color:#808080 #ffffff #ffffff #808080}
.mayin-alt{display:flex;justify-content:center;margin-top:6px}
.mayin-alt .dugme{height:23px;background:linear-gradient(#f4f4f4,#d4d4d4);border:2px solid;
  border-color:#ffffff #707070 #707070 #ffffff;color:#111;font-weight:bold}
.mayin-alt .dugme:hover{filter:brightness(1.04);border-color:#ffffff #505050 #505050 #ffffff}


/* Görüntülü arama: sohbet penceresinin sağ sütununda, karşı kişinin profil resminin yerinde */
.sag-sutun.aramada{width:328px}
.gr-alan{width:100%;font:12px Tahoma,sans-serif;color:#1d2e42}
.gr-ust{display:flex;align-items:center;gap:5px;height:20px;margin-bottom:3px;font-weight:bold;white-space:nowrap}
.gr-ust svg{width:18px;height:16px;flex:none}
.gr-baslik{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.gr-ekran{position:relative;width:100%;aspect-ratio:16/9;background:#0b0d12;border:2px solid;border-color:#7a8796 #fff #fff #7a8796;overflow:hidden;box-sizing:border-box}
.gr-tuval,.gr-yedek,.gr-yedek svg{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
.gr-video{position:absolute;width:2px;height:2px;opacity:0;pointer-events:none}
.gr-tarama{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(rgba(0,0,0,.22) 0 1px,transparent 1px 3px);mix-blend-mode:multiply}
.gr-araniyor{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#cfe3f7;font-weight:bold}
.gr-araniyor svg{width:46px;height:40px;animation:grNabiz 1.1s ease-in-out infinite}
@keyframes grNabiz{50%{transform:scale(1.12);opacity:.7}}
.gr-ben{width:96px;height:72px;margin-bottom:6px;background:#000;border:2px solid;border-color:#7a8796 #fff #fff #7a8796;border-radius:3px;color:#9aa;display:flex;align-items:center;justify-content:center;font:11px Tahoma,sans-serif}
.gr-son{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.65);color:#fff;font-weight:bold;font-size:13px}
.gr-son[hidden],.gr-araniyor[hidden],.gr-yedek[hidden],.gr-tuval[hidden]{display:none}
.gr-soz{min-height:38px;margin-top:6px;padding:4px 6px;background:#fff;border:1px solid #9fb3c8;color:#1d2e42;font-size:13px;line-height:1.4}
.gr-alt{display:flex;align-items:center;justify-content:flex-end;margin-top:6px}
.gr-sure{font-family:'Courier New',monospace;font-weight:bold;color:#1d2e42}
.gr-genc{animation:grKipir 2.4s ease-in-out infinite;transform-origin:80px 120px}
@keyframes grKipir{0%,100%{transform:translate(0,0) rotate(0)}30%{transform:translate(1px,-1px) rotate(1deg)}70%{transform:translate(-1px,0) rotate(-1deg)}}
.gr-goz{animation:grKirp 3.2s infinite;transform-origin:80px 58px}
@keyframes grKirp{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
.gr-ekr{animation:grTitre 1.7s steps(2) infinite}.gr-ekr2{animation-delay:.6s}
@keyframes grTitre{50%{opacity:.75}}
.konusuyor .gr-agiz{animation:grAgiz .22s steps(2) infinite;transform-origin:80px 70px}
@keyframes grAgiz{50%{transform:scaleY(1.9)}}

/* Kenardan boyutlandırma */
.boy-tut{position:absolute;z-index:50}
.boy-n,.boy-s{left:8px;right:8px;height:6px;cursor:ns-resize}
.boy-n{top:-3px}.boy-s{bottom:-4px}
.boy-e,.boy-w{top:8px;bottom:8px;width:6px;cursor:ew-resize}
.boy-e{right:-4px}.boy-w{left:-4px}
.boy-ne,.boy-nw,.boy-se,.boy-sw{width:12px;height:12px}
.boy-ne{top:-3px;right:-4px;cursor:nesw-resize}.boy-sw{bottom:-4px;left:-4px;cursor:nesw-resize}
.boy-nw{top:-3px;left:-4px;cursor:nwse-resize}.boy-se{bottom:-4px;right:-4px;cursor:nwse-resize}
.pencere.buyutulmus .boy-tut{display:none}
body.boyutlaniyor{user-select:none}
/* Büyüt simgesi: ortalı tam kare; büyütülmüşken üst üste iki kare */
.pencere-dugmeler .buyut::after{box-sizing:border-box;left:5px;top:5px;width:11px;height:11px;border:1.5px solid #fff;border-top-width:3px}
.pencere.buyutulmus .pencere-dugmeler .buyut::after{left:5px;top:8px;width:8px;height:8px}
.pencere.buyutulmus .pencere-dugmeler .buyut::before{content:"";position:absolute;box-sizing:border-box;left:8px;top:5px;width:8px;height:8px;border:1.5px solid #fff;border-top-width:3px;border-left-width:0;border-bottom-width:0}
.pencere-dugmeler .kucult::after{left:5px;bottom:5px;width:8px;height:3px}
.pencere-dugmeler .kapat::before,.pencere-dugmeler .kapat::after{left:9.3px;top:4px;width:2.4px;height:13px}

/* ================= KARŞI ATAK 1.6 ================= */
.kerpic{z-index:7;border-color:#3a2a14;background:#0c0f0a}
.kerpic .baslik{background:linear-gradient(180deg,#d6a566 0%,#a8723a 10%,#7a4f26 50%,#6b4420 55%,#8a5e30 100%);border-color:#3a2a14}
.kerpic-govde{flex:1;min-height:0;background:#000;position:relative}
.kerpic-govde iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
body.boyutlaniyor .kerpic-govde iframe{pointer-events:none}
.yaris{border-color:#2a1446;background:#07060f}
.yaris .baslik{background:linear-gradient(180deg,#ff7ac4 0%,#c2318a 12%,#5a1f8f 52%,#3c1470 56%,#2a5fd6 100%);border-color:#1a0c33}
.sahil{border-color:#5a2a14;background:#1a0f0a}
.sahil .baslik{background:linear-gradient(180deg,#ffd27a 0%,#ff9a4a 14%,#e2603a 50%,#c2442e 55%,#2a8fb8 100%);border-color:#4a1e10}
