@font-face{font-family:Amiri;font-style:normal;font-weight:400;font-display:swap;src:url(../media/05d29f0ed5b0e698-s.p.0op8psrhiitue.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC7,U+10EC9-10EEE,U+10EF?,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Amiri;font-style:normal;font-weight:400;font-display:swap;src:url(../media/d48a75a69535be63-s.0s-s-hsjhq4c2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Amiri;font-style:normal;font-weight:400;font-display:swap;src:url(../media/648474ecaeaf4c9a-s.0ws8tt74elqft.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Amiri;font-style:normal;font-weight:700;font-display:swap;src:url(../media/291696193ea1e96b-s.p.18tjh3qqaxhod.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC7,U+10EC9-10EEE,U+10EF?,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Amiri;font-style:normal;font-weight:700;font-display:swap;src:url(../media/966a9c3087fc8ac2-s.0cn01x5f19g74.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Amiri;font-style:normal;font-weight:700;font-display:swap;src:url(../media/1062333f2bd32cfe-s.1c56-m5_chvse.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Amiri Fallback;src:local(Times New Roman);ascent-override:112.47%;descent-override:63.44%;line-gap-override:0.0%;size-adjust:99.94%}._7U89hW_className{font-family:Amiri,Amiri Fallback;font-style:normal}._7U89hW_variable{--font-amiri:"Amiri", "Amiri Fallback"}
@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/dcc06fc59088004f-s.2h-zgd4kn5-yf.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/14a4f422adc8017e-s.p.14w0l550ci3yl.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/294dd5272e5dc576-s.35rs2ho86mq85.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/c0f3072741f3158c-s.2g9n9md5msvg2.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/32ed8f926ffc9cc2-s.26v2fg3gytbt5.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/b6a9aad84d41ea38-s.167l7r8dhiyx3.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Literata;font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/30bdb5bb2b173ee1-s.p.0kfjr62lqeiro.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Literata Fallback;src:local(Times New Roman);ascent-override:99.62%;descent-override:26.07%;line-gap-override:0.0%;size-adjust:118.15%}._10qb5q_className{font-family:Literata,Literata Fallback;font-style:normal}._10qb5q_variable{--font-literata:"Literata", "Literata Fallback"}
@font-face{font-family:PT Serif;font-style:normal;font-weight:400;font-display:swap;src:url(../media/8fe616373cda781a-s.3zsw3i_t0cd25.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:PT Serif;font-style:normal;font-weight:400;font-display:swap;src:url(../media/ac972b96b88588e0-s.38k1yaatxy94d.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:PT Serif;font-style:normal;font-weight:400;font-display:swap;src:url(../media/ea95a6c50203df72-s.0i39tt0a94-to.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:PT Serif;font-style:normal;font-weight:400;font-display:swap;src:url(../media/80bb744e92754df7-s.16jqoopzq5m_9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:PT Serif;font-style:normal;font-weight:700;font-display:swap;src:url(../media/ddbd854add8353d7-s.2-t_q4sotlq4-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:PT Serif;font-style:normal;font-weight:700;font-display:swap;src:url(../media/35597f1def34002a-s.28ow1rt4u90e-.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:PT Serif;font-style:normal;font-weight:700;font-display:swap;src:url(../media/d7c80d408cfc89af-s.3-5jqd3-qq08n.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:PT Serif;font-style:normal;font-weight:700;font-display:swap;src:url(../media/bec5c09c262b1b7f-s.10mmioanno57p.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:PT Serif Fallback;src:local(Times New Roman);ascent-override:94.22%;descent-override:25.93%;line-gap-override:0.0%;size-adjust:110.28%}.f1UoZW_className{font-family:PT Serif,PT Serif Fallback;font-style:normal}.f1UoZW_variable{--font-pt-serif:"PT Serif", "PT Serif Fallback"}
@font-face{font-family:Noto Naskh Arabic;font-style:normal;font-display:swap;font-weight:400;src:url(../media/noto-naskh-arabic-arabic-400-normal.0yuzbisa4oom-.woff2)format("woff2"),url(../media/noto-naskh-arabic-arabic-400-normal.1245iate_1el0.woff)format("woff")}
:root{--bg:#fafaf7;--surface:#fff;--surface-soft:#f0f3ef;--text:#18231f;--muted:#5e6c65;--accent:#126b58;--on-accent:#fff;--border:#e3e8e4;--danger:#ae3232;--green:var(--accent);--green-2:var(--accent);--cream:var(--bg);--card:var(--surface);--safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-safe-bottom,0px), var(--tg-content-safe-bottom,0px));--top-inset:max(env(safe-area-inset-top,0px), var(--tg-safe-top,0px), var(--tg-content-safe-top,0px));--telegram-header-clearance:0px}:root[data-telegram=true]{--telegram-header-clearance:48px}:root{--arabic-font-size:28px;--translation-font-size:18px;--russian-reading-font:var(--font-literata), Georgia, serif;--arabic-line-height:2.05;--arabic-reading-font:var(--font-amiri), "Noto Naskh Arabic", "Geeza Pro", serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}:root[data-arabic-font=noto]{--arabic-reading-font:"Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif}:root[data-russian-font=system]{--russian-reading-font:-apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif}:root[data-russian-font=ptserif]{--russian-reading-font:var(--font-pt-serif), Georgia, serif}:root[data-russian-font=palatino]{--russian-reading-font:"Palatino Linotype", "Palatino", "Book Antiqua", var(--font-pt-serif), Georgia, serif}:root[data-palette=sapphire]{--bg:#f3f6fb;--surface:#fff;--surface-soft:#eaf0fa;--text:#172235;--muted:#5d6b80;--accent:#356ae6;--on-accent:#fff;--border:#e1e7f0}:root[data-palette=navy]{--bg:#171a1d;--surface:#24282c;--surface-soft:#2c3336;--text:#f2f4f3;--muted:#b2bcb7;--accent:#9dc8b2;--on-accent:#14271e;--border:#3a4240;--danger:#f99;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{overscroll-behavior-y:contain;overflow-x:clip}body{background:var(--bg);min-height:100dvh;color:var(--text);margin:0;font-size:16px;line-height:1.5;overflow-x:clip}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-height:44px;padding:10px 14px}a,button{transition:background .15s,color .15s}button:active,a:active{opacity:.8}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}svg{vertical-align:middle;flex-shrink:0}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.8px;margin-bottom:12px;font-size:28px;line-height:1.15}h2{letter-spacing:-.35px;margin-bottom:16px;font-size:20px;line-height:1.3}h3{font-size:17px}small{color:var(--muted);font-size:12px}p{line-height:1.65}input:not([type=checkbox]):not([type=range]),select,textarea{border:1px solid var(--border);background:var(--surface);outline-offset:2px;border-radius:12px;width:100%;min-width:0;min-height:48px;padding:12px 14px}textarea{resize:vertical;min-height:120px}input[type=range],input[type=checkbox]{accent-color:var(--accent)}input[type=range]{width:100%;min-height:32px}input[type=checkbox]{flex-shrink:0;width:20px;height:20px}label{display:block}label>input,label>textarea,label>select{margin-top:6px}.shell,.adminShell{width:min(760px,100%);min-height:100dvh;padding:calc(22px + var(--top-inset) + var(--telegram-header-clearance)) max(20px, var(--tg-safe-right,0px), var(--tg-content-safe-right,0px)) calc(108px + var(--safe-bottom)) max(20px, var(--tg-safe-left,0px), var(--tg-content-safe-left,0px));margin:0 auto}.eyebrow{letter-spacing:1.5px;color:var(--muted);font-size:10px;font-weight:650}.homeHeader{justify-content:space-between;align-items:center;gap:12px;margin:4px 0 25px;display:flex}.homeHeader h1{margin:7px 0 0;font-family:Georgia,serif;font-size:29px}.homeHeader .eyebrow{letter-spacing:1.2px;font-size:8px}.network{color:var(--muted);font-size:11px}.network:not(.offline){display:none}.network.offline{background:var(--surface-soft);border-radius:8px;padding:5px 8px}.pageTitle{margin-bottom:24px}.pageTitle h1{margin-top:8px}.searchField,.homeSearchLauncher{background:var(--surface-soft);min-height:52px;color:var(--muted);border-radius:14px;align-items:center;gap:11px;margin-bottom:18px;padding:12px 15px;display:flex}.searchField input{outline:none;margin:0;background:0 0!important;border:0!important;min-height:28px!important;padding:0!important}.searchField:focus-within{outline:2px solid var(--accent)}.homeSearchLauncher span,.searchField span{font-size:14px}.homeSection{margin-top:30px}.sectionHeading,.modernSectionHead,.sectionTitle{justify-content:space-between;align-items:center;gap:12px;margin:26px 0 14px;display:flex}.sectionHeading h2,.modernSectionHead h2{margin:0}.sectionHeading>a,.modernSectionHead>a{color:var(--accent);align-items:center;gap:4px;min-height:44px;font-size:13px;display:flex}.modernSectionHead>div>span{display:none}.startReading{background:var(--surface-soft);border-radius:18px;margin:24px 0 8px;padding:22px}.startReading h2{margin:10px 0;font-size:24px;line-height:1.3}.startReading p{color:var(--muted);margin:0;font-size:13px}.homeBookGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;display:grid}.homeBookCard{flex-direction:column;align-items:flex-start;gap:7px;min-width:0;display:flex}.homeBookCard>strong{font-size:15px;line-height:1.35}.bookStage{background:var(--surface-soft);border-radius:16px;justify-content:center;width:100%;margin-bottom:3px;padding:18px 15px;display:flex}.bookCoverArtwork{aspect-ratio:2/3;color:#f4e6b9;text-align:center;background:#193f37;border:1px solid #6d785b;border-left:5px solid #102a24;border-radius:3px 7px 7px 3px;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:180px;padding:14px 9px;display:flex;position:relative;overflow:hidden;box-shadow:3px 6px 9px #00000016}.bookCoverArtwork[data-book=muslim]{background:#634136;border-left-color:#3c271f}.bookCoverArtwork[data-book=nawawi-40]{background:#233c58;border-left-color:#18283a}.bookCoverArtwork[data-book=riyad]{background:#2e5141;border-left-color:#20382d}.bookCoverArtwork[data-book=tirmidhi]{background:#594754}.bookCoverArtwork strong{font-family:Noto Naskh Arabic,Geeza Pro,Traditional Arabic,serif;font-size:clamp(18px,4.8vw,26px);font-weight:400;line-height:1.9}.bookCoverArtwork .coverRussian{color:#f0e3be;font-size:10px;line-height:1.4}.bookCoverArtwork small{letter-spacing:1px;color:#e9ddba;font-size:7px}.coverRule{opacity:.6;background:#b9a979;width:70%;height:1px}.bookCoverArtwork.hasImage{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.bookCoverArtwork img{object-fit:contain;width:100%;height:100%}.readyBadge,.comingSoonBadge,.offlineReadyBadge,.updateBadge{background:var(--surface-soft);width:fit-content;color:var(--muted);border-radius:20px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.readyBadge{color:var(--accent)}.primaryShelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.primaryShelf a{flex-direction:column;gap:9px;min-width:0;display:flex}.primaryShelf strong{font-size:12px;line-height:1.35}.primaryShelf .bookCoverArtwork{gap:4px;padding:9px 6px}.primaryShelf .bookCoverArtwork strong{font-size:19px}.primaryShelf .coverRussian{font-size:8px}.primaryShelf .bookCoverArtwork small{font-size:6px}.continueCard{background:var(--surface);border:1px solid var(--border);border-radius:18px;align-items:center;gap:19px;padding:18px;display:flex}.continueCard .bookCoverArtwork{flex-shrink:0;gap:3px;width:82px;padding:7px 5px}.continueCard .bookCoverArtwork strong{font-size:17px}.continueCard .coverRussian{font-size:7px}.continueCard .bookCoverArtwork small{font-size:5px}.continueCard>div{min-width:0}.continueCard strong{font-size:19px;line-height:1.3;display:block}.continueCard small{margin-top:7px;display:block}.readPill{background:var(--accent);color:var(--on-accent);border-radius:10px;align-items:center;gap:16px;margin-top:13px;padding:9px 15px;font-size:13px;display:inline-flex}.offlineBanner{border-top:1px solid var(--border);align-items:center;gap:14px;margin-top:30px;padding:18px 0;display:flex}.offlineBanner div{flex:1}.offlineBanner strong{font-size:14px}.offlineBanner p{color:var(--muted);margin:4px 0 0;font-size:12px}.softIcon{background:var(--surface-soft);color:var(--accent);border-radius:12px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.bottomNav{z-index:20;background:var(--surface);border-top:1px solid var(--border);width:min(760px,100%);padding:9px 8px calc(8px + var(--safe-bottom));grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottomNav a{min-height:48px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.bottomNav .active{color:var(--accent);font-weight:650}.navIcon{height:25px}.navLabel{font-size:10px}.referencePageHead,.topBar,.readerTop,.referenceReaderHead{align-items:center;gap:12px;margin-bottom:24px;display:flex}.referencePageHead>div,.referenceReaderHead>div{flex:1;min-width:0}.referencePageHead h1{margin:3px 0 0;font-size:25px}.referencePageHead>div>span,.referenceReaderHead>div>span{color:var(--muted);font-size:11px}.backLink,.topIconButton,.iconButton{width:44px;min-width:44px;height:44px;color:var(--text);background:var(--surface-soft);border:0;border-radius:12px;justify-content:center;align-items:center;padding:0;display:inline-flex}.primaryButton,.continueReadingButton{background:var(--accent);color:var(--on-accent);text-align:center;border:0;border-radius:12px;justify-content:center;align-items:center;gap:12px;min-height:50px;padding:13px 18px;font-weight:600;display:flex}.primaryButton small,.continueReadingButton small{color:inherit}.textLink{color:var(--accent);align-items:center;gap:8px;min-height:44px;font-size:13px;display:inline-flex}.folderTabs,.modeSegmented,.readerModeSwitch{flex-wrap:wrap;gap:6px;margin:16px 0;display:flex}.folderTabs button,.modeSegmented button,.readerModeSwitch button{background:var(--surface-soft);border:0;border-radius:22px;padding:10px 16px;font-size:13px}.folderTabs button.active,.modeSegmented button.active,.readerModeSwitch button.active{background:var(--accent);color:var(--on-accent)}.v3CollectionHero{text-align:center;flex-direction:column;align-items:center;gap:20px;margin:26px 0;display:flex}.collectionHeroBookCover{width:155px;max-width:190px}.v3CollectionHeroCopy{width:100%}.v3CollectionHeroCopy h2{margin:10px 0;font-size:27px}.v3CollectionHeroCopy>p{color:var(--muted);max-width:500px;margin:0 auto 15px;font-size:14px}.collectionArabicTitle{color:var(--accent);font-size:22px}.collectionHeroMeta{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:12px;font-size:12px;display:flex}.collectionAttribution{color:var(--muted);flex-direction:column;gap:5px;margin:15px 0;font-size:12px;display:flex}.downloadButton,.offlineOpenLink{background:var(--surface);color:var(--accent);border:1px solid var(--border);border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:12px;font-size:13px;display:inline-flex}.downloadActions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.collectionTools{margin:24px 0}.collectionTools>.primaryButton,.continueReadingButton{width:100%;margin-bottom:18px}.continueReadingButton p{display:none}.continueReadingButton strong{font-size:15px}.continueReadingButton small{display:none}.collectionNavControls{grid-template-columns:1fr 1fr;gap:12px;display:grid}.collectionNavControls label>span{color:var(--muted);font-size:12px}.collectionJump{gap:4px;margin-top:6px;display:flex}.collectionJump button{padding:8px;font-size:12px}.chapterGroup{border-bottom:1px solid var(--border)}.chapterGroup summary{cursor:pointer;align-items:center;gap:13px;padding:18px 0;list-style:none;display:flex}.chapterGroup summary::-webkit-details-marker{display:none}.chapterNumber,.referenceNumber{color:var(--accent);background:var(--surface-soft);border-radius:10px;place-items:center;min-width:36px;height:36px;padding:0 5px;font-size:13px;display:grid}.chapterSummaryText{flex:1;min-width:0}.chapterSummaryText strong{font-size:15px;display:block}.chapterSummaryText small{font-size:11px}.chapterGroup[open]>summary>svg{transform:rotate(90deg)}.chapterIntro{white-space:pre-line;font-size:15px}.referenceHadithRow{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;padding:16px 0;display:flex}.referenceHadithRow>div{flex:1;min-width:0}.referenceHadithRow strong{font-size:15px}.referenceHadithRow p{color:var(--muted);margin:6px 0 0;font-size:13px}.referenceHadithRow>svg{margin-top:8px}.coverCredit{color:var(--muted);margin:15px 0;font-size:12px}.coverCredit p{overflow-wrap:anywhere;margin:8px}.settingsProfileCard{display:none}.settingsGroup{margin:28px 0}.settingsGroup h2{margin-bottom:13px;font-size:18px}.settingsSectionTitle{align-items:center;gap:12px;margin-bottom:15px;display:flex}.settingsSectionTitle>span{display:none}.settingsSectionTitle h2{margin:0}.settingsSectionTitle p{color:var(--muted);margin:4px 0 0;font-size:12px}.settingsCard{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-bottom:12px;padding:18px}.themeChoices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.themeChoice{text-align:center;background:0 0;border:0;padding:0;position:relative}.themeChoice strong{margin-top:8px;font-size:12px;font-weight:500;display:block}.themeMiniature{border:2px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;height:108px;padding:14px 10px;display:flex;position:relative}.themeMiniature i{background:#8d989a40;border-radius:3px;width:100%;height:9px;display:block}.themeMiniature i:nth-child(3){width:65%}.themeMiniature b{border-radius:4px;width:55%;height:12px;margin-top:auto}.themeMiniature svg{background:var(--accent);color:var(--on-accent);border-radius:50%;padding:2px;position:absolute;top:4px;right:4px}.themeChoice.active .themeMiniature{border-color:var(--accent)}.settingSubhead{align-items:center;gap:10px;margin-bottom:18px;display:flex}.settingSubhead small{display:block}.readingSettings>label{flex-wrap:wrap;justify-content:space-between;gap:3px;margin:20px 0;font-size:14px;display:flex}.readingSettings label>strong{color:var(--muted);font-size:13px}.arabicFontPicker{border:0;min-width:0;margin:18px 0 4px;padding:0}.arabicFontPicker legend{margin-bottom:10px;font-size:14px;font-weight:600}.arabicFontOptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.arabicFontOption{border:1px solid var(--border);background:var(--surface-soft);min-height:120px;color:var(--text);text-align:center;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:12px 8px;transition:border-color .18s,background .18s;display:flex}.arabicFontOption.active{border-color:var(--accent);background:var(--surface);box-shadow:inset 0 0 0 1px var(--accent)}.arabicFontOption .fontSample{font-size:23px;line-height:1.6}.arabicFontOption.fontAmiri .fontSample{font-family:var(--font-amiri), "Noto Naskh Arabic", serif}.arabicFontOption.fontNoto .fontSample{font-family:Noto Naskh Arabic,Geeza Pro,serif}.arabicFontOption strong{font-size:13px;font-weight:600}.arabicFontOption small{color:var(--muted);font-size:11px}.russianFontOption .fontSample{text-align:center;font-size:15px;line-height:1.5}.russianFontOption.fontRussianSystem .fontSample{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.russianFontOption.fontRussianLiterata .fontSample{font-family:var(--font-literata), Georgia, serif}.russianFontOption.fontRussianPtSerif .fontSample{font-family:var(--font-pt-serif), Georgia, serif}.russianFontOption.fontRussianPalatino .fontSample{font-family:"Palatino Linotype", "Palatino", "Book Antiqua", var(--font-pt-serif), Georgia, serif}.fontAvailabilityNote{color:var(--muted);margin-top:9px;font-size:11px;line-height:1.5;display:block}.readingPreview{background:var(--surface-soft);border-radius:12px;margin:20px 0;padding:16px}.readingPreview p{margin:4px 0!important}.accessibilityToggles{gap:10px;display:grid}.accessibilityToggles button{text-align:left;background:0 0;align-items:center;gap:12px;display:flex}.accessibilityToggles small{display:block}.accessibilityToggles strong{font-size:13px}.accessibilityToggles .active{border-color:var(--accent);color:var(--accent)}.settingsLinks{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:0 15px}.settingsLinks>a,.adminEntry{border-bottom:1px solid var(--border);align-items:center;gap:13px;padding:17px 0;display:flex}.settingsLinks>a:last-child{border:0}.settingsLinks>a>div{flex:1;min-width:0}.settingsLinks strong{font-size:14px;font-weight:550;display:block}.settingsLinks small{margin-top:3px;font-size:11px;display:block}.settingsLinks b{color:var(--muted)}.settingsLinks>a>span,.settingsIcon{color:var(--accent)}.sourceSettingsCard{gap:14px;display:flex}.sourceSettingsCard p{color:var(--muted);margin:8px 0;font-size:13px}.sourceSettingsCard a{color:var(--accent);text-decoration:underline}.settingsAbout{align-items:center;gap:12px;padding-top:15px;display:flex}.settingsAbout small{display:block}.brandMark{background:var(--accent);width:40px;height:40px;color:var(--on-accent);border-radius:12px;place-items:center;font-family:Georgia,serif;font-size:23px;display:grid}.settingsAbout strong{font-family:Georgia,serif}.readerShell{max-width:800px;min-height:100dvh;padding:calc(18px + var(--top-inset) + var(--telegram-header-clearance)) 20px calc(35px + var(--safe-bottom));margin:auto}.referenceReaderHead h1{margin:5px 0 0;font-size:19px}.readerProgressWrap{margin:20px 0}.readerProgressMeta{color:var(--muted);justify-content:space-between;gap:10px;font-size:11px;display:flex}.readerProgress{background:var(--border);border-radius:5px;height:3px;margin-top:8px}.readerProgress>span{background:var(--accent);border-radius:5px;height:100%;display:block}.readerControlBar{flex-direction:column;gap:8px;display:flex}.readerModeSwitch{background:var(--surface-soft);border-radius:13px;grid-template-columns:1.1fr 1fr 1fr;gap:3px;margin:10px 0;padding:4px;display:grid}.readerModeSwitch button{border-radius:10px;padding:8px;font-size:12px}.readerJump{display:none}.readerTitleBlock{margin:28px 0 22px}.readerTitleBlock>span{letter-spacing:1px;color:var(--muted);font-size:10px}.readerTitleBlock small{margin:10px 0;display:block}.readerTitleBlock h2{margin:9px 0;font-size:24px;line-height:1.4}.readerLanguageBlock{padding:22px 0}.readerLanguageBlock+.readerLanguageBlock{border-top:1px solid var(--border);margin-top:8px}.readerBlockLabel{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:18px;font-size:11px;display:flex}.readerBlockLabel small{font-size:10px}.translationText{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--russian-reading-font);font-size:var(--translation-font-size);text-align:left;line-height:1.8}.arabicText{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--arabic-reading-font);font-size:var(--arabic-font-size);line-height:var(--arabic-line-height);text-align:right;letter-spacing:normal}.chapterIntroArabic{font-family:var(--arabic-reading-font)}.chapterIntroRu{font-family:var(--russian-reading-font)}.readerActions{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.readerActions button{align-items:center;gap:8px;font-size:12px;display:flex}.readerActions button.active{color:var(--accent);border-color:var(--accent)}.v3ReaderMeta{border-top:1px solid var(--border);gap:10px;padding:18px 0;display:grid}.v3ReaderMeta>div{justify-content:space-between;gap:18px;font-size:12px;display:flex}.v3ReaderMeta span{color:var(--muted)}.v3ReaderMeta strong{text-align:right;font-weight:500}.memorizeHint{display:none}.referenceReaderNav{grid-template-columns:1fr 1fr;gap:12px;margin-top:28px;display:grid}.referenceReaderNav>a,.referenceReaderNav>button{background:var(--surface-soft);border:0;border-radius:13px;justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}.referenceReaderNav small{font-size:10px;display:block}.referenceReaderNav strong{font-size:13px;font-weight:550}.referenceReaderNav>a:last-child,.referenceReaderNav>button:last-child{background:var(--accent);color:var(--on-accent)}.referenceReaderNav>a:last-child small,.referenceReaderNav>button:last-child small{color:inherit}.desktopToc{display:none}.focusExit{bottom:calc(16px + var(--safe-bottom));z-index:30;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0002}.readerFocus .readerActions,.readerFocus .readerProgressWrap,.readerFocus .readerControlBar,.readerFocus .v3ReaderMeta{display:none}.splashBackdrop,.consentBackdrop,.modalBackdrop{z-index:100;padding:max(16px, var(--top-inset)) 16px max(16px, var(--safe-bottom));background:#0007;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow-y:auto}.consentBackdrop{z-index:110}.splashBackdrop{background:var(--bg)}.splashCard{text-align:center;background:var(--bg);width:min(480px,100%);max-height:100%;padding:20px 8px;overflow:auto}.splashCard h1{letter-spacing:-1px;margin:13px 0 9px;font-family:Georgia,serif;font-size:42px}.splashCard h2{font-size:19px;font-weight:500}.splashCard p{color:var(--muted);margin:22px 0;font-size:15px}.splashCard .primaryButton{width:100%;margin:22px 0 15px}.welcomeBooks{justify-content:center;align-items:flex-end;max-width:320px;min-height:230px;margin:15px auto 35px;padding:15px 0;display:flex;position:relative}.welcomeBooks .bookCoverArtwork{flex-shrink:0;width:35%;box-shadow:0 10px 20px #0002}.welcomeBooks .bookCoverArtwork:first-child{max-width:110px;transform:rotate(-12deg)translate(20px)}.welcomeBooks .bookCoverArtwork:nth-child(2){z-index:2;width:43%;max-width:150px;transform:translateY(-10px)}.welcomeBooks .bookCoverArtwork:last-child{max-width:110px;transform:rotate(12deg)translate(-20px)}.welcomeBooks .coverRussian{font-size:9px}.consentCard,.modalCard{background:var(--surface);border-radius:20px;width:min(480px,100%);max-height:100%;padding:24px;overflow:auto}.consentBrand{color:var(--accent);margin-bottom:24px;font-family:Georgia,serif;font-size:25px}.consentCard p{color:var(--muted);font-size:13px}.consentCheck,.checkRow{align-items:flex-start;gap:12px;margin:18px 0;font-size:13px;display:flex}.consentCheck a{color:var(--accent);text-decoration:underline}.consentCard .primaryButton{width:100%;margin-top:22px}.modalHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.modalHead small{display:block}.modalCard label{margin:16px 0}.modalCard>.primaryButton{width:100%;margin-top:18px}.emptyCard{text-align:center;background:var(--surface-soft);border-radius:18px;margin:24px 0;padding:35px 20px}.emptyCard strong{font-size:19px}.emptyCard p{color:var(--muted);margin:12px 0;font-size:14px}.emptyCard a{color:var(--accent);padding:10px;display:inline-block}.favoriteGrid,.offlineManager,.historyList,.memoryList{gap:14px;display:grid}.favoriteCard,.offlineCollectionCard,.historyCard,.memoryCard{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px}.favoriteCard h2,.offlineCollectionCard h2{margin:14px 0 8px;font-size:18px}.favoriteCard p,.offlineCollectionCard p{color:var(--muted);font-size:14px}.favoriteMeta,.offlineCardTop{color:var(--accent);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.favoriteActions,.offlineButtons{flex-wrap:wrap;gap:8px;margin-top:15px;display:flex}.favoriteActions button,.offlineButtons button{align-items:center;gap:7px;font-size:12px;display:flex}.favoriteCard blockquote{border-left:2px solid var(--accent);background:var(--surface-soft);margin:15px 0;padding:12px;font-size:14px}.dangerButton,.danger{color:var(--danger)}.skeletonList{gap:14px;display:grid}.skeletonList span{background:var(--surface-soft);border-radius:15px;height:100px}.searchForm{flex-wrap:wrap;gap:8px;display:flex}.searchForm input{flex:1;min-width:150px}.searchForm button{background:var(--accent);color:var(--on-accent);border:0}.searchFilters{flex-wrap:wrap;gap:10px;margin:15px 0;display:flex}.searchFilters>*{flex:1}.searchResult,.resultCard{border-bottom:1px solid var(--border);padding:18px 0;display:block}.searchResult p,.resultCard p{color:var(--muted);font-size:14px}mark{background:var(--surface-soft);color:var(--accent)}.supportForm,.adminForm{gap:16px;display:grid}.legalArticle,.legalContent{font-size:15px;line-height:1.8}.legalArticle h2,.legalContent h2{margin-top:28px}.dataControls{gap:12px;display:grid}.dataControls button{text-align:left;align-items:center;gap:12px;display:flex}.dataControls small{display:block}.notificationSetting{justify-content:space-between;align-items:center;gap:14px;display:flex}.notificationSetting p{color:var(--muted);font-size:13px}.adminHeader{flex-wrap:wrap;justify-content:space-between;gap:14px;margin-bottom:22px;display:flex}.adminHeader>div:last-child{gap:10px;display:flex}.adminStats{grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0;display:grid}.adminStats article{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;padding:15px;font-size:12px;display:flex}.adminStats strong{font-size:25px}.adminCollectionList a{border-bottom:1px solid var(--border);align-items:center;gap:13px;padding:18px 0;display:flex}.adminCollectionList a>div{flex:1}.adminCollectionList small{display:block}.adminReportList article{background:var(--surface);border-radius:12px;margin:14px 0;padding:18px}.adminReportList p{white-space:pre-wrap}.adminReportList article>div{justify-content:space-between;margin-bottom:12px;display:flex}.adminEntry{color:var(--accent)}.coverSelect{margin:20px 0}.coverEditor{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:20px}.coverEditor>label{margin:18px 0}.coverEditor>small{margin:12px 0;display:block}.coverPreviews{justify-content:center;align-items:flex-start;gap:24px;margin:25px 0;display:flex}.coverPreviews>div{flex-direction:column;align-items:center;gap:12px;min-width:0;display:flex}.coverPreviews .bookCoverArtwork{width:95px}.coverPreviews .collectionHeroBookCover{width:135px}.uploadPreview{object-fit:contain;width:95px;height:143px}.uploadPreview.large{width:135px;height:203px}.uploadLabel{background:var(--surface-soft);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:14px;display:flex;position:relative;overflow:hidden}.uploadLabel input{opacity:0;cursor:pointer;position:absolute;inset:0}.coverEditor>.primaryButton{width:100%}.coverSecondary{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.coverSecondary button{flex:1;font-size:12px}.coverEditor [role=status]{margin:16px 0 0;font-size:13px}.coverEditor label{font-size:13px}.coverEditor .checkRow{align-items:center}.adminLogin{max-width:450px;margin:10vh auto;padding:25px}.adminLogin form{gap:14px;display:grid}.installArea{margin:24px 0}html[data-telegram=true] .installArea{display:none}html[data-high-contrast=true]{--muted:var(--text);--border:var(--text)}@media (min-width:650px){.homeBookGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.homeHeader h1{font-size:36px}.homeHeader .eyebrow{font-size:10px}.primaryShelf .bookCoverArtwork{max-width:150px}.v3CollectionHero{text-align:left;flex-direction:row;align-items:flex-start;padding:15px}.v3CollectionHeroCopy{padding-left:10px}.collectionHeroMeta,.downloadActions{justify-content:flex-start}.v3CollectionHeroCopy>p{margin-left:0}.bookCoverArtwork strong{font-size:26px}.primaryShelf strong{font-size:14px}.shell{padding-left:28px;padding-right:28px}.readerShell{padding-left:40px;padding-right:40px}}@media (max-width:350px){.shell,.readerShell{padding-left:14px;padding-right:14px}.homeBookGrid{gap:20px 12px}.bookStage{padding:13px 10px}.homeBookCard>strong{font-size:13px}.themeMiniature{padding:12px 7px}.themeChoices,.referenceReaderHead{gap:6px}.referenceReaderHead .topIconButton{width:38px;min-width:38px}.splashCard h1{font-size:35px}.collectionNavControls{grid-template-columns:1fr}.coverPreviews{gap:15px}.coverEditor{padding:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-reduce-motion=true] *,html[data-reduce-motion=true] :before{scroll-behavior:auto!important;transition:none!important;animation:none!important}.searchBar{background:var(--surface-soft);border-radius:14px;align-items:center;gap:8px;padding:8px 12px;display:flex}.searchBar input{background:0 0!important;border:0!important;padding:5px!important}.searchBar button{background:var(--accent);color:var(--on-accent);border:0;font-size:13px}.searchScope,.searchChips{flex-wrap:wrap;gap:6px;margin:16px 0;display:flex}.searchScope button,.searchChips button{background:var(--surface-soft);border:0;font-size:12px}.searchScope .active{background:var(--accent);color:var(--on-accent)}.searchAssist{margin:24px 0}.searchAssistHead{justify-content:space-between;align-items:center;font-size:14px;display:flex}.searchAssistHead button{color:var(--muted);background:0 0;border:0;font-size:12px}.searchMode{color:var(--muted);font-size:12px}.searchResultV2{align-items:flex-start;gap:12px;display:flex}.searchResultV2>div{flex:1;min-width:0}.searchResultV2 strong{margin:5px 0;font-size:15px;display:block}.numberPill{color:var(--accent);background:var(--surface-soft);border-radius:8px;padding:7px;font-size:12px}.collectionFilter{align-items:center;gap:10px;margin:15px 0;display:flex}.notificationRow{align-items:center;gap:15px;display:flex}.notificationRow>div{flex:1}.notificationRow strong{font-size:14px}.notificationRow p{color:var(--muted);margin:7px 0;font-size:12px}.switch{background:var(--border);border:0;border-radius:20px;width:49px;min-width:49px;height:30px;min-height:30px;padding:3px;position:relative}.switch span{background:var(--surface);border-radius:50%;width:24px;height:24px;display:block;box-shadow:0 1px 4px #0002}.switch.on{background:var(--accent)}.switch.on span{transform:translate(19px)}.historyRow{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:18px 0;display:flex}.historyRow>div{flex:1}.historyRow small{display:block}.historyRow strong{font-size:15px}.supportForm input,.supportForm textarea{margin-bottom:12px}.legalShell{max-width:760px;margin:auto;padding:25px 20px 100px}.legalShell h2{margin-top:30px}.legalShell p{color:var(--muted)}.comingSoonHero{text-align:center;padding:30px 10px}.comingSoonHero h2{font-size:24px}.comingSoonHero p{color:var(--muted)}.collectionArabic{font-size:22px;line-height:1.8}.chapterGroup{scroll-margin-top:calc(20px + var(--top-inset))}.adminLoginCard{background:var(--surface);border-radius:18px;max-width:450px;margin:40px auto;padding:24px}.adminLoginCard form{gap:14px;display:grid}.adminLoginCard p{color:var(--muted);font-size:14px}.adminLoginCard input{margin-bottom:12px}.translationText{font-family:var(--russian-reading-font)}.v3CollectionShell>.referencePageHead h1{font-size:18px}.v3CollectionHeroCopy>p,.v3CollectionHeroCopy .collectionAttribution span:not(:first-child){display:none}
.topicalShell .referencePageHead h1{font-size:clamp(21px,5vw,27px);line-height:1.28}.topicLead{color:var(--muted);margin:0 0 24px;font-size:14px}.topicCategoryList,.topicSubcategoryList{gap:10px;display:grid}.topicCategoryCard{background:var(--surface);border:1px solid var(--border);border-radius:15px;align-items:center;gap:12px;min-height:72px;padding:14px 17px;display:flex}.topicCategoryText{flex:1;min-width:0}.topicCategoryText strong{overflow-wrap:anywhere;font-size:15px;line-height:1.4;display:block}.topicCategoryText small{color:var(--muted);margin-top:3px;display:block}.topicCategoryCard>svg,.topicSubcategoryList svg,.topicHadithCard>svg{color:var(--accent)}.topicCredit{color:var(--muted);margin:26px 0;font-size:12px;line-height:1.6}.topicCredit a{text-underline-offset:3px;color:var(--accent);text-decoration:underline}.topicSubsection{margin:14px 0 30px}.topicSubsection h2{margin:0 0 14px;font-size:19px}.topicSubcategoryList a{background:var(--surface);border:1px solid var(--border);border-radius:13px;align-items:center;gap:10px;min-height:54px;padding:12px 14px;display:flex}.topicSubcategoryList span{flex:1;font-size:14px;line-height:1.35}.topicSubcategoryList small{white-space:nowrap}.topicHadithSection{margin-top:26px}.topicCount{color:var(--accent);background:var(--surface-soft);border-radius:99px;padding:4px 11px;font-size:12px;font-weight:700}.topicHadithCard{border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:1fr auto;gap:4px 12px;padding:16px;display:grid}.topicHadithCard:first-of-type{border-radius:15px 15px 0 0}.topicHadithCard:last-of-type{border-radius:0 0 15px 15px}.topicHadithId{color:var(--muted);font-size:11px}.topicHadithCard strong{grid-column:1;font-size:14px;font-weight:600;line-height:1.65}.topicHadithCard svg{grid-area:1/2/span 2;align-self:center}.topicPagination{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:20px 0;font-size:13px;display:flex}.topicPagination a{color:var(--accent);background:var(--surface-soft);border-radius:10px;padding:10px 12px;font-weight:600}.topicReader{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:clamp(17px,4.5vw,27px)}.topicReader>h2{font-family:var(--russian-reading-font);font-size:21px;line-height:1.55}.topicReaderSection{border-bottom:1px solid var(--border);padding:20px 0}.topicReaderSection>small{color:var(--accent);margin-bottom:11px;font-size:12px;font-weight:650;display:block}.topicReaderSection>h2{margin-bottom:12px;font-size:19px}.topicArabic{font-family:var(--arabic-reading-font);font-size:var(--arabic-font-size);line-height:var(--arabic-line-height);white-space:pre-line;overflow-wrap:anywhere;margin:0;font-weight:400}.topicRussian,.topicHints{font-family:var(--russian-reading-font);font-size:var(--translation-font-size);white-space:pre-line;overflow-wrap:anywhere;margin:0;line-height:1.85}.topicHints{padding-left:25px}.topicHints li{margin:0 0 12px}.topicReference{background:var(--surface-soft);border-radius:13px;margin:14px 0;padding:14px 16px;font-size:13px}.topicReference p{margin:5px 0;line-height:1.6}.topicsHomeBanner{background:var(--surface);border:1px solid var(--border);border-radius:17px;align-items:center;gap:14px;margin-top:22px;padding:18px;display:flex}.topicsHomeBanner>span{background:var(--surface-soft);width:48px;height:48px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.topicsHomeBanner div{flex:1;min-width:0}.topicsHomeBanner strong{font-size:15px}.topicsHomeBanner p{color:var(--muted);margin:3px 0 0;font-size:12px}.topicsHomeBanner>svg{color:var(--accent)}.topicDownloadPanel{border:1px solid var(--border);background:var(--surface-soft);border-radius:17px;gap:8px;margin-bottom:22px;padding:17px;display:grid}.topicDownloadPanel>strong{font-size:15px}.topicDownloadPanel>p{color:var(--muted);margin:0 0 5px;font-size:12px}.topicDownloadPanel .downloadActions{justify-content:flex-start}.topicSearch{background:var(--surface-soft);border:1px solid var(--border);color:var(--muted);border-radius:14px;align-items:center;gap:9px;margin:0 0 18px;padding:2px 12px;display:flex}.topicSearch:focus-within{outline:2px solid var(--accent);outline-offset:2px}.topicSearch input{flex:1;min-width:0;background:0 0!important;border:0!important;outline:0!important;min-height:47px!important;padding:12px 2px!important}.topicSearch button{background:0 0;border:0;place-items:center;min-width:32px;min-height:32px;padding:0;display:grid}.topicBibliography{border-top:1px solid var(--border);padding:16px 0;font-size:13px}.topicBibliography summary{color:var(--accent);cursor:pointer;font-weight:600}.topicArabicReference{font-family:var(--arabic-reading-font);white-space:pre-line;padding-top:15px;font-size:18px;line-height:1.9}.topicBibliography dl{margin:0;padding:12px 0}.topicBibliography dt{font-family:var(--arabic-reading-font);font-size:20px;font-weight:600}.topicBibliography dd{font-family:var(--arabic-reading-font);color:var(--muted);margin:0 0 16px;font-size:18px}.topicExtraReader{border-bottom:1px solid var(--border);margin-bottom:15px;padding:16px 0}.topicExtraReader h2{margin-bottom:10px;font-size:19px}.topicExtraReader summary{color:var(--accent);cursor:pointer;font-size:14px;font-weight:600}.offlineTopicBrowser{margin:20px 0 32px}.offlineTopicBrowser>h2{margin:12px 0 16px;font-size:18px;line-height:1.4}.offlineTopicBack{color:var(--accent);background:0 0;border:0;align-items:center;gap:8px;padding:9px 0;font-size:13px;font-weight:600;display:flex}.offlineTopicCategory{background:var(--surface);border:1px solid var(--border);text-align:left;min-height:52px;color:var(--text);border-radius:13px;align-items:center;gap:11px;width:100%;padding:13px 14px;display:flex}.offlineTopicCategory>span{overflow-wrap:anywhere;flex:1;min-width:0}.offlineTopicCategory>small{color:var(--muted)}.offlineTopicCategory>svg{color:var(--accent)}.offlineTopicHadiths{margin-top:24px}.offlineTopicHadiths .topicPagination button{color:var(--accent);background:var(--surface-soft);border:0;border-radius:11px;padding:10px 12px;font-size:13px;font-weight:600}.offlineTopicHadiths .topicPagination button:disabled{opacity:.35}
:root,:root[data-palette=huna]{--bg:#f8f3e9;--cream:#f8f3e9;--surface:#fffdf8;--card:#fffdf8;--surface-soft:#f2eadc;--text:#172e28;--muted:#716e66;--accent:#0c624c;--on-accent:#fffdf5;--border:#e9dfcd;--huna-gold:#bd9251;--huna-shadow:0 8px 26px #3c321b0f;--huna-tint:#f8edd7;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-palette=minimal]{--bg:#fff;--cream:#fff;--surface:#fff;--card:#fff;--surface-soft:#f5f7f6;--text:#172824;--muted:#64726d;--accent:#145c49;--on-accent:#fff;--border:#e3eae6;--huna-gold:#79978a;--huna-shadow:0 4px 18px #19292309;--huna-tint:#f0f6f2;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-palette=sapphire]{--bg:#edf4fc;--cream:#edf4fc;--surface:#fff;--card:#fff;--surface-soft:#e4eefb;--text:#172c4c;--muted:#5b6e89;--accent:#2459ad;--on-accent:#fff;--border:#d6e3f4;--huna-gold:#759dd8;--huna-shadow:0 9px 25px #264f8112;--huna-tint:#dcecfb;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-palette=navy]{--bg:#11251f;--cream:#11251f;--surface:#1b342c;--card:#1b342c;--surface-soft:#284239;--text:#f4f2e9;--muted:#c0c6b7;--accent:#e4c585;--on-accent:#132921;--border:#385449;--huna-gold:#e4c585;--huna-shadow:0 10px 27px #00000024;--huna-tint:#244439;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);color:var(--text)}.shell,.readerShell,.legalShell{color:var(--text)}:is(.homeSection,.settingsGroup,.referenceHadithList)>h2,.sectionHeading h2,.modernSectionHead h2{font-family:var(--font-literata), Georgia, serif;letter-spacing:-.6px}:is(.settingsCard,.v3CollectionHero,.referenceReaderArticle,.referenceHadithRow,.chapterGroup,.historyRow,.searchResultV2){border-color:var(--border)}:is(.settingsCard,.chapterGroup,.v3CollectionHero,.searchResultV2){background:var(--surface);box-shadow:var(--huna-shadow)}:where(a,button){-webkit-tap-highlight-color:transparent}:where(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.hunaHome .homeHeader{justify-content:flex-start;gap:12px;margin:8px 0 18px}.hunaHome .homeBrandSeal{width:48px;height:48px;box-shadow:var(--huna-shadow);background:url(/icon.svg) 50%/cover no-repeat;border-radius:13px;flex:0 0 48px;place-items:center;display:grid}.hunaHome .homeBrandCopy{flex:1;min-width:0}.hunaHome .homeHeader h1{color:var(--text);margin:0 0 4px;font-size:clamp(24px,6vw,34px)}.hunaHome .homeHeader .eyebrow{letter-spacing:1.6px;color:var(--muted);font-size:9px;display:block}.hunaHome .searchField{border:1px solid var(--border);background:var(--surface);min-height:50px;box-shadow:var(--huna-shadow);border-radius:15px;margin-bottom:14px}.hunaHome .homeSection{margin-top:20px}.hunaHome .sectionHeading{margin:24px 0 12px}.hunaHome .sectionHeading h2{font-size:19px}.hunaHome .sectionHeading>a{min-height:40px}.hunaHome .primaryShelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,3vw,16px)}.hunaHome .primaryShelf a{min-height:0;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px;padding:5px 5px 10px;transition:background-color .2s,border-color .2s;display:flex;overflow:visible}.hunaHome .primaryShelf a:hover{background:var(--surface);border-color:var(--border)}.hunaHome .primaryShelf .bookCoverArtwork{aspect-ratio:2/3;border-radius:4px;width:100%;max-width:none;padding:9px 6px;box-shadow:0 5px 13px #221d1424}.hunaHome .primaryShelf .bookCoverArtwork.hasImage{background:var(--surface);border:3px solid var(--surface);box-shadow:0 0 0 1px var(--border), 0 5px 13px #221d1424;border-radius:5px;padding:0}.hunaHome .primaryShelf .bookCoverArtwork strong{font-size:16px}.hunaHome .primaryShelf strong{font-family:var(--font-literata), Georgia, serif;overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.35}.hunaHome .primaryShelf small{color:var(--muted);font-size:10px}.hunaHome .startReading,.hunaHome .continueCard{border:1px solid var(--border);background:linear-gradient(130deg, var(--surface), var(--huna-tint));box-shadow:var(--huna-shadow);border-radius:17px;padding:13px}.hunaHome .continueCard{gap:13px;min-height:107px}.hunaHome .continueCard .bookCoverArtwork{width:66px;max-width:66px}.hunaHome .continueCard strong{font-size:16px;font-family:var(--font-literata),Georgia,serif}.hunaHome .continueCard .readPill{margin-top:9px;padding:7px 11px;font-size:12px}.hunaHome .homeBookGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hunaHome .homeBookCard{text-align:center;border:1px solid var(--border);background:var(--surface);box-shadow:var(--huna-shadow);border-radius:17px;align-items:center;padding:12px 10px}.hunaHome .homeBookCard>strong{font-size:13px;line-height:1.35}.hunaHome .homeBookCard>small{color:var(--muted);font-size:11px}.hunaHome .bookStage{background:0 0;align-items:center;width:100%;min-height:0;margin-bottom:3px;padding:8px 5px 4px}.hunaHome .bookStage .bookCoverArtwork{width:100%;max-width:130px;box-shadow:0 5px 13px #221d1424}.hunaHome .bookStage .bookCoverArtwork.hasImage{background:var(--surface);border:3px solid var(--surface);box-shadow:0 0 0 1px var(--border), 0 5px 13px #221d1424;border-radius:5px;padding:0}.hunaHome .readyBadge{background:var(--huna-tint)}.hunaHome .topicsHomeBanner,.hunaHome .offlineBanner{background:var(--surface);border:1px solid var(--border);box-shadow:var(--huna-shadow);border-radius:17px;margin-top:16px;padding:15px}.hunaHome .offlineBanner{margin-bottom:12px}.bottomNav{background:color-mix(in srgb, var(--surface) 95%, transparent);-webkit-backdrop-filter:blur(15px);border:1px solid var(--border);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -7px 24px #0000000b}.bottomNav a{border-radius:12px}.bottomNav a.active{color:var(--accent)}.bottomNav a.active .navIcon{transform:translateY(-1px)}.bottomNav .navLabel{font-size:10px}.v3CollectionHero{border:1px solid var(--border);background:var(--surface);box-shadow:var(--huna-shadow);border-radius:21px;padding:18px}.v3CollectionHeroCopy h2{font-family:var(--font-literata), Georgia, serif}.chapterGroup{border-radius:16px;overflow:hidden}.chapterGroup summary{background:var(--surface);padding-block:14px}.referenceHadithRow{border-bottom:1px solid var(--border)}.referenceNumber{background:var(--huna-tint);color:var(--accent)}.primaryButton,.continueReadingButton{border-radius:14px}.readerV2 .referenceReaderHead{margin-bottom:15px;position:relative}.readerV2 .referenceReaderHead>div:not(.readerTopActions){flex:1}.readerV2 .referenceReaderHead h1{font-family:var(--font-literata), Georgia, serif}.readerTopActions{align-items:center;gap:6px;margin-left:auto;display:flex;position:relative}.readerTopActions .topIconButton{background:var(--surface);border:1px solid var(--border);width:42px;min-width:42px}.readerTopActions .readerFavoriteButton.isFavorite{background:var(--huna-tint);color:var(--accent)}.readerMoreMenu{z-index:45;border:1px solid var(--border);background:var(--surface);width:min(310px,78vw);color:var(--text);border-radius:16px;padding:7px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 48px #00000029}.readerMoreMenu :is(button,a){width:100%;min-height:45px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:11px 10px;font-size:13px;display:flex}.readerMoreMenu :is(button,a):hover{background:var(--surface-soft)}.readerV2 .readerJump.isOpen{align-items:center;gap:7px;display:flex}.readerV2 .readerJump.isOpen input{flex:1;min-width:0}.readerV2 .referenceReaderArticle{background:var(--surface);border:1px solid var(--border);box-shadow:var(--huna-shadow);border-radius:20px;padding:clamp(16px,5vw,30px)}.readerV2 .readerTitleBlock h2{font-family:var(--font-literata),Georgia,serif}.readerV2 .readerActionsV2{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.readerV2 .readerActionsV2 button{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:74px;color:var(--text);box-shadow:var(--huna-shadow);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:11px 4px;font-size:11px;display:flex}.readerV2 .readerActionsV2 button:disabled{opacity:.42}.readerV2 .referenceReaderNav{gap:8px}.readerV2 .referenceReaderNav>:is(a,button){background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:15px;padding:12px 10px}.readerV2 .referenceReaderNav>:is(a,button):last-child{background:var(--huna-tint);color:var(--text)}.readerV2 .referenceReaderNav>:is(a,button):last-child small{color:var(--muted)}.settingsShell .settingsProfileCard{background:var(--surface);border:1px solid var(--border);box-shadow:var(--huna-shadow);border-radius:17px;align-items:center;gap:12px;padding:14px;display:flex}.settingsShell .settingsProfileCard>div:nth-child(2){flex:1;min-width:0}.settingsShell .settingsProfileCard strong{font-size:14px;display:block}.settingsShell .settingsProfileCard p{color:var(--muted);margin:4px 0 0;font-size:12px}.settingsShell .settingsProfileCard .telegramProfile>div{display:none}.settingsShell .settingsProfileCard .telegramProfile img,.settingsShell .settingsProfileCard .telegramProfile>span{border-radius:50%;width:34px;height:34px}.settingsShell .settingsGroup{margin:24px 0}.settingsShell .settingsCard{box-shadow:var(--huna-shadow);border-radius:19px}.settingsShell .themeChoices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settingsShell .themeChoice{border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--huna-shadow);border-radius:15px;padding:9px 8px 11px}.settingsShell .themeChoice .themeMiniature{height:82px;box-shadow:none;border-radius:11px;gap:6px;padding:12px}.settingsShell .themeChoice.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.settingsShell .themeChoice strong{margin-top:7px;font-size:13px}.settingsShell .themeChoice small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.settingsShell .settingsLinks>a{background:var(--surface)}.settingsShell .settingsLinks strong{color:var(--text)}.settingsShell .settingsProfileBrand{border-radius:13px;flex:0 0 42px;width:42px;height:42px}.settingsShell .themeChoice[aria-pressed=true] .themeMiniature{border-color:var(--accent)}:root[data-palette=navy] .readerV2 .translationText,:root[data-palette=navy] .readerV2 .arabicText{color:var(--text)}:root[data-palette=navy] .hunaHome .homeBookCard,:root[data-palette=navy] .hunaHome .primaryShelf a{background:var(--surface)}.searchBar,.searchField,.searchResultV2,.searchForm,.historyRow,.folderTabs,.modeSegmented,.referenceHadithRow,.topicCategoryCard{border-radius:15px}.searchBar,.searchForm{background:var(--surface);border:1px solid var(--border)}.searchScope .active,.searchChips .active{background:var(--accent);color:var(--on-accent)}@media (min-width:650px){.hunaHome .primaryShelf,.hunaHome .homeBookGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.settingsShell .themeChoices{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:360px){.hunaHome .primaryShelf{gap:7px}.hunaHome .primaryShelf a{gap:6px;padding:3px 3px 8px}.hunaHome .primaryShelf strong{font-size:11px}.readerV2 .readerActionsV2{gap:5px}.readerV2 .readerActionsV2 button{padding:8px 2px;font-size:10px}}@media (prefers-reduced-motion:reduce){.hunaHome *,.readerV2 *,.settingsShell *{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.hadithCardBackdrop{z-index:5000;padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);overscroll-behavior:contain;background:#0a1c17ad;place-items:center;display:grid;position:fixed;inset:0}.hadithCardDialog{box-sizing:border-box;overscroll-behavior:contain;color:#28352f;background:#fff;border:1px solid #e5e9e6;border-radius:22px;width:min(520px,100%);max-height:calc(100dvh - 24px);padding:20px;overflow-y:auto;box-shadow:0 24px 80px #0000003d}.hadithCardDialogHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.hadithCardDialogHeader strong{font-size:20px;font-weight:750;display:block}.hadithCardDialogHeader small{color:#6c7770;margin-top:4px;font-size:12px;display:block}.hadithCardDialogHeader>button{color:#314037;cursor:pointer;background:#f8faf8;border:1px solid #e4eae6;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:24px;line-height:1;display:grid}.hadithCardFormat{grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px;display:grid}.hadithCardFormat button,.hadithCardPager button{color:#3b4b40;cursor:pointer;background:#f8faf9;border:1px solid #dee6e1;border-radius:11px;padding:10px;font-size:13px;font-weight:650}.hadithCardFormat button.selected{color:#0b6049;background:#e5f2eb;border-color:#90bca6}.hadithCardPreview{background:#edf1ee;border-radius:14px;justify-content:center;align-items:center;min-height:0;padding:12px;display:flex}.hadithCardPreview canvas{width:auto;max-width:100%;height:auto;max-height:min(52dvh,570px);display:block;box-shadow:0 6px 24px #11231b1f}.hadithCardPager{text-align:center;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.hadithCardPager span{color:#3c4942;font-size:13px;font-weight:650}.hadithCardPager button{padding:8px 11px}.hadithCardPager button:disabled{opacity:.38;cursor:default}.hadithCardHint{color:#6b7770;margin:10px 0 0;font-size:12px;line-height:1.5}.hadithCardError{color:#a32d2d;margin:10px 0 0;font-size:13px}.hadithCardActions{grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;display:grid}.hadithCardActions button{cursor:pointer;border-radius:12px;min-height:44px;padding:11px 9px;font-size:13px;font-weight:750}.hadithCardActions button:disabled{opacity:.5;cursor:default}.hadithCardSecondary{color:#0b6049;background:#f7faf8;border:1px solid #bdd4c7}.hadithCardPrimary,.hadithCardAll{color:#fff;background:#0b6049;border:1px solid #0b6049}.hadithCardAll{grid-column:1/-1}@media (max-width:440px){.hadithCardDialog{border-radius:18px;padding:14px}.hadithCardPreview canvas{max-height:47dvh}.hadithCardFormat button,.hadithCardActions button{font-size:12px}}.hadithCardBackdrop{z-index:2147483000;box-sizing:border-box;touch-action:pan-y;justify-content:center;align-items:center;width:100vw;height:100dvh;display:flex;position:fixed;inset:0;overflow:hidden}.hadithCardDialog{-webkit-overflow-scrolling:touch;text-align:left;flex:0 520px;min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);position:relative}.hadithCardPreview{width:100%;min-width:0;max-width:100%;overflow:hidden}.hadithCardPreview canvas{box-sizing:border-box;object-fit:contain;aspect-ratio:auto;width:100%;max-width:100%;height:auto;max-height:min(48dvh,520px)}@media (max-width:440px){.hadithCardBackdrop{padding:max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom))}.hadithCardDialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.hadithCardPreview canvas{max-height:44dvh}}
