/* ==========================================================================
   Sakeenah 2.0 — theme.css
   Shared by the public site and the panel (member area + admin):
   fonts, palette tokens (6 palettes × light/dark), base elements, and the
   components both sides use (buttons, forms, cards, badges, alerts, tabs,
   dialogs, toasts, tables, pager, Islamic ornaments).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url(../fonts/amiri-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EFD-10EFF, U+1EE00-1EEFF; }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url(../fonts/amiri-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url(../fonts/amiri-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: "Amiri"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/amiri-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Amiri"; font-weight: 700; font-display: swap; src: url(../fonts/amiri-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Amiri"; font-weight: 700; font-display: swap; src: url(../fonts/amiri-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Amiri"; font-weight: 700; font-display: swap; src: url(../fonts/amiri-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: "Amiri Quran"; font-weight: 400; font-display: swap; src: url(../fonts/amiri-quran-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Scheherazade New"; font-weight: 400; font-display: swap; src: url(../fonts/scheherazade-new-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Scheherazade New"; font-weight: 700; font-display: swap; src: url(../fonts/scheherazade-new-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Aref Ruqaa"; font-weight: 400; font-display: swap; src: url(../fonts/aref-ruqaa-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Aref Ruqaa"; font-weight: 700; font-display: swap; src: url(../fonts/aref-ruqaa-arabic-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Reem Kufi"; font-weight: 400; font-display: swap; src: url(../fonts/reem-kufi-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Reem Kufi"; font-weight: 400; font-display: swap; src: url(../fonts/reem-kufi-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Reem Kufi"; font-weight: 600; font-display: swap; src: url(../fonts/reem-kufi-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Reem Kufi"; font-weight: 600; font-display: swap; src: url(../fonts/reem-kufi-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

/* ﷺ and other Arabic honorific ligatures inside Latin text use Amiri's glyphs */
@font-face { font-family: "SK Honorific"; font-display: swap; src: url(../fonts/amiri-arabic-400-normal.woff2) format("woff2"); unicode-range: U+FDFA, U+FDFB, U+FDFD, U+06DD, U+06DE; }

