@font-face{font-family:AmiriQuran;src:url('/assets/amiri.ttf') format('truetype');font-display:swap}
:root{--paper:#f5ecd9;--white:#fffdf7;--ink:#49351d;--muted:#715c3d;--border:#d4bb89;--soft:#eddfbd;--design-accent:#8b5c17}
html[data-accent="sky"]{--paper:#e8f3fc;--white:#fff;--ink:#173b59;--muted:#496b85;--border:#b8d4e9;--soft:#d7eafb;--design-accent:#0b6da5}
html[data-theme="night"]{--paper:#071c1b;--white:#0b2927;--ink:#d7e9e1;--muted:#aabdb4;--border:#20443f;--soft:#123b37;--design-accent:#e3c184}
html{scroll-padding-top:20px}body{background:var(--paper)!important;color:var(--ink)!important;font:14px/1.65 Tahoma,Arial,sans-serif}
.container{max-width:1280px;padding-inline:24px}.custom-masthead{max-width:1232px;margin:12px auto;background:linear-gradient(90deg,#061623,#102c42,#061623);height:auto;border:1px solid var(--border);border-radius:18px;overflow:hidden}.custom-masthead a{display:block;width:100%;height:auto}.custom-masthead img{width:100%;height:auto;object-fit:contain}.custom-masthead.watch-masthead{max-height:none}
body>header{position:static!important;margin:12px auto 20px;max-width:1232px;border:1px solid var(--border);border-radius:16px;background:var(--white)!important;color:var(--ink)!important}.header-row{min-height:64px;padding:10px 16px;gap:16px;flex-wrap:wrap}.brand b{font-size:16px}.brand small{font-size:11px}nav{font-size:13px;gap:12px;flex-wrap:wrap}.appearance-controls{background:var(--soft)!important;border-radius:10px}.appearance-button{font-size:11px!important}.language select{font-size:12px;padding:8px;max-width:125px}
.spotlight{max-width:1232px;margin:18px auto;padding:24px 0;border:1px solid var(--border);border-radius:20px;background:linear-gradient(120deg,var(--white),var(--soft))!important;color:var(--ink)!important}.spotlight-grid{gap:24px;grid-template-columns:1.2fr .8fr}.spotlight-copy h1{font-family:AmiriQuran,serif;font-size:clamp(23px,2.4vw,30px);line-height:1.6;margin:8px 0}.spotlight-copy p{color:var(--muted);font-size:13px;margin-bottom:14px}.spotlight-image{max-width:340px;justify-self:end;box-shadow:0 6px 18px #38220c12}.eyebrow{font-size:11px;color:var(--design-accent)!important}.button{min-height:40px;padding:8px 16px;font-size:13px;border-radius:10px}.button.gold{background:var(--design-accent)!important;color:var(--white)!important}
.journey,.reciters,.apps-panel,.continue-panel,.global-panel{background:transparent!important;color:var(--ink)!important;padding:18px 0!important;border:0!important}.journey-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.journey-heading h2,.section-heading h2,.reciters h2,.apps-panel h2,.global-panel h2{font-family:AmiriQuran,serif;font-size:22px!important;line-height:1.5!important;margin:6px 0 10px!important}.journey-heading p,.section-heading p,.global-panel p{font-size:13px;color:var(--muted)}
.quick-card,.reader-filter,.app-link,.continue-item{min-height:72px!important;padding:12px 14px!important;border-radius:12px!important;border:1px solid var(--border)!important;background:var(--white)!important;color:var(--ink)!important;box-shadow:0 4px 15px #38220c05!important}.quick-card strong,.quick-card b,.reader-filter span,.app-link b{font-size:15px!important}.quick-card small,.reader-filter small,.app-link small{font-size:11px!important;color:var(--muted)!important}.quick-card .icon,.app-icon{width:32px!important;height:32px!important;font-size:19px!important;background:var(--soft)!important;color:var(--design-accent)!important;border-radius:8px!important}.reader-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reader-filter{width:100%;text-align:start}.reader-filter.active{border-color:var(--design-accent)!important;box-shadow:inset 0 0 0 1px var(--design-accent)!important}.global-stats{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:14px}.global-stats b{font-size:24px!important}
.library{padding-top:22px;padding-bottom:30px}.section-heading{margin-bottom:16px}.search-tools{padding:12px;background:var(--soft)!important;border:1px solid var(--border);border-radius:14px}.searchbox{background:var(--white)!important}.searchbox input{font-size:14px;padding:12px 0}.filter{font-size:12px;min-height:40px;padding:8px 14px}.video-grid{gap:12px!important}.video-card{border-radius:14px!important;background:var(--white)!important;border:1px solid var(--border)!important;box-shadow:0 4px 15px #38220c05!important}.card-body{padding:10px!important}.card-body h3{font-size:12px!important;line-height:1.65!important}.category{font-size:10px!important}.watch-title{font:700 25px/1.6 AmiriQuran,serif!important}.watch-actions{gap:10px}.watch-actions button,.watch-actions a,.site-share{min-height:40px;font-size:12px;border-radius:10px}.watch-main,.related-list{border-radius:16px}footer{font-size:12px}
html:not([data-motion="off"]) :is(.quick-card,.reader-filter,.app-link,.video-card,.continue-item,.button,.filter,.watch-actions button,.watch-actions a,.site-share,.appearance-button,nav a){transition:transform .22s ease,filter .22s ease,box-shadow .22s ease!important;transform-origin:center}
@media(hover:hover) and (pointer:fine){html:not([data-motion="off"]) :is(.quick-card,.reader-filter,.app-link,.video-card,.continue-item,.button,.filter,.watch-actions button,.watch-actions a,.site-share,.appearance-button,nav a):hover{position:relative;z-index:6;transform:translateY(-5px) scale(1.09)!important;filter:brightness(1.16)!important;box-shadow:0 9px 15px #0004,inset 0 2px 0 #ffffff65!important}}
html:not([data-motion="off"]) :is(.quick-card,.reader-filter,.app-link,.video-card,.continue-item,.button,.filter,.watch-actions button,.watch-actions a,.site-share,.appearance-button,nav a):active{transform:translateY(1px) scale(.98)!important}
html[data-motion="off"] :is(button,a,.video-card){transform:none!important;transition:none!important;filter:none!important}
@media(max-width:850px){.journey-grid,.reader-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.spotlight-grid{grid-template-columns:1fr 1fr;gap:16px}}
@media(max-width:540px){.container{padding-inline:12px}.custom-masthead,body>header,.spotlight{margin-inline:12px}.custom-masthead{border-radius:12px}.journey-grid,.reader-list{grid-template-columns:1fr!important}.spotlight-grid{grid-template-columns:1fr}.spotlight-image{width:100%;max-width:260px;justify-self:center}.spotlight-copy h1{font-size:24px}.quick-card,.reader-filter{min-height:64px!important;padding:10px 12px!important}.header-row{gap:10px}nav{gap:10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){html,*{scroll-behavior:auto!important;animation:none!important;transition:none!important}:is(button,a,.video-card):hover,:is(button,a,.video-card):active{transform:none!important;filter:none!important}}
