/* Lochaber Weather - Satellite & Radar page (wxradar.php), Nov 2026 */
.rd-intro { color: var(--muted); max-width: 85ch; line-height: 1.55; }
.rd-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; min-width: 0; }
.rd-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.rd-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.rd-head h2 { margin: 0; }
.rd-layers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rd-lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 2px; }
.rd-sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; }
.rd-layers button, .rd-player button {
  font: inherit; font-size: .85rem; padding: 4px 12px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.rd-layers button.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.rd-layers button:hover, .rd-player button:hover { border-color: var(--accent); }
#rd-map img { max-width: none !important; max-height: none !important; }  /* theme sets img max-width:100%, which hides map tiles */
#rd-map { height: 620px; border-radius: 12px; background: #1b1f27; }
.rd-player { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; }
.rd-player button { padding: 5px 10px; min-width: 40px; font-size: .8rem; }
#rd-play { min-width: 46px; }
#rd-slider { flex: 1; accent-color: var(--accent); min-width: 80px; }
.rd-time { min-width: 140px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-notes { margin-top: 10px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.rd-notes p { margin: 6px 0; max-width: 100ch; }
.rd-notes strong { color: var(--text); }
.rd-sub { color: var(--muted); font-size: .9rem; margin: 0 0 10px; max-width: 90ch; }
.rd-credit { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.rd-frame { position: relative; width: 100%; height: 0; padding-bottom: 62%; border-radius: 12px; overflow: hidden; background: #1b1f27; }
.rd-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rd-goes { display: block; max-width: 900px; margin: 0 auto; }
.rd-goes img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); background: #1b1f27; }
@media (max-width: 900px) { #rd-map { height: 480px; } }
@media (max-width: 600px) {
  .rd-card { padding: 14px 10px; }
  #rd-map { height: 400px; }
  .rd-frame { padding-bottom: 110%; }
  .rd-time { min-width: 0; font-size: .85rem; }
  .rd-sep { display: none; }
}
