/* MİZANİS STÜDYO — telefon görünümü
   Renkler ve yazı tipleri masaüstü Stüdyo ile AYNI (stil.css :root):
   iki uygulama aynı ailenin üyesi gibi görünmeli. Fark ölçekte —
   masaüstü 13px'lik yoğun bir arayüz, telefon başparmakla kullanılıyor:
   dokunma hedefleri en az 48px, yazı 15px. */
@font-face { font-family: "Manrope"; src: url("ortak/font/manrope-latin.woff2") format("woff2"); font-weight: 200 800; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("ortak/font/manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; src: url("ortak/font/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Unbounded"; src: url("ortak/font/unbounded-latin-ext.woff2") format("woff2"); font-weight: 200 900; unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --bg: #08080c; --bg2: #0e0e14; --panel: #12121a; --panel2: #181822; --panel3: #20202c;
  --cizgi: #262634; --cizgi2: #33334a;
  --yazi: #ececf4; --yazi2: #a9a9bd; --soluk: #6f6f88;
  --red: #D4003A; --red-koyu: #A8002E; --red-sis: rgba(212, 0, 58, .14);
  --altin: #e7c878; --yesil: #3ddc84;
  --olcer-y: #3ddc84; --olcer-s: #ffd23f; --olcer-k: #D4003A;
  --ust: env(safe-area-inset-top, 0px); --alt: env(safe-area-inset-bottom, 0px);
  --yazi-tipi: "Manrope", system-ui, sans-serif;
  --gosterim: "Unbounded", "Manrope", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--yazi); overscroll-behavior: none; }
body { font: 500 15px/1.45 var(--yazi-tipi); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
.ik { width: 22px; height: 22px; display: block; }

/* ═══ EKRAN İSKELETİ ═══ */
.ekran { position: fixed; inset: 0; display: flex; flex-direction: column; }
.ust { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(var(--ust) + 10px) 10px 10px; min-height: 64px; }
.kaydir { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 16px calc(var(--alt) + 110px); }
.marka { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 6px; }
.marka img { border-radius: 8px; }
.marka b { display: block; font: 800 15px/1 var(--gosterim); letter-spacing: .08em; }
.marka span { display: block; font: 600 9.5px/1.4 var(--gosterim); letter-spacing: .34em; color: var(--red); }
.ust-ad { flex: 1; min-width: 0; }
.ust-ad.orta { text-align: center; }
.ust-ad b { display: block; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ust-ad small { display: block; color: var(--soluk); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.baslik { font: 700 26px/1.1 var(--gosterim); margin: 8px 2px 18px; letter-spacing: -.01em; }

.ik-dugme { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--yazi2); }
.ik-dugme:active { background: var(--panel2); }
.ik-dugme.kare { background: var(--panel2); border: 1px solid var(--cizgi); color: var(--yazi); width: 56px; height: 56px; }
.ik-dugme.buyuk { width: 60px; height: 60px; border-radius: 50%; background: var(--panel); border: 1px solid var(--cizgi); color: var(--yazi); }
.ik-dugme.buyuk:disabled { opacity: .3; }
.ik-dugme.buyuk .ik { width: 26px; height: 26px; }
.metin-dugme { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--red); font-weight: 700; }
.metin-dugme .ik { width: 18px; height: 18px; }

.fab { position: absolute; right: 16px; bottom: calc(var(--alt) + 18px); display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 18px; background: var(--red); color: #fff; font-weight: 800;
  box-shadow: 0 10px 30px rgba(212, 0, 58, .35); }
.fab:active { transform: scale(.97); }

/* ═══ PROJELER ═══ */
.proje-liste { display: grid; gap: 10px; }
.proje { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; text-align: left; width: 100%; padding: 16px;
  background: var(--panel); border: 1px solid var(--cizgi); border-radius: 16px; }
.proje:active { border-color: var(--cizgi2); background: var(--panel2); }
.proje b { font-size: 16.5px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proje time { color: var(--soluk); font-size: 12.5px; align-self: center; }
.proje .alt-satir { grid-column: 1 / -1; display: flex; gap: 14px; color: var(--yazi2); font-size: 13px; }
.proje .cubuk { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--panel3); overflow: hidden; margin-top: 8px; }
.proje .cubuk i { display: block; height: 100%; background: var(--yesil); }
.bos { text-align: center; color: var(--soluk); padding: 48px 20px; }
.bos .ik { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--cizgi2); }
.bos b { display: block; color: var(--yazi); font-size: 17px; margin-bottom: 6px; }

/* ═══ PROJE ═══ */
.ilerleme { height: 3px; border-radius: 2px; background: var(--panel3); overflow: hidden; margin: 0 2px 14px; }
.ilerleme i { display: block; height: 100%; width: 0; background: var(--yesil); transition: width .3s; }
.serbest { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--cizgi); }
.serbest small { display: block; color: var(--soluk); font-size: 13px; }
.serbest > span:nth-child(2) { flex: 1; }
.serbest-ik { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-sis); color: var(--red); }
.ok { color: var(--soluk); }
.bolum-bas { display: flex; align-items: center; justify-content: space-between; margin: 22px 2px 8px; }
.bolum-bas h2 { font: 700 13px/1 var(--gosterim); letter-spacing: .1em; text-transform: uppercase; color: var(--yazi2); margin: 0; }
.replik-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.replik { display: grid; grid-template-columns: 32px 1fr auto; gap: 2px 10px; align-items: start; padding: 12px 6px; border-radius: 12px; }
.replik:active { background: var(--panel); }
.replik .no { font: 600 12px/22px var(--es-aralik, monospace); color: var(--soluk); text-align: right; }
.replik .govde { min-width: 0; }
.replik .kim { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.replik .soz { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--yazi); }
.replik .durum { display: flex; align-items: center; gap: 4px; color: var(--soluk); font-size: 12px; padding-top: 2px; }
.replik.alindi .durum { color: var(--yesil); }
.replik.alindi .soz { color: var(--yazi2); }
.replik .durum .ik { width: 16px; height: 16px; }

.alt-cubuk { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 16px calc(var(--alt) + 12px);
  background: linear-gradient(to top, var(--bg) 70%, transparent); }
