/* ArmaganFX — telefon uygulama kabuğu (y137).
   Bu dosya yalnız (max-width:760px) medyasında yüklenir ve her kural html.afx-mob altındadır (mobil.js koyar;
   yönetim sayfalarında koymaz) → masaüstü ve yönetim görünümü hiç değişmez.
   Zemin kuralı: liquid temalarda --surface yarı saydam; sabit çubuk ve pencereler
   linear-gradient(var(--surface),var(--surface)),var(--bg) ile opak boyanır. */

html.afx-mob{
  --afx-tab-h:62px;
  --afx-alt:calc(var(--afx-tab-h) + env(safe-area-inset-bottom,0px));
  --afx-zemin:linear-gradient(var(--surface,#0B0B0F),var(--surface,#0B0B0F)),var(--bg,#000);
  -webkit-tap-highlight-color:transparent;
  -webkit-text-size-adjust:100%;
  overflow-x:clip;
}
html.afx-mob.afx-tabsiz,html.afx-mob.afx-klavye,html.afx-mob:has(body.afx-tamsayfa){--afx-alt:env(safe-area-inset-bottom,0px)}
.afx-mob body{overflow-x:clip;padding-bottom:var(--afx-alt) !important}

/* ---------- dokunma: iOS zum yok, hızlı tık, uzun basınca yazı seçilmez, basınca anında geri bildirim ---------- */
.afx-mob input:not([type=checkbox]):not([type=radio]):not([type=range]),.afx-mob select,.afx-mob textarea{font-size:16px !important}
.afx-mob :is(a,button,[role=button],summary,label,select){touch-action:manipulation}
.afx-mob :is(button,.btn,[role=button],.afxtab__a,.afxdaha__t,.eg-cip,.eg-zs__b){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.afx-mob .btn:not(.btn--sm){min-height:44px}
.afx-mob :is(.btn,.afxtab__a,.afxdaha__t,.afxdaha__b){transition:transform .12s cubic-bezier(.2,.8,.2,1),background-color .15s,color .15s}
.afx-mob :is(.btn,.afxdaha__t,.afxdaha__b):active{transform:scale(.97)}
.afx-mob .afxtab__a:active .afxtab__ik{transform:scale(.9)}
/* geniş tablolar sayfayı yana kaydırmasın: kendi kabında kaysın */
.afx-mob .table-wrap,.afx-mob .tablo-kap{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- üst çubuk: logo · ⭐ · 🔔 · 🎨 (üç çizgi kalkar, her şey "Daha"da) ---------- */
.afx-mob .nav__inner{min-height:56px;gap:4px;min-width:0;max-width:100%;box-sizing:border-box;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
.afx-mob .navbtn,.afx-mob .drawer{display:none !important}
.afx-mob .nav__logo{order:0;flex:0 1 auto;min-width:0;overflow:hidden}
.afx-mob .nav__logo svg{flex:none}
@media (max-width:370px){.afx-mob .nav__logo-txt{font-size:17px}.afx-mob .nav__actions>.afxbil>.btn,.afx-mob .nav__actions>#themeBtn{min-width:38px}}
.afx-mob .nav-premium--mobil{order:1;margin-left:auto !important;margin-right:0 !important;min-height:40px !important;padding:0 12px !important}
.afx-mob .nav-premium--mobil .nav-prm-yazi{display:none}
.afx-mob .nav__actions{order:2;display:flex !important;margin-left:0 !important;gap:4px}
.afx-mob .nav__actions>*{display:none !important}
.afx-mob .nav__actions>.afxbil,.afx-mob .nav__actions>#themeBtn{display:inline-flex !important}
.afx-mob .nav__actions>.afxbil>.btn,.afx-mob .nav__actions>#themeBtn{min-width:40px;min-height:40px;padding:0 !important;justify-content:center;font-size:17px}
.afx-mob #themeBtn .nav-uzun{display:none !important}
.afx-mob .afxbil__p{position:fixed !important;left:12px !important;right:12px !important;top:64px !important;width:auto !important;max-height:70dvh;overflow:auto;overscroll-behavior:contain}

/* ---------- alt sekme çubuğu ---------- */
.afxtab,.afxdaha{display:none}
.afx-mob .afxtab{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:7900;
  height:var(--afx-alt);padding:0 max(4px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px,env(safe-area-inset-left,0px));
  background:var(--afx-zemin);border-top:1px solid var(--line,rgba(255,255,255,.1));
  box-shadow:0 -10px 30px rgba(0,0,0,.28);transition:transform .25s cubic-bezier(.32,.72,0,1)}
.afx-mob.afx-tabsiz .afxtab,.afx-mob.afx-klavye .afxtab,.afx-mob body.afx-tamsayfa .afxtab{transform:translateY(110%);pointer-events:none}
.afxtab__a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;
  color:var(--txt-2,#9aa0aa);text-decoration:none;font-family:inherit;font-size:10.5px;font-weight:600;line-height:1.1;letter-spacing:.01em;background:none;border:0;padding:0;cursor:pointer}
.afxtab__ik{display:grid;place-items:center;width:54px;height:30px;border-radius:15px;transition:background-color .2s,transform .12s}
.afxtab__ik svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afxtab__y{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.afxtab__a.is-active{color:var(--txt,#fff)}
.afxtab__a.is-active .afxtab__ik{background:color-mix(in srgb,var(--accent,#4B4BE9) 26%,transparent);color:var(--accent-txt,#8A8AFF)}
.afxtab__a[data-p="/panel"] .afxtab__ik{color:#FFC94A}
html[data-theme=light] .afxtab__a[data-p="/panel"] .afxtab__ik{color:#9A6A00}
.afxtab__a .afxrz{position:absolute;top:3px;left:calc(50% + 7px);margin:0 !important;transform:none}
.afxtab__nokta{position:absolute;top:6px;left:calc(50% + 12px);width:8px;height:8px;border-radius:50%;background:#FF5A5F;box-shadow:0 0 0 2px var(--surface,#0B0B0F)}
.afxtab__nokta[hidden]{display:none}

/* ---------- "Daha" sayfası (alttan açılan) ---------- */
.afx-mob .afxdaha.acik{display:block;position:fixed;inset:0;z-index:8800}
.afxdaha__z{position:absolute;inset:0;background:rgba(0,0,0,.6);opacity:0;transition:opacity .25s}
.afxdaha.gor .afxdaha__z{opacity:1}
.afxdaha__k{position:absolute;left:0;right:0;bottom:0;max-height:88dvh;overflow:auto;overscroll-behavior:contain;
  padding:0 16px calc(18px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;background:var(--afx-zemin);
  border-top:1px solid var(--line,rgba(255,255,255,.12));color:var(--txt,#fff);
  transform:translateY(100%);transition:transform .34s cubic-bezier(.32,.72,0,1)}
.afxdaha.gor .afxdaha__k{transform:none}
.afxdaha__ust{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -16px;padding:0 16px 8px;background:var(--afx-zemin)}
.afxdaha__ust h2{margin:0;font-size:17px;letter-spacing:-.01em}
.afxdaha__x{width:40px;height:40px;border-radius:50%;border:0;background:color-mix(in srgb,var(--txt,#fff) 8%,transparent);color:var(--txt,#fff);display:grid;place-items:center}
.afxdaha__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.afx-tutamak{display:block;width:100%;height:26px;position:relative;touch-action:none;cursor:grab}
.afx-tutamak::before{content:"";position:absolute;left:50%;top:9px;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:color-mix(in srgb,var(--txt,#fff) 28%,transparent)}
.afxdaha__giris{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 14px}
.afxdaha__giris .btn{width:100%;justify-content:center}
.afxdaha__bas{margin:14px 2px 8px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--txt-2,#9aa0aa)}
.afxdaha__g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.afxdaha__t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:78px;padding:10px 4px;
  border-radius:16px;background:color-mix(in srgb,var(--txt,#fff) 5%,transparent);border:1px solid color-mix(in srgb,var(--txt,#fff) 7%,transparent);
  color:var(--txt,#fff);text-decoration:none;font-size:11.5px;font-weight:500;line-height:1.2;text-align:center}
.afxdaha__t svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--accent-txt,#8A8AFF)}
.afxdaha__t.is-active{border-color:var(--accent,#4B4BE9);background:color-mix(in srgb,var(--accent,#4B4BE9) 16%,transparent)}
.afxdaha__t[data-p="/panel"] svg,.afxdaha__t[data-p="/pricing"] svg{color:#FFC94A}
.afxdaha__t .afxrz{position:absolute;top:6px;right:6px;margin:0 !important}
.afxdaha__sat{display:flex;flex-wrap:wrap;gap:8px}
.afxdaha__b{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 calc(50% - 4px);min-height:46px;padding:0 12px;border-radius:12px;
  border:1px solid var(--line,rgba(255,255,255,.12));background:transparent;color:var(--txt,#fff);font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}
.afxdaha__b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afxdaha__b.ana{background:var(--accent,#4B4BE9);border-color:transparent;color:#fff}
.afxdaha__b.vurgu{background:var(--accent,#4B4BE9);border-color:transparent;color:#fff}   /* y211: "ana" sınıfı üye ana sayfasının kart stiline çarpıyordu */
.afxdaha__b.cik{color:#F87171}
.afxdaha__b[aria-current=true]{border-color:var(--accent,#4B4BE9);background:color-mix(in srgb,var(--accent,#4B4BE9) 16%,transparent)}
.afxdaha__dil .afxdaha__b{flex:1 1 auto;min-height:40px;font-size:13px;font-weight:500}

/* ---------- kendiliğinden açılan pencereler telefonda alttan açılan kart ---------- */
.afx-mob .afx-sheet-kap{display:flex !important;align-items:flex-end !important;justify-content:center !important;padding:0 !important}
.afx-mob .afx-sheet{position:relative !important;inset:auto !important;width:100% !important;max-width:100% !important;margin:0 !important;
  max-height:90dvh !important;overflow:auto !important;overscroll-behavior:contain;border-radius:22px 22px 0 0 !important;border-bottom:0 !important;
  padding-bottom:calc(18px + env(safe-area-inset-bottom,0px)) !important;background:var(--afx-zemin) !important;transform:none !important;
  animation:afxSheetUp .34s cubic-bezier(.32,.72,0,1) backwards}
.afx-mob .afx-sheet>.afx-tutamak{margin:-10px 0 2px}
@keyframes afxSheetUp{from{translate:0 100%}to{translate:0 0}}
/* yerinde kalan küçük kartlar / baloncuklar alt çubuğun üstünde dursun */
/* asistan düğmesi ve baloncuğu telefonda gizli: cevap / işlem düğmelerini örtüyordu; asistan "Daha" sayfasından açılır */
.afx-mob .afxas-dugme,.afx-mob .afxas-balon{display:none !important}
.afx-mob :is(.afxan,.afxrzt-kap,.afxtost,.afxpush,.kfoto,.afxyon-hap,.afxtg,.eg-vt,.afxtm-not){bottom:calc(var(--afx-alt) + 12px) !important}
.afx-mob .gl-yeni-dug{bottom:calc(var(--afx-alt) + 14px) !important;right:16px !important}
.afx-mob .afxas{left:8px !important;right:8px !important;width:auto !important;bottom:calc(var(--afx-alt) + 8px) !important;max-height:calc(100dvh - var(--afx-alt) - 80px) !important}
.afx-mob .afxan{left:12px !important;right:12px !important;width:auto !important}

/* ---------- "Ana ekrana ekle" kartı ---------- */
.afxkur{position:fixed;inset:0;z-index:8700;display:flex;align-items:flex-end;justify-content:center}
.afxkur__z{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.afxkur__k{position:relative;width:100%;padding:0 18px calc(18px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;background:var(--afx-zemin,#0B0B0F);
  color:var(--txt,#fff);border-top:1px solid var(--line,rgba(255,255,255,.12));animation:afxSheetUp .34s cubic-bezier(.32,.72,0,1) backwards}
.afxkur__bas{display:flex;gap:14px;align-items:center;margin:4px 0 10px}
.afxkur__bas img{width:56px;height:56px;border-radius:14px;flex:none}
.afxkur__bas h3{margin:0 0 3px;font-size:17px}
.afxkur__bas p,.afxkur__ad{margin:0;font-size:13.5px;line-height:1.45;color:var(--txt-2,#9aa0aa)}
.afxkur__ad{display:grid;gap:8px;margin:6px 0 4px;padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--txt,#fff) 5%,transparent);color:var(--txt,#fff)}
.afxkur__ad b{display:inline-flex;align-items:center;gap:4px}
.afxkur__ad svg{width:18px;height:18px;vertical-align:-3px;fill:none;stroke:var(--accent-txt,#8A8AFF);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afxkur__d{display:flex;gap:8px;margin-top:12px}
.afxkur__d .afxdaha__b{flex:1}

/* standalone (ana ekrandan açıldı): tarayıcı kabuğu yok, üst çubuk durum çubuğuna yapışsın */
.afx-mob.afx-sa .nav{padding-top:env(safe-area-inset-top,0px)}

@media (prefers-reduced-motion:reduce){
  .afx-mob .afxtab,.afxdaha__k,.afxdaha__z,.afx-mob .afx-sheet,.afxkur__k{transition:none !important;animation:none !important}
  .afx-mob :is(.btn,.afxdaha__t,.afxdaha__b):active{transform:none}
}

/* ---------- y159: açılır pencereler görünen ekran yüksekliğine göre ----------
   Telefonda 100vh tarayıcının adres / alt çubuğunu saymaz: pencerelerin üstü ya da altı çubukların altında kalıyordu
   (kullanıcı: "kurallara tıkla, üstteki bar okumamızı engelliyor"). dvh = o an görünen yükseklik. */
@supports (height:100dvh){
  .afx-mob :is(.afxakt__kutu,.afxdp__k,.afxprm__kutu,.afxtm-kutu){max-height:calc(100dvh - 36px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) !important;overscroll-behavior:contain}
  .afx-mob .afxan{max-height:calc(100dvh - 40px) !important}
  .afx-mob .afxtm-menu{max-height:calc(100dvh - 90px) !important}
  .afx-mob .afxas{height:min(590px,calc(100dvh - 110px)) !important}
  .afx-mob .chat{height:calc(100dvh - 72px - var(--afx-alt,0px))}
  .afx-mob :is(.g-buyuk img,.sh-buyut img){max-height:calc(100dvh - 40px)}
}

/* y211: "Daha" sayfasında uygulama indirme düğmesi (tam genişlik) */
.afxdaha__indir{margin:2px 0 6px}
.afxdaha__indir .afxdaha__b{flex:1 1 100%}
