/* Glyph reader (flag #/glyph/N). Not part of the published build until approved. */
@font-face{font-family:QCF4_Hafs_01;src:url(qcf/QCF4_Hafs_01_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_02;src:url(qcf/QCF4_Hafs_02_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_03;src:url(qcf/QCF4_Hafs_03_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_04;src:url(qcf/QCF4_Hafs_04_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_05;src:url(qcf/QCF4_Hafs_05_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_06;src:url(qcf/QCF4_Hafs_06_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_07;src:url(qcf/QCF4_Hafs_07_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_08;src:url(qcf/QCF4_Hafs_08_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_09;src:url(qcf/QCF4_Hafs_09_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_10;src:url(qcf/QCF4_Hafs_10_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_11;src:url(qcf/QCF4_Hafs_11_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_12;src:url(qcf/QCF4_Hafs_12_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_13;src:url(qcf/QCF4_Hafs_13_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_14;src:url(qcf/QCF4_Hafs_14_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_15;src:url(qcf/QCF4_Hafs_15_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_16;src:url(qcf/QCF4_Hafs_16_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_17;src:url(qcf/QCF4_Hafs_17_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_18;src:url(qcf/QCF4_Hafs_18_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_19;src:url(qcf/QCF4_Hafs_19_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_20;src:url(qcf/QCF4_Hafs_20_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_21;src:url(qcf/QCF4_Hafs_21_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_22;src:url(qcf/QCF4_Hafs_22_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_23;src:url(qcf/QCF4_Hafs_23_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_24;src:url(qcf/QCF4_Hafs_24_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_25;src:url(qcf/QCF4_Hafs_25_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_26;src:url(qcf/QCF4_Hafs_26_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_27;src:url(qcf/QCF4_Hafs_27_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_28;src:url(qcf/QCF4_Hafs_28_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_29;src:url(qcf/QCF4_Hafs_29_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_30;src:url(qcf/QCF4_Hafs_30_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_31;src:url(qcf/QCF4_Hafs_31_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_32;src:url(qcf/QCF4_Hafs_32_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_33;src:url(qcf/QCF4_Hafs_33_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_34;src:url(qcf/QCF4_Hafs_34_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_35;src:url(qcf/QCF4_Hafs_35_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_36;src:url(qcf/QCF4_Hafs_36_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_37;src:url(qcf/QCF4_Hafs_37_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_38;src:url(qcf/QCF4_Hafs_38_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_39;src:url(qcf/QCF4_Hafs_39_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_40;src:url(qcf/QCF4_Hafs_40_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_41;src:url(qcf/QCF4_Hafs_41_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_42;src:url(qcf/QCF4_Hafs_42_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_43;src:url(qcf/QCF4_Hafs_43_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_44;src:url(qcf/QCF4_Hafs_44_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_45;src:url(qcf/QCF4_Hafs_45_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_46;src:url(qcf/QCF4_Hafs_46_W.ttf) format('truetype');font-display:block}
@font-face{font-family:QCF4_Hafs_47;src:url(qcf/QCF4_Hafs_47_W.ttf) format('truetype');font-display:block}
.gpage{position:fixed;left:0;right:0;top:0;bottom:64px;background:var(--bg);z-index:40;display:flex;flex-direction:column}
.gpage .ghd2{height:52px;flex:none;background:linear-gradient(160deg,#2e1a52,#4a2c7e);color:#fff;display:flex;align-items:center;gap:10px;padding:0 14px;position:relative;z-index:3}
.gpage .ghd2 .gttl{flex:1;font-weight:700;font-size:17px}
.gpage .ghd2 .gpg{color:var(--g);font-size:13px}
.gpage .gback{background:none;border:0;color:var(--g);font-size:26px;font-family:inherit;line-height:1;padding:2px 8px}
.gpage .gbody{position:relative;flex:1;overflow:hidden;background:var(--bg)}
.gpage .gcol{position:absolute;left:50%;transform:translateX(-50%);direction:rtl;text-align:center;z-index:2}
.gpage .gline{white-space:nowrap;display:block;text-align:center}
.gpage .gi{display:inline-block;direction:ltr;unicode-bidi:bidi-override}
.gpage .ghead{position:absolute;left:50%;transform:translateX(-50%);z-index:2;text-align:center}
.gpage .gjuz{font-size:11px;color:var(--p);opacity:.85;margin-bottom:4px;white-space:nowrap}
.gpage .gnum{position:absolute;left:0;right:0;text-align:center;z-index:2}
.gpage .gpn{display:inline-block;min-width:26px;padding:0 7px;border:1px solid var(--g);border-radius:999px;color:var(--p);font-size:12px;line-height:19px;background:var(--bg)}
body.dark .gpage .ghd2{background:linear-gradient(160deg,#241542,#331f57)}
body.dark .gpage .gjuz{color:#cbb6f0;opacity:.9}
body.dark .gpage .gpn{color:#e8d79a;background:#1d1236}
.gpage .gfr{position:absolute;inset:0;pointer-events:none;z-index:1}
.gpage .gfr i{position:absolute;display:block}
.gpage .gfr .ft{top:0;left:34px;right:34px;height:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2764%27%20height%3D%2720%27%20viewBox%3D%270%200%2064%2020%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c9a24b%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23c9a24b%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x;background-size:64px 20px}
.gpage .gfr .fb{bottom:0;left:34px;right:34px;height:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2764%27%20height%3D%2720%27%20viewBox%3D%270%200%2064%2020%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c9a24b%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23c9a24b%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x;background-size:64px 20px;transform:scaleY(-1)}
.gpage .gfr .fl{left:0;top:34px;bottom:34px;width:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2764%27%20viewBox%3D%270%200%2020%2064%27%3E%3Cg%20transform%3D%27translate%280%2C64%29%20rotate%28-90%29%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c9a24b%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23c9a24b%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-y;background-size:20px 64px}
.gpage .gfr .fr{right:0;top:34px;bottom:34px;width:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2764%27%20viewBox%3D%270%200%2020%2064%27%3E%3Cg%20transform%3D%27translate%280%2C64%29%20rotate%28-90%29%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c9a24b%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23c9a24b%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-y;background-size:20px 64px;transform:scaleX(-1)}
.gpage .gfr .cn{width:34px;height:34px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2734%27%20height%3D%2734%27%20viewBox%3D%270%200%2034%2034%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c9a24b%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%2021.1%20C%2010.2%205.4%205.4%2010.2%2021.1%200%27%2F%3E%3Cpath%20d%3D%27M0%2013.6%20C%206.5%203.4%203.4%206.5%2013.6%200%27%20opacity%3D%27.6%27%2F%3E%3Cpath%20d%3D%27M10.2%2010.2%20C%2015.0%2012.2%2012.2%2015.0%2010.2%2010.2%27%20opacity%3D%27.85%27%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%276.8%27%20cy%3D%276.8%27%20r%3D%271.8%27%20fill%3D%27%23c9a24b%27%2F%3E%3C%2Fsvg%3E") no-repeat;background-size:34px 34px}
.gpage .gfr .cn.tl{top:0;left:0}
.gpage .gfr .cn.tr{top:0;right:0;transform:scaleX(-1)}
.gpage .gfr .cn.bl{bottom:0;left:0;transform:scaleY(-1)}
.gpage .gfr .cn.br{bottom:0;right:0;transform:scale(-1,-1)}
.gpage .gfr:before{content:'';position:absolute;inset:17px;border:1px solid var(--g);opacity:.45;border-radius:2px}
body.dark .gpage .gfr .ft,body.dark .gpage .gfr .fb{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2764%27%20height%3D%2720%27%20viewBox%3D%270%200%2064%2020%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23a8905a%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23a8905a%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body.dark .gpage .gfr .fl,body.dark .gpage .gfr .fr{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2764%27%20viewBox%3D%270%200%2020%2064%27%3E%3Cg%20transform%3D%27translate%280%2C64%29%20rotate%28-90%29%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23a8905a%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%202.2H64%27%2F%3E%3Cpath%20d%3D%27M0%2017.8H64%27%2F%3E%3Cpath%20d%3D%27M0%2010.0C7.7%203.2%2016.6%203.2%2024.3%2010.0C32.0%2016.8%2039.7%2016.8%2047.4%2010.0C53.8%204.6%2059.5%204.6%2064.0%2010.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23a8905a%27%3E%3Ccircle%20cx%3D%2732.0%27%20cy%3D%2710.0%27%20r%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2724.3%27%20cy%3D%2710.0%27%20r%3D%271.15%27%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body.dark .gpage .gfr .cn{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2734%27%20height%3D%2734%27%20viewBox%3D%270%200%2034%2034%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23a8905a%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%2021.1%20C%2010.2%205.4%205.4%2010.2%2021.1%200%27%2F%3E%3Cpath%20d%3D%27M0%2013.6%20C%206.5%203.4%203.4%206.5%2013.6%200%27%20opacity%3D%27.6%27%2F%3E%3Cpath%20d%3D%27M10.2%2010.2%20C%2015.0%2012.2%2012.2%2015.0%2010.2%2010.2%27%20opacity%3D%27.85%27%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%276.8%27%20cy%3D%276.8%27%20r%3D%271.8%27%20fill%3D%27%23a8905a%27%2F%3E%3C%2Fsvg%3E")}
/* surah band: double rule, mirrored flourish, name only */
.gpage .gcart3{position:relative;width:100%;box-sizing:border-box;height:38px;display:flex;align-items:center;justify-content:center;background:none;border:1.2px solid var(--g);border-radius:0;box-shadow:none}
.gpage .gcart3:before{content:'';position:absolute;inset:3.5px;border:.7px solid var(--g);opacity:.75;pointer-events:none;border-radius:0}
.gpage .gcart3 .gc-t{font-family:Quran,'Noto Naskh Arabic',serif;font-size:19px;line-height:1;color:var(--g);white-space:nowrap;padding:0 74px;letter-spacing:0;position:relative;top:-3.5px}
.gpage .gcart3 .gorn{position:absolute;top:50%;transform:translateY(-50%);width:62px;height:26px;color:var(--g);opacity:.95;display:block}
.gpage .gcart3 .gorn svg{width:62px;height:26px;display:block}
.gpage .gcart3 .gorn.a{right:8px}
.gpage .gcart3 .gorn.b{left:8px;transform:translateY(-50%) scaleX(-1)}
.gpage .gcart3.sm{height:28px}
.gpage .gcart3.sm:before{inset:3px;border-width:.5px}
.gpage .gcart3.sm .gc-t{font-size:16px;padding:0 56px;top:-3.5px}
.gpage .gcart3.sm .gorn{width:48px;height:20px}
.gpage .gcart3.sm .gorn svg{width:48px;height:20px}
.gpage .gcart3.sm .gorn.a{right:7px}
.gpage .gcart3.sm .gorn.b{left:7px}
.gpage .gline.gbband,.gpage .gline.gbband .gi{display:block;width:100%}

.gpage .gscr{position:absolute;left:10px;right:10px;bottom:10px;display:none;align-items:center;gap:9px;padding:9px 13px;background:rgba(43,24,73,.94);border:1px solid var(--g);border-radius:12px;box-shadow:0 8px 22px #0007;z-index:5;direction:rtl}
.gpage .gscr.on{display:flex}
.gpage .gscr .gsl{color:var(--g);font-size:12px;min-width:52px;text-align:center;white-space:nowrap}
.gpage .gscr .gse{color:#cbb6f0;font-size:11px;opacity:.8}
.gpage .gscr input[type=range]{flex:1;-webkit-appearance:none;appearance:none;height:4px;border-radius:2px;background:linear-gradient(90deg,#5b3f92,#8f6fd0);outline:0;direction:ltr}
.gpage .gscr input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:19px;height:19px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f0dca6,#c9a24b 60%,#9c7a2e);border:1.5px solid #2b1849}
.gpage .gscr input[type=range]::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:#c9a24b;border:1.5px solid #2b1849}
.gpage .ghd2 .gpg{background:none;border:1px solid rgba(201,162,75,.55);border-radius:999px;padding:2px 10px;font-family:inherit;cursor:pointer}
body.dark .gpage .gscr{background:rgba(29,18,54,.95)}

.gpage .ghd2 .gbm{background:none;border:0;color:var(--g);padding:4px;display:flex;align-items:center;cursor:pointer}
