/* Adhkar, zikr, tasbeeh */
.az-bar { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.az-bar-inner { display: flex; align-items: center; gap: 12px; }
.az-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.az-tabs::-webkit-scrollbar { display: none; }
.az-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-family: var(--font-head); font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; }
.az-tab:hover { border-color: var(--accent); }
.az-tab[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.az-tab .az-mini { font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.az-tab[aria-selected="true"] .az-mini { background: rgba(255,255,255,.18); color: var(--nq-gold-300); }
.az-tab.is-complete .az-mini { background: var(--success); color: #fff; }
.az-settings { display: flex; gap: 6px; flex: none; }
.az-head { display: flex; align-items: center; gap: 18px; padding: 20px 24px; flex-wrap: wrap; }
.az-head .az-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--nq-green-700), var(--nq-green-900)); color: var(--nq-gold-300); font-size: 1.6rem; flex: none; }
.az-head h2 { margin: 0; font-size: 1.4rem; }
.az-head .az-prog { flex: 1 1 220px; }
.az-head.is-complete { border-color: var(--success); }
.az-complete-msg { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 85%, var(--success)); color: var(--text); font-weight: 600; animation: nq-toast-in .5s var(--ease-out); }
.az-complete-msg i { color: var(--success); font-size: 1.3rem; }
.zikr-card .zk-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.zikr-card .zk-idx { font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--muted); }
.zikr-card .zk-trans { display: none; }
body.az-show-trans .zikr-card .zk-trans { display: block; }
html[lang="en"] body .zikr-card .zk-trans { display: block; }
.zk-target { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.zk-target input { width: 64px; padding: 4px 8px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); text-align: center; }
.zk-tools { display: flex; gap: 4px; align-items: center; }
.zikr-card .zk-text.quran-text { font-size: 1.5rem; }
.zikr-card .zk-src a { color: inherit; }
.zk-counter .zk-lbl { font-size: .9rem; }
.zikr-card.is-done .zk-counter .zk-ring .fg { stroke: #fff; }

/* single zikr */
.zd-card { padding: clamp(24px, 4vw, 48px); text-align: center; }
.zd-card .zk-text { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 2.1; color: var(--quran-ink); direction: rtl; margin-bottom: 18px; }
.zd-card .zk-text.quran-text { font-family: var(--font-quran); text-align: center; }
.zd-card .zd-trans { color: var(--muted); font-size: 1.05rem; direction: ltr; max-width: 760px; margin: 0 auto 18px; font-style: italic; }
.zd-counter { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.big-count { position: relative; width: 210px; height: 210px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff3d6, #d6b878 55%, #a8823a); box-shadow: 0 24px 50px -18px rgba(168,130,58,.75), inset 0 -10px 22px rgba(0,0,0,.15); color: var(--nq-green-950); font-family: var(--font-head); transition: transform .12s; -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation; }
.big-count:active { transform: scale(.95); }
.big-count svg { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); pointer-events: none; }
.big-count svg circle { fill: none; stroke-width: 5; }
.big-count svg .bg { stroke: var(--surface-3); }
.big-count svg .fg { stroke: var(--nq-green-600); stroke-linecap: round; transition: stroke-dashoffset .3s var(--ease); }
.big-count b { display: block; font-size: 3.4rem; line-height: 1; }
.big-count small { font-weight: 700; font-size: .9rem; }
.big-count.is-done { background: radial-gradient(circle at 35% 30%, #c9f0dc, #2d8a5f 65%, #1d6b52); color: #fff; }
.big-count.bump { animation: nq-pop .25s var(--ease); }

/* tasbeeh page */
.tb-stage { position: relative; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 56px); text-align: center; color: #f2e9d2; overflow: hidden; isolation: isolate; background: radial-gradient(120% 100% at 50% 0%, #1b6a53 0%, #0b3127 55%, #041a14 100%); border: 1px solid rgba(214,184,120,.22); }
.tb-stage .tb-phrase { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff3d6; margin-bottom: 6px; min-height: 1.6em; }
.tb-stage .tb-sub { color: rgba(237,228,204,.7); margin-bottom: 22px; }
.tb-stage .big-count { width: min(260px, 66vw); height: min(260px, 66vw); }
.tb-stage .big-count b { font-size: clamp(3.2rem, 8vw, 4.4rem); }
.tb-stage .big-count svg .bg { stroke: rgba(230,207,156,.15); }
.tb-stage .big-count svg .fg { stroke: var(--nq-gold-300); }
.tb-meta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.tb-meta div { min-width: 104px; padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(230,207,156,.2); }
.tb-meta b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--nq-gold-300); line-height: 1.2; }
.tb-meta span { font-size: .8rem; color: rgba(237,228,204,.7); }
.tb-ctrls { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tb-panel { padding: 22px; }
.tb-panel h2 { font-size: 1.05rem; margin-bottom: 12px; }
.tb-phrases { display: grid; gap: 8px; }
.tb-phrases button { text-align: start; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: border-color .2s; }
.tb-phrases button small { font-family: var(--font-body); font-size: .78rem; color: var(--muted); }
.tb-phrases button.is-active { border-color: var(--accent); background: var(--accent-soft); }
.tb-hist { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; }
.tb-hist li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.tb-hist li span:first-child { font-family: var(--font-display); }
.tb-hist small { color: var(--muted); }
.tb-focus .site-header, .tb-focus .site-footer, .tb-focus .page-hero, .tb-focus .tb-aside, .tb-focus .mini-player { display: none !important; }
.tb-focus .tb-main { grid-column: 1 / -1; }
.tb-focus main { min-height: 100vh; display: flex; align-items: center; }
.tb-focus .tb-stage { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; }
.tb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .tb-layout { grid-template-columns: 1fr; } }
.zk-basmala { font-family: var(--font-quran); color: var(--accent-strong); font-size: 1.15rem; text-align: center; margin: 0 0 4px; direction: rtl; }
.zd-card .zk-basmala { font-size: 1.5rem; }
