/* Find a Masjid (/app/): list, map and mosque timetable. Uses tokens.css; logical properties so RTL works. */

.app-page { min-height: 100vh; display: flex; flex-direction: column; }
/* Our display: grid/flex rules must never beat the hidden attribute. */
.app-page [hidden] { display: none !important; }

.find {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 104px clamp(16px, 4vw, 40px) 40px;
}

.dev-banner {
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, var(--gold-pale), var(--gold-pale) 12px, transparent 12px, transparent 24px);
  border: 1px dashed var(--gold);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.find-head { margin-bottom: 20px; }

.find-title {
  font-family: var(--font-display);
  font-size: calc(clamp(34px, 5vw, 48px) * max(var(--title-scale), 0.72));
  font-weight: 400;
  color: var(--heading);
  line-height: 1.15;
}
.find-title em { color: var(--gold); font-style: italic; }
html:not([lang="en"]) .find-title em { font-style: normal; }

.find-sub { color: var(--muted); font-size: 15px; margin-top: 6px; line-height: 1.6; }
.find-date { color: var(--gold-text); font-size: 13px; font-weight: 600; margin-top: 6px; min-block-size: 1lh; }   /* its line is kept before the date is known (0028: no shift) */

/* ── Toolbar: List | Map + Near me ── */
.find-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 10px; background: var(--gold-pale); }
.seg-btn {
  padding: 8px 18px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.seg-btn[aria-current="page"] { background: var(--brand); color: var(--on-brand); }

.near-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}
.find-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.near-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-text); }
.lbl-short { display: none; }   /* "Share" instead of "Share with others" on phones (below) */

/* ── Search (founder, 2026-09-28): one box under the tabs, a magnifier at its start and our own × at its end (the same in
   every browser; both ends padded alike, so typed Latin in an RTL page or Urdu in an LTR one never runs under them) ── */
.find-search { position: relative; flex: 1 1 100%; max-width: 560px; }
.find-search-ico { position: absolute; inset-inline-start: 14px; inset-block-start: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.find-q {
  width: 100%; min-height: 44px; margin: 0; padding-block: 9px; padding-inline: 42px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-size: 16px;   /* 16px: phones don't zoom in when it is tapped */
  -webkit-appearance: none; appearance: none;
}
.find-q::placeholder { color: var(--muted); opacity: 1; }
.find-q:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.find-q::-webkit-search-cancel-button, .find-q::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.find-q-clear {
  position: absolute; inset-inline-end: 4px; inset-block-start: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.find-q-clear svg { width: 18px; height: 18px; }
.find-q-clear:hover { background: var(--tint); color: var(--text); }
/* "Masjids found: 12": a live region, so still rendered (out of sight) while empty, like the Filters' note. */
.search-note { flex: 1 1 100%; margin-top: -4px; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.5; }
.search-note:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Nothing found: what was typed, and "Clear search". */
.find-empty {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px;
  background: var(--tint); color: var(--text); font-size: 14px; line-height: 1.6;
}
.find-empty p { flex: 1 1 220px; overflow-wrap: anywhere; }
.find-empty bdi { font-weight: 600; }
/* "Showing 20 of 87" + "Show more" under a list (List, Next jamat, Events). */
.more-row { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 10px; }
.more-count { font-size: 13px; color: var(--muted); }
.more-row .more-btn { min-height: 44px; padding-inline: 24px; border-color: var(--gold); color: var(--gold-text); font-size: 14px; font-weight: 600; }
.more-row .more-btn:hover { background: var(--gold-pale); }
.more-row .more-btn[aria-busy="true"] { opacity: .6; cursor: wait; }   /* reading more: still focusable (aria-disabled) */
.ev-title:focus { outline: none; }   /* focused after "Show more" (read out); the card itself shows where */
.ev-title:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.md-name:focus { outline: none; }

/* ── Facilities (migration 0011): the Filters, the cards' icons, the timetable page's list ── */
.fac-ico, .btn-ico { width: 18px; height: 18px; flex: none; }
#filter-btn.is-active, #filter-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-text); }
.filter-count { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.filter-count:empty { display: none; }
.filter-panel { flex: 1 1 100%; min-width: 0; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.filter-panel legend { float: inline-start; width: 100%; margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.filter-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-opt {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--tint);
  color: var(--text); font-size: 13px; line-height: 1.3; cursor: pointer;
}
.filter-opt input { margin: 0; accent-color: var(--brand); }
.filter-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); color: var(--gold-text); }
.filter-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.filter-opt input:focus-visible { outline: none; }   /* the pill shows it */
.filter-opt [data-fac] { display: inline-flex; }
.filter-row { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
/* Empty: out of sight but still rendered, so a screen reader announces the first note (a live region must exist first). */
.filter-row:has(.filter-note:empty) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.filter-note { font-size: 13px; color: var(--gold-text); font-weight: 500; line-height: 1.5; }
/* Filtered list: masjids that haven't said yet, after the matches, under their own heading (EC-FAC-01). */
.list-group { grid-column: 1 / -1; margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--heading); }
.list-group-hint { grid-column: 1 / -1; margin-top: -8px; font-size: 13px; color: var(--muted); }
/* Card: what the masjid has, as one quiet row of small icons (named for screen readers and on hover). */
/* Card: what the masjid has as one row of equal round badges, no words (named on hover and for screen readers); main.js
   fitFac() hides the ones that don't fit into a "+N" badge at the end, so the row never wraps. */
.mc-fac { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 8px; overflow: hidden; contain: inline-size; }   /* never widens the card */
.mc-fac li {
  position: relative; flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--line); color: var(--muted);
}
.mc-fac .fac-ico { width: 16px; height: 16px; }
/* A women's area open only at some prayers: a small gold dot (its "when" is in the badge's name). */
.mc-fac li.is-part::after {
  content: ""; position: absolute; inset-block-start: -1px; inset-inline-end: -1px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 1.5px solid var(--bg-alt);
}
.mc-fac li.is-match { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-text); }   /* a Filter asked for it */
.mc-fac .mc-fac-more { font-size: 11px; font-weight: 600; font-family: 'DM Sans', sans-serif; color: var(--text); direction: ltr; }   /* "+2", not "2+", in Urdu and Arabic */
/* Timetable page: a grid of what it has (icon, name, when), then muted what it lacks and what it hasn't said yet. */
.md-fac { margin: 4px 0 6px; }
.md-fac h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.md-fac-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 8px; }   /* two across on a phone */
.md-fac-item {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
}
.md-fac-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-pale); color: var(--gold-text); }
.md-fac-ico .fac-ico { width: 20px; height: 20px; }
.md-fac-text { display: flex; flex-direction: column; min-width: 0; }
.md-fac-name { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.35; }
.md-fac-when { font-size: 12px; color: var(--gold-text); line-height: 1.4; }
.md-fac p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.md-fac p.md-fac-at { font-size: 12px; }
.md-fac-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.md-fac-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding-block: 3px; padding-inline: 8px 10px; border: 1px dashed var(--line); border-radius: 14px;
  font-size: 12.5px; color: var(--muted); line-height: 1.4;
}
.md-fac-chip .fac-ico { width: 15px; height: 15px; opacity: .75; }

