/* m1 · the Prayer screen's five layouts (app/prayerlook.js), the day switcher, and the prayer button's icon.
   The panel is always the tray's colour (navy, emerald ...), in Light and Dark alike. Round 2 (founder, 2026-10-27):
   nothing bright or illustrated on top of it; each prayer's sky is a soft wash of its colour mixed into the panel,
   behind one thin line symbol, so everything sits into the page. */

/* ---------- The symbols and their soft discs ---------- */
.v-g { display: block; flex: none; }
.v-disc { position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--hue) 28%, var(--night)); color: color-mix(in srgb, var(--hue) 30%, #f3ede2); }
.v-disc.is-next { background: color-mix(in srgb, #ecc97a 20%, var(--night)); color: #ecc97a; }
/* the next prayer's disc breathes, softly (a gold ring that swells and fades) */
.v-disc.is-next::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(236, 201, 122, 0.6);
  animation: v-breathe 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes v-breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.14); opacity: 0.15; } }
.v-pv .v-tw { animation: v-twinkle 3.6s ease-in-out infinite; }
.v-pv .v-halo { transform-box: fill-box; transform-origin: center; animation: v-halo 6s ease-in-out infinite; }
@keyframes v-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes v-halo { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.12); opacity: 0.3; } }
/* Arriving (the panel opens): it rises a little into place. Its own layer, so the little loops repaint only it;
   and they wait while the panel rises (is-live comes once it has arrived). */
.v-pv { will-change: transform; }
.v-pv.is-arriving { animation: v-arrive 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s backwards; }
@keyframes v-arrive { from { opacity: 0; transform: translateY(10px); } }
.v-pv:not(.is-live) *, .v-pv:not(.is-live) *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .v-pv, .v-pv *, .v-pv *::after, .v-disc::after { animation: none !important; } }

/* ---------- The header: "Prayer", and the place under it, small (it used to take the whole top row) ---------- */
.v-pr-titles { flex: 1; min-width: 0; display: grid; justify-items: start; }
.v-pr-place { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; margin: -2px 0 0 -2px; padding: 0 6px 0 2px; border: 0; border-radius: 13px; background: transparent;
  color: var(--text-3); font: 500 12.5px var(--font-ui); max-width: 100%; }
.v-pr-place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-pr-place:active { background: rgba(255, 255, 255, 0.06); }
.v-pr-place[hidden] { display: none; }

/* ---------- The countdown, per layout ---------- */
.m-prayer .m-next-left { line-height: 1.12; }

