/* v26: «تذكير قبل الأذان» — قسم في إعدادات المواقيت + جرس بطاقة الصلاة */
.rem { margin: 10px 0 4px; padding: 10px 12px 8px; border: 1.5px solid rgba(201,162,74,.55); border-radius: 18px; background: linear-gradient(180deg, rgba(201,162,74,.10), rgba(11,74,58,.04)); display: grid; gap: 8px; }
.rem-main b { color: var(--em); font-size: 15.5px; } [data-theme="night"] .rem-main b { color: var(--gold2); }
.rem-opts { display: grid; gap: 8px; } .rem-opts[hidden], .rem-ios[hidden], .rem-main[hidden] { display: none; }
.rem-pr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px 9px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rem-pr legend { padding: 0 6px; font-weight: 800; color: var(--em); font-size: 13.5px; } [data-theme="night"] .rem-pr legend { color: var(--gold2); }
.rem-pr label { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; cursor: pointer; background: var(--card); }
.rem-pr label:has(input:checked) { border-color: var(--gold); background: rgba(201,162,74,.16); }
.rem-pr input { accent-color: var(--em); width: 16px; height: 16px; margin: 0; }
.rem .srow { border-bottom: 0; padding: 2px 0; align-items: center; } .rem .srow select { min-width: 118px; }
.rem-ay .quran { font-family: 'Amiri Quran', 'Amiri', serif; font-size: 15.5px; line-height: 2; color: var(--ink); font-weight: 400; }
.rem-btns { grid-template-columns: 1.3fr 1fr 1fr !important; } .rem-btns .btn { height: 42px !important; font-size: 13px !important; padding: 0 6px !important; width: auto !important; }
.rem-btns .btn:disabled { opacity: .55; }
.rem-st { margin: 0; min-height: 0; color: var(--em) !important; font-weight: 700; } .rem-st:empty { display: none; } .rem-st.bad { color: #a4431f !important; }
[data-theme="night"] .rem-st { color: var(--gold2) !important; } [data-theme="night"] .rem-st.bad { color: #f0a27d !important; }
.rem-ios { font-size: 13.5px; line-height: 1.75; } .rem-ios > b { display: block; color: var(--em); font-size: 15px; } [data-theme="night"] .rem-ios > b { color: var(--gold2); }
.rem-ios p { margin: 4px 0; } .rem-ios ol { margin: 4px 0 6px; padding-inline-start: 22px; } .rem-ios li { margin: 3px 0; } .rem-ios small { color: var(--mut); display: block; }
.rem-shi { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: #1a73e8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .psrc .rem-bell { flex: 0 0 auto; } .hero .psrc .rem-bell .rb-on { opacity: 0; }
.hero .psrc .rem-bell.on { background: linear-gradient(135deg, #f3d27a, #c99a35); color: #0b4a3a; border-color: #f3d27a; } .hero .psrc .rem-bell.on .rb-on { opacity: 1; }
.rem-bell svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 360px) { .rem-btns { grid-template-columns: 1fr 1fr !important; } .rem-btns #rem-test { grid-column: 1 / -1; } }
/* v27: «تذكير بالذكر» — الإعدادات */
.dz-every { display: flex; align-items: center; gap: 8px; font-size: 14.5px; } .dz-every b { color: var(--em); } [data-theme="night"] .dz-every b { color: var(--gold2); }
.dz-every input { width: 86px; height: 40px; border-radius: 12px; border: 1.5px solid var(--gold); background: var(--card); color: var(--ink); font: 800 17px/1 inherit; text-align: center; padding: 0 6px; }
.dz-every input.bad { border-color: #c0532c; box-shadow: 0 0 0 3px rgba(192,83,44,.18); }
.dz-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.dz-chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 2px; font: 700 13px/1 inherit; cursor: pointer; white-space: nowrap; }
.dz-chip.on { border-color: var(--gold); background: linear-gradient(135deg, #f3d27a, #c99a35); color: #0b4a3a; }
.dz-hours { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; } .dz-hours > b { flex: 1 0 100%; color: var(--em); font-size: 13.5px; } [data-theme="night"] .dz-hours > b { color: var(--gold2); }
.dz-hours input { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 14px/1 inherit; padding: 0 8px; }
.dz-btns { grid-template-columns: 1fr 1fr !important; }
/* البطاقة داخل التطبيق: زمرّد وذهب بعمق ثلاثي الأبعاد، تختفي تلقائيًا */
.dz-toast { position: fixed; z-index: 9999; inset-inline: 0; top: auto; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; perspective: 900px; padding: 0 12px; }
.dz-toast[hidden] { display: none; }
.dz-card { pointer-events: auto; cursor: pointer; position: relative; overflow: hidden; width: min(440px, 100%); max-height: 25vh; direction: rtl; text-align: center; color: #fdf6e3; border-radius: 22px; padding: 10px 16px 14px;
  background: radial-gradient(120% 90% at 50% 0%, #1d7a5f 0%, #0e5a45 45%, #083c2f 100%);
  border: 1.5px solid #d9b25c; box-shadow: 0 1px 0 rgba(255,236,180,.55) inset, 0 -6px 18px rgba(0,0,0,.25) inset, 0 0 0 4px rgba(201,162,74,.18), 0 18px 38px rgba(4,32,25,.45), 0 6px 0 #6b5220;
  transform-origin: 50% 100%; transform: rotateX(50deg) translateY(24px); opacity: 0; }
.dz-card::before { content: ''; position: absolute; inset: 5px; border-radius: 17px; border: 1px solid rgba(243,210,122,.45); pointer-events: none; }
.dz-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,240,200,.22) 45%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.dz-toast.in .dz-card { animation: dzIn .7s cubic-bezier(.2,1.3,.4,1) forwards; } .dz-toast.in .dz-card::after { animation: dzShine 1.6s .5s ease-out; }
.dz-toast.out .dz-card { animation: dzOut .55s ease-in forwards; }
@keyframes dzIn { from { opacity: 0; transform: rotateX(-70deg) translateY(-30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dzOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: rotateX(35deg) translateY(-24px) scale(.97); } }
@keyframes dzShine { to { transform: translateX(120%); } }
.dz-orn { position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, #f3d27a, #c99a35, #f3d27a, transparent); }
.dz-top { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #f3d27a; letter-spacing: .2px; position: relative; }
.dz-ic { filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.dz-x { position: absolute; inset-inline-end: -6px; top: -4px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(243,210,122,.5); background: rgba(0,0,0,.18); color: #f3d27a; font: 700 18px/1 inherit; cursor: pointer; }
.dz-t { margin: 4px 0 2px; font-family: 'Amiri', 'Amiri Quran', serif; font-size: 17px; line-height: 1.55; font-weight: 700; color: #fff8e6; text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 18px rgba(243,210,122,.25); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.dz-f { margin: 0; font-size: 12px; line-height: 1.45; color: #e9dcb6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .dz-f[hidden] { display: none; }
.dz-bar { position: absolute; inset-inline: 18px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(243,210,122,.2); overflow: hidden; }
.dz-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f3d27a, #c99a35); transform-origin: right; }
.dz-toast.in .dz-bar i { animation: dzBar var(--dz-dur, 8s) linear forwards; }
@keyframes dzBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .dz-toast.in .dz-card { animation: none; opacity: 1; transform: none; } .dz-toast.out .dz-card { animation: none; opacity: 0; } .dz-card::after { display: none; } }
@media (max-width: 340px) { .dz-chips { grid-template-columns: repeat(3, 1fr); } }
/* v29: صوت الأذان */
.adh-h { display: grid; gap: 2px; } .adh-h b { color: var(--em); font-size: 15.5px; } [data-theme="night"] .adh-h b { color: var(--gold2); } .adh-h small { color: var(--mut); font-size: 12.5px; }
.adh-list { display: grid; gap: 6px; }
.adh-o { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 7px 9px; cursor: pointer; }
.adh-o input { accent-color: var(--em); width: 18px; height: 18px; flex: 0 0 auto; margin: 0; }
.adh-o span { flex: 1; display: grid; line-height: 1.35; } .adh-o b { font-size: 14px; } .adh-o small { font-size: 11.5px; color: var(--mut); }
.adh-o.on { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,74,.16), rgba(11,74,58,.05)); }
.adh-pv, .ob-pv { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 0; cursor: pointer; font: 800 14px/1 sans-serif; color: #2a1f05; background: linear-gradient(135deg, #f3d27a, #c9a24a 55%, #a37f2c); box-shadow: 0 2px 8px rgba(163,127,44,.35); }
.adh-pv.on, .ob-pv.on { background: linear-gradient(160deg, var(--em2), var(--em)); color: var(--gold2); }
.adh-bar { position: fixed; z-index: 30; top: calc(env(safe-area-inset-top) + 10px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 999px;
  background: linear-gradient(160deg, #0f5c48, #0b4a3a 60%, #06302a); color: #fff8e6; border: 1px solid rgba(227,199,125,.6); box-shadow: 0 10px 28px rgba(4,20,17,.35); font: 800 13.5px 'Tajawal', sans-serif; max-width: calc(100% - 24px); }
.adh-bar[hidden] { display: none; }
.adh-bar button { border: 0; border-radius: 999px; padding: 6px 12px; font: 800 12.5px 'Tajawal', sans-serif; color: #2a1f05; background: linear-gradient(135deg, #f3d27a, #c9a24a); cursor: pointer; }
/* v29: شاشة التفعيل الأولى */
.ob-card { position: relative; display: grid; gap: 9px; padding-top: 18px; background: linear-gradient(180deg, rgba(201,162,74,.10), transparent 140px), var(--card); }
.ob-x { position: absolute; top: 10px; left: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--mut); cursor: pointer; font-size: 14px; }
.ob-hd { text-align: center; display: grid; justify-items: center; gap: 4px; } .ob-hd h2 { margin: 0; color: var(--em); font-size: 19px; } [data-theme="night"] .ob-hd h2 { color: var(--gold2); } .ob-hd p { margin: 0; color: var(--mut); font-size: 13px; }
.ob-med { width: 54px; height: 54px; display: grid; place-items: center; font-size: 25px; border-radius: 50%; background: radial-gradient(circle at 40% 32%, #1d8a6c, #0b4a3a 60%, #05261f); box-shadow: 0 0 0 4px #e3c77d, 0 0 0 5px #a37f2c, 0 8px 18px rgba(6,48,42,.3); }
.ob-loc { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; padding: 7px 10px; border-radius: 12px; background: rgba(11,74,58,.06); border: 1px dashed rgba(201,162,74,.6); }
.ob-loc .lnk { background: none; border: 0; color: var(--goldd); font: 800 12.5px 'Tajawal', sans-serif; cursor: pointer; white-space: nowrap; } [data-theme="night"] .ob-loc .lnk { color: var(--gold2); }
.ob-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; border: 1.5px solid rgba(201,162,74,.55); background: linear-gradient(180deg, rgba(201,162,74,.09), rgba(11,74,58,.03)); cursor: pointer; }
.ob-row input { accent-color: var(--em); width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.ob-row span { display: grid; gap: 2px; } .ob-row b { font-size: 15px; color: var(--em); } [data-theme="night"] .ob-row b { color: var(--gold2); } .ob-row small { font-size: 12.5px; color: var(--mut); line-height: 1.5; }
.ob-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 14px 0 0; font-size: 13px; }
.ob-sub[hidden] { display: none; }
.ob-sub select, .ob-sub input { font: 700 13px 'Tajawal', sans-serif; border: 1px solid var(--line); border-radius: 10px; padding: 5px 6px; background: var(--card); color: var(--ink); }
.ob-sub select { flex: 1; min-width: 0; } .ob-sub input[type=number] { width: 58px; text-align: center; } .ob-sub input[type=time] { width: 92px; }
.ob-go { font-size: 16.5px; padding: 13px; background: linear-gradient(135deg, #f3d27a, #c9a24a 55%, #a37f2c) !important; color: #1d1503 !important; border: 0 !important; box-shadow: 0 8px 20px rgba(163,127,44,.35); }
.ob-help { border-radius: 14px; padding: 10px 12px; font-size: 13px; line-height: 1.7; background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.6); }
.ob-help[hidden] { display: none; } .ob-help b { color: var(--em); } [data-theme="night"] .ob-help b { color: var(--gold2); } .ob-help ol { margin: 4px 0; padding-inline-start: 20px; } .ob-help.ok { background: rgba(19,112,87,.10); border-color: rgba(19,112,87,.5); }
.obc { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid rgba(201,162,74,.6); background: linear-gradient(160deg, rgba(201,162,74,.14), rgba(11,74,58,.05)); position: relative; }
.obc[hidden] { display: none; } .obc-ic { font-size: 24px; } .obc-t { flex: 1; display: grid; gap: 1px; } .obc-t b { color: var(--em); font-size: 14.5px; } [data-theme="night"] .obc-t b { color: var(--gold2); } .obc-t small { color: var(--mut); font-size: 12px; }
.obc-go { padding: 8px 14px; font-size: 13.5px; background: linear-gradient(135deg, #f3d27a, #c9a24a) !important; color: #1d1503 !important; border: 0 !important; }
.obc-x { position: absolute; top: 4px; left: 6px; border: 0; background: none; color: var(--mut); cursor: pointer; font-size: 12px; }
/* v30: «الأذان الكامل والشاشة مقفولة» — داخل تطبيق Google Play فقط */
.nat { border-color: #d4af37; background: linear-gradient(180deg, rgba(11,74,58,.10), rgba(212,175,55,.10)); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.nat[hidden], .nat .tgl[hidden] { display: none; }
.nat-btns { grid-template-columns: 1fr 1fr !important; } .nat-btns .btn { height: 42px !important; font-size: 13px !important; padding: 0 6px !important; width: auto !important; }
.nat-pill { position: fixed; z-index: 9998; inset-inline: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 24px); bottom: max(16px, env(safe-area-inset-bottom)); border: 1.5px solid #f3d27a; border-radius: 999px; padding: 11px 18px;
  background: radial-gradient(120% 120% at 50% 0%, #1d7a5f, #083c2f); color: #fdf6e3; font: 800 14.5px/1.2 inherit; box-shadow: 0 10px 26px rgba(4,32,25,.4), 0 4px 0 #6b5220; cursor: pointer; }
.nat-pill[hidden] { display: none; }
/* v31: شريط «استمع» — حين يمنع المتصفح تشغيل التنبيه المسموع تلقائيًا (قبل أول لمسة) أو فات والتطبيق في الخلفية */
.rem-bn { position: fixed; z-index: 10000; inset-inline: 0; margin: 0 auto; top: max(12px, env(safe-area-inset-top)); width: max-content; max-width: calc(100% - 20px); display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 14px; border-radius: 18px; border: 1.5px solid #f3d27a; background: linear-gradient(135deg, #0c4a3e, #06302a); color: #fff8e6; box-shadow: 0 12px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12); font: 600 15px/1.45 Tajawal, system-ui, sans-serif; direction: rtl; animation: fade .25s ease; }
.rem-bn[hidden] { display: none; }
.rem-bn-ic { font-size: 20px; }
.rem-bn-t { flex: 1 1 auto; min-width: 0; }
.rem-bn-go { flex: none; border: 0; border-radius: 999px; padding: 9px 16px; background: linear-gradient(#f6dc8f, #d9ad45); color: #1d2a1f; font: 800 15px Tajawal, system-ui, sans-serif; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.rem-bn-x { flex: none; border: 0; background: transparent; color: #f3d27a; font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
/* ── v33: الصلاة على النبي ﷺ ── */
.sl-mk { font-style: normal; flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 50%; vertical-align: middle; font: 400 22px/1 'Amiri', serif; color: #0b4a3a; background: radial-gradient(circle at 40% 32%, #f8e39f, #d9ad45 62%, #a37f2c); box-shadow: 0 0 0 1.5px #0b4a3a, 0 2px 6px rgba(163,127,44,.35); }
.sl-mk, .sl-ic { font-style: normal; }
[data-theme="night"] .sl-mk { color: #05261f; }
.sl .dz-every { flex-wrap: wrap; } .sl-any { flex: 1 0 100%; color: var(--mut); font-size: 11.5px; }
.sl-vh { margin-top: 2px; }
.sl-list .adh-o b { font-family: 'Amiri', 'Tajawal', serif; font-size: 15px; }
.sl-toast .sl-card { background: radial-gradient(120% 90% at 50% 0%, #1d8a6c 0%, #0b4a3a 55%, #05261f 100%); box-shadow: 0 0 0 1.5px #c99a35, 0 18px 40px rgba(5,38,31,.45), inset 0 1px 0 rgba(255,240,200,.25); }
.sl-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 400 17px/1 'Amiri', serif; color: #0b4a3a; background: linear-gradient(135deg, #f3d27a, #c99a35); }
.sl-toast .sl-t { font-size: 18px; } .sl-toast.long .sl-t { font-size: 15px; line-height: 1.6; }
.sl-toast .sl-f { font-family: 'Amiri', serif; font-size: 13.5px; }
.ob-slo { row-gap: 6px; } .ob-slvw { display: flex; flex: 1 0 100%; gap: 6px; align-items: center; } .ob-slvw select { flex: 1; min-width: 0; }

/* v49 صيام التطوع */
.fs-ks { display: grid; gap: 6px; margin: 8px 0 4px; padding-inline-start: 6px; } .fs-ks.off { opacity: .5; } .fs-ks .tgl span { font-size: 13.5px; }
.rem.fs.hl { box-shadow: 0 0 0 3px rgba(201,162,74,.55); border-radius: 14px; transition: box-shadow .3s; }
.fsc { margin-top: 10px; }
.obc { padding-left: 26px; } .obc-x { top: 2px; left: 2px; padding: 6px; }

/* v51 العشر الأواخر */
.tn-hd { margin: 4px 0 8px; font-size: 15.5px; color: var(--em); } [data-theme="night"] .tn-hd { color: var(--gold2); }
.tn-pk { margin: 8px 0; border: 1px solid rgba(127,127,127,.25); border-radius: 12px; padding: 8px 10px; } .tn-pk summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.tn-l { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; } .tn-t { margin: 0; line-height: 1.9; font-size: 15px; } .tn-l small { color: var(--mut); font-size: 11.5px; }
.rem.tn.hl { box-shadow: 0 0 0 3px rgba(201,162,74,.55); border-radius: 14px; }
/* v66 الشروق والضحى وقيام الليل */
.nf-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 8px; padding-inline-start: 34px; font-size: 13.5px; }
.nf-sub[hidden] { display: none; } .nf-sub select, .nf-sub input { font: inherit; padding: 5px 8px; border-radius: 9px; border: 1px solid rgba(0,0,0,.18); background: transparent; color: inherit; }
[data-theme="night"] .nf-sub select, [data-theme="night"] .nf-sub input { border-color: rgba(255,255,255,.22); } [data-theme="night"] .nf-sub option { color: #111; }
.nf-today { font-size: 12.5px; opacity: .85; } .rem.nf.hl { box-shadow: 0 0 0 3px rgba(201,162,74,.55); border-radius: 14px; }
.nf-sub [hidden]{display:none!important}
.nf-sub .tmw:has(> #nf-qyt[hidden]){display:none!important}

/* v68: تنبيه الإقامة */
.rem.iq .iq-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:6px 0 10px}
.rem.iq .iq-p{display:flex;flex-direction:column;gap:4px;font-size:.9em}
.rem.iq .iq-p select{width:100%}
.rem.iq .iq-try{margin:2px 0 6px}

/* v86: أذان كل صلاة */
.adh-pp { display: grid; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.adh-pt { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.adh-tab { display: grid; gap: 1px; justify-items: center; padding: 8px 2px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.adh-tab b { font-size: 14px; } .adh-tab small { font-size: 10.5px; line-height: 1.25; color: var(--mut); text-align: center; max-width: 100%; overflow-wrap: anywhere; }
.adh-tab.cu small { color: var(--gold); font-weight: 700; }
.adh-tab.on { border-color: var(--gold); background: linear-gradient(160deg, var(--em2), var(--em)); color: #fff; box-shadow: 0 3px 10px rgba(11,74,58,.25); } .adh-tab.on small { color: var(--gold2); }
.adh-pd { display: grid; gap: 8px; padding: 10px; border-radius: 16px; border: 1.5px solid var(--line); background: linear-gradient(180deg, rgba(201,162,74,.08), transparent); }
.adh-pd-h { display: grid; gap: 2px; } .adh-pd-h b { color: var(--em); font-size: 15px; } [data-theme="night"] .adh-pd-h b { color: var(--gold2); } .adh-pd-h small { color: var(--mut); font-size: 12px; }
.adh-vol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .adh-vol > span { font-size: 13px; font-weight: 700; margin-inline-end: 4px; }
.adh-vol label { padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 12.5px; cursor: pointer; } .adh-vol label.on { border-color: var(--gold); background: rgba(201,162,74,.18); font-weight: 800; }
.adh-vol input { position: absolute; opacity: 0; pointer-events: none; }
.adh-warn { color: #b4541a; margin: 0; }
.adh-pd-a { display: flex; flex-wrap: wrap; gap: 8px; } .adh-pd-a button { border: 0; border-radius: 999px; padding: 8px 14px; font: 800 13px 'Tajawal', sans-serif; color: #2a1f05; background: linear-gradient(135deg, #f3d27a, #c9a24a); cursor: pointer; }
.adh-pd-a button.ghost { background: transparent; border: 1.5px solid var(--line); color: inherit; }
@media (max-width: 360px) { .adh-tab b { font-size: 12.5px; } .adh-tab small { font-size: 9.5px; } }
/* v88: التذكير كاملًا + مشاركة كبطاقة */
.dz-ic, .sl-ic { cursor: pointer; } .dz-ic:focus-visible, .sl-ic:focus-visible { outline: 2px solid #f3d27a; outline-offset: 2px; border-radius: 50%; }
.dz-card .dz-more { display: block; margin-top: 6px; font: 700 12.5px/1.4 inherit; color: #f3d27a; opacity: .9; }
.rsh { position: fixed; inset: 0; z-index: 10050; background: rgba(3,24,19,.62); display: flex; align-items: flex-end; justify-content: center; direction: rtl; }
.rsh[hidden] { display: none; } body.rsh-open { overflow: hidden; }
.rsh-p { position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; color: #fdf6e3;
  background: radial-gradient(120% 70% at 50% 0%, #1d7a5f, #0b4a3a 55%, #062e24); border: 1.5px solid #d9b25c; border-bottom: 0; animation: rshUp .28s ease; }
@keyframes rshUp { from { transform: translateY(40px); opacity: 0; } }
.rsh-x { position: absolute; top: 10px; left: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243,210,122,.6); background: rgba(6,46,36,.6); color: #f3d27a; font-size: 24px; line-height: 1; cursor: pointer; }
.rsh-hd { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; padding-left: 44px; }
.rsh-ic { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #f3d27a; background: #0b4a3a; border: 3px solid #f3d27a; box-shadow: 0 0 0 4px rgba(201,162,74,.22); }
.rsh-ic svg { width: 36px; height: 36px; }
.rsh-h { display: block; font-size: 20px; color: #f3d27a; } .rsh-sub { color: #e8dcb8; font-size: 13.5px; }
.rsh-body { background: #fbf4df; color: #062e24; border: 2px solid #d9b25c; border-radius: 20px; padding: 18px 16px; outline: 1px solid rgba(184,137,47,.45); outline-offset: -9px; }
.rsh-t { margin: 0; font-family: 'Amiri', serif; font-weight: 700; font-size: 23px; line-height: 2; text-align: center; white-space: pre-line; }
.rsh-fd { margin-top: 12px; border: 1px solid rgba(243,210,122,.55); border-radius: 16px; padding: 10px 12px; background: rgba(243,210,122,.08); }
.rsh-fd[hidden] { display: none; } .rsh-fd span { display: inline-block; background: linear-gradient(135deg, #f3d27a, #c99a35); color: #062e24; font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 999px; }
.rsh-fd p { margin: 6px 0 0; font-size: 16px; line-height: 1.85; font-weight: 700; }
.rsh-s { margin: 10px 0 0; text-align: center; color: #f3d27a; font-weight: 700; font-size: 15px; } .rsh-s[hidden] { display: none; }
.rsh-pv { display: block; width: 72%; margin: 14px auto 0; border-radius: 14px; border: 1px solid #d9b25c; } .rsh-pv[hidden] { display: none; }
.rsh-btns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 16px; }
.rsh-btns button { height: 50px; border-radius: 16px; font: 800 16px/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.rsh-go { border: 0; background: linear-gradient(135deg, #f3d27a, #c99a35); color: #062e24; } .rsh-go:disabled { opacity: .7; }
.rsh-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rsh-cp { border: 1.5px solid #d9b25c; background: transparent; color: #f3d27a; }
/* v88: اختيار تصميم البطاقة + معاينة حيّة */
.rsh-th { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.rsh-th button { display: grid; justify-items: center; gap: 6px; padding: 8px 4px 9px; border-radius: 14px; border: 1.5px solid rgba(243,210,122,.35); background: rgba(3,36,27,.45); color: #f1e3bd; font: 700 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rsh-th button.on { border-color: #f3d27a; background: rgba(243,210,122,.16); color: #f3d27a; box-shadow: 0 0 0 2px rgba(243,210,122,.35); }
.rsh-sw { width: 46px; height: 58px; border-radius: 6px; border: 2px solid #d9b25c; outline: 1px solid rgba(217,178,92,.6); outline-offset: -6px; position: relative; }
.rsh-sw::after { content: ''; position: absolute; left: 50%; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: linear-gradient(135deg, #fff0b8, #c99a35); }
.rsh-sw::before { content: ''; position: absolute; left: 9px; right: 9px; bottom: 9px; height: 22px; border-radius: 9px 9px 3px 3px; }
.sw-a { background: radial-gradient(circle at 50% 20%, #1b7a5e, #0b4a3a 60%, #03241b); } .sw-a::before { background: #fbf4df; }
.sw-b { background: radial-gradient(circle at 50% 20%, #23488a, #112a5c 60%, #060f28); } .sw-b::before { background: #0f2452; border: 1px solid #e9c46a; }
.sw-c { background: radial-gradient(circle at 50% 20%, #fffaf0, #e5d0a0); border-color: #0b4a3a; } .sw-c::before { background: #fffdf7; border: 1px solid #d9b25c; }
.rsh-pvw { position: relative; margin: 12px auto 0; width: min(78%, 330px); aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 1px solid #d9b25c; background: rgba(3,36,27,.5); }
.rsh-pvw .rsh-pv { display: block; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; transition: opacity .2s; }
.rsh-pvw.busy .rsh-pv { opacity: .35; } .rsh-ld { position: absolute; inset: auto 0 45% 0; text-align: center; font-size: 13px; color: #f3d27a; display: none; } .rsh-pvw.busy .rsh-ld { display: block; }
/* v88: أربعة تصاميم + لوحات الألوان */
.rsh-th { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; } .rsh-th button { font-size: 12px !important; }
.sw-d { background: radial-gradient(circle at 50% 15%, #2a8a63, #0b4a3a 55%, #03241b); border: 3px solid #c99a35 !important; } .sw-d::before { background: #f7ecd0; border: 2px solid #d9b25c; border-radius: 12px 12px 2px 2px; }
.sw-e { background: repeating-linear-gradient(45deg, #0b3f30 0 4px, #0e4a38 4px 8px); border-color: #e2bd62 !important; } .sw-e::before { background: #fbf2dc; border: 1px solid #d9b25c; } .sw-e::after { top: 5px; width: 18px; height: 8px; margin-left: -9px; border-radius: 3px 3px 0 0; }
.rsh-pal { display: flex; justify-content: space-between; gap: 4px; margin-top: 10px; }
.rsh-pal button { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; color: #e8dcb8; font: 700 11px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rsh-pal i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(243,210,122,.5); box-shadow: inset 0 0 0 3px rgba(0,0,0,.15); }
.rsh-pal button.on i { border-color: #f3d27a; box-shadow: 0 0 0 3px rgba(243,210,122,.45); } .rsh-pal button.on { color: #f3d27a; }
.pal-em { background: radial-gradient(circle at 35% 30%, #1b7a5e, #03241b); } .pal-nv { background: radial-gradient(circle at 35% 30%, #23488a, #060f28); }
.pal-bu { background: radial-gradient(circle at 35% 30%, #8e2a3e, #2a050f); } .pal-bk { background: radial-gradient(circle at 35% 30%, #3d3a36, #070707); } .pal-pu { background: radial-gradient(circle at 35% 30%, #6a3f98, #170828); }

/* ── v92: إعدادات مختصرة — أقسام مطويّة وبحث وقوائم منسدلة للأصوات ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#settings.set-card, #settings .set-card { gap: 0; }
.set-card { --set-pad: 0; }
#settings .set-card { padding-top: 0; }
.set-head { position: sticky; top: 0; z-index: 5; background: var(--card); margin: 0 -4px 8px; padding: 16px 4px 10px; border-bottom: 1px solid var(--line); }
.set-head h2 { margin-bottom: 8px !important; }
.set-find { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); }
.set-find:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.22); }
.set-find-l { display: none; }
#set-q { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 700 14.5px 'Tajawal', sans-serif; outline: none; height: 42px; text-align: start;
  padding-inline-start: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a37f2c' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 18px 18px; }
[dir="ltr"] #set-q { background-position: left 0 center; }
#set-q::placeholder { color: var(--mut); font-weight: 500; opacity: .85; }
.set-q-empty { margin: 8px 4px 0 !important; color: var(--mut); font-size: 13px !important; text-align: center !important; }
.set-accs { display: flex; flex-direction: column; gap: 8px; }
.set-acc { border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.set-acc.open { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(201,162,74,.28), 0 6px 16px -12px rgba(11,74,58,.45); }
.set-acc[hidden] { display: none; }
.set-acc-hh { margin: 0; font-size: inherit; font-weight: inherit; }
.set-acc-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px; border: 0; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.set-acc-h:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.set-acc-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(180deg, rgba(201,162,74,.2), rgba(11,74,58,.08)); border: 1px solid rgba(201,162,74,.45); color: var(--em); }
.set-acc-ic .ui-i { width: 18px; height: 18px; }
.set-acc-ic .sl-mk { font-size: 13px; font-weight: 800; color: var(--goldd); line-height: 1; }
[data-theme="night"] .set-acc-ic { color: var(--gold2); }
[data-theme="night"] .set-acc-ic .sl-mk { color: var(--gold2); }
.set-acc-tx { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.set-acc-tx b { font-size: 15px; font-weight: 800; color: var(--em); }
[data-theme="night"] .set-acc-tx b { color: var(--gold2); }
.set-acc-sum { display: block; font-size: 12px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-acc-ch { width: 0; height: 0; flex: none; margin-inline-end: 6px; border: 5px solid transparent; border-top: 6px solid var(--gold); border-bottom-width: 0; transition: transform .2s ease; }
.set-acc.open .set-acc-ch { transform: rotate(180deg); }
.set-acc-b { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.set-acc-b[hidden] { display: none; }
.set-acc-b > .rem { margin: 0; padding: 8px 0 0; border: 0; background: transparent; box-shadow: none; }
.set-acc-b > .rem + .rem { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.set-acc-b > .rem .adh-h { margin-top: 0; }
.set-acc-b .adh-h small, .set-acc-b .rem-main small { font-size: 12px; }
.set-vrow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.set-vsel, .set-acc-b select.set-vsel, .set-prow select, .set-vol select {
  flex: 1; min-width: 0; width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: 700 14px 'Tajawal', sans-serif; outline: none; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: left 12px center, left 17px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-inline-start: 12px; padding-inline-end: 28px;
}
.set-vsel:focus, .set-prow select:focus, .set-vol select:focus, .set-acc-b select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.2); }
.set-pv, button.set-pv {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(201,162,74,.55);
  background: radial-gradient(circle at 35% 30%, #f3d27a, var(--gold) 55%, var(--goldd));
  color: var(--deep); font-size: 14px; font-weight: 800; cursor: pointer; padding: 0; box-shadow: 0 4px 10px -4px rgba(163,127,44,.6);
}
.set-pv:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; }
.set-pv[aria-pressed="true"], .set-pv.on { background: radial-gradient(circle at 35% 30%, #1d8a6c, var(--em)); color: #fff8e6; border-color: var(--em); }
.set-prows { display: grid; gap: 0; }
.set-prow { display: grid; grid-template-columns: 4.4em minmax(0,1fr) auto auto; grid-template-areas: "n v v v" "n vol vol rst"; gap: 6px 8px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.set-prow:last-child { border-bottom: 0; }
.set-prow-n { grid-area: n; font-size: 14px; font-weight: 800; color: var(--em); }
[data-theme="night"] .set-prow-n { color: var(--gold2); }
.set-prow .set-vrow { grid-area: v; }
.set-vol { grid-area: vol; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mut); min-width: 0; }
.set-vol span { flex: none; }
.set-vol select { width: 100%; max-width: 110px; height: 36px; font-size: 13px; }
.set-reset { grid-area: rst; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--em); font-size: 16px; cursor: pointer; }
.set-prow.cu { background: linear-gradient(90deg, rgba(201,162,74,.07), transparent 70%); margin: 0 -8px; padding-inline: 8px; border-radius: 10px; }
.set-prow .adh-warn { grid-column: 1 / -1; margin: 0; }
.set-foot { position: sticky; bottom: 0; z-index: 5; background: linear-gradient(180deg, transparent, var(--card) 28%); padding: 12px 0 calc(env(safe-area-inset-bottom) + 8px); margin: 8px -4px 0; }
#settings .set-foot #set-close { width: 100%; }
@media (max-width: 359px) {
  .set-acc-h { padding: 8px 8px; gap: 8px; min-height: 52px; }
  .set-acc-ic { width: 32px; height: 32px; }
  .set-prow { grid-template-columns: 3.6em minmax(0,1fr) auto; }
  .set-vol select { max-width: 88px; }
}
