/* The prayer-times front page and All cities on the option D frame: the parts only these pages have, on top of
   frame.css. Search and "Use my location" sit on the sky; the card, the nearby cities and the list sit on the sheet. */

/* ---------- On the sky ---------- */
.stage .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; color: var(--date); }
.stage .crumbs li { display: inline-flex; align-items: center; min-height: 28px; }
.stage .crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--date); }
.stage .crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--white); text-decoration: none; }
.stage .crumbs a:hover { text-decoration: underline; }
.stage .muted { margin: 12px 0 0; max-width: 46ch; font-size: 0.9rem; color: var(--white); }
.stage #place-message { margin: 12px 0 0; color: var(--white); }
.stage #place-message:empty { display: none; }
.stage .clear-search { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--white); text-underline-offset: 3px; }
.stage .notice { margin: 12px 0 0; color: var(--white); font-weight: 600; }
.stage .locate { margin-top: 18px; }
.stage .locate .muted:empty { display: none; }

/* ---------- On the sheet ---------- */
/* The prayer card's own colours (they came from the earlier layout's stylesheet). */
.prayer-index { --card-mid: #2c1063; --panel: #0f043c; --muted-on-dark: #c9c3ea; }
.prayer-index .muted { color: var(--muted); }
.prayer-index .here { margin-bottom: 20px; }
.prayer-index .nearby { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 0 0 20px; font-size: 0.95rem; }
.prayer-index .nearby:empty { display: none; }
.prayer-index .nearby .label { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.prayer-index .nearby a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-weight: 600; }
.prayer-index .nearest { margin: 0 0 24px; padding: 18px 20px; border-radius: 16px; background: var(--white); }
.prayer-index .nearest .eyebrow-light { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.prayer-index .nearest-name { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--purple); }
.prayer-index .nearest-name .muted { font-size: 0.95rem; font-weight: 400; }
.prayer-index .search-empty { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--white); }
.prayer-index .list-link { margin: 6px 0 0; }
.prayer-index .list-link .link { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--purple); font-weight: 600; }
.prayer-index #place-results { margin: 0 0 4px; }
.prayer-index #place-results + ul { list-style: none; margin: 0 0 20px; padding: 0; }
.prayer-index #place-results + ul li { border-top: 1px solid var(--line); }
.prayer-index #place-results + ul button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0;
  border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.05rem; text-align: left; cursor: pointer;
}

/* The list of cities: each one a full-width row, like the rows on the masjid page. */
.prayer-index .country h2 { margin-bottom: 4px; }
.prayer-index .region h3 { margin: 14px 0 4px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prayer-index .city-links { list-style: none; margin: 0; padding: 0; }
.prayer-index .city-links li { border-top: 1px solid var(--line); }
.prayer-index .city-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  color: var(--ink); font-size: 1.05rem; text-decoration: none;
}
.prayer-index .city-links a::after { content: "›"; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.prayer-index .city-links a:hover { color: var(--purple); }

/* The sheet is narrower than the earlier layout's page, so the prayer card always keeps its one-prayer-per-row layout
   (prayer-card.css only uses it below 980px of screen width). */
.prayer-index .times { grid-template-columns: 1fr; gap: 8px; }
.prayer-index .time { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 10px 16px; }
.prayer-index .time .tname { flex: 1; }
.prayer-index .sound-btn { position: static; order: 3; flex: none; }
.prayer-index .time .name { font-size: 17px; }
.prayer-index .time .at { font-size: 24px; margin-top: 0; }
