/* Kayan yazı (LED pankart) — UYGULAMAYA_EKLENECEKLER 103, 0.3.10 (23.10.2026). js/kayan_yazi.js
   Hazırlık ekranı tema değişkenleriyle; tam ekran gösterim ve renk örnekleri LED ekranı olduğu için sabit renkli. */
.ky-etiket { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.ky-yazi { resize: none; font-size: 18px; line-height: 1.35; min-height: 72px; display: block; }
.ky-sayac { text-align: right; margin: 4px 2px 8px; }
.ky-onizleme { display: block; width: 100%; height: 72px; border-radius: 12px; background: #000; border: 1px solid var(--ln); }
.ky-alt-baslik { margin: 12px 2px 6px; }
.ky-son { display: flex; flex-direction: column; gap: 6px; }
.ky-son .ky-son-yazi { text-align: left; border-radius: 12px; padding: 10px 14px; min-height: 44px; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ky-renkler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.ky-renk { height: 52px; border-radius: 12px; border: 1px solid var(--ln); font: 700 20px var(--metin); cursor: pointer; padding: 0; }
.ky-renk[aria-pressed="true"] { outline: 3px solid var(--ac); outline-offset: 2px; }
.ky-renk-ad { margin: 8px 2px 0; }
.ky-hiz-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ky-hiz-deger { font-weight: 600; }
.ky-hiz { width: 100%; height: 44px; margin: 0; accent-color: var(--ac); cursor: pointer; }
.ky-hiz-uclar { display: flex; justify-content: space-between; margin-top: -4px; }
.ky-ara { margin-top: 16px !important; }
.ky-renkler + .ky-renk-ad, .kart .secimler .secim { min-height: 44px; }
.ky-acma { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 14px; padding: 6px 0 0; border: 0; border-top: 1px solid var(--ln);
  background: none; color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.ky-acma-ad { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ky-acma-ad > span:first-child { font-weight: 600; }
.ky-anahtar { width: 44px; height: 26px; border-radius: 13px; background: var(--ln); position: relative; flex: none; }
.ky-anahtar i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s ease-out; }
.ky-acma[aria-checked="true"] .ky-anahtar { background: var(--ac); }
.ky-acma[aria-checked="true"] .ky-anahtar i { transform: translateX(18px); }
.kart .ky-not { margin: 0; }
.kart .ky-not + .ky-acma { margin-top: 10px; }
.ky-baslat { display: block; max-width: none; margin: 4px 0 8px; min-height: 52px; font-size: 17px; }
.ky-uyari { color: var(--p-kirmizi-yazi); margin: 4px 4px 8px; font-weight: 600; }
.ky-ipucu { margin: 8px 4px; }
:root[data-hareket="hic"] .ky-anahtar i { transition: none; }

/* ---- Tam ekran gösterim ---- */
html.ky-acik, html.ky-acik body { overflow: hidden; }
.ky-gosterim { position: fixed; inset: 0; z-index: 400; background: #000; overflow: hidden; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; outline: none; }
.ky-gosterim:fullscreen { width: 100%; height: 100%; }
.ky-tuval { display: block; position: absolute; inset: 0; }
.ky-cubuk { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 10px;
  padding: 8px; border-radius: 999px; background: rgba(20, 20, 20, .86); box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.ky-cubuk-acik .ky-cubuk { opacity: 1; pointer-events: auto; }
.ky-cubuk button { min-width: 120px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08); color: #fff; font: 600 16px var(--metin); cursor: pointer; white-space: nowrap; }
.ky-cubuk .ky-kapat { background: #fff; color: #111; border-color: #fff; }
.ky-dondur { position: absolute; left: 50%; top: max(18px, env(safe-area-inset-top)); transform: translateX(-50%); display: none; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(20, 20, 20, .8); color: #fff; font: 500 14px var(--metin); white-space: nowrap;
  pointer-events: none; transition: opacity .4s ease-out; }
.ky-dondur-simge { font-size: 18px; line-height: 1; }
.ky-dik .ky-dondur { display: flex; }
.ky-ipucu-bitti .ky-dondur { opacity: 0; }
:root[data-hareket="hic"] .ky-cubuk, :root[data-hareket="hic"] .ky-dondur { transition: none; }
