/* Yazsam mı? — AÇILIŞ (Onur 22.10 öğle tarifi). Sunucu bu dosyayı giriş sayfasına GÖMER (kod/onizleme/index.js).
 * Katmanlar (alttan üste): #root (gerçek site) → #perde (Bukalemun: beyaz örtü boya düştükçe açılır; Fener: karanlık + her karede yeniden çizilen ışık havuzu) → #efekt (ışık, boya)
 *   → #secim (iki figür seçimi) → #figurKatman (figürler) → #asistan (sitede kalan figür + balon + değiştir düğmesi).
 * Betik çalışmazsa hiçbir şey görünmez (#acilis yalnız .hazir ile açılır): site asla örtü altında kalmaz. */
@font-face { font-family: 'AcilisNunito'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/acilis/yazi/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'AcilisNunito'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/acilis/yazi/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

#acilis:not(.hazir) { display: none !important; }
html.acilis-secim #root { opacity: 0; }   /* seçim ekranı açıkken altındaki site LCP adayı olmasın (acilis.js secimKok) */
#acilis { --yazi: 'AcilisNunito', ui-rounded, 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-family: var(--yazi); -webkit-tap-highlight-color: transparent; }
#acilis *, #acilis *::before, #acilis *::after { box-sizing: border-box; }

/* ---------- örtü ve efekt tuvalleri ---------- */
#perde, #efekt { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2147483000; pointer-events: none; display: block; }
#efekt { z-index: 2147483001; }
#perde.soner, #efekt.soner { opacity: 0; transition: opacity .2s ease-out; }
#acilis.oynuyor #perde { pointer-events: auto; cursor: pointer; }   /* dokunuş açılışı hemen bitirir */

/* ---------- seçim ekranı ---------- */
#secim[hidden] { display: none; }
#secim { position: fixed; inset: 0; z-index: 2147483002; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#secim.gidiyor { opacity: 0; transition: opacity .22s ease-out; pointer-events: none; }
.yan { position: relative; border: 0; margin: 0; padding: 0; cursor: pointer; overflow: hidden; outline: none; font: inherit; color: inherit; text-align: center; -webkit-appearance: none; appearance: none; }
.yan.sol { background: radial-gradient(120% 80% at 50% 55%, #1b2150 0%, #0c1030 55%, #05071a 100%); color: #FFE7B8; }
.yan.sag { background: radial-gradient(120% 80% at 50% 55%, #ffffff 0%, #f8f2ff 55%, #eee3ff 100%); color: #3a2470; }
.yan::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
.yan.sol::after { background: radial-gradient(45% 35% at 50% var(--fyy, 50%), rgba(255, 190, 90, .22), transparent 70%); }
.yan.sag::after { background: radial-gradient(45% 35% at 50% var(--fyy, 50%), rgba(160, 90, 255, .14), transparent 70%); }
.yan:hover::after, .yan:focus-visible::after { opacity: 1; }
.yan:focus-visible .isim { text-decoration: underline; text-underline-offset: 6px; }
.yan .isim { position: absolute; left: 0; right: 0; top: var(--isim-y, 70%); font-weight: 900; font-size: clamp(22px, 5.4vw, 40px); letter-spacing: -.5px; line-height: 1; }
.yan.sol .isim { text-shadow: 0 0 18px rgba(255, 170, 60, .55); }
.yan.sag .isim { background: linear-gradient(90deg, #F5951A, #D92E6E 35%, #8A3FD1 65%, #2F7BE0); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ateş böcekleri (sol) ve boya lekeleri (sağ): canlı zemin */
.yan i { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
.yan.sol i { width: 5px; height: 5px; background: #FFD27A; box-shadow: 0 0 10px 3px rgba(255, 190, 80, .7); opacity: 0; animation: ab 5s ease-in-out infinite; }
.yan.sol i:nth-child(1) { left: 14%; top: 22%; animation-delay: .2s; } .yan.sol i:nth-child(2) { left: 78%; top: 16%; animation-delay: 1.4s; }
.yan.sol i:nth-child(3) { left: 30%; top: 82%; animation-delay: 2.3s; } .yan.sol i:nth-child(4) { left: 86%; top: 66%; animation-delay: .9s; }
.yan.sol i:nth-child(5) { left: 58%; top: 92%; animation-delay: 3.1s; } .yan.sol i:nth-child(6) { left: 8%; top: 52%; animation-delay: 3.8s; }
@keyframes ab { 0%, 100% { opacity: 0; transform: translate(0, 0); } 30% { opacity: .9; } 60% { opacity: .35; transform: translate(10px, -16px); } }
.yan.sag i { opacity: .16; filter: blur(1px); animation: lk 7s ease-in-out infinite alternate; }
.yan.sag i:nth-child(1) { left: 10%; top: 14%; width: 70px; height: 62px; background: #F5951A; } .yan.sag i:nth-child(2) { left: 72%; top: 22%; width: 54px; height: 50px; background: #8A3FD1; animation-delay: 1s; }
.yan.sag i:nth-child(3) { left: 18%; top: 84%; width: 60px; height: 56px; background: #2F7BE0; animation-delay: 2s; } .yan.sag i:nth-child(4) { left: 80%; top: 78%; width: 46px; height: 42px; background: #46B038; animation-delay: 3s; }
.yan.sag i:nth-child(5), .yan.sag i:nth-child(6) { display: none; }
@keyframes lk { to { transform: scale(1.18) rotate(12deg); } }

/* ---------- konuşma balonu (seçimde ve sitede) ---------- */
.balon { position: absolute; z-index: 3; max-width: var(--bg, 240px); padding: 10px 14px 11px; border-radius: 18px; font-weight: 800; font-size: clamp(13px, 3.5vw, 17px); line-height: 1.3; text-align: left;
  opacity: 0; transform: translateY(8px) scale(.9); transform-origin: 50% 100%; transition: opacity .22s ease-out, transform .32s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.balon.goster { opacity: 1; transform: none; }
.balon::after { content: ''; position: absolute; left: var(--kuyruk, 50%); bottom: -7px; width: 16px; height: 16px; margin-left: -8px; background: inherit; transform: rotate(45deg); border-radius: 0 0 4px 0; }
.balon.koyu { background: #FFF3DA; color: #2a1d05; box-shadow: 0 0 0 1px rgba(255, 196, 100, .5), 0 8px 30px rgba(255, 170, 60, .35); }
.balon.acik { background: #ffffff; color: #3a2470; box-shadow: 0 0 0 1px rgba(138, 63, 209, .18), 0 8px 26px rgba(58, 36, 112, .18); }
.balon .k { opacity: 0; transition: opacity .12s; } .balon .k.g { opacity: 1; }
#secim .balon-yer { position: absolute; left: 8px; right: 8px; bottom: var(--balon-alt, 60%); display: flex; justify-content: center; pointer-events: none; }
#secim .balon { position: relative; max-width: 100%; }

/* ---------- figürler ---------- */
#figurKatman { position: fixed; inset: 0; z-index: 2147483003; pointer-events: none; }
.figur { position: absolute; left: 0; top: 0; width: 512px; height: 512px; transform-origin: 0 0; will-change: transform; contain: layout size; }
.figur > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.figur video { opacity: 0; }
.figur video.on, .figur canvas.on { opacity: 1; }
.figur img.poster.kapali { opacity: 0; }
.figur canvas.donus { opacity: 0; }   /* 23.10 döndürme: sürüklerken dönüş karesi üstte, asıl klip gizli */
.figur.donuyor canvas.donus { opacity: 1; }
.figur.donuyor > :not(.donus) { visibility: hidden; }
.figur.cekil { transition: opacity .25s ease-out; opacity: 0 !important; }

/* ---------- Fener açılışı: "Aç" düğmesi (karanlıkta sıcak ışıklı) ---------- */
#acDugme[hidden] { display: none; }
#acDugme { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2147483004; border: 0; margin: 0; cursor: pointer;
  padding: 11px 26px 12px; border-radius: 999px; font: 900 17px/1 var(--yazi); letter-spacing: .3px; color: #2a1d05; -webkit-appearance: none; appearance: none; touch-action: manipulation;
  background: radial-gradient(120% 140% at 50% 20%, #FFF3D6 0%, #FFD27A 60%, #F2A93B 100%); box-shadow: 0 0 0 1px rgba(255, 214, 140, .6), 0 0 26px 6px rgba(255, 190, 90, .45);
  animation: acBel .5s .5s ease-out both; }
#acDugme:focus-visible { outline: 3px solid #FFE7B8; outline-offset: 3px; }
@keyframes acBel { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- sitede canlı asistan (yer betikle: sürüklenebilir; yüzü sayfanın içine dönük) ---------- */
#asistan { position: fixed; left: 0; top: 0; width: 96px; height: 96px; z-index: 900; pointer-events: none; will-change: transform; }
#asistan .govde { position: absolute; inset: -21.5%; border: 0; padding: 0; margin: 0; background: transparent; cursor: grab; pointer-events: auto; border-radius: 50%; -webkit-appearance: none; appearance: none; touch-action: none; -webkit-user-select: none; user-select: none; }
#asistan.tasiniyor .govde { cursor: grabbing; }
#asistan .govde:focus-visible { outline: 3px solid #8F72FF; outline-offset: 2px; }
#asistan .figur-yer { position: absolute; inset: -14%; pointer-events: none; }
#asistan .degis { position: absolute; left: -2px; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; pointer-events: auto; display: grid; place-items: center; z-index: 2;
  background: #ffffff; color: #5B2EFF; box-shadow: 0 2px 10px rgba(29, 24, 48, .28), 0 0 0 1px rgba(91, 46, 255, .18); -webkit-appearance: none; appearance: none; touch-action: manipulation; transition: opacity .2s; }
#asistan.solda .degis { left: auto; right: -2px; }
#asistan.tasiniyor .degis { opacity: 0; }
#asistan .degis svg { width: 17px; height: 17px; }
#asistan .degis:hover { transform: scale(1.08); }
/* 03.11 denetim: dokunma alanı ≥44 px (görünüm aynı: şeffaf halka) */
#asistan .degis::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; }
#asistan .degis:focus-visible { outline: 3px solid #8F72FF; outline-offset: 2px; }
#asistan .balon { right: 8px; bottom: calc(100% + 6px); left: auto; width: max-content; max-width: min(250px, calc(100vw - 40px)); transform-origin: 85% 100%; --kuyruk: 82%; pointer-events: none; }
#asistan.solda .balon { left: 8px; right: auto; transform-origin: 15% 100%; --kuyruk: 18%; }
#asistan.ustte .balon { bottom: auto; top: calc(100% + 6px); transform-origin: 85% 0; }
#asistan.ustte.solda .balon { transform-origin: 15% 0; }
#asistan.ustte .balon::after { bottom: auto; top: -7px; border-radius: 4px 0 0 0; }
#asistan .balon.goster { pointer-events: auto; }
/* 12.11 (E-19): dokunma kutusu figürün GÖRÜNEN boyuna (kutunun 1,43 katı) genişletildi; menü kutusu onun üstünde kalır */
#asistan .balon { z-index: 3; }
#asistan .balon button { display: inline-block; margin-top: 8px; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; background: #5B2EFF; color: #fff; }
#asistan .balon.koyu button { background: #2a1d05; color: #FFE7B8; }
#asistan .balon button.oyun { background: #FFB020; color: #2a1d05; }   /* 22.10: "Oyun oynayalım" kısa yolu */
#asistan .balon.koyu button.oyun { background: #FFD27A; color: #2a1d05; }
#asistan.gizli { visibility: hidden; }
@media print { #acilis { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .yan i { animation: none; } .balon { transition: opacity .15s; transform: none; } }

/* ---------- 22.10 yaklaşma + sohbet (figür menüsünde "Sohbet") ---------- */
#asistan.yakin .degis, #asistan.sohbette .degis { opacity: 0; pointer-events: none; }
#asistan .govde { -webkit-touch-callout: none; }
#asistan .balon button.sohbet { background: #18B47B; color: #fff; }
#asistan .balon.koyu button.sohbet { background: #FFB020; color: #2a1d05; }
#figurSohbet { position: fixed; z-index: 898; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; font-family: var(--yazi); opacity: 0; transform: translateY(18px) scale(.98); transform-origin: 50% 100%;
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .9, .25, 1.08); }
#figurSohbet.acik-an { opacity: 1; transform: none; }
#figurSohbet[hidden] { display: none; }
#figurSohbet .ust { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 10px 18px; }
#figurSohbet .baslik b { display: block; font-size: 17px; font-weight: 900; line-height: 1.1; }
#figurSohbet .baslik span { font-size: 12px; font-weight: 700; opacity: .65; }
#figurSohbet .kapat { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; background: transparent; color: inherit; }
#figurSohbet .kapat svg { width: 18px; height: 18px; }
#figurSohbet .kapat:focus-visible, #figurSohbet .yaz button:focus-visible, #figurSohbet .oneriler button:focus-visible { outline: 3px solid #8F72FF; outline-offset: 2px; }
#figurSohbet .mesajlar { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 14px 10px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
#figurSohbet .m { max-width: 84%; padding: 9px 13px 10px; border-radius: 18px; font-size: 15px; font-weight: 700; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .25s ease; }
#figurSohbet .m.g { opacity: 1; transform: none; }
#figurSohbet .m.o { align-self: flex-start; border-bottom-left-radius: 6px; }
#figurSohbet .m.ben { align-self: flex-end; border-bottom-right-radius: 6px; }
#figurSohbet .m.yaziyor { display: inline-flex; gap: 5px; padding: 13px 15px; }
#figurSohbet .m.yaziyor i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: fsNokta 1s infinite ease-in-out; }
#figurSohbet .m.yaziyor i:nth-child(2) { animation-delay: .15s; } #figurSohbet .m.yaziyor i:nth-child(3) { animation-delay: .3s; }
@keyframes fsNokta { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
#figurSohbet .oneriler { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
#figurSohbet .oneriler:not(:empty) { padding-bottom: 8px; }
#figurSohbet .oneriler button { border: 0; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
#figurSohbet .yaz { display: flex; gap: 8px; padding: 8px 10px 6px 12px; }
#figurSohbet .yaz input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 16px; font-weight: 700; outline: none; }
#figurSohbet .yaz button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; transition: transform .15s, opacity .2s; }
#figurSohbet .yaz button svg { width: 20px; height: 20px; }
#figurSohbet.bekliyor .yaz button { opacity: .45; pointer-events: none; }
#figurSohbet .not { padding: 0 16px 10px; font-size: 11.5px; font-weight: 700; opacity: .6; text-align: center; }
#figurSohbet .bilgi { padding: 0 18px 6px; font-size: 11.5px; font-weight: 700; line-height: 1.35; opacity: .66; }
#figurSohbet .bilgi a { color: inherit; text-decoration: underline; }
#figurSohbet .m.teklif { display: block; max-width: 92%; }
#figurSohbet .m.teklif .dgm { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
#figurSohbet .m.teklif button { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 900; cursor: pointer; }
#figurSohbet .m.teklif .bag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; color: inherit; opacity: .75; text-decoration: underline; }
#figurSohbet .m.teklif.bekliyor { opacity: .6; pointer-events: none; }
#figurSohbet.koyu .m.teklif button { background: rgba(255, 210, 122, .16); color: #FFD27A; box-shadow: inset 0 0 0 1.5px rgba(255, 210, 122, .55); }
#figurSohbet.acik .m.teklif button { background: #F4F1FB; color: #5B2EFF; box-shadow: inset 0 0 0 1.5px rgba(91, 46, 255, .35); }
#figurSohbet .not .unut { border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
#figurSohbet .m.uye { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#figurSohbet .m.uye button { border: 0; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 900; cursor: pointer; }
#figurSohbet.koyu .m.uye button { background: #FFB020; color: #2a1d05; }
#figurSohbet.acik .m.uye button { background: #18B47B; color: #fff; }
/* Fener (gece) */
#figurSohbet.koyu { background: #17120B; color: #FFF3DA; box-shadow: 0 0 0 1px rgba(255, 196, 100, .32), 0 18px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 170, 60, .12); }
#figurSohbet.koyu .m.o { background: #2B2215; color: #FFF3DA; }
#figurSohbet.koyu .m.ben { background: #FFD27A; color: #2a1d05; }
#figurSohbet.koyu .oneriler button { background: rgba(255, 210, 122, .14); color: #FFD27A; box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .35); }
#figurSohbet.koyu .yaz input { background: #261E12; color: #FFF3DA; box-shadow: inset 0 0 0 1px rgba(255, 196, 100, .22); }
#figurSohbet.koyu .yaz input::placeholder { color: rgba(255, 243, 218, .45); }
#figurSohbet.koyu .yaz button { background: #FFB020; color: #2a1d05; }
/* Bukalemun (gündüz) */
#figurSohbet.acik { background: #FFFFFF; color: #3a2470; box-shadow: 0 0 0 1px rgba(138, 63, 209, .16), 0 18px 50px rgba(58, 36, 112, .22); }
#figurSohbet.acik .m.o { background: #F1ECFF; color: #3a2470; }
#figurSohbet.acik .m.ben { background: #5B2EFF; color: #fff; }
#figurSohbet.acik .oneriler button { background: #E9FBF3; color: #0E8A5C; box-shadow: inset 0 0 0 1px rgba(24, 180, 123, .35); }
#figurSohbet.acik .yaz input { background: #F4F1FB; color: #3a2470; box-shadow: inset 0 0 0 1px rgba(91, 46, 255, .14); }
#figurSohbet.acik .yaz input::placeholder { color: rgba(58, 36, 112, .45); }
#figurSohbet.acik .yaz button { background: #5B2EFF; color: #fff; }
@media (max-width: 760px) { #figurSohbet { border-radius: 20px; } #figurSohbet .m { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { #figurSohbet, #figurSohbet .m { transition: opacity .15s; transform: none; } #figurSohbet .m.yaziyor i { animation: none; opacity: .6; } }

/* <<TUR_BASI */
/* ---------- 23.10 SİTE TURU (Fener ışık tutar, Bukalemun boyar): örtü #perde, ışık/boya #efekt, kart + kumanda şeridi ---------- */
#acilis.turda #perde { pointer-events: auto; cursor: pointer; }
#acilis.turda.bukalemun #efekt { mix-blend-mode: multiply; }
#turKart { position: fixed; left: 0; top: 0; z-index: 2147483005; width: 316px; max-width: calc(100vw - 16px); border-radius: 22px; font-family: var(--yazi); -webkit-tap-highlight-color: transparent;
  transition: left .55s cubic-bezier(.3, .8, .25, 1), top .55s cubic-bezier(.3, .8, .25, 1), opacity .22s ease; }
#turKart.gir { animation: turGir .42s cubic-bezier(.34, 1.56, .64, 1) both; }
#turKart.gidiyor, #turKumanda.gidiyor { opacity: 0; pointer-events: none; }
@keyframes turGir { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
#turKart.koyu { background: #FFF3DA; color: #2a1d05; box-shadow: 0 0 0 1px rgba(255, 196, 100, .55), 0 10px 34px rgba(255, 170, 60, .38), 0 2px 12px rgba(0, 0, 0, .35); }
#turKart.acik { background: #ffffff; color: #3a2470; box-shadow: 0 0 0 1px rgba(138, 63, 209, .2), 0 12px 32px rgba(58, 36, 112, .24); }
#turKart .ic { padding: 15px 17px 13px; }
#turKart .metin { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.34; letter-spacing: -.1px; }
#turKart .ipucu { margin: 7px 0 0; font-size: 13px; font-weight: 700; opacity: .7; line-height: 1.3; }
#turKart .ipucu[hidden], #turKart .ikinci[hidden] { display: none; }
#turKart .alt { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
#turKart .say { flex: 1; font-size: 12px; font-weight: 800; opacity: .55; }
#turKart button { border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; touch-action: manipulation; -webkit-appearance: none; appearance: none; }
#turKart.koyu .devam { background: #2a1d05; color: #FFE7B8; }
#turKart.acik .devam { background: #5B2EFF; color: #fff; }
#turKart .devam.cta { padding: 11px 22px; font-size: 15.5px; animation: turNabiz 1.6s ease-in-out infinite; }
#turKart.koyu .devam.cta { background: #FFB020; color: #2a1d05; box-shadow: 0 0 0 0 rgba(255, 176, 32, .55); }
#turKart.acik .devam.cta { background: #18B47B; color: #fff; box-shadow: 0 0 0 0 rgba(24, 180, 123, .5); }
@keyframes turNabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
#turKart .ikinci { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; opacity: .8; padding: 9px 14px; }
#turKart button:focus-visible, #turKumanda button:focus-visible { outline: 3px solid #8F72FF; outline-offset: 2px; }
#turKart .kuyruk { position: absolute; width: 16px; height: 16px; background: inherit; transform: rotate(45deg); border-radius: 0 0 4px 0; pointer-events: none; }
#turKart[data-kuyruk="alt"] .kuyruk { bottom: -7px; left: var(--kx, 50%); margin-left: -8px; }
#turKart[data-kuyruk="ust"] .kuyruk { top: -7px; left: var(--kx, 50%); margin-left: -8px; border-radius: 4px 0 0 0; }
#turKart[data-kuyruk="sol"] .kuyruk { left: -7px; top: 50%; margin-top: -8px; border-radius: 0 0 0 4px; }
#turKart[data-kuyruk="sag"] .kuyruk { right: -7px; top: 50%; margin-top: -8px; border-radius: 0 4px 0 0; }

#turKumanda.alt { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); }
#turKumanda b, #turKumanda button { white-space: nowrap; }
#turKumanda { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 10px); transform: translateX(-50%); z-index: 2147483006; display: flex; align-items: center; gap: 4px; padding: 4px 5px; border-radius: 999px; font-family: var(--yazi);
  transition: opacity .22s ease; max-width: calc(100vw - 12px); }
#turKumanda.koyu { background: rgba(23, 18, 11, .88); color: #FFE7B8; box-shadow: 0 0 0 1px rgba(255, 196, 100, .35), 0 6px 22px rgba(0, 0, 0, .45); }
#turKumanda.acik { background: rgba(255, 255, 255, .92); color: #3a2470; box-shadow: 0 0 0 1px rgba(138, 63, 209, .2), 0 6px 22px rgba(58, 36, 112, .2); }
#turKumanda button { border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 900; border-radius: 999px; padding: 8px 12px; cursor: pointer; touch-action: manipulation; display: inline-flex; align-items: center; gap: 6px; }
#turKumanda button:hover { background: rgba(127, 127, 127, .18); }
#turKumanda .ses { padding: 7px 9px; }
#turKumanda .ses svg { width: 20px; height: 20px; }
#turKumanda .ses .s-kapa, #turKumanda.sessiz .ses .s-ac { display: none; }
#turKumanda.sessiz .ses .s-kapa { display: block; }
#turKumanda .sesyazi:empty { display: none; }
#turKumanda.engel .ses { background: #FFB020; color: #2a1d05; animation: turNabiz 1.4s ease-in-out infinite; padding-right: 13px; }
#turKumanda.acik.engel .ses { background: #5B2EFF; color: #fff; }
#turKumanda .nokta { display: inline-flex; gap: 4px; padding: 0 5px; }
#turKumanda .nokta i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .25s, transform .25s; }
#turKumanda .nokta i[hidden] { display: none; }
#turKumanda .nokta i.git { opacity: .55; } #turKumanda .nokta i.ak { opacity: 1; transform: scale(1.5); }
@media (max-width: 440px) { #turKumanda.engel .nokta { display: none; } #turKart .metin { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { #turKart, #turKart.gir { transition: opacity .15s; animation: none; } #turKart .devam.cta, #turKumanda.engel .ses { animation: none; } }
#asistan .balon button.gezdir { background: #EDE7FF; color: #5B2EFF; }
#asistan .balon.koyu button.gezdir { background: #FFE7B8; color: #2a1d05; }
/* TUR_SONU>> */

/* ---------- 24.10 figür özelliği: balondaki düğme ve kısa efekt tuvali (Işığını yak / Renk değiştir) ---------- */
#asistan .balon button.ozellik { background: linear-gradient(90deg, #F5951A, #D92E6E 38%, #8A3FD1 68%, #2F7BE0); color: #fff; }
#asistan .balon.koyu button.ozellik { background: linear-gradient(180deg, #FFEBB0, #FFC24A); color: #2a1d05; box-shadow: 0 0 12px rgba(255, 190, 80, .55); }
#acilis .oz-efekt { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 898; pointer-events: none; display: block; }

/* 28.10 telefon: dikey kaydırırken figür ve yön düğmesi saydamlaşır (durunca ~1 sn içinde döner); dar ekranda yön düğmesi küçülür */
#asistan, #figurKatman.sitede { transition: opacity .55s ease; }
#asistan.kaydir-gizli, #figurKatman.kaydir-gizli { opacity: 0; transition: opacity .2s ease; pointer-events: none !important; }
@media (max-width: 360px) { #asistan .degis { width: 26px; height: 26px; } #asistan .degis::after { inset: -9px; } #asistan .degis svg { width: 15px; height: 15px; } }

/* 28.10 Gizle + geri çağırma tutamağı */
#asistan.el-gizli, #figurKatman.el-gizli { display: none !important; }
#asistan.geliyor, #figurKatman.geliyor { animation: figGel .45s ease both; }
@keyframes figGel { from { opacity: 0; } to { opacity: 1; } }
#asistan .balon button.gizle { background: rgba(120, 112, 140, .22); color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 800; }
#figurTutamak { position: fixed; right: 0; bottom: calc(max(env(safe-area-inset-bottom, 0px), 10px) + 84px); width: 28px; height: 46px; z-index: 900; border: 0; margin: 0; padding: 0;
  border-radius: 14px 0 0 14px; background: rgba(24, 20, 42, .88); box-shadow: -2px 2px 10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 226, 160, .35); display: grid; place-items: center; cursor: pointer; pointer-events: auto;
  -webkit-appearance: none; appearance: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: opacity .3s ease; }
#figurTutamak[hidden], #figurTutamak.gizli { display: none; }
#figurTutamak.kaydir-gizli { opacity: 0; pointer-events: none; }
#figurTutamak svg { width: 22px; height: 22px; overflow: visible; }
#figurTutamak .kn { fill: rgba(255, 190, 110, .55); }
#figurTutamak .isik { fill: rgba(255, 210, 120, .35); }
#figurTutamak .cek { fill: #FFD27A; }
#figurTutamak[data-figur="bukalemun"] .kn { fill: rgba(150, 230, 190, .55); }
#figurTutamak[data-figur="bukalemun"] .isik { fill: rgba(150, 230, 190, .3); }
#figurTutamak[data-figur="bukalemun"] .cek { fill: #7BE0A8; }
#figurTutamak:focus-visible { outline: 3px solid #8F72FF; outline-offset: 2px; }
@media (min-width: 761px) { #figurTutamak { bottom: 26px; } }
#acilis[data-mod="oyun"] #figurTutamak { right: auto; left: 0; border-radius: 0 14px 14px 0; box-shadow: 2px 2px 10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 226, 160, .35); bottom: calc(max(env(safe-area-inset-bottom, 0px), 10px) + 110px); }

/* ---------- 08.11 (E-15) telefon/dokunmatik: yön düğmesi figürü örtmesin ----------
 * Eskiden 30 px düğme (+ 44 px dokunma halkası) figürün sol üst yarısını örtüyordu: figüre dokunan figür+tema değiştiriyordu.
 * Şimdi düğme küçük ve figürün KÖŞESİNİN DIŞINDA (yalnız 9 px köşe kesişir); dokunma alanı dışa doğru büyür, figürün üstüne taşmaz.
 * Masaüstü (geniş ekran + fare) değişmez. Figür ekranın üstüne yakınsa (.ustte) düğme alt köşeye geçer. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  #asistan .degis { width: 26px; height: 26px; left: -17px; top: -17px; }
  #asistan.solda .degis { left: auto; right: -17px; }
  #asistan.ustte .degis { top: auto; bottom: -17px; }
  #asistan .degis svg { width: 15px; height: 15px; }
  #asistan .degis::after { inset: -18px 0 0 -18px; }
  #asistan.solda .degis::after { inset: -18px -18px 0 0; }
  #asistan.ustte .degis::after { inset: 0 0 -18px -18px; }
  #asistan.ustte.solda .degis::after { inset: 0 -18px -18px 0; }
}
/* menü örtüsü (acilis.js, E-15): menü açıkken sayfaya dokunuş geçmez */
#figurOrtu { position: fixed; inset: 0; z-index: 899; background: transparent; touch-action: none; -webkit-tap-highlight-color: transparent; }

/* 08.11 (E-15 kalıcı): kapalı menü görünmez + tıklanamaz (düğmeler yalnız gösterilirken vardır; kapanış animasyonundan sonra visibility:hidden) */
#asistan .balon { visibility: hidden; transition: opacity .22s ease-out, transform .32s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .35s; }
#asistan .balon.goster { visibility: visible; transition-delay: 0s; }
