/* Premium yardim asistani — sohbet penceresi.
 *
 * Canli destek gorunumu, ama yazisma yok: asistan hazir cevaplari
 * veriyor, kullanici yalnizca hazir yanitlara dokunuyor. Bu yuzden
 * mesaj yazma alani bilerek YOK.
 *
 * Renk: panel icinde renk YOK. Zemin #141414, cerceve #2a2a2a, 10px
 * kose — sayfanin kendi olculeri. Vurgu renkle degil kontrastla veriliyor
 * (acik gri dugme). Sayfadaki altin yalnizca ac dugmesinde kaliyor ki
 * sohbet, arkasindaki satis sayfasiyla yarismasin.
 *
 * Mobil once: telefonda tam ekran, masaustunde sag altta sabit pencere.
 */

/* --------------------------------------------------------- ac dugmesi
   Yalniz fotograf, ne oldugunu anlatmiyordu; yanina "Yardim" yazisi
   kondu ki dokunmadan once ne acilacagi belli olsun. */
.pp-help-fab{position:fixed;right:16px;bottom:16px;z-index:7000;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:center;-ms-flex-align:center;align-items:center;
  gap:9px;padding:6px 14px 6px 6px;
  border:1px solid #3a3a3a;border-radius:2px;background:#1a1a1a;
  color:#ededed;font-family:inherit;font-size:13.5px;font-weight:600;
  letter-spacing:.2px;cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.6)}
