

/* ==== KOYU TEMA ELLE ==== */
body.koyu-tema .ic-gez-satir .dugme.ic-gez { background: #24345A; color: #E3EBFF; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); } /* 0.68.1 */
body.koyu-tema .dugme.magaza-one { background: #22A35A; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
body.koyu-tema .magaza-cip { background: #22A35A; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 6px 12px rgba(0, 0, 0, 0.25); }
/* 0.57.14: otomatik koyu temanın üstüne elle düzeltmeler (koyu tema açıkken menüler ve pencereler) */
/* seçili çipler koyu zeminde lacivert kalınca seçilmiyordu: koyu temada mavi */
body.koyu-tema .cip.secili, body.koyu-tema .tf-katlar .cip.secili { background: #3D6FD6; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
body.koyu-tema .tf-katlar .cip:hover:not(.secili), body.koyu-tema .tf-anahtar:hover:not(.secili) { background: #2C3D63; }
body.koyu-tema .tf-anahtar.secili { background: #123A27; box-shadow: inset 0 0 0 1.5px #2FBF71; color: #8FF0B8; }
body.koyu-tema .tf-kutu { background: #0F1930; box-shadow: inset 0 0 0 2px #46587F; }
body.koyu-tema .tf-anahtar.secili .tf-kutu { background: #2FBF71; box-shadow: none; }
body.koyu-tema .tf-sonuc { background: #123A27; color: #8FF0B8; }
body.koyu-tema .tf-temizle { color: #FF8A80; }
body.koyu-tema .tf-sil { background: rgba(255, 255, 255, 0.1); color: #C9D3EA; }
body.koyu-tema .kd-ok { background: #2A3A5E; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 0 1px #3A4D78; }
body.koyu-tema .kd-ok:hover { background: var(--altin); color: var(--lacivert-koyu); }
body.koyu-tema .gs-kart.secili { background: rgba(255, 196, 46, 0.12); box-shadow: 0 0 0 2px var(--altin), 0 1px 2px rgba(16, 24, 40, .08); }
body.koyu-tema .gs-hap.benim { background: #3A2E0A; color: #FFD666; }
body.koyu-tema .gs-hap.kiralik { background: #123A27; color: #8FF0B8; }
body.koyu-tema .gs-ok { color: #6C7BA0; }
body.koyu-tema .gs-kr-yer.on { background: #123A27; color: #8FF0B8; }
body.koyu-tema .gs-kr-yer.arka { background: #3A2E0A; color: #FFD666; }
body.koyu-tema .gs-kr-incele { background: #3D6FD6; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }

/* 0.63.3: profil fotoğrafını büyütme */
.p2-foto.buyutulur { cursor: zoom-in; transition: transform .15s ease; }
.p2-foto.buyutulur:hover { transform: scale(1.03); }
.p2-foto.buyutulur:focus-visible { outline: 3px solid #FFD23F; outline-offset: 3px; }
.foto-buyuk { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; background: rgba(8, 10, 18, 0); backdrop-filter: blur(0); transition: background .18s ease, backdrop-filter .18s ease; cursor: zoom-out; }
.foto-buyuk.acik { background: rgba(8, 10, 18, .86); backdrop-filter: blur(6px); }
.foto-buyuk figure { margin: 0; display: grid; justify-items: center; gap: 14px; transform: scale(.82); opacity: 0; transition: transform .2s cubic-bezier(.2,.8,.3,1), opacity .18s ease; }
.foto-buyuk.acik figure { transform: scale(1); opacity: 1; }
.foto-buyuk img { width: min(82vw, 62vh, 380px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255,255,255,.92); box-shadow: 0 18px 50px rgba(0,0,0,.5); background: #1b2033; }
.foto-buyuk figcaption { color: #fff; font-weight: 800; font-size: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.foto-buyuk-kapat { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.foto-buyuk-kapat:focus-visible { outline: 3px solid #FFD23F; }
@media (prefers-reduced-motion: reduce) { .foto-buyuk, .foto-buyuk figure, .p2-foto.buyutulur { transition: none; } }
/* 0.72.0: kervan seferleri haritası koyu temada (fill kuralları üreticiye girmez) */
body.koyu-tema .kvn-harita path[data-kvn-il] { fill: #2A3B5E; stroke: #3E5482; }
body.koyu-tema .kvn-harita svg.renkli path[data-kvn-il] { filter: brightness(.8) saturate(1.1); }
body.koyu-tema .kvn-harita svg.renkli path[data-kvn-il].secili { filter: brightness(1) drop-shadow(0 0 1.2px #FFC42E); }
body.koyu-tema .kvn-rota { stroke: #8C93A6; }
/* 0.92.0: hikâye bölüm sürprizi */
.hky-surpriz-perde { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 30, 0); transition: background .2s; }
.hky-surpriz-perde.acik { background: rgba(8, 14, 30, .6); }
.hky-surpriz { width: min(340px, 100%); text-align: center; padding: 22px 18px 18px; border-radius: 22px; background: #fff; color: #1B2440; box-shadow: 0 18px 48px rgba(8, 14, 30, .35); transform: translateY(12px) scale(.96); opacity: 0; transition: transform .22s, opacity .22s; }
.hky-surpriz-perde.acik .hky-surpriz { transform: none; opacity: 1; }
.hky-surpriz h3 { margin: 8px 0 4px; font-size: 20px; }
.hky-surpriz-kutu { width: 112px; height: 112px; border: 0; border-radius: 28px; background: linear-gradient(160deg, #FFE7A3, #FFC42E); font-size: 58px; line-height: 1; cursor: pointer; box-shadow: none; }
.boy-buyuk .hky-surpriz-kutu { background: linear-gradient(160deg, #CFE3FF, #5B8DEF); }
.boy-cok .hky-surpriz-kutu { background: linear-gradient(160deg, #FFD6F0, #B26BFF); }
.hky-surpriz-perde:not(.acildi) .hky-surpriz-kutu { animation: hky-sallan 1.6s ease-in-out infinite; }
.hky-surpriz-perde.acildi .hky-surpriz-kutu { transform: scale(.82); transition: transform .25s; }
.hky-surpriz-icerik { list-style: none; margin: 12px 0 6px; padding: 0; display: grid; gap: 8px; }
.hky-surpriz-icerik li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 10px 12px; border-radius: 14px; background: #F3F6FC; font-size: 16px; }
.hky-surpriz-icerik li small { flex-basis: 100%; color: #65708A; font-size: 12px; }
.hky-surpriz .dugme { width: 100%; margin-top: 8px; }
@keyframes hky-sallan { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .hky-surpriz-perde:not(.acildi) .hky-surpriz-kutu { animation: none; } }
:where(body.koyu-tema) .hky-surpriz { background: #16233F; color: #EAF0FF; }
:where(body.koyu-tema) .hky-surpriz-icerik li { background: #22335A; }
:where(body.koyu-tema) .hky-surpriz-icerik li small { color: #A9B6D6; }
/* 0.92.0: araba yarışı */
.ek-yaris-not { margin: 8px 0; padding: 8px 10px; border-radius: 12px; background: #FFF6DC; color: #5A4300; }
.ek-yaris { margin-top: 10px; }
.ek-yaris-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ek-yaris-liste li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #F3F6FC; }
.ek-yaris-liste li.birinci { background: #FFF3C4; }
.ek-yaris-sira { font-weight: 800; text-align: center; font-size: 16px; }
.ek-yaris-ad { display: flex; flex-direction: column; min-width: 0; }
.ek-yaris-ad small { color: #65708A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ek-yaris-cubuk { display: block; height: 6px; margin-top: 4px; border-radius: 6px; background: linear-gradient(90deg, #2F7BFF var(--oran), rgba(0, 0, 0, .06) var(--oran)); }
.ek-yaris-sure { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; }
.ek-yaris-sure small { color: #1E8E3E; font-weight: 700; }
:where(body.koyu-tema) .oda-sohbet-ac { background: rgba(255, 255, 255, .1); }
:where(body.koyu-tema) .ek-yaris-not { background: #3A3214; color: #FFE39A; }
:where(body.koyu-tema) .ek-yaris-liste li { background: #22335A; }
:where(body.koyu-tema) .ek-yaris-liste li.birinci { background: #4A3D12; }
:where(body.koyu-tema) .ek-yaris-ad small { color: #A9B6D6; }
:where(body.koyu-tema) .ek-yaris-sure small { color: #7EE2A0; }
/* 0.93.0: futbol ligi (koyu) */
:where(body.koyu-tema) .fb-kart { background: #1A2844; border-color: #2E3E61; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); color: #E7ECF6; }
:where(body.koyu-tema) .fb-baslik { color: #E7ECF6; }
:where(body.koyu-tema) .fb-not, :where(body.koyu-tema) .fb-takim-ad small, :where(body.koyu-tema) .fb-olcu small,
:where(body.koyu-tema) .fb-forma span, :where(body.koyu-tema) .fb-forma small, :where(body.koyu-tema) .fb-son5 small,
:where(body.koyu-tema) .fb-sponsor-alt, :where(body.koyu-tema) .fb-tablo thead th, :where(body.koyu-tema) .fb-sampiyonlar small { color: #A3AFC8; }
:where(body.koyu-tema) .fb-ust { background: linear-gradient(135deg, #14532F 0%, #1D6B41 60%, #23804E 100%); }
:where(body.koyu-tema) .fb-cip { background: #1E3B2C; color: #8FDCAE; }
:where(body.koyu-tema) .fb-olcu > div, :where(body.koyu-tema) .fb-son5 li, :where(body.koyu-tema) .fb-skor { background: #111B31; }
:where(body.koyu-tema) .fb-forma { border-color: #2E3E61; }
:where(body.koyu-tema) .fb-satir select, :where(body.koyu-tema) .fb-satir input { background: #111B31; border-color: #2E3E61; color: #E7ECF6; }
:where(body.koyu-tema) .fb-degis summary { color: #8DB8F5; }
:where(body.koyu-tema) .fb-tablo thead th { border-color: #2E3E61; }
:where(body.koyu-tema) .fb-tablo tbody tr + tr td, :where(body.koyu-tema) .fb-tablo tbody tr + tr th,
:where(body.koyu-tema) .fb-mac + .fb-mac, :where(body.koyu-tema) .fb-sampiyonlar li + li { border-color: #25355A; }
:where(body.koyu-tema) .fb-tablo tr.fb-ben td, :where(body.koyu-tema) .fb-tablo tr.fb-ben th, :where(body.koyu-tema) .fb-mac.fb-ben { background: #1E3B2C; }
:where(body.koyu-tema) .fb-tablo tr.fb-ben th { color: #8FDCAE; }
:where(body.koyu-tema) .fb-tablo tr.fb-lider td:first-child { color: var(--altin); }
/* 0.94.0: maç izleme (koyu) */
:where(body.koyu-tema) .fbm-kutu { background: #14203A; border-color: #2E3E61; color: #E7ECF6; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
:where(body.koyu-tema) .fbm-rozet, :where(body.koyu-tema) .fbm-kapat, :where(body.koyu-tema) .fbm-hiz { background: #1E2C4B; color: #A3AFC8; }
:where(body.koyu-tema) .fbm-kapat { color: #E7ECF6; }
:where(body.koyu-tema) .fbm-kapat:hover { background: #26375C; }
:where(body.koyu-tema) .fbm-r-canli { background: #3A1E24; color: #FF8F84; }
:where(body.koyu-tema) .fbm-r-tekrar { background: #1C2D52; color: #8DB4FF; }
:where(body.koyu-tema) .fbm-r-bitti { background: #1E3B2C; color: #8FDCAE; }
:where(body.koyu-tema) .fbm-tabela { background: linear-gradient(135deg, #0F3F24 0%, #14532F 55%, #1D6B41 100%); }
:where(body.koyu-tema) .fbm-saha { background: #1E5B3A; }
:where(body.koyu-tema) .fbm-ilerleme { background: #24345A; }
:where(body.koyu-tema) .fbm-hiz button { color: #A3AFC8; }
:where(body.koyu-tema) .fbm-hiz button[aria-pressed="true"] { background: #2E3E61; color: #fff; box-shadow: none; }
:where(body.koyu-tema) .fbm-dugme { background: #1A2844; border-color: #2E3E61; color: #E7ECF6; }
:where(body.koyu-tema) .fbm-dugme:hover { background: #22325A; }
:where(body.koyu-tema) .fbm-ana { background: #1E9E5A; border-color: transparent; color: #fff; }
:where(body.koyu-tema) .fbm-not, :where(body.koyu-tema) .fbm-olaylar li b, :where(body.koyu-tema) .fbm-olaylar li.fbm-bos { color: #A3AFC8; }
:where(body.koyu-tema) .fbm-olaylar li { background: #1A2844; }
:where(body.koyu-tema) .fbm-olaylar li.fbm-gol { background: #3A1E24; }
:where(body.koyu-tema) .fbm-olaylar li.fbm-gol b { color: #FF8F84; }
:where(body.koyu-tema) .fbm-izle { background: #1E3B2C; color: #8FDCAE; }
:where(body.koyu-tema) .fbm-izle:hover { background: #24493A; }
:where(body.koyu-tema) .fb-mac.fb-canli .fbm-izle { background: #3A1E24; color: #FF8F84; }
:where(body.koyu-tema) .fb-son5 li[data-fb-izle]:hover { background: #1A2844; }
/* 0.95.0: takım hakları (koyu) */
:where(body.koyu-tema) .fbh-takim-satir, :where(body.koyu-tema) .fbh-onizleme { background: #111B31; }
:where(body.koyu-tema) .fbh-takim-satir select, :where(body.koyu-tema) .fbh-alan input { background: #0F1729; border-color: #2E3E61; color: #E7ECF6; }
:where(body.koyu-tema) .fbh-hak { border-color: #2E3E61; }
:where(body.koyu-tema) .fbh-hak.benim { background: #14301F; border-color: #2F6B45; }
:where(body.koyu-tema) .fbh-hak.dolu { background: #16223A; }
:where(body.koyu-tema) .fbh-simge { background: #1E3A2A; }
:where(body.koyu-tema) .fbh-durum { background: #3A2E12; color: #FFD27A; }
:where(body.koyu-tema) .fbh-durum.bos, :where(body.koyu-tema) .fbh-durum.benim { background: #1E3A2A; color: #8DE2B5; }
:where(body.koyu-tema) .fbh-stad b, :where(body.koyu-tema) .fbh-onizleme b, :where(body.koyu-tema) .fbh-takim-satir b { color: #E7ECF6; }
:where(body.koyu-tema) .fbh-yok i { background: #0F1729; border-color: #4A5A7E; }
:where(body.koyu-tema) .fbh-renk input:checked + i { box-shadow: 0 0 0 2px #1A2844, 0 0 0 4px #E7ECF6; }
/* 0.96.0: rütbe ligleri, senin çevren */
:where(body.koyu-tema) .rl-ligler span { background: #1A2844; color: #E7ECF6; }
:where(body.koyu-tema) .rl-ligler span small { color: #A3AFC8; }
:where(body.koyu-tema) .rl-ligler span b { color: #E7ECF6; }
:where(body.koyu-tema) .rl-ligler span.secili { background: #2F4C8C; }
:where(body.koyu-tema) .rl-ligler span.secili small, :where(body.koyu-tema) .rl-ligler span.secili b { color: #FFD65C; }
:where(body.koyu-tema) .sira-cevre.ic summary { color: #9DB7F0; }
/* 0.96.0: seviye yolu 99 (koyu tema) */
:where(body.koyu-tema) .syl-k-yazi { color: #E7ECF6; }
:where(body.koyu-tema) .syl-kisa.kilitli .syl-k-yazi, :where(body.koyu-tema) .syl-k-daha { color: #A3AFC8; }
:where(body.koyu-tema) .syl-avantajlar li { background: #111B31; color: #E7ECF6; }
:where(body.koyu-tema) .syl-surpriz { background: #111B31; color: #E7ECF6; }
:where(body.koyu-tema) .syl-surpriz .hky-surpriz-icerik li { background: #1A2844; }
:where(body.koyu-tema) .boy-efsane .hky-surpriz-kutu { background: linear-gradient(160deg, #4A3A10, #E8A400 55%, #7A3FD0); }
:where(body.koyu-tema) .rutbe-rozet.r-kethuda, :where(body.koyu-tema) .syl-ust.r-kethuda { --r: #D9A066; }
:where(body.koyu-tema) .rutbe-rozet.r-yigitbasi, :where(body.koyu-tema) .syl-ust.r-yigitbasi { --r: #F08A7A; }
:where(body.koyu-tema) .rutbe-rozet.r-seyh, :where(body.koyu-tema) .syl-ust.r-seyh { --r: #5FD3C2; }
:where(body.koyu-tema) .rutbe-rozet.r-ahibaba, :where(body.koyu-tema) .syl-ust.r-ahibaba { --r: #B9A0F0; }
:where(body.koyu-tema) .rutbe-rozet.r-pir, :where(body.koyu-tema) .syl-ust.r-pir { --r: #8FB4F0; }
:where(body.koyu-tema) .rutbe-rozet.r-evran, :where(body.koyu-tema) .syl-ust.r-evran { --r: #F4CE7B; }

/* 0.97.0: yurt dışı tedarik notu (koyu) */
:where(body.koyu-tema) .yurtdisi-not { color: #f5c26b; }

/* 0.98.0: Muhasebeci kutuları (koyu) */
:where(body.koyu-tema) .hareket-ozet > a.muh-kutu { background: #1A2844; color: #E7ECF6; }
:where(body.koyu-tema) .hareket-ozet > a.muh-kutu::after { color: #A3AFC8; }

/* 0.98.0: Esnaf odası kredisi ve şube adı (koyu) */
:where(body.koyu-tema) .oda-kredi { background: #12291F; border-color: #24503A; }
:where(body.koyu-tema) .oda-kredi-izgara > div { background: #1A2844; }
:where(body.koyu-tema) .oda-kredi-izgara small { color: #A3AFC8; }
:where(body.koyu-tema) .oda-kredi-engel { color: #F5C26B; }
:where(body.koyu-tema) .sube-ad { background: #111B31; }

/* 0.99.10: lonca kasası */
.lc-yuk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(128, 128, 128, .25); list-style: none; }
.lc-yuk-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-kasa .mk-liste { margin: 6px 0; padding: 0; }
