@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-latin-400-normal-d360be31.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-latin-500-normal-afc692de.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-latin-600-normal-765bd6dc.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/poppins-latin-700-normal-96729a37.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/*
 * Tawaf Duas — Forest & Copper (matches Osama's link-in-bio).
 * Bold forest outlines, a soft sage ground, copper accents,
 * and one geometric motif: the eight-pointed star (khatam) and its lattice.
 */
:root {
  --forest: #22372b;
  --forest-2: #2e4a3a;
  --sage: #4f7f66;
  --sage-soft: #dfe9e1;
  --ground: #e8efe9;
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --copper: #c77d3a;
  --copper-text: #9a5824;
  --copper-soft: #f3e3d1;
  --muted: #55665b;
  --red: #a23a2f;
  --red-soft: #f6e2de;
  --line: 2px solid var(--forest);
  --hard-shadow: 4px 4px 0 var(--forest);
  --r-lg: 18px;
  --r: 12px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Naskh Arabic", "Geeza Pro", sans-serif;
  --lattice: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='%2322372b' stroke-opacity='0.13' stroke-width='1.2'><path d='M32.00 15.00 L36.98 19.98 L44.02 19.98 L44.02 27.02 L49.00 32.00 L44.02 36.98 L44.02 44.02 L36.98 44.02 L32.00 49.00 L27.02 44.02 L19.98 44.02 L19.98 36.98 L15.00 32.00 L19.98 27.02 L19.98 19.98 L27.02 19.98Z'/><path d='M0.00 -17.00 L4.98 -12.02 L12.02 -12.02 L12.02 -4.98 L17.00 0.00 L12.02 4.98 L12.02 12.02 L4.98 12.02 L0.00 17.00 L-4.98 12.02 L-12.02 12.02 L-12.02 4.98 L-17.00 0.00 L-12.02 -4.98 L-12.02 -12.02 L-4.98 -12.02Z'/><path d='M0.00 47.00 L4.98 51.98 L12.02 51.98 L12.02 59.02 L17.00 64.00 L12.02 68.98 L12.02 76.02 L4.98 76.02 L0.00 81.00 L-4.98 76.02 L-12.02 76.02 L-12.02 68.98 L-17.00 64.00 L-12.02 59.02 L-12.02 51.98 L-4.98 51.98Z'/><path d='M64.00 -17.00 L68.98 -12.02 L76.02 -12.02 L76.02 -4.98 L81.00 0.00 L76.02 4.98 L76.02 12.02 L68.98 12.02 L64.00 17.00 L59.02 12.02 L51.98 12.02 L51.98 4.98 L47.00 0.00 L51.98 -4.98 L51.98 -12.02 L59.02 -12.02Z'/><path d='M64.00 47.00 L68.98 51.98 L76.02 51.98 L76.02 59.02 L81.00 64.00 L76.02 68.98 L76.02 76.02 L68.98 76.02 L64.00 81.00 L59.02 76.02 L51.98 76.02 L51.98 68.98 L47.00 64.00 L51.98 59.02 L51.98 51.98 L59.02 51.98Z'/><path d='M32.0 15.0V0M32.0 49.0V64M15.0 32.0H0M49.0 32.0H64'/></g></svg>");
  --lattice-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g fill='none' stroke='%23f4efe6' stroke-opacity='0.08' stroke-width='1.2'><path d='M32.00 15.00 L36.98 19.98 L44.02 19.98 L44.02 27.02 L49.00 32.00 L44.02 36.98 L44.02 44.02 L36.98 44.02 L32.00 49.00 L27.02 44.02 L19.98 44.02 L19.98 36.98 L15.00 32.00 L19.98 27.02 L19.98 19.98 L27.02 19.98Z'/><path d='M0.00 -17.00 L4.98 -12.02 L12.02 -12.02 L12.02 -4.98 L17.00 0.00 L12.02 4.98 L12.02 12.02 L4.98 12.02 L0.00 17.00 L-4.98 12.02 L-12.02 12.02 L-12.02 4.98 L-17.00 0.00 L-12.02 -4.98 L-12.02 -12.02 L-4.98 -12.02Z'/><path d='M0.00 47.00 L4.98 51.98 L12.02 51.98 L12.02 59.02 L17.00 64.00 L12.02 68.98 L12.02 76.02 L4.98 76.02 L0.00 81.00 L-4.98 76.02 L-12.02 76.02 L-12.02 68.98 L-17.00 64.00 L-12.02 59.02 L-12.02 51.98 L-4.98 51.98Z'/><path d='M64.00 -17.00 L68.98 -12.02 L76.02 -12.02 L76.02 -4.98 L81.00 0.00 L76.02 4.98 L76.02 12.02 L68.98 12.02 L64.00 17.00 L59.02 12.02 L51.98 12.02 L51.98 4.98 L47.00 0.00 L51.98 -4.98 L51.98 -12.02 L59.02 -12.02Z'/><path d='M64.00 47.00 L68.98 51.98 L76.02 51.98 L76.02 59.02 L81.00 64.00 L76.02 68.98 L76.02 76.02 L68.98 76.02 L64.00 81.00 L59.02 76.02 L51.98 76.02 L51.98 68.98 L47.00 64.00 L51.98 59.02 L51.98 51.98 L59.02 51.98Z'/><path d='M32.0 15.0V0M32.0 49.0V64M15.0 32.0H0M49.0 32.0H64'/></g></svg>");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); }
body { margin: 0; min-height: 100vh; background: linear-gradient(160deg, #eaf2eb, #dbe7dd) fixed; color: var(--forest); font: 16px/1.6 var(--font); }
input, select, textarea, button { font-family: var(--font); }

a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--copper-text); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
/* No single words left hanging on the last line */
h1, h2, h3, .lede, .invite .message, .center p, .find-card p { text-wrap: balance; }
p, li, .hint, .dua-body, .story-body p, .tawaf-text { text-wrap: pretty; }

.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 480px; }
main { padding: 28px 0 88px; }

/* ---------- Header ---------- */
.site-header { background: var(--forest); color: var(--cream); border-bottom: 3px solid var(--copper); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--cream); }
.brand .star { width: 26px; height: 26px; fill: var(--copper); }
.nav { display: flex; align-items: center; gap: 1rem; font-size: .93rem; white-space: nowrap; }
.nav a, .nav .link-button { color: var(--cream); text-decoration: none; opacity: .85; }
.nav a:hover, .nav .link-button:hover { opacity: 1; color: var(--cream); }
.nav a.btn { opacity: 1; }
@media (max-width: 480px) { .site-header:has(.nav-full) .brand-name { display: none; } }
@media (max-width: 380px) { .brand-name { display: none; } }
@media (max-width: 420px) { .nav { gap: .7rem; font-size: .88rem; } .brand { font-size: 1rem; } .nav a.btn { padding: 8px 11px; } }

