/* zikrist.com round 3 · the morning (r3/ch-morning.js): fajr, tick, heart, recite. Every size is in the phone's 402 x 874
   points; everything that moves is set by the chapter's timeline, so nothing here transitions. */

/* ============================================================================================ 1 · fajr ========== */
.r3-fajr-scr { background: #06080D; }
/* first light at the foot of the wallpaper while the azan sounds */
.r3-fajr-dawn { inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(130% 52% at 50% 106%, rgba(243, 227, 204, 0.26), rgba(243, 227, 204, 0.08) 48%, rgba(243, 227, 204, 0) 76%),
    radial-gradient(70% 30% at 50% 100%, rgba(255, 184, 92, 0.10), rgba(255, 184, 92, 0) 70%); }

.r3-fajr-rings { position: absolute; left: 0; top: 0; overflow: visible; }
.r3-fajr-rings path { fill: none; stroke: rgba(243, 227, 204, 0.85); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; }
.r3-fajr-glow { left: -39px; top: 190px; width: 480px; height: 480px; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.30), rgba(243, 227, 204, 0.11) 48%, rgba(243, 227, 204, 0)); }

/* the azan's card: the app's icon in its own light, the prayer, a quiet line */
.r3-fajr-card { left: 61px; top: 360px; width: 280px; height: 232px; box-sizing: border-box; padding-top: 30px; opacity: 0;
  display: flex; flex-direction: column; align-items: center; transform-origin: 50% 50%; }
