/* Muslim Daily website. Brand: midnight #051E29, spring #C1FF72, sky #78C4F0. */
@font-face { font-family: Urbanist; font-weight: 700; font-display: swap; src: url(fonts/Urbanist_700Bold.ttf) format("truetype"); }
@font-face { font-family: Urbanist; font-weight: 800; font-display: swap; src: url(fonts/Urbanist_800ExtraBold.ttf) format("truetype"); }
@font-face { font-family: Jakarta; font-weight: 400; font-display: swap; src: url(fonts/PlusJakartaSans_400Regular.ttf) format("truetype"); }
@font-face { font-family: Jakarta; font-weight: 500; font-display: swap; src: url(fonts/PlusJakartaSans_500Medium.ttf) format("truetype"); }
@font-face { font-family: Jakarta; font-weight: 700; font-display: swap; src: url(fonts/PlusJakartaSans_700Bold.ttf) format("truetype"); }
@font-face { font-family: Amiri; font-display: swap; src: url(fonts/Amiri-Regular.ttf) format("truetype"); }

:root {
  --navy: #051E29; --navy-2: #0A2A3A; --deep: #03141C;
  --lime: #C1FF72; --lime-soft: #EEFFD9; --sky: #78C4F0; --gold: #F4E7B8;
  --paper: #F6F7F3; --surface: #FFFFFF; --surface-2: #F1F3EF;
  --ink: #0B2230; --ink-2: #33505F; --muted: #5E707A; --faint: #8A9AA3;
  --line: #E3E7E2; --line-2: #D5DBD4;
  --green: #1E7A3C; --green-soft: #E7F4EA; --danger: #B42318;
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 48, .06);
  --shadow: 0 12px 34px rgba(11, 34, 48, .08);
  --shadow-lg: 0 30px 80px rgba(3, 20, 28, .25);
  --font: Jakarta, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: Urbanist, Jakarta, system-ui, sans-serif;
  --arabic: Amiri, "Traditional Arabic", "Noto Naskh Arabic", serif;
  --nav-h: 72px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0; color: inherit; }
