/* Lochaber Weather - Nearby airport weather (wxmetar.php), Nov 2026 */
.mt-intro { color: var(--muted); max-width: 85ch; line-height: 1.55; }
.mt-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 12px; margin: 0 0 16px; }
#mt-map { height: 420px; border-radius: 12px; background: #1b1f27; }
#mt-map img { max-width: none !important; max-height: none !important; }
.mt-maphelp { margin: 8px 4px 0; font-size: .8rem; color: var(--muted); }
.mt-pinwrap { background: none; border: 0; }
.mt-pin { display: block; text-align: center; font: 700 12px/22px inherit; font-family: inherit; color: #111; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.45); box-shadow: 0 1px 4px rgba(0,0,0,.5); cursor: pointer; }
.mt-pin.old { opacity: .5; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.mt-stn { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; min-width: 0; transition: box-shadow .3s, border-color .3s; }
.mt-stn.flash { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.mt-stn.is-old { opacity: .62; }
.mt-stn header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mt-stn h2 { margin: 0; font-size: 1.1rem; }
.mt-icao { font-size: .72rem; font-weight: 600; letter-spacing: .05em; color: var(--muted); vertical-align: 2px; }
.mt-where { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.mt-when { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-when small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.mt-when.old small { color: #e05252; font-weight: 700; }
.mt-now { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.mt-now img { width: 55px; height: 58px; border-radius: 10px; flex: none; }
.mt-temp { display: block; font-size: 1.9rem; line-height: 1.1; }
.mt-sum { display: block; font-size: .9rem; }
.mt-feels { display: block; font-size: .78rem; color: var(--muted); }
.mt-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; padding-top: 10px; border-top: 1px solid var(--border); }
.mt-vals dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mt-vals dd { margin: 1px 0 0; font-size: .88rem; font-variant-numeric: tabular-nums; }
.mt-vals small { color: var(--muted); }
.mt-raw { margin-top: 10px; font-size: .8rem; }
.mt-raw summary { cursor: pointer; color: var(--muted); }
.mt-raw code { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border);
  font-size: .78rem; white-space: normal; word-break: break-word; }
.mt-credit, .mt-empty { font-size: .8rem; color: var(--muted); margin-top: 14px; }
/* temperature colours: text in the cards, pills on the map */
.mt-temp.m2 { color: #6aa8ff; } .mt-temp.m1 { color: #7cc6ff; } .mt-temp.t0 { color: #63d2c6; } .mt-temp.t1 { color: #8fd36a; }
.mt-temp.t2 { color: #f2c94c; } .mt-temp.t3 { color: #f2994a; } .mt-temp.t4 { color: #eb5757; }
[data-theme="light"] .mt-temp.m2 { color: #1f5fd1; } [data-theme="light"] .mt-temp.m1 { color: #2a7fc4; } [data-theme="light"] .mt-temp.t0 { color: #11867b; }
[data-theme="light"] .mt-temp.t1 { color: #3f8a1c; } [data-theme="light"] .mt-temp.t2 { color: #a87800; } [data-theme="light"] .mt-temp.t3 { color: #c25a0c; } [data-theme="light"] .mt-temp.t4 { color: #c0392b; }
.mt-pin.m2 { background: #6aa8ff; } .mt-pin.m1 { background: #9fd4ff; } .mt-pin.t0 { background: #7fe3d8; } .mt-pin.t1 { background: #a8e483; }
.mt-pin.t2 { background: #f6d56b; } .mt-pin.t3 { background: #f5ad6c; } .mt-pin.t4 { background: #f07f7f; } .mt-pin.na { background: #ccc; }
@media (max-width: 600px) { #mt-map { height: 320px; } .mt-grid { grid-template-columns: minmax(0, 1fr); } .mt-stn { padding: 12px; } }
