:root {
  color-scheme: light;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #12343c;
  background: #f0f5f3;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 56rem); margin: clamp(2rem, 7vw, 5rem) auto; }
header { margin-bottom: 1.8rem; }
.station { color: #376361; font-weight: 650; letter-spacing: .08em; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 7vw, 3.8rem); letter-spacing: -.035em; }
h2 { font-size: 1rem; }
.mode { padding: 1.5rem; margin-bottom: 1rem; border-radius: 1rem; background: #12343c; color: #fff; }
.mode.shortage { background: #7a3b14; }
.mode h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
.mode .label { color: #e0ece8; font-size: .9rem; }
#mode-detail { margin-top: .25rem; }
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
article { padding: 1.35rem; border: 1px solid #d4e1dd; border-radius: 1rem; background: #fff; }
article p:last-child, footer { color: #425e61; font-size: .9rem; }
.count { font-size: 2.8rem; font-weight: 720; font-variant-numeric: tabular-nums; }
small { font-size: 1rem; margin-inline-start: .4rem; }
footer { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; justify-content: space-between; padding-top: 1.25rem; }
a { color: #116555; text-underline-offset: .18em; }
