/* Visual Fikr — المصحف المجوَّد: ألوان الأحكام (على نسق مصحف التجويد — دار المعرفة) لوضعي النهار والليل — Visual Fikr | Amgad Nasser © 2026 */
.mushaf .tj { cursor: help; }
/* النهار (خلفية #fffaf0) */
.tj-ml { color: #8e0c1c; } .tj-mw, .tj-mj { color: #d4161b; } .tj-ma { color: #d0600b; } .tj-mt { color: #a8740f; }
.tj-gh, .tj-ig, .tj-igs { color: #108a3a; } .tj-ik, .tj-iks { color: #4b8a08; } .tj-iq { color: #0b7f73; }
.tj-in, .tj-ij, .tj-iqb, .tj-igx, .tj-im { color: #6e7a91; } .tj-qq { color: #1773d1; } .tj-hw, .tj-ls, .tj-sl { color: #8a8a85; }
/* الليل (خلفية #0c211d) */
[data-theme="night"] .tj-ml { color: #ff4d64; } [data-theme="night"] .tj-mw, [data-theme="night"] .tj-mj { color: #ff8278; } [data-theme="night"] .tj-ma { color: #ffa94d; } [data-theme="night"] .tj-mt { color: #e8c170; }
[data-theme="night"] .tj-gh, [data-theme="night"] .tj-ig, [data-theme="night"] .tj-igs { color: #52e08a; } [data-theme="night"] .tj-ik, [data-theme="night"] .tj-iks { color: #b9e46a; } [data-theme="night"] .tj-iq { color: #4fd8c8; }
[data-theme="night"] .tj-in, [data-theme="night"] .tj-ij, [data-theme="night"] .tj-iqb, [data-theme="night"] .tj-igx, [data-theme="night"] .tj-im { color: #a9b5cc; } [data-theme="night"] .tj-qq { color: #74bcff; } [data-theme="night"] .tj-hw, [data-theme="night"] .tj-ls, [data-theme="night"] .tj-sl { color: #7f8c86; }
/* التفخيم (طبقة اختيارية) */
.tj-tf { color: #6a2fc4; } [data-theme="night"] .tj-tf { color: #c7a8ff; }
.tjk-t { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 0 6px; cursor: pointer; } .tjk-t input { accent-color: var(--gold, #c9a24a); }
/* المربعات (المفتاح والنافذة) بلون الحكم نفسه */
.tjs { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: currentColor; flex: none; vertical-align: -1px; margin-inline-end: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
/* مفتاح الألوان (أسفل كل صفحة) */
.tjk { margin: 8px 0 2px; border: 1px solid rgba(201,162,74,.35); border-radius: 12px; padding: 4px 10px; font-family: 'Tajawal', sans-serif; font-size: 12.5px; color: inherit; background: rgba(201,162,74,.06); }
.tjk summary { cursor: pointer; font-weight: 800; color: var(--goldd); padding: 4px 0; list-style-position: inside; }
[data-theme="night"] .tjk summary { color: var(--gold); }
.tjk-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; font-size: 12px; padding: 4px 0 6px; }
.tjk-g span { display: flex; align-items: center; line-height: 1.45; }
@media (min-width: 700px) { .tjk-g { grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 12.5px; } }
.tjk-g span .tjs { margin-inline-end: 6px; }
.tjk-n { display: block; color: var(--mut); font-size: 11px; line-height: 1.6; padding-bottom: 4px; } .tjk-n a { color: inherit; white-space: nowrap; }
/* نافذة الحكم */
.tjp { position: fixed; z-index: 80; background: var(--card, #fff); color: var(--ink, #1b1407); border: 1px solid rgba(201,162,74,.5); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.28); padding: 10px 12px 12px; font-family: 'Tajawal', sans-serif; direction: rtl; }
[data-theme="night"] .tjp { background: #102a25; color: #efe6cf; }
.tjp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px dashed rgba(201,162,74,.4); padding-bottom: 6px; margin-bottom: 6px; }
.tjp-l { font-family: 'Amiri Quran', 'Amiri', serif; font-size: 30px; line-height: 1.6; font-weight: 400; padding: 0 6px; }
.tjp-r { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; } .tjp-r .tjs { margin-top: 5px; }
.tjp-r b { font-size: 14.5px; } .tjp-r p { margin: 2px 0 0; font-size: 13px; line-height: 1.65; color: var(--mut); }
.tjp-play { width: 100%; margin-top: 8px; }
/* زر التبديل */
#r-tj .tjd { display: inline-flex; gap: 2px; } #r-tj .tjd i { width: 6px; height: 6px; border-radius: 50%; display: block; }
#r-tj .tjd i:nth-child(1) { background: #d4161b; } #r-tj .tjd i:nth-child(2) { background: #108a3a; } #r-tj .tjd i:nth-child(3) { background: #1773d1; }
#r-tj { opacity: .7; } #r-tj.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold, #c9a24a); }
/* v69: زر التجويد أيقونة خطية متّسقة مع شريط المصحف، والنقاط الملوّنة صغيرة داخلها */
#r-tj svg circle { stroke: none; } #r-tj .tj1 { fill: #d4161b; } #r-tj .tj2 { fill: #108a3a; } #r-tj .tj3 { fill: #1773d1; }
