@font-face{font-family:Medina;src:url(assets/medina.ttf) format('truetype');font-display:swap}*{box-sizing:border-box} :root{color-scheme:dark;--bg:#0a1b16;--panel:#10271f;--line:#294237;--gold:#d6bb79;--ink:#f4f1df;--muted:#9eb1a7;--arabic:52px;--german:20px;--arabic-color:#f4f1df;--german-color:#d6bb79}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;cursor:pointer;padding:10px 14px;min-height:44px}button:hover{background:#203b2f}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}a{color:var(--gold)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}i{display:inline-flex}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;border-right:1px solid var(--line);background:#0b2019;padding:32px 18px;display:flex;flex-direction:column}.brand{display:flex;flex-direction:column;align-items:center;text-decoration:none;margin:0 0 52px}.brand svg{width:46px;height:42px}.brand span{font:600 34px Georgia,serif;letter-spacing:-1px}.brand small{font-size:11px;letter-spacing:4px;margin-top:10px;color:#c5c8b2}.sidebar nav{display:grid;gap:8px}.sidebar button{justify-content:flex-start;padding:15px 18px;width:100%;color:#d4ddd5}.sidebar nav button.active{background:#263d2d;color:var(--gold);box-shadow:inset 3px 0 var(--gold)}.side-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px}.version{font-size:10px;letter-spacing:2px;color:var(--muted);padding-left:18px;margin-bottom:12px}main{margin-left:230px;padding:0 38px;max-width:1800px}header{min-height:118px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--muted);margin:0 0 5px}h1{font-size:30px;font-weight:600;margin:0;letter-spacing:-.6px}h2{font-size:20px;margin:0;font-weight:600}h3{font-size:17px;margin:0 0 16px}.header-actions{display:flex;gap:12px}.gold{background:var(--gold);color:#17261c;font-weight:600;border:1px solid var(--gold)}.gold:hover{background:#e5cf95;color:#17261c}.quiet{border:1px solid #596043}input,select,textarea{background:#0b2019;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:11px 12px;min-width:0}input::placeholder{color:#7e9589}input[type=range]{padding:0;accent-color:var(--gold);height:20px;cursor:pointer}input[type=checkbox]{accent-color:var(--gold);width:19px;height:19px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23d6bb79'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:34px}.linkbar{display:flex;align-items:center;gap:17px;background:#12291f;border:1px solid #3f5038;padding:12px 14px 12px 20px;border-radius:12px}.linkbar>i{color:var(--gold)}.link-input{flex:1;min-width:0}.link-input label{display:block;font-size:12px;color:var(--gold);font-weight:600}.link-input input{width:100%;padding:2px 0;background:none;border:0;outline-offset:2px;font-size:15px}.linknote{margin:8px 0 24px;color:var(--muted);font-size:12px}.player-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.reading-card{min-height:390px;border:1px solid var(--line);border-radius:16px;padding:30px;background:linear-gradient(155deg,#122b22,#0e241c);position:relative;overflow:hidden}.reading-card:before{content:'';position:absolute;width:340px;height:340px;border:1px solid #c8b97608;border-radius:50%;right:-180px;top:-160px;pointer-events:none}.reader-meta{display:flex;justify-content:space-between;gap:12px}.reader-meta h2{font-size:21px;color:var(--gold)}.tag{display:inline-block;font-size:11px;border:1px solid #49533b;border-radius:5px;padding:3px 7px;color:#c1c9af;height:max-content;white-space:nowrap}.arabic{font-family:Medina,serif;font-size:var(--arabic);line-height:1.8;color:var(--arabic-color);direction:rtl;text-align:center;font-weight:normal}.hero-arabic{padding:45px 5px 20px;min-height:165px}.latin{color:#b8cabc;text-align:center;font-size:18px;font-style:italic;margin:0 0 26px}.translation{border-top:1px solid var(--line);padding-top:18px}.translation .label{font-size:10px;letter-spacing:2px;color:var(--muted)}.translation p{font-size:var(--german);color:var(--german-color);margin:10px 0}.translation small{color:var(--muted)}.empty-hint{margin-top:20px;font-size:12px;color:var(--muted)}.playlist{background:#0e241c;border:1px solid var(--line);border-radius:16px;padding:22px 18px;min-height:390px}.section-heading{display:flex;justify-content:space-between;gap:8px;align-items:start}.section-heading h2{font-size:18px}.section-heading button{padding:0;min-width:30px}.muted{color:var(--muted)}.small{font-size:12px}.center{text-align:center}.playlist .muted{margin:5px 0 18px;font-size:12px}.queue-empty{padding:40px 10px;color:var(--muted);text-align:center}.queue-empty svg{width:34px;height:34px;color:var(--gold);margin-bottom:14px}.queue-empty p{font-size:14px}.queue-row{border-bottom:1px solid var(--line);padding:9px 0}.queue-row.current{background:#233c2b;border-radius:8px;box-shadow:inset 3px 0 var(--gold);padding-left:6px}.queue-select{width:100%;justify-content:flex-start;text-align:left;font-size:14px;min-width:0}.queue-select span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-select small{display:block;color:var(--muted);font-size:11px}.queue-actions{display:flex;justify-content:flex-end}.queue-actions button{padding:3px 8px;min-height:28px;font-size:12px}.queue-add{display:grid;gap:5px;margin-top:24px}.queue-add>button:first-child{border:1px solid #5b6041;color:var(--gold)}.text-button{font-size:12px;color:var(--muted)}.timeline{display:flex;align-items:center;gap:16px;margin:28px 0 18px;font-size:13px}.timeline input{flex:1}.music{display:flex;justify-content:center;align-items:center;gap:24px}.music svg{width:26px;height:26px}.music .big-play{border-radius:50%;width:66px;height:66px;background:var(--gold);color:#15291c}.music button small{font-size:10px}.music button[data-action=verse-repeat]{flex-direction:column;gap:0}.subcontrols{display:flex;justify-content:center;gap:9px;margin-top:18px}.subcontrols button,.subcontrols select{border:1px solid var(--line);font-size:13px;padding:6px 12px;min-height:36px}.subcontrols select{padding-right:30px}.transport>.muted{font-size:11px;margin:12px 0}.tools{display:flex;justify-content:space-around;border-top:1px solid var(--line);padding-top:12px;margin-top:20px}.tools button{font-size:13px;color:var(--muted)}footer{display:flex;justify-content:space-between;color:#718c7c;border-top:1px solid var(--line);margin:35px 0 0;padding:18px 0;font-size:11px}.notice{font-size:13px;color:#d8ca9c;padding:14px;background:#252d1e;border-radius:8px;margin-top:12px}.embed{display:block;width:100%;height:420px;border:0;border-radius:10px;background:#fff}.reading-card.embedded{padding:16px}.reading-card video{width:100%;max-height:380px;border-radius:10px}.platform-header{display:flex;justify-content:space-between;margin-bottom:14px;align-items:center}.platform-header a{font-size:12px}.active-toggle{color:var(--gold)!important;background:#293d29!important}.page-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.page-toolbar input{flex:1}.book-page{max-width:900px;margin:auto;border:1px solid #626347;border-radius:16px;padding:34px;background:#10251e}.book-page .arabic{font-size:calc(var(--arabic)*.72);text-align:justify;line-height:2.1}.book-page .surah-title{text-align:center;color:var(--gold);font-family:'Segoe UI',sans-serif;font-size:24px;margin:12px 0 25px}.book-page p{white-space:pre-line}.page-bottom{display:flex;justify-content:space-between;align-items:center;margin:22px auto;max-width:900px}.page-bottom button{border:1px solid var(--line)}.source{font-size:12px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.collection-card{background:var(--panel);border:1px solid var(--line);padding:28px;min-height:210px;display:flex;flex-direction:column;align-items:start;justify-content:center;text-align:left}.collection-card svg{width:36px;height:36px;color:var(--gold);margin-bottom:18px}.collection-card span{font-size:24px}.collection-card small{color:var(--muted)}.results{display:grid;gap:8px;margin:20px 0}.results button{justify-content:flex-start;text-align:left;background:var(--panel);border:1px solid var(--line)}.checklist{max-width:820px}.note-row{display:flex;gap:14px;padding:18px;border-bottom:1px solid var(--line);align-items:center}.note-row input[type=text]{flex:1}.note-row.done input[type=text]{text-decoration:line-through;color:var(--muted)}.note-row label{flex:1}.form-stack{display:grid;gap:16px}.form-stack label{display:grid;gap:7px;font-size:14px;color:var(--muted)}.form-stack input,.form-stack select{width:100%;color:var(--ink)}.setting{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0}.setting input[type=range]{max-width:220px;flex:1}.setting input[type=color]{width:60px;height:40px;padding:4px}.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}dialog{color:var(--ink);background:#13291f;border:1px solid #526047;border-radius:18px;width:min(620px,94vw);max-height:90dvh;padding:26px;box-shadow:0 30px 150px #0009}dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}dialog p{color:#bdcabc}dialog a{overflow-wrap:anywhere}dialog pre{white-space:pre-wrap;font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#d6bb79;color:#112118;padding:12px 22px;border-radius:10px;max-width:90vw;box-shadow:0 6px 40px #0005;z-index:20;display:none}#toast.show{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}.collapsed .player-grid{grid-template-columns:1fr}.collapsed .playlist{display:none}.collapsed #showqueue{display:inline-flex}.fade{animation:fade .25s ease}@keyframes fade{from{opacity:0}to{opacity:1}}.no-animation .fade{animation:none}body:has(dialog[open]){overflow:hidden}#stage:fullscreen{overflow:auto;background:var(--bg);padding:7vw}.view{min-width:0}@media(min-width:1550px){main{padding:0 55px}.reading-card{min-height:440px}.hero-arabic{padding-top:55px;font-size:calc(var(--arabic)*1.2)}}@media(max-width:1150px){.sidebar{width:190px;padding:28px 12px}.brand span{font-size:29px}main{margin-left:190px;padding:0 24px}.player-grid{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.reading-card{padding:24px}.music{gap:12px}.tools button{padding:8px;font-size:12px}.subcontrols{gap:5px}.collection-grid{grid-template-columns:1fr 1fr}}@media(max-width:900px){.player-grid{grid-template-columns:1fr}.playlist{min-height:0}.queue-empty{padding:15px}.header-actions .quiet span{display:none}.sidebar{width:175px}main{margin-left:175px}.sidebar button{padding:13px}.brand span{font-size:27px}}@media(max-width:620px){body{padding-bottom:74px}.sidebar{z-index:10;inset:auto 0 0;width:100%;height:70px;padding:0 6px;border-right:0;border-top:1px solid var(--line);background:#0e241cf5}.sidebar .brand,.side-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;height:100%;gap:3px}.sidebar nav button{flex-direction:column;gap:3px;font-size:11px;padding:8px 12px;width:auto;flex:1;border-radius:0;box-shadow:none}.sidebar nav button.active{box-shadow:inset 0 2px var(--gold)}.sidebar nav svg{width:20px;height:20px}main{margin:0;padding:0 16px}header{min-height:90px;margin-bottom:20px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:25px}.header-actions{gap:6px}.header-actions button{padding:8px 10px;font-size:12px}.header-actions .gold svg{display:none}.linkbar{gap:10px;padding:12px}.linkbar>i{display:none}.linkbar button{font-size:12px;padding:8px}.link-input input{font-size:12px}.linknote{font-size:10px}.reading-card{padding:22px 18px;min-height:365px}.reader-meta{flex-wrap:wrap}.reader-meta h2{font-size:18px}.hero-arabic{font-size:var(--arabic);padding-top:35px}.music{gap:12px}.music button{padding:7px}.music .big-play{width:60px;height:60px}.subcontrols{flex-wrap:wrap}.book-page{padding:22px}.book-page .arabic{font-size:calc(var(--arabic)*.65)}.collection-grid{grid-template-columns:1fr}.collection-card{min-height:140px}.embed{height:390px}.page-toolbar{gap:8px}.page-toolbar input{width:100%;flex:auto}.page-bottom{font-size:13px}footer span{display:none}.translation p{font-size:var(--german)}.setting{font-size:14px}.setting input[type=range]{max-width:150px}}
.ayah-marker{font-family:Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;border:1px solid currentColor;outline:1px solid currentColor;outline-offset:3px;border-radius:50%;font-size:.48em;min-width:1.8em;height:1.8em;margin:0 .25em;line-height:1}.player-main:fullscreen{background:var(--bg);padding:20px;overflow:auto;display:flex;flex-direction:column;height:100dvh}.player-main:fullscreen .reading-card{flex:1;overflow:auto;min-height:100px}.player-main:fullscreen .transport{flex-shrink:0}.player-main:fullscreen .tools{display:none}@media(min-width:901px){.player-main{height:calc(100dvh - 265px);min-height:450px;display:flex;flex-direction:column}.player-main .reading-card{min-height:180px;flex:1;overflow:auto}.player-main .transport{flex-shrink:0}.timeline{margin:18px 0 12px}.hero-arabic{padding-top:24px;padding-bottom:15px;min-height:110px}.music .big-play{width:56px;height:56px}.tools{margin-top:10px}.subcontrols{margin-top:12px}}
.player-main:has(.embedded){height:auto;min-height:0}.player-main:has(.embedded) .reading-card{overflow:hidden}.player-main:has(.embedded) .transport{display:none}.embedded .embed{height:auto;aspect-ratio:16/9;min-height:320px}.embedded:has(iframe[title="TikTok-Player"]) .embed,.embedded:has(iframe[title="Instagram-Player"]) .embed{height:520px;aspect-ratio:auto}.notice{flex-shrink:0}.player-main:fullscreen .embedded .embed{height:65dvh}
.analysisbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#142b20}.analysisbar strong{font-size:14px;color:var(--gold)}.analysisbar small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.analysisbar button{font-size:13px}.synced-verse{padding:20px 10px 24px;border-bottom:1px solid var(--line);margin-bottom:18px}.synced-verse .hero-arabic{padding:20px 5px;min-height:90px}.synced-verse .translation p{margin-bottom:6px}.player-main:has(.synced-verse:not([hidden])) .reading-card{max-height:none;overflow:visible}.player-main:has(.embedded){min-width:0}.embedded .embed{min-width:200px;min-height:270px;width:100%}.player-main:fullscreen .embedded{overflow:auto}@media(max-width:620px){.analysisbar{align-items:stretch;flex-direction:column}.analysisbar .inline{gap:5px}.synced-verse{padding:15px 0}.synced-verse .reader-meta{display:block}.synced-verse .tag{margin-top:8px;white-space:normal}.embedded .embed{min-height:220px}}
@media(min-width:901px){.player-main{height:auto;min-height:0;display:block}.player-main .reading-card{min-height:365px;overflow:hidden}.player-main .reading-card .arabic{overflow-wrap:anywhere}.player-main .transport{background:var(--bg)}}.player-main:fullscreen{display:flex;height:100dvh;overflow:auto}.player-main:fullscreen .reading-card{flex:1;min-height:120px;overflow:auto}.player-main:fullscreen .transport{flex:0 0 auto}
