/* ===== ERİŞİLEBİLİRLİK ===== */
/* Yazı boyutu: tüm sayfa (yazı, düğme, simge) birlikte büyür; düzen ekrana göre yeniden yerleşir */
html.eris-b1 body { zoom: 1.15; }
html.eris-b2 body { zoom: 1.3; }
html.eris-b3 body { zoom: 1.5; }
/* Panel ve düğme sayfayla birlikte büyümesin (zaten büyük) */
html.eris-b1 #erisKok { zoom: calc(1 / 1.15); }
html.eris-b2 #erisKok { zoom: calc(1 / 1.3); }
html.eris-b3 #erisKok { zoom: calc(1 / 1.5); }

/* Yüksek kontrast */
html.eris-kontrast { filter: contrast(1.35) saturate(1.1); }
html.eris-kontrast body { text-shadow: none; }

/* Kalın yazı */
html.eris-kalin body { -webkit-text-stroke: 0.35px currentColor; }
html.eris-kalin #erisKok { -webkit-text-stroke: 0; }

/* Hareketi durdur */
html.eris-hareketsiz *, html.eris-hareketsiz *::before, html.eris-hareketsiz *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* Köşedeki "Aa" düğmesi */
.eris-dugme {
    position: fixed; right: 16px; bottom: 20px; z-index: 1190;
    width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
    background: #14532d; color: #fff; font-family: inherit; font-weight: 800; font-size: 22px; line-height: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25), 0 0 0 3px #fff;
    display: flex; align-items: center; justify-content: center;
}
.eris-dugme small { font-size: 16px; }
.eris-dugme:hover { background: #166534; }
.eris-dugme:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.eris-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Telefonda alt menünün üstünde dursun */
@media (max-width: 992px) {
    .eris-dugme { bottom: calc(var(--mv-alt-h, 64px) + var(--mv-guvenli-alt, 0px) + 16px); right: 12px; width: 52px; height: 52px; }
    body.mv-alt-yok .eris-dugme { bottom: 18px; }
}

/* Bilgisayarda (fare kullanılan geniş ekran) gizli; yönetici Gelişmiş Ayarlar'dan açabilir */
@media (min-width: 993px) and (hover: hover) and (pointer: fine) {
    .eris-dugme.eris-mobil-only { display: none; }
    body:has(.eris-mobil-only) #muzikWidget:not([data-tasindi]) { bottom: 20px !important; }
}

/* Panel */
.eris-panel { position: fixed; inset: 0; z-index: 1400; background: rgba(17,24,39,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.eris-panel[hidden] { display: none; }
.eris-kutu { background: #fff; color: #111827; border-radius: 20px; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); font-family: inherit; }
.eris-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.eris-ust strong { font-size: 20px; }
.eris-kapat { border: 0; background: #f3f4f6; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.eris-etiket { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.eris-boyutlar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.eris-boyutlar button { border: 2px solid #e5e7eb; background: #fff; border-radius: 14px; padding: 10px 4px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; color: #374151; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 78px; justify-content: flex-end; }
.eris-boyutlar button span { font-weight: 800; color: #111827; line-height: 1; }
.eris-boyutlar button[aria-checked="true"] { border-color: #16a34a; background: #f0fdf4; color: #14532d; box-shadow: 0 0 0 2px #bbf7d0; }
.eris-anahtar { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-top: 1px solid #f3f4f6; cursor: pointer; }
.eris-anahtar input { width: 24px; height: 24px; margin-top: 2px; accent-color: #16a34a; flex-shrink: 0; }
.eris-anahtar b { display: block; font-size: 16px; }
.eris-anahtar small { display: block; font-size: 13.5px; color: #6b7280; margin-top: 2px; }
.eris-alt { display: flex; gap: 10px; margin-top: 14px; }
.eris-sifirla, .eris-tamam { flex: 1; border: 0; border-radius: 14px; padding: 13px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.eris-sifirla { background: #f3f4f6; color: #374151; }
.eris-tamam { background: #16a34a; color: #fff; }
@media (max-width: 380px) { .eris-boyutlar { grid-template-columns: repeat(2, 1fr); } }

/* Mobil menüdeki hızlı satır */
.eris-menu-satir { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin: 0 0 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; }
.eris-menu-satir span { flex: 1; font-weight: 700; color: #14532d; font-size: 15px; }
.eris-menu-satir button { min-width: 46px; height: 42px; border: 1.5px solid #86efac; background: #fff; border-radius: 12px; font-weight: 800; font-size: 17px; color: #14532d; cursor: pointer; font-family: inherit; }
