/* =====================================================================
   Erişilebilirlik paneli — sedanarinc.com
   Buton + panel + sayfa modları tek dosyada.
   Sayfa modları <html> üzerindeki erb-* sınıflarıyla çalışır; panelin
   kendisi (.erb-kok) bu modlardan etkilenmez. Dış servis yok.
   ===================================================================== */

/* ---- Okunaklı yazı tipi: Atkinson Hyperlegible Next (SIL OFL 1.1, yazi/OFL.txt) ----
   Yalnızca seçenek açılınca indirilir. */
@font-face{
    font-family: "ErbOkunakli";
    src: url("yazi/atkinson-latin-ext.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
    font-family: "ErbOkunakli";
    src: url("yazi/atkinson-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    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;
}

/* =====================================================================
   1) SAYFA MODLARI
   ===================================================================== */

/* ---- Satır aralığı ---- */
html.erb-satir-1 body *:not(.erb-kok, .erb-kok *){ line-height: 1.75 !important; }
html.erb-satir-2 body *:not(.erb-kok, .erb-kok *){ line-height: 2.1 !important; }

/* ---- Harf ve kelime aralığı (WCAG 1.4.12 değerleri) ---- */
html.erb-aralik body *:not(.erb-kok, .erb-kok *){
    letter-spacing: .12em !important;
    word-spacing: .16em !important;
}

/* ---- Okunaklı yazı tipi ---- */
html.erb-yazi body *:not(.erb-kok, .erb-kok *){
    font-family: "ErbOkunakli", Verdana, Tahoma, sans-serif !important;
}

/* ---- İki yana yaslı metni sola yasla (öğeler JS ile etiketlenir) ---- */
html.erb-hiza .erb-iki-yana{ text-align: left !important; }

/* ---- Büyük yazıda sabit yükseklikli alt bilgi kutuları taşmasın ---- */
html.erb-buyuk .footerWrp,
html.erb-buyuk .footerCont,
html.erb-buyuk .footerSubSub{ height: auto !important; }

/* ---- Yüksek kontrast: koyu ---- */
html.erb-k-koyu,
html.erb-k-koyu body{ background: #0f0f0f !important; }
html.erb-k-koyu body *:not(.erb-kok, .erb-kok *, .waFloat, .waFloat *){
    color: #f5f5f5 !important;
    background-image: none !important;
    border-color: #8a8a8a !important;
    /* zeminle aynı renkte hale: düz zeminde görünmez, fotoğraf üstünde yazıyı okutur */
    text-shadow: 0 0 2px #0f0f0f, 0 0 6px #0f0f0f !important;
    box-shadow: none !important;
}
html.erb-k-koyu .erb-zemin,
html.erb-k-koyu .erb-sabit{ background-color: #0f0f0f !important; }
html.erb-k-koyu header.erb-sabit{ border-bottom: 1px solid #8a8a8a !important; }
html.erb-k-koyu body a:not(.erb-kok *, .waFloat){ color: #ffd84d !important; }
html.erb-k-koyu body :is(button, [role="button"], input, select, textarea):not(.erb-kok *){ border: 1.5px solid #f5f5f5 !important; }
html.erb-k-koyu body svg:not(.erb-kok *, .waFloat *):not([fill="none"]),
html.erb-k-koyu body svg:not(.erb-kok *, .waFloat *) [fill]:not([fill="none"]){ fill: currentColor !important; }
html.erb-k-koyu body svg:not(.erb-kok *, .waFloat *) [stroke]:not([stroke="none"]){ stroke: currentColor !important; }

/* ---- Yüksek kontrast: açık ---- */
html.erb-k-acik,
html.erb-k-acik body{ background: #fff !important; }
html.erb-k-acik body *:not(.erb-kok, .erb-kok *, .waFloat, .waFloat *){
    color: #000 !important;
    background-image: none !important;
    border-color: #000 !important;
    text-shadow: 0 0 2px #fff, 0 0 6px #fff !important;
    box-shadow: none !important;
}
html.erb-k-acik .erb-zemin,
html.erb-k-acik .erb-sabit{ background-color: #fff !important; }
html.erb-k-acik header.erb-sabit{ border-bottom: 1px solid #000 !important; }
html.erb-k-acik .erb-sabit img{ filter: brightness(0) !important; } /* beyaz logo beyaz zeminde kaybolmasın */
html.erb-k-acik body a:not(.erb-kok *, .waFloat){ color: #0b3aa8 !important; }
html.erb-k-acik body :is(button, [role="button"], input, select, textarea):not(.erb-kok *){ border: 1.5px solid #000 !important; }
html.erb-k-acik body svg:not(.erb-kok *, .waFloat *):not([fill="none"]),
html.erb-k-acik body svg:not(.erb-kok *, .waFloat *) [fill]:not([fill="none"]){ fill: currentColor !important; }
html.erb-k-acik body svg:not(.erb-kok *, .waFloat *) [stroke]:not([stroke="none"]){ stroke: currentColor !important; }

/* ---- Renkler ---- */
html.erb-r-yumusak{ filter: saturate(.45); }
html.erb-r-gri{ filter: grayscale(1); }

/* ---- Bağlantıları vurgula ---- */
html.erb-baglanti body a:not(.erb-kok *, .waFloat){
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: .2em !important;
}
/* metin içindeki bağlantılar fosforlu kalemle işaretlenir (menü kutuları değil) */
html.erb-baglanti body :is(p, li, td, dd, blockquote, figcaption) a:not(.erb-kok *, .waFloat, header *, nav *):not(:has(img, svg)){
    background-color: #fff1a8 !important;
    color: #2b1a0e !important;
    text-shadow: none !important;
    box-shadow: 0 0 0 2px #fff1a8 !important;
    border-radius: 2px;
}

/* ---- Animasyonları durdur (cihazda "hareketi azalt" açıksa kendiliğinden) ---- */
html.erb-hareket *,
html.erb-hareket *::before,
html.erb-hareket *::after{
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce){
    html *,
    html *::before,
    html *::after{
        animation-duration: .001ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Büyük imleç ---- */
html.erb-imlec,
html.erb-imlec *{
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4v35l9-8.6 6.4 14.6 6.6-2.9-6.3-14.3 12.5-.6z' fill='%23111' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, auto !important;
}
html.erb-imlec :is(a, button, label, summary, select, [role="button"], [onclick]),
html.erb-imlec :is(a, button, label, summary, [role="button"], [onclick]) *{
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4v35l9-8.6 6.4 14.6 6.6-2.9-6.3-14.3 12.5-.6z' fill='%23c9822b' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, pointer !important;
}

/* ---- Belirgin odak çerçevesi ---- */
html.erb-odak body *:focus-visible{
    outline: 3px solid #c9822b !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 7px rgba(201,130,43,.3) !important;
}

/* ---- Tıklayınca oku: üzerine gelinen metin belli olsun ---- */
@media (hover: hover){
    html.erb-okuma body :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,dt,dd,td,th):not(.erb-kok *):hover{
        outline: 2px dashed rgba(143,103,74,.75);
        outline-offset: 4px;
        cursor: pointer;
    }
}
.erb-okunan{
    outline: 3px solid #c9822b !important;
    outline-offset: 4px !important;
    background-color: rgba(201,130,43,.16) !important;
    border-radius: 3px;
}

/* =====================================================================
   2) BUTON, PANEL, OKUMA MASKESİ, OYNATICI
   ===================================================================== */
.erb-kok{
    --erb-koyu: #5e381d;
    --erb-orta: #8f674a;
    --erb-krem: #f9eee6;
    --erb-zemin: #fffaf6;
    --erb-kart: #fff;
    --erb-alt-zemin: #fbf3ec;
    --erb-yazi: #2e2018;
    --erb-soluk: #6f5a4c;
    --erb-etiket: #7d5a3f;
    --erb-cizgi: rgba(94,56,29,.14);
    --erb-segment: rgba(94,56,29,.07);
    --erb-tus-kapali: #9c8573;
    --erb-vurgu: #c9822b;
    --erb-o: 1;
}
.erb-kok [hidden]{ display: none !important; }
.erb-kok svg{ display: block; }

/* ---- Açma butonu: WhatsApp butonunun (60px, sağ 22px) ekseninde ---- */
.erb-dugme{
    position: fixed;
    right: 28px;
    bottom: 94px; /* WhatsApp'ın üstünde, 12px boşluk */
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--erb-koyu);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    z-index: 1000;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
/* Geçişler ilk yerleşimden sonra açılır; sayfa açılırken buton kaymasın */
.erb-kok.erb-hazir .erb-dugme{
    transition: bottom .45s cubic-bezier(.2,.8,.2,1), transform .3s ease, box-shadow .3s ease, background-color .2s ease;
}
.erb-dugme:hover{
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.erb-dugme:focus-visible{
    outline: 3px solid var(--erb-vurgu);
    outline-offset: 3px;
}
.erb-dugme[aria-expanded="true"]{ background: var(--erb-orta); }
.erb-dugme svg{ width: 30px; height: 30px; }
/* Etkin ayar varsa küçük kehribar nokta */
.erb-dugme::after{
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--erb-vurgu);
    border: 2px solid #fff;
    transform: scale(0);
    transition: transform .2s ease;
}
.erb-dugme.erb-etkin::after{ transform: scale(1); }
/* WhatsApp butonu görünmüyorken (anasayfanın üstü) onun yerine otur */
.erb-kok.erb-alt .erb-dugme{ bottom: 28px; }
/* Çerez bandı açıkken bandın üstüne çık */
.erb-kok.erb-bantli .erb-dugme{ bottom: calc(var(--erb-bant, 0px) + 16px); }
html.erb-k-koyu .erb-dugme{ box-shadow: 0 0 0 2px #f5f5f5; }

/* ---- Panel ---- */
.erb-panel{
    position: fixed;
    right: 90px;
    bottom: 22px;
    width: min(calc(384px * var(--erb-o)), calc(100vw - 112px));
    max-height: calc(100vh - 44px);
    max-height: calc(100dvh - 44px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--erb-zemin);
    color: var(--erb-yazi);
    border: 1px solid var(--erb-cizgi);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(46,28,16,.28), 0 2px 8px rgba(46,28,16,.12);
    z-index: 1004;
    font-family: 'Raleway', 'Segoe UI', system-ui, sans-serif;
    font-size: calc(14px * var(--erb-o));
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    transform-origin: 100% 100%;
    animation: erbAcil .22s cubic-bezier(.2,.8,.2,1);
}
.erb-panel:focus{ outline: none; }
@keyframes erbAcil{
    from{ opacity: 0; transform: translateY(8px) scale(.97); }
}
.erb-perde{ display: none; }

.erb-ust{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px 16px 18px;
    background: linear-gradient(135deg, #5e381d 0%, #7a5236 100%);
    color: #fff;
}
.erb-ust-ikon{
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    display: grid;
    place-items: center;
}
.erb-ust-ikon svg{ width: 26px; height: 26px; }
.erb-baslik{
    margin: 1px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    color: #fff;
}
.erb-alt-baslik{
    margin: 2px 0 0;
    font-size: .9em;
    color: #fff;
}
.erb-kapat{
    flex: none;
    margin-left: auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.erb-kapat:hover{ background: rgba(255,255,255,.3); }
.erb-kapat:focus-visible{ outline: 3px solid #ffd27a; outline-offset: 2px; }
.erb-kapat svg{ width: 20px; height: 20px; }

.erb-govde{
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 14px 6px;
}
.erb-bolum{
    padding: 14px 0 12px;
    border-bottom: 1px solid var(--erb-cizgi);
}
.erb-bolum:last-child{ border-bottom: 0; }
.erb-bolum-baslik{
    margin: 0 0 10px 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: .74em;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--erb-etiket);
}
.erb-ad{
    display: block;
    font-weight: 600;
    color: var(--erb-yazi);
}
.erb-aciklama{
    display: block;
    margin-top: 1px;
    font-size: .87em;
    color: var(--erb-soluk);
}

/* Ortak simgeler (çizgi) */
.erb-kok .erb-cizgi-ikon{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Yazı boyutu ---- */
.erb-boyut{
    padding: 12px 12px 12px 14px;
    border: 1px solid var(--erb-cizgi);
    border-radius: 16px;
    background: var(--erb-kart);
}
.erb-boyut-ust{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.erb-deger{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--erb-koyu);
}
.erb-boyut-alt{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.erb-yuvarlak{
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1.5px solid rgba(94,56,29,.35);
    border-radius: 50%;
    background: var(--erb-zemin);
    color: var(--erb-koyu);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.erb-yuvarlak:hover:not([aria-disabled="true"]){ background: var(--erb-krem); }
.erb-yuvarlak:focus-visible{ outline: 3px solid var(--erb-vurgu); outline-offset: 2px; }
.erb-yuvarlak[aria-disabled="true"]{ opacity: .38; cursor: default; }
.erb-kucult{ font-size: .95em; }
.erb-buyut{ font-size: 1.35em; }
.erb-adimlar{
    flex: 1;
    display: flex;
    gap: 5px;
}
.erb-adimlar i{
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(94,56,29,.16);
    transition: background-color .2s ease;
}
.erb-adimlar i.erb-dolu{ background: var(--erb-koyu); }

/* ---- Seçim grupları (radyo) ---- */
.erb-secim{
    min-width: 0;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
}
.erb-secim legend{
    margin: 0 0 6px 6px;
    padding: 0;
}
.erb-secenekler{
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 13px;
    background: var(--erb-segment);
}
.erb-secenekler label{
    flex: 1;
    position: relative;
    min-width: 0;
}
.erb-secenekler input{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.erb-secenekler span{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 6px 6px;
    border-radius: 10px;
    font-size: .93em;
    font-weight: 600;
    text-align: center;
    color: var(--erb-yazi);
    transition: background-color .15s ease, color .15s ease;
}
.erb-secenekler label:hover input:not(:checked) + span{ background: rgba(94,56,29,.09); }
.erb-secenekler input:checked + span{
    background: var(--erb-koyu);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.erb-secenekler input:focus-visible + span{
    outline: 3px solid var(--erb-vurgu);
    outline-offset: 2px;
}
.erb-ornek{
    flex: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
}
.erb-ornek-normal{ background: linear-gradient(135deg, #f9eee6 50%, #8f674a 50%); }
.erb-ornek-acik{ background: #fff; border-color: #000; }
.erb-ornek-koyu{ background: #0f0f0f; border-color: #ffd84d; }
.erb-ornek-dogal{ background: conic-gradient(#d9534f, #f0ad4e, #5cb85c, #5bc0de, #8e6bbf, #d9534f); border: 0; }
.erb-ornek-yumusak{ background: conic-gradient(#c9a4a2, #d6c3a3, #a9bfa6, #a7bcc4, #b3a6c0, #c9a4a2); border: 0; }
.erb-ornek-gri{ background: conic-gradient(#555, #aaa, #ddd, #888, #555); border: 0; }

.erb-liste{ margin-top: 8px; }

/* ---- Anahtar satırları ---- */
.erb-anahtar{
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 2px 0;
    padding: 9px 10px 9px 6px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.erb-anahtar:hover{ background: rgba(94,56,29,.06); }
.erb-anahtar:focus-visible{ outline: 3px solid var(--erb-vurgu); outline-offset: -1px; }
.erb-anahtar[aria-disabled="true"]{ cursor: default; }
.erb-anahtar[aria-disabled="true"]:hover{ background: transparent; }
.erb-ikon{
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--erb-krem);
    color: var(--erb-koyu);
    display: grid;
    place-items: center;
    transition: background-color .2s ease, color .2s ease;
}
.erb-ikon svg{ width: 22px; height: 22px; }
.erb-harf{
    font-family: "ErbOkunakli", Verdana, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}
.erb-metin{
    flex: 1;
    min-width: 0;
}
.erb-tus{
    flex: none;
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 13px;
    background: var(--erb-tus-kapali);
    transition: background-color .2s ease;
}
.erb-tus::after{
    content: "";
    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 .2s ease;
}
.erb-anahtar[aria-checked="true"] .erb-tus{ background: var(--erb-koyu); }
.erb-anahtar[aria-checked="true"] .erb-tus::after{ transform: translateX(18px); }
.erb-anahtar[aria-checked="true"] .erb-ikon{ background: var(--erb-koyu); color: #fff; }
.erb-anahtar[aria-disabled="true"] .erb-tus{ opacity: .55; }

/* ---- Dinle ---- */
.erb-oku{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 14px;
    background: var(--erb-koyu);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
}
.erb-oku:hover:not([aria-disabled="true"]){ background: #4a2b15; }
.erb-oku:focus-visible{ outline: 3px solid var(--erb-vurgu); outline-offset: 2px; }
.erb-oku[aria-disabled="true"]{ background: #b9a89b; cursor: not-allowed; }
.erb-oku svg{ width: 20px; height: 20px; }
.erb-not{
    margin: 8px 6px 0;
    font-size: .86em;
    color: var(--erb-soluk);
}

/* ---- Alt kısım ---- */
.erb-alt-kisim{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--erb-cizgi);
    background: var(--erb-alt-zemin);
}
.erb-sifirla{
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1.5px solid rgba(94,56,29,.3);
    border-radius: 999px;
    background: var(--erb-kart);
    color: var(--erb-koyu);
    font-family: 'Montserrat', sans-serif;
    font-size: .93em;
    font-weight: 600;
    cursor: pointer;
}
.erb-sifirla:hover{ background: var(--erb-krem); }
.erb-sifirla:focus-visible{ outline: 3px solid var(--erb-vurgu); outline-offset: 2px; }
.erb-sifirla svg{ width: 18px; height: 18px; }
.erb-gizlilik{
    margin: 0;
    font-size: .82em;
    color: var(--erb-soluk);
    text-align: right;
}
.erb-gizli{
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Panel: koyu kontrast seçiliyken panel de koyulaşsın ---- */
html.erb-k-koyu .erb-kok{
    --erb-zemin: #17120f;
    --erb-kart: #211a15;
    --erb-alt-zemin: #1c1612;
    --erb-krem: #2c231d;
    --erb-yazi: #f5efe9;
    --erb-soluk: #cdbfb3;
    --erb-etiket: #e0c3a6;
    --erb-cizgi: rgba(255,255,255,.14);
    --erb-segment: rgba(255,255,255,.07);
    --erb-tus-kapali: #7d6a5c;
}
html.erb-k-koyu .erb-ikon,
html.erb-k-koyu .erb-yuvarlak,
html.erb-k-koyu .erb-sifirla,
html.erb-k-koyu .erb-deger{ color: #f1dcc6; }
html.erb-k-koyu .erb-anahtar[aria-checked="true"] .erb-ikon,
html.erb-k-koyu .erb-anahtar[aria-checked="true"] .erb-tus,
html.erb-k-koyu .erb-secenekler input:checked + span,
html.erb-k-koyu .erb-adimlar i.erb-dolu{ background: #8a5f3d; color: #fff; }
html.erb-k-koyu .erb-adimlar i{ background: rgba(255,255,255,.16); }
html.erb-k-koyu .erb-yuvarlak,
html.erb-k-koyu .erb-sifirla{ border-color: rgba(255,255,255,.3); }

/* ---- Okuma maskesi ---- */
.erb-pencere{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(120px * var(--erb-o));
    border-top: 2px solid rgba(201,130,43,.85);
    border-bottom: 2px solid rgba(201,130,43,.85);
    box-shadow: 0 0 0 200vmax rgba(20,12,6,.58);
    pointer-events: none;
    z-index: 999;
    will-change: transform;
}

/* ---- Sesli okuma çubuğu ---- */
.erb-oynatici{
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 32px);
    padding: 7px 7px 7px 16px;
    border-radius: 999px;
    background: #2e2018;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    z-index: 1003;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.erb-oynatici-yazi{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 6px;
    white-space: nowrap;
}
.erb-oynatici-yazi svg{ width: 18px; height: 18px; flex: none; }
.erb-sayac{
    font-weight: 500;
    opacity: .8;
}
.erb-oynatici button{
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.erb-oynatici button:hover{ background: rgba(255,255,255,.28); }
.erb-oynatici button:focus-visible{ outline: 3px solid #ffd27a; outline-offset: 2px; }
.erb-oynatici button svg{ width: 18px; height: 18px; }

/* ---- Telefon: WhatsApp 54px / sağ 16px; panel alttan açılan sayfa ---- */
@media screen and (max-width: 600px){
    .erb-dugme{
        right: 21px;
        bottom: 80px;
        width: 44px;
        height: 44px;
    }
    .erb-dugme svg{ width: 28px; height: 28px; }
    .erb-kok.erb-alt .erb-dugme{ bottom: 21px; }
    .erb-kok.erb-bantli .erb-dugme{ bottom: calc(var(--erb-bant, 0px) + 14px); }

    .erb-perde{
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(30,18,10,.35);
        z-index: 1003;
    }
    .erb-panel{
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        max-height: 88vh;
        max-height: 88dvh;
        border-radius: 22px 22px 0 0;
        border-bottom: 0;
        transform-origin: 50% 100%;
        animation-name: erbYukari;
    }
    .erb-ust{ padding-top: 22px; }
    .erb-ust::before{
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 40px;
        height: 4px;
        margin-left: -20px;
        border-radius: 2px;
        background: rgba(255,255,255,.45);
    }
    .erb-alt-kisim{ padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .erb-oynatici{
        left: 16px;
        right: 84px;
        bottom: 16px;
        transform: none;
        max-width: none;
        justify-content: space-between;
    }
}
@keyframes erbYukari{
    from{ opacity: 0; transform: translateY(40px); }
}
