/* رفيق رمضان — Visual Fikr (grokbot2 2026-10-27) — زمرّدي + ذهبي ملكي + كريمي، RTL، وضع ليلي هادئ */
@font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('fonts/Tajawal-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('fonts/Amiri-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('fonts/Amiri-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --em: #0b4a3a; --em2: #0f5c48; --em3: #137057; --deep: #06302a;
  --gold: #c9a24a; --gold2: #e3c77d; --goldd: #a37f2c;
  --bg: #faf5e8; --bg2: #f3ead2; --card: #fffdf7; --ink: #10302a; --mut: #5d6f66; --line: rgba(11,74,58,.12);
  --shadow: 0 10px 30px -14px rgba(6,48,42,.35), 0 2px 6px -2px rgba(6,48,42,.12);
  --r: 22px; --nav: 74px;
  color-scheme: light;
}
[data-theme="night"] {
  --bg: #071a17; --bg2: #0b2420; --card: #0e2a25; --ink: #efe6cf; --mut: #a5b4a9; --line: rgba(227,199,125,.14);
  --em: #0e5443; --em2: #126652; --gold: #d4b062; --gold2: #e7cd8b;
  --shadow: 0 12px 30px -14px rgba(0,0,0,.7), 0 2px 6px -2px rgba(0,0,0,.4);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Tajawal', system-ui, sans-serif; font-weight: 500; color: var(--ink); min-height: 100dvh;
  background: radial-gradient(120% 60% at 50% -10%, var(--bg2), var(--bg) 60%) fixed, var(--bg);
  -webkit-tap-highlight-color: transparent; transition: background-color .4s, color .4s;
}
body::before { /* زخرفة هندسية خفيفة */
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M32 4 40 24 60 32 40 40 32 60 24 40 4 32 24 24Z'/%3E%3Ccircle cx='32' cy='32' r='8'/%3E%3C/g%3E%3C/svg%3E");
}
.sky { position: fixed; inset: 0 0 auto; height: 0; pointer-events: none; z-index: 0; }
[data-theme="night"] .sky { height: 320px; }
.moon { position: absolute; top: 26px; left: 26px; width: 34px; height: 34px; border-radius: 50%; box-shadow: -9px 4px 0 0 var(--gold2); transform: rotate(-20deg); opacity: 0; transition: opacity .6s; }
[data-theme="night"] .moon { opacity: .55; }
.st { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold2); opacity: 0; }
[data-theme="night"] .st { opacity: .5; animation: tw 4s ease-in-out infinite; }
.s1 { top: 40px; left: 30%; } .s2 { top: 90px; left: 12%; animation-delay: 1s !important; } .s3 { top: 60px; left: 55%; animation-delay: 2s !important; } .s4 { top: 130px; left: 75%; animation-delay: .5s !important; } .s5 { top: 24px; left: 88%; animation-delay: 3s !important; }
@keyframes tw { 50% { opacity: .1; } }

.app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 12px) 16px calc(var(--nav) + env(safe-area-inset-bottom) + 22px); }

/* الترويسة */
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto; }
.tools { flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.bt { display: flex; flex-direction: column; line-height: 1.15; }
.bt b { font-size: 18px; font-weight: 800; color: var(--em); white-space: nowrap; }
[data-theme="night"] .bt b { color: var(--gold2); }
.bt small { font-size: 11.5px; color: var(--goldd); letter-spacing: .5px; font-weight: 700; direction: ltr; text-align: right; }
[data-theme="night"] .bt small { color: var(--gold); }
.tools { display: flex; align-items: center; gap: 8px; }
.city { position: relative; display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px 0 4px; height: 40px; box-shadow: var(--shadow); }
.city .pin { color: var(--gold); width: 18px; height: 18px; margin-inline-start: 4px; display: inline-flex; }
.city .pin svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.city select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--ink); font: 700 14px 'Tajawal', sans-serif; padding: 0 4px 0 16px; height: 38px; max-width: 112px; text-overflow: ellipsis; cursor: pointer; outline: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: 4px 17px, 9px 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.city select option { color: #10302a; background: #fffdf7; }
.ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--em); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); padding: 0; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic .i-sun { display: none; }
[data-theme="night"] .ic { color: var(--gold2); }
[data-theme="night"] .ic .i-sun { display: block; } [data-theme="night"] .ic .i-moon { display: none; }
.dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 2px 14px; font-size: 14px; color: var(--mut); font-weight: 700; }
.dates #hijri { color: var(--em); } [data-theme="night"] .dates #hijri { color: var(--gold2); }
.dates .dot { color: var(--gold); }

/* البطاقات */
.view { display: none; } .view.on { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ch h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--em); display: flex; align-items: center; gap: 8px; }
.ch h2::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
[data-theme="night"] .ch h2 { color: var(--gold2); }
.meth { font-size: 12px; color: var(--mut); font-weight: 700; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(201,162,74,.16); color: var(--goldd); border: 1px solid rgba(201,162,74,.4); }
[data-theme="night"] .chip { color: var(--gold2); }

