@font-face{font-family:"QvsMarkQuran";src:url(fonts/AmiriQuran-Regular.ttf) format("truetype");font-display:swap}
#markView{padding:0 0 38px}
#markView.hidden{display:none!important}
#markView .mk-wrap{max-width:860px;margin:0 auto;padding:6px 14px;display:flex;flex-direction:column;gap:12px}
#markView .mk-card{background:var(--v5-surface,#14202c);border:1px solid var(--v5-line,rgba(255,255,255,.1));border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
#markView h2{margin:0;font-size:1.15rem}
#markView h3{margin:0;font-size:1rem;display:flex;gap:8px;align-items:center}
#markView h3 .mk-n{background:var(--qi-acc,#2dd4a7);color:var(--qi-on,#06231b);border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700}
#markView .mk-row{display:flex;gap:10px;flex-wrap:wrap;align-items:end}
#markView .mk-row>label{display:flex;flex-direction:column;gap:4px;font-size:.85rem;flex:1 1 120px}
#markView select,#markView input[type=number],#markView input[type=file]{width:100%;min-height:42px;border-radius:10px;border:1px solid var(--v5-line,rgba(255,255,255,.18));background:rgba(255,255,255,.04);color:inherit;padding:6px 10px;font:inherit}
#markView button{min-height:44px;border-radius:12px;border:1px solid var(--v5-line,rgba(255,255,255,.18));background:rgba(255,255,255,.06);color:inherit;font:inherit;padding:6px 14px;cursor:pointer}
#markView button.mk-primary{background:var(--qi-acc,#2dd4a7);color:var(--qi-on,#06231b);border-color:var(--qi-acc,#2dd4a7);font-weight:700}
#markView button:disabled{opacity:.45;cursor:not-allowed}
#markView .mk-hint{font-size:.82rem;opacity:.75;line-height:1.5}
#markView .mk-status{font-size:.85rem;padding:8px 10px;border-radius:10px;background:rgba(45,212,167,.1)}
#markView .mk-status.warn{background:rgba(255,190,60,.15)}
#markView audio{width:100%}
#markView .mk-words{direction:rtl;font-family:"QvsMarkQuran","Amiri Quran",serif;font-size:1.7rem;line-height:2.3;display:flex;flex-wrap:wrap;gap:4px 8px;padding:8px;border-radius:12px;background:rgba(0,0,0,.18);max-height:340px;overflow:auto}
#markView .mk-w{border:2px solid transparent;border-radius:8px;padding:0 6px;cursor:pointer;opacity:.55;background:none;color:inherit;font:inherit;min-height:0}
#markView .mk-w.done{opacity:1;color:#7ee7c7}
#markView .mk-w.next{opacity:1;border-color:#ffd24a;color:#ffd24a;box-shadow:0 0 12px rgba(255,210,74,.5)}
#markView .mk-w.sel{border-color:#7aa7ff;opacity:1}
#markView .mk-w.live{background:#ffd24a;color:#1b1500;opacity:1}
#markView .mk-big{min-height:84px;font-size:1.4rem}
#markView .mk-ayahno{font-size:.8rem;opacity:.6;align-self:center;font-family:system-ui}
#markView .mk-nudge{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
#markView .mk-prev{direction:rtl;font-family:"QvsMarkQuran","Amiri Quran",serif;font-size:2rem;line-height:2.2;text-align:center;padding:16px;border-radius:14px;background:#000;color:#fff;min-height:140px}
#markView .mk-prev .live{color:#ffd24a;text-shadow:0 0 14px rgba(255,210,74,.7)}
html[dir="ltr"] #markView .mk-row>label,html[dir="ltr"] #markView .mk-hint,html[dir="ltr"] #markView h2,html[dir="ltr"] #markView h3{text-align:left}

#markView .mk-w.nextchunk{opacity:1;box-shadow:inset 0 -3px 0 rgba(255,255,255,.75);border-radius:2px}