.ana-dugme { flex: 1; height: 56px; border-radius: 16px; background: var(--red); color: #fff; font-weight: 800; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ana-dugme:active { background: var(--red-koyu); }
.ana-dugme.ikincil { background: var(--panel2); color: var(--yazi); border: 1px solid var(--cizgi); }

/* ═══ KAYIT ═══ */
.kayit-ekran { background: var(--bg); }
.sufle { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 8px 24px; overflow-y: auto; }
.karakter { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px;
  border-radius: 8px; background: var(--panel2); margin-bottom: 14px; }
.karakter:empty { display: none; }
.sufle p { margin: 0; font-weight: 700; line-height: 1.32; font-size: var(--sufle-boy, 28px); overflow-wrap: anywhere; }
.sufle p.serbest-yazi { color: var(--soluk); font-weight: 600; }
.sufle small { margin-top: 14px; color: var(--soluk); font-size: 13px; }
.olcum { flex: none; padding: 0 16px; }
#canliDalga { width: 100%; height: 72px; display: block; }
.olcer { position: relative; height: 6px; border-radius: 3px; background: var(--panel3); margin-top: 8px; }
.olcer i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--olcer-y) 0 70%, var(--olcer-s) 70% 88%, var(--olcer-k) 88%); background-size: calc(100vw - 32px) 100%; }
.tepe-yazi { position: absolute; right: 0; top: 10px; font: 600 11.5px/1 var(--es-aralik, monospace); color: var(--soluk); }
/* 1.9.10 canlı taşma işareti */
.tepe-yazi.tasma { color: #ff9db7; font-weight: 700; cursor: pointer; }
/* Tepe yazısı mikrofon düğmesinin satırında, sağda: dalga çizimine binmez, 40 px dokunma alanı */
.olcum-alt .tepe-yazi { position: static; margin-left: auto; min-height: 40px; display: inline-flex; align-items: center; padding: 0 2px 0 12px; }
.olcer.tasma { box-shadow: 0 0 0 1px #D4003A; }
.alimlar { flex: none; display: flex; gap: 8px; overflow-x: auto; padding: 26px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.alimlar::-webkit-scrollbar { display: none; }
.alim { flex: none; scroll-snap-align: start; width: 132px; padding: 10px 10px 8px; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--cizgi); text-align: left; position: relative; }
.alim.secili { border-color: var(--altin); }
.alim.caliyor { border-color: var(--yesil); }
.alim b { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.alim b .ik { width: 15px; height: 15px; color: var(--altin); }
.alim canvas { width: 100%; height: 26px; display: block; margin: 6px 0 4px; }
.alim small { color: var(--soluk); font-size: 11.5px; }
.alim small.uyari { color: var(--olcer-s); }
.alim-bos { color: var(--soluk); font-size: 13px; padding: 14px 4px; }
.kayit-alt { flex: none; display: flex; align-items: center; justify-content: space-evenly; padding: 8px 16px calc(var(--alt) + 18px); }
.kayit-dugme { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--yazi); display: grid; place-items: center; }
.kayit-dugme i { width: 66px; height: 66px; border-radius: 50%; background: var(--red); transition: width .18s, height .18s, border-radius .18s; }
.kayit-dugme .sure { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); font: 700 13px/1 var(--es-aralik, monospace);
  color: var(--soluk); white-space: nowrap; }
.kayit-ekran.suruyor .kayit-dugme i { width: 32px; height: 32px; border-radius: 8px; }
.kayit-ekran.suruyor .kayit-dugme .sure { color: var(--red); }
.kayit-ekran.suruyor .ust-ad small { color: var(--red); }
/* Kayıt sürerken kenarda ince kırmızı çerçeve: telefon sehpadayken
   uzaktan bakınca "kayıtta mıyım" sorusunun cevabı. Yanıp sönme YOK —
   göz ucuyla görülen hareket konuşan kişinin dikkatini dağıtıyor. */
.kayit-ekran.suruyor::after { content: ""; position: fixed; inset: 0; border: 2px solid var(--red); pointer-events: none; border-radius: 0; }
.kayit-ekran.suruyor .ik-dugme.buyuk { opacity: .3; pointer-events: none; }
.geri-sayim { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(8, 8, 12, .72); }
.geri-sayim b { font: 800 120px/1 var(--gosterim); color: var(--yazi); }

/* ═══ ALT SAYFA ═══ */
.perde { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 10; }
.sayfa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; max-height: 88vh; overflow-y: auto; background: var(--panel);
  border-radius: 22px 22px 0 0; border-top: 1px solid var(--cizgi); padding: 8px 18px calc(var(--alt) + 18px); animation: yukari .22s ease-out; }
@keyframes yukari { from { transform: translateY(40px); opacity: 0; } }
.tutamak { width: 40px; height: 4px; border-radius: 2px; background: var(--cizgi2); margin: 4px auto 14px; }
.sayfa h3 { font: 700 18px/1.2 var(--gosterim); margin: 2px 0 6px; }
.sayfa p.aciklama { color: var(--yazi2); font-size: 14px; margin: 0 0 14px; }
.sayfa label { display: block; font-size: 13px; font-weight: 700; color: var(--yazi2); margin: 12px 0 6px; }
.sayfa input[type=text], .sayfa textarea { width: 100%; font: 500 16px/1.45 var(--yazi-tipi); color: var(--yazi); background: var(--bg2);
  border: 1px solid var(--cizgi); border-radius: 12px; padding: 12px 14px; }
.sayfa textarea { min-height: 180px; resize: vertical; }
.sayfa input:focus, .sayfa textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.sayfa .dugmeler { display: flex; gap: 10px; margin-top: 18px; }
.sayfa .dugmeler > * { flex: 1; height: 52px; }
.secenek { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 4px; text-align: left; border-bottom: 1px solid var(--cizgi); }
.secenek:last-child { border-bottom: 0; }
.secenek .ik { color: var(--yazi2); }
.secenek small { display: block; color: var(--soluk); font-size: 13px; }
.secenek.tehlike, .secenek.tehlike .ik { color: var(--red); }
.anahtar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.anahtar small { display: block; color: var(--soluk); font-size: 12.5px; font-weight: 500; }
.anahtar input { flex: none; appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--panel3); position: relative; transition: .15s; }
.anahtar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--yazi2); transition: .15s; }
.anahtar input:checked { background: var(--red); }
.anahtar input:checked::after { left: 23px; background: #fff; }

/* Bildirim ÜSTTE: altta kayıt ekranının alım şeridini ve düğmeleri
   örtüyordu (ölçüldü — "kırpılmış olabilir" uyarısı tam yeni alımın
   üstüne düşüyordu, kullanıcı hangi alımdan bahsedildiğini göremiyordu). */
.bildirim { position: fixed; left: 16px; right: 16px; top: calc(var(--ust) + 68px); z-index: 20; padding: 13px 16px; border-radius: 14px;
  background: var(--panel3); border: 1px solid var(--cizgi2); font-size: 14px; opacity: 0; transform: translateY(-8px);
  transition: .2s; pointer-events: none; }
.bildirim.acik { opacity: 1; transform: none; }
.bildirim.hata { border-color: var(--red); }
.bildirim.uyari { border-color: var(--olcer-s); }
.bildirim.basari { border-color: var(--yesil); }

/* ═══ v1.1 — sahne, filtre, düzenleme, kesme ═══ */
.sahne-ekle { margin-top: 10px; }
.serbest-ik.mavi { background: rgba(79, 195, 247, .13); color: #4fc3f7; }
.karakter-secim { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.karakter-secim::-webkit-scrollbar { display: none; }
.karakter-secim button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--cizgi);
  background: var(--panel); font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--yazi2); }
