/* Namaz.info modül stilleri — tema değişkenlerini kullanır, yoksa varsayılanlara döner */
:root, .ni-module, .ni-vakit, .ni-dialog, .ni-daily-ayah, .ni-mini-events {
	--_p: var(--ni-primary, #0e5a4f);
	--_p2: var(--ni-primary-2, #13786a);
	--_a: var(--ni-accent, #c8a24a);
	--_bg: var(--ni-bg, #f7f5ef);
	--_s: var(--ni-surface, #fff);
	--_s2: var(--ni-surface-2, #f1eee5);
	--_t: var(--ni-text, #1d2a27);
	--_m: var(--ni-muted, #5f6d69);
	--_b: var(--ni-border, #e3dfd3);
	--_r: var(--ni-radius, 16px);
	--_ar: var(--ni-font-arabic, "Amiri Quran", "Amiri", "Scheherazade New", "Noto Naskh Arabic", "Traditional Arabic", serif);
}
.ni-module { margin: 0 0 2rem; }
.ni-module h2 { margin: 0 0 .75rem; }
.ni-section { margin: 2rem 0; }
.ni-section__head { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ni-section__head h2 { margin: 0; }
.ni-subhead { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--_m); margin: 1.25rem 0 .5rem; }
.ni-h-sm { font-size: 1rem; color: var(--_m); font-weight: 600; margin: 1.25rem 0 .5rem; }
.ni-muted { color: var(--_m); font-weight: 400; }
.ni-nowrap { white-space: nowrap; }
.ni-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; color: var(--_m); margin: .75rem 0; }
.ni-note .ni-ico { flex: none; width: 18px; height: 18px; margin-top: .1rem; }
.ni-note--muted { font-size: .8rem; opacity: .9; }
.ni-ico { width: 20px; height: 20px; vertical-align: middle; flex: none; }
.ni-eyebrow { margin: 0 0 .25rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--_a); font-weight: 700; }
.ni-badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 99px; background: var(--_a); color: #1b1606; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Butonlar */
.ni-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--_p); background: var(--_p); color: #fff; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.1; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.ni-btn:hover { background: var(--_p2); color: #fff; box-shadow: 0 6px 18px -8px rgba(14, 90, 79, .6); }
.ni-btn:active { transform: translateY(1px); }
.ni-btn--ghost { background: transparent; color: var(--_p); border-color: var(--_b); }
.ni-btn--ghost:hover { background: var(--_s2); color: var(--_p); box-shadow: none; }
.ni-btn--sm { padding: .4rem .8rem; font-size: .85rem; }
.ni-btn.is-done { background: var(--_a); border-color: var(--_a); color: #1b1606; }
.ni-btn.is-loading { opacity: .6; pointer-events: none; }
.ni-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; gap: .3rem; align-items: center; }
.ni-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.ni-actions--center { justify-content: center; }

/* Arama kutusu */
.ni-search { display: flex; align-items: center; gap: .5rem; background: var(--_s); border: 1px solid var(--_b); border-radius: 999px; padding: .15rem .9rem; min-width: min(100%, 280px); color: var(--_m); }
.ni-search:focus-within { border-color: var(--_p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--_p) 18%, transparent); }
.ni-search input { border: 0 !important; outline: 0; background: transparent !important; padding: .55rem 0 !important; font: inherit; color: var(--_t); width: 100%; box-shadow: none !important; }

/* ---------------------------------------------------------------- Vakit kartı */
.ni-vakit { position: relative; overflow: hidden; border-radius: calc(var(--_r) + 6px); padding: clamp(1.1rem, 3vw, 2rem); color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--_p2) 0%, var(--_p) 45%, #0a3f38 100%); box-shadow: 0 24px 48px -28px rgba(10, 63, 56, .8); isolation: isolate; }
.ni-vakit::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Ccircle cx='32' cy='32' r='9'/%3E%3C/g%3E%3C/svg%3E"); background-size: 64px; }
.ni-vakit__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; font-size: .95rem; }
.ni-vakit__place { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.ni-vakit__city { font-weight: 700; font-size: 1.15rem; }
.ni-vakit__place .ni-link-btn { font-size: .85rem; opacity: .85; }
.ni-vakit__dates { opacity: .85; font-size: .9rem; }
.ni-dot { margin: 0 .35rem; }
.ni-vakit__next { text-align: center; margin: clamp(1rem, 3vw, 1.75rem) 0; }
.ni-vakit__next-label { font-size: .95rem; opacity: .9; }
.ni-vakit__count { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1.05; margin-top: .2rem; }
.ni-vakit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.ni-vakit__item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: .7rem .4rem; text-align: center; display: flex; flex-direction: column; gap: .15rem; transition: background .2s; }
.ni-vakit__name { font-size: .8rem; opacity: .85; }
.ni-vakit__time { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ni-vakit__item.is-current { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
.ni-vakit__item.is-next { background: #fff; color: var(--_p); border-color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.ni-vakit__item.is-next .ni-vakit__name { opacity: 1; font-weight: 600; color: var(--_p2); }
.ni-vakit__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; margin-top: 1.25rem; font-size: .9rem; }
.ni-vakit__foot a, .ni-vakit__foot .ni-link-btn { color: #fff; opacity: .9; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.ni-vakit__foot a:hover { opacity: 1; }
@media (max-width: 640px) {
	.ni-vakit__list { grid-template-columns: repeat(3, 1fr); }
	.ni-vakit__head { justify-content: center; text-align: center; flex-direction: column; }
}
/* kompakt (kenar çubuğu) */
.ni-vakit--compact { padding: 1rem; border-radius: var(--_r); }
.ni-vakit--compact .ni-vakit__head { flex-direction: column; align-items: flex-start; gap: .2rem; }
.ni-vakit--compact .ni-vakit__city { font-size: 1rem; }
.ni-vakit--compact .ni-vakit__dates { font-size: .8rem; }
.ni-vakit--compact .ni-vakit__next { margin: .75rem 0; text-align: left; }
.ni-vakit--compact .ni-vakit__count { font-size: 2rem; }
.ni-vakit--compact .ni-vakit__list { grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.ni-vakit--compact .ni-vakit__time { font-size: 1.05rem; }
.ni-vakit--compact .ni-vakit__item { padding: .45rem .25rem; border-radius: 10px; }
.ni-vakit__more { display: inline-flex; gap: .3rem; align-items: center; color: #fff; margin-top: .75rem; font-size: .85rem; text-decoration: none; opacity: .9; }
.ni-vakit__more .ni-ico { width: 16px; height: 16px; }

/* Şehir ızgarası */
.ni-city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .4rem; }
.ni-city-grid a, .ni-city-grid button { display: block; width: 100%; text-align: left; padding: .55rem .75rem; border-radius: 10px; background: var(--_s); border: 1px solid var(--_b); color: var(--_t); text-decoration: none; font: inherit; font-size: .92rem; cursor: pointer; transition: border-color .15s, background .15s; }
.ni-city-grid a:hover, .ni-city-grid button:hover { border-color: var(--_p); color: var(--_p); }
.ni-country { padding: .4rem 0; border-bottom: 1px dashed var(--_b); font-size: .95rem; }
.ni-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ni-chips a { display: inline-block; padding: .35rem .8rem; border-radius: 99px; background: var(--_s2); color: var(--_t); text-decoration: none; font-size: .9rem; border: 1px solid transparent; }
.ni-chips a:hover { border-color: var(--_p); color: var(--_p); }

/* Tablolar */
.ni-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--_r); border: 1px solid var(--_b); background: var(--_s); margin: 1rem 0; }
.ni-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0; }
.ni-table th, .ni-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--_b); text-align: left; }
.ni-table thead th { background: var(--_s2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--_m); position: sticky; top: 0; }
.ni-table tbody tr:last-child > * { border-bottom: 0; }
.ni-table--times td { font-variant-numeric: tabular-nums; text-align: center; }
.ni-table--times thead th:not(:first-child) { text-align: center; }
.ni-table--times tbody th { font-weight: 600; }
.ni-table--times tbody th small { color: var(--_m); font-weight: 400; display: block; font-size: .75rem; }
.ni-table tr.is-friday > * { background: color-mix(in srgb, var(--_a) 7%, transparent); }
.ni-table tr.is-today > * { background: color-mix(in srgb, var(--_p) 12%, transparent); font-weight: 700; }
.ni-table tr.is-today th::before { content: "Bugün"; display: inline-block; font-size: .65rem; background: var(--_p); color: #fff; border-radius: 99px; padding: .1rem .45rem; margin-right: .4rem; vertical-align: middle; }
.ni-table tr.is-kadir > * { background: color-mix(in srgb, var(--_a) 18%, transparent); }
.ni-table .is-key { color: var(--_p); font-weight: 700; }
@media (max-width: 640px) { .ni-hide-sm { display: none; } .ni-table th, .ni-table td { padding: .5rem .4rem; } }

/* Kutular */
.ni-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.ni-box { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 1.25rem; }
.ni-box h2 { font-size: 1.1rem; }
.ni-qibla-mini { display: flex; gap: 1rem; align-items: center; }
.ni-qibla-mini__dial { width: 96px; height: 96px; color: var(--_t); flex: none; }
.ni-qibla-mini p { margin: 0; }
.ni-hero-box { display: flex; gap: 1.25rem; align-items: flex-start; background: linear-gradient(135deg, var(--_s) 0%, var(--_s2) 100%); border: 1px solid var(--_b); border-radius: calc(var(--_r) + 4px); padding: clamp(1.1rem, 3vw, 1.75rem); margin-bottom: 1.25rem; }
.ni-hero-box__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--_p); color: #fff; }
.ni-hero-box__icon .ni-ico { width: 28px; height: 28px; }
.ni-hero-box__title { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0 0 .5rem !important; }
.ni-hero-box__lead { margin: 0 0 .5rem; }
.ni-facts { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ni-facts li { display: flex; flex-direction: column; font-size: .9rem; }
.ni-facts span { color: var(--_m); font-size: .8rem; }
.ni-countdown-inline { margin-top: .6rem; display: inline-block; background: var(--_p); color: #fff; padding: .3rem .8rem; border-radius: 99px; font-size: .9rem; }
.ni-countdown-inline:empty { display: none; }
@media (max-width: 520px) { .ni-hero-box { flex-direction: column; } }

/* ---------------------------------------------------------------- Kıble */
.ni-kible { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 2rem; align-items: center; }
.ni-kible__stage { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin: 0 auto; }
.ni-kible__dial { width: 100%; height: 100%; transition: transform .25s ease-out; }
.ni-kible__dial svg { width: 100%; height: 100%; overflow: visible; }
.ni-kible__ring { fill: var(--_s); stroke: var(--_b); stroke-width: 2; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .12)); }
.ni-kible__tick { stroke: var(--_m); stroke-width: 1; opacity: .6; }
.ni-kible__tick.is-major { stroke-width: 2; opacity: 1; }
.ni-kible__n { fill: #c0392b; font-weight: 700; font-size: 14px; }
.ni-kible__l { fill: var(--_m); font-size: 12px; font-weight: 600; }
.ni-kible__arrow { fill: var(--_p); }
.ni-kible__kaaba { fill: #1a1a1a; }
.ni-kible__hub { fill: var(--_a); }
.ni-kible__phone-mark { position: absolute; left: 50%; top: -12px; width: 0; height: 0; transform: translateX(-50%); border: 9px solid transparent; border-top: 14px solid var(--_a); }
.ni-kible.is-aligned .ni-kible__ring { stroke: var(--_p); stroke-width: 6; }
.ni-kible__angle { font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 700; margin: 0; color: var(--_p); font-variant-numeric: tabular-nums; }
.ni-kible__angle small { font-size: 1rem; color: var(--_m); margin-left: .5rem; font-weight: 500; }
.ni-kible__status { font-size: 1.05rem; min-height: 1.5em; }
.ni-kible.is-aligned .ni-kible__status { color: var(--_p); font-weight: 700; }
@media (max-width: 760px) { .ni-kible { grid-template-columns: 1fr; text-align: center; } .ni-kible .ni-actions { justify-content: center; } .ni-kible .ni-note { justify-content: center; } }

/* ---------------------------------------------------------------- Kuran */
.ni-kuran-search { display: flex; align-items: center; gap: .6rem; background: var(--_s); border: 1px solid var(--_b); border-radius: 999px; padding: .35rem .35rem .35rem 1rem; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .35); color: var(--_m); }
.ni-kuran-search input { flex: 1; border: 0 !important; outline: 0; background: transparent !important; font: inherit; font-size: 1rem; padding: .5rem 0 !important; color: var(--_t); box-shadow: none !important; min-width: 0; }
.ni-surah-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem; }
.ni-surah-grid a { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: var(--_s); border: 1px solid var(--_b); color: var(--_t); text-decoration: none; transition: border-color .15s, transform .15s; }
.ni-surah-grid a:hover { border-color: var(--_p); transform: translateY(-1px); }
.ni-surah-grid__no { width: 38px; height: 38px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--_p); background: var(--_s2); border-radius: 10px; transform: rotate(45deg); }
.ni-surah-grid__no { transform: none; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); border-radius: 0; width: 40px; height: 40px; }
.ni-surah-grid__name { font-weight: 600; display: flex; flex-direction: column; }
.ni-surah-grid__name small { color: var(--_m); font-weight: 400; font-size: .78rem; }
.ni-surah-grid__ar { font-family: var(--_ar); font-size: 1.35rem; color: var(--_p); }
.ni-results { display: grid; gap: .6rem; }
.ni-result { display: grid; gap: .35rem; padding: 1rem 1.1rem; background: var(--_s); border: 1px solid var(--_b); border-radius: 14px; color: var(--_t); text-decoration: none; }
.ni-result:hover { border-color: var(--_p); }
.ni-result__ref { font-weight: 700; color: var(--_p); font-size: .9rem; }
.ni-result__ar { font-family: var(--_ar); font-size: 1.3rem; line-height: 2; }
.ni-result mark { background: color-mix(in srgb, var(--_a) 40%, transparent); color: inherit; padding: 0 .1em; border-radius: 3px; }

.ni-surah-head { text-align: center; padding: 1.5rem 1rem 1.25rem; margin-bottom: 1rem; border-radius: calc(var(--_r) + 6px); background: linear-gradient(180deg, var(--_s) 0%, var(--_s2) 100%); border: 1px solid var(--_b); position: relative; }
.ni-surah-head__no { display: inline-grid; place-items: center; width: 52px; height: 52px; font-size: .85rem; font-weight: 700; color: #fff; background: var(--_p); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ni-surah-head__ar { font-family: var(--_ar); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--_p); line-height: 1.8; margin: .25rem 0; }
.ni-surah-head__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; color: var(--_m); font-size: .9rem; }
.ni-surah-head__meta li + li::before { content: "·"; margin-right: 1rem; }

.ni-player { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 999px; background: var(--_p); color: #fff; position: sticky; top: calc(var(--ni-header-h, 64px) + 8px); z-index: 20; box-shadow: 0 14px 30px -18px rgba(10, 63, 56, .9); margin-bottom: 1rem; }
.ni-player__btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--_p); display: grid; place-items: center; cursor: pointer; }
.ni-player__btn .ni-ico { width: 22px; height: 22px; fill: currentColor; }
.ni-player .ni-ico-pause, .ni-player.is-playing .ni-ico-play { display: none; }
.ni-player.is-playing .ni-ico-pause { display: block; }
.ni-player__main { flex: 1; min-width: 0; }
.ni-player__title { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ni-player__title span { opacity: .75; font-weight: 400; }
.ni-player__seek { width: 100%; accent-color: var(--_a); height: 16px; margin: .1rem 0; }
.ni-player__time { font-size: .72rem; opacity: .8; font-variant-numeric: tabular-nums; }
.ni-player__rec select { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: .4rem .7rem; font: inherit; font-size: .82rem; max-width: 150px; }
.ni-player__rec option { color: #111; }
.ni-player.is-error .ni-player__time { color: #ffd7a1; }
@media (max-width: 560px) { .ni-player { border-radius: 18px; flex-wrap: wrap; } .ni-player__rec { width: 100%; } .ni-player__rec select { max-width: none; width: 100%; } }

.ni-kuran-tools { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ni-select { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--_m); }
.ni-select select { font: inherit; font-size: .92rem; color: var(--_t); padding: .45rem .7rem; border-radius: 10px; border: 1px solid var(--_b); background: var(--_s); max-width: 260px; }
.ni-toggles { display: inline-flex; background: var(--_s2); border-radius: 99px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.ni-toggle { border: 0; background: transparent; padding: .4rem .8rem; border-radius: 99px; font: inherit; font-size: .85rem; color: var(--_m); cursor: pointer; }
.ni-toggle.is-on { background: var(--_s); color: var(--_p); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.ni-fontsize { display: inline-flex; gap: .3rem; }
.ni-fontsize button { border: 1px solid var(--_b); background: var(--_s); color: var(--_t); border-radius: 8px; padding: .35rem .6rem; font: inherit; font-size: .85rem; cursor: pointer; }
.ni-besmele { font-family: var(--_ar); text-align: center; font-size: calc(1.9rem * var(--ni-ar-scale, 1)); color: var(--_p); margin: .5rem 0 1rem; line-height: 2; }
.ni-ayahs { display: grid; gap: .75rem; }
.ni-ayah { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: 1rem 1.25rem 1.1rem; scroll-margin-top: calc(var(--ni-header-h, 64px) + 90px); transition: box-shadow .3s, border-color .3s; }
.ni-ayah.is-target, .ni-ayah:target { border-color: var(--_a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--_a) 30%, transparent); }
.ni-ayah__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .25rem; }
.ni-ayah__ref { font-size: .8rem; font-weight: 700; color: var(--_p); text-decoration: none; background: var(--_s2); padding: .2rem .6rem; border-radius: 99px; }
.ni-ayah__acts { display: inline-flex; gap: .25rem; }
.ni-ayah__acts button { border: 0; background: transparent; color: var(--_m); padding: .3rem; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.ni-ayah__acts button:hover { background: var(--_s2); color: var(--_p); }
.ni-ayah__acts .ni-ico { width: 18px; height: 18px; }
.ni-ayah__ar { font-family: var(--_ar); font-size: calc(1.75rem * var(--ni-ar-scale, 1)); line-height: 2.25; text-align: right; margin: .25rem 0 .5rem; color: var(--_t); word-spacing: .08em; }
.ni-ayah__end { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 .2em; font-size: .6em; line-height: 1; border: 1.5px solid var(--_a); border-radius: 50%; color: var(--_p); vertical-align: middle; font-family: var(--_ar); }
.ni-ayah__okunus { font-style: italic; color: var(--_p2); margin: 0 0 .5rem; font-size: .98rem; }
.ni-ayah__meal { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.ni-ayah__tefsir { margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed var(--_b); font-family: var(--_ar); font-size: 1.15rem; line-height: 2; color: var(--_m); }
.ni-kuran-sure.hide-ar .ni-ayah__ar, .ni-kuran-sure.hide-ar .ni-besmele { display: none; }
.ni-kuran-sure.hide-meal .ni-ayah__meal { display: none; }
.ni-kuran-sure.hide-okunus .ni-ayah__okunus { display: none; }
.ni-kuran-sure.is-loading .ni-ayah__meal { opacity: .4; }
.ni-ayah--single .ni-ayah__ar { font-size: calc(2.2rem * var(--ni-ar-scale, 1)); text-align: center; }
.ni-meal-block { margin: 0 0 .75rem; padding: .9rem 1.1rem; border-left: 3px solid var(--_b); background: var(--_bg); border-radius: 0 12px 12px 0; }
.ni-meal-block.is-primary { border-left-color: var(--_p); }
.ni-meal-block blockquote { margin: 0; padding: 0; border: 0; font-size: 1.08rem; line-height: 1.7; font-style: normal; }
.ni-meal-block blockquote p { margin: 0; }
.ni-meal-block figcaption { margin-top: .35rem; font-size: .8rem; color: var(--_m); }
.ni-details { margin-top: 1rem; border: 1px solid var(--_b); border-radius: 12px; padding: .75rem 1rem; }
.ni-details summary { cursor: pointer; font-weight: 600; color: var(--_p); }
.ni-tefsir-text { font-family: var(--_ar); font-size: 1.2rem; line-height: 2.1; margin: .75rem 0 0; }
.ni-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; margin: 1.5rem 0 .5rem; }
.ni-pager a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--_t); }
.ni-pager a span { display: flex; flex-direction: column; font-weight: 600; }
.ni-pager small { color: var(--_m); font-weight: 400; font-size: .75rem; }
.ni-pager__prev { justify-self: start; }
.ni-pager__next { justify-self: end; text-align: right; }
.ni-pager__all { font-size: .9rem; padding: .45rem .9rem; border: 1px solid var(--_b); border-radius: 99px; }

/* Günün ayeti */
.ni-daily-ayah { margin: 0; }
.ni-daily-ayah__ar { font-family: var(--_ar); font-size: 1.55rem; line-height: 2.1; text-align: center; color: var(--_p); margin: 0 0 .5rem; }
.ni-daily-ayah__meal { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.65; text-align: center; font-style: normal; }
.ni-daily-ayah__meal p { margin: 0; }
.ni-daily-ayah figcaption { text-align: center; margin-top: .6rem; font-size: .85rem; }
.ni-daily-ayah figcaption a { color: var(--_a); font-weight: 600; text-decoration: none; }

/* Dini günler */
.ni-events { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ni-event { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; align-items: start; padding: 1rem; background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); }
.ni-event.is-past { opacity: .55; }
.ni-event__date { text-align: center; border-radius: 12px; background: var(--_s2); padding: .5rem .25rem; }
.ni-event.is-night .ni-event__date { background: #1e2b3d; color: #fff; }
.ni-event__day { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.ni-event__mon { font-size: .78rem; }
.ni-event__body h3 { margin: 0 0 .15rem; font-size: 1.08rem; }
.ni-event__meta { margin: 0 0 .35rem; font-size: .82rem; color: var(--_p); font-weight: 600; }
.ni-event__body p:last-child { margin: 0; color: var(--_m); font-size: .92rem; }
.ni-mini-events { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ni-mini-events li { display: flex; gap: .75rem; align-items: center; }
.ni-mini-events__date { flex: none; width: 48px; text-align: center; background: var(--_s2); border-radius: 10px; padding: .3rem 0; font-size: .72rem; color: var(--_m); line-height: 1.1; }
.ni-mini-events__date b { display: block; font-size: 1.15rem; color: var(--_t); }
.ni-mini-events__name { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; }
.ni-mini-events__name small { font-weight: 400; color: var(--_m); font-size: .8rem; }
.ni-mini-events__more { margin: .75rem 0 0; font-size: .9rem; }
.ni-mini-events__more a { display: inline-flex; gap: .3rem; align-items: center; }
.ni-mini-events__more .ni-ico { width: 16px; height: 16px; }

/* Zikirmatik */
.ni-zikir { text-align: center; }
.ni-zikir__presets { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1.5rem; }
.ni-chip-btn { border: 1px solid var(--_b); background: var(--_s); color: var(--_t); border-radius: 99px; padding: .45rem .9rem; font: inherit; font-size: .9rem; cursor: pointer; }
.ni-chip-btn small { color: var(--_m); margin-left: .2rem; }
.ni-chip-btn.is-active { background: var(--_p); color: #fff; border-color: var(--_p); }
.ni-chip-btn.is-active small { color: rgba(255, 255, 255, .75); }
.ni-zikir__tap { position: relative; width: min(78vw, 300px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 30% 25%, var(--_p2), var(--_p) 60%, #0a3f38); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 30px 60px -30px rgba(10, 63, 56, .9), inset 0 -8px 20px rgba(0, 0, 0, .15); -webkit-tap-highlight-color: transparent; user-select: none; transition: transform .08s; font: inherit; }
.ni-zikir__tap:active { transform: scale(.97); }
.ni-zikir__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.ni-zikir__ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 5; }
.ni-zikir__ring .ni-zikir__progress { stroke: var(--_a); stroke-linecap: round; transition: stroke-dashoffset .2s; }
.ni-zikir__count { font-size: clamp(3.5rem, 16vw, 5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ni-zikir__label { font-size: 1.05rem; margin-top: .35rem; opacity: .95; }
.ni-zikir__target { font-size: .85rem; opacity: .7; }
.ni-zikir.is-done .ni-zikir__tap { box-shadow: 0 0 0 6px var(--_a), 0 30px 60px -30px rgba(10, 63, 56, .9); }
.ni-switch { display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; color: var(--_m); }

/* Kaza */
.ni-card-form { background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); padding: clamp(1rem, 3vw, 1.5rem); margin-bottom: 1.25rem; }
.ni-card-form h2 { font-size: 1.2rem; }
.ni-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem 1rem; margin-bottom: 1rem; }
.ni-form-grid label, .ni-card-form > label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.ni-form-grid label > span { font-weight: 600; }
.ni-form-grid small { color: var(--_m); font-size: .78rem; }
.ni-form-grid input, .ni-form-grid select, .ni-form-grid textarea { font: inherit; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--_b); background: var(--_bg); color: var(--_t); width: 100%; box-sizing: border-box; }
.ni-form-grid input:focus, .ni-form-grid select:focus, .ni-form-grid textarea:focus { outline: 0; border-color: var(--_p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--_p) 18%, transparent); }
.ni-span-2 { grid-column: 1 / -1; }
.ni-check { display: flex !important; flex-direction: row !important; gap: .5rem; align-items: flex-start; font-size: .88rem; color: var(--_m); margin-bottom: 1rem; }
.ni-check input { margin-top: .2rem; }
.ni-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ni-kaza__result { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--_s2); border-radius: 12px; }
.ni-kaza__result p { margin: .3rem 0; }
.ni-big { font-size: 1.1rem; }
.ni-big b { font-size: 2.2rem; color: var(--_p); }
.ni-kaza__track { display: grid; gap: .4rem; }
.ni-kaza__row { display: grid; grid-template-columns: 1fr auto auto auto; gap: .6rem; align-items: center; padding: .55rem .75rem; border-radius: 12px; background: var(--_bg); }
.ni-kaza__name { font-weight: 600; }
.ni-kaza__left { font-size: .9rem; color: var(--_m); }
.ni-kaza__left b { color: var(--_t); font-variant-numeric: tabular-nums; }

/* Uyarılar */
.ni-alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; border: 1px solid; }
.ni-alert--ok { background: #e9f7ef; border-color: #b7e2c8; color: #185c34; }
.ni-alert--err { background: #fdecec; border-color: #f3c2c2; color: #8a1f1f; }

/* Diyalog */
.ni-dialog { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 820px); border: 0; border-radius: 20px; padding: 0; background: var(--_bg); color: var(--_t); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.ni-dialog::backdrop { background: rgba(10, 20, 18, .55); backdrop-filter: blur(3px); }
.ni-dialog[open] { display: flex; flex-direction: column; }
.ni-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem .5rem; }
.ni-dialog__head h2 { margin: 0; font-size: 1.2rem; }
.ni-dialog__close { border: 0; background: var(--_s2); color: var(--_t); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; }
.ni-dialog__tools { display: flex; flex-wrap: wrap; gap: .6rem; padding: .25rem 1.25rem .75rem; }
.ni-dialog__tools .ni-search { flex: 1; }
.ni-dialog__body { overflow-y: auto; padding: 0 1.25rem 1.25rem; }
.ni-city-grid--buttons button { font-size: .88rem; }

/* Bildirim */
.ni-toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: #111a18; color: #fff; padding: .7rem 1.1rem; border-radius: 99px; font-size: .9rem; opacity: 0; transition: .25s; z-index: 9999; pointer-events: none; }
.ni-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* Ses (eski yazılar) */
.ni-audio { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.ni-audio audio { flex: 1; min-width: 240px; }
.ni-audio-dl { font-size: .85rem; }
.ni-embed { position: relative; aspect-ratio: 16 / 9; margin: 1rem 0; border-radius: var(--ni-radius, 16px); overflow: hidden; background: #000; }
.ni-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.ni-sitemap section { margin-bottom: 1.5rem; }
.ni-sitemap ul { columns: 2 260px; padding-left: 1.1rem; }
.ni-popular { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }

@media print {
	.ni-actions, .ni-note, .ni-vakit__foot, .ni-player, .ni-kuran-tools { display: none !important; }
	.ni-vakit { background: #fff !important; color: #000 !important; box-shadow: none; border: 1px solid #999; }
	.ni-vakit__item.is-next { box-shadow: none; }
	.ni-table-wrap { border: 0; overflow: visible; }
}

/* ---------------------------------------------------------------- Esmâü'l-Hüsnâ */
.ni-esma-star { position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none; }
.ni-esma-star svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ni-esma-star rect { fill: color-mix(in srgb, var(--_a) 14%, transparent); stroke: var(--_a); stroke-width: 3; }
.ni-esma-star b { position: relative; font-size: .9rem; color: var(--_p); font-weight: 700; }
.ni-esma-card { margin: 0 0 2rem; }
.ni-esma-card__frame { position: relative; text-align: center; padding: 2rem 1.25rem 1.75rem; border-radius: calc(var(--_r) + 8px); color: #fff; background: radial-gradient(120% 140% at 50% 0%, var(--_p2) 0%, var(--_p) 50%, #0a3f38 100%); box-shadow: 0 24px 48px -30px rgba(10, 63, 56, .9); overflow: hidden; isolation: isolate; }
.ni-esma-card__frame::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(200, 162, 74, .55); border-radius: calc(var(--_r) + 2px); pointer-events: none; }
.ni-esma-card__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Ccircle cx='32' cy='32' r='9'/%3E%3C/g%3E%3C/svg%3E"); background-size: 64px; }
.ni-esma-card__frame .ni-esma-star rect { fill: rgba(255, 255, 255, .08); }
.ni-esma-card__frame .ni-esma-star b { color: #fff; }
.ni-esma-card__ar { font-family: var(--_ar); font-size: clamp(3rem, 12vw, 5.2rem); line-height: 1.6; margin: .25rem 0 0; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.ni-esma-card__tr { font-family: var(--font-serif, Georgia, serif); font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--_a); }
.ni-esma-card__anlam { max-width: 36rem; margin: .5rem auto 0; font-size: 1.05rem; opacity: .92; }
.ni-esma-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; margin: 1rem 0; }
.ni-esma-facts > div { background: var(--_s); border: 1px solid var(--_b); border-radius: 12px; padding: .6rem .85rem; }
.ni-esma-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--_m); }
.ni-esma-facts dd { margin: .1rem 0 0; font-weight: 600; }
.ni-esma-facts dd[lang=ar] { font-family: var(--_ar); font-size: 1.35rem; font-weight: 400; }
.ni-esma-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; }
.ni-esma-nav a { display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; color: var(--_t); font-weight: 600; font-size: .95rem; }
.ni-esma-nav small { color: var(--_m); font-weight: 400; }
.ni-esma-nav__next { justify-self: end; }
.ni-esma-nav__all { padding: .4rem .9rem; border: 1px solid var(--_b); border-radius: 99px; font-size: .88rem !important; }
.ni-esma-intro { text-align: center; max-width: 46rem; margin: 0 auto 1.5rem; }
.ni-esma-intro__ar { font-family: var(--_ar); font-size: 2rem; color: var(--_p); margin: 0; line-height: 2; }
.ni-esma-intro .ni-search { margin: 1rem auto 0; max-width: 420px; }
.ni-esma-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.ni-esma-grid a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1rem .75rem 1.1rem; height: 100%; background: var(--_s); border: 1px solid var(--_b); border-radius: var(--_r); text-decoration: none; color: var(--_t); transition: transform .15s, border-color .15s, box-shadow .15s; }
.ni-esma-grid a:hover { transform: translateY(-2px); border-color: var(--_a); box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .4); }
.ni-esma-grid .ni-esma-star { position: absolute; top: 8px; left: 8px; width: 38px; height: 38px; }
.ni-esma-grid .ni-esma-star b { font-size: .75rem; }
.ni-esma-grid__ar { font-family: var(--_ar); font-size: 2.3rem; line-height: 1.8; color: var(--_p); margin-top: .5rem; }
.ni-esma-grid__tr { font-weight: 700; font-family: var(--font-serif, Georgia, serif); }
.ni-esma-grid__anlam { font-size: .82rem; color: var(--_m); line-height: 1.45; }
.ni-ayet-box { margin: 1.5rem 0; padding: 1.25rem 1.4rem; background: var(--_s); border: 1px solid var(--_b); border-right: 4px solid var(--_a); border-radius: var(--_r); }
.ni-ayet-box__ar { font-family: var(--_ar); font-size: 1.7rem; line-height: 2.2; text-align: right; color: var(--_p); margin: 0 0 .6rem; }
.ni-ayet-box__meal { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 1.02rem; }
.ni-ayet-box__meal p { margin: 0; }
.ni-ayet-box figcaption { margin-top: .5rem; font-size: .85rem; }
.ni-ayet-box figcaption a { color: var(--_a); font-weight: 600; text-decoration: none; }
.ni-sources { margin-top: 2rem; padding-top: 1rem; border-top: 1px dashed var(--_b); color: var(--_m); }