/* THE WEATHER CARD (wxcard.js draws it, wxhero.js brings it to life).
 *
 * The card keeps its own palette in every theme: it is a window onto the
 * sky over the place, drawn at night and by day on the same dark glass, so
 * its tokens are declared on the card and nothing outside it can change
 * them. What the theme decides is the ground the card stands on: the blue
 * hour on the light page, the page's own card color on the dark one, and
 * black on black.
 */
.wxc{ --bg:#06080d; --bg-panel:#0e131c; --bg-panel-raised:#141a26;
  --border:rgba(255,255,255,.08); --text:#e6ecf5; --text-dim:#8894a8; --text-faint:#5a6478;
  --accent:#4fa8ff; --accent-warm:#ffb648; --accent-cold:#7dd3fc; --good:#34d399; --warn:#fbbf24; --bad:#f87171;
  --inset:clamp(16px,4vw,40px);
  --wx-ground:#0d2440;
  color:var(--text); font-family:var(--sans); }
html[data-theme="dark"] .wxc{ --wx-ground:#101b2b; }
html[data-theme="black"] .wxc{ --wx-ground:#000000; }

  .wxc{ background:transparent; border:0; border-radius:0; overflow:hidden; box-shadow:none; min-width:0; width:100%; }
  .wxc-in{ display:flex; flex-direction:column; }
  .wxc-eyebrow{ font-size:10.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text-dim);
                padding:14px var(--inset) 0; display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .wxc-eyebrow .eb{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wxc-dots{ display:inline-flex; gap:7px; flex:0 0 auto; }
  .wxc-dots .dot{ width:8px; height:8px; border-radius:50%; border:0; padding:0; cursor:pointer; background:rgba(255,255,255,.26); transition:background .2s, transform .2s; }
  .wxc-dots .dot.on{ background:var(--accent); transform:scale(1.15); }
  .wxc-dots .dot:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
  .wxc-in{ transition:opacity .32s ease; }
  .wxc-in.out, .wxc-in.in{ opacity:0; }
  @media (prefers-reduced-motion: reduce){ .wxc-in{ transition:none; } }
  .wxc-eyebrow b{ color:var(--text); font-weight:700; }
  /* the card as the page's heading: the place's name large, its kind and
     state under it, in the reading case */
  .wxc-eyebrow .eb:has(.wxc-h1){ white-space:normal; overflow:visible; text-transform:none; letter-spacing:0; }
  .wxc-h1{ margin:0; font-size:clamp(28px, 6.4vw, 44px); line-height:1.08; font-weight:750; letter-spacing:-.02em; color:var(--text); text-transform:none; }
  .wxc-sub{ display:block; margin-top:6px; font-size:14px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--text-dim); line-height:1.4; }
  .wxc-sub .ev{ font-weight:650; }
  .wxc-eyebrow .sep{ color:var(--text-dim); margin:0 2px; }
  .wxc-eyebrow .ev{ color:var(--warn); }
  .wxc-eyebrow .tx{ font-family:var(--mono); text-transform:none; letter-spacing:0; color:var(--text-faint); margin-left:6px; }
  .wxs{ display:flex; align-items:center; gap:12px; width:100%; padding:6px var(--inset) 9px; border:0; background:transparent;
        color:var(--text); font:inherit; text-align:left; cursor:pointer; min-height:52px; }
  .wxs:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; border-radius:12px; }
  /* its height from the first paint (owner, Oct 10: "under 1 sec, full
     load"): until its picture was painted the canvas stood at a canvas's
     own 150 pixels, and the card shrank by 94 under the reader, the map
     and the rest of the front door moving up with it; and its width too
     (Oct 13, read frame by frame on the live front door): a canvas keeps
     its own 2 to 1 shape as its least width, so the slot stood 112 wide
     until its picture came and the words beside it moved 56 to the left */
  .wxs-ic{ flex:0 0 56px; width:56px; height:56px; border-radius:10px; background:0; border:0; box-shadow:none; }
  .wxs-t{ font-size:30px; font-weight:600; letter-spacing:-.04em; font-variant-numeric:tabular-nums; line-height:1; flex:0 0 auto; }
  .wxs-t i{ font-style:normal; font-weight:300; font-size:18px; color:color-mix(in srgb, var(--text) 70%, transparent); vertical-align:top; margin-left:1px; }
  .wxs-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 auto; }
  /* the sky and the feel run to a second line where a phone has no room for
     them, never cut short (Oct 31: "Feels like 25° · Moderate breeze 14 mph
     ESE" stopped at "14 m" at 412 px) */
  .wxs-txt b{ font-size:13px; font-weight:500; color:color-mix(in srgb, var(--text) 90%, transparent); line-height:1.3; overflow-wrap:anywhere; }
  .wxs-txt span{ font-size:12px; color:var(--text-dim); font-variant-numeric:tabular-nums; line-height:1.35; overflow-wrap:anywhere; }
  .wxs-go{ display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; padding:7px 12px; border-radius:999px;
           font-size:12px; font-weight:650; color:#0a1a2b; background:rgba(255,255,255,.92); letter-spacing:.01em; transition:.15s; }
  .wxs:hover .wxs-go{ background:#fff; }
  .wxs-go svg{ width:13px; height:13px; transition:transform .2s; }
  .wxs-go .close{ display:none; }
  .wxc.open .wxs-go .close{ display:inline; } .wxc.open .wxs-go .open{ display:none; }
  .wxc.open .wxs-go svg{ transform:rotate(180deg); }
  .wxs-note{ margin:0; padding:9px var(--inset) 12px; font-size:12.5px; line-height:1.5; color:var(--text-dim); }
  .wxx{ padding:0 var(--inset) 12px; display:flex; flex-direction:column; gap:10px; max-width:1180px; margin:0 auto; width:100%; box-sizing:border-box; }
  .wxc-foot{ margin:0; font-size:11px; line-height:1.5; color:var(--text-faint); padding:0 4px; }
  .wxc .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; }
  .wxh{ position:relative; overflow:hidden; border-radius:12px; border:1px solid var(--border);
        background:linear-gradient(180deg,#0d1622,#070b12); }
  .wxh-scene{ position:absolute; inset:0; pointer-events:none; }
  .wxh-scene canvas{ display:block; width:100%; height:100%; object-fit:cover; }
  .wxh-scrim1{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,#070b1233,#070b12b3,#070b12ee); }
  .wxh-scrim2{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,#070b12cc,#070b1266,transparent); }
  .wxh-body{ position:relative; padding:10px 16px 8px; }
  .wxh-temp{ display:flex; align-items:flex-start; line-height:1; }
  .wxh-temp .t{ font-size:46px; font-weight:600; letter-spacing:-.04em; font-variant-numeric:tabular-nums; color:var(--text); }
  .wxh-temp .deg{ font-size:22px; font-weight:300; color:color-mix(in srgb, var(--text) 70%, transparent); margin:3px 0 0 1px; }
  .wxh-temp .hl{ margin:6px 0 0 12px; font-size:13px; font-weight:500; font-variant-numeric:tabular-nums; color:var(--text-dim); }
  .wxh-temp .hi{ color:color-mix(in srgb, var(--text) 85%, transparent); }
  .wxh-temp .sl{ margin:0 4px; color:color-mix(in srgb, var(--text-dim) 50%, transparent); }
  .wxh-line{ margin-top:4px; font-size:12.5px; font-variant-numeric:tabular-nums; }
  .wxh-line .c{ font-weight:500; color:color-mix(in srgb, var(--text) 90%, transparent); }
  .wxh-line .dot{ margin:0 6px; color:color-mix(in srgb, var(--text-dim) 40%, transparent); }
  .wxh-line .d{ color:var(--text-dim); }
  .wxh-line .v{ color:color-mix(in srgb, var(--text) 85%, transparent); }
  .wxh-narr-w{ margin-top:8px; padding-top:8px; border-top:1px solid rgba(255,255,255,.05); }
  .wxh-day{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; font-size:10.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text-dim); }
  .wxh-narr{ font-size:12px; line-height:1.625; color:var(--text-dim); }
  .wxh-narr.clamp{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .wxh-words p{ margin:0 0 6px; }
  .wxh-words p:last-child{ margin-bottom:0; }
  .wxh-words b{ color:var(--text); font-weight:600; }
  .wxh-words a{ color:inherit; text-decoration:underline; text-decoration-color:color-mix(in srgb, currentColor 45%, transparent); text-underline-offset:2px; }
  .wxh-words a:hover{ color:var(--text); }
  .wxh-words.clamp{ display:block; -webkit-line-clamp:unset; overflow:visible; }
  .wxh-words.clamp p:not(:first-child){ display:none; }
  .wxh-words.clamp p:first-child{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .wxh-more{ margin-top:2px; padding:0; border:0; background:none; font:inherit; font-size:11px; font-weight:500; cursor:pointer;
             color:color-mix(in srgb, var(--text) 70%, transparent); transition:color .15s; }
  .wxh-more:hover{ color:var(--text); }
  .wxh-legend{ margin-top:6px; }
  .wxh-legend:empty{ display:none; }
  .wxh-notes{ display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
  .wxh-note{ display:flex; align-items:center; gap:4px; padding:2px 6px; border-radius:999px; border:1px solid var(--border);
             background:rgba(0,0,0,.2); color:var(--text-dim); font:inherit; font-size:9.5px; font-weight:500; line-height:1; cursor:pointer; transition:color .15s; }
  .wxh-note:hover{ color:color-mix(in srgb, var(--text) 80%, transparent); }
  .wxh-note[aria-expanded="true"]{ border-color:color-mix(in srgb, var(--text) 25%, transparent); background:color-mix(in srgb, var(--text) 10%, transparent); color:var(--text); }
  .wxh-note span{ max-width:92px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .wxh-note-d{ margin:4px 0 0; font-size:10.5px; line-height:1.45; color:var(--text-dim); }
  .wxh-chips{ margin-top:8px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; border-top:1px solid rgba(255,255,255,.07); padding-top:6px; }
  .wxh-chip{ display:flex; flex-direction:column; align-items:center; gap:1px; min-width:0; }
  .wxh-chip .v{ font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; line-height:1; }
  .wxh-chip .l{ font-size:9.5px; font-weight:500; text-transform:uppercase; letter-spacing:.06em; color:color-mix(in srgb, var(--text-dim) 75%, transparent);
                white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
  .wxh-alert{ margin:-14px -16px 10px; border-radius:12px 12px 0 0; overflow:hidden; border-bottom:1px solid color-mix(in srgb, var(--ac) 33%, transparent);
              background:linear-gradient(90deg, color-mix(in srgb, var(--ac) 15%, transparent), transparent 70%); }
  .wxh-alert-b{ width:100%; display:flex; align-items:flex-start; gap:10px; padding:10px 16px; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
  .wxh-dot{ position:relative; margin-top:3px; flex:0 0 8px; width:8px; height:8px; display:flex; }
  .wxh-dot .ping{ position:absolute; inset:0; border-radius:50%; background:var(--ac); opacity:.7; }
  .wxh-dot .core{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--ac); }
  @media (prefers-reduced-motion: no-preference){
    .wxh-dot .ping{ animation:wxping 1s cubic-bezier(0,0,.2,1) infinite; }
    @keyframes wxping{ 75%,100%{ transform:scale(2); opacity:0; } }
  }
  .wxh-alert-t{ flex:1 1 auto; min-width:0; display:block; }
  .wxh-alert-t .row{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
  .wxh-alert-t .ev{ font-size:13px; font-weight:600; color:var(--text); line-height:1.25; }
  .wxh-alert-t .tag{ font-size:9px; font-weight:600; text-transform:uppercase; letter-spacing:.025em; padding:1px 6px; border-radius:4px;
                     color:var(--ac); background:color-mix(in srgb, var(--ac) 13%, transparent); }
  .wxh-alert-t .where{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:2px;
                       font-size:11.5px; line-height:1.375; color:var(--text-dim); }
  .wxh-alert-t .more{ display:block; margin-top:2px; font-size:10px; color:var(--text-faint); }
  .wxh-alert-go{ margin:-4px 0 0; padding:0 16px 9px 34px; font-size:11.5px; line-height:1.4; color:var(--text-faint); }
  .wxh-alert-go a{ color:var(--text); text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--ac) 70%, transparent); text-underline-offset:3px; }
  .wxh-alert-d{ padding:10px 16px 12px; border-top:1px solid color-mix(in srgb, var(--ac) 20%, transparent); font-size:11.5px; line-height:1.625;
                color:var(--text-dim); white-space:pre-line; max-height:192px; overflow-y:auto; }
  @media (max-width:520px){
    .wxs{ gap:9px; padding:5px var(--inset) 8px; }
    .wxc-eyebrow{ padding-top:12px; }
    .wxs-go .open, .wxs-go .close{ display:none; }
    .wxc.open .wxs-go .close{ display:none; }
    .wxs-go{ padding:7px; }
    .wxs-t{ font-size:26px; }
    .wxh-chips{ gap:4px; }
  }
/* THE WEEK (owner, Oct 19: "consolidate the 7 day forecast better, there
   are gaps that can be removed so it flows better ... i dont like the
   shaded area inbetween"). One column a day on a phone, one row a day
   beside the hero on a wide screen; in each, the day, its picture with its
   chance of rain on it, and its range: a bar from its low to its high on
   the week's one scale, colored as the map colors those temperatures,
   the high above it and the low below. Now is a point on the same scale.
   Every size here comes from the card's own width, so the week the browser
   draws is the week the page first painted, and no row stands empty. */
.wxw{ container-type:inline-size; border-radius:12px; border:1px solid var(--border); overflow:hidden; background:rgba(0,0,0,.2); }
.wxw-grid{ display:grid; grid-template-columns:repeat(var(--cols,8),minmax(0,1fr)); }
.wxw-tiles{ --ts:1; --ic:calc(30px * var(--ts)); --rng:calc(88px * var(--ts)); --lab:calc(16px * var(--ts)); --moon:calc(14px * var(--ts)); --ring:#0b111b; }
@container (max-width:320px){ .wxw-tiles{ --ts:.9; } }
/* a clock of eight characters fits a Now tile in a week 360 px wide and more */
@container (max-width:365px){ .wxw-tile.now .md .ap{ display:none; } }
@container (min-width:560px){ .wxw-tiles{ --ts:1.2; } }
@container (min-width:760px){ .wxw-tiles{ --ts:1.36; } }
/* a tile's side padding is 1 px: at 2 px "Today" stood 0.27 px wider than
   its tile at 320 px and "10:00 AM" 0.66 px wider at 400 (weekfitproof,
   red since Oct 31 at the latest), each cut to an ellipsis; at 1 px both have a pixel and
   more to spare, and the tiles' words still never touch */
.wxw-tile{ position:relative; display:flex; flex-direction:column; align-items:center; gap:calc(6px * var(--ts)); padding:calc(10px * var(--ts)) 1px calc(10px * var(--ts));
           min-width:0; cursor:pointer; transition:background .2s; -webkit-tap-highlight-color:transparent; }
.wxw-tile:hover{ background:rgba(255,255,255,.04); }
.wxw-tile.on{ background:rgba(79,168,255,.12); box-shadow:inset 0 2px 0 var(--accent); }
.wxw-tile:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; }
.wxw-tile.now{ background:rgba(255,255,255,.03); }
/* a page may carry a rule of its own for a bare .now (the place page's
   figure row is a flex row lifted 0.08em, and it lifted the Now tile 1.3 px
   above the days beside it); the week's are the card's */
.wxw-tile.now{ margin:0; }
.wxw-rng.now{ display:block; margin:0; }
.wxw-tile.nd{ cursor:default; }
.wxw-tile.nd:hover{ background:none; }
.wxw-tile.now .wd{ color:var(--accent); }
.wxw-tile[data-l="1"]{ border-left:1px solid color-mix(in srgb, var(--border) 55%, transparent); }
.wxw-tile .wd{ font-size:calc(11.5px * var(--ts)); font-weight:650; color:var(--text); line-height:1; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wxw-tile .md{ margin-top:calc(-3px * var(--ts)); font-size:calc(9.5px * var(--ts)); color:var(--text-faint); line-height:1; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wxw-pic{ position:relative; flex:none; width:var(--ic); height:var(--ic); }
.wxw-pic canvas.ic{ display:block; width:100%; height:100%; }
.wxw-pop{ position:absolute; left:50%; bottom:calc(-5px * var(--ts)); transform:translateX(-50%); white-space:nowrap; line-height:1;
          font-size:calc(9.5px * var(--ts)); font-weight:650; font-variant-numeric:tabular-nums; color:var(--accent-cold);
          text-shadow:0 0 3px var(--ring), 0 0 2px var(--ring); }
.wxw-rng{ --lo:.35; --hi:.65; --at:.5; position:relative; flex:none; width:100%; height:var(--rng); }
.wxw-bar{ position:absolute; left:50%; width:calc(6px * var(--ts)); transform:translateX(-50%); border-radius:999px;
          top:calc(var(--lab) + (1 - var(--hi)) * (100% - 2 * var(--lab)));
          height:max(calc(6px * var(--ts)), calc((var(--hi) - var(--lo)) * (100% - 2 * var(--lab))));
          background:linear-gradient(to top, var(--c0), var(--c1)); }
.wxw-rng .h, .wxw-rng .lo{ position:absolute; left:0; right:0; text-align:center; line-height:1; white-space:nowrap; font-variant-numeric:tabular-nums; }
.wxw-rng .h{ font-size:calc(12.5px * var(--ts)); font-weight:650; color:var(--text); bottom:calc(var(--lab) + var(--hi) * (100% - 2 * var(--lab)) + 4px); }
.wxw-rng .lo{ font-size:calc(11px * var(--ts)); font-weight:500; color:var(--text-dim); top:calc(var(--lab) + (1 - var(--lo)) * (100% - 2 * var(--lab)) + 4px); }
.wxw-rng .h:not(.nd)::after, .wxw-rng .lo:not(.nd)::after{ content:"\00b0"; }
.wxw-dot{ position:absolute; left:50%; top:calc(var(--lab) + (1 - var(--at)) * (100% - 2 * var(--lab))); width:calc(9px * var(--ts)); height:calc(9px * var(--ts));
          transform:translate(-50%,-50%); border-radius:50%; background:var(--c, var(--accent)); box-shadow:0 0 0 2px var(--ring); }
.wxw-rng.now .h{ bottom:calc(var(--lab) + var(--at) * (100% - 2 * var(--lab)) + 4px + 4.5px * var(--ts)); }
.wxw-rng.now .lo{ top:calc(var(--lab) + (1 - var(--at)) * (100% - 2 * var(--lab)) + 4px + 4.5px * var(--ts)); font-size:calc(9.5px * var(--ts)); color:var(--text-faint); }
.wxw-rng.now .lo .fl{ margin-right:2px; letter-spacing:.02em; }
.wxw-tile canvas.moon{ display:block; flex:none; width:var(--moon); height:var(--moon); }

/* ON A WIDE CARD the hero and the week stand side by side, one row a day,
   the range across: low at its left, high at its right */
@media (min-width:960px){
  .wxx{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:10px 16px; align-items:stretch; }
  .wxx > .wxc-foot{ grid-column:1 / -1; }
  .wxh-host, .wxh-host > .wxh{ height:100%; }
  .wxw-host, .wxw-host > .wxw{ height:100%; }
  /* the week grows with the hero's words, its type with it (wxhero.js,
     growWeek); a day or Now pressed while it is grown keeps its height
     (holdWeek), so a row never moves under the reader */
  .wxx.wk-held > .wxw-host{ height:var(--wkh); align-self:start; }
  .wxx.wk-open .wxw-grid.wxw-tiles{ --ic:38px; --moon:18px; }
  .wxx.wk-open .wxw-tile{ column-gap:18px; padding:6px 20px; }
  .wxx.wk-open .wxw-tile .wd{ font-size:15px; }
  .wxx.wk-open .wxw-tile .md{ font-size:12px; }
  .wxx.wk-open .wxw-rng{ height:24px; }
  .wxx.wk-open .wxw-bar{ height:8px; }
  .wxx.wk-open .wxw-rng .h{ font-size:15.5px; }
  .wxx.wk-open .wxw-rng .lo{ font-size:14px; }
  .wxx.wk-open .wxw-rng.now .lo{ font-size:13px; }
  .wxw-grid.wxw-tiles{ grid-template-columns:minmax(0,1fr); height:100%; grid-auto-rows:minmax(0,1fr); --ts:1; --ic:30px; --labw:36px; --moon:15px; }
  .wxw-tile{ display:grid; grid-template-columns:64px var(--ic) minmax(0,1fr) var(--moon); grid-template-rows:auto auto; align-content:center; align-items:center;
             column-gap:14px; row-gap:3px; padding:5px 16px; }
  .wxw-tile[data-l="1"]{ border-left:0; border-top:1px solid color-mix(in srgb, var(--border) 55%, transparent); }
  .wxw-tile.on{ box-shadow:inset 3px 0 0 var(--accent); }
  .wxw-tile .wd{ grid-column:1; grid-row:1; justify-self:start; align-self:end; font-size:12.5px; }
  .wxw-tile .md{ grid-column:1; grid-row:2; justify-self:start; align-self:start; margin:0; font-size:10.5px; }
  .wxw-pic{ grid-column:2; grid-row:1 / 3; }
  .wxw-rng{ grid-column:3; grid-row:1 / 3; height:20px; }
  .wxw-tile canvas.moon{ grid-column:4; grid-row:1 / 3; }
  .wxw-bar{ left:calc(var(--labw) + var(--lo) * (100% - 2 * var(--labw))); top:50%; transform:translateY(-50%); width:max(6px, calc((var(--hi) - var(--lo)) * (100% - 2 * var(--labw))));
            height:6px; background:linear-gradient(to right, var(--c0), var(--c1)); }
  .wxw-rng .h, .wxw-rng .lo, .wxw-rng.now .h, .wxw-rng.now .lo{ top:50%; bottom:auto; transform:translateY(-50%); }
  .wxw-rng .h{ left:calc(var(--labw) + var(--hi) * (100% - 2 * var(--labw)) + 8px); right:auto; text-align:left; font-size:13px; }
  .wxw-rng .lo{ right:calc(100% - var(--labw) - var(--lo) * (100% - 2 * var(--labw)) + 8px); left:auto; text-align:right; font-size:12px; }
  .wxw-dot{ left:calc(var(--labw) + var(--at) * (100% - 2 * var(--labw))); top:50%; width:10px; height:10px; }
  .wxw-rng.now .h{ left:calc(var(--labw) + var(--at) * (100% - 2 * var(--labw)) + 11px); right:auto; text-align:left; }
  .wxw-rng.now .lo{ right:calc(100% - var(--labw) - var(--at) * (100% - 2 * var(--labw)) + 11px); left:auto; text-align:right; font-size:11px; }
}

/* THE FRONT DOOR'S CARD, OPEN (owner, Oct 19: "the large square where it
   says 62 Clear and the current condition live animated section"): the
   living scene large, the figure large, the words with their More, and the
   week under it, or beside it on a wide screen. Its title is its place's
   name, a link to the place's page, and its figures follow from the top,
   with no sky held empty over them (owner, Oct 19: "way too much vacant
   space is at the top"). At rest it stands at one height for every place
   and every hour (owner, Oct 10: the top card holds its height from the
   first paint, and the reader's own place is laid into its room), because
   every part of it keeps a room of its own: the title one line; the line
   over the figure, which says when now stands for or which day is
   pressed; the condition one line, and the feel and the wind two; the
   words three lines and their More its line; the scene's notes their row,
   on a pressed day too. An alert is told by the words, which lead with
   it. */
.wxc.home .wxh{ display:flex; flex-direction:column; }
.wxc.home .wxh-body{ flex:1 1 auto; display:flex; flex-direction:column; padding:14px 18px 10px; }
.wxc.home .wxh-top{ display:flex; flex-direction:column; }
.wxc.home .wxh-title{ display:block; margin:0 0 8px; height:22px; line-height:22px; font-size:16px; font-weight:650; color:var(--text);
                      text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wxc.home .wxh-title b{ font-weight:inherit; }
.wxc.home .wxh-title::after{ content:"\203A"; margin-left:7px; color:var(--accent); font-weight:600; }
.wxc.home .wxh-title:hover b, .wxc.home .wxh-title:focus-visible b{ text-decoration:underline; text-underline-offset:3px; }
.wxc.home .wxh-day{ height:16px; line-height:16px; margin-bottom:6px; white-space:nowrap; overflow:hidden; }
.wxc.home .wxh-told > b:first-child{ color:var(--ac); }
.wxc.home .wxh-told > b:first-child::before{ content:""; display:inline-block; width:7px; height:7px; margin:0 6px 1px 0; border-radius:50%; background:var(--ac); }
/* the band, where the words could not be written to tell the alert */
.wxc.home .wxh-alert{ margin:0 -18px 12px; border-radius:0; border-top:1px solid color-mix(in srgb, var(--ac) 33%, transparent); }
.wxc.home .wxh-alert-b{ padding:10px 18px; }
.wxc.home .wxh-alert-t .row{ flex-wrap:nowrap; overflow:hidden; }
.wxc.home .wxh-alert-t .ev{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wxc.home .wxh-alert-t .tag{ flex:none; }
.wxc.home .wxh-alert-t .where{ -webkit-line-clamp:1; }
.wxc.home .wxh-alert-go{ padding:0 18px 9px 36px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wxc.home .wxh-temp .t{ font-size:clamp(56px, 15vw, 76px); }
.wxc.home .wxh-temp .deg{ font-size:clamp(24px, 6vw, 32px); margin-top:6px; }
.wxc.home .wxh-temp .hl{ margin-top:10px; font-size:14px; }
.wxc.home .wxh-line{ margin-top:6px; font-size:14px; line-height:1.4; }
/* the condition on its line and the feel and the wind under it, in two
   lines at most, which the sky above the figure makes room for; a day's
   high and low stand beside its figure already */
.wxc.home .wxh-line > .dot, .wxc.home .wxh-line .dhl{ display:none; }
.wxc.home .wxh-line .c{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wxc.home .wxh-line .d{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; height:calc(2 * 1.4 * 14px); }
@media (max-width:359px){
  .wxc.home .wxh-chip .l{ letter-spacing:0; font-size:9px; }
}
.wxc.home .wxh-narr{ font-size:13px; line-height:1.6; }
/* three lines of words and the line of their More, whether More is shown
   or not (the page hides a hidden control whatever this sheet says) */
.wxc.home .wxh-narr.clamp{ -webkit-line-clamp:3; height:calc(3 * 1.6 * 13px); }
.wxc.home .wxh-more{ display:block; height:20px; line-height:20px; margin-top:2px; font-size:12px; }
.wxc.home .wxh-narr-w{ min-height:calc(3 * 1.6 * 13px + 22px); }
.wxc.home .wxh-legend, .wxc.home .wxh-legend:empty{ display:block; min-height:20px; }
/* a pressed day keeps the notes' row, and a wide card's spare height goes
   there, between the words and the figures */
.wxc.home .wxh-legend[hidden]{ display:block !important; visibility:hidden; }
.wxc.home .wxh-legend{ flex:1 0 auto; }
.wxc.home .wxh-notes{ flex-wrap:nowrap; overflow:hidden; }
.wxc.home .wxh-chip .v{ font-size:18px; }
.wxc.home .wxc-foot{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* the ground, which the card's own rule above leaves transparent */
.wxc{ background:var(--wx-ground); padding-bottom:clamp(12px,1.6vw,20px); }
.wxc-eyebrow a{ color:var(--accent); text-decoration:none; font-weight:650; text-transform:none; letter-spacing:0; font-size:12.5px; white-space:nowrap; }
.wxc-eyebrow a:hover{ text-decoration:underline; }
.wxc-foot a{ color:var(--accent); text-decoration:none; }
.wxc-foot a:hover{ text-decoration:underline; }
/* a page may carry a rule of its own for a bare .day (the place page's old
   week tiles did); the card's day face is the hero, and keeps the hero's */
.wxc .wxh.day{ padding:0; text-align:left; background:linear-gradient(180deg,#0d1622,#070b12); min-width:0; }
/* BLACK IS BLACK: on the black ground nothing paints a light ground but a
   pressed control, so the strip's control is drawn as an outline there */
html[data-theme="black"] .wxs-go, html[data-theme="black"] .wxs:hover .wxs-go{ background:transparent; color:var(--text); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--text) 70%, transparent); }
/* an eyebrow that names an alert wraps rather than cut the alert's name:
   the alert is why the card is there */
.wxc-eyebrow .eb:has(.ev){ white-space:normal; overflow:visible; line-height:1.45; }
.wxc-eyebrow:has(.ev){ align-items:flex-start; }
/* the alert's pulse is a mark, drawn as the alerts page draws its swatches
   (on a layer of its own), so no theme reads it as a ground */
.wxh-dot .ping, .wxh-dot .core{ background:none; }
.wxh-dot .ping::before, .wxh-dot .core::before{ content:""; position:absolute; inset:0; border-radius:50%; background:var(--ac); }
.wxh-dot .core{ position:relative; }

/* ── THE LIGHT THEME (owner, Sep 27: "when the white site option is selected
   our new addition doesnt go white") ───────────────────────────────────
   On the light page the card is light: the page's ink on the page's card
   color, the sky scene behind the hero seen through a pale veil so the
   words stand on it, and the week on a pale sky so its white clouds still
   read. The colors carrying meaning (the highs, the lows, the chance of
   rain, the alert) are deepened to hold their contrast on white. */
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc{
  --text:#17222f; --text-dim:#51606f; --text-faint:#6c7682; --border:rgba(23,34,47,.13);
  --accent:#1470c0; --accent-cold:#1b86c4; --warn:#c07a00; --bad:#c62828; --good:#1b8f5a;
  --wx-ground:var(--card, #ffffff); --wx-panel:#e6eef7; }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh,
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.day{ background:linear-gradient(180deg,#dbe7f4,#eef3f9); }
/* the veil is thin where the sky is and heavier only under the words
   (owner, Sep 28: "the sun can hardly be seen through that filter"): it
   ran 70% to 95% down the card and 90% across it, which left the scene a
   faint ghost; the dark card's own veil starts at 20% */
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh-scrim1{ background:linear-gradient(180deg,#f6f9fc1f,#f6f9fc80,#f6f9fcd9); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh-scrim2{ background:linear-gradient(90deg,#f6f9fcb3,#f6f9fc4d,#f6f9fc00); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh-narr-w{ border-top-color:rgba(23,34,47,.1); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh-chips{ border-top-color:rgba(23,34,47,.12); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh-note{ background:rgba(255,255,255,.6); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw{ background:var(--wx-panel); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw-tile:hover{ background:rgba(23,34,47,.04); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw-tile.now{ background:rgba(23,34,47,.05); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw-tile.on{ background:rgba(20,112,192,.12); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw-tiles{ --ring:var(--wx-panel); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxs-go,
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxs:hover .wxs-go{ background:transparent; color:var(--text); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--text) 55%, transparent); }
/* a sun's glow reaches the edge of its small square picture; on the light
   panel that edge showed as a pale square, so the small scenes fade out
   round their subject */
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxw-tile canvas.ic,
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxs-ic{
  -webkit-mask-image:radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); mask-image:radial-gradient(circle at 50% 50%, #000 52%, transparent 71%); }
/* the strip's preview drawn from the stage has no edge of its own (owner,
   Sep 30: "Our small icon area cant have borders, it is to be basically
   embedded so it blends in to the card", and "No circle"): it paints no
   sky of its own (wx-stage.js, keyed), so it needs no frame and no mask */
.wxc .wxs-ic.staged, html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxs-ic.staged{ border-radius:0;
  -webkit-mask-image:none; mask-image:none; }
/* the header above a place's card keeps only its crumb, tight to the card */
.head.wx-slim{ border-bottom:0; }
.head.wx-slim .head-in{ padding-block:12px 0; }
/* the crumb starts where the card's title starts, at the card's own inset */
.head.wx-slim .wrap.head-in{ max-width:none; padding-inline:clamp(16px,4vw,40px); }
/* ON THE STAGE the sky is the picture (wx-stage.js): the scrims darken only
   where the words stand, the left and the foot behind the chips, and leave
   the right third, where the Sun or the Moon is framed, as the sky is */
.wxh.staged .wxh-scrim1{ background:linear-gradient(180deg,#070b1200 0%,#070b121f 45%,#070b1299 100%); }
.wxh.staged .wxh-scrim2{ background:linear-gradient(90deg,#070b12a6 0%,#070b1259 42%,#070b1200 68%); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged .wxh-scrim1{ background:linear-gradient(180deg,#f6f9fc00 0%,#f6f9fc1a 45%,#f6f9fc99 100%); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged .wxh-scrim2{ background:linear-gradient(90deg,#f6f9fcb3 0%,#f6f9fc59 42%,#f6f9fc00 68%); }
/* cloud is far brighter than open sky, and a storm's body far darker: under
   either the words need more behind them */
.wxh.staged.clouded .wxh-scrim1{ background:linear-gradient(180deg,#070b1226 0%,#070b1240 45%,#070b12b3 100%); }
.wxh.staged.clouded .wxh-scrim2{ background:linear-gradient(90deg,#070b12cc 0%,#070b1285 45%,#070b1200 74%); }
html[data-theme="dark"] .wxh.staged.clouded, html[data-theme="black"] .wxh.staged.clouded{ text-shadow:0 1px 3px #070b12e6, 0 0 12px #070b1299; }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged.clouded .wxh-scrim1{ background:linear-gradient(180deg,#f6f9fc26 0%,#f6f9fc40 45%,#f6f9fcb3 100%); }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged.clouded .wxh-scrim2{ background:linear-gradient(90deg,#f6f9fcd9 0%,#f6f9fc8c 45%,#f6f9fc00 74%); }
/* on a narrow card the words run the whole width: the scrim follows them */
@media (max-width: 640px){
  .wxh.staged .wxh-scrim2{ background:linear-gradient(90deg,#070b12a6 0%,#070b1270 60%,#070b1240 100%); }
  html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged .wxh-scrim2{ background:linear-gradient(90deg,#f6f9fcb3 0%,#f6f9fc70 60%,#f6f9fc40 100%); }
  /* the words run the whole width: under cloud the sky shows through
     behind them, and a soft shadow keeps them readable (owner, Sep 30: a
     near black card, "cant tell what is happening") */
  .wxh.staged.clouded .wxh-scrim2{ background:linear-gradient(90deg,#070b1299 0%,#070b1266 60%,#070b1240 100%); }
  html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxh.staged.clouded .wxh-scrim2{ background:linear-gradient(90deg,#f6f9fcd9 0%,#f6f9fcad 60%,#f6f9fc85 100%); }
}

/* ── HOUR BY HOUR (owner, Oct 27: "I want hourly weather conditions, a week
   out, accurate") ─────────────────────────────────────────────────────
   Under the week, a row that opens the hours of the day the week has
   chosen: a plate in the drafted hand (one axis, fine rules, the
   temperature in the accent with its range ruled under it, the chance of
   rain in the cold accent, a period's chance once over its hours), and the
   table of the hours. The row stands at one height from the first paint;
   the plate's room is its own height before it is drawn. On a narrow card
   the table keeps the time, the sky's picture, the temperature, the rain
   and the wind, and the rest stands in the wider card's columns. */
.wxhr{ container-type:inline-size; border-radius:12px; border:1px solid var(--border); overflow:hidden; background:rgba(0,0,0,.2); }
@media (min-width:960px){ .wxx > .wxhr{ grid-column:1 / -1; } }
html:not([data-theme="dark"]):not([data-theme="black"]) .wxc .wxhr{ background:var(--wx-panel); }
.wxhr-go{ display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px 14px; border:0; background:transparent;
          color:var(--text); font:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.wxhr-go:hover{ background:rgba(255,255,255,.03); }
.wxhr-go:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; border-radius:12px; }
.wxhr-go[disabled]{ cursor:default; color:var(--text-faint); background:none; }
.wxhr-t{ flex:none; font-size:13px; font-weight:650; }
.wxhr-r{ flex:1 1 auto; min-width:0; font-size:12px; color:var(--text-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-variant-numeric:tabular-nums; }
.wxhr-go svg{ flex:none; width:14px; height:14px; color:var(--text-dim); transition:transform .2s; }
.wxhr.open .wxhr-go svg{ transform:rotate(180deg); }
@media (prefers-reduced-motion: reduce){ .wxhr-go svg{ transition:none; } }
.wxhr-b{ padding:0 14px 12px; border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.wxhr-head{ padding:10px 0 6px; }
.wxhr-h{ margin:0; font-size:14px; font-weight:650; color:var(--text); }
.wxhr-h span{ font-weight:500; color:var(--text-dim); }
.wxhr-made{ margin:4px 0 0; font-size:11.5px; line-height:1.5; color:var(--text-dim); }
.wxhr-plate{ position:relative; height:160px; margin:4px 0 8px; }
@container (min-width:508px){ .wxhr-plate{ height:180px; } }
.wxhr-svg{ display:block; overflow:visible; touch-action:pan-y; }
.wxhr-svg text{ font-family:var(--sans); font-variant-numeric:tabular-nums; }
.wxhr-svg .cap{ fill:var(--text-dim); font-size:9px; font-weight:650; letter-spacing:.08em; }
.wxhr-svg .ax{ fill:var(--text-faint); font-size:10px; }
.wxhr-svg .g{ stroke:color-mix(in srgb, var(--text) 9%, transparent); stroke-width:1; }
.wxhr-svg .base{ stroke:color-mix(in srgb, var(--text) 22%, transparent); stroke-width:1; }
.wxhr-svg .tk{ stroke:color-mix(in srgb, var(--text) 30%, transparent); stroke-width:1; }
.wxhr-svg .bd{ fill:url(#wxhr-hatch); }
.wxhr-svg .ht{ stroke:color-mix(in srgb, var(--accent) 42%, transparent); stroke-width:1; }
.wxhr-svg .tl{ fill:none; stroke:var(--accent); stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
.wxhr-svg .mk{ fill:var(--wx-ground); stroke:var(--accent); stroke-width:1.5; }
.wxhr-svg .vl{ fill:var(--text); font-size:11px; font-weight:650; }
.wxhr-svg .rn{ fill:var(--accent-cold); opacity:.8; }
.wxhr-svg .rn.per{ opacity:.45; }
.wxhr-svg .rv{ fill:var(--accent-cold); font-size:9.5px; font-weight:650; }
.wxhr-svg .cross{ stroke:var(--text-dim); stroke-width:1; stroke-dasharray:2 3; }
.wxhr-read{ position:absolute; right:0; top:-2px; margin:0; font-size:11px; font-weight:600; color:var(--text); font-variant-numeric:tabular-nums; pointer-events:none; white-space:nowrap; }
.wxhr-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.wxhr-tbl{ width:100%; border-collapse:collapse; font-size:12.5px; font-variant-numeric:tabular-nums; color:var(--text); }
.wxhr-tbl th, .wxhr-tbl td{ padding:6px 6px; text-align:left; vertical-align:middle; white-space:nowrap; border-top:1px solid color-mix(in srgb, var(--border) 80%, transparent); }
.wxhr-tbl thead th{ border-top:0; padding-top:2px; font-size:11px; font-weight:650; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); }
.wxhr-tbl tbody th{ font-weight:600; color:var(--text-dim); width:1%; text-transform:none; letter-spacing:0; }
/* a column the day gives no figure for at any hour is not drawn */
.wxhr-tbl.no-vis .c-vis, .wxhr-tbl.no-uv .c-uv{ display:none; }
.wxhr-tbl b{ font-weight:650; }
.wxhr-tbl .rg, .wxhr-tbl .amt, .wxhr-tbl .per-w, .wxhr-tbl .gu, .wxhr-tbl .th, .wxhr-tbl .dn{ display:block; font-size:11px; font-weight:500; color:var(--text-dim); line-height:1.35; }
.wxhr-tbl .dn{ color:var(--accent); font-weight:650; text-transform:none; letter-spacing:0; }
.wxhr-tbl .per-w{ white-space:normal; min-width:7em; }
.wxhr-tbl .c-rain b{ color:var(--accent-cold); }
.wxhr-tbl td.per{ vertical-align:top; background:color-mix(in srgb, var(--accent-cold) 6%, transparent); box-shadow:inset 2px 0 0 color-mix(in srgb, var(--accent-cold) 40%, transparent); }
.wxhr-tbl .c-sky .sk{ display:flex; align-items:center; gap:7px; min-height:24px; }
.wxhr-tbl .c-sky .th{ margin-left:2px; }
.wxhr-ic{ flex:none; color:var(--text); }
.wxhr-ic .wet{ stroke:var(--accent-cold); }
.wxhr-tbl tr.mid > *{ border-top-color:color-mix(in srgb, var(--text) 28%, transparent); }
.wxhr-tbl tr.on > th, .wxhr-tbl tr.on > td:not(.per){ background:color-mix(in srgb, var(--accent) 12%, transparent); }
/* the table on a narrow card: the time, the sky's picture, the
   temperature, the rain and the wind, and the humidity where it fits; the
   sky's words stay for a reader who does not see the picture */
@container (max-width:620px){
  .wxhr-tbl .c-feel, .wxhr-tbl .c-dew, .wxhr-tbl .c-sky2, .wxhr-tbl .c-vis, .wxhr-tbl .c-uv{ display:none; }
  .wxhr-tbl .c-sky .says{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .wxhr-tbl .c-sky .th{ display:none; }
  .wxhr-tbl th, .wxhr-tbl td{ padding:6px 4px; }
  /* and the humidity only where the table then fits (wxhero.js mountHours fit) */
  .wxhr-tbl.no-hum .c-hum{ display:none; }
}
@container (max-width:360px){ .wxhr-tbl .c-hum{ display:none; } }
@media print{ .wxhr-go svg{ display:none; } }
