/* ---------- The purpose-built phone page (js/m.js builds the layout; 2026-10-15/16) ----------
   One stylesheet written for the phone, not patches on the website's. Loaded only by the phone page.
   Sizes come from the type scale (css/base.css); colours from the sky's own values; motion from js/m.js. */

/* ---- Native feel ---- */
html.m-on { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
.m-on button, .m-on a { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.m-on body { padding: 0; overflow: hidden; }

/* ---- The tint: the reading surface's colour over the whole sky (no card) ---- */
.m-on body::before { content: ''; position: fixed; inset: 0; z-index: 2; background: var(--glass); pointer-events: none; transition: background-color 1.2s ease; }

/* ---- The frame: top bar, reading area (scrolls on its own), tray ---- */
.m-on .app { height: 100dvh; min-height: 0; padding: 0 0 var(--tray-h, 0px); display: flex; flex-direction: column; position: relative; overflow: clip; }
.m-on .head { display: none; }
.m-top { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: calc(max(14px, env(safe-area-inset-top)) + 50px); padding: max(14px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left)); position: relative; z-index: 5; }
.m-top .brand { display: block; height: 44px; width: 27px; }
/* The logo's Arabic name (72.7% down its image) sits on the bar's centre line, like the tag and the search icon. */
.m-top .brand-logo { --h: 40px; display: block; height: var(--h); width: auto; margin-top: calc(22px - 0.727 * var(--h)); }
.m-centre { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.m-centre .day-tag { margin: 0; height: 30px; }
.m-centre .day-tag.is-away { padding: 0 7px; justify-content: center; }
.m-centre .position { display: none; }
.m-centre .position:has(.list-name) { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.m-centre .list-leave { position: relative; width: 26px; height: 26px; }
.m-centre .list-leave::after { content: ''; position: absolute; inset: -9px; }
#jumpBtn.tb-btn { width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; border-radius: 50%; background: transparent; }
#jumpBtn > span, #jumpBtn .nav-chev { display: none; }
#jumpBtn > svg:first-child { display: block; width: 21px; height: 21px; }

/* The reading area: soft fades where the text meets the bar and the tray, only when there is text beyond them. */
.m-read { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; position: relative; z-index: 3;
  --ft: 0px; --fe: 36px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ft), #000 calc(100% - var(--fe)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ft), #000 calc(100% - var(--fe)), transparent 100%); }
.m-read.fade-top { --ft: 32px; }
/* While an Ayah is moving (a swipe, or next / previous) both edges fade, so it slips out of view softly at the top as
   well as at the bottom; before, only the bottom (under the frosted tray) looked soft (2026-10-16). */
@property --ft { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fe { syntax: '<length>'; inherits: false; initial-value: 0px; }
.m-read { transition: --ft 0.18s ease-out, --fe 0.18s ease-out; }
.m-read.is-moving { --ft: 36px; }
/* THE FADE AT THE BOTTOM, FIXED AT THE SOURCE (2026-10-17): the soft fade over the bottom of the reading area is
   always on, and the space under the last line (48px) is always taller than the fade (36px). So at the end of an
   Ayah the fade only ever covers empty space; before the end it shows there is more. (It used to switch on and off,
   and the 28px of space was shorter than the 40px fade, so the last line - often the reference and its pills - sat
   in the fade on any Ayah slightly too long for the screen.) */
.m-read .stage { padding: 0 0 48px; max-width: none; }
.m-read .card-stack { overflow: visible; border-radius: 0; }
.m-on .card-peek { display: none !important; }
.m-on #card { background: transparent; border-color: transparent; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; min-height: 0;
  --card-px: max(20px, env(safe-area-inset-left)); padding: 6px var(--card-px) 28px; }
.m-on #cardFront > .card-top { display: none; }
.m-on .back-top .card-icons { display: none; }
.m-on .card-front { gap: 16px; }

/* The Ayah, sized for a phone. The Arabic leads (Small / Medium / Large still apply). */
.m-on .verse { gap: 14px; }
.m-on .verse .arabic { font-size: 30px; line-height: 1.9; }
.m-on .verse.is-long .arabic { font-size: 26px; }
.m-on .verse.is-xlong .arabic { font-size: 22px; line-height: 2; }
.m-on .verse .translation, .m-on .verse.is-long .translation { font-size: var(--fs-l); line-height: 1.6; }
html.m-on[data-read-size='s'] .verse .translation { font-size: var(--fs-base); }
html.m-on[data-read-size='l'] .verse .translation { font-size: var(--fs-xl); }
.m-on .verse.is-xlong .translation { font-size: var(--fs-base); }
/* The reference and topics: one line, scrolling sideways when there are several. */
.m-on .verse .reference { display: flex; flex-wrap: nowrap; justify-content: safe center; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 14px; margin-inline: -14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.m-on .verse .reference::-webkit-scrollbar { display: none; }
.m-on .verse .reference > * { flex: none; }
.m-on .pillar-tags { flex-wrap: nowrap; }
.m-on .pillar-tag { min-height: 32px; padding: 0 12px; font-size: var(--fs-s); }

/* ---- The tray: the Ayah's icons with the prayer ring, the player, what is playing, the reciters ---- */
/* It floats over the bottom of the page; the page keeps room for the closed tray only (--tray-h, set by js/m.js), so a
   drawer opening over the text never makes the text lay itself out again. */
.m-on .player.dock { position: absolute; flex: none; left: 0; right: 0; bottom: 0; z-index: 6;
  border: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px 24px 0 0; box-shadow: none;
  background: var(--tray); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  padding: 4px max(10px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(10px, env(safe-area-inset-left)); }
.m-on .player .rail { display: none; }
.m-actions { display: flex; justify-content: space-around; align-items: center; padding: 2px 4px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.m-actions .icon-btn, .m-actions .prayer-pill { width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; display: grid; place-items: center; color: var(--text-2); }
.m-actions .prayer-pill > :not(.prayer-ring) { display: none; }
.m-actions .prayer-ring svg { width: 22px; height: 22px; }
.m-actions .icon-btn svg { width: 21px; height: 21px; }
.m-actions .icon-btn[aria-pressed='true'], .m-actions .icon-btn[aria-expanded='true'] { color: var(--accent); }
.m-on .audio { padding: 6px 4px 8px; gap: 0; }
.m-on .dock-ctl { display: flex; justify-content: center; align-items: center; gap: 8px; }
.m-on .ctl-l, .m-on .ctl-r { display: contents; }
.m-on #speedBtn { order: 1; }
.m-on #back5Btn { order: 2; }
.m-on .play-btn { order: 3; width: 56px; height: 56px; margin: 0 8px; }
.m-on #nextBtn { order: 4; }
.m-on #moreBtn { order: 5; }
.m-on #prevBtn { display: none; }
.m-on .dock .ctl { min-width: 44px; height: 44px; }
.m-on .ctl-speed { margin: 0; }
/* The reciters open inside the tray, below "what is playing"; the tray grows upwards (js/m.js glides its height). */
.m-on .player .reciter-pop { position: static; transform: none; width: auto; margin: 4px 0 6px; padding: 6px 0 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.m-on .rc-item { min-height: 52px; }
.m-on .rc-list { max-height: min(320px, 46dvh); overscroll-behavior: contain; }
.m-on .np-reciter { min-height: 32px; }

/* Press feedback the moment a finger lands. */
.m-on .icon-btn, .m-on .prayer-pill, .m-on #jumpBtn, .m-on .ctl, .m-on .play-btn, .m-row, .m-seg, .m-num, .m-pillbtn, .m-back { transition: scale 0.1s ease-out, background 0.2s, color 0.2s; }
.m-on .icon-btn:active, .m-on .prayer-pill:active, .m-on #jumpBtn:active, .m-on .ctl:active, .m-back:active, .m-num:active, .m-pillbtn:active { scale: 0.92; }
.m-on .play-btn:active { scale: 0.95; }
.m-row:active { background: rgba(255, 255, 255, 0.05); }

/* ---- Screens: Explore and Prayer ---- */
.m-screen { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  padding: max(10px, env(safe-area-inset-top)) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  background: rgba(8, 10, 26, 0.9); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); }
.m-screen-nav { flex: none; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 16px 0 6px; }
.m-back { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text); }
.m-screen-title { margin: 0; font: 600 21px var(--font-ui); color: var(--accent); letter-spacing: -0.01em; }
.m-screen-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.m-search { flex: none; height: 44px; margin: 2px 16px 0; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.09); color: var(--text); font: 400 var(--fs-base) var(--font-ui); outline: none; -webkit-appearance: none; appearance: none; }
.m-search::placeholder { color: var(--text-3); }
/* The same text size as the lists (founder, 2026-10-17). Only iPhones keep 16px: Safari zooms the whole page in when
   you tap a box with smaller text, and 16px is what stops it (this rule only applies on Apple's touch devices). */
@supports (-webkit-touch-callout: none) { .m-search { font-size: 16px; } }
.m-search:focus-visible { box-shadow: 0 0 0 2px rgba(242, 212, 147, 0.5); }
.m-segs { position: relative; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 12px 16px 4px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
.m-segs[hidden] { display: none; }
.m-segs-2 { grid-template-columns: 1fr 1fr; margin: 10px 0 0; }
.m-seg { position: relative; z-index: 1; height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); font: 500 var(--fs-m) var(--font-ui); }
.m-seg[aria-selected='true'], .m-seg[aria-pressed='true'] { color: var(--text); }
.m-segs-2 .m-seg[aria-pressed='true'] { background: rgba(255, 255, 255, 0.16); }
.m-seg-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 12px) / 4); border-radius: 9px; background: rgba(255, 255, 255, 0.16); transition: translate 0.44s cubic-bezier(0.23, 1, 0.32, 1); }
.m-list, .m-prayer { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px calc(env(safe-area-inset-bottom) + 28px); }
.m-head { margin: 22px 0 4px; font: 600 var(--fs-xs) var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.m-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: transparent; color: var(--text); text-align: left; font: inherit; }
.m-row-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.m-row-t b { font: 400 var(--fs-base) var(--font-ui); } /* regular, like iOS lists (founder: "everything is bold") */
.m-row-t small { font-size: var(--fs-s); color: var(--text-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.m-row-n { flex: none; font-size: var(--fs-s); color: var(--text-3); font-variant-numeric: tabular-nums; }
.m-row-ar { flex: none; font: 400 var(--fs-ar-s) var(--font-arabic); color: var(--text-2); }
.m-row-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.08); font: 600 var(--fs-xs) var(--font-ui); color: var(--text-2); font-variant-numeric: tabular-nums; }
.m-row-chev { flex: none; color: var(--text-3); font-size: 20px; line-height: 1; transition: rotate 0.3s cubic-bezier(0.23, 1, 0.32, 1); }
.m-row[aria-expanded='true'] .m-row-chev { rotate: 90deg; }
.m-row-quiet { margin-top: 18px; border-bottom: 0; }
.m-open .m-row { min-height: 48px; padding-left: 14px; }
.m-pillbtn { display: inline-flex; align-items: center; min-height: 44px; margin: 8px 0 4px; padding: 0 16px; border: 1px solid rgba(242, 212, 147, 0.4); border-radius: 999px; background: transparent; color: var(--accent); font: 500 var(--fs-m) var(--font-ui); }
.m-backlink { min-height: 44px; margin: 4px 0; padding: 0; border: 0; background: none; color: var(--accent); font: 500 var(--fs-m) var(--font-ui); }
.m-list-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 0; font: 500 var(--fs-l) var(--font-ui); }
.m-sub, .m-empty { margin: 8px 0; color: var(--text-3); font-size: var(--fs-base); line-height: 1.5; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 10px; }
.m-num { height: 48px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--text); font: 500 var(--fs-base) var(--font-ui); font-variant-numeric: tabular-nums; }
.m-results .sr-moment, .m-results .sr-topic, .m-results .sr-ayah { min-height: 44px; }