/* ---------- Tokens ---------- */
:root {
  /* palette: Sakeenah (from the logo: saffron gold, night navy) */
  --brand: #163B6D;  --brand-strong: #0F2A4F;  --brand-ink: #FFFFFF;
  --accent: #B5680A; --accent-strong: #8F5208; --accent-ink: #FFFFFF;
  --gold: #D9A441;   /* ornament gold (lines, stars) */

  --bg: #F3F5F8;        /* cool marble, never cream */
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --surface-3: #E3E8F0;
  --line: #D9DFE8;
  --line-strong: #BCC5D3;
  --ink: #142033;
  --ink-2: #435066;
  --ink-3: #66728A;
  --focus: #2F7BE0;

  --ok: #1E7A4C;   --ok-soft: #E3F4EA;
  --warn: #A15C00; --warn-soft: #FDF0DC;
  --bad: #B42335;  --bad-soft: #FBE6E9;
  --info: #1F5FA8; --info-soft: #E3EEFA;

  --brand-soft: color-mix(in srgb, var(--brand) 10%, var(--surface));
  --accent-soft: color-mix(in srgb, var(--accent) 13%, var(--surface));
  --hero-a: var(--brand-strong);
  --hero-b: var(--brand);

  --font-body: "Source Sans 3", "SK Honorific", "Segoe UI", system-ui, -apple-system, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --font-head: "Amiri", "SK Honorific", Georgia, "Times New Roman", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", serif;
  --font-quran: "Amiri Quran", "Amiri", "Scheherazade New", serif;
  --font-ar: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif;
  --font-callig: "Aref Ruqaa", "Amiri", serif;
  --font-lyrics: "Scheherazade New", "Amiri", "Noto Naskh Arabic", serif;
  --font-kufi: "Reem Kufi", "Amiri", sans-serif;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(16 28 48 / .06), 0 1px 1px rgb(16 28 48 / .04);
  --shadow-2: 0 6px 20px -6px rgb(16 28 48 / .16), 0 2px 6px rgb(16 28 48 / .05);
  --shadow-3: 0 18px 50px -12px rgb(16 28 48 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tap: 44px;
  --max: 1200px;
  --read: 70ch;
  --bottom-nav: 0px;
  color-scheme: light;
}

/* palettes (light) */
[data-palette="madinah"] { --brand: #1B4D3E; --brand-strong: #103629; --accent: #9C7322; --accent-strong: #7A5A18; --gold: #CFA54A; }
[data-palette="iznik"]   { --brand: #1D4E89; --brand-strong: #133761; --accent: #0E7C7E; --accent-strong: #0A5F61; --gold: #3BB1B3; }
[data-palette="andalus"] { --brand: #7E2A39; --brand-strong: #5E1E2A; --accent: #8C6A1E; --accent-strong: #6E5317; --gold: #C9A04A; }
[data-palette="qadr"]    { --brand: #3A2D6B; --brand-strong: #271E4C; --accent: #8C6F2E; --accent-strong: #6E5623; --gold: #C8AE6B; }
[data-palette="sahara"]  { --brand: #5E3B22; --brand-strong: #432918; --accent: #A5651F; --accent-strong: #834F17; --gold: #D49B4E; }

/* dark mode (class set by the head script from data-mode) */
html.dark {
  color-scheme: dark;
  --bg: #0A1220;
  --surface: #101B2E;
  --surface-2: #16233A;
  --surface-3: #1D2C47;
  --line: #24344F;
  --line-strong: #344866;
  --ink: #E9EEF6;
  --ink-2: #B7C2D4;
  --ink-3: #8F9BB1;
  --brand: #8DB3EA; --brand-strong: #5D8BD0; --brand-ink: #0A1220;
  --accent: #E5A64B; --accent-strong: #F0BC6D; --accent-ink: #1A1206;
  --gold: #E5B862;
  --ok: #5BCB8E; --ok-soft: #12301F; --warn: #F0B35A; --warn-soft: #33240C; --bad: #F2828F; --bad-soft: #3A141B; --info: #7FB2F0; --info-soft: #12253E;
  --hero-a: #0A1630; --hero-b: #13284C;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-2: 0 8px 24px -8px rgb(0 0 0 / .6);
  --shadow-3: 0 18px 50px -12px rgb(0 0 0 / .7);
}
html.dark[data-palette="madinah"] { --brand: #7FCCAE; --brand-strong: #4FA886; --accent: #E2B455; --gold: #E2B455; --hero-a: #08201A; --hero-b: #0F3A2D; --bg: #08130F; --surface: #0E1D18; --surface-2: #142821; --surface-3: #1A3229; --line: #22392F; }
html.dark[data-palette="iznik"]   { --brand: #8DB6F0; --accent: #4FC9C7; --accent-ink: #04201F; --gold: #4FC9C7; --hero-a: #0A1A33; --hero-b: #0F2E57; }
html.dark[data-palette="andalus"] { --brand: #E59AA8; --brand-strong: #C76B7D; --accent: #DDB560; --gold: #DDB560; --hero-a: #22090F; --hero-b: #3D121C; --bg: #140A0D; --surface: #1D1014; --surface-2: #27161C; --surface-3: #321D24; --line: #3A232A; }
html.dark[data-palette="qadr"]    { --brand: #B7A8F2; --brand-strong: #8E7BDA; --accent: #E3C47E; --gold: #E3C47E; --hero-a: #0E0A22; --hero-b: #1E1648; --bg: #0C0A18; --surface: #141126; --surface-2: #1C1834; --surface-3: #252041; --line: #2C2648; }
html.dark[data-palette="sahara"]  { --brand: #E2B48B; --brand-strong: #C48F61; --accent: #F0AE5B; --gold: #F0AE5B; --hero-a: #1A0F07; --hero-b: #33200F; --bg: #120C07; --surface: #1B130C; --surface-2: #251A11; --surface-3: #2F2116; --line: #3A2A1C; }

/* font pairings */
[data-font="kufi"]    { --font-head: "Reem Kufi", "SK Honorific", "Source Sans 3", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
[data-font="scholar"] { --font-body: "Amiri", "SK Honorific", Georgia, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", serif; }
[data-font="scholar"] body { font-size: 1.08rem; line-height: 1.75; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.18rem, 1.08rem + .5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
[data-font="kufi"] h1, [data-font="kufi"] h2 { letter-spacing: 0; font-weight: 600; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--brand); color: var(--brand-ink); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--ink-3); }
.ink-2 { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2.5rem } .mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 1rem; }
.grow { flex: 1 1 auto; min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Arabic & Qur'anic text ---------- */
:where(.ar, body [lang="ar"]) { font-family: var(--font-ar); direction: rtl; text-align: right; line-height: 2; font-size: 1.35em; }
.quran { font-family: var(--font-quran); direction: rtl; text-align: right; line-height: 2.3; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); color: var(--ink); word-spacing: .08em; }
.callig { font-family: var(--font-callig); line-height: 1.6; }
.kufi { font-family: var(--font-kufi); }
.pbuh { font-family: var(--font-ar); font-size: 1.1em; line-height: 1; }
.ayah-no { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin: 0 .25em; font-family: var(--font-ar); font-size: .55em; color: var(--accent); background: url(../img/star8.svg) center / contain no-repeat; vertical-align: middle; position: relative; }
.ayah-no { background: none; }
.ayah-no::before { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: .18; -webkit-mask: url(../img/star8.svg) center / contain no-repeat; mask: url(../img/star8.svg) center / contain no-repeat; }
html[dir="rtl"] .ar, html[dir="rtl"] [lang="ar"] { text-align: right; }

/* ---------- Ornaments ---------- */
.girih { position: relative; isolation: isolate; }
.girih::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: currentColor; opacity: .07;
  -webkit-mask: url(../img/girih.svg) 0 0 / 120px 120px repeat; mask: url(../img/girih.svg) 0 0 / 120px 120px repeat; }
.ornament { display: flex; align-items: center; gap: .9rem; color: var(--gold); margin: 1.5rem auto; max-width: 420px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament i { width: 18px; height: 18px; background: currentColor; -webkit-mask: url(../img/star8.svg) center / contain no-repeat; mask: url(../img/star8.svg) center / contain no-repeat; }
.star-bullet { width: .75em; height: .75em; display: inline-block; background: var(--gold); -webkit-mask: url(../img/star8.svg) center / contain no-repeat; mask: url(../img/star8.svg) center / contain no-repeat; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--surface); --b-ink: var(--ink); --b-line: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--tap); padding: .55rem 1.1rem;
  border-radius: var(--r-pill); border: 1px solid var(--b-line); background: var(--b-bg); color: var(--b-ink);
  font: 600 .97rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.btn:hover { border-color: var(--brand); color: var(--b-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-primary { --b-bg: var(--brand); --b-ink: var(--brand-ink); --b-line: var(--brand); }
.btn-primary:hover { --b-bg: var(--brand-strong); border-color: var(--brand-strong); color: var(--brand-ink); }
.btn-accent { --b-bg: var(--accent); --b-ink: var(--accent-ink); --b-line: var(--accent); }
.btn-accent:hover { --b-bg: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { --b-bg: transparent; --b-line: transparent; }
.btn-ghost:hover { --b-bg: var(--surface-2); border-color: transparent; }
.btn-danger { --b-bg: var(--bad); --b-ink: #fff; --b-line: var(--bad); }
html.dark .btn-danger { --b-ink: #1a0508; }
/* .btn-light: a quiet secondary button on normal (light/dark-surface) backgrounds… */
.btn-light { --b-bg: var(--surface-2); --b-ink: var(--ink); --b-line: var(--line-strong, var(--line)); }
.btn-light:hover { --b-bg: var(--surface-3, var(--surface-2)); color: var(--ink); border-color: var(--brand); }
/* …and a translucent white one on coloured heroes and bands. */
:is(.mihrab-hero, .page-hero, .discover-band, .member-hero, .on-dark) .btn-light { --b-bg: rgb(255 255 255 / .12); --b-ink: #fff; --b-line: rgb(255 255 255 / .35); }
:is(.mihrab-hero, .page-hero, .discover-band, .member-hero, .on-dark) .btn-light:hover { --b-bg: rgb(255 255 255 / .2); color: #fff; border-color: #fff; }
.btn-sm { min-height: 36px; padding: .35rem .85rem; font-size: .88rem; }
.btn-lg { min-height: 52px; padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-icon { width: var(--tap); padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > label, .label { font-weight: 600; font-size: .93rem; color: var(--ink); }
.field .hint, .hint { font-size: .85rem; color: var(--ink-3); }
.field .err { font-size: .85rem; color: var(--bad); }
.input, .select, .textarea, input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="time"], select, textarea {
  width: 100%; min-height: var(--tap); padding: .6rem .85rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s; }
textarea, .textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
select, .select { appearance: none; padding-right: 2.3rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] select { padding-right: .85rem; padding-left: 2.3rem; background-position: 18px 50%, 13px 50%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.switch { position: relative; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--line-strong); position: relative; transition: background .2s; cursor: pointer; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.switch input:checked { background: var(--brand); border-color: var(--brand); }
.switch input:checked::after { transform: translateX(18px); }
.input-group { display: flex; align-items: stretch; }
.input-group > input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group > .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .form-grid .span-2 { grid-column: span 2; } .form-grid .span-all { grid-column: 1 / -1; } }
fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem .4rem; margin: 0 0 1.25rem; }
legend { font-weight: 700; padding: 0 .4rem; font-family: var(--font-head); font-size: 1.05rem; }
.hp { position: absolute !important; height: 1px !important; width: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; opacity: 0; clip: rect(0 0 0 0); inset-inline-start: 0; pointer-events: none; }

/* segmented choice (theme picker, filters) */
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); gap: 2px; }
.seg button, .seg a, .seg label { border: 0; background: none; color: var(--ink-2); font: 600 .88rem var(--font-body); padding: .45rem .9rem; border-radius: var(--r-pill); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; }
.seg .is-on, .seg [aria-pressed="true"], .seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

/* chips / badges */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; min-height: 34px; white-space: nowrap; }
a.chip:hover, .chip.is-on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: var(--r-pill); font-size: .76rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); line-height: 1.5; white-space: nowrap; }
.badge-brand { background: var(--brand-soft); color: var(--brand); }
.badge-accent { background: var(--accent-soft); color: var(--accent-strong); }
html.dark .badge-accent { color: var(--accent); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.card-pad { padding: 1.15rem; }
@media (min-width: 720px) { .card-pad { padding: 1.5rem; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.12rem; }
.card-body { padding: 1.15rem; }
.card-foot { padding: .85rem 1.15rem; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-md) var(--r-md); }

/* ---------- Alerts / toasts ---------- */
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); border: 1px solid; font-size: .95rem; margin-bottom: 1rem; }
.alert .ic { margin-top: .1rem; }
.alert-ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--ink); }
.alert-ok .ic { color: var(--ok); }
.alert-bad, .alert-error { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--ink); }
.alert-bad .ic, .alert-error .ic { color: var(--bad); }
.alert-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); color: var(--ink); }
.alert-warn .ic { color: var(--warn); }
.alert-info { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 30%, transparent); color: var(--ink); }
.alert-info .ic { color: var(--info); }
.toasts { position: fixed; z-index: 2000; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--bottom-nav) + env(safe-area-inset-bottom)); display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: .6rem; align-items: center; background: var(--ink); color: var(--bg); padding: .8rem 1rem; border-radius: var(--r-sm); box-shadow: var(--shadow-3); font-size: .95rem; animation: toast-in .25s var(--ease); }
.toast .ic { color: var(--gold); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Dialog / sheet ---------- */
dialog.sheet { border: 0; padding: 0; background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-3); width: min(94vw, 560px); max-height: 88vh; overflow: auto; }
dialog.sheet::backdrop { background: rgb(5 10 20 / .55); backdrop-filter: blur(2px); }
@media (max-width: 719px) {
  dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 90vh; padding-bottom: env(safe-area-inset-bottom); animation: sheet-up .28s var(--ease); }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } }
.sheet-head { position: sticky; top: 0; background: var(--surface); display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); z-index: 1; }
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.sheet-body { padding: 1.15rem; }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 8px auto 0; }
@media (min-width: 720px) { .sheet-grip { display: none; } }

