    :root {
      --bg: #0f172a; --panel: #1e293b; --line: #334155; --muted: #94a3b8;
      --text: #f1f5f9; --accent: #3b82f6; --accent-2: #2563eb;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); }
    header { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
    h1 { font-size: 1.5em; }
    .sub { color: var(--muted); font-size: .85em; }
    main { max-width: 1400px; margin: 0 auto; padding: 16px; }
    .grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 16px; }
    .grid > * { min-width: 0; }
    @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
    @media (max-width: 600px) {
      main { padding: 16px; } header { padding: 12px 16px; }
      .timeline { flex-wrap: wrap; } .timeline input { flex-basis: 100%; order: 5; }
      .when { min-width: 0; flex: 1; text-align: right; font-size: .9em; }
    }
    .card { background: var(--panel); padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
    .card h3 { font-size: 1em; margin-bottom: 10px; }
    #map { height: 62vh; min-height: 380px; border-radius: 8px; border: 1px solid var(--line); background: #334155; }
    .layers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
    .layers button, .btn { background: #334155; color: var(--text); padding: 6px 10px; border: 1px solid #475569; border-radius: 6px; cursor: pointer; font-size: .85em; }
    .layers button.active, .btn.primary { background: var(--accent); border-color: var(--accent); }
    .btn:hover, .layers button:hover { filter: brightness(1.15); }
    .timeline { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
    .timeline input { flex: 1; }
    .when { font-variant-numeric: tabular-nums; min-width: 150px; text-align: center; font-weight: 600; }
    .legend { margin-top: 8px; font-size: .78em; color: var(--muted); }
    .legend .bar { height: 10px; border-radius: 3px; margin: 4px 0; border: 1px solid #475569; }
    .legend .ticks { display: flex; justify-content: space-between; }
    .side { display: flex; flex-direction: column; gap: 16px; }
    .now { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .9em; }
    .now div { background: #0f172a; border-radius: 6px; padding: 8px; }
    .now b { display: block; font-size: 1.25em; }
    .now span { color: var(--muted); font-size: .8em; }
    .muted { color: var(--muted); font-size: .85em; }
    .chart { position: relative; height: 170px; margin-top: 10px; }
    .status { font-size: .8em; color: var(--muted); }
    .err { color: #fca5a5; }
    footer { text-align: center; color: var(--muted); font-size: .75em; padding: 16px; }
    footer a { color: var(--muted); }
    .leaflet-image-layer { image-rendering: auto; }
  

/* Choix du modèle et des surcouches */
.models { display: flex; gap: 0; border: 1px solid #475569; border-radius: 8px; overflow: hidden; }
.models button { background: #1e293b; color: var(--text); border: 0; padding: 7px 12px; cursor: pointer; font-size: .85em; text-align: left; line-height: 1.2; }
.models button + button { border-left: 1px solid #475569; }
.models button small { display: block; color: var(--muted); font-size: .8em; }
.models button.active { background: var(--accent); }
.models button.active small { color: #dbeafe; }
.models button:disabled { opacity: .45; cursor: not-allowed; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.toolbar .layers { margin-bottom: 0; }
.overlays { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #334155; border: 1px solid #475569; border-radius: 999px; padding: 5px 10px; font-size: .82em; cursor: pointer; user-select: none; }
.chip input { accent-color: var(--accent); margin: 0; }
.preload { height: 3px; background: #334155; border-radius: 2px; margin-top: 8px; overflow: hidden; }
.preload div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.preload.done { visibility: hidden; }
.note { font-size: .8em; color: #fcd34d; margin-top: 6px; }
.map-wrap { position: relative; }
.wind-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 450; }
.isobar-label { color: #0f172a; font: 600 10px/1 system-ui, sans-serif; text-shadow: 0 0 2px #fff, 0 0 3px #fff; white-space: nowrap; }
.pcenter { font: 700 18px/1 system-ui, sans-serif; text-align: center; text-shadow: 0 0 3px #fff, 0 0 5px #fff; }
.pcenter small { display: block; font-size: 10px; font-weight: 600; color: #0f172a; }
.pcenter.A { color: #1d4ed8; } .pcenter.D { color: #b91c1c; }
.circ { background: none; border: none; }
.circ svg { overflow: visible; display: block; }
@media (max-width: 600px) { .models button { padding: 6px 8px; } }
.legend .ticks { position: relative; height: 1.2em; margin: 0 10px 0 0; }
.legend .ticks span { position: absolute; transform: translateX(-50%); }
.legend .ticks span:first-child { transform: none; }

/* Boutons de carte (ma position, Valais) et point bleu */
.map-buttons a { font-size: 18px; line-height: 30px; color: #0f172a; }
.map-buttons a.busy { animation: blink 1s infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: .35; } }
.me-dot { background: #3b82f6; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(15,23,42,.4), 0 0 8px rgba(59,130,246,.8); cursor: pointer; }
.place { font-weight: 700; font-size: 1.05em; margin-bottom: 2px; }

/* Prévisions à icônes (par heure / par jour) */
.outlook-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.outlook-head h3 { margin: 0; }
.seg { display: flex; border: 1px solid #475569; border-radius: 6px; overflow: hidden; }
.seg button { background: #334155; color: var(--text); border: 0; padding: 5px 10px; font-size: .8em; cursor: pointer; }
.seg button + button { border-left: 1px solid #475569; }
.seg button.active { background: var(--accent); }
.hours { display: flex; overflow-x: auto; gap: 4px; padding: 18px 2px 6px; scrollbar-width: thin; }
.h { position: relative; flex: 0 0 54px; text-align: center; background: #0f172a; border: 1px solid transparent; border-radius: 8px; padding: 6px 2px; cursor: pointer; font-variant-numeric: tabular-nums; }
.h:hover { border-color: #475569; }
.h.night { background: #0b1222; }
.h.active { border-color: var(--accent); background: #172554; }
.h.newday { margin-left: 8px; }
.h .day { position: absolute; top: -17px; left: 0; font-size: .7em; color: var(--muted); white-space: nowrap; font-weight: 600; text-transform: capitalize; }
.h .hr { font-size: .75em; color: var(--muted); }
.h .ic, .d .ic { font-size: 26px; line-height: 1.25; display: block; }
.h .t { font-weight: 700; font-size: .95em; }
.h .p { font-size: .72em; color: #60a5fa; min-height: 1.1em; }
.h .w { font-size: .7em; color: var(--muted); white-space: nowrap; }
.arr { display: inline-block; }
.days { display: flex; flex-direction: column; gap: 4px; }
.d { display: grid; grid-template-columns: 86px 36px 1fr auto; align-items: center; gap: 8px; background: #0f172a; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.d:hover { border-color: #475569; }
.d.active { border-color: var(--accent); background: #172554; }
.d .name { font-weight: 600; font-size: .9em; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d .name small { display: block; color: var(--muted); font-weight: 400; font-size: .78em; text-transform: none; }
.d .range { display: flex; align-items: center; gap: 6px; font-size: .9em; }
.d .range .lo { color: #93c5fd; width: 34px; text-align: right; }
.d .range .hi { color: #fdba74; width: 34px; font-weight: 700; }
.d .bar { flex: 1; height: 6px; background: #334155; border-radius: 3px; position: relative; }
.d .bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(to right, #60a5fa, #fbbf24, #f97316); }
.d .extra { font-size: .75em; color: var(--muted); text-align: right; line-height: 1.35; white-space: nowrap; }
.d .extra .p { color: #60a5fa; }
@media (max-width: 480px) {
  .d { grid-template-columns: 78px 30px 1fr auto; gap: 6px; padding: 6px; }
  .d .name { font-size: .85em; }
  .d .ic { font-size: 22px; }
  .d .range { gap: 4px; font-size: .85em; }
  .d .range .lo, .d .range .hi { width: 28px; }
}

/* Aide intégrée (help.js) : bouton, panneau latéral, boutons ⓘ */
.head-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.help-btn { background: #1e293b; color: var(--text); border: 1px solid #475569; border-radius: 8px; padding: 0 12px; min-height: 40px; font-size: .9em; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.help-btn b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); font-size: .85em; }
.help-btn:hover { filter: brightness(1.15); }
.help-btn:focus-visible, .info-btn:focus-visible, .help-close:focus-visible, .help-toc button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
html.help-open { overflow: hidden; }

.help-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, .55); z-index: 1990; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.help-backdrop.open { opacity: 1; visibility: visible; transition: opacity .2s; }
.help { position: fixed; top: 0; left: 0; bottom: 0; width: min(440px, 92vw); z-index: 2000; display: flex; flex-direction: column;
  background: var(--panel); border-right: 1px solid var(--line); box-shadow: 8px 0 32px rgba(0, 0, 0, .45);
  transform: translateX(-102%); visibility: hidden; transition: transform .22s ease, visibility 0s .22s; }
.help.open { transform: none; visibility: visible; transition: transform .22s ease; }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 8px 16px; }
.help-head h2 { font-size: 1.15em; display: flex; align-items: center; gap: 8px; outline: none; }
.help-head .q { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); font-size: .85em; }
.help-close { background: none; border: 1px solid transparent; color: var(--text); font-size: 1.2em; width: 44px; height: 44px; border-radius: 8px; cursor: pointer; }
.help-close:hover { background: #334155; }
.help-toc { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; border-bottom: 1px solid var(--line); }
.help-toc button { background: #334155; color: var(--text); border: 1px solid #475569; border-radius: 999px; padding: 6px 12px; font-size: .82em; cursor: pointer; min-height: 32px; }
.help-toc button:hover { filter: brightness(1.15); }
.help-body { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 32px; font-size: .9em; line-height: 1.5; outline: none; }
.help-sec h3 { font-size: 1.05em; margin: 18px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); color: #bfdbfe; outline: none; }
.help-item { padding: 8px 10px; margin: 0 -10px 4px; border-radius: 8px; transition: background .4s; }
.help-item h4 { font-size: .98em; margin-bottom: 4px; outline: none; }
.help-item p { margin: 0 0 6px; color: #cbd5e1; }
.help-item ul { margin: 0 0 6px 18px; color: #cbd5e1; }
.help-item li { margin-bottom: 3px; }
.help-item b { color: var(--text); }
.help-item.flash { background: #172554; }
.help-icons { width: 100%; border-collapse: collapse; margin: 6px 0; }
.help-icons th { text-align: left; font-size: .8em; color: var(--muted); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.help-icons td { padding: 7px 6px; vertical-align: top; border-bottom: 1px solid #263449; color: #cbd5e1; }
.help-icons td.ic { font-size: 24px; line-height: 1.2; width: 40px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Aide H2 : fiches repliables, liens internes, schémas */
.help-intro { color: var(--muted); margin: -2px 0 8px; }
.help-card { padding: 0; margin: 0 0 6px; background: #0f172a; border: 1px solid #263449; }
.help-card > summary { list-style: none; cursor: pointer; padding: 10px 12px 10px 34px; position: relative; font-weight: 600; border-radius: 8px; min-height: 44px; display: flex; align-items: center; }
.help-card > summary::-webkit-details-marker { display: none; }
.help-card > summary::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(-45deg); transition: transform .15s; }
.help-card[open] > summary::before { transform: translateY(-60%) rotate(45deg); }
.help-card > summary:hover { background: #172033; }
.help-card > summary:focus-visible { outline: 2px solid #93c5fd; outline-offset: -2px; }
.help-card[open] > summary { border-bottom: 1px solid #263449; border-radius: 8px 8px 0 0; }
.help-card-body { padding: 10px 12px 6px; }
.help-card.flash { background: #172554; }
.help-link { color: #93c5fd; text-decoration: underline; text-underline-offset: 2px; }
.help-link:hover { color: #bfdbfe; }
.help-link:focus-visible { outline: 2px solid #93c5fd; outline-offset: 1px; border-radius: 2px; }
.help-item .more { font-size: .9em; color: var(--muted); }
.help-icons .more { display: block; margin-top: 3px; }
.help-fig { margin: 8px 0 10px; }
.help-fig svg { display: block; width: 100%; height: auto; max-width: 400px; }
.help-hl { display: flex; justify-content: space-around; gap: 8px; text-align: center; font-size: .85em; color: #cbd5e1; }
.help-hl svg { width: 96px; height: 96px; margin: 0 auto 4px; overflow: visible; }

/* Boutons ⓘ : petits à l'œil, zone de toucher de 36 px */
.info-btn { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1px solid #64748b; background: transparent; color: var(--muted); font: italic 700 12px/1 Georgia, "Times New Roman", serif; cursor: pointer; vertical-align: middle; flex: none; }
.info-btn::after { content: ""; position: absolute; inset: -8px; }
.info-btn:hover { color: var(--text); border-color: var(--accent); background: #1e3a8a; }
.card h3 .info-btn { margin-left: 4px; position: relative; top: -1px; }
.chip-group { display: inline-flex; align-items: center; gap: 2px; background: #334155; border: 1px solid #475569; border-radius: 999px; padding-right: 6px; }
.chip-group .chip { background: none; border: 0; padding-right: 4px; }

@media (max-width: 600px) {
  .help { width: 100vw; height: 100dvh; bottom: auto; border-right: 0; }
  .help-body { font-size: .95em; }
  .help-btn { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .help, .help.open, .help-backdrop, .help-backdrop.open, .help-item, .help-card > summary::before { transition: none; }
}

/* Aide H3 : encadré « Ce que montre cette carte » sous la légende */
.layer-info { margin-top: 10px; background: #0f172a; border: 1px solid #263449; border-radius: 8px; font-size: .82em; }
.layer-info > summary { list-style: none; cursor: pointer; position: relative; padding: 9px 10px 9px 28px; line-height: 1.35; color: var(--muted); border-radius: 8px; }
.layer-info > summary::-webkit-details-marker { display: none; }
.layer-info > summary::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(-45deg); transition: transform .15s; }
.layer-info[open] > summary::before { transform: translateY(-60%) rotate(45deg); }
.layer-info > summary b { color: var(--text); font-weight: 600; }
.layer-info > summary:hover { background: #172033; }
.layer-info > summary:focus-visible { outline: 2px solid #93c5fd; outline-offset: -2px; }
.layer-info-body { padding: 0 12px 8px 28px; line-height: 1.5; color: #cbd5e1; }
.layer-info-body p { margin: 0 0 4px; }
.layer-info-body .more { color: var(--muted); }
.layer-info .help-link { color: #93c5fd; text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .layer-info > summary::before { transition: none; } }
/* Légende des fronts (étape 4, couleurs provisoires) — en bas à gauche de la carte */
.front-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: calc(100vw - 80px); padding: 4px 8px; border-radius: 6px; background: rgba(15, 23, 42, .85); border: 1px solid var(--line); color: #e2e8f0; font-size: 12px; line-height: 1.3; }
.front-legend[hidden] { display: none; }
.front-legend b { font-weight: 600; color: var(--muted); }
.front-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.front-legend svg { display: block; flex: none; }
/* Repères des fronts dans l'aide : mêmes dessins que la légende de la carte (frontSwatch de app.js) */
.fr-key { display: inline-block; width: 30px; height: 14px; margin-right: 5px; vertical-align: middle; position: relative; top: -2px; background: no-repeat center / 30px 14px; }
.fr-key.cold { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cpath d='M3.5 10L8 3.5L12.5 10Z' fill='%232563eb' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M17.5 10L22 3.5L26.5 10Z' fill='%232563eb' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M1 10H29' stroke='%232563eb' stroke-width='3'/%3E%3C/svg%3E"); }
.fr-key.warm { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cpath d='M3.5 10A4.5 4.5 0 0 1 12.5 10Z' fill='%23dc2626' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M17.5 10A4.5 4.5 0 0 1 26.5 10Z' fill='%23dc2626' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M1 10H29' stroke='%23dc2626' stroke-width='3'/%3E%3C/svg%3E"); }
.fr-key.stat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cpath d='M3.5 10L8 3.5L12.5 10Z' fill='%232563eb' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M17.5 10A4.5 4.5 0 0 0 26.5 10Z' fill='%23dc2626' stroke='%23fff' stroke-width='.9'/%3E%3Cpath d='M1 10H15' stroke='%232563eb' stroke-width='3'/%3E%3Cpath d='M15 10H29' stroke='%23dc2626' stroke-width='3'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
  .front-legend { gap: 4px 8px; font-size: 11px; }
  .front-legend b { display: none; }   /* titre implicite sur mobile (aria-label), légende sur une ligne */
  .leaflet-bottom.leaflet-left .front-legend { margin-bottom: 26px; }   /* au-dessus de l'attribution */
}

/* Barre de temps : vitesse de l'animation (Lent / Normal / Rapide ; « ×1 » sur mobile) et ⓘ */
.btn.speed { min-width: 4.6em; font-variant-numeric: tabular-nums; }
.btn.speed .sp-short { display: none; }
.tl-info { display: inline-flex; align-items: center; }
.tl-info:empty { display: none; }
@media (max-width: 600px) {
  .timeline { gap: 5px; }
  .timeline .btn { padding: 6px 8px; }
  .timeline input { flex: 1 1 100%; order: 5; }
  .when { flex: 1 1 auto; min-width: 0; white-space: nowrap; line-height: 1.25; font-size: .82em; }
  .when span { display: block; }
  .btn.speed { min-width: 2.6em; }
  .btn.speed .sp-long { display: none; }
  .btn.speed .sp-short { display: inline; }
}

/* Opacité des couleurs de la carte (curseur au-dessus de la légende) */
.opacity-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; font-size: .78em; color: var(--muted); }
.opacity-row input { width: 140px; accent-color: var(--accent); }
.opacity-row output { min-width: 3.2em; text-align: right; font-variant-numeric: tabular-nums; }
.opacity-row .info-btn { margin-left: 2px; }
@media (max-width: 600px) { .opacity-row { justify-content: space-between; } .opacity-row input { flex: 1; width: auto; } }

/* Case vent : choix flèches / particules et niveau */
.chip-wind select { background: #1e293b; color: var(--text); border: 1px solid #475569; border-radius: 6px; font-size: .95em; padding: 2px 4px; margin-left: 2px; cursor: pointer; }
.chip-wind select:focus-visible { outline: 2px solid #93c5fd; outline-offset: 1px; }
.particles-canvas { z-index: 449; }

/* Légende du vent animé (en haut à droite de la carte) : Vitesse / Direction */
.wind-legend { padding: 6px 8px 5px; border-radius: 6px; background: rgba(15, 23, 42, .85); border: 1px solid var(--line); color: #e2e8f0; font-size: 12px; line-height: 1.3; width: 186px; }
.wind-legend[hidden] { display: none; }
.wind-legend .wl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; margin-bottom: 5px; }
.wind-legend .wl-seg { flex: 1 0 100%; }
.wind-legend .wl-fold { margin-left: auto; background: none; border: 1px solid transparent; color: var(--muted); font-size: 13px; width: 28px; height: 24px; border-radius: 5px; cursor: pointer; padding: 0; }
.wind-legend .wl-fold:hover { color: var(--text); background: #334155; }
.wind-legend .wl-fold:focus-visible { outline: 2px solid #93c5fd; outline-offset: 0; }
.wind-legend.folded { width: auto; }
.wind-legend.folded .wl-head { margin-bottom: 0; }
.wind-legend.folded .wl-head ~ *, .wind-legend.folded .wl-seg { display: none; }
.wind-legend .wl-seg button { flex: 1; }
.wind-legend .wl-title { font-weight: 600; color: var(--muted); white-space: nowrap; }
.wind-legend .wl-seg { display: inline-flex; border: 1px solid #475569; border-radius: 5px; overflow: hidden; }
.wind-legend .wl-seg button { background: #1e293b; color: var(--text); border: 0; padding: 3px 6px; font-size: 11px; cursor: pointer; min-height: 24px; }
.wind-legend .wl-seg button + button { border-left: 1px solid #475569; }
.wind-legend .wl-seg button[aria-checked="true"] { background: var(--accent); }
.wind-legend .wl-seg button:focus-visible { outline: 2px solid #93c5fd; outline-offset: -2px; }
.wind-legend .wl-bar { height: 9px; border-radius: 3px; border: 1px solid #0f172a; }
.wind-legend .wl-ticks { position: relative; height: 1.25em; margin-right: 8px; font-variant-numeric: tabular-nums; }
.wind-legend .wl-ticks span { position: absolute; transform: translateX(-50%); }
.wind-legend .wl-ticks span:first-child { transform: none; }
.wind-legend .wl-unit { color: var(--muted); font-size: 11px; }
.wind-legend .wl-rose { display: flex; align-items: center; gap: 8px; }
.wind-legend .wl-rose svg { flex: none; }
.wind-legend ul { list-style: none; margin: 0; padding: 0; font-size: 11px; }
.wind-legend li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.wind-legend li i { width: 10px; height: 10px; border-radius: 2px; border: 1px solid #0f172a; flex: none; }
.wind-legend .info-btn { margin-left: 4px; width: 18px; height: 18px; font-size: 11px; }
@media (max-width: 600px) {
  .wind-legend { width: 158px; font-size: 11px; padding: 5px 6px 4px; }
  .wind-legend .wl-rose svg { width: 46px; height: 46px; }
  .wind-legend .wl-seg button { padding: 3px 5px; font-size: 10.5px; }
}
.wd-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; border: 1px solid #0f172a; margin-right: 4px; vertical-align: -1px; }