/* ---- Prayer: the day as the sun's path ---- */
.m-dates { margin: 12px 0 26px; text-align: center; font-size: var(--fs-s); color: var(--text-3); } /* quieter: background information */
.m-sun { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; overflow: visible; }
.m-sun-horizon { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.m-sun-arc { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 1.4; stroke-linecap: round; }
.m-sun-dot { fill: rgba(255, 255, 255, 0.75); }
.m-sun-dot.is-past { fill: rgba(255, 255, 255, 0.35); }
.m-sun-dot.is-next { fill: var(--accent); }
.m-sun-label { fill: rgba(255, 255, 255, 0.62); font: 500 10.5px var(--font-ui); letter-spacing: 0.02em; }
.m-sun-label.is-next { fill: var(--accent); font-weight: 600; }
.m-sun-now { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(242, 212, 147, 0.7)); }
.m-sun-now.is-night { fill: rgba(243, 237, 226, 0.9); filter: drop-shadow(0 0 5px rgba(243, 237, 226, 0.4)); }
.m-next { display: grid; justify-items: center; gap: 0; margin: 4px 0 12px; text-align: center; }
.m-next-name { font-size: var(--fs-s); color: var(--text-2); }
.m-next-left { font: 600 26px var(--font-ui); letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.m-next-at { font-size: var(--fs-s); color: var(--text-3); }
.m-times { display: grid; }
.m-time { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-base); font-weight: 400; color: var(--text-2); font-variant-numeric: tabular-nums; } /* upcoming: regular, softer white */
.m-time.is-next { color: var(--accent); font-weight: 600; }
.m-time.is-past { opacity: 0.45; }
.m-row-place .m-pin { flex: none; width: 20px; height: 20px; color: var(--accent); }

/* ---- Sheets: windows rise from the bottom, an x at the top right ---- */
.m-on .modal { align-items: flex-end; padding: 0; }
.m-on .modal-card { width: 100%; max-width: none; max-height: calc(100dvh - max(14px, env(safe-area-inset-top)) - 10px); overflow-y: auto; overscroll-behavior: contain; margin: 0; border-radius: 26px 26px 0 0; padding: 6px 18px calc(env(safe-area-inset-bottom) + 18px); display: flex; flex-direction: column; }
.m-on .modal-card h2 { margin: 0; padding: 0; font: 600 21px var(--font-ui); color: var(--accent); letter-spacing: -0.01em; }
.m-x { flex: none; position: relative; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; margin: 0 -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 0; }
.m-x::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: scale 0.12s ease-out; }
.m-x:active::before { scale: 0.92; }
.m-x svg { position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; }
.m-on .share-preview { height: min(38dvh, 360px); }
.m-on .platforms { display: flex; justify-content: space-between; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; background: none; border-radius: 0; }
.m-on .platforms::-webkit-scrollbar { display: none; }
.m-on .platform.m-hide { display: none; }
.m-on .platform { flex: 0 0 auto; min-width: 54px; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 2px 0; border: 0; border-radius: 12px; background: transparent; color: var(--text-2); font: 500 var(--fs-xs) var(--font-ui); }
.m-on .platform > svg { display: none; }
.m-on .platform[aria-pressed='true'] { color: var(--text); }
/* Reading options (Aa) as a sheet too. */
.m-on #readPop { position: fixed !important; top: auto !important; right: 0 !important; left: 0 !important; bottom: 0 !important; width: auto !important; max-width: none; z-index: 70;
  border-radius: 26px 26px 0 0; padding: 14px 20px calc(env(safe-area-inset-bottom) + 18px); }
.m-on #readPop .rd-row { min-height: 52px; font-size: var(--fs-base); }
/* A small sheet inside a screen (calculation method). */
.m-sheet { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; background: rgba(4, 6, 16, 0.5); }
.m-sheet-panel { width: 100%; max-height: 82%; overflow-y: auto; overscroll-behavior: contain; border-radius: 26px 26px 0 0; padding: 8px 18px calc(env(safe-area-inset-bottom) + 18px); background: var(--panel-solid); border-top: 1px solid var(--panel-border); }
.m-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-sheet-head .m-x { position: relative; margin: 4px -6px 0 0; }
.m-sheet-title { margin: 6px 0 0; font: 600 19px var(--font-ui); color: var(--accent); letter-spacing: -0.01em; }
.m-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 0 4px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: transparent; color: var(--text); font: 400 var(--fs-base) var(--font-ui); text-align: left; }
.m-choice .m-tick { display: grid; place-items: center; width: 22px; height: 22px; color: var(--accent); opacity: 0; }
.m-choice .m-tick svg { width: 20px; height: 20px; }
.m-choice.is-on { color: var(--accent); font-weight: 500; }
.m-choice.is-on .m-tick { opacity: 1; }
.m-on :focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ---- A phone on its side: the same page, reading at a comfortable width ---- */
@media (min-width: 641px) {
  .m-on .verse, .m-on .sn-fold { max-width: 640px; margin-inline: auto; width: 100%; }
  .m-on .player.dock { width: min(100%, 640px); margin: 0 auto; }
}

