/* Shared skin layer: one app, three looks (modern-dark · modern-light · classic).
 * <html data-look="…" data-skin="modern|classic" data-theme="dark|light|classic"> is set
 * before paint by the inline script in index.html and kept in sync by theme.js. */

html[data-skin="modern"] .skin-classic-only,
html[data-skin="classic"] .skin-modern-only{display:none!important}

/* Classic values for the shared theme tokens used by JS-injected styles
 * (rakʿah navigation, sprite view toggle, look switch). Modern defines its own in
 * skins/modern/theme.css. These match the original Classic hard-coded colours. */
html[data-skin="classic"]{
  --theme-bg:#fbf8f0;
  --theme-surface:#fffaf3;
  --theme-surface-raised:#eef3ed;
  --theme-text:#0e3b2e;
  --theme-muted:#667068;
  --theme-faint:#7a817b;
  --theme-rule:rgba(14,59,46,.22);
  --theme-rule-soft:rgba(14,59,46,.12);
  --theme-backdrop:rgba(251,248,240,.95);
  --theme-active-bg:#0e3b2e;
  --theme-active-text:#fff;
}

/* Three-way look switch (top bar). */
.look-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;border:1px solid var(--theme-rule-soft);background:var(--theme-surface)}
.look-switch button{border:0;background:transparent;color:var(--theme-muted);font:700 11px/1 'DM Sans',system-ui,sans-serif;letter-spacing:.02em;padding:8px 11px;border-radius:999px;cursor:pointer;min-height:30px}
.look-switch button:hover{color:var(--theme-text)}
.look-switch button[aria-pressed="true"]{background:var(--theme-active-bg);color:var(--theme-active-text)}
.look-switch button:focus-visible,.look-choice .segment:focus-visible{outline:2px solid var(--theme-text);outline-offset:2px}
html[data-skin="modern"] .look-switch{border-radius:0;padding:2px}
html[data-skin="modern"] .look-switch button{border-radius:0;font-family:'Barlow Condensed','DM Sans',sans-serif;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
@media(max-width:720px){.look-switch button{padding:7px 8px;font-size:10px}}

/* Preferences: three segments must fit. */
.look-choice{display:flex;flex-wrap:wrap;gap:4px}
html[data-skin="classic"] .look-choice{background:#ece6dc;border-radius:999px;padding:3px;width:max-content;max-width:100%}
html[data-skin="classic"] .look-choice .segment{border:0;background:transparent;border-radius:999px;padding:8px 14px;color:#667068;font-weight:700;font-size:12px;cursor:pointer}
html[data-skin="classic"] .look-choice .segment.active{background:#0e3b2e;color:#fff}

/* Features that exist in both looks but were first styled for Modern. */
html[data-skin="classic"] .prayer-preference-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html[data-skin="classic"] .progress-panel .homepage-progress-root{display:grid;gap:8px}
html[data-skin="classic"] .homepage-progress-row{display:grid;grid-template-columns:18px 1fr auto auto;gap:10px;align-items:center;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--charcoal);text-align:left;cursor:pointer;font:inherit}
html[data-skin="classic"] .homepage-progress-mark{width:14px;height:14px;border:1.5px solid var(--green);border-radius:4px}
html[data-skin="classic"] .homepage-progress-copy{display:grid;gap:2px;min-width:0}
html[data-skin="classic"] .homepage-progress-copy strong{font-size:13px;color:var(--green)}
html[data-skin="classic"] .homepage-progress-copy small{font-size:11px;color:var(--muted)}
html[data-skin="classic"] .homepage-progress-value{font-size:11px;font-weight:700;color:var(--green)}
html[data-skin="classic"] .progress-empty{margin:0;font-size:13px;color:var(--muted)}
html[data-skin="classic"] .learn-carousel-controls{display:none}
html[data-skin="classic"] .learn-category{margin:12px 0 0;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7d6a45}
html[data-skin="classic"] .learn-category+h3{margin-top:4px}
html[data-skin="classic"] .learn-head{display:block}

/* Tools tile had no destination in either look; hidden until a Tools page exists. */
.launch-card-tools{display:none!important}

/* Close control for the location search popover/panel (prayer-times.js). */
.prayer-location-search{position:relative}
.prayer-location-dismiss{position:absolute;top:6px;right:8px;width:26px;height:26px;border:0;background:transparent;color:inherit;font:400 20px/1 sans-serif;cursor:pointer;opacity:.7}
.prayer-location-dismiss:hover{opacity:1}
.prayer-location-search label{padding-right:30px}

/* Classic: My progress spans the dashboard row instead of leaving a gap. */
html[data-skin="classic"] .dashboard-grid>.progress-panel{grid-column:1/-1}

/* Small phones (~360–420px): keep logo + three-way switch + settings on one row. */
@media(max-width:420px){
  .topbar .brand{width:104px!important;flex:0 0 104px!important;min-width:0}
  .topbar .brand img{max-width:100%;height:auto}
  .topbar{gap:8px!important}
  .look-switch button{padding:6px 6px;font-size:9.5px;letter-spacing:.04em}
  html[data-skin="classic"] .madhhab-pill{display:none}
}

/* Classic Learn cards: taller art (no letterbox strips), readable type, links aligned. */
html[data-skin="classic"] .learn-card{display:flex;flex-direction:column;padding:16px}
html[data-skin="classic"] .learn-card .learn-hero{height:auto!important;aspect-ratio:4/3}
html[data-skin="classic"] .learn-card h3{font-size:20px;margin:14px 0 8px}
html[data-skin="classic"] .learn-card p{font-size:14px;line-height:1.55}
html[data-skin="classic"] .learn-card button,
html[data-skin="classic"] .learn-card .learn-coming-soon{margin-top:auto;align-self:flex-start;font-size:13px}
html[data-skin="classic"] .learn-grid{gap:18px}

/* Classic launcher: five tiles now that the empty Tools tile is hidden. */
@media(min-width:1001px){html[data-skin="classic"] .launcher{grid-template-columns:repeat(5,1fr)}}

/* Preferences: calculation-method select. */
.calc-method-select{width:100%;max-width:100%;padding:10px 12px;border:1px solid var(--theme-rule,rgba(14,59,46,.22));border-radius:12px;background:var(--theme-surface,#fff);color:var(--theme-text,#0e3b2e);font:inherit;font-size:14px}
html[data-skin="modern"] .calc-method-select{border-radius:0}

/* Adhkār: per-item source line under each remembrance. */
.worship-detail-member-source{display:block;margin-top:6px;font-size:11px;letter-spacing:.02em;opacity:.7}

/* Modern base poses are ALWAYS the black/white set (as on the old Modern branch). prayer-guide.css is the
   Classic file and points at colour; prayer-sprite-routing.js layers corrections on top, but if a guide
   re-renders before routing runs, these keep Modern monochrome instead of flashing Classic colour. */
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-takbir::after{background-image:url('/assets/grayscale/female-takbir.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-qiyam::after{background-image:url('/assets/grayscale/female-qiyam.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-ruku::after{background-image:url('/assets/grayscale/female-ruku.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-itidal::after{background-image:url('/assets/grayscale/female-itidal.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-sujud::after{background-image:url('/assets/grayscale/female-sujud.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-jalsah::after{background-image:url('/assets/grayscale/female-jalsah.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-tashahhud::after{background-image:url('/assets/grayscale/female-tashahhud.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-taslim-left::after{background-image:url('/assets/grayscale/female-taslim-left.png')}
html[data-skin="modern"] .pg-pose[data-guide='female'].pg-pose-taslim-right::after{background-image:url('/assets/grayscale/female-taslim-right.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-takbir::after{background-image:url('/assets/grayscale/male-takbir.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-qiyam::after{background-image:url('/assets/grayscale/male-qiyam.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-ruku::after{background-image:url('/assets/grayscale/male-ruku.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-itidal::after{background-image:url('/assets/grayscale/male-itidal.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-sujud::after{background-image:url('/assets/grayscale/male-sujud.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-jalsah::after{background-image:url('/assets/grayscale/male-jalsah.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-tashahhud::after{background-image:url('/assets/grayscale/male-tashahhud.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-taslim-left::after{background-image:url('/assets/grayscale/male-taslim-left.png')}
html[data-skin="modern"] .pg-pose[data-guide='male'].pg-pose-taslim-right::after{background-image:url('/assets/grayscale/male-taslim-right.png')}
html[data-skin="modern"] body.prayer-guide-open .prayer-guide .pg-pose::after{filter:grayscale(1)}

/* Editorial review 2026-11-18 ---------------------------------------------------------------- */
/* Settings group headings (were <label>s not tied to any control). */
.setting-group .setting-label{margin:0;font-weight:700;color:var(--theme-text)!important}
html[data-skin="modern"] .setting-group .setting-label{color:var(--ed-white,#fff)!important;font-size:1rem}
html[data-skin="modern"] .look-choice{flex-wrap:nowrap}
html[data-skin="modern"] .look-choice .segment{flex:1 1 0;min-width:0}
html[data-skin="modern"][data-theme="light"] .setting-group .setting-label{color:#050505!important}
html[data-skin="classic"] .settings-note{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.55}
/* Farḍ/Sunnah key under the timetable. */
html[data-skin="classic"] .prayer-key{margin:10px 2px 0;font-size:11px;line-height:1.5;color:var(--muted)}
html[data-skin="classic"] .prayer-key b{color:var(--green)}
html[data-skin="classic"] .prayer-row small{font-size:10.5px}
/* Keyboard focus is visible everywhere. */
:is(button,a,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--theme-text,#0e3b2e);outline-offset:2px}
html[data-skin="modern"][data-theme="dark"] :is(button,a,input,select,summary,[tabindex]):focus-visible{outline-color:#fff}
/* Hero search results status (Classic hero). */
.hero-search-hint{position:absolute;left:18px;right:18px;top:calc(100% + 6px);padding:8px 12px;border-radius:12px;background:rgba(255,253,248,.96);color:var(--green,#0e3b2e);font-size:12px;box-shadow:0 6px 18px rgba(31,41,55,.12)}
.hero-search-hint[hidden]{display:none}
/* Arabic in the counter verse was 17px in every look; keep Arabic at 20px or larger. */
.counter-verse .counter-verse-arabic{font-size:20px!important;line-height:1.7}
/* Section jumps land below the sticky top bar. */
#today-prayers,#learn-section,#daily-adhkar,#daily-flow,.counter-panel,#about-salah{scroll-margin-top:84px}

/* ---- Same hero words, verse, reflection and footer in every look (2026-11-18) ---- */
html[data-skin="classic"] .hero-brand-modern{max-width:min(600px,92%);width:max-content;text-align:center}
html[data-skin="classic"] .hero-brand-modern .hero-kicker{margin:0 0 4px;font:700 10px/1.4 'DM Sans',system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#6d5a35}
html[data-skin="classic"] .hero-title{margin:0;font:700 30px/1.15 'Libre Baskerville',serif;color:var(--green)}
html[data-skin="classic"] .hero-title br{display:none}
html[data-skin="classic"] .hero-brand-modern .hero-copy{margin:6px 0 0;font:500 13px/1.5 'DM Sans',system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#24352d}
html[data-skin="classic"] .hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:10px}
html[data-skin="classic"] .hero-action{border:1px solid rgba(14,59,46,.25);background:rgba(255,253,248,.92);color:var(--green);border-radius:999px;padding:8px 14px;font:700 12px/1 'DM Sans',system-ui,sans-serif;cursor:pointer}
html[data-skin="classic"] .hero-action.primary{background:var(--green);border-color:var(--green);color:#fff}
html[data-skin="classic"] .hero-bottom{grid-template-columns:1fr 1fr 1fr}
html[data-skin="classic"] .hero-verse-strip{margin:0;min-height:72px;border-radius:14px;background:#fffdf8;padding:14px 18px;display:flex;flex-direction:column;gap:4px}
html[data-skin="classic"] .hero-verse-strip .hero-verse-arabic{font:400 20px/1.7 'Noto Naskh Arabic',serif;color:var(--green);text-align:right}
html[data-skin="classic"] .hero-verse-strip .hero-verse-translation{font-size:12px;line-height:1.5;color:#4d5650}
html[data-skin="classic"] .hero-verse-strip .hero-verse-source{font-size:10px;font-style:normal;color:#6f746f}
html[data-skin="classic"] body .trust-strip,html[data-skin="classic"] body .trust-strip.salah-clean-footer{display:none!important}
html[data-skin="classic"] .editorial-footer{display:grid;grid-template-columns:auto 1fr auto auto;gap:28px;align-items:center;margin:0 calc(clamp(14px,3vw,48px)*-1) -64px;padding:26px clamp(18px,3vw,48px);background:var(--green);color:#fff;border-radius:24px 24px 0 0}
html[data-skin="classic"] .editorial-footer-brand img{width:140px;height:auto;display:block}
html[data-skin="classic"] .editorial-footer blockquote{margin:0;font:italic 14px/1.6 'Libre Baskerville',serif;color:#f3efe6}
html[data-skin="classic"] .editorial-footer cite{display:block;margin-top:6px;font:700 10px/1 'DM Sans',sans-serif;letter-spacing:.14em;text-transform:uppercase;font-style:normal;color:#d6c79e}
html[data-skin="classic"] .editorial-footer-intent,html[data-skin="classic"] .editorial-footer-words{margin:0;font:700 11px/1.6 'DM Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#e9efe9}
@media(max-width:1000px){html[data-skin="classic"] .hero-bottom{grid-template-columns:1fr 1fr}html[data-skin="classic"] .hero-verse-strip{grid-column:1/-1}}
@media(max-width:760px){
  html[data-skin="classic"] .hero-scene{min-height:880px}
  html[data-skin="classic"] .hero-search{top:226px}
  html[data-skin="classic"] .hero-title{font-size:25px}
  html[data-skin="classic"] .hero-bottom{grid-template-columns:1fr}
  html[data-skin="classic"] .api-note{display:block}
  html[data-skin="classic"] .editorial-footer{grid-template-columns:1fr;gap:16px;margin:0;padding-bottom:90px}
}

/* ---- About Salah + Support the work + Other projects (same in every look) ---- */
.about-salah{margin:40px 0 0;padding:36px 0 8px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 56px;align-items:start}
.about-salah .section-title{margin:0}
.about-salah .section-title h2{margin:0}
.about-salah .section-title .eyebrow{margin:0 0 5px}
.about-salah h3{margin:0 0 10px;font-size:15px}
.about-salah p:not(.eyebrow){margin:0;line-height:1.65;font-size:14px;max-width:46rem}
.about-salah .about-salah-intro>p{margin-top:12px}
.about-salah .about-salah-projects{grid-column:1/-1}
.about-salah a{text-decoration:underline;text-underline-offset:3px}
.about-salah-support a{font-weight:700}
.project-list{list-style:none;padding:0;margin:14px 0 0;border-top:1px solid var(--line)}
.project-list li{margin:0;border-bottom:1px solid var(--line)}
.project-list a{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:.35rem 1.5rem;align-items:baseline;padding:1rem .9rem;text-decoration:none!important}
.project-list strong{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}
.project-list span{font-size:.9rem;line-height:1.6;max-width:46rem}
@media(max-width:900px){.project-list a{grid-template-columns:11rem minmax(0,1fr)}}
@media(max-width:640px){.project-list a{grid-template-columns:1fr;padding:.95rem 0}}
@media(max-width:760px){.about-salah{grid-template-columns:1fr;margin:32px 12px 0;padding-top:28px;gap:24px}}
.editorial-footer-links{margin:10px 0 0;font-size:12px;letter-spacing:.04em;white-space:nowrap}
.editorial-footer-links a{color:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.editorial-footer-brand{flex-direction:column;align-items:flex-start!important;justify-content:center}
.settings-about-link{margin:14px 0 0;font-size:13px}
.settings-about-link a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* Classic colours */
/* Classic: the Learn band already ends with a rule, so About sits under it without a second line. */
html[data-skin="classic"] .about-salah{border-top:0;margin-top:0;padding-top:44px}
html[data-skin="classic"] .about-salah h2{font:700 27px/1.15 'Libre Baskerville',serif;color:var(--green)}
html[data-skin="classic"] .about-salah h3{color:var(--green)}
html[data-skin="classic"] .about-salah p:not(.eyebrow){color:#4d5650}
html[data-skin="classic"] .about-salah a{color:var(--green)}
html[data-skin="classic"] .project-list strong{color:var(--green)}
html[data-skin="classic"] .project-list span{color:#5d665f}
html[data-skin="classic"] .project-list a:hover,html[data-skin="classic"] .project-list a:focus-visible{background:#f4efe5}
html[data-skin="classic"] .settings-about-link a{color:var(--green)}
html[data-skin="classic"] .editorial-footer-links,html[data-skin="classic"] .editorial-footer-links a{color:#f3efe6}
/* Modern colours (neutral only) */
html[data-skin="modern"] .about-salah{order:19;grid-column:1/-1;border-top-color:var(--ed-rule);margin-top:0;padding-top:clamp(2.5rem,4vw,3.5rem)}
/* Learn is the last section before About in Modern: keep the normal section rhythm, not a double gap. */
html[data-skin="modern"] .page>.learn-section{padding-bottom:clamp(2.5rem,4vw,3.5rem)!important;margin-bottom:0!important}
/* Same heading as the Learn section ("Build confidence, gently"). */
html[data-skin="modern"] .about-salah .section-title h2{font-family:var(--ed-display)!important;font-weight:800!important;font-size:clamp(3.2rem,6vw,5.6rem)!important;line-height:.9!important;letter-spacing:-.035em!important;text-transform:uppercase;color:var(--ed-white)!important}
html[data-skin="modern"] .about-salah .about-salah-intro>p{margin-top:1.5rem}
html[data-skin="modern"] .about-salah h3{font-family:var(--ed-ui);font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--ed-white)!important}
html[data-skin="modern"] .about-salah p:not(.eyebrow){color:var(--ed-muted)!important;font-size:.95rem}
html[data-skin="modern"] .about-salah a{color:var(--ed-white)!important}
html[data-skin="modern"] .project-list,html[data-skin="modern"] .project-list li{border-color:var(--ed-rule)}
html[data-skin="modern"] .project-list strong{color:var(--ed-white)}
html[data-skin="modern"] .project-list span{color:var(--ed-muted)!important}
html[data-skin="modern"] .project-list a:hover,html[data-skin="modern"] .project-list a:focus-visible{background:var(--ed-rule-soft)}
html[data-skin="modern"] .editorial-footer-links,html[data-skin="modern"] .editorial-footer-links a{color:var(--ed-muted)!important}
html[data-skin="modern"] .settings-about-link a{color:var(--ed-white)!important}

/* Buttons are outlined by default and fill on hover/focus (all looks); never white-on-white. */
html[data-skin="classic"] .hero-actions .hero-action.primary{background:rgba(255,253,248,.92);color:var(--green);border-color:var(--green)}
html[data-skin="classic"] .hero-actions .hero-action:is(:hover,:focus-visible){background:var(--green);color:#fff;border-color:var(--green)}
html[data-skin="modern"] .hero-actions .hero-action.primary{background:transparent!important;color:var(--ed-white)!important;border-color:var(--ed-white)!important}
html[data-skin="modern"] .hero-actions .hero-action:is(:hover,:focus-visible){background:var(--ed-white)!important;color:var(--theme-bg,#000)!important;border-color:var(--ed-white)!important}
html[data-skin="modern"] .about-salah h3{font:600 .8rem/1.4 var(--ed-ui,'DM Sans',sans-serif)!important;letter-spacing:.2em!important}
html[data-skin="modern"] .mobile-nav button.active{color:var(--ed-white)!important;font-weight:700}

/* Quick dhikr counter tile: same card pattern as the adhkar cards below it, in every look.
   Hover/focus only lifts the tile and strengthens its border; text and icon never change colour. */
html[data-skin] body .daily-adhkar-section .daily-adhkar-quick-counter{grid-template-columns:40px minmax(0,1fr) 16px!important;gap:11px!important;padding:16px!important;align-items:center!important;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease!important}
html[data-skin] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon{width:40px!important;height:40px!important;border-radius:12px!important;border:0!important}
html[data-skin] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon svg{width:22px;height:22px;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-skin] body .daily-adhkar-section .daily-adhkar-quick-counter:is(:hover,:focus-visible){transform:translateY(-2px)}
html[data-skin] body .daily-adhkar-section .daily-adhkar-quick-counter:focus-visible{outline:2px solid currentColor!important;outline-offset:3px}
/* Classic: cream card, green serif title (as "Morning adhkār"), pale-green icon box */
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter{background:#fffdf8!important;color:#0e3b2e!important;border:1px solid rgba(14,59,46,.08)!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(14,59,46,.035)!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter:is(:hover,:focus-visible){background:#fffdf8!important;border-color:rgba(14,59,46,.17)!important;box-shadow:0 12px 24px rgba(14,59,46,.07)!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon{background:#eef3ed!important;color:#0e3b2e!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon svg{stroke:#0e3b2e}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter strong{font:700 14px/1.35 'Libre Baskerville',serif!important;color:#0e3b2e!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter small{color:#8a6a36!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter div span{color:#5d665f!important}
html[data-skin="classic"] body .daily-adhkar-section .daily-adhkar-quick-counter i{color:#6f7d75!important;font-size:19px}
/* Modern: same surface, border and display-face title as the adhkar cards; neutral only */
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter{border:1px solid var(--ed-rule-soft)!important;border-radius:0!important;box-shadow:none!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter:is(:hover,:focus-visible){background:#090c0a!important;border-color:var(--ed-white)!important;box-shadow:none!important}
html[data-skin="modern"][data-theme="light"] body .daily-adhkar-section .daily-adhkar-quick-counter:is(:hover,:focus-visible){background:#f4f4f4!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter strong{font-family:var(--ed-display)!important;font-weight:800!important;font-size:14px!important;line-height:1.3!important;letter-spacing:-.02em!important;color:var(--ed-white)!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter :is(small,div span,i){color:var(--ed-muted)!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter small{font-family:var(--ed-ui)!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon{background:#fff!important;color:#050505!important}
html[data-skin="modern"] body .daily-adhkar-section .daily-adhkar-quick-counter .daily-adhkar-counter-icon svg{stroke:#050505!important}
/* Modern type system everywhere outside Arabic: no serif transliteration or counts */
html[data-skin="modern"] .dhikr-copy span:not([lang="ar"]){font-family:var(--ed-ui)!important;font-weight:700!important;letter-spacing:0!important}
html[data-skin="modern"] .worship-detail-member-counter strong{font-family:var(--ed-ui)!important;font-weight:700!important;font-variant-numeric:tabular-nums}

/* Settings → Use it like an app (all looks) */
#app-install [hidden]{display:none!important}
#app-install .app-install-btn{display:block;width:100%;margin:.4rem 0 .5rem}
#app-install small{display:block}
#app-install #app-offline-status{margin-top:.5rem}

/* About band v2 (2026-11-25): three tidy bands – About + framed Support; thanks as source cards + duʿa; projects as cards. */
.about-salah{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:40px 56px!important}
.about-salah .about-card{border:1px solid var(--line);padding:26px 28px;display:flex;flex-direction:column;gap:12px;align-self:stretch}
.about-salah .about-card p{max-width:none!important}
.about-salah .about-small{font-size:13px!important;opacity:.85}
.about-salah .about-btn{align-self:flex-start;margin-top:auto;padding:11px 20px;border:1px solid currentColor;font-weight:600;font-size:14px;text-decoration:none!important;transition:background .15s,color .15s}
.about-salah-thanks,.about-salah-projects{grid-column:1/-1;padding-top:32px;border-top:1px solid var(--line)}
.about-salah .thanks-lead{margin:0 0 4px!important}
.about-grid{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border:0!important}
.about-grid li{margin:0;border:1px solid var(--line)!important}
.about-grid a{display:flex!important;flex-direction:column;gap:8px;height:100%;padding:18px 20px!important;text-decoration:none!important;transition:background .15s}
.about-grid strong{font-size:.82rem;letter-spacing:.1em;text-transform:uppercase}
.about-grid span{font-size:.88rem;line-height:1.55}
.project-cards strong::after{content:"  →"}
.about-salah .thanks-dua{margin-top:18px!important;max-width:none!important;font-style:italic}
.footer-plaque{display:inline-block;background:#fffdf8;border-radius:10px;padding:8px 14px}
.footer-plaque img{width:150px;height:auto;display:block}
@media(max-width:1000px){.about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.about-salah{grid-template-columns:1fr!important;gap:28px!important}}
@media(max-width:520px){.about-grid{grid-template-columns:1fr}}
html[data-skin="modern"] .about-salah .about-card,html[data-skin="modern"] .about-salah-thanks,html[data-skin="modern"] .about-salah-projects,html[data-skin="modern"] .about-grid li{border-color:var(--ed-rule)!important}
html[data-skin="modern"] .about-salah .about-btn{color:var(--ed-white)!important;border-color:var(--ed-white)}
html[data-skin="modern"] .about-salah .about-btn:is(:hover,:focus-visible){background:var(--ed-white);color:var(--theme-bg,#000)!important}
html[data-skin="modern"] .about-grid strong{color:var(--ed-white)}
html[data-skin="modern"] .about-grid span{color:var(--ed-muted)!important}
html[data-skin="modern"] .about-grid a:is(:hover,:focus-visible){background:var(--ed-rule-soft)}
html[data-skin="classic"] .about-salah .about-card{background:#fffdf8;border-color:#e4dccb;border-radius:14px}
html[data-skin="classic"] .about-salah .about-btn{color:var(--green)!important;border-color:var(--green);border-radius:999px}
html[data-skin="classic"] .about-salah .about-btn:is(:hover,:focus-visible){background:var(--green);color:#fff!important}
html[data-skin="classic"] .about-salah-thanks,html[data-skin="classic"] .about-salah-projects{border-color:#e4dccb}
html[data-skin="classic"] .about-grid li{background:#fffdf8;border-color:#e4dccb!important;border-radius:12px;overflow:hidden}
html[data-skin="classic"] .about-grid strong{color:var(--green)}
html[data-skin="classic"] .about-grid span{color:#5d665f}
html[data-skin="classic"] .about-grid a:is(:hover,:focus-visible){background:#f4efe5}
html[data-skin="classic"] .editorial-footer-brand .footer-plaque img{width:150px}
