/* Tryr Film — ayrı uygulama kabuğu (2026-09-02).
   Tokenlar style.css'ten; burada yalnız film kabuğu. Tek vurgu rengi,
   gölge yok, 1px çizgi + 14px köşe. Sohbet tek sütun, 680px. */
:root {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --vurgu: var(--accent);
  --radius-kart: 14px;
  --sohbet-genislik: 680px;
  --ray-genislik: 240px;
}
body.film-govde { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
#film-uygulama { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.marka-ek { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; margin-left: 8px; color: var(--accent); vertical-align: middle; text-transform: uppercase; }
.app-ust .marka { text-decoration: none; color: inherit; font-weight: 900; }
.app-ust .panel-link { text-decoration: none; }
.app-sag #f-bakiye { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 99px; background: var(--paper); color: var(--ink); letter-spacing: 0; }
.app-sag #f-bakiye[hidden] { display: none; }
.app-sag #f-bakiye-sayi { font-weight: 800; white-space: nowrap; }
@media (max-width: 400px) { .app-sag .f-bakiye-etiket { display: none; } }

/* ── 00 boş ─────────────────────────────────────────────────────────── */
.f-bos { align-items: center; justify-content: center; padding: 40px 20px; overflow-y: auto; }
#f-okuma { overflow-y: auto; }
.f-bos-ic { width: min(720px, 100%); display: flex; flex-direction: column; gap: 18px; }
.f-bos-ic h1 { margin: 0; }
.f-bos-ic .govde { margin: 0; max-width: 56ch; }
.f-bos-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.f-cekimler { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.f-cekim { border: 1px solid var(--rule); border-radius: var(--radius-kart); background: #fff; padding: 8px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.f-cekim img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 8px; }
.f-cekim b { display: block; font-size: 13px; line-height: 1.3; }
.f-cekim span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ── composer ──────────────────────────────────────────────────────── */
.f-composer { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--edge); border-radius: 16px; padding: 6px 6px 6px 8px; }
.f-composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.f-composer input[type=text] { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15.5px; padding: 10px 6px; background: transparent; color: var(--ink); }
.f-composer .dugme { padding: 10px 18px; font-size: 14.5px; border-radius: 11px; box-shadow: none; }
.f-composer-buyuk { padding: 8px 8px 8px 10px; }
.f-composer-buyuk input[type=text] { font-size: 17px; padding: 12px 6px; }
.f-ek { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); cursor: pointer; }
.f-ek:hover { background: var(--paper); color: var(--ink); }
body.f-surukle::after { content: ""; position: fixed; inset: 10px; border: 2px dashed var(--accent); border-radius: 18px; background: rgba(255,61,23,.05); pointer-events: none; z-index: 50; }

/* ── 02 sohbet kabuğu ──────────────────────────────────────────────── */
#f-sohbet { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.f-durum { position: sticky; top: 0; z-index: 5; min-height: 44px; display: flex; align-items: center; flex-wrap: nowrap; gap: 14px; padding: 0 20px; background: rgba(246,247,251,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); font-size: 13px; }
.f-durum-urun { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.f-durum-ayar { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-durum-ayar b { color: var(--ink); font-weight: 700; }
.f-durum-pill { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--edge); background: #fff; white-space: nowrap; }
.f-durum-pill[data-evre="plan"] { border-color: #ffd9cf; background: var(--accent-soft); color: var(--accent-dark); }
.f-durum-pill[data-evre="uretim"] { border-color: #ffe7a3; background: #fff8e1; color: #8a6100; }
.f-durum-pill[data-evre="teslim"] { border-color: #bfead3; background: var(--green-soft); color: var(--green); }
.f-durum-menu { display: none; border: 1px solid var(--edge); background: #fff; border-radius: 8px; width: 32px; height: 30px; font-size: 15px; cursor: pointer; }
.f-govde { flex: 1; min-height: 0; display: grid; grid-template-columns: var(--ray-genislik) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.f-ray { border-right: 1px solid var(--rule); padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; overflow-y: auto; min-height: 0; }
.f-ray .ray-baslik { margin-bottom: 6px; }
.f-ray-liste { display: flex; flex-direction: column; gap: 6px; }
.f-ray-film { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.f-ray-film:hover { background: var(--paper); }
.f-ray-film[aria-current="true"] { border-color: var(--rule); background: var(--paper); }
.f-ray-film b { font-size: 13.5px; }
.f-ray-film span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.f-ray-yeni { margin-top: 4px; padding: 9px 12px; border-radius: 10px; border: 1px dashed var(--edge); background: transparent; color: var(--ink-soft); font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; text-decoration: none; }
.f-ray-yeni:hover { border-color: var(--accent); color: var(--accent-dark); }
/* STICKY SERIT ICERIGI KESIYORDU (olculdu 2026-09-15, 390px mobil):
   `.f-durum` sticky ve icerik altindan geciyor; `kaydir()` bir karti
   gorunume getirince kartin ILK SATIRI seridin arkasinda kaliyordu
   ("Detay plani yaka dikisini..." yarim gorunuyordu). `scroll-padding-top`
   kaydirmayi seridin altinda durduruyor. */
.f-sutun { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; scroll-padding-top: 56px; }
/* flex-shrink 0 DEGIL (olculdu 2026-09-07, film 66): akis govdeyi tasiyordu, tasan kisim kaydirilamiyordu (dikey video). */
.f-akis { flex: 1 1 auto; width: min(var(--sohbet-genislik), 100%); margin: 0 auto; padding: 28px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.f-storyboard-eylem { position: sticky; bottom: 82px; z-index: 2; width: min(var(--sohbet-genislik), calc(100% - 32px)); margin: 0 auto 8px; display: flex; justify-content: flex-end; pointer-events: none; }
.f-storyboard-eylem[hidden] { display: none; }
.f-storyboard-eylem .dugme { pointer-events: auto; min-height: 44px; padding: 10px 16px; font-size: 13px; box-shadow: 0 4px 18px rgba(14,19,32,.1); }
.f-sutun .f-composer { position: sticky; bottom: 12px; width: min(var(--sohbet-genislik), calc(100% - 32px)); margin: 0 auto 12px; box-shadow: 0 6px 24px rgba(14,19,32,.06); }

/* ── mesajlar ──────────────────────────────────────────────────────── */
.f-mesaj { max-width: 100%; }
.f-mesaj.sen { align-self: flex-end; max-width: 72%; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 18px 18px 6px 18px; font-size: 15px; font-weight: 500; line-height: 1.45; white-space: pre-wrap; }
.f-mesaj.tryr { align-self: flex-start; max-width: 88%; background: #fff; border: 1px solid var(--rule); padding: 13px 18px; border-radius: 18px 18px 18px 6px; font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; }
.f-mesaj.calisiyor { align-self: flex-start; font-size: 13px; color: var(--muted); font-style: italic; padding: 2px 6px; }
.f-mesaj.calisiyor::before { content: "●"; color: var(--accent); margin-right: 8px; animation: f-nabiz 1.2s infinite; }
@keyframes f-nabiz { 0%,100% { opacity: .35 } 50% { opacity: 1 } }
.f-mesaj.hata { align-self: flex-start; font-size: 13.5px; color: var(--accent-dark); }

/* kart: ortak */
.f-kart { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-kart); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.f-kart-bas { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.f-kart-bas .f-kart-eylem { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--accent-dark); background: none; border: 0; cursor: pointer; padding: 0; }

/* kestirim */
.f-kart.kestirim { border-left: 3px solid var(--vurgu); }
.f-kart.kestirim .f-kestirim-metin { font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; }
.f-kart.kestirim[data-kapali="1"] .f-kestirim-metin { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); }

/* soru */
.f-kart.soru .f-soru-metin { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.f-kart.soru .f-soru-ipucu { font-size: 13.5px; color: var(--muted); margin-top: -4px; }
.f-kart.soru .cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.f-kart.soru .f-composer { padding: 4px 4px 4px 8px; border-radius: 12px; }
.f-kart.soru .f-composer input[type=text] { font-size: 14.5px; padding: 8px 6px; }
.f-kart.soru .f-soru-alt { display: flex; justify-content: flex-end; gap: 8px; }
/* TEK EKRAN (2026-09-13): uc secim satiri alt alta, aralarinda ince ayrac;
   soru metni tek satirlik kartin basligindan kucuk, cunku artik BIR sorunun
   degil, dort girdinin ekrani. */
.f-kart.soru .f-soru-satir { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.f-kart.soru .f-kart-bas + .f-soru-satir { padding-top: 0; border-top: 0; }
.f-kart.soru .f-soru-satir .f-soru-metin { font-size: 15px; font-weight: 700; }
.f-kart.soru .f-soru-yazili { font-size: 13.5px; font-style: italic; color: var(--ink-soft); }
.f-kart.soru .f-basla { padding: 10px 22px; font-size: 15px; }
.f-kart.soru.cevaplandi { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 12px; background: var(--paper); }
.f-kart.soru.cevaplandi .f-soru-ozet { font-size: 14px; }
.f-kart.soru.cevaplandi .f-soru-ozet b { font-weight: 700; }
.f-kart.soru.cevaplandi .f-kart-eylem { font-size: 12.5px; color: var(--muted); background: none; border: 0; cursor: pointer; }

/* kararlar (2026-09-13): plan kartinda her ayarin degeri ve KAYNAGI */
.f-kart.plan .f-kararlar { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.f-kart.plan .f-kararlar-bas { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.f-kart.plan .f-karar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 13.5px; }
.f-kart.plan .f-karar-ad { color: var(--muted); min-width: 96px; }
.f-kart.plan .f-karar-deger { font-weight: 700; }
.f-kart.plan .f-karar-kaynak { color: var(--muted); font-size: 12.5px; }
.f-kart.plan .f-karar-not { color: var(--accent-dark); font-size: 12px; }
.f-kart.plan .f-karar-alinti { color: var(--muted); font-size: 12.5px; font-style: italic; flex-basis: 100%; padding-left: 102px; }

/* plan */
.f-kart.plan .f-plan-hikaye { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.f-plan-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.f-plan-sahne { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--rule); }
.f-plan-kare { flex: 0 0 56px; width: 56px; height: 74px; border-radius: 8px; overflow: hidden; background: var(--paper); }
.f-plan-kare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-plan-kare.bos { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .08em; }
.f-plan-metin { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; }
.f-plan-sure { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); margin-bottom: 3px; }
.f-plan-replik { font-style: italic; color: var(--ink-soft); }
.f-plan-uyari { font-size: 13px; color: var(--ink-soft); padding-left: 10px; border-left: 3px solid var(--accent); }
.f-plan-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.f-plan-ozet { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.f-plan-ozet b { font-weight: 700; display: inline-block; white-space: nowrap; }
.f-plan-alt .dugme { padding: 11px 18px; font-size: 15px; box-shadow: none; max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.f-plan-not { font-size: 12.5px; color: var(--muted); }

/* ilerleme — paylasilan style.css'teki `.ilerleme { height: 6px; overflow: hidden }`
   (foto hunisinin ince cubugu) bu karta da uyguluyordu: kart 34 px'e cokuyor,
   adimlar ve video gorunmuyordu (olculdu 2026-09-07, film 66 teslim ekrani). */
.f-kart.ilerleme { height: auto; overflow: visible; margin-bottom: 0; background: #fff; border-radius: var(--radius-kart); }
.f-adimlar { display: flex; flex-direction: column; gap: 6px; }
.f-adim { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--dim); }
.f-adim::before { content: "○"; font-size: 14px; }
.f-adim[data-durum="gecti"] { color: var(--ink-soft); }
.f-adim[data-durum="gecti"]::before { content: "✓"; color: var(--green); }
.f-adim[data-durum="simdi"] { color: var(--ink); font-weight: 600; }
.f-adim[data-durum="simdi"]::before { content: "●"; color: var(--accent); animation: f-nabiz 1.2s infinite; }
.f-cubuk { height: 5px; border-radius: 99px; background: var(--rule); overflow: hidden; }
.f-cubuk i { display: block; height: 100%; background: var(--accent); transition: width .6s ease; }

/* film */
.f-kart.film video { max-width: 100%; max-height: min(70vh, 640px); margin: 0 auto; background: #000; border-radius: 10px; display: block; }
.f-kart.film .f-film-alt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.f-kart.film .dugme { text-decoration: none; padding: 10px 16px; font-size: 14.5px; box-shadow: none; }

/* çekimden kare seçimi (kol A) mesaj kartı */
.f-kart.kareler .kucukler { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.f-kart.kareler .kutu { position: relative; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; }
.f-kart.kareler .kutu img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.f-kart.kareler .kutu.secili { border-color: var(--accent); }
.f-kart.kareler .kutu .tik { display: none; position: absolute; top: 4px; right: 6px; color: #fff; font-weight: 800; text-shadow: 0 0 4px rgba(0,0,0,.6); }
.f-kart.kareler .kutu.secili .tik { display: block; }

/* çatal kartı */
.f-catal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-catal button { text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--edge); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.f-catal button:hover { border-color: var(--accent); }
.f-catal b { font-size: 14.5px; }
.f-catal span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── dar ekran ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .f-govde { grid-template-columns: minmax(0, 1fr); }
  .f-ray { display: none; position: fixed; top: 108px; height: auto; left: 0; bottom: 0; width: 260px; z-index: 20; box-shadow: 0 12px 40px rgba(14,19,32,.12); }
  .f-ray[data-acik="1"] { display: flex; }
  .f-durum-menu { display: inline-block; }
}
@media (max-width: 640px) {
  .app-adimlar { display: none; }
  .f-durum { gap: 8px; padding: 0 10px; min-height: 52px; }
  /* DOKUNMA HEDEFLERI (olculdu 2026-09-15, 390px): film sekmeleri 27x24,
     menu 27x30, "Degistir" 54x16 idi. Parmakla basilamiyordu. */
  .f-durum-filmler button { min-height: 36px; min-width: 36px; padding: 8px 12px; font-size: 12px; }
  .f-durum-menu { width: 38px; height: 38px; font-size: 17px; }
  .f-kart-eylem { min-height: 34px; padding: 8px 10px; }
  .f-karar-deger { min-height: 32px; display: inline-flex; align-items: center; }
  .f-durum-ayar { display: none; }
  /* 390px'te serit dolmuyor: urun adi + iki sekme + "yeni film" + durum
     pili + menu yan yana sigmiyordu ve "+ yeni film" kirpiliyordu.
     Urun adi zaten "Bordo Crewne..." diye kesiliyor ve yan raydan tam
     okunuyor; navigasyon ogeleri ondan onemli. */
  .f-durum-urun { display: none; }
  .f-mesaj.sen { max-width: 86%; }
  .f-mesaj.tryr { max-width: 96%; }
  .f-catal { grid-template-columns: 1fr; }
  .f-akis { padding: 18px 12px 16px; }
  .f-sutun .f-composer { width: calc(100% - 20px); bottom: 8px; }
}

/* projeler rayı ve film sekmeleri (2026-09-02 revizyon) */
.f-ray-ust { margin: 0 0 10px; text-align: center; border-style: solid; }
.f-ray-proje { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.f-ray-proje:hover { background: var(--paper); }
.f-ray-proje[aria-current="true"] { border-color: var(--rule); background: var(--paper); }
.f-ray-proje img, .f-ray-proje .f-ray-bos-gorsel { width: 34px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--rule); flex: none; }
.f-ray-proje .f-ray-metin { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f-ray-proje b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-ray-proje span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.f-ray .dipnot { font-size: 12.5px; }
/* "+ yeni film" iki satira boluunup seridi buyutuyordu (mobil olcum):
   etiket tek satirda kalir, kap tasarsa yatay kayar. */
.f-durum-filmler { display: flex; gap: 6px; align-items: center; margin-left: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.f-durum-filmler::-webkit-scrollbar { display: none; }
.f-durum-filmler button { white-space: nowrap; flex: 0 0 auto; }
.f-durum-filmler button { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--edge); background: #fff; cursor: pointer; color: var(--ink-soft); }
.f-durum-filmler button[aria-current="true"] { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.f-durum-filmler button.yeni { border-style: dashed; color: var(--muted); }
.f-kart.gordugum { border-left: 3px solid var(--edge); }

/* Yükleme kartı (kendi model / ek ürün / mekân) — 2026-09-03 */
.f-yukleme-sira { display: flex; flex-wrap: wrap; gap: 8px; }
.f-yukleme-kutu { position: relative; width: 84px; height: 108px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #eef0f5; }
.f-yukleme-kutu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-urun-kimligi { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid var(--rule); border-radius: 12px; }
.f-urun-kimligi-gorsel { width: 84px; height: 108px; object-fit: cover; border-radius: 8px; }
.f-urun-kimligi input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--rule); border-radius: 8px; background: transparent; color: inherit; }
.f-urun-kimligi-secimler { display: flex; flex-wrap: wrap; gap: 8px; }
.f-urun-ekle-alani { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--edge); border-radius: 12px; background: var(--paper); }
.f-urun-ekle-ust { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.f-urun-ekle-dugme { min-height: 40px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 10px; background: #fff; color: var(--accent-dark); font: 700 13px/1.3 var(--sans); cursor: pointer; }
.f-urun-ekle-dugme:hover, .f-urun-ekle-dugme[aria-expanded="true"] { background: var(--accent-soft); }
.f-urun-ekle-icerik { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.f-urun-ekle-icerik[hidden] { display: none; }
.f-urun-ekle-icerik .dipnot { width: 100%; margin: 0; }
.f-urun-ekle-veya, .f-urun-ekle-liste { color: var(--muted); font-size: 12px; }
.f-urun-ekle-link { display: flex; flex: 1 1 280px; min-width: 0; gap: 8px; }
.f-urun-ekle-link input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.f-urun-ekle-link button { white-space: nowrap; }
@media (max-width: 640px) {
  .f-urun-ekle-icerik, .f-urun-ekle-link { flex-direction: column; align-items: stretch; }
  .f-urun-ekle-link { flex: 0 0 auto; width: 100%; }
  .f-urun-ekle-link input { flex: 0 0 auto; width: 100%; min-height: 42px; box-sizing: border-box; }
  .f-urun-ekle-veya { align-self: center; }
}
.f-yukleme-rozet { position: absolute; left: 6px; bottom: 6px; font: 500 10px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; background: rgba(14,19,32,.78); color: #fff; padding: 4px 6px; border-radius: 6px; }
.f-plan-kamera { font: 500 11px/1.4 var(--mono, ui-monospace, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b7280); margin-top: 2px; }
.f-plan-replik b { font-weight: 600; margin-right: 4px; }

/* Temsili storyboard + varlıklar — 2026-09-03 */
.f-storyboard { margin: 12px 0 14px; border: 1px solid var(--rule); border-radius: 12px; padding: 10px; background: #fff; }
.f-storyboard-bas { font: 600 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .12em; color: var(--dim, #6b7280); margin-bottom: 8px; }
.f-storyboard img { width: 100%; height: auto; display: block; border-radius: 8px; }
.f-storyboard-not { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--dim, #6b7280); }
.f-storyboard-hak { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .06em; }
.f-storyboard-eski { color: var(--accent, #ff3d17); }
.f-kart.storyboard-gecmis img { display: block; width: 100%; height: auto; border-radius: 8px; }
.f-kart.storyboard-gecmis .f-storyboard-eski { margin-top: 8px; font-size: 12px; }
.f-storyboard .f-kart-eylem { margin-top: 8px; }
.f-varlik-sira { display: flex; flex-wrap: wrap; gap: 8px; }
.f-varlik-kutu { position: relative; width: 96px; height: 120px; border: 1px dashed var(--rule); border-radius: 10px; overflow: hidden; background: #f3f4f8; display: flex; align-items: flex-end; }
.f-varlik-kutu.dolu { border-style: solid; }
.f-varlik-kutu.simdi { border-color: var(--accent, #ff3d17); animation: f-nabiz 1.2s ease-in-out infinite; }
/* ONCEKI FILMDEN GELEN VARLIK (plan eksik-03): uretilmedi, tasindi. Rozet
   musteriye neden aninda hazir oldugunu soyler. Kesik cizgi yok - dosya var. */
.f-varlik-kutu.onceki { border-style: solid; border-color: #7c8598; }
.f-varlik-rozet { position: absolute; top: 4px; left: 4px; right: 4px; padding: 2px 5px; border-radius: 5px;
  background: rgba(20, 24, 33, .78); color: #fff; font-size: 9px; line-height: 1.25; letter-spacing: .02em;
  text-align: center; }
.f-varlik-kutu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-varlik-ad { position: relative; margin: 6px; font: 500 10px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; background: rgba(14,19,32,.78); color: #fff; padding: 4px 6px; border-radius: 6px; }
@keyframes f-nabiz { 0%,100% { box-shadow: 0 0 0 0 rgba(255,61,23,.25); } 50% { box-shadow: 0 0 0 6px rgba(255,61,23,0); } }

.f-plan-sahne.karesiz .f-plan-metin { padding-left: 0; }

.f-plan-alt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dugme.dugme-ikincil { background: #fff; color: var(--ink, #0e1320); border: 1px solid var(--rule); }
.f-storyboard-ciziliyor { margin-top: 8px; font-size: 12.5px; color: var(--accent, #ff3d17); animation: f-nabiz 1.2s ease-in-out infinite; }

.f-ses-satir { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.f-ses-satir audio { height: 32px; max-width: 320px; }
.f-ses-rozet { position: static; }
.f-varlik-kutu.ses { align-items: center; justify-content: center; }
.f-varlik-ekle { font: 500 11px/1.3 var(--mono, ui-monospace, monospace); background: none; border: 0; color: var(--muted, #6b7280); cursor: pointer; padding: 8px 8px 2px; text-align: center; }
.f-varlik-ekle:hover { color: var(--ink); }
.f-varlik-istege { font: 400 10px/1 var(--mono, ui-monospace, monospace); color: var(--dim, #9aa0ad); letter-spacing: .06em; }
.f-varlik-kutu.ses { flex-direction: column; gap: 2px; }
.f-varlik-kutu.bekliyor, .f-varlik-kutu.simdi { align-items: flex-end; justify-content: flex-start; }
.f-varlik-durum { position: absolute; top: 8px; left: 8px; right: 8px; font: 400 10.5px/1.3 var(--mono, ui-monospace, monospace); color: var(--muted, #6b7280); letter-spacing: .04em; }
.f-varlik-kutu.simdi .f-varlik-durum { color: var(--accent, #ff3d17); }
/* ÇEKİM kartı: adım + saat/süre, varlık satırı, oynatıcı */
.f-adim { justify-content: space-between; }
.f-adim .f-adim-ad { flex: 1; }
.f-adim-sure { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.f-adim-not { font-size: 13px; color: var(--muted); padding-left: 24px; margin-top: -2px; }
.f-kart.ilerleme .f-film-bas { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.f-kart.ilerleme video { max-width: 100%; max-height: min(70vh, 640px); margin: 0 auto; background: #000; border-radius: 10px; display: block; }
.f-kart.ilerleme .f-film-alt { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.f-kart.ilerleme .dugme { text-decoration: none; padding: 10px 16px; font-size: 14.5px; box-shadow: none; }
/* Üretimde kuyruğa alınan mesaj */
.f-mesaj.sen.kuyruk { opacity: .82; }
.f-kuyruk-rozet { display: block; margin-top: 6px; font: 500 10.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* filmi uzat (2026-09-07) */
.f-uzat { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.f-uzat-cipler { display: flex; gap: 4px; }
.cip-kucuk { padding: 5px 9px; font-size: 12px; }
.dugme-ikincil { background: #fff; color: var(--ink); border: 1px solid var(--edge); }
.f-film-sekmeler { display: flex; gap: 6px; margin-bottom: 8px; }
.f-film-sekmeler .cip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Yeniden cek (2026-09-09): hata satirinin altinda tek dugme. */
.f-mesaj.hata .f-yeniden { display: block; margin-top: 10px; font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 12px; padding: 10px 16px; cursor: pointer; }
.f-mesaj.hata .f-yeniden:disabled { opacity: .5; cursor: default; }

/* "Plani kur" pill'i (ekran kaydi 2026-09-09 14:11): hazir kalibi yazdirilmaz. */
.f-hazir-satir { display: flex; justify-content: flex-end; margin: 6px 0 10px; }
.f-hazir-satir .f-hazir[disabled] { opacity: .5; }

/* DEGISTIRILEBILIR KARAR (2026-09-14). Deger artik dugme: tiklanabilir
   oldugu goze carpmali ama satiri gurultuye bogmamali - alt cizgi noktali,
   renk degismiyor. Secenek kutusu satirin ALTINDA aciliyor ki hangi karara
   ait oldugu belirsiz kalmasin. */
.f-karar-degistir { cursor: pointer; border-bottom: 1px dotted currentColor; }
.f-karar-degistir:hover, .f-karar-degistir:focus-visible { opacity: .75; }
.f-karar-secenek { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px 0; }
.f-karar-secenek .cip { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.f-karar-secenek .cip-not { font-size: 11px; opacity: .62; font-weight: 400; }

/* KARAR SECENEK KUTUSU (2026-09-14). Tek kutu acik kalir; acik olan satirin
   degeri vurgulanir ki hangi karari degistirdigin belirsiz kalmasin. */
.f-karar-degistir.acik { font-weight: 700; opacity: 1; }
.f-karar-secenek .cip-fiyat { font-size: 11px; font-weight: 600; opacity: .8; }
.f-karar-aralik { flex-basis: 100%; font-size: 11px; opacity: .6; margin-bottom: 2px; }
/* Sure slideri (kullanici istegi 2026-09-14): 5-60 sn surukleyerek secilir.
   Okuma satiri kalin: surukleme sirasinda gozun takip ettigi tek yer o. */
.f-karar-slider { flex-basis: 100%; display: flex; flex-direction: column; gap: 6px; }
.f-slider-oku { font-size: 13px; font-weight: 600; }
.f-karar-slider input[type="range"] { width: 100%; accent-color: currentColor; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .f-karar-slider input[type="range"] { transition: opacity .12s ease; }
}

/* Bekleyen karar degisikligi (kullanici karari 2026-09-15): tiklama aninda
   sunucuya gitmez, satirda birikir ve "Devam" hepsini tek istekte gonderir. */
.f-karar.bekliyor .f-karar-deger { text-decoration: underline; text-underline-offset: 3px; }
.f-karar-ucret { font-size: 11px; font-weight: 600; opacity: .8; }
.f-karar-devam { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.f-karar-devam-not { font-size: 12px; opacity: .7; }