/* theme picker swatches */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.swatch { display: grid; gap: .35rem; justify-items: center; padding: .7rem .4rem; border: 2px solid var(--line); border-radius: var(--r-md); background: var(--surface); cursor: pointer; font: 600 .85rem var(--font-body); color: var(--ink-2); }
.swatch[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); }
.swatch:has(input:checked) { border-color: var(--accent); color: var(--ink); }
.swatch:has(input:focus-visible), .seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.seg label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.swatch i { display: block; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--a) 0 50%, var(--b) 0); box-shadow: inset 0 0 0 3px rgb(255 255 255 / .6); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
html[dir="rtl"] .table th, html[dir="rtl"] .table td { text-align: right; }
.table th { font-size: .8rem; font-weight: 700; color: var(--ink-3); background: var(--surface-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: 2rem 0 1rem; }
.pager-btn { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .7rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager-btn:hover { border-color: var(--brand); color: var(--brand); }
.pager-btn.is-current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pager-gap { align-self: center; color: var(--ink-3); padding: 0 .2rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: .75rem 1rem; font: 600 .95rem var(--font-body); color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"], .tab.is-on { color: var(--ink); border-color: var(--accent); }

/* ---------- Empty states, skeleton ---------- */
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--ink-2); }
.empty .ic { color: var(--gold); margin-bottom: .5rem; }
.empty h3 { margin-bottom: .3rem; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-xs); }
@keyframes shimmer { to { background-position: -200% 0; } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rich content (articles, lessons, hadith commentary) ---------- */
.prose { font-size: 1.07rem; line-height: 1.78; color: var(--ink); max-width: var(--read); }
[data-font="scholar"] .prose { font-size: 1.15rem; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.7em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0; }
.prose li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 1.1rem 1.25rem; border-inline-start: 4px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--font-head); font-size: 1.12em; }
.prose blockquote cite { display: block; margin-top: .5rem; font: 600 .85rem var(--font-body); color: var(--ink-3); font-style: normal; }
.prose blockquote.ar-quote p[lang="ar"] { font-family: var(--font-quran); font-size: 1.5em; line-height: 2.1; }
.prose img { border-radius: var(--r-md); margin: 1.5em auto; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; }
.prose details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .2rem 1rem; background: var(--surface); }
.prose details + details { margin-top: .6rem; }
.prose summary { cursor: pointer; font-weight: 700; padding: .7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; color: var(--accent); font-size: 1.3em; line-height: 1; }
.prose details[open] summary::after { content: "–"; }
.prose details > p { padding-bottom: .8rem; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.prose code { background: var(--surface-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose [lang="ar"], .prose .ar { font-size: 1.35em; }

/* ---------- Avatars ---------- */
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--brand-soft); color: var(--brand); display: inline-grid; place-items: center; font-weight: 700; flex: none; font-size: .95rem; overflow: hidden; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }

/* ---------- Progress ---------- */
.progress { height: 10px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: inherit; }

/* RTL helpers */
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

@media print {
  .site-header, .site-footer, .bottom-nav, .no-print, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Inside the Android app the native bottom bar is used, so the web one is hidden. */
/* App 1.x draws its own native tab bar, so the site hides its bar there. App 2.x uses the site's bar. */
html.in-app-v1 .bottom-nav, html.in-app-v1 .p-bottom { display: none !important; }
html.in-app-v1 body.site, html.in-app-v1 body.panel { --bottom-nav: 0px; padding-bottom: env(safe-area-inset-bottom); }
html[dir="rtl"] :is(.tr, .en, .trans, .translit, .translation) { direction: ltr; unicode-bidi: isolate; }
html.in-app .app-badge { display: none !important; }
.app-update { display: none; }
html.in-app-v1 .app-update { display: flex; align-items: center; gap: .6rem; position: fixed; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 60; padding: .8rem 1rem; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
/* Emoji picker */
.emoji-wrap { position: relative; }
.emoji-wrap > textarea { padding-bottom: 2.4rem; }
.emoji-wrap.is-input > input { padding-inline-end: 2.6rem; }
.emoji-btn { position: absolute; inset-inline-end: .45rem; bottom: .45rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 1.15rem; line-height: 1; cursor: pointer; opacity: .75; }
.emoji-wrap.is-input .emoji-btn { bottom: 50%; transform: translateY(50%); }
.emoji-btn:hover, .emoji-btn:focus-visible { opacity: 1; background: var(--surface-2); }
.emoji-pop { position: fixed; z-index: 1000; width: 300px; max-width: calc(100vw - 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-3, 0 16px 40px rgb(0 0 0 / .18)); padding: .4rem; display: none; }
.emoji-pop.is-open { display: block; }
.emoji-tabs { display: flex; gap: .15rem; border-bottom: 1px solid var(--line); padding-bottom: .35rem; margin-bottom: .35rem; overflow-x: auto; }
.emoji-tab { border: 0; background: transparent; border-radius: 8px; padding: .25rem .4rem; font-size: 1.1rem; cursor: pointer; opacity: .6; }
.emoji-tab.is-on { opacity: 1; background: var(--surface-2); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .1rem; max-height: 200px; overflow-y: auto; }
.emoji-grid button { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; padding: .3rem 0; border-radius: 8px; cursor: pointer; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.emoji-grid button:hover, .emoji-grid button:focus-visible { background: var(--surface-2); }

/* ---------- Live chat widget ---------- */
.chat-root { position: fixed; z-index: 120; inset-inline-end: 16px; bottom: calc(var(--bottom-nav, 0px) + 16px + env(safe-area-inset-bottom)); font-family: var(--font-body); }
body:has(.floating-player:not([hidden])) .chat-root { bottom: calc(var(--bottom-nav, 0px) + 96px + env(safe-area-inset-bottom)); }
.chat-fab { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--brand) 70%, var(--accent))); box-shadow: 0 10px 28px rgb(0 0 0 / .22); transition: transform .2s var(--ease, ease); }
.chat-fab:hover { transform: translateY(-2px) scale(1.03); }
.chat-fab-ic { font-size: 1.55rem; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.chat-root[data-state="open"] .chat-fab { transform: scale(.9); opacity: .9; }
.chat-dot { position: absolute; top: 4px; inset-inline-end: 4px; width: 14px; height: 14px; border-radius: 50%; background: #e5484d; border: 2px solid #fff; }
.chat-root.is-online .chat-fab::after { content: ""; position: absolute; bottom: 3px; inset-inline-end: 3px; width: 12px; height: 12px; border-radius: 50%; background: #2fbf71; border: 2px solid #fff; }
.chat-panel { position: absolute; bottom: 68px; inset-inline-end: 0; width: min(370px, calc(100vw - 24px)); height: min(560px, calc(100dvh - var(--bottom-nav, 0px) - 120px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgb(0 0 0 / .25); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .4rem; padding: .85rem .9rem; color: #fff; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 75%, #000)); position: relative; }
.chat-head::before { content: ""; position: absolute; inset: 0; opacity: .12; background: var(--gold); -webkit-mask: url(../img/girih.svg) 0 0 / 70px repeat; mask: url(../img/girih.svg) 0 0 / 70px repeat; pointer-events: none; }
.chat-head-txt { flex: 1; display: grid; position: relative; }
.chat-head-txt strong { font-size: 1rem; }
.chat-status { display: flex; align-items: center; gap: .35rem; font-size: .78rem; opacity: .9; }
.chat-led { width: 8px; height: 8px; border-radius: 50%; background: #c8ccd4; }
.chat-root.is-online .chat-led { background: #2fbf71; box-shadow: 0 0 0 3px rgb(47 191 113 / .25); }
.chat-x { position: relative; width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; font-size: 1rem; }
.chat-x:hover { background: rgb(255 255 255 / .22); }
.chat-log { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .55rem; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { display: grid; max-width: 85%; gap: .15rem; }
.chat-msg time { font-size: .68rem; color: var(--ink-3); }
.chat-who { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.chat-bubble { padding: .55rem .8rem; border-radius: 16px; font-size: .94rem; line-height: 1.5; word-wrap: break-word; unicode-bidi: plaintext; text-align: start; }
.chat-bubble a { color: inherit; text-decoration: underline; }
.from-visitor { align-self: flex-end; justify-items: end; }
.from-visitor .chat-bubble { background: var(--brand); color: #fff; border-end-end-radius: 4px; }
.from-staff .chat-bubble, .from-bot .chat-bubble { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-end-start-radius: 4px; }
.from-system { align-self: center; max-width: 92%; justify-items: center; }
.from-system .chat-bubble { background: color-mix(in srgb, var(--gold) 14%, var(--surface)); color: var(--ink-2); font-size: .85rem; text-align: center; border-radius: 12px; }
.is-pending { opacity: .6; }
.chat-rate { display: inline-flex; gap: .2rem; margin-inline-start: .3rem; }
.chat-rate button { border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; padding: 0 .1rem; }
.chat-contact { padding: .6rem .8rem; border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: .45rem; }
.chat-contact[hidden] { display: none; }
.chat-contact p { margin: 0; font-size: .82rem; color: var(--ink-2); }
.chat-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: .4rem; }
.chat-contact input { min-height: 38px; padding: .4rem .6rem; font-size: .88rem; }
.chat-contact .btn { justify-self: start; }
.chat-form { display: flex; align-items: flex-end; gap: .35rem; padding: .55rem; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form textarea { flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: .55rem .75rem; border-radius: 21px; font-size: .95rem; line-height: 1.4; }
.chat-emoji, .chat-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; }
.chat-emoji { background: transparent; }
.chat-emoji:hover { background: var(--surface-2); }
.chat-send { background: var(--accent); color: #fff; font-size: 1.05rem; }
html[dir="rtl"] .chat-send { transform: scaleX(-1); }
.chat-foot { font-size: .7rem; color: var(--ink-3); text-align: center; padding: 0 .8rem .55rem; background: var(--surface); }
@media (max-width: 480px) { .chat-panel { position: fixed; inset-inline: 8px; bottom: calc(var(--bottom-nav, 0px) + 84px + env(safe-area-inset-bottom)); width: auto; } }
@media print { .chat-root { display: none; } }
input[type="file"] { width: 100%; padding: .55rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: .92rem; }
input[type="file"]::file-selector-button { margin-inline-end: .75rem; padding: .45rem .9rem; border: 0; border-radius: 99px; background: var(--brand); color: #fff; font: 600 .88rem var(--font-body); cursor: pointer; }
