:root{--bg:#f2f6f3;--card:#fff;--ink:#14221c;--muted:#66766f;--brand:#0a3f30;--brand2:#0e684b;--gold:#c19a49;--gold2:#e0c67c;--line:#dce6e0;--shadow:0 8px 28px rgba(9,49,36,.09);--arabic-size:26px;--translation-size:17px;--transcription-size:16px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}body.dark{--bg:#0d1511;--card:#17211c;--ink:#f3f6f4;--muted:#a8b5ae;--line:#2b3a32;--shadow:none}button,input,select{font:inherit}.topbar{height:92px;position:fixed;z-index:50;top:0;left:0;right:0;background:linear-gradient(135deg,#08382b,#0d573f);color:#fff;display:flex;align-items:center;padding:0 10px;box-shadow:0 4px 18px #0003}.brand{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.brandMainLogo{display:block;width:min(430px,100%);height:auto;max-height:74px;border-radius:20px;flex:0 1 auto}.topActions{display:flex}.iconbtn{border:0;background:transparent;color:inherit;font-size:23px;width:42px;height:42px;border-radius:12px;cursor:pointer}.iconbtn:hover{background:#ffffff18}.main{max-width:1000px;margin:0 auto;padding:108px 12px 112px}.view{display:none}.view.active{display:block}.card{background:var(--card);border:1px solid var(--line);border-radius:19px;padding:16px;margin-bottom:12px;box-shadow:var(--shadow)}.hero{text-align:center;padding:18px 16px 24px;overflow:hidden}.heroLogo{display:block;width:min(760px,100%);height:auto;margin:0 auto 8px;background:transparent;border-radius:0;padding:0}.bismillah{font-family:"Noto Naskh Arabic","Amiri","Traditional Arabic",serif;font-size:35px;line-height:1.8;color:var(--brand2);font-weight:650;margin-top:8px}.dark .bismillah{color:#78d8b0}.hero h1{margin:5px 0 8px}.hero p{max-width:660px;margin:0 auto 20px;color:var(--muted);line-height:1.55}.primary,.secondary{border-radius:12px;padding:11px 15px;font-weight:750;cursor:pointer}.primary{background:var(--brand2);border:1px solid var(--brand2);color:#fff}.primary:hover{filter:brightness(1.07)}.secondary{background:var(--card);border:1px solid var(--line);color:var(--ink)}.wide{width:100%;margin-top:12px}.heroBtns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{text-align:center}.stat span{display:block;font-size:28px;font-weight:850;color:var(--brand2)}.stat small{color:var(--muted)}.sectionTitle{margin-bottom:10px}.quickGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick{border:1px solid var(--line);background:var(--bg);border-radius:14px;padding:12px;color:var(--ink);text-align:left;cursor:pointer}.quick b{display:block;color:var(--gold);font-size:16px}.quick span{font-size:13px}.statusCard{display:flex;align-items:center;gap:10px;color:var(--muted)}.dot{width:10px;height:10px;border-radius:50%;background:#d39a2c;display:inline-block}.statusCard.ok .dot{background:#29a56a}.statusCard.bad .dot{background:#d04b4b}.drawer{position:fixed;z-index:80;top:0;left:-318px;width:308px;max-width:90vw;height:100%;background:var(--card);transition:.22s;padding:10px;box-shadow:10px 0 30px #0004;overflow:auto}.drawer.open{left:0}.drawerLogo{background:transparent;border-radius:0;padding:0;margin:4px 2px 10px}.drawerLogo img{display:block;width:100%;height:auto;border-radius:18px}.drawerHead{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 8px}.navItem{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:0;background:transparent;color:var(--ink);padding:13px;border-radius:12px;font-weight:670;margin:2px 0;cursor:pointer}.navItem>span:first-child{width:24px;text-align:center;color:var(--gold)}.navItem.active,.navItem:hover{background:var(--bg);color:var(--brand2)}.scrim{display:none;position:fixed;z-index:70;inset:0;background:#0008}.scrim.show{display:block}.viewHead{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:2px 0 12px}.viewHead h2{margin:0}.viewHead input[type=search]{width:min(55%,340px)}input,select{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;padding:10px}.surahList{display:grid;gap:8px}.surahRow{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:11px;cursor:pointer;color:var(--ink);text-align:left}.surahNo{width:42px;height:42px;display:grid;place-items:center;background:var(--bg);border-radius:12px;color:var(--gold);font-weight:850}.surahNames b{display:block}.surahNames small{color:var(--muted)}.surahArabic{font-family:"Noto Naskh Arabic","Amiri",serif;font-size:23px;direction:rtl}.stickyReader{position:sticky;top:76px;z-index:20;display:flex;align-items:center;gap:8px}.readerTitle{flex:1}.readerTitle b,.readerTitle small{display:block}.readerTitle small{color:var(--muted)}.readerControls{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.readerControls label{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px}.ayahCard{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:10px;scroll-margin-top:145px}.ayahCard.playing{outline:2px solid var(--gold);box-shadow:0 0 0 4px #b08a3c22}.ayahTop{display:flex;align-items:center;justify-content:space-between}.ayahNo{display:inline-grid;place-items:center;min-width:38px;height:34px;padding:0 8px;background:var(--bg);border-radius:10px;color:var(--gold);font-weight:850}.ayahActions{display:flex;gap:2px}.miniBtn{border:0;background:transparent;color:var(--muted);font-size:20px;width:38px;height:38px;border-radius:10px;cursor:pointer}.miniBtn:hover{background:var(--bg)}.arabicText{font-family:"Noto Naskh Arabic","Amiri","Traditional Arabic",serif;font-size:var(--arabic-size);line-height:2.05;text-align:right;direction:rtl;margin:12px 0;unicode-bidi:plaintext}.translationText{font-size:var(--translation-size);line-height:1.65;color:var(--ink);border-top:1px solid var(--line);padding-top:12px}.hideArabic .arabicText{display:none}.hideTranslation .translationText{display:none}.pageJump{display:flex;align-items:center;gap:5px}.pageJump button{width:38px;height:38px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px}.pageJump input{width:75px;text-align:center}.mushafPage{min-height:70vh;text-align:right;padding:28px 24px}.mushafSurahHeader{text-align:center;border:1px solid var(--line);border-radius:14px;padding:9px;margin:12px 0;font-family:"Noto Naskh Arabic","Amiri",serif;font-size:26px;color:var(--brand2)}.mushafLine{display:inline;font-family:"Noto Naskh Arabic","Amiri","Traditional Arabic",serif;font-size:32px;line-height:2.15}.verseMark{display:inline-grid;place-items:center;font-family:serif;font-size:16px;color:var(--gold);margin:0 4px}.sheet{position:fixed;z-index:90;right:-402px;top:0;height:100%;width:390px;max-width:94vw;background:var(--card);padding:16px;transition:.22s;box-shadow:-10px 0 30px #0004;overflow:auto}.sheet.open{right:0}.sheetHead{display:flex;align-items:center;justify-content:space-between;font-size:20px;margin-bottom:14px}.sheet label,#offlineView label,.onboardingCard label{display:block;margin:14px 0;color:var(--muted)}.sheet select,#offlineView select,.onboardingCard select{display:block;width:100%;margin-top:6px}.checkline{display:flex!important;align-items:center;gap:10px}.checkline input{width:20px;height:20px}.player{position:fixed;z-index:60;left:50%;transform:translateX(-50%);bottom:8px;width:min(980px,calc(100% - 16px));background:#102d24;color:#fff;border-radius:18px;display:grid;grid-template-columns:46px 54px 46px 1fr 46px;align-items:center;gap:4px;padding:8px 10px;box-shadow:0 8px 30px #0006}.player.hidden{display:none}.playerBtn,.playerMain{border:0;background:transparent;color:white;font-size:20px;height:42px;border-radius:10px}.playerMain{background:#ffffff18;font-size:24px}.playerInfo{min-width:0}.playerInfo b,.playerInfo small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playerInfo small{opacity:.75;font-size:11px}.playerInfo input{width:100%;padding:0;height:14px}.toast{position:fixed;z-index:120;left:50%;bottom:100px;transform:translateX(-50%) translateY(20px);background:#16241f;color:white;padding:10px 14px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.progressText{margin-top:10px;color:var(--muted);white-space:pre-line}.fine{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.45}.modalOverlay{position:fixed;z-index:200;inset:0;background:rgba(5,20,15,.86);display:grid;place-items:center;padding:16px;overflow:auto}.modalOverlay.hidden{display:none}.onboardingCard{width:min(560px,100%);background:var(--card);border-radius:24px;padding:22px;box-shadow:0 20px 70px #0007}.onboardingLogo{display:block;width:min(760px,100%);margin:0 auto 14px;background:transparent;border-radius:0;padding:0}.onboardingCard h2{text-align:center;margin:6px 0}.onboardingCard>p{text-align:center;color:var(--muted);line-height:1.5}.alwaysArabic{display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:12px 0;color:var(--muted)}.arabicBadge{font-family:"Noto Naskh Arabic","Amiri",serif;font-size:24px;color:var(--brand2);font-weight:700}.dark .arabicBadge{color:#7ddbb7}mark{background:#f3d37a;color:#1c1c1c;border-radius:3px;padding:0 2px}
@media(max-width:650px){.topbar{height:78px}.brandMainLogo{width:min(250px,100%);max-height:58px}.topActions .iconbtn{width:36px}.quickGrid{grid-template-columns:repeat(2,1fr)}.main{padding:92px 8px 110px}.card{border-radius:15px}.heroLogo{width:100%}.bismillah{font-size:30px}.player{grid-template-columns:42px 48px 42px 1fr 38px}.playerBtn{font-size:17px}.mushafPage{padding:18px 14px}.mushafLine{font-size:28px}.readerControls{display:grid}.viewHead{align-items:flex-start;flex-direction:column}.viewHead input[type=search]{width:100%}.pageJump{width:100%;justify-content:center}.stickyReader{top:84px}.surahArabic{font-size:20px}.onboardingCard{padding:16px;border-radius:20px}}

/* v3 direct offline controls + synchronized word highlight */
.surahRight{display:flex;align-items:center;gap:10px}.downloadMini,.downloadChip{border:1px solid var(--line);background:var(--bg);color:var(--brand2);border-radius:11px;font-weight:800;cursor:pointer;white-space:nowrap}.downloadMini{min-width:42px;height:38px;padding:0 10px;font-size:14px}.downloadChip{display:inline-flex;align-items:center;gap:6px;padding:9px 12px}.downloadMini:hover,.downloadChip:hover{filter:brightness(.98);border-color:var(--brand2)}.downloadMini.offline,.downloadChip.offline{background:#e5f7ee;border-color:#72bd96;color:#176c48}.dark .downloadMini.offline,.dark .downloadChip.offline{background:#173d30;border-color:#39795e;color:#88e2b8}.pageTools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.qword{display:inline;border-radius:7px;padding:0 .05em;transition:background-color .08s linear,color .08s linear,box-shadow .08s linear}.qword.activeWord{background:#f3d37a;color:#173f31;box-shadow:0 0 0 3px #f3d37a55}.dark .qword.activeWord{background:#efd070;color:#102d24;box-shadow:0 0 0 3px #efd07044}
@media(max-width:680px){.surahRow{grid-template-columns:42px 1fr}.surahRight{grid-column:2;justify-content:space-between;margin-top:-4px}.stickyReader{align-items:flex-start;flex-wrap:wrap}.stickyReader .downloadChip{margin-left:auto}.pageTools{width:100%;justify-content:space-between}.downloadChip{font-size:12px;padding:8px 9px}}


/* v4: jasniji dizajn za starije korisnike */
:root{--bg:#eef3f7;--card:#ffffff;--ink:#16202a;--muted:#4f5f6d;--brand:#174a68;--brand2:#146c58;--gold:#9a6b16;--line:#cfd9e2;--shadow:0 5px 18px rgba(27,52,70,.10)}
body{font-size:17px}.topbar{background:linear-gradient(135deg,#174a68,#116658);height:72px}.brand b{font-size:20px}.brand small{font-size:12px;opacity:.95}.iconbtn{min-width:46px;min-height:46px}.card{border-width:2px}.hero{background:linear-gradient(180deg,#ffffff,#f7fbff);border-color:#b8cee0}.hero h1{font-size:30px;color:#173d57}.primary{background:#146c58;border-color:#0c5948;font-size:17px;padding:13px 18px}.secondary{background:#fff1cf;border:2px solid #d3a23e;color:#5d430b;font-size:17px;padding:13px 18px}.heroBtns .primary{background:#176b9a;border-color:#0f5b85}.heroBtns .secondary{background:#f3a536;border-color:#d98b1c;color:#2e210c}.grid2 .stat:first-child{background:#e7f4ff;border-color:#9cc6e3}.grid2 .stat:last-child{background:#edf8ee;border-color:#a6d4aa}.grid2 .stat:first-child span{color:#176b9a}.grid2 .stat:last-child span{color:#31763c}.quick{font-size:16px;font-weight:700;border-width:2px;min-height:68px}.quick:nth-child(1),.quick:nth-child(4){background:#eef7ff;border-color:#acd0e9}.quick:nth-child(2),.quick:nth-child(5){background:#eef9f2;border-color:#acd5b9}.quick:nth-child(3),.quick:nth-child(6){background:#fff5df;border-color:#e4c077}.quick b{font-size:18px;color:#7b5511}.statusCard{background:#f6f8fa;border-style:dashed}.navItem{font-size:18px;padding:15px 13px;border:1px solid transparent}.navItem:nth-child(1){background:#edf6ff}.navItem:nth-child(2){background:#edf9f1}.navItem:nth-child(3){background:#fff7e7}.navItem:nth-child(4){background:#f4efff}.navItem.active{border-color:#6fa7c8;box-shadow:inset 4px 0 #176b9a}.surahRow{border-width:2px;min-height:76px}.surahRow:nth-child(odd){background:#fbfdff;border-color:#c3d8e8}.surahRow:nth-child(even){background:#f7fcf8;border-color:#c4ddca}.surahNo{background:#e8f2f9;color:#174a68;font-size:18px}.surahNames b{font-size:18px}.surahNames small{font-size:14px;color:#455866}.downloadMini,.downloadChip{background:#fff2d7;border:2px solid #d9a645;color:#6a4b0c;font-size:15px}.downloadMini.offline,.downloadChip.offline{background:#def5e8;border-color:#4aa873;color:#155c3a}.readerControls{background:#f5f8fb;border-color:#c7d6e1}.ayahCard{border-width:2px}.ayahCard:nth-child(odd){border-color:#bfd5e4}.ayahCard:nth-child(even){border-color:#c7ddcb}.ayahNo{background:#e8f2f9;color:#174a68;font-size:16px}.miniBtn{background:#f2f5f8;border:1px solid #d5dee5;color:#344d60;margin-left:3px}.translationText{font-size:18px;line-height:1.75}.mushafPage{border-color:#c7d6e1;background:#fffefa}.mushafSurahHeader{background:#edf7f2;border-color:#99c5ac;color:#245f46}.sheet{background:#f7f9fb}.settingsGroup{border:2px solid #cbd7e0;border-radius:16px;padding:14px;margin:12px 0;background:#fff}.settingsGroupTitle{font-size:19px;font-weight:850;margin-bottom:10px;color:#183e58}.languageFixed{background:#eaf5ff;border-color:#a7c9e2}.fixedLanguageRow{display:flex;align-items:center;gap:12px}.fixedLanguageRow b,.fixedLanguageRow small{display:block}.fixedLanguageRow small{margin-top:3px;color:#4c5f6c}.languageDot{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#176b9a;color:#fff;font-weight:900}.offlineSettings{background:#fff6e6;border-color:#e1bb73}.offlineSettings p{color:#4f5b63;line-height:1.55}.settingsAction{width:100%;border:0;border-radius:12px;padding:13px 14px;font-size:17px;font-weight:800;cursor:pointer}.refreshAction{background:#d87a23;color:#fff}.sheet label{background:#fff;border:1px solid #d5dfe6;border-radius:13px;padding:11px 12px;color:#334b5b}.sheet select{font-size:17px;border-width:2px}.checkline{min-height:52px}.player{background:#173d57;border:2px solid #5f8aa5}.qword.activeWord{background:#ffd84f;color:#111;box-shadow:0 0 0 3px #e3af18}.dark{--bg:#101820;--card:#1c2730;--ink:#f4f7f9;--muted:#c0ccd4;--line:#43525e}.dark .settingsGroup,.dark .sheet label{background:#24313b}.dark .languageFixed{background:#203848}.dark .offlineSettings{background:#3d3120}.dark .hero{background:#1c2730}.dark .quick:nth-child(n){background:#23313b;color:#f4f7f9}.dark .surahRow:nth-child(n){background:#1d2932}.dark .miniBtn{background:#273640;color:#eaf2f7;border-color:#4b5d69}
@media(max-width:650px){body{font-size:16px}.topbar{height:68px}.main{padding-top:80px}.brand b{font-size:18px}.brand small{font-size:11px}.hero h1{font-size:25px}.primary,.secondary{width:100%;min-height:50px}.quick{min-height:72px}.surahRow{min-height:82px}.translationText{font-size:18px}.sheet{padding:13px}.settingsGroupTitle{font-size:18px}}

/* v5: jedinstveni tamni dizajn — noćno plava + tamno zelena, visok kontrast */
:root,
body.dark{
  --bg:#061426;
  --card:#0b382b;
  --ink:#ffffff;
  --muted:#c8d9d3;
  --brand:#0a4f3b;
  --brand2:#37c68a;
  --gold:#8fe3bc;
  --gold2:#b8efd6;
  --line:#2f6f59;
  --shadow:0 8px 24px rgba(0,0,0,.28);
}
html,body{background:#061426;color:#fff}
body{font-size:18px}
body.dark{background:#061426}
.topbar{background:#083b2e;border-bottom:1px solid #2f6f59;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.brand b{color:#fff}.brand small{color:#d8e7e1;opacity:1}
.iconbtn{color:#fff}.iconbtn:hover{background:#145642}
.card,.hero,.ayahCard,.surahRow,.mushafPage{background:#0b382b;border:1px solid #2f6f59;color:#fff;box-shadow:var(--shadow)}
.hero{background:#0b382b}.hero h1{color:#fff}.heroLogo,.drawerLogo,.onboardingLogo{background:transparent;border:0}
.bismillah,.dark .bismillah{color:#b8efd6}
.primary,.heroBtns .primary{background:#16845d;border:2px solid #42c991;color:#fff}
.secondary,.heroBtns .secondary{background:#0d4a38;border:2px solid #3f9472;color:#fff}
.primary:hover,.secondary:hover,.heroBtns .primary:hover,.heroBtns .secondary:hover{background:#1b9669;filter:none}
.grid2 .stat:first-child,.grid2 .stat:last-child{background:#0d4434;border-color:#2f6f59}
.grid2 .stat:first-child span,.grid2 .stat:last-child span,.stat span{color:#8fe3bc}
.stat small,.hero p,.fine,.readerTitle small,.surahNames small{color:#c8d9d3}
.quickGrid{gap:10px}
.quick,.quick:nth-child(n){background:#0d4434!important;border:1px solid #377c63!important;color:#fff!important;min-height:72px}
.quick:hover{background:#11513e!important;border-color:#53b58c!important}
.quick b{color:#a8e9cb}.quick span{color:#fff;font-size:15px}
.statusCard{background:#0a3027;border:1px solid #2f6f59;color:#d8e7e1}
.dot{background:#8fe3bc}.statusCard.ok .dot{background:#54d99a}.statusCard.bad .dot{background:#ff8c8c}
.drawer{background:#071d2c;border-right:1px solid #2f6f59;color:#fff}.drawerHead{color:#fff}
.navItem,.navItem:nth-child(n){background:transparent!important;color:#f7fbf9;border:1px solid transparent;font-size:18px}
.navItem>span:first-child{color:#8fe3bc}
.navItem:hover{background:#0b382b!important;border-color:#2f6f59;color:#fff}
.navItem.active{background:#0d4a38!important;border:1px solid #4a9a79!important;box-shadow:inset 4px 0 #7fe0b4;color:#fff}
.scrim{background:#000b}
input,select,.sheet select{background:#071d2c;color:#fff;border:2px solid #3d7862;font-size:17px}
input::placeholder{color:#9eb8ae}
.surahRow,.surahRow:nth-child(n){background:#0b382b!important;border:1px solid #2f6f59!important;min-height:78px}
.surahRow:hover{background:#0e4434!important;border-color:#4d9879!important}
.surahNo,.ayahNo{background:#061f30;color:#b8efd6;border:1px solid #376d60}
.surahNames b{color:#fff;font-size:19px}.surahArabic{color:#dff7ec}
.downloadMini,.downloadChip{background:#0d4a38;border:2px solid #499271;color:#fff}
.downloadMini:hover,.downloadChip:hover{background:#136046;border-color:#74c69e;filter:none}
.downloadMini.offline,.downloadChip.offline,.dark .downloadMini.offline,.dark .downloadChip.offline{background:#176c4d;border-color:#7addad;color:#fff}
.readerControls{background:#092f27;border:1px solid #2f6f59}.readerControls label{color:#d2e2dc}
.ayahCard:nth-child(n){background:#0b382b;border:1px solid #2f6f59}
.ayahCard.playing{outline:3px solid #66d6a4;box-shadow:0 0 0 5px rgba(102,214,164,.18)}
.miniBtn,.dark .miniBtn{background:#0a2b29;border:1px solid #376d60;color:#e8f7f1}
.miniBtn:hover{background:#104a3a}
.arabicText,.mushafLine{color:#fff;text-shadow:0 1px 0 #000}
.translationText{color:#eef7f3;border-color:#38745e;font-size:19px;line-height:1.8}
.pageJump button{background:#0b382b;border:1px solid #3d7862;color:#fff}
.mushafPage{background:#092f27}.mushafSurahHeader{background:#0d4a38;border:1px solid #4d9879;color:#eafff5}.verseMark{color:#9ae5c1}
.sheet{background:#071d2c;border-left:1px solid #2f6f59;color:#fff}
.sheetHead{color:#fff}.settingsGroup,.dark .settingsGroup,.sheet label,.dark .sheet label{background:#0b382b;border:1px solid #2f6f59;color:#fff}
.settingsGroupTitle{color:#b8efd6}.offlineSettings,.dark .offlineSettings{background:#0b382b;border-color:#3e866a}.offlineSettings p{color:#cfdfd9}
.refreshAction{background:#16845d;color:#fff;border:2px solid #42c991}.refreshAction:hover{background:#1b9669}
.checkline span{color:#fff}
/* aplikacija je stalno u tamnoj zeleno/plavoj paleti; prekidač više nije potreban */
label:has(#darkMode){display:none!important}
.player{background:#04101e;border:2px solid #277052;color:#fff;box-shadow:0 8px 30px #0008}.playerMain{background:#176c4d}.playerBtn:hover,.playerMain:hover{background:#1b7e59}
.toast{background:#0d4a38;color:#fff;border:1px solid #58aa85}
mark,.qword.activeWord,.dark .qword.activeWord{background:#78ddb0;color:#042318;box-shadow:0 0 0 3px rgba(120,221,176,.28)}
.modalOverlay{background:rgba(2,11,22,.92)}.onboardingCard{background:#0b382b;color:#fff;border:1px solid #2f6f59}.onboardingCard>p{color:#c8d9d3}
.alwaysArabic{background:#071d2c;border:1px solid #2f6f59;color:#d0dfda}.arabicBadge,.dark .arabicBadge{color:#b8efd6}
@media(max-width:650px){
  body{font-size:17px}.card{border-width:1px}.translationText{font-size:19px}.quick span{font-size:15px}.surahNames b{font-size:18px}
}


/* v7 — čitljiviji minimalni arapski tekst, izbor više sura i Mushaf prijevod */
.batchDownload{padding:14px}.batchTop{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.batchTop b{font-size:19px}.batchTop span{color:#b8efd6;font-weight:800}.batchButtons{display:flex;gap:8px;flex-wrap:wrap}.batchButtons button{min-height:44px}.batchProgress{margin-top:12px}.batchProgress.hidden{display:none}.batchProgressBar{height:12px;background:#061f30;border:1px solid #376d60;border-radius:999px;overflow:hidden}.batchProgressBar span{display:block;height:100%;width:0;background:#78ddb0;transition:width .2s}.batchProgress small{display:block;margin-top:7px;color:#d8e7e1}.selectableSurah{grid-template-columns:34px 46px 1fr auto}.surahSelect{display:grid!important;place-items:center!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}.surahSelect input{width:23px;height:23px;margin:0;accent-color:#37c68a}.surahSelect span{display:none}
.pagePlayBtn{background:#176c4d;border-color:#7addad}.mushafPage{direction:ltr;text-align:left;padding:18px}.mushafSurahHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:19px}.mushafSurahHeader span{font-family:"Noto Naskh Arabic","Amiri",serif;font-size:27px}.mushafAyahBlock{background:#0b382b;border:1px solid #2f6f59;border-radius:16px;padding:13px 14px;margin:10px 0}.mushafAyahBlock.playing{outline:3px solid #66d6a4;box-shadow:0 0 0 5px rgba(102,214,164,.16)}.mushafAyahTop{display:flex;justify-content:space-between;align-items:center;color:#b8efd6;font-weight:800}.mushafArabic{text-align:right;direction:rtl;margin:6px 0 10px}.mushafLine{display:inline;font-size:var(--arabic-size);line-height:2}.mushafTranslation{direction:ltr;text-align:left;color:#eef7f3;border-top:1px solid #38745e;padding-top:10px;font-size:18px;line-height:1.7}.verseMark{display:inline;color:#9ae5c1}.qword.activeWord,.dark .qword.activeWord{background:#f5e36e!important;color:#061426!important;box-shadow:0 0 0 3px rgba(245,227,110,.25)!important}
@media(max-width:680px){.batchButtons{display:grid;grid-template-columns:1fr 1fr}.batchButtons .primary{grid-column:1/-1}.selectableSurah{grid-template-columns:30px 42px 1fr}.selectableSurah .surahRight{grid-column:3}.mushafPage{padding:9px}.mushafAyahBlock{padding:11px}.mushafTranslation{font-size:17px}.mushafSurahHeader{font-size:17px}.mushafSurahHeader span{font-size:24px}.pageTools{gap:6px}.pagePlayBtn,.pageTools .downloadChip{flex:1;justify-content:center}}

/* v8 — Dove, sure i ajeti po potrebama */
.guideHead{align-items:flex-start}.guideHead h2{max-width:520px}.guideHead input{min-width:280px}
.guideNotice{border-color:#3e866a;background:#092f27}.guideNotice>b{display:block;color:#b8efd6;font-size:20px;margin-bottom:6px}.guideNotice p{margin:7px 0;line-height:1.6}.guideNotice .fine{color:#d8e7e1}
.guideTopicGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.guideTopicGrid.hidden,.guideTopicDetail.hidden,.guideNowPlaying.hidden{display:none!important}
.guideTopicCard{display:grid;grid-template-columns:58px 1fr 28px;gap:12px;align-items:center;text-align:left;background:#0b382b;border:1px solid #2f6f59;color:#fff;border-radius:17px;padding:15px;min-height:112px;cursor:pointer;box-shadow:var(--shadow)}.guideTopicCard:hover{background:#0e4434;border-color:#58aa85}.guideTopicIcon,.guideTopicBigIcon{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:#061f30;border:1px solid #3d7862;color:#b8efd6;font-size:28px}.guideTopicCard b{display:block;font-size:19px;margin-bottom:5px}.guideTopicCard small{display:block;color:#c8d9d3;line-height:1.4}.guideChevron{font-size:28px;color:#8fe3bc}.guideBack{width:auto;margin:4px 0 12px}.guideTopicIntro{display:flex;gap:14px;align-items:flex-start}.guideTopicIntro h3{margin:0 0 6px;font-size:23px}.guideTopicIntro p{margin:0;color:#d2e2dc;line-height:1.55}
.guideItems{display:grid;gap:12px;margin:12px 0}.guideItemCard{padding:16px}.guideItemTop{display:flex;justify-content:space-between;gap:12px}.guideItemTop h4{font-size:20px;margin:7px 0 4px}.guideItemTop small{color:#b8efd6;font-weight:700}.guideBadge{display:inline-block;background:#176c4d;border:1px solid #7addad;color:#fff;border-radius:999px;padding:4px 9px;font-size:13px;font-weight:850}.duaBadge{background:#153b56;border-color:#6593b2}.guideNote{background:#071d2c;border-left:4px solid #78ddb0;border-radius:8px;padding:9px 11px;color:#d8e7e1;line-height:1.5}.guideSource{display:block;margin-top:10px;color:#a8e9cb;text-decoration:none;font-size:14px}.guideSource:hover{text-decoration:underline}.guideItemActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.guideItemActions button{width:auto;min-height:44px}.guideDuaArabic{direction:rtl;text-align:right;font-family:"Noto Naskh Arabic","Amiri",serif;font-size:28px;line-height:2;background:#071d2c;border:1px solid #2f6f59;border-radius:14px;padding:12px;margin-top:12px}.guideDuaBs{font-size:18px;line-height:1.65;padding:12px 2px;color:#eef7f3}.guideNoAudio{margin-top:10px;padding:9px 11px;border-radius:10px;background:#061f30;color:#c8d9d3;font-size:14px}
.guidePlan{margin-top:18px;border:2px solid #3e866a}.guidePlanTitle{display:flex;justify-content:space-between;gap:12px;align-items:center}.guidePlanTitle b{font-size:21px;color:#fff}.guidePlanTitle small{display:block;color:#c8d9d3;margin-top:3px}.guidePlanTitle>span{color:#b8efd6;font-weight:850}.guideMode{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:10px;margin:13px 0;background:#071d2c;border:1px solid #2f6f59;border-radius:13px;padding:10px}.guideMode span{font-weight:800}.guideQueue{display:grid;gap:9px}.guideQueueRow{display:grid;grid-template-columns:38px minmax(150px,1fr) 105px 125px 42px;align-items:end;gap:8px;background:#071d2c;border:1px solid #2f6f59;border-radius:14px;padding:10px}.guideQueueNo{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#176c4d;color:#fff;font-weight:900;align-self:center}.guideQueueInfo{align-self:center}.guideQueueInfo b{display:block}.guideQueueInfo small{display:block;color:#c8d9d3;margin-top:3px}.guideQueueRow label{display:grid;gap:4px}.guideQueueRow label span{font-size:12px;color:#b8efd6}.guideQueueRow select{width:100%;min-width:0}.guideRemove{align-self:center}.guideEmpty{text-align:center;color:#c8d9d3;padding:15px}.guidePlanButtons{display:flex;gap:10px;margin-top:12px}.guidePlanButtons button{width:auto}.guideNowPlaying{margin-top:13px;background:#04101e;border:2px solid #277052;border-radius:16px;padding:13px}.guideNowHead{display:flex;justify-content:space-between;gap:10px;color:#fff}.guideNowHead span{color:#b8efd6;font-weight:800}.guideNowRef{color:#8fe3bc;margin:6px 0}.guideNowArabic{direction:rtl;text-align:right;font-family:"Noto Naskh Arabic","Amiri",serif;font-size:var(--arabic-size);line-height:2;padding:9px 0}.guideNowBs{border-top:1px solid #2f6f59;padding-top:9px;color:#eef7f3;font-size:18px;line-height:1.65}
@media(max-width:760px){.guideTopicGrid{grid-template-columns:1fr}.guideHead{display:block}.guideHead input{min-width:0;width:100%;margin-top:8px}.guideQueueRow{grid-template-columns:34px 1fr 44px;align-items:center}.guideQueueInfo{grid-column:2}.guideQueueRow label{grid-column:2 / span 1;display:grid;grid-template-columns:80px 1fr;align-items:center}.guideRemove{grid-column:3;grid-row:1 / span 3}.guidePlanButtons{display:grid;grid-template-columns:1fr 1fr}.guidePlanButtons button{width:100%}.guideMode{grid-template-columns:1fr}.guideItemActions{display:grid;grid-template-columns:1fr}.guideItemActions button{width:100%}.guideDuaArabic{font-size:25px}.guideNowHead{display:block}.guideNowHead span{display:block;margin-top:4px}}

/* v9 — posebna stranica Kur'anskih dova + spremanje imenovanih lista */
.quranDuaTabs{display:flex;gap:9px;overflow:auto;padding:3px 1px 11px;scrollbar-width:thin}.quranDuaTab{flex:0 0 auto;border:1px solid #3d7862;background:#071d2c;color:#dff7ec;border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}.quranDuaTab.active{background:#176c4d;border-color:#78ddb0;color:#fff}.quranDuaGroupHead{display:flex;gap:13px;align-items:center;background:#061f30;border:1px solid #2f6f59;border-radius:16px;padding:13px 15px;margin:5px 0 2px}.quranDuaGroupHead h3{margin:0 0 4px;color:#fff}.quranDuaGroupHead p{margin:0;color:#c8d9d3;line-height:1.45}.quranDuaGroupIcon{min-width:62px;height:54px;padding:0 8px;border-radius:14px;display:grid;place-items:center;background:#0d4a38;border:1px solid #58aa85;color:#dff7ec;font-family:"Noto Naskh Arabic","Amiri",serif;font-size:19px;font-weight:800}.quranDuaCard .guideDuaArabic{margin-top:10px}.quranDuaVerse+.quranDuaVerse{margin-top:10px;border-top:1px solid #2f6f59;padding-top:10px}.savedListManager{border:2px solid #3e866a;margin-top:16px}.savedListHead b{display:block;font-size:21px;color:#fff}.savedListHead small{display:block;color:#c8d9d3;margin-top:4px;line-height:1.45}.savedListCreate{display:grid;grid-template-columns:1fr auto;gap:9px;margin:13px 0}.savedListCreate input{min-height:48px;background:#061f30;color:#fff;border:1px solid #3d7862;border-radius:12px;padding:0 13px;font-size:17px}.savedListCreate button{width:auto;min-height:48px}.savedListsTitle{font-weight:850;color:#b8efd6;margin:12px 0 8px}.savedListsHost{display:grid;gap:8px}.savedListRow{display:grid;grid-template-columns:42px 1fr auto auto;gap:8px;align-items:center;background:#071d2c;border:1px solid #2f6f59;border-radius:13px;padding:9px}.savedListIcon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#176c4d;color:#fff;font-weight:900}.savedListInfo b{display:block;color:#fff}.savedListInfo small{display:block;color:#c8d9d3;margin-top:3px}.savedListRow button{width:auto;min-height:40px;padding:8px 12px}
@media(max-width:680px){.quranDuaGroupHead{align-items:flex-start}.quranDuaGroupIcon{min-width:52px;height:48px;font-size:16px}.savedListCreate{grid-template-columns:1fr}.savedListCreate button{width:100%}.savedListRow{grid-template-columns:38px 1fr 1fr}.savedListInfo{grid-column:2 / span 2}.savedListRow .savedLoad{grid-column:2}.savedListRow .savedDelete{grid-column:3}.savedListRow button{width:100%}}

/* v10 — odvojene Sure online / Sure offline */
.navItem.hidden{display:none!important}.navCount{margin-left:auto;min-width:30px;height:26px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:#0d4a38;border:1px solid #4a9a79;color:#eafff5;font-size:13px;font-weight:900}.surahPageSummary{display:block;margin-top:4px;color:#c8d9d3;line-height:1.4}.offlineLibraryStatus{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#0d4a38!important;border-color:#4a9a79!important}.offlineLibraryStatus b{font-size:19px;color:#eafff5}.offlineLibraryStatus small{color:#c8d9d3;text-align:right}.offlineSurahRow{grid-template-columns:46px 1fr auto}.offlineBadge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#10543f;border:1px solid #5cb58d;color:#dffff0;font-size:13px;font-weight:900}.surahEmpty{text-align:center;color:#c8d9d3;padding:24px}.surahsOnlineView .batchDownload{border-color:#3d7862}
@media(max-width:680px){.offlineLibraryStatus{display:block}.offlineLibraryStatus small{display:block;text-align:left;margin-top:5px}.offlineSurahRow{grid-template-columns:42px 1fr}.offlineSurahRow .surahRight{grid-column:2}.navCount{min-width:27px;height:24px;font-size:12px}}

/* v11 — jedna jednostavna stranica Sure */
.unifiedSurahRow{grid-template-columns:46px minmax(0,1fr) auto;align-items:center}
.surahStatusWrap{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:6px}
.surahStatus{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:7px 10px;border-radius:999px;font-size:13px;font-weight:900;border:1px solid}
.surahStatus.offline{background:#10543f;border-color:#5cb58d;color:#e8fff4}
.surahStatus.online{background:#071d2c;border-color:#52758a;color:#dceef8}
.surahStatus .statusIcon{font-size:15px;line-height:1}
.unifiedSurahRow .downloadMini{margin-left:0}
@media(max-width:680px){.unifiedSurahRow{grid-template-columns:42px 1fr}.unifiedSurahRow .surahRight{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:9px}.surahStatusWrap{margin-top:0;flex:0 0 auto}.surahStatus{padding:6px 9px}}


/* v12 — standard Arapski + Bosanski i autor */
.appFooter{max-width:1100px;margin:6px auto calc(92px + env(safe-area-inset-bottom));padding:14px 18px;text-align:center;color:#a9c9bc;font-size:14px;letter-spacing:.15px}
.appFooter b{color:#e8fff4}
#installAppBtn.installedApp{background:#0d4a38;border-color:#58aa85;color:#e8fff4;cursor:default}
#installAppBtn.installedApp span:first-child{color:#8fe3bc;font-weight:900}
@media(max-width:520px){.appFooter{font-size:13px}}

/* v13 persistent file storage */
.persistentStorageStatus{margin:10px 0;padding:12px 14px;border:1px solid rgba(126,219,164,.28);border-radius:12px;background:rgba(7,35,45,.72);color:#f3fff7;line-height:1.45}.persistentStorageStatus b{display:block;color:#baf5cf;margin-bottom:3px}.persistentStorageStatus small{display:block;color:#c9d8d5}.storageActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.storageActions .settingsAction{margin:0;min-height:46px}@media(max-width:520px){.storageActions{grid-template-columns:1fr}}

/* v13.3 — latinica za pomoć pri izgovoru */
.transliterationText,.mushafTransliteration,.guideNowLatin,.guideDuaLatin{
  direction:ltr;text-align:left;font-size:var(--transcription-size);line-height:1.55;font-weight:650;
  color:#b9e8d2;background:#071d2c;border-left:3px solid #4cab7f;
  border-radius:8px;padding:7px 10px;margin:-2px 0 10px;letter-spacing:.1px
}
.mushafTransliteration{margin:0 0 10px;text-align:left}
.guideNowLatin,.guideDuaLatin{margin:0 0 8px}
.hideArabic .transliterationText{display:none}
@media(max-width:650px){.transliterationText,.mushafTransliteration,.guideNowLatin,.guideDuaLatin{font-size:var(--transcription-size);line-height:1.5}}

/* v13.6 — naučna transliteracija DIN 31635 / DMG */
.transliterationText,.mushafTransliteration,.guideNowTransliteration,.quranDuaTransliteration{
  font-family: "Noto Sans", "DejaVu Sans", system-ui, sans-serif;
  font-variant-ligatures: none;
  letter-spacing:.01em;
  line-height:1.65;
}


/* v13.8 surah audio selector + wake lock */
.surahAudioBar{padding:12px 14px;margin-bottom:10px}
.surahAudioBar label{display:flex;align-items:center;gap:12px;justify-content:space-between;color:#fff}
.surahAudioBar span{font-weight:800}
.surahAudioBar select{min-width:220px;max-width:100%}
@media(max-width:650px){.surahAudioBar label{flex-direction:column;align-items:stretch}.surahAudioBar select{width:100%}}

/* v13.9 settings-only Arabic size */
.rangeWithValue{display:flex;align-items:center;gap:12px;margin-top:8px}
.rangeWithValue input[type=range]{flex:1;padding:0}
.rangeWithValue b{min-width:58px;text-align:center;color:#dffff0;font-size:15px}


/* v14 shared device folder */
.sharedFolderSettings{border-color:#55a883!important;background:#0b382b!important}
.sharedFolderSettings .storageActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sharedFolderSettings .settingsAction{margin-top:8px}
#sharedFolderStatus{padding:12px;border:1px solid #4a9a79;border-radius:12px;background:#082d23}
#sharedFolderStatus b,#sharedFolderStatus small{display:block}
#sharedFolderStatus small{margin-top:5px;color:#c8d9d3;line-height:1.45}
@media(max-width:650px){.sharedFolderSettings .storageActions{grid-template-columns:1fr}}


/* v14.1 simple iT-Apps storage setup */
.storageSetupOverlay{z-index:260}
.storageSetupCard{max-width:520px;text-align:center}
.storagePathPreview{display:flex;align-items:center;gap:12px;text-align:left;background:#0b382b;border:2px solid #4a9a79;border-radius:16px;padding:14px;margin:14px 0;color:#fff}
.storagePathPreview>span{font-size:34px}.storagePathPreview small,.storagePathPreview b{display:block}.storagePathPreview b{font-size:20px;color:#dffff0;margin-top:2px}
.storageSetupFine{font-size:14px;line-height:1.55;text-align:left}.storageSetupCard .wide{margin-top:10px}
.storageSetupCard .secondary{background:#102d24;color:#fff;border-color:#3d7862}
@media(max-width:650px){.storageSetupCard{padding:16px}.storagePathPreview b{font-size:18px}}

/* v14.2 — simple automatic setup, status and recovery */
.simpleSetupInfo{display:flex;align-items:center;gap:12px;text-align:left;background:#0b382b;border:1px solid #3e866a;border-radius:15px;padding:12px 14px;margin:14px 0;color:#fff}
.simpleSetupInfo>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#146c58;font-size:24px;font-weight:900;flex:0 0 auto}
.simpleSetupInfo b,.simpleSetupInfo small{display:block}.simpleSetupInfo small{margin-top:3px;color:#cce5da;line-height:1.4}
.autoBuildBar{display:flex;align-items:center;gap:10px;min-height:48px;margin:0 0 10px;padding:9px 12px;border:1px solid #3d7862;border-radius:14px;background:#0b382b;color:#fff;box-shadow:0 4px 16px #0002}
.autoBuildIcon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#0d4a38;font-weight:900;flex:0 0 auto}
.autoBuildText{min-width:0;flex:1}.autoBuildText b,.autoBuildText small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.autoBuildText small{margin-top:2px;color:#c8d9d3;font-size:12px}
.autoBuildPercent{font-weight:900;min-width:42px;text-align:right;color:#b8efd6}
.autoBuildBar.ready{background:#0c4b34;border-color:#59b587}.autoBuildBar.ready .autoBuildIcon{background:#16784f}.autoBuildBar.ready .autoBuildPercent{color:#eafff5}
.autoBuildBar.error{background:#4b281d;border-color:#b26b4e}.autoBuildBar.paused{background:#40371e;border-color:#9f8b43}
.storageSetupCard .secondary{display:none!important}
@media(max-width:650px){.autoBuildBar{margin-bottom:8px}.autoBuildText small{font-size:11px}.autoBuildPercent{min-width:38px}.storageSetupCard p{font-size:16px;line-height:1.5}}


/* v14.4: online-first, manual full offline install */
.autoBuildBar.hidden{display:none!important}
.buildProgressTrack{height:7px;margin-top:6px;border-radius:999px;background:#061a14;overflow:hidden;border:1px solid #2f6f59}
.buildProgressTrack>span{display:block;height:100%;width:0;background:#73d6aa;transition:width .25s ease}
.fullInstallCard{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#0b382b;border-color:#3d7862}
.fullInstallCard>div{min-width:0}.fullInstallCard b,.fullInstallCard small{display:block}.fullInstallCard small{margin-top:4px;color:#c8d9d3;line-height:1.4}
.fullInstallCard.complete{border-color:#59b587;background:#0c4b34}.homeInstallAppBtn.hidden,#installAppBtn.hidden{display:none!important}
.settingsBuildStatus{padding:10px 2px 4px}.settingsBuildStatus>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.settingsBuildStatus b{color:#eafff5}.settingsBuildStatus span{font-weight:900;color:#b8efd6}.settingsBuildStatus small{display:block;margin-top:6px;color:#c8d9d3;line-height:1.4}
.fullInstallAction{background:#176b9a!important;color:#fff!important;margin-bottom:8px}.fullInstallAction:disabled,.fullInstallCard button:disabled{opacity:.8;cursor:default}
@media(max-width:650px){.fullInstallCard{flex-direction:column;align-items:stretch}.fullInstallCard .primary{width:100%}}

/* v14.5 Sleep timer */
.sleepTimerSetting select{width:100%;margin-top:7px}.sleepTimerSetting #sleepTimerStatus{margin-top:8px;color:#b8efd6;font-weight:700}


/* v14.7 — first Documents selection guide */
.documentsGuideOverlay{z-index:280}
.documentsGuideCard{width:min(540px,100%);text-align:center}
.documentsGuideIcon{font-size:48px;line-height:1;margin-bottom:5px}
.documentsGuideCard h2{margin:5px 0 8px;color:#eafff5}
.documentsGuideLead{font-size:17px;line-height:1.55;color:#e7f5ef!important;margin:0 0 14px!important}
.documentsGuideSteps{display:grid;gap:9px;text-align:left;margin:14px 0}
.documentsGuideSteps>div{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;background:#0b382b;border:1px solid #3e866a;border-radius:14px;padding:10px 12px}
.documentsGuideSteps>div>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#176b9a;color:#fff;font-size:19px;font-weight:900}
.documentsGuideSteps p{margin:0!important;color:#fff!important}.documentsGuideSteps b,.documentsGuideSteps small{display:block}.documentsGuideSteps small{margin-top:3px;color:#cce5da;line-height:1.4}
.documentsGuideImportant{background:#123e30;border:2px solid #66c49a;border-radius:14px;padding:12px;margin:14px 0;color:#fff}.documentsGuideImportant b,.documentsGuideImportant span{display:block}.documentsGuideImportant b{font-size:19px;color:#bff4dc;margin-bottom:4px}
.documentsGuideCard .primary{font-size:18px;min-height:54px}.documentsGuideCard .secondary{font-size:16px;min-height:48px;background:#102d24;color:#fff;border-color:#3d7862}
@media(max-width:650px){.documentsGuideCard{padding:16px}.documentsGuideLead{font-size:16px}.documentsGuideSteps>div{grid-template-columns:38px 1fr;padding:9px}.documentsGuideSteps>div>span{width:34px;height:34px}}


/* v14.8 — Uputstvo / pomoć */
.helpView{max-width:900px;margin:0 auto}.helpHead small{color:#c8d9d3}.helpQuickStart h3,.helpLegend h3{margin-top:0;color:#dffff0}.helpSteps{display:grid;gap:10px}.helpStep{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;background:#0d4a38;border:1px solid #4a9a79;border-radius:15px;padding:12px}.helpStep>b{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e6b758;color:#132019;font-size:22px}.helpStep strong,.helpStep small{display:block}.helpStep strong{font-size:18px;color:#fff}.helpStep small{margin-top:4px;color:#d0e4dc;line-height:1.45}.helpStatus{border-radius:14px;padding:12px 14px;margin:10px 0;border:1px solid}.helpStatus b{font-size:18px}.helpStatus p{margin:6px 0 0;line-height:1.55}.helpStatus.online{background:#12324b;border-color:#4f93c2}.helpStatus.online b{color:#9fd7ff}.helpStatus.offline{background:#0d4a38;border-color:#4a9a79}.helpStatus.offline b{color:#aef0ce}.helpImportant,.helpNote,.helpWarning{border-radius:12px;padding:11px 13px;line-height:1.55}.helpImportant{background:#173d57;border:1px solid #5f8aa5}.helpNote{background:#0d4a38;border:1px solid #4a9a79}.helpWarning{background:#5b3d12;border:1px solid #d7a44b;color:#fff4d6}.helpTopic{padding:0;overflow:hidden}.helpTopic summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:16px 17px;font-size:18px;font-weight:850;color:#fff;background:#0b382b}.helpTopic summary::-webkit-details-marker{display:none}.helpTopic summary::after{content:'＋';margin-left:auto;font-size:22px;color:#aef0ce}.helpTopic[open] summary::after{content:'−'}.helpTopic summary>span{display:grid;place-items:center;min-width:34px;height:34px;border-radius:10px;background:#e6b758;color:#152119;font-weight:900}.helpBody{padding:15px 17px 17px;color:#e8f2ee;line-height:1.65}.helpBody p:first-child{margin-top:0}.helpBody p:last-child{margin-bottom:0}.helpBody li{margin:6px 0}.helpExample{display:grid;gap:5px;background:#071d2c;border:1px solid #3d7862;border-radius:13px;padding:13px;text-align:center}.helpExample b{font-family:"Noto Naskh Arabic","Amiri",serif;font-size:24px;color:#fff}.helpExample span{font-style:italic;color:#aef0ce}.helpExample small{font-size:15px;color:#e7edf0}.helpControls{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:13px}.helpControls span{display:grid;place-items:center;gap:3px;background:#0d4a38;border:1px solid #4a9a79;border-radius:12px;padding:10px;font-size:24px}.helpControls small{font-size:11px;color:#d0e4dc}.helpSettingsList{display:grid;grid-template-columns:minmax(145px,220px) 1fr;gap:8px 14px}.helpSettingsList dt{font-weight:850;color:#aef0ce}.helpSettingsList dd{margin:0 0 6px;color:#e8f2ee}.helpFinal{text-align:center;background:#0d4a38;border-color:#4a9a79}.helpFinal>b{font-size:20px;color:#dffff0}.helpFinal p{line-height:1.65;margin-bottom:0}
@media(max-width:650px){.helpStep{grid-template-columns:42px 1fr}.helpStep>b{width:40px;height:40px}.helpStep strong{font-size:17px}.helpTopic summary{font-size:17px;padding:14px}.helpBody{padding:13px 14px}.helpControls{grid-template-columns:repeat(2,1fr)}.helpSettingsList{grid-template-columns:1fr}.helpSettingsList dt{margin-top:7px}.helpSettingsList dd{padding-bottom:7px;border-bottom:1px solid #2f6f59}}


/* v14.9 - jednostavan status aplikacije */
.appStatusSettings{background:#0b382b!important;border-color:#3e866a!important}
.simpleAppStatus{display:grid;gap:10px}
.simpleStatusMain{display:flex;align-items:flex-start;gap:12px}
.simpleStatusIcon{width:38px;height:38px;flex:0 0 38px;border-radius:999px;display:grid;place-items:center;background:#123f31;border:1px solid #4f9d7d;color:#dffff0;font-size:20px;font-weight:900}
.simpleStatusMain b{display:block;color:#effff7;font-size:18px;line-height:1.3}
.simpleStatusMain small{display:block;color:#c8d9d3;margin-top:4px;line-height:1.45}
.simpleAppStatus.ready .simpleStatusIcon{background:#145d43;border-color:#6ac69c}
.simpleAppStatus.error .simpleStatusIcon{background:#5b2929;border-color:#bd6666}
.simpleAppStatus.paused .simpleStatusIcon{background:#5c4b1c;border-color:#bd9a45}
.simpleAppProgress{display:flex;align-items:center;gap:10px}.simpleAppProgress .buildProgressTrack{flex:1}.simpleAppProgress small{min-width:42px;text-align:right;color:#b8efd6;font-weight:900}.simpleAppProgress.hidden,.simpleAppAction.hidden{display:none!important}
.simpleAppAction{background:#176b9a!important;color:#fff!important;margin-top:2px}

/* v15.0 — visible download progress */
.simpleStatusMain small{white-space:pre-line}
.simpleAppProgressText,#simpleAppProgressText{display:block;margin-top:7px;color:#d5e7df;line-height:1.45;white-space:normal}
.surahStatus.downloading{background:#5c4b1c;border-color:#d2ad4f;color:#fff4cf}
.surahStatus.downloading .statusIcon{display:inline-block;animation:itqHourglass 1.1s ease-in-out infinite}
.downloadMini.busy,.downloadChip.busy{animation:itqDownloadPulse .9s ease-in-out infinite;background:#5c4b1c!important;border-color:#d2ad4f!important;color:#fff4cf!important;min-width:44px}
@keyframes itqHourglass{0%,100%{transform:rotate(0deg)}50%{transform:rotate(180deg)}}
@keyframes itqDownloadPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.72;transform:scale(.96)}}


/* v15.1 — fixed Mishary, top status, volume controls, book-like Mushaf */
.topActions{display:flex;align-items:center;gap:5px;min-width:0}
.topAppStatus{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;min-height:38px;max-width:260px;padding:5px 10px;display:flex;align-items:center;gap:7px;cursor:pointer;font-weight:750}
.topAppStatusIcon{width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.14);font-size:12px}
.topAppStatusText{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.topAppStatus.working .topAppStatusIcon{animation:itqStatusSpin 1.15s linear infinite;background:#1d7558}.topAppStatus.ready .topAppStatusIcon{background:#176946}.topAppStatus.paused .topAppStatusIcon,.topAppStatus.action .topAppStatusIcon{background:#8a6818}.topAppStatus.error .topAppStatusIcon{background:#8b3030}
@keyframes itqStatusSpin{to{transform:rotate(360deg)}}
.settingsFixedReciter{margin:14px 0;padding:12px 13px;border:1px solid #3a765f;border-radius:13px;background:#0b382b;display:flex;justify-content:space-between;align-items:center;gap:12px}.settingsFixedReciter span{color:#bfd7cd}.settingsFixedReciter b{color:#fff;text-align:right}
.volumeSettings{background:#0b382b!important;border-color:#3a765f!important}.volumeSetting{margin:9px 0!important}.volumeSetting .rangeWithValue{display:grid;grid-template-columns:1fr 58px;gap:10px;align-items:center;margin-top:7px}.volumeSetting input[type=range]{width:100%;accent-color:#73d4a9}.volumeSetting b{text-align:right;color:#9be6c5}
.mushafViewHead{align-items:flex-start}.mushafSaveBtn{white-space:normal;text-align:center;justify-content:center;max-width:300px}
.mushafBook{position:relative;perspective:1700px;max-width:900px;margin:0 auto 20px;padding:12px 14px 18px;border-radius:10px;background:linear-gradient(90deg,#4c2914 0,#70401e 3%,#9a6b32 5%,#5a3017 7%,#5a3017 93%,#9a6b32 95%,#70401e 97%,#4c2914 100%);box-shadow:0 18px 45px rgba(0,0,0,.42),inset 0 0 0 2px rgba(237,203,129,.45);transform-style:preserve-3d;overflow:hidden}
.mushafBookSpine{position:absolute;z-index:2;top:8px;bottom:12px;left:50%;width:2px;background:linear-gradient(#d5b66d,#6f4b25,#d5b66d);opacity:.2;pointer-events:none}
.mushafPaper{position:relative;z-index:1;min-height:72vh;margin:0!important;padding:34px 38px 44px!important;border:7px double #b89243!important;border-radius:3px!important;background:radial-gradient(circle at 50% 20%,#fffef9 0,#fff9e9 55%,#f1e4c4 100%)!important;color:#1f251f!important;box-shadow:inset 0 0 24px rgba(98,70,25,.12);transform-origin:left center;backface-visibility:hidden}
.mushafPaper:before,.mushafPaper:after{content:'۞';position:absolute;color:#a77d32;font-size:22px}.mushafPaper:before{top:8px;left:10px}.mushafPaper:after{bottom:8px;right:10px}
.mushafPageOrnament{display:flex;align-items:center;justify-content:center;gap:15px;color:#956d28;font-family:"Noto Naskh Arabic","Amiri",serif;font-size:22px;border-bottom:1px solid #cbb478;padding-bottom:8px;margin-bottom:12px}.mushafPageOrnament b{font-size:24px}
.mushafSurahHeader{display:flex!important;justify-content:center!important;flex-wrap:wrap;gap:10px!important;padding:7px 18px!important;margin:14px auto 12px!important;border:3px double #b89243!important;border-radius:50% / 28%!important;background:#f8efd6!important;color:#273d31!important;font-size:16px!important}.mushafSurahHeader span{font-size:26px!important;color:#233d31!important}
.mushafAyahBlock{background:transparent!important;border:0!important;border-bottom:1px solid rgba(146,112,50,.24)!important;border-radius:0!important;padding:8px 2px 12px!important;margin:0!important;box-shadow:none!important}.mushafAyahBlock.playing{outline:2px solid #b89243!important;outline-offset:3px;box-shadow:none!important;background:rgba(237,219,170,.22)!important}
.mushafAyahTop{color:#816529!important;font-size:12px!important}.mushafAyahTop .miniBtn{background:#f4ead1!important;border:1px solid #c7a45f!important;color:#4b3a1d!important}
.mushafArabic{margin:5px 0 7px!important}.mushafLine{line-height:2.05!important}.mushafTransliteration{color:#fff!important;border-top:0!important;margin:2px 0 6px!important}.mushafTranslation{color:#2d3832!important;border-top:1px dotted #c5aa6b!important;padding-top:7px!important;font-size:16px!important;line-height:1.58!important}.verseMark{color:#8c6827!important}.mushafPageNumber{text-align:center;margin-top:20px;color:#8d6c32;font-family:serif;font-weight:700}.mushafNotice{text-align:center;padding:30px 15px;color:#5f5139}
.mushafBook.turn-next .mushafPaper{animation:mushafOutNext .28s ease-in forwards}.mushafBook.turn-prev .mushafPaper{animation:mushafOutPrev .28s ease-in forwards}.mushafBook.turn-in-next .mushafPaper{animation:mushafInNext .34s ease-out}.mushafBook.turn-in-prev .mushafPaper{animation:mushafInPrev .34s ease-out}
@keyframes mushafOutNext{from{transform:rotateY(0);opacity:1}to{transform:rotateY(-72deg);opacity:.2}}@keyframes mushafInNext{from{transform:rotateY(58deg);opacity:.25}to{transform:rotateY(0);opacity:1}}@keyframes mushafOutPrev{from{transform:rotateY(0);opacity:1}to{transform:rotateY(72deg);opacity:.2}}@keyframes mushafInPrev{from{transform:rotateY(-58deg);opacity:.25}to{transform:rotateY(0);opacity:1}}
@media(max-width:650px){.brand{flex:0 1 auto}.brand small{display:none}.topAppStatus{max-width:145px;padding:4px 7px;min-height:34px}.topAppStatusText{font-size:10.5px}.topActions .iconbtn{width:38px;min-width:38px}.mushafBook{padding:7px 7px 11px;border-radius:7px}.mushafBookSpine{display:none}.mushafPaper{padding:25px 13px 36px!important;border-width:5px!important}.mushafSaveBtn{width:100%;max-width:none;font-size:12px}.mushafTranslation{font-size:15px!important}.mushafSurahHeader{border-radius:18px!important}.mushafPageOrnament{font-size:18px;gap:9px}.mushafPageOrnament b{font-size:21px}}

/* v15.1: dodatne informacije iz naslovne trake premještene na Početnu */
.homeAppStatusWrap{padding:10px 12px}
.homeAppStatusWrap .topAppStatus{width:100%;max-width:none;justify-content:flex-start;border:1px solid var(--line);background:var(--bg);color:var(--ink);min-height:44px;border-radius:12px;padding:8px 11px}
.homeAppStatusWrap .topAppStatusIcon{background:color-mix(in srgb,var(--brand2) 16%,transparent)}
.homeAppStatusWrap .topAppStatusText{font-size:13px}

.appVersion{margin:14px 8px 6px;padding:12px 8px 4px;border-top:1px solid #2f6f59;color:#9fb8ae;font-size:12px;text-align:center;letter-spacing:.2px;user-select:text}


/* Ver. iT-Kuran 20260816-0012 — na stranici Sure arapsko pismo je bijelo; u Mushaf prikazu ostaje crno */
.arabicText,.arabicText .qword{color:#fff!important;text-shadow:0 1px 0 #000!important}
.mushafArabic,.mushafArabic .qword,.mushafLine,.mushafLine .qword{color:#000!important;text-shadow:none!important}


/* Ver. iT-Kuran 20260816-0012 — Bosanska transkripcija je standard ispod arapskog */
.bosnianTranscription{color:#fff!important;font-style:normal}
.scientificTransliteration{color:#fff!important}


/* Ver. iT-Kuran 20260816-0012 — Početna offline napredak + potvrda izlaza */
.homeDownloadCard{padding:15px 16px}.homeDownloadHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.homeDownloadHead b{display:block;font-size:19px;color:var(--ink)}.homeDownloadHead small{display:block;margin-top:3px;color:var(--muted)}.miniRefreshBtn{width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--brand2);font-size:23px;font-weight:800;cursor:pointer}.miniRefreshBtn.busy{animation:itqStatusSpin 1s linear infinite}.homeProgressList{display:grid;gap:13px}.homeProgressRow{background:var(--bg);border:1px solid var(--line);border-radius:13px;padding:10px 11px}.homeProgressLabel{display:flex;justify-content:space-between;align-items:center;gap:12px}.homeProgressLabel span{font-weight:800;color:var(--ink)}.homeProgressLabel b{color:var(--brand2);font-size:16px}.homeProgressTrack{height:12px;border-radius:999px;background:color-mix(in srgb,var(--line) 70%,transparent);overflow:hidden;margin:8px 0 5px}.homeProgressTrack span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#176c4d,#49b77f);transition:width .35s ease}.homeProgressRow small{display:block;color:var(--muted);font-size:12px}.exitConfirmOverlay{position:fixed;z-index:350;inset:0;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;padding:18px}.exitConfirmOverlay.hidden{display:none}.exitConfirmCard{width:min(460px,88vw);background:#0b382b;border:2px solid #65bd94;border-radius:24px;padding:22px 18px 18px;text-align:center;box-shadow:0 24px 80px #0009;margin:auto}.exitConfirmIcon{width:66px;height:66px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:#176c4d;color:white;font-size:34px;font-weight:900}.exitConfirmCard h2{color:#fff;font-size:27px;line-height:1.2;margin:4px 0 8px}.exitConfirmCard p{color:#d5e8df;font-size:17px;line-height:1.45;margin:0 0 18px}.exitConfirmActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.exitConfirmActions button{min-height:58px;border-radius:15px;font-size:20px;font-weight:900;cursor:pointer}.exitYes{background:#bd433c;border:2px solid #e88680;color:#fff}.exitNo{background:#eaf8f1;border:2px solid #78caa2;color:#124b35}@media(max-width:520px){.homeProgressLabel span{font-size:14px}.exitConfirmOverlay{padding:14px}.exitConfirmCard{width:min(420px,86vw);padding:20px 14px 15px;border-radius:22px}.exitConfirmCard h2{font-size:24px}.exitConfirmCard p{font-size:16px;margin-bottom:15px}.exitConfirmActions button{min-height:54px;font-size:18px}}


/* Ver. iT-Kuran 20260816-0020 — paralelno preuzimanje timing podataka za praćenje riječi */


/* Ver. iT-Kuran 20260816-0020 — Backup-Ordner / interni offline spremnik */
.mainStorageCard{display:grid;gap:12px}
.mainStorageHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mainStorageHead>div{display:grid;gap:3px}.mainStorageHead small{opacity:.78;line-height:1.35}
.mainStorageBtn{flex:0 0 auto;min-width:150px}
.mainStorageStatus{display:grid;gap:5px;padding:12px 14px;border:1px solid rgba(117,207,172,.32);border-radius:16px;background:rgba(7,54,43,.48);color:#f4fff9}
.mainStorageStatus b{font-size:1rem}.mainStorageStatus small{display:block;color:#d6eee4;line-height:1.45}
.mainStorageSettings .mainStorageStatus{margin:8px 0 10px}
body:not(.dark) .mainStorageStatus{background:#0b4738;color:#fff}body:not(.dark) .mainStorageStatus small{color:#daf3e9}
@media(max-width:560px){.mainStorageHead{display:grid}.mainStorageBtn{width:100%}}


/* Jednostavan prikaz bez javnog brojanja instalacija ili država. */
#readerDownload,.surahStatusWrap,.surahStatus,.downloadMini{display:none!important}
.cleanSurahRow{grid-template-columns:46px 1fr auto}
.cleanSurahRow .surahRight{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.fullOfflineNotice{display:flex;align-items:center;gap:13px;background:#0d4a38;border-color:#5cb58d;color:#effff7;margin-top:16px}
.fullOfflineNotice.hidden{display:none!important}
.fullOfflineIcon{width:46px;height:46px;flex:0 0 46px;border-radius:50%;display:grid;place-items:center;background:#e9fff4;color:#0c5b3d;font-size:27px;font-weight:950}
.fullOfflineNotice b{display:block;font-size:18px;line-height:1.3;color:#fff}
.fullOfflineNotice small{display:block;margin-top:4px;color:#d2ebe0;line-height:1.45}

@media(max-width:680px){.cleanSurahRow{grid-template-columns:42px 1fr}.cleanSurahRow .surahRight{grid-column:2;justify-content:flex-start}.fullOfflineNotice{align-items:flex-start}}

/* Ver. iT-Kuran 20260818-0003 — dijeljenje u naslovnim trakama + vraćen offline status */
.topShareBtn{margin-left:auto;min-height:48px;min-width:48px;padding:0 12px;border:1px solid #4a9a79;border-radius:14px;background:#0d4a38;color:#fff;font-weight:850;cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}.topShareBtn:hover{background:#145642}.topShareBtn.iconOnly{width:52px;padding:0}.topShareBtn .shareIcon{width:28px;height:28px;display:block}.shareMiniBtn{display:flex;align-items:center;justify-content:center;padding:0}.shareMiniIcon{width:18px;height:18px;display:block}.miniBtn.shareMiniBtn{font-size:0}@media(max-width:520px){.topShareBtn{min-height:44px;min-width:44px}.topShareBtn.iconOnly{width:46px}.topShareBtn .shareIcon{width:24px;height:24px}.brandIcon{width:40px;height:40px}.brand b{font-size:17px}.brand small{font-size:10px}.shareMiniIcon{width:16px;height:16px}.stickyReader{gap:5px}.stickyReader .readerTitle{min-width:105px}.stickyReader #bookmarkCurrent{min-width:40px;width:40px}}@media(max-width:385px){.topShareBtn{min-height:42px;min-width:42px}.topShareBtn.iconOnly{width:42px}.topShareBtn .shareIcon{width:22px;height:22px}.topbar{padding-left:5px;padding-right:5px}.topbar #menuBtn{min-width:40px;width:40px}.brand{gap:6px}.brandIcon{width:36px;height:36px}.brand b{font-size:15px}.brand small{font-size:9px}}

/* Ver. iT-Kuran 20260818-0003 — naslovna traka: ikona + tekst, bez cijelog banner loga */
.brandMainLogo{display:none!important}
.brand{display:flex!important;align-items:center!important;gap:10px!important;flex:1!important;min-width:0!important}
.brandIcon{display:block!important;width:58px!important;height:58px!important;border-radius:15px!important;flex:0 0 auto!important}
.brandText{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;line-height:1.04!important}
.brandText b{display:block!important;color:#fff!important;font-size:24px!important;font-weight:900!important;letter-spacing:.1px!important;white-space:nowrap!important}
.brandText strong{display:block!important;color:#d9bc6d!important;font-size:15px!important;font-weight:900!important;margin-top:3px!important;white-space:nowrap!important}
.brandText small{display:block!important;color:#eef5f2!important;font-size:10.5px!important;font-weight:700!important;opacity:.96!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:650px){.brandIcon{width:48px!important;height:48px!important}.brandText b{font-size:20px!important}.brandText strong{font-size:13px!important}.brandText small{font-size:9px!important}.topbar{height:78px!important}.main{padding-top:92px!important}}
@media(max-width:430px){.brand{gap:7px!important}.brandIcon{width:43px!important;height:43px!important}.brandText b{font-size:18px!important}.brandText strong{font-size:12px!important}.brandText small{font-size:8px!important}.topShareBtn.iconOnly{width:42px!important;min-width:42px!important;padding:0!important}}
@media(max-width:360px){.brandIcon{width:39px!important;height:39px!important}.brandText b{font-size:16px!important}.brandText strong{font-size:11px!important}.brandText small{display:none!important}}


/* Ver. iT-Kuran 20260818-0003 — isto brendiranje svuda: ikona lijevo + tri reda teksta */
.visuallyHidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.appBrandPanel{display:flex;align-items:center;gap:14px;background:#083f33;border:1.5px solid #3d806b;border-radius:28px;padding:13px 18px;text-align:left;overflow:hidden}
.appBrandIcon{display:block;width:78px;height:78px;border-radius:20px;flex:0 0 auto}
.appBrandText{display:flex;flex-direction:column;justify-content:center;min-width:0;line-height:1.05}
.appBrandText b{display:block;color:#fff;font-size:32px;font-weight:900;letter-spacing:.1px;white-space:nowrap}
.appBrandText strong{display:block;color:#d9bc6d;font-size:20px;font-weight:900;margin-top:5px;white-space:nowrap}
.appBrandText small{display:block;color:#eef5f2;font-size:14px;font-weight:700;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawerBrand{margin:3px 2px 10px;padding:10px 11px;border-radius:20px;gap:10px}
.drawerBrand .appBrandIcon{width:56px;height:56px;border-radius:15px}
.drawerBrand .appBrandText b{font-size:22px}.drawerBrand .appBrandText strong{font-size:14px;margin-top:3px}.drawerBrand .appBrandText small{font-size:9px;margin-top:3px}
.heroBrand{width:min(780px,100%);margin:0 auto 14px;background:#083f33;border-color:#3d806b}
.heroBrand .appBrandIcon{width:94px;height:94px;border-radius:24px}
.heroBrand .appBrandText b{font-size:38px}.heroBrand .appBrandText strong{font-size:24px}.heroBrand .appBrandText small{font-size:16px}
.heroLogo,.drawerLogo,.brandMainLogo{display:none!important}
@media(max-width:650px){.appBrandPanel{gap:10px;padding:10px 12px;border-radius:22px}.appBrandIcon{width:58px;height:58px;border-radius:16px}.appBrandText b{font-size:24px}.appBrandText strong{font-size:15px;margin-top:3px}.appBrandText small{font-size:10px;margin-top:4px}.heroBrand .appBrandIcon{width:72px;height:72px;border-radius:19px}.heroBrand .appBrandText b{font-size:29px}.heroBrand .appBrandText strong{font-size:18px}.heroBrand .appBrandText small{font-size:12px}}
@media(max-width:430px){.heroBrand{gap:9px;padding:10px}.heroBrand .appBrandIcon{width:62px;height:62px}.heroBrand .appBrandText b{font-size:24px}.heroBrand .appBrandText strong{font-size:15px}.heroBrand .appBrandText small{font-size:10px}.drawerBrand .appBrandIcon{width:50px;height:50px}.drawerBrand .appBrandText b{font-size:20px}.drawerBrand .appBrandText strong{font-size:12px}.drawerBrand .appBrandText small{font-size:8px}}
@media(max-width:360px){.heroBrand .appBrandText small{font-size:9px}.heroBrand .appBrandText b{font-size:22px}}

/* Ver. iT-Kuran 20260818-0003 — jedinstven share simbol sa jasnim kontrastom */
.miniBtn.shareMiniBtn{background:#10543f!important;border:1px solid #5cb58d!important;color:#fff!important}.miniBtn.shareMiniBtn:hover{background:#176c4d!important}.shareMiniIcon{width:18px;height:18px;display:block}

/* Ver. 20260818-0003: sichtbarer Status des automatischen Audio-Downloads */
.homeAudioState{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--muted);font-size:13px;line-height:1.4}.homeAudioStateIcon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#2d7057;color:#fff;font-weight:900}.homeAudioState.ready{border-color:#70bd97;color:#176c48}.homeAudioState.ready .homeAudioStateIcon{background:#176c48}.homeAudioState.paused{border-color:#b79b49;color:#7a6117}.homeAudioState.paused .homeAudioStateIcon{background:#9a7d25}.homeAudioState.error{border-color:#c56f66;color:#8c342b}.homeAudioState.error .homeAudioStateIcon{background:#a6453b}.dark .homeAudioState.ready{color:#9de0bd}.dark .homeAudioState.paused{color:#e3ca78}.dark .homeAudioState.error{color:#f0a59e}


/* Ver. iT-Kuran 20260818-0003 — odvojeni Load Audio/Data status */
.loadsourceConnectionBox{margin:0 0 13px;padding:11px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--bg) 88%,var(--brand) 12%)}
.loadsourceConnectionTitle{display:grid;grid-template-columns:26px auto 1fr;align-items:center;gap:7px;margin-bottom:9px}.loadsourceConnectionTitle>span{font-size:20px}.loadsourceConnectionTitle b{font-size:15px;color:var(--ink)}.loadsourceConnectionTitle small{justify-self:end;color:var(--muted);font-size:11px;text-align:right}
.loadsourceConnectionRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--card);margin-top:7px}.loadsourceConnectionRow>div{min-width:0}.loadsourceConnectionRow strong{display:block;color:var(--ink);font-size:14px}.loadsourceConnectionRow small{display:block;margin-top:2px;color:var(--muted);font-size:11px;line-height:1.35;overflow-wrap:anywhere}.loadsourceConnectionBadge{flex:0 0 auto;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900;border:1px solid var(--line);white-space:nowrap}
.loadsourceConnectionRow.ready .loadsourceConnectionBadge{background:#dff5e9;border-color:#76bd98;color:#176c48}.loadsourceConnectionRow.error .loadsourceConnectionBadge{background:#fae6e3;border-color:#d28b83;color:#8c342b}.loadsourceConnectionRow.paused .loadsourceConnectionBadge{background:#f8f0d5;border-color:#cdb66a;color:#755d15}.loadsourceConnectionRow.working .loadsourceConnectionBadge{background:#e8f0f7;border-color:#91acc0;color:#315c78}
.dark .loadsourceConnectionRow.ready .loadsourceConnectionBadge{background:#143f2f;color:#a6e6c5}.dark .loadsourceConnectionRow.error .loadsourceConnectionBadge{background:#4a2320;color:#f3aea7}.dark .loadsourceConnectionRow.paused .loadsourceConnectionBadge{background:#463a18;color:#ead486}.dark .loadsourceConnectionRow.working .loadsourceConnectionBadge{background:#193245;color:#b9d6ea}
@media(max-width:520px){.loadsourceConnectionTitle{grid-template-columns:24px 1fr}.loadsourceConnectionTitle small{grid-column:1/-1;justify-self:start;text-align:left}.loadsourceConnectionRow{align-items:flex-start;flex-direction:column;gap:7px}.loadsourceConnectionBadge{align-self:flex-start}}


/* Ver. iT-Kuran 20260818-0003 — background audio + Sleep timer */
.sleepTimerSetting{display:block;margin:10px 0 16px;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--bg)}
.sleepTimerSetting>label{margin:0 0 7px!important;color:var(--ink)!important;font-weight:800}.sleepTimerSetting>select{width:100%;margin:0}
.sleepTimerActive{margin-top:10px;padding:12px;border:1px solid color-mix(in srgb,var(--brand2) 45%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--brand2) 9%,var(--card));text-align:center}.sleepTimerActive.hidden{display:none!important}
.sleepTimerActive>small{display:block;color:var(--muted)}.sleepTimerActive>b{display:block;font-size:34px;line-height:1.2;margin:4px 0 9px;color:var(--brand2);font-variant-numeric:tabular-nums}
.sleepExtendActions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.sleepExtendActions button{min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font-weight:800}.sleepExtendActions #sleepCancel{grid-column:1/-1;color:#b23832}
@media(max-width:430px){.sleepExtendActions{grid-template-columns:1fr 1fr}.sleepTimerActive>b{font-size:31px}}

/* Ver. iT-Kuran 20260818-0007 — lokalni fiksni medijski indeks */


/* Ver. 20260818-0007 — moderni dodir: kratka fizička/vidljiva reakcija bez teških animacija */
button,.navItem,.quick,.surahRow,.miniBtn,.iconbtn{transition:transform .10s ease,filter .14s ease,box-shadow .14s ease,background-color .14s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:active,.navItem:active,.quick:active,.surahRow:active,.tapPulse{transform:scale(.965);filter:brightness(1.08)}
.primary:active,.secondary:active,.miniRefreshBtn:active,.miniBtn:active,.iconbtn:active{box-shadow:inset 0 2px 8px #0003}
.tapPulse{animation:itqTapPulse .18s ease-out}
@keyframes itqTapPulse{0%{transform:scale(1)}45%{transform:scale(.955)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){button,.navItem,.quick,.surahRow,.miniBtn,.iconbtn{transition:none}.tapPulse{animation:none}}

/* Ver. iT-Kuran 20260818-0007 — jednostavan Load status + zaštićeni DB Audio */
.simpleLoadBox{padding:12px 14px}.simpleLoadStatus{display:flex;align-items:center;justify-content:space-between;gap:14px}.simpleLoadName{display:flex;align-items:center;gap:9px;font-size:18px}.simpleLoadName span{font-size:22px}.simpleLoadBadge{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:9px 12px;border-radius:999px;font-size:14px;font-weight:900;border:1px solid var(--line);background:var(--bg)}.simpleLoadBadge.ready{background:#dff5e8;border-color:#65b987;color:#155f3f}.simpleLoadBadge.error{background:#fde6e4;border-color:#d98982;color:#8b2a23}.simpleLoadBadge.paused{background:#fff3d9;border-color:#d7b162;color:#71520f}.simpleLoadBadge.working{background:#edf4f8;border-color:#a9c4d4;color:#31576d}
.dark .simpleLoadBadge.ready{background:#173d30;color:#8ae3b8}.dark .simpleLoadBadge.error{background:#492421;color:#ffb2aa}.dark .simpleLoadBadge.paused{background:#443719;color:#f3d57d}.dark .simpleLoadBadge.working{background:#253642;color:#c8e1ef}
@media(max-width:680px){.dbSummaryGrid{grid-template-columns:1fr 1fr}.dbSummaryCard:last-child{grid-column:1/-1}.dbToolsRow{grid-template-columns:1fr}.simpleLoadBadge{min-width:110px}.dbFileRow{grid-template-columns:42px 1fr 46px}}

/* Ver. iT-Kuran 20260818-0007 — ručno potpuno offline audio preuzimanje */
.manualAudioOfflineBox{margin-top:14px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.manualAudioDownloadBtn{width:100%;min-height:66px;border:0;border-radius:15px;background:linear-gradient(135deg,#0f6b4a,#15805a);color:#fff;display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;cursor:pointer;box-shadow:0 8px 18px #0c54372a;transition:transform .16s ease,filter .16s ease}
.manualAudioDownloadBtn:hover{filter:brightness(1.06)}.manualAudioDownloadBtn:active{transform:scale(.985)}
.manualAudioDownloadBtn.pausing{background:linear-gradient(135deg,#8b6a17,#a78424)}
.manualAudioDownloadBtn.done{background:linear-gradient(135deg,#16623f,#1c8053);cursor:default}
.manualAudioDownloadBtn:disabled{opacity:.86;cursor:default}
.manualAudioDownloadIcon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;background:#ffffff1f;font-size:25px;font-weight:900}
.manualAudioDownloadText{min-width:0}.manualAudioDownloadText b,.manualAudioDownloadText small{display:block}.manualAudioDownloadText b{font-size:17px}.manualAudioDownloadText small{margin-top:3px;color:#def1e8;font-size:12px;line-height:1.35}
.manualAudioDownloadSummary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.manualAudioDownloadSummary b{font-size:18px;color:var(--brand2)}.manualAudioDownloadSummary span{color:var(--muted);font-weight:750}
.manualAudioDownloadHint{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.45}
.dark .manualAudioOfflineBox{background:#101b16}.dark .manualAudioDownloadSummary b{color:#8ce0b7}

/* Ver. iT-Kuran 20260818-0010 — automatski audio storage fallback */

/* Ver. iT-Kuran 20260818-0010 — pretraga u naslovnoj traci + Mushaf dugme */
.topSearchBtn{min-height:48px;min-width:48px;width:52px;padding:0;border:1px solid #4a9a79;border-radius:14px;background:#0d4a38;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;margin-left:6px}.topSearchBtn:hover{background:#145642}.topSearchBtn .searchIcon{width:26px;height:26px;display:block}.mushafHomeBtn{flex-basis:100%;max-width:320px;margin-left:auto;margin-right:auto}@media(max-width:520px){.topSearchBtn{min-height:44px;min-width:44px;width:46px}.topSearchBtn .searchIcon{width:23px;height:23px}}@media(max-width:385px){.topSearchBtn{min-height:42px;min-width:42px;width:42px;margin-left:3px}.topSearchBtn .searchIcon{width:21px;height:21px}}

/* v34 — independent text sizes for Bosnian translation and transcription */
.translationText,.mushafTranslation,.guideNowBs,.guideDuaBs{font-size:var(--translation-size)!important}
.transliterationText,.mushafTransliteration,.guideNowLatin,.guideDuaLatin,.guideNowTransliteration,.quranDuaTransliteration{font-size:var(--transcription-size)!important}
.textSizeSettings label{margin:10px 0}

/* Ver. iT-Kuran 20260818-0011 — automatische PC-/Landscape-Anpassung */
@media (min-width:900px){
  .main{
    max-width:1480px;
    padding-left:24px;
    padding-right:24px;
  }
  .surahList{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:18px;
    row-gap:14px;
  }
  .surahRow{
    min-height:76px;
    padding:13px 15px;
  }
  #bookmarksView .surahList{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mushafPage{
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
    padding-left:38px;
    padding-right:38px;
  }
  .readerView .ayahCard,
  #readerView .ayahCard{
    padding-left:22px;
    padding-right:22px;
  }
  .player{
    width:min(1240px,calc(100% - 32px));
  }
}
@media (min-width:1350px){
  .surahList{
    column-gap:22px;
    row-gap:16px;
  }
}


/* Ver. iT-Kuran 20260818-0012 — PC razmak u otvorenoj suri + maksimalno širok Mushaf */
@media (min-width:900px){
  /* Otvorena sura: približno 2 cm između ajeta/kartica. */
  #readerView .ayahCard,
  .readerView .ayahCard{
    margin-bottom:2cm;
  }

  /* Mushaf koristi gotovo cijelu raspoloživu širinu monitora. */
  #pagesView{
    width:calc(100vw - 40px);
    max-width:none;
    margin-left:50%;
    transform:translateX(-50%);
  }
  #pagesView .mushafViewHead{
    padding-left:10px;
    padding-right:10px;
  }
  #pagesView .mushafBook{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-left:18px;
    padding-right:18px;
  }
  #pagesView .mushafPage,
  #pagesView .mushafPaper{
    width:100%;
    max-width:none;
    padding-left:48px!important;
    padding-right:48px!important;
  }
}

/* Obavijest kada je nova verzija aplikacije spremna. */
.appUpdateNotice{
  position:fixed;
  z-index:10000;
  left:50%;
  top:104px;
  transform:translateX(-50%);
  width:min(680px,calc(100% - 24px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 14px;
  border:1px solid #d4b45f;
  border-radius:15px;
  background:#fff8df;
  color:#3d3215;
  box-shadow:0 12px 34px #0004;
}
.appUpdateNotice.hidden{display:none!important}
.appUpdateNoticeText{min-width:0}
.appUpdateNoticeText b,.appUpdateNoticeText small{display:block}
.appUpdateNoticeText b{font-size:15px}
.appUpdateNoticeText small{margin-top:3px;font-size:12px;line-height:1.35;color:#695928}
.appUpdateRefresh{
  flex:0 0 auto;
  min-height:44px;
  border:0;
  border-radius:11px;
  padding:10px 15px;
  background:#0f694b;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.dark .appUpdateNotice{background:#2d2918;color:#fff1bd;border-color:#8b783f}
.dark .appUpdateNoticeText small{color:#dfcf9d}
@media(max-width:650px){
  .appUpdateNotice{top:88px;align-items:stretch;flex-direction:column}
  .appUpdateRefresh{width:100%}
}

/* Ver. iT-Kuran 20260818-0013 — otvorena sura maksimalno široka + crni naslov kao player */
#readerView .readerToolbar,
.readerView .readerToolbar{
  background:#102d24!important;
  color:#fff!important;
  border-color:#234c3e!important;
  box-shadow:0 8px 26px rgba(0,0,0,.34)!important;
}
#readerView .readerToolbar .readerTitle b,
.readerView .readerToolbar .readerTitle b{
  color:#fff!important;
  font-size:1.08rem;
}
#readerView .readerToolbar .readerTitle small,
.readerView .readerToolbar .readerTitle small{
  color:rgba(255,255,255,.72)!important;
}
#readerView .readerToolbar .iconbtn,
.readerView .readerToolbar .iconbtn{
  color:#fff!important;
}
#readerView .readerToolbar .iconbtn:hover,
.readerView .readerToolbar .iconbtn:hover{
  background:rgba(255,255,255,.12)!important;
}

@media (min-width:900px){
  /* Otvorena sura koristi gotovo cijelu širinu monitora. */
  #readerView,
  .readerView{
    width:calc(100vw - 32px);
    max-width:none;
    margin-left:50%;
    transform:translateX(-50%);
  }
  #readerView .readerToolbar,
  .readerView .readerToolbar{
    width:100%;
    padding-left:18px;
    padding-right:18px;
  }
  #readerView .ayahList,
  .readerView .ayahList{
    width:100%;
  }
  #readerView .ayahCard,
  .readerView .ayahCard{
    width:100%;
    max-width:none;
    padding-left:34px;
    padding-right:34px;
  }
}

/* U horizontalnom položaju i Sura i Mushaf maksimalno koriste ekran. */
@media (orientation:landscape){
  #readerView,
  .readerView,
  #pagesView{
    width:calc(100vw - 16px);
    max-width:none;
    margin-left:50%;
    transform:translateX(-50%);
  }
  #readerView .readerToolbar,
  .readerView .readerToolbar{
    width:100%;
  }
  #readerView .ayahCard,
  .readerView .ayahCard,
  #pagesView .mushafBook,
  #pagesView .mushafPage,
  #pagesView .mushafPaper{
    max-width:none!important;
    width:100%!important;
  }
}

@media (max-width:899px) and (orientation:portrait){
  #readerView,
  .readerView{
    width:auto;
    max-width:none;
    margin-left:0;
    transform:none;
  }
}


/* Ver. iT-Kuran 20260818-0016 — 0,5 cm landscape margin + topliji zlatni Mushaf */
/* Mushaf: jači zlatni okvir i topliji zlatni papir, uz dobar kontrast teksta. */
#pagesView .mushafBook{
  background:linear-gradient(90deg,#745019 0%,#a87928 3%,#d3a94f 6%,#b38431 9%,#b38431 91%,#d3a94f 94%,#a87928 97%,#745019 100%)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.42),inset 0 0 0 2px rgba(255,226,145,.72)!important;
}
#pagesView .mushafPaper{
  border-color:#c79b3c!important;
  background:radial-gradient(circle at 50% 16%,#fff8d8 0%,#f8e6b6 48%,#edcf86 78%,#ddb65a 100%)!important;
  box-shadow:inset 0 0 30px rgba(125,82,16,.18)!important;
}
#pagesView .mushafSurahHeader{
  background:linear-gradient(180deg,#fff3c8,#edd18a)!important;
  border-color:#bf9135!important;
}
#pagesView .mushafAyahTop .miniBtn{background:#f1d990!important;border-color:#b98931!important}
#pagesView .mushafPageOrnament{color:#876018!important;border-bottom-color:#b88b30!important}
#pagesView .mushafPageNumber,#pagesView .verseMark{color:#7f5a16!important}

/* Horizontalni ekran: tačno približno 0,5 cm prostora lijevo i desno. */
@media (orientation:landscape){
  #readerView,
  .readerView,
  #pagesView{
    width:calc(100vw - 1cm)!important;
    max-width:none!important;
    margin-left:50%!important;
    transform:translateX(-50%)!important;
  }
  #readerView .readerToolbar,
  .readerView .readerToolbar,
  #readerView .ayahCard,
  .readerView .ayahCard,
  #pagesView .mushafBook,
  #pagesView .mushafPage,
  #pagesView .mushafPaper{
    max-width:none!important;
    width:100%!important;
  }
}

/* Ver. iT-Kuran 20260818-0016 — brojevi ajeta skaliraju + 1 cm landscape margina + 2 cm Mushaf razmak + ukrasni aktivni okvir */
/* Broj ajeta (npr. 2:7) prati korisničku veličinu prijevoda i zato se povećava/smanjuje zajedno s tekstom. */
#readerView .ayahNo,
.readerView .ayahNo,
#pagesView .mushafAyahTop > span{
  font-size:clamp(13px,var(--translation-size),38px)!important;
  line-height:1.15!important;
}
#readerView .ayahNo,
.readerView .ayahNo{
  min-width:2.7em!important;
  height:auto!important;
  min-height:2.15em!important;
  padding:.34em .64em!important;
}
#pagesView .mushafAyahTop > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:2.7em;
  min-height:2.05em;
  padding:.28em .58em;
  border-radius:.65em;
  background:rgba(205,160,66,.13);
  border:1px solid rgba(167,121,37,.32);
  color:#765311!important;
  font-weight:900;
}

/* Mushaf: oko 2 cm vertikalnog prostora između ajeta na PC-u / horizontalnom ekranu. */
@media (min-width:900px){
  #pagesView .mushafAyahBlock{
    margin-bottom:2cm!important;
  }
}
@media (orientation:landscape){
  #pagesView .mushafAyahBlock{
    margin-bottom:2cm!important;
  }

  /* 1,0 cm lijevo + 1,0 cm desno za Suru i Mushaf. */
  #readerView,
  .readerView,
  #pagesView{
    width:calc(100vw - 2cm)!important;
    max-width:none!important;
    margin-left:50%!important;
    transform:translateX(-50%)!important;
  }
}

/* Aktivni ajet u Mushafu: ukrasni zlatni okvir debljine tačno 1,00 cm. */
#pagesView .mushafAyahBlock.playing{
  position:relative;
  outline:none!important;
  border:1cm solid transparent!important;
  border-image-source:url('./assets/mushaf-active-gold-frame.png')!important;
  border-image-slice:20%!important;
  border-image-width:1cm!important;
  border-image-outset:0!important;
  border-image-repeat:stretch!important;
  background:linear-gradient(180deg,rgba(255,247,211,.74),rgba(237,208,137,.24))!important;
  box-shadow:0 8px 22px rgba(111,75,18,.16)!important;
  padding:12px 14px 16px!important;
}
@media(max-width:650px){
  #pagesView .mushafAyahBlock.playing{
    border-width:1cm!important;
    border-image-width:1cm!important;
    border-image-outset:0!important;
    padding:10px 11px 13px!important;
  }
}


/* Ver. iT-Kuran 20260818-0017 — Goldrahmen: horizontale Ornamente nicht mehr verzerren.
   Erste Achse = oben/unten (round), zweite Achse = links/rechts (stretch). */
#pagesView .mushafAyahBlock.playing{
  border-image-repeat:round stretch!important;
}

/* v20260819-0004 — profesionalni Android APK download s Android logom */
.appVersion{margin:12px 8px 6px;text-align:center;color:var(--muted);font-size:12px;font-weight:700}
.androidApkDownloadBtn{display:flex;align-items:center;gap:11px;margin:0 6px 12px;padding:12px 13px;border-radius:14px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#0a4a37,#0d6a4d);border:1px solid rgba(224,198,124,.65);box-shadow:0 7px 20px rgba(5,42,30,.20);transition:transform .14s ease,filter .14s ease,box-shadow .14s ease}
.androidApkDownloadBtn:hover{filter:brightness(1.06);box-shadow:0 9px 24px rgba(5,42,30,.28)}
.androidApkDownloadBtn:active{transform:scale(.985)}
.androidApkIcon{flex:0 0 46px;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#f3dfa2,#c49b47);box-shadow:inset 0 1px 0 #fff8,0 3px 10px #0003}
.androidApkIcon img{display:block;width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 1px 1px #0002)}
.androidApkText{min-width:0;display:flex;flex:1;flex-direction:column;line-height:1.2}.androidApkText b{font-size:14px;letter-spacing:.1px}.androidApkText small{margin-top:4px;color:#d7eee4;font-size:11px;font-weight:650}
.androidApkArrow{flex:0 0 auto;font-size:20px;font-weight:900;color:#f0d98f;line-height:1}

/* Ver. iT-Kuran 20260822-0006 — zajedničko responzivno skaliranje cijelog korisničkog interfejsa.
   Veličina dugmadi/ikona prati korisničku veličinu teksta i raspoloživi ekran. */
:root{
  --ui-scale:1;
  --viewport-scale:1;
  --ui-tap:clamp(42px,calc(42px * var(--ui-scale)),60px);
  --ui-icon:clamp(20px,calc(21px * var(--ui-scale)),30px);
  --ui-gap:clamp(5px,calc(7px * var(--ui-scale)),12px);
  --ui-radius:clamp(10px,calc(12px * var(--ui-scale)),17px);
}

/* Sve važne dodirne kontrole rastu zajedno, umjesto da tekst raste a ▶ ostane malen. */
.iconbtn,.miniBtn,.pageJump button,.miniRefreshBtn,.playerBtn,.playerMain{
  min-width:var(--ui-tap)!important;
  width:var(--ui-tap)!important;
  min-height:var(--ui-tap)!important;
  height:var(--ui-tap)!important;
  border-radius:var(--ui-radius)!important;
  font-size:var(--ui-icon)!important;
}
.playerMain{font-size:clamp(24px,calc(25px * var(--ui-scale)),34px)!important}
.primary,.secondary,.navItem,.settingsAction,.manualAudioDownloadBtn,.appUpdateRefresh{
  min-height:clamp(46px,calc(48px * var(--ui-scale)),66px);
  border-radius:var(--ui-radius);
  font-size:clamp(15px,calc(16px * var(--ui-scale)),21px);
}
.primary,.secondary,.settingsAction,.appUpdateRefresh{padding:clamp(10px,calc(11px * var(--ui-scale)),17px) clamp(14px,calc(15px * var(--ui-scale)),22px)}
.navItem{gap:var(--ui-gap);padding:clamp(12px,calc(13px * var(--ui-scale)),18px)}
.navItem>span:first-child{width:clamp(24px,calc(25px * var(--ui-scale)),34px);font-size:clamp(18px,calc(19px * var(--ui-scale)),27px)}

/* Ajet komande i brojevi ostaju proporcionalni tekstu. */
.ayahActions{gap:clamp(3px,calc(4px * var(--ui-scale)),8px);flex-wrap:nowrap}
.shareMiniIcon{width:clamp(17px,calc(18px * var(--ui-scale)),27px)!important;height:clamp(17px,calc(18px * var(--ui-scale)),27px)!important}
.ayahNo,#pagesView .mushafAyahTop>span{font-size:clamp(13px,var(--translation-size),38px)!important}

/* Sure i forme se prilagođavaju bez sitnih kontrola na većim ekranima. */
.surahRow{gap:clamp(9px,calc(10px * var(--ui-scale)),16px);padding:clamp(11px,calc(12px * var(--ui-scale)),18px)}
.surahNo{width:clamp(42px,calc(42px * var(--ui-scale)),58px);height:clamp(42px,calc(42px * var(--ui-scale)),58px);font-size:clamp(16px,calc(17px * var(--ui-scale)),23px)}
.surahNames b{font-size:clamp(17px,calc(18px * var(--ui-scale)),24px)}
.surahNames small{font-size:clamp(13px,calc(14px * var(--ui-scale)),18px)}
.surahArabic{font-size:clamp(20px,calc(23px * var(--ui-scale)),31px)}
input,select{min-height:clamp(42px,calc(44px * var(--ui-scale)),58px);font-size:clamp(15px,calc(16px * var(--ui-scale)),21px)}
.checkline input{width:clamp(20px,calc(21px * var(--ui-scale)),28px);height:clamp(20px,calc(21px * var(--ui-scale)),28px);min-height:0}
.sheetHead,.settingsGroupTitle{font-size:clamp(19px,calc(20px * var(--ui-scale)),27px)}
.fine{font-size:clamp(12px,calc(12px * var(--ui-scale)),16px)}

/* Naslov sure ne gura kontrole van ekrana kada je prikaz ili tekst uvećan. */
.readerToolbar{gap:var(--ui-gap)!important;min-width:0}
.readerToolbar .readerTitle{min-width:0;overflow:hidden}
.readerToolbar .readerTitle b{font-size:clamp(17px,calc(18px * var(--ui-scale)),25px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.readerToolbar .readerTitle small{font-size:clamp(11px,calc(12px * var(--ui-scale)),16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.downloadChip{min-height:var(--ui-tap);font-size:clamp(13px,calc(14px * var(--ui-scale)),18px);border-radius:var(--ui-radius)}

/* Veliko ručno preuzimanje prati isti omjer. */
.manualAudioDownloadBtn{min-height:clamp(66px,calc(68px * var(--ui-scale)),92px);gap:clamp(10px,calc(12px * var(--ui-scale)),17px);padding:clamp(12px,calc(13px * var(--ui-scale)),18px)}
.manualAudioDownloadIcon{width:clamp(42px,calc(42px * var(--ui-scale)),58px);height:clamp(42px,calc(42px * var(--ui-scale)),58px);flex-basis:clamp(42px,calc(42px * var(--ui-scale)),58px);font-size:clamp(24px,calc(25px * var(--ui-scale)),34px)}
.manualAudioDownloadText b{font-size:clamp(17px,calc(17px * var(--ui-scale)),23px)}
.manualAudioDownloadText small,.manualAudioDownloadHint{font-size:clamp(12px,calc(12px * var(--ui-scale)),16px)}

/* Player na širokom ekranu: informacije + Play/Pause + X. */
.player{
  grid-template-columns:minmax(100px,1fr) var(--ui-tap) var(--ui-tap)!important;
  gap:var(--ui-gap)!important;
  padding:clamp(8px,calc(9px * var(--ui-scale)),13px) clamp(9px,calc(10px * var(--ui-scale)),15px)!important;
  border-radius:clamp(16px,calc(18px * var(--ui-scale)),24px)!important;
  bottom:max(8px,env(safe-area-inset-bottom));
}
.playerInfo b{font-size:clamp(14px,calc(15px * var(--ui-scale)),20px)}
.playerInfo small{font-size:clamp(11px,calc(11px * var(--ui-scale)),15px)!important}
.playerInfo input{min-height:clamp(14px,calc(15px * var(--ui-scale)),20px)}

/* Na telefonu player ostaje u jednoj liniji. */
@media(max-width:650px){
  .player{
    width:calc(100% - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)))!important;
    grid-template-columns:minmax(0,1fr) var(--ui-tap) var(--ui-tap)!important;
    grid-template-areas:"info toggle stop";
    row-gap:0!important;
    padding:7px 9px max(7px,env(safe-area-inset-bottom))!important;
  }
  .playerInfo{grid-area:info}#playerToggle{grid-area:toggle}#playerStop{grid-area:stop}
  .playerBtn,.playerMain{justify-self:center}
  .main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
  .toast{bottom:calc(82px + env(safe-area-inset-bottom))!important}
  .heroBtns .primary,.heroBtns .secondary{flex:1 1 160px;max-width:none}
  .ayahTop{gap:8px;align-items:center}
  .ayahActions{margin-left:auto}
}

/* Vrlo uski telefoni: ne smanjuj dodirne mete ispod praktične veličine; po potrebi stisni samo razmake. */
@media(max-width:380px){
  .ayahActions{gap:2px}
  .readerToolbar{gap:3px!important}
  .readerToolbar .readerTitle small{display:none}
  .topbar{gap:2px}
}

/* Širi telefoni/tableti/PC automatski koriste prostor, bez prevelikih praznih margina. */
@media(min-width:700px) and (max-width:899px){.main{max-width:96vw}.surahList{gap:12px}}
@media(min-width:900px){.main{max-width:min(1600px,calc(100vw - 2cm))}.viewHead h2{font-size:clamp(24px,2vw,34px)}}

/* Dodatno: gornje komande i sigurne ivice za različite telefone/notch ekrane. */
.topSearchBtn,.topShareBtn{
  min-width:var(--ui-tap)!important;
  width:var(--ui-tap)!important;
  min-height:var(--ui-tap)!important;
  height:var(--ui-tap)!important;
  border-radius:var(--ui-radius)!important;
  padding:0!important;
}
.topSearchBtn .searchIcon,.topShareBtn .shareIcon{
  width:clamp(22px,calc(25px * var(--ui-scale)),34px)!important;
  height:clamp(22px,calc(25px * var(--ui-scale)),34px)!important;
}
.sheet{width:min(460px,96vw);padding:clamp(14px,calc(16px * var(--ui-scale)),22px)}
.drawer{width:min(340px,92vw)}
.card{padding:clamp(14px,calc(16px * var(--ui-scale)),22px)}

/* PWA na telefonima s izrezom/kamerom ili gestama ne ulazi ispod sistemskih ivica. */
.topbar{
  padding-left:max(10px,env(safe-area-inset-left));
  padding-right:max(10px,env(safe-area-inset-right));
  padding-top:env(safe-area-inset-top);
  height:calc(92px + env(safe-area-inset-top));
}
.main{padding-top:calc(108px + env(safe-area-inset-top))}
@media(max-width:650px){
  .topbar{height:calc(78px + env(safe-area-inset-top))!important}
  .main{padding-top:calc(92px + env(safe-area-inset-top))!important}
  .stickyReader{top:calc(84px + env(safe-area-inset-top))!important}
}


/* Ver. iT-Kuran 20260822-0006 — ispravka horizontalnog pomjeranja na telefonima.
   Cijela aplikacija ostaje unutar stvarne širine prikaza; nema dvostrukog/bočno pomjerenog prikaza. */
html{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
  overscroll-behavior-x:none;
}
body,#app{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-left:0!important;
  margin-right:0!important;
  overflow-x:clip!important;
  position:relative;
}
.main{
  width:100%;
  min-width:0;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow-x:clip;
  --main-side-space:12px;
}
.view,.card,.grid2,.hero,.statusCard,.offlineProgressCard,.manualAudioOfflineBox,
.readerToolbar,.ayahCard,.mushafBook,.mushafPage,.mushafPaper{
  min-width:0;
  max-width:100%;
}
img,svg,video,canvas{max-width:100%}
.grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.topbar{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.topbar>*{min-width:0}
.topbar .brand{flex:1 1 auto;min-width:0;overflow:hidden}
.topbar .brandText{min-width:0;max-width:100%;overflow:hidden}
.topbar .brandText b,.topbar .brandText strong,.topbar .brandText small{
  display:block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#menuBtn,.topSearchBtn,.topShareBtn{flex:0 0 auto}
.player{max-width:calc(100% - 16px)!important}
.drawer,.sheet{max-width:calc(100% - 8px)!important}

/* Stare 100vw + translateX kombinacije mogle su napraviti horizontalni scroll.
   Zadržavamo traženi široki prikaz, ali računamo širinu iz roditelja. */
@media (max-width:899px) and (orientation:portrait){
  #readerView,.readerView,#pagesView{
    width:auto!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
  }
}
@media (orientation:landscape){
  #readerView,.readerView,#pagesView{
    width:auto!important;
    max-width:none!important;
    margin-left:max(0px,calc(1cm - var(--main-side-space)))!important;
    margin-right:max(0px,calc(1cm - var(--main-side-space)))!important;
    transform:none!important;
  }
}
@media (min-width:900px){
  .main{--main-side-space:24px}
  #readerView,.readerView,#pagesView{
    width:auto!important;
    transform:none!important;
  }
}

/* Vrlo uski telefoni: naslov i gornje ikone nikad ne šire stranicu. */
@media(max-width:430px){
  .topbar{gap:3px!important}
  .topbar .brand{gap:6px!important}
  .topbar .brandIcon{flex:0 0 auto}
  .topbar .brandText{flex:1 1 0}
  .topSearchBtn,.topShareBtn{margin-left:2px!important}
  .grid2{gap:8px}
}

/* Ver. iT-Kuran 20260822-0006 — Drawer/Sheet potpuno van ekrana kada su zatvoreni.
   Ranije je Drawer postao širi, ali je ostao stari fiksni left:-318px, pa je ~22px ostajalo vidljivo. */
.drawer{
  left:0!important;
  transform:translateX(calc(-100% - 16px));
  transition:transform .22s ease!important;
}
.drawer.open{
  left:0!important;
  transform:translateX(0)!important;
}
.sheet{
  right:0!important;
  transform:translateX(calc(100% + 16px));
  transition:transform .22s ease!important;
}
.sheet.open{
  right:0!important;
  transform:translateX(0)!important;
}


/* Ver. iT-Kuran 20260822-0006 — Nastavi / Historija */
.historyView{width:100%;max-width:100%}.historyHead{align-items:flex-start}.historyHead h2{margin-bottom:.25rem}.historyHead small{display:block;max-width:760px;line-height:1.45;color:var(--muted)}
.resumeMainGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,22px);margin-bottom:clamp(14px,2.2vw,24px)}.resumeMainCard{display:flex;flex-direction:column;gap:14px;min-width:0;padding:clamp(16px,2.4vw,24px)}.resumeMainTitle{display:flex;align-items:center;gap:12px}.resumeMainTitle>div{min-width:0;display:flex;flex-direction:column;gap:2px}.resumeMainTitle b{font-size:clamp(1.05rem,1.4vw,1.3rem)}.resumeMainTitle small{color:var(--muted);line-height:1.35}.resumeMainIcon{display:grid;place-items:center;flex:0 0 auto;width:clamp(42px,5vw,54px);height:clamp(42px,5vw,54px);border-radius:15px;background:rgba(61,213,156,.12);border:1px solid rgba(92,226,175,.28);font-size:clamp(1.25rem,2vw,1.65rem);color:var(--accent)}
.resumeMainInfo{min-height:92px;padding:14px;border-radius:16px;background:rgba(2,18,35,.42);border:1px solid rgba(107,221,177,.18)}.resumeCardPlace{font-weight:800;font-size:clamp(1rem,1.45vw,1.22rem);line-height:1.35;overflow-wrap:anywhere}.resumeCardMeta{margin-top:8px;color:var(--muted);line-height:1.45}.resumeEmpty{color:var(--muted);line-height:1.45}.resumeMainBtn{width:100%;min-height:var(--ui-control-h,48px);margin-top:auto}.resumeMainBtn:disabled{opacity:.5;cursor:not-allowed}
.resumeHistoryCard{padding:clamp(16px,2.4vw,24px)}.resumeHistoryHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.resumeHistoryHead h3{margin:0 0 3px;font-size:clamp(1.08rem,1.55vw,1.32rem)}.resumeHistoryHead small{color:var(--muted);line-height:1.4}.resumeHistoryBadge{display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:999px;background:rgba(61,213,156,.14);border:1px solid rgba(86,227,174,.3);font-weight:900;color:var(--accent)}.resumeHistoryList{display:flex;flex-direction:column;gap:10px}.resumeHistoryRow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 13px;border-radius:16px;background:rgba(2,18,35,.4);border:1px solid rgba(107,221,177,.16)}.resumeHistoryNo{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(213,174,77,.16);border:1px solid rgba(229,190,91,.32);color:var(--gold,#e0b654);font-weight:900}.resumeHistoryText{min-width:0;display:flex;flex-direction:column;gap:3px}.resumeHistoryText b{overflow-wrap:anywhere}.resumeHistoryText span,.resumeHistoryText small{color:var(--muted)}.resumeOpenBtn{min-height:var(--ui-control-h,44px);padding:.55em .9em;white-space:nowrap}.resumeHistoryEmpty{padding:18px;text-align:center;border:1px dashed rgba(107,221,177,.2);border-radius:14px}.resumeSafetyNote{display:flex;gap:12px;align-items:flex-start;margin-top:clamp(14px,2.2vw,24px);padding:15px 17px}.resumeSafetyNote>span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:rgba(61,213,156,.18);color:var(--accent);font-weight:900}.resumeSafetyNote>div{display:flex;flex-direction:column;gap:3px}.resumeSafetyNote small{color:var(--muted);line-height:1.45}
@media(max-width:720px){.resumeMainGrid{grid-template-columns:1fr}.resumeHistoryRow{grid-template-columns:auto minmax(0,1fr)}.resumeOpenBtn{grid-column:2;width:100%}.resumeMainInfo{min-height:auto}}@media(orientation:landscape) and (max-height:600px){.resumeMainGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.resumeMainCard{padding:14px}.resumeMainInfo{min-height:76px}.resumeHistoryRow{padding:9px 11px}}


/* Ver. iT-Kuran 20260822-0006 — kompaktan horizontalni prikaz za auto/niske Android ekrane.
   Cilj: 1024x600, 800x480 i slični uređaji bez rezanja gornje/donje ivice. */
@media (orientation:landscape) and (max-height:680px){
  .topbar{
    height:64px!important;
    min-height:64px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    gap:6px!important;
  }
  .main{
    padding-top:72px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .topbar .brandIcon{width:46px!important;height:46px!important}
  .topbar .brand{gap:8px!important}
  .topbar .brandText b{font-size:24px!important;line-height:1.05!important}
  .topbar .brandText strong{font-size:16px!important;line-height:1.08!important}
  .topbar .brandText small{font-size:11px!important;line-height:1.05!important}
  #menuBtn,.topSearchBtn,.topShareBtn{min-width:42px!important;width:42px!important;min-height:42px!important;height:42px!important}
  .topSearchBtn .searchIcon,.topShareBtn .shareIcon{width:22px!important;height:22px!important}
  .hero{padding:12px 14px!important}
  .heroBrand{padding:4px 8px!important;gap:12px!important}
  .heroBrand .appBrandIcon{width:68px!important;height:68px!important}
  .heroBrand .appBrandText b{font-size:clamp(28px,4.2vw,42px)!important;line-height:1!important}
  .heroBrand .appBrandText strong{font-size:clamp(18px,2.6vw,26px)!important;line-height:1.05!important}
  .heroBrand .appBrandText small{font-size:clamp(11px,1.6vw,14px)!important}
  .bismillah{font-size:clamp(28px,4.2vw,40px)!important;margin:7px 0 9px!important}
  .heroBtns{gap:8px!important}
  .heroBtns .primary,.heroBtns .secondary{min-height:42px!important;padding:8px 12px!important;font-size:15px!important}
  .grid2{gap:10px!important;margin-top:10px!important}
  .grid2 .stat{padding:10px!important;min-height:74px!important}
  .grid2 .stat span{font-size:clamp(28px,4vw,40px)!important}
  .grid2 .stat small{font-size:13px!important}
  .card{padding:12px!important}
  .homeDownloadCard{margin-top:10px!important}
  .homeDownloadHead b{font-size:18px!important}
  .homeDownloadHead small{font-size:12px!important}
  .stickyReader{top:68px!important}
  .player{bottom:6px!important;padding:7px 9px!important}
  .main{padding-bottom:92px!important}
}
@media (orientation:landscape) and (max-height:500px){
  .topbar{height:56px!important;min-height:56px!important}
  .main{padding-top:62px!important}
  .topbar .brandIcon{width:40px!important;height:40px!important}
  .topbar .brandText b{font-size:21px!important}
  .topbar .brandText strong{font-size:14px!important}
  .topbar .brandText small{display:none!important}
  .heroBrand .appBrandIcon{width:56px!important;height:56px!important}
  .bismillah{font-size:28px!important;margin:4px 0 7px!important}
  .heroBtns .primary,.heroBtns .secondary{min-height:40px!important;padding:7px 10px!important}
  .grid2 .stat{min-height:64px!important;padding:8px!important}
  .main{padding-bottom:84px!important}
}
.nativeAndroid .androidApkDownloadBtn{display:none!important}

/* 20260822-0006: Tanzil text stays verbatim; Bismillah is a separate visual element. */
.readerBismillah,.mushafBismillah{font-family:"Noto Naskh Arabic","Amiri","Traditional Arabic",serif;text-align:center;direction:rtl;color:var(--gold);font-weight:700;line-height:1.8}
.readerBismillah{font-size:clamp(26px,calc(var(--arabic-size) * .92),42px);padding:12px 10px;margin:2px 0 18px;border:1px solid color-mix(in srgb,var(--gold) 38%,transparent);border-radius:16px;background:linear-gradient(180deg,#fff6dc12,#c9982a0b)}
.mushafBismillah{font-size:clamp(24px,calc(var(--arabic-size) * .88),40px);margin:10px auto 20px;padding:8px 12px;max-width:92%;}
.legalView{max-width:980px;margin-inline:auto}.legalCard h3{margin-top:0;color:var(--gold)}.legalCard p{line-height:1.65}.legalCard a{color:var(--brand2);font-weight:700;overflow-wrap:anywhere}.legalWarning{border-left:4px solid #d9a62e;padding:9px 11px;background:#d9a62e12;border-radius:8px}

/* Ver. iT-Kuran 20260822-0006 — lokalni tekst, kompaktni player i fokus učenja. */
.quranLocalStatusCard{
  display:flex;
  align-items:center;
  gap:13px;
  width:100%;
  margin:13px 0 0;
  padding:14px 16px;
  border:2px solid #d0a64b;
  border-radius:17px;
  background:linear-gradient(135deg,#071923,#0b382b 58%,#0d4a38);
  color:#fff;
  box-shadow:0 9px 28px rgba(0,0,0,.3);
}
.quranLocalStatusIcon{
  display:grid;
  place-items:center;
  flex:0 0 46px;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#d0a64b;
  color:#102219;
  font-size:25px;
  font-weight:950;
}
.quranLocalStatusText{display:flex;min-width:0;flex-direction:column;gap:3px}
.quranLocalStatusText b{color:#fff;font-size:clamp(16px,2.3vw,20px);line-height:1.25}
.quranLocalStatusText small{color:#d8eee4;font-size:clamp(13px,1.8vw,16px);font-weight:750}
.quranLocalStatusCard.loading .quranLocalStatusIcon{animation:itqStatusSpin 1s linear infinite;background:#75b5d8}
.quranLocalStatusCard.bad{border-color:#e78178;background:linear-gradient(135deg,#251315,#572526)}
.quranLocalStatusCard.bad .quranLocalStatusIcon{background:#e78178;color:#2a1010}

/* Naslov otvorene sure je tanji i koristi isti crni izgled kao reproduktor. */
#readerView .readerToolbar.card.stickyReader,
.readerView .readerToolbar.card.stickyReader{
  min-height:54px!important;
  padding:5px 8px!important;
  gap:5px!important;
  border:1px solid #277052!important;
  border-radius:14px!important;
  background:#04101e!important;
  box-shadow:0 7px 22px rgba(0,0,0,.5)!important;
}
#readerView .readerToolbar .readerTitle b,
.readerView .readerToolbar .readerTitle b{
  font-size:clamp(15px,calc(16px * var(--ui-scale)),19px)!important;
  line-height:1.12!important;
}
#readerView .readerToolbar .readerTitle small,
.readerView .readerToolbar .readerTitle small{
  display:block!important;
  font-size:clamp(10px,calc(10px * var(--ui-scale)),12px)!important;
  line-height:1.15!important;
}
#readerView .readerToolbar .iconbtn,
.readerView .readerToolbar .iconbtn{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
}

/* Reproduktor: puna funkcija u jednoj manjoj liniji; bez prethodno/sljedeće dugmadi. */
.player{
  width:min(980px,calc(100% - 16px))!important;
  min-height:58px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px 48px!important;
  grid-template-areas:"info toggle stop"!important;
  align-items:center!important;
  column-gap:6px!important;
  row-gap:0!important;
  padding:6px 8px!important;
  border:2px solid #277052!important;
  border-radius:14px!important;
  background:#04101e!important;
}
.player.hidden{display:none!important}
.playerInfo{grid-area:info!important;min-width:0!important;padding:0 4px!important}
#playerToggle{grid-area:toggle!important}
#playerStop{grid-area:stop!important}
.playerInfo b{font-size:clamp(13px,calc(14px * var(--ui-scale)),17px)!important;line-height:1.2!important}
.playerInfo small{font-size:clamp(10px,calc(10px * var(--ui-scale)),12px)!important;line-height:1.2!important}
.playerInfo input{
  display:block!important;
  width:100%!important;
  height:12px!important;
  min-height:12px!important;
  margin:2px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  accent-color:#53d69b;
  cursor:pointer;
}
.playerBtn,.playerMain{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;justify-self:center!important}
.playerMain{font-size:21px!important;background:#176c4d!important}
.playerBtn{font-size:20px!important;background:#162b38!important}
.compactPlayerHelp{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:420px}
.main{padding-bottom:calc(98px + env(safe-area-inset-bottom))!important}
.toast{bottom:calc(82px + env(safe-area-inset-bottom))!important}
.appFooter{margin-bottom:calc(76px + env(safe-area-inset-bottom))!important}
.appFooter a{color:#d8b85f;font-weight:800;text-decoration:none}.appFooter a:hover{text-decoration:underline}

/* Aktivno učenje ostaje jasno označeno; JavaScript centrira riječ ili cijeli ajet. */
.qword.activeWord{font-weight:900;outline:2px solid rgba(255,255,255,.8);outline-offset:2px}
.ayahCard.playing,.mushafAyahBlock.playing{scroll-margin-block:42vh!important}

@media(max-width:650px){
  .player{
    grid-template-columns:minmax(0,1fr) 46px 46px!important;
    grid-template-areas:"info toggle stop"!important;
    padding:5px 7px max(5px,env(safe-area-inset-bottom))!important;
  }
  .playerBtn,.playerMain{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
  .main{padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}
  .toast{bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .quranLocalStatusCard{padding:12px 13px;border-radius:15px}
  .quranLocalStatusIcon{flex-basis:42px;width:42px;height:42px;font-size:23px}
}

/* Ver. iT-Kuran 20260822-0006 — vertikalni smartphone: niži naslov i player uz donji rub. */
@media (orientation:portrait) and (max-width:650px){
  .topbar{
    height:54px!important;
    min-height:54px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    gap:2px!important;
  }
  .main{
    padding-top:62px!important;
    padding-bottom:calc(54px + env(safe-area-inset-bottom))!important;
  }
  .stickyReader{top:58px!important}
  .topbar .brandIcon{
    width:36px!important;
    height:36px!important;
  }
  .topbar .brand{gap:6px!important}
  .topbar .brandText b{
    font-size:20px!important;
    line-height:1!important;
  }
  .topbar .brandText strong{
    font-size:13px!important;
    line-height:1!important;
  }
  .topbar .brandText small{display:none!important}
  #menuBtn,.topSearchBtn,.topShareBtn{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
  }
  .topSearchBtn .searchIcon,.topShareBtn .shareIcon{
    width:20px!important;
    height:20px!important;
  }

  .player{
    bottom:0!important;
    min-height:34px!important;
    height:auto!important;
    grid-template-columns:minmax(0,1fr) 32px 32px!important;
    grid-template-areas:"info toggle stop"!important;
    column-gap:3px!important;
    padding:2px 4px max(2px,env(safe-area-inset-bottom))!important;
    border-width:1px!important;
    border-radius:11px 11px 0 0!important;
  }
  .playerInfo{
    padding:0 2px!important;
    align-self:center!important;
  }
  .playerInfo b{
    font-size:11px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .playerInfo small{display:none!important}
  .playerInfo input{
    height:6px!important;
    min-height:6px!important;
    margin:1px 0 0!important;
  }
  .playerBtn,.playerMain{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    border-radius:8px!important;
    font-size:16px!important;
  }
  .playerMain{font-size:17px!important}
  .toast{bottom:calc(42px + env(safe-area-inset-bottom))!important}
  .appFooter{margin-bottom:calc(38px + env(safe-area-inset-bottom))!important}
}



/* Ver. iT-Kuran 20260822-0006 — profesionalni mini-player bez praznog prostora ispod progresa. */
.playerInfo{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.playerInfo input[type="range"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:100%!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  line-height:0!important;
}
.playerInfo input[type="range"]::-webkit-slider-runnable-track{
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#43d49a,#2b8f70);
}
.playerInfo input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:12px;
  height:12px;
  margin-top:-4px;
  border:2px solid #d8b85f;
  border-radius:50%;
  background:#f7fbf9;
  box-shadow:0 1px 5px rgba(0,0,0,.55);
}
.playerInfo input[type="range"]::-moz-range-track{
  height:4px;
  border:0;
  border-radius:999px;
  background:#2b8f70;
}
.playerInfo input[type="range"]::-moz-range-progress{
  height:4px;
  border-radius:999px;
  background:#43d49a;
}
.playerInfo input[type="range"]::-moz-range-thumb{
  width:10px;
  height:10px;
  border:2px solid #d8b85f;
  border-radius:50%;
  background:#f7fbf9;
  box-shadow:0 1px 5px rgba(0,0,0,.55);
}
.playerMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-top:1px;
  color:#a9c8bc;
  font-variant-numeric:tabular-nums;
}
.playerMeta small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  opacity:.9!important;
}
.playerTime{
  flex:0 0 auto;
  white-space:nowrap;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.02em;
  color:#d8b85f;
}

@media (orientation:portrait) and (max-width:650px){
  .player{
    min-height:38px!important;
    padding:2px 4px max(2px,env(safe-area-inset-bottom))!important;
  }
  .playerInfo{
    gap:0!important;
    padding:0 3px!important;
  }
  .playerInfo b{
    font-size:10.5px!important;
    line-height:1!important;
  }
  .playerInfo input[type="range"]{
    height:8px!important;
    min-height:8px!important;
    margin:0!important;
  }
  .playerInfo input[type="range"]::-webkit-slider-runnable-track{height:3px}
  .playerInfo input[type="range"]::-webkit-slider-thumb{width:9px;height:9px;margin-top:-3px;border-width:1px}
  .playerInfo input[type="range"]::-moz-range-track,
  .playerInfo input[type="range"]::-moz-range-progress{height:3px}
  .playerInfo input[type="range"]::-moz-range-thumb{width:7px;height:7px;border-width:1px}
  .playerMeta{
    margin-top:0!important;
    gap:5px!important;
    height:9px!important;
    min-height:9px!important;
    line-height:9px!important;
  }
  .playerMeta small{
    display:block!important;
    font-size:8.5px!important;
    line-height:9px!important;
  }
  .playerTime{
    font-size:8.5px!important;
    line-height:9px!important;
  }
}

/* Ver. iT-Kuran 20260822-0008 — portrait smartphone: player = ista visina kao naslov sure. */
@media (orientation:portrait) and (max-width:650px){
  /* Referenca: naslov otvorene sure ima 54px. Player koristi istu mjeru i isti vizuelni ritam. */
  .player{
    box-sizing:border-box!important;
    width:calc(100% - 16px)!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    bottom:0!important;
    grid-template-columns:minmax(0,1fr) 42px 42px!important;
    grid-template-areas:"info toggle stop"!important;
    align-items:center!important;
    column-gap:5px!important;
    padding:5px 8px max(5px,env(safe-area-inset-bottom))!important;
    border:1px solid #277052!important;
    border-bottom:0!important;
    border-radius:14px 14px 0 0!important;
    background:#04101e!important;
    box-shadow:0 -7px 22px rgba(0,0,0,.45)!important;
  }
  .playerInfo{
    min-width:0!important;
    height:42px!important;
    padding:1px 2px!important;
    gap:1px!important;
    justify-content:center!important;
  }
  .playerInfo b{
    font-size:11.5px!important;
    line-height:12px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .playerInfo input[type="range"]{
    height:8px!important;
    min-height:8px!important;
    margin:0!important;
  }
  .playerInfo input[type="range"]::-webkit-slider-runnable-track{height:3px!important}
  .playerInfo input[type="range"]::-webkit-slider-thumb{width:10px!important;height:10px!important;margin-top:-3.5px!important}
  .playerInfo input[type="range"]::-moz-range-track,
  .playerInfo input[type="range"]::-moz-range-progress{height:3px!important}
  .playerInfo input[type="range"]::-moz-range-thumb{width:8px!important;height:8px!important}
  .playerMeta{
    display:flex!important;
    height:11px!important;
    min-height:11px!important;
    margin:0!important;
    line-height:11px!important;
    gap:6px!important;
  }
  .playerMeta small{
    display:block!important;
    font-size:9px!important;
    line-height:11px!important;
  }
  .playerTime{
    font-size:9px!important;
    line-height:11px!important;
  }
  .playerBtn,.playerMain{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:10px!important;
  }
  .playerMain{font-size:20px!important}
  .playerBtn{font-size:19px!important}
  .main{padding-bottom:calc(68px + env(safe-area-inset-bottom))!important}
  .toast{bottom:calc(62px + env(safe-area-inset-bottom))!important}
  .appFooter{margin-bottom:calc(58px + env(safe-area-inset-bottom))!important}
}


/* Ver. iT-Kuran 20260822-0008 — ručna provjera verzije + direktni Android APK ispod verzije. */
.drawerUpdateTools{display:grid;gap:8px;margin:0 6px 12px}
.drawerUpdateCheckBtn{width:100%;display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:14px;border:1px solid rgba(224,198,124,.48);background:linear-gradient(135deg,rgba(18,73,57,.98),rgba(11,55,43,.98));color:#fff;text-align:left;box-shadow:0 6px 18px rgba(4,35,25,.18);cursor:pointer;transition:transform .14s ease,filter .14s ease,box-shadow .14s ease}
.drawerUpdateCheckBtn:hover{filter:brightness(1.06);box-shadow:0 8px 22px rgba(4,35,25,.26)}
.drawerUpdateCheckBtn:active{transform:scale(.985)}
.drawerUpdateCheckBtn:disabled{opacity:.72;cursor:wait}
.drawerUpdateCheckIcon{flex:0 0 42px;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(240,217,143,.14);border:1px solid rgba(240,217,143,.38);color:#f0d98f;font-size:24px;font-weight:900;line-height:1}
.drawerUpdateCheckBtn.busy .drawerUpdateCheckIcon{animation:itqStatusSpin .85s linear infinite}
.drawerUpdateCheckText{min-width:0;display:flex;flex:1;flex-direction:column;line-height:1.18}
.drawerUpdateCheckText b{font-size:14px;letter-spacing:.1px}
.drawerUpdateCheckText small{margin-top:4px;color:#cfe5dc;font-size:11px;font-weight:650;white-space:normal}
.drawerUpdateCheckText small.ok{color:#a8e7c8}.drawerUpdateCheckText small.new{color:#f4d67d}.drawerUpdateCheckText small.error{color:#ffb4ac}
.drawerUpdateTools .androidApkDownloadBtn{margin:0}
@media(max-width:520px){.drawerUpdateTools{gap:7px}.drawerUpdateCheckBtn,.drawerUpdateTools .androidApkDownloadBtn{padding:10px 11px}.drawerUpdateCheckIcon,.drawerUpdateTools .androidApkIcon{flex-basis:40px;width:40px;height:40px}.drawerUpdateCheckText b,.drawerUpdateTools .androidApkText b{font-size:13px}}