/* ---------- The five in a row ---------- */
.v-row5 { display: grid; grid-template-columns: repeat(5, 1fr); }
/* (2026-11-13) sunrise between Fajr and Dhuhr: a narrower, quieter column - smaller disc, softer type, "Fajr ends" under it */
.v-row5.has-sunrise { grid-template-columns: 1fr 0.82fr 1fr 1fr 1fr 1fr; }
.v-r5-sun { opacity: 0.78; pointer-events: none; }
.v-r5-sun b { font-weight: 500; color: var(--text-2); }
.v-r5-sun .v-r5-k { white-space: nowrap; }
.v-r5-sun .v-disc { align-self: center; }
.v-r5-sun.is-past { opacity: 0.38; }
.v-r5 { display: grid; justify-items: center; gap: 7px; padding: 2px 0; }
.v-r5-n { font: 500 12.5px var(--font-ui); color: var(--text-2); }
.v-r5 b { font: 600 14px var(--font-ui); color: var(--text); font-variant-numeric: tabular-nums; }
.v-r5-k { font: 600 11px var(--font-ui); color: var(--text-3); min-height: 13px; } /* (2026-11-13, founder: in sentence case like the prayer names, not capitals) */
.v-r5.is-next .v-r5-n, .v-r5.is-next b, .v-r5.is-next .v-r5-k { color: #ecc97a; }
.v-r5.is-past { opacity: 0.42; }

/* ---------- The day switcher: nothing in it changes size (founder, 2026-10-26: it juddered) ----------
   The third line is always there: a quiet "Today" on today, and a gold "Back to today" button on any other day. */
.v-daynav-rel { margin-top: 4px; min-height: 32px; min-width: 128px; padding: 0 12px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: var(--text-3);
  font: 600 var(--fs-s) var(--font-ui); transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease; }
.v-daynav-rel.is-away { border-color: rgba(236, 201, 122, 0.5); color: var(--accent); }
.v-daynav-rel:disabled { cursor: default; }
.v-daynav-rel.is-away:active { background: rgba(236, 201, 122, 0.16); }
/* Two layers sit in one place while one day glides out and the next glides in. */
.v-slot { display: grid; transition: opacity 0.2s ease; }
.v-slot > * { grid-area: 1 / 1; min-width: 0; }
.v-slot.is-waiting { opacity: 0.45; }
.v-daynav-mid { display: grid !important; justify-items: center; }
.v-daynav-mid > .v-slot { justify-items: center; }
.v-daynav-mid .v-layer { display: grid; justify-items: center; gap: 1px; }

/* ---------- The prayer button in the player (founder's pick, 2026-10-27: "Next sky") ----------
   The NEXT prayer's own symbol on its soft disc, exactly as on the Prayer screen, and two small lines: "ASR" / "15:40". */
.v-pnext { display: none; }
html[data-vicon='sky'] .m-actions .prayer-pill > :is(.prayer-name, .prayer-countdown) { display: none !important; }
html[data-vicon='sky'] .m-actions .prayer-pill > .v-pnext { display: grid !important; justify-items: start; line-height: 1.1; text-align: left; }
.v-pnext small { font: 600 11px var(--font-ui); letter-spacing: 0; color: #bcbab3; } /* in its own case, as every label (founder, 2026-11-14) */
.v-pnext b { font: 600 13px var(--font-ui); color: #f3ede2; font-variant-numeric: tabular-nums; white-space: nowrap; }
html[data-vicon='sky'] .m-actions .prayer-ring > svg { display: none; }
html[data-vicon='sky'] .v-picon { display: inline-flex; }
.v-picon .v-disc { box-shadow: 0 0 0 1px rgba(236, 201, 122, 0.45); }

/* ---------- Tap a prayer to see its sky ---------- */
button.v-r5 { border: 0; background: transparent; color: inherit; font: inherit; border-radius: 16px; padding: 6px 0 4px; margin: 0 2px; transition: background 0.2s ease, scale 0.12s ease-out; -webkit-tap-highlight-color: transparent; }
button.v-r5:active { scale: 0.95; }
button.v-r5[aria-pressed='true'] { background: rgba(255, 255, 255, 0.08); }
button.v-r5[aria-pressed='true'].is-past { opacity: 1; }
.v-scene-chip { position: absolute; z-index: 1; left: 16px; bottom: 16px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(6, 10, 28, 0.5); color: #fff;
  font: 600 12px var(--font-ui); animation: v-arrive 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.v-scene-chip[hidden] { display: none; }

/* ---------- Round 3 (founder, 2026-10-29): the symbols on their own, no disc and no pulse ----------
   On the Prayer screen and on the player's prayer button. */
:is(.v-lay-wplain, .v-lay-sky) .v-disc { background: none; color: color-mix(in srgb, var(--hue) 45%, #f3ede2); }
:is(.v-lay-wplain, .v-lay-sky) .v-disc.is-next { background: none; color: #ecc97a; }
:is(.v-lay-wplain, .v-lay-sky) .v-disc::after { content: none; }
:is(.v-lay-wplain, .v-lay-sky) .v-r5 .v-g { width: 30px; height: 30px; }
html:is([data-vprayer='wplain'], [data-vprayer='sky']) .v-picon .v-disc { background: none; box-shadow: none; width: 26px !important; height: 26px !important;
  color: color-mix(in srgb, var(--hue) 35%, #f3ede2); }
html:is([data-vprayer='wplain'], [data-vprayer='sky']) .v-picon .v-g { width: 24px; height: 24px; }
html:is([data-vprayer='wplain'], [data-vprayer='sky']) .v-picon .v-tw { animation: none; }

/* ---------- Live sky: from the very top of the panel, behind the title, down to the dunes ---------- */
#mPrayer.v-sky-on { padding-top: 0; overflow: hidden; border-top: 0; } /* no gold line on the sky (founder, 2026-11-05: they fought) */
#mPrayer.v-sky-on .m-screen-nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 64px; padding-top: 12px; background: transparent; transition: background 0.25s ease; }
#mPrayer.v-sky-on .v-pr-place { color: rgba(255, 255, 255, 0.86); }
#mPrayer.v-sky-on :is(.m-screen-title, .v-pr-place, .m-x) { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25); }
.v-sky-on .m-prayer { position: relative; }
.v-sky-on .m-prayer > :not(.v-ls) { position: relative; z-index: 1; }
.v-ls { position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: var(--v-sky-h); overflow: hidden; pointer-events: none; --v-glide: 60s; --v-ease: linear; }
.v-ls-g, .v-ls-g > div { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-ls canvas { position: absolute; top: 0; left: 0; width: 100%; height: var(--v-sky-h); } /* stays the sky's own height when it grows */
/* the next prayer's colours, rising slowly through the last part of this one */
.v-ls-next { transition: opacity var(--v-glide) var(--v-ease); }
/* a little shade at the very top, so the title reads on the brightest skies */
.v-ls::after { content: ''; position: absolute; z-index: 3; inset: 0 0 auto; height: 120px; background: linear-gradient(rgba(8, 12, 30, 0.36), rgba(8, 12, 30, 0.2) 40px, transparent); } /* deeper behind the gold title (2026-11-05: gold passes 4.5:1 on every sky, a pale cloud behind it included) */
/* The sun and the moon glide (a translate on a full-width layer, so it runs on the compositor) */
.v-ls-x { position: absolute; inset: 0; top: var(--v-grow, 0px); transition: transform var(--v-glide) var(--v-ease), opacity 1.2s ease, top 0.44s cubic-bezier(0.32, 0.72, 0, 1); }
.v-ls-y { position: absolute; left: 0; top: 0; transition: transform var(--v-glide) var(--v-ease); }
.v-ls-y svg { position: absolute; left: -60px; top: -60px; overflow: visible; }
.v-ls-y .v-moon { left: -50px; top: -50px; }
.v-sun-glow { transform-box: fill-box; transform-origin: center; animation: v-sunbreath 8s ease-in-out infinite; }
@keyframes v-sunbreath { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .v-sun-glow { animation: none; } }
/* Three ridges: the far ones take the sky's haze, the nearest is the panel's own colour (no seam: it runs past the edge) */
.v-hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 132px; }
.v-hills path, .v-hills g { transition: fill 1.2s ease, opacity 1.2s ease; }
.v-h1 { fill: color-mix(in srgb, color-mix(in srgb, var(--hz) calc(100% - var(--hzb, 0) * 100%), var(--hz2)) 42%, var(--night)); }
.v-h2 { fill: color-mix(in srgb, color-mix(in srgb, var(--hz) calc(100% - var(--hzb, 0) * 100%), var(--hz2)) 18%, var(--night)); }
.v-mosque { fill: color-mix(in srgb, color-mix(in srgb, var(--hz) calc(100% - var(--hzb, 0) * 100%), var(--hz2)) 8%, var(--night)); } /* nearer than the middle hill, so it stands out in front of it */
.v-h3 { fill: var(--night); }
.v-win { fill: #ffd27a; opacity: 0; }
.v-ls.is-lit .v-win { opacity: 0.9; }
.v-sky-top { position: relative; min-height: var(--v-sky-h); box-sizing: border-box; padding: 78px 4px 0; }
.v-sky-top .m-next { justify-items: start; text-align: left; margin: 0; }
.v-sky-top .m-next-name { color: rgba(255, 255, 255, 0.9); }
.v-sky-top .m-next-left { color: #fff; font-size: 38px; letter-spacing: -0.02em; justify-items: start; }
.v-sky-top .m-next-left .m-roll-line { justify-items: start; }
.v-sky-top .m-next-at { color: rgba(255, 255, 255, 0.82); }
.v-sky-top .m-next > * { text-shadow: 0 1px 14px rgba(8, 12, 30, 0.28); }
.v-sky-top .v-scene-chip { left: 4px; bottom: 104px; } /* above the mosque */
.v-lay-sky .v-row5 { margin: 0 0 16px; }
#mPrayer.v-sky-on .m-sheet-grab { top: 0; }
.v-pr-chev { flex: none; opacity: 0.7; transition: rotate 0.3s ease; }
.v-pr-place[aria-expanded='true'] .v-pr-chev { rotate: 90deg; }

/* ---------- Spacing, measured (founder, 2026-11-05: "is that the same space with the rest?") ----------
   One left edge for everything in the Prayer panel (16px, the list's own), and one rhythm down the panel:
   what you see: hills -> the five 16, the five -> line 20, line -> date 16, date -> Hijri 4, Hijri -> Today 10,
   Today -> line 16, line -> the next heading 22 (measured in the browser, 412 wide). */
#mPrayer .m-screen-nav { padding-left: 20px; }
#mPrayer .v-pr-place { margin-left: -1px; padding-left: 0; }
#mPrayer .v-pr-place { margin-top: 6px; } /* room between "Prayer" and the place under it (founder, 2026-11-05: 4px read as one block) */
.v-sky-top { padding-left: 0; padding-right: 0; }
.v-lay-sky .v-row5 { margin: 0 0 20px; padding-top: 10px; }
.m-prayer .v-daynav { margin: 0; padding: 15px 0 8px; }
.m-prayer .v-daynav-mid .v-layer { gap: 4px; }
.m-prayer .v-daynav-rel { margin-top: 2px; min-height: 30px; }
.v-ls-snap, .v-ls-snap > div { position: absolute; inset: 0; }

/* ---------- Live sky, round 3 (founder, 2026-11-05) ----------
   The sky no longer scrolls: it stays put behind the panel (it lives on #mPrayer, outside what scrolls) and the panel's
   own colour slides up over it with a soft edge, as a sheet would. What scrolls fades out a little below the title, so
   the countdown never runs into "Prayer", and the title always sits on the sky (no solid bar to cut it). */
html { --v-sky-h: 330px; }
html[data-vprayer='sky']:not([data-vskylay='old']) { --v-sky-h: 262px; } /* 12px taller with the header's new spacing, so the hills keep their room */
#mPrayer.v-sky-on .m-screen-body { position: relative; z-index: 1; }
#mPrayer.v-sky-on .m-prayer {
  -webkit-mask-image: linear-gradient(transparent 72px, #000 94px); mask-image: linear-gradient(transparent 72px, #000 94px); }
#mPrayer.v-sky-on .m-prayer > .v-ls { display: none; } /* never inside what scrolls */

/* ---------- Live sky layouts, round 4 (founder, 2026-11-05) ----------
   Nothing written on the sky but the countdown; the day's date sits with the five, which are closer together. The arrows
   are bare chevrons like the Ayah rail's, and the whole section can be swiped. */
.v-skylay .v-sky-top { padding-top: 94px; } /* the countdown keeps its distance from the place line, which moved down 8px */
.v-sky-wrap { position: relative; }
.v-sky-dock { position: absolute; z-index: 1; top: 74px; right: 0; pointer-events: none; }
.v-sky-dock > * { pointer-events: auto; }
.v-sky-dock .v-daynav-rel { margin: 0; min-width: 0; min-height: 30px; padding: 0 12px; background: rgba(6, 10, 28, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v-skylay .v-daynav-rel:not(.is-away) { visibility: hidden; } /* only on another day; it keeps its place, so nothing moves */
.v-skylay .v-scene-chip { left: auto; right: 0; bottom: 14px; }
.v-daysec { touch-action: pan-y; margin: 6px 0 18px; -webkit-user-select: none; user-select: none; }
.v-daysec .v-slot > .v-layer { will-change: auto; }
.v-times .v-row5 { margin: 0 !important; padding: 0 !important; }
.v-times button.v-r5 { gap: 3px; padding: 6px 0 5px; margin: 0 1px; }
.v-times .v-r5 .v-g { width: 26px; height: 26px; }
.v-times .v-r5-n { font-size: 12px; }
.v-times .v-r5 b { font-size: 13.5px; }
.v-times .v-r5-k { font-size: 10.5px; min-height: 12px; }
/* the arrows: bare chevrons, a 36 x 40 touch area */
.v-dayline .v-daynav-btn { width: 36px; height: 40px; border-radius: 12px; background: transparent; color: var(--text-3); }
.v-dayline .v-daynav-btn svg { width: 16px; height: 16px; }
.v-dayline .v-daynav-btn:active { background: rgba(243, 237, 226, 0.06); scale: 0.92; }
.v-dayline b { font: 600 13.5px var(--font-ui); color: var(--text); }
.v-dayline span { font: 500 12px var(--font-ui); color: var(--text-3); }
/* Date line above / below: arrow, date · Hijri, arrow */
.v-daysec-above .v-dayline, .v-daysec-below .v-dayline { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; }
.v-daysec-above .v-dayline > .v-slot, .v-daysec-below .v-dayline > .v-slot { justify-items: center; }
.v-daysec-above .v-dayline .v-layer, .v-daysec-below .v-dayline .v-layer { display: grid; justify-items: center; gap: 1px; text-align: center; }
.v-dl-top { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 26px; }
.v-daysec-above .v-dayline { margin-bottom: 4px; }
.v-daysec-below .v-dayline { margin-top: 6px; }
/* Date heading: the date and Hijri on the left, Today and the arrows on the right */
.v-daysec-header .v-dayline { display: flex; align-items: center; gap: 8px; margin: 0 -8px 6px 0; }
.v-daysec-header .v-dayline > .v-slot { flex: 1; min-width: 0; justify-items: start; }
.v-daysec-header .v-dayline .v-layer { display: grid; justify-items: start; gap: 1px; }
.v-dayctl { display: flex; align-items: center; }
.v-dayctl .v-daynav-rel { margin: 0 4px 0 0; min-width: 0; min-height: 28px; padding: 0 10px; font-size: 12.5px; }

/* The place search, written on the sky itself (no box): the sky grows to hold it */
.v-sky-top > .v-loc-top { box-sizing: border-box; margin: 0; padding: 0; } /* no margins, and its spacing counted in its height: it opens by its height alone, in step with the sky (round 7: the spacing outside the height made 'Isha in' jump 16px at both ends) */
.v-sky-top > .v-loc-top .m-inline-in { padding: 0 0 18px; } /* room under the place name (founder, 2026-11-05: it sat too close); the spacing lives inside, so the panel can close to nothing */
.v-sky-top > .v-loc-top .modal-copy { color: #fff; text-shadow: 0 1px 8px rgba(8, 12, 30, 0.4); }
#mPrayer .v-sky-top > .v-loc-top #cityInput { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.24); color: #fff; }
#mPrayer .v-sky-top > .v-loc-top #geoBtn { color: #fff; }
.v-sky-top > .v-loc-top #cityInput::placeholder { color: rgba(255, 255, 255, 0.78); }
.v-sky-top > .v-loc-top #cityResults > * { color: #fff; border-color: rgba(255, 255, 255, 0.14); }
/* "Today" in the date line, only on another day */
.v-today { margin-left: 2px; min-height: 26px; padding: 0 10px; border: 1px solid rgba(236, 201, 122, 0.55); border-radius: 13px; background: transparent; color: var(--accent);
  font: 600 12px var(--font-ui); align-self: center; -webkit-tap-highlight-color: transparent; }
.v-today:active { background: rgba(236, 201, 122, 0.16); }
/* the date line clips the days sliding past its arrows, with soft edges */
.v-dayline > .v-slot { overflow: hidden; }
/* soft edges where the days slide past the arrows (the centred line only: on the heading they faded the date's first letter) */
.v-daysec-above .v-dayline > .v-slot, .v-daysec-below .v-dayline > .v-slot { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); }
.v-daysec .v-times { overflow: visible; }

/* Reading shade (round 4, measured; eased in round 5 - a straight ramp showed as bands): a soft navy shade behind the
   writing, top left, on the bright skies only (Fajr, Dhuhr, Asr), so the white text there reaches 4.5:1 (3:1 for the
   countdown) whatever cloud drifts behind it. It fades out to the right, where the sun travels, and above the hills. */
.v-ls-read { position: absolute; inset: 0; pointer-events: none; opacity: var(--read, 0); transition: opacity var(--v-glide) var(--v-ease);
  background: linear-gradient(rgba(8, 12, 30, 0.42) 0, rgba(8, 12, 30, 0.42) calc(100% - 96px), rgba(8, 12, 30, 0.4) calc(100% - 88px), rgba(8, 12, 30, 0.35) calc(100% - 80px),
    rgba(8, 12, 30, 0.28) calc(100% - 72px), rgba(8, 12, 30, 0.2) calc(100% - 64px), rgba(8, 12, 30, 0.12) calc(100% - 56px), rgba(8, 12, 30, 0.06) calc(100% - 48px),
    rgba(8, 12, 30, 0.02) calc(100% - 40px), rgba(8, 12, 30, 0) calc(100% - 32px));
  -webkit-mask-image: linear-gradient(90deg, #000 210px, rgba(0, 0, 0, 0.94) 230px, rgba(0, 0, 0, 0.8) 250px, rgba(0, 0, 0, 0.6) 270px, rgba(0, 0, 0, 0.38) 290px, rgba(0, 0, 0, 0.18) 310px, rgba(0, 0, 0, 0.05) 330px, transparent 350px);
  mask-image: linear-gradient(90deg, #000 210px, rgba(0, 0, 0, 0.94) 230px, rgba(0, 0, 0, 0.8) 250px, rgba(0, 0, 0, 0.6) 270px, rgba(0, 0, 0, 0.38) 290px, rgba(0, 0, 0, 0.18) 310px, rgba(0, 0, 0, 0.05) 330px, transparent 350px); }
/* with the place search written across the sky, the shade runs the full width behind it */
.v-ls.is-wide .v-ls-read { -webkit-mask-image: none; mask-image: none; }
/* the writing on the sky is pure white (it was 82-90% white, and the title gold) */
#mPrayer.v-sky-on .v-pr-place, .v-sky-top .m-next-name, .v-sky-top .m-next-at { color: #fff; }
/* the title stays gold, as on every other screen (founder, 2026-11-05: consistency); measured readable on all five skies */

/* Everything under the Live sky: the panel's colour, with a soft edge rising into the sky (it moves with the content, so
   it never covers the sky when the sky grows) */
.v-below { position: relative; background: var(--night); }
.v-below::before { content: ''; position: absolute; left: -20px; right: -20px; bottom: 100%; height: 28px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.v-below { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
.v-below::before { left: 0; right: 0; }

/* Date heading (founder's pick, 2026-11-05): the five spread to the same edges as the date above and "Calculation method"
   below (they sat about 5% in from each side) */
.v-daysec-header .v-times .v-row5 { display: flex; justify-content: space-between; }
.v-daysec-header .v-times button.v-r5 { margin: 0; padding-left: 0; padding-right: 0; } /* each column as wide as its time, so Fajr's and Isha's times meet the edges */

/* ---------- One header for every sheet (founder, 2026-11-05: "every page should be the same") ----------
   As Aa and Share: the title 20px from the edge and level with the close button, whose centre sits 32px from the top,
   14px in from the right. The Prayer screen's place line sits under its title, and its content shares the 20px edge. */
#mPrayer.v-sky-on .m-screen-nav { height: auto; padding: 11px 12px 0 20px; /* (the close button's round face on the 20px line) */ align-items: flex-start; }
#mPrayer .v-pr-titles { padding-top: 9px; }
#mPrayer.v-sky-on .m-prayer { padding-left: 20px; padding-right: 20px; }

/* ---------- Calculation method's list (founder, 2026-11-06) ----------
   On the same 20px edge as everything else (it sat 14-18px further in), the names a step smaller than the row they open
   from, and the chosen one's tick in a gold ring. */
#mPrayer .m-inline > .m-inline-in { padding-left: 0; padding-right: 0; }
#mPrayer .m-inline .m-choice { padding-left: 0; padding-right: 0; }
#mPrayer .m-inline .m-choice > span:first-child { font-size: 14px; }
#mPrayer .m-inline .m-tick { width: 22px; height: 22px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; }
#mPrayer .m-inline .m-tick svg { width: 13px; height: 13px; }
/* the last method is a row like the others: its own divider, and no extra space after it (Diyanet looked 15px taller) */
#mPrayer .m-inline > .m-inline-in:has(> .m-choice) { padding-bottom: 0; }
#mPrayer .m-inline .m-choice:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- Live sky, premium (livesky-gl.js; founder, 2026-11-08) ----------
   The shader paints the sky (its own reading shade included); the hills, mosque and palms are drawn over it, with a mist
   canvas between the far hills and the near ones. The front hill and the palms are the panel's own navy. */
.v-ls.pp canvas { height: 100%; } /* the shader and the mist fill the sky as it grows (the earlier sky's canvas did not need to) */
.pp-gl { position: absolute; inset: 0; }
.pp-gl canvas, .pp-mist { position: absolute; inset: 0; width: 100%; }
.pp-hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 132px; overflow: visible; }
.pp-h3, .pp-palm, .pp-olfar, .pp-olfar2 { fill: var(--night); }
.pp-mq { transition: opacity 0.42s ease; }
.pp-silver { fill: none; stroke-width: 0.5; stroke-linecap: round; opacity: 0.75; } /* the Qibli's lead dome */ /* the skyline fading as Explore changes it */
/* the mosque's windows and minaret lamps warm up (and fade) over 2.5 s */
.pp-win { fill: #ffd27a; opacity: calc(0.95 * var(--pp-lamp, 0)); transition: opacity 2.5s ease; }
.pp-glow { fill: #ffb44a; opacity: calc(0.85 * var(--pp-lamp, 0)); transition: opacity 2.5s ease; }
.pp[data-lamp-day='1'] .pp-win { fill: #fff2d6; } /* by day: a paler light (founder, 2026-11-13); full warm gold from Maghrib */
.pp[data-lamp-day='1'] .pp-glow { fill: #ffe2b0; opacity: calc(0.4 * var(--pp-lamp, 0)); }
