/* Sayfanın yazıları soluk, görseller tam renkli */
body > :not(#fs-kok), body > :not(#fs-kok) * {
  -webkit-text-fill-color: color-mix(in srgb, currentColor 30%, transparent) !important;
}
img.fs-gorsel { cursor: pointer !important; }
img.fs-degisti { outline: 5px solid #16a34a !important; outline-offset: -5px !important; }
img.fs-cikti { filter: grayscale(1) opacity(.3) !important; outline: 5px dashed #dc2626 !important; outline-offset: -5px !important; }
img.fs-secili { outline: 5px solid #2563eb !important; outline-offset: -5px !important; }

#fs-kok, #fs-kok * {
  box-sizing: border-box; -webkit-text-fill-color: initial;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: normal; text-transform: none;
}
#fs-kok { position: relative; z-index: 2147483000; color: #111827; font-size: 15px; line-height: 1.45; }
#fs-kok button { font: inherit; cursor: pointer; border: 0; margin: 0; -webkit-tap-highlight-color: transparent; }

/* Değiştir düğmesi */
#fs-degistir {
  position: fixed; z-index: 2147483001; display: none; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px 0 18px; border-radius: 999px; background: #111827; color: #fff;
  font-size: 16px; font-weight: 650; box-shadow: 0 8px 24px rgba(0,0,0,.35); transform: translateX(-50%);
}
#fs-degistir svg { width: 18px; height: 18px; }

/* alt çubuk */
#fs-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  background: rgba(255,255,255,.97); border-top: 1px solid #e5e7eb; box-shadow: 0 -6px 24px rgba(0,0,0,.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
#fs-bar .ic { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
#fs-bar .ad { flex: 1; min-width: 0; font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111827; }
#fs-bar .ad small { color: #6b7280; font-weight: 500; margin-right: 6px; }
#fs-bar .ad i { font-style: normal; color: #16a34a; font-weight: 600; font-size: 13px; margin-left: 6px; }
#fs-bar .yuvarlak { width: 40px; height: 40px; border-radius: 999px; background: #f3f4f6; color: #111827; font-weight: 700; font-size: 18px; flex: none; display: grid; place-items: center; }
#fs-bar .onay { height: 46px; padding: 0 20px; border-radius: 14px; background: #111827; color: #fff; font-weight: 650; font-size: 15.5px; flex: none; }
#fs-bar .kayit { font-size: 12px; color: #6b7280; white-space: nowrap; }
#fs-bar .kayit.hata { color: #b23a3a; font-weight: 600; }
#fs-bar .onay .kisa { display: none; }
@media (max-width: 520px) { #fs-bar .kayit { display: none; } #fs-bar .onay { padding: 0 16px; } #fs-bar .onay .uzun { display: none; } #fs-bar .onay .kisa { display: inline; } }

/* katmanlar */
.fs-perde { position: fixed; inset: 0; z-index: 2147483002; background: rgba(17,24,39,.5); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 760px) { .fs-perde { align-items: center; padding: 24px; } }
.fs-pencere {
  background: #fff; width: 100%; max-width: 760px; max-height: 86vh; overflow: auto; overscroll-behavior: contain;
  border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}
@media (min-width: 760px) { .fs-pencere { border-radius: 20px; } }
.fs-ust { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fs-ust img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.fs-ust .yazi { flex: 1; min-width: 0; }
.fs-ust b { display: block; font-size: 18px; color: #111827; }
.fs-ust span { display: block; font-size: 13px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-kapat { width: 40px; height: 40px; border-radius: 999px; background: #f3f4f6 !important; color: #111827; font-size: 20px; flex: none; }
.fs-alt-baslik { font-size: 13px; font-weight: 650; color: #6b7280; margin: 14px 0 8px; }
.fs-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .fs-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fs-secenek { background: none !important; padding: 0 !important; text-align: left; color: #374151; min-width: 0; display: block; width: 100%; }
.fs-secenek img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; display: block; }
.fs-secenek span { display: block; font-size: 12.5px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-secenek.eski img { outline: 3px solid #9ca3af; outline-offset: -3px; }
.fs-bos { background: #f3f4f6; border-radius: 12px; padding: 16px; color: #4b5563; font-size: 14px; }
.fs-yeni { margin-top: 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fs-yeni .soru { flex: 1; min-width: 170px; font-size: 14.5px; font-weight: 600; color: #111827; }
.fs-yeni .soru small { display: block; font-weight: 500; color: #6b7280; font-size: 12.5px; }
.fs-sayac { display: flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05); }
.fs-sayac button { width: 44px; height: 44px; background: none !important; color: #111827; font-size: 22px; font-weight: 600; }
.fs-sayac b { min-width: 26px; text-align: center; font-size: 17px; color: #111827; }
.fs-eylemler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fs-eylemler button { height: 42px; padding: 0 16px; border-radius: 12px; background: #f3f4f6 !important; color: #111827; font-weight: 600; font-size: 14px; }
.fs-eylemler button.kirmizi { color: #b23a3a; }

/* rehber + bitiş */
.fs-kart { background: #fff; border-radius: 20px; max-width: 440px; width: calc(100% - 32px); margin: 0 16px 16px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
@media (min-width: 760px) { .fs-kart { margin: 0; } }
.fs-kart h2 { margin: 0 0 8px; font-size: 21px; color: #111827; font-weight: 700; }
.fs-kart p { margin: 0; color: #4b5563; font-size: 15.5px; }
.fs-kart .noktalar { display: flex; gap: 6px; margin: 16px 0 14px; }
.fs-kart .noktalar i { width: 7px; height: 7px; border-radius: 9px; background: #e5e7eb; }
.fs-kart .noktalar i.on { width: 20px; background: #111827; }
.fs-kart .dugmeler { display: flex; gap: 10px; }
.fs-kart .dugmeler button { flex: 1; height: 48px; border-radius: 14px; background: #111827 !important; color: #fff; font-weight: 650; font-size: 16px; }
.fs-kart .dugmeler button.ikinci { flex: none; padding: 0 18px; background: #f3f4f6 !important; color: #111827; }
.fs-ornek { background: #f3f4f6; border-radius: 14px; height: 150px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.fs-ornek .foto { width: 190px; height: 118px; border-radius: 10px; background: linear-gradient(135deg, #94a3b8, #cbd5e1); position: relative; }
.fs-ornek .foto.secili { outline: 4px solid #2563eb; outline-offset: -4px; }
.fs-ornek .mini { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: #111827; color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.fs-ornek .soluk { color: #9ca3af; font-size: 13px; line-height: 1.6; text-align: left; width: 210px; }
.fs-ornek .soluk b { display: block; height: 10px; border-radius: 4px; background: #d1d5db; margin: 6px 0; }
.fs-ornek .cubuk { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: flex-end; padding: 0 6px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.fs-ornek .cubuk span { background: #111827; color: #fff; border-radius: 9px; padding: 7px 12px; font-size: 13px; font-weight: 650; }

#fs-ipucu { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 2147483003; background: #111827; color: #fff; border-radius: 12px; padding: 10px 16px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.25); display: none; }
