.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-tools{position:absolute;top:14px;inset-inline-start:14px;display:flex;flex-direction:column;gap:10px}.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%}.verse-paper{margin:5px}.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}}@font-face{font-family:Noto-Naskh;src:url(/fonts/NotoNaskhArabic.woff2) format("woff2");font-weight:400 700;font-display:swap;size-adjust:80%}@font-face{font-family:Amiri-Quran;src:url(/fonts/AmiriQuran.woff2) format("woff2");font-display:swap;size-adjust:82%}@font-face{font-family:Scheherazade;src:url(/fonts/ScheherazadeNew.woff2) format("woff2");font-display:swap;size-adjust:78%}@font-face{font-family:Lateef;src:url(/fonts/Lateef.woff2) format("woff2");font-display:swap;size-adjust:112%}@font-face{font-family:Hafs;src:url(/fonts/Hafs.woff2) format("woff2");font-display:swap;size-adjust:88%;unicode-range:U+0020,U+0621-063A,U+0640-0657,U+0660-0669,U+0670-0671,U+06D6-06DE,U+06E0-06E2,U+06E4-06E9,U+06EC-06ED,U+FD3E-FD3F}@font-face{font-family:Vazirmatn;src:url(/fonts/Vazirmatn.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:Vazir-fa;src:url(/fonts/Vazirmatn-fa.woff2) format("woff2");font-weight:100 900;font-display:swap;size-adjust:78%}@font-face{font-family:Vazir-en;src:url(/fonts/Vazirmatn.woff2) format("woff2");font-weight:100 900;font-display:swap;size-adjust:106%}@font-face{font-family:Sahel-fa;src:url(/fonts/Sahel-fa.woff2) format("woff2");font-display:swap;size-adjust:79%}@font-face{font-family:Zar-en;src:url(/fonts/BZar.woff2) format("woff2");font-display:swap;size-adjust:118%}:root{--font-ui: "Sahel", Tahoma, sans-serif;--radius: 14px;--ease: cubic-bezier(.2, .8, .2, 1);--scrim: rgb(10 20 16 / .45);--shadow-1: 0 1px 2px rgb(40 50 30 / .08), 0 6px 20px rgb(40 50 30 / .08);--shadow-2: 0 18px 50px rgb(15 25 20 / .25), 0 2px 8px rgb(15 25 20 / .1)}[data-theme=dark]{--scrim: rgb(0 0 0 / .6);--shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 6px 20px rgb(0 0 0 / .25);--shadow-2: 0 18px 50px rgb(0 0 0 / .55)}[data-style=modern]{--font-ui: "Vazirmatn", Tahoma, sans-serif}:root,[data-skin=hakim]{--ui-bg: #f7f9ee;--ui-card: #ffffff;--ui-ink: #1f1f1f;--ui-muted: #666666;--ui-line: #d9cfb6;--ui-accent: #660000;--ui-accent-ink: #ffffff;--ui-accent-soft: #f6e4da;--ui-gold: #8a5a00;--paper: #fcfdc0;--gold-line: #85250f;--hero-a: #660000;--hero-b: #85250f}[data-skin=hakim][data-theme=dark]{--ui-bg: #232323;--ui-card: #2d2d2d;--ui-ink: #e1e1e1;--ui-muted: #9a9a9a;--ui-line: #3d3d3d;--ui-accent: #e7a600;--ui-accent-ink: #1d1d1d;--ui-accent-soft: #3b321c;--ui-gold: #e7a600;--paper: #373737;--gold-line: #3d3d3d;--hero-a: #2d2d2d;--hero-b: #1d1d1d}[data-skin=hakim]:not(:root){--primary: #660000;--secondary: #008903;--tertiary: #fcfdc0;--background: #c5d8a0;--surface: #660000;--border: #85250f;--onPrimary: #ffffff;--onSurface: #ffffff;--onSurface2: #ffdb44;--onTertiary: #660000;--onBackground: #000000;--pattern: url(/images/bg-tile-light.jpg)}[data-skin=hakim][data-theme=dark]:not(:root){--primary: #2d2d2d;--secondary: #676767;--tertiary: #373737;--background: #1d1d1d;--surface: #1d1d1d;--border: #3d3d3d;--onPrimary: #e1e1e1;--onSurface: #e1e1e1;--onSurface2: #e7a600;--onTertiary: #e9e9e9;--onBackground: #e1e1e1;--pattern: url(/images/bg-tile-dark.jpg)}[data-skin=moshaf]{--primary: #0f5a47;--secondary: #7d5c22;--tertiary: #fffdf6;--background: #f1eee4;--surface: #0f4a3c;--border: #c8ab6f;--notification: #0f5a47;--error: #a3302f;--onPrimary: #ffffff;--onPrimary2: #f3df9f;--onSecondary: #ffffff;--onSecondary2: #f6ecd6;--onTertiary: #0f5a47;--onTertiary2: #1b2c25;--onBackground: #1b2c25;--onBackground2: #56655c;--onSurface: #fdf8ea;--onSurface2: #e7cd8e;--onError: #ffffff;--link: #1a5f9e;--pattern: none;--tok-hint: #6b766f;--tok-meaning: #4f7d3a;--tok-footnote: #8e1022;--ui-bg: #fffefa;--ui-card: #f5f1e6;--ui-ink: #1b2c25;--ui-muted: #56655c;--ui-line: #e4dece;--ui-accent: #0f5a47;--ui-accent-ink: #ffffff;--ui-accent-soft: #e0ede6;--ui-gold: #7d5c22;--paper: #fffdf6;--gold-line: #c8ab6f;--hero-a: #0f4a3c;--hero-b: #1d6b56;color-scheme:light}[data-skin=moshaf][data-theme=dark]{--pattern: none;--primary: #1f5f4b;--secondary: #6f5c33;--tertiary: #121c19;--background: #0c1311;--surface: #0f1a17;--border: #6f5c33;--notification: #86d0b0;--error: #f0928a;--onPrimary: #ece7d8;--onPrimary2: #dcbb78;--onSecondary: #f3ead3;--onSecondary2: #dcbb78;--onTertiary: #86d0b0;--onTertiary2: #e8e4d7;--onBackground: #e8e4d7;--onBackground2: #a3b3a9;--onSurface: #ece7d8;--onSurface2: #dcbb78;--onError: #1d0d0c;--link: #8dbbff;--tok-hint: #93a29c;--tok-meaning: #8fca7a;--tok-footnote: #ff8f9e;--ui-bg: #16211e;--ui-card: #1c2a26;--ui-ink: #e8e4d7;--ui-muted: #a3b3a9;--ui-line: #2b3b35;--ui-accent: #86d0b0;--ui-accent-ink: #082019;--ui-accent-soft: #1d3a30;--ui-gold: #dcbb78;--paper: #121c19;--gold-line: #6f5c33;--hero-a: #134636;--hero-b: #1f5f4b;color-scheme:dark}[data-skin=sepia]{--primary: #6b4a1c;--secondary: #876637;--tertiary: #f7ecd3;--background: #e9dcc0;--surface: #5b4426;--border: #c9b285;--notification: #6b4a1c;--error: #a3302f;--onPrimary: #fbf1da;--onPrimary2: #f0deb4;--onSecondary: #ffffff;--onSecondary2: #f6e7c4;--onTertiary: #6b4a1c;--onTertiary2: #3a2c18;--onBackground: #3a2c18;--onBackground2: #6a5536;--onSurface: #fbf1da;--onSurface2: #ecd29b;--onError: #ffffff;--link: #2d5f8a;--pattern: none;--tok-hint: #7a6a50;--tok-meaning: #5a7a2f;--tok-footnote: #8e2a10;--ui-bg: #faf1dc;--ui-card: #f0e3c5;--ui-ink: #3a2c18;--ui-muted: #6a5536;--ui-line: #e0cfa9;--ui-accent: #6b4a1c;--ui-accent-ink: #fbf1da;--ui-accent-soft: #eedcb5;--ui-gold: #7b551b;--paper: #f7ecd3;--gold-line: #c9b285;--hero-a: #5b4426;--hero-b: #876637;color-scheme:light}[data-skin=sepia][data-theme=dark]{--pattern: none;--primary: #5a4322;--secondary: #6e5530;--tertiary: #1f1912;--background: #15110b;--surface: #1c1610;--border: #6b5532;--notification: #e3c07a;--error: #f0928a;--onPrimary: #f1e4c8;--onPrimary2: #e3c07a;--onSecondary: #f1e4c8;--onSecondary2: #e3c07a;--onTertiary: #e3c07a;--onTertiary2: #e9dcc0;--onBackground: #eadfc6;--onBackground2: #b3a283;--onSurface: #efe3c8;--onSurface2: #e3c07a;--onError: #1d0d0c;--link: #9cc3ff;--tok-hint: #a89b80;--tok-meaning: #a9c77d;--tok-footnote: #f29a7e;--ui-bg: #201a12;--ui-card: #2a2218;--ui-ink: #eadfc6;--ui-muted: #b3a283;--ui-line: #3a2f21;--ui-accent: #e3c07a;--ui-accent-ink: #1c1408;--ui-accent-soft: #3a2e1a;--ui-gold: #e3c07a;--paper: #1f1912;--gold-line: #6b5532;--hero-a: #3a2a16;--hero-b: #5a4322;color-scheme:dark}[data-skin=lapis]{--primary: #23407a;--secondary: #2b7a8c;--tertiary: #fdfcf8;--background: #eceff5;--surface: #1b2d5a;--border: #c7ae6e;--notification: #23407a;--error: #9b2335;--onPrimary: #ffffff;--onPrimary2: #f1d58a;--onSecondary: #ffffff;--onSecondary2: #f1d58a;--onTertiary: #23407a;--onTertiary2: #1c2438;--onBackground: #1c2438;--onBackground2: #5a6377;--onSurface: #f4f1e6;--onSurface2: #e9c977;--onError: #ffffff;--link: #1f63b8;--pattern: none;--tok-hint: #667085;--tok-meaning: #237183;--tok-footnote: #9b2335;--ui-bg: #fbfbfd;--ui-card: #eef1f7;--ui-ink: #1c2438;--ui-muted: #5a6377;--ui-line: #dde2ec;--ui-accent: #23407a;--ui-accent-ink: #ffffff;--ui-accent-soft: #e2e9f6;--ui-gold: #8a6a1c;--paper: #fdfcf8;--gold-line: #c7ae6e;--hero-a: #1b2d5a;--hero-b: #2b4a8a;color-scheme:light}[data-skin=lapis][data-theme=dark]{--pattern: none;--primary: #22396b;--secondary: #1f5f6e;--tertiary: #111a33;--background: #0a0f1e;--surface: #0e1428;--border: #5a5236;--notification: #9fb8ec;--error: #ff9aa8;--onPrimary: #e6ebf7;--onPrimary2: #e9c977;--onSecondary: #e6f3f6;--onSecondary2: #e9c977;--onTertiary: #9fb8ec;--onTertiary2: #dfe4f0;--onBackground: #dfe4f0;--onBackground2: #98a2ba;--onSurface: #e6ebf7;--onSurface2: #e9c977;--onError: #1d0d0c;--link: #8fb6ff;--tok-hint: #98a2ba;--tok-meaning: #7fd1c7;--tok-footnote: #ff9aa8;--ui-bg: #121a31;--ui-card: #18223d;--ui-ink: #dfe4f0;--ui-muted: #98a2ba;--ui-line: #26304d;--ui-accent: #9fb8ec;--ui-accent-ink: #0a1020;--ui-accent-soft: #1e2b52;--ui-gold: #e9c977;--paper: #111a33;--gold-line: #5a5236;--hero-a: #16244a;--hero-b: #22396b;color-scheme:dark}[data-style=modern]{--font-default: "Vazir-fa";--font-title: "Vazir-fa";--font-subtitle: "Vazir-fa"}[data-style=modern][lang=en]{--font-default: "Vazir-en";--font-title: "Vazir-en";--font-subtitle: "Vazir-en"}[data-style=modern] .f-title,[data-style=modern] .f-subtitle{font-weight:800}[data-style=modern] .app{box-shadow:0 0 0 1px var(--ui-line),0 0 40px #0000001f}[data-style=modern] body{background:color-mix(in srgb,var(--background) 82%,var(--surface))}[data-style=modern] .page-header{position:relative;z-index:2;box-shadow:0 4px 18px #0000001f}[data-style=modern] .page-header:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,transparent,var(--gold-line),transparent);pointer-events:none}[data-style=modern] .page-title>.tv{background:none;color:var(--onSurface);padding:0 4px}[data-style=modern] .page-footer{--surface: var(--ui-bg);--onSurface2: var(--ui-accent);border-top:1px solid var(--ui-line)}[data-style=modern] .btn-box[data-corner=diagonal],[data-style=modern] .btn-box[data-corner=rect]{border-radius:var(--radius)!important}[data-style=modern] .btn-box[data-border]{border-style:solid!important;border-width:1px!important;border-color:color-mix(in srgb,var(--gold-line) 70%,transparent)!important}[data-style=modern] .elev{box-shadow:var(--shadow-1)}[data-style=modern] .modal{border-width:1px;border-color:var(--ui-line);box-shadow:var(--shadow-2)}[data-style=modern] .verse-paper{margin:10px;background:var(--paper);border:1px solid var(--ui-line);border-radius:22px;box-shadow:inset 0 0 0 6px var(--paper),inset 0 0 0 7px color-mix(in srgb,var(--gold-line) 45%,transparent),var(--shadow-1)}[data-style=modern] .verse-paper>.scroll{margin:10px 8px}[data-style=modern] .home-mehrab{display:none}[data-style=modern] .home.pattern{background:var(--background)}[data-style=modern] .home:before{content:"";position:absolute;inset:0 0 auto;height:38%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M28 8l6 14 14 6-14 6-6 14-6-14-14-6 14-6z'/%3E%3Cpath d='M14 14h28v28H14z' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(160deg,var(--hero-a),var(--hero-b));border-radius:0 0 50% 50%/0 0 16% 16%;box-shadow:0 3px 0 -1px var(--gold-line)}.sheet-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;flex-direction:column;justify-content:flex-end;background:var(--scrim);animation:sheet-fade .2s ease-out}.sheet{display:flex;flex-direction:column;max-height:90%;background:var(--ui-bg);color:var(--ui-ink);border-radius:24px 24px 0 0;box-shadow:var(--shadow-2);font-family:var(--font-ui);font-size:15px;line-height:1.6;padding-bottom:env(safe-area-inset-bottom);animation:sheet-up .32s var(--ease);outline:none}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes sheet-fade{0%{opacity:0}}.sheet-head{position:relative;display:flex;align-items:center;gap:8px;padding:18px 20px 8px 10px;flex:none}.sheet-head h2{flex:1;margin:0;font-size:18px;font-weight:800}:root[data-style=classic] .sheet-head h2{font-family:Sahel-Black,Tahoma,sans-serif;font-weight:400}.grabber{position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:4px;background:var(--ui-line)}.sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 24px;scrollbar-width:thin}.sheet-sticky{position:sticky;top:-4px;z-index:2;margin-top:6px;padding:8px 0;background:var(--ui-bg)}.sheet-section{margin:18px 0 0}.sheet-section>h3,.sheet-label{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 8px;font-size:13px;font-weight:700;color:var(--ui-muted)}.ui-icon{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ui-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 16px;border:1px solid var(--ui-line);border-radius:var(--radius);background:var(--ui-card);color:var(--ui-ink);font:inherit;font-weight:700;cursor:pointer}.ui-button:hover{border-color:var(--ui-accent)}.ui-button.primary{background:var(--ui-accent);border-color:transparent;color:var(--ui-accent-ink)}.ui-button.round{width:38px;min-height:38px;height:38px;padding:0;border:0;border-radius:50%;color:var(--ui-muted)}.ui-button.ghost{background:none;border-color:transparent;color:var(--ui-accent)}.ui-button:focus-visible,.segmented button:focus-visible,.choice:focus-visible,.list-row:focus-visible,.tile:focus-visible{outline:2.5px solid var(--ui-gold);outline-offset:1px}.segmented{display:flex;gap:4px;padding:4px;border-radius:var(--radius);background:var(--ui-card);border:1px solid var(--ui-line);flex:none}.segmented button{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1;min-height:38px;padding:4px 8px;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);font:inherit;font-weight:700;cursor:pointer;transition:background .2s,color .2s}.segmented button[aria-selected=true],.segmented button[aria-checked=true]{background:var(--ui-bg);color:var(--ui-ink);box-shadow:var(--shadow-1)}.field{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--ui-line);border-radius:var(--radius);background:var(--ui-card);color:var(--ui-muted)}.field:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent) 22%,transparent)}.field input{flex:1;min-width:0;min-height:46px;border:0;outline:none;background:transparent;color:var(--ui-ink);font:inherit;font-size:16px}.field input::placeholder{color:var(--ui-muted);opacity:.8}.hint{margin:8px 2px 0;font-size:12.5px;color:var(--ui-muted)}.choice{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:1.5px solid var(--ui-line);border-radius:var(--radius);background:var(--ui-bg);color:var(--ui-ink);font:inherit;text-align:start;cursor:pointer;transition:border-color .15s,background .15s}.choice:hover{border-color:color-mix(in srgb,var(--ui-accent) 50%,var(--ui-line))}.choice[aria-checked=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.choice-check{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;border:1.5px solid var(--ui-line);color:transparent}.choice[aria-checked=true] .choice-check{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-accent-ink)}.choice-check .ui-icon{width:14px;height:14px;stroke-width:3}.choice-text{flex:1;display:grid;min-width:0}.choice-text b{font-weight:700}.choice-text small{color:var(--ui-muted);font-size:12.5px}.choice-list{display:grid;gap:8px}.font-sample{font-size:24px;line-height:1.9;color:var(--ui-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.skin-card{flex-direction:column;align-items:stretch;gap:8px;padding:8px}.skin-card .choice-check{position:absolute;top:14px;inset-inline-end:14px;z-index:1;border-color:#fff9}.skin-mock{display:flex;flex-direction:column;height:92px;border-radius:10px;overflow:hidden;background:var(--background) var(--pattern);background-size:120px;border:1px solid rgb(0 0 0 / .08)}.skin-mock-bar{position:relative;height:24px;flex:none;display:flex;align-items:center;justify-content:center;background:var(--surface)}.skin-mock-bar i{width:44%;height:9px;border-radius:5px;background:var(--tertiary)}.skin-mock[data-modern] .skin-mock-bar i{background:color-mix(in srgb,var(--onSurface) 70%,transparent);height:6px}.skin-mock[data-modern] .skin-mock-bar:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,transparent,var(--gold-line),transparent)}.skin-mock-page{flex:1;margin:6px;padding:4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:6px}.skin-mock[data-modern] .skin-mock-page{background:var(--paper);box-shadow:inset 0 0 0 3px var(--paper),inset 0 0 0 4px color-mix(in srgb,var(--gold-line) 50%,transparent)}.skin-mock-page span{font-family:Noto-Naskh,serif;font-size:17px;line-height:1.5;color:var(--onBackground)}.skin-mock-page em{width:60%;height:8px;border-radius:8px;background:var(--secondary)}.preview{padding:14px 16px;border-radius:18px;background:var(--paper);border:1px solid var(--ui-line);color:var(--onBackground);overflow:hidden;text-align:center}:root[data-style=classic] .preview{background:var(--background) var(--pattern)}.preview p{margin:0}.size-row{display:flex;align-items:center;gap:12px}.size-row input[type=range]{flex:1;accent-color:var(--ui-accent);height:30px}.size-row .small,.size-row .large{font-family:Adobe-Naskh,serif;color:var(--ui-muted);line-height:1}.size-row .small{font-size:18px}.size-row .large{font-size:32px}.list{list-style:none;margin:10px 0 0;padding:0}.list-row{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:6px 4px;border:0;border-bottom:1px solid var(--ui-line);background:transparent;color:var(--ui-ink);font:inherit;text-align:start;cursor:pointer;border-radius:0}.list-row:hover{background:var(--ui-card)}.list-row[aria-current=true]{background:var(--ui-accent-soft)}.list-row.go{border:1.5px solid var(--ui-accent);border-radius:var(--radius);background:var(--ui-accent-soft);padding-inline:12px;margin-bottom:4px}.list-row-text{flex:1;display:grid;min-width:0}.list-row-text b{font-size:17px;font-weight:700}.list-row-text small,.list-row>small{color:var(--ui-muted);font-size:12.5px}.star{position:relative;display:grid;place-items:center;width:40px;height:40px;flex:none;font-size:13px;font-weight:700;color:var(--ui-gold)}.star:before,.star:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1.5px solid color-mix(in srgb,var(--ui-gold) 70%,transparent);border-radius:4px}.star:after{transform:rotate(45deg)}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:12px}.tile{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:grid;justify-items:center;gap:1px;padding:10px 4px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-bg);color:var(--ui-ink);font:inherit;cursor:pointer;min-width:0}.tile:hover,.tile[aria-current=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.tile strong{font-size:22px;line-height:1.3;color:var(--ui-gold)}.tile small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ui-muted)}.quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 12px;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-card);color:var(--ui-accent);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}.chip small{color:var(--ui-muted);font-weight:400}.page-pick{display:grid;gap:12px;margin-top:14px;padding:16px;border-radius:18px;background:var(--ui-card);border:1px solid var(--ui-line)}.page-pick .big{display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;color:var(--ui-muted)}.page-pick .big input{width:4.2em;min-height:52px;padding:0 6px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-bg);color:var(--ui-ink);font:inherit;font-size:26px;font-weight:800;text-align:center}.page-pick .big input:focus{outline:none;border-color:var(--ui-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent) 22%,transparent)}.page-pick input[type=range]{width:100%;accent-color:var(--ui-accent)}.page-pick p{margin:0;text-align:center;color:var(--ui-muted);font-size:13.5px}.empty{padding:24px 0;text-align:center;color:var(--ui-muted)}kbd{font:inherit;font-size:11.5px;padding:1px 6px;border:1px solid var(--ui-line);border-bottom-width:2px;border-radius:6px;background:var(--ui-card)}
