/* donör: https://dadagastro.com/tarifler (Görüş Bildir penceresi, canlı render — yalnız GET, form gönderilmedi)
   A10.2 (Beyar, 2026-10-24): "Görüş Bildir" modalı Gastro'nun aynısı, yalnız Diet rengi ve içeriği.
   Kaynak Gastro dosyaları (gastro-mysql, salt okuma), kural kural:
     · public/kabuk/gorus-ek.css        "dar ekran" (Revize 5 · m49) + "giriş kapısının kalıbı" (Revize 7 · m87)
     · public/kabuk/basari-bildirimi.css `.fb-success .basari-tamam` düğmesi
   Kanonun pencere kuralları (`.fb-panel` · `.fb-topic` · `.fb-chiprow` · `.lg-ico` …) Diet'te zaten dd-kabuk.css /
   kanon-govde.css'te, Gastro'nun dm-kabuk.css'iyle aynı değerlerde; bu dosya yalnız Gastro'nun ÜSTÜNE yazdığı
   katmanı taşır. Ölçüldü (1440 · 390, canlı Gastro ↔ yerel Diet): panel 520 · 32/26/26 · başlık ortalı, 62px daire,
   h3 19 + 8, alt metin 13.5/1.55 · 300px · 22 alt pay; × sağ üst 13/13 · 36×36; kaydırma gövdede; ≤640 alttan yaprak.
   Tek Diet farkı: düğme/girdi satır yüksekliği. Gastro'nun sıfırlaması form denetimlerine 1.55 devrediyor, Diet'in
   kabuğunda denetimler tarayıcının `normal`inde kalıyordu (konu düğmesi 44 ↔ 47, çip 35 ↔ 38, Gönder 45 ↔ 50). */

/* ── kutu: başlık şeridi ve alt çizgisi kalkar, kaydırma gövdeye iner ── */
#fbModal .fb-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; padding: 32px 26px 26px; }
#fbModal .fb-panel .fb-head { position: static; flex: none; display: block; padding: 0; border-bottom: 0; background: none; text-align: center; }
#fbModal .fb-head h3 { font-size: 19px; margin-bottom: 8px; }
#fbModal .fb-head p { max-width: 300px; margin: 0 auto 22px; font-size: 13.5px; font-weight: 500; line-height: 1.55; color: var(--muted); text-align-last: auto; }
#fbModal .fb-close {
  position: absolute; top: 13px; right: 13px; z-index: 1;
  width: 36px; height: 36px; border-radius: var(--radius-md); font-size: 15px;
}
/* 2px iç pay odak halkası için (Gastro). */
#fbModal .fb-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px; margin: -2px; }
#fbModal .fb-chiprow { overflow-y: hidden; }

/* ── form denetimlerinin satır yüksekliği (yukarıdaki Diet farkı) ── */
#fbModal :is(.fb-topic, .fb-chiprow .chip, .fb-send, .fb-field textarea, .fb-field input, .fb-select, .fb-shot) { line-height: 1.55; }

/* ── başarı: başlık metni ve daire gizlenir, içerik kendi onay dairesini taşır; tek düğme pencereyi kapatır ── */
#fbModal .fb-panel:has(#fbSuccess:not([hidden])) .fb-head > :not(.fb-close) { display: none; }
#fbModal .fb-success { padding: 0; }
/* Onay dairesi: Gastro dm-kabuk.css `.fb-success .ok` (56px · marka tonu zemin · koyu ton ikon); Diet kabuğunda kuralsızdı (çıplak ✓). */
#fbModal .fb-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--tomato-tint); color: var(--tomato-deep); display: grid; place-items: center; font-size: 22px; margin: 0 auto 16px; }
#fbModal .fb-success h4 { font-size: 19px; margin-bottom: 8px; }
#fbModal .fb-success p { max-width: 300px; margin: 0 auto 22px; font-size: 13.5px; line-height: 1.55; }
#fbModal .fb-success .basari-tamam {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 0; padding: 14px 26px;
  font-family: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.55; letter-spacing: normal;
  border-radius: 12px; border: 1px solid var(--line, #ececec);
  background: var(--paper, #fff); color: var(--slate, #211e16);
  cursor: pointer; min-height: auto; text-decoration: none; transition: .25s ease;
}
#fbModal .fb-success .basari-tamam:hover { border-color: var(--slate, #211e16); transform: translateY(-2px); }

/* ── ≤640: pencere alttan açılan yaprak (Gastro Revize 5 · m49) ── */
@media (max-width: 640px) {
  #fbModal { place-items: end stretch; padding: 0; }
  #fbModal .fb-panel {
    width: 100%; max-height: 82vh;
    border-radius: 24px 24px 0 0; box-shadow: 0 -18px 50px rgba(33, 30, 22, .2);
    transform: translateY(105%); transition: transform .34s cubic-bezier(.22, .61, .36, 1);
  }
  #fbModal.show .fb-panel { transform: translateY(0); }
}
