
@font-face{font-family:"Uthmanic Hafs";src:url("../../../assets/fonts/UthmanicHafs1Ver18.woff2") format("woff2");font-display:swap;font-style:normal;font-weight:400}
:root{
  --qhos-bg:#f7f7f2;
  --qhos-card:#ffffff;
  --qhos-text:#18221d;
  --qhos-muted:#6f7d75;
  --qhos-accent:#1f6b4f;
  --qhos-accent-2:#d9efe5;
  --qhos-border:#e5e9e6;
  --qhos-arabic-size:2.2rem;
}
.qhos-shell.qhos-dark{
  --qhos-bg:#111613; --qhos-card:#18201c; --qhos-text:#f3f5f3; --qhos-muted:#aab5af;
  --qhos-accent:#8fd5b4; --qhos-accent-2:#20382d; --qhos-border:#2b3630;
}
.qhos-shell{background:var(--qhos-bg);color:var(--qhos-text);min-height:100vh;max-width:760px;margin:auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-bottom:82px}
.qhos-topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:color-mix(in srgb,var(--qhos-bg) 94%, transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--qhos-border)}
.qhos-kicker{font-size:.68rem;letter-spacing:.14em;color:var(--qhos-accent);font-weight:800}
.qhos-title{font-size:1.15rem;margin:2px 0 0}
.qhos-top-actions{display:flex;gap:8px}
.qhos-icon-btn,.qhos-text-btn,.qhos-chip,.qhos-primary,.qhos-bottom-nav button{border:0;cursor:pointer}
.qhos-icon-btn{width:40px;height:40px;border-radius:13px;background:var(--qhos-card);color:var(--qhos-text);border:1px solid var(--qhos-border);font-weight:700}
.qhos-main{padding:14px}
.qhos-view{display:none}.qhos-view.is-active{display:block}
.qhos-hero{background:linear-gradient(135deg,var(--qhos-card),var(--qhos-accent-2));border:1px solid var(--qhos-border);border-radius:24px;padding:24px 18px;margin-bottom:22px}
.qhos-bismillah{font-family:"Amiri","Noto Naskh Arabic","Times New Roman",serif;text-align:center;font-size:2rem;line-height:1.8}
.qhos-hero-copy{text-align:center;color:var(--qhos-muted);margin:4px 0 16px}
.qhos-primary{display:block;width:100%;background:var(--qhos-accent);color:#fff;padding:13px 16px;border-radius:14px;font-weight:700}
.qhos-reading-summary{text-align:center;margin-top:10px;color:var(--qhos-muted);font-size:.82rem;line-height:1.5}
.qhos-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.qhos-section-head h2{font-size:1.05rem;margin:0}
.qhos-section-head input{max-width:180px;width:48%;padding:10px 12px;border-radius:12px;border:1px solid var(--qhos-border);background:var(--qhos-card);color:var(--qhos-text)}
.qhos-surah-list{display:grid;gap:9px}
.qhos-surah{display:flex;align-items:center;gap:12px;background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:16px;padding:12px;cursor:pointer}
.qhos-num{display:grid;place-items:center;min-width:38px;height:38px;border-radius:12px;background:var(--qhos-accent-2);color:var(--qhos-accent);font-weight:800}
.qhos-surah-main{flex:1}.qhos-surah-main strong{display:block}.qhos-surah-main small{color:var(--qhos-muted)}
.qhos-surah-ar{font-family:"Amiri","Noto Naskh Arabic",serif;font-size:1.4rem}
.qhos-reader-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.qhos-text-btn{background:none;color:var(--qhos-accent);padding:6px 0;font-weight:700}
.qhos-reader-title{font-weight:800;font-size:1.05rem}.qhos-muted{color:var(--qhos-muted);font-size:.88rem}
.qhos-reader-tools{display:flex;gap:8px;overflow:auto;padding:4px 0 12px}
.qhos-chip{white-space:nowrap;padding:9px 12px;border-radius:999px;background:var(--qhos-card);border:1px solid var(--qhos-border);color:var(--qhos-text)}
.qhos-chip.is-active{background:var(--qhos-accent);color:#fff;border-color:var(--qhos-accent)}
.qhos-ayahs{display:grid;gap:12px}
.qhos-mushaf{display:none}.qhos-mushaf-mode .qhos-ayahs{display:none}.qhos-mushaf-mode .qhos-mushaf{display:grid;gap:18px}.qhos-mushaf-sheet{position:relative;background:#fffdf8;color:#17130c;border:1px solid #bfb58f;border-radius:5px;padding:17px 15px 11px;box-shadow:0 5px 18px rgba(67,53,20,.09)}.qhos-mushaf-sheet:before{content:"";position:absolute;inset:6px;border:1px solid #a99b66;border-radius:2px;pointer-events:none}.qhos-mushaf-sheet header{position:relative;display:flex;justify-content:space-between;align-items:center;margin:0 7px 10px;padding:7px 11px;background:#f6f2df;border:1px solid #aa9b63;border-radius:3px;font-family:serif}.qhos-mushaf-text{position:relative;display:block;width:100%;text-align:justify;text-align-last:center;font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic","Amiri",serif!important;font-size:clamp(25px,7vw,31px)!important;font-weight:400!important;line-height:2.05!important;word-spacing:.08em;padding:5px 9px}.qhos-mushaf-ayah{display:inline!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;border:0!important;background:none!important;color:#17130c!important;padding:0 1px!important;cursor:pointer;font:inherit!important;line-height:inherit!important;text-align:inherit!important;box-shadow:none!important}.qhos-mushaf-ayah span{display:inline!important;white-space:normal!important}.qhos-mushaf-ayah:hover,.qhos-mushaf-ayah:focus{background:#fff0ad!important;border-radius:3px}.qhos-mushaf-ayah i{display:inline!important;font-style:normal;font-size:.68em;color:#176447;white-space:nowrap}.qhos-mushaf-translations{position:relative;margin:12px 8px 3px;padding-top:9px;border-top:1px solid #d8cda8}.qhos-mushaf-translations p{margin:7px 0;line-height:1.65;font-size:.88rem}.qhos-mushaf-sheet footer{position:relative;text-align:center;margin-top:10px;color:#705e30;font-size:.75rem}
.qhos-ayah{background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:18px;padding:16px}
.qhos-ayah-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.qhos-ayah-actions{display:flex;gap:6px}
.qhos-mini{border:1px solid var(--qhos-border);background:var(--qhos-bg);color:var(--qhos-text);border-radius:10px;padding:7px 9px}
.qhos-arabic{direction:rtl;text-align:right;font-family:"Amiri","Noto Naskh Arabic","Times New Roman",serif;font-size:var(--qhos-arabic-size);line-height:2.15;margin:8px 0 14px}
.qhos-translation{font-size:.98rem;line-height:1.7;color:var(--qhos-text)}
.qhos-meta{font-size:.75rem;color:var(--qhos-muted);margin-top:10px}
.qhos-card{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.qhos-reading-progress{display:grid;grid-template-columns:1fr auto;gap:9px 12px;align-items:center;margin-bottom:12px;padding:15px;background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:16px}.qhos-reading-progress strong,.qhos-reading-progress>b{color:var(--qhos-accent)}.qhos-reading-progress>span{grid-column:1/-1;height:9px;overflow:hidden;border-radius:99px;background:var(--qhos-accent-2)}.qhos-reading-progress>span>i{display:block;width:0;height:100%;border-radius:inherit;background:var(--qhos-accent);transition:width .3s}
.qhos-stat{background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:16px;padding:16px 8px;text-align:center}.qhos-stat strong{display:block;font-size:1.35rem;color:var(--qhos-accent)}.qhos-stat span{font-size:.77rem;color:var(--qhos-muted)}
.qhos-note{margin-top:14px;background:var(--qhos-card);border:1px dashed var(--qhos-border);border-radius:16px;padding:14px;color:var(--qhos-muted);line-height:1.6}
.qhos-bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:50;width:min(760px,100%);display:grid;grid-template-columns:repeat(3,1fr);background:var(--qhos-card);border-top:1px solid var(--qhos-border);padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
.qhos-bottom-nav button{background:none;color:var(--qhos-muted);font-size:1.1rem;padding:4px}.qhos-bottom-nav button span{display:block;font-size:.72rem;margin-top:2px}.qhos-bottom-nav button.is-active{color:var(--qhos-accent);font-weight:700}
.qhos-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(20px);opacity:0;background:#111;color:#fff;padding:9px 13px;border-radius:999px;font-size:.82rem;transition:.2s;z-index:99}.qhos-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.qhos-loading{padding:30px;text-align:center;color:var(--qhos-muted)}
.qhos-bookmark-list{display:grid;gap:10px}
.qhos-bookmark-item{background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:14px;padding:12px}
@media(min-width:700px){
 .qhos-main{padding:22px}.qhos-surah-list{grid-template-columns:1fr 1fr}
}

/* v0.5.4: continuous Mushaf flow, next ayah starts after the previous marker. */
.qhos-mushaf-text .qhos-mushaf-ayah{display:inline!important;width:auto!important;margin:0!important;padding:0 1px!important;text-align:inherit!important;white-space:normal!important}
.qhos-mushaf-text .qhos-mushaf-ayah span,.qhos-mushaf-text .qhos-mushaf-ayah i{display:inline!important}
.qhos-mushaf-text .qhos-mushaf-ayah i{margin-inline:0 .18em}
.qhos-mushaf-text span.qhos-mushaf-ayah{appearance:none!important;-webkit-appearance:none!important;contain:none!important;box-decoration-break:clone;cursor:pointer}
@media(max-width:420px){
 .qhos-mushaf-text{font-size:26px!important;line-height:1.95!important;padding-inline:6px}
}

/* v0.7.0: one interlinear Mushaf flow, without repeating the full ayah. */
.qhos-interlinear-flow{display:block!important;text-align:right!important;text-align-last:auto!important;line-height:1.35!important;word-spacing:0!important;padding-block:10px!important}.qhos-interlinear-flow .qhos-mushaf-ayah{display:inline!important;line-height:1.35!important}.qhos-interlinear-flow .qhos-break-word,.qhos-opener-interlinear .qhos-break-word{display:inline-flex!important;flex-direction:column!important;align-items:center;vertical-align:top;gap:1px;margin:3px 4px 9px;padding:1px 2px}.qhos-interlinear-flow .qhos-break-word>b,.qhos-opener-interlinear .qhos-break-word>b{display:block!important;font:400 clamp(24px,6.5vw,31px)/1.5 "Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic","Amiri",serif;color:#17130c;white-space:nowrap}.qhos-interlinear-flow .qhos-break-word>small,.qhos-opener-interlinear .qhos-break-word>small{display:flex!important;direction:rtl;align-items:center;gap:2px;font:400 clamp(13px,3.5vw,17px)/1.25 "Traditional Arabic","Noto Naskh Arabic",serif;color:#15704f;white-space:nowrap}.qhos-interlinear-flow .qhos-break-word>small i,.qhos-opener-interlinear .qhos-break-word>small i{display:inline!important;color:#15704f;font-size:inherit}.qhos-interlinear-flow .qhos-break-word>small em,.qhos-opener-interlinear .qhos-break-word>small em{font-style:normal;color:#c59b27;font:700 .6rem/1 system-ui,sans-serif}.qhos-interlinear-flow .qhos-ayah-marker{display:inline-block!important;vertical-align:middle;margin:0 1px 9px!important;font-size:1.05rem!important;line-height:2!important}.qhos-opener-interlinear{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:0;line-height:1.35}.qhos-card-interlinear{margin:8px 0 14px;padding:12px!important;background:var(--qhos-accent-2)}.qhos-card-interlinear .qhos-break-word>b{color:var(--qhos-text)}.qhos-card-interlinear .qhos-break-word{margin-block:2px 7px}

/* Continuous Surah reader without pages, page borders or page controls. */
.qhos-continuous-reader{background:#fffdf8;color:#17130c;border:1px solid #d8d0b7;border-radius:8px;padding:14px 13px;box-shadow:0 4px 16px rgba(67,53,20,.07)}
.qhos-continuous-surah{text-align:center;margin-bottom:10px;padding:7px;border-block:1px solid #b7a66c;background:#f7f2dd;font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic",serif;font-size:1.25rem}
.qhos-continuous-reader .qhos-mushaf-text{padding:3px 5px}
.qhos-flow-bismillah{text-align:center;padding:12px 5px 8px;font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic",serif;font-size:clamp(25px,7vw,31px);line-height:1.9;color:#17130c}
.qhos-fatiha-bismillah{cursor:pointer}.qhos-fatiha-bismillah i{font-style:normal;font-size:.68em;color:#176447;white-space:nowrap}
.qhos-surah-bismillah{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:12px;padding:15px;background:var(--qhos-card);border:1px solid var(--qhos-border);border-radius:16px}.qhos-surah-bismillah small{color:var(--qhos-muted);font-family:system-ui,"Noto Sans Bengali",sans-serif}.qhos-surah-bismillah b{font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic",serif;font-size:clamp(25px,7vw,31px);font-weight:400;line-height:1.8}

/* Optional Arabic-only word learning line */
.qhos-breakdown{
  direction:rtl;
  text-align:right;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  justify-content:flex-start;
  gap:8px 12px;
  padding:13px 12px;
  margin-top:-3px;
  border-radius:14px;
  background:var(--qhos-accent-2);
  align-items:flex-start;
}
.qhos-break-unit{
  display:inline-block;
  max-width:100%;
  text-align:center;
  padding:2px 4px;
  color:var(--qhos-accent);
  font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic","Amiri",serif;
  font-size:1.55rem;
  font-weight:400;
  line-height:1.7;
  white-space:nowrap;
}
.qhos-mushaf-breakdowns{margin-top:18px;padding-top:14px;border-top:2px solid #d5c99f}.qhos-mushaf-breakdowns h3{margin:0 0 12px;text-align:center;color:#176447;font-family:system-ui,"Noto Sans Bengali",sans-serif}.qhos-break-row{position:relative;margin:10px 0;padding:10px 9px 8px;border-radius:12px;background:#f5f8ee}.qhos-break-row .qhos-breakdown{margin:0;padding:4px 2px;background:transparent}.qhos-break-number{display:block;margin-bottom:5px;color:#176447;font-family:"Traditional Arabic","Noto Naskh Arabic",serif;text-align:right}.qhos-break-word{display:inline-flex;flex-direction:column;align-items:center;gap:3px;padding:3px 5px}.qhos-break-word>b{font-family:"Traditional Arabic","Arabic Typesetting","Noto Naskh Arabic","Amiri",serif;font-size:1.45rem;font-weight:400;line-height:1.55;color:#17130c;white-space:nowrap}.qhos-break-word>small{display:flex;direction:rtl;align-items:center;gap:3px;color:#15704f;font-family:"Traditional Arabic","Noto Naskh Arabic",serif;font-size:1rem}.qhos-break-word>small i{font-style:normal}.qhos-break-word>small em{font-style:normal;color:#c59b27;font-family:system-ui,sans-serif;font-size:.7rem}
.qhos-hide-breakdown .qhos-breakdown{display:none}
.qhos-hide-breakdown .qhos-mushaf-breakdowns{display:none}
@media(max-width:420px){
  .qhos-breakdown{gap:7px 9px;padding:12px 9px}
  .qhos-break-unit{font-size:1.42rem}
  .qhos-break-row{padding:8px 5px}.qhos-break-word{padding:2px 3px}.qhos-break-word>b{font-size:1.3rem}.qhos-break-word>small{font-size:.92rem}
}

/* v0.9.0: mobile Mushaf typography matching a continuous printed Quran flow. */
.qhos-continuous-reader{background:#f7f7fb;color:#252525;border:0;border-radius:0;padding:14px 16px 34px;box-shadow:none;min-height:70vh}
.qhos-continuous-surah{display:flex;flex-direction:column;align-items:center;text-align:center;margin:-14px -16px 14px;padding:12px;border:0;background:#35634f;color:#fff;font-family:"KFGQPC Uthmanic Script HAFS","Amiri Quran","Noto Naskh Arabic",serif}
.qhos-continuous-surah b{font-size:1.8rem;font-weight:500}.qhos-continuous-surah small{font:600 .8rem/1.2 system-ui,sans-serif;opacity:.82}
.qhos-continuous-reader .qhos-mushaf-text{padding:8px 7px!important;text-align:justify!important;text-align-last:center!important;font-family:"Uthmanic Hafs","Noto Naskh Arabic","Traditional Arabic",serif!important;font-size:clamp(30px,var(--qhos-arabic-size),44px)!important;font-weight:400!important;line-height:2.18!important;word-spacing:.06em!important}
.qhos-continuous-reader .qhos-mushaf-ayah{padding:0!important;color:#252525!important}
.qhos-continuous-reader .qhos-mushaf-ayah:hover,.qhos-continuous-reader .qhos-mushaf-ayah:focus{background:#e6f2ec!important;border-radius:4px;outline:0}
.qhos-flow-bismillah{text-align:center;padding:8px 5px 15px;font-family:"Uthmanic Hafs","Noto Naskh Arabic",serif;font-size:clamp(27px,7.5vw,35px);line-height:1.7;color:#252525}
.qhos-ayah-marker,.qhos-continuous-reader .qhos-mushaf-text .qhos-mushaf-ayah .qhos-ayah-marker{display:inline!important;vertical-align:middle;margin:0!important;border:0!important;border-radius:0!important;background:none!important;font:400 .82em/1 "Uthmanic Hafs","Noto Naskh Arabic",serif!important;color:#252525!important;white-space:nowrap}
.qhos-breakdown-drawer{position:fixed;left:50%;bottom:74px;transform:translateX(-50%);z-index:70;width:min(730px,calc(100% - 18px));max-height:43vh;overflow:auto;padding:12px;background:var(--qhos-card);color:var(--qhos-text);border:1px solid var(--qhos-border);border-radius:18px;box-shadow:0 -8px 30px rgba(0,0,0,.18)}
.qhos-breakdown-drawer[hidden]{display:none}.qhos-breakdown-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.qhos-breakdown-head button{width:34px;height:34px;border:0;border-radius:50%;background:var(--qhos-accent-2);color:var(--qhos-text);font-size:1.35rem}
@media(max-width:420px){.qhos-continuous-reader .qhos-mushaf-text{line-height:2.08!important;padding-inline:1px!important}}

/* v1.4.0: blue-pink Madani Mushaf frame matching the shared Quran reader. */
.qhos-continuous-reader{position:relative;overflow:hidden;background:#fffdf4!important;border:2px solid #1481a8!important;border-radius:6px!important;padding:18px 19px 35px!important;box-shadow:inset 0 0 0 4px #f2b7c5,inset 0 0 0 6px #238db2,0 6px 20px rgba(15,75,99,.08)!important}
.qhos-continuous-surah{margin:-8px -8px 16px!important;border:1px solid #e3bfd0!important;border-radius:3px!important;background:linear-gradient(90deg,#e6f5f8,#fff8f0,#e6f5f8)!important;color:#175c76!important;font-family:"Uthmanic Hafs","Noto Naskh Arabic",serif!important}
.qhos-continuous-reader .qhos-mushaf-text{color:#191919!important}
@media(max-width:420px){.qhos-continuous-reader{padding:16px 13px 30px!important}}

/* v1.5.0: true page-by-page Madani Mushaf layout, grouped by Quran page metadata. */
.qhos-continuous-reader{border:0!important;border-image:none!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
.qhos-mushaf-page-block{margin:0 auto 22px;max-width:760px}
.qhos-mushaf-page-block[hidden]{display:none!important}
.qhos-mushaf-page{position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;min-height:auto;aspect-ratio:1024/1792;padding:9.5% 8% 8.5%;overflow:hidden;background:#fffaf0 url("../../../assets/madani-mushaf-frame-v2.png") center/100% 100% no-repeat;box-shadow:0 8px 24px rgba(15,75,99,.15)}
.qhos-page-head{position:absolute;top:3.35%;left:8%;right:8%;display:flex;justify-content:space-between;gap:18%;direction:ltr;color:#174f68;font:700 clamp(9px,1.7vw,13px)/1.2 system-ui,"Noto Sans Bengali",sans-serif}
.qhos-page-head span{width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.qhos-page-number{position:absolute;bottom:2.25%;left:40%;right:40%;color:#174f68;text-align:center;font:700 clamp(10px,1.8vw,14px)/1 system-ui,"Noto Sans Bengali",sans-serif}
.qhos-page-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:8px}.qhos-page-nav button{min-height:40px;border:1px solid #b9d4c8;border-radius:10px;background:#fff;color:#176447;font-weight:800}.qhos-page-nav button:last-child{justify-self:stretch}.qhos-page-nav button:disabled{opacity:.38}.qhos-page-nav b{color:#526b61;font-size:12px;white-space:nowrap}
.qhos-mushaf-page .qhos-mushaf-text{padding:0!important;font-size:clamp(25px,4.7vw,36px)!important;line-height:2.04!important}
.qhos-mushaf-page .qhos-flow-bismillah{padding:0 4px 10px!important}
.qhos-mushaf-page-block>.qhos-mushaf-translations{margin-top:9px;border:1px solid #d7e4dc;border-radius:14px;background:#fff}
.qhos-ayah-marker,.qhos-continuous-reader .qhos-mushaf-text .qhos-mushaf-ayah .qhos-ayah-marker{display:inline-block!important;margin-inline:.18em!important;color:#147fa8!important}
@media(max-width:420px){.qhos-mushaf-page-block{margin-bottom:14px}.qhos-mushaf-page{padding:9.8% 8% 8.8%}.qhos-mushaf-page .qhos-mushaf-text{font-size:clamp(22px,6.7vw,29px)!important;line-height:1.92!important;word-spacing:.02em!important}.qhos-mushaf-page .qhos-flow-bismillah{font-size:clamp(21px,6.5vw,27px)!important}.qhos-ayah-marker,.qhos-continuous-reader .qhos-mushaf-text .qhos-mushaf-ayah .qhos-ayah-marker{margin-inline:.14em!important}}

/* v1.5.1: keep the complete page and both borders inside every viewport. */
.qhos-mushaf,.qhos-mushaf-page-block,.qhos-mushaf-page,.qhos-mushaf-page .qhos-mushaf-text{min-width:0!important;max-width:100%!important}
.qhos-mushaf-page-block{width:100%;overflow:visible}
.qhos-mushaf-page{box-sizing:border-box;overflow:hidden;justify-content:flex-start!important}
body:has(.qhos-mushaf-page) #qhos-pwa-install-wrap{display:none!important}
.qhos-mushaf-page .qhos-mushaf-text{width:100%!important;overflow-wrap:anywhere;font-size:clamp(26px,5vw,42px)!important;line-height:1.78!important;word-spacing:0!important}
.qhos-mushaf-line{display:block;width:100%;min-width:0;height:1lh;direction:rtl;text-align:center;white-space:nowrap;overflow:visible}
.qhos-line-word,.qhos-line-marker,.qhos-line-quarter{display:inline-block;cursor:pointer}.qhos-line-marker{margin-inline:.22em!important;color:#147fa8;font-size:.78em}.qhos-line-quarter{margin-inline:.12em;color:#147fa8}
.qhos-line-heading,.qhos-line-bismillah{display:block;text-align:center;font-size:.82em;color:#155f58}.qhos-line-heading{font-weight:700}.qhos-exact-lines{box-sizing:border-box!important;width:92%!important;margin-inline:auto!important;padding-inline:1.5%!important;overflow:visible!important;word-spacing:.08em!important}.qhos-exact-page .qhos-page-head{direction:rtl}
@media(max-width:420px){.qhos-line-marker{margin-inline:.18em!important}.qhos-exact-lines{width:90%!important;padding-inline:1%!important;word-spacing:.03em!important}}
@media(max-width:650px){.qhos-mushaf-page{padding:9.8% 9% 8.8%!important}.qhos-page-nav{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.qhos-page-nav button{min-width:0;padding-inline:5px;font-size:12px}}

/* v1.2.0: reader accessibility and continuous auto-scroll controls. */
.qhos-speed{min-width:38px;padding-inline:12px!important;font-size:1.1rem!important}.qhos-scroll-speed{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:0 5px;color:var(--qhos-muted);font-size:.78rem;white-space:nowrap}.qhos-icon-btn:disabled,.qhos-chip:disabled{opacity:.45;cursor:not-allowed}