.r3-fajr-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(243, 227, 204, 0), rgba(255, 247, 234, 0.75) 50%, rgba(243, 227, 204, 0)); }
.r3-fajr-icon { position: relative; width: 88px; height: 88px; flex: none; }
.r3-fajr-corona { position: absolute; left: -46px; top: -46px; width: 180px; height: 180px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.42), rgba(243, 227, 204, 0.14) 52%, rgba(243, 227, 204, 0)); }
.r3-fajr-img { position: absolute; inset: 0; border-radius: 20px; background: #000 url("../kit/brand/icon-256.png") center / cover;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 12px 28px -10px rgba(0, 0, 0, 0.85); }
.r3-fajr-title { margin-top: 22px; font: 600 30px/38px var(--zk-display); letter-spacing: -0.4px; color: #F4F5F7; white-space: nowrap; }
.r3-fajr-title [lang="ar"] { font-family: "Amiri", serif; font-weight: 700; font-size: 32px; letter-spacing: 0; }
.r3-fajr-line { margin-top: 6px; display: flex; align-items: center; gap: 7px; font: 500 15px/20px var(--zk-text);
  letter-spacing: 0.2px; color: #8E939C; }
.r3-fajr-line svg { width: 18px; height: 18px; color: #F3E3CC; display: block; }

/* the phone's own notification (azan/words.ts), held a little out of the glass with the light on its top edge */
.r3-fajr-float, .r3-fajr-breath { position: absolute; inset: 0; }
.r3-fajr-breath { transform-origin: 201px 714px; }
.r3-fajr-nglow { left: -29px; top: 622px; width: 460px; height: 210px; opacity: 0;
  background: radial-gradient(closest-side, rgba(243, 227, 204, 0.26), rgba(243, 227, 204, 0.08) 55%, rgba(243, 227, 204, 0)); }
.r3-fajr-note { position: absolute; left: 12px; top: 676px; width: 378px; box-sizing: border-box; display: flex; gap: 12px;
  align-items: flex-start; padding: 14px 16px 15px 14px; border-radius: 26px; color: #fff; font-family: var(--zk-text); opacity: 0;
  background: rgba(46, 50, 58, 0.66); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 0.5px solid rgba(255, 255, 255, 0.16); border-top-color: rgba(243, 227, 204, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.r3-fajr-nic { display: block; width: 40px; height: 40px; border-radius: 10px; flex: none; margin-top: 1px;
  background: #000 url("../kit/brand/icon-256.png") center / cover; }
.r3-fajr-ntx { flex: 1; min-width: 0; padding-top: 1px; }
.r3-fajr-nrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.r3-fajr-nrow b { font-weight: 600; font-size: 17px; line-height: 22px; white-space: nowrap; }
.r3-fajr-nrow b [lang="ar"] { font-family: "SF Arabic", "Geeza Pro", "Amiri", var(--zk-text); font-weight: 600; }
.r3-fajr-nrow time { font-size: 14px; line-height: 18px; color: rgba(255, 255, 255, 0.52); flex: none; }
.r3-fajr-note p { margin: 1px 0 0; font-size: 17px; line-height: 22px; color: rgba(255, 255, 255, 0.92); }

/* ============================================================================================ 2 · tick ========== */
.r3-tick-scr { background: #030405; }
.r3-tick-scrim { position: absolute; inset: 0; z-index: 9; background: rgba(0, 0, 0, 0.82); opacity: 0; }

.r3-tick-float, .r3-tick-breath { position: absolute; inset: 0; }
.r3-tick-breath { transform-origin: 201px 388px; }
.r3-tick-glow { left: 31px; top: 218px; width: 340px; height: 340px; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.34), rgba(243, 227, 204, 0.12) 50%, rgba(243, 227, 204, 0)); }
/* the day's ring (DayGlyph): five arcs, Fajr's lit in warm light with a soft bloom of its own */
.r3-tick-ring { position: absolute; left: 66px; top: 253px; overflow: visible; }
.r3-tick-arc { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 4; stroke-linecap: round; }
.r3-tick-lit { fill: none; stroke: #F3E3CC; stroke-width: 4.5; stroke-linecap: round; }
.r3-tick-litglow { fill: none; stroke: #FFF7EA; stroke-width: 10; stroke-linecap: round; opacity: 0.55; }
.r3-tick-head { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, #FFFFFF, rgba(255, 247, 234, 0.6) 38%, rgba(255, 247, 234, 0)); }
/* the disc lifted: the bar's core at 2.8 times (its count and name at the same scale) */
.r3-tick-disc { position: absolute; left: 116.13px; top: 290px; width: 169.74px; height: 196px; opacity: 0; transform-origin: 50% 50%; }
.r3-tick-disc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.r3-tick-count { position: absolute; left: 31.67px; top: 70px; width: 106.4px; text-align: center; font: 500 36.4px/50.4px var(--zk-text);
  font-variant-numeric: tabular-nums; color: #F4F5F7; white-space: nowrap; }
.r3-tick-short { position: absolute; left: 0; right: 0; top: 130.2px; text-align: center; font: 700 30.8px/39.2px var(--zk-text);
  letter-spacing: 2.2px; padding-left: 2.2px; color: #ECEEF2; }
.r3-tick-bloom { position: absolute; left: 0; top: 0; overflow: visible; }
.r3-tick-bloom path { fill: none; stroke: rgba(243, 227, 204, 0.9); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; }
/* prayer/words.ts: "Taqabbal Allah · Fajr marked", the thanks in the light */
.r3-tick-words { position: absolute; left: 0; width: 402px; top: 538px; text-align: center; }
.r3-tick-words b i { display: inline-block; font-style: normal; }
.r3-tick-words b { display: block; font: 600 31px/40px var(--zk-display); letter-spacing: -0.3px; color: #FFF7EA; white-space: nowrap;
  text-shadow: 0 0 24px rgba(243, 227, 204, 0.28); }
.r3-tick-words span { display: block; margin-top: 4px; font: 500 16px/22px var(--zk-text); color: #8E939C; letter-spacing: 0.1px; opacity: 0; }

/* ============================================================================ 3 · heart and 4 · recite (Isha) ===== */
.r3-heart-scr, .r3-recite-scr { background: #030405; }
/* round 2's Home moments sit under everything this chapter adds, and their fingertip is never shown */
.r3-heart-scr > .zk-page, .r3-recite-scr > .zk-page { z-index: 0; }
.r3-heart-scr .zks-touch, .r3-recite-scr .zks-touch { display: none !important; }
.r3-heart-scrim { position: absolute; inset: 0; z-index: 6; background: rgba(0, 0, 0, 0.72); opacity: 0; }
.r3-heart-face, .r3-recite-face { display: block; overflow: visible; }

/* the bar's disc (BlobCore), over the bar's gap at (201, 818) */
.r3-heart-disc, .r3-recite-disc { position: absolute; left: 158px; top: 775px; width: 86px; height: 86px; z-index: 7; pointer-events: none; }
.r3-heart-dring, .r3-recite-dring { position: absolute; left: 0; top: 0; }
.r3-heart-core, .r3-recite-core { position: absolute; left: 12.69px; top: 8px; width: 60.62px; height: 70px; filter: drop-shadow(0 0 7px rgba(243, 227, 204, 0.16)); }
.r3-heart-core > svg, .r3-heart-gauge > svg, .r3-recite-core > svg, .r3-recite-gauge > svg { position: absolute; left: 0; top: 0; }
.r3-heart-gauge, .r3-recite-gauge { position: absolute; inset: 0; }
.r3-heart-count, .r3-recite-count { position: absolute; left: 11.31px; top: 25px; width: 38px; text-align: center; font: 500 13px/18px var(--zk-sans);
  font-variant-numeric: tabular-nums; color: #F4F5F7; white-space: nowrap; }
.r3-heart-short, .r3-recite-short { position: absolute; left: 0; right: 0; top: 46.5px; text-align: center; font: 700 11px/14px var(--zk-sans);
  letter-spacing: 0.8px; color: rgba(236, 238, 242, 0.42); }
.r3-heart-today, .r3-recite-today { position: absolute; left: 0.31px; top: 5px; width: 60px; height: 60px; opacity: 0; }

/* the belt (FeelingBelt over belt.ts), lifted in front of the phone */
.r3-heart-belt { position: absolute; inset: 0; opacity: 0; }
.r3-heart-beam { position: absolute; top: 403.5px; height: 1px; }
.r3-heart-bglow { position: absolute; left: 71px; top: 356px; width: 260px; height: 96px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.16), rgba(255, 247, 234, 0)); }
.r3-heart-frame { position: absolute; left: 0; top: 0; overflow: visible; }
.r3-heart-bf { position: absolute; left: 163px; top: 366px; width: 76px; height: 76px; transform-origin: 38px 38px; opacity: 0; }
.r3-heart-drop { position: absolute; left: 163px; top: 366px; width: 76px; height: 76px; transform-origin: 38px 38px; opacity: 0;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45)); }
/* the name bubble (NameBubble), raised, its tail to the face */
.r3-heart-bubble { position: absolute; left: 214px; top: 322px; height: 32px; box-sizing: border-box; padding: 0 12px; display: flex;
  align-items: center; border-radius: 8px; background: #1D2025; border: 1px solid rgba(255, 255, 255, 0.1); border-top-color: rgba(243, 227, 204, 0.3);
  font: 600 15px/20px var(--zk-text); color: #F4F5F7; white-space: nowrap; opacity: 0; transform-origin: 10px 100%;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.7); }
.r3-heart-bubble span { position: relative; z-index: 1; }
.r3-heart-bubble i { position: absolute; left: 8px; bottom: -5px; width: 9px; height: 9px; box-sizing: border-box; background: #1D2025;
  border-right: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); transform: rotate(45deg); }

/* the kept card (round 2's "Tall, Lit" Home card), lifted a little: glass, a deep shadow, its top edge lit */
.r3-heart-float, .r3-heart-breath, .r3-recite-float, .r3-recite-breath { position: absolute; inset: 0; }
.r3-heart-breath { transform-origin: 201px 459px; }
.r3-heart-cglow { left: -59px; top: 169px; width: 520px; height: 580px; opacity: 0; }
.r3-heart-lift { position: absolute; left: 16px; top: 186px; width: 370px; height: 546px; transform-origin: 50% 50%; }
.r3-heart-lift .r3-heart-card { left: 0; top: 0; opacity: 0; }
.r3-heart-shadow, .r3-recite-shadow { position: absolute; inset: 0; border-radius: 24px; opacity: 0;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.r3-heart-glass, .r3-recite-glass { position: absolute; inset: 0; border-radius: 23px; opacity: 0; background: rgba(17, 18, 22, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.r3-heart-edge, .r3-recite-sedge { position: absolute; left: 22px; right: 22px; top: 0; height: 1px; opacity: 0;
  background: linear-gradient(90deg, rgba(243, 227, 204, 0), rgba(255, 247, 234, 0.8) 50%, rgba(243, 227, 204, 0));
  box-shadow: 0 0 12px rgba(255, 247, 234, 0.25); }

/* ---- recite: the card opening into the reader -------------------------------------------------------------- */
.r3-recite-open { position: absolute; left: 16px; top: 186px; width: 370px; height: 546px; z-index: 20; box-sizing: border-box; opacity: 0;
  border-radius: 24px; background: #030405; border: 1px solid rgba(255, 247, 234, 0.05); border-top-color: rgba(255, 247, 234, 0.16); }
.r3-recite-reader { z-index: 21; opacity: 0; overflow: hidden; }
.r3-recite-reader .zk-vtrack, .r3-recite-reader .zk-ayah, .r3-recite-reader .zk-ayah .band, .r3-recite-reader .zk-t { transition: none !important; }
.r3-recite-reader .zk-ayah .band { opacity: 0; }
.r3-recite-rlight { position: absolute; left: 0; top: 0; width: 402px; height: 874px; opacity: 0; pointer-events: none; }
.r3-recite-reader .zk-rtop .dot { opacity: 0.35; }

/* the way out (ExitControl): the ‹ square, then Done, on the control's surface */
.r3-recite-exit { position: absolute; left: 24px; top: 6px; width: 44px; height: 44px; box-sizing: border-box; border-radius: 14px;
  background: #15171B; border: 1px solid rgba(255, 255, 255, 0.12); border-top-color: rgba(243, 227, 204, 0.22); transform-origin: 50% 50%; }
.r3-recite-back, .r3-recite-done { position: absolute; inset: 0; display: grid; place-items: center; color: #C9CDD3; }
.r3-recite-back svg { width: 20px; height: 20px; }
.r3-recite-done { opacity: 0; font: 600 16px/20px var(--zk-sans); color: #ECEEF2; white-space: nowrap; }
.r3-recite-xglow { position: absolute; left: -40px; top: -38px; width: 156px; height: 120px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.32), rgba(243, 227, 204, 0.1) 55%, rgba(243, 227, 204, 0)); }

/* the player capsule (PlayerCapsule): Play, a small pill in the bottom band, grown into the transport */
.r3-recite-cap { position: absolute; left: 0; right: 0; top: 798px; height: 60px; z-index: 9; display: flex; align-items: center; justify-content: center; }
.r3-recite-cglow { position: absolute; left: 41px; top: -40px; width: 320px; height: 140px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 247, 234, 0.26), rgba(243, 227, 204, 0.08) 55%, rgba(243, 227, 204, 0)); }
.r3-recite-shell { position: relative; width: 104px; height: 44px; box-sizing: border-box; overflow: hidden; border-radius: 14px; background: #15171B;
  border: 1px solid rgba(255, 255, 255, 0.12); border-top-color: rgba(243, 227, 204, 0.22); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6); }
.r3-recite-cedge { position: absolute; left: 14px; right: 14px; top: -1px; height: 1px; opacity: 0;
  background: linear-gradient(90deg, rgba(243, 227, 204, 0), rgba(255, 247, 234, 0.85) 50%, rgba(243, 227, 204, 0)); }
.r3-recite-pill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/20px var(--zk-sans); color: #ECEEF2; white-space: nowrap; }
.r3-recite-pill svg { width: 11px; height: 11px; margin-left: 2px; }
.r3-recite-trans { position: absolute; left: 50%; top: 50%; width: 266px; height: 52px; margin: -26px 0 0 -133px; box-sizing: border-box;
  padding: 0 6px; display: flex; align-items: center; opacity: 0; }
.r3-recite-ctl { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: #F4F5F7; }
.r3-recite-ctl svg { width: 20px; height: 20px; }
.r3-recite-mid { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }
.r3-recite-prim b { width: 40px; height: 40px; box-sizing: border-box; display: grid; place-items: center; border-radius: 9px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.r3-recite-stop { width: 11px; height: 11px; border-radius: 2.5px; background: #ECEEF2; }
.r3-recite-chip { min-width: 40px; height: 28px; box-sizing: border-box; padding: 0 6px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.12);
  font: 600 13px/26px var(--zk-sans); text-align: center; color: #C9CDD3; }

/* the saved card (Home's centre), lifted a little out of the glass */
.r3-recite-breath { transform-origin: 201px 686px; }
.r3-recite-sglow { left: -59px; top: 560px; width: 520px; height: 260px; opacity: 0; }
.r3-recite-lift { position: absolute; inset: 0; transform-origin: 201px 686px; }
.r3-recite-lift .r3-recite-scard { opacity: 0; }
.r3-recite-scard .zks-home-sface { position: relative; }
/* a tap on the bar's tab that the next chapter opens (tabTap) */
.r3-tap { position: absolute; left: 0; top: 0; width: 402px; height: 874px; pointer-events: none; }
.r3-tap-dim { position: absolute; inset: 0; background: rgb(2, 3, 4); opacity: 0; }
.r3-tap-bar { position: absolute; left: 0; top: 0; overflow: visible; }
.r3-tap-bar .lens { fill: rgba(255, 255, 255, 0.13); opacity: 0; }
.r3-tap-bar .ic { opacity: 0; }
.r3-tap-bar .ic path { stroke: #F4F5F7; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.r3-tap-bar .ic .f { fill: #F4F5F7; stroke: none; }
.r3-tap-bar .ic .b { fill: #F4F5F7; }
.r3-tap-bar text { font: 600 10px var(--zk-text); text-anchor: middle; fill: #F4F5F7; opacity: 0; }
.r3-tap-bar .ring { fill: rgba(255, 247, 234, 0.5); opacity: 0; }
.r3-tap-dot { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16) 62%, rgba(255, 255, 255, 0) 72%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
.r3-tap-big { position: absolute; left: 0; top: 0; width: 40px; height: 40px; transform-origin: 50% 50%; opacity: 0; }
.r3-tap-big svg { position: absolute; inset: 0; width: 40px; height: 40px; overflow: visible; --fill: 0; }
.r3-tap-big svg path { fill: none; stroke: #FFF7EA; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(243, 227, 204, 0.55)); }
.r3-tap-big svg .s:first-child { fill: rgba(243, 227, 204, calc(0.14 * var(--fill))); }
.r3-tap-big svg .f { fill: rgba(255, 247, 234, calc(0.4 + 0.6 * var(--fill))); stroke: none; }
.r3-tap-big svg .b { fill: rgba(255, 247, 234, calc(0.4 + 0.6 * var(--fill))); }
.r3-tap-glow { position: absolute; left: -30px; top: -30px; width: 100px; height: 100px; opacity: 0; }