.karakter-secim button.secili { background: var(--kr, var(--red)); border-color: transparent; color: #08080c; }
.sahne { flex: none; position: relative; margin: 0 16px; border-radius: 14px; overflow: hidden; background: #000; max-height: 30vh; aspect-ratio: 16 / 9; }
.sahne video { width: 100%; height: 100%; object-fit: contain; display: block; }
.sahne.ses-yalniz { aspect-ratio: auto; height: 52px; display: flex; align-items: center; padding-left: 64px; color: var(--yazi2); font-size: 13px; }
.sahne-oynat { position: absolute; left: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; background: rgba(8, 8, 12, .72);
  display: grid; place-items: center; color: #fff; }
.kayit-ekran.suruyor .sahne-oynat { display: none; }
.kirp-tuval { position: relative; height: 112px; margin: 6px 0 4px; border-radius: 12px; background: var(--bg2); touch-action: none; }
.kirp-tuval canvas { width: 100%; height: 100%; display: block; }
.kirp-tutamak { position: absolute; top: 0; bottom: 0; width: 28px; margin-left: -14px; display: grid; place-items: center; }
.kirp-tutamak::before { content: ""; width: 4px; height: 70%; border-radius: 2px; background: var(--altin); box-shadow: 0 0 0 4px rgba(231, 200, 120, .18); }
.kirp-bilgi { display: flex; justify-content: space-between; color: var(--yazi2); font: 600 12.5px/1.4 var(--es-aralik, monospace); }
.sayfa .alan2 { display: grid; grid-template-columns: 1fr; gap: 6px; }
.sahne-an { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sahne-an video { width: 100%; border-radius: 10px; background: #000; max-height: 26vh; }
.sahne-an-satir { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.sahne-an-satir b { font: 700 15px var(--es-aralik, monospace); flex: 1; }
.kucuk-dugme { min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--cizgi); font-weight: 700; font-size: 14px; }
.alim b .etk { font-style: normal; font-size: 10px; font-weight: 700; color: var(--yesil); margin-left: 4px; letter-spacing: .04em; }

/* ═══════════════════════════════════════════════════════════
   MİKSER — çok izli mikser & mastering (telefon)
   Zaman çizelgesi "dondurulmuş sol başlık + yatay kayan şerit"
   deseniyle: başlık position:sticky;left:0 ile yerinde kalır,
   şerit kayar. JS ile kaydırma senkronu YOK — native, akıcı.
   ═══════════════════════════════════════════════════════════ */
.serbest-ik.mor { background: rgba(199,146,234,.16); color: #c792ea; }
.serbest-ik { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.mikser-ekran { display: flex; flex-direction: column; }

.miks-ulasim { flex: none; display: flex; align-items: center; gap: 8px; padding: 2px 12px 8px; }
.oynat-dugme { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px -6px var(--red); }
.oynat-dugme:active { transform: scale(.94); }
.oynat-dugme.caliyor { background: var(--panel3); color: var(--yazi); box-shadow: none; }
.ik-dugme.kucuk { width: 42px; height: 42px; border-radius: 12px; }
.ik-dugme.kucuk.acik { color: var(--altin); background: rgba(231,200,120,.14); }
.miks-sure { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 7px; padding-left: 4px; }
.miks-sure b { font: 800 20px/1 var(--gosterim); font-variant-numeric: tabular-nums; }
.miks-sure small { color: var(--soluk); font-variant-numeric: tabular-nums; }
.miks-yak { display: flex; gap: 4px; }

.master-serit { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px;
  background: var(--bg2); border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }
.master-et { font: 800 10px/1 var(--gosterim); letter-spacing: .22em; color: var(--soluk); flex: none; }
.master-olcer { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.master-olcer i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--olcer-y), var(--olcer-y) 62%, var(--olcer-s) 82%, var(--olcer-k));
  width: 0%; transform-origin: left; transition: width .06s linear; }
.master-tepe { font: 700 12px/1 var(--yazi-tipi); font-variant-numeric: tabular-nums; color: var(--yazi2); flex: none; min-width: 46px; text-align: right; }
.master-serit .metin-dugme.kucuk { min-height: 36px; padding: 0 8px; font-size: 13px; color: var(--altin); }

.miks-govde { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; position: relative; overscroll-behavior: contain; }
.miks-cetvel { position: sticky; top: 0; z-index: 5; height: 30px; background: var(--bg2);
  border-bottom: 1px solid var(--cizgi); font: 600 10px/30px var(--yazi-tipi); color: var(--soluk); }
.miks-cetvel .cent { position: absolute; top: 0; height: 100%; border-left: 1px solid var(--cizgi); padding-left: 4px; }
.miks-oynatma { position: absolute; top: 0; width: 2px; height: 100%; background: var(--altin); z-index: 8;
  box-shadow: 0 0 6px var(--altin); pointer-events: none; }
.miks-oynatma::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top-color: var(--altin); border-bottom: 0; }

.miks-iz { display: flex; align-items: stretch; border-bottom: 1px solid var(--cizgi); min-height: 76px; }
.iz-bas { position: sticky; left: 0; z-index: 4; width: 116px; flex: none; background: var(--panel);
  border-right: 1px solid var(--cizgi); border-left: 4px solid var(--kr, var(--cizgi2));
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 8px 8px 10px; }
.iz-bas b { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iz-bas .iz-dugmeler { display: flex; gap: 6px; }
.iz-ms { width: 30px; height: 28px; border-radius: 8px; font: 800 12px/1 var(--yazi-tipi); color: var(--yazi2);
  background: var(--panel3); display: grid; place-items: center; }
.iz-ms.sessiz { background: var(--red-sis); color: var(--red); }
.iz-ms.solo { background: rgba(231,200,120,.18); color: var(--altin); }
.iz-kanal { margin-left: auto; width: 30px; height: 28px; border-radius: 8px; color: var(--yazi2); background: var(--panel3); display: grid; place-items: center; }
.iz-serit { flex: 1; position: relative; background: repeating-linear-gradient(90deg, transparent, transparent calc(var(--cent) - 1px), var(--cizgi) var(--cent)); }
.klip { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; overflow: hidden;
  background: color-mix(in srgb, var(--kr, #4fc3f7) 26%, var(--panel2)); border: 1px solid color-mix(in srgb, var(--kr, #4fc3f7) 55%, transparent); }
.klip canvas { display: block; width: 100%; height: 100%; opacity: .9; }
.klip.secili { outline: 2px solid var(--altin); outline-offset: -2px; }
.klip-ad { position: absolute; top: 2px; left: 5px; right: 5px; font: 700 10px/1.3 var(--yazi-tipi);
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }

.miks-bos { padding: 40px 22px; text-align: center; color: var(--soluk); }
.miks-bos b { display: block; color: var(--yazi); font-size: 16px; margin-bottom: 6px; }

.miks-alt { flex: none; display: flex; gap: 10px; align-items: center;
  padding: 10px 14px calc(var(--alt) + 12px); border-top: 1px solid var(--cizgi); background: var(--bg); }
.ana-dugme.genis { flex: 1; }

/* Kanal şeridi (alt sayfa) */
.kanal-fader { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; }
.kanal-fader input[type=range] { flex: 1; }
.kanal-deger { min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; color: var(--yazi2); font-size: 13px; }
.efekt-sat { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--cizgi); }
.efekt-sat > b { flex: 1; font-size: 14.5px; font-weight: 700; }
.efekt-govde { padding: 2px 0 8px; }
.mini-kaydir { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.mini-kaydir label { width: 58px; color: var(--yazi2); font-size: 12.5px; flex: none; }
.mini-kaydir input[type=range] { flex: 1; }
.mini-kaydir .d { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--soluk); }

/* Dokunmatik anahtar */
.salter { position: relative; width: 46px; height: 28px; flex: none; border-radius: 15px; background: var(--panel3); transition: background .15s; }
.salter.acik { background: var(--yesil); }
.salter i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.salter.acik i { left: 21px; }

input[type=range] { -webkit-appearance: none; appearance: none; height: 30px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 3px; background: var(--panel3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--yazi); box-shadow: 0 1px 4px rgba(0,0,0,.4); }
input[type=range].kirmizi::-webkit-slider-thumb { background: var(--red); }

/* ── v1.3 ──
   Kayıt sürerken önceki/sonraki AÇIK: geçiş kaydı kesmiyor, repliğe
   bölme işareti koyuyor. Eski kural (.ik-dugme.buyuk pointer-events:none)
   düğmeyi kapatıyordu — "replikler arasında geçiş yapamıyorum". */
.kayit-ekran.suruyor .ik-dugme.buyuk { opacity: 1; pointer-events: auto; }
.kayit-ekran.suruyor .ik-dugme.buyuk:disabled { opacity: .3; }
/* Yerel oynatıcı denetimleri altta; kendi düğmelerimiz üste. */
.sahne-oynat { top: 8px; bottom: auto; }
.sahne-isaret { position: absolute; right: 8px; top: 8px; min-height: 40px; padding: 0 12px; border-radius: 20px; border: 0;
  display: flex; align-items: center; gap: 6px; background: rgba(8, 8, 12, .72); color: #fff; font-family: inherit; font-weight: 600; font-size: 13px; }
.sahne-isaret .ik { width: 18px; height: 18px; }
.sahne-isaret.dolu { color: var(--altin, #e7c878); }
.sahne-isaret[hidden], .sahne[hidden] { display: none !important; }
/* Ses bankası gönderim çubuğu */
.yukle-cubuk { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 14px; }
.yukle-cubuk i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }
.yukle-cubuk[hidden] { display: none; }
#sayfaIc select { width: 100%; font-size: 16px; padding: 12px; border-radius: 12px; background: var(--panel2); color: var(--yazi); border: 1px solid var(--cizgi2); }
/* KASMA (v1.3): ölçer dolgusu `width` ile değişiyordu — saniyede 30 kez
   düzen hesabı. Artık genişlik sabit, görünen kısım clip-path ile
   kırpılıyor: düzen hiç yeniden hesaplanmıyor, yalnız 6 piksellik çubuk
   boyanıyor. contain: ölçüm alanındaki değişiklik sayfanın geri kalanına
   (replik metni, alımlar) taşmasın. */
.olcer i { width: 100%; clip-path: inset(0 100% 0 0); }
.olcum, .kayit-alt, .sufle { contain: layout paint; }
.alimlar { contain: content; }

/* ═══ v1.4 ═══ */
/* Alım kartı + ⋯ menü düğmesi (menü eskiden yalnız uzun basmayla açılıyordu) */
.alim-kap { position: relative; flex: none; scroll-snap-align: start; }
.alim-kap .alim { padding-right: 40px; }
.alim-menu { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--yazi2); }
.alim-menu .ik { width: 18px; height: 18px; }
.alim-menu:active { background: var(--panel3); }
/* Sahne açıkken canlı dalga daha kısa: 740px'lik telefonda sufle yazısı
   dalganın üstüne yapışıyordu (ölçüldü, "9 hece" satırı tuvalle bitişik). */
.kayit-ekran.sahneli #canliDalga { height: 48px; }
.sufle small { line-height: 1.4; }
.serbest-ik.onizleme { width: 72px; height: 44px; padding: 0; overflow: hidden; background: #000; }
.serbest-ik.onizleme video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* ═══ v1.5 — kayıt başlangıcı satırı (videonun istenen yerinden) ═══ */
.sahne-bas { flex: none; display: flex; align-items: center; gap: 6px; margin: 8px 16px 0; }
.sahne-bas[hidden] { display: none !important; }
.sahne-bas button { flex: none; min-width: 44px; height: 40px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--cizgi);
  background: var(--panel); color: var(--yazi); font-family: inherit; font-weight: 600; font-size: 14px; touch-action: manipulation; }
.sahne-bas button:active { background: var(--panel2); }
.sahne-bas .sb-yazi { flex: 1; min-width: 0; text-align: center; line-height: 1.15; }
.sahne-bas .sb-yazi small { display: block; color: var(--soluk); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sahne-bas .sb-yazi b { font-variant-numeric: tabular-nums; font-size: 15px; }
.sahne-bas .sb-sifir { position: absolute; visibility: hidden; }
.sahne-bas .sb-sifir:not([hidden]) { position: static; visibility: visible; font-size: 12px; color: var(--yazi2); }
@media (max-width: 380px) { .sahne-bas { gap: 4px; } .sahne-bas button { min-width: 38px; padding: 0 6px; } }
.kayit-ekran.suruyor .sahne-bas { display: none; }
/* v1.5 dokunma hedefi: karakter süzgeci 36 → 40 px (ölçüldü, 360 px'te) */
.karakter-secim button { min-height: 40px; }
@media (max-width: 380px) { .sahne-bas button { min-width: 40px; padding: 0 4px; } .sahne-bas { gap: 3px; margin: 8px 12px 0; } }
/* v1.5 MİKSER DOKUNMA HEDEFLERİ — ÖLÇÜLDÜ: M / S / kanal 27×28 px'e
   büzülüyordu (116 px başlıkta üç düğme + boşluk sığmıyor, flex
   küçültüyordu); başparmakla M'ye basan S'yi tetikliyordu. Başlık 132 px
   (mikser.js HEADER ile aynı), düğmeler 34 px, görünmez alan dikeyde
   40 px'e uzuyor. Süre yazısı da döngü simgesine yapışıyordu. */
.iz-bas { width: 132px; padding: 8px 6px 8px 8px; }
.iz-bas .iz-dugmeler { gap: 4px; }
.iz-ms, .iz-kanal { flex: none; width: 34px; height: 34px; position: relative; }
.iz-ms::after, .iz-kanal::after { content: ""; position: absolute; inset: -3px 0; }
.master-serit .metin-dugme.kucuk { min-height: 40px; }
.miks-sure { overflow: hidden; }
.miks-sure small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#miksDongu { margin-left: 4px; }
/* Kaydırıcı kutusu 30 → 40 px: iz 4 px kalıyor (track ayrı çiziliyor),
   yalnız parmağın tuttuğu alan büyüyor; sürüklerken sayfa kaymasın. */
input[type=range] { height: 40px; touch-action: none; }
@media (max-width: 380px) { .miks-sure small { display: none; } }

/* ═══ v1.5 SUFLE KISA EKRANDA KESİLİYORDU ═══
   ÖLÇÜLDÜ (360×640, sahne videosu açık): sufleye 30 px, 320×568'de 16 px
   kalıyordu. Üstelik `justify-content:center` taşan içeriğin ÜSTÜNÜ
   kaydırılamaz şekilde kesiyor (flex ortalama tuzağı): dublajcı repliğin
   yalnız SON satırını görüyor, karakter adı ve başı hiç görünmüyordu.
   1) Ortalama otomatik kenar boşluğuyla — sığarsa ortada, sığmazsa
      baştan başlayıp kayar.
   2) Sufle en az 104 px; yer video ve alım şeridinden açılıyor.
   3) Sahneliyken yazı biraz küçülüyor (video zaten dikkati bölüyor). */
.sufle { justify-content: flex-start; min-height: 104px; }
.sufle > :first-child { margin-top: auto; }
.sufle > :last-child { margin-bottom: auto; }
.kayit-ekran.sahneli .sufle p { font-size: calc(var(--sufle-boy, 28px) * .82); }
.kayit-ekran.sahneli .karakter { margin-bottom: 8px; }
.kayit-ekran.sahneli .sufle small { margin-top: 8px; }
@media (max-height: 760px) {
  .kayit-ekran.sahneli .sahne { max-height: 24vh; }
  .kayit-ekran.sahneli #canliDalga { height: 34px; }
  .kayit-ekran.sahneli .alimlar { padding-top: 18px; padding-bottom: 6px; }
  .kayit-ekran.sahneli .alim canvas { height: 18px; margin: 4px 0 2px; }
  .kayit-ekran.sahneli .sahne-bas { margin-top: 6px; }
  .kayit-ekran.sahneli .sahne-bas button { height: 36px; }
}
@media (max-height: 600px) {
  .kayit-ekran.sahneli .sahne { max-height: 20vh; }
  .kayit-ekran.sahneli .sahne-bas .sb-yazi small { display: none; }
  .kayit-ekran.sahneli .kayit-alt { padding-top: 4px; padding-bottom: calc(var(--alt) + 8px); }
}
/* Kısa ekran + sahne: alım kartları tek satır (dalga gizli), yazı biraz daha
   küçük — sufle 4-5 satırı göstersin. */
@media (max-height: 760px) {
  .kayit-ekran.sahneli .alimlar { padding-top: 10px; }
  .kayit-ekran.sahneli .alim { padding: 7px 10px; }
  .kayit-ekran.sahneli .alim canvas { display: none; }
  .kayit-ekran.sahneli .alim small { display: block; margin-top: 2px; }
  .kayit-ekran.sahneli .sufle p { font-size: calc(var(--sufle-boy, 28px) * .74); }
}
@media (max-height: 600px) {
  .kayit-ekran.sahneli .sufle { min-height: 96px; padding-top: 4px; padding-bottom: 4px; }
  .kayit-ekran.sahneli .olcer { margin-top: 4px; }
  .kayit-ekran.sahneli .kayit-dugme { transform: scale(.86); }
}

/* ═══════════════════════════════════════════════════════════
   v1.6 — "BANDLAB GİBİ ANLAŞILIR"
   Kurucu: "her şey çok karışık, çoğu özellik yok". İlke: her önemli
   düğmenin ALTINDA ne yaptığı yazıyor; ekranın altında hep aynı yerde
   büyük kırmızı Kaydet; uzun açıklamalı kartlar yerine kısa adlar.
   ═══════════════════════════════════════════════════════════ */

/* Proje: iki küçük kutu (Video · Serbest kayıt) */
.proje-kutular { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kutu { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 12px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--cizgi); text-align: left; }
.kutu:active { background: var(--panel2); }
.kutu .serbest-ik { margin-bottom: 8px; }
.kutu b { font-size: 14.5px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kutu small { color: var(--soluk); font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Alt çubuk: yazılı sekmeler + ortada büyük kırmızı Kaydet */
.alt-sekmeler { display: flex; align-items: flex-end; justify-content: space-around; gap: 6px; }
.alt-cubuk.alt-sekmeler { padding: 18px 12px calc(var(--alt) + 10px); background: linear-gradient(to top, var(--bg) 78%, transparent); }
.alt-sek { flex: 1; max-width: 120px; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 14px; color: var(--yazi2); font-size: 12.5px; font-weight: 700; }
.alt-sek:active { background: var(--panel2); color: var(--yazi); }
.alt-sek .ik { width: 24px; height: 24px; }
.kayit-yuvarlak { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 96px; color: var(--yazi); font-size: 12.5px; font-weight: 800; }
.kayit-yuvarlak i { width: 64px; height: 64px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--yazi), 0 10px 26px -6px rgba(212,0,58,.55);
  position: relative; transition: transform .12s; }
.kayit-yuvarlak:active i { transform: scale(.94); }
.kayit-yuvarlak .et { max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kayit-yuvarlak.suruyor i::after { content: ""; position: absolute; inset: 21px; border-radius: 5px; background: #fff; }
.kayit-yuvarlak.suruyor .et { color: var(--red); }

/* Kayıt ekranı: okların altında ad, kurtar düğmesinde "30 sn" */
.kayit-alt { padding-bottom: calc(var(--alt) + 26px); }
.ik-dugme.buyuk[data-et] { position: relative; }
.ik-dugme.buyuk[data-et]::after { content: attr(data-et); position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; color: var(--soluk); white-space: nowrap; }
.ik-dugme.kurtar { display: flex; flex-direction: column; gap: 1px; width: 52px; }
.ik-dugme.kurtar .ik { width: 18px; height: 18px; }
.ik-dugme.kurtar small { font-size: 10px; font-weight: 800; line-height: 1; }

/* Mikser: video */
.miks-video { flex: none; position: relative; background: #000; display: flex; justify-content: center; }
.miks-video video { display: block; width: 100%; max-height: 26vh; object-fit: contain; background: #000; }
.miks-video-ses { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px;
  border-radius: 17px; background: rgba(8,8,12,.72); color: var(--yazi2); font-size: 12px; font-weight: 700; }
.miks-video-ses .ik { width: 16px; height: 16px; }
.miks-video-ses.acik { color: var(--altin); }

/* Mikser: iz başlığı — efekt adı + ses düzeyi çubuğu */
.iz-bas { gap: 4px; }
.iz-ef { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iz-ef .ik { width: 13px; height: 13px; flex: none; }
.iz-ef.acik { color: #c792ea; }
.iz-vol { flex: 1; min-width: 20px; height: 4px; align-self: center; border-radius: 2px; background: var(--panel3); overflow: hidden; }
.iz-vol i { display: block; height: 100%; background: var(--yazi2); }
.miks-iz.hedef .iz-bas { background: var(--panel2); }
.ekran.kayitta .miks-iz.hedef .iz-bas { box-shadow: inset 0 0 0 2px var(--red); }

/* Mikser: seçili klip sürüklenir, kenarlarından kırpılır */
.klip.secili { touch-action: none; outline: 2px solid var(--altin); outline-offset: -2px; z-index: 3; cursor: grab; }
.klip.tasiniyor { opacity: .85; z-index: 9; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
/* Kırpma tutamakları klibin KENARINDAN DIŞARI taşıyor (16 px dışarı, 8 px
   içeri): kısa klipte iki tutamak klibin tamamını kaplıyor, klip hiçbir
   yerinden taşınamıyordu (sınamada yakalandı). */
.klip.secili { overflow: visible; }
.klip.secili canvas { border-radius: 7px; }
.klip-tut { position: absolute; top: 0; bottom: 0; width: 24px; z-index: 2; touch-action: none; }
.klip-tut::before { content: ""; position: absolute; top: 50%; width: 8px; height: 30px; margin-top: -15px; border-radius: 4px; background: var(--altin); box-shadow: 0 0 0 2px var(--bg); }
.klip-tut.sol { left: -16px; } .klip-tut.sol::before { left: 12px; }
.klip-tut.sag { right: -16px; } .klip-tut.sag::before { right: 12px; }
.kayit-klip { background: rgba(212,0,58,.28); border: 1px solid var(--red); }
.ekran.kayitta .miks-ulasim { box-shadow: inset 0 -2px 0 var(--red); }

/* Mikser: alt çubuk + klip araçları */
.miks-alt { display: block; padding: 8px 10px calc(var(--alt) + 10px); }
.miks-alt .alt-sekmeler { width: 100%; }
.klip-arac-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.klip-arac-bas b { font-size: 13.5px; font-weight: 800; color: var(--altin); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.klip-arac-dugmeler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.klip-arac-dugmeler button { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 14px; background: var(--panel); border: 1px solid var(--cizgi); font-size: 12.5px; font-weight: 700; color: var(--yazi); }
.klip-arac-dugmeler button:active { background: var(--panel3); }
.klip-arac-dugmeler button.tehlike { color: var(--red); }
.klip-arac-ipucu { display: block; text-align: center; color: var(--soluk); font-size: 11.5px; margin-top: 6px; }

/* Alt sayfa: hazır efekt ızgarası */
.sayfa-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sayfa-bas h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sayfa h4.sayfa-alt { font: 700 12px/1 var(--gosterim); letter-spacing: .1em; text-transform: uppercase; color: var(--yazi2); margin: 18px 0 10px; }
.kf-et { width: 34px; flex: none; font-size: 12.5px; font-weight: 700; color: var(--yazi2); }
.hazir-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 6px; }
.hazir { text-align: left; padding: 11px 12px; border-radius: 14px; background: var(--bg2); border: 1.5px solid var(--cizgi); min-height: 60px; }
.hazir b { display: block; font-size: 14px; font-weight: 800; }
.hazir small { display: block; color: var(--soluk); font-size: 11.5px; line-height: 1.3; margin-top: 2px; }
.hazir.secili { border-color: var(--red); background: var(--red-sis); }
.hazir:active { background: var(--panel3); }
.ayrinti-ac { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 8px; padding: 0 2px;
  border-top: 1px solid var(--cizgi); color: var(--yazi2); font-weight: 700; font-size: 14px; }
.hazir-satir { display: flex; gap: 8px; margin-top: 8px; }
.hazir-kucuk { flex: 1; min-height: 44px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--cizgi); font-weight: 700; }
.ana-dugme .ik { width: 20px; height: 20px; }
.ana-dugme.tehlike-yazi { color: var(--red); }
.ilerleme.buyuk { height: 8px; border-radius: 4px; margin: 14px 0 8px; }
.ilerleme.buyuk i { transition: width .2s linear; }

@media (max-width: 360px) {
  .kayit-yuvarlak { min-width: 84px; }
  .kayit-yuvarlak i { width: 58px; height: 58px; }
  .hazir { padding: 10px; }
}
@media (max-height: 640px) {
  .miks-video video { max-height: 20vh; }
  .kayit-yuvarlak i { width: 54px; height: 54px; }
  .alt-sek { min-height: 50px; }
}
#ekProje .kaydir { padding-bottom: calc(var(--alt) + 132px); }

/* v1.6 — ikinci tur: ilk açılış adımları, görünür replik menüsü */
.adimlar { list-style: none; counter-reset: adim; margin: -28px 8px 0; padding: 0; display: grid; gap: 10px; }
.adimlar li { counter-increment: adim; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; align-items: start; padding: 14px;
  border-radius: 16px; background: var(--panel); border: 1px solid var(--cizgi); }
.adimlar li::before { content: counter(adim); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-sis); color: var(--red); font: 800 15px/1 var(--gosterim); }
.adimlar b { font-size: 15px; font-weight: 800; }
.adimlar span { color: var(--soluk); font-size: 13px; }
.replik { grid-template-columns: 32px 1fr auto 40px; }
.replik-menu { width: 40px; height: 40px; margin: -8px -4px -8px 0; border-radius: 12px; display: grid; place-items: center; color: var(--soluk); }
.replik-menu:active { background: var(--panel2); color: var(--yazi); }
.replik-menu .ik { width: 20px; height: 20px; }
.replik-ipucu { margin: -2px 2px 8px; color: var(--soluk); font-size: 12.5px; }
.metin-dugme.gec { display: flex; margin: 10px auto 0; color: var(--yazi2); }
.klip-fade { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.klip-fade.sol { left: 0; background: linear-gradient(to top right, rgba(8,8,12,.6) 50%, transparent 50%); }
.klip-fade.sag { right: 0; background: linear-gradient(to top left, rgba(8,8,12,.6) 50%, transparent 50%); }
.miks-govde { touch-action: pan-x pan-y; }
.hazir-kucuk { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.hazir-kucuk .ik { width: 18px; height: 18px; }
.hazir-kucuk:disabled { opacity: .35; }
/* Mikserde bildirim ALTTA: üstte Oynat düğmesini 6 sn örtüyordu. */
#ekMikser:not([hidden]) ~ .bildirim { top: auto; bottom: calc(var(--alt) + 150px); }
/* Seçili klip en baştayken sol tutamak iz başlığının ALTINDA kalıyordu:
   klip yığın bağlamı kurmuyor, tutamak başlığın (z 4) üstüne çıkıyor. */
.klip.secili { z-index: auto; }
.klip-tut { z-index: 5; }
/* Dokunma hedefi en az 40 px (denet.js): kısa ekran kuralı ±5 düğmelerini 36'ya,
   video sesi düğmesi 34'e iniyordu. */
.sahne-bas button { min-height: 40px; }
.miks-video-ses { min-height: 40px; }
.miks-oynatma { left: 0; will-change: transform; }

/* ═══ v1.7 — FL Studio'dan: tempo, davul makinesi, klip işleme ═══ */
.klip-arac-dugmeler { grid-template-columns: repeat(5, 1fr); gap: 5px; }
.tempo-dugme { flex: none; min-height: 40px; min-width: 52px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 12px;
  background: var(--bg2); border: 1px solid var(--cizgi); color: var(--yazi2); font: 800 13px/1 var(--yazi-tipi); font-variant-numeric: tabular-nums; }
.tempo-dugme .ik { width: 17px; height: 17px; }
.tempo-dugme.acik { color: var(--yazi); border-color: var(--red); background: var(--red-sis); }
@media (max-width: 380px) { .tempo-dugme { min-width: 44px; padding: 0 6px; } .tempo-dugme:not(.acik) .et { display: none; } }
/* Tempo açıkken çizelgede vuruş (ince) ve ölçü (kalın) çizgileri. */
.miks-izler.izgarali .iz-serit { background:
  repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--olcu) - 1.5px), var(--cizgi2) calc(var(--olcu) - 1.5px), var(--cizgi2) var(--olcu)),
  repeating-linear-gradient(90deg, transparent 0, transparent calc(var(--vurus) - 1px), var(--cizgi) calc(var(--vurus) - 1px), var(--cizgi) var(--vurus)); }
.cent.olcu { font-weight: 800; color: var(--yazi2); }
.klip-islem { font-style: normal; font-weight: 800; color: #fff; background: rgba(0,0,0,.35); border-radius: 5px; padding: 0 4px; margin-right: 4px; }
.tempo-sayi { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 4px; }
.tempo-sayi b { font: 800 40px/1 var(--gosterim); font-variant-numeric: tabular-nums; min-width: 86px; text-align: center; }
.tempo-sayi small { color: var(--soluk); font-weight: 700; margin-left: -8px; }
.tempo-sayi .hazir-kucuk { flex: none; width: 52px; }
#tpKay { width: 100%; margin: 6px 0 10px; }
.tp-vur { width: 100%; margin: 4px 0 8px; }
.hazir-izgara.uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sayfa select.secim { width: 100%; min-height: 48px; font: 600 16px var(--yazi-tipi); color: var(--yazi); background: var(--bg2);
  border: 1px solid var(--cizgi); border-radius: 12px; padding: 0 12px; }
/* Davul adımları: ses adı üstte, 8 kutu tam genişlikte (iki yarı sekmeyle).
   16 kutuyu tek satıra sığdırmak 360 px'te 17 px'lik kutu demekti. */
.adim-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.adim-sekme { display: flex; gap: 4px; background: var(--bg2); border-radius: 12px; padding: 3px; }
.adim-sekme button { min-height: 40px; min-width: 58px; border-radius: 10px; font-weight: 800; font-size: 13px; color: var(--yazi2); }
.adim-sekme button.secili { background: var(--panel3); color: var(--yazi); }
.adim-izgara { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; }
.adim-ad { display: block; font-size: 12px; font-weight: 800; color: var(--yazi2); margin: 0 0 3px 2px; }
.adim-dizi { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.adim { height: 40px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--cizgi); }
.adim.vurus { background: var(--panel3); }
.adim.acik { background: var(--red); border-color: var(--red); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.davul-iz .klip canvas { opacity: .95; }
/* Tempo düğmesi MASTER satırında: taşıma satırına konunca 360 px'te süre
   göstergesi (0:00) sıfır genişliğe ezilmişti — ÖLÇÜLDÜ, ekran görüntüsünde
   yalnız "0" kalıyordu. Ölçer esnek, burada yer var. */
.master-serit .tempo-dugme { min-height: 40px; gap: 3px; padding: 0 7px; min-width: 40px; justify-content: center; }
@media (max-width: 400px) { .master-et { display: none; } .master-serit { gap: 8px; } }
/* iPhone kurulum şeridi (v1.7) — yalnız Safari'de, ana ekrana eklenmemişken. */
.ios-serit { position: fixed; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 20; display: flex; gap: 12px; align-items: center;
  padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.ios-serit > div { flex: 1; font-size: 13px; line-height: 1.4; color: var(--yazi2); }
.ios-serit > div > b { display: block; color: var(--yazi); font-size: 14.5px; }
.ios-serit span b { color: var(--yazi); }
.ios-serit button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; }

/* ═══ v1.8 — kendi video oynatıcımız, uzun alım satırları, mikrofon seviyesi ═══ */
/* Oynatıcı: tarayıcının gri denetimleri yerine sitenin dili */
.sahne .sahne-oynat { display: none; }            /* oynat artık alt şeritte */
.oyn-kap { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; }
.oyn-kap video { width: 100%; display: block; max-height: 26vh; object-fit: contain; }
.oyn { position: absolute; inset: 0; pointer-events: none; }
.oyn-alt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 18px 8px 6px;
  background: linear-gradient(180deg, transparent, rgba(4, 4, 8, .55) 35%, rgba(4, 4, 8, .88)); pointer-events: auto;
  transition: opacity .25s, transform .25s; }
.oyn.gizli .oyn-alt { opacity: 0; transform: translateY(8px); pointer-events: none; }
.kayit-ekran.suruyor .oyn-alt { display: none; }
.oyn-alt button { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.oyn-alt button .ik { width: 20px; height: 20px; }
.oyn-alt button:active { background: rgba(255, 255, 255, .12); }
.oyn-cal { background: var(--red) !important; border-radius: 50% !important; box-shadow: 0 4px 14px rgba(212, 0, 58, .4); }
.oyn-cal .ik { width: 18px !important; height: 18px !important; }
.oyn-ses.acik { color: var(--yesil); }
.oyn-zaman, .oyn-sure { flex: none; font: 700 11.5px/1 var(--es-aralik, monospace); color: #fff; font-variant-numeric: tabular-nums; min-width: 30px; text-align: center; }
.oyn-sure { color: rgba(255, 255, 255, .6); }
/* Çubuk: görünen iz 4 px, dokunma alanı 36 px (padding) */
.oyn-cubuk { flex: 1; min-width: 0; position: relative; height: 36px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.oyn-iz { position: relative; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.oyn-dolu { position: absolute; inset: 0; border-radius: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.oyn-isaret { position: absolute; top: -4px; width: 3px; height: 12px; margin-left: -1.5px; border-radius: 2px; background: var(--altin); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.oyn-tutamak { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); transition: transform .12s; }
.oyn.suruk .oyn-tutamak { transform: scale(1.35); }
@media (max-width: 380px) { .oyn-sure { display: none; } .oyn-alt { gap: 4px; padding-left: 6px; padding-right: 6px; } }

/* Alımlar: sesli mesaj gibi tam genişlik satırlar, dikey liste */
.alimlar { flex: 0 1 auto; flex-direction: column; overflow-x: hidden; overflow-y: auto; scroll-snap-type: none; gap: 6px; padding: 12px 16px 8px; max-height: 34vh; min-height: 0; }
.alim-kap { width: 100%; scroll-snap-align: none; }
.alim { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 46px 8px 8px; border-radius: 14px; text-align: left; }
.alim-kap .alim { padding-right: 46px; }
.alim-cal { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--panel3); color: var(--yazi); }
.alim-cal .ik { width: 17px; height: 17px; }
.alim.caliyor .alim-cal { background: var(--red); color: #fff; }
.alim.secili .alim-cal { box-shadow: inset 0 0 0 1.5px var(--altin); }
.alim-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.alim-ust { display: flex; align-items: center; gap: 6px; min-width: 0; }
.alim-ust b { font-size: 13.5px; font-weight: 800; }
.alim-ust .etk { font-style: normal; font-size: 10px; font-weight: 700; color: var(--yesil); letter-spacing: .04em; }
.alim-ust .alim-yildiz .ik, .alim-yildiz .ik { width: 14px; height: 14px; color: var(--altin); }
.alim-ust small { margin-left: auto; color: var(--soluk); font-size: 11.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.alim-ust small.uyari { color: var(--olcer-s); }
.alim canvas { width: 100%; height: 30px; margin: 0; }
.alim-menu { top: 50%; transform: translateY(-50%); }
.alim-bos { text-align: center; padding: 10px 4px; }

/* Mikrofon seviyesi */
.olcum-alt { display: flex; align-items: center; margin-top: 6px; }
.mik-ayar { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; border-radius: 12px; border: 1px solid var(--cizgi);
  background: var(--panel); color: var(--yazi2); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mik-ayar .ik { width: 16px; height: 16px; color: var(--red); }
.kayit-ekran.suruyor .olcum-alt { visibility: hidden; }
.mik-olcer { position: relative; height: 14px; border-radius: 7px; background: var(--panel3); margin: 6px 0 14px; overflow: hidden; }
.mik-olcer i { position: absolute; inset: 0; clip-path: inset(0 100% 0 0);
  background: linear-gradient(90deg, var(--olcer-y) 0 70%, var(--olcer-s) 70% 88%, var(--olcer-k) 88%); }
.mik-olcer b { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 700 10.5px/1 var(--es-aralik, monospace); color: #fff; mix-blend-mode: difference; }
.ana-dugme.tam { width: 100%; margin-top: 6px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.aciklama.kucuk { font-size: 12px; margin-top: 10px; }
/* Kısa ekran + video: eski kartlarda dalga gizleniyordu (kart uzundu).
   Satır tasarımında dalga oynat düğmesinin yanında, yer kaplamıyor —
   gizlemek yerine inceltiliyor; testte tuval 0 px kalmıştı. */
@media (max-height: 760px) {
  .kayit-ekran.sahneli .alim { padding: 6px 46px 6px 6px; }
  .kayit-ekran.sahneli .alim canvas { display: block; height: 20px; margin: 0; }
  .kayit-ekran.sahneli .alim small { display: inline; margin-top: 0; }
  .kayit-ekran.sahneli .alim-cal { width: 36px; height: 36px; }
  .kayit-ekran.sahneli .alimlar { padding-top: 8px; gap: 4px; max-height: 26vh; }
}
/* Kısa ekran + video: mikrofon düğmesinin satırı repliğin yerinden ~46 px
   yiyordu (360×640'ta uzun replik kesildi). Orada gizli — ayar ⋯ menüsünde. */
@media (max-height: 700px) { .kayit-ekran.sahneli .olcum-alt { display: none; } }
/* Tutamak çubuğun başındayken "0:00" yazısının üstüne binmesin */
.oyn-cubuk { padding: 0 8px; }
.oyn-cubuk .oyn-tutamak { margin-left: calc(-7px); }

/* ═══ v1.9 TELAFFUZ YARDIMI ═══ */
.sufle { position: relative; }
.tl-baslik { margin: 16px 0 8px; font-size: 13px; letter-spacing: .02em; color: var(--yazi2); }
.tl-liste { display: grid; gap: 8px; }
.tl-ip { border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; background: var(--panel2); }
.tl-ip.tl-gundelik { border-left: 3px solid var(--altin); }
.tl-ip.tl-okunus { border-left: 3px solid var(--yesil); }
.tl-ip.tl-dikkat { border-left: 3px solid var(--red); }
.tl-etiket { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); }
.tl-kelime { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; font-size: 17px; }
.tl-kelime .tl-yazi { color: var(--yazi2); }
.tl-kelime .tl-ok { color: var(--soluk); font-size: 14px; }
.tl-kelime b { color: var(--yazi); font-weight: 800; }
.tl-dikkat .tl-kelime .tl-yazi { color: var(--yazi); font-weight: 700; }
.tl-ip small { display: block; margin-top: 5px; color: var(--soluk); font-size: 12.5px; line-height: 1.45; }
.tl-not { font-size: 12.5px; color: var(--soluk); line-height: 1.5; margin: 10px 2px 0; }
.tl-sesler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tl-ses { display: flex; flex-direction: column; background: var(--panel2); border: 1px solid var(--cizgi); border-radius: 12px; padding: 8px; }
.tl-ses .agiz-kesit { --tl-ciz: #b9b2c9; --tl-ten1: #3a3350; --tl-ten2: #2a2540; --tl-ic: #141019;
  width: 100%; height: auto; display: block; }
.tl-ses b { font-size: 15px; margin-top: 2px; }
.tl-ses i { font-style: normal; font-size: 12px; color: var(--red); }
.tl-ses small { display: block; margin-top: 4px; color: var(--soluk); font-size: 12px; line-height: 1.4; }
.tl-hepsi { margin-top: 12px; }
.tl-hepsi > summary { cursor: pointer; padding: 10px 0; font-size: 14px; color: var(--yazi2); font-weight: 600; list-style: none; }
.tl-hepsi > summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .15s; }
.tl-hepsi[open] > summary::before { transform: rotate(90deg); }
.tl-hepsi > summary::-webkit-details-marker { display: none; }
.tl-hepsi .tl-sesler { margin-top: 6px; }
.tl-genel { padding: 8px 0; border-bottom: 1px solid var(--cizgi); }
.tl-genel:last-child { border-bottom: 0; }
.tl-genel b { font-size: 14px; }
.tl-genel small { display: block; margin-top: 3px; color: var(--soluk); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 340px) { .tl-sesler { grid-template-columns: 1fr; } }

/* ═══ v1.9 AKIŞ (teleprompter) ═══ */
.sufle-tuslar { position: absolute; top: 6px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.sufle-tus { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px;
  background: var(--red-sis); color: var(--red); font: 700 12px/1 var(--yazi-tipi);
  border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); }
.sufle-tus .ik { width: 15px; height: 15px; }
.sufle-tus[aria-pressed="true"] { background: var(--red); color: #fff; }
.sufle.akis .karakter, .sufle.akis > #sufleMetin, .sufle.akis > #sufleBilgi { display: none; }
.prompter { display: none; flex-direction: column; gap: 14px; width: 100%; overflow-y: auto;
  padding: 38px 2px 40px; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent); }
.sufle.akis .prompter { display: flex; }
.prompter .pr-satir { font-weight: 700; line-height: 1.3; color: var(--soluk); opacity: .4;
  transition: opacity .3s, color .3s, transform .3s; transform: scale(.92); transform-origin: left; }
.prompter .pr-satir .pr-kim { font-size: 12px; font-weight: 800; letter-spacing: .02em; display: block; margin-bottom: 2px; }
.prompter .pr-satir.aktif { opacity: 1; color: var(--yazi); font-size: 26px; transform: scale(1); }
.prompter .pr-satir:not(.aktif) { font-size: 17px; }
.prompter .pr-satir.gecti { opacity: .22; }
.akis-hiz { display: none; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  align-items: center; gap: 10px; background: var(--panel2); border: 1px solid var(--cizgi); border-radius: 999px;
  padding: 3px 4px; font-size: 12px; color: var(--yazi2); z-index: 2; }
.sufle.akis .akis-hiz { display: inline-flex; }
.akis-hiz button { width: 28px; height: 28px; border-radius: 50%; background: var(--panel3); color: var(--yazi); font-size: 17px; font-weight: 700; }
.akis-hiz b { color: var(--red); }
.kayit-ekran.sahneli .prompter .pr-satir.aktif { font-size: 21px; }
.kayit-ekran.sahneli .prompter { padding-top: 20px; padding-bottom: 26px; }
