/* Qibla Finder: the parts only this page has, on top of frame.css (#329). From the approved prototype
   (qibla/page.css), rules unchanged. The compass is the original Figma drawing; the site's own qibla.js turns it. */
.place-sub { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.place-sub svg { width: 16px; height: 16px; }
.place-line { margin: 6px 0 0; font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem); line-height: 1.1; color: var(--gold); overflow-wrap: anywhere; }

.dial-wrap { position: relative; width: min(400px, 100%); margin: 20px auto 0; aspect-ratio: 1; }
.dial-wrap svg { display: block; width: 100%; height: 100%; overflow: visible; }
#rose, #needle { transform-origin: 128.03px 127.7px; transform-box: view-box; }
.bearing { margin: 18px 0 0; font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.bearing small { margin-left: 6px; font-size: 1.1rem; font-weight: 500; color: var(--blue); }
.guidance { margin: 12px auto 0; max-width: 26rem; min-height: 3em; }
.guidance.aligned { color: var(--gold); font-weight: 700; }
/* Place, compass and guidance read as one centred column, as in the design. */
.qibla-dial { text-align: center; }

/* The site's notice colours, as on the live page. */
.notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: #fff4c7; color: #5c4700; font-size: 0.9rem; }
.notice:empty { display: none; }
.steps { margin: 12px 0; padding-left: 20px; line-height: 1.6; }
.steps li + li { margin-top: 4px; }

h1.stage-kicker { font-weight: 600; }
/* The shell pins the sky side on tall screens; this page's is taller than most, so it is pinned only where
   the whole of it fits. */
@media (min-width: 900px) {
  .stage-in { position: static; }
}
@media (min-width: 900px) and (min-height: 940px) {
  .stage-in { position: sticky; top: 0; }
}
@media (prefers-reduced-motion: reduce) { #rose, #needle { transition: none; } }
