/* r3 chapters, the night group: isha (MY DAY at 8:02 pm). Sizes in the
   phone's 402 x 874 points. The screens under them are round 2's (day/screens-days.css). */

/* ==== 10 · isha =================================================================================================== */
.r3-isha-scr .zk-page { transition: none; }

/* In the page: the empty places the pieces land in, the bar's plain disc until today's face covers it, and the veil
   that steps the page back while today's card is written on. */
.r3-isha-slot { pointer-events: none; }
.r3-isha-plain { position: absolute; left: 158px; top: 775px; width: 86px; height: 86px; z-index: 13; pointer-events: none; }
.r3-isha-plain svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 9px rgba(243, 227, 204, 0.45)); }
.r3-isha-veil { position: absolute; inset: 0; z-index: 14; opacity: 0; pointer-events: none; background: rgba(3, 4, 5, 0.62); }

/* In the pop-out layer: each piece at its place in MY DAY, so at rest it reads as the page. */
.r3-isha-pop > div { position: absolute; }
.r3-isha-card { left: 24px; top: 151px; width: 354px; }
.r3-isha-sess { left: 24px; top: 411px; width: 354px; }
/* tonight's card: the feeling's ink on its eyebrow and Tafseer pill */
.r3-isha-sess .zks-days-sess[style*="--ink"] .body > b, .r3-isha-sess .zks-days-sess[style*="--ink"] .ln em { color: var(--ink); }
/* Fajr's, no longer the newest: a plain card (no lift, no edge light, a quiet Tafseer) */
.r3-isha-older { box-shadow: none; }
.r3-isha-older .zks-days-scard { border-color: rgba(255, 255, 255, 0.12); }
.r3-isha-older .edge { display: none; }
.r3-isha-older .ln em { background: none; font-weight: 400; color: #8E939C; }
/* the short line threading Today's sessions */
.r3-isha-thread { width: 1px; height: 12px; margin-left: 40px; background: rgba(255, 255, 255, 0.08); }
.r3-isha-disc { left: 158px; top: 775px; width: 86px; height: 86px; }
.r3-isha-disc .zks-days-ring { left: 0; top: 0; }
.r3-isha-disc .zks-days-blob { left: 13px; top: 13px; }
.r3-isha-fl { position: relative; }
/* lifted: the deep soft shadow and the light bend on the top edge */
.r3-isha-sh { position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.r3-isha-edge { position: absolute; left: 26px; right: 26px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(to right, rgba(255, 247, 234, 0), rgba(255, 247, 234, 0.85) 50%, rgba(255, 247, 234, 0)); }
.r3-isha-cglow { left: -63px; top: -69px; width: 480px; height: 330px; }
.r3-isha-dglow { left: -57px; top: -57px; width: 200px; height: 200px; }
/* the pen's caret, in the page's title and then its glimpse */
.r3-isha-caret { display: inline-block; width: 2px; height: 22px; margin-left: 1px; vertical-align: -4px; border-radius: 1px; background: #ECEEF2; }
.r3-isha-card .gl .r3-isha-caret { height: 15px; vertical-align: -2px; }

/* ==== 13 · soon =================================================================================================== */
/* The last chapter: the Lock Screen behind frosted glass, the widgets floating out of it, never sharp. */
.r3-soon-scr .zk-page { transition: none; }
/* under the glass: the ghost tiles the widgets rise from */
.r3-soon-ghosts { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
.r3-soon-ghosts span { position: absolute; border-radius: 24px; background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.10); }
/* the frost over the whole screen, thinning toward the clock so 10:30 still reads */
.r3-soon-frost { position: absolute; inset: 0; z-index: 13; pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  background: linear-gradient(to bottom, rgba(11, 12, 15, 0.12) 0, rgba(11, 12, 15, 0.12) 230px, rgba(11, 12, 15, 0.42) 420px, rgba(11, 12, 15, 0.5) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0, rgba(0, 0, 0, 0.35) 200px, #000 300px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0, rgba(0, 0, 0, 0.35) 200px, #000 300px); }
/* the only word that reads */
.r3-soon-tag { position: absolute; left: 0; right: 0; top: 352px; z-index: 14; text-align: center; pointer-events: none; }
.r3-soon-tag .r3-glow { left: 50%; top: 50%; width: 220px; height: 120px; margin: -60px 0 0 -110px; opacity: 0.0; }
.r3-soon-tag em { position: relative; display: inline-block; padding: 10px 16px 10px 20px; border-radius: 8px; font: 600 13px/1 var(--zk-sans); font-style: normal;
  letter-spacing: 0.28em; text-transform: uppercase; color: #F3E3CC;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(243, 227, 204, 0.32); box-shadow: inset 0 1px 0 rgba(255, 247, 234, 0.18); }
/* no frost and no empty tiles: the phone stays a crisp Lock Screen while the widgets rise out of it */
.r3-soon-ghosts, .r3-soon-frost { display: none; }

/* the floating widgets: a plate of the widgets' night glass (ListeningPalette.Night), its face blurred behind a frost */
.r3-soon-w { position: absolute; }
.r3-soon-dr { position: absolute; inset: 0; }
.r3-soon-plate { position: absolute; inset: 0; overflow: hidden; border-radius: 24px; color: #F4F5F7;
  background: rgba(21, 23, 27, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.10); border-top-color: rgba(243, 227, 204, 0.28);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.r3-soon-face { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; }
.r3-soon-face i { font-style: normal; }
/* frosted: a milky sheen over the face, brighter at the top */
.r3-soon-fr { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06)); }
/* the light that crosses it, slowly, like something passing behind the glass */
.r3-soon-sh { position: absolute; top: -30%; bottom: -30%; left: 0; width: 55%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 247, 234, 0) 0, rgba(255, 247, 234, 0.13) 45%, rgba(255, 247, 234, 0.2) 50%, rgba(255, 247, 234, 0.13) 55%, rgba(255, 247, 234, 0) 100%); }
.r3-soon-edge { position: absolute; left: 22px; right: 22px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(to right, rgba(255, 247, 234, 0), rgba(255, 247, 234, 0.7) 50%, rgba(255, 247, 234, 0)); }
/* the faces (native/reading: 12 medium muted, 19 semibold, 13 muted, the 2 pt line, 14 semibold "Continue ›") */
.r3-soon-face .k { font: 500 12px/1.2 var(--zk-sans); color: #8E939C; }
.r3-soon-face .m { font: 400 13px/1.3 var(--zk-sans); color: #8E939C; }
.reading .r3-soon-face b { margin-top: 6px; font: 600 19px/1.2 var(--zk-sans); }
.reading .r3-soon-face .m { margin-top: 2px; }
.reading .r3-soon-face .bar { margin-top: 10px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.14); }
.reading .r3-soon-face .bar span { display: block; width: 14%; height: 100%; border-radius: 1px; background: #F3E3CC; }
.reading .r3-soon-face em { margin-top: auto; font: 600 14px/1 var(--zk-sans); font-style: normal; color: #F3E3CC; }
.prayer .r3-soon-face { align-items: center; justify-content: center; gap: 4px; padding: 12px; }
.prayer .ring { position: relative; width: 92px; height: 92px; }
.prayer .ring svg { display: block; width: 100%; height: 100%; }
.prayer .ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 17px/1 var(--zk-sans); }
.ayah .r3-soon-face { padding: 16px 18px; }
.ayah .r3-soon-face .k { font: 600 11px/1 var(--zk-sans); letter-spacing: 0.08em; color: #F3E3CC; }
.ayah .r3-soon-face p { margin: 10px 0 6px; font-size: 26px; line-height: 1.5; text-align: right; color: #F4F5F7; white-space: nowrap; }
.ayah .r3-soon-face .m { font-size: 12px; white-space: nowrap; overflow: hidden; }
.clock .r3-soon-face { align-items: center; justify-content: center; padding: 0; }
.clock .ecl { position: absolute; inset: 0; background: #030405 url("../kit/brand/icon-256.png") center / 118% no-repeat; }

/* Apple Watch, a hint: a black face in a rounded case with its crown, a complication blurred like the rest */
.r3-soon-plate.watch { border-radius: 36px; background: rgba(5, 5, 6, 0.9); border: 3px solid rgba(46, 48, 54, 0.95);
  border-top-color: rgba(243, 227, 204, 0.3); }
.r3-soon-crown { position: absolute; right: -6px; top: 26%; width: 7px; height: 22%; border-radius: 3px;
  background: linear-gradient(to right, #3a3c42, #23252a); }
.watch .r3-soon-face { align-items: center; justify-content: center; gap: 4px; padding: 10px; }
.watch .t { position: absolute; top: 12px; right: 18px; font: 600 15px/1 var(--zk-sans); color: #F4F5F7; }
.watch .ring { position: relative; width: 74px; height: 74px; margin-top: 12px; }
.watch .ring svg { display: block; width: 100%; height: 100%; }
.watch .ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 14px/1 var(--zk-sans); }
.watch2 .r3-soon-face { align-items: flex-start; justify-content: center; padding: 16px 18px; }
.watch2 .k { font: 600 12px/1 var(--zk-sans); letter-spacing: 0.06em; text-transform: uppercase; color: #F3E3CC; }
.watch2 b { margin-top: 6px; font: 600 26px/1 var(--zk-sans); }
.watch2 .bar { margin-top: 10px; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.watch2 .bar span { display: block; width: 62%; height: 100%; border-radius: 2px; background: #F3E3CC; }