/* ---- Accessibility settings ---- */
@media (prefers-reduced-transparency: reduce) {
  .m-on .player.dock, .m-screen { background: rgb(12, 16, 34); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .m-on body::before { background: rgba(10, 14, 32, 0.84); }
}
@media (prefers-contrast: more) {
  .m-on body::before { background: rgba(6, 8, 20, 0.86); }
  .m-on .player.dock { border-top-color: rgba(255, 255, 255, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .m-seg-pill, .m-row-chev { transition: none; }
  .m-on .icon-btn:active, .m-on .prayer-pill:active, .m-on #jumpBtn:active, .m-on .ctl:active, .m-on .play-btn:active, .m-back:active, .m-num:active, .m-pillbtn:active { scale: none; }
}

/* Touch areas of at least 44px around the logo and the Ayah of the Day tag (their look is unchanged). */
.m-top .brand, .m-centre .day-tag { position: relative; }
.m-top .brand::after { content: ''; position: absolute; inset: 0 -9px; }
.m-centre .day-tag::after { content: ''; position: absolute; inset: -7px; }

/* The website's own "rise" when the Ayah changes is off here (the phone page has its own arrival). */
.m-on .card.is-changing { animation: none; }
/* Topics: one line until you open "+N"; then they wrap so every one shows, no sideways scrolling. */
.m-on .verse .reference:has(.pillar-more:not(.pm-drawer)[aria-expanded='true']) { flex-wrap: wrap; row-gap: 8px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.m-on .verse .reference:has(.pillar-more:not(.pm-drawer)[aria-expanded='true']) .pillar-tags { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
/* The "..." panel inside the tray, below what is playing, like the reciters. */
.m-on .player .audio-panel { position: static; transform: none; width: auto; margin: 4px 0 6px; padding: 6px 4px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.m-on .ap-row { min-height: 48px; }
.m-on .ap-row .ctl { min-height: 40px; }
/* The night's path under the horizon (the moon travels it from Maghrib to sunrise). */
.m-sun-night { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.2; stroke-dasharray: 3 5; }
.m-on .verse .reference:has(.pillar-more:not(.pm-drawer)[aria-expanded='true']) .pillar-tags { flex: 1 1 100%; min-width: 0; }

/* Sheets: a header row with the title on the left and the x on the right, staying put while the sheet scrolls. */
.m-sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; margin: 0 -18px 6px; padding: 10px 18px 6px; background: var(--panel-solid); border-radius: 26px 26px 0 0; }
.m-sheet-bar h2, .m-sheet-bar .rd-head { margin: 0; }
.m-on #readPop .m-sheet-bar { margin: -14px -20px 8px; padding: 10px 20px 6px; }
.m-on #readPop .rd-head { font: 600 var(--fs-xs) var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.m-on .modal-card { padding-top: 0; }
/* Sharing to: the apps' own icons in round tiles, the chosen one ringed in gold. */
.m-app { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.09); color: var(--text); transition: box-shadow 0.2s, background 0.2s; }
.m-app svg { width: 21px; height: 21px; }
.m-on .platform[aria-pressed='true'] .m-app { background: rgba(242, 212, 147, 0.14); color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.m-on .platform:active .m-app { scale: 0.94; }

/* The moving Ayah gets its own layer while it moves (smoother on phones). */
/* No permanent will-change on the card: phones then keep the text as a picture, taken mid-animation, and it looked
   soft (2026-10-17, founder: "seems a little blurred"). */

/* The website's own pop-up open/close effect (scale, blur and a lingering "display" while it fades) must not run on the
   tray's drawers or on the sheets: js/m.js moves those itself, and the two at once made closing judder and the share
   sheet close clunkily (2026-10-16). */
.m-on .player .reciter-pop, .m-on .player .audio-panel, .m-on .modal, .m-on .modal-card {
  transition: none !important; filter: none !important; scale: none !important; translate: none !important; clip-path: none !important; }

/* ---- Speech bars (js/m.js): the progress line is the real shape of the recitation, like a voice note ----
   The canvas fills the player's own progress bar (so tap / drag to jump is unchanged); the times stay either side. */
.m-on .audio-bar { height: 30px; border-radius: 0; background: none; }
.m-on .audio-bar::before { inset: -6px 0; }
.m-on .audio-fill { opacity: 0; } /* still moved by js/audio.js; the bars read it and draw gold up to it */
.m-bars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---- Tuck the player away: a handle at the top of the tray, and the slim strip it becomes ---- */
.m-on .player.dock { padding-top: 12px; }
.m-grab { position: absolute; top: 0; left: 50%; z-index: 2; width: 72px; height: 14px; margin-left: -36px; padding: 0; border: 0; background: transparent; touch-action: none; }
.m-grab::before { content: ''; position: absolute; left: 50%; top: 5px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: rgba(255, 255, 255, 0.26); }
.m-mini { position: absolute; left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); top: 14px; height: 56px; display: flex; align-items: center; gap: 12px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease-out; }
.m-tucked .m-mini { opacity: 1; pointer-events: auto; }
.m-on .player .m-actions, .m-on .player .audio { transition: opacity 0.2s ease-out; }
.m-tucked .player .m-actions, .m-tucked .player .audio { opacity: 0; pointer-events: none; }
.m-mini-play { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--text); color: #141833; transition: scale 0.12s ease-out; }
.m-mini-play:active { scale: 0.94; }
.m-mini-play svg { width: 18px; height: 18px; }
.m-mini-play .ico-pause, .m-mini.is-playing .m-mini-play .ico-play { display: none; }
.m-mini.is-playing .m-mini-play .ico-pause { display: block; }
@media (prefers-reduced-motion: reduce) { .m-mini, .m-on .player .m-actions, .m-on .player .audio { transition: none; } }

/* Sheets open over the full-screen pages (Prayer, Explore): the location sheet used to open BEHIND Prayer. */
.m-on .modal { z-index: 80; }


/* ---- Prayer: the prayer day as the sun's path (option 6) and the rolling countdown ---- */
.m-sun-twilight { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 1.3; stroke-dasharray: 2 4; }
.m-sun-gold { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-sun-time { fill: rgba(255, 255, 255, 0.42); font: 500 9.5px var(--font-ui); font-variant-numeric: tabular-nums; }
.m-sun-time.is-next { fill: var(--accent); }
.m-sun-now.is-low { opacity: 0.55; } /* the sun below the horizon, in the twilight */
.m-sun-stars circle { fill: #fff; animation: m-twinkle 3.6s ease-in-out infinite; }
@keyframes m-twinkle { 50% { fill-opacity: 0.3; } } /* fill-opacity, so a star hidden by day stays hidden */
.m-next-left { display: inline-grid; justify-items: center; overflow: hidden; white-space: pre; }
.m-roll-line { grid-area: 1 / 1; display: inline-flex; }
.m-roll { display: inline-grid; overflow: hidden; }
.m-roll > span { grid-area: 1 / 1; }
@media (prefers-reduced-motion: reduce) { .m-sun-stars circle { animation: none; } }

/* While reciting, only the word being recited is lit (gold); the words still to come are no longer dimmed - on a long
   Ayah that greyed out most of the text, and it stayed grey when paused (founder, 2026-10-17). */
.m-on .arabic:has(.is-reciting) .w.is-reciting ~ .w, .m-on .transliteration:has(.is-reciting) .tw.is-reciting ~ .tw { opacity: 1; }

/* Turning the card over: no blurred, section-by-section fade on the phone page (js/m.js moves the card instead). */
.m-on .card > .card-front, .m-on .card > .card-back, .m-on .card-back .back-top, .m-on .card-back .back-body > .section {
  transition: none !important; opacity: 1 !important; filter: none !important; translate: none !important; }

/* ---- The player: A2 "compact classic" (founder's pick, 2026-10-17) ----
   Top to bottom: the Ayah's icons, then which Ayah and who is reciting on one line (with room to breathe either side),
   then the voice line with its times beside it, then the controls. About a quarter of the screen instead of a third. */
.m-on .player.dock { border-top-color: rgba(242, 212, 147, 0.45); } /* the gold hairline along the top (founder's pick) */
.m-on .audio { padding: 0 4px 6px; }
.m-on .dock-centre { gap: 0; }
.m-on .np-line { order: 1; padding: 12px 12px 8px; gap: 6px; }
.m-on .audio-main { order: 2; margin: 0 0 4px; }
.m-on .dock-ctl { order: 3; }
.m-on .np-ref { font: 600 var(--fs-s) var(--font-ui); color: var(--text-2); } /* the Surah a little brighter than the reciter, like a song title over its artist */
.m-on .np-reciter, .m-on .np-dot { font-size: var(--fs-s); color: var(--text-3); }
.m-on .play-btn { width: 52px; height: 52px; }
.m-on .audio-bar { height: 28px; }

/* ---- The tucked strip: play, which Ayah with a live line beneath it, the time left ---- */
.m-mini-t { flex: 1; min-width: 0; display: grid; gap: 3px; padding: 0; border: 0; background: transparent; text-align: left; font: inherit; color: var(--text-3); }
.m-mini-line { font-size: var(--fs-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mini-line b { font-weight: 600; color: var(--text-2); }
.m-mini-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.m-mini-voice { display: block; flex: 1; min-width: 0; height: 20px; }
.m-mini-left { flex: none; min-width: 30px; text-align: right; font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.m-mini-left:empty { display: none; }

/* A soft dark outline round the prayer names and times, so they read clearly where they cross the sun or the path. */
.m-sun-label, .m-sun-time { paint-order: stroke; stroke: rgba(8, 10, 26, 0.85); stroke-width: 3px; stroke-linejoin: round; }

/* ---- Sheets (trial 2026-10-17: Prayer as a tall sheet, Aa as a fitted sheet) ----
   One family: rises from the bottom over a dimmed page; a handle; the title on the left (21px gold) and an x on the
   right; solid navy with the gold hairline (no frosted glass while it moves - that made screens stutter). */
.m-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(2, 4, 12, 0.5); }
.m-sheet-grab { position: absolute; top: 0; left: 50%; z-index: 5; width: 72px; height: 22px; margin-left: -36px; touch-action: none; cursor: grab; }
/* One handle everywhere (founder: "not all thick lines have the same spacing"): the same bar as the player's, 6px from
   the top edge of every sheet, sitting above the sticky header so it is never covered (it was hidden on Share). */
.m-sheet-grab::before, .m-grab::before { content: ''; position: absolute; left: 50%; top: 6px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); }
.m-screen-sheet .m-sheet-grab { top: -6px; }
.m-screen.m-screen-sheet { top: calc(max(14px, env(safe-area-inset-top)) + 34px); border-radius: 26px 26px 0 0; padding-top: 6px;
  background: var(--sheet); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid rgba(242, 212, 147, 0.45); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35); }
.m-screen-sheet .m-screen-nav { position: relative; justify-content: space-between; height: 58px; padding: 6px 12px 0 20px; }
.m-screen-sheet .m-x { margin-right: -6px; }
.m-on #readPop { background: var(--sheet) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-top: 1px solid rgba(242, 212, 147, 0.45) !important; }
.m-on #readPop .m-sheet-bar { background: transparent; }
.m-on #readPop .rd-head { font: 600 21px var(--font-ui); letter-spacing: -0.01em; text-transform: none; color: var(--accent); }

/* The safety net under both voice lines: a plain line shows until the drawn line has appeared, so there is never an
   empty space where the line should be. */
.m-on .audio-bar:not(.is-drawn) { background: linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)) center / 100% 2px no-repeat; }
.m-on .audio-bar:not(.is-drawn) .audio-fill { opacity: 1; height: 2px; margin-top: 13px; border-radius: 1px; }
.m-mini-voice:not(.is-drawn) { background: linear-gradient(rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)) center / 100% 2px no-repeat; }

/* Prayer: the row's two lines get room between them; the Asr choice sits on one line with its label (iOS-style) and a
   short note saying what the chosen one means. */
.m-row-t { gap: 3px; }
.m-row-t small { line-height: 1.4; }
.m-asr { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-asr-t { font-size: var(--fs-base); color: var(--text); }
.m-asr .m-segs-2 { flex: none; width: 196px; margin: 0; padding: 2px; border-radius: 10px; }
.m-asr .m-seg { height: 34px; border-radius: 8px; font-size: var(--fs-m); font-weight: 400; color: var(--text-3); }
.m-asr .m-seg[aria-pressed='true'] { background: rgba(255, 255, 255, 0.16); color: var(--text); font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.m-note { margin: 8px 2px 0; font-size: var(--fs-s); line-height: 1.5; color: var(--text-3); }

/* ---- Every sheet the same (founder, 2026-10-17): Share, Sources, Location, Calculation method join Prayer, Explore
   and Reading. Solid navy with the gold hairline (no frosted glass while moving), a handle, the title at 21px gold, the
   page dimmed behind, swipe down by the header to close. One heading style and one list size throughout. */
.m-on .modal { background: rgba(2, 4, 12, 0.5); }
.m-on .modal-card, .m-sheet-panel { position: relative; background: var(--sheet) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-top: 1px solid rgba(242, 212, 147, 0.45) !important; }
.m-on .modal-card .m-sheet-bar { background: var(--sheet); padding-top: 16px; }
.m-sheet-panel { padding-top: 14px; }
.m-sheet-title { font-size: 21px; }
.m-on .share-label, .m-on .rc-head { font: 600 var(--fs-xs) var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.m-on .rc-name { font-weight: 400; }

/* Lists of Ayahs (Moments, Saved; the same as search results): the reference small in gold, the English under it. */
.m-ayah { display: grid; gap: 3px; width: 100%; padding: 11px 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: transparent; text-align: left; font: inherit; }
.m-ayah-ref { font: 600 var(--fs-xs) var(--font-ui); letter-spacing: 0.04em; color: var(--accent); }
.m-ayah-text { font-size: var(--fs-m); line-height: 1.45; color: var(--text-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 1.45em; }
.m-open .m-ayah { padding-left: 14px; }
/* "Read all": a quiet full-width button (it was an outlined gold pill) */
.m-readall { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 10px 0 6px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--accent); font: 500 var(--fs-base) var(--font-ui); }
.m-readall svg { width: 14px; height: 14px; }
.m-readall:active { scale: 0.98; }

/* ---- Switches = "gold underline" (founder's pick, 2026-10-17): just the words; a short gold line under the chosen one.
   Explore's tabs: the line slides between tabs and sits a little above the light divider (with space between them, as
   on Prayer). The Asr choice: the same, inside its row. ---- */
.m-segs { gap: 0; padding: 0 0 8px; margin: 10px 16px 0; border-radius: 0; background: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-seg { height: 40px; border-radius: 0; font-weight: 400; font-size: var(--fs-base); color: var(--text-3); }
.m-seg[aria-selected='true'] { color: var(--text); font-weight: 500; }
.m-seg-pill { top: auto; bottom: 8px; left: 0; height: 2px; width: calc(100% / 4); border-radius: 0; background: none; }
.m-seg-pill::after { content: ''; display: block; width: 28px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--accent); }
.m-asr .m-segs-2 { width: auto; padding: 0; border: 0; background: none; gap: 6px; }
.m-asr .m-seg { position: relative; height: 40px; padding: 0 10px; border-radius: 0; background: none !important; box-shadow: none !important; color: var(--text-3); font-size: var(--fs-base); font-weight: 400; }
.m-asr .m-seg[aria-pressed='true'] { color: var(--text); font-weight: 500; }
.m-asr .m-seg[aria-pressed='true']::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 28px; height: 2px; margin-left: -14px; border-radius: 2px; background: var(--accent); }

/* "On" buttons (speed, Repeat, Auto-play, the "..." button): gold text only - no tinted circle or outline behind them
   (founder, 2026-10-18: "darker circle around them... check this on everything"). */
.m-on .ctl.on, .m-on .audio .ctl.on, .m-on .ap-group .ctl.on, .m-on #autoBtn.on { background: transparent; border-color: transparent; box-shadow: none; color: var(--accent); font-weight: 600; }
.m-on .ctl { border-color: transparent; }

/* Prayer drawing: the five prayers' dots and names in the same quiet tone as "sunrise"; the next prayer stays gold. */
.m-sun-dot { fill: rgba(255, 255, 255, 0.45); }
.m-sun-dot.is-past { fill: rgba(255, 255, 255, 0.3); }
.m-sun-label { fill: rgba(255, 255, 255, 0.45); }

/* Panels that open inside the Prayer sheet, under their row (location, calculation method). */
.m-inline { padding: 4px 0 14px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-inline .m-note { margin: 4px 0 6px; }
.m-inline .m-choice:last-child { border-bottom: 0; }
.m-inline-loc .modal-copy { margin: 4px 0 12px; font-size: var(--fs-s); line-height: 1.5; color: var(--text-3); }
.m-inline-loc #geoBtn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--accent); font: 500 var(--fs-base) var(--font-ui); }
.m-inline-loc .or { margin: 12px 0 8px; font-size: var(--fs-s); color: var(--text-3); text-align: center; }
.m-inline-loc #cityInput { width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.09); color: var(--text); font: 400 var(--fs-base) var(--font-ui); outline: none; }
@supports (-webkit-touch-callout: none) { .m-inline-loc #cityInput { font-size: 16px; } }
.m-inline-loc .city-result { display: block; width: 100%; min-height: 44px; padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: transparent; color: var(--text-2); font: 400 var(--fs-base) var(--font-ui); text-align: left; }
.m-row .m-row-chev { transition: rotate 0.3s cubic-bezier(0.32, 0.72, 0, 1); } /* the arrow turns as a row opens */
/* A Moment loading its Ayahs (a moment): its arrow pulses */
.m-row.is-loading .m-row-chev { animation: m-busy 0.8s ease-in-out infinite alternate; }
@keyframes m-busy { to { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .m-row.is-loading .m-row-chev { animation: none; opacity: 0.5; } }
/* The browser's "scroll anchoring" moved the list when a Moment opened (it kept a row further down in view); js/m.js
   keeps the tapped row still itself, so it is switched off here. */
.m-list, .m-prayer { overflow-anchor: none; }
/* The inline panels: the spacing and divider live on the inner layer (see inlinePanel() in js/m.js). */
.m-inline { padding: 0; border-bottom: 0; }
.m-inline-in { padding: 4px 0 14px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.m-mini-voice { height: 22px; }
/* While the share image is being drawn: a soft placeholder card the shape of the image, gently breathing. */
.m-on .share-preview:empty::before { content: ''; height: 100%; aspect-ratio: 9 / 16; border-radius: 10px; background: rgba(255, 255, 255, 0.06); animation: m-wait 1.1s ease-in-out infinite alternate; }
@keyframes m-wait { to { background: rgba(255, 255, 255, 0.1); } }
@media (prefers-reduced-motion: reduce) { .m-on .share-preview:empty::before { animation: none; } }

/* ===== Second-opinion review (Claude in the founder's Breeze project, 2026-10-19), points 1-11 ===== */
/* 4. Sizes: English 17, interface 15, small labels 13, nothing under 12. The type-scale tokens, raised for the phone. */
html.m-on { --fs-xs: 12px; --fs-s: 13px; --fs-m: 14px; --fs-base: 15px; --fs-l: 17px; }
/* 3. Solid colours: nothing people read is see-through. Main text solid off-white; secondary a solid soft grey-blue.
   (These win over each sky's own values.) On the light skies the tint behind the text is a little deeper (point 2),
   so the grey-blue keeps its contrast without any glow. */
html.m-on body, html.m-on body[data-phase] { --text: #f4efe6; --text-2: #cdd5e6; --text-3: #b8c2d8; }
html.m-on body[data-phase='fajr'] { --glass: rgba(44, 40, 98, 0.78); }
html.m-on body[data-phase='dhuhr'] { --glass: rgba(8, 44, 84, 0.78); }
html.m-on body[data-phase='asr'] { --glass: rgba(18, 46, 82, 0.78); }
html.m-on body[data-phase='maghrib'] { --glass: rgba(40, 24, 60, 0.76); }
/* 2. No glow behind the text. */
.m-on .card, .m-on .card * { text-shadow: none; }
/* 1. One Arabic size for every Ayah (28px), so every Ayah starts and reads the same; long ones simply scroll. */
.m-on .verse .arabic, .m-on .verse.is-long .arabic, .m-on .verse.is-xlong .arabic { font-size: calc(28px * var(--read-zoom, 1)); line-height: 1.95; }
/* 5. Transliteration: 14px, regular weight, solid colour, normal spacing, and a word is never split across lines. */
.m-on .verse .transliteration { font-size: var(--fs-m); font-weight: 400; color: var(--text-2); word-spacing: normal; text-align: center; }
.m-on .verse .tw { padding: 1px 0; white-space: nowrap; }
.m-on .transliteration:has(.is-reciting) .tw.is-reciting ~ .tw { opacity: 1; }
/* 6. The reference: the same size as the theme pills' text, solid, in normal letters (not tiny grey capitals). */
.m-on .verse .reference { font-size: var(--fs-s); letter-spacing: 0; text-transform: none; color: var(--text-2); }
.m-on .pillar-tag, .m-on .pillar-more { font-size: var(--fs-s); letter-spacing: 0; text-transform: none; }
.m-on .sn-fold summary, .m-on .sn-toggle, .m-on .sn-fold > button { font-size: var(--fs-s); letter-spacing: 0; text-transform: none; }
/* 7. The dock in two layers: the Ayah's icons, then the player. The Ayah reference is not repeated (it is right above);
   the reciter shows small, under the controls. */
.m-on .np-ref, .m-on .np-dot { display: none; }
.m-on .np-line { order: 3; padding: 2px 12px 2px; }
.m-on .audio-main { order: 1; margin: 8px 0 2px; }
.m-on .dock-ctl { order: 2; }
.m-on .np-reciter, .m-on .np-reciter span { font-size: var(--fs-s); color: var(--text-3); }
.m-mini-line b, .m-mini-line .m-mini-dot { display: none; }
/* 8. The prayer button says what it is: its ring plus the next prayer's name (it looked like a loading spinner). */
.m-actions .prayer-pill { width: auto !important; min-width: 44px; padding: 0 8px !important; gap: 6px; display: inline-flex !important; align-items: center; }
.m-actions .prayer-pill > .prayer-name { display: inline !important; font: 500 var(--fs-s) var(--font-ui); color: var(--text-2); }
/* 11. The card arrives quickly (js/m.js fades it in place in 0.3 s); no slow rise from almost invisible. */
.m-on .card { animation: none; }

/* ---- The sheets' colour, in one place (2026-10-19: the founder wants something warmer and more premium than the navy).
   Every sheet (Prayer, Explore, Share, Sources, Aa, Location, Calculation method) uses --sheet; inside a sheet the
   secondary text takes a tone that suits it. Options to try: /try/m/?sheet=try on this Mac or the phone. ---- */
/* THE APP'S COLOUR (founder, 2026-10-19): "Twilight · warmest", a soft dusk violet, for every sheet, and the player in
   the same colour (slightly see-through, so a hint of the sky shows). Was a dark navy rgb(14, 17, 36) / rgba(8, 10, 26, 0.58). */
html.m-on { --sheet: rgb(14, 17, 36); --sheet-text-2: #cdd5e6; --sheet-text-3: #b8c2d8; --tray: rgba(8, 10, 26, 0.58); }
/* PARKED (founder, 2026-10-19, after seeing it: "I don't like it. Park it for the time being"): back to the navy. The
   options stay in the switcher at /try/m/?sheet=try for when this is revisited. */
html.m-on[data-sheet='navy'] { --sheet: rgb(14, 17, 36); --sheet-text-2: #cdd5e6; --sheet-text-3: #b8c2d8; --tray: rgba(8, 10, 26, 0.58); }
.m-screen-sheet, .m-on .modal-card, .m-on #readPop, .m-sheet-panel { --text-2: var(--sheet-text-2, #cdd5e6); --text-3: var(--sheet-text-3, #b8c2d8); }
.m-sheet-try { position: fixed; z-index: 95; top: calc(max(14px, env(safe-area-inset-top)) + 4px); left: 50%; transform: translateX(-50%); min-height: 36px; padding: 0 14px; border: 1px solid rgba(242, 212, 147, 0.5); border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: var(--accent); font: 600 var(--fs-s) var(--font-ui); }

/* Lighter sheet options (2026-10-19, round 2: "still very dark"). Dusky but lighter: Twilight, Dusk, Slate. Light,
   with dark text: Parchment, Sand (the class .m-light on each sheet switches every colour inside it). */
html.m-on[data-sheet='twilight'] { --sheet: rgb(40, 52, 94); --sheet-text-2: #d9e0f0; --sheet-text-3: #c3cce2; --tray: rgba(40, 52, 94, 0.9); }
html.m-on[data-sheet='dusk'] { --sheet: rgb(66, 52, 82); --sheet-text-2: #e4dbe8; --sheet-text-3: #cdc2d4; }
html.m-on[data-sheet='slate'] { --sheet: rgb(56, 64, 82); --sheet-text-2: #dde2ec; --sheet-text-3: #c6cdda; }
html.m-on[data-sheet='parchment'] { --sheet: rgb(244, 238, 227); }
html.m-on[data-sheet='sand'] { --sheet: rgb(233, 223, 205); }
/* Round 3 (founder: "Twilight but warmer - same with Sand"): two warmer steps of each. */
html.m-on[data-sheet='twilight-warm'] { --sheet: rgb(52, 50, 92); --sheet-text-2: #dedcf0; --sheet-text-3: #c8c5e0; --tray: rgba(52, 50, 92, 0.9); }
html.m-on[data-sheet='twilight-warmer'] { --sheet: rgb(64, 52, 92); --sheet-text-2: #e3dcee; --sheet-text-3: #cdc4dc; --tray: rgba(64, 52, 92, 0.9); }
html.m-on[data-sheet='sand-warm'] { --sheet: rgb(238, 222, 194); }
html.m-on[data-sheet='sand-warmer'] { --sheet: rgb(236, 213, 176); }
/* the outline round the prayer names takes the sheet's own colour (it was navy, which would show on a light sheet) */
.m-sun-label, .m-sun-time { stroke: var(--sheet); }
/* Light sheets: dark text, a deeper gold that reads on cream, and dark (not white) lines, fills and drawing. */
.m-light {
  --text: #2b2520; --text-2: #4b423a; --text-3: #61574d; --accent: #6e5010; color: var(--text); }
.m-light :is(.m-row, .m-time, .m-choice, .m-ayah, .m-segs, .m-asr, .m-inline-in, .city-result, .rd-row) { border-color: rgba(43, 37, 32, 0.12); }
.m-light :is(.m-search, #cityInput, .m-readall, #geoBtn, .m-app) { background: rgba(43, 37, 32, 0.07); color: var(--text); }
.m-light .m-search::placeholder, .m-light #cityInput::placeholder { color: var(--text-3); }
.m-light .m-x { color: var(--text); }
.m-light .m-x::before { background: rgba(43, 37, 32, 0.08); }
.m-light .m-sheet-grab::before { background: rgba(43, 37, 32, 0.25); }
.m-light .m-sun-horizon { stroke: rgba(43, 37, 32, 0.2); }
.m-light .m-sun-arc, .m-light .m-sun-twilight, .m-light .m-sun-night { stroke: rgba(43, 37, 32, 0.32); }
.m-light .m-sun-dot { fill: rgba(43, 37, 32, 0.45); }
.m-light .m-sun-dot.is-past { fill: rgba(43, 37, 32, 0.25); }
.m-light .m-sun-dot.is-next, .m-light .m-sun-label.is-next, .m-light .m-sun-time.is-next { fill: var(--accent); }
.m-light .m-sun-label { fill: #4b423a; }
.m-light .m-sun-time { fill: #6a6056; }
.m-light .m-sun-stars { display: none; } /* white stars do not belong on paper */
.m-light .m-sun-now.is-night { fill: #4b423a; }

/* No tap highlight anywhere on the phone page (founder, 2026-10-19: tapping the location row "highlights the text panel").
   The browser's own tap box, the pressed-row tint and accidental text selection on controls are all off; keyboard
   users still get their focus outline (:focus-visible). */
html.m-on, html.m-on * { -webkit-tap-highlight-color: transparent; }
.m-on .m-row:active, .m-on .m-choice:active, .m-on .m-ayah:active, .m-on .city-result:active { background: transparent; }
.m-on :is(button, .m-row, .m-choice, .m-ayah, .city-result, .m-seg, .chip, .platform) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.m-on .m-search:focus, .m-on #cityInput:focus { box-shadow: none; outline: none; }
/* Samsung Internet can show the keyboard focus outline after a plain tap; on touch screens, rows and buttons do not. */
@media (pointer: coarse) { .m-on :is(.m-row, .m-choice, .m-ayah, .city-result, .m-seg, button):focus-visible { outline: none; box-shadow: none; } }

/* ---- Round of 2026-10-19 ---- */
/* Commentary follows the reader's Aa choice, like the Ayah's English does. */
html.m-on[data-read-size='s'] .card-back .section p { font-size: var(--fs-m); }
html.m-on[data-read-size='l'] .card-back .section p { font-size: var(--fs-l); line-height: 1.6; }
/* The source line under the commentary: quieter than the text (it is a credit, not reading), but solid and 13px. */
.m-on .card-back .section .source { font-size: var(--fs-s); color: var(--text-3); opacity: 1; }
/* "Copy text" never breaks onto two lines; the note beside it takes what room is left. */
.m-on .hd-btn { flex: none; white-space: nowrap; }
.m-on .sn-note { flex: 1; min-width: 0; }
/* From the Sunnah and the theme chips: one chip size (32px tall, 13px, weight 500). */
.m-on .sn-toggle { min-height: 32px; padding: 0 12px; font-weight: 500; line-height: 1; }

/* Topics drawer (option 5): "+2" glides the other topics open under the line, each in its own chip, like From the
   Sunnah; the + folds into a - while open (its upright bar lies flat). The chip keeps one width throughout. */
.m-on .pm-drawer { gap: 5px; min-width: 32px; padding: 0 11px; font-variant-numeric: tabular-nums; }
.m-on .pm-sign { position: relative; width: 10px; height: 10px; flex: none; }
.m-on .pm-sign::before, .m-on .pm-sign::after { content: ''; position: absolute; left: 0; top: 4.2px; width: 10px; height: 1.6px; border-radius: 1px; background: currentColor; }
.m-on .pm-sign::after { rotate: 90deg; transition: rotate 0.35s var(--ease-out); }
.m-on .pm-drawer.is-open .pm-sign::after { rotate: 0deg; }
.m-on .pillar-drawer { width: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.m-on .pillar-drawer.is-open { grid-template-rows: 1fr; transition-duration: 0.5s; }
.m-on .pillar-drawer-in { min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.m-on .pillar-drawer .pillar-tag { margin-top: 10px; margin-bottom: 2px; opacity: 0; translate: 0 -6px; transition: opacity 0.2s ease, translate 0.35s var(--ease-out), background 0.2s; }
.m-on .pillar-drawer.is-open .pillar-tag { opacity: 1; translate: 0 0; transition-duration: 0.3s, 0.45s, 0.2s; }
.m-on .pillar-drawer.is-open .pillar-tag:nth-child(2) { transition-delay: 40ms; }
.m-on .pillar-drawer.is-open .pillar-tag:nth-child(3) { transition-delay: 80ms; }
@media (prefers-reduced-motion: reduce) { .m-on .pillar-drawer, .m-on .pillar-drawer .pillar-tag, .m-on .pm-sign::after { transition: opacity 0.15s ease; translate: none; } }
/* Sources, opened in place under its row in Explore */
.m-inline-src .sources-list { margin: 4px 0 0; }
.m-inline-src dt { margin-top: 12px; font: 500 var(--fs-base) var(--font-ui); color: var(--text); }
.m-inline-src dt:first-child { margin-top: 4px; }
.m-inline-src dd { margin: 3px 0 0; font-size: var(--fs-m); line-height: 1.5; color: var(--text-3); }
.m-inline-src .sources-version { margin: 14px 0 0; font-size: var(--fs-s); color: var(--text-3); }
/* Moments, warm list: a little more room per row; the section heading one step up (13px gold capitals) and the
   Moment's name at 15px, so the name no longer looks bigger than the heading above it (founder, 2026-10-19). */
.m-on .m-head { font-size: var(--fs-s); }
.m-on .m-row-moment { min-height: 64px; padding: 10px 0; }
.m-on .m-row-moment .m-row-t b { font-size: var(--fs-base); font-weight: 500; }
.m-on .m-row-moment .m-row-n { white-space: nowrap; }
/* First opening (founder, 2026-10-19: "white lines like a square around the main window"): until the phone script has
   switched the phone styles on, the website's own card (with its light glass edge) was showing for a moment. Only the
   sky shows until then. Safety net: if the script ever failed, the page still appears after 3 seconds. */
html[data-shell='m']:not(.m-on) :is(.app, #player) { opacity: 0; animation: m-show-anyway 0s 3s forwards; }
@keyframes m-show-anyway { to { opacity: 1; } }
/* Reciter button (founder, 2026-10-19: "sometimes it will not let me pick a reciter"): since the reciter line moved to
   the bottom of the player it sat flush against the screen's bottom edge (8px away, the player had no padding there) -
   the strip where Android's swipe gesture and Samsung Internet's own toolbar take taps - and it was only 32px tall.
   Now the player keeps 12px (or the phone's safe area, if larger) below it, and the button is a full 44px target. */
.m-on .player.dock { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.m-on .np-line { padding-top: 0; padding-bottom: 0; }
.m-on .np-reciter { min-height: 44px; }
/* Topics drawer spacing, measured (founder, 2026-10-19: "the gaps are different"): the closed drawer no longer adds the
   verse's 14px gap (From the Sunnah had drifted down 14px); open, every row of chips is 8px from the next (the first
   theme to the drawer included), and From the Sunnah keeps the same distance below the last row as below the closed one.
   The padding sits inside the clipped layer, so it is hidden when closed. One outline and one weight for every chip. */
.m-on .pillar-drawer { margin-top: -14px; }
.m-on .pillar-drawer-in { display: block; }
.m-on .pillar-drawer-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px 0; }
.m-on .pillar-drawer .pillar-tag { margin: 0; }
.m-on .sn-toggle { border-color: rgba(242, 212, 147, 0.4); }
.m-on .pm-drawer { font-weight: 500; }
.m-on .pillar-drawer.is-open .pillar-tag:nth-child(2) { transition-delay: 40ms; }
.m-on .pillar-drawer.is-open .pillar-tag:nth-child(3) { transition-delay: 80ms; }
/* Trial option 3: one chip that turns (?topics=3). The name and the dots are two buttons inside one outline; the chip is
   as wide as the longest topic, so turning never changes its size. */
.m-on .pillar-cycle { display: inline-flex; align-items: stretch; height: 32px; border: 1px solid rgba(242, 212, 147, 0.4); border-radius: 999px; background: var(--pill-fill); }
.m-on .pc-name { padding: 0 6px 0 12px; border: 0; background: transparent; color: var(--accent); font: 500 var(--fs-s) var(--font-ui); }
.m-on .pc-stack { display: grid; }
.m-on .pc-stack > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; translate: 0 8px; transition: opacity 0.2s ease, translate 0.32s var(--ease-out); }
.m-on .pc-stack > span.on { opacity: 1; translate: 0 0; }
.m-on .pc-stack > span.gone { opacity: 0; translate: 0 -8px; }
.m-on .pc-dots { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px 0 8px; border: 0; border-left: 1px solid rgba(242, 212, 147, 0.2); background: transparent; }
.m-on .pc-dots::after { content: ''; position: absolute; inset: -6px -4px; } /* a larger target than it looks */
.m-on .pc-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(242, 212, 147, 0.35); transition: background 0.2s; }
.m-on .pc-dots i.on { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .m-on .pc-stack > span { transition: opacity 0.15s ease; translate: none; } }
/* Tucked player (founder, 2026-10-19, the "full player with nothing else" bug): since v143 the player keeps 12px below
   its last line, and the tucked strip keeps that room too - which let 18px of the full player show under the strip.
   While tucked, the full player's rows fade out; untucking brings them back as before. */
.m-tucked #player :is(.audio-main, .dock-ctl, .np-line), .m-tucked ~ #player :is(.audio-main, .dock-ctl, .np-line) { opacity: 0; transition: opacity 0.2s ease; }
/* Option 3 without the dividing line (founder: "not a fan of the line"): the dots sit a little apart from the name
   instead, inside the same outline - the gap and the different shape say "a separate control" quietly. */
.m-on .pc-dots { border-left: 0; padding: 0 13px 0 4px; gap: 4px; }
.m-on .pc-name { padding-right: 8px; }
/* No grey boxes when something is tapped or open (founder, 2026-10-19, "remove from everywhere"): the reciter name under
   the play button no longer gets a box while the list is open, and the chosen reciter is shown by its gold name alone. */
.m-on .np-reciter[aria-expanded='true'], .m-on .action[aria-expanded='true'] { background: transparent; }
.m-on .rc-item[aria-selected='true'] { background: transparent; }
/* The reciter list, quieter and roomier: just the monogram and the name. The Arabic name and "Murattal" (a steady,
   measured style of recitation - every reciter here is Murattal, so it told you nothing) are gone. */
.m-on .rc-ar, .m-on .rc-sub { display: none; }
.m-on .rc-list { gap: 4px; }
.m-on .rc-item { min-height: 56px; padding: 8px 6px; gap: 14px; }
.m-on .rc-name { font-weight: 400; }
.m-on .rc-item[aria-selected='true'] .rc-name { font-weight: 500; }
/* Tucked player: its resting place, decided here alone (2026-10-19). translateY(100%) is the tray's own height, so it
   always slides down by exactly "its height less the strip's room" (the strip: 14px above, 56px tall, 6px below, plus
   the bottom padding) - it cannot be thrown off by a stale measurement. js/m.js only animates the way down and back. */
/* (replaced the same day: the Samsung browser dropped this resting slide - js/m.js placeTray now rests the tucked tray
   lower by its bottom edge instead) */
/* ?debug=tray diagnostics panel (dev and phone only) */
.m-debug { position: fixed; top: 0; left: 0; right: 0; z-index: 999; margin: 0; padding: 4px 6px; background: rgba(0, 0, 0, 0.82); color: #9f9; font: 9px/1.3 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-all; pointer-events: none; max-height: 60dvh; overflow: hidden; }

/* One family (founder, 2026-10-21): Cairo for everything on the phone page except the Quran itself, which stays in the King
   Fahd Complex font. 'Cairo UI' (css/base.css) is sized to Inter's letter height and line spacing, so every size and
   spacing measured with Inter still holds. All other Arabic (Surah names, hadith) is in the Quran's own script since 2026-11-15. */
html.m-on { --font-ui: 'Cairo UI', 'Inter', -apple-system, system-ui, sans-serif; --font-arabic: 'UthmanicHafs', 'Geeza Pro', serif; }
/* Before/after: ?font=try (this Mac and the founder's phone only) adds a button that swaps back to Inter. */
html.m-on[data-font='inter'] { --font-ui: 'Inter', -apple-system, system-ui, sans-serif; --font-arabic: 'UthmanicHafs', 'Geeza Pro', serif; }
.m-font-try { top: auto; bottom: calc(env(safe-area-inset-bottom) + 190px); }

/* Surah lists (founder, 2026-10-21): no Arabic name on the right; the Makkah / Madinah icon from the commentary leads the
   line under the name instead. */
.m-on :is(.m-row-t small, .m-sub) .rev-icon { display: inline-block; width: 15px; height: 15px; margin: 0 5px 0 0; vertical-align: -3px; color: var(--accent); }
/* The turning topic chip fits the name showing (founder, 2026-10-21): only that name takes up room; the one leaving is laid
   over it while it fades, clipped at the sides as the chip glides to the new width (js/app.js). */
.m-on .pc-stack { display: block; position: relative; overflow-x: clip; overflow-y: visible; text-align: start; }
.m-on .pc-stack > span:not(.on) { position: absolute; left: 0; top: 0; }
/* Location: one field (founder, 2026-10-21). The city search fills the row; "use my current location" is the arrow button
   at its end (its words stay for screen readers, hidden on screen); while it is finding you, the arrow gently pulses. */
.m-loc-field { position: relative; display: flex; align-items: center; }
.m-on .m-inline-loc .m-loc-field #cityInput { padding-right: 52px; }
.m-on .m-inline-loc .m-loc-field #geoBtn { position: absolute; right: 2px; top: 2px; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 10px; background: transparent; font-size: 0; color: var(--accent); }
.m-on .m-inline-loc .m-loc-field #geoBtn::before { content: ''; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4 4 11l7 2 2 7z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4 4 11l7 2 2 7z' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.m-on .m-inline-loc .m-loc-field #geoBtn:active::before { scale: 0.9; }
.m-on .m-inline-loc .m-loc-field #geoBtn:disabled::before { animation: m-geo 0.9s ease-in-out infinite alternate; }
@keyframes m-geo { to { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .m-on .m-inline-loc .m-loc-field #geoBtn:disabled::before { animation: none; opacity: 0.5; } }
/* Share to: each app in its own colours (founder, 2026-10-21), white mark on the brand colour, as the phone's own share
   menu shows them. The dark ones (TikTok, X) get a faint rim so they do not sink into the sheet. The chosen size keeps a
   gold ring, set off from the disc by a sliver of the sheet's colour. */
.m-on .m-app { color: #fff; }
.m-on .platform .m-app.is-whatsapp { background: #25d366; }
.m-on .platform .m-app.is-facebook { background: #0866ff; }
.m-on .platform .m-app.is-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.m-on .platform .m-app.is-tiktok, .m-on .platform .m-app.is-x { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.m-on .platform .m-app.is-tiktok svg { filter: drop-shadow(-1px -1px 0 #25f4ee) drop-shadow(1px 1px 0 #fe2c55); }
.m-on .platform[aria-pressed='true'] .m-app { color: #fff; box-shadow: 0 0 0 2px var(--sheet, #0e1124), 0 0 0 4px var(--accent); }
.m-on .platform[aria-pressed='true'] .m-app.is-tiktok, .m-on .platform[aria-pressed='true'] .m-app.is-x { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 0 2px var(--sheet, #0e1124), 0 0 0 4px var(--accent); }
.m-on .platform .m-app.is-facebook { background: #fff; color: #0866ff; } /* the logo is itself a blue disc with the f cut out */
.m-on .platform .m-app.is-facebook svg { width: 44px; height: 44px; }
.m-on .platform[aria-pressed='true'] .m-app.is-facebook { color: #0866ff; }
/* Commentary (back of the card): the explanation reads in the main off-white, like the English on the front; the
   "Source:" lines stay 13px in the quieter grey-blue, so they read as footnotes (founder, 2026-10-21). */
.m-on #cardBack p:not(.source):not(.back-title):not(.notes-status) { color: var(--text); }

/* ---- The look (2026-10-21, from the cloud review; founder kept 'Sky colours' as the phone page's look, so it is the
   default - see initShell in js/m.js; ?look=try still compares it with the old 'Now').: every screen felt dark because a deep tint sits over every sky,
   and the sheets and player are one flat navy whatever the prayer. Two options, both only at /try/m/?look=try on this
   Mac or the phone; nothing changes for anyone else until the founder picks.
   'sky'    - a lighter tint over the sky, and the sheets and player take the colour of the current prayer.
   'bright' - the same, with the daytime skies (Fajr, Dhuhr, Asr) lifted further and a soft shadow behind the text.
   White text stays at a readable contrast on every sky (checked against each sky's colours). ---- */
html.m-on[data-look='sky'] body[data-phase='fajr'],    html.m-on[data-look='bright'] body[data-phase='fajr']    { --sheet: rgb(66, 52, 108); --tray: rgba(66, 52, 108, 0.88); }
html.m-on[data-look='sky'] body[data-phase='dhuhr'],   html.m-on[data-look='bright'] body[data-phase='dhuhr']   { --sheet: rgb(22, 72, 118); --tray: rgba(22, 72, 118, 0.88); }
html.m-on[data-look='sky'] body[data-phase='asr'],     html.m-on[data-look='bright'] body[data-phase='asr']     { --sheet: rgb(22, 84, 98); --tray: rgba(22, 84, 98, 0.88); } /* deep teal (founder: the first amber looked like dirt) */
html.m-on[data-look='sky'] body[data-phase='maghrib'], html.m-on[data-look='bright'] body[data-phase='maghrib'] { --sheet: rgb(78, 36, 70); --tray: rgba(78, 36, 70, 0.88); }
html.m-on[data-look='sky'] body[data-phase='isha'],    html.m-on[data-look='bright'] body[data-phase='isha']    { --sheet: rgb(24, 34, 74); --tray: rgba(24, 34, 74, 0.88); }
html.m-on[data-look='sky'] body[data-phase='fajr']    { --glass: rgba(44, 40, 98, 0.6); }
html.m-on[data-look='sky'] body[data-phase='dhuhr']   { --glass: rgba(8, 44, 84, 0.55); }
html.m-on[data-look='sky'] body[data-phase='asr']     { --glass: rgba(18, 46, 82, 0.58); }
html.m-on[data-look='sky'] body[data-phase='maghrib'] { --glass: rgba(40, 24, 60, 0.62); }
html.m-on[data-look='bright'] body[data-phase='fajr']    { --glass: rgba(44, 40, 98, 0.5); }
html.m-on[data-look='bright'] body[data-phase='dhuhr']   { --glass: rgba(8, 44, 84, 0.45); }
html.m-on[data-look='bright'] body[data-phase='asr']     { --glass: rgba(18, 46, 82, 0.5); }
html.m-on[data-look='bright'] body[data-phase='maghrib'] { --glass: rgba(40, 24, 60, 0.6); }
html.m-on[data-look='bright'] .verse { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28); }
.m-look-try { top: auto; bottom: calc(env(safe-area-inset-bottom) + 236px); }
.m-sky-try { top: auto; bottom: calc(env(safe-area-inset-bottom) + 282px); }

/* ---- Player trial, 'calm' (2026-10-21, cloud review; only at /try/m/?player=try until the founder picks).
   Fewer controls at rest, each one richer: a bigger play button with a soft gold halo that breathes while the Ayah
   plays; speed, back 5s, next and more stay in place but fade out at rest and fade in once playing (no layout jump);
   the reciter gets a monogram and brighter name; the progress line is a little bolder. ---- */
html.m-on[data-player='calm'] .play-btn { position: relative; width: 64px; height: 64px; box-shadow: 0 0 0 6px rgba(242, 212, 147, 0.14), 0 8px 24px rgba(0, 0, 0, 0.28); }
html.m-on[data-player='calm'] .play-btn::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(242, 212, 147, 0.5); opacity: 0; pointer-events: none; }
html.m-on[data-player='calm'] #audio.is-playing .play-btn::after { animation: m-breathe 2.8s ease-in-out infinite; }
@keyframes m-breathe { 0%, 100% { opacity: 0; scale: 1; } 50% { opacity: 1; scale: 1.12; } }
html.m-on[data-player='calm'] :is(#speedBtn, #back5Btn, #nextBtn, #moreBtn) { transition: opacity 0.28s ease, scale 0.28s ease; }
html.m-on[data-player='calm'] #audio:not(.is-playing):not(.is-loading) :is(#speedBtn, #back5Btn, #nextBtn, #moreBtn) { opacity: 0; scale: 0.85; pointer-events: none; }
html.m-on[data-player='calm'] .np-reciter { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
html.m-on[data-player='calm'] .np-reciter[data-mono]::before { content: attr(data-mono); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(242, 212, 147, 0.55); color: var(--accent); font: 600 10px/1 var(--font-ui); letter-spacing: 0.04em; }
html.m-on[data-player='calm'] .audio-bar:not(.is-drawn) { background-size: 100% 3px; }
html.m-on[data-player='calm'] .audio-bar:not(.is-drawn) .audio-fill { height: 3px; margin-top: 12.5px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html.m-on[data-player='calm'] #audio.is-playing .play-btn::after { animation: none; opacity: 0.6; }
  html.m-on[data-player='calm'] :is(#speedBtn, #back5Btn, #nextBtn, #moreBtn) { transition: none; }
}
.m-player-try { top: auto; bottom: calc(env(safe-area-inset-bottom) + 328px); }
/* The tucked strip's small play button gets the same halo (founder, 2026-10-21), sized down, clear of the ripple line. */
html.m-on[data-player='calm'] .m-mini-play { position: relative; box-shadow: 0 0 0 4px rgba(242, 212, 147, 0.14); margin-inline: 4px 6px; }
html.m-on[data-player='calm'] .m-mini-play::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(242, 212, 147, 0.5); opacity: 0; pointer-events: none; }
html.m-on[data-player='calm'] .m-mini.is-playing .m-mini-play::after { animation: m-breathe 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html.m-on[data-player='calm'] .m-mini.is-playing .m-mini-play::after { animation: none; opacity: 0.6; } }
/* The reciter's name above the voice line (founder, 2026-10-22), as in the tucked strip and in Apple Music / Spotify:
   who is reciting, then the line with the times, then the controls. (Review point 7 had put it under the controls.) */
.m-on .np-line { order: 0; padding: 6px 12px 0; }
.m-on .audio-main { order: 1; margin: 2px 0 2px; }
/* Explore > Moments as sky cards (founder, 2026-10-22, option A of try/moments). Two across; each card wears its own prayer
   sky (js/m.js MOMENT_SKY), with a dark veil rising from the bottom so the white words read on the brightest dawn. The
   count sits in a small capsule at the top right. Pressing a card sinks it slightly; while its Ayahs load it breathes. */
.m-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 6px; }
.m-mcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 1.08; min-height: 0; padding: 12px; overflow: hidden; border: 0; border-radius: 18px; color: #fff; text-align: left; font: inherit; transition: scale 0.14s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.m-mcard::before, .m-mhero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 26, 0.72) 0%, rgba(8, 10, 26, 0.25) 55%, rgba(8, 10, 26, 0) 80%); }
.m-mcard:active { scale: 0.97; }
.m-mcard b { position: relative; font: 600 16px/1.25 var(--font-ui); }
.m-mcard small { position: relative; margin-top: 2px; font: 400 var(--fs-s)/1.35 var(--font-ui); color: rgba(255, 255, 255, 0.88); }
.m-mcard-n { position: absolute; top: 10px; right: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); font: 500 var(--fs-xs)/1.5 var(--font-ui); color: #fff; font-variant-numeric: tabular-nums; }
.m-mgrid > .m-mcard:only-child { grid-column: 1 / -1; aspect-ratio: auto; min-height: 120px; } /* "This month": one Moment, full width */
.m-mcard.is-loading { animation: m-mcard-wait 0.9s ease-in-out infinite alternate; }
@keyframes m-mcard-wait { to { opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) { .m-mcard { transition: none; } .m-mcard.is-loading { animation: none; opacity: 0.8; } }
/* A Moment's own page: its sky across the top, the name and line on the veil. */
.m-mhero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; margin: 4px 0 8px; padding: 14px; overflow: hidden; border-radius: 18px; color: #fff; }
.m-mhero b { position: relative; font: 600 21px/1.2 var(--font-ui); letter-spacing: -0.01em; }
.m-mhero small { position: relative; margin-top: 4px; font: 400 var(--fs-s)/1.4 var(--font-ui); color: rgba(255, 255, 255, 0.88); }
