/* SWELL — airy, sky-to-sea, ocean blue + aqua */
:root {
  --font: "Heebo", system-ui, sans-serif;
  --font-display: "Heebo", system-ui, sans-serif;
  --font-num: "Heebo", system-ui, sans-serif;

  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #F9F8F5;
  --surface-3: #F0EEEA;
  --line: #EAE7E1;
  --line-2: #DFDBD4;
  --text: #0E1726;
  --text-2: #5A6170;
  --text-3: #979CA6;

  --accent: #0B6BFF;
  --accent-2: #14B8C4;
  --accent-soft: #E8F1FF;
  --aqua: #12A9B6;
  --aqua-soft: #E3F6F7;
  --on-accent: #FFFFFF;
  --ink: #0E1726;
  --on-ink: #FFFFFF;

  --green: #17955A;  --green-soft: #E4F5EC;
  --amber: #B7791F;  --amber-soft: #FBF1DE;
  --red:   #D64545;  --red-soft:   #FCE8E8;
  --blue:  #0B6BFF;  --blue-soft:  #E8F1FF;
  --orange:#F06A1D;  --orange-soft:#FDEBDD;
}
.brand { font-weight: 900; letter-spacing: .04em; font-size: 23px; }
.brand-mark { background: linear-gradient(140deg, #0B6BFF 0%, #14B8C4 100%); color: #fff; border-radius: 11px; }
.nav a .count { background: var(--accent); }
.nav a.active .count { background: var(--aqua); }

/* Sky gradients (Taster "live dashboard hero") */
.sky { background: linear-gradient(180deg, #5FA6F2 0%, #9DCBF8 38%, #D6EAFC 70%, #F4F2EE 100%); }
.card-grad { background: linear-gradient(115deg, #E4EFFF 0%, #EEF5FF 42%, #E2F6F3 100%); border-color: transparent; }
.card-dark { background: radial-gradient(130% 140% at 100% 0%, #1A5FC8 0%, #0B2E63 52%, #071A3A 100%); }
.hl { background: #DDF3F0; color: #0B6E76; }
.dots { background-image: radial-gradient(circle at 1px 1px, rgba(14,23,38,.09) 1px, transparent 0); background-size: 12px 12px; }

/* Wave quality scale */
.q { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.q-epic { background: #0B6BFF; color: #fff; }
.q-good { background: #DDF3F0; color: #0B7F87; }
.q-fair { background: #FBF1DE; color: #A86A12; }
.q-poor { background: #F0EEEA; color: #7C818C; }
.stars { display: inline-flex; gap: 2px; color: #F5A524; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke-width: 0; }
.stars .off { color: #DCD8D1; }
.wdir { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); flex: none; }
.wdir svg { width: 16px; height: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: #E5484D; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.unit { font-size: .55em; font-weight: 500; color: var(--text-2); margin-inline-start: 2px; }

@media (max-width: 760px) {
  .m-scroll { flex-wrap: nowrap !important; }
  .tabbar a.active { color: var(--accent); }
  .tabbar a.fab span.fab-btn { background: linear-gradient(140deg, #0B6BFF 0%, #14B8C4 100%); color: #fff; }
  .m-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 16px; }
  .m-head .grow { flex: 1; min-width: 0; }
  .m-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
  .m-head p { font-size: 13px; color: var(--text-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
