/* El dokunuşlu canlı telefon · "Senet hediyeyi nasıl kabul eder?" · YALIN 5N1K ANLATI (tel-hediye.js) · 22 Kas 2026
   Getir dili: her ekranda tek mesaj, büyük görsel, tek düğme. Ekran 280×624 mantıksal ölçüde, parçalar mutlak konumlu
   (elin parmak ucu hedefleri JS'te). Telefon dönmez. Sahne geçişi: yeni sahne anında opak, beyaz perde açılır (karışma yok). */

/* ---- telefonun üstünde 5N1K etiketi + tabloda eş satır ---- */
.th-sutun{display:grid; justify-items:center; align-content:start; gap:14px}
.th-sutun > .fc-tel{width:100%}
.th-adim{width:100%; max-width:260px; box-sizing:border-box; margin:0; padding:12px 14px 12px; border:1px solid #E4DCF3; border-radius:16px; background:#fff; box-shadow:0 10px 22px -14px rgba(42,20,102,.4)}
.th-soru{display:flex; align-items:center; gap:8px; margin:0}
.th-soru b{display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#6D2FBF; color:#fff; font-size:12.5px; font-weight:800}
.th-soru span{padding:3px 9px; border-radius:999px; background:#F3EEFC; color:#5B24A8; font-size:11.5px; font-weight:800; letter-spacing:.08em}
.th-adim.baska .th-soru b{background:var(--lamba,#F5C84B); color:#2A1466}
.th-adim.baska .th-soru span{background:#FDF4D6; color:#7A5A00}
.th-adim.neden .th-soru b{background:#17703F}
.th-adim.neden .th-soru span{background:#E3F5EA; color:#17703F}
.th-yanit{margin:8px 0 0; font-size:15.5px; font-weight:700; line-height:1.32; color:#1D1433}
.th-kim{margin:4px 0 0; font-size:11.5px; font-weight:600; color:#7A7290}
.th-adim.yeni .th-yanit,.th-adim.yeni .th-kim{animation:thEtiket .45s ease}
@keyframes thEtiket{from{opacity:0; transform:translateY(4px)} to{opacity:1; transform:none}}
.th-adim-cubuk{display:flex; gap:3px; margin-top:10px}
.th-adim-cubuk u{flex:1; height:3px; border-radius:2px; background:#ECE6F5; transition:background .35s}
.th-adim-cubuk u.dolu{background:#B99BE8}
.th-adim-cubuk u.simdi{background:#6D2FBF}
.fc-is .fc-tablo tbody tr > *{transition:background-color .35s,color .35s}
.fc-is .fc-tablo tbody tr.th-aktif > *{background:#F3EEFC}
.fc-is .fc-tablo tbody tr.th-aktif > th{color:#5B24A8; box-shadow:inset 4px 0 0 #6D2FBF}
.fc-is .fc-tablo tbody tr.th-atla{cursor:pointer}
.fc-is .fc-tablo tbody tr.th-atla:hover > *{background:#FAF7FF}
.fc-is .fc-tablo tbody tr.th-atla.th-aktif:hover > *{background:#F3EEFC}
.fc-is .fc-tablo tbody tr.th-atla:focus-visible{outline:3px solid #6D2FBF; outline-offset:-3px}
@media (min-width:941px){
  .fc-is{grid-template-columns:minmax(0,1fr) 290px !important}
  .th-sutun .fc-tel{max-width:290px}
  .th-adim{max-width:290px}
}

/* ---- ekran: ortak ---- */
.th{background:#fff}
.th-s{position:absolute; inset:0; z-index:1; background:#fff; opacity:0; visibility:hidden; transition:opacity 0s .4s,visibility 0s .4s}
.th-s.on{z-index:2; opacity:1; visibility:visible; transition:none}
.th-s.on::after{content:""; position:absolute; inset:0; z-index:20; background:#fff; pointer-events:none; animation:thPerdeAc .32s ease forwards}
@keyframes thPerdeAc{from{opacity:1} to{opacity:0; visibility:hidden}}
.th-s svg{fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round}
.th-ust{position:absolute; left:0; right:0; top:44px; height:44px; display:flex; align-items:center; gap:7px; padding:0 14px; box-sizing:border-box; background:#F8F4FC; border-bottom:1px solid #ECE4F7}
.th-ust > img{width:24px; height:24px; border-radius:50%}
.th-ust b{flex:1; font-size:15px; font-weight:800; color:#4A1D8C; letter-spacing:-.01em}
.th-kimlik{display:block; width:28px; height:28px; overflow:hidden; border-radius:50%; box-shadow:0 0 0 2px #fff,0 0 0 3px #D9CEEB}
.th-kimlik img{display:block; width:100%; height:100%; object-fit:cover}
.th-baslik{position:absolute; left:16px; right:16px; top:118px; margin:0; font-size:22px; font-weight:800; letter-spacing:-.01em; color:#1D1433}
.th-baslik-ust{top:104px}
.th-alt{position:absolute; left:16px; right:16px; top:138px; margin:0; font-size:12px; line-height:1.4; color:#5E5472}
.th-dugme{position:absolute; left:16px; right:16px; top:542px; height:48px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; border-radius:12px; background:#E6E4EC; color:#8C859C; font-size:15px; font-weight:700; transition:background .25s,transform .12s}
.th-dugme.on{background:#6D2FBF; color:#fff}
.th .basili{transform:scale(.96)}
.th-ornek{position:absolute; z-index:9; left:0; right:0; top:598px; font-size:10.5px; line-height:12px; color:#8A82A0; text-align:center}
.th-cizgi{position:absolute; left:50%; bottom:6px; width:104px; height:4px; margin-left:-52px; border-radius:2px; background:#1D1433; z-index:9}
.th-ik{position:absolute; left:50%; top:118px; display:grid; place-items:center; width:76px; height:76px; margin-left:-38px; border-radius:50%}
.th-ik svg{width:38px; height:38px; stroke-width:2.6}
.th-ik.yesil{background:#E3F5EA; color:#17703F}
.th-s.on .th-ik{animation:thBelir .5s cubic-bezier(.2,.9,.25,1.25) .15s both}
@keyframes thBelir{from{transform:scale(.5); opacity:0} to{transform:none; opacity:1}}
.th-orta{position:absolute; left:0; right:0; margin:0; font-size:20px; font-weight:800; color:#1D1433; text-align:center}
.th-orta-not{position:absolute; left:0; right:0; margin:0; font-size:12.5px; line-height:1.45; color:#5E5472; text-align:center}
@keyframes thGel{from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:none}}

/* 1 · KİM · NE */
.th-selam{position:absolute; left:16px; top:100px; margin:0; font-size:12.5px; color:#6B6280}
.th-urun-buyuk{position:absolute; left:16px; right:16px; top:160px; overflow:hidden; border-radius:18px; background:#F6F3FC; box-shadow:0 10px 22px -16px rgba(42,20,102,.45)}
.th-urun-buyuk > img{display:block; width:100%; height:140px; object-fit:cover}
.th-urun-buyuk > div{padding:10px 14px 12px}
.th-urun-buyuk b{display:block; font-size:17px; font-weight:800; color:#1D1433}
.th-urun-buyuk small{display:flex; align-items:center; gap:5px; margin-top:2px; font-size:12px; color:#5E5472}
.th-urun-buyuk small svg{width:15px; height:15px; stroke-width:1.8; color:#6D2FBF}
.th-ozet{position:absolute; left:16px; right:16px; top:384px; padding:4px 14px; border:1px solid #ECE6F5; border-radius:14px}
.th-ozet p{display:flex; justify-content:space-between; align-items:center; height:40px; margin:0; font-size:13px; color:#5E5472}
.th-ozet p + p{border-top:1px solid #F0ECF6}
.th-ozet b{font-size:16px; font-weight:800; color:#1D1433; font-variant-numeric:tabular-nums}

/* 2 · NEREDE */
.th-cip-satir{position:absolute; left:16px; right:16px; top:318px; display:flex; flex-direction:column; align-items:center; gap:8px}
.th-cip-satir span{display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:999px; background:#E3F5EA; color:#17703F; font-size:12px; font-weight:700}
.th-cip-satir svg{width:14px; height:14px; stroke-width:3}

/* 3 · KİME */
.th-kisiler{position:absolute; left:16px; right:16px; top:282px; display:grid; grid-template-columns:repeat(4,1fr)}
.th-kisi{display:flex; flex-direction:column; align-items:center; gap:6px}
.th-kisi i{position:relative; display:block; width:48px; height:48px; border-radius:50%; transition:transform .12s}
.th-kisi i img{display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px #fff,0 0 0 3px #E4DCF3; transition:box-shadow .2s}
.th-kisi.secili i img{box-shadow:0 0 0 2px #fff,0 0 0 4px #6D2FBF}
.th-kisi u{position:absolute; right:-3px; bottom:-3px; display:grid; place-items:center; width:20px; height:20px; border:2px solid #fff; border-radius:50%; background:#17703F; color:#fff; transform:scale(0); transition:transform .25s cubic-bezier(.2,.9,.25,1.3)}
.th-kisi u svg{width:11px; height:11px; stroke-width:3.4}
.th-kisi.secili u{transform:none}
.th-kisi small{font-size:11.5px; color:#5E5472}
.th-tost{position:absolute; left:28px; right:28px; top:420px; display:flex; align-items:center; justify-content:center; gap:6px; height:40px; border-radius:20px; background:#1D1433; color:#fff; font-size:12.5px; font-weight:700; opacity:0; transform:translateY(8px); transition:opacity .3s,transform .3s}
.th-tost svg{width:14px; height:14px; stroke-width:3}
.th-tost.on{opacity:1; transform:none}

/* 4 · NASIL (Elif) */
.th-kime{position:absolute; left:16px; right:16px; top:104px; height:60px; display:flex; align-items:center; gap:10px; padding:0 12px; box-sizing:border-box; border-radius:14px; background:#F6F3FC}
.th-kime > img{width:40px; height:40px; border-radius:50%; object-fit:cover}
.th-kime small{display:block; font-size:11px; color:#6B6280}
.th-kime b{display:block; font-size:14px; font-weight:800; color:#1D1433}
.th-cipler{position:absolute; left:16px; right:16px; top:190px; display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:48px; gap:8px}
.th-cipler b{display:grid; place-items:center; border:1.5px solid #E4DCF3; border-radius:12px; background:#fff; font-size:16px; font-weight:800; color:#1D1433; transition:border-color .2s,background .2s,transform .12s}
.th-cipler b.sec{border-color:#6D2FBF; background:#F3EEFC; color:#4A1D8C}
.th-hesap-kart{position:absolute; left:16px; right:16px; top:256px; padding:12px 14px 4px; border:1px solid #ECE6F5; border-radius:14px; background:#fff}
.th-hesap-kart small{display:block; font-size:11px; color:#6B6280}
.th-hesap-kart > b{display:flex; align-items:center; gap:6px; margin-top:3px; font-size:15px; font-weight:800; color:#1D1433}
.th-hesap-kart > b svg{width:17px; height:17px; stroke-width:1.8; color:#6D2FBF}
.th-hesap-kart em{display:flex; align-items:flex-start; gap:4px; margin-top:6px; font-size:11px; font-style:normal; font-weight:700; line-height:1.35; color:#17703F}
.th-hesap-kart em svg{flex:none; width:13px; height:13px; margin-top:1px; stroke-width:3}
.th-hesap-kart p{display:flex; justify-content:space-between; align-items:center; margin:10px 0 0; padding:8px 0; border-top:1px solid #F0ECF6; font-size:12.5px; color:#5E5472}
.th-hesap-kart strong{font-size:24px; font-weight:800; letter-spacing:-.02em; color:#4A1D8C; font-variant-numeric:tabular-nums}
.th-banka-not{position:absolute; left:16px; right:16px; top:500px; margin:0; font-size:11.5px; line-height:1.35; color:#6B6280; text-align:center}
.th-tamam{position:absolute; left:0; right:0; top:88px; bottom:0; z-index:5; display:flex; flex-direction:column; align-items:center; padding-top:100px; box-sizing:border-box; background:#fff; text-align:center; opacity:0; visibility:hidden; transition:opacity .3s,visibility 0s .3s}
.th-tamam.on{opacity:1; visibility:visible; transition-delay:0s}
.th-tamam i{display:grid; place-items:center; width:76px; height:76px; border-radius:50%; background:#E3F5EA; color:#17703F}
.th-tamam i svg{width:38px; height:38px; stroke-width:2.6}
.th-tamam b{margin-top:20px; font-size:20px; font-weight:800; color:#1D1433}
.th-tamam small{margin:6px 30px 0; font-size:12.5px; line-height:1.45; color:#5E5472}

/* 5 · NE ZAMAN */
.th-bildirim{position:absolute; z-index:6; left:10px; right:10px; top:48px; height:60px; box-sizing:border-box; display:flex; align-items:center; gap:10px; padding:0 12px; border-radius:16px; background:rgba(255,255,255,.97);
  box-shadow:0 14px 30px -12px rgba(36,19,56,.5),0 0 0 1px rgba(91,36,168,.08); opacity:0; transform:translateY(-80px); transition:transform .45s cubic-bezier(.2,.9,.25,1.15),opacity .3s}
.th-bildirim.on{opacity:1; transform:none}
.th-bildirim img{width:34px; height:34px; border-radius:50%; object-fit:cover}
.th-bildirim span{flex:1; min-width:0}
.th-bildirim b{display:block; font-size:13px; font-weight:800; color:#1D1433}
.th-bildirim small{display:block; font-size:11px; color:#17703F}
.th-bildirim em{align-self:flex-start; margin-top:12px; font-size:10.5px; font-style:normal; color:#8A82A0}
.th-etk{position:absolute; left:16px; top:140px; margin:0; font-size:13px; color:#5E5472}
.th-buyuk{position:absolute; left:16px; top:160px; margin:0; font-size:42px; font-weight:800; letter-spacing:-.02em; color:#1D1433; font-variant-numeric:tabular-nums}
.th-cubuk{position:absolute; left:16px; right:16px; top:222px; height:10px; border-radius:5px; background:#E9E3F5; overflow:hidden}
.th-cubuk i{display:block; height:100%; border-radius:inherit; background:#6D2FBF; transition:width .9s cubic-bezier(.2,.8,.2,1)}
.th-oran{position:absolute; left:16px; right:16px; top:240px; margin:0; display:flex; justify-content:space-between; font-size:12px; color:#5E5472}
.th-gsat{position:absolute; left:16px; right:16px; top:286px; display:flex; align-items:center; gap:10px; padding:12px; box-sizing:border-box; border:1px solid #ECE6F5; border-radius:14px; background:#fff; opacity:0}
.th-gsat.on{animation:thGel .6s cubic-bezier(.2,.8,.2,1) forwards}
.th-gsat > img{flex:none; width:40px; height:40px; border-radius:50%; object-fit:cover}
.th-gsat span{flex:1; min-width:0}
.th-gsat b{display:block; font-size:13.5px; font-weight:800; color:#1D1433}
.th-gsat small{display:block; font-size:11.5px; font-style:italic; color:#5E5472}
.th-gsat em{font-size:15px; font-style:normal; font-weight:800; color:#17703F}

/* 6 · NEDEN */
.th-neden{position:absolute; left:16px; right:16px; top:156px; margin:0; padding:0; list-style:none; display:grid; gap:12px}
.th-neden li{display:grid; grid-template-columns:36px 1fr; column-gap:12px; align-items:center; padding:14px; border-radius:16px; background:#F6F3FC}
.th-neden i{grid-row:span 2; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#17703F; color:#fff}
.th-neden i svg{width:18px; height:18px; stroke-width:3}
.th-neden b{font-size:15px; font-weight:800; color:#1D1433}
.th-neden small{font-size:12px; line-height:1.35; color:#5E5472}
.th-s.on .th-neden li{animation:thGel .5s cubic-bezier(.2,.8,.2,1) both}
.th-s.on .th-neden li:nth-child(2){animation-delay:.5s}
.th-s.on .th-neden li:nth-child(3){animation-delay:1s}

/* el (kadın eli) */
.th-el{position:absolute; z-index:8; left:0; top:0; width:0; height:0; opacity:0; transition:transform .55s cubic-bezier(.45,.05,.25,1),opacity .3s; pointer-events:none}
.th-el.gor{opacity:1}
.th-el-cizim{position:absolute; left:-35px; top:-20.8px; width:104px; height:199px; overflow:visible; transform-origin:35px 20.8px; transform:rotate(-24deg); filter:drop-shadow(-4px 8px 9px rgba(29,20,51,.25)); transition:filter .3s ease, scale .3s ease}
.th-el.kalk .th-el-cizim{scale:1.06; filter:drop-shadow(-8px 14px 14px rgba(29,20,51,.22))}
.th-el.bas .th-el-cizim{animation:thBas .26s ease}
@keyframes thBas{0%{transform:rotate(-24deg) scale(1)} 45%{transform:rotate(-24deg) scale(.92)} 100%{transform:rotate(-24deg) scale(1)}}
.th-iz{position:absolute; left:-14px; top:-14px; width:28px; height:28px; border-radius:50%; background:rgba(109,47,191,.3); opacity:0; transform:scale(.3)}
.th-el.bas .th-iz{animation:thIz .5s ease-out}
@keyframes thIz{0%{opacity:.9; transform:scale(.3)} 100%{opacity:0; transform:scale(1.7)}}

@media (prefers-reduced-motion: reduce){
  .th-el{display:none}
  .th-s,.th-s *,.th-s::after{animation:none !important; transition:none !important}
  .th-s.on::after{display:none}
  .th-gsat{opacity:1}
}

/* 3 · KİME: gönderilen bağlantının önizlemesi (ne gönderildiği görünür), kişiler altında */
.th-onizle{position:absolute; left:16px; right:16px; top:184px; height:84px; display:flex; align-items:center; gap:10px; padding:0 10px; box-sizing:border-box; border:1px solid #ECE6F5; border-radius:14px; background:#fff; box-shadow:0 8px 18px -14px rgba(42,20,102,.4)}
.th-onizle > img{flex:none; width:72px; height:60px; border-radius:10px; object-fit:cover}
.th-onizle > div{min-width:0}
.th-onizle small{display:flex; align-items:center; gap:4px; font-size:10.5px; font-weight:700; color:#6B6280}
.th-onizle small img{width:14px; height:14px; border-radius:50%}
.th-onizle b{display:block; margin-top:2px; font-size:12.5px; font-weight:800; line-height:1.25; color:#1D1433}
.th-onizle u{display:block; margin-top:3px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:10.5px; text-decoration:none; color:#6D2FBF}
.th-s[data-s="3"] .th-kisiler{top:300px}
.th-s[data-s="3"] .th-tost{top:400px}
/* 4 · NASIL: banka notu kartın hemen altında */
.th-banka-not{top:418px}

/* ---- masaüstü sergileme (22 Kas, kullanıcı: "webte sergileme hatası"): sol sütunda tablo + altında 5N1K etiketi,
   sağ sütunda yalnız telefon; telefonun üstü tabloyla aynı hizada, boyu sol sütunla dengeli ---- */
@media (min-width:941px){
  .fc-is{grid-template-columns:minmax(0,1fr) 280px !important; column-gap:48px !important; row-gap:16px !important; align-items:start}
  .fc-is > .fc-tablo{grid-column:1; grid-row:1; margin:0}
  .fc-is > .th-sutun{grid-column:2; grid-row:1 / span 2; align-self:start}
  .fc-is > .th-sutun .fc-tel{max-width:280px}
  .fc-is > .th-adim{grid-column:1; grid-row:2; max-width:none; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:18px; row-gap:2px; align-items:center; padding:16px 22px; border-radius:12px; box-shadow:none}
  .fc-is > .th-adim .th-soru{grid-column:1; grid-row:1 / span 2; flex-direction:column; align-items:flex-start; gap:6px}
  .fc-is > .th-adim .th-soru b{width:30px; height:30px; font-size:14px}
  .fc-is > .th-adim .th-yanit{grid-column:2; grid-row:1; margin:0; font-size:18px}
  .fc-is > .th-adim .th-kim{grid-column:2; grid-row:2; margin:0}
  .fc-is > .th-adim .th-adim-cubuk{grid-column:1 / -1; grid-row:3; margin-top:12px}
}
