/* The open menu's top strip (Snug\LocalTime, assets/site/localtime.js): a small widget that fills the room beside the
   ✕, from the panel's content edge to 10 px short of the ✕, as tall as the ✕'s row. The less it shows, the larger it
   is: the word "Menu" as the panel's title; one part of local information on one large line; two or three on two
   lines, the lead large and the rest smaller and quieter under it. The script measures the room and picks the type's
   size (--lt-px) to fill it without crowding; these sizes are the ones before it does. Its own rules only: the menu,
   its glass and its ✕ are the menu's.
   Type: the system's rounded face (SF Pro Rounded on Apple, no font to download; the system's own face elsewhere),
   tabular figures so the minutes never move the line, weights 400 and 500 (600 for the title). The sky is a coloured
   picture (a Meteocon) scaled with the type, never words. */
.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;
  --lt-px:20px;
  position:relative;flex:0 1 auto;align-self:center;order:-1;box-sizing:border-box;display:flex;align-items:center;min-width:0;max-width:100%;margin:0 auto 0 0;padding:0;
  color:inherit;font:400 var(--lt-px)/1.12 var(--lt-face);letter-spacing:.004em;font-kerning:normal;
  font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  white-space:nowrap;overflow:visible;transform:translateY(var(--lt-y,0px));animation:lt-in .32s var(--ease,ease) both}
.lt[hidden],.lt [hidden]{display:none}
/* the word alone: the panel's title */
.lt-word{display:block;overflow:hidden;text-overflow:ellipsis;font:600 var(--lt-px)/1.1 var(--lt-face);letter-spacing:-.006em;color:inherit;opacity:.9}
.lt-menu{--lt-px:24px}
/* the logo: as tall as the row (--lt-h), never wider than the room, its shape kept; crisp at 2× and 3× (the header's own picture) */
.lt-logo{line-height:0}
.lt-logo.lt-tall{--lt-h:88px;height:88px} /* a tall mark: up to twice the ✕'s height (the script sets it to the room) */
.lt-pic{display:block;width:auto;height:var(--lt-h,40px);max-width: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}
/* local information: one line or two, centred in the row */
.lt-vis{display:flex;flex-direction:column;justify-content:center;gap:.12em;min-width:0;max-width:100%;overflow:hidden}
.lt-l1,.lt-l2{display:flex;align-items:baseline;min-width:0;white-space:nowrap}
.lt-l1{gap:.4em;line-height:1.12}
.lt-l2{font-size:max(11px,calc(var(--lt-px) * .56));line-height:1.25;letter-spacing:.012em;opacity:.6}
.lt-time{font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.004em;opacity:.94} /* tabular: the digits never shift as the minutes turn */
.lt-place{font-weight:500;letter-spacing:-.002em;opacity:.9}
.lt-l2 .lt-place{font-weight:500;opacity:1}
.lt-wx{display:inline-flex;align-items:baseline;gap:.16em}
.lt-c{font-weight:500;font-variant-numeric:tabular-nums;opacity:.86}
.lt-f{font-variant-numeric:tabular-nums}
/* beside the lead of one line: the date by the time, the °F by the °C; smaller and quieter */
.lt-in{font-size:.56em;font-weight:400;letter-spacing:.012em;opacity:.58}
.lt-wx .lt-in{margin-left:.3em}
/* the dot between the parts of the second line: round, level with the figures */
.lt-l2>*::before{content:"";display:inline-block;width:.22em;height:.22em;margin:0 .5em;border-radius:50%;background:currentColor;opacity:.55;vertical-align:.24em}
.lt-l2>.lt-first::before{display:none} /* the first shown (the script marks it, as the room drops parts) */
/* the sky: a picture scaled with the type, a touch taller than its figures, taking no more of the line's height */
.lt-ic{flex:none;display:block;align-self:center;width:1.3em;height:1.3em;margin:-.2em -.02em -.2em -.06em;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: the third line, the smallest and faintest, a hair under the others (the script puts it
   there; room is kept for it); with the weather only, and never shrunk: the °F, the date and the type go first */
.lt.has-credit{margin-bottom:14px}
.lt-credit{position:absolute;left:0;top:calc(100% + 1px);max-width:100%;overflow:hidden;text-overflow:ellipsis;color:inherit;font:400 9.5px/1.2 var(--lt-face);letter-spacing:.03em;opacity:.42;text-decoration:none}
.lt-credit:hover{opacity:.75;text-decoration:underline;text-underline-offset:.15em}
/* too little room: the °F goes first, then the date (then the type shrinks: the script) */
.lt.no-f .lt-f,.lt.no-date .lt-date{display:none}
@keyframes lt-in{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.lt{animation:none}}
