:root{--bg:#fbfcf9;--surface:#fff;--ink:#172e28;--muted:#62766f;--line:#dde7e0;--green:#0c493a;--green2:#17634f;--pale:#edf3ee;--gold:#d4b36c;--shadow:0 16px 50px #18372a0b;color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button,.button{min-height:44px;border-radius:8px;border:1px solid var(--line);padding:10px 18px;background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:600;line-height:1.3;transition:background .2s,transform .2s}button:hover,.button:hover{transform:translateY(-1px);text-decoration:none;background:var(--pale)}button:disabled{cursor:not-allowed;opacity:.5}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:var(--green2)}.secondary{background:transparent}.selected{background:var(--pale);border-color:var(--green2);color:var(--green)}.icon{width:44px;min-width:44px;padding:8px;font-size:20px}.quiet{border-color:transparent;background:transparent}.gold-button{background:#e2c581;border-color:#e2c581;color:#12392d}.gold-button:hover{background:#edd39d}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:var(--green);color:#fff;padding:12px}.skip-link:focus{top:12px}.site-header{max-width:1280px;margin:auto;min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 48px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{color:var(--green);font-size:36px;line-height:1}.brand b{font-size:18px;letter-spacing:2px;display:block;line-height:1.3}.brand small{display:block;font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-top:4px}nav{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:600}nav a{padding:8px 0}nav a[aria-current=page]{color:var(--green);box-shadow:0 2px var(--gold)}.header-actions{display:flex;align-items:center;gap:4px}#menu-button{display:none}main{max-width:1280px;margin:auto;padding:0 48px 64px;min-height:60vh}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.12;letter-spacing:-1.2px}h1{font-size:56px}h2{font-size:32px;margin-bottom:10px}h3{font-size:17px;line-height:1.4;margin-bottom:6px}p{color:var(--muted)}.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:12px;color:var(--green2)}.gold{color:#e0c789}.hero{display:grid;grid-template-columns:1.2fr 1fr;min-height:470px;background:#0b3e32;border-radius:18px;overflow:hidden;color:#fff;position:relative}.hero-copy{padding:58px 0 48px 54px;position:relative;z-index:1}.hero h1{font-size:62px;margin-bottom:22px}.hero p{max-width:390px;color:#c5d8ce;font-size:15px;margin-bottom:28px}.hero-facts{display:flex;gap:20px;margin-top:35px;color:#c0d2c7;font-size:11px}.hero-facts span+span:before{content:'·';margin-right:20px;color:var(--gold)}.hero-art{display:flex;align-items:flex-end;justify-content:center;padding:44px 42px 0 12px;background-image:repeating-linear-gradient(45deg,transparent 0 39px,#d4b36c08 39px 40px),repeating-linear-gradient(-45deg,transparent 0 39px,#d4b36c08 39px 40px);mask-image:linear-gradient(90deg,transparent,#000 22%)}.arch{border:1px solid #c9b47065;border-radius:160px 160px 0 0}.arch-outer{width:100%;height:100%;padding:14px 14px 0;max-width:310px;background:#ffffff03}.arch-inner{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.rosette{font-size:68px;color:#d5bc7c;font-family:serif;line-height:1}.hero-arabic{font-size:38px;font-family:'Noto Naskh Arabic','Traditional Arabic',Georgia,serif}.art-line{height:1px;width:68px;background:#c8af6d70}.art-caption{font-size:9px;letter-spacing:3px;color:#d0c69f}.resume-section{margin:24px 0 64px}.resume-card,.empty-resume{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:12px;padding:24px 28px;background:var(--surface);box-shadow:var(--shadow)}.resume-card>div,.empty-resume>div{flex:1}.resume-card p,.empty-resume p{font-size:13px;margin:0}.resume-card .eyebrow{margin-bottom:2px;font-size:9px}.resume-card h3{font-family:Georgia,serif;font-size:24px}.mini-icon{display:flex;align-items:center;justify-content:center;background:var(--pale);border-radius:50%;color:var(--green);font-size:24px;width:52px;height:52px;flex-shrink:0}section+section{margin-top:52px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}.section-heading .eyebrow{margin-bottom:8px}.section-heading h2{margin:0}.section-heading>a{font-size:12px;color:var(--green2);font-weight:600;white-space:nowrap}.reciter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.reciter-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.reciter-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:18px}.reciter-monogram{width:48px;height:48px;border-radius:50%;background:var(--pale);color:var(--green);display:grid;place-items:center;font:20px Georgia,serif;border:1px solid var(--line)}.reciter-card h3{font-size:15px;min-height:42px}.reciter-card p{font-size:12px;line-height:1.8;flex:1}.reciter-card>button{width:100%;font-size:12px}.surah-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.surah-card{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:18px;display:flex;align-items:center;gap:16px;min-width:0}.surah-number{width:34px;height:34px;background:var(--pale);border:1px solid var(--line);transform:rotate(45deg);font-size:11px;display:grid;place-items:center;border-radius:6px;flex-shrink:0;color:var(--green);clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);transform:none}.surah-identity{flex:1;min-width:0}.surah-name{font-size:14px;font-weight:700;display:block;line-height:1.4}.surah-english{font-size:11px;color:var(--muted);display:block;margin:3px 0}.surah-meta{font-size:10px;color:var(--muted)}.surah-end{text-align:right;flex-shrink:0}.arabic{font:23px 'Traditional Arabic',Georgia,serif;color:var(--green);display:block;line-height:1.6}.card-actions{display:flex;justify-content:flex-end;gap:2px}.card-actions .icon{min-height:36px;height:36px;width:36px;min-width:36px;font-size:18px}.play-small{background:var(--pale);border-color:transparent;font-size:12px!important;color:var(--green)}.complete-banner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px;background:var(--pale);border-radius:12px}.complete-banner h2{font-size:28px}.complete-banner p{margin:0;font-size:13px}.complete-banner a{white-space:nowrap}.page-intro{padding:52px 0 28px;border-top:1px solid var(--line)}.page-intro h1{font-size:46px;margin-bottom:14px}.page-intro p{font-size:15px;max-width:650px}.library-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:8px}.library-controls label,.search-field,.detail-select{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}input[type=search],select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:var(--surface);color:var(--ink);font-size:14px;min-width:0}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 10px}.chip{font-size:12px;border-radius:30px;padding:10px 16px}.subtle,.source-note{font-size:12px;color:var(--muted)}#library-results{margin-top:14px}.empty-state{padding:32px;background:var(--pale);border-radius:10px;grid-column:1/-1}.reciter-search{max-width:500px}.source-note{margin-top:28px}.surah-detail{max-width:800px;margin:0 auto;text-align:center;padding:24px 0}.back-link{display:block;text-align:left;font-size:13px;margin:12px 0 48px;color:var(--muted)}.detail-arabic{font-size:68px;line-height:1.7;font-family:'Traditional Arabic',Georgia,serif;color:var(--green);margin:12px 0}.surah-detail h1{font-size:46px;margin-bottom:8px}.english-title{font-family:Georgia,serif;font-size:22px}.detail-facts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0}.detail-facts span{padding:6px 14px;background:var(--pale);border-radius:20px;font-size:12px}.detail-select{max-width:480px;margin:32px auto 22px;text-align:left}.detail-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:24px}.detail-buttons button{font-size:13px}.related-nav{display:flex;justify-content:space-between;gap:24px;padding-top:28px;margin-top:44px;border-top:1px solid var(--line);text-align:left;font-size:13px}.related-nav a:last-child{text-align:right}.prose{max-width:760px;margin:0 auto;padding:48px 0}.prose h1{font-size:44px;margin-bottom:28px}.prose h2{font-size:27px;margin:36px 0 16px}.prose p{font-size:15px;line-height:1.9}.prose .lead{font-size:20px;color:var(--ink);font-family:Georgia,serif;line-height:1.6}.prose a:not(.button){text-decoration:underline;color:var(--green2)}.site-footer{background:var(--pale);border-top:1px solid var(--line);padding:44px max(24px,calc((100vw - 1184px)/2)) 240px}.footer-content{display:flex;justify-content:space-between;gap:32px}.footer-copy p{font-size:12px;max-width:300px;margin-top:20px}.footer-nav{display:flex;flex-wrap:wrap;gap:12px 28px;max-width:460px;font-size:12px;align-content:flex-start}.footer-close{text-align:center;font-family:Georgia,serif;font-style:italic;margin:34px 0 0;padding-top:26px;border-top:1px solid var(--line);font-size:14px}.player{position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:var(--surface);z-index:20;box-shadow:0 -6px 32px #072e2012;padding:12px max(24px,calc((100vw - 1184px)/2));padding-bottom:max(12px,env(safe-area-inset-bottom))}.player-main{display:grid;grid-template-columns:1fr 1.3fr 1fr;align-items:center;gap:24px}.player-track{min-width:0;display:flex;flex-direction:column}.player-track a{font-size:14px;font-weight:700}.player-track span{font-size:11px;color:var(--muted)}.transport{display:flex;align-items:center;justify-content:center;gap:8px}.transport .primary{border-radius:50%;width:44px}.timeline{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}input[type=range]{accent-color:var(--green);min-width:0;width:100%;height:26px;cursor:pointer}.player-settings{display:flex;align-items:center;gap:12px;justify-content:flex-end}.player-settings label{font-size:10px;color:var(--muted)}.player-settings select{min-height:36px;padding:4px;font-size:11px}.volume-label{max-width:100px}.player-options{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:8px;font-size:10px;color:var(--muted);flex-wrap:wrap}.player-options label{display:flex;align-items:center;gap:5px}.player-options select{min-height:30px;font-size:10px;padding:3px;width:auto}.player-status-line{display:flex;justify-content:center;align-items:center;gap:10px;font-size:10px;min-height:16px}#retry{min-height:26px;font-size:10px;padding:3px 10px}.error{color:#a82323}.notice,.storage-warning{max-width:1184px;margin:12px auto;padding:12px 20px;background:var(--pale);font-size:13px;border-left:3px solid var(--gold)}.notice a{display:block;overflow-wrap:anywhere}.storage-warning{border-left-color:#a82323}dialog{width:min(640px,calc(100% - 32px));max-height:85vh;padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 24px 100px #0004}dialog::backdrop{background:#09251dc0;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.dialog-header h2{margin:0;font-size:28px}#search-results h3{font-size:12px;color:var(--muted);margin-top:20px}#search-results a,.search-result{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;border-bottom:1px solid var(--line);min-height:48px;font-size:14px;width:100%;border-radius:0;background:none;border-width:0 0 1px;text-align:left}#search-results a span:last-child{font-size:23px}.no-script{padding:28px}.no-script a{text-decoration:underline}[hidden]{display:none!important}[data-theme=dark]{--bg:#0e211b;--surface:#132b23;--ink:#e9eee7;--muted:#a4b9ae;--line:#2d473b;--green:#94c3a4;--green2:#a3d0b4;--pale:#1d382c;color-scheme:dark}[data-theme=dark] .primary{background:#b4d3b4;color:#12271e;border-color:#b4d3b4}[data-theme=dark] .hero{background:#072e24}[data-theme=dark] .gold-button{color:#12392d}[data-theme=dark] .error{color:#ffaaaa}@media(max-width:1000px){.site-header{padding:16px 28px}main{padding:0 28px 48px}nav{gap:18px}.brand b{font-size:15px}.brand small{font-size:8px}.hero-copy{padding:48px 0 40px 36px}.hero h1{font-size:50px}.hero-art{padding-right:24px}.hero-arabic{font-size:30px}.hero-facts{gap:10px}.hero-facts span+span:before{margin-right:10px}.reciter-card{padding:20px}.player-main{gap:16px;grid-template-columns:1fr 1.4fr}.player-settings{grid-column:1/-1;justify-content:center}.player-options{margin-top:4px}.site-footer{padding-bottom:260px}.surah-card{gap:10px;padding:14px}.surah-name{font-size:13px}}
@media(max-width:700px){.site-header{padding:14px 20px;min-height:78px;gap:10px;position:relative;flex-wrap:wrap}.brand{gap:8px}.brand-mark{font-size:31px}.brand b{font-size:14px;letter-spacing:1.5px}.brand small{font-size:7px;letter-spacing:1.1px}.header-actions{gap:0}.header-actions .icon{width:38px;min-width:38px;padding:6px;font-size:18px}#menu-button{display:inline-flex}nav{display:none;order:3;flex-basis:100%;padding:16px 0 8px;border-top:1px solid var(--line);justify-content:space-around;font-size:13px;gap:12px}nav.open{display:flex}main{padding:0 20px 40px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:36px 28px 32px}.hero h1{font-size:44px;line-height:1.12}.hero p{font-size:14px;margin-bottom:24px}.hero-art{position:absolute;right:-50px;bottom:-40px;top:12px;width:220px;opacity:.12;pointer-events:none;padding:20px}.hero-copy{max-width:100%}.hero-facts{margin-top:28px;font-size:10px;gap:10px}.hero .eyebrow{font-size:8px;letter-spacing:1.8px}.eyebrow{font-size:9px}.resume-section{margin:16px 0 40px}.resume-card,.empty-resume{padding:18px;gap:14px;flex-wrap:wrap}.resume-card>div,.empty-resume>div{flex-basis:calc(100% - 66px)}.resume-card>button,.empty-resume>button{width:100%;margin-top:4px;font-size:12px}.mini-icon{width:44px;height:44px}.empty-resume h3{font-size:15px}.empty-resume p{font-size:12px}.section-heading{align-items:flex-start;margin-bottom:20px}.section-heading h2{font-size:27px}.section-heading>a{font-size:10px;max-width:94px;white-space:normal;line-height:1.7;text-align:right}.reciter-grid{grid-template-columns:1fr;gap:12px}.reciter-card{padding:20px;display:grid;grid-template-columns:56px 1fr;column-gap:16px}.reciter-top{grid-row:1/4;margin:0;display:contents}.reciter-monogram{grid-row:1/3;grid-column:1;align-self:center}.reciter-top>.icon{grid-column:2;grid-row:1;justify-self:end;position:relative;margin-top:-8px;margin-right:-8px}.reciter-card h3{grid-column:2;grid-row:1;min-height:0;padding-right:30px;font-size:14px;align-self:center;margin:0}.reciter-card p{grid-column:2;grid-row:2;font-size:11px;margin:4px 0 14px}.reciter-card>button{grid-column:1/3;grid-row:3;width:100%}.surah-grid{grid-template-columns:1fr;gap:10px}.surah-card{padding:16px;gap:14px}.surah-name{font-size:14px}.surah-english{font-size:11px}.surah-meta{font-size:10px}.surah-number{width:32px;height:32px}.arabic{font-size:23px}.card-actions .icon{width:38px;min-width:38px;min-height:44px;height:44px}.complete-banner{padding:24px;display:block}.complete-banner h2{font-size:27px}.complete-banner a{width:100%;margin-top:24px}.library-controls{grid-template-columns:1fr;gap:16px}.page-intro{padding:34px 0 14px}.page-intro h1{font-size:38px}.page-intro p{font-size:14px}.filter-row{gap:6px}.chip{font-size:11px;padding:9px 12px}.prose{padding:30px 0}.prose h1{font-size:36px}.prose p{font-size:14px}.prose .lead{font-size:19px}.prose h2{font-size:26px}.detail-arabic{font-size:56px}.surah-detail h1{font-size:38px}.detail-buttons{gap:8px}.detail-buttons button{flex-basis:calc(50% - 4px);font-size:12px}.back-link{margin-bottom:32px}.detail-facts{font-size:11px}.related-nav{font-size:12px}.site-footer{padding:32px 20px 300px}.footer-content{display:block}.footer-nav{margin-top:26px;gap:12px 24px}.footer-close{text-align:left;font-size:13px}.player{padding:10px 16px max(10px,env(safe-area-inset-bottom))}.player-main{grid-template-columns:1fr auto;gap:8px 12px}.player-track{grid-column:1;grid-row:1}.player-track a{font-size:12px}.player-track span{font-size:10px}.player-transport{display:contents}.transport{grid-column:2;grid-row:1;gap:2px}.transport button{width:36px;min-width:36px;font-size:16px}.transport .primary{width:40px;min-width:40px}.timeline{grid-column:1/3;grid-row:2}.player-settings{grid-column:1/3;grid-row:3;gap:20px}.player-settings label{display:flex;align-items:center;gap:8px}.player-settings select{min-height:34px;max-width:60px}.volume-label{max-width:140px}.volume-label input{max-width:100px}.player-options{gap:8px 16px;font-size:9px}.player-options select{max-width:90px}.player-status-line{font-size:9px;line-height:1.4;margin-top:3px}.player-status-line .error{max-width:250px}.player-options input{margin:0;min-width:16px;min-height:16px}.surah-detail{padding-top:8px}section+section{margin-top:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(max-width:360px){.site-header{padding-left:16px;padding-right:16px;gap:4px}.brand{gap:6px}.brand b{font-size:12px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:.8px}.brand-mark{font-size:26px}.header-actions .icon{width:34px;min-width:34px}.hero-copy{padding:30px 22px}.hero h1{font-size:39px}}
