/* Weather-model map prototype (2026-09-26). The map is always dark (a night-sky synoptic chart reads best there);
   the panels are FloodRadar's v4 dark tokens with a little glass. */
.wx-body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: #07142a; padding-bottom: 0 !important; }   /* no phone tab bar on this page */
.wx { --wx-bg: #07142a; --wx-panel: rgba(9, 22, 45, .84); --wx-line: rgba(126, 164, 230, .2); --wx-text: #e8effc;
      --wx-muted: #9fb2d4; --wx-accent: #31bbee; --wx-low: #ff7a70; --wx-high: #6cc2ff; --wx-warn: #ffb547;
      --wx-font: var(--v4-font, 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif);
      --wx-nav: 0px;
      position: relative; flex: 1 1 auto; min-height: 520px; overflow: hidden; background: var(--wx-bg);
      color: var(--wx-text); font-family: var(--wx-font); -webkit-font-smoothing: antialiased; }
.wx *, .wx *::before, .wx *::after { box-sizing: border-box; }
.wx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wx-map { position: absolute; inset: 0; }
.wx .maplibregl-canvas { outline: none; }
.wx .maplibregl-ctrl-attrib, .wx .maplibregl-ctrl-logo { display: none !important; }   /* our own credit line below */

.wx-card { position: absolute; z-index: 5; background: var(--wx-panel); border: 1px solid var(--wx-line); border-radius: 16px;
           box-shadow: 0 10px 30px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }

/* model, run and valid time */
.wx-info { left: 16px; top: 16px; padding: 12px 14px 12px; width: min(340px, calc(100% - 32px)); }
.wx-info-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wx-badge { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #07142a; background: var(--wx-warn);
            border-radius: 999px; padding: 3px 8px; }
.wx-models { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .06); }
.wx-models button { font: 700 12px/1 var(--wx-font); color: var(--wx-muted); background: none; border: 0; border-radius: 8px;
                    padding: 7px 10px; cursor: pointer; }