.find-status:empty { display: none; }
.find-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(var(--tint), var(--tint)), var(--bg);   /* opaque: the season's pattern never shows under the text */
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.find-status button { margin-inline-start: 8px; }
/* 0028: "Loading masjids…" for screen readers only, while the placeholders show it (skeleton.js); the line takes no room. */
.find-status[data-busy] { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── List ── */
.mosque-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.mosque-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--heading); line-height: 1.3; }
.mc-name a { color: inherit; text-decoration: none; }
.mc-name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.mc-where { color: var(--muted); font-size: 13px; margin-top: 3px; }

.mc-times {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: var(--bg);
}
.mc-times li { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 8px; min-width: 0; }
.mc-times .p-name { font-size: 11px; color: var(--muted); }
.mc-times .p-time { font-size: 17px; font-weight: 600; color: var(--heading); font-family: 'DM Sans', sans-serif; unicode-bidi: isolate; white-space: nowrap; line-height: 1.2; }
.mc-times .p-period { font-size: 10px; color: var(--muted); line-height: 1.2; min-height: 1.2em; }
.mc-times li.is-next { background: var(--gold-pale); }
.mc-times li.is-next .p-name, .mc-times li.is-next .p-time, .mc-times li.is-next .p-period { color: var(--gold-text); }
/* After the day's last jamat the next one is tomorrow's (prayer.js dayAt): a small "Tomorrow" under its time. */
.p-tmrw, .tmrw { font-size: 10px; font-weight: 600; line-height: 1.3; color: var(--gold-text); white-space: nowrap; }
.p-tmrw { max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.tmrw { margin-inline-start: 6px; padding: 1px 6px; border-radius: 6px; background: var(--gold-pale); }
.md-table tr.is-next .tmrw { background: var(--bg-alt); }
/* The masjid's labels on today's times ("Winter: Fajr", "Ramadan"), once each under the times. */
.mc-label { font-size: 12px; color: var(--gold-text); line-height: 1.5; margin-top: -6px; }
.mc-label bdi { font-weight: 600; }

.mc-jumuah { font-size: 13px; color: var(--text); }
.mc-jumuah b { font-family: 'DM Sans', sans-serif; unicode-bidi: plaintext; white-space: nowrap; }  /* each time keeps its own direction inside RTL text */
/* Today's Eid / Taraweeh: highlighted like a notice; the next jamat among them underlined. */
.mc-special, .pop-special { font-size: 13px; color: var(--gold-text); background: var(--gold-pale); border-radius: 8px; padding: 6px 10px; }
.pop-special { margin-bottom: 8px; padding: 4px 8px; }
.mc-special b, .pop-special b { font-family: 'DM Sans', sans-serif; unicode-bidi: plaintext; white-space: nowrap; }
.mc-special b.is-next, .pop-special b.is-next, .mc-jumuah b.is-next { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.mc-special .label, .pop-special .label { font-size: 11px; opacity: .85; }
.mc-notice { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.mc-notice bdi, .md-soon bdi { font-family: 'DM Sans', sans-serif; white-space: nowrap; }

.mc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mosque-card > .mc-actions { margin-top: auto; }   /* cards in a row are one height: their buttons share one line at the foot */
.mc-actions a.mc-more { margin-inline-start: auto; border: none; padding-inline: 4px; color: var(--gold-text); font-weight: 600; }
.mc-actions a.mc-more:hover { text-decoration: underline; }
.mc-actions a, .mc-actions button, .act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.mc-actions a:hover, .mc-actions button:hover, .act:hover { border-color: var(--gold); }
.mc-actions .primary, .act.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* ── Map ── */
.map-wrap { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
/* The map's "No masjid matches" (search, Filters), over the top of the map, clear of the zoom buttons: MapLibre keeps
   them at the top RIGHT in both directions, so this side is physical, not logical. */
.map-empty { position: absolute; left: 12px; right: 56px; inset-block-start: 12px; z-index: 2; }
.map-empty:empty { display: none; }
.map-empty .find-empty { margin: 0; background: var(--bg-alt); box-shadow: 0 6px 20px rgba(var(--shadow), .18); }
#map { height: min(70vh, 620px); min-height: 360px; background: var(--map-bg); }
.maplibregl-popup-content { background: var(--bg-alt) !important; color: var(--text); border-radius: 12px !important; padding: 12px 14px !important; font-family: var(--font-body); }
.maplibregl-popup-tip { border-top-color: var(--bg-alt) !important; border-bottom-color: var(--bg-alt) !important; }
.pop-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--heading); margin-bottom: 4px; }
.pop-next { font-size: 13px; color: var(--gold-text); margin-bottom: 8px; }
.pop-link { font-size: 13px; color: var(--gold-text); font-weight: 600; }

/* ── Mosque timetable (#/m/<slug>) ── */
.mosque-detail { max-width: 640px; margin-inline: auto; }   /* a masjid's page: one centred column, like /account/ and /privacy/ */
.back-link { display: inline-block; margin-bottom: 14px; color: var(--gold-text); text-decoration: none; font-size: 14px; }
/* Arrows flip in RTL (landing.css: [dir="rtl"] .arrow); transforms need an inline-block box. */
.app-page .arrow { display: inline-block; }
.md-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.md-name { font-family: var(--font-display); font-size: calc(30px * max(var(--title-scale), 0.8)); font-weight: 600; color: var(--heading); line-height: 1.3; }
.md-addr { color: var(--muted); font-size: 14px; margin: 6px 0 16px; line-height: 1.6; }
/* Today at the masjid, Gregorian · Hijri, heading its timetable. */
.md-today { margin: -8px 0 8px; font-size: 13px; font-weight: 600; color: var(--gold-text); line-height: 1.5; }
.md-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.md-table th, .md-table td { padding: 10px 8px; text-align: start; border-bottom: 1px solid var(--line); font-size: 15px; }
.md-table th { font-size: 12px; color: var(--muted); font-weight: 600; }
.md-table td.t { font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--heading); text-align: end; white-space: nowrap; }  /* <bdi> keeps "5:30 AM" in order; the cell stays RTL so it lines up with its heading */
.md-table th.t { text-align: end; }
.md-table tr.is-next td { background: var(--gold-pale); color: var(--gold-text); }
.md-table .label { font-size: 11px; color: var(--gold-text); margin-inline: 6px; }   /* both sides: a <bdi> in English letters has its own start, the wrong side on an Urdu page */
.md-table tr.is-special td:first-child { color: var(--gold-text); font-weight: 600; }
/* "Coming up": changes starting in the next 60 days. */
.md-soon { margin: 4px 0 6px; }
.md-soon h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.md-soon ul { list-style: none; }
.md-soon li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.md-soon-when { font-size: 13px; font-weight: 600; color: var(--gold-text); }
.md-soon-when .hijri { font-weight: 400; }   /* the Hijri day after the Gregorian one, lighter */
.md-soon small { font-size: 12px; color: var(--muted); }
/* One unit per prayer ("Dhuhr 1:15 PM (Azan 12:45 PM)") that never breaks inside; units wrap as a whole. */
.md-soon-ps { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.md-soon-p { white-space: nowrap; }
.md-updated { font-size: 12px; color: var(--muted); margin: 10px 0 16px; }

/* ── Next jamat near me (#/next) and, on Fridays, the Jumu'ah finder: one card per jamat, soonest first ── */
.next-title { font-size: 18px; font-weight: 600; color: var(--heading); }
.next-title:focus { outline: none; }
.next-hint { margin: 4px 0 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.next-ask {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--gold-pale); color: var(--text); font-size: 14px; line-height: 1.6;
}
.next-ask p { flex: 1 1 240px; }
.nx-list { list-style: none; }
.next-view .list-group { margin: 20px 0 2px; }   /* "Not stated yet": outside the list's grid here */
.next-view .list-group-hint { margin: 0 0 12px; }
.next-view .nx-list ~ .next-hint { margin-top: 14px; }
.nx-when { font-size: 14px; color: var(--gold-text); line-height: 1.4; }
.nx-when b { font-size: 19px; font-weight: 600; color: var(--heading); }
.nx-when bdi { font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.nx-how { margin-top: 3px; font-size: 13px; color: var(--text); }
/* D-20: times not updated for 45 days (cards, next jamat, the timetable page's "Times updated" line). */
.stale-note { font-size: 12.5px; font-weight: 500; color: var(--gold-text); line-height: 1.5; }   /* a warning, not an error */

.find-foot {
  background: transparent;   /* not landing.css's dark footer band: muted text on it failed contrast in the light theme */
  padding: 22px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  color: var(--muted); font-size: 13px;
}
.find-foot a { color: var(--gold-text); }

@media (max-width: 900px) {
  .find { padding-top: 132px; }
  .mosque-list { grid-template-columns: 1fr; }
  .mc-times { padding-inline: 2px; gap: 2px; }
  .mc-times .p-time { font-size: 15px; }
}
@media (max-width: 480px) {
  .seg-btn { padding-inline: 11px; }   /* List | Map | Next jamat fit one line at 375px */
  .near-btn { padding-inline: 12px; }  /* Filters, Near me and Share fit the next one */
  .lbl-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lbl-short { display: inline; }
}

/* ── 0017: a masjid's photos (served by the Worker at /photo/…, loaded lazily) and Maghrib after sunset ── */
/* Flex, not grid: a photo that fails to load is removed and the name takes the whole line. */
.mc-head { display: flex; gap: 12px; align-items: flex-start; }
.mc-head > div { flex: 1; min-width: 0; }
.mc-photo { flex: none; display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--tint); }
.mc-photo img, .md-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.md-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 8px; margin: 14px 0 16px; }
.md-photo { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--tint); }
.md-photos[data-n="1"] .md-photo { aspect-ratio: 16 / 9; }
.md-sun { margin: -6px 0 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── seasons (0023): Ramadan's Sehri/Iftar line on the cards, Taraweeh brought forward, the Eid prayers (#/eid) ──
   Colours: tokens.css --sn-* (the panels themselves are landing.css .season-panel). */
.mc-ramadan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--sn-ink); line-height: 1.5; }
.mc-ramadan b { font-family: 'DM Sans', sans-serif; font-weight: 600; white-space: nowrap; }
.mc-ramadan .season-ico, .next-title .season-ico { width: 15px; height: 15px; background: var(--sn-ink); }
html[data-season="ramadan"] .mc-special[data-p="taraweeh"] { color: var(--sn-ink); background: var(--sn-tint); box-shadow: inset 0 0 0 1px var(--sn-line); font-weight: 600; }
html[data-season="ramadan"] .md-table tr[data-p="taraweeh"] td { color: var(--sn-ink); font-weight: 600; background: var(--sn-tint); }
html:is([data-season="eid-fitr"], [data-season="eid-adha"]) .md-table tr[data-p="eid"] td { color: var(--sn-ink); font-weight: 600; background: var(--sn-tint); }
.md-card > .mc-notice { margin: -4px 0 12px; font-size: 14px; color: var(--sn-ink); }
.md-ramadan { max-width: none; margin: 4px 0 16px; }
.eid-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.eid-head .next-title { display: flex; align-items: center; gap: 8px; }
.eid-head .sp-city { margin-inline-end: auto; }   /* next to the title, Share at the end */
.eid-head .season-ico { --sn-ico: var(--sn-ico-moon); }   /* Eid's crescent, also on Chand Raat (still Ramadan's colours) */
.eid-view + .map-wrap { margin-top: 18px; }
.nx-row.is-past .nx-when b { color: var(--muted); }   /* over: muted, never faded below AA */
.mc-ramadan .mc-src { font-size: 12px; color: var(--muted); }   /* 0026: whose times: "as announced by the masjid" / "calculated for Warangal" */
