/* Lochaber Weather - Who's Online / Who's Been Online (Dec 2026) */
.wo-page .wo-intro { color: var(--muted); max-width: 90ch; }
.wo-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.wo-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.wo-tile > span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.wo-tile strong { display: block; font: 600 1.6rem/1.2 "Space Grotesk", Inter, sans-serif; font-variant-numeric: tabular-nums; }
.wo-tile em { display: block; font-style: normal; font-size: .82rem; color: var(--muted); }
.wo-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; min-width: 0; }
.wo-card h2 { margin: 0 0 12px; font-size: 1.15rem; }
.wo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 12px; }
.wo-head h2 { margin: 0; }
.wo-map { height: 440px; border-radius: 12px; border: 1px solid var(--border); background: #a9c8e0; z-index: 0; }
.wo-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 2px 0; font-size: .82rem; color: var(--muted); }
.wo-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 2px solid #fff; }
.wo-note { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.wo-scroll { overflow-x: auto; }
.wo-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.wo-table th, .wo-table td { padding: 7px 10px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.wo-table thead th { border-top: 0; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.wo-table td.wo-num { text-align: right; white-space: nowrap; }
.wo-table td.wo-nowrap { white-space: nowrap; }
.wo-table a { word-break: break-all; }
.wo-flag { width: 18px; height: 12px; vertical-align: -1px; margin-right: 7px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.wo-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; margin-right: 6px; vertical-align: 1px; }
.wo-empty { color: var(--muted); padding: 10px 0; }
.wo-countries { display: flex; flex-wrap: wrap; gap: 8px; }
.wo-countries span { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .86rem; }
.wo-countries b { margin-left: 6px; font-variant-numeric: tabular-nums; }
.wo-records { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.wo-credit { font-size: .8rem; color: var(--muted); margin-top: 16px; }
.wo-page .leaflet-popup-content { font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) { .wo-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wo-map { height: 340px; } }
@media (max-width: 600px) {
  .wo-card { padding: 14px 10px; }
  /* the table becomes one small block per visit */
  .wo-table, .wo-table tbody, .wo-table tr, .wo-table td { display: block; width: 100%; }
  .wo-table thead { display: none; }
  .wo-table tr { border-top: 1px solid var(--border); padding: 8px 0; }
  .wo-table td, .wo-table td.wo-num { display: flex; gap: 10px; border: 0; padding: 2px 0; text-align: left; white-space: normal; }
  .wo-table td::before { content: attr(data-l); flex: none; width: 7.5em; color: var(--muted); font-size: .82rem; }
}