/* ---------- Flash & errors ---------- */
.flash { padding: 12px 16px; border-radius: var(--r); margin-bottom: 20px; font-size: .95rem; border: var(--line); }
.flash-notice { background: var(--sage-soft); }
.flash-alert  { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.errors { background: var(--red-soft); color: var(--red); border: 2px solid var(--red); border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; font-size: .93rem; }
.errors ul { margin: 0; padding-left: 18px; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--hard-shadow); margin-bottom: 20px; }
.card.flat { box-shadow: none; background: rgba(251, 248, 242, .6); }
.card-accent { background: var(--cream); border-color: var(--copper); box-shadow: 4px 4px 0 var(--copper); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 12px 20px; border: var(--line); border-radius: var(--r); background: var(--forest); color: var(--cream); font: 600 .97rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .08s, box-shadow .08s; box-shadow: 3px 3px 0 var(--copper); }
.btn:hover { color: var(--cream); background: var(--forest-2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--copper); }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--forest); box-shadow: 3px 3px 0 var(--forest); }
.btn-light:hover { background: var(--cream); color: var(--forest); }
.btn-light:active { box-shadow: 1px 1px 0 var(--forest); }
.btn-copper { background: var(--copper); color: #1f160c; border-color: var(--forest); box-shadow: 3px 3px 0 var(--forest); }
.btn-copper:hover { background: #b86f30; color: #1f160c; }
.btn-whatsapp { background: #25935a; color: #fff; box-shadow: 3px 3px 0 var(--forest); }
.btn-whatsapp:hover { background: #1e7a4a; color: #fff; }
.btn-small { min-height: 38px; padding: 8px 13px; font-size: .87rem; border-radius: 10px; }
.btn-danger { background: var(--paper); color: var(--red); border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.btn-danger:hover { background: var(--red-soft); color: var(--red); }
.site-header .btn { background: var(--copper); color: #1f160c; border-color: var(--copper); box-shadow: none; }
.site-header .btn:hover { background: #d78c47; color: #1f160c; }
.link-button { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover { color: var(--forest); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
form.button_to { display: inline; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 400; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search],
input[type=date], input[type=datetime-local], input[type=number], select, textarea {
  width: 100%; font-size: 16px; line-height: 1.4; padding: 12px 14px; border-radius: 10px;
  border: 2px solid #9fb2a5; background: #fff; color: var(--forest);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 3px 3px 0 var(--copper); }
textarea { min-height: 140px; resize: vertical; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border: 2px solid var(--forest); border-radius: var(--r); background: var(--cream); font-weight: 400; cursor: pointer; }
.option input[type=checkbox] { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.option strong { display: block; font-weight: 600; }
.option .hint { display: block; margin-top: 2px; }
.option-email { display: block; cursor: default; border-color: var(--copper); background: var(--copper-soft); }
.option-email label { margin-bottom: 8px; }
.option-email .hint { margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; width: 19px; height: 19px; accent-color: var(--forest); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.word-count { text-align: right; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.word-count.over { color: var(--red); font-weight: 600; }
details.optional summary { cursor: pointer; font-weight: 600; font-size: .93rem; margin-bottom: 12px; color: var(--sage); }

/* ---------- Utility ---------- */
.star { width: 1.1em; height: 1.1em; fill: var(--copper); vertical-align: -0.15em; flex: none; }
.star-lg { width: 54px; height: 54px; fill: var(--copper); }
.card > .star { width: 36px; height: 36px; display: block; margin: 0 auto 10px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt { margin-top: 24px; } .mb { margin-bottom: 24px; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; padding: 3px 11px; border-radius: 99px; border: 1.5px solid var(--forest); background: var(--sage-soft); }
.pill-copper { background: var(--copper-soft); border-color: var(--copper-text); color: var(--copper-text); }
.pill-grey { background: #eceeea; color: var(--muted); border-color: #9aa59d; }

/* Star rule: a thin divider with a khatam in the middle */
.divider { display: flex; align-items: center; gap: 14px; margin: 34px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 2px solid var(--forest); opacity: .35; }
.divider .star { width: 16px; height: 16px; fill: var(--copper); }

/* ---------- Home ---------- */
/* The mihrab: an arch-topped frame filled with the star lattice */
.mihrab { position: relative; margin: 6px auto 28px; max-width: 560px; padding: 64px 28px 34px; text-align: center;
  border: 3px solid var(--forest); border-radius: 280px 280px var(--r-lg) var(--r-lg) / 220px 220px var(--r-lg) var(--r-lg);
  background: var(--lattice) center top / 64px 64px, var(--paper); box-shadow: 6px 6px 0 var(--forest); }
.mihrab::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--copper); border-radius: inherit; pointer-events: none; }
.mihrab .star-lg { width: 54px; height: 54px; fill: var(--copper); margin-bottom: 10px; }
.mihrab h1 { font-size: clamp(2.1rem, 8vw, 3.1rem); font-weight: 700; line-height: 1.05; margin-bottom: .35em; }
.mihrab .lede { font-size: 1.05rem; color: var(--forest-2); max-width: 420px; margin: 0 auto 1.4em; background: rgba(251, 248, 242, .85); border-radius: 8px; }
.mihrab .arabic { font-family: "Noto Naskh Arabic", "Geeza Pro", serif; font-size: 1.5rem; color: var(--copper-text); margin-bottom: 4px; }
.mihrab .button-row { justify-content: center; }

.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: var(--paper); border: var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.step-mark { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.step-mark .star { position: absolute; inset: 0; width: 48px; height: 48px; fill: var(--forest); }
.step-mark b { position: relative; color: var(--cream); font-size: 1rem; }
.steps h3 { margin: 4px 0 2px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.find-card h2 { margin-bottom: .2em; }
.find-form { display: flex; gap: 10px; margin-top: 12px; }
.find-form input { flex: 1; }
.find-form .btn { flex: none; }
@media (max-width: 460px) { .find-form { flex-direction: column; } }

/* ---------- Lists ---------- */
.list-card { display: block; text-decoration: none; color: inherit; transition: transform .08s, box-shadow .08s; }
.list-card:hover { color: inherit; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--forest); }
.list-card h3 { margin: 10px 0 2px; font-size: 1.2rem; }
.progress { height: 12px; background: var(--cream); border: 2px solid var(--forest); border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.progress > span { display: block; height: 100%; background: var(--sage); border-right: 2px solid var(--forest); }
.progress > span[style="width: 0%"] { border-right: 0; }
.offline-tip summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; list-style: none; }
.offline-tip summary::-webkit-details-marker { display: none; }
.offline-tip summary::after { content: "Show"; margin-left: auto; font-size: .85rem; font-weight: 500; color: var(--copper-text); text-decoration: underline; text-underline-offset: 3px; }
.offline-tip[open] summary::after { content: "Hide"; }
.offline-tip[open] summary { margin-bottom: 10px; }
.offline-tip ol { margin: 6px 0 0; padding-left: 20px; }
.offline-tip li { margin-bottom: 6px; }
.share-url { display: flex; gap: 8px; margin: 12px 0 14px; }
.share-url input { font-size: .9rem; }

.tabs { display: flex; gap: 6px; margin: 30px 0 16px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border: 2px solid var(--forest); border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--paper); }
.tabs a.active { background: var(--forest); color: var(--cream); }
.tabs .count { font-weight: 400; opacity: .8; }

.dua { margin-bottom: 16px; }
.dua-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.dua-meta strong { color: var(--forest); font-size: .98rem; }
.dua-body { font-size: 1.04rem; white-space: pre-wrap; margin-bottom: 14px; unicode-bidi: plaintext; }
.dua.completed { box-shadow: none; background: rgba(251, 248, 242, .7); }
.dua.completed .dua-body { color: var(--muted); }
.empty { text-align: center; padding: 36px 20px; color: var(--muted); }
.empty .star { width: 36px; height: 36px; fill: var(--copper); margin-bottom: 8px; }
.member { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1.5px solid rgba(34, 55, 43, .15); }
.member:last-child { border-bottom: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }

/* ---------- Public share page ---------- */
.invite { text-align: center; margin-bottom: 24px; }
.invite .star { width: 34px; height: 34px; fill: var(--copper); }
.invite .trip { font-weight: 600; color: var(--copper-text); font-size: .95rem; margin-top: 4px; }
.invite h1 { margin-top: 4px; }
.invite .message { font-style: italic; color: var(--forest-2); max-width: 480px; margin: 10px auto 0; white-space: pre-wrap; }
.closes { font-size: .88rem; color: var(--muted); }
.story { border-color: var(--copper); box-shadow: 4px 4px 0 var(--copper); background: var(--cream); }
.story-title { font-size: 1.12rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.story-title .star { width: 18px; height: 18px; fill: var(--copper); }
.story-body p { font-size: 1rem; line-height: 1.75; margin: 0 0 .9em; unicode-bidi: plaintext; }
.story-body p:last-child { margin-bottom: 0; }
.story-body.clamped { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.story-toggle { margin-top: 8px; color: var(--copper-text); font-weight: 600; }

.leave-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 18px; border: var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.leave-choice a { padding: 12px 10px; text-align: center; font-weight: 600; font-size: .93rem; text-decoration: none; color: var(--forest); }
.leave-choice a + a { border-left: var(--line); }
.leave-choice a.active { background: var(--forest); color: var(--cream); }
.note-card { border-color: var(--sage); box-shadow: 4px 4px 0 var(--sage); }
.result { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---------- Footer, About, Journal ---------- */
.site-footer { border-top: 2px solid rgba(34, 55, 43, .2); padding: 22px 0 36px; font-size: .9rem; }
.site-footer .container { text-align: center; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.copyright { font-size: .8rem; margin: 0; text-wrap: balance; }
.footer-links a.footer-support { color: var(--copper-text); font-weight: 600; }
.site-footer .star { width: 12px; height: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal h2 { font-size: 1.1rem; margin-top: 1.6em; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
body.tawaf-body .site-footer { display: none; }
.about h1 { margin-top: 8px; }
.star-home { display: inline-block; line-height: 0; border-radius: 50%; }
.star-home .star-lg { transition: transform .15s; }
.star-home:hover .star-lg { transform: rotate(22.5deg); }
.support-card .btn { margin-top: 6px; }
.support-card .hint { margin-bottom: 14px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.about-list .star { width: 16px; height: 16px; margin-top: 4px; }
.journal-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.1rem; }
.journal-entry .dua-body { margin-bottom: 12px; }

/* ---------- Tawaf mode ---------- */
body.tawaf-body { background: var(--lattice-dark) center / 64px 64px, var(--forest); color: var(--cream); }
body.tawaf-body .site-header { display: none; }
body.tawaf-body main { padding: 0; }
.tawaf { min-height: 100vh; display: flex; flex-direction: column; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
.tawaf-top { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.tawaf-top a { color: var(--cream); text-decoration: none; opacity: .85; }
.tawaf .progress { background: rgba(244, 239, 230, .12); border-color: var(--cream); }
.tawaf .progress > span { background: var(--copper); border-color: var(--cream); }
.tawaf-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.tawaf-card { display: none; background: rgba(34, 55, 43, .92); border: 2px solid var(--copper); border-radius: var(--r-lg); padding: 26px 24px; }
.tawaf-card.current { display: block; }
.tawaf-name { display: flex; align-items: center; gap: 8px; color: var(--copper); font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.tawaf-name .star { width: 16px; height: 16px; fill: var(--copper); }
.tawaf-text { font-size: clamp(1.35rem, 5.2vw, 1.95rem); font-weight: 500; line-height: 1.5; white-space: pre-wrap; unicode-bidi: plaintext; }
.tawaf-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.tawaf-actions .btn { min-height: 60px; font-size: 1.05rem; }
.tawaf-actions .btn-skip { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.tawaf-actions .btn-done { background: var(--copper); color: #1f160c; border-color: var(--cream); box-shadow: 3px 3px 0 var(--cream); }
.tawaf-done { display: none; text-align: center; background: rgba(34, 55, 43, .92); border: 2px solid var(--copper); border-radius: var(--r-lg); padding: 30px 20px; }
.tawaf-done.show { display: block; }
.tawaf-done .star { width: 48px; height: 48px; fill: var(--copper); }
.sync-status { font-size: .8rem; text-align: center; margin-top: 10px; color: rgba(244, 239, 230, .7); min-height: 1.2em; }
.textsize { background: none; border: 1.5px solid rgba(244, 239, 230, .5); color: inherit; border-radius: 8px; padding: 4px 10px; font-size: .85rem; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