.pp-help-fab img{-ms-flex:0 0 auto;flex:0 0 auto;
  display:block;width:38px;height:38px;border-radius:50%;
  border:1px solid #444;-o-object-fit:cover;object-fit:cover}
.pp-help-fab span{white-space:nowrap}
/* Cevrimici noktasi fotografin kosesinde. */
.pp-help-fab i{position:absolute;left:38px;bottom:9px;
  width:10px;height:10px;border-radius:50%;
  background:#3cc46c;border:2px solid #1a1a1a}
.pp-help-fab:active{background:#242424}

/* ------------------------------------------------------------ pencere */
.pp-help{position:fixed;z-index:100002;right:18px;bottom:86px;
  width:376px;max-width:calc(100% - 36px);
  height:560px;max-height:calc(100vh - 116px)}
.pp-help.hidden{display:none}
.pp-help-backdrop{display:none}

.pp-help-panel{position:relative;width:100%;height:100%;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-orient:vertical;-webkit-box-direction:normal;
  -ms-flex-direction:column;flex-direction:column;
  background:#141414;border:1px solid #2a2a2a;border-radius:10px;
  box-shadow:0 24px 60px rgba(0,0,0,.66);overflow:hidden}

/* ------------------------------------------------------------- baslik */
.pp-help-head{-ms-flex:0 0 auto;flex:0 0 auto;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:center;-ms-flex-align:center;align-items:center;
  gap:11px;padding:13px 12px 13px 14px;
  background:#181818;border-bottom:1px solid #2a2a2a}

/* Asistanin fotografi. Daireyi tam doldurur; object-fit yoksa (eski
   tarayici) yine ortalanmis durur, cerceve disina tasmaz. */
.pp-help-ava{position:relative;-ms-flex:0 0 auto;flex:0 0 auto;
  width:40px;height:40px;border-radius:50%;
  background:#1e1e1e;border:1px solid #3a3a3a;overflow:hidden}
.pp-help-ava img{display:block;width:100%;height:100%;
  -o-object-fit:cover;object-fit:cover}
/* Cevrimici noktasi: "aninda yanit" sozunun gorsel karsiligi. */
.pp-help-ava:after{content:'';position:absolute;right:-1px;bottom:-1px;
  width:11px;height:11px;border-radius:50%;
  background:#3cc46c;border:2px solid #181818}

.pp-help-who{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}
.pp-help-who strong{display:block;color:#fff;font-size:14.5px;
  font-weight:700;line-height:1.3;letter-spacing:.2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-help-who small{display:block;color:#8a8a8a;font-size:11.5px;
  font-weight:400;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-help-who small i{font-style:normal;color:#3cc46c;font-weight:600}

.pp-help-back,.pp-help-close{-ms-flex:0 0 auto;flex:0 0 auto;
  width:32px;height:32px;padding:0;border:1px solid #2a2a2a;border-radius:8px;
  background:#1f1f1f;color:#9a9a9a;
  font-size:17px;line-height:1;cursor:pointer;font-family:inherit}
.pp-help-back:active,.pp-help-close:active{background:#2b2b2b}
.pp-help-back[hidden]{display:none}

/* Ust menu: sohbeti yenile / destek / sil. */
.pp-help-menu-btn{-ms-flex:0 0 auto;flex:0 0 auto;
  width:32px;height:32px;padding:0;border:1px solid #2a2a2a;border-radius:8px;
  background:#1f1f1f;color:#9a9a9a;cursor:pointer;font-family:inherit}
.pp-help-menu-btn svg{width:16px;height:16px;margin:0 auto;display:block;fill:#9a9a9a}
.pp-help-menu-btn:active{background:#2b2b2b}

.pp-help-menu{position:absolute;z-index:3;right:12px;top:58px;
  min-width:186px;padding:5px;
  background:#1b1b1b;border:1px solid #333;border-radius:10px;
  box-shadow:0 14px 32px rgba(0,0,0,.6)}
.pp-help-menu.hidden{display:none}
.pp-help-menu-item{display:block;width:100%;padding:10px 12px;margin:0;
  border:0;border-radius:7px;background:transparent;color:#d6d6d6;
  font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;
  text-align:left;cursor:pointer}
.pp-help-menu-item:active{background:#262626}
.pp-help-menu-item:last-child{color:#e08a8a}

/* Basliktaki fotograf dokunulabilir: tam boyu acar. */
.pp-help-ava{cursor:pointer}

/* ------------------------------------------------- asistan secici */
.pp-help-secici{position:absolute;z-index:4;left:0;right:0;top:0;bottom:0;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-orient:vertical;-webkit-box-direction:normal;
  -ms-flex-direction:column;flex-direction:column;
  background:#141414}
.pp-help-secici.hidden{display:none}
.pp-help-secici-bas{-ms-flex:0 0 auto;flex:0 0 auto;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:center;-ms-flex-align:center;align-items:center;
  padding:14px 12px 14px 14px;border-bottom:1px solid #2a2a2a;background:#181818}
.pp-help-secici-bas strong{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;
  color:#fff;font-size:14.5px;font-weight:700}
.pp-help-secici-x{-ms-flex:0 0 auto;flex:0 0 auto;width:32px;height:32px;padding:0;
  border:1px solid #2a2a2a;border-radius:2px;background:#1f1f1f;color:#9a9a9a;
  font-size:17px;line-height:1;cursor:pointer;font-family:inherit}

/* Izgara: sarilan flex satirlari dikeyde esniyordu (align-content
   varsayilani stretch). Grid ile satir yuksekligi icerige gore kaliyor. */
.pp-help-secici-izgara{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  display:grid;grid-template-columns:repeat(2,1fr);
  -ms-flex-line-pack:start;align-content:start;
  gap:10px;padding:14px}
.pp-help-kart{margin:0;padding:14px 8px 12px;
  border:1px solid #2c2c2c;border-radius:2px;background:#1c1c1c;
  color:#cfcfcf;font-family:inherit;font-size:12.5px;font-weight:600;
  line-height:1.35;text-align:center;cursor:pointer}
.pp-help-kart img{display:block;width:64px;height:64px;margin:0 auto 9px;
  border-radius:50%;border:1px solid #3a3a3a;
  -o-object-fit:cover;object-fit:cover}
.pp-help-kart span{display:block}
.pp-help-kart.secili{border-color:#e6e6e6;background:#242424;color:#fff}
.pp-help-kart:active{background:#262626}

/* ------------------------------------------------- tam boy fotograf */
.pp-help-foto{position:fixed;z-index:100003;left:0;right:0;top:0;bottom:0;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:center;-ms-flex-align:center;align-items:center;
  -webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;
  padding:20px;background:rgba(0,0,0,.92)}
.pp-help-foto.hidden{display:none}
.pp-help-foto img{max-width:100%;max-height:100%;
  border-radius:2px;-o-object-fit:contain;object-fit:contain}
.pp-help-foto-ad{position:absolute;left:0;right:0;
  bottom:calc(18px + env(safe-area-inset-bottom,0px));
  color:#fff;font-size:15px;font-weight:700;text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.9)}
.pp-help-foto-x{position:absolute;right:14px;
  top:calc(14px + env(safe-area-inset-top,0px));
  width:38px;height:38px;padding:0;
  border:1px solid #3a3a3a;border-radius:2px;background:rgba(20,20,20,.9);
  color:#ddd;font-size:20px;line-height:1;cursor:pointer;font-family:inherit}

/* -------------------------------------------------------------- sohbet */
.pp-help-chat{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-orient:vertical;-webkit-box-direction:normal;
  -ms-flex-direction:column;flex-direction:column;
  padding:14px 14px 6px;background:#141414}

/* Mesajlar gercek sohbetteki gibi ALTTAN yukari birikir; bos sohbette
   ustte kocaman bir boslukla karsilasilmaz. */
.pp-help-stream{margin-top:auto}
.pp-help-msg{display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;
  gap:8px;margin:0 0 10px}
.pp-help-msg-ava{-ms-flex:0 0 auto;flex:0 0 auto;
  width:26px;height:26px;box-sizing:border-box;
  border-radius:50%;background:#1d1d1f;border:1px solid #2e2e33;
  -o-object-fit:cover;object-fit:cover}

.pp-help-bubble{max-width:80%;padding:10px 13px;
  border:1px solid #262626;border-radius:10px 10px 10px 3px;
  background:#1b1b1b;color:#d6d6d6;
  font-size:13.5px;line-height:1.62;
  overflow-wrap:break-word;word-break:normal}
.pp-help-bubble b{color:#fff;font-weight:600}
.pp-help-bubble p{margin:0 0 8px}
.pp-help-bubble p:last-child{margin-bottom:0}

/* Kullanicinin sectigi secenek, kendi sozu gibi sagda durur. */
.pp-help-msg.me{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}
.pp-help-msg.me .pp-help-bubble{
  border-radius:10px 10px 3px 10px;
  border-color:#3a3a3a;background:#2a2a2a;color:#efefef;font-weight:500}

/* Yaziyor gostergesi. */
.pp-help-typing{display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px;
  padding:4px 1px}
.pp-help-typing i{width:6px;height:6px;border-radius:50%;background:#6c6c6c;
  -webkit-animation:pphelpdot 1s infinite;animation:pphelpdot 1s infinite}
.pp-help-typing i:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s}
.pp-help-typing i:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s}
@-webkit-keyframes pphelpdot{0%,60%,100%{opacity:.28}30%{opacity:1}}
@keyframes pphelpdot{0%,60%,100%{opacity:.28}30%{opacity:1}}

@media (prefers-reduced-motion:reduce){
  .pp-help-typing i{-webkit-animation:none;animation:none;opacity:.55}
}

/* --------------------------------------------------- rehber adimlari */
.pp-help-steps{margin:2px 0 0;padding:0;list-style:none;counter-reset:ppadim}
.pp-help-steps li{position:relative;margin:0 0 11px;padding:0 0 0 29px;
  color:#d6d6d6;font-size:13.5px;line-height:1.6;counter-increment:ppadim}
.pp-help-steps li:last-child{margin-bottom:0}
.pp-help-steps li:before{content:counter(ppadim);position:absolute;left:0;top:1px;
  width:21px;height:21px;border-radius:50%;
  background:#242424;border:1px solid #383838;
  color:#cfcfcf;font-size:11px;font-weight:700;line-height:19px;text-align:center}

/* Rehber sonundaki dikkat notlari: adim degil, uyari. Sol cizgi ile
   adimlardan ayriliyor; renk kullanilmiyor, kontrastla ayriliyor. */
.pp-help-uyari{margin:12px 0 0;padding:8px 0 0 11px;
  border-left:2px solid #3a3a3a;
  color:#a9a9a9;font-size:12.5px;line-height:1.55}
.pp-help-uyari+.pp-help-uyari{margin-top:8px;padding-top:0}
.pp-help-uyari b{color:#efefef;font-weight:600}

/* ------------------------------------------------------ hazir yanitlar
   Kullanici yazmadigi icin bu alan arayuzun kumandasi. Sade tutuldu:
   kisa etiketli haplar, tek satirda akan duzen. Ikon kutusu, ok, golge
   yok — sohbetin kendisi one ciksin. */
.pp-help-quick{-ms-flex:0 0 auto;flex:0 0 auto;
  max-height:46%;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:10px 12px 12px;
  border-top:1px solid #232323;background:#161616}
.pp-help-quick:empty{display:none}
.pp-help-quick-baslik{display:block;width:100%;margin:0 2px 8px;
  color:#6b6b6b;font-size:10.5px;font-weight:600;letter-spacing:.6px;
  text-transform:uppercase}

.pp-help-sarmal{display:-webkit-box;display:-ms-flexbox;display:flex;
  -ms-flex-wrap:wrap;flex-wrap:wrap;gap:7px}

.pp-help-chip{margin:0;padding:9px 14px;
  border:1px solid #303030;border-radius:2px;background:#1e1e1e;
  color:#dcdcdc;font-family:inherit;font-size:13px;font-weight:500;
  line-height:1.4;text-align:center;cursor:pointer}
.pp-help-chip:active{background:#282828}

/* Eylem yaniti (paketleri goster, devam et): renkle degil, kontrastla
   one cikar — sayfanin geri kalani koyu oldugu icin bu yeterli. */
.pp-help-chip-ana{border-color:#e6e6e6;background:#e6e6e6;
  color:#141414;font-weight:600}
.pp-help-chip-ana:active{background:#cfcfcf;border-color:#cfcfcf}

/* Yardimci yanit (geri): sessiz. */
.pp-help-chip-alt{border-color:transparent;background:transparent;
  color:#7f7f7f;font-weight:400;padding:8px 10px}

/* --------------------------------------------------------------- form */
.pp-help-field{display:block;margin:0 0 10px}
.pp-help-field span{display:block;margin:0 0 5px;
  color:#8a8a8a;font-size:11.5px;font-weight:600;letter-spacing:.2px}
.pp-help-field input,.pp-help-field select,.pp-help-field textarea{
  display:block;width:100%;box-sizing:border-box;padding:10px 11px;
  border:1px solid #262626;border-radius:8px;background:#0e0e0e;
  color:#fff;font-family:inherit;font-size:13.5px;line-height:1.45;
  -webkit-appearance:none;appearance:none}
.pp-help-field input:focus,.pp-help-field select:focus,
.pp-help-field textarea:focus{outline:0;border-color:#4a4a4a}
.pp-help-field textarea{resize:vertical;min-height:52px}
.pp-help-err{margin:2px 0 0;color:#ff6b6b;font-size:12.5px;line-height:1.5}
.pp-help-err.hidden{display:none}
/* Form balonu daha genis olmali; alanlar sikismasin. */
.pp-help-bubble.pp-help-formbox{max-width:100%}

/* ----------------------------------------------- mobil: tam ekran sohbet */
@media screen and (max-width:600px){
  .pp-help{right:0;left:0;bottom:0;top:0;width:auto;max-width:none;
    height:auto;max-height:none}
  .pp-help-backdrop{display:block;position:absolute;left:0;right:0;top:0;bottom:0;
    background:rgba(0,0,0,.5)}
  .pp-help-panel{border-radius:0;border:0}
  .pp-help-head{padding-top:calc(13px + env(safe-area-inset-top,0px))}
  .pp-help-chat{padding:14px 13px 6px}
  .pp-help-bubble{max-width:84%;font-size:14px}
  .pp-help-quick{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px))}
  .pp-help-chip{font-size:13.5px;padding:9px 14px}
  .pp-help-fab{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));
    padding:5px 12px 5px 5px;font-size:13px}
  .pp-help-fab img{width:34px;height:34px}
  .pp-help-fab i{left:33px;bottom:7px}
  /* Pencere acikken balon gereksiz; ustunde durmasin. */
  .pp-help-fab.acik{display:none}
}