.wx-models button[aria-checked="true"] { color: #07142a; background: var(--wx-accent); }
.wx-models button:disabled { opacity: .45; cursor: not-allowed; }
.wx-valid { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.wx-valid small { display: block; font-size: 12px; font-weight: 600; color: var(--wx-muted); letter-spacing: 0; margin-top: 2px; }
.wx-meta { font-size: 12px; color: var(--wx-muted); margin-top: 6px; line-height: 1.5; }
.wx-meta b { color: var(--wx-text); font-weight: 700; }
.wx-blend { font-size: 11px; color: var(--wx-warn); margin-top: 6px; font-style: italic; }

/* rapid-deepening alert: a row of the info card, so it never covers the map */
.wx-alert { display: flex; gap: 9px; align-items: flex-start; width: 100%; margin-top: 10px; text-align: left; font: 600 12.5px/1.35 var(--wx-font);
            color: #1c1203; background: linear-gradient(180deg, #ffc766, #ffab2e); border: 0; border-radius: 11px; padding: 8px 10px; cursor: pointer;
            box-shadow: 0 6px 18px rgba(255, 170, 40, .22); }
.wx-alert[hidden] { display: none; }
.wx-alert b { font-weight: 800; }
.wx-alert .wx-alert-i { font-size: 16px; line-height: 1.1; }
.wx-alert small { display: block; font-weight: 600; opacity: .82; font-size: 11px; margin-top: 1px; }
.wx-alert:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* layers */
.wx-layers { right: 16px; top: 16px; width: 272px; padding: 11px 12px 12px; max-height: calc(100% - 130px); overflow: auto; scrollbar-width: thin; }
.wx-layers-toggle { display: none; }
.wx-layers-body { display: grid; gap: 8px; }
.wx-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; user-select: none; }
.wx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.wx-sw { width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .14); position: relative; flex: none; transition: background .2s; }
.wx-sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #cfdcf5; transition: transform .2s; }
.wx-switch input:checked + .wx-sw { background: var(--wx-accent); }
.wx-switch input:checked + .wx-sw::after { transform: translateX(14px); background: #fff; }
.wx-switch input:focus-visible + .wx-sw { outline: 2px solid var(--wx-accent); outline-offset: 2px; }
.wx-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.wx-seg button { font: 700 11px/1 var(--wx-font); color: var(--wx-muted); background: none; border: 0; border-radius: 7px; padding: 6px 0; cursor: pointer; }
.wx-seg button[aria-checked="true"] { background: rgba(49, 187, 238, .22); color: #fff; }
.wx-seg.wx-off { opacity: .35; pointer-events: none; }
.wx-legend { border-top: 1px solid var(--wx-line); padding-top: 9px; margin-top: 2px; display: grid; gap: 9px; }
.wx-h { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wx-muted); margin: 2px 0 -2px; }
.wx-bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.wx-bases button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 7px; border-radius: 11px; border: 1px solid var(--wx-line);
                   background: rgba(255, 255, 255, .04); color: var(--wx-muted); font: 700 11px/1.1 var(--wx-font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.wx-bases button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wx-bases button:hover { color: var(--wx-text); background: rgba(255, 255, 255, .08); }
.wx-bases button[aria-checked="true"] { color: #fff; background: linear-gradient(180deg, rgba(49, 187, 238, .32), rgba(49, 187, 238, .16)); border-color: rgba(49, 187, 238, .7); }
.wx-seg[hidden] { display: none; }
.wx-tl-bars { position: absolute; left: 0; right: 0; bottom: calc(100% + 1px); width: 100%; height: 17px; pointer-events: none; opacity: .9; }
.wx-outlook { left: 16px; bottom: calc(100px + var(--wx-nav)); width: 300px; padding: 11px 13px 10px; font-size: 12.5px; }
.wx-outlook[hidden] { display: none; }
.wx-outlook h2 { font-size: 12px; font-weight: 800; margin: 0 0 6px; letter-spacing: .01em; }
.wx-outlook table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wx-outlook th { font-size: 10px; font-weight: 700; color: var(--wx-muted); text-align: right; padding: 0 0 3px; text-transform: uppercase; letter-spacing: .05em; }
.wx-outlook th:first-child, .wx-outlook td:first-child { text-align: left; }
.wx-outlook td { padding: 3px 0; border-top: 1px solid rgba(126, 164, 230, .12); text-align: right; font-weight: 700; }
.wx-outlook td:first-child { font-weight: 600; color: var(--wx-text); }
.wx-outlook td i { display: inline-block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #3e96ec, #9b3eba); vertical-align: middle; margin-right: 6px; }
.wx-outlook p { margin: 6px 0 0; font-size: 10.5px; color: var(--wx-muted); line-height: 1.4; }
.wx-outlook--sheet { position: static; width: auto; padding: 8px 0 0; border-top: 1px solid var(--wx-line); background: none; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wx-lg-t { font-size: 11px; font-weight: 700; color: var(--wx-muted); margin-bottom: 4px; display: flex; justify-content: space-between; }
.wx-lg-bar { height: 8px; border-radius: 4px; }
.wx-lg-n { display: flex; justify-content: space-between; font-size: 10px; color: var(--wx-muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.wx-lg-n span { white-space: nowrap; }
.wx-lg-w { font-weight: 700; color: var(--wx-text); margin-top: 1px; }
.wx-lg-note { font-size: 11px; color: var(--wx-muted); line-height: 1.4; }
.wx-lg-note i { display: inline-block; width: 18px; height: 0; border-top: 2px solid #dbe7ff; vertical-align: middle; margin-right: 6px; opacity: .8; }

/* timeline dock */
.wx-dock { position: absolute; z-index: 5; left: 16px; right: 16px; bottom: calc(16px + var(--wx-nav)); display: flex; gap: 12px; align-items: center;
           background: var(--wx-panel); border: 1px solid var(--wx-line); border-radius: 18px; padding: 10px 14px 10px 10px;
           box-shadow: 0 10px 30px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wx-play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--wx-accent); color: #07142a; cursor: pointer;
           display: grid; place-items: center; box-shadow: 0 4px 14px rgba(49, 187, 238, .35); }
.wx-play svg { width: 22px; height: 22px; fill: currentColor; }
.wx-play .wx-i-pause, .wx-playing .wx-play .wx-i-play { display: none; }
.wx-playing .wx-play .wx-i-pause { display: block; }
.wx-timeline { position: relative; flex: 1; min-width: 0; height: 60px; cursor: pointer; touch-action: none; outline: none; }
.wx-tl-days { position: absolute; left: 0; right: 0; top: 30px; height: 14px; }   /* day names under the track, rain bars over it */
.wx-tl-day { position: absolute; top: 0; font-size: 11px; font-weight: 700; color: var(--wx-muted); white-space: nowrap; padding-left: 5px;
             border-left: 1px solid var(--wx-line); line-height: 16px; }
.wx-tl-day.wx-today { color: var(--wx-text); }
.wx-tl-track { position: absolute; left: 0; right: 0; top: 20px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.wx-tl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, rgba(49, 187, 238, .35), rgba(49, 187, 238, .8)); }
.wx-tl-ticks i { position: absolute; top: 2px; width: 1px; height: 4px; background: rgba(255, 255, 255, .28); }
.wx-tl-now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--wx-warn); border-radius: 1px; }
.wx-tl-now::after { content: 'now'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 800; color: var(--wx-warn); text-transform: uppercase; letter-spacing: .06em; }
.wx-tl-head { position: absolute; top: 13.5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 0 0 4px rgba(49, 187, 238, .35); pointer-events: none; }
.wx-tl-head span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; color: #07142a;
                   background: #fff; border-radius: 6px; padding: 2px 6px; opacity: 0; transition: opacity .15s; }
.wx-timeline:hover .wx-tl-head span, .wx-dragging .wx-tl-head span, .wx-timeline:focus-visible .wx-tl-head span { opacity: 1; }
.wx-timeline:focus-visible .wx-tl-head { box-shadow: 0 0 0 3px var(--wx-accent), 0 2px 8px rgba(0, 0, 0, .5); }

.wx-credit { position: absolute; left: 0; right: 0; bottom: -1px; font-size: 10px; color: rgba(175, 194, 228, .72); line-height: 1.3; white-space: nowrap;
             overflow: hidden; text-overflow: ellipsis; pointer-events: none; text-align: right; }
.wx-loading { position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--wx-panel); border: 1px solid var(--wx-line);
              border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.wx-loading[hidden] { display: none; }

/* point read-out */
.wx .maplibregl-popup-content { background: var(--wx-panel); color: var(--wx-text); border: 1px solid var(--wx-line); border-radius: 12px; padding: 10px 12px;
                                font: 500 12.5px/1.5 var(--wx-font); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wx .maplibregl-popup-tip { display: none; }
.wx .maplibregl-popup-close-button { color: var(--wx-muted); font-size: 18px; right: 4px; top: 2px; }
.wx-pop-h { font-weight: 800; font-size: 13px; margin: 0 16px 4px 0; }
.wx-pop dl { display: grid; grid-template-columns: auto auto; gap: 1px 14px; margin: 0; }
.wx-pop dt { color: var(--wx-muted); }
.wx-pop dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.wx-pop p { margin: 6px 0 0; font-size: 11px; color: var(--wx-muted); }

@media (max-width: 900px) {
    .wx { --wx-nav: env(safe-area-inset-bottom); min-height: 560px; }
    .wx-info { left: 10px; top: 10px; width: calc(100% - 20px - 58px); padding: 10px 12px; border-radius: 14px; }
    .wx-valid { font-size: 17px; }
    .wx-meta { font-size: 11px; }
    .wx-layers { right: 10px; top: 10px; width: auto; padding: 0; border-radius: 14px; }
    .wx-layers-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--wx-text); cursor: pointer; padding: 0; }
    .wx-layers-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
    .wx-layers-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .wx-layers-body { display: none; width: min(300px, calc(100vw - 20px)); padding: 4px 12px 12px; }
    .wx-layers.wx-open { max-height: calc(100% - 110px); overflow: auto; }
    .wx-outlook:not(.wx-outlook--sheet) { display: none !important; }
    .wx-layers.wx-open .wx-layers-body { display: grid; }
    .wx-layers.wx-open .wx-layers-toggle { margin-left: auto; }
    .wx-alert { margin-top: 8px; padding: 7px 9px; font-size: 12px; }
    .wx-alert small { display: none; }
    .wx-meta .wx-rainwords { display: none; }
    .wx-dock { left: 10px; right: 10px; bottom: calc(10px + var(--wx-nav)); padding: 8px 12px 8px 8px; }
    .wx-play { width: 44px; height: 44px; }
    .wx-credit { font-size: 9px; }
    .wx-tl-day { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wx-sw, .wx-sw::after { transition: none; } }

.wx-bases button:disabled { opacity: .38; cursor: not-allowed; }
@media (min-width: 901px) { .wx-outlook--sheet { display: none !important; } }

/* ── prototype 2: flood lens ─────────────────────────────────────────────────────────────────────── */
.wx-bases { grid-template-columns: repeat(4, 1fr); }
.wx-bases button { font-size: 10.5px; padding: 7px 1px 6px; }
.wx-seg--3 { grid-template-columns: repeat(3, 1fr); }
.wx-seg--chance button { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; }
.wx-seg--chance small { font-size: 9px; font-weight: 600; opacity: .75; }

/* search */
.wx-search { position: relative; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 0 12px; height: 42px; border-radius: 12px;
             background: rgba(255, 255, 255, .07); border: 1px solid var(--wx-line); transition: border-color .15s, background .15s; }
.wx-search:focus-within { border-color: rgba(49, 187, 238, .8); background: rgba(255, 255, 255, .1); }
.wx-search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--wx-muted); stroke-width: 2; stroke-linecap: round; }
.wx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--wx-text); font: 600 15px/1 var(--wx-font); }
.wx-search input::placeholder { color: var(--wx-muted); font-weight: 600; }
.wx-search input::-webkit-search-cancel-button { filter: invert(.7); }
.wx-q-res { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 9; margin: 0; padding: 5px; list-style: none; border-radius: 12px;
            background: rgba(9, 22, 45, .97); border: 1px solid var(--wx-line); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
.wx-q-res[hidden] { display: none; }
.wx-q-res button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
                   background: none; color: var(--wx-text); font: 600 13.5px/1.2 var(--wx-font); text-align: left; cursor: pointer; }