/* بطاقة العدّ */
.hero { color: #fbf3dc; border: 1px solid rgba(227,199,125,.45); padding: 20px 18px 16px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--em3) 0%, var(--em) 55%, var(--deep) 100%); }
[data-theme="night"] .hero { background: radial-gradient(120% 90% at 50% 0%, #0f5847 0%, #0a3d33 55%, #041d19 100%); }
.hero::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(227,199,125,.28); border-radius: 17px; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 2 30 18 46 24 30 30 24 46 18 30 2 24 18 18Z' fill='none' stroke='%23e3c77d' stroke-width='.8'/%3E%3C/svg%3E"); }
.lamp { position: absolute; top: -2px; right: 26px; width: 2px; height: 34px; background: linear-gradient(var(--gold2), var(--gold)); z-index: 1; }
.lamp::after { content: ""; position: absolute; top: 32px; left: -9px; width: 20px; height: 26px; border-radius: 10px 10px 5px 5px; background: radial-gradient(circle at 50% 60%, #fff3c4, var(--gold) 55%, var(--goldd)); box-shadow: 0 0 22px 6px rgba(240,205,120,.35); }
.hero > * { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: center; gap: 8px; align-items: center; }
.hero .chip { background: rgba(227,199,125,.16); color: var(--gold2); border-color: rgba(227,199,125,.5); }
.hero-city { font-size: 13px; color: rgba(251,243,220,.8); font-weight: 700; }
.hero h1 { margin: 10px 0 8px; font-size: 22px; font-weight: 800; color: var(--gold2); }
.clock { display: flex; justify-content: center; align-items: flex-start; gap: 6px; direction: ltr; }
.clock span { display: flex; flex-direction: column; align-items: center; min-width: 74px; }
.clock b { font-size: 52px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff8e6; text-shadow: 0 2px 14px rgba(227,199,125,.35); }
.clock small { font-size: 12px; color: rgba(251,243,220,.72); margin-top: 6px; }
.clock i { font-style: normal; font-size: 40px; line-height: 1.1; color: var(--gold); }
.clock.days span { min-width: 64px; } .clock.days b { font-size: 46px; }
.hero-sub { margin: 10px 0 2px; font-size: 14px; color: rgba(251,243,220,.85); min-height: 1em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mini { background: rgba(255,248,230,.07); border: 1px solid rgba(227,199,125,.28); border-radius: 15px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.mini small { font-size: 12.5px; color: rgba(251,243,220,.78); }
.mini b { font-size: 22px; font-weight: 800; color: #fff8e6; font-variant-numeric: tabular-nums; }
.mini em { font-style: normal; font-size: 12px; color: var(--gold2); min-height: 1em; }
.note { margin: 12px 0 0; font-size: 11.5px; color: rgba(251,243,220,.62); line-height: 1.6; }
.pv { margin-top: 10px; background: transparent; color: var(--gold2); border: 1px dashed rgba(227,199,125,.55); border-radius: 999px; padding: 6px 14px; font: 700 12.5px 'Tajawal', sans-serif; cursor: pointer; }

/* المواقيت */
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.plist li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: transform .2s; }
.plist li .pi { width: 26px; height: 26px; color: var(--gold); }
.plist li .pi svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plist li span { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.plist li b { font-size: 15px; font-weight: 800; color: var(--em); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist li b small { font-size: .68em; font-weight: 700; margin-inline-start: 2px; opacity: .85; }
[data-theme="night"] .plist li b { color: var(--gold2); }
.plist li.nx { background: linear-gradient(160deg, var(--em2), var(--em)); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 18px -8px rgba(11,74,58,.6); }
.plist li.nx span, .plist li.nx b { color: #fff8e6; } .plist li.nx .pi { color: var(--gold2); }
.plist li.past { opacity: .6; }
.next { margin: 12px 0 0; font-size: 13.5px; color: var(--mut); text-align: center; }
.next b { color: var(--em); } [data-theme="night"] .next b { color: var(--gold2); }

/* الورد */
.wrow { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 118px; height: 118px; flex: 0 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .rt { stroke: var(--bg2); }
.ring .rv { stroke: url(#g); stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.rc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rc b { font-size: 30px; font-weight: 800; color: var(--em); line-height: 1; } [data-theme="night"] .rc b { color: var(--gold2); }
.rc small { font-size: 12px; color: var(--mut); margin-top: 3px; }
.wtxt { flex: 1; min-width: 0; }
.wday { font-size: 12.5px; font-weight: 800; color: var(--goldd); } [data-theme="night"] .wday { color: var(--gold); }
.wtxt h3 { margin: 2px 0 4px; font-size: 22px; font-weight: 800; color: var(--ink); }
.wtxt p { margin: 0 0 10px; font-size: 16px; color: var(--mut); }
.quran { font-family: 'Amiri', 'Traditional Arabic', serif; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, var(--goldd)); color: #2a1f05; font: 800 14.5px 'Tajawal', sans-serif; box-shadow: 0 6px 16px -8px rgba(163,127,44,.9); }
.btn.done { background: linear-gradient(135deg, var(--em2), var(--em)); color: #fff8e6; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--em); border: 1.5px solid var(--gold); box-shadow: none; } [data-theme="night"] .btn.ghost { color: var(--gold2); }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 14px; }
.dots button { aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--mut); font: 700 11.5px 'Tajawal', sans-serif; cursor: pointer; padding: 0; }
.dots button.d { background: var(--em); color: #fff8e6; border-color: var(--em); } [data-theme="night"] .dots button.d { background: var(--gold); color: #1d1503; border-color: var(--gold); }
.dots button.t { outline: 2px solid var(--gold); outline-offset: 1px; }

/* الفائدة */
.faida { background: linear-gradient(180deg, var(--card), var(--bg)); }
.chip.ex { background: rgba(185,90,60,.1); color: #9a4a2e; border-color: rgba(185,90,60,.35); }
[data-theme="night"] .chip.ex { color: #e9a184; }
.hadith { margin: 0; padding: 14px 16px; font-size: 23px; line-height: 1.9; color: var(--ink); background: rgba(201,162,74,.08); border-radius: 16px; border-inline-start: 4px solid var(--gold); text-align: center; }
.src { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--em); text-align: center; } [data-theme="night"] .src { color: var(--gold2); }
.ph { margin: 10px 0 0; font-size: 12.5px; color: var(--mut); text-align: center; border-top: 1px dashed var(--line); padding-top: 10px; }

/* قريبًا */
.soon { text-align: center; padding: 42px 22px 34px; margin-top: 20px; }
.soon-ic { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 28px; display: grid; place-items: center; font-size: 44px; background: radial-gradient(circle at 50% 30%, var(--em3), var(--em) 60%, var(--deep)); color: var(--gold2); border: 1px solid var(--gold); box-shadow: 0 14px 30px -14px rgba(11,74,58,.8); }
.soon-ic svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.soon h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--em); } [data-theme="night"] .soon h2 { color: var(--gold2); }
.soon .soon-big { margin: 0 0 6px; padding-top: 6px; font: 700 44px/1.75 'Amiri', serif; color: var(--gold); background: linear-gradient(135deg, var(--gold2), var(--goldd)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.soon p { color: var(--mut); font-size: 15px; line-height: 1.8; margin: 0 0 18px; }
.credit { font-size: 11.5px; color: var(--mut); text-align: center; line-height: 1.8; padding: 6px 10px; }
.credit a { color: inherit; }

/* شريط التنقل */
.tabs { position: fixed; z-index: 5; bottom: calc(env(safe-area-inset-bottom) + 10px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 20px));
  display: grid; grid-template-columns: repeat(5, 1fr); height: var(--nav); padding: 6px; border-radius: 24px;
  background: rgba(255,253,247,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid var(--line); box-shadow: 0 14px 34px -12px rgba(6,48,42,.45); }
[data-theme="night"] .tabs { background: rgba(10,34,30,.88); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--mut); font-size: 12px; font-weight: 800; border-radius: 18px; transition: background .2s, color .2s; }
.tabs .ti { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { color: #fff8e6; background: linear-gradient(160deg, var(--em2), var(--em)); box-shadow: inset 0 0 0 1px rgba(227,199,125,.5); }
.tabs a.on .ti { stroke: var(--gold2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* أجهزة لوحية وسبورات ذكية */
@media (min-width: 760px) {
  .app { max-width: 980px; padding-inline: 28px; }
  #v-home.on { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: stretch; }
  #v-home .hero, #v-home .prayers { grid-column: 1 / -1; }
  #v-home .hero { padding: 30px 26px 22px; }
  .clock b { font-size: 74px; } .clock span { min-width: 104px; } .clock i { font-size: 56px; }
  .hero h1 { font-size: 28px; } .pair { max-width: 560px; margin-inline: auto; }
  .plist { gap: 12px; } .plist li b { font-size: 18px; } .plist li span { font-size: 15px; }
  .tabs { width: min(620px, calc(100% - 40px)); }
  .bt b { font-size: 22px; } .brand img { width: 54px; height: 54px; }
  .city select { max-width: 220px; }
}
@media (min-width: 1200px) and (min-aspect-ratio: 4/3) {
  .app { max-width: 1240px; zoom: 1.22; } .tabs { zoom: 1.22; }
  #v-home.on { grid-template-columns: 1.15fr 1fr 1fr; grid-template-areas: "hero pr pr" "hero wd fd"; }
  #v-home .hero { grid-column: auto; grid-area: hero; display: flex; flex-direction: column; justify-content: center; }
  #v-home .prayers { grid-column: auto; grid-area: pr; } #v-home .wird { grid-area: wd; } #v-home .faida { grid-area: fd; }
  .clock b { font-size: 84px; } .clock span { min-width: 112px; } .clock i { font-size: 62px; }
  .hero h1 { font-size: 34px; } .mini b { font-size: 28px; }
  .card { padding: 22px; } .ch h2 { font-size: 21px; } .hadith { font-size: 26px; }
  .plist li b { font-size: 22px; } .plist li span { font-size: 17px; } .plist li .pi { width: 32px; height: 32px; }
}
@media (max-width: 360px) {
  .clock b { font-size: 42px; } .clock span { min-width: 60px; } .bt small { display: none; } .city select { max-width: 96px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* سطر الملكية الثابت (كل الشاشات) */
.cpy { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--mut); opacity: .85; margin: 6px 0 0; padding: 8px 6px 2px; letter-spacing: .2px; }
.cpy span { color: var(--goldd); } [data-theme="night"] .cpy span { color: var(--gold); }
/* v2: شريط الموقع، نافذة الإذن، الإعدادات، التنبيه */
.locbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -6px 2px 14px; font-size: 12.5px; }
.loc { font-weight: 800; color: var(--ink); }
.lm { color: var(--mut); font-size: 11.5px; font-weight: 700; }
.lnk { background: none; border: 0; padding: 2px 0; color: var(--goldd); font: 800 12.5px 'Tajawal', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
[data-theme="night"] .lnk { color: var(--gold2); }
.chr { display: inline-flex; align-items: center; gap: 8px; }
.ic.sm { width: 32px; height: 32px; box-shadow: none; } .ic.sm svg { width: 17px; height: 17px; }
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(4,20,17,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .25s ease; }
.sheet[hidden] { display: none; }
.sh-card { width: min(520px, 100%); max-height: 88dvh; overflow: auto; background: var(--card); color: var(--ink); border-radius: 26px 26px 0 0; border: 1px solid var(--line); border-bottom: 0;
  padding: 22px 20px calc(env(safe-area-inset-bottom) + 22px); box-shadow: 0 -18px 40px -18px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) { .sheet { align-items: center; } .sh-card { border-radius: 26px; border-bottom: 1px solid var(--line); } }
.sh-card h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--em); text-align: center; } [data-theme="night"] .sh-card h2 { color: var(--gold2); }
.sh-card p { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.8; text-align: center; }
.sh-card .btn { width: 100%; height: 48px; font-size: 16px; }
.sh-ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; font-size: 34px; background: radial-gradient(circle at 50% 30%, var(--em3), var(--em) 60%, var(--deep)); border: 1px solid var(--gold); }
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.srow b { color: var(--em); white-space: nowrap; } [data-theme="night"] .srow b { color: var(--gold2); }
.srow span { text-align: left; color: var(--ink); font-weight: 700; }
.sbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .sbtns .btn { font-size: 14px; height: 44px; padding: 0 8px; }
.hint { font-size: 12.5px !important; text-align: start !important; }
.seg { border: 1px solid var(--line); border-radius: 16px; padding: 8px 12px 10px; margin: 4px 0 0; display: grid; gap: 6px; }
.seg legend { padding: 0 6px; font-weight: 800; color: var(--em); font-size: 14px; } [data-theme="night"] .seg legend { color: var(--gold2); }
.seg label, .tgl { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.seg input, .tgl input { accent-color: var(--em); width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.tgl small { display: block; font-size: 12px; font-weight: 500; color: var(--mut); line-height: 1.6; margin-top: 2px; }
.toast { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 22px); width: max-content; max-width: calc(100% - 32px);
  background: var(--deep); color: #fff8e6; border: 1px solid rgba(227,199,125,.5); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 26px -10px rgba(0,0,0,.6); text-align: center; animation: fade .25s ease; }
.toast[hidden] { display: none; }

/* ── v3: تبويب القرآن ── */
@font-face { font-family: 'KFGQPC Hafs'; src: url('fonts/UthmanicHafs.woff2') format('woff2'); font-weight: 400; font-display: swap; } /* v43: خط مجمع الملك فهد (fonts/LICENSE-KFGQPC-Hafs.txt) */
@font-face { font-family: 'Amiri Quran'; src: url('fonts/AmiriQuran.woff2') format('woff2'); font-weight: 400; font-display: block; }
body.qmode .dates, body.qmode .locbar { display: none; }
.wbtns { display: flex; flex-wrap: wrap; gap: 8px; } .wbtns .btn { padding: 0 14px; }
.lnk.cont { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--goldd); text-decoration: none; } [data-theme="night"] .lnk.cont { color: var(--gold2); }
.dots.n60 { grid-template-columns: repeat(12, 1fr); gap: 4px; } .dots.n60 button { font-size: 9.5px; border-radius: 6px; }
.dots.n15 { grid-template-columns: repeat(8, 1fr); }
.qcont { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding: 14px 16px;
  background: linear-gradient(135deg, var(--em2), var(--em) 60%, var(--deep)); border-color: rgba(227,199,125,.5); color: #fff8e6; }
.qc-ic { font-size: 26px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,248,230,.1); border: 1px solid rgba(227,199,125,.4); }
.qc-t { flex: 1; display: flex; flex-direction: column; gap: 2px; } .qc-t small { color: var(--gold2); font-weight: 800; font-size: 12.5px; } .qc-t b { font-size: 17px; } .qc-t em { font-style: normal; font-size: 12.5px; opacity: .8; }
.qc-go { font-size: 30px; color: var(--gold2); line-height: 1; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 12px; }
.seg3.two { grid-template-columns: 1fr 1fr; }
.seg3 button { height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--mut); font: 800 14px 'Tajawal', sans-serif; cursor: pointer; }
.seg3 button.on { background: linear-gradient(160deg, var(--em2), var(--em)); color: #fff8e6; box-shadow: inset 0 0 0 1px rgba(227,199,125,.5); }
.kday h3 { margin: 2px 0 2px; font-size: 21px; font-weight: 800; }
.kday p { margin: 0 0 8px; font-size: 17px; color: var(--mut); line-height: 1.7; }
.kbar { height: 8px; border-radius: 99px; background: var(--bg2); overflow: hidden; } .kbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); border-radius: 99px; transition: width .6s; }
.kpct { display: block; margin: 6px 0 12px; font-size: 12.5px; color: var(--mut); font-weight: 700; }
.qsearch { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 10px; }
.qsearch svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; flex: 0 0 auto; }
.qsearch input { flex: 1; border: 0; background: transparent; color: var(--ink); font: 700 15px 'Tajawal', sans-serif; outline: none; min-width: 0; }
.qlist { list-style: none; margin: 0; padding: 0; max-height: none; }
.qlist li + li { border-top: 1px solid var(--line); }
.qlist a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; text-decoration: none; color: inherit; }
.qn { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--em);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2l5.3 5.9 7.4-.6.6 7.4L39 20l-5.7 5.3-.6 7.4-7.4-.6L20 38l-5.3-5.9-7.4.6-.6-7.4L1 20l5.7-5.3.6-7.4 7.4.6Z' fill='none' stroke='%23c9a24a' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-theme="night"] .qn { color: var(--gold2); } .qn.d { color: #fff8e6; background-color: var(--em); border-radius: 50%; }
.qt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .qt b { font-size: 16px; font-weight: 800; } .qt small { font-size: 12.5px; color: var(--mut); }
.qp { font-size: 12px; color: var(--goldd); font-weight: 800; white-space: nowrap; } [data-theme="night"] .qp { color: var(--gold); }
.qempty { text-align: center; color: var(--mut); }
.qsrc { font-size: 11.5px; color: var(--mut); text-align: center; line-height: 1.8; margin: 4px 8px 10px; } .qsrc a { color: inherit; }
/* القارئ */
.rbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 8px 0; margin: -4px 0 8px; background: linear-gradient(var(--bg) 75%, transparent); }
.rbar .rt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; } .rbar .rt b { font-size: 17px; font-weight: 800; color: var(--em); } [data-theme="night"] .rbar .rt b { color: var(--gold2); }
.rbar .rt small { font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic.sm { width: 36px; height: 36px; box-shadow: none; } .ic.sm svg { width: 18px; height: 18px; }
.ic .ab { font: 800 13px 'Tajawal', sans-serif; } .ic .ab.lg { font-size: 19px; }
a.ic { text-decoration: none; }
.mushaf { --qfs: 27px; position: relative; background: #fffaf0; color: #1b1407; border-radius: 18px; padding: 14px 16px 12px; min-height: 60vh;
  border: 1px solid rgba(201,162,74,.55); box-shadow: var(--shadow), inset 0 0 0 5px #fffaf0, inset 0 0 0 6px rgba(201,162,74,.45); }
[data-theme="night"] .mushaf { background: #0c211d; color: #efe6cf; box-shadow: var(--shadow), inset 0 0 0 5px #0c211d, inset 0 0 0 6px rgba(212,176,98,.35); }
.mushaf .ph { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--goldd); border-bottom: 1px solid rgba(201,162,74,.35); padding: 2px 6px 6px; margin-bottom: 6px; }
[data-theme="night"] .mushaf .ph { color: var(--gold); }
.ptxt { font-family: 'KFGQPC Hafs', 'Amiri Quran', 'Amiri', serif; font-size: var(--qfs); line-height: 2.25; text-align: start; text-align-last: center; word-spacing: .04em; }
.ay { cursor: pointer; border-radius: 8px; transition: background .2s; -webkit-box-decoration-break: clone; box-decoration-break: clone; outline: none; }
@media (hover: hover) { .ay:hover { background: rgba(201,162,74,.10); } }
.ay.on, .bsm.on { background: rgba(201,162,74,.28); box-shadow: 0 0 0 2px rgba(201,162,74,.28); }
[data-theme="night"] .ay.on, [data-theme="night"] .bsm.on { background: rgba(212,176,98,.24); }
.mk { color: #a37f2c; white-space: nowrap; } .ptxt .mk { font-family: 'Amiri Quran', 'Amiri', serif; } /* v43: علامة ۝+الرقم تُركَّب بخط Amiri Quran */ [data-theme="night"] .mk { color: var(--gold2); }
.sh { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 10px 0 6px; padding: 8px 10px; font-family: 'Tajawal', sans-serif; line-height: 1.3;
  border-radius: 12px; color: #0b4a3a; border: 1.5px solid rgba(201,162,74,.75); background: linear-gradient(90deg, rgba(201,162,74,.12), rgba(201,162,74,.24), rgba(201,162,74,.12)); text-align: center; }
.sh span { font: 700 calc(var(--qfs) * .82)/1.4 'Amiri', serif; } .sh small { font-size: 11.5px; color: #6e5a26; font-weight: 700; }
[data-theme="night"] .sh { color: var(--gold2); } [data-theme="night"] .sh small { color: var(--mut); }
.bsm { text-align: center; font-size: calc(var(--qfs) * .95); line-height: 2; margin: 0 0 2px; border-radius: 8px; text-align-last: center; }
.mushaf .pf { text-align: center; font-size: 13px; font-weight: 800; color: var(--goldd); margin-top: 6px; } [data-theme="night"] .mushaf .pf { color: var(--gold); }
.mload { padding: 60px 10px; text-align: center; color: var(--mut); font-family: 'Tajawal', sans-serif; font-size: 15px; }
.pnav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 4px; } .pnav .btn { height: 40px; padding: 0 14px; } .pnav .btn:disabled { opacity: .4; cursor: default; }
.pno { font-size: 13px; font-weight: 800; color: var(--mut); }
.rhint { text-align: center; font-size: 12px; color: var(--mut); margin: 6px 0; }
.wend { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(201,162,74,.14); border: 1px solid rgba(201,162,74,.5); font-weight: 800; }
.wend[hidden], #player[hidden], .qcont[hidden], .qempty[hidden], .cont[hidden], .lnk[hidden] { display: none !important; }
/* المشغّل */
body.playing .app { padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 150px); }
.player { position: fixed; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + var(--nav) + 18px); width: min(540px, calc(100% - 24px));
  border-radius: 20px; padding: 10px 12px 8px; color: #fff8e6; background: linear-gradient(150deg, rgba(15,92,72,.97), rgba(6,48,42,.97)); border: 1px solid rgba(227,199,125,.55); box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); }
.pl-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .pl-t b { font-size: 14.5px; } .pl-t small { font-size: 11px; color: var(--gold2); }
.pl-c { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 6px 0 4px; }
.player .ic { background: rgba(255,248,230,.08); border-color: rgba(227,199,125,.35); color: #fff8e6; position: relative; }
.player .ic.on { color: var(--gold2); border-color: var(--gold2); background: rgba(227,199,125,.16); }
.player .ic i { position: absolute; bottom: -2px; left: -2px; font: 800 10px 'Tajawal', sans-serif; font-style: normal; background: var(--gold); color: #1d1503; border-radius: 99px; padding: 0 4px; }
.player .ic i:empty { display: none; }
.pl-pp { width: 50px; height: 50px; background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, var(--goldd)) !important; color: #2a1f05 !important; border: 0 !important; }
.pl-pp svg { width: 22px; height: 22px; fill: currentColor; } .pl-pp .i-pause { display: none; fill: none; stroke-width: 3; }
.player.on .pl-pp .i-play { display: none; } .player.on .pl-pp .i-pause { display: block; }
.pl-x { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; } .pl-x .lnk { background: none; border: 0; color: var(--gold2); font: 800 12px 'Tajawal', sans-serif; cursor: pointer; padding: 4px; }
.pl-x .lnk:disabled { opacity: .7; }
@media (min-width: 760px) {
  #v-quran.on { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 18px; align-items: start; }
  #v-quran .qcont, #v-quran .khatma { grid-column: 1; } #v-quran .qidx { grid-column: 2; grid-row: 1 / span 3; } #v-quran .qsrc { grid-column: 1; }
  #v-read.on { max-width: 760px; margin: 0 auto; } .mushaf { padding: 22px 30px 16px; }
}
/* ── v4: تحديد الآيات ومشاركتها ── */
.ay { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.ay.sel { background: rgba(19,112,87,.13); box-shadow: inset 0 -2px 0 rgba(201,162,74,.85); }
[data-theme="night"] .ay.sel { background: rgba(227,199,125,.13); }
.ay.sel.on { background: rgba(201,162,74,.3); }
.selbar { position: sticky; top: 54px; z-index: 5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: space-between; margin: 0 0 8px; padding: 8px 10px;
  border-radius: 16px; background: var(--card); border: 1px solid rgba(201,162,74,.6); box-shadow: 0 10px 22px -14px rgba(0,0,0,.45); }
.selbar[hidden] { display: none !important; }
.selbar.mode { border-color: var(--em3); box-shadow: 0 0 0 2px rgba(19,112,87,.25), 0 10px 22px -14px rgba(0,0,0,.45); }
.sel-i { display: flex; flex-direction: column; min-width: 0; flex: 1 1 140px; line-height: 1.3; } .sel-i b { font-size: 14.5px; color: var(--em); } [data-theme="night"] .sel-i b { color: var(--gold2); }
.sel-i small { font-size: 11.5px; color: var(--mut); }
.sel-b { display: flex; align-items: center; gap: 6px; } .sel-b .ic.on { background: var(--em); color: #fff8e6; border-color: var(--gold); }
.sel-sh { height: 36px !important; padding: 0 14px !important; font-size: 14px !important; }
.ic.sm svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shr { max-height: 94dvh; display: flex; flex-direction: column; gap: 10px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.shr-h { display: flex; align-items: center; justify-content: space-between; } .shr-h h2 { flex: 1; }
.shr-sel { font-weight: 800; color: var(--ink) !important; margin: -4px 0 0 !important; }
.shr-rng { display: flex; justify-content: center; gap: 14px; } .shr-rng .lnk { background: none; border: 0; cursor: pointer; font: 800 13px 'Tajawal', sans-serif; color: var(--goldd); padding: 2px 4px; }
[data-theme="night"] .shr-rng .lnk { color: var(--gold2); }
.shr .seg3 { margin-bottom: 0; }
.shr-l { font-size: 13px; color: var(--em); font-weight: 800; margin-bottom: -4px; } [data-theme="night"] .shr-l { color: var(--gold2); }
#shr-media { display: flex; flex-direction: column; gap: 10px; } #shr-media[hidden] { display: none; }
.plats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.plats button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font-family: 'Tajawal', sans-serif; min-height: 70px; }
.plats svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--em); } [data-theme="night"] .plats svg { color: var(--gold2); }
.plats b { font-size: 11px; font-weight: 800; line-height: 1.25; text-align: center; } .plats small { font-size: 10.5px; color: var(--mut); font-weight: 800; }
.plats button.on { border-color: var(--gold); background: linear-gradient(160deg, var(--em2), var(--em)); color: #fff8e6; } .plats button.on svg { color: var(--gold2); } .plats button.on small { color: var(--gold2); }
.shr-pv { display: flex; align-items: center; gap: 6px; } .shr-pv > .ic { visibility: hidden; flex: 0 0 auto; } .shr-pv.multi > .ic { visibility: visible; }
.shr-stage { flex: 1; display: flex; justify-content: center; min-width: 0; }
.shr-stage canvas, .shr-stage video { display: block; max-width: 100%; max-height: 42dvh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.55); background: #052a21; }
.shr-stage canvas[hidden], .shr-stage video[hidden] { display: none; }
.shr-pvn, .shr-info { font-size: 12.5px !important; margin: -4px 0 0 !important; } .shr-pvn:empty { display: none; }
.shr-warn { font-size: 12.5px !important; color: #8a4b00 !important; background: rgba(230,160,40,.14); border: 1px solid rgba(230,160,40,.45); border-radius: 12px; padding: 8px 10px; }
[data-theme="night"] .shr-warn { color: #f2c27a !important; } .shr-warn[hidden] { display: none; }
.shr-mon { justify-content: center; font-size: 12.5px !important; color: var(--mut); } #shr-media:not(.vid) .shr-mon { display: none; }
.vprog { height: 6px; border-radius: 99px; background: var(--bg2); overflow: hidden; } .vprog[hidden] { display: none; } .vprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .3s; }
.shr-txt { width: 100%; min-height: 34dvh; resize: vertical; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 12px; font: 400 20px/1.9 'Amiri Quran', 'Amiri', serif; }
.shr-txt[hidden] { display: none; }
.shr .sbtns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; } .shr .sbtns .btn { height: 46px; font-size: 15px; } .shr .btn:disabled { opacity: .5; }
.shr .qsrc { margin: 0; }
body.shr-open { overflow: hidden; }
.shr-mon[hidden] { display: none !important; }

/* v6: هوية الاسم (من BRAND) — سطر آية خفيف تحت الترويسة + بطاقة «عن التطبيق» في «المزيد» */
.tagline { margin: 4px auto 6px; padding-top: 4px; max-width: 34em; text-align: center; font-family: 'Amiri Quran', 'Amiri', serif; font-size: clamp(12px, 3.35vw, 15px); line-height: 2.15; text-wrap: balance; color: var(--goldd); opacity: .92; }
[data-theme="night"] .tagline { color: var(--gold); }
.tagline[data-tag=""], .about-tag[data-tag=""] { display: none; }
.about { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 12px; }
.about[hidden] { display: none; }
.about img { width: 64px; height: auto; } .about h2 { margin: 0; color: var(--em); } [data-theme="night"] .about h2 { color: var(--gold2); }
.about-tag { font-family: 'Amiri Quran', 'Amiri', serif; font-size: 19px; line-height: 2; color: var(--goldd); margin: 0; } .about-tag small { font-family: 'Tajawal', sans-serif; font-size: 11px; color: var(--mut); }
.about p { margin: 0; font-size: 13.5px; line-height: 1.7; } .about .about-c { font-size: 12px; color: var(--mut); }
.about .about-l { font-size: 13px; } .about .about-l a { color: var(--em); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; } [data-theme="night"] .about .about-l a { color: var(--gold2); }
/* v17: فائدة اليوم الموثّقة • مصدر المواقيت • حالات التحميل • المزيد */
.chip.ok { background: rgba(11,74,58,.08); color: var(--em); border-color: rgba(201,162,74,.55); } [data-theme="night"] .chip.ok { color: var(--gold2); }
.fd-n { margin: 10px 0 0; font-size: 12.5px; color: var(--mut); text-align: center; border-top: 1px dashed var(--line); padding-top: 10px; }
.psrc { margin: 12px 0 0; padding: 9px 12px; font-size: 12.5px; line-height: 1.75; color: var(--mut); border: 1px solid rgba(201,162,74,.45); border-radius: 14px; background: linear-gradient(180deg, rgba(201,162,74,.08), transparent); }
.psrc b { color: var(--em); font-weight: 800; } [data-theme="night"] .psrc b { color: var(--gold2); }
#settings select#set-meth { max-width: 62%; font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 12px; border: 1px solid rgba(201,162,74,.6); background: var(--card); color: inherit; }
.mload:empty { min-height: 120px; display: grid; place-items: center; }
.mload:empty::after { content: "جارٍ التحميل…"; opacity: 0; color: var(--mut); animation: mlIn .3s ease 1.2s forwards; }
@keyframes mlIn { to { opacity: 1; } }
.nojs { margin: 16px; padding: 14px; border-radius: 16px; background: #0b4a3a; color: #f3d27a; text-align: center; font-weight: 700; }
.mmode .cpy { display: none; }

/* ══ v18: الرئيسية — ١) الصلاة القادمة ٢) ورد اليوم ٣) ذكر الوقت، ثم الأدوات والفائدة ══ */
.hero { padding: 16px 16px 14px; }
.hero-top { justify-content: space-between; }
.nxp { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 6px; }
.nxp-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold2); background: radial-gradient(circle at 35% 30%, rgba(255,243,196,.28), rgba(227,199,125,.08) 60%); border: 1px solid rgba(227,199,125,.5); box-shadow: inset 0 -3px 6px rgba(0,0,0,.25), 0 4px 12px -4px rgba(0,0,0,.4); }
.nxp-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin: 0; font-size: 26px; }
.nxp-at { font-size: 24px; font-weight: 800; color: #fff8e6; font-variant-numeric: tabular-nums; padding-inline-start: 10px; border-inline-start: 1px solid rgba(227,199,125,.45); white-space: nowrap; }
.nxp-at small { font-size: .6em; color: var(--gold2); margin-inline-start: 2px; }
.hero .clock b { font-size: 46px; } .hero .clock span { min-width: 66px; } .hero .clock i { font-size: 34px; } .hero .clock small { margin-top: 4px; font-size: 11.5px; }
.hero-sub { font-size: 12.5px; margin: 6px 0 0; min-height: 0; color: rgba(251,243,220,.75); } .hero-sub:empty { display: none; }
.hero .plist { margin-top: 12px; gap: 5px; }
.hero .plist li { padding: 7px 2px 6px; gap: 3px; border-radius: 12px; background: rgba(255,248,230,.06); border-color: rgba(227,199,125,.22); }
.hero .plist li .pi { width: 18px; height: 18px; color: var(--gold2); }
.hero .plist li span { font-size: 12px; color: rgba(251,243,220,.85); }
.hero .plist li b { font-size: 13px; color: #fff8e6; }
.hero .plist li.nx { background: linear-gradient(160deg, var(--gold2), var(--gold) 60%, var(--goldd)); border-color: #f7e3a6; transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(0,0,0,.55); }
.hero .plist li.nx span, .hero .plist li.nx b, .hero .plist li.nx .pi { color: #2a1f05; }
.hero .plist li.past { opacity: .55; }
[data-theme="night"] .hero .plist li b { color: #fff8e6; } [data-theme="night"] .hero .plist li.nx b { color: #2a1f05; }
.ramx { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; } .ramx[hidden] { display: none; }
.ramx .mini { padding: 7px 8px; } .ramx .mini b { font-size: 18px; } .ramx .mini small { font-size: 11.5px; }
.ramx .mini.on { background: rgba(227,199,125,.16); border-color: var(--gold2); box-shadow: inset 0 0 0 1px rgba(227,199,125,.35); }
.ramc { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: rgba(251,243,220,.9); }
.ramc b { font-size: 20px; color: var(--gold2); font-variant-numeric: tabular-nums; margin: 0 4px; }
.ramx .tl-hlink { grid-column: 1 / -1; margin: 0 auto; padding: 4px 14px; font-size: 13px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.hf-m { display: inline-flex; align-items: center; gap: 6px; } .hero .meth { color: rgba(251,243,220,.78); font-size: 11.5px; }
.hero .ic.sm { width: 32px; height: 32px; background: rgba(255,248,230,.08); border-color: rgba(227,199,125,.45); color: var(--gold2); box-shadow: none; } .hero .ic.sm svg { width: 17px; height: 17px; }
.ram-in { font-size: 11.5px; color: rgba(251,243,220,.72); font-weight: 700; } .ram-in:empty { display: none; }
.hero .pv { margin: 0; padding: 4px 12px; font-size: 11.5px; }
.hero .psrc { margin: 10px 0 0; padding: 7px 10px; font-size: 11.5px; line-height: 1.7; color: rgba(251,243,220,.78); border-color: rgba(227,199,125,.32); background: rgba(0,0,0,.12); text-align: start; }
.hero .psrc b { color: var(--gold2); }
.hero .next { display: none; }
#v-home .note { display: none; }

/* ٢) ورد اليوم */
.wird .wrow { gap: 14px; align-items: center; }
.wird .ring { width: 68px; height: 68px; } .wird .rc b { font-size: 24px; }
.wird .wtxt h3 { margin: 2px 0 2px; font-size: 19px; } .wird .wtxt p { font-size: 14.5px; margin: 0 0 8px; line-height: 1.6; }
.wbar { height: 7px; border-radius: 99px; background: var(--bg2); overflow: hidden; } .wbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); border-radius: 99px; transition: width .6s; }
.wpct { display: block; margin-top: 5px; font-size: 11.5px; color: var(--mut); font-weight: 700; }
.wgo { display: flex; flex-direction: column; gap: 0; height: auto; min-height: 52px; padding: 7px 16px; margin-top: 14px; width: 100%; border-radius: 18px; }
.wgo-t { font-size: 16px; } .wgo small { font-size: 12px; font-weight: 700; opacity: .8; }
.wird .wbtns { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.wird #wdone { flex: 1; height: 42px; } .wird #wread { font: 800 13px 'Tajawal', sans-serif; color: var(--goldd); text-decoration: none; padding: 6px 4px; } [data-theme="night"] .wird #wread { color: var(--gold2); }
.wdays { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.wdays summary { cursor: pointer; font-size: 12.5px; font-weight: 800; color: var(--mut); list-style: none; text-align: center; } .wdays summary::-webkit-details-marker { display: none; }
.wdays summary::after { content: " ▾"; color: var(--gold); } .wdays[open] summary::after { content: " ▴"; }
.wdays .dots { margin-top: 10px; }

/* ٣) ذكر الوقت + سبحة */
.qd-go { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; text-decoration: none; color: #fff8e6;
  background: linear-gradient(150deg, var(--em3), var(--em) 60%, var(--deep)); border: 1px solid rgba(227,199,125,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px -10px rgba(6,48,42,.8); }
.qd-ic { width: 54px; height: 54px; flex: 0 0 auto; } .qd-ic .dr-med { width: 100%; height: 100%; }
.qd-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .qd-t b { font-size: 18px; font-weight: 800; color: var(--gold2); } .qd-t small { font-size: 12px; color: rgba(251,243,220,.82); line-height: 1.5; }
.qd-cta { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #2a1f05; background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, var(--goldd)); box-shadow: 0 5px 12px -6px rgba(0,0,0,.6); }
.qd-go.done .qd-cta { background: transparent; color: var(--gold2); border: 1px solid rgba(227,199,125,.6); box-shadow: none; }
.qd-alt { display: flex; gap: 8px; margin-top: 8px; } .qd-alt a { flex: 1; text-align: center; padding: 7px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--em); font-size: 12.5px; font-weight: 800; text-decoration: none; }
.qd-alt a.d { color: var(--mut); } [data-theme="night"] .qd-alt a { color: var(--gold2); }
.qsb { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.qt-tap { position: relative; width: 68px; height: 68px; flex: 0 0 auto; border-radius: 50%; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at 38% 30%, #fff6d6, var(--gold2) 35%, var(--gold) 65%, var(--goldd)); box-shadow: inset 0 -6px 10px rgba(110,80,20,.45), inset 0 4px 8px rgba(255,255,255,.5), 0 10px 18px -8px rgba(110,80,20,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2a1f05; transition: transform .12s; }
.qt-tap svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); pointer-events: none; }
.qt-tap circle { fill: none; stroke-width: 6; } .qt-tap .rt { stroke: rgba(11,74,58,.12); } .qt-tap .rv { stroke: var(--em); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .25s; }
[data-theme="night"] .qt-tap .rv { stroke: #f7e3a6; }
.qt-tap b { position: relative; font-size: 22px; font-weight: 800; line-height: 1; } .qt-tap small { position: relative; font-size: 10px; font-weight: 800; opacity: .75; }
.qt-tap.hit { animation: qtHit .18s ease; } .qt-tap.full { box-shadow: 0 0 0 3px var(--em), inset 0 -6px 10px rgba(110,80,20,.45), 0 10px 18px -8px rgba(110,80,20,.7); }
@keyframes qtHit { 50% { transform: scale(.94); } }
.qt-i { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.qt-i > small { font-size: 12px; color: var(--mut); font-weight: 800; }
.qt-p { border: 1px solid rgba(201,162,74,.6); background: var(--bg); color: var(--em); border-radius: 999px; padding: 5px 12px; font: 800 14px 'Tajawal', sans-serif; cursor: pointer; } .qt-p::after { content: " ⇆"; color: var(--gold); }
[data-theme="night"] .qt-p { color: var(--gold2); }
.qt-day { font-size: 12px; color: var(--mut); } .qt-day:empty { display: none; }
.qt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qt-rs { border: 1px dashed rgba(201,162,74,.7); background: transparent; color: var(--mut); border-radius: 999px; padding: 2px 10px; font: 800 11.5px 'Tajawal', sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qt-rs.arm { border-style: solid; border-color: #b8432f; color: #b8432f; background: rgba(184,67,47,.08); }
[data-theme="night"] .qt-rs { color: var(--gold2); }
.qt-i .lnk { font: 800 12.5px 'Tajawal', sans-serif; color: var(--goldd); text-decoration: none; } [data-theme="night"] .qt-i .lnk { color: var(--gold2); }

/* الأدوات: شبكة هادئة */
.hm-tools { margin: 4px 0 14px; }
.hm-h { margin: 0 4px 8px; font-size: 14px; font-weight: 800; color: var(--mut); }
.hm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hm-t { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; transition: transform .15s, border-color .15s; }
.hm-t .dr-med { width: 42px; height: 42px; } .hm-t b { font-size: 12px; font-weight: 800; line-height: 1.3; text-align: center; }
.hm-t:hover, .hm-t:focus-visible { border-color: rgba(201,162,74,.7); transform: translateY(-1px); }

/* سطح المكتب واللوحي */
@media (min-width: 760px) {
  #v-home.on { grid-template-columns: 1fr 1fr; grid-template-areas: "hero hero" "wd qd" "tl tl" "fd fd"; } #v-home.on:has(#vf-ann) { grid-template-areas: "hero hero" "wd qd" "an an" "tl tl" "fd fd"; }
  #v-home .hero { grid-column: auto; grid-area: hero; padding: 22px 24px 18px; } #v-home .wird { grid-area: wd; } #v-home .qd { grid-area: qd; } #v-home .hm-tools { grid-area: tl; } #v-home .faida { grid-area: fd; }
  .hero .clock b { font-size: 64px; } .hero .clock span { min-width: 92px; } .hero .clock i { font-size: 48px; }
  .hero .plist li b { font-size: 15px; } .hero .plist li span { font-size: 13px; }
  .hm-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 1200px) and (min-aspect-ratio: 4/3) {
  #v-home.on { grid-template-columns: 1.2fr 1fr 1fr; grid-template-areas: "hero wd qd" "tl tl fd"; } #v-home.on:has(#vf-ann) { grid-template-areas: "hero wd qd" "an an an" "tl tl fd"; }
  #v-home .hero { justify-content: flex-start; }
  .hero .clock b { font-size: 60px; } .hero .clock span { min-width: 84px; } .hero .clock i { font-size: 44px; }
  .hero h1 { font-size: 28px; } .nxp-at { font-size: 26px; } .ramx .mini b { font-size: 20px; }
  .hero .plist li b { font-size: 14px; } .hero .plist li span { font-size: 12.5px; } .hero .plist li .pi { width: 20px; height: 20px; }
  .hm-grid { grid-template-columns: repeat(4, 1fr); } .hm-t .dr-med { width: 46px; height: 46px; }
  #v-home .faida .hadith { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .qt-tap.hit { animation: none; } }
.hmode .locbar { display: none; } .hmode .dates { margin-bottom: 10px; }
.hero-top { padding-inline-start: 34px; }
@media (min-width: 760px) { #v-home .vf-ann { grid-area: an; margin: 0; } }
.hero .psrc { display: flex; align-items: center; gap: 8px; } .hero .psrc p { margin: 0; flex: 1; } .hero .psrc .meth { font-size: inherit; color: #fff8e6; font-weight: 800; }
.hero .psrc .ic.sm { flex: 0 0 auto; }
.hero-foot:not(:has(:not([hidden]):not(:empty))) { display: none; }
#v-home .tl-hlink { display: none; }
@media (max-width: 759px) {
  #v-home .hero { padding: 12px 14px 12px; } .hero .hero-top { margin: 0; } .nxp { margin: 6px 0 2px; }
  .hero .psrc { margin-top: 8px; padding: 6px 9px; line-height: 1.6; } .hero-foot { margin-top: 6px; }
  .hero .clock b { font-size: 42px; } .hero .clock i { font-size: 30px; }
}

/* ═══ v19: إعلان «مثبّت فوق» — شريط ذهبي رفيع ═══ */
.vf-pin { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 0 4px 0 12px; min-height: 36px; border-radius: 999px;
  background: linear-gradient(180deg, #f9e7a6, #e3c77d 55%, #c9a24a); border: 1px solid #f7e3a6; box-shadow: 0 1px 0 #fff6cf inset, 0 -2px 0 rgba(125,92,24,.25) inset, 0 6px 14px -8px rgba(125,92,24,.75); color: #2a1f05; }
body:not(.hmode) .vf-pin { display: none; }
.vf-pin-m { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-height: 36px; }
.vf-pin-ic { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #12866a, #0b5d45 70%); box-shadow: 0 0 0 1.5px #fff3c4; }
.vf-pin-ic svg { width: 13px; height: 13px; fill: #f3d27a; }
.vf-pin-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; font-weight: 800; }
.vf-pin-go { flex: 0 0 auto; font-size: 20px; font-weight: 800; color: #0b5d45; line-height: 1; padding-inline: 2px; }
a.vf-pin-m:focus-visible { outline: 2px solid #0b5d45; outline-offset: 2px; border-radius: 999px; }
.vf-pin-x { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(42,31,5,.1); color: #2a1f05; font-size: 18px; line-height: 1; cursor: pointer; }
.vf-pin-x:hover { background: rgba(42,31,5,.18); }
.vf-ann-go { display: inline-block; margin-top: 4px; font-weight: 800; font-size: 13px; color: var(--em); }
[data-theme="night"] .vf-ann-go { color: var(--gold2); }
.wbtns .wdays { flex: 0 0 auto; margin: 0; padding: 0; border: 0; } .wbtns .wdays[open] { flex: 1 0 100%; border-top: 1px dashed var(--line); padding-top: 8px; }

/* ═══ v19: الهاتف — البطاقات الثلاث في الشاشة الأولى ═══ */
@media (max-width: 759px) {
  .hmode .top { min-height: 0; } .hmode .brand img { width: 40px; height: 40px; }
  .hmode .tagline { margin-top: 4px; margin-bottom: 0; }
  .hmode .dates { margin: 2px 2px 8px; font-size: 12.5px; }
  #v-home .card { margin-bottom: 10px; }
  #v-home .hero { padding: 10px 12px 10px; }
  #v-home .hero .lamp { position: absolute; top: -2px; right: 18px; height: 22px; } .hero .lamp::after { top: 20px; width: 16px; height: 20px; left: -7px; }
  .hero .hero-top { margin: 0; padding-inline-start: 26px; min-height: 22px; } .hero .hero-top .chip { font-size: 11.5px; padding: 2px 10px; } .hero-city { font-size: 12px; }
  .nxp { margin: 4px 0 0; gap: 8px; } .nxp-ic { width: 30px; height: 30px; } .nxp-ic svg { width: 18px; height: 18px; }
  .hero h1 { font-size: 21px; } .nxp-at { font-size: 18px; padding-inline-start: 8px; }
  .hero .clock { gap: 2px; margin-top: 2px; } .hero .clock b { font-size: 34px; } .hero .clock span { min-width: 52px; } .hero .clock i { font-size: 24px; line-height: 1.2; }
  .hero .clock small { font-size: 9.5px; margin-top: 1px; }
  .hero-sub:empty { display: none; } .hero-sub { margin: 2px 0 0; font-size: 11.5px; }
  .hero .plist { margin-top: 6px; gap: 4px; } .hero .plist li { padding: 4px 1px 4px; gap: 0; border-radius: 10px; }
  .hero .plist li .pi { display: none; } .hero .plist li span { font-size: 11px; line-height: 1.35; } .hero .plist li b { font-size: 12px; line-height: 1.35; }
  .hero .plist li.nx { transform: none; }
  .ramx { margin-top: 6px; gap: 6px; } .ramx .mini { padding: 4px 6px; } .ramx .mini small { font-size: 10.5px; } .ramx .mini b { font-size: 16px; } .ramx .mini em { font-size: 10.5px; }
  .ramc { margin: 4px 0 0; font-size: 12px; }
  .hero-foot { margin-top: 5px; gap: 6px; font-size: 11px; min-height: 0; } .hero-foot .pv { font-size: 11px; padding: 2px 10px; min-height: 24px; }
  .hero .psrc { margin-top: 5px; padding: 3px 8px 3px 6px; gap: 6px; font-size: 10.5px; line-height: 1.5; border-radius: 12px; }
  .hero .psrc .ic.sm { width: 28px; height: 28px; }
  /* الورد */
  #v-home .wird { padding: 12px 14px 10px; } .wird .ch { margin-bottom: 6px; } .wird .ch h2 { font-size: 19px; }
  .wird .wrow { gap: 12px; } .wird .ring { width: 66px; height: 66px; } .wird .rc b { font-size: 18px; } .wird .rc small { font-size: 10px; }
  .wird .wday { font-size: 11.5px; } .wird h3 { font-size: 17px; margin: 0; } .wird #wfrom { font-size: 13px; margin: 0; line-height: 1.6; }
  .wird .wbar { margin-top: 4px; } .wird .wpct { font-size: 11px; }
  .wird .wgo { margin-top: 8px; min-height: 44px; padding: 4px 12px; } .wird .wgo-t { font-size: 15px; } .wird .wgo small { font-size: 11px; }
  .wird .wbtns { margin-top: 6px; gap: 6px; } .wird .wbtns .btn { min-height: 34px; height: 34px; font-size: 13px; padding: 0 12px; } .wird .wbtns .lnk { font-size: 12.5px; }
  .wbtns .wdays summary { font-size: 12px; }
  #v-home .qd { padding-top: 12px; } .qd .ch { margin-bottom: 6px; }
}
@media (max-width: 759px) {
  .hmode .dates { margin-top: 4px; }
  .ramx .mini em { display: none; } .ramx .mini { padding: 5px 6px; gap: 0; } .ramc { margin-top: 2px; }
  .wird .wbtns #wdone { height: 34px; min-height: 0; line-height: 1; padding-block: 0; }
}
/* v20: زر «أتممتُ ورد اليوم» في سطر واحد؛ و«أيام الختمة» تنزل لسطر مستقل عند ضيق العرض */
.wird .wbtns { flex-wrap: wrap; } .wird .wbtns #wdone { white-space: nowrap; }
@media (min-width: 760px) { .wird .wbtns .wdays { flex: 1 0 100%; text-align: center; } .wird .wbtns .wdays summary { text-align: center; } }
/* v29: اختيار القارئ */
.pl-rc { min-width: 0; flex: 0 1 auto; }
.pl-rc select { max-width: 52vw; appearance: none; -webkit-appearance: none; background: rgba(227,199,125,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e3c77d' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat 8px 50% / 10px 7px;
  border: 1px solid rgba(227,199,125,.5); color: var(--gold2); border-radius: 999px; padding: 4px 10px 4px 24px; font: 800 11.5px 'Tajawal', sans-serif; text-overflow: ellipsis; cursor: pointer; }
.pl-rc select option { color: #10261f; background: #fff8e6; }
.qrc .rc-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 7px; margin-top: 4px; }
.rc-c { display: grid; gap: 2px; justify-items: center; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 16px; padding: 9px 4px 8px; cursor: pointer; font: inherit; }
.rc-c b { font-size: 14px; } .rc-c small { font-size: 11px; color: var(--mut); }
.rc-c.on { border-color: var(--gold); background: linear-gradient(160deg, var(--em2), var(--em) 60%, var(--deep)); color: #fff8e6; box-shadow: 0 0 0 1px rgba(227,199,125,.45) inset, 0 6px 16px rgba(6,48,42,.18); }
.rc-c.on small { color: var(--gold2); }
.qrc .rc-n { margin: 6px 0 0; font-size: 12px; } .qrc .rc-n:empty { display: none; }

/* ── v36: تحسينات الواجهة ── */
/* الإشعار المؤقت أعلى الشاشة ولا يحجب النقر */
.toast { top: calc(env(safe-area-inset-top) + 10px); bottom: auto; pointer-events: none; }
/* مساحة سفلية كافية حتى لا يغطي شريط التنقل العائم أي محتوى */
.app { padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 44px); }
body.playing .app { padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 170px); }
/* بطاقة الترحيب */
.wel-card { text-align: center; }
.wel-card p { color: var(--mut); line-height: 1.8; margin: 0 0 14px; }
.wel-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.wel-acts .btn, .wel-card > .btn { width: 100%; margin: 0; }
@media (max-width: 359px) { .wel-acts { grid-template-columns: 1fr; } }
/* عرض الوقت بالعربية */
.tmw { position: relative; display: inline-flex; vertical-align: middle; }
.tmw input[type="time"] { color: transparent; -webkit-text-fill-color: transparent; }
.tmw input[type="time"]::-webkit-datetime-edit { opacity: 0; }
.tmw .tmv { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; font-weight: 800; color: var(--ink); direction: rtl; white-space: nowrap; }
/* أهداف لمس لا تقل عن ٤٤px على الجوال */
@media (max-width: 759px), (pointer: coarse) {
  button, a.btn, .lnk, select, input[type="time"], input[type="number"] { min-height: 44px !important; }
  button, select { min-width: 44px; }
  .city { height: 44px; }
  .sheet .ob-x { width: 44px; height: 44px; }
  .app input[type="checkbox"], .sheet input[type="checkbox"] { min-width: 22px; min-height: 22px; }
}
/* سطح المكتب: فهرس السور ثابت بجانب البطاقات مع تمرير داخلي بدل الفراغ الطويل */
@media (min-width: 760px) {
  #v-quran.on { grid-template-columns: 1fr 1.15fr; grid-auto-rows: min-content; }
  #v-quran > :not(.qidx) { grid-column: 1; }
  #v-quran .qidx { grid-column: 2; grid-row: 1 / span 30; position: sticky; top: 12px; display: flex; flex-direction: column;
    max-height: calc(100dvh - var(--nav) - 56px); }
  #v-quran .qidx .qlist { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
}
@media (min-width: 1200px) and (min-aspect-ratio: 4/3) {
  #v-quran .qidx { max-height: calc((100dvh - 40px) / 1.22 - var(--nav) - 30px); }
}

/* v64: تحديد الآيات بالأرقام + السورة كاملة + أجزاء الفيديو الطويل */
.shr-rng2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 6px 0 4px; font: 700 13px 'Tajawal', sans-serif; color: var(--ink, #1d2b24); }
.shr-rs { flex-basis: 100%; text-align: center; font-weight: 800; color: var(--goldd); }
.shr-rng2 label { display: inline-flex; align-items: center; gap: 6px; }
.shr-rng2 input { width: 64px; padding: 7px 6px; border: 1.5px solid rgba(160,120,40,.45); border-radius: 10px; font: 800 15px 'Tajawal', sans-serif; text-align: center; background: #fffdf6; color: #1d2b24; }
.shr-rng2 input:focus { outline: 2px solid var(--goldd); outline-offset: 1px; }
.shr-rgo, .shr-whole { border: 0; border-radius: 999px; padding: 8px 14px; font: 800 13px 'Tajawal', sans-serif; cursor: pointer; }
.shr-rgo { background: #0b5a43; color: #fff8e2; }
.shr-whole { background: linear-gradient(#f7e08f, #c99434); color: #3a2705; }
.shr-whole.on { box-shadow: 0 0 0 2px #0b5a43 inset; }
.shr-rerr { flex-basis: 100%; margin: 0; min-height: 0; text-align: center; color: #b3261e; font-size: 12.5px; }
.shr-rerr:empty { display: none; }
.shr-parts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; font: 700 12.5px 'Tajawal', sans-serif; }
.shr-parts b { flex-basis: 100%; text-align: center; }
.shr-parts button { border: 1.5px solid rgba(160,120,40,.5); background: #fffdf6; color: #3a2705; border-radius: 12px; padding: 5px 10px; font: 800 12.5px 'Tajawal', sans-serif; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.shr-parts button small { font-weight: 700; font-size: 11px; opacity: .8; }
.shr-parts button.on { background: #0b5a43; color: #fff8e2; border-color: #0b5a43; }
[data-theme="night"] .shr-rng2 { color: #efe2bd; } [data-theme="night"] .shr-rng2 input { background: #101d3d; color: #fffcf2; }
[data-theme="night"] .shr-rs { color: var(--gold2); }

/* ── v65: مشغّل التلاوة شريط مدمج أسفل الشاشة + خيارات الاستماع ── */
.player { padding: 6px 8px; border-radius: 16px; }
.pl-bar { display: flex; align-items: center; gap: 6px; }
.pl-bar .pl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; }
.pl-bar .pl-t b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pl-bar .pl-t small { font-size: 10.5px; color: var(--gold2); white-space: nowrap; }
.player .ic.sm { width: 34px; height: 34px; } .player .pl-pp { width: 42px; height: 42px; }
.player .pl-cl { background: none; border-color: transparent; } .player .pl-cl .ab { font-size: 13px; }
.pl-set { border-bottom: 1px solid rgba(227,199,125,.25); padding: 4px 2px 8px; margin-bottom: 6px; display: grid; gap: 8px; }
.pl-set[hidden] { display: none; }
.pl-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .pl-row[hidden] { display: none; }
.pl-lb { font: 800 12px 'Tajawal', sans-serif; color: var(--gold2); }
.pl-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.pl-chips button, .pl-go { font: 800 12.5px 'Tajawal', sans-serif; color: #fff8e6; background: rgba(255,248,230,.08); border: 1px solid rgba(227,199,125,.35); border-radius: 99px; padding: 5px 11px; cursor: pointer; min-width: 34px; }
.pl-chips button.on { color: #2a1f05; background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold2); }
.pl-go { color: #2a1f05; background: linear-gradient(135deg, var(--gold2), var(--gold)); border: 0; }
.pl-rng select, .pl-rng input { font: 700 12.5px 'Tajawal', sans-serif; color: #10261f; background: #fff8e6; border: 1px solid rgba(227,199,125,.6); border-radius: 8px; padding: 3px 4px; }
.pl-rng select { max-width: 92px; } .pl-rng input { width: 52px; }
.pl-set .pl-rc select { max-width: 100%; }
body.playing .app { padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 92px); }
.pl-rng { display: grid; gap: 6px; } .pl-rng[hidden] { display: none; }
.pl-rng .pl-lb { min-width: 22px; } .pl-rng select { flex: 1; max-width: 150px; } .pl-rng input { width: 58px; } .pl-go { margin-inline-start: auto; }
/* v69: أيقونات واجهة ذهبية خطية بدل الإيموجي */
.ui-i{display:inline-block;width:1.08em;height:1.08em;vertical-align:-.18em;margin-inline-end:.32em;background:var(--goldd);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;flex:none}
[data-theme="night"] .ui-i{background:var(--gold)}
.btn:not(.ghost) .ui-i,.wgo .ui-i{background:currentColor}
.ui-i.lg{width:34px;height:34px;margin:0;vertical-align:middle;background:var(--gold)}
.ui-pin{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-6.5-5.6-6.5-11a6.5%206.5%200%200%201%2013%200c0%205.4-6.5%2011-6.5%2011Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.4%22%2F%3E%3C%2Fsvg%3E")}
.ui-book{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205.5c3-1%206-1%209%201v13c-3-2-6-2-9-1zM21%205.5c-3-1-6-1-9%201v13c3-2%206-2%209-1z%22%2F%3E%3C%2Fsvg%3E")}
.ui-mic{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%223%22%20width%3D%226%22%20height%3D%2211%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M5.5%2011a6.5%206.5%200%200%200%2013%200M12%2017.5V21M8.5%2021h7%22%2F%3E%3C%2Fsvg%3E")}
.ui-bell{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2016V11a6%206%200%200%201%2012%200v5l1.5%202h-15zM10%2020.5a2%202%200%200%200%204%200%22%2F%3E%3C%2Fsvg%3E")}
.ui-mosque{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2020.5v-6a7%206%200%200%201%2014%200v6zM3%2020.5h18M12%203v3.5M10%2020.5v-3a2%202%200%200%201%204%200v3%22%2F%3E%3C%2Fsvg%3E")}
.ui-beads{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%224.2%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2216.6%22%20cy%3D%226%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2218.4%22%20cy%3D%2210.4%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2216.6%22%20cy%3D%2214.6%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.4%22%20cy%3D%226%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%225.6%22%20cy%3D%2210.4%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.4%22%20cy%3D%2214.6%22%20r%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M12%2016v2.5M10.3%2021.5%2012%2018.5l1.7%203z%22%2F%3E%3C%2Fsvg%3E")}
.ui-cal{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215.5%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M3.5%2010h17M8%203v4M16%203v4%22%2F%3E%3C%2Fsvg%3E")}
.ui-sound{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209.5h3.5L12%205.5v13l-4.5-4H4zM15.5%209a4%204%200%200%201%200%206M18%206.5a7.5%207.5%200%200%201%200%2011%22%2F%3E%3C%2Fsvg%3E")}
.ui-mute{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209.5h3.5L12%205.5v13l-4.5-4H4zM16%209.5l5%205M21%209.5l-5%205%22%2F%3E%3C%2Fsvg%3E")}
.ui-vib{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%223.5%22%20width%3D%228%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4.5%208.5v7M19.5%208.5v7M2%2010.5v3M22%2010.5v3%22%2F%3E%3C%2Fsvg%3E")}
.ui-vibx{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%223.5%22%20width%3D%228%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%203l18%2018%22%2F%3E%3C%2Fsvg%3E")}
.ui-eye{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2.5%2012S6%205.5%2012%205.5%2021.5%2012%2021.5%2012%2018%2018.5%2012%2018.5%202.5%2012%202.5%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E")}
.ui-sun{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%202.5v2.5M12%2019v2.5M2.5%2012H5M19%2012h2.5M5.3%205.3l1.8%201.8M16.9%2016.9l1.8%201.8M5.3%2018.7l1.8-1.8M16.9%207.1l1.8-1.8%22%2F%3E%3C%2Fsvg%3E")}
.ui-sunrise{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2017a5%205%200%200%201%2010%200M2.5%2017h19M12%203.5v4M5%209l2%201.8M19%209l-2%201.8M2.5%2020.5h19%22%2F%3E%3C%2Fsvg%3E")}
.ui-moon{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19.5%2014.5A8%208%200%201%201%209.5%204.5a6.5%206.5%200%200%200%2010%2010z%22%2F%3E%3C%2Fsvg%3E")}
.ui-scroll{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203.5h11a2%202%200%200%201%202%202v1.5h-4M7%203.5a2%202%200%200%200-2%202v13a2%202%200%200%200%202%202h9a2%202%200%200%200%202-2V7M7%203.5a2%202%200%200%201%202%202v13M12%209.5h3M12%2013h3%22%2F%3E%3C%2Fsvg%3E")}
.ui-lock{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210.5%22%20width%3D%2214%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010.5V8a4%204%200%200%201%208%200v2.5%22%2F%3E%3C%2Fsvg%3E")}
.ui-spark{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l1.8%205.2L19%2010l-5.2%201.8L12%2017l-1.8-5.2L5%2010l5.2-1.8zM18.5%2015.5l.8%202.2%202.2.8-2.2.8-.8%202.2-.8-2.2-2.2-.8%202.2-.8z%22%2F%3E%3C%2Fsvg%3E")}
.ui-image{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224.5%22%20width%3D%2218%22%20height%3D%2215%22%20rx%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2210%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M3.5%2017.5%209%2013l4%203.5%203-2.5%204.5%203.5%22%2F%3E%3C%2Fsvg%3E")}
.ui-film{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M10%209.2v5.6l4.6-2.8z%22%2F%3E%3C%2Fsvg%3E")}
.ui-note{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203.5h10l4%204v13H5zM15%203.5v4h4M8.5%2012h7M8.5%2015.5h7%22%2F%3E%3C%2Fsvg%3E")}
.ui-wheat{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021V8M12%208c-2-1-3-3-2.5-5%202%20.8%203%202.8%202.5%205zM12%208c2-1%203-3%202.5-5-2%20.8-3%202.8-2.5%205zM12%2013c-2.5%200-4-1.6-4.5-3.6%202.2-.2%204%201.2%204.5%203.6zM12%2013c2.5%200%204-1.6%204.5-3.6-2.2-.2-4%201.2-4.5%203.6zM12%2017.5c-2.5%200-4-1.6-4.5-3.6%202.2-.2%204%201.2%204.5%203.6zM12%2017.5c2.5%200%204-1.6%204.5-3.6-2.2-.2-4%201.2-4.5%203.6z%22%2F%3E%3C%2Fsvg%3E")}
.ui-bed{--m:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2019V6.5M3%2015h18v4M3%2012.5h18v2.5M21%2015v-1.5a3%203%200%200%200-3-3h-7v2%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2210.5%22%20r%3D%221.8%22%2F%3E%3C%2Fsvg%3E")}
/* v69: لافتة ألعاب الأطفال — أخضر داكن مسطّح وفانوس ذهبي */
.kidsc{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border-radius:22px;text-decoration:none;color:#fffcf2;background:#0b4a3a;border:1px solid rgba(227,199,125,.45);box-shadow:var(--shadow)}
[data-theme="night"] .kidsc{background:#0e3b31}
.kidsc-ic{flex:none;width:52px;height:52px}.kidsc-ic svg{width:100%;height:100%;display:block}
.kidsc-t{flex:1}.kidsc-t b{display:block;font-size:18px;color:#f3dc9a}.kidsc-t small{opacity:.92}
.kidsc-ch{font-size:22px;color:#e3c77d}
/* v69: تغميق النص الرمادي قليلًا */
:root{--mut:#4b5d55}
[data-theme="night"]{--mut:#b4c2b7}

/* v70: الرئيسية المضغوطة */
#v-home > .card { padding: 14px 14px; margin-bottom: 10px; border-radius: 18px; }
#hero .lamp { display: none; }
#hero .clock { transform: scale(.78); margin: -6px 0 -8px; }
#hero .psrc { display: none; }
#hero .hero-foot { margin-top: 6px; }
#hero .plist { gap: 6px; }
#hm-tools { margin: 4px 0 10px; }
#hm-tools .hm-grid { gap: 8px; }
#hm-tools .hm-grid > * { padding: 8px 4px !important; min-height: 0 !important; border-radius: 14px; }
#hm-tools .hm-grid svg.dr-med, #hm-tools .hm-grid .dr-med { width: 34px !important; height: 34px !important; }
#hm-tools .hm-grid b, #hm-tools .hm-grid span { font-size: 11.5px !important; }
.mk-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 10px; padding: 2px 16px 6px; scrollbar-width: none; }
.mk-strip::-webkit-scrollbar { display: none; }
.mk-strip > .card { flex: 0 0 84%; scroll-snap-align: center; margin: 0 !important; max-height: 250px; overflow: hidden; }
.mk-strip #qd .qsb { display: none; }
.mk-h { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 4px 6px; font: 800 14px 'Tajawal', sans-serif; color: var(--em); }
.mk-h small { color: var(--mut); font-size: 11.5px; }
#fr .fr-sl, #fr .fr-day { display: none; }
#fr.mk-open .fr-sl, #fr.mk-open .fr-day { display: block; }
#fr .fr-head { padding-bottom: 4px; }
.mk-more { display: block; width: 100%; margin-top: 8px; padding: 8px; border-radius: 12px; border: 1px dashed rgba(201,162,74,.6); background: transparent; color: var(--goldd); font: 800 13px 'Tajawal', sans-serif; }
.kidsc { padding: 10px 14px !important; margin: 6px 0 10px !important; }
.kidsc-ic { width: 40px !important; height: 40px !important; }

/* v71: زر تفعيل التنبيهات الموحّد */
#obc.obc-main { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #0b4a3a, #0e5c48); color: #fff; border: 1.5px solid #c9a24a; box-shadow: 0 6px 18px rgba(11,74,58,.22); }
#obc.obc-main[hidden] { display: none; }
#obc.obc-main .obc-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c9a24a; background: rgba(201,162,74,.12); color: #e6c877; }
#obc.obc-main .obc-ic .ui-i { background-color: #e6c877; width: 26px; height: 26px; }
#obc.obc-main .obc-t b { color: #f3dc9a; font-size: 15px; }
#obc.obc-main .obc-t small { color: rgba(255,255,255,.82); }
#obc.obc-main .obc-go { background: #c9a24a; color: #0b3a2e; font-weight: 800; border: 0; padding: 10px 16px; border-radius: 12px; }
.obc-ok { display: flex; align-items: center; gap: 6px; margin: 0 auto 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(201,162,74,.55); background: rgba(11,74,58,.06); color: var(--em); font: 700 12.5px 'Tajawal', sans-serif; cursor: pointer; }
.obc-ok[hidden] { display: none; }
.obc-ok .ui-i { width: 14px; height: 14px; background-color: #c9a24a; }
.obc-ok small { color: var(--mut); font-size: 11px; }

/* v72: دليل تفعيل التنبيهات */
.ngd { align-items: center; z-index: 30; }
.ngd-card { width: min(92vw, 380px); text-align: center; padding: 22px 20px 16px; border-radius: 22px; background: linear-gradient(160deg, #0b4a3a, #0e5c48); color: #fff; border: 1.5px solid #c9a24a; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ngd-ic { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c9a24a; background: rgba(201,162,74,.12); }
.ngd-ic .ui-i { width: 30px; height: 30px; background-color: #e6c877; }
.ngd-card h2 { margin: 0 0 4px; font: 800 19px 'Tajawal', sans-serif; color: #f3dc9a; }
.ngd-sub { margin: 0 0 12px; color: rgba(255,255,255,.85) !important; font-size: 13px; }
.ngd-steps { list-style: none; margin: 0 0 16px; padding: 0; text-align: right; display: grid; gap: 8px; }
.ngd-steps li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,74,.3); }
.ngd-steps .ui-i { flex: 0 0 22px; width: 22px; height: 22px; background-color: #e6c877; }
.ngd-steps b { display: block; font-size: 14px; color: #fff; }
.ngd-steps small { color: rgba(255,255,255,.75); font-size: 12px; }
.ngd-go { display: block; width: 100%; padding: 12px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #e6c877, #c9a24a); color: #0b3a2e; font: 800 16px 'Tajawal', sans-serif; }
.ngd-later { display: block; width: 100%; margin-top: 6px; padding: 9px; background: transparent; border: 0; color: rgba(255,255,255,.85); font: 700 14px 'Tajawal', sans-serif; }
.ngd-nm { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.8); cursor: pointer; }
.ngd-nm input { width: 18px; height: 18px; accent-color: #c9a24a; }
.ngd-card .ngd-sub { color: #e3ece6 !important; opacity: 1 !important; font-weight: 600; }
/* v73: قائمة «استماع» بجوار الآية — فوقها أو تحتها، لا تغطّيها */
.ql-menu { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); width: min(360px, calc(100vw - 20px)); overflow: auto; padding: 10px 12px 12px; border-radius: 16px; background: var(--card, #fffdf7); color: var(--ink, #1d1406); box-shadow: 0 10px 28px rgba(0,0,0,.28); border: 1px solid rgba(163,127,44,.35); font-family: 'Tajawal', sans-serif; }
.ql-menu[hidden] { display: none; }
.ql-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .ql-hd b { font-size: 14px; }
.ql-x { background: none; border: 0; font-size: 22px; line-height: 1; padding: 2px 6px; color: inherit; opacity: .6; cursor: pointer; }
.ql-ch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .ql-ch .btn { justify-content: center; min-height: 42px; padding: 6px 4px !important; font-size: 13px; white-space: normal; line-height: 1.3; } .ql-ch .btn.on { outline: 2px solid #a37f2c; }
.ql-rg { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px; border-radius: 12px; background: rgba(163,127,44,.1); font-size: 13.5px; } .ql-rg[hidden] { display: none; }
.ql-rg select { font: inherit; padding: 4px 6px; border-radius: 8px; min-width: 64px; } .ql-go { white-space: nowrap; padding: 7px 12px !important; }
.ql-rp { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; } .ql-rp > span { opacity: .75; }
#ql-rpt { display: flex; gap: 4px; } #ql-rpt button { min-width: 34px; height: 30px; border-radius: 9px; border: 1px solid rgba(163,127,44,.4); background: transparent; color: inherit; font: inherit; cursor: pointer; } #ql-rpt button.on { background: #a37f2c; color: #fff; border-color: #a37f2c; }
/* v74: شريط «تحديث متاح» (من لوحة الإدارة) + نص التحديث في دليل الفتح */
.vf-upd { display: flex; align-items: center; gap: 10px; padding: 10px 12px !important; margin-bottom: 10px; border: 1px solid rgba(201,162,39,.45); background: linear-gradient(135deg, rgba(201,162,39,.14), rgba(201,162,39,.05)); }
.vf-upd-ic svg { width: 26px; height: 26px; fill: none; stroke: #b08a1e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.vf-upd-tx { flex: 1; min-width: 0; } .vf-upd-tx b { display: block; font-size: 13.5px; } .vf-upd-tx p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.6; opacity: .9; }
.vf-upd-go { padding: 7px 14px !important; font-size: 13px; white-space: nowrap; }
.vf-upd-x { background: none; border: 0; font-size: 20px; line-height: 1; padding: 4px 6px; color: inherit; opacity: .6; cursor: pointer; }
#v-adhkar > .vf-ann, #v-quran > .vf-ann { margin-bottom: 12px; }
.ngd-card .ngd-new { margin: -4px 0 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff7dc !important; font-size: 13px; line-height: 1.7; }

/* v69 (2026-11-12): قارئ فيديو المشاركة — قائمة مضغوطة بنمط التطبيق (زمرّدي/ذهبي)، تظهر مع «صوت وصورة» فقط */
.shr-rcw { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .shr-rcw .shr-l { margin: 0; flex: 0 0 auto; } .shr-rcw .shr-l small { font-weight: 600; color: var(--mut); font-size: 11.5px; }
#shr-media:not(.vid) .shr-rcw { display: none; }
.shr-rcs { flex: 1 1 190px; min-width: 0; display: block; }
.shr-rcs select { width: 100%; height: 40px; appearance: none; -webkit-appearance: none; padding: 0 12px 0 34px; border-radius: 12px; border: 1px solid var(--gold); color: var(--ink); font: 800 14px 'Tajawal', sans-serif; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a24a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat 12px 50% / 10px 7px; }
.shr-rcs select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; } .shr-rcs select:disabled { opacity: .55; }
.shr-rcs select option { color: #10261f; background: #fff8e6; }

/* v77: زر مشاركة «فائدة اليوم» (يفتح لوحة مشاركة الدُّرر: صورة/فيديو/نص) */
.fd-acts { display: inline-flex; align-items: center; gap: 8px; }
.fd-sh { width: 34px; height: 34px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gold2); border: 1.5px solid var(--gold);
  background: radial-gradient(circle at 30% 25%, var(--em2), var(--em) 70%); box-shadow: 0 4px 10px -5px rgba(6,46,36,.85), inset 0 1px 0 rgba(255,255,255,.18); transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.fd-sh svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fd-sh svg circle { fill: currentColor; stroke: none; }
.fd-sh:active { transform: scale(.92); } .fd-sh:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
[data-theme="night"] .fd-sh { background: radial-gradient(circle at 30% 25%, #1f6b55, #0b4a3a 70%); }

/* v78 (2026-11-21، grokbot): مشاهد فيديو مشاركة الآية — تظهر مع «صوت وصورة» فقط */
.shr-vv { margin: 4px 0 8px; }
.shr-vvnote { font-size: 12.5px; color: var(--mut); margin: 0 0 6px; line-height: 1.55; }
.shr-scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin: 4px 0 2px; }
.shr-scenes .sc { position: relative; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 9/16; background: #10261f; padding: 0; color: #fff; font: inherit; }
.shr-scenes .sc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shr-scenes .sc span { position: absolute; bottom: 0; left: 0; right: 0; font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.62); text-align: center; padding: 2px 3px; line-height: 1.3; }
.shr-scenes .sc.on { border-color: var(--gold, #e8c77a); box-shadow: 0 0 0 1px var(--gold, #e8c77a); }
.shr-scenes .sc.auto { display: flex; align-items: flex-end; justify-content: center; }
.shr-scenes .sc.auto img { position: absolute; inset: 0; opacity: .85; }
.shr-scenes .sc.auto span { position: relative; background: rgba(16,38,31,.78); width: 100%; }
.shr-stage #shr-vvprev { display: block; max-width: 100%; max-height: 42dvh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.55); background: #052a21; object-fit: cover; }
.shr-stage #shr-vvprev[hidden] { display: none; }
#shr-media.vid #shr-tpl,
#shr-media.vid .shr-l-tpl { display: none; }

#shr-media.vid .shr-rcw { display: none; }
