/* The open menu's top strip (Snug\LocalTime, assets/site/localtime.js): the word "Menu", the blog's logo, or local
   information. Its own rules only: the menu, its glass and its ✕ are the menu's.
   The word: the panel's own small headings ("Show", "Follow"), whose look the script copies when the menu opens; these
   are Classic's, for the moment before. The logo: as tall as the strip allows, never wider than a sensible share of it,
   its shape kept, crisp at 2× and 3× (the header's own picture, three times its height).
   Local information is small and fine: the system's rounded face (SF Pro
   Rounded on Apple, no font to download; the system's own face elsewhere), in the panel's ink at a few strengths: the
   time the strongest, the °C clear, the date and the °F quieter, the dots between them quieter still and drawn round,
   level with the figures. The sky is a picture in colour (a Meteocon), a little taller than the type, never words.
   It never reaches the ✕: the script keeps it short of it and level with it, and lets the date go when a phone is too
   narrow for the whole line. */
.lt{--lt-face:ui-rounded,"SF Pro Rounded","SF Compact Rounded",system-ui,-apple-system,"Segoe UI Variable Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  flex:1 1 auto;align-self:center;order:-1;min-width:0;max-width:100%;margin:0 auto 0 0;padding:0;
  color:inherit;font:400 .8rem/1.3 var(--lt-face);letter-spacing:.012em;font-kerning:normal;
  font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  white-space:nowrap;overflow:hidden;transform:translateY(var(--lt-y,0px));animation:lt-in .32s var(--ease,ease) both}
.lt[hidden],.lt [hidden]{display:none}
.lt-word{display:block;margin:0;font:700 .74rem/1.3 var(--font-body,system-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2,currentColor)}
.lt-logo{display:flex;align-items:center;line-height:0}
.lt-pic{display:block;width:auto;height:40px;max-width:min(200px,100%);object-fit:contain;object-position:left center}
html .lt-only-dark{display:none}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .lt-only-light{display:none}html:not([data-theme="light"]) .lt-only-dark{display:block}}
html[data-theme="dark"] .lt-only-light{display:none}
html[data-theme="dark"] .lt-only-dark{display:block}
.lt-place{opacity:.74;font-weight:500;letter-spacing:.012em}
.lt-vis{display:inline-flex;align-items:center;gap:.5em;max-width:100%}
.lt-date{opacity:.58;letter-spacing:.018em}
.lt-time{opacity:.9;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.006em} /* tabular: the digits never shift as the minutes turn. Weights of 400 and 500 only, so a face with no 500 falls to 400, never to bold */
.lt-wx{display:inline-flex;align-items:center;gap:.24em}
.lt-c{opacity:.82;font-weight:500;font-variant-numeric:tabular-nums}
.lt-f{opacity:.5;font-weight:400;font-variant-numeric:tabular-nums;margin-left:.06em}
/* the dot between: round, drawn rather than typed, centred on the figures' height rather than the x-height */
.lt-sep{display:inline-block;flex:none;width:2.5px;height:2.5px;border-radius:50%;background:currentColor;opacity:.32;font-size:0;overflow:hidden;transform:translateY(-.5px)}
/* the sky: a picture a little taller than the type, its colour its own; it takes no more room in the line's height */
.lt-ic{flex:none;display:block;width:1.85em;height:1.85em;margin:-.44em -.06em -.44em -.16em;filter:drop-shadow(0 .5px .5px rgba(30,20,40,.26)) drop-shadow(0 0 .5px rgba(30,20,40,.3))} /* white clouds on a pale page: a hair of shadow keeps their edge */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .lt-ic{filter:drop-shadow(0 .5px .8px rgba(0,0,0,.45))}}
:root[data-theme="dark"] .lt-ic{filter:drop-shadow(0 .5px .8px rgba(0,0,0,.45))}
/* the credit MET Norway asks for: under the line, at its start, smaller and fainter than the date; with the weather only */
.lt-credit{display:block;width:max-content;max-width:100%;margin:.18em 0 0;color:inherit;font-size:.66rem;font-weight:400;line-height:1.2;letter-spacing:.02em;opacity:.42;text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.lt-credit:hover{opacity:.7;text-decoration:underline;text-underline-offset:.15em}
.lt.is-time .lt-credit{display:none}
/* the time alone (no place, or no fresh weather): the same face, the time a little larger and first, the date as quiet */
.lt.is-time .lt-vis{align-items:baseline;gap:.6em}
.lt.is-time .lt-time{order:-1;opacity:.9;font-size:1.125rem;font-weight:500;letter-spacing:0}
.lt.is-time .lt-sep-d{display:none}
/* too narrow for the whole line: the date goes first, then the °F */
.lt.no-date .lt-date,.lt.no-date .lt-sep-d{display:none}
.lt.no-date.no-f .lt-f{display:none}
@keyframes lt-in{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.lt{animation:none}}
