/* ==========================================================
   NUHA Build 240 — FRONT PAGES MUSHAF (HALAMAN 1–2 SAJA)
   Al-Fatihah dan awal Al-Baqarah memakai layout frontispiece
   khusus. Jangan bentangkan kata dengan space-between seperti
   halaman 3–604. Semua glyph QCF, marker, line map, header,
   swipe, dan halaman normal tetap dikunci.
   ========================================================== */

body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty),
body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty),
body.preview-phone.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty),
body.preview-phone.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.10em!important;
  width:100%!important;
  min-width:0!important;
  padding-inline:2px!important;
  margin:0!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-align:center!important;
}

body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty) > .mushaf-glyph,
body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty) > .mushaf-ayah-end,
body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty) > .mushaf-glyph,
body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty) > .mushaf-ayah-end{
  flex:0 0 auto!important;
}

/* Sedikit ruang horizontal supaya baris pembuka tetap elegan di HP. */
body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-lines,
body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-lines{
  padding-inline:12px!important;
}

@media(max-width:560px){
  body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-lines,
  body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-lines{
    padding-inline:7px!important;
  }
  body.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty),
  body.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty){
    gap:.075em!important;
    padding-inline:1px!important;
  }
}

body.preview-phone.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-lines,
body.preview-phone.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-lines{
  padding-inline:7px!important;
}
body.preview-phone.quran-reader-route .mushaf-page-final[data-page="1"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty),
body.preview-phone.quran-reader-route .mushaf-page-final[data-page="2"] .mushaf-line:not(.mushaf-special):not(.mushaf-empty){
  gap:.075em!important;
  padding-inline:1px!important;
}
