/* ============================================================================
   VİTRİN — HADİS OKUMA ALANI · "Salihlerin bahçeleri" (27 Kas 2026, panel arge C112)
   Kullanıcı: "arayüz tasarımı için hiçbir ilkemize bağlı kalmak zorunda değilsin. Yeteneklerini görmek istiyorum."
   Dil: gece zümrüdü ön yüz + kayan altın yıldız örgüsü · bab = bahçe parseli (numarasından üretilen gül, öğrendikçe dolan halka) ·
   kâğıt hissinde okuma (Türkçe: Source Serif 4, Arapça: Elif1) · gündüz/gece teması (html[data-hd-tema]) · dönen kartlı öğrenme ·
   telefonda öğrenci panelinin alt çubuğu deseni. Önekler: hd- (sayfa; hd-kap = sayfa kabı, hd-ic = simge), od- (öğrenme kartı),
   hb- (alt bant ve pencereler). Şablon sablon/hadis.php · davranış assets/hadis.js.
   ========================================================================== */
@font-face { font-family: "Elif1"; src: url("/medya/font/elif1/elif1.ttf?v=1.002") format("truetype"); font-display: swap; size-adjust: 175%; }
@font-face { font-family: "HdSimge"; font-weight: 400; font-display: block; src: url("/medya/font/material-symbols/material-symbols-rounded.woff2") format("woff2"); }
@font-face { font-family: "HdSimgeDolu"; font-weight: 400; font-display: block; src: url("/medya/font/material-symbols/material-symbols-rounded-dolu.woff2") format("woff2"); }
@font-face { font-family: "HdSerif"; font-weight: 400; font-display: swap; src: url("/medya/font/source-serif-4/source-serif-4-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "HdSerif"; font-weight: 400; font-display: swap; src: url("/medya/font/source-serif-4/source-serif-4-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; }

/* ── Tema ── */
html { --hd-olcek: 1;
  --z: #F6F2E9; --z2: #EFE8D9; --kart: #FFFDF8; --kart-kenar: rgba(80, 60, 20, .09); --yazi: #1E2A2B; --yazi-2: #4A5856; --yazi-3: #7D8784;
  --zumrut: #0F5C4D; --zumrut-acik: #1F9C80; --altin: #B8892E; --altin-2: #D9B56A; --altin-z: rgba(184, 137, 46, .12);
  --ar: #123D35; --ar-soluk: #8A938F; --golge: 0 1px 2px rgba(40, 30, 10, .05), 0 18px 40px -26px rgba(40, 30, 10, .35);
  --kahraman: radial-gradient(1200px 520px at 15% -10%, #1A6B5A 0%, transparent 60%), radial-gradient(900px 500px at 100% 120%, #3B2E12 0%, transparent 60%), linear-gradient(160deg, #0B3B32 0%, #072620 60%, #06201B 100%);
  --cam: rgba(255, 255, 255, .1); --cam-kenar: rgba(255, 255, 255, .18); }
html[data-hd-tema="gece"] {
  --z: #0D1716; --z2: #122120; --kart: #15211F; --kart-kenar: rgba(217, 181, 106, .12); --yazi: #ECE6D6; --yazi-2: #BDB6A4; --yazi-3: #8B877B;
  --zumrut: #5FC3A6; --zumrut-acik: #8BE0C6; --altin: #D9B56A; --altin-2: #F0D49A; --altin-z: rgba(217, 181, 106, .12);
  --ar: #F3E7C3; --ar-soluk: #8F8A7A; --golge: 0 1px 0 rgba(255, 255, 255, .03), 0 24px 50px -30px rgba(0, 0, 0, .8);
  --kahraman: radial-gradient(1200px 520px at 15% -10%, #134A40 0%, transparent 60%), radial-gradient(900px 500px at 100% 120%, #2E2510 0%, transparent 60%), linear-gradient(160deg, #06201B 0%, #041512 70%); }
body.hd-govde { background: var(--z); transition: background .4s ease; }
html[data-hd-tema="gece"] body.hd-govde .km-alt { background: #0B1312; border-color: rgba(255,255,255,.06); color: #8B877B; }
html[data-hd-tema="gece"] body.hd-govde .km-alt a { color: #8B877B; }
/* Sütun başlıkları gündüzün koyu altınında (#8E6A28) kalıyordu: gece zemininde 3,8:1. Gece altınıyla 9,65:1 (1 Ara 2026, arge C121). */
html[data-hd-tema="gece"] body.hd-govde .km-alt-sutun span { color: var(--altin); }

.hd { font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 300; color: var(--yazi); line-height: 1.6; padding-bottom: 60px; }
.hd *, .od *, .hb-pencere * { box-sizing: border-box; }
.hd button { font: inherit; color: inherit; }
.hd a { color: inherit; }
.hd-kap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hd-ust { margin: 0 0 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--altin); }
.hd-ic { font-family: "HdSimge"; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; flex: none; }
.hd .ar, .od .ar, .hb-pencere .ar { font-family: "Elif1", serif; direction: rtl; color: var(--ar); font-weight: 400; }

/* ── Okuma ilerleme çizgisi ── */
.hd-okuma-cizgi { position: fixed; top: var(--km-ust-boy, 64px); left: 0; right: 0; height: 3px; z-index: 99998; pointer-events: none; }
.hd-okuma-cizgi i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #F0D49A, #B8892E); box-shadow: 0 0 12px rgba(217,181,106,.6); }

/* ── Ön yüz ── */
.hd-kahraman { position: relative; overflow: hidden; color: #EFE7D2; background: var(--kahraman); padding: 64px 0 124px; isolation: isolate; }
.hd > .hd-kahraman:first-child, .hd > .hd-okuma-cizgi + .hd-kahraman { margin-top: calc(-1 * var(--km-ust-ara, 28px)); }   /* üst bandın altındaki nefes payı ön yüzde yok: koyu zemin banda yapışır */
.hd-desen { position: absolute; top: -96px; left: -96px; width: calc(100% + 192px); height: calc(100% + 192px); color: #D9B56A; opacity: .09; z-index: -1; animation: hd-kay 60s linear infinite; }
@keyframes hd-kay { to { transform: translate(96px, 96px); } }
.hd-isik { position: absolute; z-index: -1; width: 620px; height: 620px; left: 50%; top: -260px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(217,181,106,.22), transparent 62%); animation: hd-nefes 9s ease-in-out infinite; }
@keyframes hd-nefes { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.hd-kahraman .hd-kap { position: relative; text-align: center; }
.hd-tema { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cam-kenar); background: var(--cam); color: #F0E3BE; cursor: pointer; display: inline-grid; place-items: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s ease, background .3s; }
.hd-tema:hover { background: rgba(255,255,255,.18); transform: rotate(-12deg); }
.hd-kahraman > .hd-kap > .hd-tema { position: absolute; right: 20px; top: -40px; }
.hd-hat { margin: 0; font-family: "Elif1", serif; font-size: clamp(44px, 8vw, 78px); line-height: 1.5; background: linear-gradient(180deg, #F8E8BE 10%, #D9B56A 55%, #A87A2A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 22px rgba(0,0,0,.35)); }
.hd-kahraman h1 { margin: -6px 0 0; font-size: clamp(26px, 4.4vw, 40px); font-weight: 500; letter-spacing: .01em; color: #F6EFDB; }
.hd-alt { margin: 10px auto 26px; max-width: 600px; font-size: 16.5px; color: rgba(239,231,210,.8); }
.hd-ara { position: relative; max-width: 640px; margin: 0 auto; }
.hd-ara > .hd-ic { position: absolute; z-index: 1; left: 20px; top: 50%; transform: translateY(-50%); color: rgba(239,231,210,.75); pointer-events: none; }
.hd-ara input { width: 100%; height: 58px; border-radius: 999px; border: 1px solid var(--cam-kenar); background: rgba(255,255,255,.1); color: #FFF8E6; padding: 0 56px 0 54px;
  font: inherit; font-size: 16px; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); -webkit-appearance: none; outline: none; transition: background .25s, border-color .25s, box-shadow .25s; }
.hd-ara input::placeholder { color: rgba(239,231,210,.6); }
.hd-ara input:focus { background: rgba(255,255,255,.16); border-color: rgba(217,181,106,.7); box-shadow: 0 0 0 5px rgba(217,181,106,.15); }
.hd-ara kbd { z-index: 1; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 12px "Lexend", sans-serif; padding: 2px 8px; border-radius: 7px; border: 1px solid var(--cam-kenar); color: rgba(239,231,210,.7); }
.hd-ara-sonuc { position: relative; z-index: 3; max-width: 640px; margin: 10px auto 0; text-align: left; background: var(--kart); color: var(--yazi); border-radius: 22px; padding: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); max-height: 50vh; overflow: auto; }
.hd-eylem { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hd-dugme { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 15px;
  white-space: nowrap; text-decoration: none; border: 0; transition: transform .2s ease, box-shadow .2s, filter .2s; }
.hd-dugme:hover { transform: translateY(-1px); }
.hd-dugme:active { transform: translateY(1px) scale(.98); }
.hd-altin { background: linear-gradient(135deg, #F6E1A8 0%, #D9B56A 45%, #B8892E 100%); color: #2C1F05 !important; box-shadow: 0 14px 30px -14px rgba(217,181,106,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.hd-cam { background: rgba(255,255,255,.1); color: #F6EFDB !important; border: 1px solid var(--cam-kenar); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd-dugme-kucuk { height: 42px; padding: 0 18px; font-size: 14px; margin-top: 14px; }
.hd-sayac { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 30px 0 0; padding: 0; flex-wrap: wrap; }
.hd-sayac li { min-width: 108px; padding: 10px 14px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.hd-sayac b { display: block; font-size: 22px; font-weight: 500; color: #F2DDA4; font-variant-numeric: tabular-nums; }
.hd-sayac span { font-size: 12px; color: rgba(239,231,210,.65); }
.hd-kahraman-kisa { padding: 80px 0 90px; }
/* Ana giriş (28 Kas 2026, kullanıcı: "mescidinebi.png … giriş görseli olarak onu kullanıp arkaplanı aydınlık temada nurlandır, koyu temada da altın
   nurlar olsun"): Yeşil Kubbe saydam görsel (medya/gorsel/hadis/mescid-i-nebevi-*.webp, kullanıcının verdiği mescidinebi.png'den), altta ortada.
   Zemin CSS: aydınlıkta fildişi-krem nur, koyuda derin zümrüt üstünde altın hâle; kubbenin tepesinden yavaş dönen ışık huzmeleri (.hd-isik).
   Yazının arkasında yumuşak bir hâle okunurluğu taşır; alt kenar sayfa zeminine (--z) erir, Günün hadisi kartı üstüne biner. */
.hd-kahraman-kubbe { --kubbe-gorsel: url(/medya/gorsel/hadis/mescid-i-nebevi-2000.webp); --nur-hale: 255, 255, 255; --nur-isin: 236, 206, 130;
  --nur-y: 50%; --hale-y: 62%;   /* nurun merkezi: kubbenin arka ortası (telefonda aşağıda yeniden hesaplanır) */
  color: var(--yazi);
  background:
    radial-gradient(ellipse 40% 26% at 50% 20%, rgba(var(--nur-hale), .92), rgba(var(--nur-hale), .5) 55%, transparent 85%),
    linear-gradient(180deg, transparent 86%, var(--z) 100%),
    var(--kubbe-gorsel) 50% calc(100% - 40px) / auto 70% no-repeat,
    radial-gradient(ellipse 34% 34% at 50% var(--hale-y), rgba(255, 255, 255, 1), rgba(255, 252, 240, .7) 45%, transparent 75%),
    radial-gradient(ellipse 85% 75% at 50% 42%, #FFFFFF 0%, #FFFEFA 40%, #FCF8EE 72%, #F6EEDB 100%); }   /* beyaza yakın nur (kullanıcı: "beyaza yakın aydınlatmayı dene") */
.hd-kahraman.hd-kahraman-kubbe { padding-bottom: 120px; }   /* kubbeye yer; genel telefon kuralından (.hd-kahraman) güçlü */
/* sayaçlar küçük, kubbenin alt kenarında (kullanıcı: "masaüstünde de kubbe kapanıyor"): üstteki 180 px alttan alındı, kubbe yerinde */
/* arama + karıştır (28 Kas 2026): karıştır aramanın devamında, aynı yükseklikte tam daire */
.hd-ara-sira { display: flex; align-items: center; gap: 10px; max-width: 710px; margin: 0 auto; }
.hd-ara-sira .hd-ara { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; }
.hd-ara-karistir { flex: none; width: 58px; height: 58px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #F6EFDB;
  background: rgba(255,255,255,.1); border: 1px solid var(--cam-kenar); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  transition: background .25s, transform .3s cubic-bezier(.3,1.3,.5,1), border-color .25s; }
.hd-ara-karistir > .hd-ic { font-size: 25px; }
.hd-ara-kart { flex: none; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #2C1F05;
  background: linear-gradient(135deg, #F6E1A8 0%, #D9B56A 45%, #B8892E 100%); box-shadow: 0 14px 30px -14px rgba(217,181,106,.9), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.hd-ara-kart > .hd-ic { font-size: 25px; }
.hd-ara-kart:hover { transform: rotate(-8deg) translateY(-1px); }
.hd-ara-kart:active { transform: scale(.92); }
.hd-ara-sira { max-width: 780px; }
@media (max-width: 768px) { .hd-ara-kart { display: none; } .hd-ara-sira { max-width: 710px; } }   /* telefonda alt bantta "Öğren" var */
.hd-ara-karistir:hover { background: rgba(255,255,255,.18); border-color: rgba(217,181,106,.7); transform: rotate(-14deg); }
.hd-ara-karistir:active { transform: scale(.92); }
html:not([data-hd-tema="gece"]) .hd-ara-karistir { background: rgba(255,255,255,.78); color: #8E6A28; border-color: rgba(184,137,46,.35); box-shadow: 0 14px 34px -22px rgba(120,90,20,.55); }
html:not([data-hd-tema="gece"]) .hd-ara-karistir:hover { background: #fff; }
.hd-kahraman-kubbe .hd-sayac { margin-top: 286px; gap: 8px; }   /* düğme satırı (74 px) kalktı: kubbe ve sayaçlar yerinde kalsın */
.hd-kahraman-kubbe .hd-sayac li { min-width: 92px; padding: 6px 12px 7px; border-radius: 14px; }
.hd-kahraman-kubbe .hd-sayac b { font-size: 17px; line-height: 1.2; }
.hd-kahraman-kubbe .hd-sayac span { font-size: 11px; }
.hd-kahraman-kubbe .hd-desen { display: none; }
/* Tezhip yerine ﷺ (28 Kas 2026, kullanıcı: "arkadaki tezhip yerine sallallahu aleyhi vesellem karakteri var. onu dene"). Karo medya/gorsel/hadis/salavat-karo.webp:
   Scheherazade New'in U+FDFA çizimi ("صلى الله عليه وسلم" açıkça okunur; yazı tipi dosyası 331 KB, karo 3,8 KB), 192 px'lik karoda çapraz iki işaret —
   hd-kay'ın 96 px kayışında kesintisiz döner. Renk maskeyle: aydınlıkta yaldız, koyuda altın. */
.hd-kahraman-kubbe::before { content: ""; position: absolute; z-index: -1; top: -192px; left: -192px; width: calc(100% + 384px); height: calc(100% + 384px); pointer-events: none;
  background-color: #B8892E; opacity: .085;
  -webkit-mask: url(/medya/gorsel/hadis/salavat-karo.webp) 0 0 / 192px 192px repeat; mask: url(/medya/gorsel/hadis/salavat-karo.webp) 0 0 / 192px 192px repeat;
  animation: hd-kay 60s linear infinite; }
html[data-hd-tema="gece"] .hd-kahraman-kubbe::before { background-color: #D9B56A; opacity: .07; }
.hd-kahraman-kubbe .hd-isik { display: block; inset: 0; width: auto; height: auto; border-radius: 0; transform: none; transform-origin: 50% var(--nur-y); scale: 1.7;
  background: repeating-conic-gradient(from 0deg at 50% var(--nur-y), rgba(var(--nur-isin), 0) 0deg 7deg, rgba(var(--nur-isin), .24) 9deg, rgba(var(--nur-isin), 0) 11deg 18deg);
  -webkit-mask-image: radial-gradient(circle closest-side at 50% var(--nur-y), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%); mask-image: radial-gradient(circle closest-side at 50% var(--nur-y), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  animation: hd-nur-don 160s linear infinite; }
@keyframes hd-nur-don { to { rotate: 360deg; } }
/* aydınlık tema: yazılar koyu, yüzeyler açık cam */
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe h1 { color: #0F3F35; text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 0 26px rgba(255, 250, 230, .9); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-alt { color: #3E5551; text-shadow: 0 0 18px rgba(255, 250, 230, .95); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-hat { background: linear-gradient(180deg, #D9B56A 5%, #B8892E 50%, #84601F 100%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.8)) drop-shadow(0 0 18px rgba(255, 236, 180, .9)); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-ara > .hd-ic { color: #8E6A28; }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-ara input { background: rgba(255, 255, 255, .78); border-color: rgba(184, 137, 46, .35); color: var(--yazi); box-shadow: 0 14px 34px -22px rgba(120, 90, 20, .55); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-ara input::placeholder { color: #8A8F86; }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-ara input:focus { background: #fff; border-color: rgba(184, 137, 46, .7); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-ara kbd { color: #8E6A28; border-color: rgba(184, 137, 46, .35); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-cam { background: rgba(255, 255, 255, .7); color: #0F3F35 !important; border-color: rgba(184, 137, 46, .3); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-sayac li { background: rgba(255, 255, 255, .62); border-color: rgba(184, 137, 46, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-sayac b { color: #8E6A28; }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-sayac span { color: #5F716D; }
html:not([data-hd-tema="gece"]) .hd-kahraman-kubbe .hd-tema { background: rgba(255, 255, 255, .7); color: #8E6A28; border-color: rgba(184, 137, 46, .3); }
/* koyu tema: derin zümrüt, altın nur */
html[data-hd-tema="gece"] .hd-kahraman-kubbe { --nur-hale: 4, 22, 18; --nur-isin: 217, 181, 106; color: #EFE7D2;
  background:
    radial-gradient(ellipse 40% 26% at 50% 20%, rgba(var(--nur-hale), .85), rgba(var(--nur-hale), .45) 55%, transparent 85%),
    linear-gradient(180deg, transparent 86%, var(--z) 100%),
    var(--kubbe-gorsel) 50% calc(100% - 40px) / auto 70% no-repeat,
    radial-gradient(ellipse 36% 36% at 50% var(--hale-y), rgba(240, 200, 110, .45), transparent 72%),
    radial-gradient(ellipse 85% 75% at 50% 45%, #0F3A31 0%, #082A23 45%, #051C17 75%, #03130F 100%); }
html[data-hd-tema="gece"] .hd-kahraman-kubbe .hd-isik { background: repeating-conic-gradient(from 0deg at 50% var(--nur-y), rgba(var(--nur-isin), 0) 0deg 7deg, rgba(var(--nur-isin), .22) 9deg, rgba(var(--nur-isin), 0) 11deg 18deg); }
html[data-hd-tema="gece"] .hd-kahraman-kubbe .hd-sayac li { background: rgba(4, 22, 18, .58); border-color: rgba(217, 181, 106, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[data-hd-tema="gece"] .hd-kahraman-kubbe h1, html[data-hd-tema="gece"] .hd-kahraman-kubbe .hd-alt { text-shadow: 0 2px 18px rgba(3, 14, 11, .8); }
html[data-hd-tema="gece"] .hd-kahraman-kubbe .hd-hat { filter: drop-shadow(0 2px 6px rgba(3, 14, 11, .85)) drop-shadow(0 0 26px rgba(217, 181, 106, .35)); }
@media (max-width: 900px) { .hd-kahraman-kubbe .hd-sayac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 560px; margin-left: auto; margin-right: auto; } .hd-kahraman-kubbe .hd-sayac li { min-width: 0; } }   /* tablette de tek sıra: kubbeyi kapatmasın */
@media (max-width: 600px) {
  .hd-kahraman-kubbe { --kubbe-gorsel: url(/medya/gorsel/hadis/mescid-i-nebevi-1000.webp); background-size: auto, auto, 160% auto, auto, auto; }
  .hd-kahraman.hd-kahraman-kubbe { padding-bottom: 96px; }   /* sayaçlar aşağıda (kullanıcı çizimi): kubbe aynı yerde kalsın diye alt boşluk azaldı; Günün hadisi kartı 84 px bindiği için daha azı olmaz */
  .hd-kahraman-kubbe { --nur-y: calc(100% - 40px - 52vw); --hale-y: calc(100% - 40px - 52vw); }   /* kubbe görseli genişliğin %160'ı, alttan 40 px: kubbenin arkası, üst yarısı (kullanıcı: "biraz daha yukarıda") */
  html[data-hd-tema="gece"] .hd-kahraman-kubbe { background-size: auto, auto, 160% auto, auto, auto; }
  .hd-kahraman-kubbe .hd-sayac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 256px; }   /* tek sıra, kubbenin alt gövdesinde: tepesi düğmelerle sayaçlar arasında açık kalır */
  .hd-kahraman-kubbe .hd-sayac li { min-width: 0; padding: 5px 2px 6px; border-radius: 12px; }   /* küçük kartlar: kubbenin pencereleri görünsün */
  .hd-kahraman-kubbe .hd-sayac b { font-size: 15px; line-height: 1.15; }
  .hd-kahraman-kubbe .hd-sayac span { font-size: 9.5px; line-height: 1.15; display: block; }
}
.hd-bos-sayfa h1 { margin: 6px 0 12px; font-size: 30px; }
.hd-bos-sayfa p { max-width: 540px; margin: 0 auto 24px; color: rgba(239,231,210,.8); }

/* ── Günün hadisi (ön yüzün üstüne biner) ── */
.hd-ana { position: relative; }
.hd-gunun { margin-top: -84px; position: relative; z-index: 2; }
.hd-hadis.hd-hadis-gun { border: 1px solid rgba(217,181,106,.35); box-shadow: 0 40px 80px -40px rgba(10,40,30,.55), 0 0 0 6px var(--altin-z); }
.hd-hadis-gun::before { content: ""; position: absolute; inset: 10px; border-radius: 22px; border: 1px solid var(--altin-z); pointer-events: none; }
.hd-hadis-gun .hd-hadis-kim b { color: var(--altin); letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; font-weight: 500; }

/* ── Pano ── */
.hd-pano { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 26px 0 44px; }
.hd-pano-kart { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--kart); border: 1px solid var(--kart-kenar); box-shadow: var(--golge);
  font-size: 14px; color: var(--yazi-2); text-decoration: none; min-width: 0; }
.hd-pano-kart[hidden] { display: none; }
.hd-pano-kart b { color: var(--yazi); font-weight: 500; font-size: 15px; display: block; }
.hd-pano-kart small { display: block; font-size: 12.5px; color: var(--yazi-3); margin-top: 2px; }
.hd-pano-kart > div { flex: 1; min-width: 0; }
.hd-pano-kart svg { width: 48px; height: 48px; transform: rotate(-90deg); flex: none; }
.hd-pano-kart circle { fill: none; stroke-width: 5; }
.hd-pano-kart .iz { stroke: var(--altin-z); }
.hd-pano-kart .yay { stroke: var(--altin); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .8s cubic-bezier(.3,1.2,.5,1); }
.hd-ilerleme .yay { stroke: var(--zumrut-acik); }
@media (min-width: 901px) { .hd-pano { grid-template-columns: repeat(3, minmax(0, 1fr)); } a.hd-pano-kart.hd-devam { grid-column: 1 / -1; } }   /* devam üstte tam satır; altında hedef · öğrendikleriniz · ezberiniz */
button.hd-pano-kart.hd-ezberim { font: inherit; text-align: left; cursor: pointer; color: inherit; }
.hd-ezberim-ik { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6E1A8, #D9B56A 55%, #B8892E); color: #2C1F05; box-shadow: 0 8px 18px -10px rgba(184, 137, 46, .9); }
.hd-ezberim-ik > .hd-ic { font-size: 26px; }
.hd-ezberim > .hd-ic { color: var(--altin); }
/* ortak Devam kartı (30 Kas 2026; medya/kod/devam/1/): panonun üstünde tam genişlik */
.hd-devam-kart { margin: 26px 0 0; }   /* üstte ve altta panonun aralığı kadar pay (alttaki: .hd-pano margin-top) */
a.hd-pano-kart.hd-devam { background: linear-gradient(130deg, #0F5C4D, #08352D); border: 0; color: #DDEFE8; }
a.hd-devam b { color: #F3E3B6; } a.hd-devam small { color: rgba(221,239,232,.7); } a.hd-devam > .hd-ic { font-size: 34px; color: #E9D29C; }
.hd-ikon-d { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--yazi-3); display: grid; place-items: center; transition: background .2s, color .2s; }
.hd-ikon-d:hover { background: var(--altin-z); color: var(--altin); }

/* ── Bahçe: bablar ── */
.hd-bolum-bas { margin: 0 0 18px; }
.hd-bolum-bas h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 500; color: var(--yazi); }
.hd-bolum-bas p { margin: 4px 0 0; color: var(--yazi-3); font-size: 14.5px; }
.hd-kitap-bas { display: flex; align-items: center; gap: 14px; margin: 26px 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--zumrut); }
.hd-kitap-bas::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--altin-2), transparent); opacity: .5; }
.hd-parseller { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hd-parseller > li { display: flex; } .hd-parseller .hd-parsel { flex: 1; }
.hd-parsel { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--kart); border: 1px solid var(--kart-kenar);
  text-decoration: none; box-shadow: var(--golge); overflow: hidden; transition: transform .25s cubic-bezier(.3,1.3,.5,1), box-shadow .25s, border-color .25s; }
.hd-parsel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(217,181,106,.25), transparent 70%); opacity: 0; transition: opacity .3s; }
.hd-parsel:hover { transform: translateY(-3px); border-color: rgba(217,181,106,.4); box-shadow: 0 26px 50px -30px rgba(40,30,10,.5); }
.hd-parsel:hover::after { opacity: 1; }
.hd-parsel:hover .hd-gul .g-yaprak { transform: rotate(18deg); }
.hd-parsel-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hd-parsel-yazi small { font-size: 12px; color: var(--yazi-3); }
.hd-parsel-yazi b { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--yazi); }
.hd-parsel-ok { color: var(--altin); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.hd-parsel:hover .hd-parsel-ok { opacity: 1; transform: none; }
.hd-gul { flex: none; overflow: visible; }
.hd-gul .g-iz { fill: none; stroke: var(--altin-z); stroke-width: 2.5; }
.hd-gul .g-yay { fill: none; stroke: var(--altin); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 32px 32px; transition: stroke-dashoffset 1s cubic-bezier(.3,1.2,.5,1); }
.hd-gul .g-yaprak { fill: rgba(15, 92, 77, .14); stroke: var(--zumrut); stroke-width: .8; transform-origin: 32px 32px; transition: transform .8s cubic-bezier(.3,1.2,.5,1); }
.hd-gul .g-ic { fill: rgba(184, 137, 46, .22); stroke: var(--altin); stroke-width: .6; }
.hd-gul .g-orta { fill: var(--kart); stroke: var(--altin); stroke-width: 1; }
.hd-gul .g-nokta { fill: var(--altin); }
html[data-hd-tema="gece"] .hd-gul .g-yaprak { fill: rgba(95, 195, 166, .12); }
.hd-gul.dolu .g-yaprak { fill: rgba(184, 137, 46, .32); stroke: var(--altin); }
.hd-yakinda { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 16px 18px; border-radius: 20px; background: var(--z2); color: var(--yazi-2); font-size: 14px; }
.hd-yakinda > .hd-ic { color: var(--altin); font-size: 24px; }
.hd-yakinda b { color: var(--yazi); font-weight: 500; }

/* ── Kitaplık, bab bulucu, kitap sayfası (28 Kas 2026: 372 bab tek listede çok uzundu → önce kitap seçilir) ── */
.hd-bulucu { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 20px; }
.hd-bulucu-alan { position: relative; flex: 1 1 320px; max-width: 520px; }
.hd-bulucu-alan > .hd-ic { position: absolute; z-index: 1; left: 17px; top: 50%; transform: translateY(-50%); color: var(--yazi-3); pointer-events: none; }
.hd-bulucu-alan input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--kart-kenar); background: var(--kart); color: var(--yazi); padding: 0 18px 0 48px;
  font: inherit; font-size: 15px; box-shadow: var(--golge); outline: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s; }
.hd-bulucu-alan input::placeholder { color: var(--yazi-3); }
.hd-bulucu-alan input:focus { border-color: var(--altin-2); box-shadow: 0 0 0 4px var(--altin-z); }
.hd-cipler { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-cip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 11px; border-radius: 999px; border: 1px solid var(--kart-kenar); background: transparent;
  color: var(--yazi-2); font: inherit; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hd-cip > .hd-ic { font-size: 18px; color: var(--altin); }
.hd-cip:hover { border-color: var(--altin-2); color: var(--yazi); }
.hd-cip[aria-pressed="true"] { background: var(--zumrut); border-color: var(--zumrut); color: #FFF8E6; }
.hd-cip[aria-pressed="true"] > .hd-ic { color: #F2DDA4; }
html[data-hd-tema="gece"] .hd-cip[aria-pressed="true"], html[data-hd-tema="gece"] .hd-cip[aria-pressed="true"] > .hd-ic { color: #08221C; }
.hd-bul-sonuc[hidden], [data-bul-gizle][hidden] { display: none; }
.hd-bul-bas { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: var(--yazi-3); }
.hd-bul-temizle { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--altin-z); color: var(--yazi); font: inherit; font-size: 13px; cursor: pointer; }
.hd-bul-temizle > .hd-ic { font-size: 16px; }
.hd-bul-hadis { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 16px; border-radius: 20px; background: var(--z2); color: var(--yazi); text-decoration: none; }
.hd-bul-hadis > span:not(.hd-ic) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hd-bul-hadis b { font-weight: 500; } .hd-bul-hadis small { font-size: 12.5px; color: var(--yazi-3); }
.hd-bul-hadis > .hd-ic { color: var(--altin); }
.hd-kitap-bas a { color: inherit; text-decoration: none; } .hd-kitap-bas a:hover { color: var(--altin); }
.hd-bul-sonuc > .hd-kitap-bas:first-of-type { margin-top: 10px; }

.hd-kitaplik { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.hd-kitaplik > li { display: flex; }
.hd-kitap { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 14px; border-radius: 24px; background: var(--kart);
  border: 1px solid var(--kart-kenar); box-shadow: var(--golge); text-decoration: none; color: var(--yazi); overflow: hidden;
  transition: transform .25s cubic-bezier(.3,1.3,.5,1), box-shadow .25s, border-color .25s; }
.hd-kitap::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--altin-2), transparent); opacity: 0; transition: opacity .3s; }
.hd-kitap::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(217,181,106,.22), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hd-kitap:hover { transform: translateY(-3px); border-color: rgba(217,181,106,.4); box-shadow: 0 26px 50px -30px rgba(40,30,10,.5); }
.hd-kitap:hover::before, .hd-kitap:hover::after { opacity: 1; }
.hd-kitap:hover .hd-gul .g-yaprak { transform: rotate(18deg); }
.hd-kitap-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hd-kitap-ust small { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--zumrut); }
.hd-kitap > b { font-size: 16.5px; font-weight: 500; line-height: 1.32; }
.hd .hd-kitap-ar { display: block; font-size: 17px; line-height: 1.9; color: var(--ar-soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.hd-kitap-say { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 12.5px; color: var(--yazi-3); border-top: 1px dashed var(--kart-kenar); }
.hd-kitap-say i { font-style: normal; font-weight: 500; color: var(--altin); }
.hd-kitap-say i.tamam { color: var(--zumrut); }

.hd-kitap-sayfa { padding-top: 30px; }
/* Sıkı bab listesi (kitap sayfası ve bulucu sonuçları): masaüstünde iki sütun, telefonda tek; katlanır bölüm yok, tek akış */
.hd-parseller.hd-sik { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.hd-sik .hd-parsel { gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; box-shadow: 0 1px 2px rgba(40, 30, 10, .04); }
.hd-sik .hd-parsel:hover { transform: translateY(-2px); }
.hd-sik .hd-gul { width: 44px; height: 44px; }
.hd-sik .hd-parsel-yazi { gap: 1px; }
.hd-sik .hd-parsel-yazi small { font-size: 11.5px; }
.hd-sik .hd-parsel-yazi b { font-size: 14.5px; }

/* ── Yapışkan şerit: Kitap · Bab · Hadis (28 Kas 2026) ── */
.hd-serit { position: fixed; z-index: 1002; left: 0; right: 0; top: var(--km-ust-boy, 72px); font-family: "Lexend", system-ui, sans-serif; color: var(--yazi);
  transform: translateY(-115%); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.2, .9, .25, 1.08), opacity .35s ease; }
.hd-serit.gorunur { transform: none; opacity: 1; pointer-events: auto; }
.hd-serit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 253, 248, .86); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(184, 137, 46, .22), 0 14px 30px -22px rgba(10, 40, 30, .45); }
html[data-hd-tema="gece"] .hd-serit::before { background: rgba(17, 28, 26, .88); box-shadow: 0 1px 0 rgba(217, 181, 106, .18), 0 14px 30px -20px rgba(0, 0, 0, .8); }
.hd-serit-ic { max-width: 1100px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 4px; }
.hd-serit-ev { flex: none; width: 40px; height: 40px; margin-right: 6px; border-radius: 50%; display: grid; place-items: center; color: var(--altin); background: var(--altin-z); text-decoration: none; transition: transform .25s; }
.hd-serit-ev:hover { transform: rotate(-12deg) scale(1.06); }
.hd-serit-sec { position: relative; min-width: 0; height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; padding: 0 30px 0 14px;
  border: 0; border-radius: 14px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.hd-serit-sec + .hd-serit-sec::before { content: ""; position: absolute; left: -2px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, transparent, rgba(184, 137, 46, .45), transparent); }
.hd-serit-sec:hover, .hd-serit-sec[aria-expanded="true"] { background: var(--altin-z); }
.hd-serit-sec small { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--zumrut); line-height: 1; }
.hd-serit-sec b { max-width: 100%; font-size: 14.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-serit-sec .s-ad { color: var(--yazi-2); font-weight: 400; }
.hd-serit-sec > .hd-ic { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--altin); transition: transform .3s; }
.hd-serit-sec[aria-expanded="true"] > .hd-ic { transform: translateY(-50%) rotate(180deg); }
.hd-serit-sec.s-kitap { flex: 0 1 auto; max-width: 300px; }
.hd-serit-sec.s-bab { flex: 1 1 auto; }
.hd-serit-sec.s-hadis { flex: none; }
.hd-serit-liste { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(1060px, calc(100% - 24px)); max-height: calc(100dvh - var(--km-ust-boy, 72px) - 90px);
  overflow-y: auto; overscroll-behavior: contain; padding: 14px; border-radius: 26px; background: var(--kart); border: 1px solid var(--kart-kenar);
  box-shadow: 0 40px 80px -30px rgba(10, 30, 25, .55); animation: sl-in .3s cubic-bezier(.2, .9, .3, 1.15); }
.hd-serit-liste[hidden] { display: none; }
@keyframes sl-in { from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.985); } }
.hd-sl-bas { margin: 4px 6px 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--altin); }
.hd-sl-bas:not(:first-child) { margin-top: 18px; }
.hd-sl-bas.hd-sl-bab { font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--yazi-2); line-height: 1.45; }
.hd-sl-bab b { font-weight: 500; color: var(--zumrut); }
.hd-sl-ara-bas { grid-column: 1 / -1; margin: 12px 6px 2px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--zumrut); }
.hd-sl-ara-bas:first-child { margin-top: 0; }
.hd-sl-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
.hd-sl-satir { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 7px 10px; border: 0; border-radius: 16px; background: transparent; color: var(--yazi);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s; }
.hd-sl-satir:hover { background: var(--altin-z); }
.hd-sl-satir.secili { background: rgba(15, 92, 77, .1); box-shadow: inset 3px 0 0 var(--zumrut); }
html[data-hd-tema="gece"] .hd-sl-satir.secili { background: rgba(95, 195, 166, .12); }
.hd-sl-no { flex: none; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 18px; display: grid; place-items: center; font-size: 13px; font-weight: 500; color: var(--zumrut); background: var(--z2); font-variant-numeric: tabular-nums; }
.hd-sl-no > .hd-ic { font-size: 18px; }
.hd-sl-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hd-sl-yazi b { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-sl-yazi small { font-size: 12px; color: var(--yazi-3); }
.hd-sl-satir > .hd-ic { flex: none; color: var(--altin); }
.hd-sl-ust { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.hd-sl-geri { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: var(--altin-z); color: var(--yazi); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.hd-sl-kitap { min-width: 0; text-decoration: none; color: var(--yazi); }
.hd-sl-kitap small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--zumrut); }
.hd-sl-kitap b { display: block; font-size: 17px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-sl-kitap:hover b { color: var(--altin); }
.hd-sl-ara, .hd-sl-git label { position: relative; display: block; margin: 0 0 10px; }
.hd-sl-ara > .hd-ic, .hd-sl-git label > .hd-ic { position: absolute; z-index: 1; left: 14px; top: 50%; transform: translateY(-50%); color: var(--yazi-3); pointer-events: none; }
.hd-sl-ara input, .hd-sl-git input { width: 100%; height: 46px; border-radius: 16px; border: 1px solid var(--kart-kenar); background: var(--z); color: var(--yazi); padding: 0 14px 0 44px; font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; }
.hd-sl-ara input:focus, .hd-sl-git input:focus { border-color: var(--altin-2); }
.hd-sl-git { display: flex; gap: 8px; }
.hd-sl-git label { flex: 1; margin: 0; }
.hd-sl-git button { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 16px; background: var(--zumrut); color: #FFF8E6; font: inherit; font-weight: 500; cursor: pointer; }
html[data-hd-tema="gece"] .hd-sl-git button { color: #08221C; }
.hd-sl-git + * { margin-top: 14px; }
.hd-sl-cipler { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 4px 4px; }
.hd-sl-cip { min-width: 52px; height: 40px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--kart-kenar); background: var(--z); color: var(--yazi);
  font-size: 14px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s; }
.hd-sl-cip:hover { border-color: var(--altin-2); }
.hd-sl-cip.ogr { border-color: rgba(184, 137, 46, .5); background: var(--altin-z); }
.hd-sl-cip.ez { position: relative; }
.hd-sl-cip.ez::after { content: ""; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #F6E1A8, #B8892E); box-shadow: 0 0 0 2px var(--kart); }
.hd-sl-cip.ezb { background: linear-gradient(135deg, rgba(246, 225, 168, .7), rgba(217, 181, 106, .5)); border-color: #B8892E; color: #2C1F05; }
.hd-sl-cip.secili { background: var(--zumrut); border-color: var(--zumrut); color: #FFF8E6; }
html[data-hd-tema="gece"] .hd-sl-cip.secili { color: #08221C; }
@media (max-width: 900px) {
  .hd-bulucu { gap: 10px; margin-bottom: 16px; }
  .hd-bulucu-alan { flex-basis: 100%; max-width: none; }
  .hd-cipler { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .hd-cipler::-webkit-scrollbar { display: none; }
  .hd-cip { height: 36px; font-size: 13px; }
  .hd-kitaplik { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hd-kitap { padding: 14px 14px 12px; border-radius: 20px; gap: 4px; }
  .hd-kitap-ust { margin-bottom: 4px; }
  .hd-kitap-ust small { font-size: 10.5px; letter-spacing: .1em; }
  .hd-kitap .hd-gul { width: 38px; height: 38px; }
  .hd-kitap > b { font-size: 14.5px; }
  .hd .hd-kitap-ar { font-size: 15px; }
  .hd-kitap-say { flex-direction: column; font-size: 11.5px; padding-top: 8px; }
  .hd-kitap-sayfa { padding-top: 22px; }
  .hd-parseller.hd-sik { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hd-serit-ic { padding: 0 8px; height: 52px; gap: 0; }
  .hd-serit-ev { width: 36px; height: 36px; margin-right: 2px; }
  .hd-serit-ev > .hd-ic { font-size: 20px; }
  .hd-serit-sec { height: 44px; padding: 0 24px 0 10px; }
  .hd-serit-sec > .hd-ic { right: 4px; font-size: 18px; }
  .hd-serit-sec b { font-size: 13.5px; }
  .hd-serit-sec small { font-size: 9.5px; letter-spacing: .12em; }
  .hd-serit-sec.s-kitap { flex: 1 1 auto; max-width: none; }
  .hd-serit-sec.s-bab { flex: none; }
  .hd-serit-sec .s-ad { display: none; }
  .hd-serit-liste { width: calc(100% - 16px); max-height: calc(100dvh - var(--km-ust-boy, 60px) - var(--hb-boy, 0px) - 80px); padding: 10px; border-radius: 22px; }
  .hd-sl-izgara { grid-template-columns: minmax(0, 1fr); }
}

/* ── Bab ön yüzü ── */
.hd-kahraman-bab { padding: 26px 0 92px; }
.hd-kahraman-bab .hd-kap { text-align: left; }
.hd-iz { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(239,231,210,.6); flex-wrap: wrap; margin-bottom: 26px; }
.hd-iz a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .hd-iz a:hover { color: #F2DDA4; }
.hd-iz > a > .hd-ic { font-size: 17px; }
.hd-iz b { font-weight: 400; color: rgba(239,231,210,.9); }
.hd-iz-sag { margin-left: auto; display: inline-flex; gap: 8px; }
.hd-bab-bas { display: flex; gap: 22px; align-items: center; }
.hd-bab-bas > div { min-width: 0; }
.hd-bab-bas .hd-gul .g-yaprak { fill: rgba(217,181,106,.1); stroke: #D9B56A; }
.hd-bab-bas .hd-gul .g-ic { fill: rgba(217,181,106,.2); stroke: #F0D49A; }
.hd-bab-bas .hd-gul .g-orta { fill: #0B3B32; stroke: #D9B56A; }
.hd-bab-bas .hd-gul .g-iz { stroke: rgba(217,181,106,.2); }
.hd-bab-bas .hd-gul .g-yay { stroke: #F0D49A; }
.hd-bab-bas .hd-gul .g-yaprak, .hd-bab-bas .hd-gul .g-ic { animation: hd-don 50s linear infinite; transform-origin: 32px 32px; }
@keyframes hd-don { to { transform: rotate(360deg); } }
.hd-bab-bas h1, .hd-bab-bas .hd-h { margin: 2px 0 6px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 500; line-height: 1.25; color: #F6EFDB; }
.hd-bab-ar { margin: 0; font-family: "Elif1", serif; font-size: 22px; line-height: 1.8; color: rgba(242,221,164,.75); direction: rtl; text-align: left; }

/* ── Okuma alanı ── */
.hd-okuma { position: relative; z-index: 2; margin-top: -60px; max-width: 900px; }
.hd-giris { display: grid; gap: 12px; margin-bottom: 24px; padding: 18px; border-radius: 32px; background: var(--kart); border: 1px solid var(--kart-kenar); box-shadow: var(--golge); }
.hd-giris .hd-ayet { background: var(--z); box-shadow: none; border-color: transparent; }
.hd-ayet { position: relative; margin: 0; padding: 22px 26px 14px 30px; border-radius: 26px; background: var(--kart); border: 1px solid var(--kart-kenar); box-shadow: var(--golge); overflow: hidden; }
.hd-ayet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(180deg, #F0D49A, #B8892E); }
.hd-ayet-isaret { position: absolute; top: 16px; left: 18px; color: var(--altin); opacity: .45; }
.hd-ayet .ar { margin: 0; font-size: calc(23px * var(--hd-olcek)); line-height: 2.1; text-align: right; }
.hd-ayet-tr { margin: 8px 0 0; font-family: "HdSerif", Georgia, serif; font-size: calc(16.5px * var(--hd-olcek)); line-height: 1.7; color: var(--yazi); }
.hd-ayet-alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--yazi-3); }
.hd-ayet-alt a { color: var(--altin); text-decoration: none; font-weight: 500; } .hd-ayet-alt a:hover { text-decoration: underline; }
.hd-nevevi { margin: 6px 8px; font-family: "HdSerif", Georgia, serif; font-size: calc(16.5px * var(--hd-olcek)); line-height: 1.75; color: var(--yazi-2); font-style: italic; }

.hd-hadisler { display: grid; gap: 22px; }
.hd-hadis { position: relative; background: var(--kart); border: 1px solid var(--kart-kenar); border-radius: 30px; padding: 22px 28px 14px; box-shadow: var(--golge); scroll-margin-top: calc(var(--km-ust-boy, 72px) + 78px); transition: box-shadow .3s; }
.hd-hadis:target { box-shadow: 0 0 0 4px var(--altin-z), var(--golge); }
.hd-hadis-ust { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.hd-madalya { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; text-decoration: none; color: var(--zumrut) !important; font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.hd-madalya::before { content: ""; position: absolute; inset: 6px; background: var(--altin-z); border: 1px solid rgba(184,137,46,.4); transform: rotate(45deg); border-radius: 8px; transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
.hd-madalya::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184,137,46,.4); border-radius: 8px; }
.hd-madalya:hover::before { transform: rotate(135deg); }
.hd-madalya span { position: relative; }
/* Ezber hadisi (28 Kas 2026): rozet portaldaki ezber ekranına gider */
.hd-ez-rozet { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(135deg, rgba(246, 225, 168, .55), rgba(217, 181, 106, .35)); border: 1px solid rgba(184, 137, 46, .45); color: #7A5A17 !important; font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.hd-ez-rozet > .hd-ic { font-size: 17px; font-family: "HdSimgeDolu"; color: #B8892E; }
.hd-ez-rozet:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(184, 137, 46, .8); }
html[data-hd-tema="gece"] .hd-ez-rozet { background: rgba(217, 181, 106, .14); border-color: rgba(217, 181, 106, .4); color: #F2DDA4 !important; }
html[data-hd-tema="gece"] .hd-ez-rozet > .hd-ic { color: #F0D49A; }
.hd-ez-say { display: inline-flex; align-items: center; gap: 2px; color: #8E6A28; font-weight: 500; }
html[data-hd-tema="gece"] .hd-ez-say { color: #F0D49A; }
.hd-ez-say > .hd-ic { font-size: 14px; font-family: "HdSimgeDolu"; }
@media (max-width: 600px) { .hd-ez-rozet span:not(.hd-ic) { display: none; } .hd-ez-rozet { width: 32px; height: 32px; padding: 0; justify-content: center; } }
.hd-hadis-kim { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--yazi-3); }
.hd-hadis-kim a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hd-hadis-kim a:hover { color: var(--zumrut); }
.hd-kunye { font-size: 12.5px; color: var(--yazi-3); }
.hd-kaydet[aria-pressed="true"] { color: var(--altin); }
.hd-kaydet[aria-pressed="true"] .hd-ic, .hd-ogren[aria-pressed="true"] .hd-ic, .hb-sekme.aktif .hd-ic, .od-yuvarlak[aria-pressed="true"] .hd-ic, .hd-eylem-d.caliyor .hd-ic { font-family: "HdSimgeDolu"; }
.hd-kaydet.zipla .hd-ic { animation: hd-zipla .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hd-zipla { 40% { transform: scale(1.45) rotate(-8deg); } }
.hd-ar-cerceve { position: relative; margin: 4px 0 0; padding: 14px 4px 10px; }
.hd-ar-cerceve::before, .hd-ar-cerceve::after { content: ""; position: absolute; left: 30%; right: 30%; height: 1px; background: linear-gradient(90deg, transparent, var(--altin), transparent); opacity: .5; }
.hd-ar-cerceve::before { top: 0; } .hd-ar-cerceve::after { bottom: 0; }
.hd-hadis .ar { margin: 0; font-size: calc(24px * var(--hd-olcek)); line-height: 2.15; text-align: right; }
.ar-on, .ar-son { font-size: .7em; color: var(--ar-soluk); }
.ar-soz { color: var(--ar); }
.hd-arapcasiz .hd-ar-cerceve, .hd-arapcasiz .hd-ayet .ar { display: none; }
.hd-anlam { margin: 16px 0 0; font-family: "HdSerif", Georgia, serif; font-size: calc(18px * var(--hd-olcek)); line-height: 1.75; color: var(--yazi); }
.hd-kcumle { margin: 10px 0 0; font-size: calc(13.5px * var(--hd-olcek)); color: var(--yazi-3); line-height: 1.6; }
.hd-notlar { margin: 14px 0 0; padding: 12px 16px; border-radius: 18px; background: var(--z2); font-size: 14px; color: var(--yazi-2); }
.hd-notlar summary { cursor: pointer; color: var(--zumrut); font-weight: 500; display: flex; align-items: center; gap: 6px; list-style: none; }
.hd-notlar summary::-webkit-details-marker { display: none; }
.hd-notlar p { margin: 8px 0 0; }
.hd-notlar .ar { font-size: 19px; }
.hd-hadis-alt { display: flex; align-items: center; gap: 2px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--kart-kenar); flex-wrap: wrap; }
.hd-eylem-d { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border: 0; background: none; border-radius: 999px; cursor: pointer; color: var(--yazi-2); font-size: 13.5px; transition: background .2s, color .2s; }
.hd-eylem-d:hover { background: var(--altin-z); color: var(--altin); }
.hd-eylem-d > .hd-ic { font-size: 19px; }
.hd-eylem-d.caliyor { color: var(--zumrut); background: rgba(15,92,77,.1); }
.hd-eylem-d.caliyor > .hd-ic { animation: hd-dalga 1s ease-in-out infinite; }
@keyframes hd-dalga { 50% { transform: scale(1.18); } }
/* Okuyuş düğmesi (27 Kas 2026): Arapçanın üstünde sağda, anlamın üstünde solda; çalarken zümrüt ve dalga */
.hd-dinle-sira { display: flex; margin: 2px 0 10px; } .hd-dinle-sira.dil-ar { justify-content: flex-end; }   /* sınıf adı 'ar' DEĞİL: .hd .ar Arapça yazı kuralıdır */
.hd-dinle { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px 0 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(184,137,46,.35); background: rgba(217,181,106,.12); color: #8A6420; font: 500 13.5px "Lexend", system-ui, sans-serif; transition: background .2s, color .2s, border-color .2s; }
.hd-dinle:hover { background: rgba(217,181,106,.22); }
.hd-dinle > .hd-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: "HdSimgeDolu"; font-size: 18px; font-style: normal;
  background: linear-gradient(135deg, #F6E1A8, #D9B56A 55%, #B8892E); color: #2C1F05; }
.hd-dinle small { font-weight: 300; font-size: 12px; color: #9a8a6a; font-variant-numeric: tabular-nums; }
.hd-dinle-dalga { display: none; gap: 2px; align-items: center; height: 14px; }
.hd-dinle-dalga b { width: 3px; height: 4px; border-radius: 2px; background: currentColor; animation: hd-dinle-dalga 1s ease-in-out infinite; }
.hd-dinle-dalga b:nth-child(2) { animation-delay: .15s; } .hd-dinle-dalga b:nth-child(3) { animation-delay: .3s; } .hd-dinle-dalga b:nth-child(4) { animation-delay: .45s; }
@keyframes hd-dinle-dalga { 50% { height: 14px; } }
.hd-dinle.caliyor { background: #1F9C80; border-color: #1F9C80; color: #fff; }
.hd-dinle.caliyor > .hd-ic { background: #fff; color: #1F9C80; }
.hd-dinle.caliyor small { color: rgba(255,255,255,.85); }
.hd-dinle.caliyor .hd-dinle-dalga { display: inline-flex; }
html[data-hd-tema="gece"] .hd-dinle:not(.caliyor) { color: #F2DDA4; border-color: rgba(217,181,106,.35); background: rgba(217,181,106,.1); }
html[data-hd-tema="gece"] .hd-dinle:not(.caliyor) small { color: rgba(242,221,164,.6); }
.hd .hd-ogren { margin-left: auto; color: var(--zumrut); box-shadow: inset 0 0 0 1px rgba(15,92,77,.28); }
.hd .hd-ogren[aria-pressed="true"] { background: var(--zumrut); color: #fff; box-shadow: none; }
html[data-hd-tema="gece"] .hd .hd-ogren[aria-pressed="true"] { color: #08221C; }
.hd .hd-ezberimde { color: #8E6A28; box-shadow: inset 0 0 0 1px rgba(184, 137, 46, .4); }
.hd .hd-ezberimde[aria-pressed="true"] { background: linear-gradient(135deg, #F6E1A8, #D9B56A 55%, #B8892E); color: #2C1F05; box-shadow: 0 6px 16px -10px rgba(184, 137, 46, .9); }
html[data-hd-tema="gece"] .hd .hd-ezberimde:not([aria-pressed="true"]) { color: #F0D49A; box-shadow: inset 0 0 0 1px rgba(217, 181, 106, .35); }
.hd .hd-ezberimde { margin-left: auto; }
.hd-giris-bag { border: 0; background: none; padding: 0; font: inherit; color: var(--zumrut); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
/* Girişte "Bu cihazdaki işaretler sizin mi?" (28 Kas 2026) */
.hd-soru { position: fixed; z-index: 1006; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(520px, calc(100% - 24px)); padding: 18px 18px 16px; border-radius: 24px;
  background: var(--kart); color: var(--yazi); border: 1px solid rgba(184, 137, 46, .35); box-shadow: 0 30px 70px -24px rgba(10, 30, 25, .55); font-family: "Lexend", system-ui, sans-serif;
  animation: hd-soru-gel .45s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes hd-soru-gel { from { opacity: 0; transform: translateX(-50%) translateY(16px); } }
.hd-soru p { margin: 0 34px 12px 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--yazi-2); }
.hd-soru p b { font-size: 16px; font-weight: 500; color: var(--yazi); }
.hd-soru-d { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-soru-hayir { background: transparent; color: var(--yazi-2); box-shadow: inset 0 0 0 1px var(--kart-kenar); }
.hd-soru-kapat { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--altin-z); color: var(--yazi); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 768px) { .hd-soru { bottom: calc(var(--hb-boy, 0px) + 12px); } }
.hd .hd-ezberimde + .hd-ogren { margin-left: 6px; }
.hd-tek-bas { margin: 0 0 14px; font-size: 13px; font-weight: 400; color: rgba(239,231,210,.8); letter-spacing: .04em; position: relative; z-index: 2; }
/* Tek hadis sayfası: konunun âyetleri (katlanır) ve konudaki öteki hadisler (30 Kas 2026) */
.hd-tek-giris { margin-top: 22px; border-radius: 26px; background: var(--kart); border: 1px solid var(--kart-kenar); box-shadow: var(--golge); }
.hd-tek-giris > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 500; color: var(--yazi); }
.hd-tek-giris > summary::-webkit-details-marker { display: none; }
.hd-tek-giris > summary > .hd-ic { color: var(--altin); }
.hd-tek-giris > summary small { margin-left: auto; font-weight: 400; font-size: 12.5px; color: var(--yazi-3); }
.hd-tek-giris > summary::after { content: "expand_more"; font-family: "HdSimge"; font-feature-settings: "liga"; font-size: 22px; color: var(--yazi-3); transition: transform .2s; }
.hd-tek-giris[open] > summary::after { transform: rotate(180deg); }
.hd-tek-giris > .hd-giris { margin: 0; padding: 0 14px 14px; background: none; border: 0; box-shadow: none; }
.hd-kardes { margin-top: 30px; }
.hd-kardes h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; font-weight: 500; color: var(--yazi); }
.hd-kardes h2 > .hd-ic { color: var(--altin); }
.hd-kardes-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-kardes-liste a { display: block; padding: 12px 16px; border-radius: 18px; background: var(--kart); border: 1px solid var(--kart-kenar); text-decoration: none; color: var(--yazi-2); font-size: 14px; line-height: 1.55; transition: border-color .2s; }
.hd-kardes-liste a:hover { border-color: rgba(217,181,106,.4); }
.hd-kardes-liste b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .03em; color: var(--altin); }
.hd-kardes-daha { margin-top: 8px; }
.hd-kardes-daha > summary { padding: 10px 4px; cursor: pointer; color: var(--zumrut); font-weight: 500; font-size: 14px; }
.hd-kardes-daha > .hd-kardes-liste { margin-top: 4px; }

.hd-gez { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin-top: 30px; }
.hd-gez a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 22px; background: var(--kart); border: 1px solid var(--kart-kenar); text-decoration: none; font-size: 14.5px; min-width: 0; box-shadow: var(--golge); transition: transform .2s, border-color .2s; }
.hd-gez a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-gez a small { display: block; font-size: 11.5px; color: var(--yazi-3); }
.hd-gez a > .hd-ic { color: var(--altin); }
.hd-gez .sonraki { grid-column: 3; justify-content: flex-end; text-align: right; }
.hd-gez .orta { grid-column: 2; }
.hd-gez a:hover { transform: translateY(-2px); border-color: rgba(217,181,106,.4); }
.hd-kaynak-not { display: flex; gap: 10px; align-items: flex-start; margin: 44px auto 0; max-width: 900px; font-size: 12.5px; color: var(--yazi-3); line-height: 1.6; }
.hd-kaynak-not > .hd-ic { color: var(--zumrut); font-size: 18px; }
.hd-kaynak-not a { color: var(--zumrut); }

/* Arama sonuçları */
.hd-sonuclar { list-style: none; margin: 0; padding: 0; }
.hd-sonuclar a { display: block; padding: 11px 14px; border-radius: 16px; text-decoration: none; color: var(--yazi); font-size: 14px; line-height: 1.5; }
.hd-sonuclar a:hover, .hd-sonuclar a:focus { background: var(--altin-z); outline: none; }
.hd-sonuclar b { color: var(--zumrut); font-weight: 500; margin-right: 6px; }
.hd-sonuclar mark { background: rgba(217,181,106,.35); color: inherit; border-radius: 4px; padding: 0 2px; }
.hd-sonuclar .ar { display: block; font-size: 20px; text-align: right; color: var(--yazi-3); }
.hd-sonuc-bos { padding: 12px 14px; font-size: 14px; color: var(--yazi-3); margin: 0; }

.hd-bildirim { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100005; padding: 11px 20px; border-radius: 999px; background: #0F2E28; color: #F3E7C3;
  font: 400 14px/1.3 "Lexend", system-ui, sans-serif; box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); max-width: calc(100% - 32px); border: 1px solid rgba(217,181,106,.3); animation: hd-bil .35s cubic-bezier(.3,1.3,.5,1); }
@keyframes hd-bil { from { transform: translateX(-50%) translateY(12px); opacity: 0; } }
.hd-kivilcim { position: fixed; z-index: 100006; pointer-events: none; width: 8px; height: 8px; border-radius: 2px; animation: hd-kivilcim 1.1s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes hd-kivilcim { to { transform: translate(var(--dx), var(--dy)) rotate(540deg); opacity: 0; } }

/* ── Dar ekran ── */
@media (max-width: 900px) {
  .hd-kap { padding: 0 16px; }
  .hd-kahraman { padding: 44px 0 108px; }
  .hd-kahraman > .hd-kap > .hd-tema { top: -28px; right: 14px; width: 38px; height: 38px; }
  .hd-alt { font-size: 15px; }
  .hd-ara input { height: 54px; padding-right: 20px; }
  .hd-ara-karistir { width: 54px; height: 54px; }
  .hd-ara-sira .hd-ara input { padding: 0 12px 0 44px; }   /* yazı 16 px kalır (iPhone dokununca büyütmesin); "Konu, kelime ya da numara" sığsın */
  .hd-ara-sira .hd-ara > .hd-ic { left: 15px; }
  .hd-ara kbd { display: none; }
  .hd-eylem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hd-dugme { justify-content: center; gap: 7px; padding: 0 10px; font-size: 13.5px; height: 48px; white-space: nowrap; min-width: 0; }
  .hd-sayac { gap: 8px; } .hd-sayac li { min-width: 0; flex: 1 1 40%; }
  .hd-gunun { margin-top: -78px; }
  .hd-pano { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0 34px; }
  .hd-devam-kart { margin-top: 18px; }
  .hd-parseller { grid-template-columns: minmax(0, 1fr); }
  .hd-hadis { padding: 18px 18px 10px; border-radius: 26px; }
  .hd-hadis .ar { font-size: calc(21.5px * var(--hd-olcek)); }
  .hd-anlam { font-size: calc(17px * var(--hd-olcek)); }
  .hd-eylem-d span:not(.hd-ic) { display: none; }
  .hd-eylem-d { padding: 0 11px; }
  .hd .hd-ogren span:not(.hd-ic) { display: inline; }
  .hd-ayet { padding: 18px 18px 12px 22px; border-radius: 22px; }
  .hd-giris { padding: 10px; border-radius: 26px; }
  .hd-ayet .ar { font-size: calc(21px * var(--hd-olcek)); }
  .hd-kahraman-bab { padding: 18px 0 80px; }
  .hd-iz { margin-bottom: 18px; }
  .hd-bab-bas { gap: 14px; align-items: flex-start; }
  .hd-bab-bas .hd-gul { width: 62px; height: 62px; }
  .hd-okuma { margin-top: -52px; }
  .hd-gez { grid-template-columns: 1fr 1fr; }
  .hd-gez .orta { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .hd-gez .sonraki { grid-column: 2; }
}

/* ── Pencereler ── */
.hb-cubuk, .hb-perde, .hb-pencere { display: none; }
.hb-pencere { font-family: "Lexend", system-ui, sans-serif; color: var(--yazi); }
.hb-bas { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 10px; font: 600 11px/1 "Lexend", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--altin); }
.hb-kapat { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--altin-z); cursor: pointer; display: grid; place-items: center; color: var(--yazi); }
.hb-ara { position: relative; margin: 0 6px 8px; }
.hb-ara input { width: 100%; height: 50px; border-radius: 18px; border: 1px solid var(--kart-kenar); background: var(--z); color: var(--yazi); padding: 0 14px 0 46px; font: inherit; font-size: 16px; -webkit-appearance: none; outline: none; }
.hb-ara input:focus { border-color: var(--altin); }
.hb-ara > .hd-ic { z-index: 1; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--yazi-3); }
.hb-satir { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border: 0; border-radius: 18px; background: transparent;
  color: var(--yazi); font: inherit; text-align: left; cursor: pointer; text-decoration: none; position: relative; }
.hb-satir + .hb-satir::before { content: ""; position: absolute; top: 0; left: 64px; right: 14px; height: 1px; background: var(--kart-kenar); }
.hb-satir:hover, .hb-satir:active, .hb-satir.secili { background: var(--altin-z); }
.hb-satir .hd-gul { width: 40px; height: 40px; }
.hb-s-no { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; color: var(--zumrut); background: var(--z2); }
.hb-s-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-s-yazi b { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.hb-s-yazi small { font-size: 12px; color: var(--yazi-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-kitap { margin: 14px 14px 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--zumrut); }
.hb-s-ok { flex: none; color: var(--altin); }
.hb-s-no > .hd-ic { font-size: 18px; }
.hb-bas-geri { margin: 0 6px 6px; }
.hb-geri { display: inline-flex; align-items: center; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 0; background: var(--altin-z); color: var(--yazi); cursor: pointer;
  font: 500 13px/1 "Lexend", system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.hb-kitap-bas { display: block; margin: 4px 14px 12px; text-decoration: none; color: var(--yazi); }
.hb-kitap-bas small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--zumrut); }
.hb-kitap-bas b { display: block; margin-top: 2px; font-size: 19px; font-weight: 500; line-height: 1.3; }
.hb-sekmeler { display: flex; gap: 6px; margin: 0 8px 8px; padding: 4px; border-radius: 16px; background: var(--z2); }
.hb-sekmeler button { flex: 1; height: 38px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13.5px; color: var(--yazi-2); }
.hb-sekmeler button.aktif { background: var(--kart); color: var(--yazi); font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.hb-ayar { display: grid; gap: 12px; padding: 4px 10px 10px; }
.hb-ayar-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; flex-wrap: wrap; }
.hb-ayar-satir .grup { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--z2); }
.hb-ayar-satir button { min-width: 44px; height: 38px; border-radius: 11px; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--yazi-2); padding: 0 10px; }
.hb-ayar-satir button.aktif { background: var(--kart); color: var(--yazi); font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

@media (max-width: 768px) {
  body.hd-govde { --hb-alt: max(12px, env(safe-area-inset-bottom)); --hb-boy: calc(63px + var(--hb-alt)); }
  body.hd-govde .km-alt { padding-bottom: calc(var(--hb-boy) + 8px); }
  .hd { padding-bottom: calc(var(--hb-boy) + 30px); }
  .hd-bildirim { bottom: calc(var(--hb-boy) + 16px); }
  .hb-cubuk { display: flex; position: fixed; z-index: 1005; left: 0; right: 0; bottom: 0; height: var(--hb-boy); padding: 7px 8px var(--hb-alt);
    background: rgba(255, 253, 248, .82); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
    box-shadow: 0 -1px 0 rgba(80, 60, 20, .09), 0 -10px 30px -18px rgba(10, 40, 30, .3); }
  html[data-hd-tema="gece"] .hb-cubuk { background: rgba(21, 33, 31, .86); box-shadow: 0 -1px 0 rgba(217,181,106,.12), 0 -10px 30px -18px rgba(0,0,0,.8); }
  .hb-sekme { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--yazi-3); cursor: pointer; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 500 10.5px/1 "Lexend", system-ui, sans-serif; letter-spacing: .01em;
    -webkit-tap-highlight-color: transparent; transition: color .25s ease; }
  .hb-ik { position: relative; display: grid; place-items: center; height: 28px; width: 52px; border-radius: 14px; transition: transform .3s cubic-bezier(.3, 1.35, .5, 1), background .3s; }
  .hb-ik > .hd-ic { font-size: 24px; }
  .hb-ad { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hb-sekme.aktif { color: var(--zumrut); font-weight: 600; }
  .hb-sekme.aktif .hb-ik { background: rgba(15, 92, 77, .12); }
  html[data-hd-tema="gece"] .hb-sekme.aktif .hb-ik { background: rgba(95, 195, 166, .14); }
  .hb-sekme:active .hb-ik { transform: scale(.86); }
  .hb-sekme.hb-orta .hb-ik { background: linear-gradient(135deg, #F6E1A8, #D9B56A 50%, #B8892E); color: #2C1F05; box-shadow: 0 6px 16px -8px rgba(184,137,46,.9); }
  .hb-nokta { position: absolute; top: 1px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--altin); box-shadow: 0 0 0 2px var(--kart); }
  .hb-nokta[hidden] { display: none; }
  .hb-perde { position: fixed; inset: 0; z-index: 1003; background: linear-gradient(180deg, transparent 30%, rgba(10, 30, 25, .35) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  body.hb-acik .hb-perde:not([hidden]) { display: block; }
  .hb-pencere { position: fixed; z-index: 1004; left: 50%; transform: translateX(-50%); width: min(420px, calc(100% - 20px));
    bottom: calc(var(--hb-boy) + 10px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain;
    padding: 18px 8px 8px; border-radius: 30px; background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
    box-shadow: inset 0 0 0 1px rgba(80, 60, 20, .09), 0 30px 60px -24px rgba(10, 40, 30, .5); }
  html[data-hd-tema="gece"] .hb-pencere { background: rgba(21, 33, 31, .92); box-shadow: inset 0 0 0 1px rgba(217,181,106,.12), 0 30px 60px -24px rgba(0,0,0,.8); }
  .hb-pencere.acik { display: block; animation: hb-dog .38s cubic-bezier(.3, 1.3, .5, 1); }
  .hb-pencere[hidden], .hb-perde[hidden] { display: none !important; }
  @keyframes hb-dog { from { transform: translateX(-50%) translateY(16px) scale(.96); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
}
@media (min-width: 769px) {
  .hb-perde { position: fixed; inset: 0; z-index: 100001; background: rgba(6, 25, 21, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  body.hb-acik .hb-perde:not([hidden]) { display: block; }
  .hb-pencere { position: fixed; z-index: 100002; top: 12vh; left: 50%; transform: translateX(-50%); width: min(540px, calc(100% - 32px)); max-height: 74vh; overflow-y: auto;
    padding: 20px 10px 10px; border-radius: 30px; background: var(--kart); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
  .hb-pencere.acik { display: block; animation: hb-dog2 .3s cubic-bezier(.3, 1.3, .5, 1); }
  .hb-pencere[hidden], .hb-perde[hidden] { display: none !important; }
  @keyframes hb-dog2 { from { transform: translateX(-50%) translateY(-10px) scale(.97); opacity: 0; } }
}

/* ── Öğrenme kartı (tam ekran, dönen kart) ── */
html.od-acik, html.od-acik body { overflow: hidden; }
.od { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-columns: minmax(0, 1fr); gap: 14px; font-family: "Lexend", system-ui, sans-serif; font-weight: 300;
  padding: 16px clamp(14px, 3vw, 36px) calc(16px + env(safe-area-inset-bottom)); color: #EFE7D2; background: var(--kahraman); overflow: hidden; animation: od-gir .35s ease; }
@keyframes od-gir { from { opacity: 0; } }
.od button { font: inherit; color: inherit; }
.od-desen { position: absolute; top: -96px; left: -96px; width: calc(100% + 192px); height: calc(100% + 192px); color: #D9B56A; opacity: .08; pointer-events: none; animation: hd-kay 60s linear infinite; }
.od > :not(.od-desen) { position: relative; }
.od-bas { display: flex; align-items: center; gap: 12px; min-width: 0; }
.od-ad { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #F2DDA4; white-space: nowrap; }
.od-ad > .hd-ic { font-size: 22px; }
.od-kip { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.od-kip button { border: 0; background: none; height: 34px; padding: 0 13px; border-radius: 999px; cursor: pointer; font-size: 13px; color: rgba(239,231,210,.75); display: inline-flex; align-items: center; gap: 5px; }
.od-kip button > .hd-ic { font-size: 17px; }
.od-kip button.secili { background: rgba(217,181,106,.95); color: #2C1F05; font-weight: 500; }
.od-hedef { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(239,231,210,.8); white-space: nowrap; }
.od-hedef svg { width: 30px; height: 30px; transform: rotate(-90deg); flex: none; }
.od-hedef circle { fill: none; stroke-width: 4; }
.od-hedef .iz { stroke: rgba(255,255,255,.12); }
.od-hedef .yay { stroke: #D9B56A; stroke-linecap: round; stroke-dasharray: 100; transition: stroke-dashoffset .6s ease; }
.od-hedef b { color: #F2DDA4; font-weight: 500; }
.od-seri { display: inline-flex; align-items: center; gap: 2px; color: #F2B66A; }
.od-seri > .hd-ic { font-family: "HdSimgeDolu"; font-size: 18px; }
.od-yuvarlak { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .2s; color: #EFE7D2; }
.od-yuvarlak:hover { background: rgba(255,255,255,.16); }
.od-yuvarlak:active { transform: scale(.92); }
.od-yuvarlak[aria-pressed="true"] { color: #F2DDA4; }
.od-sahne { min-height: 0; display: grid; place-items: center; perspective: 1800px; }
.od-kart { position: relative; width: min(820px, 100%); height: 100%; max-height: 640px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.15, .45, 1); cursor: pointer; touch-action: pan-y; }
.od-kart.cevrik { transform: rotateY(180deg); }
.od-kart.kay-sol { animation: od-sol .3s ease forwards; } .od-kart.kay-sag { animation: od-sag .3s ease forwards; } .od-kart.gel { animation: od-gel .45s cubic-bezier(.3,1.3,.5,1); }
@keyframes od-sol { to { transform: translateX(-120%) rotate(-8deg); opacity: 0; } }
@keyframes od-sag { to { transform: translateX(120%) rotate(8deg); opacity: 0; } }
@keyframes od-gel { from { transform: translateY(30px) scale(.94); opacity: 0; } }
.od-yuz { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 34px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  padding: 0 clamp(20px, 4vw, 48px) 26px; display: flex; flex-direction: column; background: linear-gradient(180deg, #FFFDF8, #F6F0E2); color: #1E2A2B;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.7), inset 0 0 0 1px rgba(184,137,46,.25), inset 0 0 0 10px #FFFDF8, inset 0 0 0 11px rgba(184,137,46,.18); }
.od-yuz.arka { transform: rotateY(180deg); }
html[data-hd-tema="gece"] .od-yuz { background: linear-gradient(180deg, #17241F, #101A17); color: #ECE6D6;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(217,181,106,.25), inset 0 0 0 10px #15211D, inset 0 0 0 11px rgba(217,181,106,.15); }
.od-yuz-ust { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 20px 4px 10px; font-size: 13px; color: #7D8784; background: inherit; }
.od-yuz-ust b { color: #0F5C4D; font-weight: 500; white-space: nowrap; }
html[data-hd-tema="gece"] .od-yuz-ust b { color: #7AD3B9; }
.od-yuz-ust a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.od-yuz-ust a:hover { color: #B8892E; }
.od-yuz-ust .od-dinle { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(184,137,46,.35); background: transparent; color: #B8892E; display: grid; place-items: center; cursor: pointer; }
/* Kartta ezber (28 Kas 2026): üst satırda, dinle düğmesinin solunda */
.od-yuz-ust .od-ez { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px 0 9px; border-radius: 999px;
  border: 1px solid rgba(184,137,46,.4); background: transparent; color: #8E6A28; font: 500 12.5px "Lexend", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.od-yuz-ust .od-ez > .hd-ic { font-size: 18px; }
.od-yuz-ust .od-ez:hover { background: rgba(184,137,46,.1); }
.od-yuz-ust .od-ez[aria-pressed="true"], .od-yuz-ust .od-ez.tamam { background: linear-gradient(135deg, #F6E1A8, #D9B56A 55%, #B8892E); color: #2C1F05; border-color: transparent; box-shadow: 0 6px 14px -8px rgba(184,137,46,.9); }
.od-yuz-ust .od-ez-rozet { background: linear-gradient(135deg, rgba(246,225,168,.55), rgba(217,181,106,.3)); }
.od-yuz-ust .od-ez-rozet + .od-ez { margin-left: 0; }
.od-yuz-ust .od-ez-rozet > .hd-ic { font-family: "HdSimgeDolu"; color: #B8892E; }
.od-yuz-ust .od-ez-rozet.tamam > .hd-ic { color: #2C1F05; }
html[data-hd-tema="gece"] .od-yuz-ust .od-ez:not([aria-pressed="true"]):not(.tamam) { color: #F0D49A; border-color: rgba(217,181,106,.4); }
html[data-hd-tema="gece"] .od-yuz-ust .od-ez-rozet:not(.tamam) { background: rgba(217,181,106,.12); }
.od-yuz-ust .od-ez + .od-dinle { margin-left: 0; }
@media (max-width: 600px) { .od-yuz-ust .od-ez span:not(.hd-ic) { display: none; } .od-yuz-ust .od-ez { width: 36px; padding: 0; justify-content: center; } }
.od-yuz-ust .od-dinle.caliyor { background: rgba(31,156,128,.12); color: #1F9C80; border-color: transparent; }
.od-yuz .ar { margin: auto 0; padding: 10px 0; font-size: clamp(25px, 3.4vw, 40px); line-height: 2.05; text-align: center; color: #123D35; }
.od-yuz .ar.b2 { font-size: clamp(23px, 2.8vw, 34px); } .od-yuz .ar.b3 { font-size: clamp(21px, 2.3vw, 29px); line-height: 2; }
.od-yuz .ar.b4 { font-size: clamp(20px, 2vw, 25px); line-height: 1.95; } .od-yuz .ar.b5 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.9; text-align: justify; }
html[data-hd-tema="gece"] .od-yuz .ar { color: #F3E7C3; }
.od-yuz .ar-on, .od-yuz .ar-son { font-size: .62em; color: #9AA19D; }
.od-cevir { align-self: center; margin: 8px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #B8892E; letter-spacing: .04em; }
.od-cevir > .hd-ic { animation: od-salla 2.4s ease-in-out infinite; }
@keyframes od-salla { 50% { transform: rotateY(180deg); } }
.od-anlam { margin: auto 0 0; padding-top: 10px; font-family: "HdSerif", Georgia, serif; font-size: clamp(17.5px, 1.8vw, 22px); line-height: 1.75; text-align: center; }
.od-kcumle { margin: 12px 0 auto; font-size: 13.5px; color: #7D8784; text-align: center; }
.od-ipucu { margin: -4px 0 0; text-align: center; font-size: 11.5px; color: rgba(239,231,210,.5); white-space: nowrap; pointer-events: none; }
.od-ipucu kbd { font: inherit; font-size: 11px; padding: 1px 6px; margin: 0 2px 0 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); color: rgba(239,231,210,.8); }
.od-alt { display: flex; justify-content: center; align-items: center; gap: 12px; }
.od-tekrar { height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: #EFE7D2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.od-ogrendim { height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(135deg, #F6E1A8, #D9B56A 50%, #B8892E);
  color: #2C1F05; font-weight: 500; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 16px 34px -16px rgba(217,181,106,.95), inset 0 1px 0 rgba(255,255,255,.6); }
.od-ogrendim.var { background: #1F9C80; color: #fff; box-shadow: none; }
.od-yukleniyor { margin: auto; color: #7D8784; }
.od-ozet { position: absolute; inset: 0; display: grid; place-items: center; z-index: 5; background: rgba(4, 20, 16, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: od-gir .3s ease; }
.od-ozet > div { text-align: center; padding: 30px 34px; border-radius: 30px; background: var(--kahraman); border: 1px solid rgba(217,181,106,.3); max-width: 360px; margin: 0 16px; }
.od-ozet b { display: block; font-size: 52px; font-weight: 500; color: #F2DDA4; line-height: 1.1; }
.od-ozet p { margin: 8px 0 18px; color: rgba(239,231,210,.85); }
@media (max-width: 900px) {
  .od { gap: 10px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .od-ad span:not(.hd-ic), .od-ipucu, .od-hedef .metin { display: none; }
  .od-kip button { padding: 0 10px; }
  .od-kip button:not(.secili) span:not(.hd-ic) { display: none; }
  .od-kip button:not(.secili) { padding: 0 9px; }
  .od-bas { gap: 8px; } .od-bas > .od-yuvarlak { width: 42px; height: 42px; }
  .od-yuz { border-radius: 26px; padding: 0 18px 20px; }
  .od-yuz .ar { font-size: 26px; line-height: 2; } .od-yuz .ar.b2 { font-size: 23px; } .od-yuz .ar.b3 { font-size: 21px; } .od-yuz .ar.b4, .od-yuz .ar.b5 { font-size: 19.5px; }
  .od-alt { gap: 8px; padding-bottom: 0; }
  .od-alt .od-yuvarlak { width: 50px; height: 50px; }
  .od-tekrar span:not(.hd-ic) { display: none; }
  .od-tekrar { width: 56px; padding: 0; justify-content: center; }
  .od-ogrendim { padding: 0 14px; flex: 1; min-width: 0; justify-content: center; max-width: 230px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .hd *, .od *, .hb-pencere, .od, .hd-desen, .hd-isik { animation: none !important; transition: none !important; } }

/* ── Paylaşım görseli penceresi (1 Ara 2026; hadis.js › gorsel): içi ortak tasarım ekranı medya/kod/paylas/1/ (Mushaf ve Hatim Odası ile aynı).
   Kart katmanının (.od, z-index 100000) ve üst bandın üstünde; modülün büyütme ve bildirimi bunun da üstünde. Telefonda alttan açılan sayfa. ── */
.hd-gorsel-perde { position: fixed; inset: 0; z-index: 100100; display: grid; place-items: center; padding: 16px; background: rgba(4, 20, 17, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: "Lexend", system-ui, sans-serif; color: var(--yazi); }
.hd-gorsel-pencere { width: min(860px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--kart); border: 1px solid var(--kart-kenar); border-radius: 22px; padding: 18px 20px 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); box-sizing: border-box; }
.hd-gorsel-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hd-gorsel-bas b { display: block; font-size: 1.05rem; font-weight: 500; }
.hd-gorsel-bas small { color: var(--yazi-3); font-size: .84rem; }
.hd-gorsel-kapat { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--kart-kenar);
  background: transparent; color: var(--yazi-2); cursor: pointer; }
.hd-gorsel-kapat:hover { background: var(--altin-z); color: var(--yazi); }
.hd-gorsel-kapat:focus-visible { outline: 2px solid var(--altin); outline-offset: 2px; }
.hd-gorsel-bekle { margin: 24px 0; text-align: center; color: var(--yazi-3); font-size: .92rem; }
body.hd-gorsel-acik { overflow: hidden; }
@media (max-width: 640px) {
  .hd-gorsel-perde { place-items: end stretch; padding: 0; }
  .hd-gorsel-pencere { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; padding: 14px 16px calc(22px + env(safe-area-inset-bottom, 0px)); }
}