.wx-q-res button span { font-size: 11px; color: var(--wx-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-q-res li[aria-selected="true"] button, .wx-q-res button:hover { background: rgba(49, 187, 238, .16); }
.wx-q-note { padding: 8px 10px; font-size: 12px; color: var(--wx-muted); }

/* the pin */
.wx-pin { width: 22px; height: 22px; pointer-events: none; }
.wx-pin i { position: absolute; inset: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #31bbee, 0 2px 8px rgba(0, 0, 0, .6); }
.wx-pin b { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(49, 187, 238, .9); animation: wx-ping 2.2s ease-out infinite; }
@keyframes wx-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* the place card */
.wx-place { left: 16px; top: var(--wx-place-top, 230px); bottom: calc(100px + var(--wx-nav)); width: 356px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.wx-place[hidden] { display: none; }
.wx-has-place .wx-outlook:not(.wx-outlook--sheet) { display: none; }
.wx-pl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 12px 8px 14px; border-bottom: 1px solid var(--wx-line); flex: none; }
.wx-pl-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.wx-pl-head span { font-size: 11.5px; color: var(--wx-muted); font-weight: 600; }
.wx-pl-x { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, .07); color: var(--wx-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.wx-pl-x:hover { color: var(--wx-text); background: rgba(255, 255, 255, .13); }
.wx-pl-body { overflow: auto; padding: 10px 14px 12px; display: grid; gap: 10px; font-size: 12.5px; line-height: 1.45; scrollbar-width: thin; }
.wx-pl-wait { margin: 6px 0; color: var(--wx-muted); display: flex; align-items: center; gap: 9px; }
.wx-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(49, 187, 238, .25); border-top-color: var(--wx-accent); animation: wx-rot .8s linear infinite; flex: none; }
@keyframes wx-rot { to { transform: rotate(360deg); } }
.wx-pl-warn { font-size: 11.5px; color: var(--wx-muted); padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .045); }
.wx-pl-warn small { opacity: .8; }
.wx-pl-warn a { color: #8fd6ff; }
.wx-pl-warn--on { color: #1c0606; background: linear-gradient(180deg, #ff9a8a, #ff6f61); display: grid; gap: 4px; font-size: 12px; }
.wx-pl-warn--on a { color: #1c0606; font-weight: 700; text-decoration: none; display: flex; gap: 6px; align-items: center; }
.wx-sev { font-style: normal; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 1px 5px; border-radius: 5px; background: rgba(0, 0, 0, .18); }
.wx-pl-verdict { display: flex; gap: 11px; align-items: center; padding: 10px 11px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--wx-line); }
.wx-pl-verdict b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.005em; }
.wx-pl-verdict span { display: block; font-size: 11.5px; color: var(--wx-muted); margin-top: 1px; }
.wx-pl-meter { display: flex; flex-direction: column-reverse; gap: 3px; flex: none; }
.wx-pl-meter i { width: 26px; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.wx-lv0 .wx-pl-meter i:nth-child(-n+1) { background: #5fd3a0; }
.wx-lv1 .wx-pl-meter i:nth-child(-n+2) { background: #5aa0f5; }
.wx-lv2 .wx-pl-meter i:nth-child(-n+3) { background: #b366f0; }
.wx-lv3 .wx-pl-meter i:nth-child(-n+4) { background: #ff6f8a; }
.wx-lv2 { border-color: rgba(179, 102, 240, .55); }
.wx-lv3 { border-color: rgba(255, 111, 138, .7); background: rgba(255, 111, 138, .1); }
.wx-pl-say { margin: 0; font-size: 13px; }
.wx-pl-fig { margin: 0; }
.wx-pl-fig figcaption, .wx-pl-h { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wx-muted); margin-bottom: 4px; }
.wx-pl-h em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--wx-text); margin-left: 4px; }
.wx-plume { width: 100%; height: auto; display: block; }
.wx-plume .wx-pg { stroke: rgba(126, 164, 230, .14); stroke-width: 1; }
.wx-plume .wx-pt { fill: var(--wx-muted); font: 700 9px var(--wx-font); }
.wx-plume .wx-pm { fill: none; stroke: rgba(124, 200, 255, .13); stroke-width: 1; }
.wx-plume .wx-pband { fill: rgba(49, 187, 238, .16); stroke: none; }
.wx-plume .wx-pmid { fill: none; stroke: #7cc8ff; stroke-width: 2.2; stroke-linejoin: round; }
.wx-plume .wx-pgfs { fill: none; stroke: #ffb547; stroke-width: 1.8; stroke-dasharray: 3 3; }
.wx-plume .wx-pweek { stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 5 4; }
.wx-plume .wx-pweek-t { fill: rgba(255, 255, 255, .7); }
.wx-plume .wx-pl-now { stroke: var(--wx-warn); stroke-width: 1.5; transition: opacity .2s; }
.wx-pl-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; color: var(--wx-muted); margin-top: 3px; }
.wx-pl-key i { display: inline-block; width: 14px; height: 0; vertical-align: middle; margin-right: 5px; }
.wx-pl-key .k-mid { border-top: 2.2px solid #7cc8ff; }
.wx-pl-key .k-band { height: 8px; background: rgba(49, 187, 238, .25); }
.wx-pl-key .k-gfs { border-top: 2px dashed #ffb547; }
.wx-pl-key span:last-child { margin-left: auto; }
.wx-pl-chance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.wx-pl-chance div { text-align: center; padding: 7px 2px 6px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.wx-pl-chance b { display: block; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wx-pl-chance span { display: block; font-size: 9.5px; color: var(--wx-muted); font-weight: 700; line-height: 1.2; margin-top: 1px; }
.wx-pl-note { margin: -4px 0 0; font-size: 10.5px; color: var(--wx-muted); }
.wx-pl-models { display: grid; gap: 4px; }
.wx-pl-bar { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 8px; font-size: 11.5px; }
.wx-pl-bar span { color: var(--wx-muted); font-weight: 600; white-space: nowrap; }
.wx-pl-bar i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #3e96ec, #9b5cf0); min-width: 2px; }
.wx-pl-bar b { font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.wx-pl-bar em { grid-column: 2 / 4; font-size: 10.5px; color: var(--wx-muted); }
.wx-pl-gauges { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.wx-pl-gauges li { padding: 5px 0; border-top: 1px solid rgba(126, 164, 230, .12); display: grid; }
.wx-pl-gauges a { color: #8fd6ff; font-weight: 700; text-decoration: none; }
.wx-pl-gauges a:hover { text-decoration: underline; }
.wx-pl-gauges span { font-size: 11px; color: var(--wx-muted); }
.wx-pl-gauges small { font-size: 11px; color: var(--wx-text); }
.wx-pl-foot { margin: 2px 0 0; font-size: 10px; color: var(--wx-muted); line-height: 1.4; }
.wx-pop-go { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; border: 0; border-radius: 9px; background: var(--wx-accent); color: #07142a;
             font: 800 12px/1.2 var(--wx-font); cursor: pointer; }
.wx-pop-link { display: inline-block; margin-top: 6px; color: #8fd6ff; font-weight: 700; font-size: 12px; }
.wx-pop-sub { font-size: 11px; color: var(--wx-muted); margin: -3px 0 5px; }
.wx-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.wx-dot--elow { background: #ff8a5c; box-shadow: 0 0 0 1.5px #081630; }
.wx-dot--gauge { background: #e04fc8; box-shadow: 0 0 0 2px rgba(224, 79, 200, .35); }
@media (max-width: 900px) {
    .wx-search { height: 40px; margin-bottom: 8px; }
    .wx-search input { font-size: 16px; }                              /* 16px: iOS does not zoom the page on focus */
    .wx-place { left: 10px; right: 10px; top: auto; width: auto; bottom: calc(96px + var(--wx-nav)); max-height: 52%; z-index: 6; }
    .wx-has-place .wx-info .wx-meta, .wx-has-place .wx-info .wx-alert { display: none; }
    .wx-pl-head h2 { font-size: 16px; }
}
.wx-pl-a, .wx-pl-b { display: grid; gap: 10px; align-content: start; min-width: 0; }
@media (min-width: 1200px) {
    .wx-place { top: auto; bottom: calc(100px + var(--wx-nav)); width: 660px; max-height: calc(100% - var(--wx-place-top, 230px) - 100px); }
    .wx-pl-body { grid-template-columns: 1fr 1fr; column-gap: 16px; }
    .wx-pl-foot { grid-column: 1 / -1; }
}
.wx-pl-heads { margin: 0; font-size: 11.5px; line-height: 1.45; padding: 8px 10px; border-radius: 10px; color: #ffe2b0; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .35); }
.wx-pl-heads b { color: #ffc766; }
.wx-dot--ghost { background: none; border: 1.8px dashed #ffb0a6; width: 10px; height: 10px; }
.wx-switch[hidden] { display: none; }
.wx-dot--spag { width: 14px; height: 0; border-radius: 0; border-top: 2px solid #ffc46b; vertical-align: middle; }

/* prototype 6: the recommended model and late runs (2026-09-27) */
.wx-models button small { display: block; font-size: 8.5px; font-weight: 600; opacity: .75; line-height: 1; margin-top: 1px; text-transform: lowercase; }
.wx-models button.wx-model-late::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--wx-warn); margin-left: 4px; vertical-align: middle; }
.wx-late { color: var(--wx-warn); font-weight: 700; }
.wx-search[hidden] { display: none; }

/* the place card's not-yet sections (27 Sep): greyed, named, never drawn as a result */
.wx-pl-soon { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--wx-line); color: var(--wx-muted); font-size: 11.5px; line-height: 1.4; opacity: .7; }
.wx-pl-soon b { flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .1); color: var(--wx-text); margin-top: 1px; }
.wx-pl-warn--on small { display: block; color: #3a1210; font-weight: 600; }
.wx-pl-warn--on a small { display: inline; margin-left: auto; opacity: .75; }
