/* Lochaber Weather - Raspberry Shake page (wxshake.php), Nov 2026 */
.rs-intro { color: var(--muted); max-width: 85ch; }
.rs-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.rs-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.rs-tile span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.rs-tile strong { display: block; font: 600 1.5rem/1.2 "Space Grotesk", Inter, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-tile em { display: block; font-style: normal; font-size: .85rem; color: var(--muted); }

.rs-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; min-width: 0; }
.rs-card h2 { margin: 0; font-size: 1.15rem; }
.rs-card h3 { margin: 14px 0 8px; font-size: 1rem; }
.rs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.rs-pill { padding: 3px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-variant-numeric: tabular-nums; }
.rs-canvaswrap { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px; }
.rs-canvaswrap canvas { display: block; width: 100%; }
#rs-heli { cursor: crosshair; }
.rs-tip { position: absolute; pointer-events: none; padding: 3px 8px; border-radius: 6px; font-size: .78rem; background: var(--text); color: var(--surface-2); white-space: nowrap; }
.rs-note { margin: 8px 0 0; font-size: .82rem; color: var(--muted); max-width: 95ch; }
.rs-gain { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.rs-gain button { font: inherit; width: 30px; height: 28px; border-radius: 8px; cursor: pointer; background: var(--surface); color: var(--text); border: 1px solid var(--border); font-size: 1.05rem; line-height: 1; }
.rs-gain button:hover { border-color: var(--accent); }
.rs-gain span { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }

.rs-evlist { list-style: none; margin: 0; padding: 0; }
.rs-evlist li { padding: 7px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.rs-evlist li:first-child { border-top: 0; }
.rs-evlist li > span:last-child { display: block; color: var(--muted); font-size: .84rem; }
.rs-mag { display: inline-block; min-width: 44px; text-align: center; padding: 1px 6px; border-radius: 6px; background: #e0322b; color: #fff; font-weight: 700; font-size: .82rem; }

.rs-mapcard { padding-bottom: 10px; }
#rs-map { height: 520px; border-radius: 11px; background: var(--surface); }
.rs-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 4px 0; font-size: .8rem; color: var(--muted); }
.rs-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.4); }
.rs-dot.is-me { background: #e8a33a; border: 2px solid #fff; box-shadow: 0 0 0 1px #000; }
.rs-dot.is-other { background: #2c6e9b; }
.rs-dot.is-q1 { background: #e0322b; }
.rs-dot.is-q2 { background: #f08a24; }
.rs-me span { display: block; width: 22px; height: 22px; border-radius: 50%; background: #e8a33a; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 0 6px rgba(232,163,58,.35); }

.rs-live summary { cursor: pointer; font-weight: 600; }
.rs-livewrap { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.rs-livewrap iframe { display: block; width: 100%; height: 360px; border: 0; color-scheme: light; }
.rs-foot { font-size: .82rem; color: var(--muted); margin: 6px 0 10px; }

@media (max-width: 900px) { .rs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } #rs-map { height: 420px; } }
@media (max-width: 600px) { .rs-card { padding: 14px 10px; } .rs-tile strong { font-size: 1.2rem; } #rs-map { height: 340px; } }