h1 { font-size: clamp(38px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.accent { color: var(--lime); }
.eyebrow { display: block; font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; color: var(--green); margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--navy); padding: 8px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: .005em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: #b3f55f; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #0c3346; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn-danger { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-store { background: #000; color: #fff; border-color: rgba(255, 255, 255, .22); padding: 0 22px 0 18px; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; font-size: 18px; }
.btn-store small { font-family: var(--font); font-weight: 500; font-size: 11px; opacity: .85; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Header ──────────────────────────────────────────────────────────── */
.announce { background: var(--lime); color: var(--navy); font-weight: 700; font-size: 14.5px; text-align: center; padding: 9px 0; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 30, 41, .94); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav-row { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: rgba(244, 245, 255, .78); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { min-height: 40px; font-size: 14.5px; padding: 0 16px; }
.nav-burger { display: none; margin-left: 10px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
body.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { padding: 8px 20px 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 2px; }
.mobile-menu > a { color: #fff; text-decoration: none; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mobile-auth { display: grid; gap: 10px; margin-top: 14px; }
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; }
.acct-av { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; overflow: hidden; }
.acct-av img { width: 100%; height: 100%; object-fit: cover; }
.acct-name { font-weight: 700; font-size: 14.5px; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; border: 1px solid var(--line); }
.acct-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.acct-head span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; text-decoration: none; background: none; border: 0; font-size: 15px; cursor: pointer; color: var(--ink); }
.acct-menu a:hover, .acct-menu button:hover { background: var(--surface-2); }
.acct-menu button { color: var(--danger); border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 10px 10px; }

/* ── Home: hero ──────────────────────────────────────────────────────── */
.hero { background: radial-gradient(110% 80% at 80% 0%, #10566F 0%, var(--navy) 55%, var(--deep) 100%); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(193, 255, 114, .09) 1.5px, transparent 1.5px); background-size: 34px 34px; mask-image: linear-gradient(160deg, #000 0%, transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 80px; position: relative; }
.hero .eyebrow { color: var(--lime); }
.lead { font-size: 20px; color: rgba(244, 245, 255, .82); margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: rgba(244, 245, 255, .72); }
.hero-points li::before { content: "✓"; color: var(--lime); font-weight: 800; margin-right: 7px; }
.stats { display: flex; gap: 36px; margin: 36px 0 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column-reverse; min-width: 110px; }
.stats dt { font-size: 13px; color: rgba(244, 245, 255, .6); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; color: #fff; }
.hero-art { position: relative; height: 580px; }
.phone { background: #0B0F12; padding: 9px; border-radius: 44px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1.5px rgba(255, 255, 255, .1) inset; }
.phone img { border-radius: 36px; }
.phone-front { position: absolute; width: 272px; left: 16%; top: 6px; transform: rotate(-4deg); z-index: 2; }
.phone-back { position: absolute; width: 254px; right: 2%; top: 64px; transform: rotate(6deg); opacity: .9; }
.moon { position: absolute; width: 72px; height: 72px; right: 8%; top: -12px; border-radius: 50%; box-shadow: inset -24px 6px 0 0 var(--gold); opacity: .85; }

/* ── Home: sections ──────────────────────────────────────────────────── */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p.muted { margin-top: 14px; font-size: 18px; }
.today { padding: 40px 0 8px; }
.today-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.today-head h2 { font-size: 30px; }
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.today-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; overflow: hidden; }
.today-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.today-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; }
.today-body { display: flex; flex-direction: column; }
.today-body b { font-family: var(--display); font-size: 20px; }
.today-body small { color: var(--muted); font-size: 14px; }
.today-status { font-size: 14px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 6px 12px; }
.today-card.is-done .today-status { background: var(--green-soft); color: var(--green); }
.today-card.is-done .today-icon { background: var(--lime); }
.today-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--surface-2); }
.today-bar i { display: block; height: 100%; width: 0; background: var(--green); }
.library { padding-top: 64px; }
.col-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.col-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 190px; }
.col-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.col-card b { font-family: var(--display); font-size: 19px; line-height: 1.2; }
.col-card span { color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.col-card em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--green); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.col-grid-lg { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.col-card-lg { padding: 28px; min-height: 230px; }
.col-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; margin-bottom: 8px; }
.pill { font-style: normal; font-size: 12.5px; background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 3px 10px; }
.pill-done { background: var(--green-soft); color: var(--green); }
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--paper); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); }
.feature p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.ficon { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--navy); background: var(--lime); width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.showcase { background: #fff; padding-top: 0; }
.showcase-row { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.showcase figure { margin: 0; text-align: center; }
.showcase img { width: 214px; border-radius: 30px; border: 8px solid #0B0F12; box-shadow: var(--shadow); }
.showcase figcaption { margin-top: 14px; font-family: var(--display); font-weight: 800; color: var(--muted); }
.family-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.family-art .phone { width: 290px; margin: 0 auto; transform: rotate(-3deg); }
.family h2 { margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23051E29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.quote { background: var(--navy); color: #fff; text-align: center; padding: 84px 0; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote p { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; }
.quote cite { display: block; margin-top: 20px; font-style: normal; color: rgba(244, 245, 255, .6); font-size: 15px; }
.get-card { background: radial-gradient(110% 120% at 85% 0%, #10566F 0%, var(--navy) 60%); color: #fff; border-radius: 30px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.get-card p { margin-top: 14px; font-size: 18px; color: rgba(244, 245, 255, .76); }
.get-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.btn-light { background: #fff; color: var(--navy); }
.faq { background: #fff; }
.faq .wrap.narrow, .narrow { max-width: 780px; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
details[open] > summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--muted); }

/* ── Inner pages ─────────────────────────────────────────────────────── */
.page-hero { background: radial-gradient(110% 100% at 85% 0%, #10566F 0%, var(--navy) 55%, var(--deep) 100%); color: #fff; padding: 44px 0 46px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.page-hero .eyebrow { color: var(--lime); }
.lead-sm { margin-top: 14px; font-size: 18px; color: rgba(244, 245, 255, .8); max-width: 720px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(244, 245, 255, .6); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: rgba(244, 245, 255, .82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.page-body { padding: 44px 0 90px; }
.lib-suggest { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 26px; flex-wrap: wrap; }
.lib-suggest > div { display: flex; flex-direction: column; gap: 2px; }
.lib-suggest .eyebrow { margin: 0; }
.lib-suggest b { font-family: var(--display); font-size: 22px; }
.lib-note { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--surface-2); border-radius: var(--r-lg); padding: 30px; flex-wrap: wrap; }
.lib-note h2 { font-size: 26px; margin-bottom: 6px; }
.lib-note p { max-width: 600px; }
.lib-note-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.h-sec { font-size: 24px; margin-bottom: 14px; }

/* ── Reader ──────────────────────────────────────────────────────────── */
.rd-hero { padding-bottom: 34px; }
.rd-facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.rd-facts span { font-size: 13.5px; color: rgba(244, 245, 255, .82); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 12px; }
.rd-section { padding: 30px 0 90px; }
.rd { --ar-scale: 1; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.rd-side { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; scrollbar-width: thin; }
.rd-side-top { display: none; }
.rd-prog { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rd-prog b { display: block; font-family: var(--display); font-size: 20px; }
.rd-prog span { font-size: 13.5px; color: var(--muted); }
.rd-ring { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.rd-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rd-ring [data-ring-text] { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--ink); }
.ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 4; }
.ring { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .3s ease; }
.rd-level { margin-top: 16px; display: grid; gap: 6px; }
.rd-level label { font-size: 13px; font-weight: 700; color: var(--muted); }
.rd-level select, .field select { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; background: #fff; }
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; font-weight: 700; font-size: 13.5px; padding: 8px 10px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.rd-modes { margin-top: 14px; }
.rd-h { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 22px 0 8px; font-family: var(--display); }
.rd-toc { list-style: none; padding: 0; margin: 0 -8px; }
.rd-toc button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 7px 8px; border-radius: 10px; cursor: pointer; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.rd-toc button:hover { background: var(--surface-2); }
.rd-toc li.current button { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.toc-n { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.rd-toc li.done .toc-n { background: var(--green); color: #fff; font-size: 0; }
.rd-toc li.done .toc-n::after { content: "✓"; font-size: 12px; }
.rd-toc li.done .toc-l { color: var(--muted); }
.rd-opts { display: grid; gap: 4px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 6px 0; cursor: pointer; flex-direction: row-reverse; }
.switch input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s; }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(16px); }
.switch span { flex: 1; }
.rd-size { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; padding: 6px 0; }
.rd-size div { display: flex; gap: 6px; }
.rd-size button { width: 36px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-family: var(--display); font-weight: 800; }
.rd-size button:first-child { font-size: 12px; }
.rd-size button:last-child { font-size: 17px; }
.rd-cols { display: grid; gap: 2px; margin: 0 -8px; }
.rd-cols a { text-decoration: none; font-size: 14.5px; padding: 7px 8px; border-radius: 10px; color: var(--ink-2); }
.rd-cols a:hover { background: var(--surface-2); color: var(--ink); }
.rd-scrim { display: none; }
.rd-main { min-width: 0; }
.rd-mbar { display: none; }
.rd-list { display: grid; gap: 18px; }
.dk { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px 22px; transition: border-color .25s, box-shadow .25s; }
.dk.is-done { border-color: #BFDCC6; background: linear-gradient(#fff, #fff) padding-box; box-shadow: inset 4px 0 0 var(--green); }
.dk.flash { animation: flash 1.8s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px rgba(193, 255, 114, .9); } 100% { box-shadow: none; } }
.dk-head { display: flex; align-items: center; gap: 12px; }
.dk-num { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); color: var(--ink); font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.dk.is-done .dk-num { background: var(--green); color: #fff; }
.dk-title { font-size: 17px; font-family: var(--display); }
.dk-times { font-size: 12.5px; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 4px 10px; letter-spacing: .02em; }
.dk-acts { margin-left: auto; display: flex; gap: 2px; }
.dk-ar { font-family: var(--arabic); font-size: calc(32px * var(--ar-scale)); line-height: 2.1; text-align: right; color: var(--ink); margin: 18px 0 10px; white-space: pre-line; }
.dk-tr { font-style: italic; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.dk-en { color: var(--ink); font-size: 17px; line-height: 1.75; margin-top: 12px; }
.no-translit .dk-tr, .no-meaning .dk-en { display: none; }
.dk-virtue { margin-top: 16px; background: var(--lime-soft); border-radius: 14px; padding: 12px 16px; font-size: 15px; display: flex; gap: 4px; flex-direction: column; }
.dk-virtue b { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.dk-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dk-src { font-size: 14px; color: var(--muted); min-width: 0; }
.src-label { font-weight: 700; color: var(--ink); margin-right: 6px; }
.src-more { border: 0; padding: 0; margin-top: 6px; }
.src-more summary { display: inline; font-family: var(--font); font-size: 13.5px; color: var(--green); font-weight: 700; }
.src-more summary::after { content: none; }
.src-more p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.cnt { flex: none; position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; transition: transform .1s, background .2s; }
.cnt:hover { background: #0c3346; }
.cnt:active { transform: scale(.94); }
.cnt svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cnt .ring-bg { stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.cnt .ring { stroke: var(--lime); stroke-width: 3; }
.cnt-n { position: relative; display: flex; align-items: baseline; }
.cnt-n small { font-size: 11px; opacity: .7; }
.dk.is-done .cnt, .fx-card.is-done + .fx-controls .cnt { background: var(--lime); color: var(--navy); }
.dk.is-done .cnt .ring, .fx-card.is-done + .fx-controls .cnt .ring { stroke: transparent; }
.cnt-lg { width: 96px; height: 96px; font-size: 20px; }
.rd-focus { max-width: 820px; }
.fx-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.fx-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 48px 30px; min-height: 340px; }
.fx-card.is-done { border-color: #BFDCC6; }
.fx-ar { font-size: calc(40px * var(--ar-scale)); text-align: center; line-height: 2.1; }
.fx-card .dk-tr, .fx-card .dk-en { text-align: center; }
.fx-src { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.fx-controls { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 26px; }
.fx-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.fx-nav:hover:not([disabled]) { border-color: var(--ink); }
.fx-nav[disabled] { opacity: .35; cursor: default; }
.fx-keys { text-align: center; font-size: 13px; color: var(--faint); margin-top: 14px; }
.rd-done { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 24px; margin-top: 20px; }
.done-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 10px rgba(193, 255, 114, .25); }
.done-badge svg { width: 30px; height: 30px; }
.rd-done h2 { font-size: 28px; }
.rd-done p { margin-top: 10px; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.rd-error { text-align: center; color: var(--danger); padding: 30px; }
.rd-skel { display: grid; gap: 18px; }
.sk { height: 260px; border-radius: var(--r-lg); background: linear-gradient(90deg, #eef0ec 0%, #f7f8f5 50%, #eef0ec 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.mode-focus .rd-list { display: none; }

/* ── Dialogs and forms ───────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal-scrim { position: fixed; inset: 0; background: rgba(3, 20, 28, .62); backdrop-filter: blur(3px); animation: fade .15s ease; }
.modal-card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px 32px 26px; animation: pop .18s ease; margin: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--surface-2); color: var(--ink); }
.modal-logo { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.modal-card h2 { font-size: 26px; }
.modal-sub { color: var(--muted); margin: 8px 0 20px; font-size: 15.5px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field small { color: var(--faint); font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(120, 196, 240, .25); }
.field textarea { resize: vertical; min-height: 100px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--green); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 6px 8px; }
.code-input { letter-spacing: .5em; font-family: var(--display); font-weight: 800; font-size: 24px !important; text-align: center; }
.form-row { display: flex; justify-content: flex-end; margin: -4px 0 14px; font-size: 14px; }
.form-error { background: #FDECEA; color: var(--danger); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; margin-bottom: 14px; }
.fine { font-size: 13px; color: var(--faint); margin-top: 12px; text-align: center; }
.fine a { color: var(--ink-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-slot { display: flex; justify-content: center; min-height: 44px; }
.modal-switch { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.invite { border: 0; padding: 0 0 6px; margin-bottom: 8px; }
.invite summary { display: inline; font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--green); }
.invite summary::after { content: none; }
.invite .field { margin-top: 10px; }

/* ── Policy and help pages ───────────────────────────────────────────── */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-narrow { grid-template-columns: minmax(0, 780px); justify-content: center; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 14px; }
.doc-toc b { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.doc-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.4; }
.doc-toc a:hover, .doc-toc a.on { color: var(--ink); border-left-color: var(--green); }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 25px; color: var(--ink); margin: 44px 0 12px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h3 { font-size: 18px; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li b, .prose p b { color: var(--ink); }
.prose a { color: var(--green); font-weight: 700; }
.summary { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r); padding: 18px 22px 6px; margin-bottom: 8px; }
.del-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 14px; }
.del-card h2 { margin-top: 0; }
.del-form { max-width: 420px; margin-top: 16px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin: 12px 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sent b { display: block; font-family: var(--display); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 22px; }
.faq-list details:last-child { border-bottom: 0; }
.contact-card { position: sticky; top: calc(var(--nav-h) + 24px); }
.contact-card .contact-form { margin-top: 0; }
.contact-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.contact-links a { color: var(--muted); }
.hero-404 { min-height: 60vh; display: flex; align-items: center; }

/* ── Footer and toast ────────────────────────────────────────────────── */
.footer { background: var(--deep); color: #fff; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: rgba(244, 245, 255, .66); font-size: 15px; margin: 6px 0 18px; max-width: 300px; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }
.store-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 8px 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 245, 255, .5); margin-bottom: 4px; }
.footer nav a { color: rgba(244, 245, 255, .82); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.copyright { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: rgba(244, 245, 255, .55); }
.md-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 150; box-shadow: var(--shadow-lg); }
.md-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .col-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .rd { grid-template-columns: minmax(0, 1fr); }
  .rd-side { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); max-height: none; z-index: 90; border-radius: 0 20px 20px 0; transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .rd-side.open { transform: none; }
  .rd-side-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--display); }
  .rd-scrim { display: block; position: fixed; inset: 0; background: rgba(3, 20, 28, .5); z-index: 80; }
  .rd-scrim[hidden] { display: none !important; }
  .rd-mbar { display: block; position: sticky; top: var(--nav-h); z-index: 20; background: rgba(246, 247, 243, .95); backdrop-filter: blur(10px); margin: 0 -28px 16px; padding: 10px 28px 0; border-bottom: 1px solid var(--line); }
  .rd-mbar-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; font-size: 14.5px; color: var(--muted); }
  .rd-mbar-row b { color: var(--ink); font-family: var(--display); }
  .rd-mbar-track { height: 3px; margin: 0 -28px; background: var(--line); }
  .rd-mbar-track i { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { display: none; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .hero-grid, .family-grid, .get-card { grid-template-columns: 1fr; }
  .hero-art { height: 440px; }
  .phone-front { width: 226px; left: 8%; }
  .phone-back { width: 210px; right: 6%; top: 50px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .get-card { padding: 40px 28px; }
  .col-grid-lg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .brand img { height: 32px; }
  .hero-grid { padding-top: 40px; padding-bottom: 52px; }
  .lead { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-art { height: 380px; }
  .phone-front { width: 190px; left: 3%; }
  .phone-back { width: 176px; right: 0; }
  .stats { gap: 20px; }
  .stats dd { font-size: 25px; }
  .today-grid, .col-grid, .col-grid-lg, .feature-grid, .form-grid { grid-template-columns: 1fr; }
  .today-card { grid-template-columns: auto 1fr; }
  .today-status { grid-column: 2; justify-self: start; }
  .col-card { min-height: 0; }
  .showcase img { width: 150px; }
  .family-art .phone { width: 230px; }
  .get-actions .btn { width: 100%; }
  .page-hero { padding: 32px 0 34px; }
  .rd-mbar { margin: 0 -16px 14px; padding: 10px 16px 0; }
  .rd-mbar-track { margin: 0 -16px; }
  .dk { padding: 20px 18px 16px; border-radius: 18px; }
  .dk-ar { font-size: calc(27px * var(--ar-scale)); }
  .fx-card { padding: 26px 20px 20px; }
  .fx-ar { font-size: calc(30px * var(--ar-scale)); }
  .fx-keys { display: none; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 24px 24px 0 0; padding: 30px 20px 24px; max-height: 92vh; overflow-y: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lib-note, .lib-suggest { padding: 22px; }
}

/* ── Sunnah, Salah and Sahaba ────────────────────────────────────────── */
.ct-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; cursor: pointer; }
.chips button span { color: var(--faint); font-weight: 500; margin-left: 4px; }
.chips button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips button[aria-selected="true"] span { color: rgba(255, 255, 255, .6); }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 16px; color: var(--muted); min-width: 280px; }
.search:focus-within { border-color: var(--navy); }
.search input { border: 0; outline: none; font: inherit; font-size: 15px; padding: 11px 0; flex: 1; background: transparent; color: var(--ink); }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: box-shadow .15s, transform .15s, border-color .15s; }
.ct-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.ct-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), #10566F); display: grid; place-items: center; overflow: hidden; }
.ct-media img { width: 100%; height: 100%; object-fit: cover; }
.ct-mono { font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--lime); }
.ct-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ct-cat { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.ct-text b { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.ct-ar { font-family: var(--arabic); font-size: 22px; color: var(--ink-2); text-align: left; }
.ct-desc { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.ct-meta { font-size: 13px; color: var(--faint); }
.ct-empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 17px; }
.ct-skel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-skel .sk { height: 300px; }
.steps { display: grid; gap: 30px; max-width: 900px; align-content: start; }
.step-group h2 { font-size: 22px; margin-bottom: 12px; }
.step-group ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.step { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.step:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--lime); font-family: var(--display); font-weight: 800; display: grid; place-items: center; }
.step-img { width: 84px; height: 60px; object-fit: cover; border-radius: 10px; flex: none; }
.step-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step-text b { font-family: var(--display); font-size: 17.5px; }
.step-text span { color: var(--muted); font-size: 14.5px; }
.step-text em { font-style: normal; font-size: 13px; color: var(--green); font-weight: 700; }
.step-go { flex: none; color: var(--faint); }
.art-hero h1 { max-width: 900px; }
.art-arname { font-family: var(--arabic); font-size: 30px; color: var(--gold); margin-bottom: 4px; text-align: left; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.art-main { min-width: 0; }
.art-fig { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.art-fig img { width: 100%; max-height: 460px; object-fit: cover; }
.art-dua { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 26px; }
.art-prose { max-width: none; }
.art-prose h2 { font-size: 24px; margin-top: 34px; }
.art-prose h2:first-child { margin-top: 0; }
.art-prose blockquote { margin: 18px 0 22px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--lime); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-size: 18px; line-height: 1.7; }
.art-prose blockquote p { margin: 0; }
.art-prose blockquote cite, .art-prose .cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }
.art-prose .ar-quote { font-family: var(--arabic); font-size: 28px; line-height: 2; text-align: right; color: var(--ink); }
.saw { font-family: var(--arabic); }
.art-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; margin-top: 26px; }
.art-box h2 { font-size: 20px; margin-bottom: 12px; }
.art-warn { border-color: #F2D7D3; background: #FFFAF9; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li, .crosses li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.crosses li::before { content: "✕"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #FDECEA; color: var(--danger); font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.art-src { margin-top: 26px; padding: 16px 20px; background: var(--surface-2); border-radius: var(--r); font-size: 15px; }
.art-src b { font-family: var(--display); }
.art-src p { margin: 4px 0 0; color: var(--ink-2); }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.art-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.art-nav a:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.art-nav a.next { text-align: right; }
.art-nav span { font-size: 13px; color: var(--faint); font-weight: 700; }
.art-nav b { font-family: var(--display); font-size: 16px; }
.art-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.art-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.art-card > b { font-family: var(--display); font-size: 17px; display: block; margin-bottom: 4px; }
.art-share { display: flex; gap: 8px; margin-top: 12px; }
.art-more { list-style: none; padding: 0; margin: 10px 0 12px; display: grid; gap: 2px; }
.art-more a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink-2); font-size: 15px; border-bottom: 1px solid var(--line); }
.art-more a:hover { color: var(--ink); }
.art-cta { background: var(--navy); color: #fff; border-color: var(--navy); }
.art-cta p { color: rgba(244, 245, 255, .76); margin: 6px 0 14px; }
@media (max-width: 1000px) {
  .ct-grid, .ct-skel { grid-template-columns: 1fr 1fr; }
  .art { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; }
}
@media (max-width: 640px) {
  .ct-grid, .ct-skel { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips button { flex: none; }
  .step-img { display: none; }
  .art-nav { grid-template-columns: 1fr; }
  .art-dua, .art-box { padding: 18px; }
}

.ct-mono-ar { font-family: var(--arabic); font-weight: 400; font-size: 34px; line-height: 1.5; padding: 0 20px; text-align: center; }
.img-missing { background: radial-gradient(circle at 20% 20%, rgba(193,255,114,.14), transparent 45%), linear-gradient(135deg, var(--navy), #10566F) !important; min-height: 160px; }
.art-fig.img-missing { display: none; }

/* ── Inner pages: no dark title band, the content starts straight away ── */
.page-hero { background: none; color: var(--ink); padding: 34px 0 0; }
.page-hero h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; }
.page-hero .lead-sm { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.page-hero + .page-body { padding-top: 22px; }
.page-hero + .rd-section { padding-top: 18px; }
.art-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.art-hero .lead-sm { font-size: 17px; color: var(--ink-2); }
.page-hero .rd-facts { margin-top: 12px; }
.page-hero .rd-facts span { color: var(--ink-2); border-color: var(--line-2); background: var(--surface); }
.page-hero .art-arname { color: var(--green); }
.rd-hero .lead-sm { display: none; }
@media (max-width: 640px) { .page-hero { padding-top: 22px; } }

/* ── Account panel (signed in) ── */
.nav-remind { gap: 8px; }
.nav-remind svg { opacity: .9; }
.acct-menu { width: 340px; padding: 14px; }
.acct-head { flex-direction: row; align-items: center; gap: 12px; padding: 2px 2px 14px; margin-bottom: 12px; }
.acct-head > div { display: flex; flex-direction: column; min-width: 0; }
.acct-av-lg { width: 44px; height: 44px; font-size: 16px; flex: none; }
.acct-loading { font-size: 14px; color: var(--muted); padding: 6px 2px 12px; }
.acct-streak { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.acct-streak div { background: var(--surface-2); border-radius: 12px; padding: 10px 10px 9px; display: flex; flex-direction: column; }
.acct-streak b { font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--ink); }
.acct-streak span { font-size: 12px; color: var(--muted); }
.acct-badge { display: flex; align-items: center; gap: 10px; padding: 8px 4px 10px; }
.acct-badge img { border-radius: 8px; }
.acct-badge div { display: flex; flex-direction: column; }
.acct-badge b { font-size: 14px; }
.acct-badge span { font-size: 12.5px; color: var(--muted); }
.acct-today { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.acct-menu a.acct-slot { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.acct-slot span { font-weight: 700; font-size: 14px; }
.acct-slot em { font-style: normal; font-size: 12.5px; color: var(--green); font-weight: 600; }
.acct-slot.done { background: var(--green-soft); border-color: transparent; }
.acct-week { display: flex; justify-content: space-between; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acct-week span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); font-weight: 600; }
.acct-week i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.acct-week .wk-complete i { background: var(--green); border-color: var(--green); }
.acct-week .wk-partial i { background: linear-gradient(90deg, var(--green) 50%, var(--surface-2) 50%); }
.acct-week .wk-today { color: var(--ink); }
.acct-week .wk-today i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lime); }
.acct-menu .acct-row { display: flex; align-items: center; gap: 10px; color: var(--ink); border: 0; margin: 0; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.acct-app { display: flex; gap: 12px; align-items: center; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px; margin: 8px 0; }
.acct-app img { border-radius: 8px; background: #fff; flex: none; }
.acct-app div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acct-app b { font-size: 14px; }
.acct-app span { font-size: 12.5px; color: rgba(244, 245, 255, .75); line-height: 1.4; }
.acct-menu .acct-app a { padding: 0; color: var(--lime); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.acct-menu .acct-app a:hover { background: none; }
.acct-menu .acct-signout { color: var(--danger); border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 10px 10px; font-weight: 600; }
.mob-acct { display: flex; align-items: center; gap: 10px; color: #fff; padding: 4px 0 6px; }

/* ── Reminders dialog ── */
.modal-card:has(.rem-times) { max-width: 560px; }
.rem-times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
.rem-times input { font-size: 18px; font-weight: 700; }
.rem-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.rem-opt b { font-size: 15.5px; }
.rem-opt p { font-size: 14px; color: var(--muted); margin: 3px 0 0; }
.rem-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--ink); }
.rem-cal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rem-on { color: var(--green); }
.rem-app .btn-store { margin-top: 10px; height: 38px; font-size: 14px; padding: 0 16px; }
.rem-qr { border-radius: 10px; border: 1px solid var(--line); }
.rem-opt .form-error { margin-top: 8px; }
@media (max-width: 640px) {
  .rem-opt { grid-template-columns: auto 1fr; }
  .rem-opt > .btn { grid-column: 2; justify-self: start; }
  .rem-qr { display: none; }
  .nav-remind span { display: none; }
}

/* ── Get the app ── */
.ga-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: 40px; align-items: start; }
.ga-lead { font-size: 18px; color: var(--ink-2); margin: 0 0 18px; max-width: 620px; }
.ga-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ga-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.ga-list li::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--lime); margin-bottom: 8px; }
.ga-list b { font-size: 16px; }
.ga-list span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.ga-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; position: sticky; top: calc(var(--nav-h) + 20px); box-shadow: var(--shadow); }
.ga-qr-wrap { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: 6px; }
.ga-qr { background: #fff; border-radius: 16px; padding: 10px; width: 200px; height: 200px; }
.ga-qr-wrap p { margin: 0; display: grid; gap: 2px; }
.ga-qr-wrap span { color: rgba(244, 245, 255, .7); font-size: 14px; }
.ga-free { text-align: center; color: rgba(244, 245, 255, .7); font-size: 14px; margin: 2px 0 0; }
.ga-here { margin-top: 56px; }
.ga-here-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ga-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.ga-tile:hover { border-color: var(--navy); transform: translateY(-1px); }
.ga-tile b { font-size: 16px; }
.ga-tile span { font-size: 14px; color: var(--muted); }
.ga-web { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) {
  .ga-grid { grid-template-columns: minmax(0, 1fr); }
  .ga-card { position: static; order: -1; }
  .ga-here-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ga-list { grid-template-columns: minmax(0, 1fr); }
  .ga-qr-wrap { display: none; }
}
.today-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.today-side p { margin: 0; }

/* ── Reader: one dhikr at a time with Previous / Next ── */
.fx-top { gap: 12px; }
.fx-top .dk-times { margin-right: auto; }
.fx-top .dk-acts { margin-left: 0; }
.fx-pager { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 22px; }
.fx-pager .btn { gap: 8px; min-width: 150px; justify-content: center; }
.fx-pager .btn[disabled] { opacity: .4; pointer-events: none; }
.fx-dots { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.fx-dots i { display: block; height: 100%; background: var(--green); border-radius: 6px; transition: width .25s ease; }
@media (max-width: 640px) {
  .fx-pager { position: sticky; bottom: 0; z-index: 5; background: linear-gradient(rgba(246,247,243,0), var(--paper) 30%); padding: 18px 0 14px; margin-top: 8px; gap: 12px; }
  .fx-pager .btn { min-width: 0; padding: 0 18px; }
  .fx-dots { display: none; }
  .fx-pager { grid-template-columns: 1fr 1fr; }
}

/* ── Download: phone and computer ── */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.dl-card { border-radius: var(--r-lg); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.dl-card h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.dl-card .eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 0; }
.dl-sub { font-size: 16px; line-height: 1.5; margin: 0; }
.dl-phone { background: var(--navy); color: #fff; }
.dl-phone .eyebrow { color: var(--lime); }
.dl-phone .dl-sub, .dl-phone .dl-note, .dl-phone .dl-ios { color: rgba(244, 245, 255, .76); }
.dl-row { display: flex; gap: 20px; align-items: center; margin-top: 6px; }
.dl-qr { background: #fff; border-radius: 14px; padding: 8px; flex: none; }
.dl-actions { display: grid; gap: 10px; justify-items: start; }
.dl-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.dl-ios { font-size: 14px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.dl-ios .link-btn { color: var(--lime); }
.dl-desktop { background: var(--surface); border: 1px solid var(--line); }
.dl-desktop .eyebrow { color: var(--green); }
.dl-desktop .dl-sub { color: var(--ink-2); }
.dl-ticks { margin: 4px 0 6px; }
.dl-desktop .btn { align-self: flex-start; gap: 10px; }
.dl-desktop .dl-note { margin-top: auto; }
.dl-installed { display: none; font-weight: 600; color: var(--green); margin: 0; }
.is-installed .dl-installed { display: block; }
.ga-more { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
.ga-more .ga-list { grid-template-columns: repeat(3, 1fr); }
.ins-steps { list-style: none; padding: 0; margin: 18px 0 10px; display: grid; gap: 12px; }
.ins-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.ins-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
@media (max-width: 960px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .ga-more .ga-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dl-qr { display: none; }
  .ga-more .ga-list { grid-template-columns: minmax(0, 1fr); }
  .dl-card { padding: 24px 20px 20px; }
}

/* ── Join a family circle ── */
.join-wrap { display: grid; place-items: center; min-height: 60vh; }
.join-card { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px 28px; text-align: center; display: grid; gap: 14px; justify-items: center; box-shadow: var(--shadow); }
.join-icon { border-radius: 18px; }
.join-card .eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0; }
.join-card h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 36px); line-height: 1.1; }
.join-sub { color: var(--ink-2); margin: 0; max-width: 460px; }
.join-code { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 16px; padding: 12px 14px 12px 20px; margin: 6px 0; }
.join-code span { font-size: 13px; color: var(--muted); }
.join-code b { font-family: var(--display); font-size: 32px; letter-spacing: .14em; color: var(--ink); }
.join-actions { display: grid; gap: 10px; width: 100%; }
.join-note { font-size: 14px; color: var(--muted); margin: 0; }
.join-steps { text-align: left; margin: 8px 0 0; padding: 16px 16px 16px 36px; border-top: 1px solid var(--line); width: 100%; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
@media (max-width: 640px) { .join-card { padding: 26px 18px 22px; } .join-code b { font-size: 26px; } }
.fx-share { gap: 6px; margin-left: 4px; }

/* ── Family circles ── */
.fam-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fam-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fam-intro { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 40px 32px; text-align: center; display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto; }
.fam-intro h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; }
.fam-intro p { color: rgba(244, 245, 255, .78); max-width: 560px; margin: 0; }
.fam-intro .fam-pending { color: var(--lime); font-weight: 600; }
.fam-intro-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.fam-intro .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.fam-avatars { display: flex; }
.fam-avatars span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-left: -10px; border: 3px solid var(--navy); background: #7FD1C7; color: var(--navy); }
.fam-avatars span:nth-child(2) { background: var(--sky); } .fam-avatars span:nth-child(3) { background: var(--lime); }
.fam-skel div { height: 220px; border-radius: var(--r-lg); background: var(--surface-2); margin-bottom: 16px; animation: pulse 1.4s ease-in-out infinite; }
.fam-tabs { margin-bottom: 16px; }
.fam-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr); gap: 20px; align-items: start; }
.fam-card { border-radius: var(--r-lg); padding: 24px; }
.fam-standing { background: var(--navy); color: #fff; display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 16px); }
.fam-standing .eyebrow { color: var(--lime); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 0; }
.fam-standing h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.fam-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 14px 10px; }
.fam-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fam-stats b { font-family: var(--display); font-size: 24px; }
.fam-stats span { font-size: 12.5px; color: rgba(244, 245, 255, .7); }
.fam-code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fam-code-row span { color: rgba(244, 245, 255, .75); }
.fam-code-row b { color: #fff; letter-spacing: .12em; font-family: var(--display); font-size: 18px; margin-left: 4px; }
.fam-board { background: var(--surface); border: 1px solid var(--line); }
.fam-periods { margin-bottom: 12px; }
.fam-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fm { display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 14px; }
.fm.you { background: var(--green-soft); }
.fm-rank { font-weight: 700; color: var(--muted); text-align: center; }
.fm-av { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; color: var(--ink-2); overflow: hidden; font-size: 14px; }
.fm-av img { width: 100%; height: 100%; object-fit: cover; }
.fm-name { display: flex; flex-direction: column; min-width: 0; }
.fm-name b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-name em { font-style: normal; color: var(--muted); font-weight: 500; }
.fm-name small { font-size: 11px; background: #FFF4D6; color: #8A6100; border-radius: 6px; padding: 1px 6px; margin-left: 4px; font-weight: 700; }
.fm-today { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 3px; }
.fm-today i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--faint); font-weight: 600; }
.fm-today i.on { background: var(--green); color: #fff; }
.fm-streak { font-size: 12px; color: var(--muted); }
.fm-pts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.fm-pts b { font-family: var(--display); font-size: 20px; }
.fm-pts small { color: var(--muted); font-size: 11px; }
.fm-cheer-space { width: 0; }
.fam-hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.fam-leave { color: var(--danger); font-size: 13.5px; margin-top: 6px; }
.fam-invite { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #FFF8E6; border: 1px solid #F2DFA8; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.fam-invite span { display: block; font-size: 13px; color: var(--muted); }
.fam-invite-btns { display: flex; gap: 8px; }
.fam-code { display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); border-radius: 14px; padding: 12px 16px; margin: 16px 0 10px; }
.fam-code span { font-size: 13px; color: var(--muted); }
.fam-code b { font-family: var(--display); font-size: 28px; letter-spacing: .14em; }
.fam-link input { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink-2); background: #fff; }
.fam-invite-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.fam-byname { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.fam-type { margin: 6px 0 14px; display: flex; }
.fam-type label { flex: 1; text-align: center; cursor: pointer; }
.fam-type input { position: absolute; opacity: 0; }
.fam-type span { display: block; padding: 10px; border-radius: 10px; font-weight: 600; }
.fam-type input:checked + span { background: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 900px) {
  .fam-grid { grid-template-columns: minmax(0, 1fr); }
  .fam-standing { position: static; }
}
@media (max-width: 640px) {
  .fm { grid-template-columns: 22px 38px minmax(0, 1fr) auto; gap: 10px; }
  .fm-av { width: 38px; height: 38px; }
  .fm-cheer, .fm-cheer-space { grid-column: 3 / -1; justify-self: start; }
  .fam-card { padding: 18px 16px; }
  .fam-intro { padding: 30px 20px; }
}
@keyframes pulse { 50% { opacity: .55; } }
.has-ios-app .dl-ios { display: none; }
