.home{position:relative;height:100%;display:flex;flex-direction:column;overflow:hidden}.home-mehrab{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column}.mehrab-top,.mehrab-middle,.mehrab-bottom{width:100%;background-repeat:no-repeat;background-size:100% 100%}.mehrab-top{aspect-ratio:648 / 480;background-image:url(/images/mehrab-top-light.png)}.mehrab-middle{flex:1;background-image:url(/images/mehrab-middle-light.png);background-repeat:repeat-y;background-size:100% auto}.mehrab-bottom{aspect-ratio:648 / 373;background-image:url(/images/mehrab-bottom-light.png)}[data-theme=dark] .mehrab-top{background-image:url(/images/mehrab-top-dark.png)}[data-theme=dark] .mehrab-middle{background-image:url(/images/mehrab-middle-dark.png)}[data-theme=dark] .mehrab-bottom{background-image:url(/images/mehrab-bottom-dark.png)}.home-book{position:relative;align-self:center;margin-top:10px;transform-origin:center}.home-book-image{display:block;width:calc(var(--w) / 2.2);aspect-ratio:367 / 206}.home-book-ribbon{position:absolute;inset-inline-start:41%;top:calc(var(--w) / 15);width:16%;height:0;overflow:hidden;display:flex;justify-content:center;animation:ribbon-drop .9s 1s forwards linear(0,.004,.016,.035,.063,.098,.141,.191,.25 18.2%,.316,.391,.473,.563,.66,.766,.879,1 36.4%,.954,.918,.892,.876,.871,.876,.892,.918,.954,1 72.7%,.985,.977,.985,1 90.9%,1)}.home-book-ribbon img{width:calc(var(--w) / 20);aspect-ratio:44 / 209;flex:none}@keyframes ribbon-drop{to{height:60%}}.home-bookmark{position:absolute;top:15px;inset-inline-end:15px}.home-bookmark img{width:50px;aspect-ratio:60 / 48;display:block}.home-menu{position:relative;display:flex;flex-direction:column;margin-top:calc(var(--h) / 13);gap:calc(var(--h) / 60);padding:0 calc(var(--w) / 7)}.home-icons{position:relative;display:flex;flex-direction:row-reverse;justify-content:space-around;height:calc(var(--h) / 7.5);margin-bottom:calc(var(--h) / -25)}@font-face{font-family:Adobe-Naskh;src:url(/fonts/Quran1.woff2) format("woff2");font-display:swap}@font-face{font-family:Zar;src:url(/fonts/BZar.woff2) format("woff2");font-display:swap}@font-face{font-family:Titr;src:url(/fonts/BTitrBd.woff2) format("woff2");font-display:swap}@font-face{font-family:Sahel;src:url(/fonts/Sahel.woff2) format("woff2");font-display:swap}@font-face{font-family:Sahel-Bold;src:url(/fonts/Sahel-Bold.woff2) format("woff2");font-display:swap}@font-face{font-family:Sahel-Black;src:url(/fonts/Sahel-Black.woff2) format("woff2");font-display:swap}@font-face{font-family:Sahel-Bold-FD;src:url(/fonts/Sahel-Bold-FD.woff2) format("woff2");font-display:swap}@font-face{font-family:Sahel-Black-FD;src:url(/fonts/Sahel-Black-FD.woff2) format("woff2");font-display:block}@font-face{font-family:AntDesign;src:url(/fonts/AntDesign.woff2) format("woff2");font-display:block}@font-face{font-family:MaterialIcons;src:url(/fonts/MaterialIcons.woff2) format("woff2");font-display:block}@font-face{font-family:Ionicons;src:url(/fonts/Ionicons.woff2) format("woff2");font-display:block}:root{--primary: #660000;--secondary: #008903;--tertiary: #fcfdc0;--background: #c5d8a0;--surface: #660000;--border: #85250f;--notification: #000066;--error: #b00020;--onPrimary: #ffffff;--onPrimary2: #ffdb44;--onSecondary: #ffffff;--onSecondary2: #ffdb44;--onTertiary: #660000;--onTertiary2: #444444;--onBackground: #000000;--onBackground2: #666666;--onSurface: #ffffff;--onSurface2: #ffdb44;--onError: #ffffff;--link: blue;--pattern: url(/images/bg-tile-light.jpg);color-scheme:light}:root[data-theme=dark]{--primary: #2d2d2d;--secondary: #676767;--tertiary: #373737;--background: #1d1d1d;--surface: #1d1d1d;--border: #3d3d3d;--notification: #cb4335;--error: #b00020;--onPrimary: #e1e1e1;--onPrimary2: #e7a600;--onSecondary: #e1e1e1;--onSecondary2: #e7a600;--onTertiary: #e9e9e9;--onTertiary2: #d1d1d1;--onBackground: #e1e1e1;--onBackground2: #666666;--onSurface: #e1e1e1;--onSurface2: #e7a600;--onError: #e1e1e1;--link: #6ea8ff;--pattern: url(/images/bg-tile-dark.jpg);color-scheme:dark}:root{--font-quran: "Adobe-Naskh";--font-translation: "Zar";--font-title: "Titr";--font-subtitle: "Titr";--font-default: "Zar";--fs-quran: 30px;--fs-translation: 30px;--fs-title: 30px;--fs-subtitle: 25px;--fs-default: 30px}:root[lang=en]{--font-translation: "Sahel";--font-title: "Sahel-Black";--font-subtitle: "Sahel-Black";--font-default: "Sahel";--fs-translation: 22px;--fs-title: 25px;--fs-subtitle: 22px;--fs-default: 22px}:root{--w: min(100vw, 600px);--h: 100dvh}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--surface);overflow:hidden;font-family:var(--font-default),Tahoma,sans-serif;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}button,input,textarea{font:inherit;color:inherit}.app{position:relative;width:var(--w);height:var(--h);margin:0 auto;overflow:hidden;background:var(--background);box-shadow:0 0 24px #00000073}.v{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0}.row{display:flex;flex-direction:row;min-width:0}.flex1{flex:1 1 0%;min-height:0;min-width:0}.scroll{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.pattern{background-image:var(--pattern);background-repeat:repeat}.tv{display:block;margin:0;overflow-wrap:anywhere}.tv .tv{display:inline}.tv.centerv{display:flex;align-items:center}.tv.centerv.tac{justify-content:center}.f-quran{font-family:var(--font-quran),serif;font-size:var(--fs-quran)}.f-translation{font-family:var(--font-translation),Tahoma,sans-serif;font-size:var(--fs-translation)}.f-title{font-family:var(--font-title),Tahoma,sans-serif;font-size:var(--fs-title)}.f-subtitle{font-family:var(--font-subtitle),Tahoma,sans-serif;font-size:var(--fs-subtitle)}.f-default{font-family:var(--font-default),Tahoma,sans-serif;font-size:var(--fs-default)}.bidi{white-space:pre-wrap}:root{--tok-hint: #666666;--tok-meaning: #6a994e;--tok-footnote: #780000}:root[data-theme=dark]{--tok-hint: #9a9a9a;--tok-meaning: #8fbf6a;--tok-footnote: #e07a7a}.tok-hint{color:var(--tok-hint)}.tok-meaning{color:var(--tok-meaning)}.tok-footnote{color:var(--tok-footnote)}.tok-link{color:var(--link);text-decoration:none;cursor:pointer}.tok-link:hover{text-decoration:underline}mark.hit{background:#ff0;color:green}.icon{display:inline-block;line-height:1;font-style:normal;font-weight:400;speak:never;-webkit-user-select:none;user-select:none;padding:1px}.icon-ant{font-family:AntDesign}.icon-material{font-family:MaterialIcons}.icon-ion{font-family:Ionicons}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0;margin:0;display:flex;flex-direction:column;cursor:pointer;text-decoration:none;color:inherit;min-width:0}.btn:disabled{cursor:default}.btn:focus-visible{outline:none}.btn:focus-visible>.btn-box{outline:2px solid var(--onSurface2);outline-offset:2px}.btn-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;min-width:0;max-width:100%;overflow:hidden}.elev{box-shadow:0 2px 4px #00000059,0 3px 6px #00000026}.fit{white-space:nowrap;overflow:hidden;max-width:100%}.page{height:100%;display:flex;flex-direction:column}.page-header{display:flex;flex-direction:row-reverse;height:70px;flex:none;align-items:center;justify-content:space-around;padding:0 5px;background:var(--surface)}.page-footer{height:70px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--surface);padding-bottom:env(safe-area-inset-bottom);box-sizing:content-box}.page-footer-toolbar{width:100%;display:flex;flex-direction:row-reverse;padding:5px;justify-content:space-between;align-items:center;gap:10px}.page-title{display:flex;align-items:center;justify-content:center;padding:5px 0;min-width:0;max-width:60%}.page-title>.tv{background:var(--tertiary);color:var(--onTertiary);border-radius:5px;border-start-start-radius:20px;border-end-end-radius:20px;padding:0 7px;line-height:1.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.modal-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;justify-content:center;padding:20px;animation:fade-from-bottom .25s ease-out}.modal{background:var(--background);border-radius:20px;overflow:hidden;border:3px solid var(--border);width:100%;max-height:100%;display:flex;flex-direction:column}@keyframes fade-from-bottom{0%{opacity:0;transform:translateY(8%)}to{opacity:1;transform:none}}.input{border:0;outline:none;background:transparent;color:var(--onBackground);min-width:0}.input::placeholder{color:var(--onBackground2)}.toast{position:absolute;inset-inline:0;bottom:90px;margin:0 auto;width:max-content;max-width:85%;z-index:50;padding:8px 18px;border-radius:20px;background:#000c;color:#fff;font-family:Sahel,Tahoma,sans-serif;font-size:16px;text-align:center;animation:fade-from-bottom .2s ease-out;pointer-events:none}input[type=range].slider{accent-color:var(--onPrimary2);height:30px}input[type=checkbox].checkbox{width:25px;height:25px;margin:10px;accent-color:var(--secondary);flex:none}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important}}
